text
stringlengths 1
22.8M
|
|---|
Fife Lake is a fresh water prairie lake in the Canadian province of Saskatchewan. It is in the south-central part of the province at the eastern end of the Wood Mountain Hills. The entire lake and its shoreline is designated an Important Bird Area (IBA) of Canada to protect the nationally endangered piping plover. While there are no communities along the lake's shore, there is a park and campground at the southern end. Nearby communities include Fife Lake, Rockglen, and Lisieux. Access is from Highway 18.
Description
Fife Lake a is shallow, irregularly shaped prairie lake. Its primary inflow, Hay Meadow Creek, flows into the west end of the lake from the central part of the Wood Mountain Hills. Girard Creek, the lake's outflow, is a tributary of the East Poplar River. The East Poplar River is a major tributary of the Poplar River, which connects to the Missouri River in the U.S. state of Montana.
Being a shallow prairie lake, during drought years, Fife Lake water levels drop significantly. Lake water levels have been known to fluctuate by over . A record surface elevation high of was recorded in 1979 and a record low of was recorded in 1993. By 2011, the lake had stabilised at above sea level. Fife Lake had been known for great walleye fishing, but the low water levels through the late 1980s and 1990s had caused caused the fish to die off. While the lake is known for significant seasonal water level changes, the Water Security Agency said that the extreme water level changes seen at that time were related to coal mining operations to the south-east, near Coronarch. In the spring of 2016, with water levels having recovered, the lake was re-stocked with 200,000 walleye.
Rockin Beach Regional Park
Rockin Beach Regional Park () is a recreational park on the southern shore of Fife Lake, about east of Rockglen. It is run by a non-profit organisation. The park has a campground, ball diamonds, volleyball courts, hiking trails, a motocross track, and lake access with a dock and a beach for swimming. The Rockin Beach Mud Bog event is held there every August.
Important Bird Area
The entirety of Fife Lake is part of the Fife Lake (SK 021) Important Bird Area (IBA) of Canada. It is considered a critical piping plover habitat under the provincial Wildlife Habitat Protection Act. That designation protects the lake up to the high water mark from development. The IBA site itself totals of land with an elevation range of 800 metres to 823 metres above sea level. Besides the piping plover, other birds important to the lake include the western grebe, eared grebe, and the black-crowned night heron.
Fish species
The most commonly found fish in the lake is the walleye.
See also
List of lakes of Saskatchewan
Tourism in Saskatchewan
List of protected areas of Saskatchewan
References
Lakes of Saskatchewan
Important Bird Areas of Saskatchewan
Poplar Valley No. 12, Saskatchewan
Willow Bunch No. 42, Saskatchewan
|
```yaml
id: Test Playbook - CrowdStrike Falcon - Retrieve File
version: -1
name: Test Playbook - CrowdStrike Falcon - Retrieve File
description: |-
This playbook tests the 'CrowdStrike Falcon - Retrieve File' playbook which is part of the 'Malware Investigation and Response' pack.
The following tests are conducted in the playbook:
1- Ensure all context data was extracted properly.
2- Review and validate the playbook's output.
3 - Ensure that the retrieved files were unzipped using the 'UnzipFile' command.
starttaskid: "0"
tasks:
"0":
id: "0"
taskid: 21896868-8531-4ae5-8666-cea52014a9ec
type: start
task:
id: 21896868-8531-4ae5-8666-cea52014a9ec
version: -1
name: ""
iscommand: false
brand: ""
description: ''
nexttasks:
'#none#':
- "32"
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -140,
"y": -1695
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"32":
id: "32"
taskid: 4dbfaa04-78aa-482f-800b-e0ed5b5dd204
type: regular
task:
id: 4dbfaa04-78aa-482f-800b-e0ed5b5dd204
version: -1
name: Delete Context
description: The task deletes all of the context data. Having a clean beginning to a test playbook ensures that a test can be sterile and that unrelated issues can be eliminated.
scriptName: DeleteContext
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "246"
scriptarguments:
all:
simple: "yes"
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -140,
"y": -1565
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"84":
id: "84"
taskid: 4de8eaba-01aa-4a61-85df-65de61567633
type: title
task:
id: 4de8eaba-01aa-4a61-85df-65de61567633
version: -1
name: Start Testing
type: title
iscommand: false
brand: ""
description: ''
nexttasks:
'#none#':
- "251"
- "255"
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -140,
"y": -900
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"202":
id: "202"
taskid: 8d5a4742-998c-49db-87f4-7298cbd18f64
type: title
task:
id: 8d5a4742-998c-49db-87f4-7298cbd18f64
version: -1
name: Done
type: title
iscommand: false
brand: ""
description: ''
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -140,
"y": -305
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"245":
id: "245"
taskid: 3b5e306c-d189-425e-8a69-4df9d0777bef
type: playbook
task:
id: 3b5e306c-d189-425e-8a69-4df9d0777bef
version: -1
name: CrowdStrike Falcon - Retrieve File
description: |-
This playbook is part of the 'Malware Investigation And Response' pack. For more information, refer to path_to_url
This playbook retrieves and unzips files from CrowdStrike Falcon and returns a list of the files that were and were not retrieved.
playbookName: CrowdStrike Falcon - Retrieve File
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "84"
scriptarguments:
FileNames:
complex:
root: CrowdStrike.Detections.behaviors
accessor: filename
HostId:
complex:
root: CrowdStrike.Detections.behaviors
accessor: device_id
transformers:
- operator: LastArrayElement
PathsToGet:
complex:
root: CrowdStrike.Detections.behaviors
accessor: filepath
transformers:
- operator: LastArrayElement
ZipPassword:
simple: infected
separatecontext: false
continueonerrortype: ""
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 100
view: |-
{
"position": {
"x": -140,
"y": -1060
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"246":
id: "246"
taskid: 93a58ba9-0adb-43f8-87c0-8da9de7205a9
type: regular
task:
id: 93a58ba9-0adb-43f8-87c0-8da9de7205a9
version: -1
name: Get CrowdStrike Falcon Available Detections
description: Obtains a list of CrowdStrike Falcon detections before performing the tests.
script: CrowdstrikeFalcon|||cs-falcon-list-detection-summaries
type: regular
iscommand: true
brand: CrowdstrikeFalcon
nexttasks:
'#none#':
- "248"
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -140,
"y": -1400
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"248":
id: "248"
taskid: 21eec967-1d4b-4795-8268-7d2dbbef5611
type: condition
task:
id: 21eec967-1d4b-4795-8268-7d2dbbef5611
version: -1
name: Check CrowdStrike Falcon Available Detections
description: Checks if there are available detections for testing processes.
type: condition
iscommand: false
brand: ""
nexttasks:
'#default#':
- "202"
"yes":
- "245"
separatecontext: false
conditions:
- label: "yes"
condition:
- - operator: isNotEmpty
left:
value:
complex:
root: CrowdStrike.Detections
accessor: detection_id
iscontext: true
continueonerrortype: ""
view: |-
{
"position": {
"x": -140,
"y": -1240
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"249":
id: "249"
taskid: 8bf51b88-aa51-4606-8e94-b66938c02819
type: regular
task:
id: 8bf51b88-aa51-4606-8e94-b66938c02819
version: -1
name: Verify Playbook Output Error - Extracted Files
description: Prints an error entry with a given message
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: "The 'ExtractedFiles' playbook output of the was not properly extracted. This may indicate that one or more of the following changes have been made to the 'CrowdStrike Falcon - Retrieve File' playbook:\n1- The 'ExtractedFiles' context path was removed from the playbook outputs.\n2- The context path of the 'ExtractedFiles' playbook output was changed. \n3- The 'entryID' argument input configuration was changed for the 'UnzipFile' automation used within the 'Unzip file' playbook task."
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": 520,
"y": -400
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"250":
id: "250"
taskid: 92eeb8be-1a3e-4445-895c-eb800f70f6c0
type: condition
task:
id: 92eeb8be-1a3e-4445-895c-eb800f70f6c0
version: -1
name: Verify Extracted Files
description: |
Verify that the 'ExtractedFiles' playbook output contains the file name selected for extraction.
type: condition
iscommand: false
brand: ""
nexttasks:
' Verified':
- "254"
'#default#':
- "249"
separatecontext: false
conditions:
- label: ' Verified'
condition:
- - operator: containsString
left:
value:
complex:
root: ExtractedFiles
iscontext: true
right:
value:
complex:
root: File
accessor: Name
transformers:
- operator: LastArrayElement
iscontext: true
continueonerrortype: ""
view: |-
{
"position": {
"x": 520,
"y": -620
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"251":
id: "251"
taskid: 60316f98-2091-4e65-87e4-cfe08b92ebce
type: title
task:
id: 60316f98-2091-4e65-87e4-cfe08b92ebce
version: -1
name: Check Playbook Outputs
type: title
iscommand: false
brand: ""
description: ''
nexttasks:
'#none#':
- "250"
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": 520,
"y": -760
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"254":
id: "254"
taskid: 322cbd93-4a7b-4460-85e7-b7e8a90591e6
type: title
task:
id: 322cbd93-4a7b-4460-85e7-b7e8a90591e6
version: -1
name: Done Verifying Playbook Outputs
type: title
iscommand: false
brand: ""
description: ''
nexttasks:
'#none#':
- "202"
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": 140,
"y": -450
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"255":
id: "255"
taskid: aaa17405-11a3-4b8f-8ae4-feb2c518cd24
type: title
task:
id: aaa17405-11a3-4b8f-8ae4-feb2c518cd24
version: -1
name: Check Context Data
type: title
iscommand: false
brand: ""
description: ''
nexttasks:
'#none#':
- "257"
- "259"
- "261"
- "263"
- "265"
- "267"
- "269"
- "271"
- "273"
- "275"
- "277"
- "279"
- "281"
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -800,
"y": -760
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"256":
id: "256"
taskid: dbe092be-a5ba-4f94-868e-c2393e7cf234
type: regular
task:
id: dbe092be-a5ba-4f94-868e-c2393e7cf234
version: -1
name: Verify Context Error - File Name
description: Prints an error entry with a given message
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: |-
The 'FileName' context key was not extracted properly. This may indicate that one or more of the following changes have been made to the 'CrowdStrike Falcon - Retrieve File' playbook:
1- The 'cs-falcon-rtr-retrieve-file' automation outputs have been modified and no longer contain the 'CrowdStrike.File.FileName' context key.
2- The 'host_ids' argument input configuration was changed for the 'cs-falcon-rtr-retrieve-file' automation used within the 'Retrieve file' playbook task.
3- The 'file_path' argument input configuration was changed for the 'cs-falcon-rtr-retrieve-file' automation used within the 'Retrieve file' playbook task.
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -800,
"y": -400
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"257":
id: "257"
taskid: d1603e94-747e-4a92-8244-0d2728af6a18
type: condition
task:
id: d1603e94-747e-4a92-8244-0d2728af6a18
version: -1
name: Verify File Name
description: |
Verify that the 'FileName' context key has been extracted.
type: condition
iscommand: false
brand: ""
nexttasks:
' Verified':
- "282"
'#default#':
- "256"
separatecontext: false
conditions:
- label: ' Verified'
condition:
- - operator: isNotEmpty
left:
value:
complex:
root: CrowdStrike.File
accessor: FileName
iscontext: true
continueonerrortype: ""
view: |-
{
"position": {
"x": -800,
"y": -620
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"258":
id: "258"
taskid: 52a2fb0f-2fdd-4d7a-8baf-59f3d5103e68
type: regular
task:
id: 52a2fb0f-2fdd-4d7a-8baf-59f3d5103e68
version: -1
name: Verify Context Error - Host ID
description: Prints an error entry with a given message
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: |-
The 'HostID' context key was not extracted properly. This may indicate that one or more of the following changes have been made to the 'CrowdStrike Falcon - Retrieve File' playbook:
1- The 'cs-falcon-rtr-retrieve-file' automation outputs have been modified and no longer contain the 'CrowdStrike.File.HostID' context key.
2- The 'host_ids' argument input configuration was changed for the 'cs-falcon-rtr-retrieve-file' automation used within the 'Retrieve file' playbook task.
3- The 'file_path' argument input configuration was changed for the 'cs-falcon-rtr-retrieve-file' automation used within the 'Retrieve file' playbook task.
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -1200,
"y": -400
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"259":
id: "259"
taskid: 7e2794d3-54a4-44e6-819c-91bdf50fbf41
type: condition
task:
id: 7e2794d3-54a4-44e6-819c-91bdf50fbf41
version: -1
name: Verify Host ID
description: |
Verify that the 'HostID' context key has been extracted.
type: condition
iscommand: false
brand: ""
nexttasks:
' Verified':
- "282"
'#default#':
- "258"
separatecontext: false
conditions:
- label: ' Verified'
condition:
- - operator: containsGeneral
left:
value:
complex:
root: CrowdStrike.File
accessor: HostID
iscontext: true
right:
value:
complex:
root: CrowdStrike.Detections.behaviors
accessor: device_id
iscontext: true
continueonerrortype: ""
view: |-
{
"position": {
"x": -1200,
"y": -620
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"260":
id: "260"
taskid: 91a84126-712b-4f8f-8c25-58927cfabe18
type: regular
task:
id: 91a84126-712b-4f8f-8c25-58927cfabe18
version: -1
name: Verify Context Error - File Size
description: Prints an error entry with a given message
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: |-
The 'File.Size' context key was not extracted properly. This may indicate that one or more of the following changes have been made to the 'CrowdStrike Falcon - Retrieve File' playbook:
1- The 'cs-falcon-rtr-retrieve-file' automation outputs have been modified and no longer contain the 'File.Size'' context key.
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -1600,
"y": -400
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"261":
id: "261"
taskid: 99ccfffd-7d56-40c9-872c-a03bce02213f
type: condition
task:
id: 99ccfffd-7d56-40c9-872c-a03bce02213f
version: -1
name: Verify File Size
description: |
Verify that the 'File.Size' context key has been extracted correctly.
type: condition
iscommand: false
brand: ""
nexttasks:
' Verified':
- "282"
'#default#':
- "260"
separatecontext: false
conditions:
- label: ' Verified'
condition:
- - operator: isNotEmpty
left:
value:
complex:
root: File
accessor: Size
iscontext: true
continueonerrortype: ""
view: |-
{
"position": {
"x": -1600,
"y": -620
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"262":
id: "262"
taskid: bcfcc29b-071b-49f9-893a-f24bdf09cc68
type: regular
task:
id: bcfcc29b-071b-49f9-893a-f24bdf09cc68
version: -1
name: Verify Context Error - File SHA1
description: Prints an error entry with a given message
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: |-
The 'File.SHA1' context key was not extracted properly. This may indicate that one or more of the following changes have been made to the 'CrowdStrike Falcon - Retrieve File' playbook:
1- The 'cs-falcon-rtr-retrieve-file' automation outputs have been modified and no longer contain the 'File.SHA1'' context key.
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -1990,
"y": -400
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"263":
id: "263"
taskid: 6df3f2e6-84d2-49d1-8cdb-231b0d9b3719
type: condition
task:
id: 6df3f2e6-84d2-49d1-8cdb-231b0d9b3719
version: -1
name: Verify File SHA1
description: |
Verify that the 'File.SHA1' context key has been extracted correctly.
type: condition
iscommand: false
brand: ""
nexttasks:
' Verified':
- "282"
'#default#':
- "262"
separatecontext: false
conditions:
- label: ' Verified'
condition:
- - operator: isNotEmpty
left:
value:
complex:
root: File
accessor: SHA1
iscontext: true
continueonerrortype: ""
view: |-
{
"position": {
"x": -1990,
"y": -620
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"264":
id: "264"
taskid: a33987b9-6c2e-4ae9-8a45-672501ce8062
type: regular
task:
id: a33987b9-6c2e-4ae9-8a45-672501ce8062
version: -1
name: Verify Context Error - File SHA256
description: Prints an error entry with a given message
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: |-
The 'File.SHA256' context key was not extracted properly. This may indicate that one or more of the following changes have been made to the 'CrowdStrike Falcon - Retrieve File' playbook:
1- The 'cs-falcon-rtr-retrieve-file' automation outputs have been modified and no longer contain the 'File.SHA256'' context key.
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -2380,
"y": -400
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"265":
id: "265"
taskid: 3465537b-666f-4997-8dff-711dbdf4800b
type: condition
task:
id: 3465537b-666f-4997-8dff-711dbdf4800b
version: -1
name: Verify File SHA256
description: |
Verify that the 'File.SHA256' context key has been extracted correctly.
type: condition
iscommand: false
brand: ""
nexttasks:
' Verified':
- "282"
'#default#':
- "264"
separatecontext: false
conditions:
- label: ' Verified'
condition:
- - operator: isNotEmpty
left:
value:
complex:
root: File
accessor: SHA256
iscontext: true
continueonerrortype: ""
view: |-
{
"position": {
"x": -2380,
"y": -620
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"266":
id: "266"
taskid: 5b1a9e5c-2610-4f00-856a-babe62e511f2
type: regular
task:
id: 5b1a9e5c-2610-4f00-856a-babe62e511f2
version: -1
name: Verify Context Error - File SHA512
description: Prints an error entry with a given message
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: |-
The 'File.SHA512' context key was not extracted properly. This may indicate that one or more of the following changes have been made to the 'CrowdStrike Falcon - Retrieve File' playbook:
1- The 'cs-falcon-rtr-retrieve-file' automation outputs have been modified and no longer contain the 'File.SHA512'' context key.
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -2770,
"y": -400
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"267":
id: "267"
taskid: 3371de65-8bd7-4d87-8f21-c707efd5d4e2
type: condition
task:
id: 3371de65-8bd7-4d87-8f21-c707efd5d4e2
version: -1
name: Verify File SHA512
description: |
Verify that the 'File.SHA512' context key has been extracted correctly.
type: condition
iscommand: false
brand: ""
nexttasks:
' Verified':
- "282"
'#default#':
- "266"
separatecontext: false
conditions:
- label: ' Verified'
condition:
- - operator: isNotEmpty
left:
value:
complex:
root: File
accessor: SHA512
iscontext: true
right:
value: {}
continueonerrortype: ""
view: |-
{
"position": {
"x": -2770,
"y": -620
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"268":
id: "268"
taskid: d514cad4-de05-4125-8c33-97f749eb396a
type: regular
task:
id: d514cad4-de05-4125-8c33-97f749eb396a
version: -1
name: Verify Context Error - File Name
description: Prints an error entry with a given message
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: |-
The 'File.Name' context key was not extracted properly. This may indicate that one or more of the following changes have been made to the 'CrowdStrike Falcon - Retrieve File' playbook:
1- The 'cs-falcon-rtr-retrieve-file' automation outputs have been modified and no longer contain the 'File.Name'' context key.
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -3160,
"y": -400
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"269":
id: "269"
taskid: 0f9018db-341d-4d4d-8aa9-5ded9ee9dd6d
type: condition
task:
id: 0f9018db-341d-4d4d-8aa9-5ded9ee9dd6d
version: -1
name: Verify File Name
description: |
Verify that the 'File.Name' context key has been extracted correctly.
type: condition
iscommand: false
brand: ""
nexttasks:
' Verified':
- "282"
'#default#':
- "268"
separatecontext: false
conditions:
- label: ' Verified'
condition:
- - operator: isNotEmpty
left:
value:
complex:
root: File
accessor: Name
iscontext: true
right:
value: {}
continueonerrortype: ""
view: |-
{
"position": {
"x": -3160,
"y": -620
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"270":
id: "270"
taskid: 1bc46276-4417-4fcd-8be8-d47ac8e2bbd4
type: regular
task:
id: 1bc46276-4417-4fcd-8be8-d47ac8e2bbd4
version: -1
name: Verify Context Error - File SSDeep
description: Prints an error entry with a given message
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: |-
The 'File.SSDeep' context key was not extracted properly. This may indicate that one or more of the following changes have been made to the 'CrowdStrike Falcon - Retrieve File' playbook:
1- The 'cs-falcon-rtr-retrieve-file' automation outputs have been modified and no longer contain the 'File.SSDeep'' context key.
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -3550,
"y": -400
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"271":
id: "271"
taskid: b6da615a-3a2e-42a6-8d98-8c4f1305a461
type: condition
task:
id: b6da615a-3a2e-42a6-8d98-8c4f1305a461
version: -1
name: Verify File SSDeep
description: |
Verify that the 'File.SSDeep' context key has been extracted correctly.
type: condition
iscommand: false
brand: ""
nexttasks:
' Verified':
- "282"
'#default#':
- "270"
separatecontext: false
conditions:
- label: ' Verified'
condition:
- - operator: isNotEmpty
left:
value:
complex:
root: File
accessor: SSDeep
iscontext: true
continueonerrortype: ""
view: |-
{
"position": {
"x": -3550,
"y": -620
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"272":
id: "272"
taskid: d04ec9db-2591-4085-8401-3095cd576127
type: regular
task:
id: d04ec9db-2591-4085-8401-3095cd576127
version: -1
name: Verify Context Error - File Entry ID
description: Prints an error entry with a given message
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: |-
The 'File.EntryID' context key was not extracted properly. This may indicate that one or more of the following changes have been made to the 'CrowdStrike Falcon - Retrieve File' playbook:
1- The 'cs-falcon-rtr-retrieve-file' automation outputs have been modified and no longer contain the 'File.EntryID'' context key.
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -3950,
"y": -400
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"273":
id: "273"
taskid: d3ff53d0-15b1-43e6-831e-00aaaf697b6b
type: condition
task:
id: d3ff53d0-15b1-43e6-831e-00aaaf697b6b
version: -1
name: Verify File Entry ID
description: |
Verify that the 'File.EntryID' context key has been extracted correctly.
type: condition
iscommand: false
brand: ""
nexttasks:
' Verified':
- "282"
'#default#':
- "272"
separatecontext: false
conditions:
- label: ' Verified'
condition:
- - operator: isNotEmpty
left:
value:
complex:
root: File
accessor: EntryID
iscontext: true
continueonerrortype: ""
view: |-
{
"position": {
"x": -3950,
"y": -620
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"274":
id: "274"
taskid: 3093eb5f-bee7-4184-865c-ad1f2d478f81
type: regular
task:
id: 3093eb5f-bee7-4184-865c-ad1f2d478f81
version: -1
name: Verify Context Error - File Info
description: Prints an error entry with a given message
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: |-
The 'File.Info' context key was not extracted properly. This may indicate that one or more of the following changes have been made to the 'CrowdStrike Falcon - Retrieve File' playbook:
1- The 'cs-falcon-rtr-retrieve-file' automation outputs have been modified and no longer contain the 'File.Info'' context key.
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -4340,
"y": -400
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"275":
id: "275"
taskid: d5739f56-2cc0-4e72-8b67-da4e5772eae6
type: condition
task:
id: d5739f56-2cc0-4e72-8b67-da4e5772eae6
version: -1
name: Verify File Info
description: |
Verify that the 'File.Info' context key has been extracted correctly.
type: condition
iscommand: false
brand: ""
nexttasks:
' Verified':
- "282"
'#default#':
- "274"
separatecontext: false
conditions:
- label: ' Verified'
condition:
- - operator: isNotEmpty
left:
value:
complex:
root: File
accessor: Info
iscontext: true
continueonerrortype: ""
view: |-
{
"position": {
"x": -4340,
"y": -620
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"276":
id: "276"
taskid: 9bbcb7fc-f20c-41a2-84a4-cdb08afd690d
type: regular
task:
id: 9bbcb7fc-f20c-41a2-84a4-cdb08afd690d
version: -1
name: Verify Context Error - File Type
description: Prints an error entry with a given message
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: |-
The 'File.Type' context key was not extracted properly. This may indicate that one or more of the following changes have been made to the 'CrowdStrike Falcon - Retrieve File' playbook:
1- The 'cs-falcon-rtr-retrieve-file' automation outputs have been modified and no longer contain the 'File.Type'' context key.
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -4730,
"y": -400
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"277":
id: "277"
taskid: 54a29003-4b44-45ab-8639-1a7d505dd76b
type: condition
task:
id: 54a29003-4b44-45ab-8639-1a7d505dd76b
version: -1
name: Verify File Type
description: |
Verify that the 'File.Type' context key has been extracted correctly.
type: condition
iscommand: false
brand: ""
nexttasks:
' Verified':
- "282"
'#default#':
- "276"
separatecontext: false
conditions:
- label: ' Verified'
condition:
- - operator: isNotEmpty
left:
value:
complex:
root: File
accessor: Type
iscontext: true
continueonerrortype: ""
view: |-
{
"position": {
"x": -4730,
"y": -620
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"278":
id: "278"
taskid: 2d823950-4651-4adb-85b4-51d882db23fc
type: regular
task:
id: 2d823950-4651-4adb-85b4-51d882db23fc
version: -1
name: Verify Context Error - File MD5
description: Prints an error entry with a given message
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: |-
The 'File.MD5' context key was not extracted properly. This may indicate that one or more of the following changes have been made to the 'CrowdStrike Falcon - Retrieve File' playbook:
1- The 'cs-falcon-rtr-retrieve-file' automation outputs have been modified and no longer contain the 'File.MD5'' context key.
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -5120,
"y": -400
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"279":
id: "279"
taskid: 93b2d04c-b517-4dce-8415-5f9280f4ac84
type: condition
task:
id: 93b2d04c-b517-4dce-8415-5f9280f4ac84
version: -1
name: Verify File MD5
description: |
Verify that the 'File.MD5' context key has been extracted correctly.
type: condition
iscommand: false
brand: ""
nexttasks:
' Verified':
- "282"
'#default#':
- "278"
separatecontext: false
conditions:
- label: ' Verified'
condition:
- - operator: isNotEmpty
left:
value:
complex:
root: File
accessor: MD5
iscontext: true
continueonerrortype: ""
view: |-
{
"position": {
"x": -5120,
"y": -620
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"280":
id: "280"
taskid: ee96de98-6d31-404e-892e-0a089c58bdf3
type: regular
task:
id: ee96de98-6d31-404e-892e-0a089c58bdf3
version: -1
name: Verify Context Error - File Extension
description: Prints an error entry with a given message
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: |-
The 'File.Extension' context key was not extracted properly. This may indicate that one or more of the following changes have been made to the 'CrowdStrike Falcon - Retrieve File' playbook:
1- The 'cs-falcon-rtr-retrieve-file' automation outputs have been modified and no longer contain the 'File.Extension'' context key.
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -5510,
"y": -400
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"281":
id: "281"
taskid: d5b0cd1b-0171-451f-8bc6-0a38c2116234
type: condition
task:
id: d5b0cd1b-0171-451f-8bc6-0a38c2116234
version: -1
name: Verify File Extension
description: |
Verify that the 'File.Extension' context key has been extracted correctly.
type: condition
iscommand: false
brand: ""
nexttasks:
' Verified':
- "282"
'#default#':
- "280"
separatecontext: false
conditions:
- label: ' Verified'
condition:
- - operator: isNotEmpty
left:
value:
complex:
root: File
accessor: Extension
iscontext: true
continueonerrortype: ""
view: |-
{
"position": {
"x": -5510,
"y": -620
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"282":
id: "282"
taskid: 4707a932-3da6-4cc6-8313-133296f8f158
type: title
task:
id: 4707a932-3da6-4cc6-8313-133296f8f158
version: -1
name: Done Verifying Context Data
type: title
iscommand: false
brand: ""
description: ''
nexttasks:
'#none#':
- "202"
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": -410,
"y": -450
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
view: |-
{
"linkLabelsPosition": {
"248_202_#default#": 0.36,
"248_245_yes": 0.54,
"250_254_ Verified": 0.51
},
"paper": {
"dimensions": {
"height": 1455,
"width": 6410,
"x": -5510,
"y": -1695
}
}
}
inputs: []
outputs: []
fromversion: 6.5.0
```
|
```javascript
import { FETCH_TRENDING_FAILED, FETCH_TRENDING_SUCCESS, PROCESS_FETCH_TRENDING } from './types';
import { UPDATE_DATE_TYPE, UPDATE_LANGUAGE } from '../preference/types';
export const initialState = {
processing: false,
// Array of objects with the below format
// [
// { start: '', end: '', data: [] },
// { start: '', end: '', data: [] }
// ]
repositories: [],
error: null,
};
export default function reducer(state = initialState, action) {
switch (action.type) {
case PROCESS_FETCH_TRENDING:
return {
...state,
processing: true,
error: null
};
case UPDATE_DATE_TYPE:
case UPDATE_LANGUAGE:
return {
...state,
...initialState
};
case FETCH_TRENDING_SUCCESS:
return {
...state,
// Append the fetched repositories to existing list
repositories: [
...state.repositories,
action.payload
],
processing: false,
error: null
};
case FETCH_TRENDING_FAILED:
return {
...state,
processing: false,
error: action.payload
};
default:
return state;
}
}
```
|
Olau Line was a shipping company that existed from 1956 to 1994. It operated a ferry service from the United Kingdom to the Netherlands from 1974 until 1994. Originally based in Denmark, the company passed under the ownership of the German TT-Line in 1980.
History
Olau Line was founded in 1956 by the Danish businessman Ole Lauritzen. Originally the company concentrated in chartering tankers and cargo ships to other shipping companies, but in 1974 Olau Line started a car/passenger ferry services from Sheerness in the United Kingdom to Vlissingen in the Netherlands and from Copenhagen (Denmark) to Aalborg (Denmark). The latter line was closed after merely a month of service. Between 1974 and 1976 the consistence of Olau's fleet varied greatly, until in 1976 the company acquired M/S Apollo from Rederi AB Slite and renamed her and chartered M/S Finnpartner from Finnlines, renaming her . These two ships formed the Olau fleet for the next four years.
In 1977 Olau attempted to start a service from Sheerness to Dunkirk, France, but this was not successful. By the end of the 1970s the company was in heavy debt, and in 1979 Ole Lauritzen was forced to sell 50% of Olau Line to the West Germany-based TT-Line. The following year Lauritzen sold his remaining shares of the company to TT-Line. At this time the TT-Line logo was adopted as the new logo for Olau Line, but with red and blue colours instead of TT-Line's yellow and blue. TT-Line decided to invest in new, large state-of-the-art cruiseferries for Olau services. These were delivered in 1981 and 1982 as and , respectively. Unlike Olau's earlier ships, most of which were registered in the United Kingdom, the new ships were registered in TT's homeland Germany.
In the late 1980s TT-Line decided to replace the Olau Hollandia and Olau Britannia with new ships. In 1986 and 1987 the company had taken delivery of two cruise ferries for their route between Germany and Sweden, and it was decided that two additional sisters of the same type would be built for Olau Line. These were delivered in 1989 and 1990, and like their predecessors were also named and .
The new Olau Hollandia and Olau Britannia were more than twice the size of the old ships, and they soon proved to be too large for the route they were built for unless working practices could change. Due to high operating costs the ships were taken out of the German ship registry (which required expensive German crewing) and registered in Luxembourg in January 1993, but action by the German Seamen's Union, whose members crewed the vessels, forced the ships to be re-registered in Germany just a month later. In 1994 TT-Line made plans to move the ships under Bahamian flag, but when the German Seamen's Union protested again, TT-Line decided to close down Olau Line in May 1994. At the time P&O Ferries were looking for new tonnage for their Portsmouth to Le Havre route and had identified the two Olau ships as suitable, while TT-Line (which had also been having financial issues) did not want the distraction of continuing labour issues at its UK subsidiary.
Following the closure of Olau Line the second Olau Hollandia and Olau Britannia were chartered to P&O Ferries, who used them successfully for many years on the Portsmouth—Le Havre service.
Ships
Not a complete list.
(1974–1975)
(1974–1975, chartered)
(1974–1976)
(1975–1976, chartered)
(1976–1980)
(1976–1981, chartered)
(1980–1981, chartered)
- (1980-1988)
(1982–1990)
(1989–1994)
(1990–1994)
References
Notes
Unless otherwise noted, all data is from Olau Line at Simplon Postcard, retrieved 20 May 2007.
Bibliography
External links
Olau Line fleet list at Fakta om Fartyg
Defunct shipping companies of the United Kingdom
Ferry companies of the Netherlands
Ferry companies of England
Sheerness
Vlissingen
Companies based in Zeeland
|
```xml
import {PlatformTest} from "@tsed/common";
import {MongooseService} from "@tsed/mongoose";
import {MongoMemoryReplSet, MongoMemoryServer} from "mongodb-memory-server";
import {resolve} from "path";
import {version} from "mongoose";
import semver from "semver";
import {type MongoMemoryReplSetOpts} from "mongodb-memory-server-core/lib/MongoMemoryReplSet";
import {type MongoMemoryServerOpts} from "mongodb-memory-server-core/lib/MongoMemoryServer";
const downloadDir = resolve(`${require.resolve("mongodb-memory-server")}/../../.cache/mongodb-memory-server/mongodb-binaries`);
type ReplSetCreateOpts = {
replicaSet: true;
} & Partial<MongoMemoryReplSetOpts>;
type MemoryServerCreateOpts = {
replicaSet?: false;
} & MongoMemoryServerOpts;
type CreateOpts = ReplSetCreateOpts | MemoryServerCreateOpts;
export class TestMongooseContext extends PlatformTest {
static getMongo(): MongoMemoryServer | MongoMemoryReplSet {
// @ts-ignore
return global.__MONGOD__;
}
static async install({replicaSet, ...opts}: CreateOpts = {}) {
if (!TestMongooseContext.getMongo()) {
// @ts-ignore
global.__MONGOD__ = await (replicaSet ? MongoMemoryReplSet : MongoMemoryServer).create({
...opts,
binary: {
...(opts.binary || {}),
downloadDir
}
});
}
return TestMongooseContext.getMongooseOptions();
}
/**
* Connect to the in-memory database.
*/
static bootstrap(
mod: any,
options: Partial<TsED.Configuration> & {
mongod?: CreateOpts;
} = {}
): () => Promise<void> {
return async function before(): Promise<void> {
const config = await TestMongooseContext.install(options.mongod);
const before = PlatformTest.bootstrap(mod, {
...options,
mongoose: config
});
await before();
};
}
static async create(
options: Partial<TsED.Configuration> & {
mongod?: CreateOpts;
} = {}
) {
options.mongoose = await TestMongooseContext.install(options.mongod);
return PlatformTest.create(options);
}
/**
* Resets the test injector of the test context, so it won't pollute your next test. Call this in your `tearDown` logic.
*/
static async reset() {
await PlatformTest.reset();
await TestMongooseContext.getMongo().stop();
}
/**
*
*/
static async clearDatabase() {
const mongooseService = PlatformTest.get<MongooseService>(MongooseService);
const promises: any[] = [];
for (const connection of mongooseService.connections.values()) {
promises.push(...Object.values(connection.collections).map((collection) => collection.deleteMany({})));
}
await Promise.all(promises);
}
static async getMongooseOptions(): Promise<any> {
const mongo = TestMongooseContext.getMongo();
try {
!["running", "starting"].includes(mongo.state) && (await mongo.start());
} catch (er) {}
const url = mongo.getUri();
return {
url,
connectionOptions: semver.lt(version, "6.0.0")
? {
useCreateIndex: true,
useUnifiedTopology: true,
useNewUrlParser: true
}
: {}
};
}
}
```
|
```xml
import { Editor, Extension } from "@tiptap/core"
import { ReactRenderer } from "@tiptap/react"
import Suggestion, { SuggestionProps, SuggestionKeyDownProps } from "@tiptap/suggestion"
import { PluginKey } from "@tiptap/pm/state"
import tippy from "tippy.js"
import { GROUPS } from "./groups"
import { MenuList } from "./menu-list"
const EXTENSION_NAME = "slashCommand"
let popup: any
export const SlashCommand = Extension.create({
name: EXTENSION_NAME,
priority: 200,
onCreate() {
popup = tippy("body", {
interactive: true,
trigger: "manual",
placement: "bottom-start",
theme: "slash-command",
maxWidth: "16rem",
offset: [16, 8],
popperOptions: {
strategy: "fixed",
modifiers: [{ name: "flip", enabled: false }]
}
})
},
addProseMirrorPlugins() {
return [
Suggestion({
editor: this.editor,
char: "/",
allowSpaces: true,
startOfLine: true,
pluginKey: new PluginKey(EXTENSION_NAME),
allow: ({ state, range }) => {
const $from = state.doc.resolve(range.from)
const isRootDepth = $from.depth === 1
const isParagraph = $from.parent.type.name === "paragraph"
const isStartOfNode = $from.parent.textContent?.charAt(0) === "/"
const isInColumn = this.editor.isActive("column")
const afterContent = $from.parent.textContent?.substring($from.parent.textContent?.indexOf("/"))
const isValidAfterContent = !afterContent?.endsWith(" ")
return (
((isRootDepth && isParagraph && isStartOfNode) || (isInColumn && isParagraph && isStartOfNode)) &&
isValidAfterContent
)
},
command: ({ editor, props }: { editor: Editor; props: any }) => {
const { view, state } = editor
const { $head, $from } = view.state.selection
const end = $from.pos
const from = $head?.nodeBefore
? end - ($head.nodeBefore.text?.substring($head.nodeBefore.text?.indexOf("/")).length ?? 0)
: $from.start()
const tr = state.tr.deleteRange(from, end)
view.dispatch(tr)
props.action(editor)
view.focus()
},
items: ({ query }: { query: string }) => {
return GROUPS.map(group => ({
...group,
commands: group.commands
.filter(item => {
const labelNormalized = item.label.toLowerCase().trim()
const queryNormalized = query.toLowerCase().trim()
if (item.aliases) {
const aliases = item.aliases.map(alias => alias.toLowerCase().trim())
return labelNormalized.includes(queryNormalized) || aliases.includes(queryNormalized)
}
return labelNormalized.includes(queryNormalized)
})
.filter(command => (command.shouldBeHidden ? !command.shouldBeHidden(this.editor) : true))
.map(command => ({
...command,
isEnabled: true
}))
})).filter(group => group.commands.length > 0)
},
render: () => {
let component: any
let scrollHandler: (() => void) | null = null
return {
onStart: (props: SuggestionProps) => {
component = new ReactRenderer(MenuList, {
props,
editor: props.editor
})
const { view } = props.editor
const editorNode = view.dom as HTMLElement
const getReferenceClientRect = () => {
if (!props.clientRect) {
return props.editor.storage[EXTENSION_NAME].rect
}
const rect = props.clientRect()
if (!rect) {
return props.editor.storage[EXTENSION_NAME].rect
}
let yPos = rect.y
if (rect.top + component.element.offsetHeight + 40 > window.innerHeight) {
const diff = rect.top + component.element.offsetHeight - window.innerHeight + 40
yPos = rect.y - diff
}
const editorXOffset = editorNode.getBoundingClientRect().x
return new DOMRect(rect.x, yPos, rect.width, rect.height)
}
scrollHandler = () => {
popup?.[0].setProps({
getReferenceClientRect
})
}
view.dom.parentElement?.addEventListener("scroll", scrollHandler)
popup?.[0].setProps({
getReferenceClientRect,
appendTo: () => document.body,
content: component.element
})
popup?.[0].show()
},
onUpdate(props: SuggestionProps) {
component.updateProps(props)
const { view } = props.editor
const editorNode = view.dom as HTMLElement
const getReferenceClientRect = () => {
if (!props.clientRect) {
return props.editor.storage[EXTENSION_NAME].rect
}
const rect = props.clientRect()
if (!rect) {
return props.editor.storage[EXTENSION_NAME].rect
}
return new DOMRect(rect.x, rect.y, rect.width, rect.height)
}
let scrollHandler = () => {
popup?.[0].setProps({
getReferenceClientRect
})
}
view.dom.parentElement?.addEventListener("scroll", scrollHandler)
props.editor.storage[EXTENSION_NAME].rect = props.clientRect
? getReferenceClientRect()
: {
width: 0,
height: 0,
left: 0,
top: 0,
right: 0,
bottom: 0
}
popup?.[0].setProps({
getReferenceClientRect
})
},
onKeyDown(props: SuggestionKeyDownProps) {
if (props.event.key === "Escape") {
popup?.[0].hide()
return true
}
if (!popup?.[0].state.isShown) {
popup?.[0].show()
}
return component.ref?.onKeyDown(props)
},
onExit(props) {
popup?.[0].hide()
if (scrollHandler) {
const { view } = props.editor
view.dom.parentElement?.removeEventListener("scroll", scrollHandler)
}
component.destroy()
}
}
}
})
]
},
addStorage() {
return {
rect: {
width: 0,
height: 0,
left: 0,
top: 0,
right: 0,
bottom: 0
}
}
}
})
export default SlashCommand
```
|
Saturn's Return is an Australian play by Tommy Murphy, first performed in 2008 in Sydney.
Synopsis
Zara, the heroine of the play, is happily settled in a relationship with her partner, Matt. Marriage, mortgages and midwives lie on the horizon. Then, as the big planet does its thing, doubt creeps into Zara's mind. She must decide whether to continue on the path of the three Ms or break free from the constraints of rational living.
Tommy Murphy wrote about his thoughts on the themes of the play, "What is this final call to adulthood likely to do to my generation? Will it just be about gathering debt, finding a comfortable home in which to breed and finding time to edit the friends list on Facebook?".
The title refers to a Saturn return.
Productions
The play was commissioned for the Sydney Theatre Company 2008 season by incoming co-artistic directors Cate Blanchett and Andrew Upton. Saturn's Return, written by Playwright Tommy Murphy, is published by Currency Press.
The project is from the writer-director team behind Holding the Man and Strangers in Between.
It opened at Wharf 2 Theatre, Walsh Bay, NSW, 15 August 2008 with a later season Wharf 1, Sydney, NSW, 24 July 2009.
A revised version of the play and production, from the same team, opened at Sydney Theatre Company's Wharf 1 theatre on 29 July 2009.
Creative team
2008 production
Director David Berthold
Designer Adam Gardnir
Lighting Designer Luiz Pampolha
Sound Designer/Composer Basil Hogios
Cast Matt Zeremes, Leeanna Walsman, Socratis Otto
2009 revised version
Cast Toby Moore, Leeanna Walsman and Matt Zeremes.
Reviews
In his review of the 2008 production Stephen Dunne called the play, ..well-made and thought-through play and production, very much about real and modern concerns ... Growing up, or not, is the point celebrated, delayed, mythologised and avoided in this psychologically deft and satisfying work. It's a fantastical drama about a very real moment: when each individual works out that no, this is your one-shot life, and there's a reason most of those younger hopes and fantasies are labelled "dreams.In Australian Stage reviewer Alekskei Wechter writes that, "The nuances of each character are fleshed out which can only be contributed to a strong collaboration between the actors, director and writer."
The production returned in 2009. The original 2008 production was presented through STC's experimental arm but was now a main stage production. Alex Lalak wrote that, "... with a tweak of the script and a more solid design concept, it has developed more gravity but retained plenty of sparkle ... It makes an interesting addition to a growing list of locally produced shows telling local stories with a sense of humour."
"This production by David Berthold is a tense affair, all snappy dialogue and pithy black humor." writes Nic Connaughton. "It's a generally solid affair but there are a few weaknesses, with the play promising so much but ultimately leaving you feeling that the sum of all its parts has not really added up to achieve the kind of emotional catharsis that Murphy's work is noted for ... an intriguing and beguiling outing by some of the Australia's most exciting talent.
References
External links
Wharf 1 production on Ausstage
Wharf 2 production on Ausstage
Australian plays
2008 plays
|
```smalltalk
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using static Roslynator.CSharp.Analysis.EmbeddedStatementAnalysis;
namespace Roslynator.CSharp.Analysis;
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public sealed class AddBracesWhenMultilineAnalyzer : BaseDiagnosticAnalyzer
{
private static ImmutableArray<DiagnosticDescriptor> _supportedDiagnostics;
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
{
get
{
if (_supportedDiagnostics.IsDefault)
Immutable.InterlockedInitialize(ref _supportedDiagnostics, DiagnosticRules.AddBracesWhenExpressionSpansOverMultipleLines);
return _supportedDiagnostics;
}
}
public override void Initialize(AnalysisContext context)
{
base.Initialize(context);
context.RegisterSyntaxNodeAction(f => AnalyzeIfStatement(f), SyntaxKind.IfStatement);
context.RegisterSyntaxNodeAction(f => AnalyzeCommonForEachStatement(f), SyntaxKind.ForEachStatement);
context.RegisterSyntaxNodeAction(f => AnalyzeCommonForEachStatement(f), SyntaxKind.ForEachVariableStatement);
context.RegisterSyntaxNodeAction(f => AnalyzeForStatement(f), SyntaxKind.ForStatement);
context.RegisterSyntaxNodeAction(f => AnalyzeUsingStatement(f), SyntaxKind.UsingStatement);
context.RegisterSyntaxNodeAction(f => AnalyzeWhileStatement(f), SyntaxKind.WhileStatement);
context.RegisterSyntaxNodeAction(f => AnalyzeDoStatement(f), SyntaxKind.DoStatement);
context.RegisterSyntaxNodeAction(f => AnalyzeLockStatement(f), SyntaxKind.LockStatement);
context.RegisterSyntaxNodeAction(f => AnalyzeFixedStatement(f), SyntaxKind.FixedStatement);
}
private static void AnalyzeIfStatement(SyntaxNodeAnalysisContext context)
{
var ifStatement = (IfStatementSyntax)context.Node;
if (!ifStatement.IsSimpleIf())
return;
StatementSyntax statement = ifStatement.EmbeddedStatement();
if (statement is null)
return;
if (statement.ContainsDirectives)
return;
if (statement.IsSingleLine() && FormattingSupportsEmbeddedStatement(ifStatement))
return;
ReportDiagnostic(context, ifStatement, statement);
}
private static void AnalyzeCommonForEachStatement(SyntaxNodeAnalysisContext context)
{
var forEachStatement = (CommonForEachStatementSyntax)context.Node;
StatementSyntax statement = forEachStatement.EmbeddedStatement();
if (statement is null)
return;
if (statement.ContainsDirectives)
return;
if (statement.IsSingleLine() && FormattingSupportsEmbeddedStatement(forEachStatement))
return;
ReportDiagnostic(context, forEachStatement, statement);
}
private static void AnalyzeForStatement(SyntaxNodeAnalysisContext context)
{
var forStatement = (ForStatementSyntax)context.Node;
StatementSyntax statement = forStatement.EmbeddedStatement();
if (statement is null)
return;
if (statement.ContainsDirectives)
return;
if (statement.IsSingleLine() && FormattingSupportsEmbeddedStatement(forStatement))
return;
ReportDiagnostic(context, forStatement, statement);
}
private static void AnalyzeUsingStatement(SyntaxNodeAnalysisContext context)
{
var usingStatement = (UsingStatementSyntax)context.Node;
StatementSyntax statement = usingStatement.EmbeddedStatement(allowUsingStatement: false);
if (statement is null)
return;
if (statement.ContainsDirectives)
return;
if (statement.IsSingleLine() && FormattingSupportsEmbeddedStatement(usingStatement))
return;
ReportDiagnostic(context, usingStatement, statement);
}
private static void AnalyzeWhileStatement(SyntaxNodeAnalysisContext context)
{
var whileStatement = (WhileStatementSyntax)context.Node;
StatementSyntax statement = whileStatement.EmbeddedStatement();
if (statement is null)
return;
if (statement.ContainsDirectives)
return;
if (statement.IsSingleLine() && FormattingSupportsEmbeddedStatement(whileStatement))
return;
ReportDiagnostic(context, whileStatement, statement);
}
private static void AnalyzeDoStatement(SyntaxNodeAnalysisContext context)
{
var doStatement = (DoStatementSyntax)context.Node;
StatementSyntax statement = doStatement.EmbeddedStatement();
if (statement is null)
return;
if (statement.ContainsDirectives)
return;
if (statement.IsSingleLine() && FormattingSupportsEmbeddedStatement(doStatement))
return;
ReportDiagnostic(context, doStatement, statement);
}
private static void AnalyzeLockStatement(SyntaxNodeAnalysisContext context)
{
var lockStatement = (LockStatementSyntax)context.Node;
StatementSyntax statement = lockStatement.EmbeddedStatement();
if (statement is null)
return;
if (statement.ContainsDirectives)
return;
if (statement.IsSingleLine() && FormattingSupportsEmbeddedStatement(lockStatement))
return;
ReportDiagnostic(context, lockStatement, statement);
}
private static void AnalyzeFixedStatement(SyntaxNodeAnalysisContext context)
{
var fixedStatement = (FixedStatementSyntax)context.Node;
StatementSyntax statement = fixedStatement.EmbeddedStatement();
if (statement is null)
return;
if (statement.ContainsDirectives)
return;
if (statement.IsSingleLine() && FormattingSupportsEmbeddedStatement(fixedStatement))
return;
ReportDiagnostic(context, fixedStatement, statement);
}
private static void ReportDiagnostic(SyntaxNodeAnalysisContext context, StatementSyntax statement, StatementSyntax embeddedStatement)
{
DiagnosticHelpers.ReportDiagnostic(
context,
DiagnosticRules.AddBracesWhenExpressionSpansOverMultipleLines,
embeddedStatement,
CSharpFacts.GetTitle(statement));
}
}
```
|
```scss
@import './styles//constants.scss';
#root {
font-family: 'Poppins', sans-serif;
}
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
text-align: left;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
body {
line-height: 1;
min-height: 100vh;
color: black;
background: $color-background;
}
ol,
ul {
list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: separate;
border-spacing: 0;
}
caption,
th,
td {
text-align: left;
font-weight: normal;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
content: '';
}
blockquote,
q {
quotes: '' '';
}
```
|
Adrian Blair (born 21 December 1943) is an Indigenous Australian boxer who competed at the 1964 Tokyo Olympics in the lightweight division. He also competed at the 1962 British Empire and Commonwealth Games.
References
External links
1943 births
Living people
Australian male boxers
Indigenous Australian boxers
Indigenous Australian Olympians
Olympic boxers for Australia
Boxers at the 1964 Summer Olympics
Lightweight boxers
Boxers at the 1962 British Empire and Commonwealth Games
Commonwealth Games competitors for Australia
Sportsmen from Queensland
|
K51GK was a low-power Class A television station in Sioux City, Iowa, United States, broadcasting locally in analog on UHF channel 51 as an affiliate of the Trinity Broadcast Network. Founded October 15, 1992, the station was acquired by Cornerstone Faith Center in 1997 and moved to channel 51 in 2004. The station's license was cancelled and its call sign deleted by the Federal Communications Commission on May 10, 2011.
K51GK's programming was the same national schedule as TBN, but deviated for taped repeats of their services, Mondays, Tuesdays and Thursdays at 11p.m. Cable One did not offer the channel, but broadcast the taped service on their local public-access television channel, Thursdays at 6:30p.m. The church's other program, Breakaway was seen Sunday mornings on KTIV and Sundays at 12p.m. on Sky Angel's Angel One channel.
References
External links
TBN official site
Cornerstone Faith Center official site
Religious television stations in the United States
Trinity Broadcasting Network affiliates
Television channels and stations established in 1992
Defunct television stations in the United States
Television channels and stations disestablished in 2011
1992 establishments in Iowa
2011 disestablishments in Iowa
Defunct mass media in Iowa
|
Bisulepin is strong and relatively selective antihistamine (H1 antagonist) with hypnotic, antiadrenergic and very weak anticholinergic and antiserotonergic effects. Bisulepin is marketed in the Czech Republic and Slovakia under the trademark Dithiaden as tablets and injections.
The registered active form is the trans- (i.e. E-) isomer.
See also
Dosulepin
Doxepin
References
External links
Chemical data for bisulepin hydrochloride
H1 receptor antagonists
Thiepines
Thiophenes
Antihistamines
|
True/False Film Fest is an annual documentary film festival that takes place in Columbia, Missouri. The Fest occurs on the first weekend in March (sometimes beginning in late February), with films being shown from Thursday evening to Sunday night. Films are screened at multiple locations around downtown Columbia, including Ragtag Cinema, Jesse Hall, Missouri Theatre Center for the Arts, The Picturehouse, The Blue Note, The Globe, Rhynsburger Theater and the Forrest Theater in the Tiger Hotel. It offers one award each year, the True Vision Award.
True/False Film Fest and Ragtag Cinema are programs of the 501(c)(3) not-for-profit organization, the Ragtag Film Society. Ragtag Film Society seeks to champion independent film and media art and to serve film communities both locally and globally.
History
True/False was started by Paul Sturtz and David Wilson (who also founded the Ragtag Cinema) in February 2004. In 2006, it won the Riverfront Times best film festival. In 2008, the film fest lost 1,200 seats due to the renovation work taking place at the Missouri Theatre. To adjust for the loss, the fest expanded beyond its usual boundaries in order to take advantage of additional screens at Macklanburg Cinema, Windsor Cinema, and The Den on the campus of Stephens College. After the completion of its restoration, the historic Missouri Theatre was once again a featured venue for the 2009 edition of the fest. The True/False Film Fest and Stephens College amicably ended their partnership after the 2011 fest, and Stephens College continued to host the annual Citizen Jane Film Festival through its demise in 2018.
The 2021 edition of the festival was moved to outdoor venues in nearby Stephens Lake Park due to the COVID-19 pandemic. The event made its return to downtown Columbia setting 2022.
Growth
The first True/False Film Festival in 2004 sold 4,200 tickets and the fest has since experienced rapid growth, increasing attendance by 25% or more in all but two years through its first decade. Since then, the festival has increased attendance each year with the exception of 2014, which saw a 3% decrease amid a winter snowstorm. The latest event in 2017 saw another record high in ticket sales, nearly 3,000 more than 2016.
Over the years, the festival has expanded its presentation of other arts, including music and decorative art. The event kicks off with a parade, the "March March," and ends with "Buskers Last Stand," in which many of the invited musicians come together for a closing performance. It encourages additional attendee involvement through participatory events like the "True Life 5K run," and the "Gimme Truth!" game show. The festival has risen from its meager origins to earn praise from both the Chicago Tribune and Los Angeles Times.
In 2019, the festival received thousands of submissions and sold over 54,000 tickets, bringing thousands of people to mid-Missouri from around the world. The festival is sponsored by almost every downtown store, restaurant and bar, and has multiple educational events such as Camp True/False and BOATS for both local & national high schools, year-long film programs, and more.
Education
Media Literacy Initiative
In early 2016, Columbia Public Schools, Ragtag Film Society, and the Columbia Public Schools Foundation announced a new, landmark multi-year partnership that brings together film, the CPS curriculum, and teacher training. The Media Literacy initiative is a year-round program that supports teacher efforts to incorporate more film and multimedia into their classrooms.
The program champions the belief that as students catapult into a world of ever-changing media, distribution platforms, and news outlets, the skills to be thoughtful, critical consumers of media must grow. Students deserve the tools to think consciously about the ways their world is presented to them and the ways they present their world. The primary goals are to increase the presence of film in core classrooms, help teachers and students learn to read film as text, and to cultivate and enhance critical thinking skills as teachers and students practice analyzing new media.
Camp True/False
Camp True/False brings high school students with varying interests insider access to the fest for a weekend of exciting films, music, art, conversations and workshops with a diverse crew of exceptional guests and local hosts. Camp True/False convenes before the Fest to discuss relevant issues, share research and plot their course. Participating students get a chance to meet the founders of the festival and meet with directors of the films showing at the festival in a private, personal manner. The camp is completely free for the students, who are selected through an application process in November. All Columbia Public Schools participate, as well as 10 out-of-town schools (4 of those, out-of-state). In 2019, the camp included around 80 high schoolers, including 30 local students and 50 students from nearby and national areas. Students from Saint Louis, Jefferson City, North Carolina, New Mexico, and more attended the 4 day camp.
DIY Day
On the Friday morning of the Fest, 10th graders from across all four Columbia public high schools take buses to a True/False venue where their nonfiction cinema & art experience begins! The students watch buskers and a festival film (listed below, by year), and students are encouraged to participate in a Q&A with the filmmaker. Afterward, 200 self-selected students attend interactive artist workshops and join in the anyone-can-join March March parade.
Educational Screening Films
The Educational Screenings are a special screening for local high school sophomores as a field trip to watch one film from the festival for free.
2023: Let the Little Light Shine, dir. Kevin Shaw
2022: Step, dir. Amanda Lipitz
2021: Undefeated, dir. Daniel Lindsay and T.J. Martin
2020: The Order of Myths, dir. Margaret Brown
2019: Amazing Grace, guest Dr. King
2018: Won't You Be My Neighbor?, dir. Morgan Neville
2017: I Am Not Your Negro, dir. Raoul Peck
2016: The Bad Kids, dir. Keith Fulton & Lou Pepe
2015: What Happened Miss Simone?, dir. Liz Garbus
2014: Particle Fever, dir. Mark Levinson
2013: Crash Reel dir. Lucy Walker
Films
2017
2018
2019
2020
2021
2022
2023
True/False includes films by local and international filmmakers, with thousands of films being sent in each year for consideration.
True Vision Award
The True/False Film Fest offers a single award. The True Vision Award is given annually to the filmmaker, or filmmakers, whose work shows a dedication to the creative advancement of the art of nonfiction filmmaking. Each winner is presented with an original bronze sculpture, created by nationally known Columbia artist Larry Young.
*The newest film presented by the chosen winner in each year's festival.
True Life Fund
Since 2007, the True/False Film Fest has also featured the True Life Fund, a fundraising program which goes to demonstrate that documentaries can create change by offering tangible assistance to the real-life subjects of a new non-fiction film each year. The fund further acknowledges that documentary filmmakers and festivals thrive because of the stories provided by people of often limited means. The True Life Fund is presented by the Crossing (a Missouri church group) and is supported by the Bertha Foundation.
References
External links
Documentary film festivals in the United States
Tourist attractions in Columbia, Missouri
Cinema of Columbia, Missouri
Festivals in Columbia, Missouri
Film festivals in Missouri
|
Ronald Paul "Ronny" Yeager (born August 16, 1952) is a retired American cross-country skier. He competed in the 15 km event at the 1972 and 1976 Winter Olympics and finished 52nd-56th; in 1976 he also placed sixth with the 4 × 10 km relay team.
Yeager studied at Durango High School and graduated from University of Colorado in 1972. After retiring from competitions he returned to his hometown and started Ronny Yeager Durango Outfitting company.
References
1952 births
Living people
American male cross-country skiers
Olympic cross-country skiers for the United States
Cross-country skiers at the 1972 Winter Olympics
Cross-country skiers at the 1976 Winter Olympics
|
Central Switzerland is the region of the Alpine Foothills geographically the heart and historically the origin of Switzerland, with the cantons of Uri, Schwyz, Obwalden, Nidwalden, Lucerne and Zug.
Central Switzerland is one of the NUTS 2 Statistical Regions. As such it includes the cantons of Lucerne, Uri, Schwyz, Obwalden, Nidwalden, Zug.
See also
Cantons of Switzerland
Waldstätte
References
Regions of Switzerland
NUTS 2 statistical regions of the European Union
|
```javascript
`hasOwnProperty` method
Setting the length of an array
Data type comparison in `switch` statements
Counting the months from zero
Hoisting applies only to variable declarations, not initializations
```
|
William Brickly Stokes (September 9, 1814 – March 14, 1897) was an American politician and a member of the United States House of Representatives from Tennessee. He also served as colonel of the 5th Regiment Tennessee Volunteer Cavalry during the American Civil War.
Biography
He was born on September 9, 1814, in Chatham County, North Carolina. He attended the common schools, moved with his family to Temperance Hall, Tennessee, and engaged in agricultural pursuits. He was a member of the Tennessee House of Representatives from 1849 to 1852. He served in the Tennessee Senate in 1855 and 1856. Stokes owned between seven and ten enslaved people in Tennessee.
Stokes was elected as a member of the Opposition Party to the Thirty-sixth Congress by Tennessee's 4th congressional district, serving from March 4, 1859, to March 4, 1861. He entered the Union Army on May 15, 1862, as a major of the Tennessee Volunteers. He served as colonel of the 5th Regiment Tennessee Volunteer Cavalry until he resigned on March 10, 1865. He briefly served in temporary brigade command in the Army of the Ohio between June 17, 1863, and August 6, 1863. On December 24, 1866, President Andrew Johnson nominated Stokes for the award of the honorary grade of brevet brigadier general to rank from March 13, 1865. The U.S. Senate confirmed the award on February 21, 1867. He studied law, was admitted to the bar in 1867, and commenced practice in Alexandria, Tennessee, in DeKalb County, Tennessee.
Upon the readmission of Tennessee to representation, he was elected as an Unconditional Unionist to the Thirty-ninth Congress by Tennessee's 3rd congressional district. He was re-elected as a Republican to the Fortieth and Forty-first Congresses. He served in the U.S. House of Representatives from July 24, 1866, to March 4, 1871. He was an unsuccessful candidate for re-election in 1870 to the Forty-second Congress. He also was the supervisor of internal revenue for Tennessee. He resumed the practice of law and died in Alexandria, Tennessee, on March 14, 1897. He was interred in East View Cemetery at Alexandria.
Notes
See also
List of American Civil War brevet Generals (Union)
References
Eicher, John H., and David J. Eicher. Civil War High Commands. Stanford, CA: Stanford University Press, 2001. .
Retrieved on 2008-08-16'
External links
1814 births
1897 deaths
People from Chatham County, North Carolina
Opposition Party members of the United States House of Representatives from Tennessee
Unconditional Union Party members of the United States House of Representatives from Tennessee
Tennessee Oppositionists
Tennessee Unconditional Unionists
Republican Party members of the United States House of Representatives from Tennessee
Republican Party members of the Tennessee House of Representatives
Republican Party Tennessee state senators
People of North Carolina in the American Civil War
People of Tennessee in the American Civil War
Union Army colonels
Southern Unionists in the American Civil War
19th-century American politicians
|
```html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_socket::basic_socket (2 of 6 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../basic_socket.html" title="basic_socket::basic_socket">
<link rel="prev" href="overload1.html" title="basic_socket::basic_socket (1 of 6 overloads)">
<link rel="next" href="overload3.html" title="basic_socket::basic_socket (3 of 6 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="path_to_url">People</a></td>
<td align="center"><a href="path_to_url">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload3.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="boost_asio.reference.basic_socket.basic_socket.overload2"></a><a class="link" href="overload2.html" title="basic_socket::basic_socket (2 of 6 overloads)">basic_socket::basic_socket
(2 of 6 overloads)</a>
</h5></div></div></div>
<p>
Construct and open a <a class="link" href="../../basic_socket.html" title="basic_socket"><code class="computeroutput">basic_socket</code></a>.
</p>
<pre class="programlisting">basic_socket(
boost::asio::io_context & io_context,
const protocol_type & protocol);
</pre>
<p>
This constructor creates and opens a socket.
</p>
<h6>
<a name="boost_asio.reference.basic_socket.basic_socket.overload2.h0"></a>
<span class="phrase"><a name="boost_asio.reference.basic_socket.basic_socket.overload2.parameters"></a></span><a class="link" href="overload2.html#boost_asio.reference.basic_socket.basic_socket.overload2.parameters">Parameters</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">io_context</span></dt>
<dd><p>
The <a class="link" href="../../io_context.html" title="io_context"><code class="computeroutput">io_context</code></a>
object that the socket will use to dispatch handlers for any asynchronous
operations performed on the socket.
</p></dd>
<dt><span class="term">protocol</span></dt>
<dd><p>
An object specifying protocol parameters to be used.
</p></dd>
</dl>
</div>
<h6>
<a name="boost_asio.reference.basic_socket.basic_socket.overload2.h1"></a>
<span class="phrase"><a name="boost_asio.reference.basic_socket.basic_socket.overload2.exceptions"></a></span><a class="link" href="overload2.html#boost_asio.reference.basic_socket.basic_socket.overload2.exceptions">Exceptions</a>
</h6>
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
<dt><span class="term">boost::system::system_error</span></dt>
<dd><p>
Thrown on failure.
</p></dd>
</dl>
</div>
</div>
<table xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
file LICENSE_1_0.txt or copy at <a href="path_to_url" target="_top">path_to_url
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_socket.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="overload3.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
```
|
```javascript
VCanvas_canvas = createClass(VCanvas_base, {
init: function (width, height, target, interact) {
VCanvas_canvas._super.init.call(this, width, height, target);
this.canvas = document.createElement('canvas');
if (target[0]) {
target = target[0];
}
$.data(target, '_jqs_vcanvas', this);
$(this.canvas).css({ display: 'inline-block', width: width, height: height, verticalAlign: 'top' });
this._insert(this.canvas, target);
this._calculatePixelDims(width, height, this.canvas);
this.canvas.width = this.pixelWidth;
this.canvas.height = this.pixelHeight;
this.interact = interact;
this.shapes = {};
this.shapeseq = [];
this.currentTargetShapeId = undefined;
$(this.canvas).css({width: this.pixelWidth, height: this.pixelHeight});
},
_getContext: function (lineColor, fillColor, lineWidth) {
var context = this.canvas.getContext('2d');
if (lineColor !== undefined) {
context.strokeStyle = lineColor;
}
context.lineWidth = lineWidth === undefined ? 1 : lineWidth;
if (fillColor !== undefined) {
context.fillStyle = fillColor;
}
return context;
},
reset: function () {
var context = this._getContext();
context.clearRect(0, 0, this.pixelWidth, this.pixelHeight);
this.shapes = {};
this.shapeseq = [];
this.currentTargetShapeId = undefined;
},
_drawShape: function (shapeid, path, lineColor, fillColor, lineWidth) {
var context = this._getContext(lineColor, fillColor, lineWidth),
i, plen;
context.beginPath();
context.moveTo(path[0][0] + 0.5, path[0][1] + 0.5);
for (i = 1, plen = path.length; i < plen; i++) {
context.lineTo(path[i][0] + 0.5, path[i][1] + 0.5); // the 0.5 offset gives us crisp pixel-width lines
}
if (lineColor !== undefined) {
context.stroke();
}
if (fillColor !== undefined) {
context.fill();
}
if (this.targetX !== undefined && this.targetY !== undefined &&
context.isPointInPath(this.targetX, this.targetY)) {
this.currentTargetShapeId = shapeid;
}
},
_drawCircle: function (shapeid, x, y, radius, lineColor, fillColor, lineWidth) {
var context = this._getContext(lineColor, fillColor, lineWidth);
context.beginPath();
context.arc(x, y, radius, 0, 2 * Math.PI, false);
if (this.targetX !== undefined && this.targetY !== undefined &&
context.isPointInPath(this.targetX, this.targetY)) {
this.currentTargetShapeId = shapeid;
}
if (lineColor !== undefined) {
context.stroke();
}
if (fillColor !== undefined) {
context.fill();
}
},
_drawPieSlice: function (shapeid, x, y, radius, startAngle, endAngle, lineColor, fillColor) {
var context = this._getContext(lineColor, fillColor);
context.beginPath();
context.moveTo(x, y);
context.arc(x, y, radius, startAngle, endAngle, false);
context.lineTo(x, y);
context.closePath();
if (lineColor !== undefined) {
context.stroke();
}
if (fillColor) {
context.fill();
}
if (this.targetX !== undefined && this.targetY !== undefined &&
context.isPointInPath(this.targetX, this.targetY)) {
this.currentTargetShapeId = shapeid;
}
},
_drawRect: function (shapeid, x, y, width, height, lineColor, fillColor) {
return this._drawShape(shapeid, [[x, y], [x + width, y], [x + width, y + height], [x, y + height], [x, y]], lineColor, fillColor);
},
appendShape: function (shape) {
this.shapes[shape.id] = shape;
this.shapeseq.push(shape.id);
this.lastShapeId = shape.id;
return shape.id;
},
replaceWithShape: function (shapeid, shape) {
var shapeseq = this.shapeseq,
i;
this.shapes[shape.id] = shape;
for (i = shapeseq.length; i--;) {
if (shapeseq[i] == shapeid) {
shapeseq[i] = shape.id;
}
}
delete this.shapes[shapeid];
},
replaceWithShapes: function (shapeids, shapes) {
var shapeseq = this.shapeseq,
shapemap = {},
sid, i, first;
for (i = shapeids.length; i--;) {
shapemap[shapeids[i]] = true;
}
for (i = shapeseq.length; i--;) {
sid = shapeseq[i];
if (shapemap[sid]) {
shapeseq.splice(i, 1);
delete this.shapes[sid];
first = i;
}
}
for (i = shapes.length; i--;) {
shapeseq.splice(first, 0, shapes[i].id);
this.shapes[shapes[i].id] = shapes[i];
}
},
insertAfterShape: function (shapeid, shape) {
var shapeseq = this.shapeseq,
i;
for (i = shapeseq.length; i--;) {
if (shapeseq[i] === shapeid) {
shapeseq.splice(i + 1, 0, shape.id);
this.shapes[shape.id] = shape;
return;
}
}
},
removeShapeId: function (shapeid) {
var shapeseq = this.shapeseq,
i;
for (i = shapeseq.length; i--;) {
if (shapeseq[i] === shapeid) {
shapeseq.splice(i, 1);
break;
}
}
delete this.shapes[shapeid];
},
getShapeAt: function (el, x, y) {
this.targetX = x;
this.targetY = y;
this.render();
return this.currentTargetShapeId;
},
render: function () {
var shapeseq = this.shapeseq,
shapes = this.shapes,
shapeCount = shapeseq.length,
context = this._getContext(),
shapeid, shape, i;
context.clearRect(0, 0, this.pixelWidth, this.pixelHeight);
for (i = 0; i < shapeCount; i++) {
shapeid = shapeseq[i];
shape = shapes[shapeid];
this['_draw' + shape.type].apply(this, shape.args);
}
if (!this.interact) {
// not interactive so no need to keep the shapes array
this.shapes = {};
this.shapeseq = [];
}
}
});
```
|
Shivanur is a village in Belgaum district of Karnataka, India.
References
Villages in Belagavi district
|
The Bình Hòa Massacre was a massacre purportedly conducted by South Korean forces between December 3 and December 6, 1966, of 430 unarmed civilians in Bình Hòa village, Quảng Ngãi Province in South Vietnam. In 2000, however, it was reported that a monument within the village, gave the dates of the massacre as October 22, 24, and 26, 1966 and said that 403 people were killed by the South Koreans.
The district was in the operational area of the Blue Dragon Brigade. Most of the victims were children, elderly and women. More than half the victims were women (including seven who were pregnant) and 166 children. The South Korean soldiers burnt down all of the houses and killed hundreds of cows and buffalo after the atrocities. A number of the survivors of the massacre joined the Viet Cong and fought against the United States and its Allies, one of which was South Korea. South Korean forces were also accused of conducting a similar massacre in Binh Tai village within the same year.
The massacre was discussed when British journalist Justin Wintle visited Vietnam in the late 1980s, where the report on the massacre was disclosed to Western media.
In popular culture
The Binh Hoa massacre was featured in a Korean documentary The Last Lullaby on the subject of Korean atrocities in South Vietnam.
See also
List of massacres in Vietnam
Military history of South Korea during the Vietnam War
War Remnants Museum
References
Further reading
Kim, Hyun Sook Lee. Korea's "Vietnam Question": War Atrocities, National Identity, and Reconciliation. Positions: East Asia Cultures Critique, Volume 9, Number 3, Winter 2001, p. 622-635. E-ISSN 1527-8271
External links
Binh Hoa Massacre
Massacres in Vietnam
Massacres in 1966
Massacres committed by South Korea
History of Quảng Ngãi province
1966 in Vietnam
December 1966 events in Asia
Military history of South Korea during the Vietnam War
|
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_POWEROFF_H_
#define ZEPHYR_INCLUDE_SYS_POWEROFF_H_
#include <zephyr/toolchain.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup sys_poweroff System power off
* @ingroup os_services
* @{
*/
/** @cond INTERNAL_HIDDEN */
/**
* @brief System power off hook.
*
* This function needs to be implemented in platform code. It must only
* perform an immediate power off of the system.
*/
FUNC_NORETURN void z_sys_poweroff(void);
/** @} */
/** @endcond */
/**
* @brief Perform a system power off.
*
* This function will perform an immediate power off of the system. It is the
* responsibility of the caller to ensure that the system is in a safe state to
* be powered off. Any required wake up sources must be enabled before calling
* this function.
*
* @kconfig{CONFIG_POWEROFF} needs to be enabled to use this API.
*/
FUNC_NORETURN void sys_poweroff(void);
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_POWEROFF_H_ */
```
|
```html+erb
<div class="alert alert-warning">
<% case paper.state %>
<% when "review_pending" %>
This paper is <strong><%= paper.pretty_state %></strong> but the
review hasn't started. Editor and reviewer assignments are happening over <%= link_to "on
GitHub »".html_safe, paper.meta_review_url %>
<% when "submitted" %>
This paper is <strong><%= paper.pretty_state %></strong> but the
review hasn't started.
<% when "under_review" %>
This paper is <strong><%= paper.pretty_state %></strong> which means
review has begun. You can track the progress of this review <%= link_to "on GitHub »".html_safe, paper.review_url %>
<% when "review_completed" %>
This paper is <strong><%= paper.pretty_state %></strong> which means
the review is completed and is awaiting review by the editor.
You can track the progress of this paper <%= link_to "on GitHub »".html_safe, paper.review_url %>
<% when "accepted" %>
This paper is <strong><%= paper.pretty_state %></strong> which means
the review is completed and it has been accepted into The Journal
of Open Source Software. You can view the review of this paper <%= link_to "on GitHub »".html_safe, paper.review_url %>
<% when "rejected" %>
This paper is <strong><%= paper.pretty_state %></strong> which means
is has not been accepted into The Journal of Open Source Software.
<% when "withdrawn" %>
This paper was <strong><%= paper.pretty_state %></strong>.
<% end %>
</div>
```
|
```yaml
{{- /*
*/}}
{{- if and .Values.hubble.relay.enabled .Values.hubble.relay.networkPolicy.enabled }}
kind: NetworkPolicy
apiVersion: {{ include "common.capabilities.networkPolicy.apiVersion" . }}
metadata:
name: {{ template "cilium.hubble.relay.fullname" . }}
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
app.kubernetes.io/part-of: cilium
app.kubernetes.io/component: hubble-relay
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
spec:
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.hubble.relay.podLabels .Values.commonLabels ) "context" . ) }}
podSelector:
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
app.kubernetes.io/part-of: cilium
app.kubernetes.io/component: hubble-relay
policyTypes:
- Ingress
- Egress
egress:
{{- if .Values.hubble.relay.networkPolicy.allowExternalEgress }}
- {}
{{- else }}
- ports:
# Allow dns resolution
- port: 53
protocol: UDP
- port: 53
protocol: TCP
{{- if .Values.hubble.relay.networkPolicy.extraEgress }}
{{- include "common.tplvalues.render" ( dict "value" .Values.hubble.relay.networkPolicy.extraEgress "context" $ ) | nindent 4 }}
{{- end }}
{{- end }}
ingress:
- ports:
- port: {{ .Values.hubble.relay.containerPorts.grpc }}
{{- if .Values.hubble.relay.metrics.enabled }}
- port: {{ .Values.hubble.relay.containerPorts.metrics }}
{{- end }}
{{- range .Values.hubble.relay.extraContainerPorts }}
- port: {{ .containerPort }}
{{- end }}
{{- if not .Values.hubble.relay.networkPolicy.allowExternal }}
from:
- podSelector:
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 14 }}
{{- if .Values.hubble.relay.networkPolicy.addExternalClientAccess }}
- podSelector:
matchLabels:
{{ template "common.names.fullname" . }}-client: "true"
{{- end }}
{{- if .Values.hubble.relay.networkPolicy.ingressPodMatchLabels }}
- podSelector:
matchLabels: {{- include "common.tplvalues.render" (dict "value" .Values.hubble.relay.networkPolicy.ingressPodMatchLabels "context" $ ) | nindent 14 }}
{{- end }}
{{- if .Values.hubble.relay.networkPolicy.ingressNSMatchLabels }}
- namespaceSelector:
matchLabels: {{- include "common.tplvalues.render" (dict "value" .Values.hubble.relay.networkPolicy.ingressNSMatchLabels "context" $ ) | nindent 14 }}
{{- if .Values.hubble.relay.networkPolicy.ingressNSPodMatchLabels }}
podSelector:
matchLabels: {{- include "common.tplvalues.render" (dict "value" .Values.hubble.relay.networkPolicy.ingressNSPodMatchLabels "context" $ ) | nindent 14 }}
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.hubble.relay.networkPolicy.extraIngress }}
{{- include "common.tplvalues.render" ( dict "value" .Values.hubble.relay.networkPolicy.extraIngress "context" $ ) | nindent 4 }}
{{- end }}
{{- end }}
```
|
John Maclean is a British photographer based in London. He has been a freelance photographer since 1998, using commercial, architectural commissions to support an independent, fine-art practice. His work has appeared in books and periodicals and he has self-published seven photo-books that are held in the National Art Archive at The Victoria and Albert Museum and in private collections around the world.
"Two and Two" was exhibited at Flowers East in 2010 showing "two pictures made [from] the same scene and printed together".
"New Colour Guide" was published in 2012 and critically well received. Featuring on both the American Photo Magazine Best 2012 Photo list and Photo Eye's Best 2012 Best Books of 2012 list
His project Hometowns "undertook to visit the places that had shaped the visions of those artists who had influenced him and to depict them in a way that not just references"
References
External links
Photographers from London
Living people
Year of birth missing (living people)
|
```objective-c
/*
*
* in the file LICENSE in the source distribution or at
* path_to_url
*
* Originally written by Mike Hamburg
*/
#ifndef OSSL_CRYPTO_EC_CURVE448_ARCH_32_F_IMPL_H
# define OSSL_CRYPTO_EC_CURVE448_ARCH_32_F_IMPL_H
# define GF_HEADROOM 2
# define LIMB(x) ((x) & ((1 << 28) - 1)), ((x) >> 28)
# define FIELD_LITERAL(a, b, c, d, e, f, g, h) \
{{LIMB(a), LIMB(b), LIMB(c), LIMB(d), LIMB(e), LIMB(f), LIMB(g), LIMB(h)}}
# define LIMB_PLACE_VALUE(i) 28
void gf_add_RAW(gf out, const gf a, const gf b)
{
unsigned int i;
for (i = 0; i < NLIMBS; i++)
out->limb[i] = a->limb[i] + b->limb[i];
}
void gf_sub_RAW(gf out, const gf a, const gf b)
{
unsigned int i;
for (i = 0; i < NLIMBS; i++)
out->limb[i] = a->limb[i] - b->limb[i];
}
void gf_bias(gf a, int amt)
{
unsigned int i;
uint32_t co1 = ((1 << 28) - 1) * amt, co2 = co1 - amt;
for (i = 0; i < NLIMBS; i++)
a->limb[i] += (i == NLIMBS / 2) ? co2 : co1;
}
void gf_weak_reduce(gf a)
{
uint32_t mask = (1 << 28) - 1;
uint32_t tmp = a->limb[NLIMBS - 1] >> 28;
unsigned int i;
a->limb[NLIMBS / 2] += tmp;
for (i = NLIMBS - 1; i > 0; i--)
a->limb[i] = (a->limb[i] & mask) + (a->limb[i - 1] >> 28);
a->limb[0] = (a->limb[0] & mask) + tmp;
}
#endif /* OSSL_CRYPTO_EC_CURVE448_ARCH_32_F_IMPL_H */
```
|
```javascript
/**
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
'use strict';
/**
* Create an iterator which returns `[index, column]` pairs for each column in a matrix (or stack of matrices).
*
* @module @stdlib/ndarray/iter/column-entries
*
* @example
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
* var array = require( '@stdlib/ndarray/array' );
* var nditerColumnEntries = require( '@stdlib/ndarray/iter/column-entries' );
*
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ] );
* // returns <ndarray>
*
* var iter = nditerColumnEntries( x );
*
* var v = iter.next().value;
* // returns [...]
*
* var idx = v[ 0 ];
* // returns [ 0, null, 0 ]
*
* var col = ndarray2array( v[ 1 ] );
* // returns [ 1, 3 ]
*
* v = iter.next().value;
* // returns [...]
*
* idx = v[ 0 ];
* // returns [ 0, null, 1 ]
*
* col = ndarray2array( v[ 1 ] );
* // returns [ 2, 4 ]
*
* // ...
*/
// MODULES //
var main = require( './main.js' );
// EXPORTS //
module.exports = main;
```
|
```java
/*
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
package org.apache.shardingsphere.driver.jdbc.core.resultset;
import org.apache.shardingsphere.infra.binder.context.segment.select.projection.Projection;
import org.apache.shardingsphere.infra.binder.context.segment.select.projection.ProjectionsContext;
import org.apache.shardingsphere.infra.binder.context.segment.select.projection.impl.ColumnProjection;
import org.apache.shardingsphere.infra.binder.context.statement.dml.SelectStatementContext;
import org.apache.shardingsphere.infra.database.core.type.DatabaseType;
import org.junit.jupiter.api.Test;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
class ShardingSphereResultSetUtilsTest {
@Test
void your_sha256_hashions() throws SQLException {
SelectStatementContext selectStatementContext = mock(SelectStatementContext.class);
when(selectStatementContext.getProjectionsContext()).thenReturn(new ProjectionsContext(0, 0, false, Collections.emptyList()));
ResultSetMetaData resultSetMetaData = mock(ResultSetMetaData.class);
when(resultSetMetaData.getColumnCount()).thenReturn(1);
when(resultSetMetaData.getColumnLabel(1)).thenReturn("label");
Map<String, Integer> actual = ShardingSphereResultSetUtils.createColumnLabelAndIndexMap(selectStatementContext, resultSetMetaData);
assertThat(actual, is(Collections.singletonMap("label", 1)));
}
@Test
void your_sha256_hashs() throws SQLException {
SelectStatementContext selectStatementContext = mock(SelectStatementContext.class);
when(selectStatementContext.containsDerivedProjections()).thenReturn(true);
List<Projection> projections = new ArrayList<>(2);
projections.add(new ColumnProjection(null, "col1", null, mock(DatabaseType.class)));
projections.add(new ColumnProjection(null, "col2", null, mock(DatabaseType.class)));
when(selectStatementContext.getProjectionsContext()).thenReturn(new ProjectionsContext(0, 0, false, projections));
Map<String, Integer> expected = new HashMap<>(2, 1F);
expected.put("col1", 1);
expected.put("col2", 2);
Map<String, Integer> actual = ShardingSphereResultSetUtils.createColumnLabelAndIndexMap(selectStatementContext, null);
assertThat(actual, is(expected));
}
}
```
|
The Trans-Andean railways provide rail transport over the Andes. Several are either planned, built, defunct, or waiting to be restored. They are listed here in order from north to south.
Colombian Railways
Feb 2011 - The Chinese Government plans to cooperate with Colombia in building a 220 km transcontinental railway which would link Colombia's Atlantic and Pacific coasts, according to a British newspaper.
Ecuador Trans-Andean Railway
Much of Ecuador's Trans-Andean Railway (a railway network that once ran from Guayaquil to Quito) has been rendered useless by natural disasters. Torrential rains from the 1982–83 and 1997-98 El Niño caused massive landslides that damaged the railway line. The network is operated by Empresa de Ferrocarriles Ecuatorianos. Only three sections remain operational: a segment connecting Quito and Cotopaxi National Park, a stretch between Ibarra and Primer Paso, and the mountainous five-hour, excursion from Riobamba to Sibambe.
Peru
Although wholly within Peru, the Ferrocarril Central Andino (FCCA; the former Ferrocarril Central del Perú) running inland from Callao and Lima crosses the Andes watershed at Galera en route to La Oroya and Huancayo. From here the route is extended by the Ferrocarril Huancayo - Huancavelica. In July 2006 FCCA began work to regauge the Huancavelica line from to (standard gauge). There was also a proposal for a tunnel under the Andes.
The Ferrocarriles del Sur del Perú (FCS), now operated by PeruRail, runs from the coast at Matarani to Cuzco, and to Puno on Lake Titicaca from where steamers and train ferries have been run connecting with Guaqui in Bolivia.
Proposed Bolivia-Chile Trans-Andean railway
Empresa Nacional de Ferrocarriles - ENFE, operator of the National Railways of Bolivia, and consultant Hagler Bailly, United States, have signed a contract to undertake an economic feasibility study into the proposed $US 1 billion 338 km Aiquile–Santa Cruz Railway (IRJ July p6). The line would connect the Eastern Railway network with the Andean Railway network, and effectively create a new trans-Andean railway from Pacific Ocean ports in Chile to the port of Santos in Brazil.
Other Bolivia-Chile railways:
Ferrocarril de Antofagasta a Bolivia
Arica–La Paz railway, Arica, Chile–La Paz
Proposed Peru - Brazil Railway
In 2014, proposals were advanced by ProInversión for the above railway.
Ucayali - western Brazil
Huánuco - Peru
Pasco - Peru
San Martin - Peru
Amazonas - Brazil
Cajamarca - Peru
Piura - Peru - near Pacific coast in north
Argentina - Chile
(from North)
Salta-Antofagasta railway
The Huaytiquina railway is a single gauge linking Salta, Argentina, to Antofagasta, Chile. The Tren a las Nubes is a touristic service running for on the Argentinian side.
Transandine Railway
The central Transandine Railway from Valparaíso, Chile, to Mendoza, Argentina is defunct, pending reconstruction. While Chile and large parts of Argentina both use the same gauge, the connecting Ferrocarril Trasandino Los Andes - Mendoza used a narrow gauge of with rack railway sections. Thus there are two break-of-gauge stations, one at Los Andes, Chile and the other at Mendoza.
In 2009, a deal was signed to build a , single gauge, base tunnel connecting Chile and Argentina.
South Trans-Andean railway
from Lonquimay (Chile) to Zapala (Argentina) – construction abandoned. line once again proposed in 2005 and work underway at Chilean end in 2005; first stage completed by early 2006. Possible break-of-gauge and rack railway.
from Osorno, Chile to Bariloche – never built.
BiOceanio
(2010)
Brazil - Paraguay - Argentina - Chile
Mejillones
Antofagasta
Paranaguá
São Francisco do Sul
See also
Panama Canal Railway
Railway stations in Peru
Tren a las Nubes
References
External links
Mercosur report on links - Argentine Ministry of Economy (doc format)
Railway lines in Argentina
Rail transport in Bolivia
Rail transport in Chile
Rail transport in Colombia
Rail transport in Ecuador
Rail transport in Peru
Rail transport in South America
International railway lines
Andes
Mountain railways
|
```python
"""
Discrete Fourier Transforms - basic.py
"""
# Created by Pearu Peterson, August,September 2002
__all__ = ['fft','ifft','fftn','ifftn','rfft','irfft',
'fft2','ifft2']
from scipy.fft import _pocketfft
from .helper import _good_shape
def fft(x, n=None, axis=-1, overwrite_x=False):
"""
Return discrete Fourier transform of real or complex sequence.
The returned complex array contains ``y(0), y(1),..., y(n-1)``, where
``y(j) = (x * exp(-2*pi*sqrt(-1)*j*np.arange(n)/n)).sum()``.
Parameters
----------
x : array_like
Array to Fourier transform.
n : int, optional
Length of the Fourier transform. If ``n < x.shape[axis]``, `x` is
truncated. If ``n > x.shape[axis]``, `x` is zero-padded. The
default results in ``n = x.shape[axis]``.
axis : int, optional
Axis along which the fft's are computed; the default is over the
last axis (i.e., ``axis=-1``).
overwrite_x : bool, optional
If True, the contents of `x` can be destroyed; the default is False.
Returns
-------
z : complex ndarray
with the elements::
[y(0),y(1),..,y(n/2),y(1-n/2),...,y(-1)] if n is even
[y(0),y(1),..,y((n-1)/2),y(-(n-1)/2),...,y(-1)] if n is odd
where::
y(j) = sum[k=0..n-1] x[k] * exp(-sqrt(-1)*j*k* 2*pi/n), j = 0..n-1
See Also
--------
ifft : Inverse FFT
rfft : FFT of a real sequence
Notes
-----
The packing of the result is "standard": If ``A = fft(a, n)``, then
``A[0]`` contains the zero-frequency term, ``A[1:n/2]`` contains the
positive-frequency terms, and ``A[n/2:]`` contains the negative-frequency
terms, in order of decreasingly negative frequency. So ,for an 8-point
transform, the frequencies of the result are [0, 1, 2, 3, -4, -3, -2, -1].
To rearrange the fft output so that the zero-frequency component is
centered, like [-4, -3, -2, -1, 0, 1, 2, 3], use `fftshift`.
Both single and double precision routines are implemented. Half precision
inputs will be converted to single precision. Non-floating-point inputs
will be converted to double precision. Long-double precision inputs are
not supported.
This function is most efficient when `n` is a power of two, and least
efficient when `n` is prime.
Note that if ``x`` is real-valued, then ``A[j] == A[n-j].conjugate()``.
If ``x`` is real-valued and ``n`` is even, then ``A[n/2]`` is real.
If the data type of `x` is real, a "real FFT" algorithm is automatically
used, which roughly halves the computation time. To increase efficiency
a little further, use `rfft`, which does the same calculation, but only
outputs half of the symmetrical spectrum. If the data is both real and
symmetrical, the `dct` can again double the efficiency by generating
half of the spectrum from half of the signal.
Examples
--------
>>> from scipy.fftpack import fft, ifft
>>> x = np.arange(5)
>>> np.allclose(fft(ifft(x)), x, atol=1e-15) # within numerical accuracy.
True
"""
return _pocketfft.fft(x, n, axis, None, overwrite_x)
def ifft(x, n=None, axis=-1, overwrite_x=False):
"""
Return discrete inverse Fourier transform of real or complex sequence.
The returned complex array contains ``y(0), y(1),..., y(n-1)``, where
``y(j) = (x * exp(2*pi*sqrt(-1)*j*np.arange(n)/n)).mean()``.
Parameters
----------
x : array_like
Transformed data to invert.
n : int, optional
Length of the inverse Fourier transform. If ``n < x.shape[axis]``,
`x` is truncated. If ``n > x.shape[axis]``, `x` is zero-padded.
The default results in ``n = x.shape[axis]``.
axis : int, optional
Axis along which the ifft's are computed; the default is over the
last axis (i.e., ``axis=-1``).
overwrite_x : bool, optional
If True, the contents of `x` can be destroyed; the default is False.
Returns
-------
ifft : ndarray of floats
The inverse discrete Fourier transform.
See Also
--------
fft : Forward FFT
Notes
-----
Both single and double precision routines are implemented. Half precision
inputs will be converted to single precision. Non-floating-point inputs
will be converted to double precision. Long-double precision inputs are
not supported.
This function is most efficient when `n` is a power of two, and least
efficient when `n` is prime.
If the data type of `x` is real, a "real IFFT" algorithm is automatically
used, which roughly halves the computation time.
Examples
--------
>>> from scipy.fftpack import fft, ifft
>>> import numpy as np
>>> x = np.arange(5)
>>> np.allclose(ifft(fft(x)), x, atol=1e-15) # within numerical accuracy.
True
"""
return _pocketfft.ifft(x, n, axis, None, overwrite_x)
def rfft(x, n=None, axis=-1, overwrite_x=False):
"""
Discrete Fourier transform of a real sequence.
Parameters
----------
x : array_like, real-valued
The data to transform.
n : int, optional
Defines the length of the Fourier transform. If `n` is not specified
(the default) then ``n = x.shape[axis]``. If ``n < x.shape[axis]``,
`x` is truncated, if ``n > x.shape[axis]``, `x` is zero-padded.
axis : int, optional
The axis along which the transform is applied. The default is the
last axis.
overwrite_x : bool, optional
If set to true, the contents of `x` can be overwritten. Default is
False.
Returns
-------
z : real ndarray
The returned real array contains::
[y(0),Re(y(1)),Im(y(1)),...,Re(y(n/2))] if n is even
[y(0),Re(y(1)),Im(y(1)),...,Re(y(n/2)),Im(y(n/2))] if n is odd
where::
y(j) = sum[k=0..n-1] x[k] * exp(-sqrt(-1)*j*k*2*pi/n)
j = 0..n-1
See Also
--------
fft, irfft, scipy.fft.rfft
Notes
-----
Within numerical accuracy, ``y == rfft(irfft(y))``.
Both single and double precision routines are implemented. Half precision
inputs will be converted to single precision. Non-floating-point inputs
will be converted to double precision. Long-double precision inputs are
not supported.
To get an output with a complex datatype, consider using the newer
function `scipy.fft.rfft`.
Examples
--------
>>> from scipy.fftpack import fft, rfft
>>> a = [9, -9, 1, 3]
>>> fft(a)
array([ 4. +0.j, 8.+12.j, 16. +0.j, 8.-12.j])
>>> rfft(a)
array([ 4., 8., 12., 16.])
"""
return _pocketfft.rfft_fftpack(x, n, axis, None, overwrite_x)
def irfft(x, n=None, axis=-1, overwrite_x=False):
"""
Return inverse discrete Fourier transform of real sequence x.
The contents of `x` are interpreted as the output of the `rfft`
function.
Parameters
----------
x : array_like
Transformed data to invert.
n : int, optional
Length of the inverse Fourier transform.
If n < x.shape[axis], x is truncated.
If n > x.shape[axis], x is zero-padded.
The default results in n = x.shape[axis].
axis : int, optional
Axis along which the ifft's are computed; the default is over
the last axis (i.e., axis=-1).
overwrite_x : bool, optional
If True, the contents of `x` can be destroyed; the default is False.
Returns
-------
irfft : ndarray of floats
The inverse discrete Fourier transform.
See Also
--------
rfft, ifft, scipy.fft.irfft
Notes
-----
The returned real array contains::
[y(0),y(1),...,y(n-1)]
where for n is even::
y(j) = 1/n (sum[k=1..n/2-1] (x[2*k-1]+sqrt(-1)*x[2*k])
* exp(sqrt(-1)*j*k* 2*pi/n)
+ c.c. + x[0] + (-1)**(j) x[n-1])
and for n is odd::
y(j) = 1/n (sum[k=1..(n-1)/2] (x[2*k-1]+sqrt(-1)*x[2*k])
* exp(sqrt(-1)*j*k* 2*pi/n)
+ c.c. + x[0])
c.c. denotes complex conjugate of preceding expression.
For details on input parameters, see `rfft`.
To process (conjugate-symmetric) frequency-domain data with a complex
datatype, consider using the newer function `scipy.fft.irfft`.
Examples
--------
>>> from scipy.fftpack import rfft, irfft
>>> a = [1.0, 2.0, 3.0, 4.0, 5.0]
>>> irfft(a)
array([ 2.6 , -3.16405192, 1.24398433, -1.14955713, 1.46962473])
>>> irfft(rfft(a))
array([1., 2., 3., 4., 5.])
"""
return _pocketfft.irfft_fftpack(x, n, axis, None, overwrite_x)
def fftn(x, shape=None, axes=None, overwrite_x=False):
"""
Return multidimensional discrete Fourier transform.
The returned array contains::
y[j_1,..,j_d] = sum[k_1=0..n_1-1, ..., k_d=0..n_d-1]
x[k_1,..,k_d] * prod[i=1..d] exp(-sqrt(-1)*2*pi/n_i * j_i * k_i)
where d = len(x.shape) and n = x.shape.
Parameters
----------
x : array_like
The (N-D) array to transform.
shape : int or array_like of ints or None, optional
The shape of the result. If both `shape` and `axes` (see below) are
None, `shape` is ``x.shape``; if `shape` is None but `axes` is
not None, then `shape` is ``numpy.take(x.shape, axes, axis=0)``.
If ``shape[i] > x.shape[i]``, the ith dimension is padded with zeros.
If ``shape[i] < x.shape[i]``, the ith dimension is truncated to
length ``shape[i]``.
If any element of `shape` is -1, the size of the corresponding
dimension of `x` is used.
axes : int or array_like of ints or None, optional
The axes of `x` (`y` if `shape` is not None) along which the
transform is applied.
The default is over all axes.
overwrite_x : bool, optional
If True, the contents of `x` can be destroyed. Default is False.
Returns
-------
y : complex-valued N-D NumPy array
The (N-D) DFT of the input array.
See Also
--------
ifftn
Notes
-----
If ``x`` is real-valued, then
``y[..., j_i, ...] == y[..., n_i-j_i, ...].conjugate()``.
Both single and double precision routines are implemented. Half precision
inputs will be converted to single precision. Non-floating-point inputs
will be converted to double precision. Long-double precision inputs are
not supported.
Examples
--------
>>> from scipy.fftpack import fftn, ifftn
>>> y = (-np.arange(16), 8 - np.arange(16), np.arange(16))
>>> np.allclose(y, fftn(ifftn(y)))
True
"""
shape = _good_shape(x, shape, axes)
return _pocketfft.fftn(x, shape, axes, None, overwrite_x)
def ifftn(x, shape=None, axes=None, overwrite_x=False):
"""
Return inverse multidimensional discrete Fourier transform.
The sequence can be of an arbitrary type.
The returned array contains::
y[j_1,..,j_d] = 1/p * sum[k_1=0..n_1-1, ..., k_d=0..n_d-1]
x[k_1,..,k_d] * prod[i=1..d] exp(sqrt(-1)*2*pi/n_i * j_i * k_i)
where ``d = len(x.shape)``, ``n = x.shape``, and ``p = prod[i=1..d] n_i``.
For description of parameters see `fftn`.
See Also
--------
fftn : for detailed information.
Examples
--------
>>> from scipy.fftpack import fftn, ifftn
>>> import numpy as np
>>> y = (-np.arange(16), 8 - np.arange(16), np.arange(16))
>>> np.allclose(y, ifftn(fftn(y)))
True
"""
shape = _good_shape(x, shape, axes)
return _pocketfft.ifftn(x, shape, axes, None, overwrite_x)
def fft2(x, shape=None, axes=(-2,-1), overwrite_x=False):
"""
2-D discrete Fourier transform.
Return the 2-D discrete Fourier transform of the 2-D argument
`x`.
See Also
--------
fftn : for detailed information.
Examples
--------
>>> from scipy.fftpack import fft2, ifft2
>>> y = np.mgrid[:5, :5][0]
>>> y
array([[0, 0, 0, 0, 0],
[1, 1, 1, 1, 1],
[2, 2, 2, 2, 2],
[3, 3, 3, 3, 3],
[4, 4, 4, 4, 4]])
>>> np.allclose(y, ifft2(fft2(y)))
True
"""
return fftn(x,shape,axes,overwrite_x)
def ifft2(x, shape=None, axes=(-2,-1), overwrite_x=False):
"""
2-D discrete inverse Fourier transform of real or complex sequence.
Return inverse 2-D discrete Fourier transform of
arbitrary type sequence x.
See `ifft` for more information.
See also
--------
fft2, ifft
Examples
--------
>>> from scipy.fftpack import fft2, ifft2
>>> y = np.mgrid[:5, :5][0]
>>> y
array([[0, 0, 0, 0, 0],
[1, 1, 1, 1, 1],
[2, 2, 2, 2, 2],
[3, 3, 3, 3, 3],
[4, 4, 4, 4, 4]])
>>> np.allclose(y, fft2(ifft2(y)))
True
"""
return ifftn(x,shape,axes,overwrite_x)
```
|
```xml
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
<style name="CustomTheme" parent="DefaultCityPickerTheme">
<item name="cpCancelTextColor">@color/color_green</item>
<item name="cpSearchCursorDrawable">@color/color_green</item>
<item name="cpIndexBarNormalTextColor">@color/color_green</item>
<item name="cpIndexBarSelectedTextColor">@color/color_green</item>
<item name="cpSectionHeight">@dimen/custom_section_height</item>
<item name="cpOverlayBackground">@color/color_green</item>
</style>
<style name="CustomAnim">
<item name="android:windowEnterAnimation">@anim/custom_push_down_in</item>
<item name="android:windowExitAnimation">@anim/custom_push_up_out</item>
</style>
</resources>
```
|
```python
import json
from math import sin, pi
NAME = 'Sine Curve.json'
class Scenario:
def __init__(self, glucose_values, basal_doses, bolus_doses, carb_entries):
self.glucose_values = glucose_values
self.basal_doses = basal_doses
self.bolus_doses = bolus_doses
self.carb_entries = carb_entries
def json(self):
return {
'glucoseValues': [glucose.json() for glucose in self.glucose_values],
'basalDoses': [basal.json() for basal in self.basal_doses],
'bolusDoses': [bolus.json() for bolus in self.bolus_doses],
'carbEntries': [entry.json() for entry in self.carb_entries]
}
class GlucoseValue:
def __init__(self, mgdl, date_offset):
self.mgdl = mgdl
self.date_offset = date_offset
def json(self):
return {
'mgdlValue': self.mgdl,
'dateOffset': self.date_offset
}
class BasalDose:
def __init__(self, units_per_hour, date_offset, duration):
self.units_per_hour = units_per_hour
self.date_offset = date_offset
self.duration = duration
def json(self):
return {
'unitsPerHourValue': self.units_per_hour,
'dateOffset': self.date_offset,
'duration': self.duration
}
class BolusDose:
def __init__(self, units, date_offset, delivery_duration):
self.units = units
self.date_offset = date_offset
self.delivery_duration = delivery_duration
def json(self):
return {
'unitsValue': self.units,
'dateOffset': self.date_offset,
'deliveryDuration': self.delivery_duration
}
class CarbEntry:
def __init__(self, grams, date_offset,
absorption_time, entered_at_offset=None):
self.grams = grams
self.date_offset = date_offset
self.absorption_time = absorption_time
self.entered_at_offset = entered_at_offset
def json(self):
d = {
'gramValue': self.grams,
'dateOffset': self.date_offset,
'absorptionTime': self.absorption_time
}
if self.entered_at_offset is not None:
d['enteredAtOffset'] = self.entered_at_offset
return d
def minutes(count):
return 60 * count
def hours(count):
return 60 * minutes(count)
def make_scenario():
return Scenario(
make_glucose_values(),
make_basal_doses(),
make_bolus_doses(),
make_carb_entries()
)
def make_glucose_values():
amplitude = 40
base = 110
period = hours(3)
offsets = [minutes(t * 5) for t in range(-120, 120)]
values = [base + amplitude * sin(2 * pi / period * t) for t in offsets]
return [GlucoseValue(value, offset) for value, offset in zip(values, offsets)]
def make_basal_doses():
return [
BasalDose(1.2, hours(-1.5), hours(0.5)),
BasalDose(0.9, hours(-1.0), hours(0.5)),
BasalDose(0.8, hours(-0.5), hours(0.5))
]
def make_bolus_doses():
return [
BolusDose(3.0, minutes(-15), minutes(2)),
]
def make_carb_entries():
return [
CarbEntry(30, minutes(-5), hours(3)),
CarbEntry(15, minutes(15), hours(2), entered_at_offset=minutes(-15)),
]
if __name__ == '__main__':
with open(NAME, 'w') as outfile:
json.dump(make_scenario().json(), outfile)
```
|
The Planning Commission was an institution in the Government of India, which formulated India's Five-Year Plans, among other functions.
In his first Independence Day speech in 2014, Prime Minister Narendra Modi announced his intention to dissolve the Planning Commission. It has since been replaced by a new institution named NITI Aayog.
History
Rudimentary economic planning, deriving from the sovereign authority of the state, was first initiated in India in 1938 by Congress President Netaji Subhash Chandra Bose, Atul Tiwari, Pandit Jawaharlal Nehru who had been persuaded by Meghnad Saha to set up a National Planning Committee.
M. Visvesvaraya had been elected head of the Planning Committee. Meghnad Saha approached him and requested him to step down, putting forward the argument that planning needed a reciprocity between science and politics. M. Visvesvaraya generously agreed and Jawaharlal Nehru was made head of the National Planning Committee. The so-called "British Raj" also formally established the Advisory Planning Board under K. C. Neogy that functioned from 1944 to 1946.
Industrialists and economists independently formulated at least three development plans. Some scholars have argued that the introduction of planning as an instrument was intended to transcend the ideological divisions between Mahatma Gandhi and Nehru. Other scholars have argued that the Planning Commission, as a central agency in the context of plural democracy in India, needs to carry out more functions than rudimentary economic planning.
After India achieved independence, a formal model of planning was adopted, and accordingly the Planning Commission, reporting directly to the Prime Minister of India, was established on 15 March 1950, with Prime Minister Jawaharlal Nehru as the Chairman. Authority for creation of the Planning Commission was not derived from the Constitution of India or statute; it is an arm of the Central Government of India.
The first Five-Year Plan was launched in 1951, focusing mainly on development of the agricultural sector. Two subsequent Five-Year Plans were formulated before 1965, when there was a break because of the Indo-Pakistan conflict. Two successive years of drought, devaluation of the currency, a general rise in prices and erosion of resources disrupted the planning process and after three Annual Plans between 1966 and 1969, the fourth Five-Year Plan was started in 1969.
The Eighth Plan could not take off in 1990 due to the fast changing political situation at the Centre, and the years 1990–91 and 1991–92 were treated as Annual Plans. The Eighth Plan was finally launched in 1992 after the initiation of structural adjustment policies.
For the first eight Plans the emphasis was on a growing public sector with massive investments in basic and heavy industries, but since the launch of the Ninth Plan in 1997, the emphasis on the public sector has become less pronounced and the current thinking on planning in the country, in general, is that it should increasingly be of an indicative nature.
In 2014, Narendra Modi government decided to wind down the Planning Commission. It was replaced by the newly formed NITI Aayog.
Organisation
The composition of the Commission underwent considerable changes since its initiation. With the Prime Minister as the ex officio Chairman, the committee had a nominated Deputy Chairman, with the rank of a full Cabinet Minister. Cabinet Ministers with certain important portfolios acted as ex officio members of the Commission, while the full-time members were experts in various fields like economics, industry, science and general administration.
Ex officio members of the Commission included the Finance Minister, Agriculture Minister, Home Minister, Health Minister, Chemicals and Fertilisers Minister, Information Technology Minister, Law Minister, Human Resource Development Minister and Minister of State for Planning.
The Commission worked through its various divisions, of which there were two kinds:
General Planning Divisions
Programme Administration Divisions
The majority of the experts in the Commission were economists, making the Commission the biggest employer of the Indian Economic Service.
Functions
The Indian Planning Commission's functions as outlined by the Government's 1950 resolution are following:
To make an assessment in the material, capital and human resources of India, including technical personnel, and investigate the possibilities of augmenting those are related resources which are found to be deficient in relation to the nation's requirement.
To formulate a plan for the most effective and balanced utilisation of country's resources.
To define the stages, on the basis of priority, in which the plan should be carried out and propose the allocation of resources for the due completion of each stage.
To indicate the factors that tend to retard economic development.
To determine the conditions which need to be established for the successful execution of the plan within the incumbent socio-political situation of the country.
To determine the nature of the machinery required for securing the successful implementation of each stage of the plan in all its aspects.
To appraise from time to time the progress achieved in the execution of each stage of the plan and also recommend the adjustments of policy and measures which are deemed important vis-a-vis a successful implementation of the plan.
To make necessary recommendations from time to time regarding those things which are deemed necessary for facilitating the execution of these functions. Such recommendations can be related to the prevailing economic conditions, current policies, measures or development programmes. They can even be given out in response to some specific problems referred to the commission by the central or the state governments.
Social media
In March 2013, Planning Commission launched a massive social media campaign for spreading Awareness about 12th Five Year Plan. It was followed by a series of Google+ Hangouts and a Plan Hackathon. By September 2013, it had made a considerable presence on social media with over a hundred thousand Twitter followers and a considerable size on Facebook, YouTube and SlideShare and Instagram.
See also
Investment commission of India
Five-Year Plans of India
Ministry of Finance, Government of India
Finance Commission of India
NITI Aayog
References
External links
Official Homepage
Nehru administration
Economic planning in India
Indian commissions and inquiries
2014 disestablishments in India
Defunct government departments and agencies of India
1950 establishments in India
Government agencies established in 1950
Government agencies disestablished in 2014
|
San Diego Unified School District (formerly known as San Diego City Schools) is the school district based in San Diego, California, United States. It was founded in 1854. As of 2005 it represents over 200 institutions and has over 15,800 employees. The average teacher in the district makes around $67,000 a year, with a benefit package worth around $24,000 a year. The district includes 113 elementary schools, 24 middle schools, 4 atypical schools, 10 alternative schools, 27 high schools and 25 charter schools.
School board
The district is governed by a seven-member elected board of education; 5 adults and 2 preferential-voting Student Board Members. Adult board members are elected by district for four-year terms. Student Board Members are elected annually by high school students.
Superintendent
The superintendent is appointed by the school board. From 2010 through 2013 the superintendent was Bill Kowba, a retired Navy rear admiral. On February 26, 2013, Kowba announced his retirement, effective June 30. The next day, February 27, the school board unanimously appointed elementary school principal Cindy Marten as the new superintendent. The quick appointment, without a search process or community input, was described as "highly unusual - virtually unheard of" by the San Diego Union Tribune. On May 18, 2021, Marten left her job as superintendent to become the United States deputy secretary of education, with Lamont Jackson replacing her as the interim superintendent.
Schools
List of primary and secondary schools in San Diego organized by district
Partnership with Ocean Discovery Institute
In 2017, the district partnered with the Ocean Discovery Institute, a nonprofit that works to teach kids about science and conservation, to bring a $15 million tuition-free learning and research center to the City Heights neighborhood. The building will be a permanent campus for the nonprofit and will include two laboratories, a garden, a community kitchen and a residence for a live-in staff member. The Living Lab allows the nonprofit to reach all 10,000 students that attend and feed into Hoover High School.
Farm to School Program
In 2010, the district launched a farm to school program in an effort to bring locally grown produce to schools. The program seeks to provide students access to as much local, regional, and California grown produce as possible. In addition to produce grown at farms, the district has a Garden to Café program which allows schools to be certified by the San Diego Department of Environmental Health allowing the school to grow and serve their own produce.
See also
San Diego Unified School district is the second largest school district in California and the largest in San Diego County. The district covers most of San Diego with the exception of San Ysidro, which is served by San Ysidro Elementary School District and Sweetwater Union High School District.
References
External links
San Diego County Office of Education
School districts in San Diego County, California
Education in San Diego
School districts established in 1854
1854 establishments in California
|
Kargin or Kargın may refer to:
People
Cem Kargın (born 1978), Turkish footballer
Valentin Kargin (1907–1969), Russian and Soviet chemist
Valery Kargin or Valērijs Kargins (born 1961), Latvian economist and banker
Places
Iran
Kargin, Hormozgan, a village in Jask County
Kargin, Kerman, a village in Baft County
Turkey
Kargın, Alaca, a village in Çorum Province
Kargın, Bigadiç, a neighbourhood in Balıkesir Province
Kargın, Çubuk, a neighbourhood in Ankara Province
Kargın, Kalecik, a neighbourhood in Ankara Province
Kargın, Korkuteli, a neighbourhood in Antalya Province
Kargın, Sandıklı, a village in Afyonkarahisar Province
Kargın, Tercan, a municipality in Erzincan Province
|
Dyschirius smyrnensis is a species of ground beetle in the subfamily Scaritinae. It was described by Fedorenko in 1996.
References
smyrnensis
Beetles described in 1996
|
```smalltalk
Package { #name : 'EmergencyDebugger' }
```
|
Dichomeris junisonensis is a moth in the family Gelechiidae. It was described by Shōnen Matsumura in 1931. It is found in Japan.
References
Moths described in 1931
junisonensis
|
```smalltalk
//
//
// file LICENSE or copy at path_to_url
//
using System;
using Telegram.Controls;
using Telegram.Controls.Cells;
using Telegram.Converters;
using Windows.UI.Xaml.Controls;
namespace Telegram.Views.Monetization.Popups
{
public sealed partial class TransferPopup : ContentPopup
{
public TransferPopup(string address, CryptoAmount amount)
{
InitializeComponent();
Title = string.Format(Strings.MonetizationTransferTitle, Formatter.FormatAmount(amount.CryptocurrencyAmount, amount.Cryptocurrency));
Address.Content = address.Substring(0, address.Length / 2) + Environment.NewLine + address.Substring(address.Length / 2);
PrimaryButtonText = Strings.Send;
SecondaryButtonText = Strings.Cancel;
}
private void ContentDialog_PrimaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args)
{
}
private void ContentDialog_SecondaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args)
{
}
}
}
```
|
```c
/* crypto/asn1/a_sign.c */
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
* included with this distribution is covered by the same copyright terms
* except that the holder is Tim Hudson (tjh@cryptsoft.com).
*
* the code are not to be removed.
* If this package is used in a product, Eric Young should be given attribution
* as the author of the parts of the library used.
* This can be in the form of a textual message at program startup or
* in documentation (online or textual) provided with the package.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* "This product includes cryptographic software written by
* Eric Young (eay@cryptsoft.com)"
* The word 'cryptographic' can be left out if the rouines from the library
* being used are not cryptographic related :-).
* 4. If you include any Windows specific code (or a derivative thereof) from
* the apps directory (application code) you must include an acknowledgement:
* "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
*
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* The licence and distribution terms for any publically available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
* [including the GNU Public Licence.]
*/
/* ====================================================================
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. All advertising materials mentioning features or use of this
* software must display the following acknowledgment:
* "This product includes software developed by the OpenSSL Project
* for use in the OpenSSL Toolkit. (path_to_url"
*
* 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
* endorse or promote products derived from this software without
* prior written permission. For written permission, please contact
* openssl-core@openssl.org.
*
* 5. Products derived from this software may not be called "OpenSSL"
* nor may "OpenSSL" appear in their names without prior written
* permission of the OpenSSL Project.
*
* 6. Redistributions of any form whatsoever must retain the following
* acknowledgment:
* "This product includes software developed by the OpenSSL Project
* for use in the OpenSSL Toolkit (path_to_url"
*
* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
* ====================================================================
*
* This product includes cryptographic software written by Eric Young
* (eay@cryptsoft.com). This product includes software written by Tim
* Hudson (tjh@cryptsoft.com).
*
*/
#include <stdio.h>
#include <time.h>
#include "cryptlib.h"
#ifndef NO_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <openssl/bn.h>
#include <openssl/evp.h>
#include <openssl/x509.h>
#include <openssl/objects.h>
#include <openssl/buffer.h>
#include "asn1_locl.h"
#ifndef NO_ASN1_OLD
int ASN1_sign(i2d_of_void *i2d, X509_ALGOR *algor1, X509_ALGOR *algor2,
ASN1_BIT_STRING *signature, char *data, EVP_PKEY *pkey,
const EVP_MD *type)
{
EVP_MD_CTX ctx;
unsigned char *p, *buf_in = NULL, *buf_out = NULL;
int i, inl = 0, outl = 0, outll = 0;
X509_ALGOR *a;
EVP_MD_CTX_init(&ctx);
for (i = 0; i < 2; i++) {
if (i == 0)
a = algor1;
else
a = algor2;
if (a == NULL)
continue;
if (type->pkey_type == NID_dsaWithSHA1) {
/*
* special case: RFC 2459 tells us to omit 'parameters' with
* id-dsa-with-sha1
*/
ASN1_TYPE_free(a->parameter);
a->parameter = NULL;
} else if ((a->parameter == NULL) ||
(a->parameter->type != V_ASN1_NULL)) {
ASN1_TYPE_free(a->parameter);
if ((a->parameter = ASN1_TYPE_new()) == NULL)
goto err;
a->parameter->type = V_ASN1_NULL;
}
ASN1_OBJECT_free(a->algorithm);
a->algorithm = OBJ_nid2obj(type->pkey_type);
if (a->algorithm == NULL) {
ASN1err(ASN1_F_ASN1_SIGN, ASN1_R_UNKNOWN_OBJECT_TYPE);
goto err;
}
if (a->algorithm->length == 0) {
ASN1err(ASN1_F_ASN1_SIGN,
ASN1_R_THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD);
goto err;
}
}
inl = i2d(data, NULL);
buf_in = (unsigned char *)OPENSSL_malloc((unsigned int)inl);
outll = outl = EVP_PKEY_size(pkey);
buf_out = (unsigned char *)OPENSSL_malloc((unsigned int)outl);
if ((buf_in == NULL) || (buf_out == NULL)) {
outl = 0;
ASN1err(ASN1_F_ASN1_SIGN, ERR_R_MALLOC_FAILURE);
goto err;
}
p = buf_in;
i2d(data, &p);
if (!EVP_SignInit_ex(&ctx, type, NULL)
|| !EVP_SignUpdate(&ctx, (unsigned char *)buf_in, inl)
|| !EVP_SignFinal(&ctx, (unsigned char *)buf_out,
(unsigned int *)&outl, pkey)) {
outl = 0;
ASN1err(ASN1_F_ASN1_SIGN, ERR_R_EVP_LIB);
goto err;
}
if (signature->data != NULL)
OPENSSL_free(signature->data);
signature->data = buf_out;
buf_out = NULL;
signature->length = outl;
/*
* In the interests of compatibility, I'll make sure that the bit string
* has a 'not-used bits' value of 0
*/
signature->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT | 0x07);
signature->flags |= ASN1_STRING_FLAG_BITS_LEFT;
err:
EVP_MD_CTX_cleanup(&ctx);
if (buf_in != NULL) {
OPENSSL_cleanse((char *)buf_in, (unsigned int)inl);
OPENSSL_free(buf_in);
}
if (buf_out != NULL) {
OPENSSL_cleanse((char *)buf_out, outll);
OPENSSL_free(buf_out);
}
return (outl);
}
#endif
int ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1,
X509_ALGOR *algor2, ASN1_BIT_STRING *signature, void *asn,
EVP_PKEY *pkey, const EVP_MD *type)
{
EVP_MD_CTX ctx;
EVP_MD_CTX_init(&ctx);
if (!EVP_DigestSignInit(&ctx, NULL, type, NULL, pkey)) {
EVP_MD_CTX_cleanup(&ctx);
return 0;
}
return ASN1_item_sign_ctx(it, algor1, algor2, signature, asn, &ctx);
}
int ASN1_item_sign_ctx(const ASN1_ITEM *it,
X509_ALGOR *algor1, X509_ALGOR *algor2,
ASN1_BIT_STRING *signature, void *asn, EVP_MD_CTX *ctx)
{
const EVP_MD *type;
EVP_PKEY *pkey;
unsigned char *buf_in = NULL, *buf_out = NULL;
size_t inl = 0, outl = 0, outll = 0;
int signid, paramtype;
int rv;
type = EVP_MD_CTX_md(ctx);
pkey = EVP_PKEY_CTX_get0_pkey(ctx->pctx);
if (!type || !pkey) {
ASN1err(ASN1_F_ASN1_ITEM_SIGN_CTX, ASN1_R_CONTEXT_NOT_INITIALISED);
return 0;
}
if (pkey->ameth->item_sign) {
rv = pkey->ameth->item_sign(ctx, it, asn, algor1, algor2, signature);
if (rv == 1)
outl = signature->length;
/*-
* Return value meanings:
* <=0: error.
* 1: method does everything.
* 2: carry on as normal.
* 3: ASN1 method sets algorithm identifiers: just sign.
*/
if (rv <= 0)
ASN1err(ASN1_F_ASN1_ITEM_SIGN_CTX, ERR_R_EVP_LIB);
if (rv <= 1)
goto err;
} else
rv = 2;
if (rv == 2) {
if (type->flags & EVP_MD_FLAG_PKEY_METHOD_SIGNATURE) {
if (!pkey->ameth ||
!OBJ_find_sigid_by_algs(&signid,
EVP_MD_nid(type),
pkey->ameth->pkey_id)) {
ASN1err(ASN1_F_ASN1_ITEM_SIGN_CTX,
ASN1_R_DIGEST_AND_KEY_TYPE_NOT_SUPPORTED);
return 0;
}
} else
signid = type->pkey_type;
if (pkey->ameth->pkey_flags & ASN1_PKEY_SIGPARAM_NULL)
paramtype = V_ASN1_NULL;
else
paramtype = V_ASN1_UNDEF;
if (algor1)
X509_ALGOR_set0(algor1, OBJ_nid2obj(signid), paramtype, NULL);
if (algor2)
X509_ALGOR_set0(algor2, OBJ_nid2obj(signid), paramtype, NULL);
}
inl = ASN1_item_i2d(asn, &buf_in, it);
outll = outl = EVP_PKEY_size(pkey);
buf_out = OPENSSL_malloc((unsigned int)outl);
if ((buf_in == NULL) || (buf_out == NULL)) {
outl = 0;
ASN1err(ASN1_F_ASN1_ITEM_SIGN_CTX, ERR_R_MALLOC_FAILURE);
goto err;
}
if (!EVP_DigestSignUpdate(ctx, buf_in, inl)
|| !EVP_DigestSignFinal(ctx, buf_out, &outl)) {
outl = 0;
ASN1err(ASN1_F_ASN1_ITEM_SIGN_CTX, ERR_R_EVP_LIB);
goto err;
}
if (signature->data != NULL)
OPENSSL_free(signature->data);
signature->data = buf_out;
buf_out = NULL;
signature->length = outl;
/*
* In the interests of compatibility, I'll make sure that the bit string
* has a 'not-used bits' value of 0
*/
signature->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT | 0x07);
signature->flags |= ASN1_STRING_FLAG_BITS_LEFT;
err:
EVP_MD_CTX_cleanup(ctx);
if (buf_in != NULL) {
OPENSSL_cleanse((char *)buf_in, (unsigned int)inl);
OPENSSL_free(buf_in);
}
if (buf_out != NULL) {
OPENSSL_cleanse((char *)buf_out, outll);
OPENSSL_free(buf_out);
}
return (outl);
}
```
|
```java
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
*
* Project Info: path_to_url
*
* This library is free software; you can redistribute it and/or modify it
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
*
* You should have received a copy of the GNU Lesser General Public
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
* USA.
*
* [Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.]
*
*/
package org.jfree.chart.swing;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Container;
import java.awt.Dialog;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Rectangle;
import java.awt.Window;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.table.TableColumn;
import javax.swing.table.TableModel;
/**
* A collection of utility methods relating to user interfaces.
*/
public class UIUtils {
private UIUtils() {
}
/**
* Positions the specified frame in the middle of the screen.
*
* @param frame the frame to be centered on the screen.
*/
public static void centerFrameOnScreen(Window frame) {
positionFrameOnScreen(frame, 0.5, 0.5);
}
/**
* Positions the specified frame at a relative position in the screen, where 50% is considered
* to be the center of the screen.
*
* @param frame the frame.
* @param horizontalPercent the relative horizontal position of the frame (0.0 to 1.0,
* where 0.5 is the center of the screen).
* @param verticalPercent the relative vertical position of the frame (0.0 to 1.0, where
* 0.5 is the center of the screen).
*/
public static void positionFrameOnScreen(Window frame,
double horizontalPercent, double verticalPercent) {
Rectangle s = frame.getGraphicsConfiguration().getBounds();
Dimension f = frame.getSize();
int w = Math.max(s.width - f.width, 0);
int h = Math.max(s.height - f.height, 0);
int x = (int) (horizontalPercent * w) + s.x;
int y = (int) (verticalPercent * h) + s.y;
frame.setBounds(x, y, f.width, f.height);
}
/**
* Positions the specified frame at a random location on the screen while ensuring that the
* entire frame is visible (provided that the frame is smaller than the screen).
*
* @param frame the frame.
*/
public static void positionFrameRandomly(Window frame) {
positionFrameOnScreen(frame, Math.random(), Math.random());
}
/**
* Positions the specified dialog within its parent.
*
* @param dialog the dialog to be positioned on the screen.
*/
public static void centerDialogInParent(Dialog dialog) {
positionDialogRelativeToParent(dialog, 0.5, 0.5);
}
/**
* Positions the specified dialog at a position relative to its parent.
*
* @param dialog the dialog to be positioned.
* @param horizontalPercent the relative location.
* @param verticalPercent the relative location.
*/
public static void positionDialogRelativeToParent(Dialog dialog,
double horizontalPercent, double verticalPercent) {
Container parent = dialog.getParent();
if (parent == null) {
centerFrameOnScreen(dialog);
return;
}
Dimension d = dialog.getSize();
Dimension p = parent.getSize();
int baseX = parent.getX();
int baseY = parent.getY();
int x = baseX + (int) (horizontalPercent * p.width);
int y = baseY + (int) (verticalPercent * p.height);
// make sure the dialog fits completely on the screen...
Rectangle s = parent.getGraphicsConfiguration().getBounds();
Rectangle r = new Rectangle(x, y, d.width, d.height);
dialog.setBounds(r.intersection(s));
}
/**
* Creates a panel that contains a table based on the specified table model.
*
* @param model the table model to use when constructing the table.
*
* @return The panel.
*/
public static JPanel createTablePanel(TableModel model) {
JPanel panel = new JPanel(new BorderLayout());
JTable table = new JTable(model);
for (int columnIndex = 0; columnIndex < model.getColumnCount(); columnIndex++) {
TableColumn column = table.getColumnModel().getColumn(columnIndex);
Class c = model.getColumnClass(columnIndex);
if (c.equals(Number.class)) {
column.setCellRenderer(new NumberCellRenderer());
}
}
panel.add(new JScrollPane(table));
return panel;
}
/**
* Creates a label with a specific font.
*
* @param text the text for the label.
* @param font the font.
*
* @return The label.
*/
public static JLabel createJLabel(String text, Font font) {
JLabel result = new JLabel(text);
result.setFont(font);
return result;
}
/**
* Creates a label with a specific font and color.
*
* @param text the text for the label.
* @param font the font.
* @param color the color.
*
* @return The label.
*/
public static JLabel createJLabel(String text, Font font, Color color) {
JLabel result = new JLabel(text);
result.setFont(font);
result.setForeground(color);
return result;
}
/**
* Creates a {@link JButton}.
*
* @param label the label.
* @param font the font.
*
* @return The button.
*/
public static JButton createJButton(String label, Font font) {
JButton result = new JButton(label);
result.setFont(font);
return result;
}
}
```
|
```objective-c
//
// TLNewFriendViewController.m
// TLChat
//
// Created by on 16/3/7.
//
#import "TLNewFriendViewController.h"
#import "TLFriendFindViewController.h"
#import "TLSearchController.h"
#import "TLAddContactsViewController.h"
#import "TLMobileContactsViewController.h"
#import "TLNewFriendFuncationCell.h"
typedef NS_ENUM(NSInteger, TLNewFriendVCSectionType) {
TLNewFriendVCSectionTypeFuncation = -1,
};
@interface TLNewFriendViewController ()
@property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, strong) ZZFLEXAngel *tableViewAngel;
@property (nonatomic, strong) TLSearchController *searchController;
@end
@implementation TLNewFriendViewController
- (void)loadView
{
[super loadView];
[self p_loadUI];
}
- (void)viewDidLoad
{
[super viewDidLoad];
[self loadListUIWithData:nil];
}
- (void)loadListUIWithData:(NSArray *)data
{
@weakify(self);
self.tableViewAngel.clear();
self.tableViewAngel.addSection(TLNewFriendVCSectionTypeFuncation);
TLNewFriendFuncationModel *model = createNewFriendFuncationModel(@"newFriend_contacts", LOCSTR(@""));
self.tableViewAngel.addCell([TLNewFriendFuncationCell class]).toSection(TLNewFriendVCSectionTypeFuncation).withDataModel(model).selectedAction(^(id data){
TLMobileContactsViewController *contactsVC = [[TLMobileContactsViewController alloc] init];
PushVC(contactsVC);
});
[self.tableView reloadData];
}
#pragma mark - # Private Methods
- (void)p_loadUI
{
[self setTitle:LOCSTR(@"")];
[self.view setBackgroundColor:[UIColor whiteColor]];
@weakify(self);
[self addRightBarButtonWithTitle:LOCSTR(@"") actionBlick:^{
@strongify(self);
TLAddContactsViewController *addFriendVC = [[TLAddContactsViewController alloc] init];
PushVC(addFriendVC);
}];
self.tableView = self.view.addTableView(1)
.backgroundColor([UIColor whiteColor]).separatorStyle(UITableViewCellSeparatorStyleNone)
.tableHeaderView(self.searchController.searchBar).tableFooterView([UIView new])
.masonry(^ (__kindof UIView *senderView, MASConstraintMaker *make) {
make.edges.mas_equalTo(0);
})
.view;
self.tableViewAngel = [[ZZFLEXAngel alloc] initWithHostView:self.tableView];
}
#pragma mark - # Getters
- (TLSearchController *)searchController
{
if (_searchController == nil) {
TLFriendFindViewController *searchResultVC = [[TLFriendFindViewController alloc] init];
_searchController = [[TLSearchController alloc] initWithSearchResultsController:searchResultVC];
[_searchController.searchBar setPlaceholder:LOCSTR(@"/")];
}
return _searchController;
}
@end
```
|
The Hanged Man () is a 2009 Spanish-Irish thriller and romantic drama film directed by Manuel Gómez Pereira which stars Clara Lago and Álvaro Cervantes.
Plot
Set in 1989 Girona, the fiction tracks the romance between two childhood friends (Sandra and Álvaro), as the teenage years deepen the pre-existing relationship into something closer.
Cast
Production
An adaptation of 's El juego del ahorcado, the screenplay was penned by Manuel Gómez Pereira and . A Spanish-Irish co-production, the film was produced by Amigo PC, Lenon Producciones, Ovideo TV, and Subotica Entertainment, and it had the participation of TVE and TVC. Shooting locations included Girona, Barcelona, and Ireland.
Release
Distributed by Sony Pictures Releasing, the film was theatrically released in Spain on 30 January 2009.
Reception
Mirito Torreiro of Fotogramas rated the film 3 out of 5 stars, praising the director's change of register, also writing that the film "draws a more than convincing portrait of young people devoured by sexual awakening and the desire for possession".
Jonathan Holland of Variety deemed the "flawed but intriguing" film to be "a quietly intense thriller that sees the helmer abandoning his comedies" "for something meatier".
David Bernal of Cinemanía rated the film 2 out of 5 stars, deeming it to be a "flawed drama", also pointing out that, deep down, the authorship should be attributed to Salvador García Ruiz rather than to Gómez Pereira, as "everything in this provincial teenage romance narrated in fits and starts connects with [García Ruiz's] oppressive and intimate universe".
Accolades
|-
| rowspan = "2" align = "center" | 2009 || rowspan = "2" | 23rd Goya Awards || Best New Actor || Álvaro Cervantes || || rowspan = "2" |
|-
| Best Original Score || Bingen Mendizábal ||
|}
See also
List of Spanish films of 2009
References
Films shot in Barcelona
Films shot in the province of Girona
Films shot in Ireland
Spanish thriller films
Irish thriller films
Spanish romantic drama films
Irish romantic drama films
2009 romantic drama films
2009 thriller films
Films based on Spanish novels
Films set in Catalonia
Films set in 1989
Films directed by Manuel Gómez Pereira
2000s Spanish-language films
2000s Spanish films
Spanish-language romantic drama films
|
```javascript
!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i((t="undefined"!=typeof globalThis?globalThis:t||self).leaflet={})}(this,(function(t){"use strict";function i(t){for(var i,e,n=1,o=arguments.length;n<o;n++)for(i in e=arguments[n])t[i]=e[i];return t}var e=Object.create||function(t){return n.prototype=t,new n};function n(){}function o(t,i){var e=Array.prototype.slice;if(t.bind)return t.bind.apply(t,e.call(arguments,1));var n=e.call(arguments,2);return function(){return t.apply(i,n.length?n.concat(e.call(arguments)):arguments)}}var s=0;function r(t){return"_leaflet_id"in t||(t._leaflet_id=++s),t._leaflet_id}function a(t,i,e){var n,o,s=function(){n=!1,o&&(r.apply(e,o),o=!1)},r=function(){n?o=arguments:(t.apply(e,arguments),setTimeout(s,i),n=!0)};return r}function h(t,i,e){var n=i[1],o=n-(i=i[0]);return t===n&&e?t:((t-i)%o+o)%o+i}function l(){return!1}function u(t,i){return!1===i?t:(i=Math.pow(10,void 0===i?6:i),Math.round(t*i)/i)}function c(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function d(t){return c(t).split(/\s+/)}function _(t,i){for(var n in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?e(t.options):{}),i)t.options[n]=i[n];return t.options}function p(t,i,e){var n,o=[];for(n in t)o.push(encodeURIComponent(e?n.toUpperCase():n)+"="+encodeURIComponent(t[n]));return(i&&-1!==i.indexOf("?")?"&":"?")+o.join("&")}var m=/\{ *([\w_ -]+) *\}/g;function f(t,i){return t.replace(m,(function(t,e){if(void 0===(e=i[e]))throw new Error("No value provided for variable "+t);return"function"==typeof e?e(i):e}))}var g=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function v(t,i){for(var e=0;e<t.length;e++)if(t[e]===i)return e;return-1}var y="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function x(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var w=0;function P(t){var i=+new Date,e=Math.max(0,16-(i-w));return w=i+e,window.setTimeout(t,e)}var b=window.requestAnimationFrame||x("RequestAnimationFrame")||P,T=window.cancelAnimationFrame||x("CancelAnimationFrame")||x("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function z(t,i,e){if(!e||b!==P)return b.call(window,o(t,i));t.call(i)}function M(t){t&&T.call(window,t)}var C={__proto__:null,extend:i,create:e,bind:o,get lastId(){return s},stamp:r,throttle:a,wrapNum:h,falseFn:l,formatNum:u,trim:c,splitWords:d,setOptions:_,getParamString:p,template:f,isArray:g,indexOf:v,emptyImageUrl:y,requestFn:b,cancelFn:T,requestAnimFrame:z,cancelAnimFrame:M};function Z(){}Z.extend=function(t){function n(){_(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}var o,s=n.__super__=this.prototype,r=e(s);for(o in(r.constructor=n).prototype=r,this)Object.prototype.hasOwnProperty.call(this,o)&&"prototype"!==o&&"__super__"!==o&&(n[o]=this[o]);if(t.statics&&i(n,t.statics),t.includes){var a=t.includes;if("undefined"!=typeof L&&L&&L.Mixin){a=g(a)?a:[a];for(var h=0;h<a.length;h++)a[h]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}i.apply(null,[r].concat(t.includes))}return i(r,t),delete r.statics,delete r.includes,r.options&&(r.options=s.options?e(s.options):{},i(r.options,t.options)),r._initHooks=[],r.callInitHooks=function(){if(!this._initHooksCalled){s.callInitHooks&&s.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,i=r._initHooks.length;t<i;t++)r._initHooks[t].call(this)}},n},Z.include=function(t){var e=this.prototype.options;return i(this.prototype,t),t.options&&(this.prototype.options=e,this.mergeOptions(t.options)),this},Z.mergeOptions=function(t){return i(this.prototype.options,t),this},Z.addInitHook=function(t){var i=Array.prototype.slice.call(arguments,1),e="function"==typeof t?t:function(){this[t].apply(this,i)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(e),this};var S={on:function(t,i,e){if("object"==typeof t)for(var n in t)this._on(n,t[n],i);else for(var o=0,s=(t=d(t)).length;o<s;o++)this._on(t[o],i,e);return this},off:function(t,i,e){if(arguments.length)if("object"==typeof t)for(var n in t)this._off(n,t[n],i);else{t=d(t);for(var o=1===arguments.length,s=0,r=t.length;s<r;s++)o?this._off(t[s]):this._off(t[s],i,e)}else delete this._events;return this},_on:function(t,i,e){if("function"!=typeof i)console.warn("wrong listener type: "+typeof i);else{this._events=this._events||{};for(var n=this._events[t],o=(t=(n||(this._events[t]=n=[]),{fn:i,ctx:e=e===this?void 0:e}),n),s=0,r=o.length;s<r;s++)if(o[s].fn===i&&o[s].ctx===e)return;o.push(t)}},_off:function(t,i,e){var n,o,s;if(this._events&&(n=this._events[t]))if(1===arguments.length){if(this._firingCount)for(o=0,s=n.length;o<s;o++)n[o].fn=l;delete this._events[t]}else if(e===this&&(e=void 0),"function"!=typeof i)console.warn("wrong listener type: "+typeof i);else{for(o=0,s=n.length;o<s;o++){var r=n[o];if(r.ctx===e&&r.fn===i)return this._firingCount&&(r.fn=l,this._events[t]=n=n.slice()),void n.splice(o,1)}console.warn("listener not found")}},fire:function(t,e,n){if(!this.listens(t,n))return this;var o=i({},e,{type:t,target:this,sourceTarget:e&&e.sourceTarget||this});if(this._events){var s=this._events[t];if(s){this._firingCount=this._firingCount+1||1;for(var r=0,a=s.length;r<a;r++){var h=s[r];h.fn.call(h.ctx||this,o)}this._firingCount--}}return n&&this._propagateEvent(o),this},listens:function(t,i){"string"!=typeof t&&console.warn('"string" type argument expected');var e=this._events&&this._events[t];if(e&&e.length)return!0;if(i)for(var n in this._eventParents)if(this._eventParents[n].listens(t,i))return!0;return!1},once:function(t,i,e){if("object"==typeof t){for(var n in t)this.once(n,t[n],i);return this}var s=o((function(){this.off(t,i,e).off(t,s,e)}),this);return this.on(t,i,e).on(t,s,e)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[r(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[r(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,i({layer:t.target,propagatedFrom:t.target},t),!0)}},k=(S.addEventListener=S.on,S.removeEventListener=S.clearAllEventListeners=S.off,S.addOneTimeEventListener=S.once,S.fireEvent=S.fire,S.hasEventListeners=S.listens,Z.extend(S));function E(t,i,e){this.x=e?Math.round(t):t,this.y=e?Math.round(i):i}var B=Math.trunc||function(t){return 0<t?Math.floor(t):Math.ceil(t)};function A(t,i,e){return t instanceof E?t:g(t)?new E(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new E(t.x,t.y):new E(t,i,e)}function I(t,i){if(t)for(var e=i?[t,i]:t,n=0,o=e.length;n<o;n++)this.extend(e[n])}function O(t,i){return!t||t instanceof I?t:new I(t,i)}function R(t,i){if(t)for(var e=i?[t,i]:t,n=0,o=e.length;n<o;n++)this.extend(e[n])}function N(t,i){return t instanceof R?t:new R(t,i)}function D(t,i,e){if(isNaN(t)||isNaN(i))throw new Error("Invalid LatLng object: ("+t+", "+i+")");this.lat=+t,this.lng=+i,void 0!==e&&(this.alt=+e)}function j(t,i,e){return t instanceof D?t:g(t)&&"object"!=typeof t[0]?3===t.length?new D(t[0],t[1],t[2]):2===t.length?new D(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new D(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===i?null:new D(t,i,e)}E.prototype={clone:function(){return new E(this.x,this.y)},add:function(t){return this.clone()._add(A(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(A(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new E(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new E(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=B(this.x),this.y=B(this.y),this},distanceTo:function(t){var i=(t=A(t)).x-this.x;t=t.y-this.y;return Math.sqrt(i*i+t*t)},equals:function(t){return(t=A(t)).x===this.x&&t.y===this.y},contains:function(t){return t=A(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+u(this.x)+", "+u(this.y)+")"}},I.prototype={extend:function(t){return t=A(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new E((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new E(this.min.x,this.max.y)},getTopRight:function(){return new E(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var i,e;return(t=("number"==typeof t[0]||t instanceof E?A:O)(t))instanceof I?(i=t.min,e=t.max):i=e=t,i.x>=this.min.x&&e.x<=this.max.x&&i.y>=this.min.y&&e.y<=this.max.y},intersects:function(t){t=O(t);var i=this.min,e=this.max,n=t.min,o=(t=t.max).x>=i.x&&n.x<=e.x;t=t.y>=i.y&&n.y<=e.y;return o&&t},overlaps:function(t){t=O(t);var i=this.min,e=this.max,n=t.min,o=(t=t.max).x>i.x&&n.x<e.x;t=t.y>i.y&&n.y<e.y;return o&&t},isValid:function(){return!(!this.min||!this.max)}},R.prototype={extend:function(t){var i,e,n=this._southWest,o=this._northEast;if(t instanceof D)e=i=t;else{if(!(t instanceof R))return t?this.extend(j(t)||N(t)):this;if(i=t._southWest,e=t._northEast,!i||!e)return this}return n||o?(n.lat=Math.min(i.lat,n.lat),n.lng=Math.min(i.lng,n.lng),o.lat=Math.max(e.lat,o.lat),o.lng=Math.max(e.lng,o.lng)):(this._southWest=new D(i.lat,i.lng),this._northEast=new D(e.lat,e.lng)),this},pad:function(t){var i=this._southWest,e=this._northEast,n=Math.abs(i.lat-e.lat)*t;t=Math.abs(i.lng-e.lng)*t;return new R(new D(i.lat-n,i.lng-t),new D(e.lat+n,e.lng+t))},getCenter:function(){return new D((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new D(this.getNorth(),this.getWest())},getSouthEast:function(){return new D(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t=("number"==typeof t[0]||t instanceof D||"lat"in t?j:N)(t);var i,e,n=this._southWest,o=this._northEast;return t instanceof R?(i=t.getSouthWest(),e=t.getNorthEast()):i=e=t,i.lat>=n.lat&&e.lat<=o.lat&&i.lng>=n.lng&&e.lng<=o.lng},intersects:function(t){t=N(t);var i=this._southWest,e=this._northEast,n=t.getSouthWest(),o=(t=t.getNorthEast()).lat>=i.lat&&n.lat<=e.lat;t=t.lng>=i.lng&&n.lng<=e.lng;return o&&t},overlaps:function(t){t=N(t);var i=this._southWest,e=this._northEast,n=t.getSouthWest(),o=(t=t.getNorthEast()).lat>i.lat&&n.lat<e.lat;t=t.lng>i.lng&&n.lng<e.lng;return o&&t},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,i){return!!t&&(t=N(t),this._southWest.equals(t.getSouthWest(),i)&&this._northEast.equals(t.getNorthEast(),i))},isValid:function(){return!(!this._southWest||!this._northEast)}};var H={latLngToPoint:function(t,i){return t=this.projection.project(t),i=this.scale(i),this.transformation._transform(t,i)},pointToLatLng:function(t,i){return i=this.scale(i),t=this.transformation.untransform(t,i),this.projection.unproject(t)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var i=this.projection.bounds;t=this.scale(t);return new I(this.transformation.transform(i.min,t),this.transformation.transform(i.max,t))},infinite:!(D.prototype={equals:function(t,i){return!!t&&(t=j(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===i?1e-9:i))},toString:function(t){return"LatLng("+u(this.lat,t)+", "+u(this.lng,t)+")"},distanceTo:function(t){return W.distance(this,j(t))},wrap:function(){return W.wrapLatLng(this)},toBounds:function(t){var i=(t=180*t/40075017)/Math.cos(Math.PI/180*this.lat);return N([this.lat-t,this.lng-i],[this.lat+t,this.lng+i])},clone:function(){return new D(this.lat,this.lng,this.alt)}}),wrapLatLng:function(t){var i=this.wrapLng?h(t.lng,this.wrapLng,!0):t.lng;return new D(this.wrapLat?h(t.lat,this.wrapLat,!0):t.lat,i,t.alt)},wrapLatLngBounds:function(t){var i=t.getCenter(),e=this.wrapLatLng(i),n=i.lat-e.lat;i=i.lng-e.lng;return 0==n&&0==i?t:(e=t.getSouthWest(),t=t.getNorthEast(),new R(new D(e.lat-n,e.lng-i),new D(t.lat-n,t.lng-i)))}},W=i({},H,{wrapLng:[-180,180],R:6371e3,distance:function(t,i){var e=Math.PI/180,n=t.lat*e,o=i.lat*e,s=Math.sin((i.lat-t.lat)*e/2);i=Math.sin((i.lng-t.lng)*e/2),t=s*s+Math.cos(n)*Math.cos(o)*i*i,e=2*Math.atan2(Math.sqrt(t),Math.sqrt(1-t));return this.R*e}}),F={R:F=6378137,MAX_LATITUDE:85.0511287798,project:function(t){var i=Math.PI/180,e=this.MAX_LATITUDE;e=Math.max(Math.min(e,t.lat),-e),e=Math.sin(e*i);return new E(this.R*t.lng*i,this.R*Math.log((1+e)/(1-e))/2)},unproject:function(t){var i=180/Math.PI;return new D((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*i,t.x*i/this.R)},bounds:new I([-(F*=Math.PI),-F],[F,F])};function U(t,i,e,n){if(g(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=i,this._c=e,this._d=n}function V(t,i,e,n){return new U(t,i,e,n)}U.prototype={transform:function(t,i){return this._transform(t.clone(),i)},_transform:function(t,i){return t.x=(i=i||1)*(this._a*t.x+this._b),t.y=i*(this._c*t.y+this._d),t},untransform:function(t,i){return new E((t.x/(i=i||1)-this._b)/this._a,(t.y/i-this._d)/this._c)}};var q=i({},W,{code:"EPSG:3857",projection:F,transformation:V(q=.5/(Math.PI*F.R),.5,-q,.5)}),G=i({},q,{code:"EPSG:900913"});function K(t){return document.createElementNS("path_to_url",t)}function Y(t,i){for(var e,n,o,s,r="",a=0,h=t.length;a<h;a++){for(e=0,n=(o=t[a]).length;e<n;e++)r+=(e?"L":"M")+(s=o[e]).x+" "+s.y;r+=i?Ct.svg?"z":"x":""}return r||"M0 0"}var X=document.documentElement.style,J="ActiveXObject"in window,$=J&&!document.addEventListener,Q="msLaunchUri"in navigator&&!("documentMode"in document),tt=Mt("webkit"),it=Mt("android"),et=Mt("android 2")||Mt("android 3"),nt=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),ot=(nt=it&&Mt("Google")&&nt<537&&!("AudioNode"in window),!!window.opera),st=!Q&&Mt("chrome"),rt=Mt("gecko")&&!tt&&!ot&&!J,at=!st&&Mt("safari"),ht=Mt("phantom"),lt="OTransition"in X,ut=0===navigator.platform.indexOf("Win"),ct=J&&"transition"in X,dt="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!et,_t=(X="MozPerspective"in X,!window.L_DISABLE_3D&&(ct||dt||X)&&!lt&&!ht),pt=(We="undefined"!=typeof orientation||Mt("mobile"))&&tt,mt=We&&dt,ft=!window.PointerEvent&&window.MSPointerEvent,gt=!(!window.PointerEvent&&!ft),vt="ontouchstart"in window||!!window.TouchEvent,yt=!window.L_NO_TOUCH&&(vt||gt),xt=We&&ot,wt=We&&rt,Pt=1<(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI),bt=function(){var t=!1;try{var i=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",l,i),window.removeEventListener("testPassiveEventSupport",l,i)}catch(t){}return t}(),Lt=!!document.createElement("canvas").getContext,Tt=!(!document.createElementNS||!K("svg").createSVGRect),zt=!!Tt&&((zt=document.createElement("div")).innerHTML="<svg/>","path_to_url"===(zt.firstChild&&zt.firstChild.namespaceURI));function Mt(t){return 0<=navigator.userAgent.toLowerCase().indexOf(t)}var Ct={ie:J,ielt9:$,edge:Q,webkit:tt,android:it,android23:et,androidStock:nt,opera:ot,chrome:st,gecko:rt,safari:at,phantom:ht,opera12:lt,win:ut,ie3d:ct,webkit3d:dt,gecko3d:X,any3d:_t,mobile:We,mobileWebkit:pt,mobileWebkit3d:mt,msPointer:ft,pointer:gt,touch:yt,touchNative:vt,mobileOpera:xt,mobileGecko:wt,retina:Pt,passiveEvents:bt,canvas:Lt,svg:Tt,vml:!Tt&&function(){try{var t=document.createElement("div"),i=(t.innerHTML='<v:shape adj="1"/>',t.firstChild);return i.style.behavior="url(#default#VML)",i&&"object"==typeof i.adj}catch(t){return!1}}(),inlineSvg:zt},Zt=Ct.msPointer?"MSPointerDown":"pointerdown",St=Ct.msPointer?"MSPointerMove":"pointermove",kt=Ct.msPointer?"MSPointerUp":"pointerup",Et=Ct.msPointer?"MSPointerCancel":"pointercancel",Bt={touchstart:Zt,touchmove:St,touchend:kt,touchcancel:Et},At={touchstart:function(t,i){i.MSPOINTER_TYPE_TOUCH&&i.pointerType===i.MSPOINTER_TYPE_TOUCH&&Zi(i),jt(t,i)},touchmove:jt,touchend:jt,touchcancel:jt},It={},Ot=!1;function Rt(t){It[t.pointerId]=t}function Nt(t){It[t.pointerId]&&(It[t.pointerId]=t)}function Dt(t){delete It[t.pointerId]}function jt(t,i){if(i.pointerType!==(i.MSPOINTER_TYPE_MOUSE||"mouse")){for(var e in i.touches=[],It)i.touches.push(It[e]);i.changedTouches=[i],t(i)}}var Ht,Wt,Ft,Ut,Vt,qt,Gt=li(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Kt=li(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Yt="webkitTransition"===Kt||"OTransition"===Kt?Kt+"End":"transitionend";function Xt(t){return"string"==typeof t?document.getElementById(t):t}function Jt(t,i){var e=t.style[i]||t.currentStyle&&t.currentStyle[i];return"auto"===(e=e&&"auto"!==e||!document.defaultView?e:(t=document.defaultView.getComputedStyle(t,null))?t[i]:null)?null:e}function $t(t,i,e){return(t=document.createElement(t)).className=i||"",e&&e.appendChild(t),t}function Qt(t){var i=t.parentNode;i&&i.removeChild(t)}function ti(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function ii(t){var i=t.parentNode;i&&i.lastChild!==t&&i.appendChild(t)}function ei(t){var i=t.parentNode;i&&i.firstChild!==t&&i.insertBefore(t,i.firstChild)}function ni(t,i){return void 0!==t.classList?t.classList.contains(i):0<(t=ai(t)).length&&new RegExp("(^|\\s)"+i+"(\\s|$)").test(t)}function oi(t,i){var e;if(void 0!==t.classList)for(var n=d(i),o=0,s=n.length;o<s;o++)t.classList.add(n[o]);else ni(t,i)||ri(t,((e=ai(t))?e+" ":"")+i)}function si(t,i){void 0!==t.classList?t.classList.remove(i):ri(t,c((" "+ai(t)+" ").replace(" "+i+" "," ")))}function ri(t,i){void 0===t.className.baseVal?t.className=i:t.className.baseVal=i}function ai(t){return void 0===(t=t.correspondingElement?t.correspondingElement:t).className.baseVal?t.className:t.className.baseVal}function hi(t,i){if("opacity"in t.style)t.style.opacity=i;else if("filter"in t.style){var e=!1,n="DXImageTransform.Microsoft.Alpha";try{e=t.filters.item(n)}catch(t){if(1===i)return}i=Math.round(100*i),e?(e.Enabled=100!==i,e.Opacity=i):t.style.filter+=" progid:"+n+"(opacity="+i+")"}}function li(t){for(var i=document.documentElement.style,e=0;e<t.length;e++)if(t[e]in i)return t[e];return!1}function ui(t,i,e){i=i||new E(0,0),t.style[Gt]=(Ct.ie3d?"translate("+i.x+"px,"+i.y+"px)":"translate3d("+i.x+"px,"+i.y+"px,0)")+(e?" scale("+e+")":"")}function ci(t,i){t._leaflet_pos=i,Ct.any3d?ui(t,i):(t.style.left=i.x+"px",t.style.top=i.y+"px")}function di(t){return t._leaflet_pos||new E(0,0)}function _i(){yi(window,"dragstart",Zi)}function pi(){wi(window,"dragstart",Zi)}function mi(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(fi(),qt=(Vt=t).style.outline,t.style.outline="none",yi(window,"keydown",fi))}function fi(){Vt&&(Vt.style.outline=qt,qt=Vt=void 0,wi(window,"keydown",fi))}function gi(t){for(;!((t=t.parentNode).offsetWidth&&t.offsetHeight||t===document.body););return t}function vi(t){var i=t.getBoundingClientRect();return{x:i.width/t.offsetWidth||1,y:i.height/t.offsetHeight||1,boundingClientRect:i}}function yi(t,i,e,n){if(i&&"object"==typeof i)for(var o in i)Li(t,o,i[o],e);else for(var s=0,r=(i=d(i)).length;s<r;s++)Li(t,i[s],e,n);return this}Ut="onselectstart"in document?(Ft=function(){yi(window,"selectstart",Zi)},function(){wi(window,"selectstart",Zi)}):(Wt=li(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]),Ft=function(){var t;Wt&&(t=document.documentElement.style,Ht=t[Wt],t[Wt]="none")},function(){Wt&&(document.documentElement.style[Wt]=Ht,Ht=void 0)}),J={__proto__:null,TRANSFORM:Gt,TRANSITION:Kt,TRANSITION_END:Yt,get:Xt,getStyle:Jt,create:$t,remove:Qt,empty:ti,toFront:ii,toBack:ei,hasClass:ni,addClass:oi,removeClass:si,setClass:ri,getClass:ai,setOpacity:hi,testProp:li,setTransform:ui,setPosition:ci,getPosition:di,get disableTextSelection(){return Ft},get enableTextSelection(){return Ut},disableImageDrag:_i,enableImageDrag:pi,preventOutline:mi,restoreOutline:fi,getSizedParentNode:gi,getScale:vi};var xi="_leaflet_events";function wi(t,i,e,n){if(1===arguments.length)Pi(t),delete t[xi];else if(i&&"object"==typeof i)for(var o in i)Ti(t,o,i[o],e);else if(i=d(i),2===arguments.length)Pi(t,(function(t){return-1!==v(i,t)}));else for(var s=0,r=i.length;s<r;s++)Ti(t,i[s],e,n);return this}function Pi(t,i){for(var e in t[xi]){var n=e.split(/\d/)[0];i&&!i(n)||Ti(t,n,null,null,e)}}var bi={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Li(t,i,e,n){var o,s,a=i+r(e)+(n?"_"+r(n):"");t[xi]&&t[xi][a]||(s=o=function(i){return e.call(n||t,i||window.event)},!Ct.touchNative&&Ct.pointer&&0===i.indexOf("touch")?o=function(t,i,e){return"touchstart"!==i||Ot||(document.addEventListener(Zt,Rt,!0),document.addEventListener(St,Nt,!0),document.addEventListener(kt,Dt,!0),document.addEventListener(Et,Dt,!0),Ot=!0),At[i]?(e=At[i].bind(this,e),t.addEventListener(Bt[i],e,!1),e):(console.warn("wrong event specified:",i),L.Util.falseFn)}(t,i,o):Ct.touch&&"dblclick"===i?o=function(t,i){t.addEventListener("dblclick",i);var e,n=0;function o(t){var o;1!==t.detail?e=t.detail:"mouse"===t.pointerType||t.sourceCapabilities&&!t.sourceCapabilities.firesTouchEvents||((o=Date.now())-n<=200?2==++e&&i(function(t){var i,e,n={};for(e in t)i=t[e],n[e]=i&&i.bind?i.bind(t):i;return(t=n).type="dblclick",n.detail=2,n.isTrusted=!1,n._simulated=!0,n}(t)):e=1,n=o)}return t.addEventListener("click",o),{dblclick:i,simDblclick:o}}(t,o):"addEventListener"in t?"touchstart"===i||"touchmove"===i||"wheel"===i||"mousewheel"===i?t.addEventListener(bi[i]||i,o,!!Ct.passiveEvents&&{passive:!1}):"mouseenter"===i||"mouseleave"===i?t.addEventListener(bi[i],o=function(i){i=i||window.event,Ai(t,i)&&s(i)},!1):t.addEventListener(i,s,!1):t.attachEvent("on"+i,o),t[xi]=t[xi]||{},t[xi][a]=o)}function Ti(t,i,e,n,o){var s,a;o=o||i+r(e)+(n?"_"+r(n):""),(e=t[xi]&&t[xi][o])&&(!Ct.touchNative&&Ct.pointer&&0===i.indexOf("touch")?(n=t,a=e,Bt[s=i]?n.removeEventListener(Bt[s],a,!1):console.warn("wrong event specified:",s)):Ct.touch&&"dblclick"===i?(n=e,(a=t).removeEventListener("dblclick",n.dblclick),a.removeEventListener("click",n.simDblclick)):"removeEventListener"in t?t.removeEventListener(bi[i]||i,e,!1):t.detachEvent("on"+i,e),t[xi][o]=null)}function zi(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function Mi(t){return Li(t,"wheel",zi),this}function Ci(t){return yi(t,"mousedown touchstart dblclick contextmenu",zi),t._leaflet_disable_click=!0,this}function Zi(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Si(t){return Zi(t),zi(t),this}function ki(t,i){if(!i)return new E(t.clientX,t.clientY);var e=vi(i),n=e.boundingClientRect;return new E((t.clientX-n.left)/e.x-i.clientLeft,(t.clientY-n.top)/e.y-i.clientTop)}var Ei=Ct.win&&Ct.chrome?2*window.devicePixelRatio:Ct.gecko?window.devicePixelRatio:1;function Bi(t){return Ct.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Ei:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}function Ai(t,i){var e=i.relatedTarget;if(!e)return!0;try{for(;e&&e!==t;)e=e.parentNode}catch(t){return!1}return e!==t}$={__proto__:null,on:yi,off:wi,stopPropagation:zi,disableScrollPropagation:Mi,disableClickPropagation:Ci,preventDefault:Zi,stop:Si,getMousePosition:ki,getWheelDelta:Bi,isExternalTarget:Ai,addListener:yi,removeListener:wi};var Ii=k.extend({run:function(t,i,e,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=e||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=di(t),this._offset=i.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=z(this._animate,this),this._step()},_step:function(t){var i=+new Date-this._startTime,e=1e3*this._duration;i<e?this._runFrame(this._easeOut(i/e),t):(this._runFrame(1),this._complete())},_runFrame:function(t,i){t=this._startPos.add(this._offset.multiplyBy(t)),i&&t._round(),ci(this._el,t),this.fire("step")},_complete:function(){M(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),Oi=k.extend({options:{crs:q,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,i){i=_(this,i),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=o(this._onResize,this),this._initEvents(),i.maxBounds&&this.setMaxBounds(i.maxBounds),void 0!==i.zoom&&(this._zoom=this._limitZoom(i.zoom)),i.center&&void 0!==i.zoom&&this.setView(j(i.center),i.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=Kt&&Ct.any3d&&!Ct.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),yi(this._proxy,Yt,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,e,n){return e=void 0===e?this._zoom:this._limitZoom(e),t=this._limitCenter(j(t),e,this.options.maxBounds),n=n||{},this._stop(),this._loaded&&!n.reset&&!0!==n&&(void 0!==n.animate&&(n.zoom=i({animate:n.animate},n.zoom),n.pan=i({animate:n.animate,duration:n.duration},n.pan)),this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,n.zoom):this._tryAnimatedPan(t,n.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(t,e),this)},setZoom:function(t,i){return this._loaded?this.setView(this.getCenter(),t,{zoom:i}):(this._zoom=t,this)},zoomIn:function(t,i){return t=t||(Ct.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,i)},zoomOut:function(t,i){return t=t||(Ct.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-t,i)},setZoomAround:function(t,i,e){var n=this.getZoomScale(i),o=this.getSize().divideBy(2);t=(t instanceof E?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/n),n=this.containerPointToLatLng(o.add(t));return this.setView(n,i,{zoom:e})},_getBoundsCenterZoom:function(t,i){i=i||{},t=t.getBounds?t.getBounds():N(t);var e=A(i.paddingTopLeft||i.padding||[0,0]),n=A(i.paddingBottomRight||i.padding||[0,0]),o=this.getBoundsZoom(t,!1,e.add(n));return(o="number"==typeof i.maxZoom?Math.min(i.maxZoom,o):o)===1/0?{center:t.getCenter(),zoom:o}:(i=n.subtract(e).divideBy(2),n=this.project(t.getSouthWest(),o),e=this.project(t.getNorthEast(),o),{center:this.unproject(n.add(e).divideBy(2).add(i),o),zoom:o})},fitBounds:function(t,i){if(!(t=N(t)).isValid())throw new Error("Bounds are not valid.");return t=this._getBoundsCenterZoom(t,i),this.setView(t.center,t.zoom,i)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,i){return this.setView(t,this._zoom,{pan:i})},panBy:function(t,i){return i=i||{},(t=A(t).round()).x||t.y?(!0===i.animate||this.getSize().contains(t)?(this._panAnim||(this._panAnim=new Ii,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),i.noMoveStart||this.fire("movestart"),!1!==i.animate?(oi(this._mapPane,"leaflet-pan-anim"),e=this._getMapPanePos().subtract(t).round(),this._panAnim.run(this._mapPane,e,i.duration||.25,i.easeLinearity)):(this._rawPanBy(t),this.fire("move").fire("moveend"))):this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this):this.fire("moveend");var e},flyTo:function(t,i,e){if(!1===(e=e||{}).animate||!Ct.any3d)return this.setView(t,i,e);this._stop();var n=this.project(this.getCenter()),o=this.project(t),s=this.getSize(),r=this._zoom,a=(t=j(t),i=void 0===i?r:i,Math.max(s.x,s.y)),h=a*this.getZoomScale(r,i),l=o.distanceTo(n)||1,u=1.42,c=u*u;function d(t){return t=(h*h-a*a+(t?-1:1)*c*c*l*l)/(2*(t?h:a)*c*l),(t=Math.sqrt(t*t+1)-t)<1e-9?-18:Math.log(t)}function _(t){return(Math.exp(t)-Math.exp(-t))/2}function p(t){return(Math.exp(t)+Math.exp(-t))/2}var m=d(0);var f=Date.now(),g=(d(1)-m)/u,v=e.duration?1e3*e.duration:1e3*g*.8;return this._moveStart(!0,e.noMoveStart),function e(){var s=(Date.now()-f)/v,h=(1-Math.pow(1-s,1.5))*g;s<=1?(this._flyToFrame=z(e,this),this._move(this.unproject(n.add(o.subtract(n).multiplyBy(function(t){return a*(p(m)*(_(t=m+u*t)/p(t))-_(m))/c}(h)/l)),r),this.getScaleZoom(a/(s=h,a*(p(m)/p(m+u*s))),r),{flyTo:!0})):this._move(t,i)._moveEnd(!0)}.call(this),this},flyToBounds:function(t,i){return t=this._getBoundsCenterZoom(t,i),this.flyTo(t.center,t.zoom,i)},setMaxBounds:function(t){return(t=N(t)).isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(t){var i=this.options.minZoom;return this.options.minZoom=t,this._loaded&&i!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var i=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&i!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,i){this._enforcingBounds=!0;var e=this.getCenter();t=this._limitCenter(e,this._zoom,N(t));return e.equals(t)||this.panTo(t,i),this._enforcingBounds=!1,this},panInside:function(t,i){var e=A((i=i||{}).paddingTopLeft||i.padding||[0,0]),n=A(i.paddingBottomRight||i.padding||[0,0]),o=this.project(this.getCenter()),s=(t=this.project(t),(e=O([(s=this.getPixelBounds()).min.add(e),s.max.subtract(n)])).getSize());return e.contains(t)||(this._enforcingBounds=!0,n=t.subtract(e.getCenter()),e=e.extend(t).getSize().subtract(s),o.x+=n.x<0?-e.x:e.x,o.y+=n.y<0?-e.y:e.y,this.panTo(this.unproject(o),i),this._enforcingBounds=!1),this},invalidateSize:function(t){if(!this._loaded)return this;t=i({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize(),n=(this._sizeChanged=!0,this._lastCenter=null,this.getSize()),s=e.divideBy(2).round(),r=n.divideBy(2).round();return(s=s.subtract(r)).x||s.y?(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(o(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:n})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=i({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=o(this._handleGeolocationResponse,this),n=o(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,n,t):navigator.geolocation.getCurrentPosition(e,n,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var i;this._container._leaflet_id&&(i=t.code,t=t.message||(1===i?"permission denied":2===i?"position unavailable":"timeout"),this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:i,message:"Geolocation error: "+t+"."}))},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var i,e,n=new D(t.coords.latitude,t.coords.longitude),o=n.toBounds(2*t.coords.accuracy),s=this._locateOptions,r=(s.setView&&(i=this.getBoundsZoom(o),this.setView(n,s.maxZoom?Math.min(i,s.maxZoom):i)),{latlng:n,bounds:o,timestamp:t.timestamp});for(e in t.coords)"number"==typeof t.coords[e]&&(r[e]=t.coords[e]);this.fire("locationfound",r)}},addHandler:function(t,i){return i?(i=this[t]=new i(this),this._handlers.push(i),this.options[t]&&i.enable(),this):this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}for(var t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),Qt(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(M(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)Qt(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,i){return i=$t("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),i||this._mapPane),t&&(this._panes[t]=i),i},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new R(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,i,e){t=N(t),e=A(e||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),r=t.getNorthWest(),a=(t=t.getSouthEast(),e=this.getSize().subtract(e),t=O(this.project(t,n),this.project(r,n)).getSize(),r=Ct.any3d?this.options.zoomSnap:1,e.x/t.x);e=e.y/t.y,t=i?Math.max(a,e):Math.min(a,e),n=this.getScaleZoom(t,n);return r&&(n=Math.round(n/(r/100))*(r/100),n=i?Math.ceil(n/r)*r:Math.floor(n/r)*r),Math.max(o,Math.min(s,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new E(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,i){return new I(t=this._getTopLeftPoint(t,i),t.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,i){var e=this.options.crs;return i=void 0===i?this._zoom:i,e.scale(t)/e.scale(i)},getScaleZoom:function(t,i){var e=this.options.crs;i=void 0===i?this._zoom:i,t=e.zoom(t*e.scale(i));return isNaN(t)?1/0:t},project:function(t,i){return i=void 0===i?this._zoom:i,this.options.crs.latLngToPoint(j(t),i)},unproject:function(t,i){return i=void 0===i?this._zoom:i,this.options.crs.pointToLatLng(A(t),i)},layerPointToLatLng:function(t){return t=A(t).add(this.getPixelOrigin()),this.unproject(t)},latLngToLayerPoint:function(t){return this.project(j(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(j(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(N(t))},distance:function(t,i){return this.options.crs.distance(j(t),j(i))},containerPointToLayerPoint:function(t){return A(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return A(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){return t=this.containerPointToLayerPoint(A(t)),this.layerPointToLatLng(t)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(j(t)))},mouseEventToContainerPoint:function(t){return ki(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){if(!(t=this._container=Xt(t)))throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");yi(t,"scroll",this._onScroll,this),this._containerId=r(t)},_initLayout:function(){var t=this._container,i=(this._fadeAnimated=this.options.fadeAnimation&&Ct.any3d,oi(t,"leaflet-container"+(Ct.touch?" leaflet-touch":"")+(Ct.retina?" leaflet-retina":"")+(Ct.ielt9?" leaflet-oldie":"")+(Ct.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":"")),Jt(t,"position"));"absolute"!==i&&"relative"!==i&&"fixed"!==i&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),ci(this._mapPane,new E(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(oi(t.markerPane,"leaflet-zoom-hide"),oi(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,i){ci(this._mapPane,new E(0,0));var e=!this._loaded,n=(this._loaded=!0,i=this._limitZoom(i),this.fire("viewprereset"),this._zoom!==i);this._moveStart(n,!1)._move(t,i)._moveEnd(n),this.fire("viewreset"),e&&this.fire("load")},_moveStart:function(t,i){return t&&this.fire("zoomstart"),i||this.fire("movestart"),this},_move:function(t,i,e,n){void 0===i&&(i=this._zoom);var o=this._zoom!==i;return this._zoom=i,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),n?e&&e.pinch&&this.fire("zoom",e):((o||e&&e.pinch)&&this.fire("zoom",e),this.fire("move",e)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return M(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){ci(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={};var i=t?wi:yi;i((this._targets[r(this._container)]=this)._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&i(window,"resize",this._onResize,this),Ct.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){M(this._resizeRequest),this._resizeRequest=z((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,i){for(var e,n=[],o="mouseout"===i||"mouseover"===i,s=t.target||t.srcElement,a=!1;s;){if((e=this._targets[r(s)])&&("click"===i||"preclick"===i)&&this._draggableMoved(e)){a=!0;break}if(e&&e.listens(i,!0)){if(o&&!Ai(s,t))break;if(n.push(e),o)break}if(s===this._container)break;s=s.parentNode}return n.length||a||o||!this.listens(i,!0)?n:[this]},_isClickDisabled:function(t){for(;t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var i,e=t.target||t.srcElement;!this._loaded||e._leaflet_disable_events||"click"===t.type&&this._isClickDisabled(e)||("mousedown"===(i=t.type)&&mi(e),this._fireDOMEvent(t,i))},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,n){"click"===t.type&&((h=i({},t)).type="preclick",this._fireDOMEvent(h,h.type,n));var o=this._findEventTargets(t,e);if(n){for(var s=[],r=0;r<n.length;r++)n[r].listens(e,!0)&&s.push(n[r]);o=s.concat(o)}if(o.length){"contextmenu"===e&&Zi(t);var a,h=o[0],l={originalEvent:t};for("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type&&(a=h.getLatLng&&(!h._radius||h._radius<=10),l.containerPoint=a?this.latLngToContainerPoint(h.getLatLng()):this.mouseEventToContainerPoint(t),l.layerPoint=this.containerPointToLayerPoint(l.containerPoint),l.latlng=a?h.getLatLng():this.layerPointToLatLng(l.layerPoint)),r=0;r<o.length;r++)if(o[r].fire(e,l,!0),l.originalEvent._stopped||!1===o[r].options.bubblingMouseEvents&&-1!==v(this._mouseEvents,e))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,i=this._handlers.length;t<i;t++)this._handlers[t].disable()},whenReady:function(t,i){return this._loaded?t.call(i||this,{target:this}):this.on("load",t,i),this},_getMapPanePos:function(){return di(this._mapPane)||new E(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,i){return(t&&void 0!==i?this._getNewPixelOrigin(t,i):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,i){var e=this.getSize()._divideBy(2);return this.project(t,i)._subtract(e)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,i,e){return e=this._getNewPixelOrigin(e,i),this.project(t,i)._subtract(e)},_latLngBoundsToNewLayerBounds:function(t,i,e){return e=this._getNewPixelOrigin(e,i),O([this.project(t.getSouthWest(),i)._subtract(e),this.project(t.getNorthWest(),i)._subtract(e),this.project(t.getSouthEast(),i)._subtract(e),this.project(t.getNorthEast(),i)._subtract(e)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,i,e){if(!e)return t;var n=this.project(t,i),o=this.getSize().divideBy(2);o=new I(n.subtract(o),n.add(o));return(o=this._getBoundsOffset(o,e,i)).round().equals([0,0])?t:this.unproject(n.add(o),i)},_limitOffset:function(t,i){if(!i)return t;var e=new I((e=this.getPixelBounds()).min.add(t),e.max.add(t));return t.add(this._getBoundsOffset(e,i))},_getBoundsOffset:function(t,i,e){return e=(i=O(this.project(i.getNorthEast(),e),this.project(i.getSouthWest(),e))).min.subtract(t.min),i=i.max.subtract(t.max),new E(this._rebound(e.x,-i.x),this._rebound(e.y,-i.y))},_rebound:function(t,i){return 0<t+i?Math.round(t-i)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(i))},_limitZoom:function(t){var i=this.getMinZoom(),e=this.getMaxZoom(),n=Ct.any3d?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(i,Math.min(e,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){si(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,i){return t=this._getCenterOffset(t)._trunc(),!(!0!==(i&&i.animate)&&!this.getSize().contains(t)||(this.panBy(t,i),0))},_createAnimProxy:function(){var t=this._proxy=$t("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var i=Gt,e=this._proxy.style[i];ui(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),e===this._proxy.style[i]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Qt(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),i=this.getZoom();ui(this._proxy,this.project(t,i),this.getZoomScale(i,1))},_catchTransitionEnd:function(t){this._animatingZoom&&0<=t.propertyName.indexOf("transform")&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,i,e){if(this._animatingZoom)return!0;if(e=e||{},!this._zoomAnimated||!1===e.animate||this._nothingToAnimate()||Math.abs(i-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(i);n=this._getCenterOffset(t)._divideBy(1-1/n);return!(!0!==e.animate&&!this.getSize().contains(n)||(z((function(){this._moveStart(!0,!1)._animateZoom(t,i,!0)}),this),0))},_animateZoom:function(t,i,e,n){this._mapPane&&(e&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=i,oi(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:i,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(o(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&si(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function Ri(t){return new Di(t)}var Ni,Di=Z.extend({options:{position:"topright"},initialize:function(t){_(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var i=this._map;return i&&i.removeControl(this),this.options.position=t,i&&i.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var i=this._container=this.onAdd(t),e=this.getPosition();t=t._controlCorners[e];return oi(i,"leaflet-control"),-1!==e.indexOf("bottom")?t.insertBefore(i,t.firstChild):t.appendChild(i),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(Qt(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(t){this._map&&t&&0<t.screenX&&0<t.screenY&&this._map.getContainer().focus()}}),ji=(Oi.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},i="leaflet-",e=this._controlContainer=$t("div",i+"control-container",this._container);function n(n,o){t[n+o]=$t("div",i+n+" "+i+o,e)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)Qt(this._controlCorners[t]);Qt(this._controlContainer),delete this._controlCorners,delete this._controlContainer}}),Di.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,i,e,n){return e<n?-1:n<e?1:0}},initialize:function(t,i,e){for(var n in _(this,e),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,t)this._addLayer(t[n],n);for(n in i)this._addLayer(i[n],n,!0)},onAdd:function(t){this._initLayout(),this._update(),(this._map=t).on("zoomend",this._checkDisabledLayers,this);for(var i=0;i<this._layers.length;i++)this._layers[i].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return Di.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,i){return this._addLayer(t,i),this._map?this._update():this},addOverlay:function(t,i){return this._addLayer(t,i,!0),this._map?this._update():this},removeLayer:function(t){return t.off("add remove",this._onLayerChange,this),(t=this._getLayer(r(t)))&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){oi(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(oi(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):si(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return si(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",i=this._container=$t("div",t),e=this.options.collapsed,n=(i.setAttribute("aria-haspopup",!0),Ci(i),Mi(i),this._section=$t("section",t+"-list")),o=(e&&(this._map.on("click",this.collapse,this),yi(i,{mouseenter:function(){yi(n,"click",Zi),this.expand(),setTimeout((function(){wi(n,"click",Zi)}))},mouseleave:this.collapse},this)),this._layersLink=$t("a",t+"-toggle",i));o.href="#",o.title="Layers",o.setAttribute("role","button"),yi(o,"click",Zi),yi(o,"focus",this.expand,this),e||this.expand(),this._baseLayersList=$t("div",t+"-base",n),this._separator=$t("div",t+"-separator",n),this._overlaysList=$t("div",t+"-overlays",n),i.appendChild(n)},_getLayer:function(t){for(var i=0;i<this._layers.length;i++)if(this._layers[i]&&r(this._layers[i].layer)===t)return this._layers[i]},_addLayer:function(t,i,e){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:i,overlay:e}),this.options.sortLayers&&this._layers.sort(o((function(t,i){return this.options.sortFunction(t.layer,i.layer,t.name,i.name)}),this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;ti(this._baseLayersList),ti(this._overlaysList),this._layerControlInputs=[];for(var t,i,e,n=0,o=0;o<this._layers.length;o++)e=this._layers[o],this._addItem(e),i=i||e.overlay,t=t||!e.overlay,n+=e.overlay?0:1;return this.options.hideSingleBase&&(this._baseLayersList.style.display=(t=t&&1<n)?"":"none"),this._separator.style.display=i&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var i=this._getLayer(r(t.target));(t=i.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null)&&this._map.fire(t,i)},_createRadioElement:function(t,i){return t='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(i?' checked="checked"':"")+"/>",(i=document.createElement("div")).innerHTML=t,i.firstChild},_addItem:function(t){var i,e=document.createElement("label"),n=this._map.hasLayer(t.layer),o=((n=(t.overlay?((i=document.createElement("input")).type="checkbox",i.className="leaflet-control-layers-selector",i.defaultChecked=n):i=this._createRadioElement("leaflet-base-layers_"+r(this),n),this._layerControlInputs.push(i),i.layerId=r(t.layer),yi(i,"click",this._onInputClick,this),document.createElement("span"))).innerHTML=" "+t.name,document.createElement("span"));return e.appendChild(o),o.appendChild(i),o.appendChild(n),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(e),this._checkDisabledLayers(),e},_onInputClick:function(){var t,i,e=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var s=e.length-1;0<=s;s--)t=e[s],i=this._getLayer(t.layerId).layer,t.checked?n.push(i):t.checked||o.push(i);for(s=0;s<o.length;s++)this._map.hasLayer(o[s])&&this._map.removeLayer(o[s]);for(s=0;s<n.length;s++)this._map.hasLayer(n[s])||this._map.addLayer(n[s]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,i,e=this._layerControlInputs,n=this._map.getZoom(),o=e.length-1;0<=o;o--)t=e[o],i=this._getLayer(t.layerId).layer,t.disabled=void 0!==i.options.minZoom&&n<i.options.minZoom||void 0!==i.options.maxZoom&&n>i.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this}})),Hi=Di.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">−</span>',zoomOutTitle:"Zoom out"},onAdd:function(t){var i="leaflet-control-zoom",e=$t("div",i+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,i+"-in",e,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,i+"-out",e,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),e},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,i,e,n,o){return(e=$t("a",e,n)).innerHTML=t,e.href="#",e.title=i,e.setAttribute("role","button"),e.setAttribute("aria-label",i),Ci(e),yi(e,"click",Si),yi(e,"click",o,this),yi(e,"click",this._refocusOnMap,this),e},_updateDisabled:function(){var t=this._map,i="leaflet-disabled";si(this._zoomInButton,i),si(this._zoomOutButton,i),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),!this._disabled&&t._zoom!==t.getMinZoom()||(oi(this._zoomOutButton,i),this._zoomOutButton.setAttribute("aria-disabled","true")),!this._disabled&&t._zoom!==t.getMaxZoom()||(oi(this._zoomInButton,i),this._zoomInButton.setAttribute("aria-disabled","true"))}}),Wi=(Oi.mergeOptions({zoomControl:!0}),Oi.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new Hi,this.addControl(this.zoomControl))})),Di.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var i="leaflet-control-scale",e=$t("div",i),n=this.options;return this._addScales(n,i+"-line",e),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),e},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,i,e){t.metric&&(this._mScale=$t("div",i,e)),t.imperial&&(this._iScale=$t("div",i,e))},_update:function(){var t=(i=this._map).getSize().y/2,i=i.distance(i.containerPointToLatLng([0,t]),i.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(i)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var i=this._getRoundNum(t);this._updateScale(this._mScale,i<1e3?i+" m":i/1e3+" km",i/t)},_updateImperial:function(t){var i,e;5280<(t=3.2808399*t)?(e=this._getRoundNum(i=t/5280),this._updateScale(this._iScale,e+" mi",e/i)):(e=this._getRoundNum(t),this._updateScale(this._iScale,e+" ft",e/t))},_updateScale:function(t,i,e){t.style.width=Math.round(this.options.maxWidth*e)+"px",t.innerHTML=i},_getRoundNum:function(t){var i=Math.pow(10,(Math.floor(t)+"").length-1);return i*(10<=(t=t/i)?10:5<=t?5:3<=t?3:2<=t?2:1)}})),Fi=Di.extend({options:{position:"bottomright",prefix:'<a href="path_to_url" title="A JavaScript library for interactive maps">'+(Ct.inlineSvg?'<svg aria-hidden="true" xmlns="path_to_url" width="12" height="8"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg> ':"")+"Leaflet</a>"},initialize:function(t){_(this,t),this._attributions={}},onAdd:function(t){for(var i in(t.attributionControl=this)._container=$t("div","leaflet-control-attribution"),Ci(this._container),t._layers)t._layers[i].getAttribution&&this.addAttribution(t._layers[i].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",(function(){this.removeAttribution(t.layer.getAttribution())}),this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t&&(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update()),this},removeAttribution:function(t){return t&&this._attributions[t]&&(this._attributions[t]--,this._update()),this},_update:function(){if(this._map){var t,i=[];for(t in this._attributions)this._attributions[t]&&i.push(t);var e=[];this.options.prefix&&e.push(this.options.prefix),i.length&&e.push(i.join(", ")),this._container.innerHTML=e.join(' <span aria-hidden="true">|</span> ')}}}),Ui=(Q=(Oi.mergeOptions({attributionControl:!0}),Oi.addInitHook((function(){this.options.attributionControl&&(new Fi).addTo(this)})),Di.Layers=ji,Di.Zoom=Hi,Di.Scale=Wi,Di.Attribution=Fi,Ri.layers=function(t,i,e){return new ji(t,i,e)},Ri.zoom=function(t){return new Hi(t)},Ri.scale=function(t){return new Wi(t)},Ri.attribution=function(t){return new Fi(t)},Z.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}})),tt=(Q.addTo=function(t,i){return t.addHandler(i,this),this},{Events:S}),Ct.touch?"touchstart mousedown":"mousedown"),Vi=k.extend({options:{clickTolerance:3},initialize:function(t,i,e,n){_(this,n),this._element=t,this._dragStartTarget=i||t,this._preventOutline=e},enable:function(){this._enabled||(yi(this._dragStartTarget,Ui,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Vi._dragging===this&&this.finishDrag(!0),wi(this._dragStartTarget,Ui,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){var i,e;this._enabled&&(this._moved=!1,ni(this._element,"leaflet-zoom-anim")||(t.touches&&1!==t.touches.length?Vi._dragging===this&&this.finishDrag():Vi._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||((Vi._dragging=this)._preventOutline&&mi(this._element),_i(),Ft(),this._moving||(this.fire("down"),e=t.touches?t.touches[0]:t,i=gi(this._element),this._startPoint=new E(e.clientX,e.clientY),this._startPos=di(this._element),this._parentScale=vi(i),e="mousedown"===t.type,yi(document,e?"mousemove":"touchmove",this._onMove,this),yi(document,e?"mouseup":"touchend touchcancel",this._onUp,this)))))},_onMove:function(t){var i;this._enabled&&(t.touches&&1<t.touches.length?this._moved=!0:!(i=new E((i=t.touches&&1===t.touches.length?t.touches[0]:t).clientX,i.clientY)._subtract(this._startPoint)).x&&!i.y||Math.abs(i.x)+Math.abs(i.y)<this.options.clickTolerance||(i.x/=this._parentScale.x,i.y/=this._parentScale.y,Zi(t),this._moved||(this.fire("dragstart"),this._moved=!0,oi(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),oi(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(i),this._moving=!0,this._lastEvent=t,this._updatePosition()))},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),ci(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(t){si(document.body,"leaflet-dragging"),this._lastTarget&&(si(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),wi(document,"mousemove touchmove",this._onMove,this),wi(document,"mouseup touchend touchcancel",this._onUp,this),pi(),Ut(),this._moved&&this._moving&&this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)}),this._moving=!1,Vi._dragging=!1}});function qi(t,i){return i&&t.length?function(t,i){var e=t.length,n=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(e);n[0]=n[e-1]=1,function t(i,e,n,o,s){var r,a,h,l=0;for(a=o+1;a<=s-1;a++)l<(h=Ji(i[a],i[o],i[s],!0))&&(r=a,l=h);n<l&&(e[r]=1,t(i,e,n,o,r),t(i,e,n,r,s))}(t,n,i,0,e-1);var o,s=[];for(o=0;o<e;o++)n[o]&&s.push(t[o]);return s}(t=function(t,i){for(var e=[t[0]],n=1,o=0,s=t.length;n<s;n++)(function(t,i){var e=i.x-t.x;return e*e+(i=i.y-t.y)*i})(t[n],t[o])>i&&(e.push(t[n]),o=n);return o<s-1&&e.push(t[s-1]),e}(t,i*=i),i):t.slice()}function Gi(t,i,e){return Math.sqrt(Ji(t,i,e,!0))}function Ki(t,i,e,n,o){var s,r,a,h=n?Ni:Xi(t,e),l=Xi(i,e);for(Ni=l;;){if(!(h|l))return[t,i];if(h&l)return!1;a=Xi(r=Yi(t,i,s=h||l,e,o),e),s===h?(t=r,h=a):(i=r,l=a)}}function Yi(t,i,e,n,o){var s,r,a=i.x-t.x,h=(i=i.y-t.y,n.min);n=n.max;return 8&e?(s=t.x+a*(n.y-t.y)/i,r=n.y):4&e?(s=t.x+a*(h.y-t.y)/i,r=h.y):2&e?(s=n.x,r=t.y+i*(n.x-t.x)/a):1&e&&(s=h.x,r=t.y+i*(h.x-t.x)/a),new E(s,r,o)}function Xi(t,i){var e=0;return t.x<i.min.x?e|=1:t.x>i.max.x&&(e|=2),t.y<i.min.y?e|=4:t.y>i.max.y&&(e|=8),e}function Ji(t,i,e,n){var o=i.x,s=(i=i.y,e.x-o),r=e.y-i,a=s*s+r*r;return 0<a&&(1<(a=((t.x-o)*s+(t.y-i)*r)/a)?(o=e.x,i=e.y):0<a&&(o+=s*a,i+=r*a)),s=t.x-o,r=t.y-i,n?s*s+r*r:new E(o,i)}function $i(t){return!g(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function Qi(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),$i(t)}function te(t,i,e){for(var n,o,s,r,a,h,l,u=[1,4,2,8],c=0,d=t.length;c<d;c++)t[c]._code=Xi(t[c],i);for(s=0;s<4;s++){for(h=u[s],n=[],c=0,o=(d=t.length)-1;c<d;o=c++)r=t[c],a=t[o],r._code&h?a._code&h||((l=Yi(a,r,h,i,e))._code=Xi(l,i),n.push(l)):(a._code&h&&((l=Yi(a,r,h,i,e))._code=Xi(l,i),n.push(l)),n.push(r));t=n}return t}it={__proto__:null,simplify:qi,pointToSegmentDistance:Gi,closestPointOnSegment:function(t,i,e){return Ji(t,i,e)},clipSegment:Ki,_getEdgeIntersection:Yi,_getBitCode:Xi,_sqClosestPointOnSegment:Ji,isFlat:$i,_flat:Qi};et={__proto__:null,clipPolygon:te},nt={project:function(t){return new E(t.lng,t.lat)},unproject:function(t){return new D(t.y,t.x)},bounds:new I([-180,-90],[180,90])},ot={R:6378137,R_MINOR:6356752.314245179,bounds:new I([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var i=Math.PI/180,e=this.R,n=t.lat*i,o=this.R_MINOR/e,s=(o=Math.sqrt(1-o*o))*Math.sin(n);s=Math.tan(Math.PI/4-n/2)/Math.pow((1-s)/(1+s),o/2),n=-e*Math.log(Math.max(s,1e-10));return new E(t.lng*i*e,n)},unproject:function(t){for(var i,e=180/Math.PI,n=this.R,o=this.R_MINOR/n,s=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),a=Math.PI/2-2*Math.atan(r),h=0,l=.1;h<15&&1e-7<Math.abs(l);h++)i=s*Math.sin(a),i=Math.pow((1-i)/(1+i),s/2),a+=l=Math.PI/2-2*Math.atan(r*i)-a;return new D(a*e,t.x*e/n)}},st={__proto__:null,LonLat:nt,Mercator:ot,SphericalMercator:F},at=i({},W,{code:"EPSG:3395",projection:ot,transformation:V(rt=.5/(Math.PI*ot.R),.5,-rt,.5)});var ie=i({},W,{code:"EPSG:4326",projection:nt,transformation:V(1/180,1,-1/180,.5)}),ee=(ht=i({},H,{projection:nt,transformation:V(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,i){var e=i.lng-t.lng;i=i.lat-t.lat;return Math.sqrt(e*e+i*i)},infinite:!0}),lt=(H.Earth=W,H.EPSG3395=at,H.EPSG3857=q,H.EPSG900913=G,H.EPSG4326=ie,H.Simple=ht,k.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[r(t)]=this},removeInteractiveTarget:function(t){return delete this._map._targets[r(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var i,e=t.target;e.hasLayer(this)&&(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents&&(i=this.getEvents(),e.on(i,this),this.once("remove",(function(){e.off(i,this)}),this)),this.onAdd(e),this.fire("add"),e.fire("layeradd",{layer:this}))}})),Oi.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var i=r(t);return this._layers[i]||((this._layers[i]=t)._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var i=r(t);return this._layers[i]&&(this._loaded&&t.onRemove(this),delete this._layers[i],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null),this},hasLayer:function(t){return r(t)in this._layers},eachLayer:function(t,i){for(var e in this._layers)t.call(i,this._layers[e]);return this},_addLayers:function(t){for(var i=0,e=(t=t?g(t)?t:[t]:[]).length;i<e;i++)this.addLayer(t[i])},_addZoomLimit:function(t){isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[r(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){t=r(t),this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var t,i=1/0,e=-1/0,n=this._getZoomSpan();for(t in this._zoomBoundLayers){var o=this._zoomBoundLayers[t].options;i=void 0===o.minZoom?i:Math.min(i,o.minZoom),e=void 0===o.maxZoom?e:Math.max(e,o.maxZoom)}this._layersMaxZoom=e===-1/0?void 0:e,this._layersMinZoom=i===1/0?void 0:i,n!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}}),lt.extend({initialize:function(t,i){var e,n;if(_(this,i),this._layers={},t)for(e=0,n=t.length;e<n;e++)this.addLayer(t[e])},addLayer:function(t){var i=this.getLayerId(t);return this._layers[i]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){return t=t in this._layers?t:this.getLayerId(t),this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(t){return("number"==typeof t?t:this.getLayerId(t))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var i,e,n=Array.prototype.slice.call(arguments,1);for(i in this._layers)(e=this._layers[i])[t]&&e[t].apply(e,n);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,i){for(var e in this._layers)t.call(i,this._layers[e]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:r})),ne=ee.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),ee.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?((t=t in this._layers?this._layers[t]:t).removeEventParent(this),ee.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t,i=new R;for(t in this._layers){var e=this._layers[t];i.extend(e.getBounds?e.getBounds():e.getLatLng())}return i}}),oe=Z.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){_(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,i){var e=this._getIconUrl(t);if(!e){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}return e=this._createImg(e,i&&"IMG"===i.tagName?i:null),this._setIconStyles(e,t),!this.options.crossOrigin&&""!==this.options.crossOrigin||(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),e},_setIconStyles:function(t,i){var e=this.options,n=A(n="number"==typeof(n=e[i+"Size"])?[n,n]:n),o=A("shadow"===i&&e.shadowAnchor||e.iconAnchor||n&&n.divideBy(2,!0));t.className="leaflet-marker-"+i+" "+(e.className||""),o&&(t.style.marginLeft=-o.x+"px",t.style.marginTop=-o.y+"px"),n&&(t.style.width=n.x+"px",t.style.height=n.y+"px")},_createImg:function(t,i){return(i=i||document.createElement("img")).src=t,i},_getIconUrl:function(t){return Ct.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),se=oe.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return"string"!=typeof se.imagePath&&(se.imagePath=this._detectIconPath()),(this.options.imagePath||se.imagePath)+oe.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){function i(t,i,e){return(i=i.exec(t))&&i[e]}return(t=i(t,/^url\((['"])?(.+)\1\)$/,2))&&i(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=$t("div","leaflet-default-icon-path",document.body),i=Jt(t,"background-image")||Jt(t,"backgroundImage");return document.body.removeChild(t),(i=this._stripUrl(i))?i:(t=document.querySelector('link[href$="leaflet.css"]'))?t.href.substring(0,t.href.length-"leaflet.css".length-1):""}}),re=Q.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new Vi(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),oi(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&si(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var i=this._marker,e=i._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,s=di(i._icon),r=e.getPixelBounds(),a=e.getPixelOrigin();(a=O(r.min._subtract(a).add(o),r.max._subtract(a).subtract(o))).contains(s)||(o=A((Math.max(a.max.x,s.x)-a.max.x)/(r.max.x-a.max.x)-(Math.min(a.min.x,s.x)-a.min.x)/(r.min.x-a.min.x),(Math.max(a.max.y,s.y)-a.max.y)/(r.max.y-a.max.y)-(Math.min(a.min.y,s.y)-a.min.y)/(r.min.y-a.min.y)).multiplyBy(n),e.panBy(o,{animate:!1}),this._draggable._newPos._add(o),this._draggable._startPos._add(o),ci(i._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=z(this._adjustPan.bind(this,t)))},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(M(this._panRequest),this._panRequest=z(this._adjustPan.bind(this,t)))},_onDrag:function(t){var i=this._marker,e=i._shadow,n=di(i._icon),o=i._map.layerPointToLatLng(n);e&&ci(e,n),i._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,i.fire("move",t).fire("drag",t)},_onDragEnd:function(t){M(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),ae=lt.extend({options:{icon:new se,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,i){_(this,i),this._latlng=j(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var i=this._latlng;return this._latlng=j(t),this.update(),this.fire("move",{oldLatLng:i,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){var t;return this._icon&&this._map&&(t=this._map.latLngToLayerPoint(this._latlng).round(),this._setPos(t)),this},_initIcon:function(){var t,i=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),n=!1,o=!1;(t=((t=i.icon.createIcon(this._icon))!==this._icon&&(this._icon&&this._removeIcon(),n=!0,i.title&&(t.title=i.title),"IMG"===t.tagName&&(t.alt=i.alt||"")),oi(t,e),i.keyboard&&(t.tabIndex="0",t.setAttribute("role","button")),this._icon=t,i.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&yi(t,"focus",this._panOnFocus,this),i.icon.createShadow(this._shadow)))!==this._shadow&&(this._removeShadow(),o=!0),t&&(oi(t,e),t.alt=""),this._shadow=t,i.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),t&&o&&this.getPane(i.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&wi(this._icon,"focus",this._panOnFocus,this),Qt(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&Qt(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&ci(this._icon,t),this._shadow&&ci(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(this._icon.style.zIndex=this._zIndex+t)},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round(),this._setPos(t)},_initInteraction:function(){var t;this.options.interactive&&(oi(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),re&&(t=this.options.draggable,this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new re(this),t&&this.dragging.enable()))},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&hi(this._icon,t),this._shadow&&hi(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t,i,e=this._map;e&&(t=(i=this.options.icon.options).iconSize?A(i.iconSize):A(0,0),i=i.iconAnchor?A(i.iconAnchor):A(0,0),e.panInside(this._latlng,{paddingTopLeft:i,paddingBottomRight:t.subtract(i)}))},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),he=lt.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return _(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),le=he.extend({options:{fill:!0,radius:10},initialize:function(t,i){_(this,i),this._latlng=j(t),this._radius=this.options.radius},setLatLng:function(t){var i=this._latlng;return this._latlng=j(t),this.redraw(),this.fire("move",{oldLatLng:i,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var i=t&&t.radius||this._radius;return he.prototype.setStyle.call(this,t),this.setRadius(i),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,i=this._radiusY||t,e=this._clickTolerance();t=[t+e,i+e];this._pxBounds=new I(this._point.subtract(t),this._point.add(t))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),ue=le.extend({initialize:function(t,e,n){if(_(this,e="number"==typeof e?i({},n,{radius:e}):e),this._latlng=j(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new R(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:he.prototype.setStyle,_project:function(){var t,i,e,n,o,s=this._latlng.lng,r=this._latlng.lat,a=this._map,h=a.options.crs;h.distance===W.distance?(n=Math.PI/180,o=this._mRadius/W.R/n,t=a.project([r+o,s]),i=a.project([r-o,s]),i=t.add(i).divideBy(2),e=a.unproject(i).lat,n=Math.acos((Math.cos(o*n)-Math.sin(r*n)*Math.sin(e*n))/(Math.cos(r*n)*Math.cos(e*n)))/n,!isNaN(n)&&0!==n||(n=o/Math.cos(Math.PI/180*r)),this._point=i.subtract(a.getPixelOrigin()),this._radius=isNaN(n)?0:i.x-a.project([e,s-n]).x,this._radiusY=i.y-t.y):(o=h.unproject(h.project(this._latlng).subtract([this._mRadius,0])),this._point=a.latLngToLayerPoint(this._latlng),this._radius=this._point.x-a.latLngToLayerPoint(o).x),this._updateBounds()}}),ce=he.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,i){_(this,i),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var i=1/0,e=null,n=Ji,o=0,s=this._parts.length;o<s;o++)for(var r=this._parts[o],a=1,h=r.length;a<h;a++){var l,u,c=n(t,l=r[a-1],u=r[a],!0);c<i&&(i=c,e=n(t,l,u))}return e&&(e.distance=Math.sqrt(i)),e},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,i,e,n,o,s,r=this._rings[0],a=r.length;if(!a)return null;for(i=t=0;t<a-1;t++)i+=r[t].distanceTo(r[t+1])/2;if(0===i)return this._map.layerPointToLatLng(r[0]);for(e=t=0;t<a-1;t++)if(n=r[t],o=r[t+1],i<(e+=s=n.distanceTo(o)))return this._map.layerPointToLatLng([o.x-(s=(e-i)/s)*(o.x-n.x),o.y-s*(o.y-n.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,i){return i=i||this._defaultShape(),t=j(t),i.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new R,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return $i(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var i=[],e=$i(t),n=0,o=t.length;n<o;n++)e?(i[n]=j(t[n]),this._bounds.extend(i[n])):i[n]=this._convertLatLngs(t[n]);return i},_project:function(){var t=new I;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=new E(t=this._clickTolerance(),t);this._rawPxBounds&&(this._pxBounds=new I([this._rawPxBounds.min.subtract(t),this._rawPxBounds.max.add(t)]))},_projectLatlngs:function(t,i,e){var n,o,s=t[0]instanceof D,r=t.length;if(s){for(o=[],n=0;n<r;n++)o[n]=this._map.latLngToLayerPoint(t[n]),e.extend(o[n]);i.push(o)}else for(n=0;n<r;n++)this._projectLatlngs(t[n],i,e)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,e,n,o,s=this._parts,r=0,a=0,h=this._rings.length;r<h;r++)for(i=0,e=(o=this._rings[r]).length;i<e-1;i++)(n=Ki(o[i],o[i+1],t,i,!0))&&(s[a]=s[a]||[],s[a].push(n[0]),n[1]===o[i+1]&&i!==e-2||(s[a].push(n[1]),a++))},_simplifyPoints:function(){for(var t=this._parts,i=this.options.smoothFactor,e=0,n=t.length;e<n;e++)t[e]=qi(t[e],i)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,i){var e,n,o,s,r,a,h=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(e=0,s=this._parts.length;e<s;e++)for(n=0,o=(r=(a=this._parts[e]).length)-1;n<r;o=n++)if((i||0!==n)&&Gi(t,a[o],a[n])<=h)return!0;return!1}});ce._flat=Qi;var de=ce.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,i,e,n,o,s,r,a,h,l=this._rings[0],u=l.length;if(!u)return null;for(t=s=r=a=0,i=u-1;t<u;i=t++)e=l[t],n=l[i],o=e.y*n.x-n.y*e.x,r+=(e.x+n.x)*o,a+=(e.y+n.y)*o,s+=3*o;return h=0===s?l[0]:[r/s,a/s],this._map.layerPointToLatLng(h)},_convertLatLngs:function(t){var i=(t=ce.prototype._convertLatLngs.call(this,t)).length;return 2<=i&&t[0]instanceof D&&t[0].equals(t[i-1])&&t.pop(),t},_setLatLngs:function(t){ce.prototype._setLatLngs.call(this,t),$i(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return($i(this._latlngs[0])?this._latlngs:this._latlngs[0])[0]},_clipPoints:function(){var t=this._renderer._bounds,i=new E(i=this.options.weight,i);t=new I(t.min.subtract(i),t.max.add(i));if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var e,n=0,o=this._rings.length;n<o;n++)(e=te(this._rings[n],t,!0)).length&&this._parts.push(e)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var i,e,n,o,s,r,a,h,l=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,a=this._parts.length;o<a;o++)for(s=0,r=(h=(i=this._parts[o]).length)-1;s<h;r=s++)e=i[s],n=i[r],e.y>t.y!=n.y>t.y&&t.x<(n.x-e.x)*(t.y-e.y)/(n.y-e.y)+e.x&&(l=!l);return l||ce.prototype._containsPoint.call(this,t,!0)}}),_e=ne.extend({initialize:function(t,i){_(this,i),this._layers={},t&&this.addData(t)},addData:function(t){var i,e,n,o=g(t)?t:t.features;if(o){for(i=0,e=o.length;i<e;i++)((n=o[i]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var s=this.options;if(s.filter&&!s.filter(t))return this;var r=pe(t,s);return r?(r.feature=we(t),r.defaultOptions=r.options,this.resetStyle(r),s.onEachFeature&&s.onEachFeature(t,r),this.addLayer(r)):this},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=i({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(t){return this.eachLayer((function(i){this._setLayerStyle(i,t)}),this)},_setLayerStyle:function(t,i){t.setStyle&&("function"==typeof i&&(i=i(t.feature)),t.setStyle(i))}});function pe(t,i){var e,n,o,s,r="Feature"===t.type?t.geometry:t,a=r?r.coordinates:null,h=[],l=i&&i.pointToLayer,u=i&&i.coordsToLatLng||fe;if(!a&&!r)return null;switch(r.type){case"Point":return me(l,t,e=u(a),i);case"MultiPoint":for(o=0,s=a.length;o<s;o++)e=u(a[o]),h.push(me(l,t,e,i));return new ne(h);case"LineString":case"MultiLineString":return n=ge(a,"LineString"===r.type?0:1,u),new ce(n,i);case"Polygon":case"MultiPolygon":return n=ge(a,"Polygon"===r.type?1:2,u),new de(n,i);case"GeometryCollection":for(o=0,s=r.geometries.length;o<s;o++){var c=pe({geometry:r.geometries[o],type:"Feature",properties:t.properties},i);c&&h.push(c)}return new ne(h);default:throw new Error("Invalid GeoJSON object.")}}function me(t,i,e,n){return t?t(i,e):new ae(e,n&&n.markersInheritOptions&&n)}function fe(t){return new D(t[1],t[0],t[2])}function ge(t,i,e){for(var n,o=[],s=0,r=t.length;s<r;s++)n=i?ge(t[s],i-1,e):(e||fe)(t[s]),o.push(n);return o}function ve(t,i){return void 0!==(t=j(t)).alt?[u(t.lng,i),u(t.lat,i),u(t.alt,i)]:[u(t.lng,i),u(t.lat,i)]}function ye(t,i,e,n){for(var o=[],s=0,r=t.length;s<r;s++)o.push(i?ye(t[s],i-1,e,n):ve(t[s],n));return!i&&e&&o.push(o[0]),o}function xe(t,e){return t.feature?i({},t.feature,{geometry:e}):we(e)}function we(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}function Pe(t,i){return new _e(t,i)}ut={toGeoJSON:function(t){return xe(this,{type:"Point",coordinates:ve(this.getLatLng(),t)})}},ae.include(ut),ue.include(ut),le.include(ut),ce.include({toGeoJSON:function(t){var i=!$i(this._latlngs);return xe(this,{type:(i?"Multi":"")+"LineString",coordinates:ye(this._latlngs,i?1:0,!1,t)})}}),de.include({toGeoJSON:function(t){var i=!$i(this._latlngs),e=i&&!$i(this._latlngs[0]);t=ye(this._latlngs,e?2:i?1:0,!0,t);return xe(this,{type:(e?"Multi":"")+"Polygon",coordinates:t=i?t:[t]})}}),ee.include({toMultiPoint:function(t){var i=[];return this.eachLayer((function(e){i.push(e.toGeoJSON(t).geometry.coordinates)})),xe(this,{type:"MultiPoint",coordinates:i})},toGeoJSON:function(t){var i=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===i)return this.toMultiPoint(t);var e="GeometryCollection"===i,n=[];return this.eachLayer((function(i){i.toGeoJSON&&(i=i.toGeoJSON(t),e?n.push(i.geometry):"FeatureCollection"===(i=we(i)).type?n.push.apply(n,i.features):n.push(i))})),e?xe(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});ct=Pe;var be=lt.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,i,e){this._url=t,this._bounds=N(i),_(this,e)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(oi(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Qt(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&ii(this._image),this},bringToBack:function(){return this._map&&ei(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=N(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,i=this._image=t?this._url:$t("img");oi(i,"leaflet-image-layer"),this._zoomAnimated&&oi(i,"leaflet-zoom-animated"),this.options.className&&oi(i,this.options.className),i.onselectstart=l,i.onmousemove=l,i.onload=o(this.fire,this,"load"),i.onerror=o(this._overlayOnError,this,"error"),!this.options.crossOrigin&&""!==this.options.crossOrigin||(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=i.src:(i.src=this._url,i.alt=this.options.alt)},_animateZoom:function(t){var i=this._map.getZoomScale(t.zoom);t=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;ui(this._image,t,i)},_reset:function(){var t=this._image,i=new I(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),e=i.getSize();ci(t,i.min),t.style.width=e.x+"px",t.style.height=e.y+"px"},_updateOpacity:function(){hi(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),Le=be.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,i=this._image=t?this._url:$t("video");if(oi(i,"leaflet-image-layer"),this._zoomAnimated&&oi(i,"leaflet-zoom-animated"),this.options.className&&oi(i,this.options.className),i.onselectstart=l,i.onmousemove=l,i.onloadeddata=o(this.fire,this,"load"),t){for(var e=i.getElementsByTagName("source"),n=[],s=0;s<e.length;s++)n.push(e[s].src);this._url=0<e.length?n:[i.src]}else{g(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(i.style,"objectFit")&&(i.style.objectFit="fill"),i.autoplay=!!this.options.autoplay,i.loop=!!this.options.loop,i.muted=!!this.options.muted,i.playsInline=!!this.options.playsInline;for(var r=0;r<this._url.length;r++){var a=$t("source");a.src=this._url[r],i.appendChild(a)}}}}),Te=be.extend({_initImage:function(){var t=this._image=this._url;oi(t,"leaflet-image-layer"),this._zoomAnimated&&oi(t,"leaflet-zoom-animated"),this.options.className&&oi(t,this.options.className),t.onselectstart=l,t.onmousemove=l}}),ze=lt.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0},initialize:function(t,i){_(this,t),this._source=i},openOn:function(t){return(t=arguments.length?t:this._source._map).hasLayer(this)||t.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(t){return this._map?this.close():(arguments.length?this._source=t:t=this._source,this._prepareOpen(),this.openOn(t._map)),this},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&hi(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&hi(this._container,1),this.bringToFront(),this.options.interactive&&(oi(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(hi(this._container,0),this._removeTimeout=setTimeout(o(Qt,void 0,this._container),200)):Qt(this._container),this.options.interactive&&(si(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=j(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&ii(this._container),this},bringToBack:function(){return this._map&&ei(this._container),this},_prepareOpen:function(t){if(!(e=this._source)._map)return!1;if(e instanceof ne){var i,e=null,n=this._source._layers;for(i in n)if(n[i]._map){e=n[i];break}if(!e)return!1;this._source=e}if(!t)if(e.getCenter)t=e.getCenter();else if(e.getLatLng)t=e.getLatLng();else{if(!e.getBounds)throw new Error("Unable to get source layer LatLng.");t=e.getBounds().getCenter()}return this.setLatLng(t),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var t=this._contentNode,i="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof i)t.innerHTML=i;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(i)}this.fire("contentupdate")}},_updatePosition:function(){var t,i,e;this._map&&(i=this._map.latLngToLayerPoint(this._latlng),t=A(this.options.offset),e=this._getAnchor(),this._zoomAnimated?ci(this._container,i.add(e)):t=t.add(i).add(e),i=this._containerBottom=-t.y,e=this._containerLeft=-Math.round(this._containerWidth/2)+t.x,this._container.style.bottom=i+"px",this._container.style.left=e+"px")},_getAnchor:function(){return[0,0]}}),Me=(Oi.include({_initOverlay:function(t,i,e,n){var o=i;return o instanceof t||(o=new t(n).setContent(i)),e&&o.setLatLng(e),o}}),lt.include({_initOverlay:function(t,i,e,n){var o=e;return o instanceof t?(_(o,n),o._source=this):(o=i&&!n?i:new t(n,this)).setContent(e),o}}),ze.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return!(t=arguments.length?t:this._source._map).hasLayer(this)&&t._popup&&t._popup.options.autoClose&&t.removeLayer(t._popup),t._popup=this,ze.prototype.openOn.call(this,t)},onAdd:function(t){ze.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof he||this._source.on("preclick",zi))},onRemove:function(t){ze.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof he||this._source.off("preclick",zi))},getEvents:function(){var t=ze.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this.close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_initLayout:function(){var t="leaflet-popup",i=this._container=$t("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),e=this._wrapper=$t("div",t+"-content-wrapper",i);this._contentNode=$t("div",t+"-content",e),Ci(i),Mi(this._contentNode),yi(i,"contextmenu",zi),this._tipContainer=$t("div",t+"-tip-container",i),this._tip=$t("div",t+"-tip",this._tipContainer),this.options.closeButton&&((e=this._closeButton=$t("a",t+"-close-button",i)).setAttribute("role","button"),e.setAttribute("aria-label","Close popup"),e.href="#close",e.innerHTML='<span aria-hidden="true">×</span>',yi(e,"click",this.close,this))},_updateLayout:function(){var t=this._contentNode,i=t.style,e=(i.width="",i.whiteSpace="nowrap",t.offsetWidth),n=(e=Math.min(e,this.options.maxWidth),e=(e=Math.max(e,this.options.minWidth),i.width=e+1+"px",i.whiteSpace="",i.height="",t.offsetHeight),this.options.maxHeight),o="leaflet-popup-scrolled";n&&n<e?(i.height=n+"px",oi(t,o)):si(t,o),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);var i=this._getAnchor();ci(this._container,t.add(i))},_adjustPan:function(t){var i,e,n,o,s,r,a,h;this.options.autoPan&&(this._map._panAnim&&this._map._panAnim.stop(),i=this._map,e=parseInt(Jt(this._container,"marginBottom"),10)||0,e=this._container.offsetHeight+e,h=this._containerWidth,(n=new E(this._containerLeft,-e-this._containerBottom))._add(di(this._container)),n=i.layerPointToContainerPoint(n),s=A(this.options.autoPanPadding),o=A(this.options.autoPanPaddingTopLeft||s),s=A(this.options.autoPanPaddingBottomRight||s),r=i.getSize(),a=0,n.x+h+s.x>r.x&&(a=n.x+h-r.x+s.x),n.x-a-o.x<(h=0)&&(a=n.x-o.x),n.y+e+s.y>r.y&&(h=n.y+e-r.y+s.y),n.y-h-o.y<0&&(h=n.y-o.y),(a||h)&&i.fire("autopanstart").panBy([a,h],{animate:t&&"moveend"===t.type}))},_getAnchor:function(){return A(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}})),Ce=(Oi.mergeOptions({closePopupOnClick:!0}),Oi.include({openPopup:function(t,i,e){return this._initOverlay(Me,t,i,e).openOn(this),this},closePopup:function(t){return(t=arguments.length?t:this._popup)&&t.close(),this}}),lt.include({bindPopup:function(t,i){return this._popup=this._initOverlay(Me,this._popup,t,i),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&this._popup._prepareOpen(t)&&this._popup.openOn(this._map),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var i;this._popup&&this._map&&(Si(t),i=t.layer||t.target,this._popup._source!==i||i instanceof he?(this._popup._source=i,this.openPopup(t.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}}),ze.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){ze.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){ze.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=ze.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=$t("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var i,e=this._map,n=this._container,o=e.latLngToContainerPoint(e.getCenter()),s=(e=e.layerPointToContainerPoint(t),this.options.direction),r=n.offsetWidth,a=n.offsetHeight,h=A(this.options.offset),l=this._getAnchor();e="top"===s?(i=r/2,a):"bottom"===s?(i=r/2,0):(i="center"===s?r/2:"right"===s?0:"left"===s?r:e.x<o.x?(s="right",0):(s="left",r+2*(h.x+l.x)),a/2);t=t.subtract(A(i,e,!0)).add(h).add(l),si(n,"leaflet-tooltip-right"),si(n,"leaflet-tooltip-left"),si(n,"leaflet-tooltip-top"),si(n,"leaflet-tooltip-bottom"),oi(n,"leaflet-tooltip-"+s),ci(n,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&hi(this._container,t)},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),this._setPosition(t)},_getAnchor:function(){return A(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}})),Ze=(Oi.include({openTooltip:function(t,i,e){return this._initOverlay(Ce,t,i,e).openOn(this),this},closeTooltip:function(t){return t.close(),this}}),lt.include({bindTooltip:function(t,i){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Ce,this._tooltip,t,i),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){var i,e;!t&&this._tooltipHandlersAdded||(i=t?"off":"on",e={remove:this.closeTooltip,move:this._moveTooltip},this._tooltip.options.permanent?e.add=this._openTooltip:(e.mouseover=this._openTooltip,e.mouseout=this.closeTooltip,e.click=this._openTooltip),this._tooltip.options.sticky&&(e.mousemove=this._moveTooltip),this[i](e),this._tooltipHandlersAdded=!t)},openTooltip:function(t){return this._tooltip&&this._tooltip._prepareOpen(t)&&this._tooltip.openOn(this._map),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_openTooltip:function(t){!this._tooltip||!this._map||this._map.dragging&&this._map.dragging.moving()||(this._tooltip._source=t.layer||t.target,this.openTooltip(this._tooltip.options.sticky?t.latlng:void 0))},_moveTooltip:function(t){var i=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(t=this._map.mouseEventToContainerPoint(t.originalEvent),t=this._map.containerPointToLayerPoint(t),i=this._map.layerPointToLatLng(t)),this._tooltip.setLatLng(i)}}),oe.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){t=t&&"DIV"===t.tagName?t:document.createElement("div");var i=this.options;return i.html instanceof Element?(ti(t),t.appendChild(i.html)):t.innerHTML=!1!==i.html?i.html:"",i.bgPos&&(i=A(i.bgPos),t.style.backgroundPosition=-i.x+"px "+-i.y+"px"),this._setIconStyles(t,"icon"),t},createShadow:function(){return null}}));oe.Default=se;var Se=lt.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Ct.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){_(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),Qt(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ii(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(ei(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){var t;return this._map&&(this._removeAllTiles(),(t=this._clampZoom(this._map.getZoom()))!==this._tileZoom&&(this._tileZoom=t,this._updateLevels()),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=a(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof E?t:new E(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var i,e=this.getPane().children,n=-t(-1/0,1/0),o=0,s=e.length;o<s;o++)i=e[o].style.zIndex,e[o]!==this._container&&i&&(n=t(n,+i));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Ct.ielt9){hi(this._container,this.options.opacity);var t,i=+new Date,e=!1,n=!1;for(t in this._tiles){var o,s=this._tiles[t];s.current&&s.loaded&&(o=Math.min(1,(i-s.loaded)/200),hi(s.el,o),o<1?e=!0:(s.active?n=!0:this._onOpaqueTile(s),s.active=!0))}n&&!this._noPrune&&this._pruneTiles(),e&&(M(this._fadeFrame),this._fadeFrame=z(this._updateOpacity,this))}},_onOpaqueTile:l,_initContainer:function(){this._container||(this._container=$t("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,i=this.options.maxZoom;if(void 0!==t){for(var e in this._levels)e=Number(e),this._levels[e].el.children.length||e===t?(this._levels[e].el.style.zIndex=i-Math.abs(t-e),this._onUpdateLevel(e)):(Qt(this._levels[e].el),this._removeTilesAtZoom(e),this._onRemoveLevel(e),delete this._levels[e]);var n=this._levels[t],o=this._map;return n||((n=this._levels[t]={}).el=$t("div","leaflet-tile-container leaflet-zoom-animated",this._container),n.el.style.zIndex=i,n.origin=o.project(o.unproject(o.getPixelOrigin()),t).round(),n.zoom=t,this._setZoomTransform(n,o.getCenter(),o.getZoom()),n.el.offsetWidth,this._onCreateLevel(n)),this._level=n}},_onUpdateLevel:l,_onRemoveLevel:l,_onCreateLevel:l,_pruneTiles:function(){if(this._map){var t,i,e,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(e=this._tiles[t]).retain=e.current;for(t in this._tiles)(e=this._tiles[t]).current&&!e.active&&(i=e.coords,this._retainParent(i.x,i.y,i.z,i.z-5)||this._retainChildren(i.x,i.y,i.z,i.z+2));for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var i in this._tiles)this._tiles[i].coords.z===t&&this._removeTile(i)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)Qt(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,i,e,n){e-=1;var o=((o=new E(+(t=Math.floor(t/2)),+(i=Math.floor(i/2)))).z=e,this._tileCoordsToKey(o));return(o=this._tiles[o])&&o.active?o.retain=!0:(o&&o.loaded&&(o.retain=!0),n<e&&this._retainParent(t,i,e,n))},_retainChildren:function(t,i,e,n){for(var o=2*t;o<2*t+2;o++)for(var s=2*i;s<2*i+2;s++){var r=((r=new E(o,s)).z=e+1,this._tileCoordsToKey(r));(r=this._tiles[r])&&r.active?r.retain=!0:(r&&r.loaded&&(r.retain=!0),e+1<n&&this._retainChildren(o,s,e+1,n))}},_resetView:function(t){t=t&&(t.pinch||t.flyTo),this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var i=this.options;return void 0!==i.minNativeZoom&&t<i.minNativeZoom?i.minNativeZoom:void 0!==i.maxNativeZoom&&i.maxNativeZoom<t?i.maxNativeZoom:t},_setView:function(t,i,e,n){var o=Math.round(i),s=(o=void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom?void 0:this._clampZoom(o),this.options.updateWhenZooming&&o!==this._tileZoom);n&&!s||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),e||this._pruneTiles(),this._noPrune=!!e),this._setZoomTransforms(t,i)},_setZoomTransforms:function(t,i){for(var e in this._levels)this._setZoomTransform(this._levels[e],t,i)},_setZoomTransform:function(t,i,e){var n=this._map.getZoomScale(e,t.zoom);i=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(i,e)).round();Ct.any3d?ui(t.el,i,n):ci(t.el,i)},_resetGrid:function(){var t=this._map,i=t.options.crs,e=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=i.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,i.wrapLng[0]],n).x/e.x),Math.ceil(t.project([0,i.wrapLng[1]],n).x/e.y)],this._wrapY=i.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([i.wrapLat[0],0],n).y/e.x),Math.ceil(t.project([i.wrapLat[1],0],n).y/e.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var i=(e=this._map)._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),e=(i=e.getZoomScale(i,this._tileZoom),t=e.project(t,this._tileZoom).floor(),e.getSize().divideBy(2*i));return new I(t.subtract(e),t.add(e))},_update:function(t){if(n=this._map){var i=this._clampZoom(n.getZoom());if(void 0===t&&(t=n.getCenter()),void 0!==this._tileZoom){var e,n=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(n),s=o.getCenter(),r=[],a=(n=this.options.keepBuffer,new I(o.getBottomLeft().subtract([n,-n]),o.getTopRight().add([n,-n])));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(e in this._tiles){var h=this._tiles[e].coords;h.z===this._tileZoom&&a.contains(new E(h.x,h.y))||(this._tiles[e].current=!1)}if(1<Math.abs(i-this._tileZoom))this._setView(t,i);else{for(var l=o.min.y;l<=o.max.y;l++)for(var u=o.min.x;u<=o.max.x;u++){var c,d=new E(u,l);d.z=this._tileZoom,this._isValidTile(d)&&((c=this._tiles[this._tileCoordsToKey(d)])?c.current=!0:r.push(d))}if(r.sort((function(t,i){return t.distanceTo(s)-i.distanceTo(s)})),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));var _=document.createDocumentFragment();for(u=0;u<r.length;u++)this._addTile(r[u],_);this._level.el.appendChild(_)}}}}},_isValidTile:function(t){var i=this._map.options.crs;if(!i.infinite){var e=this._globalTileRange;if(!i.wrapLng&&(t.x<e.min.x||t.x>e.max.x)||!i.wrapLat&&(t.y<e.min.y||t.y>e.max.y))return!1}return!this.options.bounds||(i=this._tileCoordsToBounds(t),N(this.options.bounds).overlaps(i))},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var i=this._map,e=this.getTileSize(),n=t.scaleBy(e);e=n.add(e);return[i.unproject(n,t.z),i.unproject(e,t.z)]},_tileCoordsToBounds:function(t){return t=new R((t=this._tileCoordsToNwSe(t))[0],t[1]),this.options.noWrap?t:this._map.wrapLatLngBounds(t)},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var i=new E(+(t=t.split(":"))[0],+t[1]);return i.z=+t[2],i},_removeTile:function(t){var i=this._tiles[t];i&&(Qt(i.el),delete this._tiles[t],this.fire("tileunload",{tile:i.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){oi(t,"leaflet-tile");var i=this.getTileSize();t.style.width=i.x+"px",t.style.height=i.y+"px",t.onselectstart=l,t.onmousemove=l,Ct.ielt9&&this.options.opacity<1&&hi(t,this.options.opacity)},_addTile:function(t,i){var e=this._getTilePos(t),n=this._tileCoordsToKey(t),s=this.createTile(this._wrapCoords(t),o(this._tileReady,this,t));this._initTile(s),this.createTile.length<2&&z(o(this._tileReady,this,t,null,s)),ci(s,e),this._tiles[n]={el:s,coords:t,current:!0},i.appendChild(s),this.fire("tileloadstart",{tile:s,coords:t})},_tileReady:function(t,i,e){i&&this.fire("tileerror",{error:i,tile:e,coords:t});var n=this._tileCoordsToKey(t);(e=this._tiles[n])&&(e.loaded=+new Date,this._map._fadeAnimated?(hi(e.el,0),M(this._fadeFrame),this._fadeFrame=z(this._updateOpacity,this)):(e.active=!0,this._pruneTiles()),i||(oi(e.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:e.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Ct.ielt9||!this._map._fadeAnimated?z(this._pruneTiles,this):setTimeout(o(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var i=new E(this._wrapX?h(t.x,this._wrapX):t.x,this._wrapY?h(t.y,this._wrapY):t.y);return i.z=t.z,i},_pxBoundsToTileRange:function(t){var i=this.getTileSize();return new I(t.min.unscaleBy(i).floor(),t.max.unscaleBy(i).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),ke=Se.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,i){this._url=t,(i=_(this,i)).detectRetina&&Ct.retina&&0<i.maxZoom&&(i.tileSize=Math.floor(i.tileSize/2),i.zoomReverse?(i.zoomOffset--,i.minZoom++):(i.zoomOffset++,i.maxZoom--),i.minZoom=Math.max(0,i.minZoom)),"string"==typeof i.subdomains&&(i.subdomains=i.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,i){return this._url===t&&void 0===i&&(i=!0),this._url=t,i||this.redraw(),this},createTile:function(t,i){var e=document.createElement("img");return yi(e,"load",o(this._tileOnLoad,this,i,e)),yi(e,"error",o(this._tileOnError,this,i,e)),!this.options.crossOrigin&&""!==this.options.crossOrigin||(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(e.referrerPolicy=this.options.referrerPolicy),e.alt="",e.setAttribute("role","presentation"),e.src=this.getTileUrl(t),e},getTileUrl:function(t){var e={r:Ct.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};return this._map&&!this._map.options.crs.infinite&&(t=this._globalTileRange.max.y-t.y,this.options.tms&&(e.y=t),e["-y"]=t),f(this._url,i(e,this.options))},_tileOnLoad:function(t,i){Ct.ielt9?setTimeout(o(t,this,null,i),0):t(null,i)},_tileOnError:function(t,i,e){var n=this.options.errorTileUrl;n&&i.getAttribute("src")!==n&&(i.src=n),t(e,i)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,i=this.options.maxZoom;return(t=this.options.zoomReverse?i-t:t)+this.options.zoomOffset},_getSubdomain:function(t){return t=Math.abs(t.x+t.y)%this.options.subdomains.length,this.options.subdomains[t]},_abortLoading:function(){var t,i,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=l,e.onerror=l,e.complete||(e.src=y,i=this._tiles[t].coords,Qt(e),delete this._tiles[t],this.fire("tileabort",{tile:e,coords:i})))},_removeTile:function(t){var i=this._tiles[t];if(i)return i.el.setAttribute("src",y),Se.prototype._removeTile.call(this,t)},_tileReady:function(t,i,e){if(this._map&&(!e||e.getAttribute("src")!==y))return Se.prototype._tileReady.call(this,t,i,e)}});function Ee(t,i){return new ke(t,i)}var Be=ke.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var n,o=i({},this.defaultWmsParams);for(n in e)n in this.options||(o[n]=e[n]);t=(e=_(this,e)).detectRetina&&Ct.retina?2:1;var s=this.getTileSize();o.width=s.x*t,o.height=s.y*t,this.wmsParams=o},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var i=1.3<=this._wmsVersion?"crs":"srs";this.wmsParams[i]=this._crs.code,ke.prototype.onAdd.call(this,t)},getTileUrl:function(t){var i=this._tileCoordsToNwSe(t),e=(i=(e=O((e=this._crs).project(i[0]),e.project(i[1]))).min,e.max);i=(1.3<=this._wmsVersion&&this._crs===ie?[i.y,i.x,e.y,e.x]:[i.x,i.y,e.x,e.y]).join(",");return(e=ke.prototype.getTileUrl.call(this,t))+p(this.wmsParams,e,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+i},setParams:function(t,e){return i(this.wmsParams,t),e||this.redraw(),this}});ke.WMS=Be,Ee.wms=function(t,i){return new Be(t,i)};var Ae=lt.extend({options:{padding:.1},initialize:function(t){_(this,t),r(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&oi(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,i){var e=this._map.getZoomScale(i,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,i);n=n.multiplyBy(-e).add(o).subtract(this._map._getNewPixelOrigin(t,i));Ct.any3d?ui(this._container,n,e):ci(this._container,n)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,i=this._map.getSize(),e=this._map.containerPointToLayerPoint(i.multiplyBy(-t)).round();this._bounds=new I(e,e.add(i.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Ie=Ae.extend({options:{tolerance:0},getEvents:function(){var t=Ae.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Ae.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");yi(t,"mousemove",this._onMouseMove,this),yi(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),yi(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){M(this._redrawRequest),delete this._ctx,Qt(this._container),wi(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){var t,i,e,n;this._map._animatingZoom&&this._bounds||(Ae.prototype._update.call(this),t=this._bounds,i=this._container,e=t.getSize(),n=Ct.retina?2:1,ci(i,t.min),i.width=n*e.x,i.height=n*e.y,i.style.width=e.x+"px",i.style.height=e.y+"px",Ct.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update"))},_reset:function(){Ae.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),t=(this._layers[r(t)]=t)._order={layer:t,prev:this._drawLast,next:null},this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var i=(e=t._order).next,e=e.prev;i?i.prev=e:this._drawLast=e,e?e.next=i:this._drawFirst=i,delete t._order,delete this._layers[r(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){for(var i,e=t.options.dashArray.split(/[, ]+/),n=[],o=0;o<e.length;o++){if(i=Number(e[o]),isNaN(i))return;n.push(i)}t.options._dashArray=n}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||z(this._redraw,this))},_extendRedrawBounds:function(t){var i;t._pxBounds&&(i=(t.options.weight||0)+1,this._redrawBounds=this._redrawBounds||new I,this._redrawBounds.extend(t._pxBounds.min.subtract([i,i])),this._redrawBounds.extend(t._pxBounds.max.add([i,i])))},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t,i=this._redrawBounds;i?(t=i.getSize(),this._ctx.clearRect(i.min.x,i.min.y,t.x,t.y)):(this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore())},_draw:function(){var t,i,e=this._redrawBounds;this._ctx.save(),e&&(i=e.getSize(),this._ctx.beginPath(),this._ctx.rect(e.min.x,e.min.y,i.x,i.y),this._ctx.clip()),this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!e||t._pxBounds&&t._pxBounds.intersects(e))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,i){if(this._drawing){var e,n,o,s,r=t._parts,a=r.length,h=this._ctx;if(a){for(h.beginPath(),e=0;e<a;e++){for(n=0,o=r[e].length;n<o;n++)s=r[e][n],h[n?"lineTo":"moveTo"](s.x,s.y);i&&h.closePath()}this._fillStroke(h,t)}}},_updateCircle:function(t){var i,e,n,o;this._drawing&&!t._empty()&&(i=t._point,e=this._ctx,n=Math.max(Math.round(t._radius),1),1!=(o=(Math.max(Math.round(t._radiusY),1)||n)/n)&&(e.save(),e.scale(1,o)),e.beginPath(),e.arc(i.x,i.y/o,n,0,2*Math.PI,!1),1!=o&&e.restore(),this._fillStroke(e,t))},_fillStroke:function(t,i){var e=i.options;e.fill&&(t.globalAlpha=e.fillOpacity,t.fillStyle=e.fillColor||e.color,t.fill(e.fillRule||"evenodd")),e.stroke&&0!==e.weight&&(t.setLineDash&&t.setLineDash(i.options&&i.options._dashArray||[]),t.globalAlpha=e.opacity,t.lineWidth=e.weight,t.strokeStyle=e.color,t.lineCap=e.lineCap,t.lineJoin=e.lineJoin,t.stroke())},_onClick:function(t){for(var i,e,n=this._map.mouseEventToLayerPoint(t),o=this._drawFirst;o;o=o.next)(i=o.layer).options.interactive&&i._containsPoint(n)&&(("click"===t.type||"preclick"===t.type)&&this._map._draggableMoved(i)||(e=i));this._fireEvent(!!e&&[e],t)},_onMouseMove:function(t){var i;!this._map||this._map.dragging.moving()||this._map._animatingZoom||(i=this._map.mouseEventToLayerPoint(t),this._handleMouseHover(t,i))},_handleMouseOut:function(t){var i=this._hoveredLayer;i&&(si(this._container,"leaflet-interactive"),this._fireEvent([i],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,i){if(!this._mouseHoverThrottled){for(var e,n,s=this._drawFirst;s;s=s.next)(e=s.layer).options.interactive&&e._containsPoint(i)&&(n=e);n!==this._hoveredLayer&&(this._handleMouseOut(t),n&&(oi(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseover"),this._hoveredLayer=n)),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(o((function(){this._mouseHoverThrottled=!1}),this),32)}},_fireEvent:function(t,i,e){this._map._fireDOMEvent(i,e||i.type,t)},_bringToFront:function(t){var i,e,n=t._order;n&&(i=n.next,e=n.prev,i&&((i.prev=e)?e.next=i:i&&(this._drawFirst=i),n.prev=this._drawLast,(this._drawLast.next=n).next=null,this._drawLast=n,this._requestRedraw(t)))},_bringToBack:function(t){var i,e,n=t._order;n&&(i=n.next,(e=n.prev)&&((e.next=i)?i.prev=e:e&&(this._drawLast=e),n.prev=null,n.next=this._drawFirst,this._drawFirst.prev=n,this._drawFirst=n,this._requestRedraw(t)))}});function Oe(t){return Ct.canvas?new Ie(t):null}var Re=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Ne=(dt={_initContainer:function(){this._container=$t("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Ae.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var i=t._container=Re("shape");oi(i,"leaflet-vml-shape "+(this.options.className||"")),i.coordsize="1 1",t._path=Re("path"),i.appendChild(t._path),this._updateStyle(t),this._layers[r(t)]=t},_addPath:function(t){var i=t._container;this._container.appendChild(i),t.options.interactive&&t.addInteractiveTarget(i)},_removePath:function(t){var i=t._container;Qt(i),t.removeInteractiveTarget(i),delete this._layers[r(t)]},_updateStyle:function(t){var i=t._stroke,e=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(i=i||(t._stroke=Re("stroke")),o.appendChild(i),i.weight=n.weight+"px",i.color=n.color,i.opacity=n.opacity,n.dashArray?i.dashStyle=g(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):i.dashStyle="",i.endcap=n.lineCap.replace("butt","flat"),i.joinstyle=n.lineJoin):i&&(o.removeChild(i),t._stroke=null),n.fill?(e=e||(t._fill=Re("fill")),o.appendChild(e),e.color=n.fillColor||n.color,e.opacity=n.fillOpacity):e&&(o.removeChild(e),t._fill=null)},_updateCircle:function(t){var i=t._point.round(),e=Math.round(t._radius),n=Math.round(t._radiusY||e);this._setPath(t,t._empty()?"M0 0":"AL "+i.x+","+i.y+" "+e+","+n+" 0,23592600")},_setPath:function(t,i){t._path.v=i},_bringToFront:function(t){ii(t._container)},_bringToBack:function(t){ei(t._container)}},Ct.vml?Re:K),De=Ae.extend({_initContainer:function(){this._container=Ne("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Ne("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Qt(this._container),wi(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){var t,i,e;this._map._animatingZoom&&this._bounds||(Ae.prototype._update.call(this),i=(t=this._bounds).getSize(),e=this._container,this._svgSize&&this._svgSize.equals(i)||(this._svgSize=i,e.setAttribute("width",i.x),e.setAttribute("height",i.y)),ci(e,t.min),e.setAttribute("viewBox",[t.min.x,t.min.y,i.x,i.y].join(" ")),this.fire("update"))},_initPath:function(t){var i=t._path=Ne("path");t.options.className&&oi(i,t.options.className),t.options.interactive&&oi(i,"leaflet-interactive"),this._updateStyle(t),this._layers[r(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){Qt(t._path),t.removeInteractiveTarget(t._path),delete this._layers[r(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var i=t._path;t=t.options;i&&(t.stroke?(i.setAttribute("stroke",t.color),i.setAttribute("stroke-opacity",t.opacity),i.setAttribute("stroke-width",t.weight),i.setAttribute("stroke-linecap",t.lineCap),i.setAttribute("stroke-linejoin",t.lineJoin),t.dashArray?i.setAttribute("stroke-dasharray",t.dashArray):i.removeAttribute("stroke-dasharray"),t.dashOffset?i.setAttribute("stroke-dashoffset",t.dashOffset):i.removeAttribute("stroke-dashoffset")):i.setAttribute("stroke","none"),t.fill?(i.setAttribute("fill",t.fillColor||t.color),i.setAttribute("fill-opacity",t.fillOpacity),i.setAttribute("fill-rule",t.fillRule||"evenodd")):i.setAttribute("fill","none"))},_updatePoly:function(t,i){this._setPath(t,Y(t._parts,i))},_updateCircle:function(t){var i=t._point,e=Math.max(Math.round(t._radius),1),n="a"+e+","+(Math.max(Math.round(t._radiusY),1)||e)+" 0 1,0 ";i=t._empty()?"M0 0":"M"+(i.x-e)+","+i.y+n+2*e+",0 "+n+2*-e+",0 ";this._setPath(t,i)},_setPath:function(t,i){t._path.setAttribute("d",i)},_bringToFront:function(t){ii(t._path)},_bringToBack:function(t){ei(t._path)}});function je(t){return Ct.svg||Ct.vml?new De(t):null}Ct.vml&&De.include(dt),Oi.include({getRenderer:function(t){return t=(t=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer)||(this._renderer=this._createRenderer()),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var i=this._paneRenderers[t];return void 0===i&&(i=this._createRenderer({pane:t}),this._paneRenderers[t]=i),i},_createRenderer:function(t){return this.options.preferCanvas&&Oe(t)||je(t)}});var He=de.extend({initialize:function(t,i){de.prototype.initialize.call(this,this._boundsToLatLngs(t),i)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=N(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});De.create=Ne,De.pointsToPath=Y,_e.geometryToLayer=pe,_e.coordsToLatLng=fe,_e.coordsToLatLngs=ge,_e.latLngToCoords=ve,_e.latLngsToCoords=ye,_e.getFeature=xe,_e.asFeature=we,Oi.mergeOptions({boxZoom:!0});X=Q.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){yi(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){wi(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Qt(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),Ft(),_i(),this._startPoint=this._map.mouseEventToContainerPoint(t),yi(document,{contextmenu:Si,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=$t("div","leaflet-zoom-box",this._container),oi(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var i=(t=new I(this._point,this._startPoint)).getSize();ci(this._box,t.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(Qt(this._box),si(this._container,"leaflet-crosshair")),Ut(),pi(),wi(document,{contextmenu:Si,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){1!==t.which&&1!==t.button||(this._finish(),this._moved&&(this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(o(this._resetState,this),0),t=new R(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point)),this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})))},_onKeyDown:function(t){27===t.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}}),Oi.addInitHook("addHandler","boxZoom",X),Oi.mergeOptions({doubleClickZoom:!0}),_t=Q.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var i=this._map,e=i.getZoom(),n=i.options.zoomDelta;e=t.originalEvent.shiftKey?e-n:e+n;"center"===i.options.doubleClickZoom?i.setZoom(e):i.setZoomAround(t.containerPoint,e)}});var We=(Oi.addInitHook("addHandler","doubleClickZoom",_t),Oi.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0}),Q.extend({addHooks:function(){var t;this._draggable||(t=this._map,this._draggable=new Vi(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))),oi(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){si(this._map._container,"leaflet-grab"),si(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t,i=this._map;i._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity?(t=N(this._map.options.maxBounds),this._offsetLimit=O(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))):this._offsetLimit=null,i.fire("movestart").fire("dragstart"),i.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){var i,e;this._map.options.inertia&&(i=this._lastTime=+new Date,e=this._lastPos=this._draggable._absPos||this._draggable._newPos,this._positions.push(e),this._times.push(i),this._prunePositions(i)),this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;1<this._positions.length&&50<t-this._times[0];)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),i=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=i.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,i){return t-(t-i)*this._viscosity},_onPreDragLimit:function(){var t,i;this._viscosity&&this._offsetLimit&&(t=this._draggable._newPos.subtract(this._draggable._startPos),i=this._offsetLimit,t.x<i.min.x&&(t.x=this._viscousLimit(t.x,i.min.x)),t.y<i.min.y&&(t.y=this._viscousLimit(t.y,i.min.y)),t.x>i.max.x&&(t.x=this._viscousLimit(t.x,i.max.x)),t.y>i.max.y&&(t.y=this._viscousLimit(t.y,i.max.y)),this._draggable._newPos=this._draggable._startPos.add(t))},_onPreDragWrap:function(){var t=this._worldWidth,i=Math.round(t/2),e=this._initialWorldOffset,n=((o=this._draggable._newPos.x)-i+e)%t+i-e,o=(o+i+e)%t-i-e;t=Math.abs(n+e)<Math.abs(o+e)?n:o;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=t},_onDragEnd:function(t){var i,e,n,o,s=this._map,r=s.options,a=!r.inertia||t.noInertia||this._times.length<2;s.fire("dragend",t),a?s.fire("moveend"):(this._prunePositions(+new Date),t=this._lastPos.subtract(this._positions[0]),a=(this._lastTime-this._times[0])/1e3,i=r.easeLinearity,a=(t=t.multiplyBy(i/a)).distanceTo([0,0]),e=Math.min(r.inertiaMaxSpeed,a),t=t.multiplyBy(e/a),n=e/(r.inertiaDeceleration*i),(o=t.multiplyBy(-n/2).round()).x||o.y?(o=s._limitOffset(o,s.options.maxBounds),z((function(){s.panBy(o,{duration:n,easeLinearity:i,noMoveStart:!0,animate:!0})}))):s.fire("moveend"))}})),Fe=(pt=(Oi.addInitHook("addHandler","dragging",We),Oi.mergeOptions({keyboard:!0,keyboardPanDelta:80}),Q.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),yi(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),wi(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){var t,i,e;this._focused||(e=document.body,t=document.documentElement,i=e.scrollTop||t.scrollTop,e=e.scrollLeft||t.scrollLeft,this._map._container.focus(),window.scrollTo(e,i))},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){for(var i=this._panKeys={},e=this.keyCodes,n=0,o=e.left.length;n<o;n++)i[e.left[n]]=[-1*t,0];for(n=0,o=e.right.length;n<o;n++)i[e.right[n]]=[t,0];for(n=0,o=e.down.length;n<o;n++)i[e.down[n]]=[0,t];for(n=0,o=e.up.length;n<o;n++)i[e.up[n]]=[0,-1*t]},_setZoomDelta:function(t){for(var i=this._zoomKeys={},e=this.keyCodes,n=0,o=e.zoomIn.length;n<o;n++)i[e.zoomIn[n]]=t;for(n=0,o=e.zoomOut.length;n<o;n++)i[e.zoomOut[n]]=-t},_addHooks:function(){yi(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){wi(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var i,e=t.keyCode,n=this._map;if(e in this._panKeys)n._panAnim&&n._panAnim._inProgress||(i=this._panKeys[e],t.shiftKey&&(i=A(i).multiplyBy(3)),n.panBy(i),n.options.maxBounds&&n.panInsideBounds(n.options.maxBounds));else if(e in this._zoomKeys)n.setZoom(n.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[e]);else{if(27!==e||!n._popup||!n._popup.options.closeOnEscapeKey)return;n.closePopup()}Si(t)}}})),mt=(Oi.addInitHook("addHandler","keyboard",pt),Oi.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60}),Q.extend({addHooks:function(){yi(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){wi(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var i=Bi(t),e=this._map.options.wheelDebounceTime;this._delta+=i,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date),i=Math.max(e-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(o(this._performZoom,this),i),Si(t)},_performZoom:function(){var t=this._map,i=t.getZoom(),e=this._map.options.zoomSnap||0,n=(t._stop(),this._delta/(4*this._map.options.wheelPxPerZoomLevel));n=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,e=e?Math.ceil(n/e)*e:n,n=t._limitZoom(i+(0<this._delta?e:-e))-i;this._delta=0,this._startTime=null,n&&("center"===t.options.scrollWheelZoom?t.setZoom(i+n):t.setZoomAround(this._lastMousePos,i+n))}})),ft=(Oi.addInitHook("addHandler","scrollWheelZoom",mt),Oi.mergeOptions({tapHold:Ct.touchNative&&Ct.safari&&Ct.mobile,tapTolerance:15}),Q.extend({addHooks:function(){yi(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){wi(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){var i;clearTimeout(this._holdTimeout),1===t.touches.length&&(i=t.touches[0],this._startPos=this._newPos=new E(i.clientX,i.clientY),this._holdTimeout=setTimeout(o((function(){this._cancel(),this._isTapValid()&&(yi(document,"touchend",Zi),yi(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",i))}),this),600),yi(document,"touchend touchcancel contextmenu",this._cancel,this),yi(document,"touchmove",this._onMove,this))},_cancelClickPrevent:function t(){wi(document,"touchend",Zi),wi(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),wi(document,"touchend touchcancel contextmenu",this._cancel,this),wi(document,"touchmove",this._onMove,this)},_onMove:function(t){t=t.touches[0],this._newPos=new E(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,i){(t=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:i.screenX,screenY:i.screenY,clientX:i.clientX,clientY:i.clientY}))._simulated=!0,i.target.dispatchEvent(t)}})),gt=(Oi.addInitHook("addHandler","tapHold",ft),Oi.mergeOptions({touchZoom:Ct.touch,bounceAtZoomLimits:!0}),Q.extend({addHooks:function(){oi(this._map._container,"leaflet-touch-zoom"),yi(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){si(this._map._container,"leaflet-touch-zoom"),wi(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var i,e,n=this._map;!t.touches||2!==t.touches.length||n._animatingZoom||this._zooming||(i=n.mouseEventToContainerPoint(t.touches[0]),e=n.mouseEventToContainerPoint(t.touches[1]),this._centerPoint=n.getSize()._divideBy(2),this._startLatLng=n.containerPointToLatLng(this._centerPoint),"center"!==n.options.touchZoom&&(this._pinchStartLatLng=n.containerPointToLatLng(i.add(e)._divideBy(2))),this._startDist=i.distanceTo(e),this._startZoom=n.getZoom(),this._moved=!1,this._zooming=!0,n._stop(),yi(document,"touchmove",this._onTouchMove,this),yi(document,"touchend touchcancel",this._onTouchEnd,this),Zi(t))},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var i=this._map,e=i.mouseEventToContainerPoint(t.touches[0]),n=i.mouseEventToContainerPoint(t.touches[1]),s=e.distanceTo(n)/this._startDist;if(this._zoom=i.getScaleZoom(s,this._startZoom),!i.options.bounceAtZoomLimits&&(this._zoom<i.getMinZoom()&&s<1||this._zoom>i.getMaxZoom()&&1<s)&&(this._zoom=i._limitZoom(this._zoom)),"center"===i.options.touchZoom){if(this._center=this._startLatLng,1==s)return}else{if(e=e._add(n)._divideBy(2)._subtract(this._centerPoint),1==s&&0===e.x&&0===e.y)return;this._center=i.unproject(i.project(this._pinchStartLatLng,this._zoom).subtract(e),this._zoom)}this._moved||(i._moveStart(!0,!1),this._moved=!0),M(this._animRequest),n=o(i._move,i,this._center,this._zoom,{pinch:!0,round:!1}),this._animRequest=z(n,this,!0),Zi(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,M(this._animRequest),wi(document,"touchmove",this._onTouchMove,this),wi(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}})),Oi.addInitHook("addHandler","touchZoom",gt),Oi.BoxZoom=X,Oi.DoubleClickZoom=_t,Oi.Drag=We,Oi.Keyboard=pt,Oi.ScrollWheelZoom=mt,Oi.TapHold=ft,Oi.TouchZoom=gt,t.Bounds=I,t.Browser=Ct,t.CRS=H,t.Canvas=Ie,t.Circle=ue,t.CircleMarker=le,t.Class=Z,t.Control=Di,t.DivIcon=Ze,t.DivOverlay=ze,t.DomEvent=$,t.DomUtil=J,t.Draggable=Vi,t.Evented=k,t.FeatureGroup=ne,t.GeoJSON=_e,t.GridLayer=Se,t.Handler=Q,t.Icon=oe,t.ImageOverlay=be,t.LatLng=D,t.LatLngBounds=R,t.Layer=lt,t.LayerGroup=ee,t.LineUtil=it,t.Map=Oi,t.Marker=ae,t.Mixin=tt,t.Path=he,t.Point=E,t.PolyUtil=et,t.Polygon=de,t.Polyline=ce,t.Popup=Me,t.PosAnimation=Ii,t.Projection=st,t.Rectangle=He,t.Renderer=Ae,t.SVG=De,t.SVGOverlay=Te,t.TileLayer=ke,t.Tooltip=Ce,t.Transformation=U,t.Util=C,t.VideoOverlay=Le,t.bind=o,t.bounds=O,t.canvas=Oe,t.circle=function(t,i,e){return new ue(t,i,e)},t.circleMarker=function(t,i){return new le(t,i)},t.control=Ri,t.divIcon=function(t){return new Ze(t)},t.extend=i,t.featureGroup=function(t,i){return new ne(t,i)},t.geoJSON=Pe,t.geoJson=ct,t.gridLayer=function(t){return new Se(t)},t.icon=function(t){return new oe(t)},t.imageOverlay=function(t,i,e){return new be(t,i,e)},t.latLng=j,t.latLngBounds=N,t.layerGroup=function(t,i){return new ee(t,i)},t.map=function(t,i){return new Oi(t,i)},t.marker=function(t,i){return new ae(t,i)},t.point=A,t.polygon=function(t,i){return new de(t,i)},t.polyline=function(t,i){return new ce(t,i)},t.popup=function(t,i){return new Me(t,i)},t.rectangle=function(t,i){return new He(t,i)},t.setOptions=_,t.stamp=r,t.svg=je,t.svgOverlay=function(t,i,e){return new Te(t,i,e)},t.tileLayer=Ee,t.tooltip=function(t,i){return new Ce(t,i)},t.transformation=V,t.version="1.8.0",t.videoOverlay=function(t,i,e){return new Le(t,i,e)},window.L);t.noConflict=function(){return window.L=Fe,this},window.L=t}));
```
|
? Roberts was an English footballer who played in the Football League for Everton.
Background
Roberts was a reserve centre-half at Everton during the inaugural Football League season. He got his chance to play at the end of the season.
League & Everton debut
Johnny Holt, the regular Everton centre-half, missed a few games due to injury and the visit of high-flying Wolverhampton Wanderers to Anfield on 9 February 1889 was one of those games missed. This gave Roberts a chance for his League and Everton debut in a match played on a frosty pitch that today - February 2018 - would not be played. Nick Ross, the Everton left-back, was missing playing for Lancashire County. The first half was end-to-end with both goalkeepers in action. However, as the half came to an end Edgar Chadwick put Everton ahead. 1-0 to Everton at half-time. Everton continued to press the Wolves defence and only Billy Rose, the Wolves goalkeeper kept Everton from extending their lead. In the last 20 minutes Rose's good work paid off when Wolverhampton equalised. With the match nearly over and the game heading for a draw Wolverhampton stunned Everton with a winner which Everton players claimed was off-side. Final score - Everton 1-2 Wolverhampton Wanderers.
Playing record
Roberts only played once. When he left Everton is unknown and what happened to him after he left Everton is also unknown. Everton finished eighth in the League conceding 47 goals in 1888-1889.
References
1860s births
Date of death unknown
English men's footballers
Everton F.C. players
English Football League players
Men's association football defenders
Place of birth missing
|
```objective-c
/* Interface to GNU libc specific functions for version information.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
You should have received a copy of the GNU Lesser General Public
<path_to_url */
#ifndef _GNU_LIBC_VERSION_H
#define _GNU_LIBC_VERSION_H 1
#include <features.h>
__BEGIN_DECLS
/* Return string describing release status of currently running GNU libc. */
extern const char *gnu_get_libc_release (void) __THROW;
/* Return string describing version of currently running GNU libc. */
extern const char *gnu_get_libc_version (void) __THROW;
__END_DECLS
#endif /* gnu/libc-version.h */
```
|
```smalltalk
namespace given_a_versioned_ODataController;
using Asp.Versioning.OData.Basic;
using static System.Net.HttpStatusCode;
#pragma warning disable IDE1006 // Naming Styles (X2D allowed for '-')
public class when_using_builtX2Din_conventions : BasicAcceptanceTest
#pragma warning restore IDE1006
{
[Theory]
[InlineData( "api/weatherforecasts?api-version=1.0" )]
[InlineData( "api/weatherforecasts/42?api-version=1.0" )]
public async Task then_get_should_return_200( string requestUrl )
{
// arrange
// act
var response = await GetAsync( requestUrl );
// assert
response.StatusCode.Should().Be( OK );
}
[Fact]
public async Task then_post_should_return_200()
{
// arrange
var forecast = new { date = DateTime.Today, temperature = 42d, summary = "Test" };
// act
var response = await PostAsync( "api/weatherforecasts?api-version=1.0", forecast );
// assert
response.StatusCode.Should().Be( OK );
}
[Fact]
public async Task then_put_should_return_200()
{
// arrange
var forecast = new { date = DateTime.Today, temperature = 42, summary = "Test" };
// act
var response = await PutAsync( "api/weatherforecasts/42?api-version=1.0", forecast );
// assert
response.StatusCode.Should().Be( OK );
}
[Fact]
public async Task then_patch_should_return_200()
{
// arrange
var forecast = new { summary = "Test" };
// act
var response = await PatchAsync( "api/weatherforecasts/42?api-version=1.0", forecast );
// assert
response.StatusCode.Should().Be( OK );
}
[Fact]
public async Task then_delete_should_return_200()
{
// arrange
// act
var response = await DeleteAsync( "api/weatherforecasts/42?api-version=1.0" );
// assert
response.StatusCode.Should().Be( OK );
}
public when_using_builtX2Din_conventions( BasicFixture fixture, ITestOutputHelper console )
: base( fixture ) => console.WriteLine( fixture.DirectedGraphVisualizationUrl );
}
```
|
```groff
.\" $OpenBSD: pair.4,v 1.4 2015/10/30 10:48:55 reyk Exp $
.\"
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate: October 30 2015 $
.Dt PAIR 4
.Os
.Sh NAME
.Nm pair
.Nd virtual Ethernet interface pair
.Sh SYNOPSIS
.Cd "pseudo-device pair"
.Sh DESCRIPTION
The
.Nm
interface simulates a normal Ethernet interface by encapsulating
standard network frames with an Ethernet header, specifically for use
in a pair of interfaces that are interconnected with each other.
.Pp
To use it, the administrator needs to create two
.Nm
interfaces and connect them;
the interfaces are
.Sq patched ,
as would be done with physical network ports.
All packets that are sent on the first interface are received on the
second interface.
.Sh EXAMPLES
Set up a pair of interfaces where each of them is a member of a different
.Xr rdomain 4 :
.Bd -literal -offset indent
# ifconfig pair1 rdomain 1 10.1.1.1/24 up
# ifconfig pair2 rdomain 2 10.1.1.2/24 up
# ifconfig pair1 patch pair2
# route -T 1 exec ping 10.1.1.2
.Ed
.Pp
When adding multiple
.Nm
to multiple
.Xr bridge 4
interfaces, it is possible to create a loop;
the system load will go up while it is busy sending packets from one
bridge to another and back.
By design, the driver does not prevent such loops by itself, but it is
possible to use the Spanning Tree Protocol (STP) to detect and remove
loops in the virtual network topology:
.Bd -literal -offset indent
# ifconfig pair0 up
# ifconfig pair1 rdomain 1 patch pair0 up
# ifconfig pair2 up
# ifconfig pair3 rdomain 1 patch pair2 up
# ifconfig bridge0 add pair0 add pair2 stp pair0 stp pair2 up
# ifconfig bridge1 add pair1 add pair3 stp pair1 stp pair3 up
.Ed
.Sh SEE ALSO
.Xr bridge 4 ,
.Xr inet 4 ,
.Xr inet6 4 ,
.Xr rdomain 4 ,
.Xr vether 4 ,
.Xr hostname.if 5 ,
.Xr ifconfig 8 ,
.Xr netstart 8
.Sh HISTORY
The
.Nm
interface first appeared in
.Ox 5.9 .
.Sh AUTHORS
The
.Nm
driver is based on
.Xr vether 4
by
.An Theo de Raadt Aq Mt deraadt@openbsd.org .
It has been extended and turned into
.Nm
by
.An Reyk Floeter Aq Mt reyk@openbsd.org .
.Sh CAVEATS
Unlike
.Xr vether 4 ,
the
.Nm
interface cannot be used as a stand-alone member in a
.Xr bridge 4 :
the link state remains down until it is connected to the second interface.
Any associated routes will be marked down until it is patched.
Use
.Xr vether 4
as a bridge endpoint for routing purposes instead.
.Sh BUGS
Like
.Xr tun 4 ,
the Ethernet address chosen will be partially random, and may
occasionally collide with another address.
```
|
Ico, el caballito valiente (meaning Ico, the brave little horse, also referred to as Ico, the Brave Horse) is a 1987 Argentine animated film based on a franchise that dates back to the 1970s.
History
It started as a TV series in 1981, before it was adapted into a feature film directed by Manuel García Ferré and written by Ines Geldstein. After a 3-to-5 year production period, the movie was completed in 1983 and due to be premiered at the International Kids Film Festival in Portugal that year. It was not until 4 years later, on 9 July 1987, that the movie was officially released in Argentina by an independent distributor.
Plot
Ico is a wild colt who lives in the forest with his mother and friends, including Jaba the boar whom he saves once from the Black Duke's hunt.
Each full moon the animals hear in the distance the frightening and mysterious tolling of a bell. Ico wants to find out who rings the bell and why.
One day he sees the royal parade and decides he wants to be the king's horse. He follows the parade and becomes friends with Larguirucho, the friendly castle horse keeper. In the night Ico tells his mother he wants to be the king's horse.
The next day, with Larguirucho's help, Ico sneaks into the castle where he meets the other stable horses. He learns that if he wants to be the King's horse, he has to talk to the Black Duke, the king's chief equerry, because he has the power to choose the king's horse. The horses warn Ico that the Black Duke is a very sinister and evil man.
Grandpa Mateo, the oldest horse in the stable, tells him about a mysterious phantom bell tolling that frightens the horses. As every time they hear it, a horse disappears from the stable and never returns.
The next day, walking in the castle, Ico meets Preciosa, the daughter of the King's horse, whilst running after her, the Black Duke catches him. Ico tells him that he wants to be the king's horse, so the Black Duke promises to train him to become a royal steed. However he orders his henchmen to make the training very hard to discourage the little colt. Larguirucho brings Ico some food after the exhausting training, then they hear the bell tolling again. Larguirucho runs back to the stable and realizes that another horse has gone missing. He goes to talk to the King, but the Black Duke blames him for stealing the horses and puts him into prison.
Later that night, Ico learns the story of the bell. It is said that an ancient greedy King conquered the neighbourhood and stole their gold. He melted the gold and cast a giant bell, whose tolling would remind the realm of his unlimited power. The bell was so huge, that the tower couldn't hold its tolling and crashed under its weight. The bell fell and buried the king underneath. The legend says that the ghost of the vain king, as a punishment for his greed, must toll the bell on each full moon.
Ico is determined to solve the mystery, as he thinks the person who tolls the bell is the same person that steals the horses from the stable. Ico sets off up the hill, to the ruins of the old castle, where he again meets Preciosa, who tells him her father – the king's horse – has gone missing. Ico discovers that it is the Black Duke and his henchmen who have stolen the horses from the stable. In order to use them to lift huge stones to then drop them on the bell to break it up for the gold. It is when this takes place that the tolling sounds. The Black Duke realizes Ico has seen them, so he captures him and ties him to the bell to be crashed by one of the stones. Preciosa sees this and runs to the forest for help, coming back with Ico's mom and friends. The Black Duke is clinging onto the swinging stone and rushing the horses to pull the ropes before Ico escapes. He finally cuts the rope so the rock would smash Ico, but Ico escapes at the last minute and the swinging stone turns and hits the bell, consequently crushing the Black Duke.
Larguirucho becomes the new chief barn keeper, and Ico is offered a position as one of the king's horses. However, at the last moment, Ico changes his mind, deciding he would rather remain a wild horse. Preciosa decides to join him in the prairie.
References
External links
1987 animated films
1987 films
Argentine animated films
1980s Spanish-language films
1983 animated films
1983 films
Animated films about horses
|
```c
/*
*
*
*/
#include <soc.h>
#include <stm32_ll_bus.h>
#include <stm32_ll_crs.h>
#include <stm32_ll_rcc.h>
#include <stm32_ll_utils.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/sys/util.h>
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include "clock_stm32_ll_common.h"
#if defined(STM32_PLL_ENABLED)
/**
* @brief Return PLL source
*/
__unused
static uint32_t get_pll_source(void)
{
/* Configure PLL source */
if (IS_ENABLED(STM32_PLL_SRC_HSI)) {
return LL_RCC_PLLSOURCE_HSI;
} else if (IS_ENABLED(STM32_PLL_SRC_HSE)) {
return LL_RCC_PLLSOURCE_HSE;
}
__ASSERT(0, "Invalid source");
return 0;
}
/**
* @brief get the pll source frequency
*/
__unused
uint32_t get_pllsrc_frequency(void)
{
if (IS_ENABLED(STM32_PLL_SRC_HSI)) {
return STM32_HSI_FREQ;
} else if (IS_ENABLED(STM32_PLL_SRC_HSE)) {
return STM32_HSE_FREQ;
}
__ASSERT(0, "Invalid source");
return 0;
}
/**
* @brief Set up pll configuration
*/
__unused
void config_pll_sysclock(void)
{
LL_RCC_PLL_ConfigDomain_SYS(get_pll_source(),
pllm(STM32_PLL_M_DIVISOR),
STM32_PLL_N_MULTIPLIER,
pllr(STM32_PLL_R_DIVISOR));
LL_RCC_PLL_EnableDomain_SYS();
}
#endif /* defined(STM32_PLL_ENABLED) */
/**
* @brief Activate default clocks
*/
void config_enable_default_clocks(void)
{
/* Enable the power interface clock */
LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_PWR);
#if defined(CRS)
if (IS_ENABLED(STM32_HSI48_CRS_USB_SOF)) {
LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_CRS);
/*
* After reset the CRS configuration register
* (CRS_CFGR) value corresponds to an USB SOF
* synchronization. FIXME: write it anyway.
*/
LL_CRS_EnableAutoTrimming();
LL_CRS_EnableFreqErrorCounter();
}
#endif /* defined(CRS) */
}
```
|
Basey is a municipality in Samar, Philippines.
Basey may also refer to:
Grant Basey (born 1988), Welsh former footballer
Phil Basey (born 1948), Welsh former footballer
See also
Base (disambiguation)
Basie (disambiguation)
Basye (disambiguation)
|
Seaside Communications is a Canadian cable television and telecommunications company. In 1975, Seaside was established in Sydney, Nova Scotia, when it was issued a cable licence from the CRTC. On August 23, 2021, Rogers Communications purchased Seaside Communications for an undisclosed amount.
Products
Digital, high-definition television and analog television, high-speed internet, home phone.
Service areas
Glace Bay, Nova Scotia, New Waterford, Nova Scotia, Reserve Mines, Louisbourg, Baddeck, Nova Scotia, St. Peter's, Nova Scotia, and surrounding communities such as Albert Bridge, Hornes Road, Hillside, Hills Road, Marion Bridge, Carabin's Trailer Park, Main-à-Dieu, Neal Cove, Bateston, Catalone and Catalone Road. Seaside signed a partnership agreement on July 6, 2020, with Eskasoni Communications to provide fiber optic service in Eskasoni First Nation.
Company history
1975 Seaside Cable TV Ltd.
1984 Seaside Cable TV (1984) Ltd. (Ownership Change) 1988 Seaside expands to the communities of Albert Bridge, Hornes Road, Hillside, Hills Road, Marion Bridge, Carabin's Trailer Park, Main-à-Dieu, Neal Cove, Bateston, Catalone and Catalone Road.
1991 Seaside acquires River Bourgeois Cablevision Limited.
1992 Seaside acquires Baddeck Cable T.V. Company Ltd.
1992 Seaside acquires St. Peter's Cablevision Limited.
2000 Seaside Communications Inc. (Name Change)
2006 Seaside adds Video on demand (VOD) services to its lineup.
2020 Seaside partners with Eskasoni Communications to provide service in the community.
2021 Rogers Communications acquires Seaside.
References
External links
Seaside Communications
Seaside Wireless High Speed
Cable and DBS companies of Canada
Telecommunications companies of Canada
Internet service providers of Canada
Companies based in the Cape Breton Regional Municipality
Telecommunications companies established in 1975
1975 establishments in Nova Scotia
|
Richard Hargreaves Duckworth (14 September 1882 – Q3 1965) was an English footballer who played as a wing half for Manchester United, with whom he won the Football League twice and the FA Cup once.
Career
Born in Manchester, he played for Smedley Road School and as a youth player for Harpurhey Wesleyan Juniors, Rossall Mission and Stretford. His first professional contract was with Newton Heath Athletic, who paid him 7 shillings and sixpence a week. As a centre-forward, he scored twice against the Manchester United reserves, and he was signed by the club in October 1903. He scored on his debut, a 4–2 win over Gainsborough Trinity on 19 December 1903. Although he played at right-half in the match, it was not until after a reserve team derby against Manchester City on Christmas Day 1903 that he was considered for the position on a regular basis. In 1904–05, he scored six goals in eight league appearances, his best goal return in a season.
By the 1906–07 season, Duckworth became Manchester United's regular right-half, forming an effective partnership with Charlie Roberts and Alex Bell. The following year, the club won their first major honour, the First Division title, and followed it up with the FA Cup a year later and another league title in 1911. In total, Duckworth scored 11 goals in 254 appearances for Manchester United. A severe knee injury meant he played his final game for the club against Middlesbrough on 15 November 1913, though he remained on their books until 1915. He was also part of a Football Association representative team on a tour of South Africa in 1910, and made five appearances for the Football League XI.
Personal life
After his retirement, Duckworth became a pub licensee, operating the Queen's Arms in Manchester as well as others in Bury, Royton, Castleton, Edenfield and Bacup. In 1949, while working in Edenfield, his 1909 FA Cup winner's medal, which he had lost 20 years earlier, was found in a pile of rubble at a hotel he had once managed. His death was registered in Rochdale in the third quarter of 1965. His son, also called Dick, was also a professional footballer who was on the books of Manchester United before playing in the Football League for Chesterfield, Rotherham United and York City; he later managed York, as well as Stockport County, Darlington and Scunthorpe United.
Career statistics
Honours
Club
Manchester United
First Division (2): 1907–08, 1910–11
FA Cup (1): 1908–09
References
Bibliography
Footnotes
1882 births
Year of death missing
People from Collyhurst
English men's footballers
Men's association football wing halves
Manchester United F.C. players
English Football League players
English Football League representative players
|
Arne Alf Robert Robertsson (23 March 1942 – 29 January 1991) was a Swedish heavyweight wrestler who won a bronze medal in Greco-Roman wrestling at the 1977 World Championships. He competed at the 1964 and 1968 Olympics in freestyle and at the 1976 Games in Greco-Roman wrestling, but was eliminated after two rounds on all occasions. At the European championships Robertsson won a silver medal in Greco-Roman and freestyle wrestling each.
References
1942 births
1991 deaths
Olympic wrestlers for Sweden
Wrestlers at the 1964 Summer Olympics
Wrestlers at the 1968 Summer Olympics
Wrestlers at the 1976 Summer Olympics
Swedish male sport wrestlers
World Wrestling Championships medalists
European Wrestling Championships medalists
People from Lidköping Municipality
Sportspeople from Västra Götaland County
20th-century Swedish people
|
```java
package com.vladsch.flexmark.ext.gfm.strikethrough;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({
StrikethroughTest.class,
StrikethroughTest.class,
ComboStrikethroughSpecTest.class,
ComboSubscriptSpecTest.class,
ComboStrikethroughSubscriptSpecTest.class,
//JiraStrikethroughSpecTest.class,
//YouTrackStrikethroughSpecTest.class,
})
public class ExtGfmStrikethroughTestSuite {
}
```
|
The Modern Sinner Nervous Man is an EP album by the Constantines. It was released April 16, 2002 on the Suicide Squeeze record label.
Track listing
"Dirty Business" – 3:28
"Underneath the Stop Sign" – 4:47
"Blind Luck" – 3:43
artwork done by Peter Gazendam
References
External links
SuicideSqueeze.net
Suicide Squeeze Records albums
Constantines albums
2002 debut EPs
|
The giant white-tailed rat (Uromys caudimaculatus) is an Australian rodent native to tropical rainforest of north Queensland, with subspecies occurring in New Guinea and the Aru Islands. It is one of the largest rodents in Australia, reaching up to 1 kg in weight. It is grey-brown above, cream to white below, and has a long, naked tail of which the distal section is white (Moore 1995).
Breeding commences in September or October, peaking in December and January at the height of the wet season. After a gestation of 36 days, a litter of two to three (rarely four) young are born, and remain with the mother for approximately three months (Moore 1995).
Common names
The common name of this species has long been white-tailed rat or giant white-tailed rat. During the 1990s there was a push for such descriptive English common names to be replaced with indigenous Australian names, and accordingly, in 1995 the Australian Nature Conservation Agency published recommendations for the common names of rodents. They compiled six indigenous names for this species: the Yidiny name Durrgim; the Jaabugay name Durrkin; the Gnog names Jikoy, Koojang and Parrongkai; and the Kuuku Ya'u name Thupi. Despite this they recommended the adoption of the name Mati, which is a general name for rats and mice recorded from the vicinity of the Peach River on Cape York. However this recommendation was not prescriptive, and it remains to be seen to what extent it will be adopted.
It is known as kabkal in the Kalam language of Papua New Guinea.
References
Uromys
Mammals described in 1867
Mammals of Queensland
Taxa named by Gerard Krefft
|
Kanch () is a village in the Arevut Municipality of the Aragatsotn Province of Armenia. The town is mostly populated by Yezidis.
References
Report of the results of the 2001 Armenian Census
Populated places in Aragatsotn Province
Yazidi populated places in Armenia
|
```c++
#include <ATen/Config.h>
#if AT_PARALLEL_NATIVE
#include <ATen/Parallel.h>
#include <ATen/ParallelFuture.h>
#include <ATen/PTThreadPool.h>
#ifndef C10_MOBILE
#include <c10/core/thread_pool.h>
#include <c10/util/irange.h>
#else
#include <caffe2/utils/threadpool/pthreadpool-cpp.h>
#endif // C10_MOBILE
#include <atomic>
#include <utility>
#ifdef _OPENMP
#include <omp.h>
#endif
#if AT_MKL_ENABLED()
#include <mkl.h>
#endif
namespace at {
namespace {
// used with _set_in_parallel_region to mark master thread
// as in parallel region while executing parallel primitives
thread_local bool in_parallel_region_ = false;
// thread number (task_id) set by parallel primitive
thread_local int thread_num_ = 0;
void _set_in_parallel_region(bool in_region) {
in_parallel_region_ = in_region;
}
} // namespace (anonymous)
namespace internal {
void set_thread_num(int thread_num) {
thread_num_ = thread_num;
}
}
namespace {
void _unset_thread_num() {
thread_num_ = 0;
}
#ifndef C10_MOBILE
const int NOT_SET = -1;
const int CONSUMED = -2;
// Number of threads set by the user
// NOT_SET -> positive value -> CONSUMED
// or
// NOT_SET -> CONSUMED
// Meaning:
// - NOT_SET - pool not initialized, user value is not set
// - positive value - pool not initialized, user value set
// - CONSUMED - pool is initialized
std::atomic<int> num_intraop_threads{NOT_SET};
int _num_pool_threads(int nthreads) {
if (nthreads == NOT_SET) {
nthreads = intraop_default_num_threads();
} else {
TORCH_INTERNAL_ASSERT(nthreads > 0);
}
// minus one because of the master thread
return nthreads - 1;
}
TaskThreadPoolBase& _get_intraop_pool() {
static std::shared_ptr<TaskThreadPoolBase> pool =
ThreadPoolRegistry()->Create(
"C10",
/* device_id */ 0,
/* pool_size */ _num_pool_threads(num_intraop_threads.exchange(CONSUMED)),
/* create_new */ true); // create a separate thread pool for intra-op
return *pool;
}
#endif // C10_MOBILE
// Run lambda function `fn` over `task_id` in [0, `range`) with threadpool.
// `fn` will be called with params: (thread_pool_task_id, task_id).
void _run_with_pool(const std::function<void(int, size_t)>& fn, size_t range) {
#ifndef C10_MOBILE
for (const auto i : c10::irange(1, range)) {
_get_intraop_pool().run([fn, i]() { fn((int)i, i); });
}
// Run the first task on the current thread directly.
fn(0, 0);
#else
caffe2::PThreadPool* const pool = caffe2::pthreadpool();
TORCH_INTERNAL_ASSERT(pool, "Invalid thread pool!");
pool->run(
// PThreadPool::run() is blocking. A std::function [const] reference to
// this lambda cannot go out of scope before PThreadPool::run() returns.
[&fn](const size_t task_id) {
fn(0 /* unused */, task_id);
}, range);
#endif // C10_MOBILE
}
// RAII guard helps to support in_parallel_region() and get_thread_num() API.
struct ParallelRegionGuard {
ParallelRegionGuard(int task_id) {
internal::set_thread_num(task_id);
_set_in_parallel_region(true);
}
~ParallelRegionGuard() {
_set_in_parallel_region(false);
_unset_thread_num();
}
};
} // namespace
namespace internal {
inline std::tuple<size_t, size_t> calc_num_tasks_and_chunk_size(
int64_t begin, int64_t end, int64_t grain_size) {
if ((end - begin) < grain_size) {
return std::make_tuple(1, std::max((int64_t)0, end - begin));
}
// Choose number of tasks based on grain size and number of threads.
size_t chunk_size = divup((end - begin), get_num_threads());
// Make sure each task is at least grain_size size.
chunk_size = std::max((size_t)grain_size, chunk_size);
size_t num_tasks = divup((end - begin), chunk_size);
return std::make_tuple(num_tasks, chunk_size);
}
void invoke_parallel(
const int64_t begin,
const int64_t end,
const int64_t grain_size,
const std::function<void(int64_t, int64_t)>& f) {
at::internal::lazy_init_num_threads();
size_t num_tasks = 0, chunk_size = 0;
std::tie(num_tasks, chunk_size) =
internal::calc_num_tasks_and_chunk_size(begin, end, grain_size);
struct {
std::atomic_flag err_flag = ATOMIC_FLAG_INIT;
std::exception_ptr eptr;
std::mutex mutex;
std::atomic_size_t remaining{0};
std::condition_variable cv;
} state;
auto task = [f, &state, begin, end, chunk_size]
(int /* unused */, size_t task_id) {
int64_t local_start = begin + task_id * chunk_size;
if (local_start < end) {
int64_t local_end = std::min(end, (int64_t)(chunk_size + local_start));
try {
ParallelRegionGuard guard(task_id);
f(local_start, local_end);
} catch (...) {
if (!state.err_flag.test_and_set()) {
state.eptr = std::current_exception();
}
}
}
{
std::unique_lock<std::mutex> lk(state.mutex);
if (--state.remaining == 0) {
state.cv.notify_one();
}
}
};
state.remaining = num_tasks;
_run_with_pool(std::move(task), num_tasks);
// Wait for all tasks to finish.
{
std::unique_lock<std::mutex> lk(state.mutex);
if (state.remaining != 0) {
state.cv.wait(lk);
}
}
if (state.eptr) {
std::rethrow_exception(state.eptr);
}
}
} // namespace internal
void init_num_threads() {
#ifdef _OPENMP
omp_set_num_threads(1);
#endif
#if AT_MKL_ENABLED()
mkl_set_num_threads(1);
#endif
#ifdef C10_MOBILE
caffe2::pthreadpool();
#endif
}
void set_num_threads(int nthreads) {
#ifndef C10_MOBILE
TORCH_CHECK(nthreads > 0, "Expected positive number of threads");
int no_value = NOT_SET;
if (!num_intraop_threads.compare_exchange_strong(no_value, nthreads)) {
// num_intraop_threads either stores a positive integer or CONSUMED,
// check that requested size is the same as the current one
int stored_nthreads = num_intraop_threads.load();
if (stored_nthreads <= 0) {
// plus one because of master thread
// NOLINTNEXTLINE(cppcoreguidelines-narrowing-conversions,bugprone-narrowing-conversions)
stored_nthreads = _get_intraop_pool().size() + 1;
}
if (stored_nthreads != nthreads) {
TORCH_WARN(
"Cannot set number of intraop threads "
"after parallel work has started or after set_num_threads call "
"when using native parallel backend");
}
}
#else
caffe2::PThreadPool* const pool = caffe2::pthreadpool();
TORCH_INTERNAL_ASSERT(pool, "Invalid thread pool!");
pool->set_thread_count(nthreads);
#endif // C10_MOBILE
}
int get_num_threads() {
at::internal::lazy_init_num_threads();
#ifndef C10_MOBILE
// not initializing pool unnecessarily,
// because pool cannot be resized after initialization
int nthreads = num_intraop_threads.load();
if (nthreads > 0) {
return nthreads;
} else if (nthreads == NOT_SET) {
return intraop_default_num_threads();
} else {
TORCH_INTERNAL_ASSERT(nthreads == CONSUMED);
// NOLINTNEXTLINE(cppcoreguidelines-narrowing-conversions,bugprone-narrowing-conversions)
return _get_intraop_pool().size() + 1;
}
#else
caffe2::PThreadPool* const pool = caffe2::pthreadpool();
TORCH_INTERNAL_ASSERT(pool, "Invalid thread pool!")
return in_parallel_region() ? 1 /* current thread */ : pool->get_thread_count();
#endif // C10_MOBILE
}
int get_thread_num() {
return thread_num_;
}
bool in_parallel_region() {
#ifndef C10_MOBILE
return in_parallel_region_ || (
num_intraop_threads.load() == CONSUMED &&
// Needed as intraop_launch() doesn't set in_parallel_region().
_get_intraop_pool().inThreadPool()
);
#else
return in_parallel_region_;
#endif // C10_MOBILE
}
void intraop_launch(std::function<void()> func) {
#ifndef C10_MOBILE
if (!in_parallel_region() && get_num_threads() > 1) {
_get_intraop_pool().run(std::move(func));
} else {
// execute inline if we're in parallel region
func();
}
#else
// TODO: caffe2::PThreadPool only provides a data-parallel API.
// Task parallelism is not currently supported.
func();
#endif // C10_MOBILE
}
c10::intrusive_ptr<c10::ivalue::Future> intraop_launch_future(
std::function<void()> func) {
#ifndef C10_MOBILE
auto future = c10::make_intrusive<c10::ivalue::Future>(c10::NoneType::get());
if (!in_parallel_region() && get_num_threads() > 1) {
_get_intraop_pool().run(
[func, future]() {
func();
future->markCompleted();
}
);
} else {
func();
future->markCompleted();
}
return future;
#else
// TODO: caffe2::PThreadPool only provides a data-parallel API.
// Task parallelism is not currently supported.
auto future = c10::make_intrusive<c10::ivalue::Future>(c10::dynT<NoneType>());
func();
future->markCompleted();
return future;
#endif // C10_MOBILE
}
} // namespace at
#endif
```
|
Stephen Shortridge (born October 23, 1951, in Red Oak, Iowa) is an American actor.
Shortridge appeared in more than 20 film and television projects throughout the 1970s and 1980s, most recognizably from his role as a Southern high school student named Beau De LaBarre on the television sitcom Welcome Back, Kotter. He has also done over 50 commercials for such products as Mennen, Coca-Cola, and Head & Shoulders. In 1987, he spent one year as a regular cast member on the soap opera The Bold and the Beautiful.
In the late 1980s, Shortridge quit the acting business to concentrate on painting. He presented gallery showings across the United States. He currently makes his home in Idaho with his children. His second wife, Cathy, whom he had married in 1976, died in 2017, leaving him a widower.
Shortridge is also an author. He published his first book in 2011 titled Deepest Thanks, Deeper Apologies.
Filmography
Bibliography
Deepest Thanks, Deeper Apologies, Worthy Publishing, 2011,
References
External links
Shortridge's gallery in Idaho
Q & A with Stephen Shortridge: meet artist and author, Stephen Charles Shortridge
1951 births
Living people
20th-century American painters
20th-century American male actors
American male painters
21st-century American painters
American male television actors
People from Red Oak, Iowa
20th-century American male artists
|
Lothar Engelhardt (5 July 1939 – 5 April 2010) was a graduated military scientist, Major General, and the last Commander in Chief of the National People's Army in the former German Democratic Republic.
Biography
Lothar Engelhardt was born on 5 July 1939 in Wangenheim, district of Gotha, as son of a farmer's family. He successfully passed the school-leaving examination of the secondary school and joined the Guard Regiment Hugo Eberlein of the National People's Army in 1959. There he became a professional soldier and applied in 1959 for the attendance of the Armord Corp's Officers School in Großenhain. After successful graduation in 1961 he became a professional officer and served as platoon leader in the 15th Armord Regiment () of the 7th Panzer Division. In this military unit he became also a member of the Socialist Unity Party of Germany.
Due to his permanent excellent performance Engelhardt was delegated to the Officer Higher Special School of the Ministry of National Defence (East Germany) (MOD East Germany) from 1962 to 1964, in order to receive combat reconnaissance training. After he passed successfully this course, he served in the reconnaissance division of the MOD East Germany until 1966.
This was followed by an assignment as company chief in the Reconnaissance Battalion 7 of the 7th Panzer Division. Because he performed in this unit excellent as well, he was delegated to high-school study on the Military University of the Armord Corps in Moscow (Soviet Union) from 1970 to 1973.
After successful graduation in military science (de: Diplommilitärwissenschaftler, Dipl.-Mil.) he served until 1976 as senior officer for reconnaissance in the Military District Command III (Leipzig).
During this tour of duty he was promoted to lieutenant colonel, attended diverse special courses, among other France language courses on the National People's Army's Foreign Language Institute in Naumburg.
Than he was appointed from 1978 to 1980 as chief of the Troop Reconnaissance Section (de: Unterabteilung Truppenaufklärung) subordinated to the Chief of Reconnaissance in the Department/Ground Forces Command in Potsdam (Gelto). This was followed by an assignment now as Chief of Reconnaissance of the Military District Command V (Neubrandenburg).
Hereafter Engelhardt was assigned to the command and general staff officers course to the General Staff Academy (Russia) from 1982 to 1984. After successful study colonel Engelhard was assigned as Chief of the Reconnaissance Reconnaissance Department of the Ground Forces Command. On this position he served until 1987. On 1 March 1988 he was designed to major general and became the Deputy Chief of Staff for Operative, and little after Deputy Commander in Chief and Chief of Staff in the Ground Forces Command. On 15 September 1990 he was designed to the Commander in Chief of the National People's Army in the new East German Ministry of Disarmament and Defense.
Retirement
With the disbandment of the National People's Army major general Engelhardt retired with effect from 2 October 1990.
Upon the reunification of Germany on 3 October 1990, Engelhardt was selected to serve as a civilian advisor with the Bundeswehr-Kommando Ost commanded by Lieutenant General Jörg Schönbohm. He was appointed advisor to the Bundeswehr liaison group headed by major general Hartmut Foertsch to the Group of Soviet Forces in Germany (Army General Boris Wassiljewitsch Snetkow; replaced by Colonel General Matwei Prokopjewitsch Burlakow on 13 December 1990). Additionally, Engelhardt was responsible for all general questions relating to the former National People's Army.
Orders and decorations
Among numerous orders and decorations major general Lothar Engelhardt was awarded with:
Order of Struggle “for Merit to the People and Fatherland” in Silver (Kampforden "Für Verdienste um Volk und Vaterland)
Medal of Merit of the German Democratic Republic (Verdienstmedaille der DDR)
Medal of Merit of the National People's Army in Gold
Medal Brotherhood in Arms
Medal 30th Anniversary of the Foundation of the GDR (Medaille 30. Jahrestag der Gründung der DDR)
Medal for Faithful Service in the National People's Army in Bronze, Silver, Gold, and 20 years service (Gold)
Sources, references
Schönbohm, Jörg. Two Armies and One Fatherland. Peter and Elfi Johnson, translators. Berghahn Books, Providence, Rhode Island, 1996 (originally published in 1992 in Germany as Zwei Armeen und ein Vaterland)
1939 births
2010 deaths
Major generals of the National People's Army (Ground Forces)
Military Academy of the General Staff of the Armed Forces of the Soviet Union alumni
|
Binti, is a 2021 Tanzanian drama film directed by Seko Shamte and co-produced by director herself with Alinda Ruhinda and Angela Ruhinda. The film stars Bertha Robert, Magdalena Munisi, Helen Hartmann and Godliver Gordian in the lead roles whereas Yann Sow, Alex Temu and Jonas Mugabe made supportive roles. The film revolves around four contemporary women characters in Dar es Salaam in four chapters: Tumaini, Angel, Stella and Rose.
The first Tanzanian film on Netflix. The film has been shot in and around Dar es Salaam, Tanzania. The color correction was done in India and Los Angeles, and the sound was done in Egypt. The screening was delayed two years due to COVID-19 pandemic. The film premiered on 8 March 2021 at the Pan African Film Festival for the International Women's Day. The film received mixed reviews from critics and screened in many film festivals.
Cast
Bertha Robert as Tumaini
Magdalena Munisi as Angel
Helen Hartmann as Stella
Godliver Gordian as Rose
Yann Sow as Emma
Alex Temu as Ben
Jonas Mugabe as James
Hadija Athumani Saidi as Young Tumaini
Hasham H. Hasham as Jeweler
Jaffari Makatu as Young Baba Tumaini
Levison Kulwa James as The Twins
James Doto James as The Twins
Betty Kazimbaya as Mama Tumaini
Akbar Thabiti as Nelson
Tiko Hassan as Tamala
Tamala S. Kateka as Get Away Driver
Francis Mpunga as Older Baba Tumaini
Anatoly Shmakor as European Policeman
Suleiman Mchora as Policeman
Neema Wlele as Catherine
Angel Henry George as Alinda
Jane Masha as Doris
Yasser Msellem as Omari
Sauda Simba Kilumanga as Mama Angel
Rita Paulsen as Doctor Ruhinda
Hailath Maiko as Stella's Assistant
Patricia David as Waitress
Kyan Ishau as Chris
Ruqahya Ramadhani as Irene
Abubakar Amri as Rose's Assistant
Chiku Seif as Fatima
Regina Kihwewle as School Teacher
Izack Lukindo as Doctor Shamte
Abdallah Minyuma as Computer Technician
Kiswiju Mpyanga as Mama Rose
References
External links
Tanzanian drama films
2021 films
2021 drama films
Swahili-language films
2020s English-language films
|
```go
//
//
// path_to_url
//
// Unless required by applicable law or agreed to in writing, software
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
package config
import (
"strings"
log "github.com/sirupsen/logrus"
)
// LoadConfigFromEnvironment extracts raw config parameters (identified by
// case-insensitive prefix "typha_") from the given OS environment variables.
// An environment entry of "TYPHA_FOO=bar" is translated to "foo": "bar".
func LoadConfigFromEnvironment(environ []string) map[string]string {
result := make(map[string]string)
for _, kv := range environ {
splits := strings.SplitN(kv, "=", 2)
if len(splits) < 2 {
log.Warningf("Ignoring malformed environment variable: %#v",
kv)
continue
}
key := strings.ToLower(splits[0])
value := splits[1]
if strings.HasPrefix(key, "typha_") {
splits = strings.SplitN(key, "_", 2)
paramName := splits[1]
log.Infof("Found typha environment variable: %#v=%#v",
paramName, value)
result[paramName] = value
}
}
return result
}
```
|
John Kyme or Cayme (by 1491 – between 1546 and 1553) was an English politician.
He was a Member (MP) of the Parliament of England for Lewes in 1542.
References
15th-century births
16th-century deaths
English MPs 1542–1544
|
```smalltalk
// THIS FILE IS PART OF WinFormium PROJECT
// COPYRIGHTS (C) Xuanchen Lin. ALL RIGHTS RESERVED.
// GITHUB: path_to_url
namespace WinFormium.CefGlue;
public struct CefColor
{
private uint _value;
public CefColor(uint argb)
{
_value = argb;
}
public CefColor(byte alpha, byte red, byte green, byte blue)
{
_value = unchecked((uint)((alpha << 24) | (red << 16) | (green << 8) | blue));
}
public byte A { get { return unchecked((byte)(_value >> 24)); } }
public byte R { get { return unchecked((byte)(_value >> 16)); } }
public byte G { get { return unchecked((byte)(_value >> 8)); } }
public byte B { get { return unchecked((byte)(_value)); } }
public uint ToArgb()
{
return _value;
}
}
```
|
The Green Tunisia Party (; ), is a Green political party in Tunisia. Legalized only since the Tunisian Revolution in 2011, it participated in the Popular Front coalition until 2014.
History
Founded in 2004 by Abdelkader Zitouni, the party remained illegal under the rule of Zine El Abidine Ben Ali, instead being countered by the newly founded bloc party Green Party for Progress. During this time, it was however internationally recognized by the European Green Party and the Global Greens.
The party was finally one of the three political parties legalized on 17 January 2011. Green Tunisia participated in the foundation of left-wing Popular Front coalition in 2012, but left on 16 May 2014, denouncing the hegemony of Workers' Party leader Hamma Hammami.
References
External links
2004 establishments in Tunisia
2004 in Tunisian politics
2011 in Tunisian politics
Ecosocialist parties
Formerly banned political parties in Tunisia
Global Greens member parties
Green parties in Africa
Political parties established in 2004
Political parties in Tunisia
Socialist parties in Tunisia
|
```javascript
var searchData=
[
['mac_5frow_5ff16',['MAC_ROW_F16',['../matrix__utils_8h.html#a39ab0537de6fbbcb197e569a5ba3ee68',1,'matrix_utils.h']]],
['mac_5frow_5ff32',['MAC_ROW_F32',['../matrix__utils_8h.html#a3644fae45322beef16bac089c88d20b2',1,'matrix_utils.h']]],
['mac_5frow_5ff64',['MAC_ROW_F64',['../matrix__utils_8h.html#a12ec826596b8fce879d9dd8a686b8bd8',1,'matrix_utils.h']]],
['mas_5frow_5ff16',['MAS_ROW_F16',['../matrix__utils_8h.html#a56e4eee08d87c8412a6b134f02517961',1,'matrix_utils.h']]],
['mas_5frow_5ff32',['MAS_ROW_F32',['../matrix__utils_8h.html#aefe7c7ca20d1340f9b6c6ccbeb0bd549',1,'matrix_utils.h']]],
['mas_5frow_5ff64',['MAS_ROW_F64',['../matrix__utils_8h.html#a3847068f146c2d404285dd5ba2b9ad40',1,'matrix_utils.h']]],
['max_5fblocksize',['MAX_BLOCKSIZE',['../arm__convolution__example__f32_8c.html#af8a1d2ed31f7c9a00fec46a798edb61b',1,'MAX_BLOCKSIZE(): arm_convolution_example_f32.c'],['../arm__dotproduct__example__f32_8c.html#af8a1d2ed31f7c9a00fec46a798edb61b',1,'MAX_BLOCKSIZE(): arm_dotproduct_example_f32.c'],['../arm__sin__cos__example__f32_8c.html#af8a1d2ed31f7c9a00fec46a798edb61b',1,'MAX_BLOCKSIZE(): arm_sin_cos_example_f32.c'],['../arm__variance__example__f32_8c.html#af8a1d2ed31f7c9a00fec46a798edb61b',1,'MAX_BLOCKSIZE(): arm_variance_example_f32.c']]],
['micro_5fq15',['MICRO_Q15',['../arm__mfcc__q15_8c.html#ab6ba741f32f368445cbd1e1b2caf1518',1,'arm_mfcc_q15.c']]],
['micro_5fq31',['MICRO_Q31',['../arm__mfcc__q31_8c.html#a6ad4ed99d48aab17f1d5d0f5e68f7e50',1,'arm_mfcc_q31.c']]],
['mu',['MU',['../arm__signal__converge__example__f32_8c.html#a09bc9e6a44f0291cfcf578f2efcddfab',1,'arm_signal_converge_example_f32.c']]],
['mult_5f32x32_5fkeep32',['mult_32x32_keep32',['../none_8h.html#abb4baa0192bbb6fabc9251af4b4cb322',1,'none.h']]],
['mult_5f32x32_5fkeep32_5fr',['mult_32x32_keep32_R',['../none_8h.html#a960f210642058d2b3d5368729a6e8375',1,'none.h']]],
['multacc_5f32x32_5fkeep32',['multAcc_32x32_keep32',['../none_8h.html#a58454519e12e8157f0a1c36071333655',1,'none.h']]],
['multacc_5f32x32_5fkeep32_5fr',['multAcc_32x32_keep32_R',['../none_8h.html#aba3e538352fc7f9d6d15f9a18d469399',1,'none.h']]],
['multsub_5f32x32_5fkeep32',['multSub_32x32_keep32',['../none_8h.html#a9ec66f3082a4c65c78075638255f42ab',1,'none.h']]],
['multsub_5f32x32_5fkeep32_5fr',['multSub_32x32_keep32_R',['../none_8h.html#a668fbf1cd1c3bc8faf1b1c83964ade23',1,'none.h']]]
];
```
|
Wolfe Tones GFC is a Gaelic Football club from Drogheda, County Louth, Ireland. It serves the residents of St Mary's Parish in south Drogheda and fields Gaelic football teams in competitions organised by Louth GAA. One of the oldest GAA clubs in Louth, Wolfe Tones play gaelic football at all age levels from nursery to adult.
The Tones' home ground is situated on Platin Road, beside the Boyne Valley Foods factory. The club's colours are royal blue and yellow.
History
The club was founded in 1922 by former members of the Owen Roes, a club formed in 1895 who played their football originally in the Meath Championship due to the lack of football in Louth. Although a portion of Drogheda has always been in Meath, the only ceding of GAA county boundaries was signed off by Louth GAA in a 1979 agreement sanctioned in 1986 by Leinster GAA. No reasons have been publicly disclosed as to why the smallest GAA county in Ireland would give away any territory.
The newly formed Wolfe Tones waited two years until they got their first competitive match in 1924, against fellow Drogheda side Boyne Rangers. This was also their first competitive win, outscoring the Rangers by 1–07 to 1–03. Before the rapid expansion of Drogheda in the 20th century, the club had the whole southern side of Drogheda within its catchment area. By 1940 they had won the Louth Senior Championship six times.
By 1980, a further four Gaelic football clubs had been formed in Drogheda - Oliver Plunketts, Naomh Mhuire (now defunct), O'Raghallaighs and St Nicholas. This dilution of the GAA member base in Drogheda was a factor in the decline of the club's fortunes. Consequently, The Tones have competed in the Louth Junior Football Championship since the 1970s.
The club won the Louth Division 3B League title in 2021. Their progress continued in 2022, qualifying for the semi-final stage of the Junior Championship for the first time since 1993, coinciding with centenary celebrations.
In recent years, the club has also entered Ladies' teams in Louth LGFA competitions.
Inter-County level
Wolfe Tones players have contributed to several Louth successes in All-Ireland championships.
Michael McKeown, Frank Pentony and John Murray won All-Ireland Junior Football Championship medals as part of the county's first title-winning team at the grade in 1925.
Michael McKeown won a Railway Cup medal with Leinster in 1928.
His brothers Nicky, Paddy and Tom all played for Louth.
Frank Byrne made 25 Championship appearances for Louth and captained Wolfe Tones to the League and Championship double in 1927.
Vincent Kerr was right half-back on the Louth side that won the All-Ireland Junior Championship in 1932. Two years later, he won a second All-Ireland medal at the grade and was joined on the 1934 team by fellow Tones' man Joe Collins.
Michael Cunningham and James Reilly were members of the minor team that won Louth's first All-Ireland Minor Football Championship title in 1936.
Oliver Coombes was right corner-back and Michael Kelly centre half-back on the Louth team that won the 1961 All-Ireland Junior Football Championship.
Martin Cassidy won an All-Ireland 'B' Championship medal with Louth in 1997.
Honours
Louth Senior Football Championship (6): 1925, 1926, 1927, 1929, 1931, 1937
Louth Senior Football League (5): 1927, 1928, 1931, 1934, 1935
Louth Junior A Football League (1): 1962
O'Hanlon Cup (1): 1927
Feis Cup (1): 1947
Louth Junior 2B Football Championship (1): 2008
Louth Junior 1 Football League Division 3B (1): 2021
Louth Division 3 Shield (1): 2019
Louth Minor 'B' Football Championship (1): 2000
Louth Under-14 Football Championship (1): 1997
Louth Under-16 Football Championship (1): 1999
Louth Under-15 Football League (1): 2005
Louth Minor Football League Division 4 (1): 2008
External links
Official club website
References
Gaelic games clubs in County Louth
Gaelic football clubs in County Louth
|
```go
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package mux
import (
"errors"
"fmt"
"net/http"
"net/url"
"regexp"
"strings"
)
// Route stores information to match a request and build URLs.
type Route struct {
// Parent where the route was registered (a Router).
parent parentRoute
// Request handler for the route.
handler http.Handler
// List of matchers.
matchers []matcher
// Manager for the variables from host and path.
regexp *routeRegexpGroup
// If true, when the path pattern is "/path/", accessing "/path" will
// redirect to the former and vice versa.
strictSlash bool
// If true, when the path pattern is "/path//to", accessing "/path//to"
// will not redirect
skipClean bool
// If true, "/path/foo%2Fbar/to" will match the path "/path/{var}/to"
useEncodedPath bool
// If true, this route never matches: it is only used to build URLs.
buildOnly bool
// The name used to build URLs.
name string
// Error resulted from building a route.
err error
buildVarsFunc BuildVarsFunc
}
func (r *Route) SkipClean() bool {
return r.skipClean
}
// Match matches the route against the request.
func (r *Route) Match(req *http.Request, match *RouteMatch) bool {
if r.buildOnly || r.err != nil {
return false
}
// Match everything.
for _, m := range r.matchers {
if matched := m.Match(req, match); !matched {
return false
}
}
// Yay, we have a match. Let's collect some info about it.
if match.Route == nil {
match.Route = r
}
if match.Handler == nil {
match.Handler = r.handler
}
if match.Vars == nil {
match.Vars = make(map[string]string)
}
// Set variables.
if r.regexp != nil {
r.regexp.setMatch(req, match, r)
}
return true
}
// your_sha256_hash------------
// Route attributes
// your_sha256_hash------------
// GetError returns an error resulted from building the route, if any.
func (r *Route) GetError() error {
return r.err
}
// BuildOnly sets the route to never match: it is only used to build URLs.
func (r *Route) BuildOnly() *Route {
r.buildOnly = true
return r
}
// Handler your_sha256_hash----
// Handler sets a handler for the route.
func (r *Route) Handler(handler http.Handler) *Route {
if r.err == nil {
r.handler = handler
}
return r
}
// HandlerFunc sets a handler function for the route.
func (r *Route) HandlerFunc(f func(http.ResponseWriter, *http.Request)) *Route {
return r.Handler(http.HandlerFunc(f))
}
// GetHandler returns the handler for the route, if any.
func (r *Route) GetHandler() http.Handler {
return r.handler
}
// Name your_sha256_hash-------
// Name sets the name for the route, used to build URLs.
// If the name was registered already it will be overwritten.
func (r *Route) Name(name string) *Route {
if r.name != "" {
r.err = fmt.Errorf("mux: route already has name %q, can't set %q",
r.name, name)
}
if r.err == nil {
r.name = name
r.getNamedRoutes()[name] = r
}
return r
}
// GetName returns the name for the route, if any.
func (r *Route) GetName() string {
return r.name
}
// your_sha256_hash------------
// Matchers
// your_sha256_hash------------
// matcher types try to match a request.
type matcher interface {
Match(*http.Request, *RouteMatch) bool
}
// addMatcher adds a matcher to the route.
func (r *Route) addMatcher(m matcher) *Route {
if r.err == nil {
r.matchers = append(r.matchers, m)
}
return r
}
// addRegexpMatcher adds a host or path matcher and builder to a route.
func (r *Route) addRegexpMatcher(tpl string, matchHost, matchPrefix, matchQuery bool) error {
if r.err != nil {
return r.err
}
r.regexp = r.getRegexpGroup()
if !matchHost && !matchQuery {
if len(tpl) == 0 || tpl[0] != '/' {
return fmt.Errorf("mux: path must start with a slash, got %q", tpl)
}
if r.regexp.path != nil {
tpl = strings.TrimRight(r.regexp.path.template, "/") + tpl
}
}
rr, err := newRouteRegexp(tpl, matchHost, matchPrefix, matchQuery, r.strictSlash, r.useEncodedPath)
if err != nil {
return err
}
for _, q := range r.regexp.queries {
if err = uniqueVars(rr.varsN, q.varsN); err != nil {
return err
}
}
if matchHost {
if r.regexp.path != nil {
if err = uniqueVars(rr.varsN, r.regexp.path.varsN); err != nil {
return err
}
}
r.regexp.host = rr
} else {
if r.regexp.host != nil {
if err = uniqueVars(rr.varsN, r.regexp.host.varsN); err != nil {
return err
}
}
if matchQuery {
r.regexp.queries = append(r.regexp.queries, rr)
} else {
r.regexp.path = rr
}
}
r.addMatcher(rr)
return nil
}
// Headers your_sha256_hash----
// headerMatcher matches the request against header values.
type headerMatcher map[string]string
func (m headerMatcher) Match(r *http.Request, match *RouteMatch) bool {
return matchMapWithString(m, r.Header, true)
}
// Headers adds a matcher for request header values.
// It accepts a sequence of key/value pairs to be matched. For example:
//
// r := mux.NewRouter()
// r.Headers("Content-Type", "application/json",
// "X-Requested-With", "XMLHttpRequest")
//
// The above route will only match if both request header values match.
// If the value is an empty string, it will match any value if the key is set.
func (r *Route) Headers(pairs ...string) *Route {
if r.err == nil {
var headers map[string]string
headers, r.err = mapFromPairsToString(pairs...)
return r.addMatcher(headerMatcher(headers))
}
return r
}
// headerRegexMatcher matches the request against the route given a regex for the header
type headerRegexMatcher map[string]*regexp.Regexp
func (m headerRegexMatcher) Match(r *http.Request, match *RouteMatch) bool {
return matchMapWithRegex(m, r.Header, true)
}
// HeadersRegexp accepts a sequence of key/value pairs, where the value has regex
// support. For example:
//
// r := mux.NewRouter()
// r.HeadersRegexp("Content-Type", "application/(text|json)",
// "X-Requested-With", "XMLHttpRequest")
//
// The above route will only match if both the request header matches both regular expressions.
// It the value is an empty string, it will match any value if the key is set.
func (r *Route) HeadersRegexp(pairs ...string) *Route {
if r.err == nil {
var headers map[string]*regexp.Regexp
headers, r.err = mapFromPairsToRegex(pairs...)
return r.addMatcher(headerRegexMatcher(headers))
}
return r
}
// Host your_sha256_hash-------
// Host adds a matcher for the URL host.
// It accepts a template with zero or more URL variables enclosed by {}.
// Variables can define an optional regexp pattern to be matched:
//
// - {name} matches anything until the next dot.
//
// - {name:pattern} matches the given regexp pattern.
//
// For example:
//
// r := mux.NewRouter()
// r.Host("www.example.com")
// r.Host("{subdomain}.domain.com")
// r.Host("{subdomain:[a-z]+}.domain.com")
//
// Variable names must be unique in a given route. They can be retrieved
// calling mux.Vars(request).
func (r *Route) Host(tpl string) *Route {
r.err = r.addRegexpMatcher(tpl, true, false, false)
return r
}
// MatcherFunc your_sha256_hash
// MatcherFunc is the function signature used by custom matchers.
type MatcherFunc func(*http.Request, *RouteMatch) bool
// Match returns the match for a given request.
func (m MatcherFunc) Match(r *http.Request, match *RouteMatch) bool {
return m(r, match)
}
// MatcherFunc adds a custom function to be used as request matcher.
func (r *Route) MatcherFunc(f MatcherFunc) *Route {
return r.addMatcher(f)
}
// Methods your_sha256_hash----
// methodMatcher matches the request against HTTP methods.
type methodMatcher []string
func (m methodMatcher) Match(r *http.Request, match *RouteMatch) bool {
return matchInArray(m, r.Method)
}
// Methods adds a matcher for HTTP methods.
// It accepts a sequence of one or more methods to be matched, e.g.:
// "GET", "POST", "PUT".
func (r *Route) Methods(methods ...string) *Route {
for k, v := range methods {
methods[k] = strings.ToUpper(v)
}
return r.addMatcher(methodMatcher(methods))
}
// Path your_sha256_hash-------
// Path adds a matcher for the URL path.
// It accepts a template with zero or more URL variables enclosed by {}. The
// template must start with a "/".
// Variables can define an optional regexp pattern to be matched:
//
// - {name} matches anything until the next slash.
//
// - {name:pattern} matches the given regexp pattern.
//
// For example:
//
// r := mux.NewRouter()
// r.Path("/products/").Handler(ProductsHandler)
// r.Path("/products/{key}").Handler(ProductsHandler)
// r.Path("/articles/{category}/{id:[0-9]+}").
// Handler(ArticleHandler)
//
// Variable names must be unique in a given route. They can be retrieved
// calling mux.Vars(request).
func (r *Route) Path(tpl string) *Route {
r.err = r.addRegexpMatcher(tpl, false, false, false)
return r
}
// PathPrefix your_sha256_hash-
// PathPrefix adds a matcher for the URL path prefix. This matches if the given
// template is a prefix of the full URL path. See Route.Path() for details on
// the tpl argument.
//
// Note that it does not treat slashes specially ("/foobar/" will be matched by
// the prefix "/foo") so you may want to use a trailing slash here.
//
// Also note that the setting of Router.StrictSlash() has no effect on routes
// with a PathPrefix matcher.
func (r *Route) PathPrefix(tpl string) *Route {
r.err = r.addRegexpMatcher(tpl, false, true, false)
return r
}
// Query your_sha256_hash------
// Queries adds a matcher for URL query values.
// It accepts a sequence of key/value pairs. Values may define variables.
// For example:
//
// r := mux.NewRouter()
// r.Queries("foo", "bar", "id", "{id:[0-9]+}")
//
// The above route will only match if the URL contains the defined queries
// values, e.g.: ?foo=bar&id=42.
//
// It the value is an empty string, it will match any value if the key is set.
//
// Variables can define an optional regexp pattern to be matched:
//
// - {name} matches anything until the next slash.
//
// - {name:pattern} matches the given regexp pattern.
func (r *Route) Queries(pairs ...string) *Route {
length := len(pairs)
if length%2 != 0 {
r.err = fmt.Errorf(
"mux: number of parameters must be multiple of 2, got %v", pairs)
return nil
}
for i := 0; i < length; i += 2 {
if r.err = r.addRegexpMatcher(pairs[i]+"="+pairs[i+1], false, false, true); r.err != nil {
return r
}
}
return r
}
// Schemes your_sha256_hash----
// schemeMatcher matches the request against URL schemes.
type schemeMatcher []string
func (m schemeMatcher) Match(r *http.Request, match *RouteMatch) bool {
return matchInArray(m, r.URL.Scheme)
}
// Schemes adds a matcher for URL schemes.
// It accepts a sequence of schemes to be matched, e.g.: "http", "https".
func (r *Route) Schemes(schemes ...string) *Route {
for k, v := range schemes {
schemes[k] = strings.ToLower(v)
}
return r.addMatcher(schemeMatcher(schemes))
}
// BuildVarsFunc --------------------------------------------------------------
// BuildVarsFunc is the function signature used by custom build variable
// functions (which can modify route variables before a route's URL is built).
type BuildVarsFunc func(map[string]string) map[string]string
// BuildVarsFunc adds a custom function to be used to modify build variables
// before a route's URL is built.
func (r *Route) BuildVarsFunc(f BuildVarsFunc) *Route {
r.buildVarsFunc = f
return r
}
// Subrouter your_sha256_hash--
// Subrouter creates a subrouter for the route.
//
// It will test the inner routes only if the parent route matched. For example:
//
// r := mux.NewRouter()
// s := r.Host("www.example.com").Subrouter()
// s.HandleFunc("/products/", ProductsHandler)
// s.HandleFunc("/products/{key}", ProductHandler)
// s.HandleFunc("/articles/{category}/{id:[0-9]+}"), ArticleHandler)
//
// Here, the routes registered in the subrouter won't be tested if the host
// doesn't match.
func (r *Route) Subrouter() *Router {
router := &Router{parent: r, strictSlash: r.strictSlash}
r.addMatcher(router)
return router
}
// your_sha256_hash------------
// URL building
// your_sha256_hash------------
// URL builds a URL for the route.
//
// It accepts a sequence of key/value pairs for the route variables. For
// example, given this route:
//
// r := mux.NewRouter()
// r.HandleFunc("/articles/{category}/{id:[0-9]+}", ArticleHandler).
// Name("article")
//
// ...a URL for it can be built using:
//
// url, err := r.Get("article").URL("category", "technology", "id", "42")
//
// ...which will return an url.URL with the following path:
//
// "/articles/technology/42"
//
// This also works for host variables:
//
// r := mux.NewRouter()
// r.Host("{subdomain}.domain.com").
// HandleFunc("/articles/{category}/{id:[0-9]+}", ArticleHandler).
// Name("article")
//
// // url.String() will be "path_to_url"
// url, err := r.Get("article").URL("subdomain", "news",
// "category", "technology",
// "id", "42")
//
// All variables defined in the route are required, and their values must
// conform to the corresponding patterns.
func (r *Route) URL(pairs ...string) (*url.URL, error) {
if r.err != nil {
return nil, r.err
}
if r.regexp == nil {
return nil, errors.New("mux: route doesn't have a host or path")
}
values, err := r.prepareVars(pairs...)
if err != nil {
return nil, err
}
var scheme, host, path string
if r.regexp.host != nil {
// Set a default scheme.
scheme = "http"
if host, err = r.regexp.host.url(values); err != nil {
return nil, err
}
}
if r.regexp.path != nil {
if path, err = r.regexp.path.url(values); err != nil {
return nil, err
}
}
return &url.URL{
Scheme: scheme,
Host: host,
Path: path,
}, nil
}
// URLHost builds the host part of the URL for a route. See Route.URL().
//
// The route must have a host defined.
func (r *Route) URLHost(pairs ...string) (*url.URL, error) {
if r.err != nil {
return nil, r.err
}
if r.regexp == nil || r.regexp.host == nil {
return nil, errors.New("mux: route doesn't have a host")
}
values, err := r.prepareVars(pairs...)
if err != nil {
return nil, err
}
host, err := r.regexp.host.url(values)
if err != nil {
return nil, err
}
return &url.URL{
Scheme: "http",
Host: host,
}, nil
}
// URLPath builds the path part of the URL for a route. See Route.URL().
//
// The route must have a path defined.
func (r *Route) URLPath(pairs ...string) (*url.URL, error) {
if r.err != nil {
return nil, r.err
}
if r.regexp == nil || r.regexp.path == nil {
return nil, errors.New("mux: route doesn't have a path")
}
values, err := r.prepareVars(pairs...)
if err != nil {
return nil, err
}
path, err := r.regexp.path.url(values)
if err != nil {
return nil, err
}
return &url.URL{
Path: path,
}, nil
}
// GetPathTemplate returns the template used to build the
// route match.
// This is useful for building simple REST API documentation and for instrumentation
// against third-party services.
// An error will be returned if the route does not define a path.
func (r *Route) GetPathTemplate() (string, error) {
if r.err != nil {
return "", r.err
}
if r.regexp == nil || r.regexp.path == nil {
return "", errors.New("mux: route doesn't have a path")
}
return r.regexp.path.template, nil
}
// GetHostTemplate returns the template used to build the
// route match.
// This is useful for building simple REST API documentation and for instrumentation
// against third-party services.
// An error will be returned if the route does not define a host.
func (r *Route) GetHostTemplate() (string, error) {
if r.err != nil {
return "", r.err
}
if r.regexp == nil || r.regexp.host == nil {
return "", errors.New("mux: route doesn't have a host")
}
return r.regexp.host.template, nil
}
// prepareVars converts the route variable pairs into a map. If the route has a
// BuildVarsFunc, it is invoked.
func (r *Route) prepareVars(pairs ...string) (map[string]string, error) {
m, err := mapFromPairsToString(pairs...)
if err != nil {
return nil, err
}
return r.buildVars(m), nil
}
func (r *Route) buildVars(m map[string]string) map[string]string {
if r.parent != nil {
m = r.parent.buildVars(m)
}
if r.buildVarsFunc != nil {
m = r.buildVarsFunc(m)
}
return m
}
// your_sha256_hash------------
// parentRoute
// your_sha256_hash------------
// parentRoute allows routes to know about parent host and path definitions.
type parentRoute interface {
getNamedRoutes() map[string]*Route
getRegexpGroup() *routeRegexpGroup
buildVars(map[string]string) map[string]string
}
// getNamedRoutes returns the map where named routes are registered.
func (r *Route) getNamedRoutes() map[string]*Route {
if r.parent == nil {
// During tests router is not always set.
r.parent = NewRouter()
}
return r.parent.getNamedRoutes()
}
// getRegexpGroup returns regexp definitions from this route.
func (r *Route) getRegexpGroup() *routeRegexpGroup {
if r.regexp == nil {
if r.parent == nil {
// During tests router is not always set.
r.parent = NewRouter()
}
regexp := r.parent.getRegexpGroup()
if regexp == nil {
r.regexp = new(routeRegexpGroup)
} else {
// Copy.
r.regexp = &routeRegexpGroup{
host: regexp.host,
path: regexp.path,
queries: regexp.queries,
}
}
}
return r.regexp
}
```
|
The Focus of Life, The Mutterings of AOS is a comprehensive treatise written and illustrated by Austin Osman Spare on key occult concepts he introduced in his previous writings.
The book first published in 1921 by the Morland Press and edited by Fredrick Carter with an introduction by Francis Marsden. The book contains 11 full page illustrations.
The first edition was quarter vellum with buckram sides, lettered in gold on the spine "The Focus of Life". Released in 50 copies, numbered and signed on the half-title.
The book contains three "Aphorisms" along with various accounts of Spare's dreams. The "Aphorisms" section in this book is the sole comprehensive reference to three central ideas of Kia, Ikkah and ZOS.
In this book, Spare also introduces another important central concept of his teachings, the 'great duality':
Notes
1921 non-fiction books
Occult books
|
Henry Chamberlain may refer to:
Sir Henry Chamberlain, 1st Baronet (1773–1829), British diplomat
Sir Henry Chamberlain, 2nd Baronet (1796–1843), British Army officer and artist
For subsequent Chamberlain baronets, see Chamberlain baronets
Henry Chamberlain (Michigan politician) (1824–1907), Michigan politician
Henry Chamberlin (1925–1888), New Zealand politician often spelled Chamberlain
Henry Chamberlain, a character on the TV series The Secret Circle
Boeta Chamberlain (Henry Chamberlain, born 1999), South African rugby union player
See also
Chamberlain (surname)
|
Ryce is a surname variant of the Welsh name Rhys.
People with the name include:
Claudine Dianne Ryce (1942–2009), missing children's advocate, mother of Samuel James Ryce
Griffith Ryce (1478–1521), Welsh nobleman
Mark Ryce, guitarist of The Big Dish (band)
Samuel James Ryce (1985–1996), son of Claudine Dianne Ryce, victim of killer Juan Carlos Chavez
Joel Ryce-Menuhin (1933–1988), American pianist
Jamal Campbell-Ryce (born 1983), British soccer player
See also
Rhyce Shaw (born 1981) Australian rules football player
Reece (disambiguation)
Reese (disambiguation)
Rees (disambiguation)
Rhees (disambiguation)
Reis (disambiguation)
Rice (disambiguation)
Rise (disambiguation)
Ryse (disambiguation)
Rys (disambiguation)
|
Peperomia velutina is a species of flowering plant in the family Piperaceae, native to Colombia and Ecuador. It has gained the Royal Horticultural Society's Award of Garden Merit as a terrarium or greenhouse ornamental.
Subtaxa
The following varieties are accepted:
Peperomia velutina var. lanceolata C.DC. – Colombia
Peperomia velutina var. velutina – Ecuador
References
velutina
Flora of Colombia
Flora of Ecuador
Plants described in 1872
|
The Headies (originally called the Hip Hop World Awards) is a music awards show established in 2006 by the Hip Hop World Magazine of Nigeria to recognize outstanding achievements in the Nigerian music industry. The annual ceremony features performances by established and promising artists. It is broadcast live on HipTV to viewers across Nigeria. The first and second editions of The Headies were held at the Muson Center in Onikan, Lagos State. Between 2010 and 2012, the awards were held at the Eko Hotel and Suites in Victoria Island, Lagos. Several media personalities in Nigeria have hosted the annual ceremony, including Darey Art Alade, D'banj, Dakore Egbuson, Banky W., Rita Dominic, M.I, Tiwa Savage and Dr SID.
History and plaque
The image of The Headies was created by Ayo Animashaun, the founder of the awards, and drawn by Matthias Aragbada. The first Headie plaque was done by Jide Adewoye. It represents the "image and the shout of a young, vibrant individual whose talent can challenge that of renowned local and international artistes combined, but who has almost lost confidence in his abilities in the face of discouraging circumstances presented by the peculiar Nigerian environment." In 2008, the plaque was redone in the United Kingdom. It was plated with 21 carat gold. The new plaque is a mixture of resin, copper, steel, marble and gold.
As of 2018, The Headies is composed of 25 categories. Open voting decides majority of the awards' categories. However, the Best Recording of the Year, Best Rap Album, Best Vocal Performance (Male), Best Vocal Performance (Female), Lyricist on the Roll, and Best Performer categories are not open to public voting.
Notable moments
2000s
2006: The 1st edition of the Hip Hop World Awards was held on 10 March 2006, at the Shell Hall of the MUSON Centre in Onikan, Lagos. It was hosted by Darey Art Alade and tagged with the caption: "The Revolution is Here". DJ Jimmy Jatt, Keke Ogungbe and Dayo 'D1' Adeneye were joint winners of the Hall of Fame award. P-Square and Jude Okoye eclipsed their colleagues that year, taking home five awards.
2007: The 2nd edition of the Hip Hop World Awards was hosted by D'banj and Tana. It was held on 17 March 2007, at the Muson Center for the second consecutive year. Paul Play was nominated for six awards and ended up going home with four.
2008: The 3rd edition of the Hip Hop World Awards was hosted by comedian Basketmouth and Nollywood actress Dakore Egbuson. It was held on 15 March 2008, at Planet One in Maryland, Lagos. The founders and promoters chose the theme "Change has to Change". The nominees' party was held at Babylon, a private beach resort. In 2008, the plaque of The Headies was plated with 21 carat gold. Nigerian-French singer Aṣa won 3 awards, including Album of the Year for her eponymous debut studio album. 2face Idibia received the most nominations with six. Naeto C, Rooftop MCs, Cobhams Asuquo, Kween, Jo'zi, and P-Square all performed at the ceremony.
2009: The 4th edition of the Hip Hop World Awards was hosted by Banky W. and Kemi Adetiba. It took place on 16 May 2009, at the International Conference Centre in Abuja. The awards were held outside of Lagos for the first time. The nominees' party for the fourth edition was hosted at Ajibogun, a village in Ogun State. 9ice won a total of three awards from six nominations. Phillip Trimnell took home the Hall of Fame award.
2010: The 5th edition of the Hip Hop World Awards took place on 16 May 2009, at the Eko Hotel and Suites in Victoria Island, Lagos. The ceremony was conducted without a host. Wande Coal was the biggest winner of the night with five plaques, including Artiste of the Year. Don Jazzy won the Producer of the Year award. Hip hop duo Skuki won the Next Rated category. Da Grin's C.E.O won for Best Rap Album in a posthumous fashion. He was also honored by General Pype during the singer's performance.
2011: The 6th edition of the Hip Hop World Awards was held on 22 October 2011, at the Eko Hotel and Suites in Victoria Island, Lagos. Hosted by Rita Dominic and eLDee, the award's name was officially changed to "The Headies". 2face Idibia won three awards, including Artiste of the Year. Darey's "The Way You Are" won for Best R&B Single and Recording of the Year. M.I and Ice Prince won two awards apiece. Don Jazzy and Dr SID both took home an award. Capital Femi walked away with the Best Vocal Performance (Male) award. Wizkid won the Next Rated plaque and received a Hyundai Sonata at a later date. Waje was the only female awardee. The Hall of Fame award went to Jùjú musician Shina Peters. A total of twenty-one cart gold plaques were handed out.
2012: The 7th edition of The Headies was hosted by M.I and Omawumi. The ceremony took place on 20 October 2012, at the Eko Hotel and Suites in Victoria Island, Lagos. The aforementioned hosts thrilled fans with their song titled "The Headies". Chidinma opened the show by performing her song "Kedike". The Okoye brothers (Peter, Paul, and Jude) won a total of three awards. The Artiste of the Year award went to Wizkid. Tiwa Savage and Wande Coal won the Best Male and Female Vocal Performance categories, respectively. Vector won the Best Rap Single and Lyricist on the Roll plaques for "Angeli". Davido won the Next Rated category and was later awarded a Hyundai Sonata. The Headies celebrated the reunion of prominent Nigerian musicians from the 80s and 90s, including Onyeka Onwenu, Oris Wiliki, Mike Okori, Baba Fryo, Shina Peters, Fatai Rolling Dollar and Daddy Showkey. Femi Kuti was honored with the Hall of Fame award.
2013: The 8th edition of The Headies was held on 26 December 2013, at the Oriental Hotel in Lagos. The show was hosted by Tiwa Savage and Dr SID. Olamide was the biggest awardee of the night, winning three awards from seven nominations. Phyno won the Best Rap Single category for his song "Man of the Year". D'Tunes, Praiz, and Blackmagic all won for the first time. Sean Tizzle won the Next Rated category and was later awarded a Hyundai Tucson. Davido took home two awards, including Best R&B/Pop Album for Omo Baba Olowo. Iyanya only received one award from five nominations. Veteran Fuji artist Wasiu Ayinde Marshall was inducted into the Headies Hall of Fame. 2 Face Idibia, Banky W., Waje, Nikki Laoye, Mode 9, Dr SID and Kcee all went home with a plaque. Harrysong's tribute song to Nelson Mandela, titled "Mandela", won the Most Downloaded Callertune award.
2014: The 9th edition of The Headies took place on 14 December 2014, at the Eko Hotel and Suites in Victoria Island, Lagos. Themed "Feel the Passion", the show was hosted by Toke Makinwa and Basketmouth. It was initially scheduled to hold on 25 October 2014. Bovi was initially announced as one of the hosts, but ended up not hosting due to him being booked for another show. On 30 September 2014, nominations were announced during a press briefing at the HipTV office in Allen, Lagos. Kcee, Olamide and Phyno led the nominations with five each. Tiwa Savage, Oritse Femi and The Mavins followed closely with four apiece. Yemi Alade was nominated for Song of the Year, Best Pop Single and Next Rated. Olamide, Patoranking and Davido each took home two awards apiece. Don Jazzy won the Producer of the Year plaque, while Sir Victor Uwaifo got the Hall of Fame recognition.
2015: The 10th edition of The Headies was held on 1 January 2016, at the Landmark Events Centre in Victoria Island, Lagos. Themed "Flip the Script", the event was hosted by Bovi and Kaffy. It was previously scheduled to hold on 30 December 2015 but the organizers of the event postponed it to 1 January 2016 without citing any reason. Olamide won a total of four awards, while Timi Dakolo won three. Wizkid was nominated seven times across the twenty-one award categories. 2face Idibia was honored with the Hall of Fame award, while Don Jazzy received the Special Recognition award. Reekado Banks won the Next Rated award. His win was criticized by music critics, who challenged the "fairness of the award process".
2016: The 11th edition of The Headies was held on 22 December 2016, at the Eko Convention Centre in Victoria Island, Lagos. Themed "Think, Create, Recreate", the event was hosted by Adesua Etomi and Falz. The nominees were announced by the award's organizers in November 2016. Tekno was nominated for the Next Rated award, but ended up being disqualified due to his refusal to honour the category and support the campaign. Jazzman Olofin and Adewale Ayuba jointly performed the song "Raise the Roof". Aramide performed her song "Funmi Lowo" with assistance from Ras Kimono. The ceremony also featured additional performances from Falz, 2Baba, Seyi Shay and Flavour. Olamide received eight nominations and won a total of four, including Best Rap Single for his single "Eyan Mayweather". Mr Eazi won the Next Rated category and was awarded a SUV at a later date. Mayorkun toppled Dice Ailes and Koker for the Rookie of the Year award. Laolu Akins was honored with the Hall of Fame award, while Flavour received the Special Recognition award.
2018: The 12th edition of The Headies was held on 5 May 2018, at the Eko Convention Centre in Victoria Island, Lagos. Nigerian comedian Bovi and singer Seyi Shay hosted the ceremony. After shortlisting thousands of entries submitted during the eligibility period, the organizers of the ceremony announced the nominees in April 2018. They also announced the addition of three categories: Viewer's Choice, Best Performer, and Industry Brand Supporter. Simi led the nominations with 7, followed by Wizkid and Davido with 6 each. The ceremony featured performances from a number of artists, including Falz, Mr Real, Simi, and the Danfo Drivers. Pulse Nigeria praised the award's sound production and stage design. Davido, Wizkid and Simi won the most awards with 3 each. Mayorkun won the Next Rated award, beating Dice Ailes, Maleek Berry and Johnny Drille.
2019: The 13th edition of The Headies was held on 19 October 2019, at the Eko Convention Centre in Victoria Island, Lagos. Themed "Power of a Dream", the ceremony was hosted by Nigerian rapper Reminisce and actress/media personality Nancy Isime. After shortlisting thousands of entries submitted between January 2018 and June 2019, the organizers of the ceremony announced the nominees on 1 October 2019. Burna Boy set a record for the most nominations in one night with 10 nominations. Teni followed with 6 and Wizkid with 5. The ceremony featured performances from a number of artists, including Styl-Plus, Sunny Neji, Duncan Mighty, Teni and Victor AD. Teni won the most awards with 4. Rema won the Next Rated award, beating Fireboy DML, Joeboy, Lyta, Victor AD and Zlatan Ibile.
2020: The 14th edition of The Headies was held on 21 February 2021, at the La Campagne Tropicana Beach Resort in Ibeju-Lekki. Event organizers announced that TV personality and actress Nancy Isime and comedian Bovi were the hosts. This is the fourth time Bovi has hosted the event, while Nancy has become the first female to host the event for the second time.
2023: The 16th Headies Awards took place on Sunday, September 3, 2023, at the Cobb Energy Performing Arts Center in Atlanta, Georgia. The awards ceremony was hosted by Osas Ighodaro and Terrence J. Burna Boy led the nominations with 11 nominations, followed by Rema with 9 nominations. The biggest winners of the night were Rema and Burna Boy, who each took home 3 awards. Other notable winners included Wizkid, Davido, Ayra Starr, Asake and Omah Lay. The event was also marked by the induction of Angelique Kidjo into the Headies Hall of Fame.
Locations
16 2023 3 Sep. Atlanta,, Georgia United States cobb energy performing arts center Osas ighodaro and Terrence J
Award categories
Current categories
Voting
Best Rap Single (2006–present)
Song of the Year (2006–present)
Best Collaboration (2006–present)
Album of the Year (2006–present)
Next Rated (2006–present)
Hip Hop World Revelation of the Year (2006–present)
Producer of the Year (2006–present)
African Artiste of the Year (2006–present)
Best Music Video Director (2006–present)
Artiste of the Year (2006–present)
Best R&B/Pop Album (2006; 2008–present)
Best Street Hop Artiste (2009–present)
Best R&B Single (2010–present)
Best Pop Single (2010–present)
Rookie of the Year (2012–present)
Viewer's Choice (2018–present)
Best Afrobeat Pop Single (2022–present)
Best Afrobeat Pop Album (2022–present)
Best African Collaboration (2022–present)
Best International Collaboration (2022–present)
African Artist of the Year (2022–present)
Music Executive of the Year (2022–present)
International Artist of the Year (2022–present)
Music Executive of the Year (2022–present)
Non-voting
Best Recording of the Year (2006–present)
Best Rap Album (2006–present)
Best Vocal Performance (Female) (2006–present)
Best Vocal Performance (Male) (2006–present)
Lyricist on the Roll (2006–present)
Best Performer (2018–present)
Miscellaneous
Hall of Fame (2006–present)
Special Recognition Award (2015–present)
Past award categories
Most wins
4 and up, updated to the fourteenth edition (2021).
Awards and nominations
References
International music awards
Hip hop awards
Awards established in 2006
Victoria Island, Lagos
2006 in Nigerian music
Entertainment events in Nigeria
|
```python
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
#
# path_to_url
#
# Unless required by applicable law or agreed to in writing,
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# specific language governing permissions and limitations
from typing import Any
import tvm
from tvm.relax.frontend import nn
def test_mutator_naming_basic():
class Module0(nn.Module):
def __init__(self) -> None:
super().__init__()
self.param0 = nn.Parameter((32, 128), "float64")
class Module1(nn.Module):
def __init__(self) -> None:
super().__init__()
self.mod0 = Module0()
self.param1 = nn.Parameter((32, 128), "float32")
class Module2(nn.Module):
def __init__(self) -> None:
super().__init__()
self.mod1 = Module1()
self.param2 = nn.Parameter((32, 128), "float16")
class Module3(nn.Module):
def __init__(self) -> None:
super().__init__()
self.mod2 = Module2()
self.param3 = nn.Parameter((32, 128), "float8")
class Mutator(nn.Mutator):
def visit_param(self, name: str, node: nn.Parameter) -> Any:
if node.dtype == "float8":
assert name == "mod3.param3"
return node
elif node.dtype == "float16":
assert name == "mod3.mod2.param2"
return node
elif node.dtype == "float32":
assert name == "mod3.mod2.mod1.param1"
return node
elif node.dtype == "float64":
assert name == "mod3.mod2.mod1.mod0.param0"
return node
mod3 = Module3()
mutator = Mutator()
mutator.visit("mod3", mod3)
def test_mutator_naming_modulelist():
class Module(nn.Module):
def __init__(self, dtype) -> None:
super().__init__()
self.param = nn.Parameter((32, 128), dtype)
class Mutator(nn.Mutator):
def visit_param(self, name: str, node: nn.Parameter) -> Any:
if node.dtype == "float64":
assert name == "mod_list.0.0.param"
return node
elif node.dtype == "float32":
assert name == "mod_list.0.1.param"
return node
elif node.dtype == "float16":
assert name == "mod_list.1.0.param"
return node
elif node.dtype == "float8":
assert name == "mod_list.1.1.param"
return node
mod_list = nn.ModuleList(
[
nn.ModuleList([Module("float64"), Module("float32")]),
nn.ModuleList([Module("float16"), Module("float8")]),
]
)
mutator = Mutator()
mutator.visit("mod_list", mod_list)
def test_mutator_module():
class SubModule1(nn.Module):
def __init__(self) -> None:
super().__init__()
class SubModule2(nn.Module):
def __init__(self) -> None:
super().__init__()
class Module(nn.Module):
def __init__(self) -> None:
super().__init__()
self.mod = SubModule1()
class Mutator(nn.Mutator):
def visit_module(self, name: str, node: nn.Module) -> Any:
if isinstance(node, SubModule1):
return SubModule2()
else:
return node
mutator = Mutator()
module = Module()
assert isinstance(module.mod, SubModule1)
module = mutator.visit("", module)
assert isinstance(module.mod, SubModule2)
def test_mutator_modulelist():
class Module1(nn.Module):
def __init__(self) -> None:
super().__init__()
class Module2(nn.Module):
def __init__(self) -> None:
super().__init__()
class Module3(nn.Module):
def __init__(self) -> None:
super().__init__()
class Mutator(nn.Mutator):
def visit_module(self, name: str, node: nn.Module) -> Any:
if isinstance(node, Module3):
return Module1()
else:
return node
mutator = Mutator()
module_list = nn.ModuleList([Module1(), Module2(), Module3()])
assert isinstance(module_list[0], Module1)
assert isinstance(module_list[1], Module2)
assert isinstance(module_list[2], Module3)
module_list = mutator.visit("", module_list)
print(module_list[2])
assert isinstance(module_list[0], Module1)
assert isinstance(module_list[1], Module2)
assert isinstance(module_list[2], Module1)
def test_mutator_effect():
class Effect1(nn.Effect):
pass
class Effect2(nn.Effect):
pass
class Module(nn.Module):
def __init__(self) -> None:
super().__init__()
self.effect = Effect1()
class Mutator(nn.Mutator):
def visit_effect(self, name: str, node: nn.Effect) -> Any:
if isinstance(node, Effect1):
return Effect2()
mutator = Mutator()
module = Module()
assert isinstance(module.effect, Effect1)
module = mutator.visit("", module)
assert isinstance(module.effect, Effect2)
def test_mutator_param():
class Module(nn.Module):
def __init__(self) -> None:
super().__init__()
self.weight = nn.Parameter((128, 64), "float16")
class Mutator(nn.Mutator):
def visit_param(self, name: str, node: nn.Parameter) -> Any:
if node.dtype == "float16":
return nn.Parameter(node.shape, "float32")
mutator = Mutator()
module = Module()
assert module.weight.dtype == "float16"
module = mutator.visit("", module)
assert module.weight.dtype == "float32"
def test_mutator_recursively():
class SubModule(nn.Module):
def __init__(self) -> None:
super().__init__()
self.weight = nn.Parameter((128, 64), "float16")
class Module(nn.Module):
def __init__(self) -> None:
super().__init__()
self.mod = SubModule()
class Mutator(nn.Mutator):
def visit_param(self, name: str, node: nn.Parameter) -> Any:
if node.dtype == "float16":
return nn.Parameter(node.shape, "float32")
mutator = Mutator()
module = Module()
assert module.mod.weight.dtype == "float16"
module = mutator.visit("", module)
assert module.mod.weight.dtype == "float32"
if __name__ == "__main__":
tvm.testing.main()
```
|
Pablo Justiniani (born 9 March 1952) is a Panamanian weightlifter. He competed in the men's light heavyweight event at the 1976 Summer Olympics.
References
1952 births
Living people
Panamanian male weightlifters
Olympic weightlifters for Panama
Weightlifters at the 1976 Summer Olympics
Place of birth missing (living people)
Pan American Games medalists in weightlifting
Pan American Games bronze medalists for Panama
Weightlifters at the 1975 Pan American Games
20th-century Panamanian people
21st-century Panamanian people
|
Poonakary Divisional Council ( Pūṉakari Piratēca Capai; PDC) is the local authority for Poonakary DS Division in northern Sri Lanka. PDC is responsible for providing a variety of local public services including roads, sanitation, drains, housing, libraries, public parks and recreational facilities. It has 10 members elected using the open list proportional representation system.
History
In 1987 there was a major re-organisation of local government in Sri Lanka. District Development Councils were abolished and replaced by Divisional Councils (Pradeshiya Sabha or Pradesha Sabhai). The Pradeshiya Sabha Act No. 15 of 1987 was passed by Parliament on 15 April 1987 and on 1 January 1988 257 Divisional Councils started functioning. The Divisional Councils were generally commensurate with their namesake Divisional Secretary's Divisions. Poonakary Divisional Council was established as the local authority for Poonakary DS Division. However, according to the pro-LTTE TamilNet, the Sri Lankan government had suspended all local government in the north and east of the country in 1983 using emergency regulations. The civil war prevented elections from being held for PDC until 2011 as the LTTE did not hold when it controlled the area.
In March 1994 elections were held in the east and in Vavuniya in the north. However, elections were not held in other areas of the north, including the Jaffna peninsula, because most of these areas were at that time controlled by the rebel Tamil Tigers. In August 1995 the Sri Lankan military launched an offensive to recapture the Jaffna peninsula. By December 1995 the military had captured most of the Valikamam region of the peninsula, including the city of Jaffna. By 16 May 1996 the military had recaptured the entire peninsula. In late 1996 the government announced elections would be held for 23 local authorities in Jaffna District, Kilinochchi District, Mannar District and Vavuniya District but following opposition from Tamil political parties postponed them. On 3 December 1997 the government announced that elections would be held for the 17 local authorities on the Jaffna peninsula. The elections were held on 29 January 1998.
On 1 January 2002 local authority elections were called for the entire country. It was later announced that elections would be held on 25 March 2002 in the north and east, and on 20 March 2002 in the rest of the country. The normal life term of Sri Lankan local government bodies is four years. On 21 March 2002 the Election Commissioner announced that the elections in the north and east, except for eight local authorities in Ampara District, had been postponed until 25 September 2002. On 17 September 2002 elections in the north and east were postponed, for a second time, until 25 June 2003. In June 2003 elections in the north and east were postponed, for a third time, until 24 January 2004. In January 2004 elections in the north and east, except for local authorities in Ampara District, were postponed, for a fourth time, until 23 October 2004.
On 27 January 2006 local authority elections were called for the entire country. It was later announced that elections would be held on 30 March 2006 across the entire country. The Election Commissioner subsequently postponed the elections in the north and Batticaloa District until 30 September 2006. On 23 September 2006 elections in the north and Batticaloa District were postponed until 30 June 2007.
Election results
2011 local government election
Results of the local government election held on 23 July 2011:
The following candidates were elected: Thillainathan Ananthawarnan (TNA); Ibrahim Mohammathu Caseen (UPFA); Kulenthirarasa Kugenthiran (UPFA); Anthony Piyanvenu Noyals (UPFA); Sinnarasa Perinpanathan (TNA); Vallipuram Santhiralogarasalingam (UPFA); Ponnampalam Siriskantharasa (TNA); Samankumara Stella (TNA); Thankarasa Thankeswaran (TNA); and Sivaloganathan Yasotharan (TNA).
Ponnampalam Siriskantharasa (TNA) and Thankarasa Thankeswaran (TNA) were appointed Chairman and Deputy Chairman respectively.
References
Local authorities in Northern Province, Sri Lanka
Poonakary DS Division
|
Block Peak () is a peak, high, standing northwest of Mauger Nunatak in the Grosvenor Mountains. It was discovered by Rear Admiral Byrd on the Byrd Antarctic Expedition flight to the South Pole in November 1929, and named by him for William Block, son of Paul Block who was a patron of the expedition.
References
Mountains of the Ross Dependency
Dufek Coast
|
Gwangnyeong Muk clan () was one of the Korean clans. Their Bon-gwan was in Guangning County, China. According to the research in 2000, the number of Gwangnyeong Muk clan was 133. Muk clan was born in Liang County (), China. Gwangnyeong Muk clan’s founder was . He was a descendant of Mozi who was from Yang Province in China, and was a thinker from Lu in China’s Spring and Autumn period. He was naturalized in Joseon when he was a minister of defense (, Bingbu Shangshu) in Ming dynasty.
See also
Korean clan names of foreign origin
References
External links
Korean clans of Chinese origin
|
Bages (; ) is a commune in the Pyrénées-Orientales department in southern France.
Geography
Localisation
Bages is located in the canton of La Plaine d'Illibéris and in the arrondissement of Perpignan.
Government and politics
Mayors
Population
Notable person
Jean-Pierre Serre (born 1926 in Bages), mathematician
See also
Communes of the Pyrénées-Orientales department
References
Communes of Pyrénées-Orientales
|
The 6th Army () was an army level command of the German Army in World War I. It was formed on mobilization in August 1914 from the IV Army Inspectorate. The army was disbanded in 1919 during demobilization after the war.
History
At the outbreak of World War I, command of the army was given to Rupprecht, Crown Prince of Bavaria (Kronprinz Rupprecht von Bayern). The 6th Army initially consisted of the units of the Bavarian Army (which had retained military sovereignty after the unification of Germany), with some additional Prussian units. During the execution of Plan XVII, the 6th Army was stationed in the Central sector, covering Lorraine.
In August 1914, in the Battle of Lorraine, Rupprecht's 6th Army managed to hold against the French offensive, using a feigned withdrawal to lure the advancing armies onto prepared defensive positions.
After the Western Front turned to stalemate and the opposing forces formed lines of trenches, the 6th Army was based in Northern France. Most of the Bavarian units were gradually dispersed to other commands, with units from outside Bavaria joining the 6th Army. Nevertheless, command of the 6th Army remained with the Bavarian Crown Prince, who would eventually come to be regarded as one of Germany's most able generals.
On 24 September 1915 the 6th Army was the target for the British Army's first chlorine gas attack of the war. Despite the horrific casualties inflicted, the British offensive became bogged down after several days.
Rupprecht was promoted to the rank of field marshal (Generalfeldmarschall) in July 1916 and assumed command of Army Group Rupprecht on 28 August that year, consisting of the 1st, 2nd, 6th and 7th Armies. Following Rupprecht's promotion, command of the 6th Army was given to General Ludwig von Falkenhausen.
In March 1917 the 6th Army was the target for the assault of the Canadian and British forces at the Battle of Vimy Ridge. The 6th Army under von Falkenhausen suffered over 20,000 casualties in the ensuing fighting and were pushed back from the ridge by the Canadian Corps.
At the end of the war it was serving as part of Heeresgruppe Kronprinz Rupprecht.
Order of Battle, August 1914, Lorraine
For the Battle of Lorraine in August 1914, the 6th Army had the following composition:
Order of Battle, 30 October 1918
By the end of the war, the 6th Army was organised as:
Commanders
The 6th Army had the following commanders during its existence.
Glossary
Armee-Abteilung or Army Detachment in the sense of "something detached from an Army". It is not under the command of an Army so is in itself a small Army.
Armee-Gruppe or Army Group in the sense of a group within an Army and under its command, generally formed as a temporary measure for a specific task.
Heeresgruppe or Army Group in the sense of a number of armies under a single commander.
See also
6th Army (Wehrmacht) for the equivalent formation in World War II
German Army order of battle (1914)
German Army order of battle, Western Front (1918)
Schlieffen Plan
References
Bibliography
06
Military units and formations established in 1914
Military units and formations disestablished in 1919
|
Porto Alegre do Tocantins is a municipality in the state of Tocantins in the Northern region of Brazil.
See also
List of municipalities in Tocantins
References
Municipalities in Tocantins
|
```java
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
//
// path_to_url
//
// Unless required by applicable law or agreed to in writing,
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// specific language governing permissions and limitations
package org.apache.impala.common;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.apache.impala.util.Visitor;
import com.google.common.base.Predicate;
/**
* Generic tree structure. Only concrete subclasses of this can be instantiated.
*/
public abstract class TreeNode<NodeType extends TreeNode<NodeType>> {
protected List<NodeType> children_ = new ArrayList<>();
public NodeType getChild(int i) {
return hasChild(i) ? children_.get(i) : null;
}
public void addChild(NodeType n) {
children_.add(n);
}
public void removeChild(NodeType n) { children_.remove(n); }
public void clearChildren() { children_.clear(); }
public void addChildren(List<? extends NodeType> l) {
children_.addAll(l);
}
public boolean hasChild(int i) { return children_.size() > i; }
public void setChild(int index, NodeType n) { children_.set(index, n); }
public List<NodeType> getChildren() { return children_; }
public int getChildCount() { return children_.size(); }
/**
* Return list of all nodes of the tree rooted at 'this', obtained
* through pre-order traversal.
*
* Warning: this method is type-unsafe: it returns a list of nodes
* of the requested type, but does not verify that the actual
* nodes are indeed of that type.
*/
public <C extends TreeNode<NodeType>> List<C> getNodesPreOrder() {
List<C> result = new ArrayList<>();
getNodesPreOrderAux(result);
return result;
}
@SuppressWarnings("unchecked")
protected <C extends TreeNode<NodeType>> void getNodesPreOrderAux(
List<C> result) {
result.add((C) this);
for (NodeType child: children_) child.getNodesPreOrderAux(result);
}
/**
* Return list of all nodes of the tree rooted at 'this', obtained
* through post-order traversal.
*
* Warning: this method is type-unsafe: it returns a list of nodes
* of the requested type, but does not verify that the actual
* nodes are indeed of that type.
*/
public <C extends TreeNode<NodeType>> List<C> getNodesPostOrder() {
List<C> result = new ArrayList<>();
getNodesPostOrderAux(result);
return result;
}
@SuppressWarnings("unchecked")
protected <C extends TreeNode<NodeType>> void getNodesPostOrderAux(
List<C> result) {
for (NodeType child: children_) child.getNodesPostOrderAux(result);
result.add((C) this);
}
/**
* Count the total number of nodes in this tree. Leaf node will return 1.
* Non-leaf node will include all its children.
*/
public int numNodes() {
int numNodes = 1;
for (NodeType child: children_) numNodes += child.numNodes();
return numNodes;
}
/**
* This function helps to decide if a collect() should call itself recursively with the
* children of a given TreeNode.
*/
protected boolean shouldCollectRecursively() { return true; }
/**
* Add all nodes in the tree that satisfy 'predicate' to the list 'matches'
* This node is checked first, followed by its children in order. If the node
* itself matches, the children are skipped.
*/
@SuppressWarnings("unchecked")
public <C extends TreeNode<NodeType>, D extends C> void collect(
Predicate<? super C> predicate, Collection<D> matches) {
// TODO: the semantics of this function are very strange. contains()
// checks using .equals() on the nodes. In the case of literals, slotrefs
// and maybe others, two different tree node objects can be equal and
// this function would only return one of them. This is not intuitive.
// We rely on these semantics to not have duplicate nodes. Investigate this.
if (predicate.apply((C) this) && !matches.contains(this)) {
matches.add((D) this);
return;
}
if (shouldCollectRecursively()) {
for (NodeType child: children_) child.collect(predicate, matches);
}
}
/**
* Add all nodes in the tree that are of class 'cl' to the list 'matches'.
* This node is checked first, followed by its children in order. If the node
* itself is of class 'cl', the children are skipped.
*/
@SuppressWarnings("unchecked")
public <C extends TreeNode<NodeType>, D extends C> void collect(
Class<D> cl, Collection<D> matches) {
if (cl.isAssignableFrom(getClass())) {
matches.add((D) this);
return;
}
for (NodeType child: children_) child.collect(cl, matches);
}
/**
* Add all nodes in the tree that satisfy 'predicate' to the list 'matches'
* This node is checked first, followed by its children in order. All nodes
* that match in the subtree are added.
*/
@SuppressWarnings("unchecked")
public <C extends TreeNode<NodeType>, D extends C> void collectAll(
Predicate<? super C> predicate, List<D> matches) {
if (predicate.apply((C) this)) matches.add((D) this);
for (NodeType child: children_) child.collectAll(predicate, matches);
}
/**
* For each expression in 'nodeList', collect all subexpressions satisfying 'predicate'
* into 'matches'
*/
public static <C extends TreeNode<C>, D extends C> void collect(
Collection<C> nodeList, Predicate<? super C> predicate, Collection<D> matches) {
for (C node: nodeList) node.collect(predicate, matches);
}
/**
* For each expression in 'nodeList', collect all subexpressions of class 'cl'
* into 'matches'
*/
public static <C extends TreeNode<C>, D extends C> void collect(
Collection<C> nodeList, Class<D> cl, Collection<D> matches) {
for (C node: nodeList) node.collect(cl, matches);
}
/**
* Return true if this node or any of its children satisfy 'predicate'.
*/
@SuppressWarnings("unchecked")
public <C extends TreeNode<NodeType>> boolean contains(
Predicate<? super C> predicate) {
if (predicate.apply((C) this)) return true;
for (NodeType child: children_) if (child.contains(predicate)) return true;
return false;
}
/**
* Return true if this node or any of its children is an instance of class 'cl'.
*/
public <C extends TreeNode<NodeType>> boolean contains(Class<C> cl) {
if (cl.isAssignableFrom(getClass())) return true;
for (NodeType child: children_) if (child.contains(cl)) return true;
return false;
}
/**
* Returns true if this node or any of its children is 'node'.
*/
public boolean contains(NodeType node) {
if (this == node) return true;
for (NodeType child: children_) if (child.contains(node)) return true;
return false;
}
/**
* For each node in nodeList, return true if any subexpression satisfies
* contains('predicate').
*/
public static <C extends TreeNode<C>, D extends C> boolean contains(
Collection<C> nodeList, Predicate<? super C> predicate) {
for (C node: nodeList) if (node.contains(predicate)) return true;
return false;
}
/**
* Return true if any node in nodeList contains children of class cl.
*/
public static <C extends TreeNode<C>> boolean contains(
List<C> nodeList, Class<? extends C> cl) {
for (C node: nodeList) if (node.contains(cl)) return true;
return false;
}
/**
* Returns the first node/child of class cl (depth-first traversal).
*/
@SuppressWarnings("unchecked")
public <C extends NodeType> C findFirstOf(Class<C> cl) {
if (cl.isAssignableFrom(getClass())) return (C) this;
for (NodeType child: children_) {
NodeType result = child.findFirstOf(cl);
if (result != null) return (C) result;
}
return null;
}
/**
* Visitor pattern accept method
*/
@SuppressWarnings("unchecked")
public <C extends TreeNode<NodeType>> void accept(Visitor<C> visitor) {
visitor.visit((C) this);
for (NodeType p: children_) p.accept(visitor);
}
/**
* A variant of visitor pattern accept method that do post-order traversal instead
* of pre-order.
*/
@SuppressWarnings("unchecked")
public <C extends TreeNode<NodeType>> void postAccept(Visitor<C> visitor) {
for (NodeType p : children_) p.postAccept(visitor);
visitor.visit((C) this);
}
}
```
|
Mark of the Renegade is a 1951 American Adventure Western film directed by Hugo Fregonese starring Ricardo Montalbán and Cyd Charisse. The film is based on the novel Don Renegade by Johnston McCulley, and is set in Mexican-ruled Los Angeles in the 1820s.
Plot
In 1825, after fleeing a pirate ship, Marcos Zappa is taken to meet Don Pedro Garcia, whose ambition is to be emperor of California for the Republic of Mexico. Able to blackmail Marcos because of an "R" mark hidden beneath his bandanna permanently identifying Marcos as a renegade and traitor, Garcia schemes to have Marcos seduce and marry Manuella, the daughter of his rival, Jose de Marquez, having been rejected as a suitor himself.
Manuella is already engaged to be married to Miguel De Gandara. A gambling-house owner, Anita Gonzales, in league with Garcia, is angry when Marcos fails to succumb to her charms. Manuella is attracted to Marcos but not sure how much to trust him. He reveals the "R" brand as a demonstration of good faith. They spend a night together, whereupon her father insists they marry.
At the wedding, Miguel jealously challenges Marcos to a duel. Anita then exposes Marcos as a disloyal renegade, only to have it revealed that the "R" brand has been faked, with Marcos working undercover to unearth Garcia's treachery. In a sword fight, Marcos kills Garcia, then is free to marry Manuella.
Cast
Ricardo Montalbán as Marcos Zappa (as Ricardo Montalban)
Cyd Charisse as Manuella de Vasquez
J. Carrol Naish as Luis
Gilbert Roland as Don Pedro Garcia
Andrea King as Anita Gonzales
George Tobias as Captain Bardoso
Antonio Moreno as Jose De Vasquez
Georgia Backus as Duenna Concepcion
Robert Warwick as Colonel Vega
Armando Silvestre as Miguel De Gandara
References
Bibliography
Blottner, Gene. Universal-International Westerns, 1947–1963: The Complete Filmography. McFarland, 2000.
External links
1951 films
American historical adventure films
1950s historical adventure films
Films set in the 1820s
Films set in Los Angeles
Films based on American novels
Films directed by Hugo Fregonese
Universal Pictures films
American swashbuckler films
1951 Western (genre) films
American Western (genre) films
Films scored by Frank Skinner
Films based on works by Johnston McCulley
1950s English-language films
1950s American films
|
The 1972 World Championship Tennis circuit was one of the two rival professional male tennis circuits of 1972. It was organized by World Championship Tennis (WCT). The circuit included twenty-three regular events, and two circuit finals, one taking place in May, counting for the second half of the 1971 season, and the first part of the 1972 season, and a smaller one taking place in November, counting for the second half of the 1972 season, from July through November.
Schedule
This is the complete schedule of events on the 1972 WCT circuit, with player progression documented until the quarterfinals stage.
Key
February
March
April
May
July
August
September
October
November
Statistical information
These tables present the number of singles (S), and doubles (D) titles won by each player and each nation during the season, within all the tournament categories of the 1972 WCT circuit: the WCT Finals, and the regular series tournaments. The players/nations are sorted by: 1) total number of titles (a doubles title won by two players representing the same nation counts as only one win for the nation); 2) importance of those titles (a WCT Finals win equalling two regular tournaments wins); 3) a singles > doubles hierarchy; 4) alphabetical order (by family names for players).
Titles won by player
Titles won by nation
Standings
These are the standings of the top twenty singles players on the WCT circuit, at the end of the 1971 World Championship Tennis circuit, and after each edition of the WCT Finals in the 1972 season.
See also
1972 Grand Prix circuit
1972 USLTA Indoor Circuit
Association of Tennis Professionals
International Tennis Federation
References
External links
Association of Tennis Professionals (ATP) official website
International Tennis Federation (ITF) official website
World Championship Tennis circuit seasons
World Championship Tennis
|
Tor Tre Teste is a district of Rome, Italy, outside the city walls. It is located in Municipio VII along Via Praenestina. It has a population of 12,176.
The area was part of the Roman countryside until the middle of the 20th century. means "three heads' tower" and was named after a Roman funerary relief. One of the deceased is a veiled woman. The relief was walled into a tower built in the 12th century and belonging to the Lateran Basilica. Later the tower was incorporated into a small church.
This part of the Roman Campagna was built up rapidly in the second half of the 20th century. Important Roman archaeological remains were destroyed during the process. The modern district is mainly suburban sprawl, a blend of nondescript housing developments and industrial estates.
Notable places
Jubilee Church or chiesa di Dio Padre Misericordioso by Richard Meier was built in 2003 for the Great Jubilee of the Roman Catholic Church. The church features three large curved walls of pre-cast concrete. The project plays a part in the revitalization of the run-down area.
The ruins of the medieval tower are standing in a military precinct near Via Praenestina together with the small derelict 17th-century church. A copy of the Roman relief, after which the whole district was named, is attached to the wall.
References
Subdivisions of Rome
Rome Q. XXIII Alessandrino
|
```objective-c
CMFCPropertyGridCtrl m_wndPropList;
```
|
```python
#
#
# path_to_url
#
# Unless required by applicable law or agreed to in writing, software
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
import unittest
import numpy as np
import paddle
paddle.enable_static()
class TestBuildModule(unittest.TestCase):
def test_basic_network(self):
main_program = paddle.static.Program()
with paddle.static.program_guard(main_program):
x = paddle.static.data('x', [4, 4], dtype='float32')
y = paddle.static.data('y', [4, 4], dtype='float32')
divide_out = paddle.divide(x, y)
sum_out = paddle.sum(divide_out)
exe = paddle.static.Executor()
x_feed = np.ones([4, 4], dtype=np.float32) * 10
y_feed = np.ones([4, 4], dtype=np.float32) * 2
(sum_value,) = exe.run(
main_program,
feed={'x': x_feed, 'y': y_feed},
fetch_list=[sum_out],
)
self.assertEqual(sum_value, 5 * 4 * 4)
main_program = paddle.static.Program()
with paddle.static.program_guard(main_program):
x = paddle.static.data('x', [4, 4], dtype='float32')
out = paddle.mean(x)
exe = paddle.static.Executor()
x_feed = np.ones([4, 4], dtype=np.float32) * 10
(sum_value,) = exe.run(feed={'x': x_feed}, fetch_list=[out])
self.assertEqual(sum_value, 10)
def test_basic_network_without_guard(self):
x = paddle.static.data('x', [4, 4], dtype='float32')
y = paddle.static.data('y', [4, 4], dtype='float32')
divide_out = paddle.divide(x, y)
sum_out = paddle.sum(divide_out)
exe = paddle.static.Executor()
x_feed = np.ones([4, 4], dtype=np.float32) * 10
y_feed = np.ones([4, 4], dtype=np.float32) * 2
(sum_value,) = exe.run(
feed={'x': x_feed, 'y': y_feed},
fetch_list=[sum_out],
)
self.assertEqual(sum_value, 5 * 4 * 4)
out = paddle.mean(x)
exe = paddle.static.Executor()
x_feed = np.ones([4, 4], dtype=np.float32) * 10
(sum_value,) = exe.run(
feed={'x': x_feed, 'y': y_feed}, fetch_list=[out]
)
self.assertEqual(sum_value, 10)
def test_train_network(self):
x_data = np.array(
[[1.0], [3.0], [5.0], [9.0], [10.0], [20.0]], dtype="float32"
)
y_data = np.array(
[[12.0], [16.0], [20.0], [28.0], [30.0], [50.0]], dtype="float32"
)
main_program = paddle.static.Program()
startup_program = paddle.static.Program()
with paddle.static.program_guard(main_program, startup_program):
x = paddle.static.data(name="x", shape=[6, 1], dtype="float32")
y = paddle.static.data(name="y", shape=[6, 1], dtype="float32")
linear = paddle.nn.Linear(in_features=1, out_features=1)
mse_loss = paddle.nn.MSELoss()
sgd_optimizer = paddle.optimizer.SGD(
learning_rate=0.001, parameters=linear.parameters()
)
exe = paddle.static.Executor()
y_predict = linear(x)
loss = mse_loss(y_predict, y)
sgd_optimizer.minimize(loss)
exe.run(startup_program)
total_epoch = 5000
for i in range(total_epoch):
(loss_value,) = exe.run(
feed={'x': x_data, 'y': y_data}, fetch_list=[loss]
)
print(f"loss is {loss_value} after {total_epoch} iteration")
self.assertLess(loss_value, 0.1)
if __name__ == "__main__":
unittest.main()
```
|
Douglas Forvis Espinoza (born 17 May 1992) is a footballer who plays as a goalkeeper for Santos (Guápiles). Born in Costa Rica, he plays for the Nicaragua national team.
Career
As a youth player, Forvis joined the youth academy of Saprissa, Costa Rica's most successful club. After that, he signed for Liberia in the Costa Rican second division, helping them achieve promotion to the Costa Rican top flight.
In 2018, he signed for Costa Rican top flight side Santos (Guápiles).
International career
Born in Costa Rica, Forvis is of Jamaican descent through a grandmother. He moved to Nicaragua as a young age and is a naturalized citizen of the country. He debuted with the Nicaragua national team in a 2–0 friendly win over Cuba on 14 November 2021.
References
External links
Living people
1992 births
People from Guanacaste Province
Nicaraguan men's footballers
Nicaragua men's international footballers
Costa Rican men's footballers
Nicaraguan people of Costa Rican descent]
Nicaraguan people of Jamaican descent]
Costa Rican people of Jamaican descent
Costa Rican emigrants
Immigrants to Nicaragua
Men's association football goalkeepers
A.D. Municipal Liberia footballers
Santos de Guápiles F.C. footballers
Liga FPD players
|
Jana Kiššová (born 23 November 1974) is a Slovak manager and former politician. In 2010-2012 and again in 2014-2020 she served as a member of the National Council elected on the Freedom and Solidarity party ballot.
Early life
Kiššová was born on 23 November 1974 in Bratislava. She studied Finance at the University of Economics in Bratislava, graduating in 2001. Following her graduation, she worked as a manager in the HR sector.
Political career
Kiššová was among the founding members of Freedom and Solidarity (SaS) in 2009. She was first elected to parliament in 2010. In the 2012 Slovak parliamentary election, she failed to retain to seat. Nonetheless, she returned to parliament in 2014 as a replacement for Richard Sulík who became a Member of the European Parliament. In 2016 Slovak parliamentary election, she retained her seat. However in 2019 she left (SaS) over a conflict with the party leadership and joined a newly founded Democratic Party. Later that year she left the Democratic Party as well and, after 2020 Slovak parliamentary election, retired from politics.
In June 2023 she announced her return to Freedom and Solidarity and the intention to run in the 2023 Slovak parliamentary election.
Personal life
In 2018, she married the businessman Jozef Boskovič.
References
University of Economics in Bratislava alumni
Freedom and Solidarity politicians
Living people
1974 births
Members of the National Council (Slovakia) 2016–2020
Members of the National Council (Slovakia) 2012-2016
Members of the National Council (Slovakia) 2010-2012
Female members of the National Council (Slovakia)
Politicians from Bratislava
|
ATM Amin is a retired General of the Bangladesh Army. He is a former Director General of Forces Intelligence, and a former Director General of Ansar and VDP. He was forced into retirement in 2009.
Career
As brigadier general he was director of counter-terrorism unit Counter Terrorism and Intelligence Bureau of the DGFI . Later he was promoted to major general and appointed DG of DGFI. It is stated that under him the DGFI tried to create Islamic Democratic Party (IDP) in Bangladesh composed of members of Harakat ul-Jihad-Islami-Bangladesh and that he pressured former Prime Minister Sheikh Hasina to convince the US government to support the party. In the past after the 2004 Dhaka grenade attack he was accused and framed as helping one of the suspects escape from Bangladesh with support from DGFI officer Lieutenant Colonel Saiful Islam Joarder and Saiful Islam Duke, the nephew of Prime Minister Khaleda Zia.
Amin flew to the United States soon after the Awami League government came to power. As of 2020, he is a wanted fugitive in Bangladesh after being convicted in the criminal case over the 2004 Dhaka grenade attack.
References
Living people
Bangladesh Army generals
Directors General of the Directorate General of Forces Intelligence
Year of birth missing (living people)
|
Kivimurru Nature Reserve is a nature reserve which is located in Jõgeva County, Estonia.
The area of the nature reserve is 55 ha.
The protected area was founded in 1968 to protect Kivimurru Pine Forest in Võtikvere village. In 2013 the protected area was designated to the nature reserve.
References
Nature reserves in Estonia
Geography of Jõgeva County
|
Woodstock is a city in Pipestone County, Minnesota, United States. The population was 124 at the 2010 census.
History
Woodstock was platted in 1879. The city was named after Woodstock, Illinois. A post office has been in operation at Woodstock since 1879. Woodstock was incorporated in 1892.
Geography
According to the United States Census Bureau, the city has a total area of , all land.
Demographics
2010 census
As of the census of 2010, there were 124 people, 55 households, and 30 families living in the city. The population density was . There were 70 housing units at an average density of . The racial makeup of the city was 98.4% White, 0.8% Native American, and 0.8% Asian.
There were 55 households, of which 27.3% had children under the age of 18 living with them, 49.1% were married couples living together, 3.6% had a female householder with no husband present, 1.8% had a male householder with no wife present, and 45.5% were non-families. 36.4% of all households were made up of individuals, and 20% had someone living alone who was 65 years of age or older. The average household size was 2.25 and the average family size was 2.90.
The median age in the city was 45 years. 20.2% of residents were under the age of 18; 8% were between the ages of 18 and 24; 21.8% were from 25 to 44; 31.5% were from 45 to 64; and 18.5% were 65 years of age or older. The gender makeup of the city was 50.0% male and 50.0% female.
2000 census
As of the census of 2000, there were 132 people, 63 households, and 28 families living in the city. The population density was . There were 72 housing units at an average density of . The racial makeup of the city was 99.24% White and 0.76% Native American.
There were 63 households, out of which 23.8% had children under the age of 18 living with them, 42.9% were married couples living together, 1.6% had a female householder with no husband present, and 54.0% were non-families. 50.8% of all households were made up of individuals, and 31.7% had someone living alone who was 65 years of age or older. The average household size was 2.08 and the average family size was 3.24.
In the city, the population was spread out, with 25.0% under the age of 18, 2.3% from 18 to 24, 31.1% from 25 to 44, 14.4% from 45 to 64, and 27.3% who were 65 years of age or older. The median age was 40 years. For every 100 females, there were 85.9 males. For every 100 females age 18 and over, there were 80.0 males.
The median income for a household in the city was $17,500, and the median income for a family was $42,500. Males had a median income of $22,083 versus $19,250 for females. The per capita income for the city was $13,269. There were no families and 5.5% of the population living below the poverty line, including no under eighteens and 9.1% of those over 64.
Politics
Woodstock is located in Minnesota's 7th congressional district, represented by Collin Peterson, a Democrat. At the state level, Woodstock is located in Senate District 22, represented by Republican Bill Weber, and in House District 22A, represented by Republican Joe Schomacker.
References
Cities in Pipestone County, Minnesota
Cities in Minnesota
|
```c
/*
*
*/
#include <zephyr/drivers/counter.h>
#include <zephyr/spinlock.h>
#include <zephyr/irq.h>
#include <zephyr/arch/cpu.h>
#include <string.h>
#define DT_DRV_COMPAT andestech_atcpit100
/* register definitions */
#define REG_IDR 0x00 /* ID and Revision Reg. */
#define REG_CFG 0x10 /* Configuration Reg. */
#define REG_INTE 0x14 /* Interrupt Enable Reg. */
#define REG_ISTA 0x18 /* Interrupt Status Reg. */
#define REG_CHEN 0x1C /* Channel Enable Reg. */
#define REG_CTRL0 0x20 /* Channel 0 Control Reg. */
#define REG_RELD0 0x24 /* Channel 0 Reload Reg. */
#define REG_CNTR0 0x28 /* Channel 0 Counter Reg. */
#define REG_CTRL1 0x30 /* Channel 1 Control Reg. */
#define REG_RELD1 0x34 /* Channel 1 Reload Reg. */
#define REG_CNTR1 0x38 /* Channel 1 Counter Reg. */
#define REG_CTRL2 0x40 /* Channel 2 Control Reg. */
#define REG_RELD2 0x44 /* Channel 2 Reload Reg. */
#define REG_CNTR2 0x48 /* Channel 2 Counter Reg. */
#define REG_CTRL3 0x50 /* Channel 3 Control Reg. */
#define REG_RELD3 0x54 /* Channel 3 Reload Reg. */
#define REG_CNTR3 0x58 /* Channel 3 Counter Reg. */
#define PIT_BASE (((const struct atcpit100_config *)(dev)->config)->base)
#define PIT_INTE(dev) (PIT_BASE + REG_INTE)
#define PIT_ISTA(dev) (PIT_BASE + REG_ISTA)
#define PIT_CHEN(dev) (PIT_BASE + REG_CHEN)
#define PIT_CH_CTRL(dev, ch) (PIT_BASE + REG_CTRL0 + (ch << 4))
#define PIT_CH_RELD(dev, ch) (PIT_BASE + REG_RELD0 + (ch << 4))
#define PIT_CH_CNTR(dev, ch) (PIT_BASE + REG_CNTR0 + (ch << 4))
#define CTRL_CH_SRC_PCLK BIT(3)
#define CTRL_CH_MODE_32BIT BIT(0)
#define CHANNEL_NUM (4)
#define CH_NUM_PER_COUNTER (CHANNEL_NUM - 1)
#define TIMER0_CHANNEL(ch) BIT(((ch) * CHANNEL_NUM))
typedef void (*atcpit100_cfg_func_t)(void);
struct atcpit100_config {
struct counter_config_info info;
uint32_t base;
uint32_t divider;
uint32_t irq_num;
atcpit100_cfg_func_t cfg_func;
};
struct counter_atcpit100_ch_data {
counter_alarm_callback_t alarm_callback;
void *alarm_user_data;
};
struct atcpit100_data {
counter_top_callback_t top_callback;
void *top_user_data;
uint32_t guard_period;
struct k_spinlock lock;
struct counter_atcpit100_ch_data ch_data[CH_NUM_PER_COUNTER];
};
static inline uint32_t get_current_tick(const struct device *dev, uint32_t ch)
{
const struct atcpit100_config *config = dev->config;
uint32_t top, now_cnt;
/* Preload cycles is reload register + 1 */
top = sys_read32(PIT_CH_RELD(dev, ch)) + 1;
now_cnt = top - sys_read32(PIT_CH_CNTR(dev, ch));
return (now_cnt / config->divider);
}
static void atcpit100_irq_handler(void *arg)
{
struct device *dev = (struct device *)arg;
struct atcpit100_data *data = dev->data;
counter_alarm_callback_t cb;
uint32_t int_status, int_enable, ch_enable, cur_ticks;
uint8_t i;
ch_enable = sys_read32(PIT_CHEN(dev));
int_enable = sys_read32(PIT_INTE(dev));
int_status = sys_read32(PIT_ISTA(dev));
if (int_status & TIMER0_CHANNEL(3)) {
if (data->top_callback) {
data->top_callback(dev, data->top_user_data);
}
}
for (i = 0; i < CH_NUM_PER_COUNTER; i++) {
if (int_status & TIMER0_CHANNEL(i)) {
int_enable &= ~TIMER0_CHANNEL(i);
ch_enable &= ~TIMER0_CHANNEL(i);
}
}
/* Disable channel and interrupt */
sys_write32(int_enable, PIT_INTE(dev));
sys_write32(ch_enable, PIT_CHEN(dev));
/* Clear interrupt status */
sys_write32(int_status, PIT_ISTA(dev));
for (i = 0; i < CH_NUM_PER_COUNTER; i++) {
if (int_status & TIMER0_CHANNEL(i)) {
cur_ticks = get_current_tick(dev, 3);
cb = data->ch_data[i].alarm_callback;
data->ch_data[i].alarm_callback = NULL;
if (cb != NULL) {
cb(dev, i, cur_ticks, data->ch_data[i].alarm_user_data);
}
}
}
}
static int counter_atcpit100_init(const struct device *dev)
{
const struct atcpit100_config *config = dev->config;
uint32_t reg;
/* Disable all channels */
sys_write32(0, PIT_CHEN(dev));
/* Channel 0 ~ 3, 32 bits timer, PCLK source */
reg = CTRL_CH_MODE_32BIT | CTRL_CH_SRC_PCLK;
sys_write32(reg, PIT_CH_CTRL(dev, 0));
sys_write32(reg, PIT_CH_CTRL(dev, 1));
sys_write32(reg, PIT_CH_CTRL(dev, 2));
sys_write32(reg, PIT_CH_CTRL(dev, 3));
/* Disable all interrupt and clear all pending interrupt */
sys_write32(0, PIT_INTE(dev));
sys_write32(UINT32_MAX, PIT_ISTA(dev));
/* Select channel 3 as default counter and set max top value */
reg = config->info.max_top_value * config->divider;
/* Set cycle - 1 to reload register */
sys_write32((reg - 1), PIT_CH_RELD(dev, 3));
config->cfg_func();
irq_enable(config->irq_num);
return 0;
}
static int atcpit100_start(const struct device *dev)
{
struct atcpit100_data *data = dev->data;
k_spinlock_key_t key;
uint32_t reg;
key = k_spin_lock(&data->lock);
/* Enable channel */
reg = sys_read32(PIT_CHEN(dev));
reg |= TIMER0_CHANNEL(3);
sys_write32(reg, PIT_CHEN(dev));
k_spin_unlock(&data->lock, key);
return 0;
}
static int atcpit100_stop(const struct device *dev)
{
struct atcpit100_data *data = dev->data;
k_spinlock_key_t key;
uint32_t reg;
key = k_spin_lock(&data->lock);
/* Disable channel interrupt */
reg = sys_read32(PIT_INTE(dev));
reg &= ~TIMER0_CHANNEL(3);
sys_write32(reg, PIT_INTE(dev));
/* Disable channel */
reg = sys_read32(PIT_CHEN(dev));
reg &= ~TIMER0_CHANNEL(3);
sys_write32(reg, PIT_CHEN(dev));
/* Clear interrupt status */
sys_write32(TIMER0_CHANNEL(3), PIT_ISTA(dev));
k_spin_unlock(&data->lock, key);
return 0;
}
static int atcpit100_get_value(const struct device *dev, uint32_t *ticks)
{
struct atcpit100_data *data = dev->data;
k_spinlock_key_t key;
key = k_spin_lock(&data->lock);
*ticks = get_current_tick(dev, 3);
k_spin_unlock(&data->lock, key);
return 0;
}
static int atcpit100_set_alarm(const struct device *dev, uint8_t chan_id,
const struct counter_alarm_cfg *alarm_cfg)
{
const struct atcpit100_config *config = dev->config;
struct atcpit100_data *data = dev->data;
uint32_t top, now_cnt, remain_cnt, alarm_cnt, flags, reg;
k_spinlock_key_t key;
int err = 0;
if (chan_id >= CH_NUM_PER_COUNTER) {
return -ENOTSUP;
}
if (!alarm_cfg->callback) {
return -EINVAL;
}
if (data->ch_data[chan_id].alarm_callback) {
return -EBUSY;
}
key = k_spin_lock(&data->lock);
/* Preload cycles is reload register + 1 */
top = sys_read32(PIT_CH_RELD(dev, 3)) + 1;
remain_cnt = sys_read32(PIT_CH_CNTR(dev, 3));
alarm_cnt = alarm_cfg->ticks * config->divider;
if (alarm_cnt > top) {
err = -EINVAL;
goto out;
}
flags = alarm_cfg->flags;
data->ch_data[chan_id].alarm_callback = alarm_cfg->callback;
data->ch_data[chan_id].alarm_user_data = alarm_cfg->user_data;
if (flags & COUNTER_ALARM_CFG_ABSOLUTE) {
uint32_t irq_on_late, max_rel_val;
now_cnt = top - remain_cnt;
max_rel_val = top - (data->guard_period * config->divider);
irq_on_late = flags & COUNTER_ALARM_CFG_EXPIRE_WHEN_LATE;
if (now_cnt < alarm_cnt) {
/* Absolute alarm is in this round counting */
reg = alarm_cnt - now_cnt;
irq_on_late = 0;
} else {
/* Absolute alarm is in the next round counting */
reg = alarm_cnt + remain_cnt;
}
if (reg > max_rel_val) {
/* Absolute alarm is in the guard period */
err = -ETIME;
if (!irq_on_late) {
data->ch_data[chan_id].alarm_callback = NULL;
goto out;
}
}
if (irq_on_late) {
/* Trigger interrupt immediately */
reg = 1;
}
} else {
/* Round up decreasing counter to tick boundary */
now_cnt = remain_cnt + config->divider - 1;
now_cnt = (now_cnt / config->divider) * config->divider;
/* Adjusting relative alarm counter to tick boundary */
reg = alarm_cnt - (now_cnt - remain_cnt);
}
/* Set cycle - 1 to reload register */
sys_write32((reg - 1), PIT_CH_RELD(dev, chan_id));
/* Enable channel interrupt */
reg = sys_read32(PIT_INTE(dev));
reg |= TIMER0_CHANNEL(chan_id);
sys_write32(reg, PIT_INTE(dev));
/* Enable channel */
reg = sys_read32(PIT_CHEN(dev));
reg |= TIMER0_CHANNEL(chan_id);
sys_write32(reg, PIT_CHEN(dev));
out:
k_spin_unlock(&data->lock, key);
return err;
}
static int atcpit100_cancel_alarm(const struct device *dev, uint8_t chan_id)
{
struct atcpit100_data *data = dev->data;
k_spinlock_key_t key;
uint32_t reg;
if (chan_id >= CH_NUM_PER_COUNTER) {
return -ENOTSUP;
}
key = k_spin_lock(&data->lock);
/* Disable channel interrupt */
reg = sys_read32(PIT_INTE(dev));
reg &= ~TIMER0_CHANNEL(chan_id);
sys_write32(reg, PIT_INTE(dev));
/* Disable channel */
reg = sys_read32(PIT_CHEN(dev));
reg &= ~TIMER0_CHANNEL(chan_id);
sys_write32(reg, PIT_CHEN(dev));
/* Clear interrupt status */
sys_write32(TIMER0_CHANNEL(chan_id), PIT_ISTA(dev));
data->ch_data[chan_id].alarm_callback = NULL;
k_spin_unlock(&data->lock, key);
return 0;
}
static int atcpit100_set_top_value(const struct device *dev,
const struct counter_top_cfg *cfg)
{
const struct atcpit100_config *config = dev->config;
struct atcpit100_data *data = dev->data;
uint32_t ticks, reg, reset_counter = 1;
k_spinlock_key_t key;
int err = 0;
uint8_t i;
for (i = 0; i < counter_get_num_of_channels(dev); i++) {
if (data->ch_data[i].alarm_callback) {
return -EBUSY;
}
}
if (cfg->ticks > config->info.max_top_value) {
return -ENOTSUP;
}
key = k_spin_lock(&data->lock);
if (cfg->callback) {
/* Disable channel interrupt */
reg = sys_read32(PIT_INTE(dev));
reg &= ~TIMER0_CHANNEL(3);
sys_write32(reg, PIT_INTE(dev));
data->top_callback = cfg->callback;
data->top_user_data = cfg->user_data;
/* Enable channel interrupt */
reg = sys_read32(PIT_INTE(dev));
reg |= TIMER0_CHANNEL(3);
sys_write32(reg, PIT_INTE(dev));
}
if (cfg->flags & COUNTER_TOP_CFG_DONT_RESET) {
/* Don't reset counter */
reset_counter = 0;
ticks = get_current_tick(dev, 3);
if (ticks >= cfg->ticks) {
err = -ETIME;
if (cfg->flags & COUNTER_TOP_CFG_RESET_WHEN_LATE) {
/* Reset counter if current is late */
reset_counter = 1;
}
}
}
/* Set cycle - 1 to reload register */
reg = cfg->ticks * config->divider;
sys_write32((reg - 1), PIT_CH_RELD(dev, 3));
if (reset_counter) {
/* Disable channel */
reg = sys_read32(PIT_CHEN(dev));
reg &= ~TIMER0_CHANNEL(3);
sys_write32(reg, PIT_CHEN(dev));
/* Clear interrupt status */
sys_write32(TIMER0_CHANNEL(3), PIT_ISTA(dev));
/* Enable channel interrupt */
reg = sys_read32(PIT_INTE(dev));
reg |= TIMER0_CHANNEL(3);
sys_write32(reg, PIT_INTE(dev));
/* Enable channel */
reg = sys_read32(PIT_CHEN(dev));
reg |= TIMER0_CHANNEL(3);
sys_write32(reg, PIT_CHEN(dev));
}
k_spin_unlock(&data->lock, key);
return err;
}
static uint32_t atcpit100_get_pending_int(const struct device *dev)
{
uint32_t reg = sys_read32(PIT_ISTA(dev));
reg &= (TIMER0_CHANNEL(0) | TIMER0_CHANNEL(1) |
TIMER0_CHANNEL(2) | TIMER0_CHANNEL(3));
return !(!reg);
}
static uint32_t atcpit100_get_top_value(const struct device *dev)
{
const struct atcpit100_config *config = dev->config;
uint32_t top = sys_read32(PIT_CH_RELD(dev, 3)) + 1;
return (top / config->divider);
}
static uint32_t atcpit100_get_guard_period(const struct device *dev,
uint32_t flags)
{
struct atcpit100_data *data = dev->data;
return data->guard_period;
}
static int atcpit100_set_guard_period(const struct device *dev,
uint32_t ticks, uint32_t flags)
{
const struct atcpit100_config *config = dev->config;
struct atcpit100_data *data = dev->data;
uint32_t top = sys_read32(PIT_CH_RELD(dev, 3)) + 1;
if ((ticks * config->divider) > top) {
return -EINVAL;
}
data->guard_period = ticks;
return 0;
}
static const struct counter_driver_api atcpit100_driver_api = {
.start = atcpit100_start,
.stop = atcpit100_stop,
.get_value = atcpit100_get_value,
.set_alarm = atcpit100_set_alarm,
.cancel_alarm = atcpit100_cancel_alarm,
.set_top_value = atcpit100_set_top_value,
.get_pending_int = atcpit100_get_pending_int,
.get_top_value = atcpit100_get_top_value,
.get_guard_period = atcpit100_get_guard_period,
.set_guard_period = atcpit100_set_guard_period,
};
#define COUNTER_ATCPIT100_INIT(n) \
static void counter_atcpit100_cfg_##n(void); \
static struct atcpit100_data atcpit100_data_##n; \
\
static const struct atcpit100_config atcpit100_config_##n = { \
.info = { \
.max_top_value = \
(UINT32_MAX/DT_INST_PROP(n, prescaler)),\
.freq = (DT_INST_PROP(n, clock_frequency) / \
DT_INST_PROP(n, prescaler)), \
.flags = COUNTER_CONFIG_INFO_COUNT_UP, \
.channels = CH_NUM_PER_COUNTER, \
}, \
.base = DT_INST_REG_ADDR(n), \
.divider = DT_INST_PROP(n, prescaler), \
.irq_num = DT_INST_IRQN(n), \
.cfg_func = counter_atcpit100_cfg_##n, \
}; \
\
DEVICE_DT_INST_DEFINE(n, \
counter_atcpit100_init, \
NULL, \
&atcpit100_data_##n, \
&atcpit100_config_##n, \
PRE_KERNEL_1, \
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, \
&atcpit100_driver_api); \
\
static void counter_atcpit100_cfg_##n(void) \
{ \
IRQ_CONNECT(DT_INST_IRQN(n), \
DT_INST_IRQ(n, priority), \
atcpit100_irq_handler, \
DEVICE_DT_INST_GET(n), \
0); \
}
DT_INST_FOREACH_STATUS_OKAY(COUNTER_ATCPIT100_INIT)
```
|
Farm Workers Union of Central Sweden () was a trade union for agricultural workers in Sweden. The organization was active between 1906 and 1908. Carl Albert Svedberg was the chairman of the Farm Workers Union of Central Sweden. As of September 1907 the union had around one hundred local sections. The membership of the Farm Workers Union of Central Sweden was to a large extent concentrated to certain large agricultural estates. The key areas of activities of the union were located around Mälaren. The organization also established its presence in Västergötland, Östergötland, Dalarna and Gästrikland.
The launching of the new union was the result of a joint initiative of the district organizations of the Social Democratic Labour Party in Södermanland and Västmanland. The foundation of the union was preceded by one year of agitation, primarily in the agricultural areas surrounding the towns of Eskilstuna and Västerås (two important industrial centres).
The agitation was carried out by metal workers, displaced from their daily chores by a lock-out. The industrial trade unionists sought to create greater class consciousness amongst farm workers, as people from the country-side could easily be brought to the factories as scabs in times of industrial disputes. Furthermore, many industrial workers were themselves former farm labourers and sympathized with the plight of those toiling the lands. Local farm workers associations were formed in Västmanland, Sörmland and Östergötland. A conference held on July 29, 1906, decided that the Västmanland and Sörmland party district committees would serve as an interim leadership of the new union. The union held its founding congress on December 30, 1906. However, even prior to its official foundation the organization had achieved a level of success. As a result of the pre-foundation agitations the average annual wage of statare was raised by approximately 40 Swedish krona.
The founding congress of the union decided that the headquarters of the organization would be located in Eskilstuna. Carl Albert Svedberg was elected chairman, Julius Pettersson secretary and Carl Åkerberg treasurer (all three were from Eskilstuna).
The Farm Workers Union of Central Sweden published Lantarbetaren ('The Farm Worker').
The Farm Workers Union of Central Sweden advocated the formation of a nationwide union of agricultural labourers, a line which had a lukewarm response from the Farm Workers Union of Skåne. The organization merged into the Farm Workers Union of Sweden in August 1908. Svedberg became the chairman of the new nationwide union. Lantarbetaren was taken over by the new union as its organ in January 1909. The archives of the Farm Workers Union of Central Sweden are held by the Labour Movement Archives and Library.
References
Trade unions in Sweden
1906 establishments in Sweden
1908 disestablishments
Agriculture and forestry trade unions
Trade unions established in 1906
Trade unions disestablished in 1908
Agricultural organizations based in Sweden
|
Nowe Dobra is a village in the administrative district of Gmina Chełmno, within Chełmno County, Kuyavian-Pomeranian Voivodeship, in north-central Poland. It lies approximately north-east of Chełmno, north of Toruń, and north-east of Bydgoszcz. It is located in Chełmno Land within the historic region of Pomerania.
History
During the German occupation of Poland (World War II), Nowe Dobra was one of the sites of executions of Poles, carried out by the Germans in 1939 as part of the Intelligenzaktion.
Notable residents
Antoni Grabowski (1857–1921), chemical engineer
References
Villages in Chełmno County
|
George Langelaan (19 January 1908 – 9 February 1972) was a French-British writer and journalist born in Paris, France.
He is best known for his 1957 short story "The Fly", which was the basis for the 1958 and 1986 sci-fi/horror films and a 2008 opera of the same name.
Career
During World War II, Langelaan worked as a spy and special agent for the Allied powers as part of the Special Operations Executive (SOE). He was in F Section SOE with the rank of lieutenant. His code name was "Langdon". According to his memoirs, The Masks of War (1959), he underwent plastic surgery to alter his appearance before being dropped into France. The operation was deemed necessary so as to remove features that were too distinctive. He later explained that his ears were too large and that they had to be pinned back before he could be dropped into enemy territory. He parachuted into occupied France on 7 September 1941 to make contact with the French Resistance forces south of Châteauroux, arranged to meet Édouard Herriot, was captured on 6 October, imprisoned in the Mauzac camp, condemned to death by the Nazis, and escaped (16 July 1942) and returned to England to participate in the Normandy landings. He received the French Croix de guerre.
Langelaan was a friend of the occultist Aleister Crowley, claiming he was a spy and "that by winning the confidence of the Germans in America, he had access to members of their inner circle."
In the 1950s and 1960s he wrote his memoirs, novels, and short stories that were made into motion pictures and were featured on television.
He died on February 9, 1972, less than a month after his 64th birthday.
Short stories
"The Fly"
Of all his literary works, he is best remembered for his 1957 short story "The Fly", which originally appeared in the June 1957 issue of Playboy magazine. The story itself has been adapted to the screen twice:
the 1958 film with a screenplay by James Clavell, starring Vincent Price and David Hedison, and directed by Kurt Neumann;
the 1986 movie with screenplay by Charles Edward Pogue and David Cronenberg, starring Jeff Goldblum and Geena Davis, and directed by David Cronenberg.
The 1958 film spawned two sequels; the 1986 film had one.
It was also adapted into an opera by Academy Award-winning composer Howard Shore, which was premiered in 2008 and played Paris' Théâtre du Châtelet, and was directed by David Cronenberg with a libretto by Tony Award-winning playwright David Henry Hwang.
Bibliography
His books and short fiction include:
One Named Langdon: Memories of a Secret Agent or Un nommé Langdon (1950)
"The Fly" (in Playboy, June 1957; reprinted in the Second Pan Book of Horror Stories, edited by Herbert Van Thal, 1960)
"Strange Miracle" (in Argosy, August 1958)
The Masks of War: From Dunkirk to D-Day—The Masquerades of a British Intelligence Agent (1959) American edition published by Doubleday
The Knights of the Floating Silk (1959)
"Elaine" (in Argosy, January 1959)
"Danse Macabre" (in Argosy, April 1959)
"Albatross" (in Argosy, December 1959)
"The Secret Notebooks of Agent P.P. 751" (1960–1963) series in the publication Controls
"I Rescued a Harem Wife" (in Suspense, August 1960)
"Cold Blood" (in New Worlds, October 1961)
"The Other Hand" (in The Magazine of Fantasy & Science Fiction, October 1961)
"Zombie Express Train" (1964)
"The Dolphin Speaks Too" (1964)
Out of Time (collection, 1964)
"Attack-Rifle-2nd"
"Torpedo the Torpedo"
"Salad of Heads" (1965)
The Flight of Anti-G or Le Vol de l'anti-G (1968)
"The Thinking Robots" or "The Collector of Brains", "Les Robots pensants" in French
Turncoat (1967)
The New Parasites or Les Nouveaux parasites in French, with Jean Barral (1969)
Thirteen Phantoms or Treize fantomes (1971)
Screen adaptations
The following movies and television episodes were based on his short stories:
The Fly (1958) (story)
The Return of the Fly (1959) (short story "The Fly")
Alfred Hitchcock Presents episode "Strange Miracle" (1962) (story)
Curse of the Fly (1965) (concept and characters) (uncredited)
Night Gallery episode "The Hand of Borgus Weems" (1971) based on his short story "The Other Hand"
Hyperion (1975) (story)
Le Collectionneur des cerveaux (1976) (writer) also known as Les Robots pensants (The Thinking Robots) in French
The Fly remake, or La Mouche in French (1986) (short story)
The Fly II (1989) (characters)
Honors
His 1957 short story classic "The Fly" received Playboy magazine's Best Fiction Award and was selected for inclusion in the Annual of the Year's Best Science Fiction.
References
External links
George Langelaan at the FictionMags Index
George Langelaan at the Index to Science Fiction Anthologies and Collections, Combined Edition
The cover of the June, 1957 issue of Playboy, which contained the classic short story "The Fly"
George Langelaan @ The Encyclopedia of Science Fiction, 3rd (online) edition.
1908 births
Langelann, George
British short story writers
French anti-fascists
French emigrants to the United Kingdom
French Special Operations Executive personnel
The Fly (franchise)
World War II spies for the United Kingdom
Writers from Paris
|
```c++
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS
#include <ATen/core/Tensor.h>
#include <ATen/FunctionalInverses.h>
#include <ATen/ScalarOps.h>
#include <ATen/Parallel.h>
#ifndef AT_PER_OPERATOR_HEADERS
#include <ATen/Functions.h>
#include <ATen/NativeFunctions.h>
#else
#include <ATen/ops/_test_ambiguous_defaults_native.h>
#include <ATen/ops/_test_autograd_multiple_dispatch_native.h>
#include <ATen/ops/_test_autograd_multiple_dispatch_view_native.h>
#include <ATen/ops/_test_check_tensor_native.h>
#include <ATen/ops/_test_parallel_materialize_native.h>
#include <ATen/ops/_test_optional_filled_intlist_native.h>
#include <ATen/ops/_test_optional_floatlist_native.h>
#include <ATen/ops/_test_optional_intlist_native.h>
#include <ATen/ops/_test_string_default_native.h>
#include <ATen/ops/_test_warn_in_autograd_native.h>
#include <ATen/ops/empty_like.h>
#endif
#include <c10/util/irange.h>
namespace at::native {
/// If addends is nullopt, return values.
/// Else, return a new tensor containing the elementwise sums.
Tensor _test_optional_intlist(
const Tensor& values,
at::OptionalIntArrayRef addends) {
if (!addends) {
return values;
}
TORCH_CHECK(values.dim() == 1);
Tensor output = at::empty_like(values);
auto inp = values.accessor<int,1>();
auto out = output.accessor<int,1>();
for (const auto i : c10::irange(values.size(0))) {
out[i] = inp[i] + addends->at(i);
}
return output;
}
/// If addends is nullopt, return values.
/// Else, return a new tensor containing the elementwise sums.
Tensor _test_optional_floatlist(
const Tensor& values,
std::optional<ArrayRef<double>> addends) {
if (!addends) {
return values;
}
TORCH_CHECK(values.dim() == 1);
Tensor output = at::empty_like(values);
auto inp = values.accessor<float,1>();
auto out = output.accessor<float,1>();
for (const auto i : c10::irange(values.size(0))) {
out[i] = inp[i] + addends->at(i);
}
return output;
}
// Test default strings can handle escape sequences properly (although commas are broken)
Tensor _test_string_default(const Tensor& dummy, c10::string_view a, c10::string_view b) {
const c10::string_view expect = "\"'\\";
TORCH_CHECK(a == expect, "Default A failed");
TORCH_CHECK(b == expect, "Default B failed");
return dummy;
}
// Test that overloads with ambiguity created by defaulted parameters work.
// The operator declared first should have priority always
// Overload a
Tensor _test_ambiguous_defaults(const Tensor& dummy, int64_t a, int64_t b) {
TORCH_CHECK(a == 1);
TORCH_CHECK(b == 1);
return c10::scalar_to_tensor(1);
}
// Overload b
Tensor _test_ambiguous_defaults(const Tensor& dummy, int64_t a, c10::string_view b) {
TORCH_CHECK(a == 2);
TORCH_CHECK(b == "2");
return c10::scalar_to_tensor(2);
}
Tensor _test_warn_in_autograd(const Tensor &self) {
return self.clone();
}
// Test registration of per-dispatch-key derivatives in derivatives.yaml.
// See derivatives.yaml for dummy registrations.
Tensor _test_autograd_multiple_dispatch_fullcoverage(const Tensor &self) {
return self.clone();
}
Tensor _test_autograd_multiple_dispatch_ntonly(const Tensor &self, bool b) {
return self.clone();
}
// Test derivative dispatch registration for view_copy ops
Tensor _test_autograd_multiple_dispatch_view(const Tensor &self) {
return self.view(-1);
}
Tensor _test_check_tensor(const Tensor& self) {
TORCH_CHECK_TENSOR_ALL(self, "Test message for TORCH_CHECK_TENSOR_ALL");
return self.clone();
}
Tensor _test_parallel_materialize(const Tensor& self, int64_t num_parallel, bool skip_first) {
at::parallel_for(0, num_parallel, 1, [&](int64_t begin, int64_t end){
// NOTE: skip_first is meant to avoid triggering the materialization from
// the first thread, to ensure that the subthreads throw the error
// correctly. On some platforms, the first thread is the main thread and it
// begins executing the loop function much earlier than the subthreads.
if (skip_first && begin == 0 && end == 1) {
return;
} else {
self.mutable_data_ptr();
}
});
return self;
}
} // namespace at::native
namespace at::functionalization {
// view ops must have a functional inverse registered
Tensor FunctionalInverses::_test_autograd_multiple_dispatch_view_inverse(const at::Tensor& base, const at::Tensor& mutated_view, InverseReturnMode inverse_return_mode) {
TORCH_INTERNAL_ASSERT(false,
"Attempted to call _test_autograd_multiple_dispatch_view_inverse() during the functionalization pass. ",
"This function is for testing only and should never be called.");
return Tensor();
}
} // namespace at::functionalization
```
|
General Haji Abubaker Jeje Odongo is a Ugandan senior military officer and politician. In June 2021, he was appointed Uganda's cabinet minister for Foreign Affairs.
He has previously served as Minister of Internal Affairs in the Cabinet of Uganda from 2016 to 2022. Previously he served as Minister of State for Defence from February 2009 to June 2016.
History
Jeje Odongo was born in Amuria District, in the Teso sub-region, in Eastern Uganda. He attended secondary school at Ngora High School. He entered the Ugandan army in 1979. He is one of the original twenty seven combatants who, together with Yoweri Museveni, attacked Kabamba Military Barracks in February 1981 to start the Ugandan Bush War, a guerrilla war that lasted from February 1981 until April 1986. Jeje Odongo was captured soon after the first NRA operation and was imprisoned in Luzira Maximum Security Prison.
In 1994, Jeje Odongo was one of the ten army officers who represented the Ugandan military in the Constituent Assembly that drafted the 1995 Ugandan Constitution. In 1996, he was selected to replace Colonel Sserwanga Lwanga as the Political Commissar in the Uganda People's Defense Force (UPDF). Also in 1996, he contested the parliamentary seat for Amuria District in the Ugandan Parliament. He won and was appointed as Minister of Defence soon after he entered parliament.
In 1998, he resigned his parliamentary seat and his cabinet position and was appointed Commander of the Army, taking over from Major General Mugisha Muntu. He served as army commander until 2001, when he was replaced by Major General James Kazini. In 2001, he was appointed as Minister without Portfolio, a position he occupied until 2004. In 2004, now at the rank of Lieutenant General, Jeje Odongo was appointed as Minister of State for the Environment.
Between 2001 and 2006, he was one of 10 senior UPDF officers who represented the Ugandan military in the 8th Ugandan Parliament. In May 2008, Jeje Odongo graduated with the degree of Master of Arts in International Relations and Diplomacy from Nkumba University. On 16 February 2009, he was promoted to General and appointed Minister of State for Defence. After seven years in that post, he was instead appointed as Minister of Internal Affairs in the cabinet list announced on 6 June 2016.
On 18 February 2022 he participated in the European Union - African Union Summit in Brussels. A controversy arose when he greeted President of the European Commission, Ursula von der Leyen, only after an intervention by Emmanuel Macron, which was considered a misogynistic attitude.
References
External links
Jeje Odongo Implicated in Illegal Detention of Traders
Living people
People from Amuria District
Ugandan Muslims
1951 births
Politicians from Eastern Region, Uganda
Members of the Parliament of Uganda
Itesot people
Ugandan generals
Ugandan military personnel
Nkumba University alumni
Government ministers of Uganda
People from Teso sub-region
National Resistance Movement politicians
21st-century Ugandan politicians
Foreign Ministers of Uganda
|
Lammašaga was a Mesopotamian goddess who functioned as the sukkal (divine attendant) of Bau. She belonged to a class of protective deities known as Lamma. She was originally worshiped in Lagash and Girsu, though attestations are also available from other cities. A hymn focused on her was copied in scribal schools in the Old Babylonian period.
Name and character
The name Lammašaga can be translated as "the good protective spirit" or "the good Lamma," with the element Lamma referring to a type of female protective deity. The name Lamma itself sometimes could be used to refer to the specific goddess too. Irene Sibbing-Plantholt notes that the addition of the element šaga to a theonym also finds a parallel in Memešaga, a variant form of the name of the goddess Meme.
Lammašaga functioned as the divine attendant (sukkal) of Bau. She was believed to intercede between her and worshipers. Her role might be reflected by the personal name Lamma-sukkal. The association between her and Bau is well attested, and dates to the early periods of recorded Mesopotamian history. Other deities could also be believed to possess Lamma of their own, for example a hymn to Nanshe mentions that hers was named dDUMU.TUR-šugi. The name Lammašaga was also applied to the personal Lamma of the deified king Lugalbanda, who according to Åke W. Sjöberg should be considered distinct from the goddess under discussion. Bau's Lamma could also be referred to as the "Lamma of the Tarsirsir," a temple of the former deity located in Girsu, as attested for example in an inscription of a bowl from the reign of king Ur-Bau. A reference to the "Lamma of the Tarsirsir" also occurs in an inscription of Nammahani. Attempts were made to prove that the theonym Lammašaga might have referred to a manifestation of Bau rather than an independent deity, though Christopher Metcalf in a recent publication notes that while the evidence "may sometimes seem ambiguous, and practices may have varied in different periods," there is nonetheless sufficient proof in the belief in Lammašaga as a distinct deity.
An astronomical text states that mulLam-mu, the star Lamma, corresponded to the sukkal of Bau, to be identified with Lammašaga. The same astral body was associated with Urmašum, the sukkal of Gula, as well. The star is most likely to be identified as Vega.
Worship
The oldest attestations of Lammašaga come from Early Dynastic texts from Lagash (Al-Hiba) and Girsu (Tello). Uru'inimgina built a temple dedicated to her which also housed shrines for the deities Zazaru, Nipae and Urnuntaea. She is also mentioned in an early riddle, which states that she was the city goddess of a place whose name is not preserved, in which a canal named Lamma-igi-bar was located. This text, dated to the twenty fourth century BCE, is the oldest known reference to the concept of Lamma in the entire known corpus of cuneiform texts from Mesopotamia, and it might indicate that it originated in the territory of Lagash, and only spread from there to other regions.
Ur-Ningirsu I's wife dedicated a human-headed bull figure to the "Lamma-goddess of Bau" in the Ebabbar temple in Larsa. Ur-Ningirsu I himself built a temple dedicated to Lammašaga in Girsu, though his inscriptions state that the deity meant was Ninsun. However, there is no indication that Lammašaga, treated as an independent deity, was the same goddess as Ninsun. According to Claus Wilcke, when designating Ninsun, Lammašaga functioned only as an epithet.
An inscription of Samsu-iluna mentions that he returned Lammašaga to the temple Ebabbar in Sippar, dedicated to Shamash and Aya. A reference to Lammašaga as a goddess belonging to the pantheon of Nippur is known too, and in one document she occurs between the local deities Erragal and Ninimma.
Literature
The hymn Bau A, despite its title used in modern literature, is focused on Lammašaga, and might have originated in Girsu. Despite the decline of Lagash as a state, it was a part of the scribal school curriculum in the Old Babylonian period, and it seemingly had a wide circulation. It is considered difficult to translate due to the presence of many terms otherwise entirely absent from similar compositions written in Sumerian, though common in lexical lists. According to Christopher Metcalf, the hymn is a description of a statue, and that it might have been meant for a ceremony during which such a work of art was induced into a temple. This conclusion has also been tentatively accepted by Jeremiah Peterson, though he notes that a degree of caution is necessary, as there is an overlap between terms used to describe living beings and statues in Mesopotamian literature. The text refers to Lammašaga as the "sun goddess of the land," though this epithet does not indicate that her character was solar, but rather that she was understood as benign and that she held a special status in the eyes of her worshipers. It also states that she was responsible for bringing the "tablet of life" from heaven to earth. This artifact, distinct from the tablet of destiny though according to Janice Barrabee directly related to it, is elsewhere associated with other deities, including Ninimma, Nungal, Ḫaya and Nisaba, and it was believed that gods used it to write down the righteous deeds of humans. After detailing Lammašaga's role in the court of Bau, the composition moves on to describing her appearance in three separate sections, focused respectively on her head, nape, forehead, lips, ears, and jaws; skin, neck, sides, limbs, and fingers; navel, hips, and pudenda. Peterson notes that at least some passages can be classified as erotic poetry. While a king is mentioned as well, and presumably he is a supplicant on whose behalf Lammašaga intercedes with Bau, he is not identified by name in the surviving fragments, which makes it impossible to precisely date its composition.
A possible reference to Lammašaga can also be found in the Lament for Ur, which states that the "Lamma of the Etarsirsir" has abandoned it. Other references to Lamma deities abandoning their posts are known, for example according to the Lament for Uruk, "[the city’s] lama ran away; its lama (said) ‘hide in the steppe!’; [it] took unfamiliar paths."
References
Bibliography
External links
A hymn to Bau's beneficent protective goddess (Bau A) in the Electronic Text Corpus of Sumerian Literature
Mesopotamian goddesses
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.