diff --git a/.gitignore b/.gitignore index d3e65b7..3a7f997 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ function.xml catalog*.xml +node_modules/ +*.iml diff --git a/CHANGELOG.fnoi.md b/CHANGELOG.fnoi.md new file mode 100644 index 0000000..1b95447 --- /dev/null +++ b/CHANGELOG.fnoi.md @@ -0,0 +1,19 @@ +# Function Ontology - Implementation Vocabulary Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## Unreleased + +## 0.1.1 - 2020-12-23 + +### Changed + +- Updated and clarified definitions + +## 0.1.0 + +### Added + +- Creation diff --git a/CHANGELOG.fnom.md b/CHANGELOG.fnom.md new file mode 100644 index 0000000..025654e --- /dev/null +++ b/CHANGELOG.fnom.md @@ -0,0 +1,21 @@ +# Function Ontology - Implementation Vocabulary Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## Unreleased + +## 0.2.1 - 2020-12-23 + +### Changed + +- Updated and clarified definitions + +## 0.2.0 + +## 0.1.0 + +### Added + +- Creation diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..28c7b10 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,64 @@ +# Function Ontology Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## Roadmap + +- [ ] TODO auto-fill same-semantics metadata as recommended by https://w3id.org/widoco/bestPractices + +## Unreleased + +## [1.0.0] - 2020-12-23 + +### Added + +- Changelog + +### Changed + +- Updated and clarified definitions + +## [0.6.0] - 2019-05-29 + +### Added +- fno:ReturnMapping + +## [0.5.1] - 2019-05-21 + +### Changed +- fno:type a ObjectProperty + +## [0.5.0] - 2019-05-21 +### Added +- added Mapping and Implementation classes. + +## [0.4.1] - 2017-08-25 +### Changed +- wrong range definition, updated descriptions. + +## [0.4.0] - 2016-06-16 +### Added +- some properties + +## [0.3.0] - 2016-04-30 +### Added +- improved comments. + +## [0.2.0] - 2016-03-09 +### Added +- added extra metadata. + +## 0.1.0 - 2016-03-08 +### Added +- creation. + +[1.0.0]: https://github.com/IDLabResearch/function-ontology/compare/v0.6.0...v1.0.0 +[0.6.0]: https://github.com/IDLabResearch/function-ontology/compare/v0.5.1...v0.6.0 +[0.5.1]: https://github.com/IDLabResearch/function-ontology/compare/v0.5.0...v0.5.1 +[0.5.0]: https://github.com/IDLabResearch/function-ontology/compare/0.4.1...v0.5.0 +[0.4.1]: https://github.com/IDLabResearch/function-ontology/compare/0.4...0.4.1 +[0.4.0]: https://github.com/IDLabResearch/function-ontology/compare/0.3...0.4 +[0.3.0]: https://github.com/IDLabResearch/function-ontology/compare/v0.2...0.3 +[0.2.0]: https://github.com/IDLabResearch/function-ontology/compare/v0.1...v0.2 diff --git a/README.MD b/README.MD index 48a02a5..7578921 100644 --- a/README.MD +++ b/README.MD @@ -1,3 +1,20 @@ +# The Function Ontology + + + See https://w3id.org/function/spec for the full specification [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.595382.svg)](https://doi.org/10.5281/zenodo.595382) + +## Releasing a new version + +Make sure you have the WiDoCo 1.4.x jar downloaded in the root of this repo, and you have JAVA and Node.js installed. +Then, execute + +```shell +npm install +cd ./dist +node build.js +``` + +The folders in `dist` should mimic the same structure and contents under https://w3id.org/function. diff --git a/dist/build.js b/dist/build.js new file mode 100644 index 0000000..831ce06 --- /dev/null +++ b/dist/build.js @@ -0,0 +1,67 @@ +const util = require('util'); +const fs = require('fs/promises'); +const exec = util.promisify(require('child_process').exec); + +const $rdf = require('rdflib'); +const Namespace = $rdf.Namespace; + +const DC = Namespace("http://purl.org/dc/elements/1.1/"); +const OWL = Namespace("http://www.w3.org/2002/07/owl#"); +const RDF = Namespace("http://www.w3.org/1999/02/22-rdf-syntax-ns#"); +const VANN = Namespace("http://purl.org/vocab/vann/"); +const VOAF = Namespace("http://purl.org/vocommons/voaf#"); + +const map = [ + { + ttlFile: "../fno.ttl", + outputFolder: "./ontology", + uri: "https://w3id.org/function/ontology#", + }, { + ttlFile: "../fnoi.ttl", + outputFolder: "./vocabulary/implementation", + uri: "https://w3id.org/function/vocabulary/implementation#", + }, { + ttlFile: "../fnom.ttl", + outputFolder: "./vocabulary/mapping", + uri: "https://w3id.org/function/vocabulary/mapping#", + }, +] + +processMap(map); + +async function processMap(map) { + for (const elem of map) { + const store = await getStore(elem.ttlFile); + await runWidoco(elem.ttlFile, elem.outputFolder, store); + } +} + +async function runWidoco(ontFile, outFolder, store) { + const preStuff = 'java -jar ../widoco-1.4.14-jar-with-dependencies.jar'; + const postStuff = '-getOntologyMetadata -oops -rewriteAll -htaccess -webVowl -analytics UA-87734787-2 -excludeIntroduction'; + const voc = store.any(null, RDF('type'), VOAF('Vocabulary')); + const version = store.any(voc, OWL('versionInfo')).value; + const uri = store.any(voc, VANN('preferredNamespaceUri')).value; + const prefix = store.any(voc, VANN('preferredNamespacePrefix')).value; + const commandVersion = `${preStuff} -ontFile ${ontFile} -outFolder ${outFolder}/${version} ${postStuff}`; + const {stdout, stderr} = await exec(commandVersion); + console.log(stdout); + console.warn(stderr); + const command = `${preStuff} -ontFile ${ontFile} -outFolder ${outFolder} ${postStuff}`; + await exec(command); + const appendData = `

The namespace is ${uri}, the preferred prefix is ${prefix}

`; + await fs.appendFile(`${outFolder}/${version}/sections/abstract-en.html`, appendData); + await fs.appendFile(`${outFolder}/sections/abstract-en.html`, appendData); + const descriptionPlaceholder = `This is a placeholder text for the description of your ontology. The description should include an explanation and a diagram explaining how the classes are related, examples of usage, etc.`; + let description = await fs.readFile(`${outFolder}/sections/description-en.html`, 'utf8'); + description = description.replace(descriptionPlaceholder, "Further description and explanation of these classes and properties are given in the Function Ontology Specification at https://w3id.org/function/spec"); + await fs.writeFile(`${outFolder}/${version}/sections/description-en.html`, description); + await fs.writeFile(`${outFolder}/sections/description-en.html`, description); +} + +async function getStore(ontFile) { + const store = $rdf.graph(); + const body = await fs.readFile(ontFile, 'utf8'); + $rdf.parse(body, store, "http://example.com/#", 'text/turtle'); + return store; +} diff --git a/dist/ontology/.htaccess b/dist/ontology/.htaccess new file mode 100644 index 0000000..b1f1833 --- /dev/null +++ b/dist/ontology/.htaccess @@ -0,0 +1,47 @@ +# Turn off MultiViews +Options -MultiViews + +# Directive to ensure *.rdf files served as appropriate content type, +# if not present in main apache config +AddType application/rdf+xml .rdf +AddType application/rdf+xml .owl +AddType text/turtle .ttl +AddType application/n-triples .n3 +AddType application/ld+json .json +# Rewrite engine setup +RewriteEngine On +#Change the path to the folder here +RewriteBase /./ontology + +# Rewrite rule to serve HTML content from the vocabulary URI if requested +RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml) +RewriteCond %{HTTP_ACCEPT} text/html [OR] +RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR] +RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.* +RewriteRule ^$ index-en.html [R=303,L] + +# Rewrite rule to serve JSON-LD content from the vocabulary URI if requested +RewriteCond %{HTTP_ACCEPT} application/ld\+json +RewriteRule ^$ ontology.json [R=303,L] + +# Rewrite rule to serve RDF/XML content from the vocabulary URI if requested +RewriteCond %{HTTP_ACCEPT} \*/\* [OR] +RewriteCond %{HTTP_ACCEPT} application/rdf\+xml +RewriteRule ^$ ontology.xml [R=303,L] + +# Rewrite rule to serve N-Triples content from the vocabulary URI if requested +RewriteCond %{HTTP_ACCEPT} application/n-triples +RewriteRule ^$ ontology.nt [R=303,L] + +# Rewrite rule to serve TTL content from the vocabulary URI if requested +RewriteCond %{HTTP_ACCEPT} text/turtle [OR] +RewriteCond %{HTTP_ACCEPT} text/\* [OR] +RewriteCond %{HTTP_ACCEPT} \*/turtle +RewriteRule ^$ ontology.ttl [R=303,L] + +RewriteCond %{HTTP_ACCEPT} .+ +RewriteRule ^$ 406.html [R=406,L] +# Default response +# --------------------------- +# Rewrite rule to serve the RDF/XML content from the vocabulary URI by default +RewriteRule ^$ ontology.xml [R=303,L] \ No newline at end of file diff --git a/dist/ontology/0.1/function.ttl b/dist/ontology/0.1/function.ttl new file mode 100644 index 0000000..17d1e59 --- /dev/null +++ b/dist/ontology/0.1/function.ttl @@ -0,0 +1,268 @@ +@prefix : . +@prefix dct: . +@prefix owl: . +@prefix rdf: . +@prefix xml: . +@prefix xsd: . +@prefix foaf: . +@prefix rdfs: . +@base . + + rdf:type owl:Ontology ; + + rdfs:label "the Function Ontology"@en ; + + rdfs:comment "The Function Ontology allows to declare and describe functions. More info at http://http://users.ugent.be/~bjdmeest/function/"@en ; + + rdfs:seeAlso ; + + dct:creator [ + + foaf:mbox "Ben.DeMeester@UGent.be"; + + foaf:name "Ben De Meester"@en + + ] . + + +################################################################# +# +# Annotation properties +# +################################################################# + + +### http://purl.org/dc/terms/issued + +dct:issued rdf:type owl:AnnotationProperty . + + + +### http://purl.org/dc/terms/modified + +dct:modified rdf:type owl:AnnotationProperty . + + + +### http://xmlns.com/foaf/0.1/primaryTopic + +foaf:primaryTopic rdf:type owl:AnnotationProperty . + + + + + +################################################################# +# +# Datatypes +# +################################################################# + + +### http://www.w3.org/2001/XMLSchema#date + +xsd:date rdf:type rdfs:Datatype . + + + + + +################################################################# +# +# Object Properties +# +################################################################# + + +### http://semweb.mmlab.be/ns/function#executes + +:executes rdf:type owl:ObjectProperty ; + + rdfs:label "executes"@en ; + + rdfs:comment "Connects a function to a specific execution of that function"@en ; + + rdfs:isDefinedBy ; + + rdfs:domain :Execution ; + + rdfs:range :Function . + + + +### http://semweb.mmlab.be/ns/function#expects + +:expects rdf:type owl:ObjectProperty ; + + rdfs:label "expects"@en ; + + rdfs:comment "Connects a function description to a parameter description"@en ; + + rdfs:isDefinedBy ; + + rdfs:domain :Function ; + + rdfs:range :Parameter . + + + +### http://semweb.mmlab.be/ns/function#implements + +:implements rdf:type owl:ObjectProperty ; + + rdfs:label "implements"@en ; + + rdfs:comment "connects a function to the algorithm it implements. a function can implement multiple algorithms."@en ; + + rdfs:isDefinedBy ; + + rdfs:range :Algorithm ; + + rdfs:domain :Function . + + + +### http://semweb.mmlab.be/ns/function#returns + +:returns rdf:type owl:ObjectProperty ; + + rdfs:label "returns"@en ; + + rdfs:comment "connects a description of a function to the description of the output"@en ; + + rdfs:isDefinedBy ; + + rdfs:domain :Function ; + + rdfs:range :Output . + + + +### http://semweb.mmlab.be/ns/function#solves + +:solves rdf:type owl:ObjectProperty ; + + rdfs:label "solves"@en ; + + rdfs:comment "connects a description of a function to the description of a problem it tries to solve."@en ; + + rdfs:isDefinedBy ; + + rdfs:domain :Function ; + + rdfs:range :Problem . + + + + + +################################################################# +# +# Classes +# +################################################################# + + +### http://semweb.mmlab.be/ns/function#Algorithm + +:Algorithm rdf:type owl:Class ; + + rdfs:label "Algorithm"@en ; + + rdfs:comment "A declaration of an algorithm that is implemented by a function"@en ; + + rdfs:isDefinedBy . + + + +### http://semweb.mmlab.be/ns/function#Execution + +:Execution rdf:type owl:Class ; + + rdfs:label "Execution"@en ; + + rdfs:comment "The output of a function"@en ; + + rdfs:isDefinedBy . + + + +### http://semweb.mmlab.be/ns/function#Function + +:Function rdf:type owl:Class ; + + rdfs:label "Function"@en ; + + rdfs:comment "The declared function"@en ; + + rdfs:isDefinedBy . + + + +### http://semweb.mmlab.be/ns/function#Output + +:Output rdf:type owl:Class ; + + rdfs:label "Output"@en ; + + rdfs:comment "A certain execution of a defined function"@en ; + + rdfs:isDefinedBy . + + + +### http://semweb.mmlab.be/ns/function#Parameter + +:Parameter rdf:type owl:Class ; + + rdfs:label "Parameter"@en ; + + rdfs:comment "A parameter to a certain function"@en ; + + rdfs:isDefinedBy . + + + +### http://semweb.mmlab.be/ns/function#Problem + +:Problem rdf:type owl:Class ; + + rdfs:label "Problem"@en ; + + rdfs:comment "A certain problem that a function solves"@en ; + + rdfs:isDefinedBy . + + + +### http://xmlns.com/foaf/0.1/Document + +foaf:Document rdf:type owl:Class . + + + + + +################################################################# +# +# Individuals +# +################################################################# + + +### http://semweb.mmlab.be/ns/function + + rdf:type owl:NamedIndividual , + foaf:Document ; + + dct:modified "2016-03-08"^^xsd:date ; + + dct:issued "2016-03-08"^^xsd:date ; + + foaf:primaryTopic . + + + + +### Generated by the OWL API (version 3.5.0) http://owlapi.sourceforge.net + diff --git a/dist/ontology/0.2/function.ttl b/dist/ontology/0.2/function.ttl new file mode 100644 index 0000000..23fbfe2 --- /dev/null +++ b/dist/ontology/0.2/function.ttl @@ -0,0 +1,315 @@ +@prefix : . +@prefix dct: . +@prefix owl: . +@prefix rdf: . +@prefix xml: . +@prefix xsd: . +@prefix foaf: . +@prefix rdfs: . +@prefix voaf: . +@prefix vann: . +@prefix vs: . +@prefix cc: . + +@base . + + rdf:type owl:Ontology ; + + rdf:type voaf:Vocabulary; + + vann:preferredNamespacePrefix "fn"; + + vann:preferredNamespaceUri "http://semweb.mmlab.be/ns/function#"; + + rdfs:label "the Function Ontology"@en ; + + dct:title "the Function Ontology"@en ; + + dct:description "The Function Ontology allows to declare and describe functions."@en; + + rdfs:comment """-Version 0.2: added extra metadata. +-Version 0.1: creation."""@en ; + + owl:versionIRI ; + owl:versionInfo "0.2" ; + owl:priorVersion "https://w3id.org/function/ontology/0.1" ; + + + rdfs:seeAlso ; + + dct:modified "2016-03-09"^^xsd:date ; + + dct:issued "2016-03-08"^^xsd:date ; + + owl:versionInfo "0.2"^^xsd:decimal ; + + dct:rights "Copyright © Ghent University – iMinds – Data Science Lab"@en ; + + cc:license ; + + foaf:primaryTopic ; + + dct:creator [ + + rdf:type foaf:Person ; + + foaf:mbox "Ben.DeMeester@UGent.be"; + + foaf:name "Ben De Meester"@en + + ] ; + + dct:contributor [ + + rdf:type foaf:Person ; + + foaf:mbox "Anastasia.dimou@UGent.be" ; + + foaf:name "Anastasia Dimou"@en + + ] . + + +################################################################# +# +# Annotation properties +# +################################################################# + + +### http://purl.org/dc/terms/issued + +dct:issued rdf:type owl:AnnotationProperty . + + + +### http://purl.org/dc/terms/modified + +dct:modified rdf:type owl:AnnotationProperty . + + + +### http://xmlns.com/foaf/0.1/primaryTopic + +foaf:primaryTopic rdf:type owl:AnnotationProperty . + + + + + +################################################################# +# +# Datatypes +# +################################################################# + + +### http://www.w3.org/2001/XMLSchema#date + +xsd:date rdf:type rdfs:Datatype . + + + + + +################################################################# +# +# Object Properties +# +################################################################# + + +### http://semweb.mmlab.be/ns/function#executes + +:executes rdf:type owl:ObjectProperty ; + + rdfs:label "executes"@en ; + + rdfs:comment "Connects a function to a specific execution of that function"@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Execution ; + + rdfs:range :Function . + + + +### http://semweb.mmlab.be/ns/function#expects + +:expects rdf:type owl:ObjectProperty ; + + rdfs:label "expects"@en ; + + rdfs:comment "Connects a function description to a parameter description"@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Function ; + + rdfs:range :Parameter . + + + +### http://semweb.mmlab.be/ns/function#implements + +:implements rdf:type owl:ObjectProperty ; + + rdfs:label "implements"@en ; + + rdfs:comment "connects a function to the algorithm it implements. a function can implement multiple algorithms."@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:range :Algorithm ; + + rdfs:domain :Function . + + + +### http://semweb.mmlab.be/ns/function#returns + +:returns rdf:type owl:ObjectProperty ; + + rdfs:label "returns"@en ; + + rdfs:comment "connects a description of a function to the description of the output"@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Function ; + + rdfs:range :Output . + + + +### http://semweb.mmlab.be/ns/function#solves + +:solves rdf:type owl:ObjectProperty ; + + rdfs:label "solves"@en ; + + rdfs:comment "connects a description of a function to the description of a problem it tries to solve."@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Function ; + + rdfs:range :Problem . + + + + + +################################################################# +# +# Classes +# +################################################################# + + +### http://semweb.mmlab.be/ns/function#Algorithm + +:Algorithm rdf:type owl:Class ; + + rdfs:label "Algorithm"@en ; + + rdfs:comment "A declaration of an algorithm that is implemented by a function"@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### http://semweb.mmlab.be/ns/function#Execution + +:Execution rdf:type owl:Class ; + + rdfs:label "Execution"@en ; + + rdfs:comment "The output of a function"@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### http://semweb.mmlab.be/ns/function#Function + +:Function rdf:type owl:Class ; + + rdfs:label "Function"@en ; + + rdfs:comment "The declared function"@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### http://semweb.mmlab.be/ns/function#Output + +:Output rdf:type owl:Class ; + + rdfs:label "Output"@en ; + + rdfs:comment "A certain execution of a defined function"@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### http://semweb.mmlab.be/ns/function#Parameter + +:Parameter rdf:type owl:Class ; + + rdfs:label "Parameter"@en ; + + rdfs:comment "A parameter to a certain function"@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### http://semweb.mmlab.be/ns/function#Problem + +:Problem rdf:type owl:Class ; + + rdfs:label "Problem"@en ; + + rdfs:comment "A certain problem that a function solves"@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### http://xmlns.com/foaf/0.1/Document + +foaf:Document rdf:type owl:Class . + + + + + + +### Generated by the OWL API (version 3.5.0) http://owlapi.sourceforge.net + diff --git a/dist/ontology/0.3/function.ttl b/dist/ontology/0.3/function.ttl new file mode 100644 index 0000000..91a07fc --- /dev/null +++ b/dist/ontology/0.3/function.ttl @@ -0,0 +1,330 @@ +@prefix : . +@prefix dct: . +@prefix owl: . +@prefix rdf: . +@prefix xml: . +@prefix xsd: . +@prefix foaf: . +@prefix rdfs: . +@prefix voaf: . +@prefix vann: . +@prefix vs: . +@prefix cc: . + +@base . + + rdf:type owl:Ontology ; + + rdf:type voaf:Vocabulary; + + vann:preferredNamespacePrefix "fn"; + + vann:preferredNamespaceUri "http://semweb.mmlab.be/ns/function#"; + + rdfs:label "the Function Ontology"@en ; + + dct:title "the Function Ontology"@en ; + + dct:description "The Function Ontology allows to declare and describe functions. The specification is online at http://users.ugent.be/~bjdmeest/function/"@en; + + rdfs:comment """-Version 0.3: improved comments. +-Version 0.2: added extra metadata. +-Version 0.1: creation."""@en ; + + owl:versionIRI ; + owl:versionInfo "0.3" ; + owl:priorVersion "https://w3id.org/function/ontology/0.2" ; + + rdfs:seeAlso ; + + dct:modified "2016-03-09"^^xsd:date ; + + dct:issued "2016-03-08"^^xsd:date ; + + owl:versionInfo "0.3"^^xsd:decimal ; + + dct:rights "Copyright © Ghent University – iMinds – Data Science Lab"@en ; + + cc:license ; + + foaf:primaryTopic ; + + dct:creator [ + + rdf:type foaf:Person ; + + foaf:mbox "Ben.DeMeester@UGent.be"; + + foaf:name "Ben De Meester"@en + + ] ; + + dct:contributor [ + + rdf:type foaf:Person ; + + foaf:mbox "Anastasia.dimou@UGent.be" ; + + foaf:name "Anastasia Dimou"@en + + ] . + + +################################################################# +# +# Annotation properties +# +################################################################# + + +### http://purl.org/dc/terms/issued + +dct:issued rdf:type owl:AnnotationProperty . + + + +### http://purl.org/dc/terms/modified + +dct:modified rdf:type owl:AnnotationProperty . + + + +### http://xmlns.com/foaf/0.1/primaryTopic + +foaf:primaryTopic rdf:type owl:AnnotationProperty . + + + + + +################################################################# +# +# Datatypes +# +################################################################# + + +### http://www.w3.org/2001/XMLSchema#date + +xsd:date rdf:type rdfs:Datatype . + + + + + +################################################################# +# +# Object Properties +# +################################################################# + + +### http://semweb.mmlab.be/ns/function#executes + +:executes rdf:type owl:ObjectProperty ; + + rdfs:label "executes"@en ; + + rdfs:comment "Connects a function to an execution definition"@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Execution ; + + rdfs:range :Function . + + + +### http://semweb.mmlab.be/ns/function#expects + +:expects rdf:type owl:ObjectProperty ; + + rdfs:label "expects"@en ; + + rdfs:comment "Connects a function description to a parameter description"@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Function ; + + rdfs:range :Parameter . + + + +### http://semweb.mmlab.be/ns/function#implements + +:implements rdf:type owl:ObjectProperty ; + + rdfs:label "implements"@en ; + + rdfs:comment "Connects a function to an algorithm it implements. A function can implement 0..n algorithms."@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:range :Algorithm ; + + rdfs:domain :Function . + + + +### http://semweb.mmlab.be/ns/function#returns + +:returns rdf:type owl:ObjectProperty ; + + rdfs:label "returns"@en ; + + rdfs:comment "Connects a description of a function to the description of the output"@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Function ; + + rdfs:range :Output . + + + +### http://semweb.mmlab.be/ns/function#solves + +:solves rdf:type owl:ObjectProperty ; + + rdfs:label "solves"@en ; + + rdfs:comment "Connects a description of a function to the description of a problem it tries to solve."@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Function ; + + rdfs:range :Problem . + + + +### http://semweb.mmlab.be/ns/function#predicate + +:predicate rdf:type owl:ObjectProperty ; + + rdfs:label "predicate"@en ; + + rdfs:comment "defines which predicate can be usd to bind the value to the execution."@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Function . + + + + +################################################################# +# +# Classes +# +################################################################# + + +### http://semweb.mmlab.be/ns/function#Algorithm + +:Algorithm rdf:type owl:Class ; + + rdfs:label "Algorithm"@en ; + + rdfs:comment "A declaration of an algorithm. An algorithm is a specified set of instructions, independent of its implementation. There is no one-to-one mapping between an algorithm and a problem."@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### http://semweb.mmlab.be/ns/function#Execution + +:Execution rdf:type owl:Class ; + + rdfs:label "Execution"@en ; + + rdfs:comment "An execution is the connection between a function and its input and output values."@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### http://semweb.mmlab.be/ns/function#Function + +:Function rdf:type owl:Class ; + + rdfs:label "Function"@en ; + + rdfs:comment "The declared function"@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### http://semweb.mmlab.be/ns/function#Output + +:Output rdf:type owl:Class ; + + rdfs:label "Output"@en ; + + rdfs:comment "The definition of an output of a function"@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### http://semweb.mmlab.be/ns/function#Parameter + +:Parameter rdf:type owl:Class ; + + rdfs:label "Parameter"@en ; + + rdfs:comment "The definition of a parameter to a certain function"@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### http://semweb.mmlab.be/ns/function#Problem + +:Problem rdf:type owl:Class ; + + rdfs:label "Problem"@en ; + + rdfs:comment "A certain problem that a function solves"@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### http://xmlns.com/foaf/0.1/Document + +foaf:Document rdf:type owl:Class . + + + + + + +### Generated by the OWL API (version 3.5.0) http://owlapi.sourceforge.net + diff --git a/dist/ontology/0.4.1/.htaccess b/dist/ontology/0.4.1/.htaccess new file mode 100644 index 0000000..29ab9ad --- /dev/null +++ b/dist/ontology/0.4.1/.htaccess @@ -0,0 +1,44 @@ +## ALERT! THIS FILE IS AUTOGENERATED! CHANGE AT OWN RISK! + +AddCharset UTF-8 .html +AddCharset UTF-8 .rdf +AddCharset UTF-8 .owl +AddCharset UTF-8 .ttl +AddCharset UTF-8 .json + +# Turn off MultiViews +Options -MultiViews + +AddType application/rdf+xml .rdf .owl + +AddType text/turtle .ttl + +AddType application/json .json + +# Rewrite engine setup +RewriteEngine On +RewriteBase /ontology/0.4.1 + +# HTML +RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml) +RewriteCond %{HTTP_ACCEPT} text/html [OR] +RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml +RewriteRule ^$ function.html [R=303] + +# XML +RewriteCond %{HTTP_ACCEPT} application/rdf\+xml +RewriteRule ^$ function.owl [R=303] + +# TTL +RewriteCond %{HTTP_ACCEPT} text/turtle +RewriteRule ^$ function.ttl [R=303] + +# JSON +RewriteCond %{HTTP_ACCEPT} application/json +RewriteRule ^$ function.json [R=303] + +# DEFAULT +RewriteRule ^$ function.ttl [R=303] + +# Make sure that any suffixes (classes, properties) of the URI redirect to the base URI +#ReWriteRule !^.+\.(ttl)|(html)|(owl)|(json)$ /ns/function/0.4.1 diff --git a/dist/ontology/0.4.1/function.html b/dist/ontology/0.4.1/function.html new file mode 100644 index 0000000..b08ae16 --- /dev/null +++ b/dist/ontology/0.4.1/function.html @@ -0,0 +1,158 @@ + + + + The Function Ontology + + + + + + + +
+
+

The Function Ontology

+
+
+

+ +

The Function Ontology allows to declare and describe functions. The specification is online at https://w3id.org/function/spec

+ +

+

+  2016-03-08 +

+

+  2017-08-25 +

+
+
+
+ +
    +
  • Ben De Meester
  • +
+
+
+

Classes

+

Algorithm

+

Algorithm

+

A declaration of an algorithm. An algorithm is a specified set of instructions, independent of its implementation. There is no one-to-one mapping between an algorithm and a problem.

+

+

Execution

+

Execution

+

An execution is the connection between a function and its input and output values.

+

+

Function

+

Function

+

The declared function

+

+

Output

+

Output

+

The definition of an output of a function

+

+

Parameter

+

Parameter

+

The definition of a parameter to a certain function

+

+

Problem

+

Problem

+

A certain problem that a function solves

+

+

Document

+

Document

+

undefined

+

+
+
+

Properties

+

executes

+

executes

+

Connects a function to an execution definition

+
+  Execution  +
+  Function  +
+

expects

+

expects

+

Connects a function description to an ordered list of zero or more parameter descriptions

+
+  Function  +
+  List  +
+

implements

+

implements

+

Connects a function to an algorithm it implements. A function can implement 0..n algorithms.

+
+  Function  +
+  Algorithm  +
+

returns

+

returns

+

Connects a description of a function to the description of the output

+
+  Function  +
+  Output  +
+

solves

+

solves

+

Connects a description of a function to the description of a problem it tries to solve.

+
+  Function  +
+  Problem  +
+

predicate

+

predicate

+

Connects a parameter description to the predicate used to link executions of this function to their parameter.

+
+  Parameter  +
+  Property  +
+

type

+

type

+

Connects an output or a parameter description to the type of instances of these parameters or outputs.

+
+  Property  +
+   +
+

name

+

name

+

Connects a function or a parameter to its name.

+
+  Function  +
+  string  +
+

required

+

required

+

Defines if a parameter or an output is required.

+
+   +
+  boolean  +
+

nullable

+

nullable

+

Defines if a parameteris nullable.

+
+   +
+  boolean  +
+
+
+
+
+ +
+ + \ No newline at end of file diff --git a/dist/ontology/0.4.1/function.json b/dist/ontology/0.4.1/function.json new file mode 100644 index 0000000..11bc7d4 --- /dev/null +++ b/dist/ontology/0.4.1/function.json @@ -0,0 +1,776 @@ +[ + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/2002/07/owl#Ontology", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://purl.org/vocommons/voaf#Vocabulary", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://purl.org/vocab/vann/preferredNamespacePrefix", + "object": "\"fno\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://purl.org/vocab/vann/preferredNamespaceUri", + "object": "\"https://w3id.org/function/ontology#\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://www.w3.org/2000/01/rdf-schema#label", + "object": "\"The Function Ontology\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://purl.org/dc/terms/title", + "object": "\"The Function Ontology\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://purl.org/dc/terms/description", + "object": "\"The Function Ontology allows to declare and describe functions. The specification is online at https://w3id.org/function/spec\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://www.w3.org/2000/01/rdf-schema#comment", + "object": "\"-Version 0.4.1: wrong range definition, updated descriptions.\r\n-Version 0.4: added some properties\r\n-Version 0.3: improved comments.\r\n-Version 0.2: added extra metadata.\r\n-Version 0.1: creation.\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://www.w3.org/2002/07/owl#versionIRI", + "object": "https://w3id.org/function/ontology/0.4.1", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://www.w3.org/2002/07/owl#versionInfo", + "object": "\"0.4.1\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://www.w3.org/2002/07/owl#priorVersion", + "object": "\"https://w3id.org/function/ontology/0.4\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://www.w3.org/2000/01/rdf-schema#seeAlso", + "object": "https://w3id.org/function/spec", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://purl.org/dc/terms/modified", + "object": "\"2017-08-25\"^^http://www.w3.org/2001/XMLSchema#date", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://purl.org/dc/terms/issued", + "object": "\"2016-03-08\"^^http://www.w3.org/2001/XMLSchema#date", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://purl.org/dc/terms/rights", + "object": "\"Copyright © Ghent University – iMinds – Data Science Lab\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://creativecommons.org/ns#license", + "object": "http://creativecommons.org/license/by/3.0/", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://xmlns.com/foaf/0.1/primaryTopic", + "object": "https://w3id.org/function/ontology", + "graph": "" + }, + { + "subject": "_:b2", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://xmlns.com/foaf/0.1/Person", + "graph": "" + }, + { + "subject": "_:b2", + "predicate": "http://xmlns.com/foaf/0.1/mbox", + "object": "\"mailto:Ben.DeMeester@UGent.be\"", + "graph": "" + }, + { + "subject": "_:b2", + "predicate": "http://xmlns.com/foaf/0.1/name", + "object": "\"Ben De Meester\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://purl.org/dc/terms/creator", + "object": "_:b2", + "graph": "" + }, + { + "subject": "_:b3", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://xmlns.com/foaf/0.1/Person", + "graph": "" + }, + { + "subject": "_:b3", + "predicate": "http://xmlns.com/foaf/0.1/mbox", + "object": "\"mailto:Anastasia.dimou@UGent.be\"", + "graph": "" + }, + { + "subject": "_:b3", + "predicate": "http://xmlns.com/foaf/0.1/name", + "object": "\"Anastasia Dimou\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://purl.org/dc/terms/contributor", + "object": "_:b3", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology", + "predicate": "http://purl.org/dc/terms/contributor", + "object": "http://maxime-lefrancois.info/me#", + "graph": "" + }, + { + "subject": "http://purl.org/dc/terms/issued", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/2002/07/owl#AnnotationProperty", + "graph": "" + }, + { + "subject": "http://purl.org/dc/terms/modified", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/2002/07/owl#AnnotationProperty", + "graph": "" + }, + { + "subject": "http://xmlns.com/foaf/0.1/primaryTopic", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/2002/07/owl#AnnotationProperty", + "graph": "" + }, + { + "subject": "http://www.w3.org/2001/XMLSchema#date", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/2000/01/rdf-schema#Datatype", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#executes", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/2002/07/owl#ObjectProperty", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#executes", + "predicate": "http://www.w3.org/2000/01/rdf-schema#label", + "object": "\"executes\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#executes", + "predicate": "http://www.w3.org/2000/01/rdf-schema#comment", + "object": "\"Connects a function to an execution definition\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#executes", + "predicate": "http://www.w3.org/2000/01/rdf-schema#isDefinedBy", + "object": "https://w3id.org/function/ontology#", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#executes", + "predicate": "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status", + "object": "\"testing\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#executes", + "predicate": "http://www.w3.org/2000/01/rdf-schema#domain", + "object": "https://w3id.org/function/ontology#Execution", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#executes", + "predicate": "http://www.w3.org/2000/01/rdf-schema#range", + "object": "https://w3id.org/function/ontology#Function", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#expects", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/2002/07/owl#ObjectProperty", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#expects", + "predicate": "http://www.w3.org/2000/01/rdf-schema#label", + "object": "\"expects\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#expects", + "predicate": "http://www.w3.org/2000/01/rdf-schema#comment", + "object": "\"Connects a function description to an ordered list of zero or more parameter descriptions\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#expects", + "predicate": "http://www.w3.org/2000/01/rdf-schema#isDefinedBy", + "object": "https://w3id.org/function/ontology#", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#expects", + "predicate": "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status", + "object": "\"testing\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#expects", + "predicate": "http://www.w3.org/2000/01/rdf-schema#domain", + "object": "https://w3id.org/function/ontology#Function", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#expects", + "predicate": "http://www.w3.org/2000/01/rdf-schema#range", + "object": "http://www.w3.org/1999/02/22-rdf-syntax-ns#List", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#implements", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/2002/07/owl#ObjectProperty", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#implements", + "predicate": "http://www.w3.org/2000/01/rdf-schema#label", + "object": "\"implements\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#implements", + "predicate": "http://www.w3.org/2000/01/rdf-schema#comment", + "object": "\"Connects a function to an algorithm it implements. A function can implement 0..n algorithms.\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#implements", + "predicate": "http://www.w3.org/2000/01/rdf-schema#isDefinedBy", + "object": "https://w3id.org/function/ontology#", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#implements", + "predicate": "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status", + "object": "\"testing\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#implements", + "predicate": "http://www.w3.org/2000/01/rdf-schema#range", + "object": "https://w3id.org/function/ontology#Algorithm", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#implements", + "predicate": "http://www.w3.org/2000/01/rdf-schema#domain", + "object": "https://w3id.org/function/ontology#Function", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#returns", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/2002/07/owl#ObjectProperty", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#returns", + "predicate": "http://www.w3.org/2000/01/rdf-schema#label", + "object": "\"returns\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#returns", + "predicate": "http://www.w3.org/2000/01/rdf-schema#comment", + "object": "\"Connects a description of a function to the description of the output\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#returns", + "predicate": "http://www.w3.org/2000/01/rdf-schema#isDefinedBy", + "object": "https://w3id.org/function/ontology#", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#returns", + "predicate": "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status", + "object": "\"testing\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#returns", + "predicate": "http://www.w3.org/2000/01/rdf-schema#domain", + "object": "https://w3id.org/function/ontology#Function", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#returns", + "predicate": "http://www.w3.org/2000/01/rdf-schema#range", + "object": "https://w3id.org/function/ontology#Output", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#solves", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/2002/07/owl#ObjectProperty", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#solves", + "predicate": "http://www.w3.org/2000/01/rdf-schema#label", + "object": "\"solves\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#solves", + "predicate": "http://www.w3.org/2000/01/rdf-schema#comment", + "object": "\"Connects a description of a function to the description of a problem it tries to solve.\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#solves", + "predicate": "http://www.w3.org/2000/01/rdf-schema#isDefinedBy", + "object": "https://w3id.org/function/ontology#", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#solves", + "predicate": "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status", + "object": "\"testing\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#solves", + "predicate": "http://www.w3.org/2000/01/rdf-schema#domain", + "object": "https://w3id.org/function/ontology#Function", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#solves", + "predicate": "http://www.w3.org/2000/01/rdf-schema#range", + "object": "https://w3id.org/function/ontology#Problem", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#predicate", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#predicate", + "predicate": "http://www.w3.org/2000/01/rdf-schema#label", + "object": "\"predicate\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#predicate", + "predicate": "http://www.w3.org/2000/01/rdf-schema#comment", + "object": "\"Connects a parameter description to the predicate used to link executions of this function to their parameter.\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#predicate", + "predicate": "http://www.w3.org/2000/01/rdf-schema#isDefinedBy", + "object": "https://w3id.org/function/ontology#", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#predicate", + "predicate": "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status", + "object": "\"testing\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#predicate", + "predicate": "http://www.w3.org/2000/01/rdf-schema#domain", + "object": "https://w3id.org/function/ontology#Parameter", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#predicate", + "predicate": "http://www.w3.org/2000/01/rdf-schema#range", + "object": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#type", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#type", + "predicate": "http://www.w3.org/2000/01/rdf-schema#label", + "object": "\"type\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#type", + "predicate": "http://www.w3.org/2000/01/rdf-schema#comment", + "object": "\"Connects an output or a parameter description to the type of instances of these parameters or outputs.\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#type", + "predicate": "http://www.w3.org/2000/01/rdf-schema#isDefinedBy", + "object": "https://w3id.org/function/ontology#", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#type", + "predicate": "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status", + "object": "\"testing\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#type", + "predicate": "http://www.w3.org/2000/01/rdf-schema#domain", + "object": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#name", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#name", + "predicate": "http://www.w3.org/2000/01/rdf-schema#label", + "object": "\"name\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#name", + "predicate": "http://www.w3.org/2000/01/rdf-schema#comment", + "object": "\"Connects a function or a parameter to its name.\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#name", + "predicate": "http://www.w3.org/2000/01/rdf-schema#subPropertyOf", + "object": "http://www.w3.org/2000/01/rdf-schema#label", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#name", + "predicate": "http://www.w3.org/2000/01/rdf-schema#range", + "object": "http://www.w3.org/2001/XMLSchema#string", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#name", + "predicate": "http://www.w3.org/2000/01/rdf-schema#isDefinedBy", + "object": "https://w3id.org/function/ontology#", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#name", + "predicate": "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status", + "object": "\"testing\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#name", + "predicate": "http://www.w3.org/2000/01/rdf-schema#domain", + "object": "https://w3id.org/function/ontology#Function", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#required", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#required", + "predicate": "http://www.w3.org/2000/01/rdf-schema#label", + "object": "\"required\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#required", + "predicate": "http://www.w3.org/2000/01/rdf-schema#comment", + "object": "\"Defines if a parameter or an output is required.\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#required", + "predicate": "http://www.w3.org/2000/01/rdf-schema#range", + "object": "http://www.w3.org/2001/XMLSchema#boolean", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#required", + "predicate": "http://www.w3.org/2000/01/rdf-schema#isDefinedBy", + "object": "https://w3id.org/function/ontology#", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#required", + "predicate": "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status", + "object": "\"testing\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#nullable", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#nullable", + "predicate": "http://www.w3.org/2000/01/rdf-schema#label", + "object": "\"nullable\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#nullable", + "predicate": "http://www.w3.org/2000/01/rdf-schema#comment", + "object": "\"Defines if a parameteris nullable.\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#nullable", + "predicate": "http://www.w3.org/2000/01/rdf-schema#range", + "object": "http://www.w3.org/2001/XMLSchema#boolean", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#nullable", + "predicate": "http://www.w3.org/2000/01/rdf-schema#isDefinedBy", + "object": "https://w3id.org/function/ontology#", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#nullable", + "predicate": "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status", + "object": "\"testing\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Algorithm", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/2002/07/owl#Class", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Algorithm", + "predicate": "http://www.w3.org/2000/01/rdf-schema#label", + "object": "\"Algorithm\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Algorithm", + "predicate": "http://www.w3.org/2000/01/rdf-schema#comment", + "object": "\"A declaration of an algorithm. An algorithm is a specified set of instructions, independent of its implementation. There is no one-to-one mapping between an algorithm and a problem.\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Algorithm", + "predicate": "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status", + "object": "\"testing\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Algorithm", + "predicate": "http://www.w3.org/2000/01/rdf-schema#isDefinedBy", + "object": "https://w3id.org/function/ontology#", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Execution", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/2002/07/owl#Class", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Execution", + "predicate": "http://www.w3.org/2000/01/rdf-schema#label", + "object": "\"Execution\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Execution", + "predicate": "http://www.w3.org/2000/01/rdf-schema#comment", + "object": "\"An execution is the connection between a function and its input and output values.\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Execution", + "predicate": "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status", + "object": "\"testing\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Execution", + "predicate": "http://www.w3.org/2000/01/rdf-schema#isDefinedBy", + "object": "https://w3id.org/function/ontology#", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Function", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/2002/07/owl#Class", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Function", + "predicate": "http://www.w3.org/2000/01/rdf-schema#label", + "object": "\"Function\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Function", + "predicate": "http://www.w3.org/2000/01/rdf-schema#comment", + "object": "\"The declared function\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Function", + "predicate": "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status", + "object": "\"testing\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Function", + "predicate": "http://www.w3.org/2000/01/rdf-schema#isDefinedBy", + "object": "https://w3id.org/function/ontology#", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Output", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/2002/07/owl#Class", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Output", + "predicate": "http://www.w3.org/2000/01/rdf-schema#label", + "object": "\"Output\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Output", + "predicate": "http://www.w3.org/2000/01/rdf-schema#comment", + "object": "\"The definition of an output of a function\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Output", + "predicate": "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status", + "object": "\"testing\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Output", + "predicate": "http://www.w3.org/2000/01/rdf-schema#isDefinedBy", + "object": "https://w3id.org/function/ontology#", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Parameter", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/2002/07/owl#Class", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Parameter", + "predicate": "http://www.w3.org/2000/01/rdf-schema#label", + "object": "\"Parameter\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Parameter", + "predicate": "http://www.w3.org/2000/01/rdf-schema#comment", + "object": "\"The definition of a parameter to a certain function\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Parameter", + "predicate": "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status", + "object": "\"testing\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Parameter", + "predicate": "http://www.w3.org/2000/01/rdf-schema#isDefinedBy", + "object": "https://w3id.org/function/ontology#", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Problem", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/2002/07/owl#Class", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Problem", + "predicate": "http://www.w3.org/2000/01/rdf-schema#label", + "object": "\"Problem\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Problem", + "predicate": "http://www.w3.org/2000/01/rdf-schema#comment", + "object": "\"A certain problem that a function solves\"@en", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Problem", + "predicate": "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status", + "object": "\"testing\"", + "graph": "" + }, + { + "subject": "https://w3id.org/function/ontology#Problem", + "predicate": "http://www.w3.org/2000/01/rdf-schema#isDefinedBy", + "object": "https://w3id.org/function/ontology#", + "graph": "" + }, + { + "subject": "http://xmlns.com/foaf/0.1/Document", + "predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", + "object": "http://www.w3.org/2002/07/owl#Class", + "graph": "" + } +] \ No newline at end of file diff --git a/dist/ontology/0.4.1/function.owl b/dist/ontology/0.4.1/function.owl new file mode 100644 index 0000000..d3a3409 --- /dev/null +++ b/dist/ontology/0.4.1/function.owl @@ -0,0 +1,184 @@ + + + + + + fno + https://w3id.org/function/ontology# + The Function Ontology + The Function Ontology + The Function Ontology allows to declare and describe functions. The specification is online at https://w3id.org/function/spec + -Version 0.4.1: wrong range definition, updated descriptions. +-Version 0.4: added some properties +-Version 0.3: improved comments. +-Version 0.2: added extra metadata. +-Version 0.1: creation. + + 0.4.1 + https://w3id.org/function/ontology/0.4 + + 2017-08-25 + 2016-03-08 + Copyright © Ghent University – iMinds – Data Science Lab + + + + + + + + + + + + + + + + + + + + + executes + Connects a function to an execution definition + + testing + + + + + + expects + Connects a function description to an ordered list of zero or more parameter descriptions + + testing + + + + + + implements + Connects a function to an algorithm it implements. A function can implement 0..n algorithms. + + testing + + + + + + returns + Connects a description of a function to the description of the output + + testing + + + + + + solves + Connects a description of a function to the description of a problem it tries to solve. + + testing + + + + + + predicate + Connects a parameter description to the predicate used to link executions of this function to their parameter. + + testing + + + + + + type + Connects an output or a parameter description to the type of instances of these parameters or outputs. + + testing + + + + + name + Connects a function or a parameter to its name. + + + + testing + + + + + required + Defines if a parameter or an output is required. + + + testing + + + + nullable + Defines if a parameteris nullable. + + + testing + + + + Algorithm + A declaration of an algorithm. An algorithm is a specified set of instructions, independent of its implementation. There is no one-to-one mapping between an algorithm and a problem. + testing + + + + + Execution + An execution is the connection between a function and its input and output values. + testing + + + + + Function + The declared function + testing + + + + + Output + The definition of an output of a function + testing + + + + + Parameter + The definition of a parameter to a certain function + testing + + + + + Problem + A certain problem that a function solves + testing + + + + + + + + mailto:Ben.DeMeester@UGent.be + Ben De Meester + + + + mailto:Anastasia.dimou@UGent.be + Anastasia Dimou + + \ No newline at end of file diff --git a/dist/ontology/0.4.1/function.ttl b/dist/ontology/0.4.1/function.ttl new file mode 100644 index 0000000..c874bd4 --- /dev/null +++ b/dist/ontology/0.4.1/function.ttl @@ -0,0 +1,391 @@ +@prefix dct: . +@prefix owl: . +@prefix rdf: . +@prefix xml: . +@prefix xsd: . +@prefix foaf: . +@prefix rdfs: . +@prefix voaf: . +@prefix vann: . +@prefix vs: . +@prefix cc: . +@prefix max: . + +@base . +@prefix : . + rdf:type owl:Ontology ; + + rdf:type voaf:Vocabulary; + + vann:preferredNamespacePrefix "fno"; + + vann:preferredNamespaceUri "https://w3id.org/function/ontology#"; + + rdfs:label "The Function Ontology"@en ; + + dct:title "The Function Ontology"@en ; + + dct:description "The Function Ontology allows to declare and describe functions. The specification is online at https://w3id.org/function/spec"@en; + + rdfs:comment """-Version 0.4.1: wrong range definition, updated descriptions. +-Version 0.4: added some properties +-Version 0.3: improved comments. +-Version 0.2: added extra metadata. +-Version 0.1: creation."""@en ; + + owl:versionIRI ; + owl:versionInfo "0.4.1" ; + owl:priorVersion "https://w3id.org/function/ontology/0.4" ; + + rdfs:seeAlso ; + + dct:modified "2017-08-25"^^xsd:date ; + + dct:issued "2016-03-08"^^xsd:date ; + + dct:rights "Copyright © Ghent University – iMinds – Data Science Lab"@en ; + + cc:license ; + + foaf:primaryTopic ; + + dct:creator [ + + rdf:type foaf:Person ; + + foaf:mbox "mailto:Ben.DeMeester@UGent.be"; + + foaf:name "Ben De Meester"@en + + ] ; + + dct:contributor [ + + rdf:type foaf:Person ; + + foaf:mbox "mailto:Anastasia.dimou@UGent.be" ; + + foaf:name "Anastasia Dimou"@en + + ] ; + dct:contributor max: . + + +################################################################# +# +# Annotation properties +# +################################################################# + + +### http://purl.org/dc/terms/issued + +dct:issued rdf:type owl:AnnotationProperty . + + + +### http://purl.org/dc/terms/modified + +dct:modified rdf:type owl:AnnotationProperty . + + + +### http://xmlns.com/foaf/0.1/primaryTopic + +foaf:primaryTopic rdf:type owl:AnnotationProperty . + + + + + +################################################################# +# +# Datatypes +# +################################################################# + + +### http://www.w3.org/2001/XMLSchema#date + +xsd:date rdf:type rdfs:Datatype . + + + + + +################################################################# +# +# Object Properties +# +################################################################# + + +### https://w3id.org/function/ontology#executes + +:executes rdf:type owl:ObjectProperty ; + + rdfs:label "executes"@en ; + + rdfs:comment "Connects a function to an execution definition"@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Execution ; + + rdfs:range :Function . + + + +### https://w3id.org/function/ontology#expects + +:expects rdf:type owl:ObjectProperty ; + + rdfs:label "expects"@en ; + + rdfs:comment "Connects a function description to an ordered list of zero or more parameter descriptions"@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Function ; + + rdfs:range rdf:List . + + + +### https://w3id.org/function/ontology#implements + +:implements rdf:type owl:ObjectProperty ; + + rdfs:label "implements"@en ; + + rdfs:comment "Connects a function to an algorithm it implements. A function can implement 0..n algorithms."@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:range :Algorithm ; + + rdfs:domain :Function . + + + +### https://w3id.org/function/ontology#returns + +:returns rdf:type owl:ObjectProperty ; + + rdfs:label "returns"@en ; + + rdfs:comment "Connects a description of a function to the description of the output"@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Function ; + + rdfs:range :Output . + + + +### https://w3id.org/function/ontology#solves + +:solves rdf:type owl:ObjectProperty ; + + rdfs:label "solves"@en ; + + rdfs:comment "Connects a description of a function to the description of a problem it tries to solve."@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Function ; + + rdfs:range :Problem . + + + +### https://w3id.org/function/ontology#predicate + +:predicate rdf:type rdf:Property ; + + rdfs:label "predicate"@en ; + + rdfs:comment "Connects a parameter description to the predicate used to link executions of this function to their parameter."@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Parameter ; + + rdfs:range rdf:Property . + + +### https://w3id.org/function/ontology#type + +:type rdf:type rdf:Property ; + + rdfs:label "type"@en ; + + rdfs:comment "Connects an output or a parameter description to the type of instances of these parameters or outputs."@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain rdf:Property . + + + + +### https://w3id.org/function/ontology#name + +:name rdf:type rdf:Property ; + + rdfs:label "name"@en ; + + rdfs:comment "Connects a function or a parameter to its name."@en ; + + rdfs:subPropertyOf rdfs:label ; + + rdfs:range xsd:string ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Function . + +### https://w3id.org/function/ontology#required + +:required rdf:type rdf:Property ; + + rdfs:label "required"@en ; + + rdfs:comment "Defines if a parameter or an output is required."@en ; + + rdfs:range xsd:boolean ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" . + +### https://w3id.org/function/ontology#nullable + +:nullable rdf:type rdf:Property ; + + rdfs:label "nullable"@en ; + + rdfs:comment "Defines if a parameteris nullable."@en ; + + rdfs:range xsd:boolean ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" . + + + + +################################################################# +# +# Classes +# +################################################################# + + +### https://w3id.org/function/ontology#Algorithm + +:Algorithm rdf:type owl:Class ; + + rdfs:label "Algorithm"@en ; + + rdfs:comment "A declaration of an algorithm. An algorithm is a specified set of instructions, independent of its implementation. There is no one-to-one mapping between an algorithm and a problem."@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### https://w3id.org/function/ontology#Execution + +:Execution rdf:type owl:Class ; + + rdfs:label "Execution"@en ; + + rdfs:comment "An execution is the connection between a function and its input and output values."@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### https://w3id.org/function/ontology#Function + +:Function rdf:type owl:Class ; + + rdfs:label "Function"@en ; + + rdfs:comment "The declared function"@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### https://w3id.org/function/ontology#Output + +:Output rdf:type owl:Class ; + + rdfs:label "Output"@en ; + + rdfs:comment "The definition of an output of a function"@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### https://w3id.org/function/ontology#Parameter + +:Parameter rdf:type owl:Class ; + + rdfs:label "Parameter"@en ; + + rdfs:comment "The definition of a parameter to a certain function"@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### https://w3id.org/function/ontology#Problem + +:Problem rdf:type owl:Class ; + + rdfs:label "Problem"@en ; + + rdfs:comment "A certain problem that a function solves"@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### http://xmlns.com/foaf/0.1/Document + +foaf:Document rdf:type owl:Class . + + diff --git a/dist/ontology/0.4/function.owl b/dist/ontology/0.4/function.owl new file mode 100644 index 0000000..98e774a --- /dev/null +++ b/dist/ontology/0.4/function.owl @@ -0,0 +1,401 @@ + + + + + + + + + + + + + + + +]> + + + + + the Function Ontology + 0.4 + 2016-03-08 + 2016-06-10 + -Version 0.4: added some properties +-Version 0.3: improved comments. +-Version 0.2: added extra metadata. +-Version 0.1: creation. + fno + 0.4 + Copyright © Ghent University – iMinds – Data Science Lab + The Function Ontology allows to declare and describe functions. The specification is online at http://users.ugent.be/~bjdmeest/function/ + https://w3id.org/function/ontology# + https://w3id.org/function/ontology/0.3 + the Function Ontology + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + name + Connects an function or a parameter to its name. + testing + + + + + + + + + + + + + + + + + + + + + + + + + + + + executes + testing + Connects a function to an execution definition + + + + + + + + + + + expects + Connects a function description to an ordered list of zero or more parameter descriptions + testing + + + + + + + + + + + implements + testing + Connects a function to an algorithm it implements. A function can implement 0..n algorithms. + + + + + + + + + + + predicate + testing + Connects a parameter description to the predicate used to link executions of this function to their parameter. + + + + + + + + + + + returns + Connects a description of a function to the description of the output + testing + + + + + + + + + + + solves + Connects a description of a function to the description of a problem it tries to solve. + testing + + + + + + + + + + + type + Connects an output or a parameter description to the type of instances of these parameters or outputs. + testing + + + + + + + + + + + + + + + nullable + Defines if a parameteris nullable. + testing + + + + + + + + + + required + testing + Defines if a parameter or an output is required. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Algorithm + testing + A declaration of an algorithm. An algorithm is a specified set of instructions, independent of its implementation. There is no one-to-one mapping between an algorithm and a problem. + + + + + + + + + Execution + An execution is the connection between a function and its input and output values. + testing + + + + + + + + + Function + The declared function + testing + + + + + + + + + Output + testing + The definition of an output of a function + + + + + + + + + Parameter + testing + The definition of a parameter to a certain function + + + + + + + + + Problem + A certain problem that a function solves + testing + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/ontology/0.4/function.ttl b/dist/ontology/0.4/function.ttl new file mode 100644 index 0000000..d579749 --- /dev/null +++ b/dist/ontology/0.4/function.ttl @@ -0,0 +1,392 @@ +@prefix dct: . +@prefix owl: . +@prefix rdf: . +@prefix xml: . +@prefix xsd: . +@prefix foaf: . +@prefix rdfs: . +@prefix voaf: . +@prefix vann: . +@prefix vs: . +@prefix cc: . +@prefix max: . + +@base . +@prefix : . + rdf:type owl:Ontology ; + + rdf:type voaf:Vocabulary; + + vann:preferredNamespacePrefix "fno"; + + vann:preferredNamespaceUri "https://w3id.org/function/ontology#"; + + rdfs:label "the Function Ontology"@en ; + + dct:title "the Function Ontology"@en ; + + dct:description "The Function Ontology allows to declare and describe functions. The specification is online at http://users.ugent.be/~bjdmeest/function/"@en; + + rdfs:comment """-Version 0.4: added some properties +-Version 0.3: improved comments. +-Version 0.2: added extra metadata. +-Version 0.1: creation."""@en ; + + owl:versionIRI ; + owl:versionInfo "0.4" ; + owl:priorVersion "https://w3id.org/function/ontology/0.3" ; + + rdfs:seeAlso ; + + dct:modified "2016-06-10"^^xsd:date ; + + dct:issued "2016-03-08"^^xsd:date ; + + owl:versionInfo "0.4"^^xsd:decimal ; + + dct:rights "Copyright © Ghent University – iMinds – Data Science Lab"@en ; + + cc:license ; + + foaf:primaryTopic ; + + dct:creator [ + + rdf:type foaf:Person ; + + foaf:mbox "mailto:Ben.DeMeester@UGent.be"; + + foaf:name "Ben De Meester"@en + + ] ; + + dct:contributor [ + + rdf:type foaf:Person ; + + foaf:mbox "mailto:Anastasia.dimou@UGent.be" ; + + foaf:name "Anastasia Dimou"@en + + ] ; + dct:contributor max: . + + +################################################################# +# +# Annotation properties +# +################################################################# + + +### http://purl.org/dc/terms/issued + +dct:issued rdf:type owl:AnnotationProperty . + + + +### http://purl.org/dc/terms/modified + +dct:modified rdf:type owl:AnnotationProperty . + + + +### http://xmlns.com/foaf/0.1/primaryTopic + +foaf:primaryTopic rdf:type owl:AnnotationProperty . + + + + + +################################################################# +# +# Datatypes +# +################################################################# + + +### http://www.w3.org/2001/XMLSchema#date + +xsd:date rdf:type rdfs:Datatype . + + + + + +################################################################# +# +# Object Properties +# +################################################################# + + +### https://w3id.org/function/ontology#executes + +:executes rdf:type owl:ObjectProperty ; + + rdfs:label "executes"@en ; + + rdfs:comment "Connects a function to an execution definition"@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Execution ; + + rdfs:range :Function . + + + +### https://w3id.org/function/ontology#expects + +:expects rdf:type owl:ObjectProperty ; + + rdfs:label "expects"@en ; + + rdfs:comment "Connects a function description to an ordered list of zero or more parameter descriptions"@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Function ; + + rdfs:range rdf:List . + + + +### https://w3id.org/function/ontology#implements + +:implements rdf:type owl:ObjectProperty ; + + rdfs:label "implements"@en ; + + rdfs:comment "Connects a function to an algorithm it implements. A function can implement 0..n algorithms."@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:range :Algorithm ; + + rdfs:domain :Function . + + + +### https://w3id.org/function/ontology#returns + +:returns rdf:type owl:ObjectProperty ; + + rdfs:label "returns"@en ; + + rdfs:comment "Connects a description of a function to the description of the output"@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Function ; + + rdfs:range :Output . + + + +### https://w3id.org/function/ontology#solves + +:solves rdf:type owl:ObjectProperty ; + + rdfs:label "solves"@en ; + + rdfs:comment "Connects a description of a function to the description of a problem it tries to solve."@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Function ; + + rdfs:range :Problem . + + + +### https://w3id.org/function/ontology#predicate + +:predicate rdf:type rdf:Property ; + + rdfs:label "predicate"@en ; + + rdfs:comment "Connects a parameter description to the predicate used to link executions of this function to their parameter."@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Parameter ; + + rdfs:range rdf:Property . + + +### https://w3id.org/function/ontology#type + +:type rdf:type rdf:Property ; + + rdfs:label "type"@en ; + + rdfs:comment "Connects an output or a parameter description to the type of instances of these parameters or outputs."@en ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:range rdf:Property . + + + + +### https://w3id.org/function/ontology#name + +:name rdf:type rdf:Property ; + + rdfs:label "name"@en ; + + rdfs:comment "Connects an function or a parameter to its name."@en ; + + rdfs:subPropertyOf rdfs:label ; + + rdfs:range xsd:string ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" ; + + rdfs:domain :Function . + +### https://w3id.org/function/ontology#required + +:required rdf:type rdf:Property ; + + rdfs:label "required"@en ; + + rdfs:comment "Defines if a parameter or an output is required."@en ; + + rdfs:range xsd:boolean ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" . + +### https://w3id.org/function/ontology#nullable + +:nullable rdf:type rdf:Property ; + + rdfs:label "nullable"@en ; + + rdfs:comment "Defines if a parameteris nullable."@en ; + + rdfs:range xsd:boolean ; + + rdfs:isDefinedBy ; + + vs:term_status "testing" . + + + + +################################################################# +# +# Classes +# +################################################################# + + +### https://w3id.org/function/ontology#Algorithm + +:Algorithm rdf:type owl:Class ; + + rdfs:label "Algorithm"@en ; + + rdfs:comment "A declaration of an algorithm. An algorithm is a specified set of instructions, independent of its implementation. There is no one-to-one mapping between an algorithm and a problem."@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### https://w3id.org/function/ontology#Execution + +:Execution rdf:type owl:Class ; + + rdfs:label "Execution"@en ; + + rdfs:comment "An execution is the connection between a function and its input and output values."@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### https://w3id.org/function/ontology#Function + +:Function rdf:type owl:Class ; + + rdfs:label "Function"@en ; + + rdfs:comment "The declared function"@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### https://w3id.org/function/ontology#Output + +:Output rdf:type owl:Class ; + + rdfs:label "Output"@en ; + + rdfs:comment "The definition of an output of a function"@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### https://w3id.org/function/ontology#Parameter + +:Parameter rdf:type owl:Class ; + + rdfs:label "Parameter"@en ; + + rdfs:comment "The definition of a parameter to a certain function"@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### https://w3id.org/function/ontology#Problem + +:Problem rdf:type owl:Class ; + + rdfs:label "Problem"@en ; + + rdfs:comment "A certain problem that a function solves"@en ; + + vs:term_status "testing" ; + + rdfs:isDefinedBy . + + + +### http://xmlns.com/foaf/0.1/Document + +foaf:Document rdf:type owl:Class . + + diff --git a/dist/ontology/0.5.0/.htaccess b/dist/ontology/0.5.0/.htaccess new file mode 100644 index 0000000..bbdee9f --- /dev/null +++ b/dist/ontology/0.5.0/.htaccess @@ -0,0 +1,47 @@ +# Turn off MultiViews +Options -MultiViews + +# Directive to ensure *.rdf files served as appropriate content type, +# if not present in main apache config +AddType application/rdf+xml .rdf +AddType application/rdf+xml .owl +AddType text/turtle .ttl +AddType application/n-triples .n3 +AddType application/ld+json .json +# Rewrite engine setup +RewriteEngine On +#Change the path to the folder here +RewriteBase /fno-ontology + +# Rewrite rule to serve HTML content from the vocabulary URI if requested +RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml) +RewriteCond %{HTTP_ACCEPT} text/html [OR] +RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR] +RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.* +RewriteRule ^$ index-en.html [R=303,L] + +# Rewrite rule to serve JSON-LD content from the vocabulary URI if requested +RewriteCond %{HTTP_ACCEPT} application/ld\+json +RewriteRule ^$ ontology.json [R=303,L] + +# Rewrite rule to serve RDF/XML content from the vocabulary URI if requested +RewriteCond %{HTTP_ACCEPT} \*/\* [OR] +RewriteCond %{HTTP_ACCEPT} application/rdf\+xml +RewriteRule ^$ ontology.xml [R=303,L] + +# Rewrite rule to serve N-Triples content from the vocabulary URI if requested +RewriteCond %{HTTP_ACCEPT} application/n-triples +RewriteRule ^$ ontology.nt [R=303,L] + +# Rewrite rule to serve TTL content from the vocabulary URI if requested +RewriteCond %{HTTP_ACCEPT} text/turtle [OR] +RewriteCond %{HTTP_ACCEPT} text/\* [OR] +RewriteCond %{HTTP_ACCEPT} \*/turtle +RewriteRule ^$ ontology.ttl [R=303,L] + +RewriteCond %{HTTP_ACCEPT} .+ +RewriteRule ^$ 406.html [R=406,L] +# Default response +# --------------------------- +# Rewrite rule to serve the RDF/XML content from the vocabulary URI by default +RewriteRule ^$ ontology.xml [R=303,L] \ No newline at end of file diff --git a/dist/ontology/0.5.0/406.html b/dist/ontology/0.5.0/406.html new file mode 100644 index 0000000..2a3157a --- /dev/null +++ b/dist/ontology/0.5.0/406.html @@ -0,0 +1,10 @@ + + +406 Not Acceptable + + +

Not Acceptable

+

An appropriate representation of the requested resource could not be found on this server.

+ Available variants: + + \ No newline at end of file diff --git a/dist/ontology/0.5.0/index-en.html b/dist/ontology/0.5.0/index-en.html new file mode 100644 index 0000000..11ae414 --- /dev/null +++ b/dist/ontology/0.5.0/index-en.html @@ -0,0 +1,117 @@ + + + + + + The Function Ontology + + + + + + + + + + + + + +
+
+
language en
+

The Function Ontology

+

Release 2019-03-13

+ + +
+
This version:
+
https://w3id.org/function/ontology/0.5.0
+
Previous version:
+
https://w3id.org/function/ontology/0.4.1
+
Revision:
+
0.5.0
+
Authors:
+
Ben De Meester
Anastasia Dimou
+ +
Publisher:
+
Ben De Meester
+
Download serialization:
JSON-LD RDF/XML N-Triples TTL
License:
http://creativecommons.org/license/by/3.0/ +
Visualization:
Visualize with WebVowl
+
Cite as:
+
Ben De Meester and Anastasia Dimou. The Function Ontology. Revision: 0.5.0. https://w3id.org/function/ontology/0.5.0
+
+ +Provenance of this page
+
+
+
+Ontology Specification Draft +
+
+
+
+
+
+
+
+ +
+

Acknowledgements back to ToC

+

+The authors would like to thank Silvio Peroni for developing LODE, a Live OWL Documentation Environment, which is used for representing the Cross Referencing Section of this document and Daniel Garijo for developing Widoco, the program used to create the template used in this documentation.

+
+ + + +
+ + \ No newline at end of file diff --git a/dist/ontology/0.5.0/ontology.json b/dist/ontology/0.5.0/ontology.json new file mode 100644 index 0000000..172a458 --- /dev/null +++ b/dist/ontology/0.5.0/ontology.json @@ -0,0 +1,658 @@ +[ { + "@id" : "http://creativecommons.org/ns#license", + "@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ] +}, { + "@id" : "http://purl.org/dc/terms/creator", + "@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ] +}, { + "@id" : "http://purl.org/dc/terms/description", + "@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ] +}, { + "@id" : "http://purl.org/dc/terms/issued", + "@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ] +}, { + "@id" : "http://purl.org/dc/terms/modified", + "@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ] +}, { + "@id" : "http://purl.org/dc/terms/publisher", + "@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ] +}, { + "@id" : "http://purl.org/dc/terms/rights", + "@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ] +}, { + "@id" : "http://purl.org/dc/terms/title", + "@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ] +}, { + "@id" : "http://purl.org/vocab/vann/preferredNamespacePrefix", + "@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ] +}, { + "@id" : "http://purl.org/vocab/vann/preferredNamespaceUri", + "@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ] +}, { + "@id" : "http://purl.org/vocommons/voaf#Vocabulary", + "@type" : [ "http://www.w3.org/2002/07/owl#Class" ] +}, { + "@id" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#List", + "@type" : [ "http://www.w3.org/2002/07/owl#Class" ] +}, { + "@id" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property", + "@type" : [ "http://www.w3.org/2002/07/owl#Class" ] +}, { + "@id" : "http://www.w3.org/2001/XMLSchema#date", + "@type" : [ "http://www.w3.org/2000/01/rdf-schema#Datatype" ] +}, { + "@id" : "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status", + "@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ] +}, { + "@id" : "http://xmlns.com/foaf/0.1/Person", + "@type" : [ "http://www.w3.org/2002/07/owl#Class" ] +}, { + "@id" : "http://xmlns.com/foaf/0.1/mbox", + "@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ] +}, { + "@id" : "http://xmlns.com/foaf/0.1/name", + "@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ] +}, { + "@id" : "http://xmlns.com/foaf/0.1/primaryTopic", + "@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ] +}, { + "@id" : "https://ben.de-meester.org/#me", + "@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://xmlns.com/foaf/0.1/Person" ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "Ben De Meester" + } ], + "http://xmlns.com/foaf/0.1/mbox" : [ { + "@value" : "mailto:Ben.DeMeester@UGent.be" + } ], + "http://xmlns.com/foaf/0.1/name" : [ { + "@language" : "en", + "@value" : "Ben De Meester" + } ] +}, { + "@id" : "https://data.verborgh.org/people/anastasia_dimou", + "@type" : [ "http://www.w3.org/2002/07/owl#NamedIndividual", "http://xmlns.com/foaf/0.1/Person" ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "Anastasia Dimou" + } ], + "http://xmlns.com/foaf/0.1/mbox" : [ { + "@value" : "mailto:Anastasia.dimou@UGent.be" + } ], + "http://xmlns.com/foaf/0.1/name" : [ { + "@language" : "en", + "@value" : "Anastasia Dimou" + } ] +}, { + "@id" : "https://w3id.org/function/ontology", + "@type" : [ "http://www.w3.org/2002/07/owl#Ontology", "http://www.w3.org/2002/07/owl#NamedIndividual", "http://purl.org/vocommons/voaf#Vocabulary" ], + "http://creativecommons.org/ns#license" : [ { + "@id" : "http://creativecommons.org/license/by/3.0/" + } ], + "http://purl.org/dc/terms/creator" : [ { + "@id" : "https://ben.de-meester.org/#me" + }, { + "@id" : "https://data.verborgh.org/people/anastasia_dimou" + } ], + "http://purl.org/dc/terms/description" : [ { + "@language" : "en", + "@value" : "The Function Ontology allows to declare and describe functions. The specification is online at https://w3id.org/function/spec" + } ], + "http://purl.org/dc/terms/issued" : [ { + "@type" : "http://www.w3.org/2001/XMLSchema#date", + "@value" : "2016-03-08" + } ], + "http://purl.org/dc/terms/modified" : [ { + "@type" : "http://www.w3.org/2001/XMLSchema#date", + "@value" : "2019-03-13" + } ], + "http://purl.org/dc/terms/publisher" : [ { + "@id" : "https://ben.de-meester.org/#me" + } ], + "http://purl.org/dc/terms/rights" : [ { + "@language" : "en", + "@value" : "Copyright © Ghent University – imec – IDLab" + } ], + "http://purl.org/dc/terms/title" : [ { + "@language" : "en", + "@value" : "The Function Ontology" + } ], + "http://purl.org/vocab/vann/preferredNamespacePrefix" : [ { + "@value" : "fno" + } ], + "http://purl.org/vocab/vann/preferredNamespaceUri" : [ { + "@value" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "-Version 0.5.0: added Mapping and Implementation classes.\r\n-Version 0.4.1: wrong range definition, updated descriptions.\r\n-Version 0.4: added some properties\r\n-Version 0.3: improved comments.\r\n-Version 0.2: added extra metadata.\r\n-Version 0.1: creation." + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "The Function Ontology" + } ], + "http://www.w3.org/2000/01/rdf-schema#seeAlso" : [ { + "@id" : "https://w3id.org/function/spec" + } ], + "http://www.w3.org/2002/07/owl#priorVersion" : [ { + "@value" : "https://w3id.org/function/ontology/0.4.1" + } ], + "http://www.w3.org/2002/07/owl#versionIRI" : [ { + "@id" : "https://w3id.org/function/ontology/0.5.0" + } ], + "http://www.w3.org/2002/07/owl#versionInfo" : [ { + "@value" : "0.5.0" + } ], + "http://xmlns.com/foaf/0.1/primaryTopic" : [ { + "@id" : "https://w3id.org/function/ontology" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#Algorithm", + "@type" : [ "http://www.w3.org/2002/07/owl#Class" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "A declaration of an algorithm. An algorithm is a specified set of instructions, independent of its implementation. There is no one-to-one mapping between an algorithm and a problem." + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "Algorithm" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#Execution", + "@type" : [ "http://www.w3.org/2002/07/owl#Class" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "An execution is the connection between a function and its input and output values." + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "Execution" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#Function", + "@type" : [ "http://www.w3.org/2002/07/owl#Class" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "The declared function" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "Function" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#Implementation", + "@type" : [ "http://www.w3.org/2002/07/owl#Class" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "A certain implementation of a function" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "Implementation" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#Mapping", + "@type" : [ "http://www.w3.org/2002/07/owl#Class" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "A mapping connects a function to an implementation" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "Mapping" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#MethodMapping", + "@type" : [ "http://www.w3.org/2002/07/owl#Class" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "A method mapping unambiguously specifies how the abstract function can be mapped to the implemented method. This can be, e.g., the name of the method" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "Method mapping" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#Output", + "@type" : [ "http://www.w3.org/2002/07/owl#Class" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "The definition of an output of a function" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "Output" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#Parameter", + "@type" : [ "http://www.w3.org/2002/07/owl#Class" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "The definition of a parameter to a certain function" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "Parameter" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#ParameterMapping", + "@type" : [ "http://www.w3.org/2002/07/owl#Class" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "A parameter mapping unambiguously specifies how the abstract parameter can be mapped to the implemented method's argument. For example: Parameter X is mapped to the third argument of the method (a position parameter mapping, common for programming languages), or to property with name Y of the method (a property parameter mapping, common for Web APIs)" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "Parameter mapping" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#Problem", + "@type" : [ "http://www.w3.org/2002/07/owl#Class" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "A certain problem that a function solves" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "Problem" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#executes", + "@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "Connects a function to an execution definition" + } ], + "http://www.w3.org/2000/01/rdf-schema#domain" : [ { + "@id" : "https://w3id.org/function/ontology#Execution" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "executes" + } ], + "http://www.w3.org/2000/01/rdf-schema#range" : [ { + "@id" : "https://w3id.org/function/ontology#Function" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#expects", + "@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "Connects a function description to an ordered list of zero or more parameter descriptions" + } ], + "http://www.w3.org/2000/01/rdf-schema#domain" : [ { + "@id" : "https://w3id.org/function/ontology#Function" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "expects" + } ], + "http://www.w3.org/2000/01/rdf-schema#range" : [ { + "@id" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#List" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#function", + "@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "Connects a function to a mapping definition" + } ], + "http://www.w3.org/2000/01/rdf-schema#domain" : [ { + "@id" : "https://w3id.org/function/ontology#Mapping" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "function" + } ], + "http://www.w3.org/2000/01/rdf-schema#range" : [ { + "@id" : "https://w3id.org/function/ontology#Function" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#implementation", + "@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "Connects an implementation to a mapping definition" + } ], + "http://www.w3.org/2000/01/rdf-schema#domain" : [ { + "@id" : "https://w3id.org/function/ontology#Mapping" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "implementation" + } ], + "http://www.w3.org/2000/01/rdf-schema#range" : [ { + "@id" : "https://w3id.org/function/ontology#Implementation" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#implements", + "@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "Connects a function to an algorithm it implements. A function can implement 0..n algorithms." + } ], + "http://www.w3.org/2000/01/rdf-schema#domain" : [ { + "@id" : "https://w3id.org/function/ontology#Function" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "implements" + } ], + "http://www.w3.org/2000/01/rdf-schema#range" : [ { + "@id" : "https://w3id.org/function/ontology#Algorithm" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#methodMapping", + "@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "Connects a method mapping to a mapping definition" + } ], + "http://www.w3.org/2000/01/rdf-schema#domain" : [ { + "@id" : "https://w3id.org/function/ontology#Mapping" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "method mapping" + } ], + "http://www.w3.org/2000/01/rdf-schema#range" : [ { + "@id" : "https://w3id.org/function/ontology#MethodMapping" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#name", + "@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "Connects a function or a parameter to its name." + } ], + "http://www.w3.org/2000/01/rdf-schema#domain" : [ { + "@id" : "https://w3id.org/function/ontology#Function" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "name" + } ], + "http://www.w3.org/2000/01/rdf-schema#range" : [ { + "@id" : "http://www.w3.org/2001/XMLSchema#string" + } ], + "http://www.w3.org/2000/01/rdf-schema#subPropertyOf" : [ { + "@id" : "http://www.w3.org/2000/01/rdf-schema#label" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#nullable", + "@type" : [ "http://www.w3.org/2002/07/owl#DatatypeProperty" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "Defines if a parameteris nullable." + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "nullable" + } ], + "http://www.w3.org/2000/01/rdf-schema#range" : [ { + "@id" : "http://www.w3.org/2001/XMLSchema#boolean" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#parameterMapping", + "@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "Connects a parameter mapping to a mapping definition" + } ], + "http://www.w3.org/2000/01/rdf-schema#domain" : [ { + "@id" : "https://w3id.org/function/ontology#Mapping" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "parameter mapping" + } ], + "http://www.w3.org/2000/01/rdf-schema#range" : [ { + "@id" : "https://w3id.org/function/ontology#ParameterMapping" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#predicate", + "@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "Connects a parameter description to the predicate used to link executions of this function to their parameter." + } ], + "http://www.w3.org/2000/01/rdf-schema#domain" : [ { + "@id" : "https://w3id.org/function/ontology#Parameter" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "predicate" + } ], + "http://www.w3.org/2000/01/rdf-schema#range" : [ { + "@id" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#required", + "@type" : [ "http://www.w3.org/2002/07/owl#DatatypeProperty" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "Defines if a parameter or an output is required." + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "required" + } ], + "http://www.w3.org/2000/01/rdf-schema#range" : [ { + "@id" : "http://www.w3.org/2001/XMLSchema#boolean" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#returns", + "@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "Connects a description of a function to the description of the output" + } ], + "http://www.w3.org/2000/01/rdf-schema#domain" : [ { + "@id" : "https://w3id.org/function/ontology#Function" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "returns" + } ], + "http://www.w3.org/2000/01/rdf-schema#range" : [ { + "@id" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#List" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#solves", + "@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "Connects a description of a function to the description of a problem it tries to solve." + } ], + "http://www.w3.org/2000/01/rdf-schema#domain" : [ { + "@id" : "https://w3id.org/function/ontology#Function" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "solves" + } ], + "http://www.w3.org/2000/01/rdf-schema#range" : [ { + "@id" : "https://w3id.org/function/ontology#Problem" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#type", + "@type" : [ "http://www.w3.org/2002/07/owl#AnnotationProperty" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "Connects an output or a parameter description to the type of instances of these parameters or outputs." + } ], + "http://www.w3.org/2000/01/rdf-schema#domain" : [ { + "@id" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "type" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +}, { + "@id" : "https://w3id.org/function/ontology#uses", + "@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ], + "http://www.w3.org/2000/01/rdf-schema#comment" : [ { + "@language" : "en", + "@value" : "Connects an execution to a mapping definition" + } ], + "http://www.w3.org/2000/01/rdf-schema#domain" : [ { + "@id" : "https://w3id.org/function/ontology#Execution" + } ], + "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ { + "@id" : "https://w3id.org/function/ontology#" + } ], + "http://www.w3.org/2000/01/rdf-schema#label" : [ { + "@language" : "en", + "@value" : "uses" + } ], + "http://www.w3.org/2000/01/rdf-schema#range" : [ { + "@id" : "https://w3id.org/function/ontology#Mapping" + } ], + "http://www.w3.org/2003/06/sw-vocab-status/ns#term_status" : [ { + "@value" : "testing" + } ] +} ] \ No newline at end of file diff --git a/dist/ontology/0.5.0/ontology.nt b/dist/ontology/0.5.0/ontology.nt new file mode 100644 index 0000000..2ddfa61 --- /dev/null +++ b/dist/ontology/0.5.0/ontology.nt @@ -0,0 +1,352 @@ + . + . + . + . + . + "The Function Ontology allows to declare and describe functions. The specification is online at https://w3id.org/function/spec"@en . + "2016-03-08"^^ . + "2019-03-13"^^ . + . + "Copyright © Ghent University – imec – IDLab"@en . + "The Function Ontology"@en . + "fno" . + "https://w3id.org/function/ontology#" . + "-Version 0.5.0: added Mapping and Implementation classes.\r\n-Version 0.4.1: wrong range definition, updated descriptions.\r\n-Version 0.4: added some properties\r\n-Version 0.3: improved comments.\r\n-Version 0.2: added extra metadata.\r\n-Version 0.1: creation."@en . + "The Function Ontology"@en . + . + "https://w3id.org/function/ontology/0.4.1" . + "0.5.0" . + . +# +# +# ################################################################# +# # +# # Annotation properties +# # +# ################################################################# +# +# +# http://creativecommons.org/ns#license + . +# +# http://purl.org/dc/terms/creator + . +# +# http://purl.org/dc/terms/description + . +# +# http://purl.org/dc/terms/issued + . +# +# http://purl.org/dc/terms/modified + . +# +# http://purl.org/dc/terms/publisher + . +# +# http://purl.org/dc/terms/rights + . +# +# http://purl.org/dc/terms/title + . +# +# http://purl.org/vocab/vann/preferredNamespacePrefix + . +# +# http://purl.org/vocab/vann/preferredNamespaceUri + . +# +# http://www.w3.org/2003/06/sw-vocab-status/ns#term_status + . +# +# http://xmlns.com/foaf/0.1/mbox + . +# +# http://xmlns.com/foaf/0.1/name + . +# +# http://xmlns.com/foaf/0.1/primaryTopic + . +# +# https://w3id.org/function/ontology#name + "Connects a function or a parameter to its name."@en . + . + "name"@en . + "testing" . + . + . + . + . +# +# https://w3id.org/function/ontology#type + "Connects an output or a parameter description to the type of instances of these parameters or outputs."@en . + . + "type"@en . + "testing" . + . + . +# +# +# +# ################################################################# +# # +# # Datatypes +# # +# ################################################################# +# +# +# http://www.w3.org/2001/XMLSchema#date + . +# +# +# +# ################################################################# +# # +# # Object Properties +# # +# ################################################################# +# +# +# https://w3id.org/function/ontology#executes + . + . + . + "Connects a function to an execution definition"@en . + . + "executes"@en . + "testing" . +# +# https://w3id.org/function/ontology#expects + . + . + . + . + "Connects a function description to an ordered list of zero or more parameter descriptions"@en . + . + "expects"@en . + "testing" . +# +# https://w3id.org/function/ontology#function + . + . + . + "Connects a function to a mapping definition"@en . + . + "function"@en . + "testing" . +# +# https://w3id.org/function/ontology#implementation + . + . + . + "Connects an implementation to a mapping definition"@en . + . + "implementation"@en . + "testing" . +# +# https://w3id.org/function/ontology#implements + . + . + . + "Connects a function to an algorithm it implements. A function can implement 0..n algorithms."@en . + . + "implements"@en . + "testing" . +# +# https://w3id.org/function/ontology#methodMapping + . + . + . + "Connects a method mapping to a mapping definition"@en . + . + "method mapping"@en . + "testing" . +# +# https://w3id.org/function/ontology#parameterMapping + . + . + . + "Connects a parameter mapping to a mapping definition"@en . + . + "parameter mapping"@en . + "testing" . +# +# https://w3id.org/function/ontology#predicate + . + . + . + . + "Connects a parameter description to the predicate used to link executions of this function to their parameter."@en . + . + "predicate"@en . + "testing" . +# +# https://w3id.org/function/ontology#returns + . + . + . + "Connects a description of a function to the description of the output"@en . + . + "returns"@en . + "testing" . +# +# https://w3id.org/function/ontology#solves + . + . + . + "Connects a description of a function to the description of a problem it tries to solve."@en . + . + "solves"@en . + "testing" . +# +# https://w3id.org/function/ontology#uses + . + . + . + "Connects an execution to a mapping definition"@en . + . + "uses"@en . + "testing" . +# +# +# +# ################################################################# +# # +# # Data properties +# # +# ################################################################# +# +# +# https://w3id.org/function/ontology#nullable + . + . + "Defines if a parameteris nullable."@en . + . + "nullable"@en . + "testing" . +# +# https://w3id.org/function/ontology#required + . + . + "Defines if a parameter or an output is required."@en . + . + "required"@en . + "testing" . +# +# +# +# ################################################################# +# # +# # Classes +# # +# ################################################################# +# +# +# http://purl.org/vocommons/voaf#Vocabulary + . +# +# http://www.w3.org/1999/02/22-rdf-syntax-ns#List +# +# http://www.w3.org/1999/02/22-rdf-syntax-ns#Property +# +# http://xmlns.com/foaf/0.1/Person + . +# +# https://w3id.org/function/ontology#Algorithm + . + "A declaration of an algorithm. An algorithm is a specified set of instructions, independent of its implementation. There is no one-to-one mapping between an algorithm and a problem."@en . + . + "Algorithm"@en . + "testing" . +# +# https://w3id.org/function/ontology#Execution + . + "An execution is the connection between a function and its input and output values."@en . + . + "Execution"@en . + "testing" . +# +# https://w3id.org/function/ontology#Function + . + "The declared function"@en . + . + "Function"@en . + "testing" . +# +# https://w3id.org/function/ontology#Implementation + . + "A certain implementation of a function"@en . + . + "Implementation"@en . + "testing" . +# +# https://w3id.org/function/ontology#Mapping + . + "A mapping connects a function to an implementation"@en . + . + "Mapping"@en . + "testing" . +# +# https://w3id.org/function/ontology#MethodMapping + . + "A method mapping unambiguously specifies how the abstract function can be mapped to the implemented method. This can be, e.g., the name of the method"@en . + . + "Method mapping"@en . + "testing" . +# +# https://w3id.org/function/ontology#Output + . + "The definition of an output of a function"@en . + . + "Output"@en . + "testing" . +# +# https://w3id.org/function/ontology#Parameter + . + "The definition of a parameter to a certain function"@en . + . + "Parameter"@en . + "testing" . +# +# https://w3id.org/function/ontology#ParameterMapping + . + "A parameter mapping unambiguously specifies how the abstract parameter can be mapped to the implemented method's argument. For example: Parameter X is mapped to the third argument of the method (a position parameter mapping, common for programming languages), or to property with name Y of the method (a property parameter mapping, common for Web APIs)"@en . + . + "Parameter mapping"@en . + "testing" . +# +# https://w3id.org/function/ontology#Problem + . + "A certain problem that a function solves"@en . + . + "Problem"@en . + "testing" . +# +# +# +# ################################################################# +# # +# # Individuals +# # +# ################################################################# +# +# +# https://ben.de-meester.org/#me + . + . + "Ben De Meester"@en . + "mailto:Ben.DeMeester@UGent.be" . + "Ben De Meester"@en . +# +# https://data.verborgh.org/people/anastasia_dimou + . + . + "Anastasia Dimou"@en . + "mailto:Anastasia.dimou@UGent.be" . + "Anastasia Dimou"@en . +# +# https://w3id.org/function/ontology + . + . +# +# Generated by the OWL API (version 5.1.9) https://github.com/owlcs/owlapi/ diff --git a/dist/ontology/0.5.0/ontology.ttl b/dist/ontology/0.5.0/ontology.ttl new file mode 100644 index 0000000..2b60c72 --- /dev/null +++ b/dist/ontology/0.5.0/ontology.ttl @@ -0,0 +1,383 @@ +@prefix : . +@prefix owl: . +@prefix rdf: . +@prefix xml: . +@prefix xsd: . +@prefix rdfs: . +@base . + + rdf:type owl:Ontology ; + owl:versionIRI ; + ; + , + ; + "The Function Ontology allows to declare and describe functions. The specification is online at https://w3id.org/function/spec"@en ; + "2016-03-08"^^xsd:date ; + "2019-03-13"^^xsd:date ; + ; + "Copyright © Ghent University – imec – IDLab"@en ; + "The Function Ontology"@en ; + "fno" ; + "https://w3id.org/function/ontology#" ; + rdfs:comment """-Version 0.5.0: added Mapping and Implementation classes. +-Version 0.4.1: wrong range definition, updated descriptions. +-Version 0.4: added some properties +-Version 0.3: improved comments. +-Version 0.2: added extra metadata. +-Version 0.1: creation."""@en ; + rdfs:label "The Function Ontology"@en ; + rdfs:seeAlso ; + owl:priorVersion "https://w3id.org/function/ontology/0.4.1" ; + owl:versionInfo "0.5.0" ; + . + +################################################################# +# Annotation properties +################################################################# + +### http://creativecommons.org/ns#license + rdf:type owl:AnnotationProperty . + + +### http://purl.org/dc/terms/creator + rdf:type owl:AnnotationProperty . + + +### http://purl.org/dc/terms/description + rdf:type owl:AnnotationProperty . + + +### http://purl.org/dc/terms/issued + rdf:type owl:AnnotationProperty . + + +### http://purl.org/dc/terms/modified + rdf:type owl:AnnotationProperty . + + +### http://purl.org/dc/terms/publisher + rdf:type owl:AnnotationProperty . + + +### http://purl.org/dc/terms/rights + rdf:type owl:AnnotationProperty . + + +### http://purl.org/dc/terms/title + rdf:type owl:AnnotationProperty . + + +### http://purl.org/vocab/vann/preferredNamespacePrefix + rdf:type owl:AnnotationProperty . + + +### http://purl.org/vocab/vann/preferredNamespaceUri + rdf:type owl:AnnotationProperty . + + +### http://www.w3.org/2003/06/sw-vocab-status/ns#term_status + rdf:type owl:AnnotationProperty . + + +### http://xmlns.com/foaf/0.1/mbox + rdf:type owl:AnnotationProperty . + + +### http://xmlns.com/foaf/0.1/name + rdf:type owl:AnnotationProperty . + + +### http://xmlns.com/foaf/0.1/primaryTopic + rdf:type owl:AnnotationProperty . + + +### https://w3id.org/function/ontology#name +:name rdfs:comment "Connects a function or a parameter to its name."@en ; + rdfs:isDefinedBy : ; + rdfs:label "name"@en ; + "testing" ; + rdf:type owl:AnnotationProperty ; + rdfs:subPropertyOf rdfs:label ; + rdfs:range xsd:string ; + rdfs:domain :Function . + + +### https://w3id.org/function/ontology#type +:type rdfs:comment "Connects an output or a parameter description to the type of instances of these parameters or outputs."@en ; + rdfs:isDefinedBy : ; + rdfs:label "type"@en ; + "testing" ; + rdf:type owl:AnnotationProperty ; + rdfs:domain rdf:Property . + + +################################################################# +# Datatypes +################################################################# + +### http://www.w3.org/2001/XMLSchema#date +xsd:date rdf:type rdfs:Datatype . + + +################################################################# +# Object Properties +################################################################# + +### https://w3id.org/function/ontology#executes +:executes rdf:type owl:ObjectProperty ; + rdfs:domain :Execution ; + rdfs:range :Function ; + rdfs:comment "Connects a function to an execution definition"@en ; + rdfs:isDefinedBy : ; + rdfs:label "executes"@en ; + "testing" . + + +### https://w3id.org/function/ontology#expects +:expects rdf:type owl:ObjectProperty ; + rdfs:domain :Function ; + rdfs:range rdf:List ; + rdfs:comment "Connects a function description to an ordered list of zero or more parameter descriptions"@en ; + rdfs:isDefinedBy : ; + rdfs:label "expects"@en ; + "testing" . + + +### https://w3id.org/function/ontology#function +:function rdf:type owl:ObjectProperty ; + rdfs:domain :Mapping ; + rdfs:range :Function ; + rdfs:comment "Connects a function to a mapping definition"@en ; + rdfs:isDefinedBy : ; + rdfs:label "function"@en ; + "testing" . + + +### https://w3id.org/function/ontology#implementation +:implementation rdf:type owl:ObjectProperty ; + rdfs:domain :Mapping ; + rdfs:range :Implementation ; + rdfs:comment "Connects an implementation to a mapping definition"@en ; + rdfs:isDefinedBy : ; + rdfs:label "implementation"@en ; + "testing" . + + +### https://w3id.org/function/ontology#implements +:implements rdf:type owl:ObjectProperty ; + rdfs:domain :Function ; + rdfs:range :Algorithm ; + rdfs:comment "Connects a function to an algorithm it implements. A function can implement 0..n algorithms."@en ; + rdfs:isDefinedBy : ; + rdfs:label "implements"@en ; + "testing" . + + +### https://w3id.org/function/ontology#methodMapping +:methodMapping rdf:type owl:ObjectProperty ; + rdfs:domain :Mapping ; + rdfs:range :MethodMapping ; + rdfs:comment "Connects a method mapping to a mapping definition"@en ; + rdfs:isDefinedBy : ; + rdfs:label "method mapping"@en ; + "testing" . + + +### https://w3id.org/function/ontology#parameterMapping +:parameterMapping rdf:type owl:ObjectProperty ; + rdfs:domain :Mapping ; + rdfs:range :ParameterMapping ; + rdfs:comment "Connects a parameter mapping to a mapping definition"@en ; + rdfs:isDefinedBy : ; + rdfs:label "parameter mapping"@en ; + "testing" . + + +### https://w3id.org/function/ontology#predicate +:predicate rdf:type owl:ObjectProperty ; + rdfs:domain :Parameter ; + rdfs:range rdf:Property ; + rdfs:comment "Connects a parameter description to the predicate used to link executions of this function to their parameter."@en ; + rdfs:isDefinedBy : ; + rdfs:label "predicate"@en ; + "testing" . + + +### https://w3id.org/function/ontology#returns +:returns rdf:type owl:ObjectProperty ; + rdfs:domain :Function ; + rdfs:range rdf:List ; + rdfs:comment "Connects a description of a function to the description of the output"@en ; + rdfs:isDefinedBy : ; + rdfs:label "returns"@en ; + "testing" . + + +### https://w3id.org/function/ontology#solves +:solves rdf:type owl:ObjectProperty ; + rdfs:domain :Function ; + rdfs:range :Problem ; + rdfs:comment "Connects a description of a function to the description of a problem it tries to solve."@en ; + rdfs:isDefinedBy : ; + rdfs:label "solves"@en ; + "testing" . + + +### https://w3id.org/function/ontology#uses +:uses rdf:type owl:ObjectProperty ; + rdfs:domain :Execution ; + rdfs:range :Mapping ; + rdfs:comment "Connects an execution to a mapping definition"@en ; + rdfs:isDefinedBy : ; + rdfs:label "uses"@en ; + "testing" . + + +################################################################# +# Data properties +################################################################# + +### https://w3id.org/function/ontology#nullable +:nullable rdf:type owl:DatatypeProperty ; + rdfs:range xsd:boolean ; + rdfs:comment "Defines if a parameteris nullable."@en ; + rdfs:isDefinedBy : ; + rdfs:label "nullable"@en ; + "testing" . + + +### https://w3id.org/function/ontology#required +:required rdf:type owl:DatatypeProperty ; + rdfs:range xsd:boolean ; + rdfs:comment "Defines if a parameter or an output is required."@en ; + rdfs:isDefinedBy : ; + rdfs:label "required"@en ; + "testing" . + + +################################################################# +# Classes +################################################################# + +### http://purl.org/vocommons/voaf#Vocabulary + rdf:type owl:Class . + + +### http://www.w3.org/1999/02/22-rdf-syntax-ns#List +rdf:List rdf:type owl:Class . + + +### http://www.w3.org/1999/02/22-rdf-syntax-ns#Property +rdf:Property rdf:type owl:Class . + + +### http://xmlns.com/foaf/0.1/Person + rdf:type owl:Class . + + +### https://w3id.org/function/ontology#Algorithm +:Algorithm rdf:type owl:Class ; + rdfs:comment "A declaration of an algorithm. An algorithm is a specified set of instructions, independent of its implementation. There is no one-to-one mapping between an algorithm and a problem."@en ; + rdfs:isDefinedBy : ; + rdfs:label "Algorithm"@en ; + "testing" . + + +### https://w3id.org/function/ontology#Execution +:Execution rdf:type owl:Class ; + rdfs:comment "An execution is the connection between a function and its input and output values."@en ; + rdfs:isDefinedBy : ; + rdfs:label "Execution"@en ; + "testing" . + + +### https://w3id.org/function/ontology#Function +:Function rdf:type owl:Class ; + rdfs:comment "The declared function"@en ; + rdfs:isDefinedBy : ; + rdfs:label "Function"@en ; + "testing" . + + +### https://w3id.org/function/ontology#Implementation +:Implementation rdf:type owl:Class ; + rdfs:comment "A certain implementation of a function"@en ; + rdfs:isDefinedBy : ; + rdfs:label "Implementation"@en ; + "testing" . + + +### https://w3id.org/function/ontology#Mapping +:Mapping rdf:type owl:Class ; + rdfs:comment "A mapping connects a function to an implementation"@en ; + rdfs:isDefinedBy : ; + rdfs:label "Mapping"@en ; + "testing" . + + +### https://w3id.org/function/ontology#MethodMapping +:MethodMapping rdf:type owl:Class ; + rdfs:comment "A method mapping unambiguously specifies how the abstract function can be mapped to the implemented method. This can be, e.g., the name of the method"@en ; + rdfs:isDefinedBy : ; + rdfs:label "Method mapping"@en ; + "testing" . + + +### https://w3id.org/function/ontology#Output +:Output rdf:type owl:Class ; + rdfs:comment "The definition of an output of a function"@en ; + rdfs:isDefinedBy : ; + rdfs:label "Output"@en ; + "testing" . + + +### https://w3id.org/function/ontology#Parameter +:Parameter rdf:type owl:Class ; + rdfs:comment "The definition of a parameter to a certain function"@en ; + rdfs:isDefinedBy : ; + rdfs:label "Parameter"@en ; + "testing" . + + +### https://w3id.org/function/ontology#ParameterMapping +:ParameterMapping rdf:type owl:Class ; + rdfs:comment "A parameter mapping unambiguously specifies how the abstract parameter can be mapped to the implemented method's argument. For example: Parameter X is mapped to the third argument of the method (a position parameter mapping, common for programming languages), or to property with name Y of the method (a property parameter mapping, common for Web APIs)"@en ; + rdfs:isDefinedBy : ; + rdfs:label "Parameter mapping"@en ; + "testing" . + + +### https://w3id.org/function/ontology#Problem +:Problem rdf:type owl:Class ; + rdfs:comment "A certain problem that a function solves"@en ; + rdfs:isDefinedBy : ; + rdfs:label "Problem"@en ; + "testing" . + + +################################################################# +# Individuals +################################################################# + +### https://ben.de-meester.org/#me + rdf:type owl:NamedIndividual , + ; + rdfs:label "Ben De Meester"@en ; + "mailto:Ben.DeMeester@UGent.be" ; + "Ben De Meester"@en . + + +### https://data.verborgh.org/people/anastasia_dimou + rdf:type owl:NamedIndividual , + ; + rdfs:label "Anastasia Dimou"@en ; + "mailto:Anastasia.dimou@UGent.be" ; + "Anastasia Dimou"@en . + + +### https://w3id.org/function/ontology + rdf:type owl:NamedIndividual , + . + + +### Generated by the OWL API (version 5.1.9) https://github.com/owlcs/owlapi/ diff --git a/dist/ontology/0.5.0/ontology.xml b/dist/ontology/0.5.0/ontology.xml new file mode 100644 index 0000000..272b9b1 --- /dev/null +++ b/dist/ontology/0.5.0/ontology.xml @@ -0,0 +1,612 @@ + + + + + + + + The Function Ontology allows to declare and describe functions. The specification is online at https://w3id.org/function/spec + 2016-03-08 + 2019-03-13 + + Copyright © Ghent University – imec – IDLab + The Function Ontology + fno + https://w3id.org/function/ontology# + -Version 0.5.0: added Mapping and Implementation classes. +-Version 0.4.1: wrong range definition, updated descriptions. +-Version 0.4: added some properties +-Version 0.3: improved comments. +-Version 0.2: added extra metadata. +-Version 0.1: creation. + The Function Ontology + + https://w3id.org/function/ontology/0.4.1 + 0.5.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Connects a function or a parameter to its name. + + name + testing + + + + + + + + + + + + Connects an output or a parameter description to the type of instances of these parameters or outputs. + + type + testing + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Connects a function to an execution definition + + executes + testing + + + + + + + + + + + Connects a function description to an ordered list of zero or more parameter descriptions + + expects + testing + + + + + + + + + + + Connects a function to a mapping definition + + function + testing + + + + + + + + + + + Connects an implementation to a mapping definition + + implementation + testing + + + + + + + + + + + Connects a function to an algorithm it implements. A function can implement 0..n algorithms. + + implements + testing + + + + + + + + + + + Connects a method mapping to a mapping definition + + method mapping + testing + + + + + + + + + + + Connects a parameter mapping to a mapping definition + + parameter mapping + testing + + + + + + + + + + + Connects a parameter description to the predicate used to link executions of this function to their parameter. + + predicate + testing + + + + + + + + + + + Connects a description of a function to the description of the output + + returns + testing + + + + + + + + + + + Connects a description of a function to the description of a problem it tries to solve. + + solves + testing + + + + + + + + + + + Connects an execution to a mapping definition + + uses + testing + + + + + + + + + + + + + + + + Defines if a parameteris nullable. + + nullable + testing + + + + + + + + + + Defines if a parameter or an output is required. + + required + testing + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A declaration of an algorithm. An algorithm is a specified set of instructions, independent of its implementation. There is no one-to-one mapping between an algorithm and a problem. + + Algorithm + testing + + + + + + + + + An execution is the connection between a function and its input and output values. + + Execution + testing + + + + + + + + + The declared function + + Function + testing + + + + + + + + + A certain implementation of a function + + Implementation + testing + + + + + + + + + A mapping connects a function to an implementation + + Mapping + testing + + + + + + + + + A method mapping unambiguously specifies how the abstract function can be mapped to the implemented method. This can be, e.g., the name of the method + + Method mapping + testing + + + + + + + + + The definition of an output of a function + + Output + testing + + + + + + + + + The definition of a parameter to a certain function + + Parameter + testing + + + + + + + + + A parameter mapping unambiguously specifies how the abstract parameter can be mapped to the implemented method's argument. For example: Parameter X is mapped to the third argument of the method (a position parameter mapping, common for programming languages), or to property with name Y of the method (a property parameter mapping, common for Web APIs) + + Parameter mapping + testing + + + + + + + + + A certain problem that a function solves + + Problem + testing + + + + + + + + + + + + + + + + Ben De Meester + mailto:Ben.DeMeester@UGent.be + Ben De Meester + + + + + + + + + + Anastasia Dimou + mailto:Anastasia.dimou@UGent.be + Anastasia Dimou + + + + + + + + + + + + + + + + + diff --git a/dist/ontology/0.5.0/provenance/provenance-en.html b/dist/ontology/0.5.0/provenance/provenance-en.html new file mode 100644 index 0000000..18637bc --- /dev/null +++ b/dist/ontology/0.5.0/provenance/provenance-en.html @@ -0,0 +1,19 @@ + + + + + + + + +
+

Provenance for The Function Ontology Documentation (https://w3id.org/function/ontology/0.5.0)

+
    +
  • Ontology created by: : + Ben De Meester (null), Anastasia Dimou (null),
  • https://w3id.org/function/ontology/0.5.0 is a revision of the previous version https://w3id.org/function/ontology/0.4.1
  • +
  • The ontology documentation was the result of using the Widoco tool (which itself uses LODE for generating the crossreference section).
  • +
  • The documentation was generated at 2019-03-13
+
+

back to documentation. TTL format

+ + \ No newline at end of file diff --git a/dist/ontology/0.5.0/provenance/provenance-en.ttl b/dist/ontology/0.5.0/provenance/provenance-en.ttl new file mode 100644 index 0000000..ae87d87 --- /dev/null +++ b/dist/ontology/0.5.0/provenance/provenance-en.ttl @@ -0,0 +1,13 @@ +@prefix prov: . +@prefix dc: . +@prefix foaf: . + a prov:Entity; + dc:title "The Function Ontology"; + prov:wasAttributedTo ; + dc:creator ; + prov:wasAttributedTo ; + dc:creator ; + prov:wasAttributedTo ,; + prov:wasRevisionOf ; + prov:wasGeneratedAt "2019-03-13"; +. diff --git a/dist/ontology/0.5.0/readme.md b/dist/ontology/0.5.0/readme.md new file mode 100644 index 0000000..246eeba --- /dev/null +++ b/dist/ontology/0.5.0/readme.md @@ -0,0 +1,34 @@ +About Widoco output +=================== +The purpose of Widoco is to reuse and integrate existing tools for documentation, plus the set of features listed below: +* Separation of the sections of your html page so you can write them independently and replace only those needed. +* Automatic annotation in RDF-a of the html produced. +* Association of a provenance page which includes the history of your vocabulary (W3C PROV-O compliant). +* Metadata extraction from the ontology plus the means to complete it on the fly when generating your ontology. +* Guidelines on the main sections that your document should have and how to complete them. + +Widoco will create 3 different folders: +| +|-provenance (a folder including an html and RDF serialization of how the documentation page was created) +|-resources (folder with the different resources) +|-sections (folder with the different sections of the documentation, separated for easy editing. Just edit one and the main page will be updated) + +Completing ontology metadata. +=================== +Widoco uses the ontology metadata to update a configuration file. If you complete that configuration file (ended up widoco.conf), the tool will enhance your html with additional details, such as how to cite the document, previous revisions, icons with the licence, etc. + +Browser issues +========== +The result of executing Widoco is an html file. We have tested it in Mozilla, IE and Chrome, and when the page is stored in a server all the browsers work correctly. If you view the file locally, we recommend you to use Mozilla Firefox (or Internet Explorer, if you must). Google Chrome will not show the contents correctly, as it doesn't allow XMLHttpRequest without HTTP. If you want to view the page locally with Google Chrome you have two possibilities: + +a) Place the file in a server and access it via its URL (for example, put it in dropbox and access through its public url). + +b) Execute Chrome with the following commands : + +(WIN) chrome.exe --allow-file-access-from-files, + +(OSX) open /Applications/Google\ Chrome.app/ --args --allow-file-access-from-files + +(UNX) /usr/bin/google-chrome --allow-file-access-from-files + +Do you have a problem? open an issue at https://github.com/dgarijo/Widoco \ No newline at end of file diff --git a/dist/ontology/0.5.0/resources/extra.css b/dist/ontology/0.5.0/resources/extra.css new file mode 100644 index 0000000..16689d3 --- /dev/null +++ b/dist/ontology/0.5.0/resources/extra.css @@ -0,0 +1,124 @@ +body { + text-align: justify; +} + +h1 { + line-height: 110%; +} + +.hlist { + border: 1px solid navy; + padding:5px; + background-color: #F4FFFF; +} + +.hlist li { + display: inline; + display: inline-table; + list-style-type: none; + padding-right: 20px; + +} + +.entity { + border: 1px solid navy; + margin:5px 0px 5px 0px; + padding: 5px; +} + +.type-c { + cursor:help; + color:orange; +} + +.type-op { + cursor:help; + color:navy; +} + +.type-dp { + cursor:help; + color:green; +} + +.type-ap { + cursor:help; + color:maroon; +} + +.type-ni { + cursor:help; + color:brown; +} + +.logic { + color:purple; + font-weight:bold; +} + +h3 { + margin-top: 3px; + padding-bottom: 5px; + border-bottom: 1px solid navy; +} + +h2 { + margin-top:40px; +} + +.dotted { + border-bottom: 1px dotted gray; +} + +dt { + margin-top:5px; +} + +.description { + border-top: 1px dashed gray; + border-bottom: 1px dashed gray; + background-color: rgb(242, 243, 244); + margin-top:5px; + padding-bottom:5px; +} + +.description dl { + background-color: rgb(242, 243, 244); +} + +.description ul { + padding-left: 12px; + margin-top: 0px; +} + +.backlink { + font-size:10pt; + text-align:right; + float:right; + color:black; + padding: 2px; + border: 1px dotted navy; + background-color: #F4FFFF; +} + +.imageblock { + text-align: center; +} + +.imageblock img { + border:1px solid gray; +} + +.endnote { + margin-top: 40px; + border-top: 1px solid gray; + padding-top: 10px; + text-align: center; + color:gray; + font-size:70%; +} + +.literal { + color:green; + font-style:italic; +} \ No newline at end of file diff --git a/dist/ontology/0.5.0/resources/jquery.js b/dist/ontology/0.5.0/resources/jquery.js new file mode 100644 index 0000000..48590ec --- /dev/null +++ b/dist/ontology/0.5.0/resources/jquery.js @@ -0,0 +1,18 @@ +/*! + * jQuery JavaScript Library v1.6.2 + * http://jquery.com/ + * + * Copyright 2011, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Thu Jun 30 14:16:56 2011 -0400 + */ +(function(a,b){function cv(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cs(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"),ch.frameBorder=ch.width=ch.height=0),b.appendChild(ch);if(!ci||!ch.createElement)ci=(ch.contentWindow||ch.contentDocument).document,ci.write((c.compatMode==="CSS1Compat"?"":"")+""),ci.close();d=ci.createElement(a),ci.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ch)}cg[a]=e}return cg[a]}function cr(a,b){var c={};f.each(cm.concat.apply([],cm.slice(0,b)),function(){c[this]=a});return c}function cq(){cn=b}function cp(){setTimeout(cq,0);return cn=f.now()}function cf(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ce(){try{return new a.XMLHttpRequest}catch(b){}}function b$(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bx(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function bm(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(be,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bl(a){f.nodeName(a,"input")?bk(a):"getElementsByTagName"in a&&f.grep(a.getElementsByTagName("input"),bk)}function bk(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bj(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function bi(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bh(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c=f.expando,d=f.data(a),e=f.data(b,d);if(d=d[c]){var g=d.events;e=e[c]=f.extend({},d);if(g){delete e.handle,e.events={};for(var h in g)for(var i=0,j=g[h].length;i=0===c})}function V(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function N(a,b){return(a&&a!=="*"?a+".":"")+b.replace(z,"`").replace(A,"&")}function M(a){var b,c,d,e,g,h,i,j,k,l,m,n,o,p=[],q=[],r=f._data(this,"events");if(!(a.liveFired===this||!r||!r.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var s=r.live.slice(0);for(i=0;ic)break;a.currentTarget=e.elem,a.data=e.handleObj.data,a.handleObj=e.handleObj,o=e.handleObj.origHandler.apply(e.elem,arguments);if(o===!1||a.isPropagationStopped()){c=e.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function K(a,c,d){var e=f.extend({},d[0]);e.type=a,e.originalEvent={},e.liveFired=b,f.event.handle.call(c,e),e.isDefaultPrevented()&&d[0].preventDefault()}function E(){return!0}function D(){return!1}function m(a,c,d){var e=c+"defer",g=c+"queue",h=c+"mark",i=f.data(a,e,b,!0);i&&(d==="queue"||!f.data(a,g,b,!0))&&(d==="mark"||!f.data(a,h,b,!0))&&setTimeout(function(){!f.data(a,g,b,!0)&&!f.data(a,h,b,!0)&&(f.removeData(a,e,!0),i.resolve())},0)}function l(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function k(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(j,"$1-$2").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNaN(d)?i.test(d)?f.parseJSON(d):d:parseFloat(d)}catch(g){}f.data(a,c,d)}else d=b}return d}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z])/ig,x=function(a,b){return b.toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.resolveWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!A){A=e._Deferred();if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNaN:function(a){return a==null||!m.test(a)||isNaN(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a);return c===b||D.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(b,c,d){a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),d=c.documentElement,(!d||!d.nodeName||d.nodeName==="parsererror")&&e.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?h.call(arguments,0):c,--e||g.resolveWith(g,h.call(b,0))}}var b=arguments,c=0,d=b.length,e=d,g=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred();if(d>1){for(;c
a",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=a.getElementsByTagName("input")[0],k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,k.optDisabled=!h.disabled;try{delete a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a.appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.firstChild),k.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0},m&&f.extend(p,{position:"absolute",left:-1e3,top:-1e3});for(t in p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="
",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="
t
",q=a.getElementsByTagName("td"),u=q[0].offsetHeight===0,q[0].style.display="",q[1].style.display="none",k.reliableHiddenOffsets=u&&q[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",a.appendChild(j),k.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0),o.innerHTML="",n.removeChild(o);if(a.attachEvent)for(t in{submit:1,change:1,focusin:1})s="on"+t,u=s in a,u||(a.setAttribute(s,"return;"),u=typeof a[s]=="function"),k[t+"Bubbles"]=u;o=l=g=h=m=j=a=i=null;return k}(),f.boxModel=f.support.boxModel;var i=/^(?:\{.*\}|\[.*\])$/,j=/([a-z])([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!l(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g=f.expando,h=typeof c=="string",i,j=a.nodeType,k=j?f.cache:a,l=j?a[f.expando]:a[f.expando]&&f.expando;if((!l||e&&l&&!k[l][g])&&h&&d===b)return;l||(j?a[f.expando]=l=++f.uuid:l=f.expando),k[l]||(k[l]={},j||(k[l].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?k[l][g]=f.extend(k[l][g],c):k[l]=f.extend(k[l],c);i=k[l],e&&(i[g]||(i[g]={}),i=i[g]),d!==b&&(i[f.camelCase(c)]=d);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[f.camelCase(c)]||i[c]:i}},removeData:function(b,c,d){if(!!f.acceptData(b)){var e=f.expando,g=b.nodeType,h=g?f.cache:b,i=g?b[f.expando]:f.expando;if(!h[i])return;if(c){var j=d?h[i][e]:h[i];if(j){delete j[c];if(!l(j))return}}if(d){delete h[i][e];if(!l(h[i]))return}var k=h[i][e];f.support.deleteExpando||h!=a?delete h[i]:h[i]=null,k?(h[i]={},g||(h[i].toJSON=f.noop),h[i][e]=k):g&&(f.support.deleteExpando?delete b[f.expando]:b.removeAttribute?b.removeAttribute(f.expando):b[f.expando]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d=null;if(typeof a=="undefined"){if(this.length){d=f.data(this[0]);if(this[0].nodeType===1){var e=this[0].attributes,g;for(var h=0,i=e.length;h-1)return!0;return!1},val:function(a){var c,d,e=this[0];if(!arguments.length){if(e){c=f.valHooks[e.nodeName.toLowerCase()]||f.valHooks[e.type];if(c&&"get"in c&&(d=c.get(e,"value"))!==b)return d;d=e.value;return typeof d=="string"?d.replace(p,""):d==null?"":d}return b}var g=f.isFunction(a);return this.each(function(d){var e=f(this),h;if(this.nodeType===1){g?h=a.call(this,d,e.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c=a.selectedIndex,d=[],e=a.options,g=a.type==="select-one";if(c<0)return null;for(var h=g?c:0,i=g?c+1:e.length;h=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,c,d,e){var g=a.nodeType;if(!a||g===3||g===8||g===2)return b;if(e&&c in f.attrFn)return f(a)[c](d);if(!("getAttribute"in a))return f.prop(a,c,d);var h,i,j=g!==1||!f.isXMLDoc(a);j&&(c=f.attrFix[c]||c,i=f.attrHooks[c],i||(t.test(c)?i=w:v&&c!=="className"&&(f.nodeName(a,"form")||u.test(c))&&(i=v)));if(d!==b){if(d===null){f.removeAttr(a,c);return b}if(i&&"set"in i&&j&&(h=i.set(a,d,c))!==b)return h;a.setAttribute(c,""+d);return d}if(i&&"get"in i&&j&&(h=i.get(a,c))!==null)return h;h=a.getAttribute(c);return h===null?b:h},removeAttr:function(a,b){var c;a.nodeType===1&&(b=f.attrFix[b]||b,f.support.getSetAttribute?a.removeAttribute(b):(f.attr(a,b,""),a.removeAttributeNode(a.getAttributeNode(b))),t.test(b)&&(c=f.propFix[b]||b)in a&&(a[c]=!1))},attrHooks:{type:{set:function(a,b){if(q.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},tabIndex:{get:function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):r.test(a.nodeName)||s.test(a.nodeName)&&a.href?0:b}},value:{get:function(a,b){if(v&&f.nodeName(a,"button"))return v.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(v&&f.nodeName(a,"button"))return v.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e=a.nodeType;if(!a||e===3||e===8||e===2)return b;var g,h,i=e!==1||!f.isXMLDoc(a);i&&(c=f.propFix[c]||c,h=f.propHooks[c]);return d!==b?h&&"set"in h&&(g=h.set(a,d,c))!==b?g:a[c]=d:h&&"get"in h&&(g=h.get(a,c))!==b?g:a[c]},propHooks:{}}),w={get:function(a,c){return f.prop(a,c)?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},f.support.getSetAttribute||(f.attrFix=f.propFix,v=f.attrHooks.name=f.attrHooks.title=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&d.nodeValue!==""?d.nodeValue:b},set:function(a,b,c){var d=a.getAttributeNode(c);if(d){d.nodeValue=b;return b}}},f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})})),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}})),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var x=/\.(.*)$/,y=/^(?:textarea|input|select)$/i,z=/\./g,A=/ /g,B=/[^\w\s.|`]/g,C=function(a){return a.replace(B,"\\$&")};f.event={add:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){if(d===!1)d=D;else if(!d)return;var g,h;d.handler&&(g=d,d=g.handler),d.guid||(d.guid=f.guid++);var i=f._data(a);if(!i)return;var j=i.events,k=i.handle;j||(i.events=j={}),k||(i.handle=k=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.handle.apply(k.elem,arguments):b}),k.elem=a,c=c.split(" ");var l,m=0,n;while(l=c[m++]){h=g?f.extend({},g):{handler:d,data:e},l.indexOf(".")>-1?(n=l.split("."),l=n.shift(),h.namespace=n.slice(0).sort().join(".")):(n=[],h.namespace=""),h.type=l,h.guid||(h.guid=d.guid);var o=j[l],p=f.event.special[l]||{};if(!o){o=j[l]=[];if(!p.setup||p.setup.call(a,e,n,k)===!1)a.addEventListener?a.addEventListener(l,k,!1):a.attachEvent&&a.attachEvent("on"+l,k)}p.add&&(p.add.call(a,h),h.handler.guid||(h.handler.guid=d.guid)),o.push(h),f.event.global[l]=!0}a=null}},global:{},remove:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){d===!1&&(d=D);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=f.hasData(a)&&f._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(d=c.handler,c=c.type);if(!c||typeof c=="string"&&c.charAt(0)==="."){c=c||"";for(h in t)f.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+f.map(m.slice(0).sort(),C).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!d){for(j=0;j=0&&(h=h.slice(0,-1),j=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i. +shift(),i.sort());if(!!e&&!f.event.customEvent[h]||!!f.event.global[h]){c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.exclusive=j,c.namespace=i.join("."),c.namespace_re=new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)");if(g||!e)c.preventDefault(),c.stopPropagation();if(!e){f.each(f.cache,function(){var a=f.expando,b=this[a];b&&b.events&&b.events[h]&&f.event.trigger(c,d,b.handle.elem)});return}if(e.nodeType===3||e.nodeType===8)return;c.result=b,c.target=e,d=d!=null?f.makeArray(d):[],d.unshift(c);var k=e,l=h.indexOf(":")<0?"on"+h:"";do{var m=f._data(k,"handle");c.currentTarget=k,m&&m.apply(k,d),l&&f.acceptData(k)&&k[l]&&k[l].apply(k,d)===!1&&(c.result=!1,c.preventDefault()),k=k.parentNode||k.ownerDocument||k===c.target.ownerDocument&&a}while(k&&!c.isPropagationStopped());if(!c.isDefaultPrevented()){var n,o=f.event.special[h]||{};if((!o._default||o._default.call(e.ownerDocument,c)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)){try{l&&e[h]&&(n=e[l],n&&(e[l]=null),f.event.triggered=h,e[h]())}catch(p){}n&&(e[l]=n),f.event.triggered=b}}return c.result}},handle:function(c){c=f.event.fix(c||a.event);var d=((f._data(this,"events")||{})[c.type]||[]).slice(0),e=!c.exclusive&&!c.namespace,g=Array.prototype.slice.call(arguments,0);g[0]=c,c.currentTarget=this;for(var h=0,i=d.length;h-1?f.map(a.options,function(a){return a.selected}).join("-"):"":f.nodeName(a,"select")&&(c=a.selectedIndex);return c},J=function(c){var d=c.target,e,g;if(!!y.test(d.nodeName)&&!d.readOnly){e=f._data(d,"_change_data"),g=I(d),(c.type!=="focusout"||d.type!=="radio")&&f._data(d,"_change_data",g);if(e===b||g===e)return;if(e!=null||g)c.type="change",c.liveFired=b,f.event.trigger(c,arguments[1],d)}};f.event.special.change={filters:{focusout:J,beforedeactivate:J,click:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(c==="radio"||c==="checkbox"||f.nodeName(b,"select"))&&J.call(this,a)},keydown:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!f.nodeName(b,"textarea")||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&J.call(this,a)},beforeactivate:function(a){var b=a.target;f._data(b,"_change_data",I(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in H)f.event.add(this,c+".specialChange",H[c]);return y.test(this.nodeName)},teardown:function(a){f.event.remove(this,".specialChange");return y.test(this.nodeName)}},H=f.event.special.change.filters,H.focus=H.beforeactivate}f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){function e(a){var c=f.event.fix(a);c.type=b,c.originalEvent={},f.event.trigger(c,null,c.target),c.isDefaultPrevented()&&a.preventDefault()}var d=0;f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.each(["bind","one"],function(a,c){f.fn[c]=function(a,d,e){var g;if(typeof a=="object"){for(var h in a)this[c](h,d,a[h],e);return this}if(arguments.length===2||d===!1)e=d,d=b;c==="one"?(g=function(a){f(this).unbind(a,g);return e.apply(this,arguments)},g.guid=e.guid||f.guid++):g=e;if(a==="unload"&&c!=="one")this.one(a,d,e);else for(var i=0,j=this.length;i0?this.bind(b,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d=0,e=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,f,g){f=f||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return f;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(e.call(n)==="[object Array]")if(!u)f.push.apply(f,n);else if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&f.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&f.push(j[t]);else p(n,f);o&&(k(o,h,f,g),k.uniqueSort(f));return f};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=d++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};for(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(e.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var f=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(e||!l.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return k(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g0)for(h=g;h0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(d=0,e=a.length;d-1:f(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=T.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a=="string")return f.inArray(this[0],a?f(a):this.parent().children());return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(V(c[0])||V(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c),g=S.call(arguments);O.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!U[a]?f.unique(e):e,(this.length>1||Q.test(d))&&P.test(a)&&(e=e.reverse());return this.pushStack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var X=/ jQuery\d+="(?:\d+|null)"/g,Y=/^\s+/,Z=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,$=/<([\w:]+)/,_=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};bf.optgroup=bf.option,bf.tbody=bf.tfoot=bf.colgroup=bf.caption=bf.thead,bf.th=bf.td,f.support.htmlSerialize||(bf._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){f(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(X,""):null;if(typeof a=="string"&&!bb.test(a)&&(f.support.leadingWhitespace||!Y.test(a))&&!bf[($.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Z,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j +)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bi(a,d),e=bj(a),g=bj(d);for(h=0;e[h];++h)bi(e[h],g[h])}if(b){bh(a,d);if(c){e=bj(a),g=bj(d);for(h=0;e[h];++h)bh(e[h],g[h])}}e=g=null;return d},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!ba.test(k))k=b.createTextNode(k);else{k=k.replace(Z,"<$1>");var l=($.exec(k)||["",""])[1].toLowerCase(),m=bf[l]||bf._default,n=m[0],o=b.createElement("div");o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=_.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&Y.test(k)&&o.insertBefore(b.createTextNode(Y.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bo.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle;c.zoom=1;var e=f.isNaN(b)?"":"alpha(opacity="+b*100+")",g=d&&d.filter||c.filter||"";c.filter=bn.test(g)?g.replace(bn,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bx(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(by=function(a,c){var d,e,g;c=c.replace(bp,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))return b;if(g=e.getComputedStyle(a,null))d=g.getPropertyValue(c),d===""&&!f.contains(a.ownerDocument.documentElement,a)&&(d=f.style(a,c));return d}),c.documentElement.currentStyle&&(bz=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bq.test(d)&&br.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bx=by||bz,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bB=/%20/g,bC=/\[\]$/,bD=/\r?\n/g,bE=/#.*$/,bF=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bG=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bH=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,bI=/^(?:GET|HEAD)$/,bJ=/^\/\//,bK=/\?/,bL=/)<[^<]*)*<\/script>/gi,bM=/^(?:select|textarea)/i,bN=/\s+/,bO=/([?&])_=[^&]*/,bP=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bQ=f.fn.load,bR={},bS={},bT,bU;try{bT=e.href}catch(bV){bT=c.createElement("a"),bT.href="",bT=bT.href}bU=bP.exec(bT.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bQ)return bQ.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bL,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bM.test(this.nodeName)||bG.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bD,"\r\n")}}):{name:b.name,value:c.replace(bD,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?f.extend(!0,a,f.ajaxSettings,b):(b=a,a=f.extend(!0,f.ajaxSettings,b));for(var c in{context:1,url:1})c in b?a[c]=b[c]:c in f.ajaxSettings&&(a[c]=f.ajaxSettings[c]);return a},ajaxSettings:{url:bT,isLocal:bH.test(bU[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML}},ajaxPrefilter:bW(bR),ajaxTransport:bW(bS),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a?4:0;var o,r,u,w=l?bZ(d,v,l):b,x,y;if(a>=200&&a<300||a===304){if(d.ifModified){if(x=v.getResponseHeader("Last-Modified"))f.lastModified[k]=x;if(y=v.getResponseHeader("Etag"))f.etag[k]=y}if(a===304)c="notmodified",o=!0;else try{r=b$(d,w),c="success",o=!0}catch(z){c="parsererror",u=z}}else{u=c;if(!c||a)c="error",a<0&&(a=0)}v.status=a,v.statusText=c,o?h.resolveWith(e,[r,c,v]):h.rejectWith(e,[v,c,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.resolveWith(e,[v,c]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f._Deferred(),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bF.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.done,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bE,"").replace(bJ,bU[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bN),d.crossDomain==null&&(r=bP.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bU[1]&&r[2]==bU[2]&&(r[3]||(r[1]==="http:"?80:443))==(bU[3]||(bU[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bX(bR,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bI.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bK.test(d.url)?"&":"?")+d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bO,"$1_="+x);d.url=y+(y===d.url?(bK.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", */*; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=bX(bS,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){status<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)bY(g,a[g],c,e);return d.join("&").replace(bB,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var b_=f.now(),ca=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+b_++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ca.test(b.url)||e&&ca.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ca,l),b.url===j&&(e&&(k=k.replace(ca,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cb=a.ActiveXObject?function(){for(var a in cd)cd[a](0,1)}:!1,cc=0,cd;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ce()||cf()}:ce,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cb&&delete cd[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cc,cb&&(cd||(cd={},f(a).unload(cb)),cd[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cg={},ch,ci,cj=/^(?:toggle|show|hide)$/,ck=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cl,cm=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cn,co=a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cr("show",3),a,b,c);for(var g=0,h=this.length;g=e.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),e.animatedProperties[this.prop]=!0;for(g in e.animatedProperties)e.animatedProperties[g]!==!0&&(c=!1);if(c){e.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){d.style["overflow"+b]=e.overflow[a]}),e.hide&&f(d).hide();if(e.hide||e.show)for(var i in e.animatedProperties)f.style(d,i,e.orig[i]);e.complete.call(d)}return!1}e.duration==Infinity?this.now=b:(h=b-this.startTime,this.state=h/e.duration,this.pos=f.easing[e.animatedProperties[this.prop]](this.state,h,0,1,e.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){for(var a=f.timers,b=0;b
";f.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),d=b.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,this.doesNotAddBorder=e.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,e.style.position="fixed",e.style.top="20px",this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),f.offset.initialize=f.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.offset.initialize(),f.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cu.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cu.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cv(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cv(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a&&a.style?parseFloat(f.css(a,d,"padding")):null},f.fn["outer"+c]=function(a){var b=this[0];return b&&b.style?parseFloat(f.css(b,d,a?"margin":"border")):null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var h=f.css(e,d),i=parseFloat(h);return f.isNaN(i)?h:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f})(window); \ No newline at end of file diff --git a/dist/ontology/0.5.0/resources/marked.min.js b/dist/ontology/0.5.0/resources/marked.min.js new file mode 100644 index 0000000..17021ae --- /dev/null +++ b/dist/ontology/0.5.0/resources/marked.min.js @@ -0,0 +1,6 @@ +/** + * marked - a markdown parser + * Copyright (c) 2011-2014, Christopher Jeffrey. (MIT Licensed) + * https://github.com/chjj/marked + */ +(function(){var block={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:noop,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:noop,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment|closed|closing) *(?:\n{2,}|\s*$)/,def:/^ *\[([^\]]+)\]: *]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:noop,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};block.bullet=/(?:[*+-]|\d+\.)/;block.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/;block.item=replace(block.item,"gm")(/bull/g,block.bullet)();block.list=replace(block.list)(/bull/g,block.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+block.def.source+")")();block.blockquote=replace(block.blockquote)("def",block.def)();block._tag="(?!(?:"+"a|em|strong|small|s|cite|q|dfn|abbr|data|time|code"+"|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo"+"|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b";block.html=replace(block.html)("comment",//)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/])*?>/)(/tag/g,block._tag)();block.paragraph=replace(block.paragraph)("hr",block.hr)("heading",block.heading)("lheading",block.lheading)("blockquote",block.blockquote)("tag","<"+block._tag)("def",block.def)();block.normal=merge({},block);block.gfm=merge({},block.normal,{fences:/^ *(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n+|$)/,paragraph:/^/});block.gfm.paragraph=replace(block.paragraph)("(?!","(?!"+block.gfm.fences.source.replace("\\1","\\2")+"|"+block.list.source.replace("\\1","\\3")+"|")();block.tables=merge({},block.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/});function Lexer(options){this.tokens=[];this.tokens.links={};this.options=options||marked.defaults;this.rules=block.normal;if(this.options.gfm){if(this.options.tables){this.rules=block.tables}else{this.rules=block.gfm}}}Lexer.rules=block;Lexer.lex=function(src,options){var lexer=new Lexer(options);return lexer.lex(src)};Lexer.prototype.lex=function(src){src=src.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n");return this.token(src,true)};Lexer.prototype.token=function(src,top,bq){var src=src.replace(/^ +$/gm,""),next,loose,cap,bull,b,item,space,i,l;while(src){if(cap=this.rules.newline.exec(src)){src=src.substring(cap[0].length);if(cap[0].length>1){this.tokens.push({type:"space"})}}if(cap=this.rules.code.exec(src)){src=src.substring(cap[0].length);cap=cap[0].replace(/^ {4}/gm,"");this.tokens.push({type:"code",text:!this.options.pedantic?cap.replace(/\n+$/,""):cap});continue}if(cap=this.rules.fences.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"code",lang:cap[2],text:cap[3]});continue}if(cap=this.rules.heading.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"heading",depth:cap[1].length,text:cap[2]});continue}if(top&&(cap=this.rules.nptable.exec(src))){src=src.substring(cap[0].length);item={type:"table",header:cap[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:cap[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:cap[3].replace(/\n$/,"").split("\n")};for(i=0;i ?/gm,"");this.token(cap,top,true);this.tokens.push({type:"blockquote_end"});continue}if(cap=this.rules.list.exec(src)){src=src.substring(cap[0].length);bull=cap[2];this.tokens.push({type:"list_start",ordered:bull.length>1});cap=cap[0].match(this.rules.item);next=false;l=cap.length;i=0;for(;i1&&b.length>1)){src=cap.slice(i+1).join("\n")+src;i=l-1}}loose=next||/\n\n(?!\s*$)/.test(item);if(i!==l-1){next=item.charAt(item.length-1)==="\n";if(!loose)loose=next}this.tokens.push({type:loose?"loose_item_start":"list_item_start"});this.token(item,false,bq);this.tokens.push({type:"list_item_end"})}this.tokens.push({type:"list_end"});continue}if(cap=this.rules.html.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:cap[1]==="pre"||cap[1]==="script"||cap[1]==="style",text:cap[0]});continue}if(!bq&&top&&(cap=this.rules.def.exec(src))){src=src.substring(cap[0].length);this.tokens.links[cap[1].toLowerCase()]={href:cap[2],title:cap[3]};continue}if(top&&(cap=this.rules.table.exec(src))){src=src.substring(cap[0].length);item={type:"table",header:cap[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:cap[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:cap[3].replace(/(?: *\| *)?\n$/,"").split("\n")};for(i=0;i])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:noop,tag:/^|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:__|[\s\S])+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:noop,text:/^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/;inline.link=replace(inline.link)("inside",inline._inside)("href",inline._href)();inline.reflink=replace(inline.reflink)("inside",inline._inside)();inline.normal=merge({},inline);inline.pedantic=merge({},inline.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/});inline.gfm=merge({},inline.normal,{escape:replace(inline.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:replace(inline.text)("]|","~]|")("|","|https?://|")()});inline.breaks=merge({},inline.gfm,{br:replace(inline.br)("{2,}","*")(),text:replace(inline.gfm.text)("{2,}","*")()});function InlineLexer(links,options){this.options=options||marked.defaults;this.links=links;this.rules=inline.normal;this.renderer=this.options.renderer||new Renderer;this.renderer.options=this.options;if(!this.links){throw new Error("Tokens array requires a `links` property.")}if(this.options.gfm){if(this.options.breaks){this.rules=inline.breaks}else{this.rules=inline.gfm}}else if(this.options.pedantic){this.rules=inline.pedantic}}InlineLexer.rules=inline;InlineLexer.output=function(src,links,options){var inline=new InlineLexer(links,options);return inline.output(src)};InlineLexer.prototype.output=function(src){var out="",link,text,href,cap;while(src){if(cap=this.rules.escape.exec(src)){src=src.substring(cap[0].length);out+=cap[1];continue}if(cap=this.rules.autolink.exec(src)){src=src.substring(cap[0].length);if(cap[2]==="@"){text=cap[1].charAt(6)===":"?this.mangle(cap[1].substring(7)):this.mangle(cap[1]);href=this.mangle("mailto:")+text}else{text=escape(cap[1]);href=text}out+=this.renderer.link(href,null,text);continue}if(!this.inLink&&(cap=this.rules.url.exec(src))){src=src.substring(cap[0].length);text=escape(cap[1]);href=text;out+=this.renderer.link(href,null,text);continue}if(cap=this.rules.tag.exec(src)){if(!this.inLink&&/^/i.test(cap[0])){this.inLink=false}src=src.substring(cap[0].length);out+=this.options.sanitize?escape(cap[0]):cap[0];continue}if(cap=this.rules.link.exec(src)){src=src.substring(cap[0].length);this.inLink=true;out+=this.outputLink(cap,{href:cap[2],title:cap[3]});this.inLink=false;continue}if((cap=this.rules.reflink.exec(src))||(cap=this.rules.nolink.exec(src))){src=src.substring(cap[0].length);link=(cap[2]||cap[1]).replace(/\s+/g," ");link=this.links[link.toLowerCase()];if(!link||!link.href){out+=cap[0].charAt(0);src=cap[0].substring(1)+src;continue}this.inLink=true;out+=this.outputLink(cap,link);this.inLink=false;continue}if(cap=this.rules.strong.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.strong(this.output(cap[2]||cap[1]));continue}if(cap=this.rules.em.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.em(this.output(cap[2]||cap[1]));continue}if(cap=this.rules.code.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.codespan(escape(cap[2],true));continue}if(cap=this.rules.br.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.br();continue}if(cap=this.rules.del.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.del(this.output(cap[1]));continue}if(cap=this.rules.text.exec(src)){src=src.substring(cap[0].length);out+=escape(this.smartypants(cap[0]));continue}if(src){throw new Error("Infinite loop on byte: "+src.charCodeAt(0))}}return out};InlineLexer.prototype.outputLink=function(cap,link){var href=escape(link.href),title=link.title?escape(link.title):null;return cap[0].charAt(0)!=="!"?this.renderer.link(href,title,this.output(cap[1])):this.renderer.image(href,title,escape(cap[1]))};InlineLexer.prototype.smartypants=function(text){if(!this.options.smartypants)return text;return text.replace(/--/g,"").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1").replace(/'/g,"").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1").replace(/"/g,"").replace(/\.{3}/g,"")};InlineLexer.prototype.mangle=function(text){var out="",l=text.length,i=0,ch;for(;i.5){ch="x"+ch.toString(16)}out+="&#"+ch+";"}return out};function Renderer(options){this.options=options||{}}Renderer.prototype.code=function(code,lang,escaped){if(this.options.highlight){var out=this.options.highlight(code,lang);if(out!=null&&out!==code){escaped=true;code=out}}if(!lang){return"
"+(escaped?code:escape(code,true))+"\n
"}return'
'+(escaped?code:escape(code,true))+"\n
\n"};Renderer.prototype.blockquote=function(quote){return"
\n"+quote+"
\n"};Renderer.prototype.html=function(html){return html};Renderer.prototype.heading=function(text,level,raw){return"'+text+"\n"};Renderer.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"};Renderer.prototype.list=function(body,ordered){var type=ordered?"ol":"ul";return"<"+type+">\n"+body+"\n"};Renderer.prototype.listitem=function(text){return"
  • "+text+"
  • \n"};Renderer.prototype.paragraph=function(text){return"

    "+text+"

    \n"};Renderer.prototype.table=function(header,body){return"\n"+"\n"+header+"\n"+"\n"+body+"\n"+"
    \n"};Renderer.prototype.tablerow=function(content){return"\n"+content+"\n"};Renderer.prototype.tablecell=function(content,flags){var type=flags.header?"th":"td";var tag=flags.align?"<"+type+' style="text-align:'+flags.align+'">':"<"+type+">";return tag+content+"\n"};Renderer.prototype.strong=function(text){return""+text+""};Renderer.prototype.em=function(text){return""+text+""};Renderer.prototype.codespan=function(text){return""+text+""};Renderer.prototype.br=function(){return this.options.xhtml?"
    ":"
    "};Renderer.prototype.del=function(text){return""+text+""};Renderer.prototype.link=function(href,title,text){if(this.options.sanitize){try{var prot=decodeURIComponent(unescape(href)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return""}if(prot.indexOf("javascript:")===0){return""}}var out='
    ";return out};Renderer.prototype.image=function(href,title,text){var out=''+text+'":">";return out};function Parser(options){this.tokens=[];this.token=null;this.options=options||marked.defaults;this.options.renderer=this.options.renderer||new Renderer;this.renderer=this.options.renderer;this.renderer.options=this.options}Parser.parse=function(src,options,renderer){var parser=new Parser(options,renderer);return parser.parse(src)};Parser.prototype.parse=function(src){this.inline=new InlineLexer(src.links,this.options,this.renderer);this.tokens=src.reverse();var out="";while(this.next()){out+=this.tok()}return out};Parser.prototype.next=function(){return this.token=this.tokens.pop()};Parser.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0};Parser.prototype.parseText=function(){var body=this.token.text;while(this.peek().type==="text"){body+="\n"+this.next().text}return this.inline.output(body)};Parser.prototype.tok=function(){switch(this.token.type){case"space":{return""}case"hr":{return this.renderer.hr()}case"heading":{return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text)}case"code":{return this.renderer.code(this.token.text,this.token.lang,this.token.escaped)}case"table":{var header="",body="",i,row,cell,flags,j;cell="";for(i=0;i/g,">").replace(/"/g,""").replace(/'/g,"'")}function unescape(html){return html.replace(/&([#\w]+);/g,function(_,n){n=n.toLowerCase();if(n==="colon")return":";if(n.charAt(0)==="#"){return n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1))}return""})}function replace(regex,opt){regex=regex.source;opt=opt||"";return function self(name,val){if(!name)return new RegExp(regex,opt);val=val.source||val;val=val.replace(/(^|[^\[])\^/g,"$1");regex=regex.replace(name,val);return self}}function noop(){}noop.exec=noop;function merge(obj){var i=1,target,key;for(;iAn error occured:

    "+escape(e.message+"",true)+"
    "}throw e}}marked.options=marked.setOptions=function(opt){merge(marked.defaults,opt);return marked};marked.defaults={gfm:true,tables:true,breaks:false,pedantic:false,sanitize:false,smartLists:false,silent:false,highlight:null,langPrefix:"lang-",smartypants:false,headerPrefix:"",renderer:new Renderer,xhtml:false};marked.Parser=Parser;marked.parser=Parser.parse;marked.Renderer=Renderer;marked.Lexer=Lexer;marked.lexer=Lexer.lex;marked.InlineLexer=InlineLexer;marked.inlineLexer=InlineLexer.output;marked.parse=marked;if(typeof module!=="undefined"&&typeof exports==="object"){module.exports=marked}else if(typeof define==="function"&&define.amd){define(function(){return marked})}else{this.marked=marked}}).call(function(){return this||(typeof window!=="undefined"?window:global)}()); \ No newline at end of file diff --git a/dist/ontology/0.5.0/resources/owl.css b/dist/ontology/0.5.0/resources/owl.css new file mode 100644 index 0000000..9c00876 --- /dev/null +++ b/dist/ontology/0.5.0/resources/owl.css @@ -0,0 +1,248 @@ +.RFC2119 { + text-transform: lowercase; + font-style: italic; +} +.nonterminal { + font-weight: bold; + font-family: sans-serif; + font-size: 95%; +} +#abstract br { + /* doesn't work right SOMETIMES + margin-bottom: 1em; */ +} +.name { + font-family: monospace; +} +.buttonpanel { + margin-top: 1ex; + margin-bottom: 1ex; + padding-left: 1ex; + padding-right: 1ex; + padding-top: 1ex; + padding-bottom: 0.6ex; + border: 1px dotted black; +} +.grammar { + margin-top: 1ex; + margin-bottom: 1ex; + padding-left: 1ex; + padding-right: 1ex; + padding-top: 1ex; + padding-bottom: 0.6ex; + border: 1px dashed #2f6fab; + font-family: monospace; +} +.image { + text-align: center; +} +.centered { + text-align: center; + padding-top: 4ex; + padding-bottom: 4ex; +} +.centered table { + margin: 0 auto; + text-align: left; +} +.caption { + font-weight: bold; +} +.indent { + margin-left: 20px; +} +.atrisknote { + padding: 5px; + margin-top: 10px; + margin-bottom: 10px; + border: solid 2px blue; + background-color: #FFA; +} +.atrisknotehead { + font-style: italic; +} + +/* Stying the examples. */ + +.anexample:before { + content: "Example:"; + font-family: sans-serif; + font-size: 1.6ex; + font-weight: bold; +} +.anexample { + margin-top: 1ex; + margin-bottom: 1ex; + padding-left: 1ex; + padding-right: 1ex; + padding-top: 1ex; + padding-bottom: 0.6ex; + border: 1px dashed #2f6fab; + background-color: #f9f9f9; +} +.anexample table { + background-color: #f9f9f9; +} + +/* Styling the parts in the functional-style syntax. */ + +div.fss { + margin-top: 10px; + margin-bottom: 10px; + margin-left: 20px; + margin-right: 20px; + font-family: monospace; +} +table.fss { + margin: 0px 0px 0px 0px; + padding: 0px 0px 0px 0px; + width: 100%; +} +table.fss caption.fss { + font-size: 1.5ex; + font-weight: bold; + text-align: left; + padding-left: 10px; +} +table.fss td:first-child { + font-family: monospace; + padding-left: 20px; + padding-right: 20px; + width: 60%; +} +table{ + background-color: #f4ffff; + border: 1px solid navy; + margin: 20px; + vertical-align: middle; +} +table td { + padding: 5px 15px; + text-align: left; +} + +/* Styling the parts in the RDF syntax. */ + +div.rdf{ + margin-top: 10px; + margin-bottom: 10px; + margin-left: 20px; + margin-right: 20px; + font-family: monospace; +} +table.rdf { + margin: 0px 0px 0px 0px; + padding: 0px 0px 0px 0px; + width: 100%; +} +table.rdf caption.rdf { + font-size: 1.5ex; + font-weight: bold; + text-align: left; + padding-left: 10px; +} +table.rdf td:first-child { + font-family: monospace; + padding-left: 20px; + padding-right: 20px; + width: 60%; +} + +/* Styling the XML syntax. */ + +div.xmlsyn { + margin-top: 10px; + margin-bottom: 10px; + margin-left: 20px; + margin-right: 20px; + font-family: monospace; +} +div.axioms { + margin-top: 10px; + margin-bottom: 10px; + margin-left: 20px; + margin-right: 20px; +} + +/* Other styles. */ + +table.complexity td { + text-align: center; +} +table.allname td { + font-family: monospace; +} +table.canonicalparsing { + margin-left: 20px; + border-style: none; +} +table.canonicalparsing td { + vertical-align: top; + padding: 2px 2px 2px 2px; +} +table.canonicalparsing td.two { + padding-left: 30px; +} + +/* The following are classes for templates used in the editing process. */ + +.review { + padding: 5px; + border: solid 1px black; + margin-left: 10%; + margin-top: 10px; + margin-bottom: 10px; + background-color: #FFA; + font-size: smaller; +} +.reviewauthor { + font-size: smaller; + font-style: italic; +} +.ednote { + padding: 5px; + border: solid 1px black; + margin-top: 10px; + margin-bottom: 10px; +} +.ednotehead { + font-weight: bold; +} + +/* override mediawiki's beautiful DL styling... */ +dl { + background: white; + width: 100%; + border: none; + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; +} + +div { + margin-top: 0; + margin-bottom: 0; +} +#fulltitle { + font-size: 140%; + font-weight: bold; +} + +.xml { + color: red +} + +.rdbms{ +color: red +} + +/* just copying from wiki, so it stays through TR. Currently + affects Primer, at least */ +pre { + background-color:#F9F9F9; + border:1px dashed #2F6FAB; + color:black; + line-height:1.1em; + padding:1em; +} \ No newline at end of file diff --git a/dist/ontology/0.5.0/resources/primer.css b/dist/ontology/0.5.0/resources/primer.css new file mode 100644 index 0000000..3136dac --- /dev/null +++ b/dist/ontology/0.5.0/resources/primer.css @@ -0,0 +1,103 @@ +/* define a class "noprint" for sections which don't get printed */ +.noprint { display: none; } + +/* our syntax menu for switching */ +div.syntaxmenu { + border: 1px dotted black; + padding:0.5em; + margin: 1em; +} + +.container { + margin-right: auto; + margin-left: auto; + padding-left: 15px; + padding-right: 15px; +} + +@media print { + div.syntaxmenu { display:none; } +} + +/* use tab-like headers for syntax examples */ +div.exampleheader { + font-size: 90%; + float: left; + background: #F9F9F9; + color: #2F6FAB; + border: 1px dashed #2F6FAB; + border-bottom: 0px; + padding-top: 2px; +} + +div.exampleheader span.exampleheader { + background: #F9F9F9; + padding-top: 0px; + padding-right: 10px; + padding-left: 10px; + padding-bottom: 3px; + padding-top: 0px; +} + +/* Also copy MediaWiki style here, so it will not look different when exported */ +div.fssyntax pre, div.rdfxml pre, div.owlxml pre, div.turtle pre, div.manchester pre { + background-color: #F9F9F9; + border: 1px dashed #2F6FAB; + color: black; + line-height: 1.1em; + padding: 1em; + clear: both; + margin-left: 0em; +} +/* Expansion to add the status*/ +.status { + position: fixed; + left: 0em; + top: 0em; + text-align: right; + vertical-align: middle; + /* Square version of the inside span. Slightly larger */ + width: 26em; + height: 26em; + z-index: -1; + opacity: 0.8; + + /** From http://stackoverflow.com/questions/1080792/how-to-draw-vertical-text-with-css-cross-browser */ + + -webkit-transform: rotate(-90deg); + -moz-transform: rotate(-90deg); + -ms-transform: rotate(-90deg); + -o-transform: rotate(-90deg); + transform: rotate(-90deg); + /* also accepts left, right, top, bottom coordinates; not + * required, but a good idea for styling */ + -webkit-transform-origin: 50% 50%; + -moz-transform-origin: 50% 50%; + -ms-transform-origin: 50% 50%; + -o-transform-origin: 50% 50%; + transform-origin: 50% 50%; + + /* Should be unset in IE9+ I think. */ + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); +} + +/* The actual status box */ + .status div { + display: block; + background: rgb(0, 90, 156); + color: white; + width: 24em; + padding-top: 0.3em; + padding-left: 0em; + padding-right: 5em; + padding-bottom: 0.3em; + /* Enable for debugging + border: red thin solid; + */ +} + +/* And text inside, don't confuse fonts as it breaks em above */ +.status div span { + font-family: "Tauri"; + font-size: larger; +} \ No newline at end of file diff --git a/dist/ontology/0.5.0/resources/rec.css b/dist/ontology/0.5.0/resources/rec.css new file mode 100644 index 0000000..d8a1ff2 --- /dev/null +++ b/dist/ontology/0.5.0/resources/rec.css @@ -0,0 +1,88 @@ +/* Style for a "Recommendation" */ + +/* + Copyright 1997-2003 W3C (MIT, ERCIM, Keio). All Rights Reserved. + The following software licensing rules apply: + http://www.w3.org/Consortium/Legal/copyright-software */ + +/* $Id: base.css,v 1.25 2006/04/18 08:42:53 bbos Exp $ */ + +body { + padding: 2em 1em 2em 70px; + margin: 0; + font-family: sans-serif; + color: black; + background: white; + background-position: top left; + background-attachment: fixed; + background-repeat: no-repeat; + counter-reset:section; +} +:link { color: #00C; background: transparent } +:visited { color: #609; background: transparent } +a:active { color: #C00; background: transparent } + +a:link img, a:visited img { border-style: none } /* no border on img links */ + +a img { color: white; } /* trick to hide the border in Netscape 4 */ +@media all { /* hide the next rule from Netscape 4 */ + a img { color: inherit; } /* undo the color change above */ +} + +th, td { /* ns 4 */ + font-family: sans-serif; +} + +h1, h2, h3, h4, h5, h6 { text-align: left } +h2.list{counter-reset:subsection } +h2.list:before{counter-increment:section;content: counter(section) ". ";} +h3.list:before{counter-increment:subsection;content: counter(section) "." counter(subsection) ". "; + } +h3.list{margin-top: 20px; + border-bottom: 0px; } +/* background should be transparent, but WebTV has a bug */ +h1, h2, h3 { color: #005A9C; background: white } +h1 { font: 170% sans-serif } +h2 { font: 140% sans-serif } +h3 { font: 120% sans-serif } +h4 { font: bold 100% sans-serif } +h5 { font: italic 100% sans-serif } +h6 { font: small-caps 100% sans-serif } + +.hide { display: none } + +div.head { margin-bottom: 1em } +div.head h1 { margin-top: 2em; clear: both } +div.head table { margin-left: 2em; margin-top: 2em } + +p.copyright { font-size: small } +p.copyright small { font-size: small } + +@media screen { /* hide from IE3 */ +a[href]:hover { background: #ffa } +} + +pre { margin-left: 2em } +/* +p { + margin-top: 0.6em; + margin-bottom: 0.6em; +} +*/ +dt, dd { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */ +dt { font-weight: bold } + +pre, code { font-family: monospace } /* navigator 4 requires this */ + +ul.toc, ol.toc { + list-style: disc; /* Mac NS has problem with 'none' */ + list-style: none; +} + +@media aural { + h1, h2, h3 { stress: 20; richness: 90 } + .hide { speak: none } + p.copyright { volume: x-soft; speech-rate: x-fast } + dt { pause-before: 20% } + pre { speak-punctuation: code } +} diff --git a/dist/ontology/0.5.0/sections/abstract-en.html b/dist/ontology/0.5.0/sections/abstract-en.html new file mode 100644 index 0000000..f69ed73 --- /dev/null +++ b/dist/ontology/0.5.0/sections/abstract-en.html @@ -0,0 +1,4 @@ + +

    Abstract

    +The Function Ontology allows to declare and describe functions. The specification is online at https://w3id.org/function/spec + diff --git a/dist/ontology/0.5.0/sections/crossref-en.html b/dist/ontology/0.5.0/sections/crossref-en.html new file mode 100644 index 0000000..795015c --- /dev/null +++ b/dist/ontology/0.5.0/sections/crossref-en.html @@ -0,0 +1,898 @@ +

    Cross reference for The Function Ontology classes, properties and dataproperties back to ToC

    +This section provides details for each class and property defined by The Function Ontology. +
    +

    Classes

    + +
    +

    Algorithmc + back to ToC or Class ToC + +

    +

    + IRI: https://w3id.org/function/ontology#Algorithm

    +
    + A declaration of an algorithm. An algorithm is a specified set of instructions, independent of its implementation. There is no one-to-one mapping between an algorithm and a problem. +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    is in range of
    +
    + implements + op +
    +
    +
    +
    +

    Executionc + back to ToC or Class ToC + +

    +

    + IRI: https://w3id.org/function/ontology#Execution

    +
    + An execution is the connection between a function and its input and output values. +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    is in domain of
    +
    + executes + op, uses + op +
    +
    +
    +
    +

    Functionc + back to ToC or Class ToC + +

    +

    + IRI: https://w3id.org/function/ontology#Function

    +
    + The declared function +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    is in domain of
    +
    + expects + op, implements + op, name, returns + op, solves + op +
    +
    is in range of
    +
    + executes + op, function + op +
    +
    +
    +
    +

    Implementationc + back to ToC or Class ToC + +

    +

    + IRI: https://w3id.org/function/ontology#Implementation

    +
    + A certain implementation of a function +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    is in range of
    +
    + implementation + op +
    +
    +
    +
    +

    Mappingc + back to ToC or Class ToC + +

    +

    + IRI: https://w3id.org/function/ontology#Mapping

    +
    + A mapping connects a function to an implementation +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    is in domain of
    +
    + function + op, implementation + op, method mapping + op, parameter mapping + op +
    +
    is in range of
    +
    + uses + op +
    +
    +
    +
    +

    Method mappingc + back to ToC or Class ToC + +

    +

    + IRI: https://w3id.org/function/ontology#MethodMapping

    +
    + A method mapping unambiguously specifies how the abstract function can be mapped to the implemented method. This can be, e.g., the name of the method +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    is in range of
    +
    + method mapping + op +
    +
    +
    +
    +

    Outputc + back to ToC or Class ToC + +

    +

    + IRI: https://w3id.org/function/ontology#Output

    +
    + The definition of an output of a function +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    +

    Parameterc + back to ToC or Class ToC + +

    +

    + IRI: https://w3id.org/function/ontology#Parameter

    +
    + The definition of a parameter to a certain function +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    is in domain of
    +
    + predicate + op +
    +
    +
    +
    +

    Parameter mappingc + back to ToC or Class ToC + +

    +

    + IRI: https://w3id.org/function/ontology#ParameterMapping

    +
    + A parameter mapping unambiguously specifies how the abstract parameter can be mapped to the implemented method's argument. For example: Parameter X is mapped to the third argument of the method (a position parameter mapping, common for programming languages), or to property with name Y of the method (a property parameter mapping, common for Web APIs) +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    is in range of
    +
    + parameter mapping + op +
    +
    +
    +
    +

    Problemc + back to ToC or Class ToC + +

    +

    + IRI: https://w3id.org/function/ontology#Problem

    +
    + A certain problem that a function solves +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    is in range of
    +
    + solves + op +
    +
    +
    +
    +

    Object Properties

    + +
    +

    executesop + back to ToC or Object Property ToC + +

    +

    + IRI: https://w3id.org/function/ontology#executes

    +
    + Connects a function to an execution definition +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    +
    has domain
    +
    + Execution + c +
    +
    has range
    +
    + Function + c +
    +
    +
    +
    +
    +

    expectsop + back to ToC or Object Property ToC + +

    +

    + IRI: https://w3id.org/function/ontology#expects

    +
    + Connects a function description to an ordered list of zero or more parameter descriptions +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    +
    has domain
    +
    + Function + c +
    +
    has range
    +
    + list + c +
    +
    +
    +
    +
    +

    functionop + back to ToC or Object Property ToC + +

    +

    + IRI: https://w3id.org/function/ontology#function

    +
    + Connects a function to a mapping definition +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    +
    has domain
    +
    + Mapping + c +
    +
    has range
    +
    + Function + c +
    +
    +
    +
    +
    +

    implementationop + back to ToC or Object Property ToC + +

    +

    + IRI: https://w3id.org/function/ontology#implementation

    +
    + Connects an implementation to a mapping definition +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    +
    has domain
    +
    + Mapping + c +
    +
    has range
    +
    + Implementation + c +
    +
    +
    +
    +
    +

    implementsop + back to ToC or Object Property ToC + +

    +

    + IRI: https://w3id.org/function/ontology#implements

    +
    + Connects a function to an algorithm it implements. A function can implement 0..n algorithms. +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    +
    has domain
    +
    + Function + c +
    +
    has range
    +
    + Algorithm + c +
    +
    +
    +
    +
    +

    method mappingop + back to ToC or Object Property ToC + +

    +

    + IRI: https://w3id.org/function/ontology#methodMapping

    +
    + Connects a method mapping to a mapping definition +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    +
    has domain
    +
    + Mapping + c +
    +
    has range
    +
    + Method mapping + c +
    +
    +
    +
    +
    +

    parameter mappingop + back to ToC or Object Property ToC + +

    +

    + IRI: https://w3id.org/function/ontology#parameterMapping

    +
    + Connects a parameter mapping to a mapping definition +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    +
    has domain
    +
    + Mapping + c +
    +
    has range
    +
    + Parameter mapping + c +
    +
    +
    +
    +
    +

    predicateop + back to ToC or Object Property ToC + +

    +

    + IRI: https://w3id.org/function/ontology#predicate

    +
    + Connects a parameter description to the predicate used to link executions of this function to their parameter. +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    +
    has domain
    +
    + Parameter + c +
    +
    has range
    +
    + property + c +
    +
    +
    +
    +
    +

    returnsop + back to ToC or Object Property ToC + +

    +

    + IRI: https://w3id.org/function/ontology#returns

    +
    + Connects a description of a function to the description of the output +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    +
    has domain
    +
    + Function + c +
    +
    has range
    +
    + list + c +
    +
    +
    +
    +
    +

    solvesop + back to ToC or Object Property ToC + +

    +

    + IRI: https://w3id.org/function/ontology#solves

    +
    + Connects a description of a function to the description of a problem it tries to solve. +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    +
    has domain
    +
    + Function + c +
    +
    has range
    +
    + Problem + c +
    +
    +
    +
    +
    +

    usesop + back to ToC or Object Property ToC + +

    +

    + IRI: https://w3id.org/function/ontology#uses

    +
    + Connects an execution to a mapping definition +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    +
    has domain
    +
    + Execution + c +
    +
    has range
    +
    + Mapping + c +
    +
    +
    +
    +
    +

    Data Properties

    + +
    +

    nullabledp + back to ToC or Data Property ToC + +

    +

    + IRI: https://w3id.org/function/ontology#nullable

    +
    + Defines if a parameteris nullable. +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    +
    has range
    +
    + boolean +
    +
    +
    +
    +
    +

    requireddp + back to ToC or Data Property ToC + +

    +

    + IRI: https://w3id.org/function/ontology#required

    +
    + Defines if a parameter or an output is required. +
    +
    +
    Is defined by
    +
    + https://w3id.org/function/ontology# +
    +
    +
    +
    Term status
    +
    testing
    +
    +
    +
    +
    has range
    +
    + boolean +
    +
    +
    +
    +
    +

    Named Individuals

    + +
    +

    Anastasia Dimouni + back to ToC or Named Individual ToC + +

    +

    + IRI: https://data.verborgh.org/people/anastasia_dimou

    +
    +
    belongs to
    +
    + person + c +
    +
    +
    +
    +

    Ben De Meesterni + back to ToC or Named Individual ToC + +

    +

    + IRI: https://ben.de-meester.org/#me

    +
    +
    belongs to
    +
    + person + c +
    +
    +
    +
    +

    The Function Ontologyni + back to ToC or Named Individual ToC + +

    +

    + IRI: https://w3id.org/function/ontology

    +
    +
    belongs to
    +
    + vocabulary + c +
    +
    +
    +
    +

    Legend back to ToC

    +
    +c: Classes
    +op: Object Properties
    +dp: Data Properties
    +ni: Named Individuals +
    +
    + diff --git a/dist/ontology/0.5.0/sections/description-en.html b/dist/ontology/0.5.0/sections/description-en.html new file mode 100644 index 0000000..b535cd8 --- /dev/null +++ b/dist/ontology/0.5.0/sections/description-en.html @@ -0,0 +1,6 @@ + +

    The Function Ontology: Description back to ToC

    + +This is a placeholder text for the description of your ontology. The description should include an explanation and a diagram explaining how the classes are related, examples of usage, etc. + + diff --git a/dist/ontology/0.5.0/sections/introduction-en.html b/dist/ontology/0.5.0/sections/introduction-en.html new file mode 100644 index 0000000..dc11e23 --- /dev/null +++ b/dist/ontology/0.5.0/sections/introduction-en.html @@ -0,0 +1,28 @@ +

    Introduction back to ToC

    + +This is a place holder text for the introduction. The introduction should briefly describe the ontology, its motivation, state of the art and goals. +
    +

    Namespace declarations

    +
    + + + + + + + + + + + + + + + + + + +
    Table 1: Namespaces used in the document
    fno<https://w3id.org/function/ontology#>
    ns<http://creativecommons.org/ns>
    owl<http://www.w3.org/2002/07/owl>
    xsd<http://www.w3.org/2001/XMLSchema>
    voaf<http://purl.org/vocommons/voaf>
    rdfs<http://www.w3.org/2000/01/rdf-schema>
    ns1<http://www.w3.org/2003/06/sw-vocab-status/ns>
    people<https://data.verborgh.org/people>
    rdf<http://www.w3.org/1999/02/22-rdf-syntax-ns>
    terms<http://purl.org/dc/terms>
    function<https://w3id.org/function>
    vann<http://purl.org/vocab/vann>
    foaf<http://xmlns.com/foaf/0.1>
    default namespace<https://w3id.org/function/ontology>
    +
    +
    + \ No newline at end of file diff --git a/dist/ontology/0.5.0/sections/overview-en.html b/dist/ontology/0.5.0/sections/overview-en.html new file mode 100644 index 0000000..b6314d4 --- /dev/null +++ b/dist/ontology/0.5.0/sections/overview-en.html @@ -0,0 +1,93 @@ +

    The Function Ontology: Overview back to ToC

    + +This ontology has the following classes and properties. +

    Classes

    +

    Object Properties

    Data Properties

    Named Individuals

    diff --git a/dist/ontology/0.5.0/sections/references-en.html b/dist/ontology/0.5.0/sections/references-en.html new file mode 100644 index 0000000..798cb6f --- /dev/null +++ b/dist/ontology/0.5.0/sections/references-en.html @@ -0,0 +1,9 @@ + +

    References back to ToC

    + + - B. De Meester, A. Dimou, and R. Verborgh, “Implementation-independent Function Reuse,” Future Generation Computer Systems, 2019 (under review). + - B. De Meester, A. Dimou, R. Verborgh, and E. Mannens, “Discovering and Using Functions via Content Negotiation,” in 15th International Semantic Web Conference: Posters & Demonstrations Track, 2016, vol. 1690. + - B. De Meester, A. Dimou, R. Verborgh, E. Mannens, and R. Van de Walle, “An Ontology to Semantically Declare and Describe Functions,” in The Semantic Web: ESWC 2016 Satellite Events, Heraklion, Crete, Greece, May 29 – June 2, 2016, Revised Selected Papers, 2016, vol. 9989, pp. 46–49. + + + diff --git a/dist/ontology/0.5.0/webvowl/css/webvowl.app.css b/dist/ontology/0.5.0/webvowl/css/webvowl.app.css new file mode 100644 index 0000000..37bfa21 --- /dev/null +++ b/dist/ontology/0.5.0/webvowl/css/webvowl.app.css @@ -0,0 +1,6 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans);html{-ms-content-zooming:none}#loading-progress{width:50%}#layoutLoadingProgressBarContainer{height:50px;text-align:left;line-height:1.5}#progressBarContext{background-color:#bdc3c7;height:25px;border:1px solid #000;margin:auto}#progressBarValue{width:0;background-color:#2980b9;height:25px;line-height:1.5}.dbEntry{background-color:#fff}.dbEntry,.dbEntrySelected{color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntry:focus,.dbEntry:hover,.dbEntrySelected{background-color:#bdc3c7}.searchMenuEntry{background-color:#fff;bottom:0;font-size:14px;min-width:50px;margin:0;padding:0;z-index:99;border-radius:4px 4px 0 0;border:1px solid rgba(0,0,0,.15);-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;border-bottom:none;display:none;position:absolute;list-style:none}.searchInputText{background-color:#fff;color:#000;border:#000;text-decoration:none;max-width:150px;overflow:hidden;text-overflow:ellipsis;margin:0}iframe,img{border:none}.hidden{display:none!important}.clear{clear:both}a{color:#69c;text-decoration:none}a:hover{color:#3498db}#optionsArea a{color:#2980b9}#optionsArea a.highlighted{background-color:#d90}.toolTipMenu li.highlighted{background-color:#feb}#browserCheck{background-color:red;padding:5px 0;position:absolute;text-align:center;width:100%}#browserCheck a{color:#fff}#browserCheck a:hover{text-decoration:underline}@-webkit-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-o-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-webkit-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-o-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}body{background:#18202a;font-size:14px;font-family:Open Sans,Helvetica,Arial,sans-serif;line-height:1;overflow:hidden;position:fixed}body,main{height:100%;margin:0;padding:0;width:100%}#canvasArea,main{position:relative}#canvasArea{margin:0;padding:0;width:78%}#canvasArea #graph{margin:0 0 2px;background-color:#ecf0f1;width:100%}#canvasArea #graph,#canvasArea svg{box-sizing:border-box;overflow:hidden;padding:0}#canvasArea svg{margin:0}#logo{position:fixed;pointer-events:none}#logo h2{color:#3498db;margin:0;line-height:.7;text-align:center;font-size:24px}#logo h2 span{color:#34495e;font-size:16px}@media screen and (max-device-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-device-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}.checkboxContainer input,.checkboxContainer label{vertical-align:middle}.selected-ontology{background-color:#eee}#credits{border-top:1px solid #bdc3c7;font-size:.9em}.slideOption{position:relative;padding:8px 5px;outline:none}.slideOption .value{float:right;outline:none}.slideOption input[type=range]{box-sizing:border-box;margin:0;outline:none;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#eee}.slideOption input[type=range]::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]::-moz-range-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]:hover{outline:none}.slideOption input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none;margin-top:-3px}.slideOption input[type=range]::-moz-range-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none}.slideOption input[type=range]::-moz-range-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]::-webkit-slider-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]:active,.slideOption input[type=range]:focus{outline:none}.slideOption input[type=range]::-moz-range-thumb:active,.slideOption input[type=range]::-moz-range-thumb:focus{outline:none}.slideOption input[type=range]::-webkit-slider-thumb:active,.slideOption input[type=range]::-webkit-slider-thumb:focus{outline:none}#detailsArea{top:0;right:0;bottom:0;color:#bdc3c7;height:100%;width:22%;overflow-y:auto;overflow-x:hidden;position:fixed;border-left:1px solid #34495e}#detailsArea h1{border-bottom:1px solid #34495e;color:#ecf0f1;display:block;font-weight:100;font-size:1.5em;margin:0;padding:10px 0;text-align:center}#generalDetails{width:auto;box-sizing:border-box;height:100%}#generalDetails span #about{border-bottom:1px solid #34495e;display:block;padding:10px;text-align:center;word-wrap:break-word;color:#69c}#generalDetails h4{background:#1b252e;color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 0;text-align:center}#detailsArea #generalDetails h5{border-bottom:1px solid #34495e;font-size:.9em;font-weight:100;margin:0;padding:5px;text-align:center}#description{text-align:justify}.accordion-container p{font-size:.9em;line-height:1.3;margin:5px 10px}.statisticDetails span{padding:10px}.statisticDetails div,.statisticDetails span{font-weight:100;font-style:italic;margin:10px 0}.statisticDetails div{padding:0 10px;display:inline}#selection-details .propDetails a{color:#69c}#selection-details .propDetails>span{font-weight:100;font-style:italic;padding:0 10px}#selection-details #classEquivUri span,#selection-details #disjointNodes span{padding:0}#selection-details .propDetails div{font-weight:100;font-style:italic;margin:10px 0;padding:0 10px;display:inline}#selection-details .propDetails div span{padding:0}.subclass{fill:#ecf0f1}.accordion-trigger{background:#24323e;cursor:pointer;padding:.5em}.accordion-trigger.accordion-trigger-active:before{padding-right:4px;content:"\25BC"}.accordion-trigger:not(.accordion-trigger-active):before{padding-right:4px;content:"\25BA"}.accordion-container.scrollable{max-height:40%;overflow:auto}.small-whitespace-separator{height:3px}#language{background:transparent;border:1px solid #34495e;color:#ecf0f1}#language option{background-color:#24323e}.converter-form:not(:first-child){margin-top:5px}.converter-form label{display:inline-block;line-height:normal}.converter-form input{box-sizing:border-box;height:20px;width:74%;border:1px solid #34495e}.converter-form button{float:right;padding:0;width:25%;background-color:#ecf0f1}#file-converter-label,.converter-form button{cursor:pointer;height:20px;border:1px solid #34495e}#file-converter-label{box-sizing:border-box;width:74%}#killWarning{cursor:pointer;color:#fff;font-weight:700}#copyBt{right:2px;padding:2px 7px 3px}#copyBt,#sidebarExpandButton{box-sizing:border-box;color:#000;float:right;position:absolute;border:1px solid #000;background-color:#ecf0f1;cursor:pointer}#sidebarExpandButton{height:24px;width:24px;top:10px;right:0;text-align:center;font-size:1.5em}#loading-info{box-sizing:border-box;position:absolute;text-align:center;width:100%;height:80%;top:0}#loading-info>div{display:inline-block;color:#fff;background-color:#18202a;border-bottom-left-radius:2px;border-bottom-right-radius:2px}#loading-info>*>*{padding:5px}#loading-info{pointer-events:none}#loading-progress{pointer-events:auto;min-width:220px}#show-loadingInfo-button{font-size:12px;color:#fff;cursor:pointer;text-align:center}#loadingIndicator_closeButton:hover{color:#ff972d;cursor:pointer}#loadingIndicator_closeButton{color:#ffe30f;cursor:pointer;padding-bottom:5px;float:right}.busyProgressBar{background-color:#000;height:25px;position:relative;animation:busy 2s linear infinite}@-webkit-keyframes busy{0%{left:0}50%{left:80%}to{left:0}}#bulletPoint_container{padding-left:15px;margin-top:0;margin-bottom:0}#bulletPoint_container>div{margin-left:-15px}#loadingInfo-container{box-sizing:border-box;text-align:left;line-height:1.2;padding-top:5px;overflow:auto;height:120px;min-height:40px;background-color:#3c3c3c}#error-description-button{margin:5px 0 0;font-size:12px;color:#69c;cursor:pointer;text-align:center}#error-description-container{box-sizing:border-box;text-align:left}#error-description-container pre{background-color:#34495e;padding:2px;margin:0;white-space:pre-wrap;max-height:calc(100vh - 125px);max-width:75vw;overflow:auto}.spin{display:inline-block;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.truncate{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.color-mode-switch{float:right;width:90px;cursor:pointer;height:20px;padding:0;border:0;color:#555;background-color:#eceeef;box-shadow:0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.color-mode-switch:focus{outline-width:0}.color-mode-switch.active{color:#fff;background-color:#32cd32;box-shadow:inset 0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.filterMenuButtonHighlight{background-color:#d90}@-webkit-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-moz-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-o-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}.buttonPulse{-webkit-animation-name:buttonAnimation;-moz-animation-name:buttonAnimation;-o-animation-name:buttonAnimation;animation-name:buttonAnimation;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s;-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}#m_about{max-width:200px;width:200px;position:absolute}#m_modes{max-width:230px;width:230px;position:absolute}#m_filter{max-width:170px;width:170px;position:absolute}#m_gravity{max-width:180px;width:180px;position:absolute}#m_export{max-width:160px;width:160px;position:absolute}#exportedUrl{width:100px}#m_select{max-width:300px;width:300px;position:absolute}#m_search{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#swipeBarContainer{position:fixed;width:77.8%;height:40px;margin:0;padding:0;bottom:0}#menuElementContainer{margin:0;padding:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;text-align:right;list-style-type:none}#menuElementContainer>li{display:inline-block;box-sizing:border-box;text-align:left;position:relative;height:40px;font-size:14px;color:#fff;padding:12px 0 0;margin-left:-4px}#menuElementContainer>li>a{color:#fff;padding:9px 12px 12px 30px}.menuElementSvgElement{height:20px;width:20px;display:block;position:absolute;top:10px;left:8px}#menuElementContainer>li>input{color:#000;padding:.1em .3em .1em 1.5em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:120px}#menuElementContainer>li>a:hover{box-sizing:border-box;background:#1b252e;color:#bdc3c7}.toolTipMenu{-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;background-color:#fff;border:1px solid rgba(0,0,0,.15);border-bottom:none;border-radius:4px 4px 0 0;bottom:0;display:none;font-size:14px;list-style:none;margin:0;padding:0;white-space:normal;position:absolute;z-index:99}.toolTipMenu>li:first-of-type{border:none}.toolTipMenu a{color:#2980b9}.toolTipMenu>li{border-top:1px solid #bdc3c7}.toolTipMenu li{color:#2980b9;display:block}#menuElementContainer>li:hover .toolTipMenu{display:block}#menuElementContainer li>ul.toolTipMenu li a:hover{background:#e1e1e1}#scrollLeftButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;left:0}#scrollLeftButton:focus{outline:none}#scrollLeftButton:before{content:"<"}#scrollRightButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;right:0}#scrollRightButton:focus{outline:none}#scrollLeftButton:hover,#scrollRightButton:hover{color:#bdc3c7}#scrollRightButton:before{content:">"}#centerGraphButton,#zoomInButton,#zoomOutButton{border:1px solid #000;text-align:center;margin:-1px 0 0;font-size:1.5em;padding:0;height:28px}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#zoomOutButton{line-height:22px}#centerGraphButton,#zoomInButton{line-height:25px}#zoomSlider>p:hover{background-color:#d90}#zoomSliderParagraph{color:#000;padding-top:5px;margin:-1px 0 0;border:1px solid #000;height:150px}#zoomSlider,#zoomSliderParagraph,p#zoomSliderParagraph:hover{background-color:#ecf0f1}#zoomSlider{width:28px;margin-top:-2px;padding:0;font-size:1.5em;cursor:pointer;position:absolute;right:20px;bottom:20px;color:#000;box-sizing:border-box}#menuElementContainer>li>a:before{font-size:1em;margin:0;padding:0 6px 0 0}#menuElementContainer a.highlighted{background-color:#d90} + /*!*padding: 0 0.2em;*!*/.inner-addon{position:relative}.searchIcon{position:absolute;width:17px;height:17px;pointer-events:none} + /*!*padding: 0 0.2em;*!*/ + /*!*color: black;*!*/ + /*!*content: "\2315";*!*/ + /*!*content: "\2315" or "\1F50D"*!;*/li#c_search{padding:0 5px;margin-left:5px;height:20px}li#c_locate{padding:0}#c_locate>a{font-size:2em;padding:0}a#pause-button{padding:12px}a#pause-button.paused:before{content:"\25BA"}a#pause-button.paused:hover{background-color:#d90;color:#fff}a#pause-button:not(.paused):before{content:"II"}.toggleOption li:hover,.toolTipMenu li:hover{background-color:#e1e1e1}.toggleOption{padding:8px 5px}#converter-option:hover{background-color:#fff}.option,.toolTipMenu li a:only-child{display:block;float:none;padding:8px 5px}.customLocate{padding:0;background-color:#32cd32}a#locateSearchResult{padding-top:50px}#zoomSliderElement{color:#000;position:relative;padding-top:0;width:155px;height:24px;background-color:transparent;-webkit-transform-origin-x:73px;-webkit-transform-origin-y:73px;-webkit-transform:rotate(-90deg);-moz-transform-origin:73px 73px;transform:rotate(-90deg);transform-origin:73px 73px;-webkit-appearance:none;outline:none;margin:4px 0}#zoomSliderElement::-webkit-scrollbar{height:0}#zoomSliderElement:hover{cursor:crosshair}#zoomSliderElement::-webkit-slider-runnable-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-moz-range-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-webkit-slider-thumb{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#fff;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb{background:#fff}#zoomSliderElement::-ms-thumb,#zoomSliderElement::-ms-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb:hover{background:#d90}#zoomSliderElement::-webkit-slider-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#d90;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-moz-range-thumb,#zoomSliderElement::-moz-range-thumb:hover{border:1px solid #000;height:10px;width:30px;border-radius:3px;cursor:pointer;outline:none}#zoomSliderElement::-moz-range-thumb:hover{background:#d90}#zoomSliderElement::-moz-focus-outer{border:0}#locateSearchResult:focus{outline:none}a#locateSearchResult.highlighted:hover{background-color:#d90;color:red}a#locateSearchResult{outline:none;padding-bottom:0;padding-top:0;position:relative;top:5px} \ No newline at end of file diff --git a/dist/ontology/0.5.0/webvowl/css/webvowl.css b/dist/ontology/0.5.0/webvowl/css/webvowl.css new file mode 100644 index 0000000..a67a11d --- /dev/null +++ b/dist/ontology/0.5.0/webvowl/css/webvowl.css @@ -0,0 +1 @@ +.text{font-family:Helvetica,Arial,sans-serif;font-size:12px}.subtext{font-size:9px}.text.instance-count{fill:#666}.external+text .instance-count{fill:#aaa}.cardinality{font-size:10px}.embedded,.text{pointer-events:none}.allvaluesfromproperty,.class,.disjoint,.disjointwith,.equivalentproperty,.functionalproperty,.inversefunctionalproperty,.object,.objectproperty,.somevaluesfromproperty,.symmetricproperty,.transitiveproperty{fill:#acf}.datatypeproperty,.label .datatype{fill:#9c6}.rdf,.rdfproperty{fill:#c9c}.literal,.node .datatype{fill:#fc3}.deprecated,.deprecatedproperty{fill:#ccc}.external,.externalproperty{fill:#36c}.nofill,path{fill:none}marker path{fill:#000}.class,.fineline,line,path{stroke:#000}.external+text,.subclass,.subclassproperty,.white{fill:#fff}.cardinality.focused,.cardinality.hovered,.class.hovered,.filled.focused,.filled.hovered,.property.hovered,.values-from.filled.hovered{fill:red!important;cursor:pointer}.feature{fill:red;cursor:pointer}@-webkit-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-moz-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-o-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}.searchResultA{-webkit-animation-name:pulseAnimation;-moz-animation-name:pulseAnimation;-o-animation-name:pulseAnimation;animation-name:pulseAnimation;-webkit-animation-duration:.8s;-moz-animation-duration:.8s;-o-animation-duration:.8s;animation-duration:.8s;-webkit-transform:translateZ(0);-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}.searchResultA,.searchResultB{fill:none;stroke-width:5;stroke:red}.hovered-MathSymbol{fill:none}.focused,.hovered-MathSymbol,path.hovered{stroke:red!important}.feature:hover,.indirect-highlighting{fill:#f90;cursor:pointer}.values-from{stroke:#69c}.symbol,.values-from.filled{fill:#69c}.class,line,path{stroke-width:2}.fineline{stroke-width:1}.anonymous,.dashed{stroke-dasharray:8}.dotted{stroke-dasharray:3}circle.focused,rect.focused{stroke-width:4px}.nostroke{stroke:none}marker path{stroke-dasharray:100} \ No newline at end of file diff --git a/dist/ontology/0.5.0/webvowl/data/ontology.json b/dist/ontology/0.5.0/webvowl/data/ontology.json new file mode 100644 index 0000000..bd9399d --- /dev/null +++ b/dist/ontology/0.5.0/webvowl/data/ontology.json @@ -0,0 +1,939 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.4), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "en", "undefined" ], + "baseIris" : [ "http://www.w3.org/1999/02/22-rdf-syntax-ns", "http://purl.org/vocommons/voaf", "http://www.w3.org/2000/01/rdf-schema", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "https://w3id.org/function/ontology" ], + "title" : { + "en" : "The Function Ontology" + }, + "iri" : "https://w3id.org/function/ontology", + "version" : "0.5.0", + "author" : [ "https://data.verborgh.org/people/anastasia_dimou", "https://ben.de-meester.org/#me" ], + "description" : { + "en" : "The Function Ontology allows to declare and describe functions. The specification is online at https://w3id.org/function/spec" + }, + "labels" : { + "en" : "The Function Ontology" + }, + "comments" : { + "en" : "-Version 0.5.0: added Mapping and Implementation classes.\r\n-Version 0.4.1: wrong range definition, updated descriptions.\r\n-Version 0.4: added some properties\r\n-Version 0.3: improved comments.\r\n-Version 0.2: added extra metadata.\r\n-Version 0.1: creation." + }, + "other" : { + "priorVersion" : [ { + "identifier" : "priorVersion", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology/0.4.1", + "type" : "label" + } ], + "creator" : [ { + "identifier" : "creator", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + }, { + "identifier" : "creator", + "language" : "undefined", + "value" : "https://data.verborgh.org/people/anastasia_dimou", + "type" : "iri" + } ], + "versionInfo" : [ { + "identifier" : "versionInfo", + "language" : "undefined", + "value" : "0.5.0", + "type" : "label" + } ], + "title" : [ { + "identifier" : "title", + "language" : "en", + "value" : "The Function Ontology", + "type" : "label" + } ], + "seeAlso" : [ { + "identifier" : "seeAlso", + "language" : "undefined", + "value" : "https://w3id.org/function/spec", + "type" : "iri" + } ], + "license" : [ { + "identifier" : "license", + "language" : "undefined", + "value" : "http://creativecommons.org/license/by/3.0/", + "type" : "iri" + } ], + "primaryTopic" : [ { + "identifier" : "primaryTopic", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "rights" : [ { + "identifier" : "rights", + "language" : "en", + "value" : "Copyright Ghent University imec IDLab", + "type" : "label" + } ], + "preferredNamespacePrefix" : [ { + "identifier" : "preferredNamespacePrefix", + "language" : "undefined", + "value" : "fno", + "type" : "label" + } ], + "publisher" : [ { + "identifier" : "publisher", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + } ], + "modified" : [ { + "identifier" : "modified", + "language" : "undefined", + "value" : "2019-03-13", + "type" : "label" + } ], + "preferredNamespaceUri" : [ { + "identifier" : "preferredNamespaceUri", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "label" + } ], + "issued" : [ { + "identifier" : "issued", + "language" : "undefined", + "value" : "2016-03-08", + "type" : "label" + } ] + } + }, + "namespace" : [ ], + "metrics" : { + "classCount" : 14, + "objectPropertyCount" : 11, + "datatypePropertyCount" : 2, + "individualCount" : 3 + }, + "class" : [ { + "id" : "5", + "type" : "owl:Class" + }, { + "id" : "8", + "type" : "owl:Thing" + }, { + "id" : "13", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:Class" + }, { + "id" : "14", + "type" : "owl:Class" + }, { + "id" : "18", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:Class" + }, { + "id" : "20", + "type" : "owl:Class" + }, { + "id" : "16", + "type" : "rdfs:Datatype" + }, { + "id" : "9", + "type" : "rdfs:Datatype" + }, { + "id" : "21", + "type" : "owl:Class" + }, { + "id" : "11", + "type" : "owl:Class" + }, { + "id" : "4", + "type" : "owl:Class" + }, { + "id" : "26", + "type" : "owl:Class" + }, { + "id" : "27", + "type" : "owl:Class" + }, { + "id" : "28", + "type" : "owl:Class" + }, { + "id" : "29", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "https://w3id.org/function/ontology#Mapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Mapping", + "en" : "Mapping" + }, + "comment" : { + "en" : "A mapping connects a function to an implementation" + }, + "id" : "5" + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "8", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "https://w3id.org/function/ontology#MethodMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "MethodMapping", + "en" : "Method mapping" + }, + "comment" : { + "en" : "A method mapping unambiguously specifies how the abstract function can be mapped to the implemented method. This can be, e.g., the name of the method" + }, + "id" : "13" + }, { + "iri" : "https://w3id.org/function/ontology#Function", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Function", + "en" : "Function" + }, + "comment" : { + "en" : "The declared function" + }, + "id" : "1" + }, { + "iri" : "https://w3id.org/function/ontology#Execution", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Execution", + "en" : "Execution" + }, + "comment" : { + "en" : "An execution is the connection between a function and its input and output values." + }, + "id" : "14" + }, { + "iri" : "https://w3id.org/function/ontology#Parameter", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Parameter", + "en" : "Parameter" + }, + "comment" : { + "en" : "The definition of a parameter to a certain function" + }, + "id" : "18" + }, { + "iri" : "https://w3id.org/function/ontology#Problem", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Problem", + "en" : "Problem" + }, + "comment" : { + "en" : "A certain problem that a function solves" + }, + "id" : "2" + }, { + "iri" : "https://w3id.org/function/ontology#Implementation", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Implementation", + "en" : "Implementation" + }, + "comment" : { + "en" : "A certain implementation of a function" + }, + "id" : "20" + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#boolean", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "16", + "label" : { + "IRI-based" : "boolean" + } + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#boolean", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "9", + "label" : { + "IRI-based" : "boolean" + } + }, { + "iri" : "https://w3id.org/function/ontology#ParameterMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "ParameterMapping", + "en" : "Parameter mapping" + }, + "comment" : { + "en" : "A parameter mapping unambiguously specifies how the abstract parameter can be mapped to the implemented method's argument. For example: Parameter X is mapped to the third argument of the method (a position parameter mapping, common for programming languages), or to property with name Y of the method (a property parameter mapping, common for Web APIs)" + }, + "id" : "21" + }, { + "iri" : "https://w3id.org/function/ontology#Algorithm", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Algorithm", + "en" : "Algorithm" + }, + "comment" : { + "en" : "A declaration of an algorithm. An algorithm is a specified set of instructions, independent of its implementation. There is no one-to-one mapping between an algorithm and a problem." + }, + "id" : "11" + }, { + "iri" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#List", + "baseIri" : "http://www.w3.org/1999/02/22-rdf-syntax-ns", + "instances" : 0, + "label" : { + "IRI-based" : "List" + }, + "attributes" : [ "external" ], + "id" : "4" + }, { + "iri" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property", + "baseIri" : "http://www.w3.org/1999/02/22-rdf-syntax-ns", + "instances" : 0, + "label" : { + "IRI-based" : "Property" + }, + "attributes" : [ "external" ], + "id" : "26" + }, { + "iri" : "http://purl.org/vocommons/voaf#Vocabulary", + "baseIri" : "http://purl.org/vocommons/voaf", + "instances" : 0, + "label" : { + "IRI-based" : "Vocabulary" + }, + "individuals" : [ { + "iri" : "https://w3id.org/function/ontology", + "baseIri" : "https://w3id.org/function", + "labels" : { + "IRI-based" : "ontology" + } + } ], + "attributes" : [ "external" ], + "id" : "27" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "individuals" : [ { + "iri" : "https://data.verborgh.org/people/anastasia_dimou", + "baseIri" : "https://data.verborgh.org/people", + "annotations" : { + "name" : [ { + "identifier" : "name", + "language" : "en", + "value" : "Anastasia Dimou", + "type" : "label" + } ], + "mbox" : [ { + "identifier" : "mbox", + "language" : "undefined", + "value" : "mailto:Anastasia.dimou@UGent.be", + "type" : "label" + } ] + }, + "labels" : { + "IRI-based" : "anastasia_dimou", + "en" : "Anastasia Dimou" + } + }, { + "iri" : "https://ben.de-meester.org/#me", + "baseIri" : "https://ben.de-meester.org/", + "annotations" : { + "name" : [ { + "identifier" : "name", + "language" : "en", + "value" : "Ben De Meester", + "type" : "label" + } ], + "mbox" : [ { + "identifier" : "mbox", + "language" : "undefined", + "value" : "mailto:Ben.DeMeester@UGent.be", + "type" : "label" + } ] + }, + "labels" : { + "IRI-based" : "me", + "en" : "Ben De Meester" + } + } ], + "attributes" : [ "external" ], + "id" : "28" + }, { + "iri" : "https://w3id.org/function/ontology#Output", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Output", + "en" : "Output" + }, + "comment" : { + "en" : "The definition of an output of a function" + }, + "id" : "29" + } ], + "property" : [ { + "id" : "0", + "type" : "owl:objectProperty" + }, { + "id" : "3", + "type" : "owl:objectProperty" + }, { + "id" : "6", + "type" : "owl:objectProperty" + }, { + "id" : "7", + "type" : "owl:datatypeProperty" + }, { + "id" : "10", + "type" : "owl:objectProperty" + }, { + "id" : "12", + "type" : "owl:objectProperty" + }, { + "id" : "15", + "type" : "owl:datatypeProperty" + }, { + "id" : "17", + "type" : "owl:objectProperty" + }, { + "id" : "19", + "type" : "owl:objectProperty" + }, { + "id" : "22", + "type" : "owl:objectProperty" + }, { + "id" : "23", + "type" : "owl:objectProperty" + }, { + "id" : "24", + "type" : "owl:objectProperty" + }, { + "id" : "25", + "type" : "owl:objectProperty" + } ], + "propertyAttribute" : [ { + "iri" : "https://w3id.org/function/ontology#solves", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "solves", + "en" : "solves" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a description of a function to the description of a problem it tries to solve." + }, + "attributes" : [ "object" ], + "id" : "0" + }, { + "iri" : "https://w3id.org/function/ontology#returns", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "4", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "returns", + "en" : "returns" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a description of a function to the description of the output" + }, + "attributes" : [ "object" ], + "id" : "3" + }, { + "iri" : "https://w3id.org/function/ontology#expects", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "4", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "expects", + "en" : "expects" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a function description to an ordered list of zero or more parameter descriptions" + }, + "attributes" : [ "object" ], + "id" : "6" + }, { + "iri" : "https://w3id.org/function/ontology#required", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "9", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "required", + "en" : "required" + }, + "domain" : "8", + "comment" : { + "en" : "Defines if a parameter or an output is required." + }, + "attributes" : [ "datatype" ], + "id" : "7" + }, { + "iri" : "https://w3id.org/function/ontology#implements", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "11", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "implements", + "en" : "implements" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a function to an algorithm it implements. A function can implement 0..n algorithms." + }, + "attributes" : [ "object" ], + "id" : "10" + }, { + "iri" : "https://w3id.org/function/ontology#methodMapping", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "13", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "methodMapping", + "en" : "method mapping" + }, + "domain" : "5", + "comment" : { + "en" : "Connects a method mapping to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "12" + }, { + "iri" : "https://w3id.org/function/ontology#nullable", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "16", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "nullable", + "en" : "nullable" + }, + "domain" : "8", + "comment" : { + "en" : "Defines if a parameteris nullable." + }, + "attributes" : [ "datatype" ], + "id" : "15" + }, { + "iri" : "https://w3id.org/function/ontology#function", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "function", + "en" : "function" + }, + "domain" : "5", + "comment" : { + "en" : "Connects a function to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "17" + }, { + "iri" : "https://w3id.org/function/ontology#uses", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "5", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "uses", + "en" : "uses" + }, + "domain" : "14", + "comment" : { + "en" : "Connects an execution to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "19" + }, { + "iri" : "https://w3id.org/function/ontology#implementation", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "20", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "implementation", + "en" : "implementation" + }, + "domain" : "5", + "comment" : { + "en" : "Connects an implementation to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "22" + }, { + "iri" : "https://w3id.org/function/ontology#executes", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "executes", + "en" : "executes" + }, + "domain" : "14", + "comment" : { + "en" : "Connects a function to an execution definition" + }, + "attributes" : [ "object" ], + "id" : "23" + }, { + "iri" : "https://w3id.org/function/ontology#parameterMapping", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "21", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "parameterMapping", + "en" : "parameter mapping" + }, + "domain" : "5", + "comment" : { + "en" : "Connects a parameter mapping to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "24" + }, { + "iri" : "https://w3id.org/function/ontology#predicate", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "26", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "predicate", + "en" : "predicate" + }, + "domain" : "18", + "comment" : { + "en" : "Connects a parameter description to the predicate used to link executions of this function to their parameter." + }, + "attributes" : [ "object" ], + "id" : "25" + } ] +} \ No newline at end of file diff --git a/dist/ontology/0.5.0/webvowl/data/template.json b/dist/ontology/0.5.0/webvowl/data/template.json new file mode 100644 index 0000000..b0c80f7 --- /dev/null +++ b/dist/ontology/0.5.0/webvowl/data/template.json @@ -0,0 +1,163 @@ +{ + "namespace": [ + { + "name": "", + "iri": "" + } + ], + "header": { + "languages": [ + "all", + "occurring", + "languages" + ], + "title": { + "language": "label" + }, + "iri": "", + "version": "", + "author": [ + "Author One", + "Author Two" + ], + "description": { + "language": "label" + }, + "other": { + "someIdentifier": [ + { + "identifier": "someIdentifier", + "language": "undefined", + "value": "http://an.iri/", + "type": "iri" + } + ], + "someOtherIdentifier": [ + { + "identifier": "someOtherIdentifier", + "language": "undefined", + "value": "Some person", + "type": "label" + } + ] + } + }, + "metrics" : { + "classCount" : 40, + "datatypeCount" : 13, + "objectPropertyCount" : 23, + "datatypePropertyCount" : 13, + "propertyCount" : 36, + "nodeCount" : 53, + "axiomCount" : 216, + "individualCount" : 8 + }, + "class": [ + { + "id": "", + "type": "" + } + ], + "classAttribute": [ + { + "id": "", + "label": "", + "iri": "", + "individuals": [ + { + "iri": "", + "labels": { + "language": "label" + }, + "annotations": {} + } + ], + "comment": "", + "equivalent": [ + "" + ], + "union": [ + "" + ], + "intersection": [ + "" + ], + "complement": [ + "" + ], + "attributes": [ + "deprecated", + "external", + "datatype", + "object", + "rdf" + ] + } + ], + "datatype": [ + { + "id": "", + "type": "" + } + ], + "datatypeAttribute": [ + { + "id": "", + "label" : { + "language" : "label" + }, + "iri": "", + "individuals": [ + { + "iri": "", + "labels": { + "language": "label" + }, + "annotations": {} + } + ], + "comment": "", + "equivalent": [ + "" + ] + } + ], + "property": [ + { + "id": "" + } + ], + "propertyAttribute": [ + { + "id": "", + "domain": "", + "range": "", + "inverse": "", + "label" : { + "language" : "label" + }, + "type": "", + "comment": "", + "cardinality": "", + "minCardinality": "", + "maxCardinality": "", + "subproperty": [ + "" + ], + "equivalent": [ + "" + ], + "attributes": [ + "deprecated", + "external", + "datatype", + "object", + "rdf", + "transitive", + "functional", + "inverse functional", + "symmetric" + ] + } + ] +} diff --git a/dist/ontology/0.5.0/webvowl/favicon.ico b/dist/ontology/0.5.0/webvowl/favicon.ico new file mode 100644 index 0000000..a857d51 Binary files /dev/null and b/dist/ontology/0.5.0/webvowl/favicon.ico differ diff --git a/dist/ontology/0.5.0/webvowl/index.html b/dist/ontology/0.5.0/webvowl/index.html new file mode 100644 index 0000000..23070f5 --- /dev/null +++ b/dist/ontology/0.5.0/webvowl/index.html @@ -0,0 +1,295 @@ + + + + + + + + + + + + + + + WebVOWL + + + +
    +
    + +
    >
    + + + +
    + + +
    +
    +
    +

    +

    +

    +

    +

    -

    +
    +
    + +
    + + + + + + + \ No newline at end of file diff --git a/dist/ontology/0.5.0/webvowl/js/d3.min.js b/dist/ontology/0.5.0/webvowl/js/d3.min.js new file mode 100644 index 0000000..1664873 --- /dev/null +++ b/dist/ontology/0.5.0/webvowl/js/d3.min.js @@ -0,0 +1,5 @@ +!function(){function n(n){return n&&(n.ownerDocument||n.document||n).documentElement}function t(n){return n&&(n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView)}function e(n,t){return t>n?-1:n>t?1:n>=t?0:NaN}function r(n){return null===n?NaN:+n}function i(n){return!isNaN(n)}function u(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)<0?r=u+1:i=u}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)>0?i=u:r=u+1}return r}}}function o(n){return n.length}function a(n){for(var t=1;n*t%1;)t*=10;return t}function l(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function c(){this._=Object.create(null)}function f(n){return(n+="")===bo||n[0]===_o?_o+n:n}function s(n){return(n+="")[0]===_o?n.slice(1):n}function h(n){return f(n)in this._}function p(n){return(n=f(n))in this._&&delete this._[n]}function g(){var n=[];for(var t in this._)n.push(s(t));return n}function v(){var n=0;for(var t in this._)++n;return n}function d(){for(var n in this._)return!1;return!0}function y(){this._=Object.create(null)}function m(n){return n}function M(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function x(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e=0,r=wo.length;r>e;++e){var i=wo[e]+t;if(i in n)return i}}function b(){}function _(){}function w(n){function t(){for(var t,r=e,i=-1,u=r.length;++ie;e++)for(var i,u=n[e],o=0,a=u.length;a>o;o++)(i=u[o])&&t(i,o,e);return n}function Z(n){return ko(n,qo),n}function V(n){var t,e;return function(r,i,u){var o,a=n[u].update,l=a.length;for(u!=e&&(e=u,t=0),i>=t&&(t=i+1);!(o=a[t])&&++t0&&(n=n.slice(0,a));var c=To.get(n);return c&&(n=c,l=B),a?t?i:r:t?b:u}function $(n,t){return function(e){var r=ao.event;ao.event=e,t[0]=this.__data__;try{n.apply(this,t)}finally{ao.event=r}}}function B(n,t){var e=$(n,t);return function(n){var t=this,r=n.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||e.call(t,n)}}function W(e){var r=".dragsuppress-"+ ++Do,i="click"+r,u=ao.select(t(e)).on("touchmove"+r,S).on("dragstart"+r,S).on("selectstart"+r,S);if(null==Ro&&(Ro="onselectstart"in e?!1:x(e.style,"userSelect")),Ro){var o=n(e).style,a=o[Ro];o[Ro]="none"}return function(n){if(u.on(r,null),Ro&&(o[Ro]=a),n){var t=function(){u.on(i,null)};u.on(i,function(){S(),t()},!0),setTimeout(t,0)}}}function J(n,e){e.changedTouches&&(e=e.changedTouches[0]);var r=n.ownerSVGElement||n;if(r.createSVGPoint){var i=r.createSVGPoint();if(0>Po){var u=t(n);if(u.scrollX||u.scrollY){r=ao.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var o=r[0][0].getScreenCTM();Po=!(o.f||o.e),r.remove()}}return Po?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),i=i.matrixTransform(n.getScreenCTM().inverse()),[i.x,i.y]}var a=n.getBoundingClientRect();return[e.clientX-a.left-n.clientLeft,e.clientY-a.top-n.clientTop]}function G(){return ao.event.changedTouches[0].identifier}function K(n){return n>0?1:0>n?-1:0}function Q(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(t[1]-n[1])*(e[0]-n[0])}function nn(n){return n>1?0:-1>n?Fo:Math.acos(n)}function tn(n){return n>1?Io:-1>n?-Io:Math.asin(n)}function en(n){return((n=Math.exp(n))-1/n)/2}function rn(n){return((n=Math.exp(n))+1/n)/2}function un(n){return((n=Math.exp(2*n))-1)/(n+1)}function on(n){return(n=Math.sin(n/2))*n}function an(){}function ln(n,t,e){return this instanceof ln?(this.h=+n,this.s=+t,void(this.l=+e)):arguments.length<2?n instanceof ln?new ln(n.h,n.s,n.l):_n(""+n,wn,ln):new ln(n,t,e)}function cn(n,t,e){function r(n){return n>360?n-=360:0>n&&(n+=360),60>n?u+(o-u)*n/60:180>n?o:240>n?u+(o-u)*(240-n)/60:u}function i(n){return Math.round(255*r(n))}var u,o;return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:0>t?0:t>1?1:t,e=0>e?0:e>1?1:e,o=.5>=e?e*(1+t):e+t-e*t,u=2*e-o,new mn(i(n+120),i(n),i(n-120))}function fn(n,t,e){return this instanceof fn?(this.h=+n,this.c=+t,void(this.l=+e)):arguments.length<2?n instanceof fn?new fn(n.h,n.c,n.l):n instanceof hn?gn(n.l,n.a,n.b):gn((n=Sn((n=ao.rgb(n)).r,n.g,n.b)).l,n.a,n.b):new fn(n,t,e)}function sn(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new hn(e,Math.cos(n*=Yo)*t,Math.sin(n)*t)}function hn(n,t,e){return this instanceof hn?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof hn?new hn(n.l,n.a,n.b):n instanceof fn?sn(n.h,n.c,n.l):Sn((n=mn(n)).r,n.g,n.b):new hn(n,t,e)}function pn(n,t,e){var r=(n+16)/116,i=r+t/500,u=r-e/200;return i=vn(i)*na,r=vn(r)*ta,u=vn(u)*ea,new mn(yn(3.2404542*i-1.5371385*r-.4985314*u),yn(-.969266*i+1.8760108*r+.041556*u),yn(.0556434*i-.2040259*r+1.0572252*u))}function gn(n,t,e){return n>0?new fn(Math.atan2(e,t)*Zo,Math.sqrt(t*t+e*e),n):new fn(NaN,NaN,n)}function vn(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function dn(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function yn(n){return Math.round(255*(.00304>=n?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function mn(n,t,e){return this instanceof mn?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof mn?new mn(n.r,n.g,n.b):_n(""+n,mn,cn):new mn(n,t,e)}function Mn(n){return new mn(n>>16,n>>8&255,255&n)}function xn(n){return Mn(n)+""}function bn(n){return 16>n?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function _n(n,t,e){var r,i,u,o=0,a=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(Nn(i[0]),Nn(i[1]),Nn(i[2]))}return(u=ua.get(n))?t(u.r,u.g,u.b):(null==n||"#"!==n.charAt(0)||isNaN(u=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&u)>>4,o=o>>4|o,a=240&u,a=a>>4|a,l=15&u,l=l<<4|l):7===n.length&&(o=(16711680&u)>>16,a=(65280&u)>>8,l=255&u)),t(o,a,l))}function wn(n,t,e){var r,i,u=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-u,l=(o+u)/2;return a?(i=.5>l?a/(o+u):a/(2-o-u),r=n==o?(t-e)/a+(e>t?6:0):t==o?(e-n)/a+2:(n-t)/a+4,r*=60):(r=NaN,i=l>0&&1>l?0:r),new ln(r,i,l)}function Sn(n,t,e){n=kn(n),t=kn(t),e=kn(e);var r=dn((.4124564*n+.3575761*t+.1804375*e)/na),i=dn((.2126729*n+.7151522*t+.072175*e)/ta),u=dn((.0193339*n+.119192*t+.9503041*e)/ea);return hn(116*i-16,500*(r-i),200*(i-u))}function kn(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Nn(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}function En(n){return"function"==typeof n?n:function(){return n}}function An(n){return function(t,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=null),Cn(t,e,n,r)}}function Cn(n,t,e,r){function i(){var n,t=l.status;if(!t&&Ln(l)||t>=200&&300>t||304===t){try{n=e.call(u,l)}catch(r){return void o.error.call(u,r)}o.load.call(u,n)}else o.error.call(u,l)}var u={},o=ao.dispatch("beforesend","progress","load","error"),a={},l=new XMLHttpRequest,c=null;return!this.XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(n)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=i:l.onreadystatechange=function(){l.readyState>3&&i()},l.onprogress=function(n){var t=ao.event;ao.event=n;try{o.progress.call(u,l)}finally{ao.event=t}},u.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?a[n]:(null==t?delete a[n]:a[n]=t+"",u)},u.mimeType=function(n){return arguments.length?(t=null==n?null:n+"",u):t},u.responseType=function(n){return arguments.length?(c=n,u):c},u.response=function(n){return e=n,u},["get","post"].forEach(function(n){u[n]=function(){return u.send.apply(u,[n].concat(co(arguments)))}}),u.send=function(e,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),l.open(e,n,!0),null==t||"accept"in a||(a.accept=t+",*/*"),l.setRequestHeader)for(var f in a)l.setRequestHeader(f,a[f]);return null!=t&&l.overrideMimeType&&l.overrideMimeType(t),null!=c&&(l.responseType=c),null!=i&&u.on("error",i).on("load",function(n){i(null,n)}),o.beforesend.call(u,l),l.send(null==r?null:r),u},u.abort=function(){return l.abort(),u},ao.rebind(u,o,"on"),null==r?u:u.get(zn(r))}function zn(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}function Ln(n){var t=n.responseType;return t&&"text"!==t?n.response:n.responseText}function qn(n,t,e){var r=arguments.length;2>r&&(t=0),3>r&&(e=Date.now());var i=e+t,u={c:n,t:i,n:null};return aa?aa.n=u:oa=u,aa=u,la||(ca=clearTimeout(ca),la=1,fa(Tn)),u}function Tn(){var n=Rn(),t=Dn()-n;t>24?(isFinite(t)&&(clearTimeout(ca),ca=setTimeout(Tn,t)),la=0):(la=1,fa(Tn))}function Rn(){for(var n=Date.now(),t=oa;t;)n>=t.t&&t.c(n-t.t)&&(t.c=null),t=t.n;return n}function Dn(){for(var n,t=oa,e=1/0;t;)t.c?(t.t8?function(n){return n/e}:function(n){return n*e},symbol:n}}function jn(n){var t=n.decimal,e=n.thousands,r=n.grouping,i=n.currency,u=r&&e?function(n,t){for(var i=n.length,u=[],o=0,a=r[0],l=0;i>0&&a>0&&(l+a+1>t&&(a=Math.max(1,t-l)),u.push(n.substring(i-=a,i+a)),!((l+=a+1)>t));)a=r[o=(o+1)%r.length];return u.reverse().join(e)}:m;return function(n){var e=ha.exec(n),r=e[1]||" ",o=e[2]||">",a=e[3]||"-",l=e[4]||"",c=e[5],f=+e[6],s=e[7],h=e[8],p=e[9],g=1,v="",d="",y=!1,m=!0;switch(h&&(h=+h.substring(1)),(c||"0"===r&&"="===o)&&(c=r="0",o="="),p){case"n":s=!0,p="g";break;case"%":g=100,d="%",p="f";break;case"p":g=100,d="%",p="r";break;case"b":case"o":case"x":case"X":"#"===l&&(v="0"+p.toLowerCase());case"c":m=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===l&&(v=i[0],d=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=pa.get(p)||Fn;var M=c&&s;return function(n){var e=d;if(y&&n%1)return"";var i=0>n||0===n&&0>1/n?(n=-n,"-"):"-"===a?"":a;if(0>g){var l=ao.formatPrefix(n,h);n=l.scale(n),e=l.symbol+d}else n*=g;n=p(n,h);var x,b,_=n.lastIndexOf(".");if(0>_){var w=m?n.lastIndexOf("e"):-1;0>w?(x=n,b=""):(x=n.substring(0,w),b=n.substring(w))}else x=n.substring(0,_),b=t+n.substring(_+1);!c&&s&&(x=u(x,1/0));var S=v.length+x.length+b.length+(M?0:i.length),k=f>S?new Array(S=f-S+1).join(r):"";return M&&(x=u(k+x,k.length?f-b.length:1/0)),i+=v,n=x+b,("<"===o?i+n+k:">"===o?k+i+n:"^"===o?k.substring(0,S>>=1)+i+n+k.substring(S):i+(M?n:k+n))+e}}}function Fn(n){return n+""}function Hn(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function On(n,t,e){function r(t){var e=n(t),r=u(e,1);return r-t>t-e?e:r}function i(e){return t(e=n(new va(e-1)),1),e}function u(n,e){return t(n=new va(+n),e),n}function o(n,r,u){var o=i(n),a=[];if(u>1)for(;r>o;)e(o)%u||a.push(new Date(+o)),t(o,1);else for(;r>o;)a.push(new Date(+o)),t(o,1);return a}function a(n,t,e){try{va=Hn;var r=new Hn;return r._=n,o(r,t,e)}finally{va=Date}}n.floor=n,n.round=r,n.ceil=i,n.offset=u,n.range=o;var l=n.utc=In(n);return l.floor=l,l.round=In(r),l.ceil=In(i),l.offset=In(u),l.range=a,n}function In(n){return function(t,e){try{va=Hn;var r=new Hn;return r._=t,n(r,e)._}finally{va=Date}}}function Yn(n){function t(n){function t(t){for(var e,i,u,o=[],a=-1,l=0;++aa;){if(r>=c)return-1;if(i=t.charCodeAt(a++),37===i){if(o=t.charAt(a++),u=C[o in ya?t.charAt(a++):o],!u||(r=u(n,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function r(n,t,e){_.lastIndex=0;var r=_.exec(t.slice(e));return r?(n.w=w.get(r[0].toLowerCase()),e+r[0].length):-1}function i(n,t,e){x.lastIndex=0;var r=x.exec(t.slice(e));return r?(n.w=b.get(r[0].toLowerCase()),e+r[0].length):-1}function u(n,t,e){N.lastIndex=0;var r=N.exec(t.slice(e));return r?(n.m=E.get(r[0].toLowerCase()),e+r[0].length):-1}function o(n,t,e){S.lastIndex=0;var r=S.exec(t.slice(e));return r?(n.m=k.get(r[0].toLowerCase()),e+r[0].length):-1}function a(n,t,r){return e(n,A.c.toString(),t,r)}function l(n,t,r){return e(n,A.x.toString(),t,r)}function c(n,t,r){return e(n,A.X.toString(),t,r)}function f(n,t,e){var r=M.get(t.slice(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)}var s=n.dateTime,h=n.date,p=n.time,g=n.periods,v=n.days,d=n.shortDays,y=n.months,m=n.shortMonths;t.utc=function(n){function e(n){try{va=Hn;var t=new va;return t._=n,r(t)}finally{va=Date}}var r=t(n);return e.parse=function(n){try{va=Hn;var t=r.parse(n);return t&&t._}finally{va=Date}},e.toString=r.toString,e},t.multi=t.utc.multi=ct;var M=ao.map(),x=Vn(v),b=Xn(v),_=Vn(d),w=Xn(d),S=Vn(y),k=Xn(y),N=Vn(m),E=Xn(m);g.forEach(function(n,t){M.set(n.toLowerCase(),t)});var A={a:function(n){return d[n.getDay()]},A:function(n){return v[n.getDay()]},b:function(n){return m[n.getMonth()]},B:function(n){return y[n.getMonth()]},c:t(s),d:function(n,t){return Zn(n.getDate(),t,2)},e:function(n,t){return Zn(n.getDate(),t,2)},H:function(n,t){return Zn(n.getHours(),t,2)},I:function(n,t){return Zn(n.getHours()%12||12,t,2)},j:function(n,t){return Zn(1+ga.dayOfYear(n),t,3)},L:function(n,t){return Zn(n.getMilliseconds(),t,3)},m:function(n,t){return Zn(n.getMonth()+1,t,2)},M:function(n,t){return Zn(n.getMinutes(),t,2)},p:function(n){return g[+(n.getHours()>=12)]},S:function(n,t){return Zn(n.getSeconds(),t,2)},U:function(n,t){return Zn(ga.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return Zn(ga.mondayOfYear(n),t,2)},x:t(h),X:t(p),y:function(n,t){return Zn(n.getFullYear()%100,t,2)},Y:function(n,t){return Zn(n.getFullYear()%1e4,t,4)},Z:at,"%":function(){return"%"}},C={a:r,A:i,b:u,B:o,c:a,d:tt,e:tt,H:rt,I:rt,j:et,L:ot,m:nt,M:it,p:f,S:ut,U:Bn,w:$n,W:Wn,x:l,X:c,y:Gn,Y:Jn,Z:Kn,"%":lt};return t}function Zn(n,t,e){var r=0>n?"-":"",i=(r?-n:n)+"",u=i.length;return r+(e>u?new Array(e-u+1).join(t)+i:i)}function Vn(n){return new RegExp("^(?:"+n.map(ao.requote).join("|")+")","i")}function Xn(n){for(var t=new c,e=-1,r=n.length;++e68?1900:2e3)}function nt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function tt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function et(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function rt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function it(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function ut(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function ot(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function at(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=xo(t)/60|0,i=xo(t)%60;return e+Zn(r,"0",2)+Zn(i,"0",2)}function lt(n,t,e){Ma.lastIndex=0;var r=Ma.exec(t.slice(e,e+1));return r?e+r[0].length:-1}function ct(n){for(var t=n.length,e=-1;++e=0?1:-1,a=o*e,l=Math.cos(t),c=Math.sin(t),f=u*c,s=i*l+f*Math.cos(a),h=f*o*Math.sin(a);ka.add(Math.atan2(h,s)),r=n,i=l,u=c}var t,e,r,i,u;Na.point=function(o,a){Na.point=n,r=(t=o)*Yo,i=Math.cos(a=(e=a)*Yo/2+Fo/4),u=Math.sin(a)},Na.lineEnd=function(){n(t,e)}}function dt(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function yt(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function mt(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function Mt(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function xt(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function bt(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function _t(n){return[Math.atan2(n[1],n[0]),tn(n[2])]}function wt(n,t){return xo(n[0]-t[0])a;++a)i.point((e=n[a])[0],e[1]);return void i.lineEnd()}var l=new Tt(e,n,null,!0),c=new Tt(e,null,l,!1);l.o=c,u.push(l),o.push(c),l=new Tt(r,n,null,!1),c=new Tt(r,null,l,!0),l.o=c,u.push(l),o.push(c)}}),o.sort(t),qt(u),qt(o),u.length){for(var a=0,l=e,c=o.length;c>a;++a)o[a].e=l=!l;for(var f,s,h=u[0];;){for(var p=h,g=!0;p.v;)if((p=p.n)===h)return;f=p.z,i.lineStart();do{if(p.v=p.o.v=!0,p.e){if(g)for(var a=0,c=f.length;c>a;++a)i.point((s=f[a])[0],s[1]);else r(p.x,p.n.x,1,i);p=p.n}else{if(g){f=p.p.z;for(var a=f.length-1;a>=0;--a)i.point((s=f[a])[0],s[1])}else r(p.x,p.p.x,-1,i);p=p.p}p=p.o,f=p.z,g=!g}while(!p.v);i.lineEnd()}}}function qt(n){if(t=n.length){for(var t,e,r=0,i=n[0];++r0){for(b||(u.polygonStart(),b=!0),u.lineStart();++o1&&2&t&&e.push(e.pop().concat(e.shift())),p.push(e.filter(Dt))}var p,g,v,d=t(u),y=i.invert(r[0],r[1]),m={point:o,lineStart:l,lineEnd:c,polygonStart:function(){m.point=f,m.lineStart=s,m.lineEnd=h,p=[],g=[]},polygonEnd:function(){m.point=o,m.lineStart=l,m.lineEnd=c,p=ao.merge(p);var n=Ot(y,g);p.length?(b||(u.polygonStart(),b=!0),Lt(p,Ut,n,e,u)):n&&(b||(u.polygonStart(),b=!0),u.lineStart(),e(null,null,1,u),u.lineEnd()),b&&(u.polygonEnd(),b=!1),p=g=null},sphere:function(){u.polygonStart(),u.lineStart(),e(null,null,1,u),u.lineEnd(),u.polygonEnd()}},M=Pt(),x=t(M),b=!1;return m}}function Dt(n){return n.length>1}function Pt(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:b,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Ut(n,t){return((n=n.x)[0]<0?n[1]-Io-Uo:Io-n[1])-((t=t.x)[0]<0?t[1]-Io-Uo:Io-t[1])}function jt(n){var t,e=NaN,r=NaN,i=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(u,o){var a=u>0?Fo:-Fo,l=xo(u-e);xo(l-Fo)0?Io:-Io),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(a,r),n.point(u,r),t=0):i!==a&&l>=Fo&&(xo(e-i)Uo?Math.atan((Math.sin(t)*(u=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(t))*Math.sin(n))/(i*u*o)):(t+r)/2}function Ht(n,t,e,r){var i;if(null==n)i=e*Io,r.point(-Fo,i),r.point(0,i),r.point(Fo,i),r.point(Fo,0),r.point(Fo,-i),r.point(0,-i),r.point(-Fo,-i),r.point(-Fo,0),r.point(-Fo,i);else if(xo(n[0]-t[0])>Uo){var u=n[0]a;++a){var c=t[a],f=c.length;if(f)for(var s=c[0],h=s[0],p=s[1]/2+Fo/4,g=Math.sin(p),v=Math.cos(p),d=1;;){d===f&&(d=0),n=c[d];var y=n[0],m=n[1]/2+Fo/4,M=Math.sin(m),x=Math.cos(m),b=y-h,_=b>=0?1:-1,w=_*b,S=w>Fo,k=g*M;if(ka.add(Math.atan2(k*_*Math.sin(w),v*x+k*Math.cos(w))),u+=S?b+_*Ho:b,S^h>=e^y>=e){var N=mt(dt(s),dt(n));bt(N);var E=mt(i,N);bt(E);var A=(S^b>=0?-1:1)*tn(E[2]);(r>A||r===A&&(N[0]||N[1]))&&(o+=S^b>=0?1:-1)}if(!d++)break;h=y,g=M,v=x,s=n}}return(-Uo>u||Uo>u&&-Uo>ka)^1&o}function It(n){function t(n,t){return Math.cos(n)*Math.cos(t)>u}function e(n){var e,u,l,c,f;return{lineStart:function(){c=l=!1,f=1},point:function(s,h){var p,g=[s,h],v=t(s,h),d=o?v?0:i(s,h):v?i(s+(0>s?Fo:-Fo),h):0;if(!e&&(c=l=v)&&n.lineStart(),v!==l&&(p=r(e,g),(wt(e,p)||wt(g,p))&&(g[0]+=Uo,g[1]+=Uo,v=t(g[0],g[1]))),v!==l)f=0,v?(n.lineStart(),p=r(g,e),n.point(p[0],p[1])):(p=r(e,g),n.point(p[0],p[1]),n.lineEnd()),e=p;else if(a&&e&&o^v){var y;d&u||!(y=r(g,e,!0))||(f=0,o?(n.lineStart(),n.point(y[0][0],y[0][1]),n.point(y[1][0],y[1][1]),n.lineEnd()):(n.point(y[1][0],y[1][1]),n.lineEnd(),n.lineStart(),n.point(y[0][0],y[0][1])))}!v||e&&wt(e,g)||n.point(g[0],g[1]),e=g,l=v,u=d},lineEnd:function(){l&&n.lineEnd(),e=null},clean:function(){return f|(c&&l)<<1}}}function r(n,t,e){var r=dt(n),i=dt(t),o=[1,0,0],a=mt(r,i),l=yt(a,a),c=a[0],f=l-c*c;if(!f)return!e&&n;var s=u*l/f,h=-u*c/f,p=mt(o,a),g=xt(o,s),v=xt(a,h);Mt(g,v);var d=p,y=yt(g,d),m=yt(d,d),M=y*y-m*(yt(g,g)-1);if(!(0>M)){var x=Math.sqrt(M),b=xt(d,(-y-x)/m);if(Mt(b,g),b=_t(b),!e)return b;var _,w=n[0],S=t[0],k=n[1],N=t[1];w>S&&(_=w,w=S,S=_);var E=S-w,A=xo(E-Fo)E;if(!A&&k>N&&(_=k,k=N,N=_),C?A?k+N>0^b[1]<(xo(b[0]-w)Fo^(w<=b[0]&&b[0]<=S)){var z=xt(d,(-y+x)/m);return Mt(z,g),[b,_t(z)]}}}function i(t,e){var r=o?n:Fo-n,i=0;return-r>t?i|=1:t>r&&(i|=2),-r>e?i|=4:e>r&&(i|=8),i}var u=Math.cos(n),o=u>0,a=xo(u)>Uo,l=ve(n,6*Yo);return Rt(t,e,l,o?[0,-n]:[-Fo,n-Fo])}function Yt(n,t,e,r){return function(i){var u,o=i.a,a=i.b,l=o.x,c=o.y,f=a.x,s=a.y,h=0,p=1,g=f-l,v=s-c;if(u=n-l,g||!(u>0)){if(u/=g,0>g){if(h>u)return;p>u&&(p=u)}else if(g>0){if(u>p)return;u>h&&(h=u)}if(u=e-l,g||!(0>u)){if(u/=g,0>g){if(u>p)return;u>h&&(h=u)}else if(g>0){if(h>u)return;p>u&&(p=u)}if(u=t-c,v||!(u>0)){if(u/=v,0>v){if(h>u)return;p>u&&(p=u)}else if(v>0){if(u>p)return;u>h&&(h=u)}if(u=r-c,v||!(0>u)){if(u/=v,0>v){if(u>p)return;u>h&&(h=u)}else if(v>0){if(h>u)return;p>u&&(p=u)}return h>0&&(i.a={x:l+h*g,y:c+h*v}),1>p&&(i.b={x:l+p*g,y:c+p*v}),i}}}}}}function Zt(n,t,e,r){function i(r,i){return xo(r[0]-n)0?0:3:xo(r[0]-e)0?2:1:xo(r[1]-t)0?1:0:i>0?3:2}function u(n,t){return o(n.x,t.x)}function o(n,t){var e=i(n,1),r=i(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}return function(a){function l(n){for(var t=0,e=d.length,r=n[1],i=0;e>i;++i)for(var u,o=1,a=d[i],l=a.length,c=a[0];l>o;++o)u=a[o],c[1]<=r?u[1]>r&&Q(c,u,n)>0&&++t:u[1]<=r&&Q(c,u,n)<0&&--t,c=u;return 0!==t}function c(u,a,l,c){var f=0,s=0;if(null==u||(f=i(u,l))!==(s=i(a,l))||o(u,a)<0^l>0){do c.point(0===f||3===f?n:e,f>1?r:t);while((f=(f+l+4)%4)!==s)}else c.point(a[0],a[1])}function f(i,u){return i>=n&&e>=i&&u>=t&&r>=u}function s(n,t){f(n,t)&&a.point(n,t)}function h(){C.point=g,d&&d.push(y=[]),S=!0,w=!1,b=_=NaN}function p(){v&&(g(m,M),x&&w&&E.rejoin(),v.push(E.buffer())),C.point=s,w&&a.lineEnd()}function g(n,t){n=Math.max(-Ha,Math.min(Ha,n)),t=Math.max(-Ha,Math.min(Ha,t));var e=f(n,t);if(d&&y.push([n,t]),S)m=n,M=t,x=e,S=!1,e&&(a.lineStart(),a.point(n,t));else if(e&&w)a.point(n,t);else{var r={a:{x:b,y:_},b:{x:n,y:t}};A(r)?(w||(a.lineStart(),a.point(r.a.x,r.a.y)),a.point(r.b.x,r.b.y),e||a.lineEnd(),k=!1):e&&(a.lineStart(),a.point(n,t),k=!1)}b=n,_=t,w=e}var v,d,y,m,M,x,b,_,w,S,k,N=a,E=Pt(),A=Yt(n,t,e,r),C={point:s,lineStart:h,lineEnd:p,polygonStart:function(){a=E,v=[],d=[],k=!0},polygonEnd:function(){a=N,v=ao.merge(v);var t=l([n,r]),e=k&&t,i=v.length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),c(null,null,1,a),a.lineEnd()),i&&Lt(v,u,t,c,a),a.polygonEnd()),v=d=y=null}};return C}}function Vt(n){var t=0,e=Fo/3,r=ae(n),i=r(t,e);return i.parallels=function(n){return arguments.length?r(t=n[0]*Fo/180,e=n[1]*Fo/180):[t/Fo*180,e/Fo*180]},i}function Xt(n,t){function e(n,t){var e=Math.sqrt(u-2*i*Math.sin(t))/i;return[e*Math.sin(n*=i),o-e*Math.cos(n)]}var r=Math.sin(n),i=(r+Math.sin(t))/2,u=1+r*(2*i-r),o=Math.sqrt(u)/i;return e.invert=function(n,t){var e=o-t;return[Math.atan2(n,e)/i,tn((u-(n*n+e*e)*i*i)/(2*i))]},e}function $t(){function n(n,t){Ia+=i*n-r*t,r=n,i=t}var t,e,r,i;$a.point=function(u,o){$a.point=n,t=r=u,e=i=o},$a.lineEnd=function(){n(t,e)}}function Bt(n,t){Ya>n&&(Ya=n),n>Va&&(Va=n),Za>t&&(Za=t),t>Xa&&(Xa=t)}function Wt(){function n(n,t){o.push("M",n,",",t,u)}function t(n,t){o.push("M",n,",",t),a.point=e}function e(n,t){o.push("L",n,",",t)}function r(){a.point=n}function i(){o.push("Z")}var u=Jt(4.5),o=[],a={point:n,lineStart:function(){a.point=t},lineEnd:r,polygonStart:function(){a.lineEnd=i},polygonEnd:function(){a.lineEnd=r,a.point=n},pointRadius:function(n){return u=Jt(n),a},result:function(){if(o.length){var n=o.join("");return o=[],n}}};return a}function Jt(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function Gt(n,t){Ca+=n,za+=t,++La}function Kt(){function n(n,r){var i=n-t,u=r-e,o=Math.sqrt(i*i+u*u);qa+=o*(t+n)/2,Ta+=o*(e+r)/2,Ra+=o,Gt(t=n,e=r)}var t,e;Wa.point=function(r,i){Wa.point=n,Gt(t=r,e=i)}}function Qt(){Wa.point=Gt}function ne(){function n(n,t){var e=n-r,u=t-i,o=Math.sqrt(e*e+u*u);qa+=o*(r+n)/2,Ta+=o*(i+t)/2,Ra+=o,o=i*n-r*t,Da+=o*(r+n),Pa+=o*(i+t),Ua+=3*o,Gt(r=n,i=t)}var t,e,r,i;Wa.point=function(u,o){Wa.point=n,Gt(t=r=u,e=i=o)},Wa.lineEnd=function(){n(t,e)}}function te(n){function t(t,e){n.moveTo(t+o,e),n.arc(t,e,o,0,Ho)}function e(t,e){n.moveTo(t,e),a.point=r}function r(t,e){n.lineTo(t,e)}function i(){a.point=t}function u(){n.closePath()}var o=4.5,a={point:t,lineStart:function(){a.point=e},lineEnd:i,polygonStart:function(){a.lineEnd=u},polygonEnd:function(){a.lineEnd=i,a.point=t},pointRadius:function(n){return o=n,a},result:b};return a}function ee(n){function t(n){return(a?r:e)(n)}function e(t){return ue(t,function(e,r){e=n(e,r),t.point(e[0],e[1])})}function r(t){function e(e,r){e=n(e,r),t.point(e[0],e[1])}function r(){M=NaN,S.point=u,t.lineStart()}function u(e,r){var u=dt([e,r]),o=n(e,r);i(M,x,m,b,_,w,M=o[0],x=o[1],m=e,b=u[0],_=u[1],w=u[2],a,t),t.point(M,x)}function o(){S.point=e,t.lineEnd()}function l(){ +r(),S.point=c,S.lineEnd=f}function c(n,t){u(s=n,h=t),p=M,g=x,v=b,d=_,y=w,S.point=u}function f(){i(M,x,m,b,_,w,p,g,s,v,d,y,a,t),S.lineEnd=o,o()}var s,h,p,g,v,d,y,m,M,x,b,_,w,S={point:e,lineStart:r,lineEnd:o,polygonStart:function(){t.polygonStart(),S.lineStart=l},polygonEnd:function(){t.polygonEnd(),S.lineStart=r}};return S}function i(t,e,r,a,l,c,f,s,h,p,g,v,d,y){var m=f-t,M=s-e,x=m*m+M*M;if(x>4*u&&d--){var b=a+p,_=l+g,w=c+v,S=Math.sqrt(b*b+_*_+w*w),k=Math.asin(w/=S),N=xo(xo(w)-1)u||xo((m*z+M*L)/x-.5)>.3||o>a*p+l*g+c*v)&&(i(t,e,r,a,l,c,A,C,N,b/=S,_/=S,w,d,y),y.point(A,C),i(A,C,N,b,_,w,f,s,h,p,g,v,d,y))}}var u=.5,o=Math.cos(30*Yo),a=16;return t.precision=function(n){return arguments.length?(a=(u=n*n)>0&&16,t):Math.sqrt(u)},t}function re(n){var t=ee(function(t,e){return n([t*Zo,e*Zo])});return function(n){return le(t(n))}}function ie(n){this.stream=n}function ue(n,t){return{point:t,sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}function oe(n){return ae(function(){return n})()}function ae(n){function t(n){return n=a(n[0]*Yo,n[1]*Yo),[n[0]*h+l,c-n[1]*h]}function e(n){return n=a.invert((n[0]-l)/h,(c-n[1])/h),n&&[n[0]*Zo,n[1]*Zo]}function r(){a=Ct(o=se(y,M,x),u);var n=u(v,d);return l=p-n[0]*h,c=g+n[1]*h,i()}function i(){return f&&(f.valid=!1,f=null),t}var u,o,a,l,c,f,s=ee(function(n,t){return n=u(n,t),[n[0]*h+l,c-n[1]*h]}),h=150,p=480,g=250,v=0,d=0,y=0,M=0,x=0,b=Fa,_=m,w=null,S=null;return t.stream=function(n){return f&&(f.valid=!1),f=le(b(o,s(_(n)))),f.valid=!0,f},t.clipAngle=function(n){return arguments.length?(b=null==n?(w=n,Fa):It((w=+n)*Yo),i()):w},t.clipExtent=function(n){return arguments.length?(S=n,_=n?Zt(n[0][0],n[0][1],n[1][0],n[1][1]):m,i()):S},t.scale=function(n){return arguments.length?(h=+n,r()):h},t.translate=function(n){return arguments.length?(p=+n[0],g=+n[1],r()):[p,g]},t.center=function(n){return arguments.length?(v=n[0]%360*Yo,d=n[1]%360*Yo,r()):[v*Zo,d*Zo]},t.rotate=function(n){return arguments.length?(y=n[0]%360*Yo,M=n[1]%360*Yo,x=n.length>2?n[2]%360*Yo:0,r()):[y*Zo,M*Zo,x*Zo]},ao.rebind(t,s,"precision"),function(){return u=n.apply(this,arguments),t.invert=u.invert&&e,r()}}function le(n){return ue(n,function(t,e){n.point(t*Yo,e*Yo)})}function ce(n,t){return[n,t]}function fe(n,t){return[n>Fo?n-Ho:-Fo>n?n+Ho:n,t]}function se(n,t,e){return n?t||e?Ct(pe(n),ge(t,e)):pe(n):t||e?ge(t,e):fe}function he(n){return function(t,e){return t+=n,[t>Fo?t-Ho:-Fo>t?t+Ho:t,e]}}function pe(n){var t=he(n);return t.invert=he(-n),t}function ge(n,t){function e(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*r+a*i;return[Math.atan2(l*u-f*o,a*r-c*i),tn(f*u+l*o)]}var r=Math.cos(n),i=Math.sin(n),u=Math.cos(t),o=Math.sin(t);return e.invert=function(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*u-l*o;return[Math.atan2(l*u+c*o,a*r+f*i),tn(f*r-a*i)]},e}function ve(n,t){var e=Math.cos(n),r=Math.sin(n);return function(i,u,o,a){var l=o*t;null!=i?(i=de(e,i),u=de(e,u),(o>0?u>i:i>u)&&(i+=o*Ho)):(i=n+o*Ho,u=n-.5*l);for(var c,f=i;o>0?f>u:u>f;f-=l)a.point((c=_t([e,-r*Math.cos(f),-r*Math.sin(f)]))[0],c[1])}}function de(n,t){var e=dt(t);e[0]-=n,bt(e);var r=nn(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Uo)%(2*Math.PI)}function ye(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[n,t]})}}function me(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[t,n]})}}function Me(n){return n.source}function xe(n){return n.target}function be(n,t,e,r){var i=Math.cos(t),u=Math.sin(t),o=Math.cos(r),a=Math.sin(r),l=i*Math.cos(n),c=i*Math.sin(n),f=o*Math.cos(e),s=o*Math.sin(e),h=2*Math.asin(Math.sqrt(on(r-t)+i*o*on(e-n))),p=1/Math.sin(h),g=h?function(n){var t=Math.sin(n*=h)*p,e=Math.sin(h-n)*p,r=e*l+t*f,i=e*c+t*s,o=e*u+t*a;return[Math.atan2(i,r)*Zo,Math.atan2(o,Math.sqrt(r*r+i*i))*Zo]}:function(){return[n*Zo,t*Zo]};return g.distance=h,g}function _e(){function n(n,i){var u=Math.sin(i*=Yo),o=Math.cos(i),a=xo((n*=Yo)-t),l=Math.cos(a);Ja+=Math.atan2(Math.sqrt((a=o*Math.sin(a))*a+(a=r*u-e*o*l)*a),e*u+r*o*l),t=n,e=u,r=o}var t,e,r;Ga.point=function(i,u){t=i*Yo,e=Math.sin(u*=Yo),r=Math.cos(u),Ga.point=n},Ga.lineEnd=function(){Ga.point=Ga.lineEnd=b}}function we(n,t){function e(t,e){var r=Math.cos(t),i=Math.cos(e),u=n(r*i);return[u*i*Math.sin(t),u*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),i=t(r),u=Math.sin(i),o=Math.cos(i);return[Math.atan2(n*u,r*o),Math.asin(r&&e*u/r)]},e}function Se(n,t){function e(n,t){o>0?-Io+Uo>t&&(t=-Io+Uo):t>Io-Uo&&(t=Io-Uo);var e=o/Math.pow(i(t),u);return[e*Math.sin(u*n),o-e*Math.cos(u*n)]}var r=Math.cos(n),i=function(n){return Math.tan(Fo/4+n/2)},u=n===t?Math.sin(n):Math.log(r/Math.cos(t))/Math.log(i(t)/i(n)),o=r*Math.pow(i(n),u)/u;return u?(e.invert=function(n,t){var e=o-t,r=K(u)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/u,2*Math.atan(Math.pow(o/r,1/u))-Io]},e):Ne}function ke(n,t){function e(n,t){var e=u-t;return[e*Math.sin(i*n),u-e*Math.cos(i*n)]}var r=Math.cos(n),i=n===t?Math.sin(n):(r-Math.cos(t))/(t-n),u=r/i+n;return xo(i)i;i++){for(;r>1&&Q(n[e[r-2]],n[e[r-1]],n[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function qe(n,t){return n[0]-t[0]||n[1]-t[1]}function Te(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function Re(n,t,e,r){var i=n[0],u=e[0],o=t[0]-i,a=r[0]-u,l=n[1],c=e[1],f=t[1]-l,s=r[1]-c,h=(a*(l-c)-s*(i-u))/(s*o-a*f);return[i+h*o,l+h*f]}function De(n){var t=n[0],e=n[n.length-1];return!(t[0]-e[0]||t[1]-e[1])}function Pe(){rr(this),this.edge=this.site=this.circle=null}function Ue(n){var t=cl.pop()||new Pe;return t.site=n,t}function je(n){Be(n),ol.remove(n),cl.push(n),rr(n)}function Fe(n){var t=n.circle,e=t.x,r=t.cy,i={x:e,y:r},u=n.P,o=n.N,a=[n];je(n);for(var l=u;l.circle&&xo(e-l.circle.x)f;++f)c=a[f],l=a[f-1],nr(c.edge,l.site,c.site,i);l=a[0],c=a[s-1],c.edge=Ke(l.site,c.site,null,i),$e(l),$e(c)}function He(n){for(var t,e,r,i,u=n.x,o=n.y,a=ol._;a;)if(r=Oe(a,o)-u,r>Uo)a=a.L;else{if(i=u-Ie(a,o),!(i>Uo)){r>-Uo?(t=a.P,e=a):i>-Uo?(t=a,e=a.N):t=e=a;break}if(!a.R){t=a;break}a=a.R}var l=Ue(n);if(ol.insert(t,l),t||e){if(t===e)return Be(t),e=Ue(t.site),ol.insert(l,e),l.edge=e.edge=Ke(t.site,l.site),$e(t),void $e(e);if(!e)return void(l.edge=Ke(t.site,l.site));Be(t),Be(e);var c=t.site,f=c.x,s=c.y,h=n.x-f,p=n.y-s,g=e.site,v=g.x-f,d=g.y-s,y=2*(h*d-p*v),m=h*h+p*p,M=v*v+d*d,x={x:(d*m-p*M)/y+f,y:(h*M-v*m)/y+s};nr(e.edge,c,g,x),l.edge=Ke(c,n,null,x),e.edge=Ke(n,g,null,x),$e(t),$e(e)}}function Oe(n,t){var e=n.site,r=e.x,i=e.y,u=i-t;if(!u)return r;var o=n.P;if(!o)return-(1/0);e=o.site;var a=e.x,l=e.y,c=l-t;if(!c)return a;var f=a-r,s=1/u-1/c,h=f/c;return s?(-h+Math.sqrt(h*h-2*s*(f*f/(-2*c)-l+c/2+i-u/2)))/s+r:(r+a)/2}function Ie(n,t){var e=n.N;if(e)return Oe(e,t);var r=n.site;return r.y===t?r.x:1/0}function Ye(n){this.site=n,this.edges=[]}function Ze(n){for(var t,e,r,i,u,o,a,l,c,f,s=n[0][0],h=n[1][0],p=n[0][1],g=n[1][1],v=ul,d=v.length;d--;)if(u=v[d],u&&u.prepare())for(a=u.edges,l=a.length,o=0;l>o;)f=a[o].end(),r=f.x,i=f.y,c=a[++o%l].start(),t=c.x,e=c.y,(xo(r-t)>Uo||xo(i-e)>Uo)&&(a.splice(o,0,new tr(Qe(u.site,f,xo(r-s)Uo?{x:s,y:xo(t-s)Uo?{x:xo(e-g)Uo?{x:h,y:xo(t-h)Uo?{x:xo(e-p)=-jo)){var p=l*l+c*c,g=f*f+s*s,v=(s*p-c*g)/h,d=(l*g-f*p)/h,s=d+a,y=fl.pop()||new Xe;y.arc=n,y.site=i,y.x=v+o,y.y=s+Math.sqrt(v*v+d*d),y.cy=s,n.circle=y;for(var m=null,M=ll._;M;)if(y.yd||d>=a)return;if(h>g){if(u){if(u.y>=c)return}else u={x:d,y:l};e={x:d,y:c}}else{if(u){if(u.yr||r>1)if(h>g){if(u){if(u.y>=c)return}else u={x:(l-i)/r,y:l};e={x:(c-i)/r,y:c}}else{if(u){if(u.yp){if(u){if(u.x>=a)return}else u={x:o,y:r*o+i};e={x:a,y:r*a+i}}else{if(u){if(u.xu||s>o||r>h||i>p)){if(g=n.point){var g,v=t-n.x,d=e-n.y,y=v*v+d*d;if(l>y){var m=Math.sqrt(l=y);r=t-m,i=e-m,u=t+m,o=e+m,a=g}}for(var M=n.nodes,x=.5*(f+h),b=.5*(s+p),_=t>=x,w=e>=b,S=w<<1|_,k=S+4;k>S;++S)if(n=M[3&S])switch(3&S){case 0:c(n,f,s,x,b);break;case 1:c(n,x,s,h,b);break;case 2:c(n,f,b,x,p);break;case 3:c(n,x,b,h,p)}}}(n,r,i,u,o),a}function vr(n,t){n=ao.rgb(n),t=ao.rgb(t);var e=n.r,r=n.g,i=n.b,u=t.r-e,o=t.g-r,a=t.b-i;return function(n){return"#"+bn(Math.round(e+u*n))+bn(Math.round(r+o*n))+bn(Math.round(i+a*n))}}function dr(n,t){var e,r={},i={};for(e in n)e in t?r[e]=Mr(n[e],t[e]):i[e]=n[e];for(e in t)e in n||(i[e]=t[e]);return function(n){for(e in r)i[e]=r[e](n);return i}}function yr(n,t){return n=+n,t=+t,function(e){return n*(1-e)+t*e}}function mr(n,t){var e,r,i,u=hl.lastIndex=pl.lastIndex=0,o=-1,a=[],l=[];for(n+="",t+="";(e=hl.exec(n))&&(r=pl.exec(t));)(i=r.index)>u&&(i=t.slice(u,i),a[o]?a[o]+=i:a[++o]=i),(e=e[0])===(r=r[0])?a[o]?a[o]+=r:a[++o]=r:(a[++o]=null,l.push({i:o,x:yr(e,r)})),u=pl.lastIndex;return ur;++r)a[(e=l[r]).i]=e.x(n);return a.join("")})}function Mr(n,t){for(var e,r=ao.interpolators.length;--r>=0&&!(e=ao.interpolators[r](n,t)););return e}function xr(n,t){var e,r=[],i=[],u=n.length,o=t.length,a=Math.min(n.length,t.length);for(e=0;a>e;++e)r.push(Mr(n[e],t[e]));for(;u>e;++e)i[e]=n[e];for(;o>e;++e)i[e]=t[e];return function(n){for(e=0;a>e;++e)i[e]=r[e](n);return i}}function br(n){return function(t){return 0>=t?0:t>=1?1:n(t)}}function _r(n){return function(t){return 1-n(1-t)}}function wr(n){return function(t){return.5*(.5>t?n(2*t):2-n(2-2*t))}}function Sr(n){return n*n}function kr(n){return n*n*n}function Nr(n){if(0>=n)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(.5>n?e:3*(n-t)+e-.75)}function Er(n){return function(t){return Math.pow(t,n)}}function Ar(n){return 1-Math.cos(n*Io)}function Cr(n){return Math.pow(2,10*(n-1))}function zr(n){return 1-Math.sqrt(1-n*n)}function Lr(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/Ho*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,-10*r)*Math.sin((r-e)*Ho/t)}}function qr(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}}function Tr(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function Rr(n,t){n=ao.hcl(n),t=ao.hcl(t);var e=n.h,r=n.c,i=n.l,u=t.h-e,o=t.c-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.c:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return sn(e+u*n,r+o*n,i+a*n)+""}}function Dr(n,t){n=ao.hsl(n),t=ao.hsl(t);var e=n.h,r=n.s,i=n.l,u=t.h-e,o=t.s-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.s:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return cn(e+u*n,r+o*n,i+a*n)+""}}function Pr(n,t){n=ao.lab(n),t=ao.lab(t);var e=n.l,r=n.a,i=n.b,u=t.l-e,o=t.a-r,a=t.b-i;return function(n){return pn(e+u*n,r+o*n,i+a*n)+""}}function Ur(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function jr(n){var t=[n.a,n.b],e=[n.c,n.d],r=Hr(t),i=Fr(t,e),u=Hr(Or(e,t,-i))||0;t[0]*e[1]180?t+=360:t-n>180&&(n+=360),r.push({i:e.push(Ir(e)+"rotate(",null,")")-2,x:yr(n,t)})):t&&e.push(Ir(e)+"rotate("+t+")")}function Vr(n,t,e,r){n!==t?r.push({i:e.push(Ir(e)+"skewX(",null,")")-2,x:yr(n,t)}):t&&e.push(Ir(e)+"skewX("+t+")")}function Xr(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push(Ir(e)+"scale(",null,",",null,")");r.push({i:i-4,x:yr(n[0],t[0])},{i:i-2,x:yr(n[1],t[1])})}else 1===t[0]&&1===t[1]||e.push(Ir(e)+"scale("+t+")")}function $r(n,t){var e=[],r=[];return n=ao.transform(n),t=ao.transform(t),Yr(n.translate,t.translate,e,r),Zr(n.rotate,t.rotate,e,r),Vr(n.skew,t.skew,e,r),Xr(n.scale,t.scale,e,r),n=t=null,function(n){for(var t,i=-1,u=r.length;++i=0;)e.push(i[r])}function oi(n,t){for(var e=[n],r=[];null!=(n=e.pop());)if(r.push(n),(u=n.children)&&(i=u.length))for(var i,u,o=-1;++oe;++e)(t=n[e][1])>i&&(r=e,i=t);return r}function yi(n){return n.reduce(mi,0)}function mi(n,t){return n+t[1]}function Mi(n,t){return xi(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function xi(n,t){for(var e=-1,r=+n[0],i=(n[1]-r)/t,u=[];++e<=t;)u[e]=i*e+r;return u}function bi(n){return[ao.min(n),ao.max(n)]}function _i(n,t){return n.value-t.value}function wi(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function Si(n,t){n._pack_next=t,t._pack_prev=n}function ki(n,t){var e=t.x-n.x,r=t.y-n.y,i=n.r+t.r;return.999*i*i>e*e+r*r}function Ni(n){function t(n){f=Math.min(n.x-n.r,f),s=Math.max(n.x+n.r,s),h=Math.min(n.y-n.r,h),p=Math.max(n.y+n.r,p)}if((e=n.children)&&(c=e.length)){var e,r,i,u,o,a,l,c,f=1/0,s=-(1/0),h=1/0,p=-(1/0);if(e.forEach(Ei),r=e[0],r.x=-r.r,r.y=0,t(r),c>1&&(i=e[1],i.x=i.r,i.y=0,t(i),c>2))for(u=e[2],zi(r,i,u),t(u),wi(r,u),r._pack_prev=u,wi(u,i),i=r._pack_next,o=3;c>o;o++){zi(r,i,u=e[o]);var g=0,v=1,d=1;for(a=i._pack_next;a!==i;a=a._pack_next,v++)if(ki(a,u)){g=1;break}if(1==g)for(l=r._pack_prev;l!==a._pack_prev&&!ki(l,u);l=l._pack_prev,d++);g?(d>v||v==d&&i.ro;o++)u=e[o],u.x-=y,u.y-=m,M=Math.max(M,u.r+Math.sqrt(u.x*u.x+u.y*u.y));n.r=M,e.forEach(Ai)}}function Ei(n){n._pack_next=n._pack_prev=n}function Ai(n){delete n._pack_next,delete n._pack_prev}function Ci(n,t,e,r){var i=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,i)for(var u=-1,o=i.length;++u=0;)t=i[u],t.z+=e,t.m+=e,e+=t.s+(r+=t.c)}function Pi(n,t,e){return n.a.parent===t.parent?n.a:e}function Ui(n){return 1+ao.max(n,function(n){return n.y})}function ji(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}function Fi(n){var t=n.children;return t&&t.length?Fi(t[0]):n}function Hi(n){var t,e=n.children;return e&&(t=e.length)?Hi(e[t-1]):n}function Oi(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function Ii(n,t){var e=n.x+t[3],r=n.y+t[0],i=n.dx-t[1]-t[3],u=n.dy-t[0]-t[2];return 0>i&&(e+=i/2,i=0),0>u&&(r+=u/2,u=0),{x:e,y:r,dx:i,dy:u}}function Yi(n){var t=n[0],e=n[n.length-1];return e>t?[t,e]:[e,t]}function Zi(n){return n.rangeExtent?n.rangeExtent():Yi(n.range())}function Vi(n,t,e,r){var i=e(n[0],n[1]),u=r(t[0],t[1]);return function(n){return u(i(n))}}function Xi(n,t){var e,r=0,i=n.length-1,u=n[r],o=n[i];return u>o&&(e=r,r=i,i=e,e=u,u=o,o=e),n[r]=t.floor(u),n[i]=t.ceil(o),n}function $i(n){return n?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:Sl}function Bi(n,t,e,r){var i=[],u=[],o=0,a=Math.min(n.length,t.length)-1;for(n[a]2?Bi:Vi,l=r?Wr:Br;return o=i(n,t,l,e),a=i(t,n,l,Mr),u}function u(n){return o(n)}var o,a;return u.invert=function(n){return a(n)},u.domain=function(t){return arguments.length?(n=t.map(Number),i()):n},u.range=function(n){return arguments.length?(t=n,i()):t},u.rangeRound=function(n){return u.range(n).interpolate(Ur)},u.clamp=function(n){return arguments.length?(r=n,i()):r},u.interpolate=function(n){return arguments.length?(e=n,i()):e},u.ticks=function(t){return Qi(n,t)},u.tickFormat=function(t,e){return nu(n,t,e)},u.nice=function(t){return Gi(n,t),i()},u.copy=function(){return Wi(n,t,e,r)},i()}function Ji(n,t){return ao.rebind(n,t,"range","rangeRound","interpolate","clamp")}function Gi(n,t){return Xi(n,$i(Ki(n,t)[2])),Xi(n,$i(Ki(n,t)[2])),n}function Ki(n,t){null==t&&(t=10);var e=Yi(n),r=e[1]-e[0],i=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),u=t/r*i;return.15>=u?i*=10:.35>=u?i*=5:.75>=u&&(i*=2),e[0]=Math.ceil(e[0]/i)*i,e[1]=Math.floor(e[1]/i)*i+.5*i,e[2]=i,e}function Qi(n,t){return ao.range.apply(ao,Ki(n,t))}function nu(n,t,e){var r=Ki(n,t);if(e){var i=ha.exec(e);if(i.shift(),"s"===i[8]){var u=ao.formatPrefix(Math.max(xo(r[0]),xo(r[1])));return i[7]||(i[7]="."+tu(u.scale(r[2]))),i[8]="f",e=ao.format(i.join("")),function(n){return e(u.scale(n))+u.symbol}}i[7]||(i[7]="."+eu(i[8],r)),e=i.join("")}else e=",."+tu(r[2])+"f";return ao.format(e)}function tu(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}function eu(n,t){var e=tu(t[2]);return n in kl?Math.abs(e-tu(Math.max(xo(t[0]),xo(t[1]))))+ +("e"!==n):e-2*("%"===n)}function ru(n,t,e,r){function i(n){return(e?Math.log(0>n?0:n):-Math.log(n>0?0:-n))/Math.log(t)}function u(n){return e?Math.pow(t,n):-Math.pow(t,-n)}function o(t){return n(i(t))}return o.invert=function(t){return u(n.invert(t))},o.domain=function(t){return arguments.length?(e=t[0]>=0,n.domain((r=t.map(Number)).map(i)),o):r},o.base=function(e){return arguments.length?(t=+e,n.domain(r.map(i)),o):t},o.nice=function(){var t=Xi(r.map(i),e?Math:El);return n.domain(t),r=t.map(u),o},o.ticks=function(){var n=Yi(r),o=[],a=n[0],l=n[1],c=Math.floor(i(a)),f=Math.ceil(i(l)),s=t%1?2:t;if(isFinite(f-c)){if(e){for(;f>c;c++)for(var h=1;s>h;h++)o.push(u(c)*h);o.push(u(c))}else for(o.push(u(c));c++0;h--)o.push(u(c)*h);for(c=0;o[c]l;f--);o=o.slice(c,f)}return o},o.tickFormat=function(n,e){if(!arguments.length)return Nl;arguments.length<2?e=Nl:"function"!=typeof e&&(e=ao.format(e));var r=Math.max(1,t*n/o.ticks().length);return function(n){var o=n/u(Math.round(i(n)));return t-.5>o*t&&(o*=t),r>=o?e(n):""}},o.copy=function(){return ru(n.copy(),t,e,r)},Ji(o,n)}function iu(n,t,e){function r(t){return n(i(t))}var i=uu(t),u=uu(1/t);return r.invert=function(t){return u(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain((e=t.map(Number)).map(i)),r):e},r.ticks=function(n){return Qi(e,n)},r.tickFormat=function(n,t){return nu(e,n,t)},r.nice=function(n){return r.domain(Gi(e,n))},r.exponent=function(o){return arguments.length?(i=uu(t=o),u=uu(1/t),n.domain(e.map(i)),r):t},r.copy=function(){return iu(n.copy(),t,e)},Ji(r,n)}function uu(n){return function(t){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}}function ou(n,t){function e(e){return u[((i.get(e)||("range"===t.t?i.set(e,n.push(e)):NaN))-1)%u.length]}function r(t,e){return ao.range(n.length).map(function(n){return t+e*n})}var i,u,o;return e.domain=function(r){if(!arguments.length)return n;n=[],i=new c;for(var u,o=-1,a=r.length;++oe?[NaN,NaN]:[e>0?a[e-1]:n[0],et?NaN:t/u+n,[t,t+1/u]},r.copy=function(){return lu(n,t,e)},i()}function cu(n,t){function e(e){return e>=e?t[ao.bisect(n,e)]:void 0}return e.domain=function(t){return arguments.length?(n=t,e):n},e.range=function(n){return arguments.length?(t=n,e):t},e.invertExtent=function(e){return e=t.indexOf(e),[n[e-1],n[e]]},e.copy=function(){return cu(n,t)},e}function fu(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return Qi(n,t)},t.tickFormat=function(t,e){return nu(n,t,e)},t.copy=function(){return fu(n)},t}function su(){return 0}function hu(n){return n.innerRadius}function pu(n){return n.outerRadius}function gu(n){return n.startAngle}function vu(n){return n.endAngle}function du(n){return n&&n.padAngle}function yu(n,t,e,r){return(n-e)*t-(t-r)*n>0?0:1}function mu(n,t,e,r,i){var u=n[0]-t[0],o=n[1]-t[1],a=(i?r:-r)/Math.sqrt(u*u+o*o),l=a*o,c=-a*u,f=n[0]+l,s=n[1]+c,h=t[0]+l,p=t[1]+c,g=(f+h)/2,v=(s+p)/2,d=h-f,y=p-s,m=d*d+y*y,M=e-r,x=f*p-h*s,b=(0>y?-1:1)*Math.sqrt(Math.max(0,M*M*m-x*x)),_=(x*y-d*b)/m,w=(-x*d-y*b)/m,S=(x*y+d*b)/m,k=(-x*d+y*b)/m,N=_-g,E=w-v,A=S-g,C=k-v;return N*N+E*E>A*A+C*C&&(_=S,w=k),[[_-l,w-c],[_*e/M,w*e/M]]}function Mu(n){function t(t){function o(){c.push("M",u(n(f),a))}for(var l,c=[],f=[],s=-1,h=t.length,p=En(e),g=En(r);++s1?n.join("L"):n+"Z"}function bu(n){return n.join("L")+"Z"}function _u(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1&&i.push("H",r[0]),i.join("")}function wu(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1){a=t[1],u=n[l],l++,r+="C"+(i[0]+o[0])+","+(i[1]+o[1])+","+(u[0]-a[0])+","+(u[1]-a[1])+","+u[0]+","+u[1];for(var c=2;c9&&(i=3*t/Math.sqrt(i),o[a]=i*e,o[a+1]=i*r));for(a=-1;++a<=l;)i=(n[Math.min(l,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),u.push([i||0,o[a]*i||0]);return u}function Fu(n){return n.length<3?xu(n):n[0]+Au(n,ju(n))}function Hu(n){for(var t,e,r,i=-1,u=n.length;++i=t?o(n-t):void(f.c=o)}function o(e){var i=g.active,u=g[i];u&&(u.timer.c=null,u.timer.t=NaN,--g.count,delete g[i],u.event&&u.event.interrupt.call(n,n.__data__,u.index));for(var o in g)if(r>+o){var c=g[o];c.timer.c=null,c.timer.t=NaN,--g.count,delete g[o]}f.c=a,qn(function(){return f.c&&a(e||1)&&(f.c=null,f.t=NaN),1},0,l),g.active=r,v.event&&v.event.start.call(n,n.__data__,t),p=[],v.tween.forEach(function(e,r){(r=r.call(n,n.__data__,t))&&p.push(r)}),h=v.ease,s=v.duration}function a(i){for(var u=i/s,o=h(u),a=p.length;a>0;)p[--a].call(n,o);return u>=1?(v.event&&v.event.end.call(n,n.__data__,t),--g.count?delete g[r]:delete n[e],1):void 0}var l,f,s,h,p,g=n[e]||(n[e]={active:0,count:0}),v=g[r];v||(l=i.time,f=qn(u,0,l),v=g[r]={tween:new c,time:l,timer:f,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++g.count)}function no(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate("+(isFinite(r)?r:e(n))+",0)"})}function to(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate(0,"+(isFinite(r)?r:e(n))+")"})}function eo(n){return n.toISOString()}function ro(n,t,e){function r(t){return n(t)}function i(n,e){var r=n[1]-n[0],i=r/e,u=ao.bisect(Kl,i);return u==Kl.length?[t.year,Ki(n.map(function(n){return n/31536e6}),e)[2]]:u?t[i/Kl[u-1]1?{floor:function(t){for(;e(t=n.floor(t));)t=io(t-1);return t},ceil:function(t){for(;e(t=n.ceil(t));)t=io(+t+1);return t}}:n))},r.ticks=function(n,t){var e=Yi(r.domain()),u=null==n?i(e,10):"number"==typeof n?i(e,n):!n.range&&[{range:n},t];return u&&(n=u[0],t=u[1]),n.range(e[0],io(+e[1]+1),1>t?1:t)},r.tickFormat=function(){return e},r.copy=function(){return ro(n.copy(),t,e)},Ji(r,n)}function io(n){return new Date(n)}function uo(n){return JSON.parse(n.responseText)}function oo(n){var t=fo.createRange();return t.selectNode(fo.body),t.createContextualFragment(n.responseText)}var ao={version:"3.5.17"},lo=[].slice,co=function(n){return lo.call(n)},fo=this.document;if(fo)try{co(fo.documentElement.childNodes)[0].nodeType}catch(so){co=function(n){for(var t=n.length,e=new Array(t);t--;)e[t]=n[t];return e}}if(Date.now||(Date.now=function(){return+new Date}),fo)try{fo.createElement("DIV").style.setProperty("opacity",0,"")}catch(ho){var po=this.Element.prototype,go=po.setAttribute,vo=po.setAttributeNS,yo=this.CSSStyleDeclaration.prototype,mo=yo.setProperty;po.setAttribute=function(n,t){go.call(this,n,t+"")},po.setAttributeNS=function(n,t,e){vo.call(this,n,t,e+"")},yo.setProperty=function(n,t,e){mo.call(this,n,t+"",e)}}ao.ascending=e,ao.descending=function(n,t){return n>t?-1:t>n?1:t>=n?0:NaN},ao.min=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ir&&(e=r)}else{for(;++i=r){e=r;break}for(;++ir&&(e=r)}return e},ao.max=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ie&&(e=r)}else{for(;++i=r){e=r;break}for(;++ie&&(e=r)}return e},ao.extent=function(n,t){var e,r,i,u=-1,o=n.length;if(1===arguments.length){for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}else{for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}return[e,i]},ao.sum=function(n,t){var e,r=0,u=n.length,o=-1;if(1===arguments.length)for(;++o1?l/(f-1):void 0},ao.deviation=function(){var n=ao.variance.apply(this,arguments);return n?Math.sqrt(n):n};var Mo=u(e);ao.bisectLeft=Mo.left,ao.bisect=ao.bisectRight=Mo.right,ao.bisector=function(n){return u(1===n.length?function(t,r){return e(n(t),r)}:n)},ao.shuffle=function(n,t,e){(u=arguments.length)<3&&(e=n.length,2>u&&(t=0));for(var r,i,u=e-t;u;)i=Math.random()*u--|0,r=n[u+t],n[u+t]=n[i+t],n[i+t]=r;return n},ao.permute=function(n,t){for(var e=t.length,r=new Array(e);e--;)r[e]=n[t[e]];return r},ao.pairs=function(n){for(var t,e=0,r=n.length-1,i=n[0],u=new Array(0>r?0:r);r>e;)u[e]=[t=i,i=n[++e]];return u},ao.transpose=function(n){if(!(i=n.length))return[];for(var t=-1,e=ao.min(n,o),r=new Array(e);++t=0;)for(r=n[i],t=r.length;--t>=0;)e[--o]=r[t];return e};var xo=Math.abs;ao.range=function(n,t,e){if(arguments.length<3&&(e=1,arguments.length<2&&(t=n,n=0)),(t-n)/e===1/0)throw new Error("infinite range");var r,i=[],u=a(xo(e)),o=-1;if(n*=u,t*=u,e*=u,0>e)for(;(r=n+e*++o)>t;)i.push(r/u);else for(;(r=n+e*++o)=u.length)return r?r.call(i,o):e?o.sort(e):o;for(var l,f,s,h,p=-1,g=o.length,v=u[a++],d=new c;++p=u.length)return n;var r=[],i=o[e++];return n.forEach(function(n,i){r.push({key:n,values:t(i,e)})}),i?r.sort(function(n,t){return i(n.key,t.key)}):r}var e,r,i={},u=[],o=[];return i.map=function(t,e){return n(e,t,0)},i.entries=function(e){return t(n(ao.map,e,0),0)},i.key=function(n){return u.push(n),i},i.sortKeys=function(n){return o[u.length-1]=n,i},i.sortValues=function(n){return e=n,i},i.rollup=function(n){return r=n,i},i},ao.set=function(n){var t=new y;if(n)for(var e=0,r=n.length;r>e;++e)t.add(n[e]);return t},l(y,{has:h,add:function(n){return this._[f(n+="")]=!0,n},remove:p,values:g,size:v,empty:d,forEach:function(n){for(var t in this._)n.call(this,s(t))}}),ao.behavior={},ao.rebind=function(n,t){for(var e,r=1,i=arguments.length;++r=0&&(r=n.slice(e+1),n=n.slice(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},ao.event=null,ao.requote=function(n){return n.replace(So,"\\$&")};var So=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ko={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]},No=function(n,t){return t.querySelector(n)},Eo=function(n,t){return t.querySelectorAll(n)},Ao=function(n,t){var e=n.matches||n[x(n,"matchesSelector")];return(Ao=function(n,t){return e.call(n,t)})(n,t)};"function"==typeof Sizzle&&(No=function(n,t){return Sizzle(n,t)[0]||null},Eo=Sizzle,Ao=Sizzle.matchesSelector),ao.selection=function(){return ao.select(fo.documentElement)};var Co=ao.selection.prototype=[];Co.select=function(n){var t,e,r,i,u=[];n=A(n);for(var o=-1,a=this.length;++o=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),Lo.hasOwnProperty(e)?{space:Lo[e],local:n}:n}},Co.attr=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node();return n=ao.ns.qualify(n),n.local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(z(t,n[t]));return this}return this.each(z(n,t))},Co.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=T(n)).length,i=-1;if(t=e.classList){for(;++ii){if("string"!=typeof n){2>i&&(e="");for(r in n)this.each(P(r,n[r],e));return this}if(2>i){var u=this.node();return t(u).getComputedStyle(u,null).getPropertyValue(n)}r=""}return this.each(P(n,e,r))},Co.property=function(n,t){if(arguments.length<2){if("string"==typeof n)return this.node()[n];for(t in n)this.each(U(t,n[t]));return this}return this.each(U(n,t))},Co.text=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.textContent=null==t?"":t}:null==n?function(){this.textContent=""}:function(){this.textContent=n}):this.node().textContent},Co.html=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}:null==n?function(){this.innerHTML=""}:function(){this.innerHTML=n}):this.node().innerHTML},Co.append=function(n){return n=j(n),this.select(function(){return this.appendChild(n.apply(this,arguments))})},Co.insert=function(n,t){return n=j(n),t=A(t),this.select(function(){return this.insertBefore(n.apply(this,arguments),t.apply(this,arguments)||null)})},Co.remove=function(){return this.each(F)},Co.data=function(n,t){function e(n,e){var r,i,u,o=n.length,s=e.length,h=Math.min(o,s),p=new Array(s),g=new Array(s),v=new Array(o);if(t){var d,y=new c,m=new Array(o);for(r=-1;++rr;++r)g[r]=H(e[r]);for(;o>r;++r)v[r]=n[r]}g.update=p,g.parentNode=p.parentNode=v.parentNode=n.parentNode,a.push(g),l.push(p),f.push(v)}var r,i,u=-1,o=this.length;if(!arguments.length){for(n=new Array(o=(r=this[0]).length);++uu;u++){i.push(t=[]),t.parentNode=(e=this[u]).parentNode;for(var a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return E(i)},Co.order=function(){for(var n=-1,t=this.length;++n=0;)(e=r[i])&&(u&&u!==e.nextSibling&&u.parentNode.insertBefore(e,u),u=e);return this},Co.sort=function(n){n=I.apply(this,arguments);for(var t=-1,e=this.length;++tn;n++)for(var e=this[n],r=0,i=e.length;i>r;r++){var u=e[r];if(u)return u}return null},Co.size=function(){var n=0;return Y(this,function(){++n}),n};var qo=[];ao.selection.enter=Z,ao.selection.enter.prototype=qo,qo.append=Co.append,qo.empty=Co.empty,qo.node=Co.node,qo.call=Co.call,qo.size=Co.size,qo.select=function(n){for(var t,e,r,i,u,o=[],a=-1,l=this.length;++ar){if("string"!=typeof n){2>r&&(t=!1);for(e in n)this.each(X(e,n[e],t));return this}if(2>r)return(r=this.node()["__on"+n])&&r._;e=!1}return this.each(X(n,t,e))};var To=ao.map({mouseenter:"mouseover",mouseleave:"mouseout"});fo&&To.forEach(function(n){"on"+n in fo&&To.remove(n)});var Ro,Do=0;ao.mouse=function(n){return J(n,k())};var Po=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;ao.touch=function(n,t,e){if(arguments.length<3&&(e=t,t=k().changedTouches),t)for(var r,i=0,u=t.length;u>i;++i)if((r=t[i]).identifier===e)return J(n,r)},ao.behavior.drag=function(){function n(){this.on("mousedown.drag",u).on("touchstart.drag",o)}function e(n,t,e,u,o){return function(){function a(){var n,e,r=t(h,v);r&&(n=r[0]-M[0],e=r[1]-M[1],g|=n|e,M=r,p({type:"drag",x:r[0]+c[0],y:r[1]+c[1],dx:n,dy:e}))}function l(){t(h,v)&&(y.on(u+d,null).on(o+d,null),m(g),p({type:"dragend"}))}var c,f=this,s=ao.event.target.correspondingElement||ao.event.target,h=f.parentNode,p=r.of(f,arguments),g=0,v=n(),d=".drag"+(null==v?"":"-"+v),y=ao.select(e(s)).on(u+d,a).on(o+d,l),m=W(s),M=t(h,v);i?(c=i.apply(f,arguments),c=[c.x-M[0],c.y-M[1]]):c=[0,0],p({type:"dragstart"})}}var r=N(n,"drag","dragstart","dragend"),i=null,u=e(b,ao.mouse,t,"mousemove","mouseup"),o=e(G,ao.touch,m,"touchmove","touchend");return n.origin=function(t){return arguments.length?(i=t,n):i},ao.rebind(n,r,"on")},ao.touches=function(n,t){return arguments.length<2&&(t=k().touches),t?co(t).map(function(t){var e=J(n,t);return e.identifier=t.identifier,e}):[]};var Uo=1e-6,jo=Uo*Uo,Fo=Math.PI,Ho=2*Fo,Oo=Ho-Uo,Io=Fo/2,Yo=Fo/180,Zo=180/Fo,Vo=Math.SQRT2,Xo=2,$o=4;ao.interpolateZoom=function(n,t){var e,r,i=n[0],u=n[1],o=n[2],a=t[0],l=t[1],c=t[2],f=a-i,s=l-u,h=f*f+s*s;if(jo>h)r=Math.log(c/o)/Vo,e=function(n){return[i+n*f,u+n*s,o*Math.exp(Vo*n*r)]};else{var p=Math.sqrt(h),g=(c*c-o*o+$o*h)/(2*o*Xo*p),v=(c*c-o*o-$o*h)/(2*c*Xo*p),d=Math.log(Math.sqrt(g*g+1)-g),y=Math.log(Math.sqrt(v*v+1)-v);r=(y-d)/Vo,e=function(n){var t=n*r,e=rn(d),a=o/(Xo*p)*(e*un(Vo*t+d)-en(d));return[i+a*f,u+a*s,o*e/rn(Vo*t+d)]}}return e.duration=1e3*r,e},ao.behavior.zoom=function(){function n(n){n.on(L,s).on(Wo+".zoom",p).on("dblclick.zoom",g).on(R,h)}function e(n){return[(n[0]-k.x)/k.k,(n[1]-k.y)/k.k]}function r(n){return[n[0]*k.k+k.x,n[1]*k.k+k.y]}function i(n){k.k=Math.max(A[0],Math.min(A[1],n))}function u(n,t){t=r(t),k.x+=n[0]-t[0],k.y+=n[1]-t[1]}function o(t,e,r,o){t.__chart__={x:k.x,y:k.y,k:k.k},i(Math.pow(2,o)),u(d=e,r),t=ao.select(t),C>0&&(t=t.transition().duration(C)),t.call(n.event)}function a(){b&&b.domain(x.range().map(function(n){return(n-k.x)/k.k}).map(x.invert)),w&&w.domain(_.range().map(function(n){return(n-k.y)/k.k}).map(_.invert))}function l(n){z++||n({type:"zoomstart"})}function c(n){a(),n({type:"zoom",scale:k.k,translate:[k.x,k.y]})}function f(n){--z||(n({type:"zoomend"}),d=null)}function s(){function n(){a=1,u(ao.mouse(i),h),c(o)}function r(){s.on(q,null).on(T,null),p(a),f(o)}var i=this,o=D.of(i,arguments),a=0,s=ao.select(t(i)).on(q,n).on(T,r),h=e(ao.mouse(i)),p=W(i);Il.call(i),l(o)}function h(){function n(){var n=ao.touches(g);return p=k.k,n.forEach(function(n){n.identifier in d&&(d[n.identifier]=e(n))}),n}function t(){var t=ao.event.target;ao.select(t).on(x,r).on(b,a),_.push(t);for(var e=ao.event.changedTouches,i=0,u=e.length;u>i;++i)d[e[i].identifier]=null;var l=n(),c=Date.now();if(1===l.length){if(500>c-M){var f=l[0];o(g,f,d[f.identifier],Math.floor(Math.log(k.k)/Math.LN2)+1),S()}M=c}else if(l.length>1){var f=l[0],s=l[1],h=f[0]-s[0],p=f[1]-s[1];y=h*h+p*p}}function r(){var n,t,e,r,o=ao.touches(g);Il.call(g);for(var a=0,l=o.length;l>a;++a,r=null)if(e=o[a],r=d[e.identifier]){if(t)break;n=e,t=r}if(r){var f=(f=e[0]-n[0])*f+(f=e[1]-n[1])*f,s=y&&Math.sqrt(f/y);n=[(n[0]+e[0])/2,(n[1]+e[1])/2],t=[(t[0]+r[0])/2,(t[1]+r[1])/2],i(s*p)}M=null,u(n,t),c(v)}function a(){if(ao.event.touches.length){for(var t=ao.event.changedTouches,e=0,r=t.length;r>e;++e)delete d[t[e].identifier];for(var i in d)return void n()}ao.selectAll(_).on(m,null),w.on(L,s).on(R,h),N(),f(v)}var p,g=this,v=D.of(g,arguments),d={},y=0,m=".zoom-"+ao.event.changedTouches[0].identifier,x="touchmove"+m,b="touchend"+m,_=[],w=ao.select(g),N=W(g);t(),l(v),w.on(L,null).on(R,t)}function p(){var n=D.of(this,arguments);m?clearTimeout(m):(Il.call(this),v=e(d=y||ao.mouse(this)),l(n)),m=setTimeout(function(){m=null,f(n)},50),S(),i(Math.pow(2,.002*Bo())*k.k),u(d,v),c(n)}function g(){var n=ao.mouse(this),t=Math.log(k.k)/Math.LN2;o(this,n,e(n),ao.event.shiftKey?Math.ceil(t)-1:Math.floor(t)+1)}var v,d,y,m,M,x,b,_,w,k={x:0,y:0,k:1},E=[960,500],A=Jo,C=250,z=0,L="mousedown.zoom",q="mousemove.zoom",T="mouseup.zoom",R="touchstart.zoom",D=N(n,"zoomstart","zoom","zoomend");return Wo||(Wo="onwheel"in fo?(Bo=function(){return-ao.event.deltaY*(ao.event.deltaMode?120:1)},"wheel"):"onmousewheel"in fo?(Bo=function(){return ao.event.wheelDelta},"mousewheel"):(Bo=function(){return-ao.event.detail},"MozMousePixelScroll")),n.event=function(n){n.each(function(){var n=D.of(this,arguments),t=k;Hl?ao.select(this).transition().each("start.zoom",function(){k=this.__chart__||{x:0,y:0,k:1},l(n)}).tween("zoom:zoom",function(){var e=E[0],r=E[1],i=d?d[0]:e/2,u=d?d[1]:r/2,o=ao.interpolateZoom([(i-k.x)/k.k,(u-k.y)/k.k,e/k.k],[(i-t.x)/t.k,(u-t.y)/t.k,e/t.k]);return function(t){var r=o(t),a=e/r[2];this.__chart__=k={x:i-r[0]*a,y:u-r[1]*a,k:a},c(n)}}).each("interrupt.zoom",function(){f(n)}).each("end.zoom",function(){f(n)}):(this.__chart__=k,l(n),c(n),f(n))})},n.translate=function(t){return arguments.length?(k={x:+t[0],y:+t[1],k:k.k},a(),n):[k.x,k.y]},n.scale=function(t){return arguments.length?(k={x:k.x,y:k.y,k:null},i(+t),a(),n):k.k},n.scaleExtent=function(t){return arguments.length?(A=null==t?Jo:[+t[0],+t[1]],n):A},n.center=function(t){return arguments.length?(y=t&&[+t[0],+t[1]],n):y},n.size=function(t){return arguments.length?(E=t&&[+t[0],+t[1]],n):E},n.duration=function(t){return arguments.length?(C=+t,n):C},n.x=function(t){return arguments.length?(b=t,x=t.copy(),k={x:0,y:0,k:1},n):b},n.y=function(t){return arguments.length?(w=t,_=t.copy(),k={x:0,y:0,k:1},n):w},ao.rebind(n,D,"on")};var Bo,Wo,Jo=[0,1/0];ao.color=an,an.prototype.toString=function(){return this.rgb()+""},ao.hsl=ln;var Go=ln.prototype=new an;Go.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,this.l/n)},Go.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,n*this.l)},Go.rgb=function(){return cn(this.h,this.s,this.l)},ao.hcl=fn;var Ko=fn.prototype=new an;Ko.brighter=function(n){return new fn(this.h,this.c,Math.min(100,this.l+Qo*(arguments.length?n:1)))},Ko.darker=function(n){return new fn(this.h,this.c,Math.max(0,this.l-Qo*(arguments.length?n:1)))},Ko.rgb=function(){return sn(this.h,this.c,this.l).rgb()},ao.lab=hn;var Qo=18,na=.95047,ta=1,ea=1.08883,ra=hn.prototype=new an;ra.brighter=function(n){return new hn(Math.min(100,this.l+Qo*(arguments.length?n:1)),this.a,this.b)},ra.darker=function(n){return new hn(Math.max(0,this.l-Qo*(arguments.length?n:1)),this.a,this.b)},ra.rgb=function(){return pn(this.l,this.a,this.b)},ao.rgb=mn;var ia=mn.prototype=new an;ia.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,i=30;return t||e||r?(t&&i>t&&(t=i),e&&i>e&&(e=i),r&&i>r&&(r=i),new mn(Math.min(255,t/n),Math.min(255,e/n),Math.min(255,r/n))):new mn(i,i,i)},ia.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new mn(n*this.r,n*this.g,n*this.b)},ia.hsl=function(){return wn(this.r,this.g,this.b)},ia.toString=function(){return"#"+bn(this.r)+bn(this.g)+bn(this.b)};var ua=ao.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});ua.forEach(function(n,t){ua.set(n,Mn(t))}),ao.functor=En,ao.xhr=An(m),ao.dsv=function(n,t){function e(n,e,u){arguments.length<3&&(u=e,e=null);var o=Cn(n,t,null==e?r:i(e),u);return o.row=function(n){return arguments.length?o.response(null==(e=n)?r:i(n)):e},o}function r(n){return e.parse(n.responseText)}function i(n){return function(t){return e.parse(t.responseText,n)}}function u(t){return t.map(o).join(n)}function o(n){return a.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}var a=new RegExp('["'+n+"\n]"),l=n.charCodeAt(0);return e.parse=function(n,t){var r;return e.parseRows(n,function(n,e){if(r)return r(n,e-1);var i=new Function("d","return {"+n.map(function(n,t){return JSON.stringify(n)+": d["+t+"]"}).join(",")+"}");r=t?function(n,e){return t(i(n),e)}:i})},e.parseRows=function(n,t){function e(){if(f>=c)return o;if(i)return i=!1,u;var t=f;if(34===n.charCodeAt(t)){for(var e=t;e++f;){var r=n.charCodeAt(f++),a=1;if(10===r)i=!0;else if(13===r)i=!0,10===n.charCodeAt(f)&&(++f,++a);else if(r!==l)continue;return n.slice(t,f-a)}return n.slice(t)}for(var r,i,u={},o={},a=[],c=n.length,f=0,s=0;(r=e())!==o;){for(var h=[];r!==u&&r!==o;)h.push(r),r=e();t&&null==(h=t(h,s++))||a.push(h)}return a},e.format=function(t){if(Array.isArray(t[0]))return e.formatRows(t);var r=new y,i=[];return t.forEach(function(n){for(var t in n)r.has(t)||i.push(r.add(t))}),[i.map(o).join(n)].concat(t.map(function(t){return i.map(function(n){return o(t[n])}).join(n)})).join("\n")},e.formatRows=function(n){return n.map(u).join("\n")},e},ao.csv=ao.dsv(",","text/csv"),ao.tsv=ao.dsv(" ","text/tab-separated-values");var oa,aa,la,ca,fa=this[x(this,"requestAnimationFrame")]||function(n){setTimeout(n,17)};ao.timer=function(){qn.apply(this,arguments)},ao.timer.flush=function(){Rn(),Dn()},ao.round=function(n,t){return t?Math.round(n*(t=Math.pow(10,t)))/t:Math.round(n)};var sa=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"].map(Un);ao.formatPrefix=function(n,t){var e=0;return(n=+n)&&(0>n&&(n*=-1),t&&(n=ao.round(n,Pn(n,t))),e=1+Math.floor(1e-12+Math.log(n)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((e-1)/3)))),sa[8+e/3]};var ha=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,pa=ao.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,t){return(n=ao.round(n,Pn(n,t))).toFixed(Math.max(0,Math.min(20,Pn(n*(1+1e-15),t))))}}),ga=ao.time={},va=Date;Hn.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){da.setUTCDate.apply(this._,arguments)},setDay:function(){da.setUTCDay.apply(this._,arguments)},setFullYear:function(){da.setUTCFullYear.apply(this._,arguments)},setHours:function(){da.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){da.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){da.setUTCMinutes.apply(this._,arguments)},setMonth:function(){da.setUTCMonth.apply(this._,arguments)},setSeconds:function(){da.setUTCSeconds.apply(this._,arguments)},setTime:function(){da.setTime.apply(this._,arguments)}};var da=Date.prototype;ga.year=On(function(n){return n=ga.day(n),n.setMonth(0,1),n},function(n,t){n.setFullYear(n.getFullYear()+t)},function(n){return n.getFullYear()}),ga.years=ga.year.range,ga.years.utc=ga.year.utc.range,ga.day=On(function(n){var t=new va(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t},function(n,t){n.setDate(n.getDate()+t)},function(n){return n.getDate()-1}),ga.days=ga.day.range,ga.days.utc=ga.day.utc.range,ga.dayOfYear=function(n){var t=ga.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(n,t){t=7-t;var e=ga[n]=On(function(n){return(n=ga.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n},function(n,t){n.setDate(n.getDate()+7*Math.floor(t))},function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)-(e!==t)});ga[n+"s"]=e.range,ga[n+"s"].utc=e.utc.range,ga[n+"OfYear"]=function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)}}),ga.week=ga.sunday,ga.weeks=ga.sunday.range,ga.weeks.utc=ga.sunday.utc.range,ga.weekOfYear=ga.sundayOfYear;var ya={"-":"",_:" ",0:"0"},ma=/^\s*\d+/,Ma=/^%/;ao.locale=function(n){return{numberFormat:jn(n),timeFormat:Yn(n)}};var xa=ao.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"], +shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});ao.format=xa.numberFormat,ao.geo={},ft.prototype={s:0,t:0,add:function(n){st(n,this.t,ba),st(ba.s,this.s,this),this.s?this.t+=ba.t:this.s=ba.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var ba=new ft;ao.geo.stream=function(n,t){n&&_a.hasOwnProperty(n.type)?_a[n.type](n,t):ht(n,t)};var _a={Feature:function(n,t){ht(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,i=e.length;++rn?4*Fo+n:n,Na.lineStart=Na.lineEnd=Na.point=b}};ao.geo.bounds=function(){function n(n,t){M.push(x=[f=n,h=n]),s>t&&(s=t),t>p&&(p=t)}function t(t,e){var r=dt([t*Yo,e*Yo]);if(y){var i=mt(y,r),u=[i[1],-i[0],0],o=mt(u,i);bt(o),o=_t(o);var l=t-g,c=l>0?1:-1,v=o[0]*Zo*c,d=xo(l)>180;if(d^(v>c*g&&c*t>v)){var m=o[1]*Zo;m>p&&(p=m)}else if(v=(v+360)%360-180,d^(v>c*g&&c*t>v)){var m=-o[1]*Zo;s>m&&(s=m)}else s>e&&(s=e),e>p&&(p=e);d?g>t?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t):h>=f?(f>t&&(f=t),t>h&&(h=t)):t>g?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t)}else n(t,e);y=r,g=t}function e(){b.point=t}function r(){x[0]=f,x[1]=h,b.point=n,y=null}function i(n,e){if(y){var r=n-g;m+=xo(r)>180?r+(r>0?360:-360):r}else v=n,d=e;Na.point(n,e),t(n,e)}function u(){Na.lineStart()}function o(){i(v,d),Na.lineEnd(),xo(m)>Uo&&(f=-(h=180)),x[0]=f,x[1]=h,y=null}function a(n,t){return(t-=n)<0?t+360:t}function l(n,t){return n[0]-t[0]}function c(n,t){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nka?(f=-(h=180),s=-(p=90)):m>Uo?p=90:-Uo>m&&(s=-90),x[0]=f,x[1]=h}};return function(n){p=h=-(f=s=1/0),M=[],ao.geo.stream(n,b);var t=M.length;if(t){M.sort(l);for(var e,r=1,i=M[0],u=[i];t>r;++r)e=M[r],c(e[0],i)||c(e[1],i)?(a(i[0],e[1])>a(i[0],i[1])&&(i[1]=e[1]),a(e[0],i[1])>a(i[0],i[1])&&(i[0]=e[0])):u.push(i=e);for(var o,e,g=-(1/0),t=u.length-1,r=0,i=u[t];t>=r;i=e,++r)e=u[r],(o=a(i[1],e[0]))>g&&(g=o,f=e[0],h=i[1])}return M=x=null,f===1/0||s===1/0?[[NaN,NaN],[NaN,NaN]]:[[f,s],[h,p]]}}(),ao.geo.centroid=function(n){Ea=Aa=Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,ja);var t=Da,e=Pa,r=Ua,i=t*t+e*e+r*r;return jo>i&&(t=qa,e=Ta,r=Ra,Uo>Aa&&(t=Ca,e=za,r=La),i=t*t+e*e+r*r,jo>i)?[NaN,NaN]:[Math.atan2(e,t)*Zo,tn(r/Math.sqrt(i))*Zo]};var Ea,Aa,Ca,za,La,qa,Ta,Ra,Da,Pa,Ua,ja={sphere:b,point:St,lineStart:Nt,lineEnd:Et,polygonStart:function(){ja.lineStart=At},polygonEnd:function(){ja.lineStart=Nt}},Fa=Rt(zt,jt,Ht,[-Fo,-Fo/2]),Ha=1e9;ao.geo.clipExtent=function(){var n,t,e,r,i,u,o={stream:function(n){return i&&(i.valid=!1),i=u(n),i.valid=!0,i},extent:function(a){return arguments.length?(u=Zt(n=+a[0][0],t=+a[0][1],e=+a[1][0],r=+a[1][1]),i&&(i.valid=!1,i=null),o):[[n,t],[e,r]]}};return o.extent([[0,0],[960,500]])},(ao.geo.conicEqualArea=function(){return Vt(Xt)}).raw=Xt,ao.geo.albers=function(){return ao.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},ao.geo.albersUsa=function(){function n(n){var u=n[0],o=n[1];return t=null,e(u,o),t||(r(u,o),t)||i(u,o),t}var t,e,r,i,u=ao.geo.albers(),o=ao.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=ao.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(n,e){t=[n,e]}};return n.invert=function(n){var t=u.scale(),e=u.translate(),r=(n[0]-e[0])/t,i=(n[1]-e[1])/t;return(i>=.12&&.234>i&&r>=-.425&&-.214>r?o:i>=.166&&.234>i&&r>=-.214&&-.115>r?a:u).invert(n)},n.stream=function(n){var t=u.stream(n),e=o.stream(n),r=a.stream(n);return{point:function(n,i){t.point(n,i),e.point(n,i),r.point(n,i)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},n.precision=function(t){return arguments.length?(u.precision(t),o.precision(t),a.precision(t),n):u.precision()},n.scale=function(t){return arguments.length?(u.scale(t),o.scale(.35*t),a.scale(t),n.translate(u.translate())):u.scale()},n.translate=function(t){if(!arguments.length)return u.translate();var c=u.scale(),f=+t[0],s=+t[1];return e=u.translate(t).clipExtent([[f-.455*c,s-.238*c],[f+.455*c,s+.238*c]]).stream(l).point,r=o.translate([f-.307*c,s+.201*c]).clipExtent([[f-.425*c+Uo,s+.12*c+Uo],[f-.214*c-Uo,s+.234*c-Uo]]).stream(l).point,i=a.translate([f-.205*c,s+.212*c]).clipExtent([[f-.214*c+Uo,s+.166*c+Uo],[f-.115*c-Uo,s+.234*c-Uo]]).stream(l).point,n},n.scale(1070)};var Oa,Ia,Ya,Za,Va,Xa,$a={point:b,lineStart:b,lineEnd:b,polygonStart:function(){Ia=0,$a.lineStart=$t},polygonEnd:function(){$a.lineStart=$a.lineEnd=$a.point=b,Oa+=xo(Ia/2)}},Ba={point:Bt,lineStart:b,lineEnd:b,polygonStart:b,polygonEnd:b},Wa={point:Gt,lineStart:Kt,lineEnd:Qt,polygonStart:function(){Wa.lineStart=ne},polygonEnd:function(){Wa.point=Gt,Wa.lineStart=Kt,Wa.lineEnd=Qt}};ao.geo.path=function(){function n(n){return n&&("function"==typeof a&&u.pointRadius(+a.apply(this,arguments)),o&&o.valid||(o=i(u)),ao.geo.stream(n,o)),u.result()}function t(){return o=null,n}var e,r,i,u,o,a=4.5;return n.area=function(n){return Oa=0,ao.geo.stream(n,i($a)),Oa},n.centroid=function(n){return Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,i(Wa)),Ua?[Da/Ua,Pa/Ua]:Ra?[qa/Ra,Ta/Ra]:La?[Ca/La,za/La]:[NaN,NaN]},n.bounds=function(n){return Va=Xa=-(Ya=Za=1/0),ao.geo.stream(n,i(Ba)),[[Ya,Za],[Va,Xa]]},n.projection=function(n){return arguments.length?(i=(e=n)?n.stream||re(n):m,t()):e},n.context=function(n){return arguments.length?(u=null==(r=n)?new Wt:new te(n),"function"!=typeof a&&u.pointRadius(a),t()):r},n.pointRadius=function(t){return arguments.length?(a="function"==typeof t?t:(u.pointRadius(+t),+t),n):a},n.projection(ao.geo.albersUsa()).context(null)},ao.geo.transform=function(n){return{stream:function(t){var e=new ie(t);for(var r in n)e[r]=n[r];return e}}},ie.prototype={point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},ao.geo.projection=oe,ao.geo.projectionMutator=ae,(ao.geo.equirectangular=function(){return oe(ce)}).raw=ce.invert=ce,ao.geo.rotation=function(n){function t(t){return t=n(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t}return n=se(n[0]%360*Yo,n[1]*Yo,n.length>2?n[2]*Yo:0),t.invert=function(t){return t=n.invert(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t},t},fe.invert=ce,ao.geo.circle=function(){function n(){var n="function"==typeof r?r.apply(this,arguments):r,t=se(-n[0]*Yo,-n[1]*Yo,0).invert,i=[];return e(null,null,1,{point:function(n,e){i.push(n=t(n,e)),n[0]*=Zo,n[1]*=Zo}}),{type:"Polygon",coordinates:[i]}}var t,e,r=[0,0],i=6;return n.origin=function(t){return arguments.length?(r=t,n):r},n.angle=function(r){return arguments.length?(e=ve((t=+r)*Yo,i*Yo),n):t},n.precision=function(r){return arguments.length?(e=ve(t*Yo,(i=+r)*Yo),n):i},n.angle(90)},ao.geo.distance=function(n,t){var e,r=(t[0]-n[0])*Yo,i=n[1]*Yo,u=t[1]*Yo,o=Math.sin(r),a=Math.cos(r),l=Math.sin(i),c=Math.cos(i),f=Math.sin(u),s=Math.cos(u);return Math.atan2(Math.sqrt((e=s*o)*e+(e=c*f-l*s*a)*e),l*f+c*s*a)},ao.geo.graticule=function(){function n(){return{type:"MultiLineString",coordinates:t()}}function t(){return ao.range(Math.ceil(u/d)*d,i,d).map(h).concat(ao.range(Math.ceil(c/y)*y,l,y).map(p)).concat(ao.range(Math.ceil(r/g)*g,e,g).filter(function(n){return xo(n%d)>Uo}).map(f)).concat(ao.range(Math.ceil(a/v)*v,o,v).filter(function(n){return xo(n%y)>Uo}).map(s))}var e,r,i,u,o,a,l,c,f,s,h,p,g=10,v=g,d=90,y=360,m=2.5;return n.lines=function(){return t().map(function(n){return{type:"LineString",coordinates:n}})},n.outline=function(){return{type:"Polygon",coordinates:[h(u).concat(p(l).slice(1),h(i).reverse().slice(1),p(c).reverse().slice(1))]}},n.extent=function(t){return arguments.length?n.majorExtent(t).minorExtent(t):n.minorExtent()},n.majorExtent=function(t){return arguments.length?(u=+t[0][0],i=+t[1][0],c=+t[0][1],l=+t[1][1],u>i&&(t=u,u=i,i=t),c>l&&(t=c,c=l,l=t),n.precision(m)):[[u,c],[i,l]]},n.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],o=+t[1][1],r>e&&(t=r,r=e,e=t),a>o&&(t=a,a=o,o=t),n.precision(m)):[[r,a],[e,o]]},n.step=function(t){return arguments.length?n.majorStep(t).minorStep(t):n.minorStep()},n.majorStep=function(t){return arguments.length?(d=+t[0],y=+t[1],n):[d,y]},n.minorStep=function(t){return arguments.length?(g=+t[0],v=+t[1],n):[g,v]},n.precision=function(t){return arguments.length?(m=+t,f=ye(a,o,90),s=me(r,e,m),h=ye(c,l,90),p=me(u,i,m),n):m},n.majorExtent([[-180,-90+Uo],[180,90-Uo]]).minorExtent([[-180,-80-Uo],[180,80+Uo]])},ao.geo.greatArc=function(){function n(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),e||i.apply(this,arguments)]}}var t,e,r=Me,i=xe;return n.distance=function(){return ao.geo.distance(t||r.apply(this,arguments),e||i.apply(this,arguments))},n.source=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,n):r},n.target=function(t){return arguments.length?(i=t,e="function"==typeof t?null:t,n):i},n.precision=function(){return arguments.length?n:0},n},ao.geo.interpolate=function(n,t){return be(n[0]*Yo,n[1]*Yo,t[0]*Yo,t[1]*Yo)},ao.geo.length=function(n){return Ja=0,ao.geo.stream(n,Ga),Ja};var Ja,Ga={sphere:b,point:b,lineStart:_e,lineEnd:b,polygonStart:b,polygonEnd:b},Ka=we(function(n){return Math.sqrt(2/(1+n))},function(n){return 2*Math.asin(n/2)});(ao.geo.azimuthalEqualArea=function(){return oe(Ka)}).raw=Ka;var Qa=we(function(n){var t=Math.acos(n);return t&&t/Math.sin(t)},m);(ao.geo.azimuthalEquidistant=function(){return oe(Qa)}).raw=Qa,(ao.geo.conicConformal=function(){return Vt(Se)}).raw=Se,(ao.geo.conicEquidistant=function(){return Vt(ke)}).raw=ke;var nl=we(function(n){return 1/n},Math.atan);(ao.geo.gnomonic=function(){return oe(nl)}).raw=nl,Ne.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Io]},(ao.geo.mercator=function(){return Ee(Ne)}).raw=Ne;var tl=we(function(){return 1},Math.asin);(ao.geo.orthographic=function(){return oe(tl)}).raw=tl;var el=we(function(n){return 1/(1+n)},function(n){return 2*Math.atan(n)});(ao.geo.stereographic=function(){return oe(el)}).raw=el,Ae.invert=function(n,t){return[-t,2*Math.atan(Math.exp(n))-Io]},(ao.geo.transverseMercator=function(){var n=Ee(Ae),t=n.center,e=n.rotate;return n.center=function(n){return n?t([-n[1],n[0]]):(n=t(),[n[1],-n[0]])},n.rotate=function(n){return n?e([n[0],n[1],n.length>2?n[2]+90:90]):(n=e(),[n[0],n[1],n[2]-90])},e([0,0,90])}).raw=Ae,ao.geom={},ao.geom.hull=function(n){function t(n){if(n.length<3)return[];var t,i=En(e),u=En(r),o=n.length,a=[],l=[];for(t=0;o>t;t++)a.push([+i.call(this,n[t],t),+u.call(this,n[t],t),t]);for(a.sort(qe),t=0;o>t;t++)l.push([a[t][0],-a[t][1]]);var c=Le(a),f=Le(l),s=f[0]===c[0],h=f[f.length-1]===c[c.length-1],p=[];for(t=c.length-1;t>=0;--t)p.push(n[a[c[t]][2]]);for(t=+s;t=r&&c.x<=u&&c.y>=i&&c.y<=o?[[r,o],[u,o],[u,i],[r,i]]:[];f.point=n[a]}),t}function e(n){return n.map(function(n,t){return{x:Math.round(u(n,t)/Uo)*Uo,y:Math.round(o(n,t)/Uo)*Uo,i:t}})}var r=Ce,i=ze,u=r,o=i,a=sl;return n?t(n):(t.links=function(n){return ar(e(n)).edges.filter(function(n){return n.l&&n.r}).map(function(t){return{source:n[t.l.i],target:n[t.r.i]}})},t.triangles=function(n){var t=[];return ar(e(n)).cells.forEach(function(e,r){for(var i,u,o=e.site,a=e.edges.sort(Ve),l=-1,c=a.length,f=a[c-1].edge,s=f.l===o?f.r:f.l;++l=c,h=r>=f,p=h<<1|s;n.leaf=!1,n=n.nodes[p]||(n.nodes[p]=hr()),s?i=c:a=c,h?o=f:l=f,u(n,t,e,r,i,o,a,l)}var f,s,h,p,g,v,d,y,m,M=En(a),x=En(l);if(null!=t)v=t,d=e,y=r,m=i;else if(y=m=-(v=d=1/0),s=[],h=[],g=n.length,o)for(p=0;g>p;++p)f=n[p],f.xy&&(y=f.x),f.y>m&&(m=f.y),s.push(f.x),h.push(f.y);else for(p=0;g>p;++p){var b=+M(f=n[p],p),_=+x(f,p);v>b&&(v=b),d>_&&(d=_),b>y&&(y=b),_>m&&(m=_),s.push(b),h.push(_)}var w=y-v,S=m-d;w>S?m=d+w:y=v+S;var k=hr();if(k.add=function(n){u(k,n,+M(n,++p),+x(n,p),v,d,y,m)},k.visit=function(n){pr(n,k,v,d,y,m)},k.find=function(n){return gr(k,n[0],n[1],v,d,y,m)},p=-1,null==t){for(;++p=0?n.slice(0,t):n,r=t>=0?n.slice(t+1):"in";return e=vl.get(e)||gl,r=dl.get(r)||m,br(r(e.apply(null,lo.call(arguments,1))))},ao.interpolateHcl=Rr,ao.interpolateHsl=Dr,ao.interpolateLab=Pr,ao.interpolateRound=Ur,ao.transform=function(n){var t=fo.createElementNS(ao.ns.prefix.svg,"g");return(ao.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new jr(e?e.matrix:yl)})(n)},jr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var yl={a:1,b:0,c:0,d:1,e:0,f:0};ao.interpolateTransform=$r,ao.layout={},ao.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++ea*a/y){if(v>l){var c=t.charge/l;n.px-=u*c,n.py-=o*c}return!0}if(t.point&&l&&v>l){var c=t.pointCharge/l;n.px-=u*c,n.py-=o*c}}return!t.charge}}function t(n){n.px=ao.event.x,n.py=ao.event.y,l.resume()}var e,r,i,u,o,a,l={},c=ao.dispatch("start","tick","end"),f=[1,1],s=.9,h=ml,p=Ml,g=-30,v=xl,d=.1,y=.64,M=[],x=[];return l.tick=function(){if((i*=.99)<.005)return e=null,c.end({type:"end",alpha:i=0}),!0;var t,r,l,h,p,v,y,m,b,_=M.length,w=x.length;for(r=0;w>r;++r)l=x[r],h=l.source,p=l.target,m=p.x-h.x,b=p.y-h.y,(v=m*m+b*b)&&(v=i*o[r]*((v=Math.sqrt(v))-u[r])/v,m*=v,b*=v,p.x-=m*(y=h.weight+p.weight?h.weight/(h.weight+p.weight):.5),p.y-=b*y,h.x+=m*(y=1-y),h.y+=b*y);if((y=i*d)&&(m=f[0]/2,b=f[1]/2,r=-1,y))for(;++r<_;)l=M[r],l.x+=(m-l.x)*y,l.y+=(b-l.y)*y;if(g)for(ri(t=ao.geom.quadtree(M),i,a),r=-1;++r<_;)(l=M[r]).fixed||t.visit(n(l));for(r=-1;++r<_;)l=M[r],l.fixed?(l.x=l.px,l.y=l.py):(l.x-=(l.px-(l.px=l.x))*s,l.y-=(l.py-(l.py=l.y))*s);c.tick({type:"tick",alpha:i})},l.nodes=function(n){return arguments.length?(M=n,l):M},l.links=function(n){return arguments.length?(x=n,l):x},l.size=function(n){return arguments.length?(f=n,l):f},l.linkDistance=function(n){return arguments.length?(h="function"==typeof n?n:+n,l):h},l.distance=l.linkDistance,l.linkStrength=function(n){return arguments.length?(p="function"==typeof n?n:+n,l):p},l.friction=function(n){return arguments.length?(s=+n,l):s},l.charge=function(n){return arguments.length?(g="function"==typeof n?n:+n,l):g},l.chargeDistance=function(n){return arguments.length?(v=n*n,l):Math.sqrt(v)},l.gravity=function(n){return arguments.length?(d=+n,l):d},l.theta=function(n){return arguments.length?(y=n*n,l):Math.sqrt(y)},l.alpha=function(n){return arguments.length?(n=+n,i?n>0?i=n:(e.c=null,e.t=NaN,e=null,c.end({type:"end",alpha:i=0})):n>0&&(c.start({type:"start",alpha:i=n}),e=qn(l.tick)),l):i},l.start=function(){function n(n,r){if(!e){for(e=new Array(i),l=0;i>l;++l)e[l]=[];for(l=0;c>l;++l){var u=x[l];e[u.source.index].push(u.target),e[u.target.index].push(u.source)}}for(var o,a=e[t],l=-1,f=a.length;++lt;++t)(r=M[t]).index=t,r.weight=0;for(t=0;c>t;++t)r=x[t],"number"==typeof r.source&&(r.source=M[r.source]),"number"==typeof r.target&&(r.target=M[r.target]),++r.source.weight,++r.target.weight;for(t=0;i>t;++t)r=M[t],isNaN(r.x)&&(r.x=n("x",s)),isNaN(r.y)&&(r.y=n("y",v)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(u=[],"function"==typeof h)for(t=0;c>t;++t)u[t]=+h.call(this,x[t],t);else for(t=0;c>t;++t)u[t]=h;if(o=[],"function"==typeof p)for(t=0;c>t;++t)o[t]=+p.call(this,x[t],t);else for(t=0;c>t;++t)o[t]=p;if(a=[],"function"==typeof g)for(t=0;i>t;++t)a[t]=+g.call(this,M[t],t);else for(t=0;i>t;++t)a[t]=g;return l.resume()},l.resume=function(){return l.alpha(.1)},l.stop=function(){return l.alpha(0)},l.drag=function(){return r||(r=ao.behavior.drag().origin(m).on("dragstart.force",Qr).on("drag.force",t).on("dragend.force",ni)),arguments.length?void this.on("mouseover.force",ti).on("mouseout.force",ei).call(r):r},ao.rebind(l,c,"on")};var ml=20,Ml=1,xl=1/0;ao.layout.hierarchy=function(){function n(i){var u,o=[i],a=[];for(i.depth=0;null!=(u=o.pop());)if(a.push(u),(c=e.call(n,u,u.depth))&&(l=c.length)){for(var l,c,f;--l>=0;)o.push(f=c[l]),f.parent=u,f.depth=u.depth+1;r&&(u.value=0),u.children=c}else r&&(u.value=+r.call(n,u,u.depth)||0),delete u.children;return oi(i,function(n){var e,i;t&&(e=n.children)&&e.sort(t),r&&(i=n.parent)&&(i.value+=n.value)}),a}var t=ci,e=ai,r=li;return n.sort=function(e){return arguments.length?(t=e,n):t},n.children=function(t){return arguments.length?(e=t,n):e},n.value=function(t){return arguments.length?(r=t,n):r},n.revalue=function(t){return r&&(ui(t,function(n){n.children&&(n.value=0)}),oi(t,function(t){var e;t.children||(t.value=+r.call(n,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)})),t},n},ao.layout.partition=function(){function n(t,e,r,i){var u=t.children;if(t.x=e,t.y=t.depth*i,t.dx=r,t.dy=i,u&&(o=u.length)){var o,a,l,c=-1;for(r=t.value?r/t.value:0;++cs?-1:1),g=ao.sum(c),v=g?(s-l*p)/g:0,d=ao.range(l),y=[];return null!=e&&d.sort(e===bl?function(n,t){return c[t]-c[n]}:function(n,t){return e(o[n],o[t])}),d.forEach(function(n){y[n]={data:o[n],value:a=c[n],startAngle:f,endAngle:f+=a*v+p,padAngle:h}}),y}var t=Number,e=bl,r=0,i=Ho,u=0;return n.value=function(e){return arguments.length?(t=e,n):t},n.sort=function(t){return arguments.length?(e=t,n):e},n.startAngle=function(t){return arguments.length?(r=t,n):r},n.endAngle=function(t){return arguments.length?(i=t,n):i},n.padAngle=function(t){return arguments.length?(u=t,n):u},n};var bl={};ao.layout.stack=function(){function n(a,l){if(!(h=a.length))return a;var c=a.map(function(e,r){return t.call(n,e,r)}),f=c.map(function(t){return t.map(function(t,e){return[u.call(n,t,e),o.call(n,t,e)]})}),s=e.call(n,f,l);c=ao.permute(c,s),f=ao.permute(f,s);var h,p,g,v,d=r.call(n,f,l),y=c[0].length;for(g=0;y>g;++g)for(i.call(n,c[0][g],v=d[g],f[0][g][1]),p=1;h>p;++p)i.call(n,c[p][g],v+=f[p-1][g][1],f[p][g][1]);return a}var t=m,e=gi,r=vi,i=pi,u=si,o=hi;return n.values=function(e){return arguments.length?(t=e,n):t},n.order=function(t){return arguments.length?(e="function"==typeof t?t:_l.get(t)||gi,n):e},n.offset=function(t){return arguments.length?(r="function"==typeof t?t:wl.get(t)||vi,n):r},n.x=function(t){return arguments.length?(u=t,n):u},n.y=function(t){return arguments.length?(o=t,n):o},n.out=function(t){return arguments.length?(i=t,n):i},n};var _l=ao.map({"inside-out":function(n){var t,e,r=n.length,i=n.map(di),u=n.map(yi),o=ao.range(r).sort(function(n,t){return i[n]-i[t]}),a=0,l=0,c=[],f=[];for(t=0;r>t;++t)e=o[t],l>a?(a+=u[e],c.push(e)):(l+=u[e],f.push(e));return f.reverse().concat(c)},reverse:function(n){return ao.range(n.length).reverse()},"default":gi}),wl=ao.map({silhouette:function(n){var t,e,r,i=n.length,u=n[0].length,o=[],a=0,l=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];r>a&&(a=r),o.push(r)}for(e=0;u>e;++e)l[e]=(a-o[e])/2;return l},wiggle:function(n){var t,e,r,i,u,o,a,l,c,f=n.length,s=n[0],h=s.length,p=[];for(p[0]=l=c=0,e=1;h>e;++e){for(t=0,i=0;f>t;++t)i+=n[t][e][1];for(t=0,u=0,a=s[e][0]-s[e-1][0];f>t;++t){for(r=0,o=(n[t][e][1]-n[t][e-1][1])/(2*a);t>r;++r)o+=(n[r][e][1]-n[r][e-1][1])/a;u+=o*n[t][e][1]}p[e]=l-=i?u/i*a:0,c>l&&(c=l)}for(e=0;h>e;++e)p[e]-=c;return p},expand:function(n){var t,e,r,i=n.length,u=n[0].length,o=1/i,a=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];if(r)for(t=0;i>t;t++)n[t][e][1]/=r;else for(t=0;i>t;t++)n[t][e][1]=o}for(e=0;u>e;++e)a[e]=0;return a},zero:vi});ao.layout.histogram=function(){function n(n,u){for(var o,a,l=[],c=n.map(e,this),f=r.call(this,c,u),s=i.call(this,f,c,u),u=-1,h=c.length,p=s.length-1,g=t?1:1/h;++u0)for(u=-1;++u=f[0]&&a<=f[1]&&(o=l[ao.bisect(s,a,1,p)-1],o.y+=g,o.push(n[u]));return l}var t=!0,e=Number,r=bi,i=Mi;return n.value=function(t){return arguments.length?(e=t,n):e},n.range=function(t){return arguments.length?(r=En(t),n):r},n.bins=function(t){return arguments.length?(i="number"==typeof t?function(n){return xi(n,t)}:En(t),n):i},n.frequency=function(e){return arguments.length?(t=!!e,n):t},n},ao.layout.pack=function(){function n(n,u){var o=e.call(this,n,u),a=o[0],l=i[0],c=i[1],f=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(a.x=a.y=0,oi(a,function(n){n.r=+f(n.value)}),oi(a,Ni),r){var s=r*(t?1:Math.max(2*a.r/l,2*a.r/c))/2;oi(a,function(n){n.r+=s}),oi(a,Ni),oi(a,function(n){n.r-=s})}return Ci(a,l/2,c/2,t?1:1/Math.max(2*a.r/l,2*a.r/c)),o}var t,e=ao.layout.hierarchy().sort(_i),r=0,i=[1,1];return n.size=function(t){return arguments.length?(i=t,n):i},n.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,n):t},n.padding=function(t){return arguments.length?(r=+t,n):r},ii(n,e)},ao.layout.tree=function(){function n(n,i){var f=o.call(this,n,i),s=f[0],h=t(s);if(oi(h,e),h.parent.m=-h.z,ui(h,r),c)ui(s,u);else{var p=s,g=s,v=s;ui(s,function(n){n.xg.x&&(g=n),n.depth>v.depth&&(v=n)});var d=a(p,g)/2-p.x,y=l[0]/(g.x+a(g,p)/2+d),m=l[1]/(v.depth||1);ui(s,function(n){n.x=(n.x+d)*y,n.y=n.depth*m})}return f}function t(n){for(var t,e={A:null,children:[n]},r=[e];null!=(t=r.pop());)for(var i,u=t.children,o=0,a=u.length;a>o;++o)r.push((u[o]=i={_:u[o],parent:t,children:(i=u[o].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=i);return e.children[0]}function e(n){var t=n.children,e=n.parent.children,r=n.i?e[n.i-1]:null;if(t.length){Di(n);var u=(t[0].z+t[t.length-1].z)/2;r?(n.z=r.z+a(n._,r._),n.m=n.z-u):n.z=u}else r&&(n.z=r.z+a(n._,r._));n.parent.A=i(n,r,n.parent.A||e[0])}function r(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function i(n,t,e){if(t){for(var r,i=n,u=n,o=t,l=i.parent.children[0],c=i.m,f=u.m,s=o.m,h=l.m;o=Ti(o),i=qi(i),o&&i;)l=qi(l),u=Ti(u),u.a=n,r=o.z+s-i.z-c+a(o._,i._),r>0&&(Ri(Pi(o,n,e),n,r),c+=r,f+=r),s+=o.m,c+=i.m,h+=l.m,f+=u.m;o&&!Ti(u)&&(u.t=o,u.m+=s-f),i&&!qi(l)&&(l.t=i,l.m+=c-h,e=n)}return e}function u(n){n.x*=l[0],n.y=n.depth*l[1]}var o=ao.layout.hierarchy().sort(null).value(null),a=Li,l=[1,1],c=null;return n.separation=function(t){return arguments.length?(a=t,n):a},n.size=function(t){return arguments.length?(c=null==(l=t)?u:null,n):c?null:l},n.nodeSize=function(t){return arguments.length?(c=null==(l=t)?null:u,n):c?l:null},ii(n,o)},ao.layout.cluster=function(){function n(n,u){var o,a=t.call(this,n,u),l=a[0],c=0;oi(l,function(n){var t=n.children;t&&t.length?(n.x=ji(t),n.y=Ui(t)):(n.x=o?c+=e(n,o):0,n.y=0,o=n)});var f=Fi(l),s=Hi(l),h=f.x-e(f,s)/2,p=s.x+e(s,f)/2;return oi(l,i?function(n){n.x=(n.x-l.x)*r[0],n.y=(l.y-n.y)*r[1]}:function(n){n.x=(n.x-h)/(p-h)*r[0],n.y=(1-(l.y?n.y/l.y:1))*r[1]}),a}var t=ao.layout.hierarchy().sort(null).value(null),e=Li,r=[1,1],i=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(i=null==(r=t),n):i?null:r},n.nodeSize=function(t){return arguments.length?(i=null!=(r=t),n):i?r:null},ii(n,t)},ao.layout.treemap=function(){function n(n,t){for(var e,r,i=-1,u=n.length;++it?0:t),e.area=isNaN(r)||0>=r?0:r}function t(e){var u=e.children;if(u&&u.length){var o,a,l,c=s(e),f=[],h=u.slice(),g=1/0,v="slice"===p?c.dx:"dice"===p?c.dy:"slice-dice"===p?1&e.depth?c.dy:c.dx:Math.min(c.dx,c.dy);for(n(h,c.dx*c.dy/e.value),f.area=0;(l=h.length)>0;)f.push(o=h[l-1]),f.area+=o.area,"squarify"!==p||(a=r(f,v))<=g?(h.pop(),g=a):(f.area-=f.pop().area,i(f,v,c,!1),v=Math.min(c.dx,c.dy),f.length=f.area=0,g=1/0);f.length&&(i(f,v,c,!0),f.length=f.area=0),u.forEach(t)}}function e(t){var r=t.children;if(r&&r.length){var u,o=s(t),a=r.slice(),l=[];for(n(a,o.dx*o.dy/t.value),l.area=0;u=a.pop();)l.push(u),l.area+=u.area,null!=u.z&&(i(l,u.z?o.dx:o.dy,o,!a.length),l.length=l.area=0);r.forEach(e)}}function r(n,t){for(var e,r=n.area,i=0,u=1/0,o=-1,a=n.length;++oe&&(u=e),e>i&&(i=e));return r*=r,t*=t,r?Math.max(t*i*g/r,r/(t*u*g)):1/0}function i(n,t,e,r){var i,u=-1,o=n.length,a=e.x,c=e.y,f=t?l(n.area/t):0; +if(t==e.dx){for((r||f>e.dy)&&(f=e.dy);++ue.dx)&&(f=e.dx);++ue&&(t=1),1>e&&(n=0),function(){var e,r,i;do e=2*Math.random()-1,r=2*Math.random()-1,i=e*e+r*r;while(!i||i>1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var n=ao.random.normal.apply(ao,arguments);return function(){return Math.exp(n())}},bates:function(n){var t=ao.random.irwinHall(n);return function(){return t()/n}},irwinHall:function(n){return function(){for(var t=0,e=0;n>e;e++)t+=Math.random();return t}}},ao.scale={};var Sl={floor:m,ceil:m};ao.scale.linear=function(){return Wi([0,1],[0,1],Mr,!1)};var kl={s:1,g:1,p:1,r:1,e:1};ao.scale.log=function(){return ru(ao.scale.linear().domain([0,1]),10,!0,[1,10])};var Nl=ao.format(".0e"),El={floor:function(n){return-Math.ceil(-n)},ceil:function(n){return-Math.floor(-n)}};ao.scale.pow=function(){return iu(ao.scale.linear(),1,[0,1])},ao.scale.sqrt=function(){return ao.scale.pow().exponent(.5)},ao.scale.ordinal=function(){return ou([],{t:"range",a:[[]]})},ao.scale.category10=function(){return ao.scale.ordinal().range(Al)},ao.scale.category20=function(){return ao.scale.ordinal().range(Cl)},ao.scale.category20b=function(){return ao.scale.ordinal().range(zl)},ao.scale.category20c=function(){return ao.scale.ordinal().range(Ll)};var Al=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(xn),Cl=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(xn),zl=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(xn),Ll=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(xn);ao.scale.quantile=function(){return au([],[])},ao.scale.quantize=function(){return lu(0,1,[0,1])},ao.scale.threshold=function(){return cu([.5],[0,1])},ao.scale.identity=function(){return fu([0,1])},ao.svg={},ao.svg.arc=function(){function n(){var n=Math.max(0,+e.apply(this,arguments)),c=Math.max(0,+r.apply(this,arguments)),f=o.apply(this,arguments)-Io,s=a.apply(this,arguments)-Io,h=Math.abs(s-f),p=f>s?0:1;if(n>c&&(g=c,c=n,n=g),h>=Oo)return t(c,p)+(n?t(n,1-p):"")+"Z";var g,v,d,y,m,M,x,b,_,w,S,k,N=0,E=0,A=[];if((y=(+l.apply(this,arguments)||0)/2)&&(d=u===ql?Math.sqrt(n*n+c*c):+u.apply(this,arguments),p||(E*=-1),c&&(E=tn(d/c*Math.sin(y))),n&&(N=tn(d/n*Math.sin(y)))),c){m=c*Math.cos(f+E),M=c*Math.sin(f+E),x=c*Math.cos(s-E),b=c*Math.sin(s-E);var C=Math.abs(s-f-2*E)<=Fo?0:1;if(E&&yu(m,M,x,b)===p^C){var z=(f+s)/2;m=c*Math.cos(z),M=c*Math.sin(z),x=b=null}}else m=M=0;if(n){_=n*Math.cos(s-N),w=n*Math.sin(s-N),S=n*Math.cos(f+N),k=n*Math.sin(f+N);var L=Math.abs(f-s+2*N)<=Fo?0:1;if(N&&yu(_,w,S,k)===1-p^L){var q=(f+s)/2;_=n*Math.cos(q),w=n*Math.sin(q),S=k=null}}else _=w=0;if(h>Uo&&(g=Math.min(Math.abs(c-n)/2,+i.apply(this,arguments)))>.001){v=c>n^p?0:1;var T=g,R=g;if(Fo>h){var D=null==S?[_,w]:null==x?[m,M]:Re([m,M],[S,k],[x,b],[_,w]),P=m-D[0],U=M-D[1],j=x-D[0],F=b-D[1],H=1/Math.sin(Math.acos((P*j+U*F)/(Math.sqrt(P*P+U*U)*Math.sqrt(j*j+F*F)))/2),O=Math.sqrt(D[0]*D[0]+D[1]*D[1]);R=Math.min(g,(n-O)/(H-1)),T=Math.min(g,(c-O)/(H+1))}if(null!=x){var I=mu(null==S?[_,w]:[S,k],[m,M],c,T,p),Y=mu([x,b],[_,w],c,T,p);g===T?A.push("M",I[0],"A",T,",",T," 0 0,",v," ",I[1],"A",c,",",c," 0 ",1-p^yu(I[1][0],I[1][1],Y[1][0],Y[1][1]),",",p," ",Y[1],"A",T,",",T," 0 0,",v," ",Y[0]):A.push("M",I[0],"A",T,",",T," 0 1,",v," ",Y[0])}else A.push("M",m,",",M);if(null!=S){var Z=mu([m,M],[S,k],n,-R,p),V=mu([_,w],null==x?[m,M]:[x,b],n,-R,p);g===R?A.push("L",V[0],"A",R,",",R," 0 0,",v," ",V[1],"A",n,",",n," 0 ",p^yu(V[1][0],V[1][1],Z[1][0],Z[1][1]),",",1-p," ",Z[1],"A",R,",",R," 0 0,",v," ",Z[0]):A.push("L",V[0],"A",R,",",R," 0 0,",v," ",Z[0])}else A.push("L",_,",",w)}else A.push("M",m,",",M),null!=x&&A.push("A",c,",",c," 0 ",C,",",p," ",x,",",b),A.push("L",_,",",w),null!=S&&A.push("A",n,",",n," 0 ",L,",",1-p," ",S,",",k);return A.push("Z"),A.join("")}function t(n,t){return"M0,"+n+"A"+n+","+n+" 0 1,"+t+" 0,"+-n+"A"+n+","+n+" 0 1,"+t+" 0,"+n}var e=hu,r=pu,i=su,u=ql,o=gu,a=vu,l=du;return n.innerRadius=function(t){return arguments.length?(e=En(t),n):e},n.outerRadius=function(t){return arguments.length?(r=En(t),n):r},n.cornerRadius=function(t){return arguments.length?(i=En(t),n):i},n.padRadius=function(t){return arguments.length?(u=t==ql?ql:En(t),n):u},n.startAngle=function(t){return arguments.length?(o=En(t),n):o},n.endAngle=function(t){return arguments.length?(a=En(t),n):a},n.padAngle=function(t){return arguments.length?(l=En(t),n):l},n.centroid=function(){var n=(+e.apply(this,arguments)+ +r.apply(this,arguments))/2,t=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-Io;return[Math.cos(t)*n,Math.sin(t)*n]},n};var ql="auto";ao.svg.line=function(){return Mu(m)};var Tl=ao.map({linear:xu,"linear-closed":bu,step:_u,"step-before":wu,"step-after":Su,basis:zu,"basis-open":Lu,"basis-closed":qu,bundle:Tu,cardinal:Eu,"cardinal-open":ku,"cardinal-closed":Nu,monotone:Fu});Tl.forEach(function(n,t){t.key=n,t.closed=/-closed$/.test(n)});var Rl=[0,2/3,1/3,0],Dl=[0,1/3,2/3,0],Pl=[0,1/6,2/3,1/6];ao.svg.line.radial=function(){var n=Mu(Hu);return n.radius=n.x,delete n.x,n.angle=n.y,delete n.y,n},wu.reverse=Su,Su.reverse=wu,ao.svg.area=function(){return Ou(m)},ao.svg.area.radial=function(){var n=Ou(Hu);return n.radius=n.x,delete n.x,n.innerRadius=n.x0,delete n.x0,n.outerRadius=n.x1,delete n.x1,n.angle=n.y,delete n.y,n.startAngle=n.y0,delete n.y0,n.endAngle=n.y1,delete n.y1,n},ao.svg.chord=function(){function n(n,a){var l=t(this,u,n,a),c=t(this,o,n,a);return"M"+l.p0+r(l.r,l.p1,l.a1-l.a0)+(e(l,c)?i(l.r,l.p1,l.r,l.p0):i(l.r,l.p1,c.r,c.p0)+r(c.r,c.p1,c.a1-c.a0)+i(c.r,c.p1,l.r,l.p0))+"Z"}function t(n,t,e,r){var i=t.call(n,e,r),u=a.call(n,i,r),o=l.call(n,i,r)-Io,f=c.call(n,i,r)-Io;return{r:u,a0:o,a1:f,p0:[u*Math.cos(o),u*Math.sin(o)],p1:[u*Math.cos(f),u*Math.sin(f)]}}function e(n,t){return n.a0==t.a0&&n.a1==t.a1}function r(n,t,e){return"A"+n+","+n+" 0 "+ +(e>Fo)+",1 "+t}function i(n,t,e,r){return"Q 0,0 "+r}var u=Me,o=xe,a=Iu,l=gu,c=vu;return n.radius=function(t){return arguments.length?(a=En(t),n):a},n.source=function(t){return arguments.length?(u=En(t),n):u},n.target=function(t){return arguments.length?(o=En(t),n):o},n.startAngle=function(t){return arguments.length?(l=En(t),n):l},n.endAngle=function(t){return arguments.length?(c=En(t),n):c},n},ao.svg.diagonal=function(){function n(n,i){var u=t.call(this,n,i),o=e.call(this,n,i),a=(u.y+o.y)/2,l=[u,{x:u.x,y:a},{x:o.x,y:a},o];return l=l.map(r),"M"+l[0]+"C"+l[1]+" "+l[2]+" "+l[3]}var t=Me,e=xe,r=Yu;return n.source=function(e){return arguments.length?(t=En(e),n):t},n.target=function(t){return arguments.length?(e=En(t),n):e},n.projection=function(t){return arguments.length?(r=t,n):r},n},ao.svg.diagonal.radial=function(){var n=ao.svg.diagonal(),t=Yu,e=n.projection;return n.projection=function(n){return arguments.length?e(Zu(t=n)):t},n},ao.svg.symbol=function(){function n(n,r){return(Ul.get(t.call(this,n,r))||$u)(e.call(this,n,r))}var t=Xu,e=Vu;return n.type=function(e){return arguments.length?(t=En(e),n):t},n.size=function(t){return arguments.length?(e=En(t),n):e},n};var Ul=ao.map({circle:$u,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*Fl)),e=t*Fl;return"M0,"+-t+"L"+e+",0 0,"+t+" "+-e+",0Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}});ao.svg.symbolTypes=Ul.keys();var jl=Math.sqrt(3),Fl=Math.tan(30*Yo);Co.transition=function(n){for(var t,e,r=Hl||++Zl,i=Ku(n),u=[],o=Ol||{time:Date.now(),ease:Nr,delay:0,duration:250},a=-1,l=this.length;++au;u++){i.push(t=[]);for(var e=this[u],a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return Wu(i,this.namespace,this.id)},Yl.tween=function(n,t){var e=this.id,r=this.namespace;return arguments.length<2?this.node()[r][e].tween.get(n):Y(this,null==t?function(t){t[r][e].tween.remove(n)}:function(i){i[r][e].tween.set(n,t)})},Yl.attr=function(n,t){function e(){this.removeAttribute(a)}function r(){this.removeAttributeNS(a.space,a.local)}function i(n){return null==n?e:(n+="",function(){var t,e=this.getAttribute(a);return e!==n&&(t=o(e,n),function(n){this.setAttribute(a,t(n))})})}function u(n){return null==n?r:(n+="",function(){var t,e=this.getAttributeNS(a.space,a.local);return e!==n&&(t=o(e,n),function(n){this.setAttributeNS(a.space,a.local,t(n))})})}if(arguments.length<2){for(t in n)this.attr(t,n[t]);return this}var o="transform"==n?$r:Mr,a=ao.ns.qualify(n);return Ju(this,"attr."+n,t,a.local?u:i)},Yl.attrTween=function(n,t){function e(n,e){var r=t.call(this,n,e,this.getAttribute(i));return r&&function(n){this.setAttribute(i,r(n))}}function r(n,e){var r=t.call(this,n,e,this.getAttributeNS(i.space,i.local));return r&&function(n){this.setAttributeNS(i.space,i.local,r(n))}}var i=ao.ns.qualify(n);return this.tween("attr."+n,i.local?r:e)},Yl.style=function(n,e,r){function i(){this.style.removeProperty(n)}function u(e){return null==e?i:(e+="",function(){var i,u=t(this).getComputedStyle(this,null).getPropertyValue(n);return u!==e&&(i=Mr(u,e),function(t){this.style.setProperty(n,i(t),r)})})}var o=arguments.length;if(3>o){if("string"!=typeof n){2>o&&(e="");for(r in n)this.style(r,n[r],e);return this}r=""}return Ju(this,"style."+n,e,u)},Yl.styleTween=function(n,e,r){function i(i,u){var o=e.call(this,i,u,t(this).getComputedStyle(this,null).getPropertyValue(n));return o&&function(t){this.style.setProperty(n,o(t),r)}}return arguments.length<3&&(r=""),this.tween("style."+n,i)},Yl.text=function(n){return Ju(this,"text",n,Gu)},Yl.remove=function(){var n=this.namespace;return this.each("end.transition",function(){var t;this[n].count<2&&(t=this.parentNode)&&t.removeChild(this)})},Yl.ease=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].ease:("function"!=typeof n&&(n=ao.ease.apply(ao,arguments)),Y(this,function(r){r[e][t].ease=n}))},Yl.delay=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].delay:Y(this,"function"==typeof n?function(r,i,u){r[e][t].delay=+n.call(r,r.__data__,i,u)}:(n=+n,function(r){r[e][t].delay=n}))},Yl.duration=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].duration:Y(this,"function"==typeof n?function(r,i,u){r[e][t].duration=Math.max(1,n.call(r,r.__data__,i,u))}:(n=Math.max(1,n),function(r){r[e][t].duration=n}))},Yl.each=function(n,t){var e=this.id,r=this.namespace;if(arguments.length<2){var i=Ol,u=Hl;try{Hl=e,Y(this,function(t,i,u){Ol=t[r][e],n.call(t,t.__data__,i,u)})}finally{Ol=i,Hl=u}}else Y(this,function(i){var u=i[r][e];(u.event||(u.event=ao.dispatch("start","end","interrupt"))).on(n,t)});return this},Yl.transition=function(){for(var n,t,e,r,i=this.id,u=++Zl,o=this.namespace,a=[],l=0,c=this.length;c>l;l++){a.push(n=[]);for(var t=this[l],f=0,s=t.length;s>f;f++)(e=t[f])&&(r=e[o][i],Qu(e,f,o,u,{time:r.time,ease:r.ease,delay:r.delay+r.duration,duration:r.duration})),n.push(e)}return Wu(a,o,u)},ao.svg.axis=function(){function n(n){n.each(function(){var n,c=ao.select(this),f=this.__chart__||e,s=this.__chart__=e.copy(),h=null==l?s.ticks?s.ticks.apply(s,a):s.domain():l,p=null==t?s.tickFormat?s.tickFormat.apply(s,a):m:t,g=c.selectAll(".tick").data(h,s),v=g.enter().insert("g",".domain").attr("class","tick").style("opacity",Uo),d=ao.transition(g.exit()).style("opacity",Uo).remove(),y=ao.transition(g.order()).style("opacity",1),M=Math.max(i,0)+o,x=Zi(s),b=c.selectAll(".domain").data([0]),_=(b.enter().append("path").attr("class","domain"),ao.transition(b));v.append("line"),v.append("text");var w,S,k,N,E=v.select("line"),A=y.select("line"),C=g.select("text").text(p),z=v.select("text"),L=y.select("text"),q="top"===r||"left"===r?-1:1;if("bottom"===r||"top"===r?(n=no,w="x",k="y",S="x2",N="y2",C.attr("dy",0>q?"0em":".71em").style("text-anchor","middle"),_.attr("d","M"+x[0]+","+q*u+"V0H"+x[1]+"V"+q*u)):(n=to,w="y",k="x",S="y2",N="x2",C.attr("dy",".32em").style("text-anchor",0>q?"end":"start"),_.attr("d","M"+q*u+","+x[0]+"H0V"+x[1]+"H"+q*u)),E.attr(N,q*i),z.attr(k,q*M),A.attr(S,0).attr(N,q*i),L.attr(w,0).attr(k,q*M),s.rangeBand){var T=s,R=T.rangeBand()/2;f=s=function(n){return T(n)+R}}else f.rangeBand?f=s:d.call(n,s,f);v.call(n,f,s),y.call(n,s,s)})}var t,e=ao.scale.linear(),r=Vl,i=6,u=6,o=3,a=[10],l=null;return n.scale=function(t){return arguments.length?(e=t,n):e},n.orient=function(t){return arguments.length?(r=t in Xl?t+"":Vl,n):r},n.ticks=function(){return arguments.length?(a=co(arguments),n):a},n.tickValues=function(t){return arguments.length?(l=t,n):l},n.tickFormat=function(e){return arguments.length?(t=e,n):t},n.tickSize=function(t){var e=arguments.length;return e?(i=+t,u=+arguments[e-1],n):i},n.innerTickSize=function(t){return arguments.length?(i=+t,n):i},n.outerTickSize=function(t){return arguments.length?(u=+t,n):u},n.tickPadding=function(t){return arguments.length?(o=+t,n):o},n.tickSubdivide=function(){return arguments.length&&n},n};var Vl="bottom",Xl={top:1,right:1,bottom:1,left:1};ao.svg.brush=function(){function n(t){t.each(function(){var t=ao.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",u).on("touchstart.brush",u),o=t.selectAll(".background").data([0]);o.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),t.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var a=t.selectAll(".resize").data(v,m);a.exit().remove(),a.enter().append("g").attr("class",function(n){return"resize "+n}).style("cursor",function(n){return $l[n]}).append("rect").attr("x",function(n){return/[ew]$/.test(n)?-3:null}).attr("y",function(n){return/^[ns]/.test(n)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),a.style("display",n.empty()?"none":null);var l,s=ao.transition(t),h=ao.transition(o);c&&(l=Zi(c),h.attr("x",l[0]).attr("width",l[1]-l[0]),r(s)),f&&(l=Zi(f),h.attr("y",l[0]).attr("height",l[1]-l[0]),i(s)),e(s)})}function e(n){n.selectAll(".resize").attr("transform",function(n){return"translate("+s[+/e$/.test(n)]+","+h[+/^s/.test(n)]+")"})}function r(n){n.select(".extent").attr("x",s[0]),n.selectAll(".extent,.n>rect,.s>rect").attr("width",s[1]-s[0])}function i(n){n.select(".extent").attr("y",h[0]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",h[1]-h[0])}function u(){function u(){32==ao.event.keyCode&&(C||(M=null,L[0]-=s[1],L[1]-=h[1],C=2),S())}function v(){32==ao.event.keyCode&&2==C&&(L[0]+=s[1],L[1]+=h[1],C=0,S())}function d(){var n=ao.mouse(b),t=!1;x&&(n[0]+=x[0],n[1]+=x[1]),C||(ao.event.altKey?(M||(M=[(s[0]+s[1])/2,(h[0]+h[1])/2]),L[0]=s[+(n[0]f?(i=r,r=f):i=f),v[0]!=r||v[1]!=i?(e?a=null:o=null,v[0]=r,v[1]=i,!0):void 0}function m(){d(),k.style("pointer-events","all").selectAll(".resize").style("display",n.empty()?"none":null),ao.select("body").style("cursor",null),q.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),z(),w({type:"brushend"})}var M,x,b=this,_=ao.select(ao.event.target),w=l.of(b,arguments),k=ao.select(b),N=_.datum(),E=!/^(n|s)$/.test(N)&&c,A=!/^(e|w)$/.test(N)&&f,C=_.classed("extent"),z=W(b),L=ao.mouse(b),q=ao.select(t(b)).on("keydown.brush",u).on("keyup.brush",v);if(ao.event.changedTouches?q.on("touchmove.brush",d).on("touchend.brush",m):q.on("mousemove.brush",d).on("mouseup.brush",m),k.interrupt().selectAll("*").interrupt(),C)L[0]=s[0]-L[0],L[1]=h[0]-L[1];else if(N){var T=+/w$/.test(N),R=+/^n/.test(N);x=[s[1-T]-L[0],h[1-R]-L[1]],L[0]=s[T],L[1]=h[R]}else ao.event.altKey&&(M=L.slice());k.style("pointer-events","none").selectAll(".resize").style("display",null),ao.select("body").style("cursor",_.style("cursor")),w({type:"brushstart"}),d()}var o,a,l=N(n,"brushstart","brush","brushend"),c=null,f=null,s=[0,0],h=[0,0],p=!0,g=!0,v=Bl[0];return n.event=function(n){n.each(function(){var n=l.of(this,arguments),t={x:s,y:h,i:o,j:a},e=this.__chart__||t;this.__chart__=t,Hl?ao.select(this).transition().each("start.brush",function(){o=e.i,a=e.j,s=e.x,h=e.y,n({type:"brushstart"})}).tween("brush:brush",function(){var e=xr(s,t.x),r=xr(h,t.y);return o=a=null,function(i){s=t.x=e(i),h=t.y=r(i),n({type:"brush",mode:"resize"})}}).each("end.brush",function(){o=t.i,a=t.j,n({type:"brush",mode:"resize"}),n({type:"brushend"})}):(n({type:"brushstart"}),n({type:"brush",mode:"resize"}),n({type:"brushend"}))})},n.x=function(t){return arguments.length?(c=t,v=Bl[!c<<1|!f],n):c},n.y=function(t){return arguments.length?(f=t,v=Bl[!c<<1|!f],n):f},n.clamp=function(t){return arguments.length?(c&&f?(p=!!t[0],g=!!t[1]):c?p=!!t:f&&(g=!!t),n):c&&f?[p,g]:c?p:f?g:null},n.extent=function(t){var e,r,i,u,l;return arguments.length?(c&&(e=t[0],r=t[1],f&&(e=e[0],r=r[0]),o=[e,r],c.invert&&(e=c(e),r=c(r)),e>r&&(l=e,e=r,r=l),e==s[0]&&r==s[1]||(s=[e,r])),f&&(i=t[0],u=t[1],c&&(i=i[1],u=u[1]),a=[i,u],f.invert&&(i=f(i),u=f(u)),i>u&&(l=i,i=u,u=l),i==h[0]&&u==h[1]||(h=[i,u])),n):(c&&(o?(e=o[0],r=o[1]):(e=s[0],r=s[1],c.invert&&(e=c.invert(e),r=c.invert(r)),e>r&&(l=e,e=r,r=l))),f&&(a?(i=a[0],u=a[1]):(i=h[0],u=h[1],f.invert&&(i=f.invert(i),u=f.invert(u)),i>u&&(l=i,i=u,u=l))),c&&f?[[e,i],[r,u]]:c?[e,r]:f&&[i,u])},n.clear=function(){return n.empty()||(s=[0,0],h=[0,0],o=a=null),n},n.empty=function(){return!!c&&s[0]==s[1]||!!f&&h[0]==h[1]},ao.rebind(n,l,"on")};var $l={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Bl=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Wl=ga.format=xa.timeFormat,Jl=Wl.utc,Gl=Jl("%Y-%m-%dT%H:%M:%S.%LZ");Wl.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?eo:Gl,eo.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},eo.toString=Gl.toString,ga.second=On(function(n){return new va(1e3*Math.floor(n/1e3))},function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))},function(n){return n.getSeconds()}),ga.seconds=ga.second.range,ga.seconds.utc=ga.second.utc.range,ga.minute=On(function(n){return new va(6e4*Math.floor(n/6e4))},function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))},function(n){return n.getMinutes()}),ga.minutes=ga.minute.range,ga.minutes.utc=ga.minute.utc.range,ga.hour=On(function(n){var t=n.getTimezoneOffset()/60;return new va(36e5*(Math.floor(n/36e5-t)+t))},function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))},function(n){return n.getHours()}),ga.hours=ga.hour.range,ga.hours.utc=ga.hour.utc.range,ga.month=On(function(n){return n=ga.day(n),n.setDate(1),n},function(n,t){n.setMonth(n.getMonth()+t)},function(n){return n.getMonth()}),ga.months=ga.month.range,ga.months.utc=ga.month.utc.range;var Kl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Ql=[[ga.second,1],[ga.second,5],[ga.second,15],[ga.second,30],[ga.minute,1],[ga.minute,5],[ga.minute,15],[ga.minute,30],[ga.hour,1],[ga.hour,3],[ga.hour,6],[ga.hour,12],[ga.day,1],[ga.day,2],[ga.week,1],[ga.month,1],[ga.month,3],[ga.year,1]],nc=Wl.multi([[".%L",function(n){return n.getMilliseconds()}],[":%S",function(n){return n.getSeconds()}],["%I:%M",function(n){return n.getMinutes()}],["%I %p",function(n){return n.getHours()}],["%a %d",function(n){return n.getDay()&&1!=n.getDate()}],["%b %d",function(n){return 1!=n.getDate()}],["%B",function(n){return n.getMonth()}],["%Y",zt]]),tc={range:function(n,t,e){return ao.range(Math.ceil(n/e)*e,+t,e).map(io)},floor:m,ceil:m};Ql.year=ga.year,ga.scale=function(){return ro(ao.scale.linear(),Ql,nc)};var ec=Ql.map(function(n){return[n[0].utc,n[1]]}),rc=Jl.multi([[".%L",function(n){return n.getUTCMilliseconds()}],[":%S",function(n){return n.getUTCSeconds()}],["%I:%M",function(n){return n.getUTCMinutes()}],["%I %p",function(n){return n.getUTCHours()}],["%a %d",function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],["%b %d",function(n){return 1!=n.getUTCDate()}],["%B",function(n){return n.getUTCMonth()}],["%Y",zt]]);ec.year=ga.year.utc,ga.scale.utc=function(){return ro(ao.scale.linear(),ec,rc)},ao.text=An(function(n){return n.responseText}),ao.json=function(n,t){return Cn(n,"application/json",uo,t)},ao.html=function(n,t){return Cn(n,"text/html",oo,t)},ao.xml=An(function(n){return n.responseXML}),"function"==typeof define&&define.amd?(this.d3=ao,define(ao)):"object"==typeof module&&module.exports?module.exports=ao:this.d3=ao}(); \ No newline at end of file diff --git a/dist/ontology/0.5.0/webvowl/js/webvowl.app.js b/dist/ontology/0.5.0/webvowl/js/webvowl.app.js new file mode 100644 index 0000000..54d398d --- /dev/null +++ b/dist/ontology/0.5.0/webvowl/js/webvowl.app.js @@ -0,0 +1,3 @@ +webvowl.app=function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}({0:function(e,t,n){n(314),n(316),e.exports=n(317)},6:function(e,t){e.exports=d3},86:function(e,t,n){function o(e){return null==e?void 0===e?s:l:c&&c in Object(e)?a(e):r(e)}var i=n(87),a=n(90),r=n(91),l="[object Null]",s="[object Undefined]",c=i?i.toStringTag:void 0;e.exports=o},87:function(e,t,n){var o=n(88),i=o.Symbol;e.exports=i},88:function(e,t,n){var o=n(89),i="object"==typeof self&&self&&self.Object===Object&&self,a=o||i||Function("return this")();e.exports=a},89:function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},90:function(e,t,n){function o(e){var t=r.call(e,s),n=e[s];try{e[s]=void 0;var o=!0}catch(e){}var i=l.call(e);return o&&(t?e[s]=n:delete e[s]),i}var i=n(87),a=Object.prototype,r=a.hasOwnProperty,l=a.toString,s=i?i.toStringTag:void 0;e.exports=o},91:function(e,t){function n(e){return i.call(e)}var o=Object.prototype,i=o.toString;e.exports=n},98:function(e,t,n){function o(e){return"symbol"==typeof e||a(e)&&i(e)==r}var i=n(86),a=n(99),r="[object Symbol]";e.exports=o},99:function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},107:function(e,t){var n=Array.isArray;e.exports=n},149:function(e,t){function n(e,t){for(var n=-1,o=null==e?0:e.length,i=Array(o);++n0?(f.classed("hidden",!1),h.classed("hidden",!1),b.updateScrollButtonVisibility()):(f.classed("hidden",!0),h.classed("hidden",!0))}function i(){var e=window.innerHeight-40,n=e,o=e-30,i=150;if(n<150)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").classed("hidden",!0),t.select("#zoomInButton").classed("hidden",!0),void t.select("#centerGraphButton").classed("hidden",!0);t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").classed("hidden",!1),t.select("#zoomInButton").classed("hidden",!1),t.select("#centerGraphButton").classed("hidden",!1);var a=o-20,r=a-20;if(n<280)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",a+"px"),void t.select("#centerGraphButton").style("top",r+"px");var l=o-i;a=l-20,r=a-20,t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",a+"px"),t.select("#centerGraphButton").style("top",r+"px"),t.select("#zoomSliderParagraph").style("top",l+"px")}function a(){var e,t,n=-1,o=/(?:\b(MS)?IE\s+|\bTrident\/7\.0;.*\s+rv:|\bEdge\/)(\d+)/.test(navigator.userAgent);if(o)return n=parseInt("12");var i=/Trident.*rv[ :]*11\./.test(navigator.userAgent);return i?n=parseInt("11"):("Microsoft Internet Explorer"===navigator.appName?(e=navigator.userAgent,t=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))):"Netscape"===navigator.appName&&(e=navigator.userAgent,t=new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))),n)}var r={},l=webvowl.graph(),s=l.graphOptions(),c=webvowl.util.languageTools(),d="#graph",u=n(318)(l),p=n(319)(l),h=n(320)(l),f=n(321)(l),g=n(322)(l),v=n(326)(l),m=n(327)(l),y=n(328)(l),b=n(329)(l),x=n(330)(l),w=n(331)(l),S=n(332)(l),k=n(333)(l),C=webvowl.modules.colorExternalsSwitch(l),L=webvowl.modules.compactNotationSwitch(l),M=webvowl.modules.datatypeFilter(),O=webvowl.modules.disjointFilter(),A=webvowl.modules.focuser(),E=webvowl.modules.emptyLiteralFilter(),_=webvowl.modules.nodeDegreeFilter(p),F=webvowl.modules.nodeScalingSwitch(l),B=webvowl.modules.objectPropertyFilter(),D=webvowl.modules.pickAndPin(),I=webvowl.modules.selectionDetailsDisplayer(w.updateSelectionInformation),T=webvowl.modules.statistics(),P=webvowl.modules.subclassFilter(),V=webvowl.modules.setOperatorFilter();return r.initialize=function(){window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)},window.cancelAnimationFrame=window.cancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)},s.graphContainerSelector(d),s.selectionModules().push(A),s.selectionModules().push(I),s.selectionModules().push(D),s.filterModules().push(E),s.filterModules().push(T),s.filterModules().push(M),s.filterModules().push(B),s.filterModules().push(P),s.filterModules().push(O),s.filterModules().push(V),s.filterModules().push(F),s.filterModules().push(_),s.filterModules().push(L),s.filterModules().push(C),t.select(window).on("resize",o),u.setup(),h.setup(),p.setup(M,B,P,O,V,_),f.setup(D,F,L,C),v.setup(),w.setup(),k.setup();var n=a();if(n>0&&n<=11)console.log("Agent version "+n),console.log("This agent is not supported"),t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!0),t.select("#optionsArea").classed("hidden",!0),t.select("#logo").classed("hidden",!0);else{t.select("#logo").classed("hidden",!1),12===n?(t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!1)):t.select("#browserCheck").classed("hidden",!0),m.setup([h,p,f,A,I,v]),y.setup(),b.setup(),x.setup(),s.literalFilter(E),s.loadingModule(k),s.filterMenu(p),s.modeMenu(f),s.gravityMenu(h),s.pausedMenu(v),s.pickAndPinModule(D),s.resetMenu(m),s.searchMenu(y),s.ontologyMenu(g),s.navigationMenu(b),s.sidebar(w),s.exportMenu(u),s.graphObject(l),s.zoomSlider(x),g.setup(e),S.setup(),l.start(),o();var i,r=l.options().width(),c=l.options().height();i=Math.min(r,c)/1e3,l.setDefaultZoom(i);var R=t.select("body");t.select(document).on("keydown",function(e){8===t.event.keyCode&&t.event.target===R.node()&&t.event.preventDefault()}),k.parseUrlAndLoadOntology()}},r}}).call(t,n(6))},318:function(e,t,n){(function(t){e.exports=function(e){function n(){t.select("#exportedUrl").node().focus(),t.select("#exportedUrl").node().select(),document.execCommand("copy"),e.options().navigationMenu().hideAllMenus()}function o(e,t){var n=0,o="opts=";for(var i in e)if(e.hasOwnProperty(i)){var a=e[i],r=t[i];a!==r&&(o+=i+"="+r+";",n++)}return o+="",0===n?"":o}function i(){e.options().navigationMenu().hideAllMenus();var n,o,i,l=t.select(e.options().graphContainerSelector()).select("svg");r(),d(),n=l.attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML,n="\n"+n,o=a(n),i="data:image/svg+xml;base64,"+btoa(o),f.attr("href",i).attr("download",g+".svg"),u(),p()}function a(e){var t,n,o,i=[],a=e.length;for(t=0;t0){var p,h=c.split("#");for(h[1].indexOf("opts=")>=0?(h[1]=s,d=h[0]):(d=h[0]+"#",d+=s),p=1;p0&&(d+="#"+h[p])}r=t.select("#exportedUrl").node(),r.value=d,r.focus(),r.select(),r.title=d},b}}).call(t,n(6))},319:function(e,t,n){(function(t){e.exports=function(e){function n(n,o,i,a){var r,l;r=t.select(a).append("div").classed("checkboxContainer",!0),l=r.append("input").classed("filterCheckbox",!0).attr("id",o+"FilterCheckbox").attr("type","checkbox").property("checked",n.enabled()),d.push({checkbox:l,defaultState:n.enabled()}),l.on("click",function(t){var o=l.property("checked");n.enabled(o),t!==!0&&e.update()}),r.append("label").attr("for",o+"FilterCheckbox").text(i)}function o(t,n){t.setMaxDegreeSetter(function(e){s.attr("max",e),a(s,Math.min(e,s.property("value")))}),t.setDegreeGetter(function(){return+s.property("value")}),t.setDegreeSetter(function(e){a(s,e)});var o,r;o=n.append("div").classed("distanceSliderContainer",!0),s=o.append("input").attr("id","nodeDegreeDistanceSlider").attr("type","range").attr("min",0).attr("step",1),o.append("label").classed("description",!0).attr("for","nodeDegreeDistanceSlider").text("Degree of collapsing"),r=o.append("label").classed("value",!0).attr("for","nodeDegreeDistanceSlider").text(0),s.on("change",function(t){t!==!0&&(e.update(),l=s.property("value"))}),s.on("input",function(){var e=s.property("value");r.text(e)}),s.on("wheel",i),s.on("focusout",function(){s.property("value")!==l&&e.update()})}function i(){var n,o=t.event;o.deltaY<0&&(n=1),o.deltaY>0&&(n=-1);var i=parseInt(s.property("value")),a=i+n;i!==a&&(s.property("value",a),s.on("input")(),e.update()),t.event.preventDefault()}function a(e,t){e.property("value",t).on("input")()}function r(){u.node().addEventListener("animationend",function(){u.classed("buttonPulse",!1),u.classed("filterMenuButtonHighlight",!0)})}var l,s,c={},d=[],u=(t.select("#m_filter"),t.select("#c_filter a")),p=t.select("#nodeDegreeFilteringOption"),h=0;return c.setDefaultDegreeValue=function(e){h=e},c.getDefaultDegreeValue=function(){return h},c.getGraphObject=function(){return e},c.getCheckBoxContainer=function(){return d},c.getDegreeSliderValue=function(){return s.property("value")},c.setup=function(t,i,a,l,s,d){u.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),u.on("mouseleave",function(){c.highlightForDegreeSlider(!1)}),n(t,"datatype","Datatype properties","#datatypeFilteringOption"),n(i,"objectProperty","Object properties","#objectPropertyFilteringOption"),n(a,"subclass","Solitary subclasses","#subclassFilteringOption"),n(l,"disjoint","Class disjointness","#disjointFilteringOption"),n(s,"setoperator","Set operators","#setOperatorFilteringOption"),o(d,p),r()},c.reset=function(){d.forEach(function(e){var t=e.checkbox,n=e.defaultState,o=t.property("checked");o!==n&&(t.property("checked",n),t.on("click")())}),a(s,0),s.on("change")()},c.killButtonAnimation=function(){u.classed("buttonPulse",!1),u.classed("filterMenuButtonHighlight",!1)},c.highlightForDegreeSlider=function(e){if(arguments.length||(e=!0),u.classed("highlighted",e),p.classed("highlighted",e),u.classed("buttonPulse")===!0&&e===!0){u.classed("buttonPulse",!1);var t=setTimeout(function(){u.classed("buttonPulse",e),clearTimeout(t)},100)}else u.classed("buttonPulse",e),u.classed("filterMenuButtonHighlight",e)},c.setCheckBoxValue=function(e,t){for(var n=0;n0?c.highlightForDegreeSlider(!0):c.highlightForDegreeSlider(!1),d.forEach(function(t){var n=t.checkbox;n.on("click")(e)}),s.on("input")(),s.on("change")(e)},c}}).call(t,n(6))},320:function(e,t,n){(function(t){e.exports=function(e){function n(n,i,r,l){var s,c,d=l();s=t.select(n).append("div").datum({distanceFunction:l}).classed("distanceSliderContainer",!0);var u=s.append("input").attr("id",i+"DistanceSlider").attr("type","range").attr("min",10).attr("max",600).attr("value",l()).attr("step",10);s.append("label").classed("description",!0).attr("for",i+"DistanceSlider").text(r),c=s.append("label").classed("value",!0).attr("for",i+"DistanceSlider").text(l()),a.push(u),u.on("focusout",function(){e.updateStyle()}),u.on("input",function(){var t=u.property("value");l(t),o(d),c.text(t),e.updateStyle()}),u.on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=10),n.deltaY>0&&(e=-10);var o=parseInt(u.property("value")),i=o+e;i!==o&&(u.property("value",i),l(i),u.on("input")()),t.event.preventDefault()})}function o(e){var t=Math.max(r.classDistance(),r.datatypeDistance()),n=t/e,o=l*n;r.charge(o)}var i={},a=[],r=e.graphOptions(),l=r.charge();return i.setup=function(){var o=t.select("#m_gravity");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("#classSliderOption","class","Class distance",r.classDistance),n("#datatypeSliderOption","datatype","Datatype distance",r.datatypeDistance)},i.reset=function(){a.forEach(function(e){e.property("value",function(e){return e.distanceFunction()}),e.on("input")()})},i}}).call(t,n(6))},321:function(e,t,n){(function(t){e.exports=function(e){function n(n,o,i,a,r){var l=t.select(i).append("div").classed("checkboxContainer",!0),c=l.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",a());c.on("click",function(n){var o=c.property("checked");a(o),t.select("#maxLabelWidthSliderOption").classed("hidden",!o),r>0&&e.lazyRefresh()}),l.append("label").attr("for",n+"ModuleCheckbox").text(o),s=c}function o(n,o,i,a,r){var l,s;return l=t.select(a).append("div").classed("checkboxContainer",!0).datum({module:n,defaultState:n.enabled()}),s=l.append("input").classed("moduleCheckbox",!0).attr("id",o+"ModuleCheckbox").attr("type","checkbox").property("checked",n.enabled()),p.push(s),s.on("click",function(t,n){var o=s.property("checked");t.module.enabled(o),r&&n!==!0&&e.update()}),l.append("label").attr("for",o+"ModuleCheckbox").text(i),l}function i(t,n){var o=t.append("button").datum({active:!1}).classed("color-mode-switch",!0);return a(o,n),o.on("click",function(t){var i=o.datum();i.active=!i.active,a(o,n),n.enabled()&&t!==!0&&e.update()}),o}function a(e,t){var n=e.datum().active,o=r(n);e.classed("active",n).text(o.text),t&&t.colorModeType(o.type)}function r(e){return e?d:c}var l,s,c={text:"Multicolor",type:"same"},d={text:"Multicolor",type:"gradient"},u={},p=[];return u.colorModeState=function(e){return arguments.length?(l.datum().active=e,u):l.datum().active},u.setDynamicLabelWidth=function(e){s.property("checked",e)},u.getCheckBoxContainer=function(){return p},u.colorModeSwitch=function(){return l},u.setup=function(a,r,s,c){var d=t.select("#m_modes");d.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("labelWidth","Dynamic label width","#dynamicLabelWidth",e.options().dynamicLabelWidth,1),o(a,"pickandpin","Pick & pin","#pickAndPinOption",!1),o(r,"nodescaling","Node scaling","#nodeScalingOption",!0),o(s,"compactnotation","Compact notation","#compactNotationOption",!0);var u=o(c,"colorexternals","Color externals","#colorExternalsOption",!0);l=i(u,c)},u.reset=function(){p.forEach(function(e){var t=e.datum().defaultState,n=e.property("checked");n!==t&&(e.property("checked",t),e.on("click")(e.datum())),e.datum().module.reset()}),l.datum().active=!0,l.on("click")()},u.setCheckBoxValue=function(e,t){for(var n=0;n li > a").attr("href",location.hash||"#")}function i(e){var n=t.select("#bulletPoint_container"),o=n.append("div");o.node().innerHTML=e,O.scrollDownDetails()}function a(e){var n=t.select("#bulletPoint_container"),o=n.node().getElementsByTagName("LI"),i=o.length-1;if(i>=0){var a=o[i].innerHTML;o[i].innerHTML=a+e}O.scrollDownDetails()}function r(e){var n=t.select("#bulletPoint_container"),o=n.append("li");o.node().innerHTML=e,t.select("#currentLoadingStep").node().innerHTML=e,O.scrollDownDetails()}function l(){var e=t.select("#iri-converter-button"),n=t.select("#iri-converter-input");n.on("input",function(){x();var t=""===n.property("value");e.attr("disabled",t||void 0)}).on("click",function(){x()}),t.select("#iri-converter-form").on("submit",function(){for(var e=n.property("value"),o=e.replace(/%20/g," ");o.beginsWith(" ");)o=o.substr(1,o.length);for(;o.endsWith(" ");)o=o.substr(0,o.length-1);e=o;var i=e.toLowerCase();return i.endsWith(".json")?(location.hash="url="+e,n.property("value",""),n.on("input")()):(location.hash="iri="+e,n.property("value",""),n.on("input")()),t.event.preventDefault(),!1})}function s(){var n=t.select("#file-converter-input"),o=t.select("#file-converter-label"),i=t.select("#file-converter-button");n.on("change",function(){var t=n.property("files");t.length<=0?(o.text("Select ontology file"),i.property("disabled",!0)):(o.text(t[0].name),C=t[0].name,i.property("disabled",!1),i.node().click(),e.options().navigationMenu().hideAllMenus())}),i.on("click",function(){var e=n.property("files")[0];if(!e)return!1;var t="file="+e.name;location.hash==="#"+t?O.parseUrlAndLoadOntology():location.hash=t})}function c(e){var n=t.select("#o2vConverterContainer");if(!n.node()){var o=t.select("#bulletPoint_container"),i=o.append("div");n=i.append("ul"),n.attr("id","o2vConverterContainer"),n.style("margin-left","-25px")}for(var a=n.node().children,r=a.length,l=0;l0&&(s=n.append("li"),s.attr("type","disc"),s.node().innerHTML=u.replace(/\n/g,"
    "))}s&&(s.node().innerHTML+="
    "),O.scrollDownDetails()}function d(e,n){t.xhr("loadingStatus?sessionId="+M,"application/text",function(t,o){t&&(console.log("ontologyMenu getLoadingStatusOnceCallBacked throws error"),console.log("---------Error -----------"),console.log(t),console.log("---------Request -----------"),console.log(o)),c(o.responseText),e(n)})}function u(){t.xhr("loadingStatus?sessionId="+M,"application/text",function(e,t){e&&(console.log("ontologyMenu getLoadingStatusTimeLooped throws error"),console.log("---------Error -----------"),console.log(e),console.log("---------Request -----------"),console.log(t)),B===!1&&(c(t.responseText),p())})}function p(){clearTimeout(L),B===!1&&(L=setTimeout(function(){u()},1e3))}function h(e){t.xhr("loadingStatus","application/text",function(t,n){void 0!==n?c(n.responseText+"
    "+e):i(e)})}function f(e){var t=e[2];return t!==M?(console.log("The conversion process for file:"+e[1]+" has been canceled!"),void E.conversionFinished(t)):(O.loadFromOWL2VOWL(e[0],e[1]),void E.conversionFinished())}function g(e){var t=e[2];return t!==M?void console.log("The conversion process for file:"+e[1]+" has been canceled!"):void O.loadFromOWL2VOWL(e[0],e[1])}function v(t){var n=t[0],o=t[1],a=t[2];return a!==M?(console.log("This thread has been canceled!!"),void E.conversionFinished(a)):(h('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void E.conversionFinished())}function m(t){var n=t[0],o=t[1],a=t[2];return a!==M?void console.log("The loading process of JSON_URL has been canceled!"):(null!==n&&500===n.status&&i("Could not find json at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void E.conversionFinished())}function y(e,t,n){B=!1,p();var o=new FormData;o.append("ontology",e),o.append("sessionId",n);var i=new XMLHttpRequest;i.open("POST","convert",!0),i.onload=function(){clearTimeout(L),B=!0,d(b,[i,t,n])},p(),i.send(o)}function b(t){var n=t[0],o=t[1],i=t[2];return i!==M?(console.log("The conversion process for file:"+o+" has been canceled!"),void E.conversionFinished(i)):void(200===n.status?(O.loadFromOWL2VOWL(n.responseText,o),E.conversionFinished()):(h('Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),e.handleOnLoadingError(),E.conversionFinished()))}function x(){function e(){n.style("display",void 0),clearTimeout(k),t.select(window).on("click",void 0).on("keydown",void 0),n.on("mouseover",void 0)}var n=t.select("#select .toolTipMenu");n.on("click",function(){t.event.stopPropagation()}).on("keydown",function(){t.event.stopPropagation()}),n.style("display","block"),clearTimeout(k),k=setTimeout(function(){e()},3e3),t.select(window).on("click",function(){e()}).on("keydown",function(){e()}),n.on("mouseover",function(){e()})}function w(){t.select("#layoutLoadingProgressBarContainer").classed("hidden",!1),_.classed("hidden",!1),F.classed("hidden",!1)}function S(){_.classed("hidden",!0)}var k,C,L,M,O,A,E={},_=t.select("#loading-info"),F=t.select("#loading-progress"),B=!1,D=!1,I={}; +return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},E.getLoadingFunction=function(){return A},E.cachedOntology=function(e){return I[e]},E.setCachedOntology=function(e,t){I[e]=t},E.getErrorStatus=function(){return D},E.setup=function(o){A=o,O=e.options().loadingModule();var i=t.select("#m_select");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),l(),s(),n(),O.setOntologyMenu(E)},E.stopLoadingTimer=function(){B=!0,clearTimeout(L)},E.setIriText=function(e){t.select("#iri-converter-input").node().value=e,t.select("#iri-converter-button").attr("disabled",!1),t.select("#iri-converter-form").on("submit")()},E.clearDetailInformation=function(){for(var e=t.select("#bulletPoint_container"),n=e.node().children,o=n.length,i=0;i",""":'"',"'":"'"},a=o(i);e.exports=a},325:function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},326:function(e,t,n){(function(t){e.exports=function(e){function n(){o(),i()}function o(){a.classed("paused",function(e){return e.paused})}function i(){a.datum().paused?a.text("Resume"):a.text("Pause")}var a,r={};return r.setup=function(){var o=t.select("#pauseOption");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),a=t.select("#pause-button").datum({paused:!1}).on("click",function(t){e.paused(!t.paused),t.paused=!t.paused,n(),a.classed("highlighted",t.paused)}),n()},r.setPauseValue=function(t){a.datum().paused=t,e.paused(t),a.classed("highlighted",t),n()},r.reset=function(){r.setPauseValue(!1)},r}}).call(t,n(6))},327:function(e,t,n){(function(t){e.exports=function(e){function n(){e.resetSearchHighlight(),e.options().searchMenu().clearText(),a.classDistance(r.classDistance()),a.datatypeDistance(r.datatypeDistance()),a.charge(r.charge()),a.gravity(r.gravity()),a.linkStrength(r.linkStrength()),e.reset(),o.forEach(function(e){e.reset()}),e.updateStyle()}var o,i={},a=e.graphOptions(),r=webvowl.options();return i.setup=function(i){o=i,t.select("#reset-button").on("click",n);var a=t.select("#resetOption");a.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()})},i}}).call(t,n(6))},328:function(e,t,n){(function(t){e.exports=function(e){function n(){h=e.getUpdateDictionary(),b=!1,v=[],m=[];var t,n=[],o=[];for(t=0;t0)for(var a=h[t].equivalentsString(),r=a.split(", "),l=0;l1){for(var k=!0,C=0;C=0&&s=r&&i[s].setAttribute("class","dbEntrySelected"),m>=0&&m=0&&i[s].setAttribute("class","dbEntry")))}function l(){var e,t;f=d.node().value;var n,o,i=[],a=[],r=f.toLowerCase();for(n=0;n-1&&(i.push(v[n]),a.push(n)))}for(e=S.node().children,t=e.length,n=0;ny&&(t=y);var u=[],p=[];for(n=0;n-1&&x<=h&&w<=g&&(m=b,h=x,g=w)}u.push(s[m]),p.push(a[m]),s[m]=""}for(t=i.length,t>y&&(t=y),n=0;n-1&&(r.push(v[t]),l.push(t)))}for(o=S.node().children,i=o.length,t=0;ty&&(i=y);var h=[],m=[];for(t=0;t-1&&M<=x&&O<=k&&(C=L,x=M,k=O)}h.push(p[C]),m.push(l[C]),p[C]=""}for(t=0;t=f?void n():void(y=requestAnimationFrame(o))}function i(){return h-=5,x.scrollLeft=h,b.updateScrollButtonVisibility(),h<=0?void n():void(y=requestAnimationFrame(i))}function a(){L=[],M=[];var e,a=[],d=[],u=x.children,p=u.length;for(e=0;e-1?M[e]="m_"+a[e]:M[e]=void 0,t.select("#"+L[e]).on("mouseover",r),t.select("#"+L[e]).on("mouseout",l),t.select("#"+L[e]).on("click",s),t.select("#"+L[e]).on("touchstart",c);t.select("#menuElementContainer").on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=20),n.deltaY>0&&(e=-20),x.scrollLeft+=e,b.hideAllMenus(),b.updateScrollButtonVisibility()}),t.select("#scrollRightButton").on("mousedown",function(){h=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("touchstart",function(){h=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#scrollLeftButton").on("mousedown",function(){h=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("touchstart",function(){h=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#menuElementContainer").on("scroll",function(){b.updateScrollButtonVisibility(),b.hideAllMenus()})}function r(){b.hideAllMenus(),C||u(this.id)}function l(){d(this.id)}function s(){var e=M[L.indexOf(this.id)];if(e){var n=t.select("#"+e);n&&("block"===n.style("display")?n.style("display","none"):u(this.id))}}function c(){C=!0}function d(e){v=t.select("#"+e),"c_search"!==e&&(t.select("#"+e).select("path").style("stroke-width","0"),t.select("#"+e).select("path").style("fill","#fff"))}function u(n){v=t.select("#"+n).node();var o=M[L.indexOf(n)];o&&("c_search"!==n&&(t.select("#"+n).select("path").style("stroke-width","0"),t.select("#"+n).select("path").style("fill","#bdc3c7")),g=t.select("#"+o),g.style("display","block"),"m_export"===o&&e.options().exportMenu().exportAsUrl(),p())}function p(){if(v){var e=v.offsetLeft,t=x.scrollLeft,n=e-t,o=Math.max(0,n),i=x.getBoundingClientRect().width,a=g.node().getBoundingClientRect().width;o+a>i&&(o=i-a),o=Math.max(0,o),g.style("left",o+"px")}}var h,f,g,v,m,y,b={},x=t.select("#menuElementContainer").node(),w=t.select("#menuContainer").node(),S=t.select("#scrollLeftButton"),k=t.select("#scrollRightButton"),C=!1,L=[],M=[];return b.hideAllMenus=function(){t.selectAll(".toolTipMenu").style("display","none")},b.updateScrollButtonVisibility=function(){f=x.scrollWidth-x.clientWidth-2,0===x.scrollLeft?S.classed("hidden",!0):S.classed("hidden",!1),x.scrollLeft>f?k.classed("hidden",!0):k.classed("hidden",!1)},b.setup=function(){a(),t.select("#graph").on("mouseover",function(){b.hideAllMenus()}),t.select("#generalDetails").on("mouseover",function(){b.hideAllMenus()})},b}}).call(t,n(6))},330:function(e,t,n){(function(t){e.exports=function(e){function n(){cancelAnimationFrame(r),cancelAnimationFrame(l)}function o(){s*=.98,sp&&(s=p),e.setSliderZoom(s),l=requestAnimationFrame(i)}var a,r,l,s,c,d={},u=e.options().minMagnification(),p=e.options().maxMagnification(),h=!0,f=e.options().width(),g=e.options().height();return a=Math.min(f,g)/1e3,d.setup=function(){c=t.select("#zoomSliderParagraph").append("input").datum({}).attr("id","zoomSliderElement").attr("type","range").attr("value",a).attr("min",u).attr("max",p).attr("step",(p-u)/40).attr("title","zoom factor").on("input",function(){d.zooming()}),t.select("#zoomOutButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),r=requestAnimationFrame(o)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),r=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom out"),t.select("#zoomInButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom in"),t.select("#centerGraphButton").on("click",function(){e.options().navigationMenu().hideAllMenus(),e.forceRelocationEvent()}).attr("title","center graph")},d.showSlider=function(e){return arguments.length?(t.select("#zoomSlider").classed("hidden",!e),void(h=e)):h},d.zooming=function(){e.options().navigationMenu().hideAllMenus();var t=c.property("value");c.attr("value",t),e.setSliderZoom(t)},d.updateZoomSliderValue=function(e){c&&(c.attr("value",e),c.property("value",e))},d}}).call(t,n(6))},331:function(e,t,n){(function(t){e.exports=function(e){function n(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");e(t.selectAll(".accordion-trigger:not(.accordion-trigger-active) + div")),o.on("click",function(){var o=t.select(this),i=t.selectAll(".accordion-trigger-active");o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(e(t.selectAll(".accordion-trigger-active + div")),i.classed("accordion-trigger-active",!1),n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0))})}function o(n){n=n||[],n.sort(function(e,t){return e===webvowl.util.constants().LANG_IRIBASED?-1:t===webvowl.util.constants().LANG_IRIBASED?1:e===webvowl.util.constants().LANG_UNDEFINED?-1:t===webvowl.util.constants().LANG_UNDEFINED?1:e.localeCompare(t)});var o=t.select("#language").on("change",function(){e.language(t.event.target.value),a(),k.updateSelectionInformation(S)});o.selectAll("option").remove(),o.selectAll("option").data(n).enter().append("option").attr("value",function(e){return e}).text(function(e){return e}),i(o,n,"en")||i(o,n,webvowl.util.constants().LANG_UNDEFINED)||i(o,n,webvowl.util.constants().LANG_IRIBASED)}function i(t,n,o){var i=n.indexOf(o);return i>=0&&(t.property("selectedIndex",i),e.language(o),!0)}function a(){var n=C.textInLanguage(w.title,e.language());t.select("#title").text(n||"No title available"),t.select("#about").attr("href",w.iri).attr("target","_blank").text(w.iri),t.select("#version").text(w.version||"--");var o=w.author;"string"==typeof o?t.select("#authors").text(o):o instanceof Array?t.select("#authors").text(o.join(", ")):t.select("#authors").text("--");var i=C.textInLanguage(w.description,e.language());t.select("#description").text(i||"No description available.")}function r(e,n){e=e||{},t.select("#classCount").text(e.classCount||n.classCount()),t.select("#objectPropertyCount").text(e.objectPropertyCount||n.objectPropertyCount()),t.select("#datatypePropertyCount").text(e.datatypePropertyCount||n.datatypePropertyCount()),t.select("#individualCount").text(e.totalIndividualCount||n.totalIndividualCount()),t.select("#nodeCount").text(n.nodeCount()),t.select("#edgeCount").text(n.edgeCount())}function l(e){var n=t.select("#ontology-metadata");n.selectAll("*").remove(),s(n,e),n.selectAll(".annotation").size()<=0&&n.append("p").text("No annotations available.")}function s(e,n){n=n||{};var o=[];for(var i in n)n.hasOwnProperty(i)&&o.push(n[i][0]);e.selectAll(".annotation").remove(),e.selectAll(".annotation").data(o).enter().append("p").classed("annotation",!0).classed("statisticDetails",!0).text(function(e){return e.identifier+":"}).append("span").each(function(e){f(t.select(this),e.value,"iri"===e.type?e.value:void 0)})}function c(){d(!1,!1,!0)}function d(e,n,o){t.select("#classSelectionInformation").classed("hidden",!e),t.select("#propertySelectionInformation").classed("hidden",!n),t.select("#noSelectionInformation").classed("hidden",!o)}function u(e){p(),h(t.select("#propname"),e.labelForCurrentLanguage(),e.iri()),t.select("#typeProp").text(e.type()),void 0!==e.inverse()?(t.select("#inverse").classed("hidden",!1),h(t.select("#inverse span"),e.inverse().labelForCurrentLanguage(),e.inverse().iri())):t.select("#inverse").classed("hidden",!0);var n=t.select("#propEquivUri");b(n,e.equivalents()),b(t.select("#subproperties"),e.subproperties()),b(t.select("#superproperties"),e.superproperties()),void 0!==e.minCardinality()?(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!1),t.select("#minCardinality span").text(e.minCardinality()),t.select("#maxCardinality").classed("hidden",!1),void 0!==e.maxCardinality()?t.select("#maxCardinality span").text(e.maxCardinality()):t.select("#maxCardinality span").text("*")):void 0!==e.cardinality()?(t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0),t.select("#infoCardinality").classed("hidden",!1),t.select("#infoCardinality span").text(e.cardinality())):(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0)),h(t.select("#domain"),e.domain().labelForCurrentLanguage(),e.domain().iri()),h(t.select("#range"),e.range().labelForCurrentLanguage(),e.range().iri()),g(e.attributes(),t.select("#propAttributes")),x(t.select("#propDescription"),e.descriptionForCurrentLanguage()),x(t.select("#propComment"),e.commentForCurrentLanguage()),s(t.select("#propertySelectionInformation"),e.annotations())}function p(){d(!1,!0,!1)}function h(e,n,o){var i=t.select(e.node().parentNode);n?(e.selectAll("*").remove(),f(e,n,o),i.classed("hidden",!1)):i.classed("hidden",!0)}function f(e,t,n){var o;o=n?e.append("a").attr("href",n).attr("title",n).attr("target","_blank"):e.append("span"),o.text(t)}function g(e,n){var o=t.select(n.node().parentNode);e&&e.length>0&&(v("object",e),v("datatype",e),v("rdf",e)),e&&e.length>0?(n.text(e.join(", ")),o.classed("hidden",!1)):o.classed("hidden",!0)}function v(e,t){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function m(e){y(),h(t.select("#name"),e.labelForCurrentLanguage(),e.iri());var n=t.select("#classEquivUri");b(n,e.equivalents()),t.select("#typeNode").text(e.type()),b(t.select("#individuals"),e.individuals());var o=t.select("#disjointNodes"),i=t.select(o.node().parentNode);void 0!==e.disjointWith()?(o.selectAll("*").remove(),e.disjointWith().forEach(function(e,t){t>0&&o.append("span").text(", "),f(o,e.labelForCurrentLanguage(),e.iri())}),i.classed("hidden",!1)):i.classed("hidden",!0),g(e.attributes(),t.select("#classAttributes")),x(t.select("#nodeDescription"),e.descriptionForCurrentLanguage()),x(t.select("#nodeComment"),e.commentForCurrentLanguage()),s(t.select("#classSelectionInformation"),e.annotations())}function y(){d(!0,!1,!1)}function b(e,n){var o=t.select(e.node().parentNode);n&&n.length?(e.selectAll("*").remove(),n.forEach(function(t,n){n>0&&e.append("span").text(", "),f(e,t.labelForCurrentLanguage(),t.iri())}),o.classed("hidden",!1)):o.classed("hidden",!0)}function x(e,n){var o=t.select(e.node().parentNode),i=!!n;n&&e.text(n),o.classed("hidden",!i)}var w,S,k={},C=webvowl.util.languageTools(),L=webvowl.util.elementTools(),M=1,O=t.select("#detailsArea"),A=t.select("#canvasArea"),E=t.select("#swipeBarContainer"),_=t.select("#sidebarExpandButton");return k.clearOntologyInformation=function(){t.select("#title").text("No title available"),t.select("#about").attr("href","#").attr("target","_blank").text("not given"),t.select("#version").text("--"),t.select("#authors").text("--"),t.select("#description").text("No description available.");var e=t.select("#ontology-metadata");e.selectAll("*").remove(),t.select("#classCount").text("0"),t.select("#objectPropertyCount").text("0"),t.select("#datatypePropertyCount").text("0"),t.select("#individualCount").text("0"),t.select("#nodeCount").text("0"),t.select("#edgeCount").text("0");var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");n&&t.select("#selection-details-trigger").node().click(),c()},k.updateOntologyInformation=function(e,t){e=e||{},w=e.header||{},a(),r(void 0,t),l(w.other),k.updateSelectionInformation(void 0),o(w.languages)},k.updateSelectionInformation=function(e){if(S=e,!t.event||!t.event.defaultPrevented){var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");if(e&&!n)t.select("#selection-details-trigger").node().click();else if(!e&&n)return void c();L.isProperty(e)?u(e):L.isNode(e)&&m(e)}},k.showSidebar=function(t,n){1===t&&(M=!0,_.node().innerHTML=">",O.classed("hidden",!0),n===!0?(O.classed("hidden",!M),A.style("width","78%"),A.style("-webkit-animation-name","none"),E.style("width","78%"),E.style("-webkit-animation-name","none")):(A.style("width","78%"),A.style("-webkit-animation-name","sbCollapseAnimation"),A.style("-webkit-animation-duration","0.5s"),E.style("width","78%"),E.style("-webkit-animation-name","sbCollapseAnimation"),E.style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth-.22*window.innerWidth),e.options().navigationMenu().updateScrollButtonVisibility()),0===t&&(M=!1,O.classed("hidden",!0),_.node().innerHTML="<",n===!0?(A.style("width","100%"),A.style("-webkit-animation-name","none"),E.style("width","100%"),E.style("-webkit-animation-name","none")):(A.style("width","100%"),A.style("-webkit-animation-name","sbExpandAnimation"),A.style("-webkit-animation-duration","0.5s"),E.style("width","100%"),E.style("-webkit-animation-name","sbExpandAnimation"),E.style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility())},k.isSidebarVisible=function(){return M},k.updateSideBarVis=function(e){var t=k.getSidebarVisibility();k.showSidebar(parseInt(t),e)},k.getSidebarVisibility=function(){var e=O.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},k.initSideBarAnimation=function(){A.node().addEventListener("animationend",function(){O.classed("hidden",!M),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility()})},k.setup=function(){n(),k.initSideBarAnimation(),_.on("click",function(){e.options().navigationMenu().hideAllMenus();var t=parseInt(k.getSidebarVisibility());1===t?k.showSidebar(0):k.showSidebar(1)})},k}}).call(t,n(6))},332:function(e,t,n){(function(t){e.exports=function(e){function n(n,o,i,a){var r,l;r=t.select(n).append("div").classed("distanceSliderContainer",!0);var s=r.append("input").attr("id",o+"Slider").attr("type","range").attr("min",20).attr("max",600).attr("value",a()).attr("step",10);r.append("label").classed("description",!0).attr("for",o+"Slider").text(i),l=r.append("label").classed("value",!0).attr("for",o+"Slider").text(a()),s.on("input",function(){var t=s.property("value");a(t),l.text(t),e.options().dynamicLabelWidth()===!0&&e.animateDynamicLabelWidth()}),s.on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=10),n.deltaY>0&&(e=-10);var o=parseInt(s.property("value")),i=o+e;i!==o&&(s.property("value",i),a(i),s.on("input")()),t.event.preventDefault()})}function o(n,o,i,r,l){var s=t.select(i).append("div").classed("checkboxContainer",!0),c=s.append("input").classed("moduleCheckbox",!0).attr("id",n+"ConfigCheckbox").attr("type","checkbox").property("checked",r());c.on("click",function(t){var n=c.property("checked");r(n),t!==!0&&(1===l&&e.lazyRefresh(),2===l&&e.update())}),a.push(c),s.append("label").attr("for",n+"ConfigCheckbox").text(o)}var i={},a=[];return i.setup=function(){var i=t.select("#m_modes");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),o("showZoomSlider","Zoom controls","#zoomSliderOption",e.options().zoomSlider().showSlider,0),n("#maxLabelWidthSliderOption","maxLabelWidth","Max label width",e.options().maxLabelWidth)},i.setCheckBoxValue=function(e,t){for(var n=0;nTrying to convert with other communication protocol."),e(t)}function i(e){h.append_message_toLastBulletPoint("
    Trying to convert with other communication protocol.");var t=e[0],n=e[1],o=new FormData;o.append("ontology",t);var i=new XMLHttpRequest;i.open("POST","convert",!0);var a="";i.onload=function(){200===i.status&&(a=i.responseText,h.setCachedOntology(n,a),f=n,C=!0,h.append_message_toLastBulletPoint("
    Success, but you are using a deprecated OWL2VOWL service!"),s(a))},i.onreadystatechange=function(){4===i.readyState&&0===i.status&&(h.append_message_toLastBulletPoint("
    Old protocol also failed to establish connection to OWL2VOWL service!"),A.setErrorMode(),h.append_bulletPoint("Failed to load ontology"),h.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),A.showErrorDetailsMessage())},i.send(o)}function a(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){A.setBusyMode(),t?(h.append_bulletPoint("Could not establish connection to OWL2VOWL service"),A.setErrorMode(),h.append_bulletPoint("Failed to load ontology"),h.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),A.showErrorDetailsMessage()):(p=o.responseText,h.setConversionID(p),n[0]=n[0]+"&sessionId="+p,n.push(p),e(n))})}function r(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){t?(h.append_bulletPoint("Could not establish connection to OWL2VOWL service"),i(n)):(p=o.responseText,h.setConversionID(p),console.log("Request Session ID:"+p),e(n[0],n[1],p))})}function l(n){k=!1;var o="";if(h.cachedOntology(n))h.append_bulletPoint("Loading already cached ontology: "+n),o=h.cachedOntology(n),k=!0,s(o);else{var i="./data/"+n+".json";t.xhr(i,"application/json",function(t,i){var a=!t;a?(o=i.responseText,s(o)):(h.append_bulletPoint("Failed to load: "+n),h.append_message_toLastBulletPoint("ERROR STATUS: "+t.status),e.handleOnLoadingError(),A.setErrorMode())})}}function s(e){h.append_bulletPoint("Reading ontology graph ... ");var t=h.getLoadingFunction();t(e,f,"noAlternativeNameYet")}function c(e){var t=(e.match(/#/g)||[]).length,n=[];if(t>0)for(var o=e.split("#"),i=1;i=0){var t=e[0].length,i=e[0].substr(5,t-6),a=i.split(";");o(a)}else f=e[0],n()}function a(e){if(e[0].indexOf(r)>=0){var t=e[0].length,i=e[0].substr(5,t-6),a=i.split(";");o(a)}else n();f=e[1]}var r="opts=";switch(t.length){case 0:n();break;case 1:i(t);break;case 2:a(t);break;default:console.log("To many input parameters , loading default config"),n(),f="ERROR_TO_MANY_INPUT_PARAMETERS"}}function u(e){var t="iri=",n="url=",o="file=",i=-1;return i=e.substr(0,o.length)===o?v:e.substr(0,n.length)===n?m:e.substr(0,t.length)===t?y:g}var p,h,f,g=0,v=1,m=2,y=3,b=0,x=1,w=2,S=1,k=!1,C=!1,L=!1,M=!0,O="ontology",A={},E=t.select("#loading-info"),_=t.select("#loadingInfo-container"),F=t.select("#show-loadingInfo-button"),B=t.select("#loadingIndicator_closeButton");return A.checkForScreenSize=function(){var n=e.options().width(),o=e.options().height();n<270?t.select("#loading-info").classed("hidden",!0):M===!0?t.select("#loading-info").classed("hidden",!1):t.select("#loading-info").classed("hidden",!0),o<150?t.select("#loadingInfo_msgBox").classed("hidden",!0):t.select("#loadingInfo_msgBox").classed("hidden",!1),o<80?(t.select("#progressBarContext").classed("hidden",!0),t.select("#layoutLoadingProgressBarContainer").style("height","20px")):(t.select("#progressBarContext").classed("hidden",!1),t.select("#layoutLoadingProgressBarContainer").style("height","50px"))},A.getProgressBarMode=function(){return S},A.successfullyLoadedOntology=function(){return k},A.missingImportsWarning=function(){return C},A.setOntologyMenu=function(e){h=e},A.showErrorDetailsMessage=function(){A.showLoadingIndicator(),A.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!0),A.scrollDownDetails()},A.showWarningDetailsMessage=function(){t.select("#currentLoadingStep").style("color","#ff0"),A.showLoadingIndicator(),A.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!1),A.scrollDownDetails()},A.scrollDownDetails=function(){var e=t.select("#loadingInfo-container").node();e.scrollTop=e.scrollHeight},A.hideLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!0),M=!1},A.showLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!1),M=!0},A.setup=function(){_.classed("hidden",!L),F.on("click",function(){L=!L,_.classed("hidden",!L),F.classed("accordion-trigger-active",L)}),B.on("click",function(){E.classed("hidden",!0)}),A.setBusyMode()},A.updateSize=function(){L=!_.classed("hidden"),_.classed("hidden",!L),F.classed("accordion-trigger-active",L)},A.getDetailsState=function(){return L},A.expandDetails=function(){L=!0,_.classed("hidden",!L),F.classed("accordion-trigger-active",L)},A.collapseDetails=function(){L=!1,_.classed("hidden",!L),F.classed("accordion-trigger-active",L)},A.setBusyMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").style("width","20%"),t.select("#progressBarValue").classed("busyProgressBar",!0),S=x},A.setSuccessful=function(){t.select("#currentLoadingStep").style("color","#0f0")},A.setErrorMode=function(){t.select("#currentLoadingStep").style("color","#f00"),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="",S=b},A.setPercentMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="0%",t.select("#progressBarValue").style("width","0%"),S=w},A.setPercentValue=function(e){t.select("#progressBarValue").node().innherHTML=e},A.emptyGraphContentError=function(){e.clearGraphData(),h.append_message_toLastBulletPoint("failed"),h.append_message_toLastBulletPoint('
    Error: Received empty graph'),k=!1,e.handleOnLoadingError(),A.setErrorMode()},A.isThreadCanceled=function(){},A.parseUrlAndLoadOntology=function(){p=-1e4,h.setConversionID(p),h.stopLoadingTimer(),e.clearGraphData(),A.setBusyMode(),A.showLoadingIndicator(), +A.collapseDetails(),C=!1,t.select("#loadingIndicator_closeButton").classed("hidden",!0),h.clearDetailInformation();var n=String(location),o=c(n);f=O,d(o);var i=u(f);switch(t.select("#progressBarValue").node().innerHTML=" ",i){case 0:A.from_presetOntology(f);break;case 1:A.from_FileUpload(f);break;case 2:A.from_JSON_URL(f);break;case 3:A.from_IRI_URL(f);break;default:console.log("Could not identify loading method , or not IMPLEMENTED YET")}},A.from_JSON_URL=function(e){var t=decodeURIComponent(e.slice("url=".length));f=t;var o="";h.cachedOntology(t)?(h.append_bulletPoint("Loading already cached ontology: "+t),o=h.cachedOntology(t),k=!0,s(o)):(h.append_message("Retrieving ontology from JSON URL "+t),n(h.callbackLoad_JSON_FromURL,["read?json="+t,t]))},A.from_IRI_URL=function(e){var t=decodeURIComponent(e.slice("iri=".length));f=t;var n="";if(h.cachedOntology(t))h.append_bulletPoint("Loading already cached ontology: "+t),n=h.cachedOntology(t),k=!0,s(n);else{var o=encodeURIComponent(t);h.append_bulletPoint("Retrieving ontology from IRI: "+t),a(h.callbackLoad_Ontology_FromIRI,["convert?iri="+o,t])}},A.from_FileUpload=function(n){A.setBusyMode();var o=decodeURIComponent(n.slice("file=".length));f=o;var i="";if(h.cachedOntology(o))h.append_bulletPoint("Loading already cached ontology: "+o),i=h.cachedOntology(o),k=!0,s(i);else{h.append_bulletPoint("Retrieving ontology from file: "+o);var a=t.select("#file-converter-input").property("files")[0];if(!a||o&&o!==a.name)return h.append_message_toLastBulletPoint('
    No cached version of "'+o+'" was found.
    Please reupload the file.'),A.setErrorMode(),t.select("#progressBarValue").classed("busyProgressBar",!1),void e.handleOnLoadingError();if(o=a.name,o.match(/\.json$/)){h.setConversionID(-1e4);var l=new FileReader;l.readAsText(a),l.onload=function(){i=l.result,f=o,s(i)}}else{var c=[a,o];r(h.callbackLoadFromOntology,c)}}},A.loadFromOWL2VOWL=function(e,n){k=!1;var o=t.select("#bulletPoint_container").node().innerHTML;o.indexOf("(with warnings)")!==-1&&(C=!0),h.cachedOntology(e)?(h.append_bulletPoint("Loading already cached ontology: "+n),s(e)):s(e)},A.from_presetOntology=function(e){h.append_bulletPoint("Retrieving ontology: "+e),l(e)},A.notValidJsonFile=function(){e.clearGraphData(),h.append_message_toLastBulletPoint("failed"),h.append_message_toLastBulletPoint("
    Error: Received empty graph"),k=!1,e.handleOnLoadingError()},A.validJsonFile=function(){h.append_message_toLastBulletPoint("done"),k=!0},A}}).call(t,n(6))}}); \ No newline at end of file diff --git a/dist/ontology/0.5.0/webvowl/js/webvowl.js b/dist/ontology/0.5.0/webvowl/js/webvowl.js new file mode 100644 index 0000000..8dc86c9 --- /dev/null +++ b/dist/ontology/0.5.0/webvowl/js/webvowl.js @@ -0,0 +1,5 @@ +webvowl=function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var e={};return n.m=t,n.c=e,n.p="",n(0)}([function(t,n,e){function r(t,n){var e=n.key.replace(":","").toLowerCase();t[e]=n.value}e(1);var o=e(5)(),i=e(40)(),a={};a.graph=e(57),a.options=e(64),a.version="1.1.2",a.util={},a.util.constants=e(12),a.util.languageTools=e(11),a.util.elementTools=e(63),a.modules={},a.modules.colorExternalsSwitch=e(68),a.modules.compactNotationSwitch=e(69),a.modules.datatypeFilter=e(70),a.modules.disjointFilter=e(72),a.modules.focuser=e(73),a.modules.emptyLiteralFilter=e(74),a.modules.nodeDegreeFilter=e(75),a.modules.nodeScalingSwitch=e(76),a.modules.objectPropertyFilter=e(77),a.modules.pickAndPin=e(78),a.modules.selectionDetailsDisplayer=e(310),a.modules.setOperatorFilter=e(311),a.modules.statistics=e(312),a.modules.subclassFilter=e(313),a.nodes={},o.entries().forEach(function(t){r(a.nodes,t)}),a.properties={},i.entries().forEach(function(t){r(a.properties,t)}),t.exports=a},function(t,n){},,,,function(t,n,e){(function(n){var r=[];r.push(e(7)),r.push(e(18)),r.push(e(19)),r.push(e(26)),r.push(e(27)),r.push(e(28)),r.push(e(29)),r.push(e(30)),r.push(e(31)),r.push(e(32)),r.push(e(33)),r.push(e(34)),r.push(e(38)),r.push(e(39));var o=n.map(r,function(t){return(new t).type()});t.exports=function(){return o}}).call(n,e(6))},function(t,n){t.exports=d3},function(t,n,e){var r=e(8);t.exports=function(){var t=function(t){r.apply(this,arguments),this.attributes(["external"]).type("ExternalClass")};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(9),o=e(14),i=e(17)();t.exports=function(){var t=function(t){function n(){var n=new o(s.nodeElement(),s.backgroundColor()),e=s.equivalentsString(),r=e?",":"";return n.addText(s.labelForCurrentLanguage(),"",r),n.addEquivalents(e),t.options().compactNotation()||n.addSubText(s.indicationString()),n.addInstanceCount(s.individuals().length),n}r.apply(this,arguments);var e,a,u,s=this,c=!1,l=50,f=null,p=!1;this.setRectangularRepresentation=function(t){p=t},this.getRectangularRepresentation=function(){return p},this.getHalos=function(){return f},this.collapsible=function(t){return arguments.length?(c=t,this):c},this.textBlock=function(t){return arguments.length?(u=t,this):u},this.radius=function(t){return arguments.length?(l=t,this):l},this.setHoverHighlighting=function(t){s.nodeElement().selectAll("circle").classed("hovered",t)},this.textWidth=function(t){var n=2*this.actualRadius();if(t){var e=Math.abs(t)/this.actualRadius(),r=e<=1;n=r?Math.cos(e)*n:0}return n},this.toggleFocus=function(){s.focused(!s.focused()),s.nodeElement().select("circle").classed("focused",s.focused()),t.resetSearchHighlight(),t.options().searchMenu().clearText()},this.actualRadius=function(){if(!t.options().scaleNodesByIndividuals()||s.individuals().length<=0)return s.radius();var n=8,e=Math.log(s.individuals().length+1)*n+5;return s.radius()+e},this.distanceToBorder=function(){return s.actualRadius()},this.removeHalo=function(){s.halo()&&(s.halo(!1),f&&f.remove())},this.drawHalo=function(){s.halo(!0),f=p===!0?i.drawRectHalo(s.nodeElement(),80,80,5):i.drawHalo(s.nodeElement(),s.actualRadius(),this.removeHalo)},this.drawPin=function(){s.pinned(!0);var t=.4*s.actualRadius(),n=-.7*s.actualRadius();a=i.drawPin(s.nodeElement(),t,n,this.removePin)},this.removePin=function(){s.pinned(!1),a&&a.remove(),t.updateStyle()},this.drawCollapsingButton=function(){e=s.nodeElement().append("g").classed("hidden-in-export",!0).attr("transform",function(){var t=-.4*s.actualRadius(),n=.5*s.actualRadius();return"translate("+t+","+n+")"}),e.append("rect").classed("class pin feature",!0).attr("x",0).attr("y",0).attr("width",40).attr("height",24),e.append("line").attr("x1",13).attr("y1",12).attr("x2",27).attr("y2",12),e.append("line").attr("x1",20).attr("y1",6).attr("x2",20).attr("y2",18)},this.draw=function(t,n){var e=s.collectCssClasses();s.nodeElement(t),n instanceof Array&&(e=e.concat(n)),p===!0?i.appendRectangularClass(t,80,80,e,s.labelForCurrentLanguage(),s.backgroundColor()):i.appendCircularClass(t,s.actualRadius(),e,s.labelForCurrentLanguage(),s.backgroundColor()),s.postDrawActions(t)},this.postDrawActions=function(){s.textBlock(n()),s.addMouseListeners(),s.pinned()&&s.drawPin(),s.halo()&&s.drawHalo(),s.collapsible()&&s.drawCollapsingButton()},this.equivalentsString=function(){var t=s.equivalents();if(t)return t.map(function(t){return t.labelForCurrentLanguage()}).join(", ")}};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(10),o=e(13)();t.exports=function(){var t=function(t){function n(){if(!d.mouseEntered()){var t=d.nodeElement().node(),n=t.parentNode;d.animationProcess()===!1&&n.appendChild(t),d.setHoverHighlighting(!0),d.mouseEntered(!0)}}function e(){d.setHoverHighlighting(!1),d.mouseEntered(!1)}r.apply(this,arguments);var i,a,u,s,c,l,f,p,d=this,h=[];this.complement=function(t){return arguments.length?(i=t,this):i},this.disjointUnion=function(t){return arguments.length?(a=t,this):a},this.disjointWith=function(t){return arguments.length?(u=t,this):u},this.individuals=function(t){return arguments.length?(h=t||[],this):h},this.intersection=function(t){return arguments.length?(s=t,this):s},this.links=function(t){return arguments.length?(l=t,this):l},this.maxIndividualCount=function(t){return arguments.length?(f=t,this):f},this.nodeElement=function(t){return arguments.length?(p=t,this):p},this.union=function(t){return arguments.length?(c=t,this):c},d.collectCssClasses=function(){var t=[];return"string"==typeof d.styleClass()&&t.push(d.styleClass()),t=t.concat(d.visualAttributes())},this.addMouseListeners=function(){return d.nodeElement()?void d.nodeElement().selectAll("*").on("mouseover",n).on("mouseout",e):void console.warn(this)},this.animationProcess=function(){var t=!1;if(d.getHalos()){var n=d.getHalos(),e=n.selectAll(".searchResultA");t=n.attr("animationRunning"),"boolean"!=typeof t&&(t="true"===t),t===!1&&(e.classed("searchResultA",!1),e.classed("searchResultB",!0))}return t},this.foreground=function(){var t=d.nodeElement().node(),n=t.parentNode;d.animationProcess()===!1&&n.appendChild(t)},o.addTo(this)};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){t.exports=function(){var t=function(t){var n,r,o,i,a,u,s,c,l,f,p,d=[],h=[],v=[],g=!1,y=[],x=!1,m=!0,b=e(11)();this.attributes=function(t){return arguments.length?(h=t,this):h},this.annotations=function(t){return arguments.length?(u=t,this):u},this.redrawElement=function(){},this.backgroundColor=function(t){return arguments.length?(s=t,this):s},this.baseIri=function(t){return arguments.length?(a=t,this):a},this.comment=function(t){return arguments.length?(c=t,this):c},this.description=function(t){return arguments.length?(l=t,this):l},this.equivalents=function(t){return arguments.length?(d=t||[],this):d},this.equivalentBase=function(t){return arguments.length?(f=t,this):f},this.focused=function(t){return arguments.length?(g=t,this):g},this.id=function(t){return arguments.length?(n=t,this):n},this.indications=function(t){return arguments.length?(y=t,this):y},this.iri=function(t){return arguments.length?(i=t,this):i},this.label=function(t){return arguments.length?(r=t,this):r},this.mouseEntered=function(t){return arguments.length?(x=t,this):x},this.styleClass=function(t){return arguments.length?(p=t,this):p},this.type=function(t){return arguments.length?(o=t,this):o},this.visible=function(t){return arguments.length?(m=t,this):m},this.visualAttributes=function(t){return arguments.length?(v=t,this):v},this.commentForCurrentLanguage=function(){return b.textInLanguage(this.comment(),t.language())},this.cssClassOfNode=function(){return"node"+this.id()},this.descriptionForCurrentLanguage=function(){return b.textInLanguage(this.description(),t.language())},this.defaultLabel=function(){return b.textInLanguage(this.label(),"default")},this.indicationString=function(){return this.indications().join(", ")},this.labelForCurrentLanguage=function(){var n=t&&t.language?t.language():null;return b.textInLanguage(this.label(),n)}};return t.prototype.constructor=t,t.prototype.equals=function(n){return n instanceof t&&this.id()===n.id()},t.prototype.toString=function(){return this.labelForCurrentLanguage()+" ("+this.type()+")"},t}()},function(t,n,e){var r=e(12)();t.exports=function(){function t(t,n){for(var e in t)if(e===n&&t.hasOwnProperty(e))return t[e]}var n={};return n.textInLanguage=function(n,e){if("undefined"!=typeof n){if("string"==typeof n)return n;if(e&&n.hasOwnProperty(e))return n[e];var o=t(n,"en");return o?o:(o=t(n,r.LANG_UNDEFINED),o?o:n[r.LANG_IRIBASED])}},function(){return n}}()},function(t,n){t.exports=function(){var t={};return t.LANG_IRIBASED="IRI-based",t.LANG_UNDEFINED="undefined",function(){return t}}()},function(t,n){function e(t){function n(){t.locked()||t.frozen()||t.pinned()?t.fixed=!0:t.fixed=!1}var e=!1,r=!1,o=!1,i=!1;t.locked=function(r){return arguments.length?(e=r,n(),t):e},t.frozen=function(e){return arguments.length?(r=e,n(),t):r},t.halo=function(e){return arguments.length?(o=e,n(),t):o},t.pinned=function(e){return arguments.length?(i=e,n(),t):i}}var r={};t.exports=function(){return r},r.addTo=function(t){e(t)}},function(t,n,e){function r(t,n){i.apply(this,arguments),this.storedFullTextLines=[],this.storedSpanArrays=[],this.storedStyle=[]}var o=e(15)(),i=e(16);t.exports=r,r.prototype=Object.create(i.prototype),r.prototype.constructor=r,r.prototype.addText=function(t,n,e){t&&this.addTextline(t,this.CSS_CLASSES.default,n,e)},r.prototype.addSubText=function(t){t&&this.addTextline(t,this.CSS_CLASSES.subtext,"(",")")},r.prototype.addEquivalents=function(t){t&&this.addTextline(t,this.CSS_CLASSES.default)},r.prototype.addInstanceCount=function(t){t&&this.addTextline(t.toString(),this.CSS_CLASSES.instanceCount)},r.prototype.saveCorrespondingSpan=function(t){this.storedSpanArrays.push(t)},r.prototype.saveFullTextLine=function(t){this.storedFullTextLines.push(t)},r.prototype.saveStyle=function(t){this.storedStyle.push(t)},r.prototype.updateAllTextElements=function(){for(var t=0;t0?this.LINE_DISTANCE:0;t.attr("dy",e+o+"px")},r.prototype.getTextBox=function(){return this._textBlock()},r.prototype._repositionTextBlock=function(){var t=this._lineCount();if(t<1)return void this._textBlock().attr("y",0);var n=this._textBlock().node().getBBox().height;this._textBlock().attr("y",.5*-n+"px")},r.prototype._lineCount=function(){return this._textBlock().property("childElementCount")}},function(t,n,e){(function(n){function e(t,e){e||(e="text");var r=n.select("body").append("div").attr("class",e).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(t),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}var r=4,o={};o.truncate=function(t,n,o,i){if(n-=isNaN(i)?r:i,isNaN(n)||n<=0)return t;for(var a,u,s,c=t;;){if(u=e(c,o),u<=n)break;if(s=u/n,a=Math.floor(c.length/s),c.length===a)break;c=c.substring(0,a)}return t.length>c.length?t.substring(0,c.length-3)+"...":t},t.exports=function(){return o}}).call(n,e(6))},function(t,n,e){(function(n){function e(t,n){var e=t.append("text").classed("text",!0).style("fill",this._getTextColor(n)).attr("text-anchor","middle");this._textBlock=function(){return e}}function r(t){return.3*(t.r/255)+.59*(t.g/255)+.11*(t.b/255)}t.exports=e,e.prototype.LINE_DISTANCE=1,e.prototype.CSS_CLASSES={default:"text",subtext:"subtext",instanceCount:"instance-count"},e.prototype.DARK_TEXT_COLOR="#000",e.prototype.LIGHT_TEXT_COLOR="#fff",e.prototype.translation=function(t,n){return this._textBlock().attr("transform","translate("+t+", "+n+")"),this},e.prototype.remove=function(){return this._textBlock().remove(),this},e.prototype._applyPreAndPostFix=function(t,n,e){return n&&(t=n+t),e&&(t+=e),t},e.prototype._getTextColor=function(t){if(!t)return e.prototype.DARK_TEXT_COLOR;var o=n.rgb(t);return r(o)>.5?e.prototype.DARK_TEXT_COLOR:e.prototype.LIGHT_TEXT_COLOR}}).call(n,e(6))},function(t,n,e){(function(n){t.exports=function(){function t(t,n){n instanceof Array&&n.forEach(function(n){t.classed(n,!0)})}function e(t,n){n&&t.append("title").text(n)}function r(t,n){n&&t.style("fill",n)}var o={};return o.appendCircularClass=function(n,o,i,a,u){var s=n.append("circle").classed("class",!0).attr("r",o);return t(s,i),e(s,a),r(s,u),s},o.appendRectangularClass=function(n,o,i,a,u,s){var c=n.append("rect").classed("class",!0).attr("x",-o/2).attr("y",-i/2).attr("width",o).attr("height",i);return t(c,a),e(c,u),r(c,s),c},o.drawPin=function(t,e,r,o){var i=t.append("g").classed("hidden-in-export",!0).attr("transform","translate("+e+","+r+")");return i.append("circle").classed("class pin feature",!0).attr("r",12).on("click",function(){o&&o(),n.event.stopPropagation()}),i.append("line").attr("x1",0).attr("x2",0).attr("y1",12).attr("y2",16),i},o.drawRectHalo=function(t,n,e,r){var o;if(o=t.nodeElement?t.nodeElement():t.labelElement()){var i=o.append("g").classed("hidden-in-export",!0);return i.append("rect").classed("searchResultA",!0).attr("x",(-n-r)/2).attr("y",(-r-e)/2).attr("width",n+r).attr("height",e+r),i.attr("animationRunning",!0),i.node().addEventListener("webkitAnimationEnd",function(){var t=i.selectAll(".searchResultA");t.classed("searchResultA",!1).classed("searchResultB",!0),i.attr("animationRunning",!1)}),i.node().addEventListener("animationend",function(){var t=i.selectAll(".searchResultA");t.classed("searchResultA",!1).classed("searchResultB",!0),i.attr("animationRunning",!1)}),i}},o.drawHalo=function(t,n){if(void 0===t)return null;var e=t.append("g").classed("hidden-in-export",!0);return e.append("circle",":first-child").classed("searchResultA",!0).attr("r",n+15),e.attr("animationRunning",!0),e.node().addEventListener("webkitAnimationEnd",function(){var t=e.selectAll(".searchResultA");t.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),e.attr("animationRunning",!1)}),e.node().addEventListener("animationend",function(){var t=e.selectAll(".searchResultA");t.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),e.attr("animationRunning",!1)}),e},function(){return o}}()}).call(n,e(6))},function(t,n,e){var r=e(8);t.exports=function(){var t=function(t){r.apply(this,arguments),this.type("owl:Class")};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(20);t.exports=function(){var t=function(t){r.apply(this,arguments);var n=this,e=n.draw;this.styleClass("complementof").type("owl:complementOf"),this.draw=function(t){e(t);var r=t.append("g").classed("embedded",!0);r.append("circle").attr("class","symbol").classed("fineline",!0).attr("r",10),r.append("path").attr("class","nofill").attr("d","m -7,-1.5 12,0 0,6").attr("transform","scale(.5)"),r.attr("transform","translate(-"+(n.radius()-15)/100+",-"+(n.radius()-15)/100+")"),n.postDrawActions()}};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(21),o=e(22),i=e(8),a=e(17)();t.exports=function(){var t=function(t){i.apply(this,arguments);var n=this,e=n.setHoverHighlighting,u=n.postDrawActions;this.setHoverHighlighting=function(t){e(t),n.links().filter(function(t){return t instanceof o}).filter(function(t){return t.domain().equals(n)}).forEach(function(n){n.property().setHighlighting(t)})},this.draw=function(t){n.nodeElement(t),a.appendCircularClass(t,n.actualRadius(),n.collectCssClasses().join(" "),n.labelForCurrentLanguage(),n.backgroundColor())},this.postDrawActions=function(){u(),n.textBlock().remove();var e=new r(n.nodeElement(),n.backgroundColor()),o=n.equivalentsString(),i=o?-30:-17,a=o?",":"";e.addText(n.labelForCurrentLanguage(),i,"",a),e.addEquivalents(o,-17),t.options().compactNotation()?e.addInstanceCount(n.individuals().length,17):n.indicationString().length>0?(e.addSubText(n.indicationString(),17),e.addInstanceCount(n.individuals().length,30)):e.addInstanceCount(n.individuals().length,17),n.textBlock(e)}};return t.prototype=Object.create(i.prototype),t.prototype.constructor=t,t}()},function(t,n,e){function r(t,n){i.apply(this,arguments)}var o=e(15)(),i=e(16);t.exports=r,r.prototype=Object.create(i.prototype),r.prototype.constructor=r,r.prototype.addText=function(t,n,e,r){t&&this.addTextline(t,this.CSS_CLASSES.default,n,e,r)},r.prototype.addSubText=function(t,n){t&&this.addTextline(t,this.CSS_CLASSES.subtext,n,"(",")")},r.prototype.addEquivalents=function(t,n){t&&this.addTextline(t,this.CSS_CLASSES.default,n)},r.prototype.addInstanceCount=function(t,n){t&&this.addTextline(t.toString(),this.CSS_CLASSES.instanceCount,n)},r.prototype.addTextline=function(t,n,e,r,i){var a=o.truncate(t,this._textBlock().datum().textWidth(e),n),u=this._textBlock().append("tspan").classed(this.CSS_CLASSES.default,!0).classed(n,!0).text(this._applyPreAndPostFix(a,r,i)).attr("x",0);this._repositionTextLine(u,e)},r.prototype._repositionTextLine=function(t,n){var e=window.getComputedStyle(t.node()).getPropertyValue("font-size"),r=parseFloat(e),o=1/3*r;t.attr("y",o+(n||0)+"px")}},function(t,n,e){function r(t,n,e){u.apply(this,arguments)}function o(t,n){var e=a(t,n);e.attr("refX",-8),e.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(n.markerType(),!0),n.markerElement(e)}function i(t,n){var e=a(t,n);e.attr("refX",8),e.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(n.markerType(),!0),n.markerElement(e)}function a(t,n){return t.append("marker").datum(n).attr("id",n.markerId()).attr("viewBox","-10 -10 20 20").attr("markerWidth",20).attr("markerHeight",20).attr("markerUnits","userSpaceOnUse").attr("orient","auto")}var u=e(23);t.exports=r,r.prototype=Object.create(u.prototype),r.prototype.constructor=r,r.prototype.draw=function(t,n){var e=this.label().property(),r=this.label().inverse();o(n,e),r&&i(n,r),u.prototype.draw.apply(this,arguments),t.attr("marker-start","url(#"+e.markerId()+")"),r&&t.attr("marker-end","url(#"+r.markerId()+")")}},function(t,n,e){function r(t,n,r){var i,a,u,s,c=new o(r,this),l=e(25)(t,c,this),f=e(25)(c,n,this);this.layers=function(t){return arguments.length?(i=t,this):i},this.layerIndex=function(t){return arguments.length?(a=t,this):a},this.loops=function(t){return arguments.length?(u=t,this):u},this.loopIndex=function(t){return arguments.length?(s=t,this):s},this.domain=function(){return t},this.label=function(){return c},this.linkParts=function(){return[f,l]},this.range=function(){return n}}var o=e(24);t.exports=r,r.prototype.draw=function(t){var n=this.label().property(),e=this.label().inverse();n.linkGroup(t),e&&e.linkGroup(t),t.append("path").classed("link-path",!0).classed(this.domain().cssClassOfNode(),!0).classed(this.range().cssClassOfNode(),!0).classed(n.linkType(),!0)},r.prototype.inverse=function(){return this.label().inverse()},r.prototype.isLoop=function(){return this.domain().equals(this.range())},r.prototype.property=function(){return this.label().property()}},function(t,n){function e(t,n){this.link=function(){return n},this.property=function(){return t},Object.defineProperty(this,"fixed",{get:function(){var n=!!t.inverse()&&t.inverse().fixed;return t.fixed||n},set:function(n){t.fixed=n,t.inverse()&&(t.inverse().fixed=n)}}),this.frozen=t.frozen,this.locked=t.locked,this.pinned=t.pinned}t.exports=e,e.prototype.actualRadius=function(){return this.property().actualRadius()},e.prototype.draw=function(t){return this.property().draw(t)},e.prototype.inverse=function(){return this.property().inverse()},e.prototype.equals=function(t){if(!t)return!1;var n=t instanceof e,r=this.property().equals(t.property()),o=!1;return this.inverse()?o=this.inverse().equals(t.inverse()):t.inverse()||(o=!0),n&&r&&o}},function(t,n){t.exports=function(t,n,e){var r={},o=t,i=e,a=n;return Object.defineProperties(r,{source:{value:o,writable:!0},target:{value:a,writable:!0}}),r.domain=function(){return o},r.link=function(){return i},r.range=function(){return a},r}},function(t,n,e){var r=e(8);t.exports=function(){var t=function(t){r.apply(this,arguments),this.attributes(["deprecated"]).type("owl:DeprecatedClass")};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(20);t.exports=function(){var t=function(t){r.apply(this,arguments);var n=this,e=n.draw;this.styleClass("disjointunionof").type("owl:disjointUnionOf"),this.draw=function(t){e(t);var r=t.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("text").attr("class","link").text("1").attr("transform","scale(.7)translate(3,5)"),r.attr("transform","translate(-"+(n.radius()-15)/7+",-"+(n.radius()-15)/100+")"),n.postDrawActions()}};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(8),o=e(17)();t.exports=function(){var t=function(t){r.apply(this,arguments);var n=4,e=this,i=e.actualRadius;this.styleClass("equivalentclass").type("owl:equivalentClass"),this.actualRadius=function(){return i()+n},this.draw=function(t){var r=e.collectCssClasses();e.nodeElement(t),e.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,e.labelForCurrentLanguage(),e.backgroundColor())):(o.appendCircularClass(t,e.actualRadius(),["white","embedded"]),o.appendCircularClass(t,e.actualRadius()-n,r,e.labelForCurrentLanguage(),e.backgroundColor())),e.postDrawActions()},e.setHoverHighlighting=function(t){e.nodeElement().selectAll("circle:last-of-type").classed("hovered",t)}};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(20);t.exports=function(){var t=function(t){function n(){var t=18,n=5,e=-(t/2),r=7,o=5,i=t-o,a="M"+n+","+e,u="c"+r+","+o+" "+r+","+i+" 0,"+t,s="c"+-r+","+-o+" "+-r+","+-i+" 0,"+-t;return a+u+s}r.apply(this,arguments);var e=this,o=e.draw,i=n();this.styleClass("intersectionof").type("owl:intersectionOf"),this.draw=function(t){o(t);var n=t.append("g").classed("embedded",!0),r=10;n.append("path").attr("class","nostroke").classed("symbol",!0).attr("d",i),n.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",r),n.append("circle").attr("cx",10).attr("class","nofill").classed("fineline",!0).attr("r",r),n.append("path").attr("class","nofill").attr("d","m 9,5 c 0,-2 0,-4 0,-6 0,0 0,0 0,0 0,0 0,-1.8 -1,-2.3 -0.7,-0.6 -1.7,-0.8 -2.9,-0.8 -1.2,0 -2,0 -3,0.8 -0.7,0.5 -1,1.4 -1,2.3 0,2 0,4 0,6").attr("transform","scale(.5)translate(5,0)"),n.attr("transform","translate(-"+(e.radius()-15)/7+",-"+(e.radius()-15)/100+")"),e.postDrawActions()}};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(31);t.exports=function(){var t=function(t){r.apply(this,arguments),this.label("Nothing").type("owl:Nothing").iri("http://www.w3.org/2002/07/owl#Nothing")};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(8);t.exports=function(){var t=function(t){r.apply(this,arguments);var n=this.draw;this.label("Thing").type("owl:Thing").iri("http://www.w3.org/2002/07/owl#Thing").radius(30),this.draw=function(t){n(t,["white","dashed"])}};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(20);t.exports=function(){var t=function(t){r.apply(this,arguments);var n=this,e=n.draw;this.styleClass("unionof").type("owl:unionOf"),this.draw=function(t){e(t);var r=t.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("path").attr("class","link").attr("d","m 1,-3 c 0,2 0,4 0,6 0,0 0,0 0,0 0,2 2,3 4,3 2,0 4,-1 4,-3 0,-2 0,-4 0,-6").attr("transform","scale(.5)translate(5,0)"),r.attr("transform","translate(-"+(n.radius()-15)/7+",-"+(n.radius()-15)/100+")"),n.postDrawActions()}};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(8);t.exports=function(){var t=function(t){r.apply(this,arguments),this.attributes(["rdf"]).type("rdfs:Class")};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(35);t.exports=function(){var t=function(t){r.apply(this,arguments),this.attributes(["datatype"]).type("rdfs:Datatype")};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(36);t.exports=function(){var t=function(t){r.apply(this,arguments)};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){(function(n){var r=e(9),o=e(14),i=e(17)(),a=e(37)();t.exports=function(){var t=function(t){function e(t,e){e||(e="text");var r=n.select("body").append("div").attr("class",e).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(t),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}r.apply(this,arguments);var u,s,c,l,f=this,p=20,d=60,h=80,v=80,g=80,y=p/2;this.height=function(t){return arguments.length?(p=t,this):p},this.width=function(t){return arguments.length?(d=t,this):d},this.getHalos=function(){return s},this.actualRadius=function(){return y},this.distanceToBorder=function(t,n){return a.distanceToBorder(f,t,n)},this.setHoverHighlighting=function(t){f.nodeElement().selectAll("rect").classed("hovered",t);var n=f.getHalos();if(n){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1),e.classed("searchResultB",!0)}},this.textWidth=function(){return h},this.width=function(){return h},this.getMyWidth=function(){var t=f.labelForCurrentLanguage();v=e(t,"text")+20;var n=f.indicationString(),r=e(n,"subtext")+20;return r>v&&(v=r),v},this.textWidth=function(){return f.width()},this.toggleFocus=function(){f.focused(!f.focused()),f.nodeElement().select("rect").classed("focused",f.focused()),t.resetSearchHighlight(),t.options().searchMenu().clearText()},this.draw=function(n,e){var r=f.collectCssClasses();f.nodeElement(n),e instanceof Array&&(r=r.concat(e)),h=t.options().dynamicLabelWidth()===!0?Math.min(f.getMyWidth(),t.options().maxLabelWidth()):g,d=h,c=i.appendRectangularClass(n,f.width(),f.height(),r,f.labelForCurrentLanguage(),f.backgroundColor()),l=new o(n,f.backgroundColor()),l.addText(f.labelForCurrentLanguage()),f.addMouseListeners(),f.pinned()&&f.drawPin(),f.halo()&&f.drawHalo()},this.drawPin=function(){f.pinned(!0);var t=.25*d,n=-1.1*p;u=i.drawPin(f.nodeElement(),t,n,this.removePin)},this.removePin=function(){f.pinned(!1),u&&u.remove(),t.updateStyle()},this.removeHalo=function(){f.halo(!1),s&&(s.remove(),s=null)},this.drawHalo=function(){f.halo(!0);var t=0;if(s=i.drawRectHalo(f,this.width(),this.height(),t),f.pinned()){var n=u.node(),e=n.parentNode;e.appendChild(n)}},this.updateTextElement=function(){l.updateAllTextElements()},this.redrawLabelText=function(){l.remove(),l=new o(f.nodeElement(),f.backgroundColor()),l.addText(f.labelForCurrentLanguage()),f.animateDynamicLabelWidth(t.options().dynamicLabelWidth()),c.select("title").text(f.labelForCurrentLanguage())},this.animateDynamicLabelWidth=function(n){f.removeHalo();var e=f.height();if(n===!0?(h=Math.min(f.getMyWidth(),t.options().maxLabelWidth()),c.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-e/2,width:h,height:e}).each("end",function(){f.updateTextElement()})):(h=g,f.updateTextElement(),c.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-e/2,width:h,height:e})),f.pinned()===!0&&u){var r=.5*h-10,o=-1.1*e;u.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}},this.addTextLabelElement=function(){var t=f.nodeElement();l=new o(t,this.backgroundColor()),l.addText(f.labelForCurrentLanguage())}};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()}).call(n,e(6))},function(t,n){var e={};t.exports=function(){return e},e.distanceToBorder=function(t,n,e){var r,o=t.width(),i=t.height(),a=Math.abs(e/n),u=i/o;if(a<=u){var s=n/(o/2),c=e/s;r=Math.sqrt(Math.pow(o/2,2)+Math.pow(c,2))}else{var l=e/(i/2),f=n/l;r=Math.sqrt(Math.pow(i/2,2)+Math.pow(f,2))}return r}},function(t,n,e){var r=e(35);t.exports=function(){var t=function(t){r.apply(this,arguments);var n=this.draw,e=this.label;this.attributes(["datatype"]).label("Literal").styleClass("literal").type("rdfs:Literal").iri("http://www.w3.org/2000/01/rdf-schema#Literal"),this.draw=function(t){n(t,["dashed"])},this.label=function(t){return arguments.length?this:e()}};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(8);t.exports=function(){var t=function(t){r.apply(this,arguments);var n=this.draw;this.attributes(["rdf"]).label("Resource").radius(30).styleClass("rdfsresource").type("rdfs:Resource"),this.draw=function(t){n(t,["rdf","dashed"])}};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){(function(n){var r=[];r.push(e(41)),r.push(e(44)),r.push(e(45)),r.push(e(46)),r.push(e(47)),r.push(e(48)),r.push(e(49)),r.push(e(50)),r.push(e(51)),r.push(e(52)),r.push(e(53)),r.push(e(54)),r.push(e(55)),r.push(e(56));var o=n.map(r,function(t){return(new t).type()});t.exports=function(){return o}}).call(n,e(6))},function(t,n,e){var r=e(42);t.exports=function(){var t=function(t){r.apply(this,arguments);var n=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("allvaluesfromproperty").type("owl:allValuesFrom"),this.generateCardinalityText=function(){var t="A",e=n();return e&&(t+=", "+e),t}};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){(function(n){var r=e(10),o=e(14),i=e(17)(),a=e(13)(),u=e(37)();e(43)();t.exports=function(){var t=28,e=80,s=t/2,c=function(t){function e(){var t=[];return A.subproperties()&&(t=t.concat(A.subproperties())),A.superproperties()&&(t=t.concat(A.superproperties())),t}function s(){var t=e();t.forEach(function(t){t.foreground&&t.foreground()})}function c(){A.mouseEntered()||(A.mouseEntered(!0),A.setHighlighting(!0),A.foreground(),s())}function l(){A.mouseEntered(!1),A.setHighlighting(!1)}function f(t,e){e||(e="text");var r=n.select("body").append("div").attr("class",e).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(t),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}r.apply(this,arguments);var p,d,h,v,g,y,x,m,b,w,_,C,E,j,S,k,O,A=this,L="normal",M="filled",R=!0,T=80,P=80,B=[];this.getHalos=function(){return S},this.getPin=function(){return j},this.cardinality=function(t){return arguments.length?(p=t,this):p},this.cardinalityElement=function(t){return arguments.length?(w=t,this):w},this.domain=function(t){return arguments.length?(d=t,this):d},this.inverse=function(t){ +return arguments.length?(h=t,this):h},this.labelElement=function(t){return arguments.length?(_=t,this):_},this.labelVisible=function(t){return arguments.length?(R=t,this):R},this.link=function(t){return arguments.length?(v=t,this):v},this.linkGroup=function(t){return arguments.length?(C=t,this):C},this.linkType=function(t){return arguments.length?(L=t,this):L},this.markerElement=function(t){return arguments.length?(E=t,this):E},this.markerType=function(t){return arguments.length?(M=t,this):M},this.maxCardinality=function(t){return arguments.length?(y=t,this):y},this.minCardinality=function(t){return arguments.length?(g=t,this):g},this.range=function(t){return arguments.length?(x=t,this):x},this.redundantProperties=function(t){return arguments.length?(B=t,this):B},this.subproperties=function(t){return arguments.length?(m=t,this):m},this.superproperties=function(t){return arguments.length?(b=t,this):b},this.distanceToBorder=function(t,n){return u.distanceToBorder(A,t,n)},this.linkHasMarker=function(){return"dashed"!==L},this.markerId=function(){return"marker"+A.id()},this.toggleFocus=function(){A.focused(!A.focused()),_.select("rect").classed("focused",A.focused()),t.resetSearchHighlight(),t.options().searchMenu().clearText()},this.getShapeElement=function(){return k},this.redrawElement=function(){},this.draw=function(t){function n(n){var e=t.append("g").datum(n).classed("label",!0).attr("id",n.id());return n.drawLabel(e),e}if(A.labelVisible()){if(A.labelElement(n(A)),A.inverse()){var e=A.height()/2+1;A.inverse().labelElement(n(A.inverse())),A.labelElement().attr("transform","translate(0,-"+e+")"),A.inverse().labelElement().attr("transform","translate(0,"+e+")")}return A.pinned()?A.drawPin():A.inverse()&&A.inverse().pinned()&&A.inverse().drawPin(),A.halo()&&A.drawHalo(),A.labelElement()}},this.addRect=function(t){var n=t.append("rect").classed(A.styleClass(),!0).classed("property",!0).attr("x",-A.width()/2).attr("y",-A.height()/2).attr("width",A.width()).attr("height",A.height()).on("mouseover",function(){c()}).on("mouseout",function(){l()});return n.append("title").text(A.labelForCurrentLanguage()),A.visualAttributes()&&n.classed(A.visualAttributes(),!0),A.backgroundColor()&&n.style("fill",A.backgroundColor()),n},this.drawLabel=function(n){T=t.options().dynamicLabelWidth()===!0?Math.min(A.getMyWidth(),t.options().maxLabelWidth()):P,k=this.addRect(n);var e=A.equivalentsString(),r=e?",":"";O=new o(n,this.backgroundColor()),O.addText(this.labelForCurrentLanguage(),"",r),O.addEquivalents(e),O.addSubText(this.indicationString())},this.equivalentsString=function(){var t=A.equivalents();if(t)return t.map(function(t){return void 0===t||"string"==typeof t?"ERROR":t.labelForCurrentLanguage()}).join(", ")},this.drawCardinality=function(t){var n=this.generateCardinalityText();return!!n&&(A.cardinalityElement(t),0===n.indexOf("A")&&1===n.length?(t.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -8.8832678,-11.303355 -7.97e-4,0 0.717374,1.833297 8.22987151,21.371761 8.66826659,-21.2123526 0.797082,-1.9927054 0.02471,0 -0.8218553,1.9927054 -2.2517565,5.4201577 -12.4444429,8e-6 -2.2019394,-5.5795821 z").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):0===n.indexOf("E")&&1===n.length?(t.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -5.5788451,-8.0958763 10.8749368,0 0,8.34681523 -9.5707468,0.040132 9.5707468,-0.040132 0,8.42707237 -10.9150654,0").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):(t.append("text").classed("cardinality",!0).attr("text-anchor","middle").attr("dy","0.5ex").text(n),!0))},this.generateCardinalityText=function(){if(A.cardinality())return A.cardinality();if(A.minCardinality()||A.maxCardinality()){var t=A.minCardinality()||"*",n=A.maxCardinality()||"*";return t+".."+n}},A.setHighlighting=function(t){A.labelElement&&A.labelElement()&&A.labelElement().select("rect").classed("hovered",t),A.linkGroup().selectAll("path, text").classed("hovered",t),A.markerElement()&&(A.markerElement().select("path").classed("hovered",t),A.cardinalityElement()&&(A.cardinalityElement().selectAll("path").classed("hovered-MathSymbol",t),A.cardinalityElement().classed("hovered",t)));var n=e();n.forEach(function(n){n.labelElement&&n.labelElement()&&n.labelElement().select("rect").classed("indirect-highlighting",t)})},this.foreground=function(){if(A.labelElement()&&null!==A.labelElement().node().parentNode){var t=A.labelElement().node().parentNode,n=t.parentNode,e=A.linkGroup().node(),r=A.linkGroup().node().parentNode;A.animationProcess()===!1&&n.appendChild(t),r.appendChild(e)}},this.drawPin=function(){if(A.pinned(!0),T=t.options().dynamicLabelWidth()===!0?A.getMyWidth():P,A.inverse()){var n=A.labelElement().attr("transform"),e=A.inverse().labelElement().attr("transform"),r=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(n)[2],o=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(e)[2];j=rT&&(T=e),T},this.textWidth=function(){return T},this.width=function(){return T},this.animateDynamicLabelWidth=function(n){if(A.removeHalo(),void 0!==k){var e=A.height();if(n===!0?(T=Math.min(A.getMyWidth(),t.options().maxLabelWidth()),k.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-T/2,y:-e/2,width:T,height:e}).each("end",function(){A.updateTextElement()})):(T=P,A.updateTextElement(),k.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-T/2,y:-e/2,width:T,height:e})),A.pinned()===!0&&j){var r=.5*T-10,o=-25;j.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}}},this.redrawLabelText=function(){},this.addTextLabelElement=function(){var t=A.labelElement(),n=A.equivalentsString(),e=n?",":"";O=new o(t,this.backgroundColor()),O.addText(this.labelForCurrentLanguage(),"",e),O.addEquivalents(n),O.addSubText(this.indicationString())},this.updateTextElement=function(){O?O.updateAllTextElements():console.log("could not find text element for "+A.labelForCurrentLanguage())},a.addTo(this)};return c.prototype=Object.create(r.prototype),c.prototype.constructor=c,c.prototype.height=function(){return t},c.prototype.width=function(){return e},c.prototype.actualRadius=function(){return s},c.prototype.textWidth=c.prototype.width,c}()}).call(n,e(6))},function(t,n,e){(function(n){t.exports=function(){function t(t){return t%=360,t<0&&(t+=360),Math.PI*t/180}function e(t){return t*(180/Math.PI)}var r={},o=n.svg.line().x(function(t){return t.x}).y(function(t){return t.y}).interpolate("cardinal").tension(-1);return r.calculateNormalVector=function(t,n,e){var r=n.x-t.x,o=n.y-t.y,i=-o,a=r,u=Math.sqrt(i*i+a*a),s=0!==u?e/u:0;return{x:i*s,y:a*s}},r.calculateLoopPath=function(n){var r=n.domain(),i=n.label(),a=360/n.loops().length,u=.8*a,s=Math.min(60,u),c=i.x-r.x,l=i.y-r.y,f=Math.atan2(l,c),p=e(f),d=p-s/2,h=p+s/2,v=t(d),g=t(h),y=Math.cos(v)*r.actualRadius(),x=Math.sin(v)*r.actualRadius(),m=Math.cos(g)*r.actualRadius(),b=Math.sin(g)*r.actualRadius(),w={x:r.x+y,y:r.y+x},_={x:r.x+m,y:r.y+b};return o([w,n.label(),_])},r.calculateIntersection=function(t,n,e){var r=n.x-t.x,o=n.y-t.y,i=Math.sqrt(r*r+o*o);if(0===i)return{x:t.x,y:t.y};var a=n.distanceToBorder(r,o),u=(i-(a+e))/i,s=r*u+t.x,c=o*u+t.y;return{x:s,y:c}},r.calculateCenter=function(t,n){return{x:(t.x+n.x)/2,y:(t.y+n.y)/2}},function(){return r}}()}).call(n,e(6))},function(t,n,e){var r=e(42);t.exports=function(){var t=function(t){r.apply(this,arguments),this.attributes(["datatype"]).styleClass("datatypeproperty").type("owl:DatatypeProperty")};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(42);t.exports=function(){var t=function(t){r.apply(this,arguments),this.attributes(["deprecated"]).styleClass("deprecatedproperty").type("owl:DeprecatedProperty")};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(42),o=e(14);t.exports=function(){var t=function(t){r.apply(this,arguments);var n,e="Disjoint With";this.label=function(t){return arguments.length?this:e},this.linkType("dashed").styleClass("disjointwith").type("owl:disjointWith"),this.drawLabel=function(e){n=this.addRect(e),e.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",-12.5).attr("r",10),e.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",12.5).attr("r",10);var r=new o(e,this.backgroundColor());t.options().compactNotation()||r.addSubText("disjoint"),r.translation(0,20)},this.getShapeElement=function(){return n},this.markerElement=function(){}};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(42);t.exports=function(){var t=function(t){r.apply(this,arguments),this.styleClass("equivalentproperty").type("owl:equivalentProperty")};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(42);t.exports=function(){var t=function(t){r.apply(this,arguments),this.attributes(["functional"]).styleClass("functionalproperty").type("owl:FunctionalProperty")};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(42);t.exports=function(){var t=function(t){r.apply(this,arguments),this.attributes(["inverse functional"]).styleClass("inversefunctionalproperty").type("owl:InverseFunctionalProperty")};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(42);t.exports=function(){var t=function(t){r.apply(this,arguments),this.attributes(["object"]).styleClass("objectproperty").type("owl:ObjectProperty")};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(42);t.exports=function(){var t=function(t){r.apply(this,arguments);var n=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("somevaluesfromproperty").type("owl:someValuesFrom"),this.generateCardinalityText=function(){var t="E",e=n();return e&&(t+=", "+e),t}};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(42);t.exports=function(){var t=function(t){r.apply(this,arguments),this.attributes(["symmetric"]).styleClass("symmetricproperty").type("owl:SymmetricProperty")};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(42);t.exports=function(){var t=function(t){r.apply(this,arguments),this.attributes(["transitive"]).styleClass("transitiveproperty").type("owl:TransitiveProperty")};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(42);t.exports=function(){var t=function(t){r.apply(this,arguments),this.attributes(["rdf"]).styleClass("rdfproperty").type("rdf:Property")};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(42);t.exports=function(){var t=function(t){r.apply(this,arguments);var n=this,e=n.draw,o="Subclass of";this.draw=function(r){return n.labelVisible(!t.options().compactNotation()),e(r)},this.label=function(t){return arguments.length?this:o},this.linkType("dotted").markerType("white").styleClass("subclass").type("rdfs:subClassOf")};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){var r=e(42);t.exports=function(){var t=function(t){r.apply(this,arguments),this.labelVisible(!1).linkType("dashed").markerType("white").styleClass("setoperatorproperty").type("setOperatorProperty")};return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t}()},function(t,n,e){(function(n){var r=e(58),o=e(43)(),i=e(60)(),a=e(63)();t.exports=function(t){function u(){nt.graphContainerSelector(t);var e=!1;U=n.layout.force().on("tick",s),Z=n.behavior.drag().origin(function(t){return t}).on("dragstart",function(t){n.event.sourceEvent.stopPropagation(),t.locked(!0),e=!1}).on("drag",function(t){t.px=n.event.x,t.py=n.event.y,U.resume(),j(),e=!0}).on("dragend",function(t){t.locked(!1);var n=J.options().pickAndPinModule();n.enabled()===!0&&e===!0&&(t.id&&n.handle(t,!0),t.property&&n.handle(t.property(),!0))}),K=n.behavior.zoom().duration(150).scaleExtent([nt.minMagnification(),nt.maxMagnification()]).on("zoom",f),U.stop()}function s(){if(J.options().loadingModule().successfullyLoadedOntology()===!1)return U.stop(),n.select("#progressBarValue").node().innerHTML="",J.updateProgressBarMode(),J.options().loadingModule().showErrorDetailsMessage(s),void(yt&&xt===!1&&J.options().loadingModule().collapseDetails("hiddenRecalculatePositions"));if(at===!1){var t=1-10*U.alpha(),e=parseInt(200*t)+"%";J.options().loadingModule().setPercentValue(e),n.select("#progressBarValue").style("width",e),n.select("#progressBarValue").node().innerHTML=e,t>.49&&(at=!0,M&&(M.style("opacity","1"),e="100%",n.select("#progressBarValue").style("width",e),n.select("#progressBarValue").node().innerHTML=e,J.options().ontologyMenu().append_message_toLastBulletPoint("done")),ut=!1,it&&(J.paused()===!1&&U.start(),it=!1,ut=!0),U.on("tick",c),c(),ut===!0&&U.nodes().length>0&&J.forceRelocationEvent(),J.options().loadingModule().missingImportsWarning()===!1?(J.options().loadingModule().hideLoadingIndicator(),J.options().ontologyMenu().append_bulletPoint("Successfully loaded ontology"),J.options().loadingModule().setSuccessful()):(J.options().loadingModule().showWarningDetailsMessage(),J.options().ontologyMenu().append_bulletPoint("Loaded ontology with warnings")))}}function c(){D.attr("transform",function(t){return"translate("+t.x+","+t.y+")"}),H.attr("transform",function(t){var n,e=t.link();if(1===e.layers().length&&!e.loops()){var r=o.calculateIntersection(e.range(),e.domain(),0),i=o.calculateIntersection(e.domain(),e.range(),0);n=o.calculateCenter(r,i),t.x=n.x,t.y=n.y}return"translate("+t.x+","+t.y+")"}),I.attr("d",function(t){if(t.isLoop())return o.calculateLoopPath(t);var n=t.label(),e=o.calculateIntersection(n,t.domain(),1),r=o.calculateIntersection(n,t.range(),1);return tt([e,n,r])}),F.attr("transform",function(t){var n=t.link().label(),e=o.calculateIntersection(n,t.range(),Y),r=o.calculateNormalVector(n,t.range(),Q);return"translate("+(e.x+r.x)+","+(e.y+r.y)+")"}),j()}function l(){function t(t){nt.selectionModules().forEach(function(n){n.handle(t)})}D.on("click",function(n){t(n)}),H.selectAll(".label").on("click",function(n){t(n)})}function f(){var t=!1;if(n.event.sourceEvent&&n.event.sourceEvent.deltaY&&(t=!0),t===!1){if(st===!0)return;return $=n.event.scale,X=n.event.translate,M.attr("transform","translate("+X+")scale("+$+")"),void j()}$=n.event.scale,X=n.event.translate,M.transition().tween("attr.translate",function(){return function(t){st=!0;var e=n.transform(M.attr("transform"));X[0]=e.translate[0],X[1]=e.translate[1],$=e.scale[0],j(),J.options().zoomSlider().updateZoomSliderValue($)}}).each("end",function(){st=!1}).attr("transform","translate("+X+")scale("+$+")").ease("linear").duration(250)}function p(){h(),M=n.selectAll(nt.graphContainerSelector()).append("svg").classed("vowlGraph",!0).attr("width",nt.width()).attr("height",nt.height()).call(K).append("g")}function d(){var t;M&&(M.selectAll("*").remove(),B=M.append("g").classed("linkContainer",!0),P=M.append("g").classed("cardinalityContainer",!0),T=M.append("g").classed("labelContainer",!0),R=M.append("g").classed("nodeContainer",!0),t=B.append("defs"),D=R.selectAll(".node").data(z).enter().append("g").classed("node",!0).attr("id",function(t){return t.id()}).call(Z),D.each(function(t){t.draw(n.select(this))}),H=T.selectAll(".labelGroup").data(q).enter().append("g").classed("labelGroup",!0).call(Z),H.each(function(t){var e=t.draw(n.select(this));e||n.select(this).remove()}),H.each(function(t){if(this.parentNode&&a.isRdfsSubClassOf(t.property())){var n=this.parentNode;n.insertBefore(this,n.firstChild)}}),F=P.selectAll(".cardinality").data(V).enter().append("g").classed("cardinality",!0),F.each(function(t){var e=t.drawCardinality(n.select(this));e||n.select(this).remove()}),N=B.selectAll(".link").data(W).enter().append("g").classed("link",!0),N.each(function(e){e.draw(n.select(this),t)}),I=N.selectAll("path"),l())}function h(){M&&n.select(M.node().parentNode).remove()}function v(t){var n,e=[],r=t.nodes;for(n=0;n0)for(var t=U.nodes(),n=0;nr||d<0||d>o){p<0&&d<0?(v=0,g=0):p>0&&pr&&d<0?(v=r,g=0):p>r&&d>0&&dr&&d>o?(v=r,g=o):p>0&&po?(v=p,g=o):p<0&&d>o?(v=0,g=o):p<0&&d>0&&d2500&&(c=2500),M.attr("transform",O(i,e,r)).transition().duration(c).attrTween("transform",function(){return function(t){return O(s(t),e,r)}}).each("end",function(){M.attr("transform","translate("+X+")scale("+$+")"),K.translate(X),K.scale($),j()})}function L(t,n,e,r){var o,i,a=r[0];return a?(o=(t-e[0])/a,i=(n-e[1])/a):(o=(t-e[0])/r,i=(n-e[1])/r),{x:o,y:i}}var M,R,T,P,B,D,H,N,I,F,z,q,W,V,G,U,Z,$,X,K,J={},Y=20,Q=10,tt=n.svg.line().x(function(t){return t.x}).y(function(t){return t.y}).interpolate("cardinal"),nt=e(64)(),et=e(65)(J),rt="default",ot=!1,it=!0,at=!1,ut=!1,st=!1,ct=!1,lt=[],ft=[],pt=[],dt=0,ht=1,vt=.8,gt=-1,yt=!0,xt=!1;return J.getGlobalDOF=function(){return gt},J.setGlobalDOF=function(t){gt=t},J.updateZoomSliderValueFromOutside=function(){J.options().zoomSlider().updateZoomSliderValue($)},J.setDefaultZoom=function(t){ht=t,J.reset(),J.options().zoomSlider().updateZoomSliderValue(ht)},J.setTargetZoom=function(t){vt=t},J.graphOptions=function(){return nt},J.scaleFactor=function(){return $},J.translation=function(){return X},J.graphNodeElements=function(){return D},J.graphLabelElements=function(){return q},J.setSliderZoom=function(t){var e=.5*J.options().width(),r=.5*J.options().height(),o=L(e,r,X,$),i=[o.x,o.y,J.options().height()/$],a=[o.x,o.y,J.options().height()/t],u=n.interpolateZoom(i,a);M.attr("transform",O(i,e,r)).transition().duration(1).attrTween("transform",function(){return function(t){return O(u(t),e,r)}}).each("end",function(){M.attr("transform","translate("+X+")scale("+$+")"),K.translate(X),K.scale($),J.options().zoomSlider().updateZoomSliderValue($)})},J.setZoom=function(t){K.scale(t)},J.setTranslation=function(t){K.translate([t[0],t[1]])},J.options=function(){return nt},J.getUpdateDictionary=function(){return et.getDictionary()},J.language=function(t){return arguments.length?(rt!==t&&(rt=t||"default",d(),c(),J.options().searchMenu().requestDictionaryUpdate(),J.resetSearchHighlight()),J):rt},J.lazyRefresh=function(){d(),c()},J.adjustingGraphSize=function(t){xt=t},u(),J.updateCanvasContainerSize=function(){if(M){var t=n.selectAll(".vowlGraph");t.attr("width",nt.width()),t.attr("height",nt.height()),M.attr("transform","translate("+X+")scale("+$+")")}},J.start=function(){U.stop(),g(!0),p(),J.update(!0),J.options().loadingModule().successfullyLoadedOntology()===!1&&J.options().loadingModule().setErrorMode()},J.updateStyle=function(){_(),J.options().loadingModule().successfullyLoadedOntology()===!1?U.stop():U.start()},J.reload=function(){g(),J.update()},J.load=function(){U.stop(),g(),y();for(var t=0;t0)for(var i=0;ie&&(o=e);var i=.5*J.options().width(),a=.5*J.options().height(),u=L(i,a,X,$),s=[u.x,u.y,J.options().height()/$],c=[u.x,u.y,J.options().height()/o],l=n.interpolateZoom(s,c);M.attr("transform",O(s,i,a)).transition().duration(250).attrTween("transform",function(){return function(t){return O(l(t),i,a)}}).each("end",function(){M.attr("transform","translate("+X+")scale("+$+")"),K.translate(X),K.scale($),j(),nt.zoomSlider().updateZoomSliderValue($)})},J.clearGraphData=function(){U.stop();var t=J.options().sidebar();t&&t.clearOntologyInformation(),M&&p()},J.updateProgressBarMode=function(){var t=J.options().loadingModule(),n=t.getProgressBarMode();switch(n){case 0:t.setErrorMode();break;case 1:t.setBusyMode();break;case 2:t.setPercentMode();break;default:t.setPercentMode()}},J.handleOnLoadingError=function(){U.stop(),J.clearGraphData(),J.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),n.select("#progressBarValue").node().innherHTML="",n.select("#progressBarValue").classed("busyProgressBar",!1),J.options().loadingModule().setErrorMode(),J.options().loadingModule().showErrorDetailsMessage()},J.animateDynamicLabelWidth=function(){var t,n=nt.dynamicLabelWidth();for(t=0;t0){if(st===!0)return;var t=U.nodes()[lt[dt]];dt++,dt%=lt.length,t.id&&t.foreground(),t.property&&t.property().foreground(),A(t)}},J.resetSearchHighlight=function(){lt=[],ft=[];var t,n=G.nodes,e=G.properties;for(t=0;t0?(n.select("#locateSearchResult").classed("highlighted",!0),n.select("#locateSearchResult").node().title="Locate search term"):(n.select("#locateSearchResult").classed("highlighted",!1),n.select("#locateSearchResult").node().title="Nothing to locate, enter search term.")},J.highLightNodes=function(t){if(0!==t.length){lt=[],ft=t;for(var e=[],r=0;rK.scaleExtent()[1]&&(v=K.scaleExtent()[1]),v2500&&(w=2500),M.attr("transform",O(x,p,d)).transition().duration(w).attrTween("transform",function(){return function(t){return O(b(t),p,d); +}}).each("end",function(){M.attr("transform","translate("+X+")scale("+$+")"),K.translate(X),K.scale($),J.options().zoomSlider().updateZoomSliderValue($)})},J}}).call(n,e(6))},function(t,n,e){var r;(function(t,o){(function(){function i(t,n){return t.push.apply(t,n),t}function a(t,n,e,r){for(var o=t.length,i=e+(r?1:-1);r?i--:++i0&&e(s)?n>1?b(s,n-1,e,r,o):i(o,s):r||(o[o.length]=s)}return o}function w(t,n){return t&&Xn(t,n,fe)}function _(t,n){return m(n,function(n){return Pt(t[n])})}function C(t){return nt(t)}function E(t,n){return t>n}function j(t){return Ht(t)&&C(t)==xn}function S(t,n,e,r,o){return t===n||(null==t||null==n||!Ht(t)&&!Ht(n)?t!==t&&n!==n:k(t,n,e,r,S,o))}function k(t,n,e,r,o,i){var a=re(t),u=re(n),s=a?vn:C(t),c=u?vn:C(n);s=s==hn?Cn:s,c=c==hn?Cn:c;var l=s==Cn,f=c==Cn,p=s==c;i||(i=[]);var d=Yn(i,function(n){return n[0]==t}),h=Yn(i,function(t){return t[0]==n});if(d&&h)return d[1]==n;if(i.push([t,n]),i.push([n,t]),p&&!l){var v=a?Z(t,n,e,r,o,i):$(t,n,s,e,r,o,i);return i.pop(),v}if(!(e&sn)){var g=l&&Nn.call(t,"__wrapped__"),y=f&&Nn.call(n,"__wrapped__");if(g||y){var x=g?t.value():t,m=y?n.value():n,v=o(x,m,e,r,i);return i.pop(),v}}if(!p)return!1;var v=X(t,n,e,r,o,i);return i.pop(),v}function O(t){return Ht(t)&&C(t)==jn}function A(t){return"function"==typeof t?t:null==t?Kt:("object"==typeof t?R:u)(t)}function L(t,n){return to?0:o+n),e=e>o?o:e,e<0&&(e+=o),o=n>e?0:e-n>>>0,n>>>=0;for(var i=Array(o);++rn||i&&a&&s&&!u&&!c||r&&a&&s||!e&&s||!o)return 1;if(!r&&!i&&!c&&t1?e[o-1]:on;for(i=t.length>3&&"function"==typeof i?(o--,i):on,n=Object(n);++r-1?o[i?n[a]:a]:on}}function U(t,n,e,r){function o(){for(var n=-1,u=arguments.length,s=-1,c=r.length,l=Array(c+u),f=this&&this!==Tn&&this instanceof o?a:t;++su))return!1;for(var c=-1,l=!0,f=e&cn?[]:on;++c-1&&t%1==0&&t0&&(e=n.apply(this,arguments)),t<=1&&(n=on),e}}function jt(t){if("function"!=typeof t)throw new TypeError(un);return function(){var n=arguments;return!t.apply(this,n)}}function St(t){return Et(2,t)}function kt(t){return Dt(t)?re(t)?D(t):F(t,Gn(t)):t}function Ot(t,n){return t===n||t!==t&&n!==n}function At(t){return null!=t&&Bt(t.length)&&!Pt(t)}function Lt(t){return t===!0||t===!1||Ht(t)&&C(t)==yn}function Mt(t){return At(t)&&(re(t)||zt(t)||Pt(t.splice)||ee(t))?!t.length:!Gn(t).length}function Rt(t,n){return S(t,n)}function Tt(t){return"number"==typeof t&&Vn(t)}function Pt(t){if(!Dt(t))return!1;var n=C(t);return n==bn||n==wn||n==gn||n==En}function Bt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=dn}function Dt(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function Ht(t){return null!=t&&"object"==typeof t}function Nt(t){return Ft(t)&&t!=+t}function It(t){return null===t}function Ft(t){return"number"==typeof t||Ht(t)&&C(t)==_n}function zt(t){return"string"==typeof t||!re(t)&&Ht(t)&&C(t)==Sn}function qt(t){return t===on}function Wt(t){return At(t)?t.length?D(t):[]:$t(t)}function Vt(t){return"string"==typeof t?t:null==t?"":t+""}function Gt(t,n){var e=Zn(t);return null==n?e:se(e,n)}function Ut(t,n){return null!=t&&Nn.call(t,n)}function Zt(t,n,e){var r=null==t?on:t[n];return r===on&&(r=e),Pt(r)?r.call(t):r}function $t(t){return null==t?[]:l(t,fe(t))}function Xt(t){return t=Vt(t),t&&On.test(t)?t.replace(kn,Bn):t}function Kt(t){return t}function Jt(t){return R(se({},t))}function Yt(t,n,e){var r=fe(n),o=_(n,r);null!=e||Dt(n)&&(o.length||!r.length)||(e=n,n=t,t=this,o=_(n,fe(n)));var a=!(Dt(e)&&"chain"in e&&!e.chain),u=Pt(t);return $n(o,function(e){var r=n[e];t[e]=r,u&&(t.prototype[e]=function(){var n=this.__chain__;if(a||n){var e=t(this.__wrapped__),o=e.__actions__=D(this.__actions__);return o.push({func:r,args:arguments,thisArg:t}),e.__chain__=n,e}return r.apply(t,i([this.value()],arguments))})}),t}function Qt(){return Tn._===this&&(Tn._=zn),this}function tn(){}function nn(t){var n=++In;return Vt(t)+n}function en(t){return t&&t.length?x(t,Kt,E):on}function rn(t){return t&&t.length?x(t,Kt,L):on}var on,an="4.17.10",un="Expected a function",sn=1,cn=2,ln=1,fn=32,pn=1/0,dn=9007199254740991,hn="[object Arguments]",vn="[object Array]",gn="[object AsyncFunction]",yn="[object Boolean]",xn="[object Date]",mn="[object Error]",bn="[object Function]",wn="[object GeneratorFunction]",_n="[object Number]",Cn="[object Object]",En="[object Proxy]",jn="[object RegExp]",Sn="[object String]",kn=/[&<>"']/g,On=RegExp(kn.source),An=/^(?:0|[1-9]\d*)$/,Ln={"&":"&","<":"<",">":">",'"':""","'":"'"},Mn="object"==typeof t&&t&&t.Object===Object&&t,Rn="object"==typeof self&&self&&self.Object===Object&&self,Tn=Mn||Rn||Function("return this")(),Pn="object"==typeof n&&n&&!n.nodeType&&n,Bn=(Pn&&"object"==typeof o&&o&&!o.nodeType&&o,s(Ln)),Dn=Array.prototype,Hn=Object.prototype,Nn=Hn.hasOwnProperty,In=0,Fn=Hn.toString,zn=Tn._,qn=Object.create,Wn=Hn.propertyIsEnumerable,Vn=Tn.isFinite,Gn=f(Object.keys,Object),Un=Math.max,Zn=function(){function t(){}return function(n){if(!Dt(n))return{};if(qn)return qn(n);t.prototype=n;var e=new t;return t.prototype=on,e}}();d.prototype=Zn(p.prototype),d.prototype.constructor=d;var $n=q(w),Xn=W(),Kn=tn,Jn=Kt,Yn=G(it),Qn=P(function(t,n,e){return U(t,ln|fn,n,e)}),te=P(function(t,n){return g(t,1,n)}),ne=P(function(t,n,e){return g(t,ue(n)||0,e)}),ee=Kn(function(){return arguments}())?Kn:function(t){return Ht(t)&&Nn.call(t,"callee")&&!Wn.call(t,"callee")},re=Array.isArray,oe=j,ie=O,ae=Number,ue=Number,se=z(function(t,n){F(n,Gn(n),t)}),ce=z(function(t,n){F(n,tt(n),t)}),le=P(function(t,n){t=Object(t);var e=-1,r=n.length,o=r>2?n[2]:on;for(o&&Q(n[0],n[1],o)&&(r=1);++e=0){t.visualAttributes().push(o);break}}function e(t){var n,e,r;for(n=0,e=b.length;n=0&&t.indications().push(r)}function r(t){var n,e,r;for(n=0,e=w.length;n=0&&t.indications().push(r)}var o={},i="anonymous",a="datatype",u="deprecated",s="external",c="object",l="rdf",f="asymmetric",p="functional",d="inverse functional",h="irreflexive",v="key",g="reflexive",y="symmetric",x="transitive",m=[[u,a,c,l],[i]],b=[u,s],w=[f,p,d,h,v,g,y,x];return o.parseClassAttributes=function(n){n.attributes()instanceof Array&&(t(n),e(n))},o.parsePropertyAttributes=function(n){n.attributes()instanceof Array&&(t(n),r(n))},function(){return o}}()},function(t,n,e){(function(n){function r(t){return function(n){return t[n]}}function o(t,e){var r=i(t,e),o=n.set(r.keys());if(o.remove(v),o.remove(g),1===o.size()){var a=o.values()[0],u=r.get(a);if(1===u.length)return u[0]}}function i(t,e){var r=n.map();return t.forEach(function(t){if(void 0!==t){var n=e[t.range()],o=n.type();r.has(o)||r.set(o,[]),r.get(o).push(n)}}),r}function a(t,n){var e;return e=p.isDatatypeProperty(t)?new f(n):new l(n),e.id(h+t.id()),e}function u(t,n,e,r){var o=[];return t.forEach(function(t){if(void 0!==t&&void 0!==n){var i=t.range();t.range(n.id()),s(i,e)||o.push(i),r.add(t.id())}}),o}function s(t,n){for(var e=0;e=0)&&t.attributes().indexOf("external")>=0})}function e(t){for(var e=o(t),a=e.entries(),u=n.scale.linear().domain([0,a.length-1]).range(r.find(p,{type:v}).range).interpolate(n.interpolateHsl),s=0;s=0&&u.splice(e,1)}}),{nodes:u,properties:s}},function(){return n}}()},function(t,n,e){var r=e(46);t.exports=function(){function t(){var t,n,o,i=[];for(t=0,n=e.length;t=0&&e=t}}var l,f,p,d,h,v,g,y={},x=!0,m=50;return y.initialize=function(r,o){var a=i(r);h instanceof Function&&h(a),t.setDefaultDegreeValue(n(r,o,a));var u=e(a);g instanceof Function?(g(u),t.highlightForDegreeSlider(u>0)):console.error("No degree setter function set.")},y.filter=function(t,n){l=t,f=n,this.enabled()&&(v instanceof Function?u(v()):console.error("No degree query function set.")),p=l,d=f},y.setMaxDegreeSetter=function(t){h=t},y.setDegreeGetter=function(t){v=t},y.setDegreeSetter=function(t){g=t},y.enabled=function(t){return arguments.length?(x=t,y):x},y.filteredNodes=function(){return p},y.filteredProperties=function(){return d},y}},function(t,n){t.exports=function(t){var n,e,r,o,i=!0,a={},u=i;return a.filter=function(i,a){n=i,e=a,t.options().scaleNodesByIndividuals(u),r=n,o=e},a.enabled=function(t){return arguments.length?(u=t,a):u},a.reset=function(){u=i},a.filteredNodes=function(){return r},a.filteredProperties=function(){return o},a}},function(t,n,e){var r=e(63)();t.exports=function(){function t(){a=a.filter(n),i=i.filter(e)}function n(t){return!r.isObjectProperty(t)}function e(t){var n=!r.isThing(t),e=o(t,a);return n||e}function o(t,e){for(var r=0;ro?0:o+n),e=e>o?o:e,e<0&&(e+=o),o=n>e?0:e-n>>>0,n>>>=0;for(var i=Array(o);++r-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=e},function(t,n){function e(t,n){var e=typeof t;return n=null==n?r:n,!!n&&("number"==e||"symbol"!=e&&o.test(t))&&t>-1&&t%1==0&&t0&&e(l)?n>1?r(l,n-1,e,a,u):o(u,l):a||(u[u.length]=l)}return u}var o=e(102),i=e(104);t.exports=r},function(t,n,e){function r(t){return a(t)||i(t)||!!(u&&t&&t[u])}var o=e(87),i=e(105),a=e(107),u=o?o.isConcatSpreadable:void 0;t.exports=r},function(t,n,e){var r=e(106),o=e(99),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=s},function(t,n,e){function r(t){return i(t)&&o(t)==a}var o=e(86),i=e(99),a="[object Arguments]";t.exports=r},function(t,n){var e=Array.isArray;t.exports=e},function(t,n){function e(t,n){var e=-1,r=t.length;for(n||(n=Array(r));++e=l&&(p=c,d=!1,n=new o(n));t:for(;++f-1}var o=e(130);t.exports=r},function(t,n,e){function r(t,n){var e=this.__data__,r=o(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this}var o=e(130);t.exports=r},function(t,n,e){var r=e(117),o=e(88),i=r(o,"Map");t.exports=i},function(t,n,e){function r(t){var n=o(this,t).delete(t);return this.size-=n?1:0,n}var o=e(136);t.exports=r},function(t,n,e){function r(t,n){var e=t.__data__;return o(n)?e["string"==typeof n?"string":"hash"]:e.map}var o=e(137);t.exports=r},function(t,n){function e(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}t.exports=e},function(t,n,e){function r(t){return o(this,t).get(t)}var o=e(136);t.exports=r},function(t,n,e){function r(t){return o(this,t).has(t)}var o=e(136);t.exports=r},function(t,n,e){function r(t,n){var e=o(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this}var o=e(136);t.exports=r},function(t,n){function e(t){return this.__data__.set(t,r),this}var r="__lodash_hash_undefined__";t.exports=e},function(t,n){function e(t){return this.__data__.has(t)}t.exports=e},function(t,n,e){function r(t,n){var e=null==t?0:t.length;return!!e&&o(t,n,0)>-1}var o=e(144);t.exports=r},function(t,n,e){function r(t,n,e){return n===n?a(t,n,e):o(t,i,e)}var o=e(145),i=e(146),a=e(147);t.exports=r},function(t,n){function e(t,n,e,r){for(var o=t.length,i=e+(r?1:-1);r?i--:++i0){if(++n>=r)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;t.exports=e},function(t,n,e){function r(t){return i(t)&&o(t)}var o=e(84),i=e(99);t.exports=r},function(t,n,e){var r=e(110),o=e(103),i=e(163),a=e(152),u=e(161),s=e(223),c=a(function(t,n){var e=s(n);return u(e)&&(e=void 0),u(t)?r(t,o(n,1,u,!0),i(e,2)):[]});t.exports=c},function(t,n,e){function r(t){return"function"==typeof t?t:null==t?a:"object"==typeof t?u(t)?i(t[0],t[1]):o(t):s(t)}var o=e(164),i=e(206),a=e(153),u=e(107),s=e(220);t.exports=r},function(t,n,e){function r(t){var n=i(t);return 1==n.length&&n[0][2]?a(n[0][0],n[0][1]):function(e){return e===t||o(e,t,n)}}var o=e(165),i=e(203),a=e(205);t.exports=r},function(t,n,e){function r(t,n,e,r){var s=e.length,c=s,l=!r;if(null==t)return!c;for(t=Object(t);s--;){var f=e[s];if(l&&f[2]?f[1]!==t[f[0]]:!(f[0]in t))return!1}for(;++sp))return!1;var h=l.get(t);if(h&&l.get(n))return h==n;var v=-1,g=!0,y=e&s?new o:void 0;for(l.set(t,n),l.set(n,t);++va?0:a+e),r=void 0===r||r>a?a:o(r),r<0&&(r+=a),r=e>r?0:i(r);e=n?t:n)),t}t.exports=e},function(t,n,e){function r(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var s=null==e?0:a(e);return s<0&&(s=u(r+s,0)),o(t,i(n,3),s)}var o=e(145),i=e(163),a=e(95),u=Math.max;t.exports=r},function(t,n,e){function r(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var c=r-1;return void 0!==e&&(c=a(e),c=e<0?u(r+c,0):s(c,r-1)),o(t,i(n,3),c,!0)}var o=e(145),i=e(163),a=e(95),u=Math.max,s=Math.min;t.exports=r},function(t,n,e){t.exports=e(237)},function(t,n){function e(t){return t&&t.length?t[0]:void 0}t.exports=e},function(t,n,e){function r(t){var n=null==t?0:t.length;return n?o(t,1):[]}var o=e(103);t.exports=r},function(t,n,e){function r(t){var n=null==t?0:t.length;return n?o(t,i):[]}var o=e(103),i=1/0;t.exports=r},function(t,n,e){function r(t,n){var e=null==t?0:t.length;return e?(n=void 0===n?1:i(n),o(t,n)):[]}var o=e(103),i=e(95);t.exports=r},function(t,n){function e(t){for(var n=-1,e=null==t?0:t.length,r={};++n=120&&y.length>=120)?new o(d&&y):void 0}y=t[0];var x=-1,m=h[0];t:for(;++x-1;)d!==t&&l.call(d,h,1),l.call(t,h,1);return t}var o=e(149),i=e(144),a=e(257),u=e(150),s=e(108),c=Array.prototype,l=c.splice;t.exports=r},function(t,n){function e(t,n,e,r){for(var o=e-1,i=t.length;++on||a&&u&&c&&!s&&!l||r&&u&&c||!e&&c||!i)return 1;if(!r&&!a&&!l&&t>>1,l=t[c];null!==l&&!a(l)&&(e?l<=n:l>>1;t.exports=r},function(t,n,e){function r(t,n,e,r){n=e(n);for(var i=0,c=null==t?0:t.length,l=n!==n,f=null===n,p=o(n),d=void 0===n;i=l){var g=n?null:s(t);if(g)return c(g);d=!1,f=u,v=new o}else v=n?[]:h;t:for(;++r1?t[n-1]:void 0;return e="function"==typeof e?(t.pop(),e):void 0,o(t,e)});t.exports=i},function(t,n,e){(function(n){t.exports=function(t){var e,r={};return r.handle=function(r){if(!n.event.defaultPrevented){var o=!0;e===r&&(o=!1),t instanceof Function&&t(o?r:void 0),e=o?r:void 0}},r.reset=function(){e&&(t(void 0),e=void 0)},r}}).call(n,e(6))},function(t,n,e){var r=e(20);t.exports=function(){function t(){var t=l.filterNodesAndTidy(o,i,n);o=t.nodes,i=t.properties}function n(t){return!(t instanceof r)}var o,i,a,u,s={},c=!1,l=e(71)();return s.filter=function(n,e){o=n,i=e,this.enabled()&&t(),a=o,u=i},s.enabled=function(t){return arguments.length?(c=t,s):c},s.filteredNodes=function(){return a},s.filteredProperties=function(){return u},s}},function(t,n,e){(function(n){var r=e(20),o=e(31),i=e(30),a=e(63)();t.exports=function(){function t(){h=0,v=0,g=0,y=0,x=0,m=0,b=0,w=0}function u(t,n){h=t.length;var r,o,i,a=e(62)();for(r=0,o=n.length;r1)return!1}return!0}function a(t,n){var e,r,o,i=[];for(r=0,o=t.length;r + +406 Not Acceptable + + +

    Not Acceptable

    +

    An appropriate representation of the requested resource could not be found on this server.

    + Available variants: + + \ No newline at end of file diff --git a/dist/ontology/0.5.1/OOPSevaluation/evaluation/bootstrap.css b/dist/ontology/0.5.1/OOPSevaluation/evaluation/bootstrap.css new file mode 100644 index 0000000..b17ff4c --- /dev/null +++ b/dist/ontology/0.5.1/OOPSevaluation/evaluation/bootstrap.css @@ -0,0 +1,7155 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +audio, +canvas, +video { + display: inline-block; +} + +audio:not([controls]) { + display: none; + height: 0; +} + +[hidden], +template { + display: none; +} + +html { + font-family: sans-serif; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +body { + margin: 0; +} + +a { + background: transparent; +} + +a:focus { + outline: thin dotted; +} + +a:active, +a:hover { + outline: 0; +} + +h1 { + margin: 0.67em 0; + font-size: 2em; +} + +abbr[title] { + border-bottom: 1px dotted; +} + +b, +strong { + font-weight: bold; +} + +dfn { + font-style: italic; +} + +hr { + height: 0; + -moz-box-sizing: content-box; + box-sizing: content-box; +} + +mark { + color: #000; + background: #ff0; +} + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +pre { + white-space: pre-wrap; +} + +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} + +small { + font-size: 80%; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +img { + border: 0; +} + +svg:not(:root) { + overflow: hidden; +} + +figure { + margin: 0; +} + +fieldset { + padding: 0.35em 0.625em 0.75em; + margin: 0 2px; + border: 1px solid #c0c0c0; +} + +legend { + padding: 0; + border: 0; +} + +button, +input, +select, +textarea { + margin: 0; + font-family: inherit; + font-size: 100%; +} + +button, +input { + line-height: normal; +} + +button, +select { + text-transform: none; +} + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + cursor: pointer; + -webkit-appearance: button; +} + +button[disabled], +html input[disabled] { + cursor: default; +} + +input[type="checkbox"], +input[type="radio"] { + padding: 0; + box-sizing: border-box; +} + +input[type="search"] { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + -webkit-appearance: textfield; +} + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; +} + +textarea { + overflow: auto; + vertical-align: top; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +@media print { + * { + color: #000 !important; + text-shadow: none !important; + background: transparent !important; + box-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + a[href^="javascript:"]:after, + a[href^="#"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + @page { + margin: 2cm .5cm; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + select { + background: #fff !important; + } + .navbar { + display: none; + } + .table td, + .table th { + background-color: #fff !important; + } + .btn > .caret, + .dropup > .btn > .caret { + border-top-color: #000 !important; + } + .label { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #ddd !important; + } +} + +*, +*:before, +*:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +html { + font-size: 62.5%; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +body { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 1.428571429; + color: #333333; + background-color: #ffffff; +} + +input, +button, +select, +textarea { + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +a { + color: #428bca; + text-decoration: none; +} + +a:hover, +a:focus { + color: #2a6496; + text-decoration: underline; +} + +a:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +img { + vertical-align: middle; +} + +.img-responsive { + display: block; + height: auto; + max-width: 100%; +} + +.img-rounded { + border-radius: 6px; +} + +.img-thumbnail { + display: inline-block; + height: auto; + max-width: 100%; + padding: 4px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.img-circle { + border-radius: 50%; +} + +hr { + margin-top: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid #eeeeee; +} + +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} + +h1, +h2, +h3, +h4, +h5, +h6, +.h1, +.h2, +.h3, +.h4, +.h5, +.h6 { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 500; + line-height: 1.1; + color: inherit; +} + +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small, +.h1 small, +.h2 small, +.h3 small, +.h4 small, +.h5 small, +.h6 small, +h1 .small, +h2 .small, +h3 .small, +h4 .small, +h5 .small, +h6 .small, +.h1 .small, +.h2 .small, +.h3 .small, +.h4 .small, +.h5 .small, +.h6 .small { + font-weight: normal; + line-height: 1; + color: #999999; +} + +h1, +h2, +h3 { + margin-top: 20px; + margin-bottom: 10px; +} + +h1 small, +h2 small, +h3 small, +h1 .small, +h2 .small, +h3 .small { + font-size: 65%; +} + +h4, +h5, +h6 { + margin-top: 10px; + margin-bottom: 10px; +} + +h4 small, +h5 small, +h6 small, +h4 .small, +h5 .small, +h6 .small { + font-size: 75%; +} + +h1, +.h1 { + font-size: 36px; +} + +h2, +.h2 { + font-size: 30px; +} + +h3, +.h3 { + font-size: 24px; +} + +h4, +.h4 { + font-size: 18px; +} + +h5, +.h5 { + font-size: 14px; +} + +h6, +.h6 { + font-size: 12px; +} + +p { + margin: 0 0 10px; +} + +.lead { + margin-bottom: 20px; + font-size: 16px; + font-weight: 200; + line-height: 1.4; +} + +@media (min-width: 768px) { + .lead { + font-size: 21px; + } +} + +small, +.small { + font-size: 85%; +} + +cite { + font-style: normal; +} + +.text-muted { + color: #999999; +} + +.text-primary { + color: #428bca; +} + +.text-primary:hover { + color: #3071a9; +} + +.text-warning { + color: #8a6d3b; +} + +.text-warning:hover { + color: #66512c; +} + +.text-danger { + color: #a94442; +} + +.text-danger:hover { + color: #843534; +} + +.text-success { + color: #3c763d; +} + +.text-success:hover { + color: #2b542c; +} + +.text-info { + color: #31708f; +} + +.text-info:hover { + color: #245269; +} + +.text-left { + text-align: left; +} + +.text-right { + text-align: right; +} + +.text-center { + text-align: center; +} + +.page-header { + padding-bottom: 9px; + margin: 40px 0 20px; + border-bottom: 1px solid #eeeeee; +} + +ul, +ol { + margin-top: 0; + margin-bottom: 10px; +} + +ul ul, +ol ul, +ul ol, +ol ol { + margin-bottom: 0; +} + +.list-unstyled { + padding-left: 0; + list-style: none; +} + +.list-inline { + padding-left: 0; + list-style: none; +} + +.list-inline > li { + display: inline-block; + padding-right: 5px; + padding-left: 5px; +} + +.list-inline > li:first-child { + padding-left: 0; +} + +dl { + margin-top: 0; + margin-bottom: 20px; +} + +dt, +dd { + line-height: 1.428571429; +} + +dt { + font-weight: bold; +} + +dd { + margin-left: 0; +} + +@media (min-width: 768px) { + .dl-horizontal dt { + float: left; + width: 160px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; + } + .dl-horizontal dd { + margin-left: 180px; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } +} + +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #999999; +} + +.initialism { + font-size: 90%; + text-transform: uppercase; +} + +blockquote { + padding: 10px 20px; + margin: 0 0 20px; + border-left: 5px solid #eeeeee; +} + +blockquote p { + font-size: 17.5px; + font-weight: 300; + line-height: 1.25; +} + +blockquote p:last-child { + margin-bottom: 0; +} + +blockquote small, +blockquote .small { + display: block; + line-height: 1.428571429; + color: #999999; +} + +blockquote small:before, +blockquote .small:before { + content: '\2014 \00A0'; +} + +blockquote.pull-right { + padding-right: 15px; + padding-left: 0; + border-right: 5px solid #eeeeee; + border-left: 0; +} + +blockquote.pull-right p, +blockquote.pull-right small, +blockquote.pull-right .small { + text-align: right; +} + +blockquote.pull-right small:before, +blockquote.pull-right .small:before { + content: ''; +} + +blockquote.pull-right small:after, +blockquote.pull-right .small:after { + content: '\00A0 \2014'; +} + +blockquote:before, +blockquote:after { + content: ""; +} + +address { + margin-bottom: 20px; + font-style: normal; + line-height: 1.428571429; +} + +code, +kbd, +pre, +samp { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; +} + +code { + padding: 2px 4px; + font-size: 90%; + color: #c7254e; + white-space: nowrap; + background-color: #f9f2f4; + border-radius: 4px; +} + +pre { + display: block; + padding: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 1.428571429; + color: #333333; + word-break: break-all; + word-wrap: break-word; + background-color: #f5f5f5; + border: 1px solid #cccccc; + border-radius: 4px; +} + +pre code { + padding: 0; + font-size: inherit; + color: inherit; + white-space: pre-wrap; + background-color: transparent; + border-radius: 0; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +.container { + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +@media (min-width: 768px) { + .container { + width: 750px; + } +} + +@media (min-width: 992px) { + .container { + width: 970px; + } +} + +@media (min-width: 1200px) { + .container { + width: 1170px; + } +} + +.row { + margin-right: -15px; + margin-left: -15px; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.col-xs-1, +.col-sm-1, +.col-md-1, +.col-lg-1, +.col-xs-2, +.col-sm-2, +.col-md-2, +.col-lg-2, +.col-xs-3, +.col-sm-3, +.col-md-3, +.col-lg-3, +.col-xs-4, +.col-sm-4, +.col-md-4, +.col-lg-4, +.col-xs-5, +.col-sm-5, +.col-md-5, +.col-lg-5, +.col-xs-6, +.col-sm-6, +.col-md-6, +.col-lg-6, +.col-xs-7, +.col-sm-7, +.col-md-7, +.col-lg-7, +.col-xs-8, +.col-sm-8, +.col-md-8, +.col-lg-8, +.col-xs-9, +.col-sm-9, +.col-md-9, +.col-lg-9, +.col-xs-10, +.col-sm-10, +.col-md-10, +.col-lg-10, +.col-xs-11, +.col-sm-11, +.col-md-11, +.col-lg-11, +.col-xs-12, +.col-sm-12, +.col-md-12, +.col-lg-12 { + position: relative; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; +} + +.col-xs-1, +.col-xs-2, +.col-xs-3, +.col-xs-4, +.col-xs-5, +.col-xs-6, +.col-xs-7, +.col-xs-8, +.col-xs-9, +.col-xs-10, +.col-xs-11, +.col-xs-12 { + float: left; +} + +.col-xs-12 { + width: 100%; +} + +.col-xs-11 { + width: 91.66666666666666%; +} + +.col-xs-10 { + width: 83.33333333333334%; +} + +.col-xs-9 { + width: 75%; +} + +.col-xs-8 { + width: 66.66666666666666%; +} + +.col-xs-7 { + width: 58.333333333333336%; +} + +.col-xs-6 { + width: 50%; +} + +.col-xs-5 { + width: 41.66666666666667%; +} + +.col-xs-4 { + width: 33.33333333333333%; +} + +.col-xs-3 { + width: 25%; +} + +.col-xs-2 { + width: 16.666666666666664%; +} + +.col-xs-1 { + width: 8.333333333333332%; +} + +.col-xs-pull-12 { + right: 100%; +} + +.col-xs-pull-11 { + right: 91.66666666666666%; +} + +.col-xs-pull-10 { + right: 83.33333333333334%; +} + +.col-xs-pull-9 { + right: 75%; +} + +.col-xs-pull-8 { + right: 66.66666666666666%; +} + +.col-xs-pull-7 { + right: 58.333333333333336%; +} + +.col-xs-pull-6 { + right: 50%; +} + +.col-xs-pull-5 { + right: 41.66666666666667%; +} + +.col-xs-pull-4 { + right: 33.33333333333333%; +} + +.col-xs-pull-3 { + right: 25%; +} + +.col-xs-pull-2 { + right: 16.666666666666664%; +} + +.col-xs-pull-1 { + right: 8.333333333333332%; +} + +.col-xs-pull-0 { + right: 0; +} + +.col-xs-push-12 { + left: 100%; +} + +.col-xs-push-11 { + left: 91.66666666666666%; +} + +.col-xs-push-10 { + left: 83.33333333333334%; +} + +.col-xs-push-9 { + left: 75%; +} + +.col-xs-push-8 { + left: 66.66666666666666%; +} + +.col-xs-push-7 { + left: 58.333333333333336%; +} + +.col-xs-push-6 { + left: 50%; +} + +.col-xs-push-5 { + left: 41.66666666666667%; +} + +.col-xs-push-4 { + left: 33.33333333333333%; +} + +.col-xs-push-3 { + left: 25%; +} + +.col-xs-push-2 { + left: 16.666666666666664%; +} + +.col-xs-push-1 { + left: 8.333333333333332%; +} + +.col-xs-push-0 { + left: 0; +} + +.col-xs-offset-12 { + margin-left: 100%; +} + +.col-xs-offset-11 { + margin-left: 91.66666666666666%; +} + +.col-xs-offset-10 { + margin-left: 83.33333333333334%; +} + +.col-xs-offset-9 { + margin-left: 75%; +} + +.col-xs-offset-8 { + margin-left: 66.66666666666666%; +} + +.col-xs-offset-7 { + margin-left: 58.333333333333336%; +} + +.col-xs-offset-6 { + margin-left: 50%; +} + +.col-xs-offset-5 { + margin-left: 41.66666666666667%; +} + +.col-xs-offset-4 { + margin-left: 33.33333333333333%; +} + +.col-xs-offset-3 { + margin-left: 25%; +} + +.col-xs-offset-2 { + margin-left: 16.666666666666664%; +} + +.col-xs-offset-1 { + margin-left: 8.333333333333332%; +} + +.col-xs-offset-0 { + margin-left: 0; +} + +@media (min-width: 768px) { + .col-sm-1, + .col-sm-2, + .col-sm-3, + .col-sm-4, + .col-sm-5, + .col-sm-6, + .col-sm-7, + .col-sm-8, + .col-sm-9, + .col-sm-10, + .col-sm-11, + .col-sm-12 { + float: left; + } + .col-sm-12 { + width: 100%; + } + .col-sm-11 { + width: 91.66666666666666%; + } + .col-sm-10 { + width: 83.33333333333334%; + } + .col-sm-9 { + width: 75%; + } + .col-sm-8 { + width: 66.66666666666666%; + } + .col-sm-7 { + width: 58.333333333333336%; + } + .col-sm-6 { + width: 50%; + } + .col-sm-5 { + width: 41.66666666666667%; + } + .col-sm-4 { + width: 33.33333333333333%; + } + .col-sm-3 { + width: 25%; + } + .col-sm-2 { + width: 16.666666666666664%; + } + .col-sm-1 { + width: 8.333333333333332%; + } + .col-sm-pull-12 { + right: 100%; + } + .col-sm-pull-11 { + right: 91.66666666666666%; + } + .col-sm-pull-10 { + right: 83.33333333333334%; + } + .col-sm-pull-9 { + right: 75%; + } + .col-sm-pull-8 { + right: 66.66666666666666%; + } + .col-sm-pull-7 { + right: 58.333333333333336%; + } + .col-sm-pull-6 { + right: 50%; + } + .col-sm-pull-5 { + right: 41.66666666666667%; + } + .col-sm-pull-4 { + right: 33.33333333333333%; + } + .col-sm-pull-3 { + right: 25%; + } + .col-sm-pull-2 { + right: 16.666666666666664%; + } + .col-sm-pull-1 { + right: 8.333333333333332%; + } + .col-sm-pull-0 { + right: 0; + } + .col-sm-push-12 { + left: 100%; + } + .col-sm-push-11 { + left: 91.66666666666666%; + } + .col-sm-push-10 { + left: 83.33333333333334%; + } + .col-sm-push-9 { + left: 75%; + } + .col-sm-push-8 { + left: 66.66666666666666%; + } + .col-sm-push-7 { + left: 58.333333333333336%; + } + .col-sm-push-6 { + left: 50%; + } + .col-sm-push-5 { + left: 41.66666666666667%; + } + .col-sm-push-4 { + left: 33.33333333333333%; + } + .col-sm-push-3 { + left: 25%; + } + .col-sm-push-2 { + left: 16.666666666666664%; + } + .col-sm-push-1 { + left: 8.333333333333332%; + } + .col-sm-push-0 { + left: 0; + } + .col-sm-offset-12 { + margin-left: 100%; + } + .col-sm-offset-11 { + margin-left: 91.66666666666666%; + } + .col-sm-offset-10 { + margin-left: 83.33333333333334%; + } + .col-sm-offset-9 { + margin-left: 75%; + } + .col-sm-offset-8 { + margin-left: 66.66666666666666%; + } + .col-sm-offset-7 { + margin-left: 58.333333333333336%; + } + .col-sm-offset-6 { + margin-left: 50%; + } + .col-sm-offset-5 { + margin-left: 41.66666666666667%; + } + .col-sm-offset-4 { + margin-left: 33.33333333333333%; + } + .col-sm-offset-3 { + margin-left: 25%; + } + .col-sm-offset-2 { + margin-left: 16.666666666666664%; + } + .col-sm-offset-1 { + margin-left: 8.333333333333332%; + } + .col-sm-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 992px) { + .col-md-1, + .col-md-2, + .col-md-3, + .col-md-4, + .col-md-5, + .col-md-6, + .col-md-7, + .col-md-8, + .col-md-9, + .col-md-10, + .col-md-11, + .col-md-12 { + float: left; + } + .col-md-12 { + width: 100%; + } + .col-md-11 { + width: 91.66666666666666%; + } + .col-md-10 { + width: 83.33333333333334%; + } + .col-md-9 { + width: 75%; + } + .col-md-8 { + width: 66.66666666666666%; + } + .col-md-7 { + width: 58.333333333333336%; + } + .col-md-6 { + width: 50%; + } + .col-md-5 { + width: 41.66666666666667%; + } + .col-md-4 { + width: 33.33333333333333%; + } + .col-md-3 { + width: 25%; + } + .col-md-2 { + width: 16.666666666666664%; + } + .col-md-1 { + width: 8.333333333333332%; + } + .col-md-pull-12 { + right: 100%; + } + .col-md-pull-11 { + right: 91.66666666666666%; + } + .col-md-pull-10 { + right: 83.33333333333334%; + } + .col-md-pull-9 { + right: 75%; + } + .col-md-pull-8 { + right: 66.66666666666666%; + } + .col-md-pull-7 { + right: 58.333333333333336%; + } + .col-md-pull-6 { + right: 50%; + } + .col-md-pull-5 { + right: 41.66666666666667%; + } + .col-md-pull-4 { + right: 33.33333333333333%; + } + .col-md-pull-3 { + right: 25%; + } + .col-md-pull-2 { + right: 16.666666666666664%; + } + .col-md-pull-1 { + right: 8.333333333333332%; + } + .col-md-pull-0 { + right: 0; + } + .col-md-push-12 { + left: 100%; + } + .col-md-push-11 { + left: 91.66666666666666%; + } + .col-md-push-10 { + left: 83.33333333333334%; + } + .col-md-push-9 { + left: 75%; + } + .col-md-push-8 { + left: 66.66666666666666%; + } + .col-md-push-7 { + left: 58.333333333333336%; + } + .col-md-push-6 { + left: 50%; + } + .col-md-push-5 { + left: 41.66666666666667%; + } + .col-md-push-4 { + left: 33.33333333333333%; + } + .col-md-push-3 { + left: 25%; + } + .col-md-push-2 { + left: 16.666666666666664%; + } + .col-md-push-1 { + left: 8.333333333333332%; + } + .col-md-push-0 { + left: 0; + } + .col-md-offset-12 { + margin-left: 100%; + } + .col-md-offset-11 { + margin-left: 91.66666666666666%; + } + .col-md-offset-10 { + margin-left: 83.33333333333334%; + } + .col-md-offset-9 { + margin-left: 75%; + } + .col-md-offset-8 { + margin-left: 66.66666666666666%; + } + .col-md-offset-7 { + margin-left: 58.333333333333336%; + } + .col-md-offset-6 { + margin-left: 50%; + } + .col-md-offset-5 { + margin-left: 41.66666666666667%; + } + .col-md-offset-4 { + margin-left: 33.33333333333333%; + } + .col-md-offset-3 { + margin-left: 25%; + } + .col-md-offset-2 { + margin-left: 16.666666666666664%; + } + .col-md-offset-1 { + margin-left: 8.333333333333332%; + } + .col-md-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 1200px) { + .col-lg-1, + .col-lg-2, + .col-lg-3, + .col-lg-4, + .col-lg-5, + .col-lg-6, + .col-lg-7, + .col-lg-8, + .col-lg-9, + .col-lg-10, + .col-lg-11, + .col-lg-12 { + float: left; + } + .col-lg-12 { + width: 100%; + } + .col-lg-11 { + width: 91.66666666666666%; + } + .col-lg-10 { + width: 83.33333333333334%; + } + .col-lg-9 { + width: 75%; + } + .col-lg-8 { + width: 66.66666666666666%; + } + .col-lg-7 { + width: 58.333333333333336%; + } + .col-lg-6 { + width: 50%; + } + .col-lg-5 { + width: 41.66666666666667%; + } + .col-lg-4 { + width: 33.33333333333333%; + } + .col-lg-3 { + width: 25%; + } + .col-lg-2 { + width: 16.666666666666664%; + } + .col-lg-1 { + width: 8.333333333333332%; + } + .col-lg-pull-12 { + right: 100%; + } + .col-lg-pull-11 { + right: 91.66666666666666%; + } + .col-lg-pull-10 { + right: 83.33333333333334%; + } + .col-lg-pull-9 { + right: 75%; + } + .col-lg-pull-8 { + right: 66.66666666666666%; + } + .col-lg-pull-7 { + right: 58.333333333333336%; + } + .col-lg-pull-6 { + right: 50%; + } + .col-lg-pull-5 { + right: 41.66666666666667%; + } + .col-lg-pull-4 { + right: 33.33333333333333%; + } + .col-lg-pull-3 { + right: 25%; + } + .col-lg-pull-2 { + right: 16.666666666666664%; + } + .col-lg-pull-1 { + right: 8.333333333333332%; + } + .col-lg-pull-0 { + right: 0; + } + .col-lg-push-12 { + left: 100%; + } + .col-lg-push-11 { + left: 91.66666666666666%; + } + .col-lg-push-10 { + left: 83.33333333333334%; + } + .col-lg-push-9 { + left: 75%; + } + .col-lg-push-8 { + left: 66.66666666666666%; + } + .col-lg-push-7 { + left: 58.333333333333336%; + } + .col-lg-push-6 { + left: 50%; + } + .col-lg-push-5 { + left: 41.66666666666667%; + } + .col-lg-push-4 { + left: 33.33333333333333%; + } + .col-lg-push-3 { + left: 25%; + } + .col-lg-push-2 { + left: 16.666666666666664%; + } + .col-lg-push-1 { + left: 8.333333333333332%; + } + .col-lg-push-0 { + left: 0; + } + .col-lg-offset-12 { + margin-left: 100%; + } + .col-lg-offset-11 { + margin-left: 91.66666666666666%; + } + .col-lg-offset-10 { + margin-left: 83.33333333333334%; + } + .col-lg-offset-9 { + margin-left: 75%; + } + .col-lg-offset-8 { + margin-left: 66.66666666666666%; + } + .col-lg-offset-7 { + margin-left: 58.333333333333336%; + } + .col-lg-offset-6 { + margin-left: 50%; + } + .col-lg-offset-5 { + margin-left: 41.66666666666667%; + } + .col-lg-offset-4 { + margin-left: 33.33333333333333%; + } + .col-lg-offset-3 { + margin-left: 25%; + } + .col-lg-offset-2 { + margin-left: 16.666666666666664%; + } + .col-lg-offset-1 { + margin-left: 8.333333333333332%; + } + .col-lg-offset-0 { + margin-left: 0; + } +} + +table { + max-width: 100%; + background-color: transparent; +} + +th { + text-align: left; +} + +.table { + width: 100%; + margin-bottom: 20px; +} + +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + padding: 8px; + line-height: 1.428571429; + vertical-align: top; + border-top: 1px solid #dddddd; +} + +.table > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #dddddd; +} + +.table > caption + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > th, +.table > thead:first-child > tr:first-child > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > td { + border-top: 0; +} + +.table > tbody + tbody { + border-top: 2px solid #dddddd; +} + +.table .table { + background-color: #ffffff; +} + +.table-condensed > thead > tr > th, +.table-condensed > tbody > tr > th, +.table-condensed > tfoot > tr > th, +.table-condensed > thead > tr > td, +.table-condensed > tbody > tr > td, +.table-condensed > tfoot > tr > td { + padding: 5px; +} + +.table-bordered { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > tbody > tr > th, +.table-bordered > tfoot > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > td { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td { + border-bottom-width: 2px; +} + +.table-striped > tbody > tr:nth-child(odd) > td, +.table-striped > tbody > tr:nth-child(odd) > th { + background-color: #f9f9f9; +} + +.table-hover > tbody > tr:hover > td, +.table-hover > tbody > tr:hover > th { + background-color: #f5f5f5; +} + +table col[class*="col-"] { + position: static; + display: table-column; + float: none; +} + +table td[class*="col-"], +table th[class*="col-"] { + display: table-cell; + float: none; +} + +.table > thead > tr > .active, +.table > tbody > tr > .active, +.table > tfoot > tr > .active, +.table > thead > .active > td, +.table > tbody > .active > td, +.table > tfoot > .active > td, +.table > thead > .active > th, +.table > tbody > .active > th, +.table > tfoot > .active > th { + background-color: #f5f5f5; +} + +.table-hover > tbody > tr > .active:hover, +.table-hover > tbody > .active:hover > td, +.table-hover > tbody > .active:hover > th { + background-color: #e8e8e8; +} + +.table > thead > tr > .success, +.table > tbody > tr > .success, +.table > tfoot > tr > .success, +.table > thead > .success > td, +.table > tbody > .success > td, +.table > tfoot > .success > td, +.table > thead > .success > th, +.table > tbody > .success > th, +.table > tfoot > .success > th { + background-color: #dff0d8; +} + +.table-hover > tbody > tr > .success:hover, +.table-hover > tbody > .success:hover > td, +.table-hover > tbody > .success:hover > th { + background-color: #d0e9c6; +} + +.table > thead > tr > .danger, +.table > tbody > tr > .danger, +.table > tfoot > tr > .danger, +.table > thead > .danger > td, +.table > tbody > .danger > td, +.table > tfoot > .danger > td, +.table > thead > .danger > th, +.table > tbody > .danger > th, +.table > tfoot > .danger > th { + background-color: #f2dede; +} + +.table-hover > tbody > tr > .danger:hover, +.table-hover > tbody > .danger:hover > td, +.table-hover > tbody > .danger:hover > th { + background-color: #ebcccc; +} + +.table > thead > tr > .warning, +.table > tbody > tr > .warning, +.table > tfoot > tr > .warning, +.table > thead > .warning > td, +.table > tbody > .warning > td, +.table > tfoot > .warning > td, +.table > thead > .warning > th, +.table > tbody > .warning > th, +.table > tfoot > .warning > th { + background-color: #fcf8e3; +} + +.table-hover > tbody > tr > .warning:hover, +.table-hover > tbody > .warning:hover > td, +.table-hover > tbody > .warning:hover > th { + background-color: #faf2cc; +} + +@media (max-width: 767px) { + .table-responsive { + width: 100%; + margin-bottom: 15px; + overflow-x: scroll; + overflow-y: hidden; + border: 1px solid #dddddd; + -ms-overflow-style: -ms-autohiding-scrollbar; + -webkit-overflow-scrolling: touch; + } + .table-responsive > .table { + margin-bottom: 0; + } + .table-responsive > .table > thead > tr > th, + .table-responsive > .table > tbody > tr > th, + .table-responsive > .table > tfoot > tr > th, + .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > td { + white-space: nowrap; + } + .table-responsive > .table-bordered { + border: 0; + } + .table-responsive > .table-bordered > thead > tr > th:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, + .table-responsive > .table-bordered > tfoot > tr > th:first-child, + .table-responsive > .table-bordered > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; + } + .table-responsive > .table-bordered > thead > tr > th:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, + .table-responsive > .table-bordered > tfoot > tr > th:last-child, + .table-responsive > .table-bordered > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; + } + .table-responsive > .table-bordered > tbody > tr:last-child > th, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, + .table-responsive > .table-bordered > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; + } +} + +fieldset { + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: inherit; + color: #333333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} + +label { + display: inline-block; + margin-bottom: 5px; + font-weight: bold; +} + +input[type="search"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + /* IE8-9 */ + + line-height: normal; +} + +input[type="file"] { + display: block; +} + +select[multiple], +select[size] { + height: auto; +} + +select optgroup { + font-family: inherit; + font-size: inherit; + font-style: inherit; +} + +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +input[type="number"]::-webkit-outer-spin-button, +input[type="number"]::-webkit-inner-spin-button { + height: auto; +} + +output { + display: block; + padding-top: 7px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; +} + +.form-control { + display: block; + width: 100%; + height: 34px; + padding: 6px 12px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; + background-color: #ffffff; + background-image: none; + border: 1px solid #cccccc; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; +} + +.form-control:focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); +} + +.form-control:-moz-placeholder { + color: #999999; +} + +.form-control::-moz-placeholder { + color: #999999; + opacity: 1; +} + +.form-control:-ms-input-placeholder { + color: #999999; +} + +.form-control::-webkit-input-placeholder { + color: #999999; +} + +.form-control[disabled], +.form-control[readonly], +fieldset[disabled] .form-control { + cursor: not-allowed; + background-color: #eeeeee; +} + +textarea.form-control { + height: auto; +} + +.form-group { + margin-bottom: 15px; +} + +.radio, +.checkbox { + display: block; + min-height: 20px; + padding-left: 20px; + margin-top: 10px; + margin-bottom: 10px; + vertical-align: middle; +} + +.radio label, +.checkbox label { + display: inline; + margin-bottom: 0; + font-weight: normal; + cursor: pointer; +} + +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + float: left; + margin-left: -20px; +} + +.radio + .radio, +.checkbox + .checkbox { + margin-top: -5px; +} + +.radio-inline, +.checkbox-inline { + display: inline-block; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + vertical-align: middle; + cursor: pointer; +} + +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; +} + +input[type="radio"][disabled], +input[type="checkbox"][disabled], +.radio[disabled], +.radio-inline[disabled], +.checkbox[disabled], +.checkbox-inline[disabled], +fieldset[disabled] input[type="radio"], +fieldset[disabled] input[type="checkbox"], +fieldset[disabled] .radio, +fieldset[disabled] .radio-inline, +fieldset[disabled] .checkbox, +fieldset[disabled] .checkbox-inline { + cursor: not-allowed; +} + +.input-sm { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-sm { + height: 30px; + line-height: 30px; +} + +textarea.input-sm { + height: auto; +} + +.input-lg { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-lg { + height: 46px; + line-height: 46px; +} + +textarea.input-lg { + height: auto; +} + +.has-warning .help-block, +.has-warning .control-label, +.has-warning .radio, +.has-warning .checkbox, +.has-warning .radio-inline, +.has-warning .checkbox-inline { + color: #8a6d3b; +} + +.has-warning .form-control { + border-color: #8a6d3b; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-warning .form-control:focus { + border-color: #66512c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; +} + +.has-warning .input-group-addon { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #8a6d3b; +} + +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline { + color: #a94442; +} + +.has-error .form-control { + border-color: #a94442; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-error .form-control:focus { + border-color: #843534; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; +} + +.has-error .input-group-addon { + color: #a94442; + background-color: #f2dede; + border-color: #a94442; +} + +.has-success .help-block, +.has-success .control-label, +.has-success .radio, +.has-success .checkbox, +.has-success .radio-inline, +.has-success .checkbox-inline { + color: #3c763d; +} + +.has-success .form-control { + border-color: #3c763d; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-success .form-control:focus { + border-color: #2b542c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; +} + +.has-success .input-group-addon { + color: #3c763d; + background-color: #dff0d8; + border-color: #3c763d; +} + +.form-control-static { + margin-bottom: 0; +} + +.help-block { + display: block; + margin-top: 5px; + margin-bottom: 10px; + color: #737373; +} + +@media (min-width: 768px) { + .form-inline .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .form-control { + display: inline-block; + } + .form-inline select.form-control { + width: auto; + } + .form-inline .radio, + .form-inline .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .form-inline .radio input[type="radio"], + .form-inline .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +.form-horizontal .control-label, +.form-horizontal .radio, +.form-horizontal .checkbox, +.form-horizontal .radio-inline, +.form-horizontal .checkbox-inline { + padding-top: 7px; + margin-top: 0; + margin-bottom: 0; +} + +.form-horizontal .radio, +.form-horizontal .checkbox { + min-height: 27px; +} + +.form-horizontal .form-group { + margin-right: -15px; + margin-left: -15px; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-control-static { + padding-top: 7px; +} + +@media (min-width: 768px) { + .form-horizontal .control-label { + text-align: right; + } +} + +.btn { + display: inline-block; + padding: 6px 12px; + margin-bottom: 0; + font-size: 14px; + font-weight: normal; + line-height: 1.428571429; + text-align: center; + white-space: nowrap; + vertical-align: middle; + cursor: pointer; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; +} + +.btn:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +.btn:hover, +.btn:focus { + color: #333333; + text-decoration: none; +} + +.btn:active, +.btn.active { + background-image: none; + outline: 0; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn.disabled, +.btn[disabled], +fieldset[disabled] .btn { + pointer-events: none; + cursor: not-allowed; + opacity: 0.65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-default { + color: #333333; + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default:hover, +.btn-default:focus, +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + color: #333333; + background-color: #ebebeb; + border-color: #adadad; +} + +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + background-image: none; +} + +.btn-default.disabled, +.btn-default[disabled], +fieldset[disabled] .btn-default, +.btn-default.disabled:hover, +.btn-default[disabled]:hover, +fieldset[disabled] .btn-default:hover, +.btn-default.disabled:focus, +.btn-default[disabled]:focus, +fieldset[disabled] .btn-default:focus, +.btn-default.disabled:active, +.btn-default[disabled]:active, +fieldset[disabled] .btn-default:active, +.btn-default.disabled.active, +.btn-default[disabled].active, +fieldset[disabled] .btn-default.active { + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default .badge { + color: #ffffff; + background-color: #fff; +} + +.btn-primary { + color: #ffffff; + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary:hover, +.btn-primary:focus, +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + color: #ffffff; + background-color: #3276b1; + border-color: #285e8e; +} + +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + background-image: none; +} + +.btn-primary.disabled, +.btn-primary[disabled], +fieldset[disabled] .btn-primary, +.btn-primary.disabled:hover, +.btn-primary[disabled]:hover, +fieldset[disabled] .btn-primary:hover, +.btn-primary.disabled:focus, +.btn-primary[disabled]:focus, +fieldset[disabled] .btn-primary:focus, +.btn-primary.disabled:active, +.btn-primary[disabled]:active, +fieldset[disabled] .btn-primary:active, +.btn-primary.disabled.active, +.btn-primary[disabled].active, +fieldset[disabled] .btn-primary.active { + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary .badge { + color: #428bca; + background-color: #fff; +} + +.btn-warning { + color: #ffffff; + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning:hover, +.btn-warning:focus, +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + color: #ffffff; + background-color: #ed9c28; + border-color: #d58512; +} + +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + background-image: none; +} + +.btn-warning.disabled, +.btn-warning[disabled], +fieldset[disabled] .btn-warning, +.btn-warning.disabled:hover, +.btn-warning[disabled]:hover, +fieldset[disabled] .btn-warning:hover, +.btn-warning.disabled:focus, +.btn-warning[disabled]:focus, +fieldset[disabled] .btn-warning:focus, +.btn-warning.disabled:active, +.btn-warning[disabled]:active, +fieldset[disabled] .btn-warning:active, +.btn-warning.disabled.active, +.btn-warning[disabled].active, +fieldset[disabled] .btn-warning.active { + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning .badge { + color: #f0ad4e; + background-color: #fff; +} + +.btn-danger { + color: #ffffff; + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger:hover, +.btn-danger:focus, +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + color: #ffffff; + background-color: #d2322d; + border-color: #ac2925; +} + +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + background-image: none; +} + +.btn-danger.disabled, +.btn-danger[disabled], +fieldset[disabled] .btn-danger, +.btn-danger.disabled:hover, +.btn-danger[disabled]:hover, +fieldset[disabled] .btn-danger:hover, +.btn-danger.disabled:focus, +.btn-danger[disabled]:focus, +fieldset[disabled] .btn-danger:focus, +.btn-danger.disabled:active, +.btn-danger[disabled]:active, +fieldset[disabled] .btn-danger:active, +.btn-danger.disabled.active, +.btn-danger[disabled].active, +fieldset[disabled] .btn-danger.active { + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger .badge { + color: #d9534f; + background-color: #fff; +} + +.btn-success { + color: #ffffff; + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success:hover, +.btn-success:focus, +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + color: #ffffff; + background-color: #47a447; + border-color: #398439; +} + +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + background-image: none; +} + +.btn-success.disabled, +.btn-success[disabled], +fieldset[disabled] .btn-success, +.btn-success.disabled:hover, +.btn-success[disabled]:hover, +fieldset[disabled] .btn-success:hover, +.btn-success.disabled:focus, +.btn-success[disabled]:focus, +fieldset[disabled] .btn-success:focus, +.btn-success.disabled:active, +.btn-success[disabled]:active, +fieldset[disabled] .btn-success:active, +.btn-success.disabled.active, +.btn-success[disabled].active, +fieldset[disabled] .btn-success.active { + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success .badge { + color: #5cb85c; + background-color: #fff; +} + +.btn-info { + color: #ffffff; + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info:hover, +.btn-info:focus, +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + color: #ffffff; + background-color: #39b3d7; + border-color: #269abc; +} + +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + background-image: none; +} + +.btn-info.disabled, +.btn-info[disabled], +fieldset[disabled] .btn-info, +.btn-info.disabled:hover, +.btn-info[disabled]:hover, +fieldset[disabled] .btn-info:hover, +.btn-info.disabled:focus, +.btn-info[disabled]:focus, +fieldset[disabled] .btn-info:focus, +.btn-info.disabled:active, +.btn-info[disabled]:active, +fieldset[disabled] .btn-info:active, +.btn-info.disabled.active, +.btn-info[disabled].active, +fieldset[disabled] .btn-info.active { + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info .badge { + color: #5bc0de; + background-color: #fff; +} + +.btn-link { + font-weight: normal; + color: #428bca; + cursor: pointer; + border-radius: 0; +} + +.btn-link, +.btn-link:active, +.btn-link[disabled], +fieldset[disabled] .btn-link { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-link, +.btn-link:hover, +.btn-link:focus, +.btn-link:active { + border-color: transparent; +} + +.btn-link:hover, +.btn-link:focus { + color: #2a6496; + text-decoration: underline; + background-color: transparent; +} + +.btn-link[disabled]:hover, +fieldset[disabled] .btn-link:hover, +.btn-link[disabled]:focus, +fieldset[disabled] .btn-link:focus { + color: #999999; + text-decoration: none; +} + +.btn-lg { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-sm { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-xs { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-block { + display: block; + width: 100%; + padding-right: 0; + padding-left: 0; +} + +.btn-block + .btn-block { + margin-top: 5px; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.fade { + opacity: 0; + -webkit-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} + +.fade.in { + opacity: 1; +} + +.collapse { + display: none; +} + +.collapse.in { + display: block; +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition: height 0.35s ease; + transition: height 0.35s ease; +} + +@font-face { + font-family: 'Glyphicons Halflings'; + src: url('../fonts/glyphicons-halflings-regular.eot'); + src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg'); +} + +.glyphicon { + position: relative; + top: 1px; + display: inline-block; + font-family: 'Glyphicons Halflings'; + -webkit-font-smoothing: antialiased; + font-style: normal; + font-weight: normal; + line-height: 1; + -moz-osx-font-smoothing: grayscale; +} + +.glyphicon:empty { + width: 1em; +} + +.glyphicon-asterisk:before { + content: "\2a"; +} + +.glyphicon-plus:before { + content: "\2b"; +} + +.glyphicon-euro:before { + content: "\20ac"; +} + +.glyphicon-minus:before { + content: "\2212"; +} + +.glyphicon-cloud:before { + content: "\2601"; +} + +.glyphicon-envelope:before { + content: "\2709"; +} + +.glyphicon-pencil:before { + content: "\270f"; +} + +.glyphicon-glass:before { + content: "\e001"; +} + +.glyphicon-music:before { + content: "\e002"; +} + +.glyphicon-search:before { + content: "\e003"; +} + +.glyphicon-heart:before { + content: "\e005"; +} + +.glyphicon-star:before { + content: "\e006"; +} + +.glyphicon-star-empty:before { + content: "\e007"; +} + +.glyphicon-user:before { + content: "\e008"; +} + +.glyphicon-film:before { + content: "\e009"; +} + +.glyphicon-th-large:before { + content: "\e010"; +} + +.glyphicon-th:before { + content: "\e011"; +} + +.glyphicon-th-list:before { + content: "\e012"; +} + +.glyphicon-ok:before { + content: "\e013"; +} + +.glyphicon-remove:before { + content: "\e014"; +} + +.glyphicon-zoom-in:before { + content: "\e015"; +} + +.glyphicon-zoom-out:before { + content: "\e016"; +} + +.glyphicon-off:before { + content: "\e017"; +} + +.glyphicon-signal:before { + content: "\e018"; +} + +.glyphicon-cog:before { + content: "\e019"; +} + +.glyphicon-trash:before { + content: "\e020"; +} + +.glyphicon-home:before { + content: "\e021"; +} + +.glyphicon-file:before { + content: "\e022"; +} + +.glyphicon-time:before { + content: "\e023"; +} + +.glyphicon-road:before { + content: "\e024"; +} + +.glyphicon-download-alt:before { + content: "\e025"; +} + +.glyphicon-download:before { + content: "\e026"; +} + +.glyphicon-upload:before { + content: "\e027"; +} + +.glyphicon-inbox:before { + content: "\e028"; +} + +.glyphicon-play-circle:before { + content: "\e029"; +} + +.glyphicon-repeat:before { + content: "\e030"; +} + +.glyphicon-refresh:before { + content: "\e031"; +} + +.glyphicon-list-alt:before { + content: "\e032"; +} + +.glyphicon-lock:before { + content: "\e033"; +} + +.glyphicon-flag:before { + content: "\e034"; +} + +.glyphicon-headphones:before { + content: "\e035"; +} + +.glyphicon-volume-off:before { + content: "\e036"; +} + +.glyphicon-volume-down:before { + content: "\e037"; +} + +.glyphicon-volume-up:before { + content: "\e038"; +} + +.glyphicon-qrcode:before { + content: "\e039"; +} + +.glyphicon-barcode:before { + content: "\e040"; +} + +.glyphicon-tag:before { + content: "\e041"; +} + +.glyphicon-tags:before { + content: "\e042"; +} + +.glyphicon-book:before { + content: "\e043"; +} + +.glyphicon-bookmark:before { + content: "\e044"; +} + +.glyphicon-print:before { + content: "\e045"; +} + +.glyphicon-camera:before { + content: "\e046"; +} + +.glyphicon-font:before { + content: "\e047"; +} + +.glyphicon-bold:before { + content: "\e048"; +} + +.glyphicon-italic:before { + content: "\e049"; +} + +.glyphicon-text-height:before { + content: "\e050"; +} + +.glyphicon-text-width:before { + content: "\e051"; +} + +.glyphicon-align-left:before { + content: "\e052"; +} + +.glyphicon-align-center:before { + content: "\e053"; +} + +.glyphicon-align-right:before { + content: "\e054"; +} + +.glyphicon-align-justify:before { + content: "\e055"; +} + +.glyphicon-list:before { + content: "\e056"; +} + +.glyphicon-indent-left:before { + content: "\e057"; +} + +.glyphicon-indent-right:before { + content: "\e058"; +} + +.glyphicon-facetime-video:before { + content: "\e059"; +} + +.glyphicon-picture:before { + content: "\e060"; +} + +.glyphicon-map-marker:before { + content: "\e062"; +} + +.glyphicon-adjust:before { + content: "\e063"; +} + +.glyphicon-tint:before { + content: "\e064"; +} + +.glyphicon-edit:before { + content: "\e065"; +} + +.glyphicon-share:before { + content: "\e066"; +} + +.glyphicon-check:before { + content: "\e067"; +} + +.glyphicon-move:before { + content: "\e068"; +} + +.glyphicon-step-backward:before { + content: "\e069"; +} + +.glyphicon-fast-backward:before { + content: "\e070"; +} + +.glyphicon-backward:before { + content: "\e071"; +} + +.glyphicon-play:before { + content: "\e072"; +} + +.glyphicon-pause:before { + content: "\e073"; +} + +.glyphicon-stop:before { + content: "\e074"; +} + +.glyphicon-forward:before { + content: "\e075"; +} + +.glyphicon-fast-forward:before { + content: "\e076"; +} + +.glyphicon-step-forward:before { + content: "\e077"; +} + +.glyphicon-eject:before { + content: "\e078"; +} + +.glyphicon-chevron-left:before { + content: "\e079"; +} + +.glyphicon-chevron-right:before { + content: "\e080"; +} + +.glyphicon-plus-sign:before { + content: "\e081"; +} + +.glyphicon-minus-sign:before { + content: "\e082"; +} + +.glyphicon-remove-sign:before { + content: "\e083"; +} + +.glyphicon-ok-sign:before { + content: "\e084"; +} + +.glyphicon-question-sign:before { + content: "\e085"; +} + +.glyphicon-info-sign:before { + content: "\e086"; +} + +.glyphicon-screenshot:before { + content: "\e087"; +} + +.glyphicon-remove-circle:before { + content: "\e088"; +} + +.glyphicon-ok-circle:before { + content: "\e089"; +} + +.glyphicon-ban-circle:before { + content: "\e090"; +} + +.glyphicon-arrow-left:before { + content: "\e091"; +} + +.glyphicon-arrow-right:before { + content: "\e092"; +} + +.glyphicon-arrow-up:before { + content: "\e093"; +} + +.glyphicon-arrow-down:before { + content: "\e094"; +} + +.glyphicon-share-alt:before { + content: "\e095"; +} + +.glyphicon-resize-full:before { + content: "\e096"; +} + +.glyphicon-resize-small:before { + content: "\e097"; +} + +.glyphicon-exclamation-sign:before { + content: "\e101"; +} + +.glyphicon-gift:before { + content: "\e102"; +} + +.glyphicon-leaf:before { + content: "\e103"; +} + +.glyphicon-fire:before { + content: "\e104"; +} + +.glyphicon-eye-open:before { + content: "\e105"; +} + +.glyphicon-eye-close:before { + content: "\e106"; +} + +.glyphicon-warning-sign:before { + content: "\e107"; +} + +.glyphicon-plane:before { + content: "\e108"; +} + +.glyphicon-calendar:before { + content: "\e109"; +} + +.glyphicon-random:before { + content: "\e110"; +} + +.glyphicon-comment:before { + content: "\e111"; +} + +.glyphicon-magnet:before { + content: "\e112"; +} + +.glyphicon-chevron-up:before { + content: "\e113"; +} + +.glyphicon-chevron-down:before { + content: "\e114"; +} + +.glyphicon-retweet:before { + content: "\e115"; +} + +.glyphicon-shopping-cart:before { + content: "\e116"; +} + +.glyphicon-folder-close:before { + content: "\e117"; +} + +.glyphicon-folder-open:before { + content: "\e118"; +} + +.glyphicon-resize-vertical:before { + content: "\e119"; +} + +.glyphicon-resize-horizontal:before { + content: "\e120"; +} + +.glyphicon-hdd:before { + content: "\e121"; +} + +.glyphicon-bullhorn:before { + content: "\e122"; +} + +.glyphicon-bell:before { + content: "\e123"; +} + +.glyphicon-certificate:before { + content: "\e124"; +} + +.glyphicon-thumbs-up:before { + content: "\e125"; +} + +.glyphicon-thumbs-down:before { + content: "\e126"; +} + +.glyphicon-hand-right:before { + content: "\e127"; +} + +.glyphicon-hand-left:before { + content: "\e128"; +} + +.glyphicon-hand-up:before { + content: "\e129"; +} + +.glyphicon-hand-down:before { + content: "\e130"; +} + +.glyphicon-circle-arrow-right:before { + content: "\e131"; +} + +.glyphicon-circle-arrow-left:before { + content: "\e132"; +} + +.glyphicon-circle-arrow-up:before { + content: "\e133"; +} + +.glyphicon-circle-arrow-down:before { + content: "\e134"; +} + +.glyphicon-globe:before { + content: "\e135"; +} + +.glyphicon-wrench:before { + content: "\e136"; +} + +.glyphicon-tasks:before { + content: "\e137"; +} + +.glyphicon-filter:before { + content: "\e138"; +} + +.glyphicon-briefcase:before { + content: "\e139"; +} + +.glyphicon-fullscreen:before { + content: "\e140"; +} + +.glyphicon-dashboard:before { + content: "\e141"; +} + +.glyphicon-paperclip:before { + content: "\e142"; +} + +.glyphicon-heart-empty:before { + content: "\e143"; +} + +.glyphicon-link:before { + content: "\e144"; +} + +.glyphicon-phone:before { + content: "\e145"; +} + +.glyphicon-pushpin:before { + content: "\e146"; +} + +.glyphicon-usd:before { + content: "\e148"; +} + +.glyphicon-gbp:before { + content: "\e149"; +} + +.glyphicon-sort:before { + content: "\e150"; +} + +.glyphicon-sort-by-alphabet:before { + content: "\e151"; +} + +.glyphicon-sort-by-alphabet-alt:before { + content: "\e152"; +} + +.glyphicon-sort-by-order:before { + content: "\e153"; +} + +.glyphicon-sort-by-order-alt:before { + content: "\e154"; +} + +.glyphicon-sort-by-attributes:before { + content: "\e155"; +} + +.glyphicon-sort-by-attributes-alt:before { + content: "\e156"; +} + +.glyphicon-unchecked:before { + content: "\e157"; +} + +.glyphicon-expand:before { + content: "\e158"; +} + +.glyphicon-collapse-down:before { + content: "\e159"; +} + +.glyphicon-collapse-up:before { + content: "\e160"; +} + +.glyphicon-log-in:before { + content: "\e161"; +} + +.glyphicon-flash:before { + content: "\e162"; +} + +.glyphicon-log-out:before { + content: "\e163"; +} + +.glyphicon-new-window:before { + content: "\e164"; +} + +.glyphicon-record:before { + content: "\e165"; +} + +.glyphicon-save:before { + content: "\e166"; +} + +.glyphicon-open:before { + content: "\e167"; +} + +.glyphicon-saved:before { + content: "\e168"; +} + +.glyphicon-import:before { + content: "\e169"; +} + +.glyphicon-export:before { + content: "\e170"; +} + +.glyphicon-send:before { + content: "\e171"; +} + +.glyphicon-floppy-disk:before { + content: "\e172"; +} + +.glyphicon-floppy-saved:before { + content: "\e173"; +} + +.glyphicon-floppy-remove:before { + content: "\e174"; +} + +.glyphicon-floppy-save:before { + content: "\e175"; +} + +.glyphicon-floppy-open:before { + content: "\e176"; +} + +.glyphicon-credit-card:before { + content: "\e177"; +} + +.glyphicon-transfer:before { + content: "\e178"; +} + +.glyphicon-cutlery:before { + content: "\e179"; +} + +.glyphicon-header:before { + content: "\e180"; +} + +.glyphicon-compressed:before { + content: "\e181"; +} + +.glyphicon-earphone:before { + content: "\e182"; +} + +.glyphicon-phone-alt:before { + content: "\e183"; +} + +.glyphicon-tower:before { + content: "\e184"; +} + +.glyphicon-stats:before { + content: "\e185"; +} + +.glyphicon-sd-video:before { + content: "\e186"; +} + +.glyphicon-hd-video:before { + content: "\e187"; +} + +.glyphicon-subtitles:before { + content: "\e188"; +} + +.glyphicon-sound-stereo:before { + content: "\e189"; +} + +.glyphicon-sound-dolby:before { + content: "\e190"; +} + +.glyphicon-sound-5-1:before { + content: "\e191"; +} + +.glyphicon-sound-6-1:before { + content: "\e192"; +} + +.glyphicon-sound-7-1:before { + content: "\e193"; +} + +.glyphicon-copyright-mark:before { + content: "\e194"; +} + +.glyphicon-registration-mark:before { + content: "\e195"; +} + +.glyphicon-cloud-download:before { + content: "\e197"; +} + +.glyphicon-cloud-upload:before { + content: "\e198"; +} + +.glyphicon-tree-conifer:before { + content: "\e199"; +} + +.glyphicon-tree-deciduous:before { + content: "\e200"; +} + +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px solid; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} + +.dropdown { + position: relative; +} + +.dropdown-toggle:focus { + outline: 0; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + font-size: 14px; + list-style: none; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 4px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + background-clip: padding-box; +} + +.dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.dropdown-menu .divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.428571429; + color: #333333; + white-space: nowrap; +} + +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + color: #262626; + text-decoration: none; + background-color: #f5f5f5; +} + +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #ffffff; + text-decoration: none; + background-color: #428bca; + outline: 0; +} + +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #999999; +} + +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + cursor: not-allowed; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.open > .dropdown-menu { + display: block; +} + +.open > a { + outline: 0; +} + +.dropdown-header { + display: block; + padding: 3px 20px; + font-size: 12px; + line-height: 1.428571429; + color: #999999; +} + +.dropdown-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 990; +} + +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} + +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + border-top: 0; + border-bottom: 4px solid; + content: ""; +} + +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 1px; +} + +@media (min-width: 768px) { + .navbar-right .dropdown-menu { + right: 0; + left: auto; + } +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} + +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + float: left; +} + +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover, +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus, +.btn-group > .btn:active, +.btn-group-vertical > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn.active { + z-index: 2; +} + +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus { + outline: none; +} + +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group { + margin-left: -1px; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar .btn-group { + float: left; +} + +.btn-toolbar > .btn + .btn, +.btn-toolbar > .btn-group + .btn, +.btn-toolbar > .btn + .btn-group, +.btn-toolbar > .btn-group + .btn-group { + margin-left: 5px; +} + +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0; +} + +.btn-group > .btn:first-child { + margin-left: 0; +} + +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group > .btn-group { + float: left; +} + +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group > .btn-group:first-child > .btn:last-child, +.btn-group > .btn-group:first-child > .dropdown-toggle { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn-group:last-child > .btn:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} + +.btn-group-xs > .btn { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-sm > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-lg > .btn { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-group > .btn + .dropdown-toggle { + padding-right: 8px; + padding-left: 8px; +} + +.btn-group > .btn-lg + .dropdown-toggle { + padding-right: 12px; + padding-left: 12px; +} + +.btn-group.open .dropdown-toggle { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn-group.open .dropdown-toggle.btn-link { + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn .caret { + margin-left: 0; +} + +.btn-lg .caret { + border-width: 5px 5px 0; + border-bottom-width: 0; +} + +.dropup .btn-lg .caret { + border-width: 0 5px 5px; +} + +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group, +.btn-group-vertical > .btn-group > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group > .btn { + float: none; +} + +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} + +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-top-right-radius: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 0; +} + +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group-vertical > .btn-group:first-child > .btn:last-child, +.btn-group-vertical > .btn-group:first-child > .dropdown-toggle { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn-group:last-child > .btn:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.btn-group-justified { + display: table; + width: 100%; + border-collapse: separate; + table-layout: fixed; +} + +.btn-group-justified > .btn, +.btn-group-justified > .btn-group { + display: table-cell; + float: none; + width: 1%; +} + +.btn-group-justified > .btn-group .btn { + width: 100%; +} + +[data-toggle="buttons"] > .btn > input[type="radio"], +[data-toggle="buttons"] > .btn > input[type="checkbox"] { + display: none; +} + +.input-group { + position: relative; + display: table; + border-collapse: separate; +} + +.input-group[class*="col-"] { + float: none; + padding-right: 0; + padding-left: 0; +} + +.input-group .form-control { + width: 100%; + margin-bottom: 0; +} + +.input-group-lg > .form-control, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-group-lg > .form-control, +select.input-group-lg > .input-group-addon, +select.input-group-lg > .input-group-btn > .btn { + height: 46px; + line-height: 46px; +} + +textarea.input-group-lg > .form-control, +textarea.input-group-lg > .input-group-addon, +textarea.input-group-lg > .input-group-btn > .btn { + height: auto; +} + +.input-group-sm > .form-control, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-group-sm > .form-control, +select.input-group-sm > .input-group-addon, +select.input-group-sm > .input-group-btn > .btn { + height: 30px; + line-height: 30px; +} + +textarea.input-group-sm > .form-control, +textarea.input-group-sm > .input-group-addon, +textarea.input-group-sm > .input-group-btn > .btn { + height: auto; +} + +.input-group-addon, +.input-group-btn, +.input-group .form-control { + display: table-cell; +} + +.input-group-addon:not(:first-child):not(:last-child), +.input-group-btn:not(:first-child):not(:last-child), +.input-group .form-control:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.input-group-addon, +.input-group-btn { + width: 1%; + white-space: nowrap; + vertical-align: middle; +} + +.input-group-addon { + padding: 6px 12px; + font-size: 14px; + font-weight: normal; + line-height: 1; + color: #555555; + text-align: center; + background-color: #eeeeee; + border: 1px solid #cccccc; + border-radius: 4px; +} + +.input-group-addon.input-sm { + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; +} + +.input-group-addon.input-lg { + padding: 10px 16px; + font-size: 18px; + border-radius: 6px; +} + +.input-group-addon input[type="radio"], +.input-group-addon input[type="checkbox"] { + margin-top: 0; +} + +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group-addon:first-child { + border-right: 0; +} + +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.input-group-addon:last-child { + border-left: 0; +} + +.input-group-btn { + position: relative; + white-space: nowrap; +} + +.input-group-btn:first-child > .btn { + margin-right: -1px; +} + +.input-group-btn:last-child > .btn { + margin-left: -1px; +} + +.input-group-btn > .btn { + position: relative; +} + +.input-group-btn > .btn + .btn { + margin-left: -4px; +} + +.input-group-btn > .btn:hover, +.input-group-btn > .btn:active { + z-index: 2; +} + +.nav { + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav > li { + position: relative; + display: block; +} + +.nav > li > a { + position: relative; + display: block; + padding: 10px 15px; +} + +.nav > li > a:hover, +.nav > li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.nav > li.disabled > a { + color: #999999; +} + +.nav > li.disabled > a:hover, +.nav > li.disabled > a:focus { + color: #999999; + text-decoration: none; + cursor: not-allowed; + background-color: transparent; +} + +.nav .open > a, +.nav .open > a:hover, +.nav .open > a:focus { + background-color: #eeeeee; + border-color: #428bca; +} + +.nav .nav-divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.nav > li > a > img { + max-width: none; +} + +.nav-tabs { + border-bottom: 1px solid #dddddd; +} + +.nav-tabs > li { + float: left; + margin-bottom: -1px; +} + +.nav-tabs > li > a { + margin-right: 2px; + line-height: 1.428571429; + border: 1px solid transparent; + border-radius: 4px 4px 0 0; +} + +.nav-tabs > li > a:hover { + border-color: #eeeeee #eeeeee #dddddd; +} + +.nav-tabs > li.active > a, +.nav-tabs > li.active > a:hover, +.nav-tabs > li.active > a:focus { + color: #555555; + cursor: default; + background-color: #ffffff; + border: 1px solid #dddddd; + border-bottom-color: transparent; +} + +.nav-tabs.nav-justified { + width: 100%; + border-bottom: 0; +} + +.nav-tabs.nav-justified > li { + float: none; +} + +.nav-tabs.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-tabs.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-tabs.nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs.nav-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs.nav-justified > .active > a, +.nav-tabs.nav-justified > .active > a:hover, +.nav-tabs.nav-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs.nav-justified > .active > a, + .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs.nav-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.nav-pills > li { + float: left; +} + +.nav-pills > li > a { + border-radius: 4px; +} + +.nav-pills > li + li { + margin-left: 2px; +} + +.nav-pills > li.active > a, +.nav-pills > li.active > a:hover, +.nav-pills > li.active > a:focus { + color: #ffffff; + background-color: #428bca; +} + +.nav-stacked > li { + float: none; +} + +.nav-stacked > li + li { + margin-top: 2px; + margin-left: 0; +} + +.nav-justified { + width: 100%; +} + +.nav-justified > li { + float: none; +} + +.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs-justified { + border-bottom: 0; +} + +.nav-tabs-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs-justified > .active > a, +.nav-tabs-justified > .active > a:hover, +.nav-tabs-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs-justified > .active > a, + .nav-tabs-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.tab-content > .tab-pane { + display: none; +} + +.tab-content > .active { + display: block; +} + +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar { + position: relative; + min-height: 50px; + margin-bottom: 20px; + border: 1px solid transparent; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar { + border-radius: 4px; + } +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar-header { + float: left; + } +} + +.navbar-collapse { + max-height: 340px; + padding-right: 15px; + padding-left: 15px; + overflow-x: visible; + border-top: 1px solid transparent; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); + -webkit-overflow-scrolling: touch; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse.in { + overflow-y: auto; +} + +@media (min-width: 768px) { + .navbar-collapse { + width: auto; + border-top: 0; + box-shadow: none; + } + .navbar-collapse.collapse { + display: block !important; + height: auto !important; + padding-bottom: 0; + overflow: visible !important; + } + .navbar-collapse.in { + overflow-y: visible; + } + .navbar-fixed-top .navbar-collapse, + .navbar-static-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + padding-right: 0; + padding-left: 0; + } +} + +.container > .navbar-header, +.container > .navbar-collapse { + margin-right: -15px; + margin-left: -15px; +} + +@media (min-width: 768px) { + .container > .navbar-header, + .container > .navbar-collapse { + margin-right: 0; + margin-left: 0; + } +} + +.navbar-static-top { + z-index: 1000; + border-width: 0 0 1px; +} + +@media (min-width: 768px) { + .navbar-static-top { + border-radius: 0; + } +} + +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; +} + +@media (min-width: 768px) { + .navbar-fixed-top, + .navbar-fixed-bottom { + border-radius: 0; + } +} + +.navbar-fixed-top { + top: 0; + border-width: 0 0 1px; +} + +.navbar-fixed-bottom { + bottom: 0; + margin-bottom: 0; + border-width: 1px 0 0; +} + +.navbar-brand { + float: left; + padding: 15px 15px; + font-size: 18px; + line-height: 20px; +} + +.navbar-brand:hover, +.navbar-brand:focus { + text-decoration: none; +} + +@media (min-width: 768px) { + .navbar > .container .navbar-brand { + margin-left: -15px; + } +} + +.navbar-toggle { + position: relative; + float: right; + padding: 9px 10px; + margin-top: 8px; + margin-right: 15px; + margin-bottom: 8px; + background-color: transparent; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; +} + +.navbar-toggle .icon-bar { + display: block; + width: 22px; + height: 2px; + border-radius: 1px; +} + +.navbar-toggle .icon-bar + .icon-bar { + margin-top: 4px; +} + +@media (min-width: 768px) { + .navbar-toggle { + display: none; + } +} + +.navbar-nav { + margin: 7.5px -15px; +} + +.navbar-nav > li > a { + padding-top: 10px; + padding-bottom: 10px; + line-height: 20px; +} + +@media (max-width: 767px) { + .navbar-nav .open .dropdown-menu { + position: static; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + box-shadow: none; + } + .navbar-nav .open .dropdown-menu > li > a, + .navbar-nav .open .dropdown-menu .dropdown-header { + padding: 5px 15px 5px 25px; + } + .navbar-nav .open .dropdown-menu > li > a { + line-height: 20px; + } + .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-nav .open .dropdown-menu > li > a:focus { + background-image: none; + } +} + +@media (min-width: 768px) { + .navbar-nav { + float: left; + margin: 0; + } + .navbar-nav > li { + float: left; + } + .navbar-nav > li > a { + padding-top: 15px; + padding-bottom: 15px; + } + .navbar-nav.navbar-right:last-child { + margin-right: -15px; + } +} + +@media (min-width: 768px) { + .navbar-left { + float: left !important; + } + .navbar-right { + float: right !important; + } +} + +.navbar-form { + padding: 10px 15px; + margin-top: 8px; + margin-right: -15px; + margin-bottom: 8px; + margin-left: -15px; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); +} + +@media (min-width: 768px) { + .navbar-form .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .form-control { + display: inline-block; + } + .navbar-form select.form-control { + width: auto; + } + .navbar-form .radio, + .navbar-form .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .navbar-form .radio input[type="radio"], + .navbar-form .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +@media (max-width: 767px) { + .navbar-form .form-group { + margin-bottom: 5px; + } +} + +@media (min-width: 768px) { + .navbar-form { + width: auto; + padding-top: 0; + padding-bottom: 0; + margin-right: 0; + margin-left: 0; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .navbar-form.navbar-right:last-child { + margin-right: -15px; + } +} + +.navbar-nav > li > .dropdown-menu { + margin-top: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.navbar-nav.pull-right > li > .dropdown-menu, +.navbar-nav > li > .dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.navbar-btn { + margin-top: 8px; + margin-bottom: 8px; +} + +.navbar-btn.btn-sm { + margin-top: 10px; + margin-bottom: 10px; +} + +.navbar-btn.btn-xs { + margin-top: 14px; + margin-bottom: 14px; +} + +.navbar-text { + margin-top: 15px; + margin-bottom: 15px; +} + +@media (min-width: 768px) { + .navbar-text { + float: left; + margin-right: 15px; + margin-left: 15px; + } + .navbar-text.navbar-right:last-child { + margin-right: 0; + } +} + +.navbar-default { + background-color: #f8f8f8; + border-color: #e7e7e7; +} + +.navbar-default .navbar-brand { + color: #777777; +} + +.navbar-default .navbar-brand:hover, +.navbar-default .navbar-brand:focus { + color: #5e5e5e; + background-color: transparent; +} + +.navbar-default .navbar-text { + color: #777777; +} + +.navbar-default .navbar-nav > li > a { + color: #777777; +} + +.navbar-default .navbar-nav > li > a:hover, +.navbar-default .navbar-nav > li > a:focus { + color: #333333; + background-color: transparent; +} + +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .disabled > a, +.navbar-default .navbar-nav > .disabled > a:hover, +.navbar-default .navbar-nav > .disabled > a:focus { + color: #cccccc; + background-color: transparent; +} + +.navbar-default .navbar-toggle { + border-color: #dddddd; +} + +.navbar-default .navbar-toggle:hover, +.navbar-default .navbar-toggle:focus { + background-color: #dddddd; +} + +.navbar-default .navbar-toggle .icon-bar { + background-color: #cccccc; +} + +.navbar-default .navbar-collapse, +.navbar-default .navbar-form { + border-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .open > a, +.navbar-default .navbar-nav > .open > a:hover, +.navbar-default .navbar-nav > .open > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a { + color: #777777; + } + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + color: #333333; + background-color: transparent; + } + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #555555; + background-color: #e7e7e7; + } + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #cccccc; + background-color: transparent; + } +} + +.navbar-default .navbar-link { + color: #777777; +} + +.navbar-default .navbar-link:hover { + color: #333333; +} + +.navbar-inverse { + background-color: #222222; + border-color: #080808; +} + +.navbar-inverse .navbar-brand { + color: #999999; +} + +.navbar-inverse .navbar-brand:hover, +.navbar-inverse .navbar-brand:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-text { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a:hover, +.navbar-inverse .navbar-nav > li > a:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-nav > .active > a, +.navbar-inverse .navbar-nav > .active > a:hover, +.navbar-inverse .navbar-nav > .active > a:focus { + color: #ffffff; + background-color: #080808; +} + +.navbar-inverse .navbar-nav > .disabled > a, +.navbar-inverse .navbar-nav > .disabled > a:hover, +.navbar-inverse .navbar-nav > .disabled > a:focus { + color: #444444; + background-color: transparent; +} + +.navbar-inverse .navbar-toggle { + border-color: #333333; +} + +.navbar-inverse .navbar-toggle:hover, +.navbar-inverse .navbar-toggle:focus { + background-color: #333333; +} + +.navbar-inverse .navbar-toggle .icon-bar { + background-color: #ffffff; +} + +.navbar-inverse .navbar-collapse, +.navbar-inverse .navbar-form { + border-color: #101010; +} + +.navbar-inverse .navbar-nav > .open > a, +.navbar-inverse .navbar-nav > .open > a:hover, +.navbar-inverse .navbar-nav > .open > a:focus { + color: #ffffff; + background-color: #080808; +} + +@media (max-width: 767px) { + .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { + border-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu .divider { + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { + color: #999999; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + color: #ffffff; + background-color: transparent; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #ffffff; + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #444444; + background-color: transparent; + } +} + +.navbar-inverse .navbar-link { + color: #999999; +} + +.navbar-inverse .navbar-link:hover { + color: #ffffff; +} + +.breadcrumb { + padding: 8px 15px; + margin-bottom: 20px; + list-style: none; + background-color: #f5f5f5; + border-radius: 4px; +} + +.breadcrumb > li { + display: inline-block; +} + +.breadcrumb > li + li:before { + padding: 0 5px; + color: #cccccc; + content: "/\00a0"; +} + +.breadcrumb > .active { + color: #999999; +} + +.pagination { + display: inline-block; + padding-left: 0; + margin: 20px 0; + border-radius: 4px; +} + +.pagination > li { + display: inline; +} + +.pagination > li > a, +.pagination > li > span { + position: relative; + float: left; + padding: 6px 12px; + margin-left: -1px; + line-height: 1.428571429; + text-decoration: none; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.pagination > li:first-child > a, +.pagination > li:first-child > span { + margin-left: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} + +.pagination > li:last-child > a, +.pagination > li:last-child > span { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} + +.pagination > li > a:hover, +.pagination > li > span:hover, +.pagination > li > a:focus, +.pagination > li > span:focus { + background-color: #eeeeee; +} + +.pagination > .active > a, +.pagination > .active > span, +.pagination > .active > a:hover, +.pagination > .active > span:hover, +.pagination > .active > a:focus, +.pagination > .active > span:focus { + z-index: 2; + color: #ffffff; + cursor: default; + background-color: #428bca; + border-color: #428bca; +} + +.pagination > .disabled > span, +.pagination > .disabled > span:hover, +.pagination > .disabled > span:focus, +.pagination > .disabled > a, +.pagination > .disabled > a:hover, +.pagination > .disabled > a:focus { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; + border-color: #dddddd; +} + +.pagination-lg > li > a, +.pagination-lg > li > span { + padding: 10px 16px; + font-size: 18px; +} + +.pagination-lg > li:first-child > a, +.pagination-lg > li:first-child > span { + border-bottom-left-radius: 6px; + border-top-left-radius: 6px; +} + +.pagination-lg > li:last-child > a, +.pagination-lg > li:last-child > span { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; +} + +.pagination-sm > li > a, +.pagination-sm > li > span { + padding: 5px 10px; + font-size: 12px; +} + +.pagination-sm > li:first-child > a, +.pagination-sm > li:first-child > span { + border-bottom-left-radius: 3px; + border-top-left-radius: 3px; +} + +.pagination-sm > li:last-child > a, +.pagination-sm > li:last-child > span { + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} + +.pager { + padding-left: 0; + margin: 20px 0; + text-align: center; + list-style: none; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager li { + display: inline; +} + +.pager li > a, +.pager li > span { + display: inline-block; + padding: 5px 14px; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 15px; +} + +.pager li > a:hover, +.pager li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.pager .next > a, +.pager .next > span { + float: right; +} + +.pager .previous > a, +.pager .previous > span { + float: left; +} + +.pager .disabled > a, +.pager .disabled > a:hover, +.pager .disabled > a:focus, +.pager .disabled > span { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; +} + +.label { + display: inline; + padding: .2em .6em .3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25em; +} + +.label[href]:hover, +.label[href]:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +.label:empty { + display: none; +} + +.btn .label { + position: relative; + top: -1px; +} + +.label-default { + background-color: #999999; +} + +.label-default[href]:hover, +.label-default[href]:focus { + background-color: #808080; +} + +.label-primary { + background-color: #428bca; +} + +.label-primary[href]:hover, +.label-primary[href]:focus { + background-color: #3071a9; +} + +.label-success { + background-color: #5cb85c; +} + +.label-success[href]:hover, +.label-success[href]:focus { + background-color: #449d44; +} + +.label-info { + background-color: #5bc0de; +} + +.label-info[href]:hover, +.label-info[href]:focus { + background-color: #31b0d5; +} + +.label-warning { + background-color: #f0ad4e; +} + +.label-warning[href]:hover, +.label-warning[href]:focus { + background-color: #ec971f; +} + +.label-minor { + background-color: #fad664; +} +.label-minor[href]:hover, +.label-minor[href]:focus { + background-color: #f8c933; +} + +.label-danger { + background-color: #d9534f; +} + +.label-danger[href]:hover, +.label-danger[href]:focus { + background-color: #c9302c; +} + +.badge { + display: inline-block; + min-width: 10px; + padding: 3px 7px; + font-size: 12px; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + background-color: #999999; + border-radius: 10px; +} + +.badge:empty { + display: none; +} + +.btn .badge { + position: relative; + top: -1px; +} + +a.badge:hover, +a.badge:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +a.list-group-item.active > .badge, +.nav-pills > .active > a > .badge { + color: #428bca; + background-color: #ffffff; +} + +.nav-pills > li > a > .badge { + margin-left: 3px; +} + +/*.jumbotron { + padding: 30px; + margin-bottom: 30px; + font-size: 21px; + font-weight: 200; + line-height: 2.1428571435; + color: inherit; + background-color: #eeeeee; +} + +.jumbotron h1, +.jumbotron .h1 { + line-height: 1; + color: inherit; +} + +.jumbotron p { + line-height: 1.4; +} + +.container .jumbotron { + border-radius: 6px; +} + +.jumbotron .container { + max-width: 100%; +} + +@media screen and (min-width: 768px) { + .jumbotron { + padding-top: 48px; + padding-bottom: 48px; + } + .container .jumbotron { + padding-right: 60px; + padding-left: 60px; + } + .jumbotron h1, + .jumbotron .h1 { + font-size: 63px; + } +}*/ + +.thumbnail { + display: block; + padding: 4px; + margin-bottom: 20px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.thumbnail > img, +.thumbnail a > img { + display: block; + height: auto; + max-width: 100%; + margin-right: auto; + margin-left: auto; +} + +a.thumbnail:hover, +a.thumbnail:focus, +a.thumbnail.active { + border-color: #428bca; +} + +.thumbnail .caption { + padding: 9px; + color: #333333; +} + +.alert { + padding: 15px; + margin-bottom: 20px; + border: 1px solid transparent; + border-radius: 4px; +} + +.alert h4 { + margin-top: 0; + color: inherit; +} + +.alert .alert-link { + font-weight: bold; +} + +.alert > p, +.alert > ul { + margin-bottom: 0; +} + +.alert > p + p { + margin-top: 5px; +} + +.alert-dismissable { + padding-right: 35px; +} + +.alert-dismissable .close { + position: relative; + top: -2px; + right: -21px; + color: inherit; +} + +.alert-success { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.alert-success hr { + border-top-color: #c9e2b3; +} + +.alert-success .alert-link { + color: #2b542c; +} + +.alert-info { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.alert-info hr { + border-top-color: #a6e1ec; +} + +.alert-info .alert-link { + color: #245269; +} + +.alert-warning { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.alert-warning hr { + border-top-color: #f7e1b5; +} + +.alert-warning .alert-link { + color: #66512c; +} + +.alert-danger { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.alert-danger hr { + border-top-color: #e4b9c0; +} + +.alert-danger .alert-link { + color: #843534; +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +.progress { + height: 20px; + margin-bottom: 20px; + overflow: hidden; + background-color: #f5f5f5; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.progress-bar { + float: left; + width: 0; + height: 100%; + font-size: 12px; + line-height: 20px; + color: #ffffff; + text-align: center; + background-color: #428bca; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -webkit-transition: width 0.6s ease; + transition: width 0.6s ease; +} + +.progress-striped .progress-bar { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-size: 40px 40px; +} + +.progress.active .progress-bar { + -webkit-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} + +.progress-bar-success { + background-color: #5cb85c; +} + +.progress-striped .progress-bar-success { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-info { + background-color: #5bc0de; +} + +.progress-striped .progress-bar-info { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-warning { + background-color: #f0ad4e; +} + +.progress-striped .progress-bar-warning { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-danger { + background-color: #d9534f; +} + +.progress-striped .progress-bar-danger { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.media, +.media-body { + overflow: hidden; + zoom: 1; +} + +.media, +.media .media { + margin-top: 15px; +} + +.media:first-child { + margin-top: 0; +} + +.media-object { + display: block; +} + +.media-heading { + margin: 0 0 5px; +} + +.media > .pull-left { + margin-right: 10px; +} + +.media > .pull-right { + margin-left: 10px; +} + +.media-list { + padding-left: 0; + list-style: none; +} + +.list-group { + padding-left: 0; + margin-bottom: 20px; +} + +.list-group-item { + position: relative; + display: block; + padding: 10px 15px; + margin-bottom: -1px; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.list-group-item:first-child { + border-top-right-radius: 4px; + border-top-left-radius: 4px; +} + +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} + +.list-group-item > .badge { + float: right; +} + +.list-group-item > .badge + .badge { + margin-right: 5px; +} + +a.list-group-item { + color: #555555; +} + +a.list-group-item .list-group-item-heading { + color: #333333; +} + +a.list-group-item:hover, +a.list-group-item:focus { + text-decoration: none; + background-color: #f5f5f5; +} + +a.list-group-item.active, +a.list-group-item.active:hover, +a.list-group-item.active:focus { + z-index: 2; + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +a.list-group-item.active .list-group-item-heading, +a.list-group-item.active:hover .list-group-item-heading, +a.list-group-item.active:focus .list-group-item-heading { + color: inherit; +} + +a.list-group-item.active .list-group-item-text, +a.list-group-item.active:hover .list-group-item-text, +a.list-group-item.active:focus .list-group-item-text { + color: #e1edf7; +} + +.list-group-item-heading { + margin-top: 0; + margin-bottom: 5px; +} + +.list-group-item-text { + margin-bottom: 0; + line-height: 1.3; +} + +.panel { + margin-bottom: 20px; + background-color: #ffffff; + border: 1px solid transparent; + border-radius: 4px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.panel-body { + padding: 15px; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel > .list-group { + margin-bottom: 0; +} + +.panel > .list-group .list-group-item { + border-width: 1px 0; +} + +.panel > .list-group .list-group-item:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.panel > .list-group .list-group-item:last-child { + border-bottom: 0; +} + +.panel-heading + .list-group .list-group-item:first-child { + border-top-width: 0; +} + +.panel > .table, +.panel > .table-responsive > .table { + margin-bottom: 0; +} + +.panel > .panel-body + .table, +.panel > .panel-body + .table-responsive { + border-top: 1px solid #dddddd; +} + +.panel > .table > tbody:first-child th, +.panel > .table > tbody:first-child td { + border-top: 0; +} + +.panel > .table-bordered, +.panel > .table-responsive > .table-bordered { + border: 0; +} + +.panel > .table-bordered > thead > tr > th:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, +.panel > .table-bordered > tbody > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, +.panel > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-bordered > thead > tr > td:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, +.panel > .table-bordered > tbody > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, +.panel > .table-bordered > tfoot > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; +} + +.panel > .table-bordered > thead > tr > th:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, +.panel > .table-bordered > tbody > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, +.panel > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-bordered > thead > tr > td:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, +.panel > .table-bordered > tbody > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, +.panel > .table-bordered > tfoot > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; +} + +.panel > .table-bordered > thead > tr:last-child > th, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > th, +.panel > .table-bordered > tbody > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, +.panel > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-bordered > thead > tr:last-child > td, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > td, +.panel > .table-bordered > tbody > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, +.panel > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; +} + +.panel > .table-responsive { + margin-bottom: 0; + border: 0; +} + +.panel-heading { + padding: 10px 15px; + border-bottom: 1px solid transparent; + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} + +.panel-heading > .dropdown .dropdown-toggle { + color: inherit; +} + +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: 16px; + color: inherit; +} + +.panel-title > a { + color: inherit; +} + +.panel-footer { + padding: 10px 15px; + background-color: #f5f5f5; + border-top: 1px solid #dddddd; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} + +.panel-group .panel { + margin-bottom: 0; + overflow: hidden; + border-radius: 4px; +} + +.panel-group .panel + .panel { + margin-top: 5px; +} + +.panel-group .panel-heading { + border-bottom: 0; +} + +.panel-group .panel-heading + .panel-collapse .panel-body { + border-top: 1px solid #dddddd; +} + +.panel-group .panel-footer { + border-top: 0; +} + +.panel-group .panel-footer + .panel-collapse .panel-body { + border-bottom: 1px solid #dddddd; +} + +.panel-default { + border-color: #dddddd; +} + +.panel-default > .panel-heading { + color: #333333; + background-color: #f5f5f5; + border-color: #dddddd; +} + +.panel-default > .panel-heading + .panel-collapse .panel-body { + border-top-color: #dddddd; +} + +.panel-default > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #dddddd; +} + +.panel-primary { + border-color: #428bca; +} + +.panel-primary > .panel-heading { + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +.panel-primary > .panel-heading + .panel-collapse .panel-body { + border-top-color: #428bca; +} + +.panel-primary > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #428bca; +} + +.panel-success { + border-color: #d6e9c6; +} + +.panel-success > .panel-heading { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.panel-success > .panel-heading + .panel-collapse .panel-body { + border-top-color: #d6e9c6; +} + +.panel-success > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #d6e9c6; +} + +.panel-warning { + border-color: #faebcc; +} + +.panel-warning > .panel-heading { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.panel-warning > .panel-heading + .panel-collapse .panel-body { + border-top-color: #faebcc; +} + +.panel-warning > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #faebcc; +} + +.panel-danger { + border-color: #ebccd1; +} + +.panel-danger > .panel-heading { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.panel-danger > .panel-heading + .panel-collapse .panel-body { + border-top-color: #ebccd1; +} + +.panel-danger > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #ebccd1; +} + +.panel-info { + border-color: #bce8f1; +} + +.panel-info > .panel-heading { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.panel-info > .panel-heading + .panel-collapse .panel-body { + border-top-color: #bce8f1; +} + +.panel-info > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #bce8f1; +} + +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e3e3e3; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, 0.15); +} + +.well-lg { + padding: 24px; + border-radius: 6px; +} + +.well-sm { + padding: 9px; + border-radius: 3px; +} + +.close { + float: right; + font-size: 21px; + font-weight: bold; + line-height: 1; + color: #000000; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} + +.close:hover, +.close:focus { + color: #000000; + text-decoration: none; + cursor: pointer; + opacity: 0.5; + filter: alpha(opacity=50); +} + +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} + +.modal-open { + overflow: hidden; +} + +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + display: none; + overflow: auto; + overflow-y: scroll; +} + +.modal.fade .modal-dialog { + -webkit-transform: translate(0, -25%); + -ms-transform: translate(0, -25%); + transform: translate(0, -25%); + -webkit-transition: -webkit-transform 0.3s ease-out; + -moz-transition: -moz-transform 0.3s ease-out; + -o-transition: -o-transform 0.3s ease-out; + transition: transform 0.3s ease-out; +} + +.modal.in .modal-dialog { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); +} + +.modal-dialog { + position: relative; + z-index: 1050; + width: auto; + margin: 10px; +} + +.modal-content { + position: relative; + background-color: #ffffff; + border: 1px solid #999999; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + outline: none; + -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + background-clip: padding-box; +} + +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1030; + background-color: #000000; +} + +.modal-backdrop.fade { + opacity: 0; + filter: alpha(opacity=0); +} + +.modal-backdrop.in { + opacity: 0.5; + filter: alpha(opacity=50); +} + +.modal-header { + min-height: 16.428571429px; + padding: 15px; + border-bottom: 1px solid #e5e5e5; +} + +.modal-header .close { + margin-top: -2px; +} + +.modal-title { + margin: 0; + line-height: 1.428571429; +} + +.modal-body { + position: relative; + padding: 20px; +} + +.modal-footer { + padding: 19px 20px 20px; + margin-top: 15px; + text-align: right; + border-top: 1px solid #e5e5e5; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer .btn + .btn { + margin-bottom: 0; + margin-left: 5px; +} + +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} + +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} + +@media screen and (min-width: 768px) { + .modal-dialog { + width: 600px; + margin: 30px auto; + } + .modal-content { + -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + } +} + +.tooltip { + position: absolute; + z-index: 1030; + display: block; + font-size: 12px; + line-height: 1.4; + opacity: 0; + filter: alpha(opacity=0); + visibility: visible; +} + +.tooltip.in { + opacity: 0.9; + filter: alpha(opacity=90); +} + +.tooltip.top { + padding: 5px 0; + margin-top: -3px; +} + +.tooltip.right { + padding: 0 5px; + margin-left: 3px; +} + +.tooltip.bottom { + padding: 5px 0; + margin-top: 3px; +} + +.tooltip.left { + padding: 0 5px; + margin-left: -3px; +} + +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: #ffffff; + text-align: center; + text-decoration: none; + background-color: #000000; + border-radius: 4px; +} + +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-left .tooltip-arrow { + bottom: 0; + left: 5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-right .tooltip-arrow { + right: 5px; + bottom: 0; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-right-color: #000000; + border-width: 5px 5px 5px 0; +} + +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-left-color: #000000; + border-width: 5px 0 5px 5px; +} + +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-left .tooltip-arrow { + top: 0; + left: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-right .tooltip-arrow { + top: 0; + right: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1010; + display: none; + max-width: 276px; + padding: 1px; + text-align: left; + white-space: normal; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + background-clip: padding-box; +} + +.popover.top { + margin-top: -10px; +} + +.popover.right { + margin-left: 10px; +} + +.popover.bottom { + margin-top: 10px; +} + +.popover.left { + margin-left: -10px; +} + +.popover-title { + padding: 8px 14px; + margin: 0; + font-size: 14px; + font-weight: normal; + line-height: 18px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-radius: 5px 5px 0 0; +} + +.popover-content { + padding: 9px 14px; +} + +.popover .arrow, +.popover .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.popover .arrow { + border-width: 11px; +} + +.popover .arrow:after { + border-width: 10px; + content: ""; +} + +.popover.top .arrow { + bottom: -11px; + left: 50%; + margin-left: -11px; + border-top-color: #999999; + border-top-color: rgba(0, 0, 0, 0.25); + border-bottom-width: 0; +} + +.popover.top .arrow:after { + bottom: 1px; + margin-left: -10px; + border-top-color: #ffffff; + border-bottom-width: 0; + content: " "; +} + +.popover.right .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-right-color: #999999; + border-right-color: rgba(0, 0, 0, 0.25); + border-left-width: 0; +} + +.popover.right .arrow:after { + bottom: -10px; + left: 1px; + border-right-color: #ffffff; + border-left-width: 0; + content: " "; +} + +.popover.bottom .arrow { + top: -11px; + left: 50%; + margin-left: -11px; + border-bottom-color: #999999; + border-bottom-color: rgba(0, 0, 0, 0.25); + border-top-width: 0; +} + +.popover.bottom .arrow:after { + top: 1px; + margin-left: -10px; + border-bottom-color: #ffffff; + border-top-width: 0; + content: " "; +} + +.popover.left .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-left-color: #999999; + border-left-color: rgba(0, 0, 0, 0.25); + border-right-width: 0; +} + +.popover.left .arrow:after { + right: 1px; + bottom: -10px; + border-left-color: #ffffff; + border-right-width: 0; + content: " "; +} + +.carousel { + position: relative; +} + +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} + +.carousel-inner > .item { + position: relative; + display: none; + -webkit-transition: 0.6s ease-in-out left; + transition: 0.6s ease-in-out left; +} + +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + display: block; + height: auto; + max-width: 100%; + line-height: 1; +} + +.carousel-inner > .active, +.carousel-inner > .next, +.carousel-inner > .prev { + display: block; +} + +.carousel-inner > .active { + left: 0; +} + +.carousel-inner > .next, +.carousel-inner > .prev { + position: absolute; + top: 0; + width: 100%; +} + +.carousel-inner > .next { + left: 100%; +} + +.carousel-inner > .prev { + left: -100%; +} + +.carousel-inner > .next.left, +.carousel-inner > .prev.right { + left: 0; +} + +.carousel-inner > .active.left { + left: -100%; +} + +.carousel-inner > .active.right { + left: 100%; +} + +.carousel-control { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 15%; + font-size: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); + opacity: 0.5; + filter: alpha(opacity=50); +} + +.carousel-control.left { + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0), color-stop(rgba(0, 0, 0, 0.0001) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); +} + +.carousel-control.right { + right: 0; + left: auto; + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0), color-stop(rgba(0, 0, 0, 0.5) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); +} + +.carousel-control:hover, +.carousel-control:focus { + color: #ffffff; + text-decoration: none; + outline: none; + opacity: 0.9; + filter: alpha(opacity=90); +} + +.carousel-control .icon-prev, +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-left, +.carousel-control .glyphicon-chevron-right { + position: absolute; + top: 50%; + z-index: 5; + display: inline-block; +} + +.carousel-control .icon-prev, +.carousel-control .glyphicon-chevron-left { + left: 50%; +} + +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-right { + right: 50%; +} + +.carousel-control .icon-prev, +.carousel-control .icon-next { + width: 20px; + height: 20px; + margin-top: -10px; + margin-left: -10px; + font-family: serif; +} + +.carousel-control .icon-prev:before { + content: '\2039'; +} + +.carousel-control .icon-next:before { + content: '\203a'; +} + +.carousel-indicators { + position: absolute; + bottom: 10px; + left: 50%; + z-index: 15; + width: 60%; + padding-left: 0; + margin-left: -30%; + text-align: center; + list-style: none; +} + +.carousel-indicators li { + display: inline-block; + width: 10px; + height: 10px; + margin: 1px; + text-indent: -999px; + cursor: pointer; + background-color: #000 \9; + background-color: rgba(0, 0, 0, 0); + border: 1px solid #ffffff; + border-radius: 10px; +} + +.carousel-indicators .active { + width: 12px; + height: 12px; + margin: 0; + background-color: #ffffff; +} + +.carousel-caption { + position: absolute; + right: 15%; + bottom: 20px; + left: 15%; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); +} + +.carousel-caption .btn { + text-shadow: none; +} + +@media screen and (min-width: 768px) { + .carousel-control .glyphicons-chevron-left, + .carousel-control .glyphicons-chevron-right, + .carousel-control .icon-prev, + .carousel-control .icon-next { + width: 30px; + height: 30px; + margin-top: -15px; + margin-left: -15px; + font-size: 30px; + } + .carousel-caption { + right: 20%; + left: 20%; + padding-bottom: 30px; + } + .carousel-indicators { + bottom: 20px; + } +} + +.clearfix:before, +.clearfix:after { + display: table; + content: " "; +} + +.clearfix:after { + clear: both; +} + +.center-block { + display: block; + margin-right: auto; + margin-left: auto; +} + +.pull-right { + float: right !important; +} + +.pull-left { + float: left !important; +} + +.hide { + display: none !important; +} + +.show { + display: block !important; +} + +.invisible { + visibility: hidden; +} + +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.hidden { + display: none !important; + visibility: hidden !important; +} + +.affix { + position: fixed; +} + +@-ms-viewport { + width: device-width; +} + +.visible-xs, +tr.visible-xs, +th.visible-xs, +td.visible-xs { + display: none !important; +} + +@media (max-width: 767px) { + .visible-xs { + display: block !important; + } + table.visible-xs { + display: table; + } + tr.visible-xs { + display: table-row !important; + } + th.visible-xs, + td.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-xs.visible-sm { + display: block !important; + } + table.visible-xs.visible-sm { + display: table; + } + tr.visible-xs.visible-sm { + display: table-row !important; + } + th.visible-xs.visible-sm, + td.visible-xs.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-xs.visible-md { + display: block !important; + } + table.visible-xs.visible-md { + display: table; + } + tr.visible-xs.visible-md { + display: table-row !important; + } + th.visible-xs.visible-md, + td.visible-xs.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-xs.visible-lg { + display: block !important; + } + table.visible-xs.visible-lg { + display: table; + } + tr.visible-xs.visible-lg { + display: table-row !important; + } + th.visible-xs.visible-lg, + td.visible-xs.visible-lg { + display: table-cell !important; + } +} + +.visible-sm, +tr.visible-sm, +th.visible-sm, +td.visible-sm { + display: none !important; +} + +@media (max-width: 767px) { + .visible-sm.visible-xs { + display: block !important; + } + table.visible-sm.visible-xs { + display: table; + } + tr.visible-sm.visible-xs { + display: table-row !important; + } + th.visible-sm.visible-xs, + td.visible-sm.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm { + display: block !important; + } + table.visible-sm { + display: table; + } + tr.visible-sm { + display: table-row !important; + } + th.visible-sm, + td.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-sm.visible-md { + display: block !important; + } + table.visible-sm.visible-md { + display: table; + } + tr.visible-sm.visible-md { + display: table-row !important; + } + th.visible-sm.visible-md, + td.visible-sm.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-sm.visible-lg { + display: block !important; + } + table.visible-sm.visible-lg { + display: table; + } + tr.visible-sm.visible-lg { + display: table-row !important; + } + th.visible-sm.visible-lg, + td.visible-sm.visible-lg { + display: table-cell !important; + } +} + +.visible-md, +tr.visible-md, +th.visible-md, +td.visible-md { + display: none !important; +} + +@media (max-width: 767px) { + .visible-md.visible-xs { + display: block !important; + } + table.visible-md.visible-xs { + display: table; + } + tr.visible-md.visible-xs { + display: table-row !important; + } + th.visible-md.visible-xs, + td.visible-md.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-md.visible-sm { + display: block !important; + } + table.visible-md.visible-sm { + display: table; + } + tr.visible-md.visible-sm { + display: table-row !important; + } + th.visible-md.visible-sm, + td.visible-md.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md { + display: block !important; + } + table.visible-md { + display: table; + } + tr.visible-md { + display: table-row !important; + } + th.visible-md, + td.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-md.visible-lg { + display: block !important; + } + table.visible-md.visible-lg { + display: table; + } + tr.visible-md.visible-lg { + display: table-row !important; + } + th.visible-md.visible-lg, + td.visible-md.visible-lg { + display: table-cell !important; + } +} + +.visible-lg, +tr.visible-lg, +th.visible-lg, +td.visible-lg { + display: none !important; +} + +@media (max-width: 767px) { + .visible-lg.visible-xs { + display: block !important; + } + table.visible-lg.visible-xs { + display: table; + } + tr.visible-lg.visible-xs { + display: table-row !important; + } + th.visible-lg.visible-xs, + td.visible-lg.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-lg.visible-sm { + display: block !important; + } + table.visible-lg.visible-sm { + display: table; + } + tr.visible-lg.visible-sm { + display: table-row !important; + } + th.visible-lg.visible-sm, + td.visible-lg.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-lg.visible-md { + display: block !important; + } + table.visible-lg.visible-md { + display: table; + } + tr.visible-lg.visible-md { + display: table-row !important; + } + th.visible-lg.visible-md, + td.visible-lg.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-lg { + display: block !important; + } + table.visible-lg { + display: table; + } + tr.visible-lg { + display: table-row !important; + } + th.visible-lg, + td.visible-lg { + display: table-cell !important; + } +} + +.hidden-xs { + display: block !important; +} + +table.hidden-xs { + display: table; +} + +tr.hidden-xs { + display: table-row !important; +} + +th.hidden-xs, +td.hidden-xs { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-xs, + tr.hidden-xs, + th.hidden-xs, + td.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-xs.hidden-sm, + tr.hidden-xs.hidden-sm, + th.hidden-xs.hidden-sm, + td.hidden-xs.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-xs.hidden-md, + tr.hidden-xs.hidden-md, + th.hidden-xs.hidden-md, + td.hidden-xs.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-xs.hidden-lg, + tr.hidden-xs.hidden-lg, + th.hidden-xs.hidden-lg, + td.hidden-xs.hidden-lg { + display: none !important; + } +} + +.hidden-sm { + display: block !important; +} + +table.hidden-sm { + display: table; +} + +tr.hidden-sm { + display: table-row !important; +} + +th.hidden-sm, +td.hidden-sm { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-sm.hidden-xs, + tr.hidden-sm.hidden-xs, + th.hidden-sm.hidden-xs, + td.hidden-sm.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-sm, + tr.hidden-sm, + th.hidden-sm, + td.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-sm.hidden-md, + tr.hidden-sm.hidden-md, + th.hidden-sm.hidden-md, + td.hidden-sm.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-sm.hidden-lg, + tr.hidden-sm.hidden-lg, + th.hidden-sm.hidden-lg, + td.hidden-sm.hidden-lg { + display: none !important; + } +} + +.hidden-md { + display: block !important; +} + +table.hidden-md { + display: table; +} + +tr.hidden-md { + display: table-row !important; +} + +th.hidden-md, +td.hidden-md { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-md.hidden-xs, + tr.hidden-md.hidden-xs, + th.hidden-md.hidden-xs, + td.hidden-md.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-md.hidden-sm, + tr.hidden-md.hidden-sm, + th.hidden-md.hidden-sm, + td.hidden-md.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-md, + tr.hidden-md, + th.hidden-md, + td.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-md.hidden-lg, + tr.hidden-md.hidden-lg, + th.hidden-md.hidden-lg, + td.hidden-md.hidden-lg { + display: none !important; + } +} + +.hidden-lg { + display: block !important; +} + +table.hidden-lg { + display: table; +} + +tr.hidden-lg { + display: table-row !important; +} + +th.hidden-lg, +td.hidden-lg { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-lg.hidden-xs, + tr.hidden-lg.hidden-xs, + th.hidden-lg.hidden-xs, + td.hidden-lg.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-lg.hidden-sm, + tr.hidden-lg.hidden-sm, + th.hidden-lg.hidden-sm, + td.hidden-lg.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-lg.hidden-md, + tr.hidden-lg.hidden-md, + th.hidden-lg.hidden-md, + td.hidden-lg.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-lg, + tr.hidden-lg, + th.hidden-lg, + td.hidden-lg { + display: none !important; + } +} + +.visible-print, +tr.visible-print, +th.visible-print, +td.visible-print { + display: none !important; +} + +@media print { + .visible-print { + display: block !important; + } + table.visible-print { + display: table; + } + tr.visible-print { + display: table-row !important; + } + th.visible-print, + td.visible-print { + display: table-cell !important; + } + .hidden-print, + tr.hidden-print, + th.hidden-print, + td.hidden-print { + display: none !important; + } +} + + +/*Added by Maria*/ + + /* Main marketing message and sign up button */ + .jumbotron { + margin: 0px 0; + text-align: center; + } + .jumbotron h1 { + font-size: 80px; + line-height: 1; + } + .jumbotron .lead { + font-size: 20px; + line-height: 1.25; + } + .jumbotron .btn { + font-size: 21px; + padding: 14px 24px; + } + + /* Supporting marketing content */ + .marketing { + margin: 60px 0; + } + .marketing p + h4 { + margin-top: 28px; + } \ No newline at end of file diff --git a/dist/ontology/0.5.1/OOPSevaluation/evaluation/bootstrap.min.js b/dist/ontology/0.5.1/OOPSevaluation/evaluation/bootstrap.min.js new file mode 100644 index 0000000..1a6258e --- /dev/null +++ b/dist/ontology/0.5.1/OOPSevaluation/evaluation/bootstrap.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +if("undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]'),b=!0;if(a.length){var c=this.$element.find("input");"radio"===c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?b=!1:a.find(".active").removeClass("active")),b&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}b&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery); \ No newline at end of file diff --git a/dist/ontology/0.5.1/OOPSevaluation/evaluation/jquery-1.11.0.js b/dist/ontology/0.5.1/OOPSevaluation/evaluation/jquery-1.11.0.js new file mode 100644 index 0000000..3c88fa8 --- /dev/null +++ b/dist/ontology/0.5.1/OOPSevaluation/evaluation/jquery-1.11.0.js @@ -0,0 +1,10337 @@ +/*! + * jQuery JavaScript Library v1.11.0 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-23T21:02Z + */ + +(function( global, factory ) { + + if ( typeof module === "object" && typeof module.exports === "object" ) { + // For CommonJS and CommonJS-like environments where a proper window is present, + // execute the factory and get jQuery + // For environments that do not inherently posses a window with a document + // (such as Node.js), expose a jQuery-making factory as module.exports + // This accentuates the need for the creation of a real window + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Can't do this because several apps including ASP.NET trace +// the stack via arguments.caller.callee and Firefox dies if +// you try to trace through "use strict" call chains. (#13335) +// Support: Firefox 18+ +// + +var deletedIds = []; + +var slice = deletedIds.slice; + +var concat = deletedIds.concat; + +var push = deletedIds.push; + +var indexOf = deletedIds.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var trim = "".trim; + +var support = {}; + + + +var + version = "1.11.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }; + +jQuery.fn = jQuery.prototype = { + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // Start with an empty selector + selector: "", + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num != null ? + + // Return a 'clean' array + ( num < 0 ? this[ num + this.length ] : this[ num ] ) : + + // Return just the object + slice.call( this ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + ret.context = this.context; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: deletedIds.sort, + splice: deletedIds.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var src, copyIsArray, copy, name, options, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + isWindow: function( obj ) { + /* jshint eqeqeq: false */ + return obj != null && obj == obj.window; + }, + + isNumeric: function( obj ) { + // parseFloat NaNs numeric-cast false positives (null|true|false|"") + // ...but misinterprets leading-number strings, particularly hex literals ("0x...") + // subtraction forces infinities to NaN + return obj - parseFloat( obj ) >= 0; + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + isPlainObject: function( obj ) { + var key; + + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + try { + // Not own constructor property must be Object + if ( obj.constructor && + !hasOwn.call(obj, "constructor") && + !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + } catch ( e ) { + // IE8,9 Will throw exceptions on certain host objects #9897 + return false; + } + + // Support: IE<9 + // Handle iteration over inherited properties before own properties. + if ( support.ownLast ) { + for ( key in obj ) { + return hasOwn.call( obj, key ); + } + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + for ( key in obj ) {} + + return key === undefined || hasOwn.call( obj, key ); + }, + + type: function( obj ) { + if ( obj == null ) { + return obj + ""; + } + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call(obj) ] || "object" : + typeof obj; + }, + + // Evaluates a script in a global context + // Workarounds based on findings by Jim Driscoll + // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context + globalEval: function( data ) { + if ( data && jQuery.trim( data ) ) { + // We use execScript on Internet Explorer + // We use an anonymous function so that context is window + // rather than jQuery in Firefox + ( window.execScript || function( data ) { + window[ "eval" ].call( window, data ); + } )( data ); + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + // args is for internal usage only + each: function( obj, callback, args ) { + var value, + i = 0, + length = obj.length, + isArray = isArraylike( obj ); + + if ( args ) { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } + } + + return obj; + }, + + // Use native String.trim function wherever possible + trim: trim && !trim.call("\uFEFF\xA0") ? + function( text ) { + return text == null ? + "" : + trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArraylike( Object(arr) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + var len; + + if ( arr ) { + if ( indexOf ) { + return indexOf.call( arr, elem, i ); + } + + len = arr.length; + i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; + + for ( ; i < len; i++ ) { + // Skip accessing in sparse arrays + if ( i in arr && arr[ i ] === elem ) { + return i; + } + } + } + + return -1; + }, + + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + while ( j < len ) { + first[ i++ ] = second[ j++ ]; + } + + // Support: IE<9 + // Workaround casting of .length to NaN on otherwise arraylike objects (e.g., NodeLists) + if ( len !== len ) { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, + i = 0, + length = elems.length, + isArray = isArraylike( elems ), + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var args, proxy, tmp; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + now: function() { + return +( new Date() ); + }, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +}); + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +function isArraylike( obj ) { + var length = obj.length, + type = jQuery.type( obj ); + + if ( type === "function" || jQuery.isWindow( obj ) ) { + return false; + } + + if ( obj.nodeType === 1 && length ) { + return true; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v1.10.16 + * http://sizzlejs.com/ + * + * Copyright 2013 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-13 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + compile, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + -(new Date()), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // General-purpose constants + strundefined = typeof undefined, + MAX_NEGATIVE = 1 << 31, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf if we can't use a native one + indexOf = arr.indexOf || function( elem ) { + var i = 0, + len = this.length; + for ( ; i < len; i++ ) { + if ( this[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + // http://www.w3.org/TR/css3-syntax/#characters + characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", + + // Loosely modeled on CSS identifier characters + // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors + // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = characterEncoding.replace( "w", "w#" ), + + // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + + "*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", + + // Prefer arguments quoted, + // then not containing pseudos/brackets, + // then attribute selectors/non-parenthetical expressions, + // then anything else + // These preferences are here to reduce the number of selectors + // needing tokenize in the PSEUDO preFilter + pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + characterEncoding + ")" ), + "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), + "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + rescape = /'|\\/g, + + // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }; + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var match, elem, m, nodeType, + // QSA vars + i, groups, old, nid, newContext, newSelector; + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + + context = context || document; + results = results || []; + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { + return []; + } + + if ( documentIsHTML && !seed ) { + + // Shortcuts + if ( (match = rquickExpr.exec( selector )) ) { + // Speed-up: Sizzle("#ID") + if ( (m = match[1]) ) { + if ( nodeType === 9 ) { + elem = context.getElementById( m ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document (jQuery #6963) + if ( elem && elem.parentNode ) { + // Handle the case where IE, Opera, and Webkit return items + // by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + } else { + // Context is not a document + if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && + contains( context, elem ) && elem.id === m ) { + results.push( elem ); + return results; + } + } + + // Speed-up: Sizzle("TAG") + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Speed-up: Sizzle(".CLASS") + } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) { + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // QSA path + if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + nid = old = expando; + newContext = context; + newSelector = nodeType === 9 && selector; + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + groups = tokenize( selector ); + + if ( (old = context.getAttribute("id")) ) { + nid = old.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", nid ); + } + nid = "[id='" + nid + "'] "; + + i = groups.length; + while ( i-- ) { + groups[i] = nid + toSelector( groups[i] ); + } + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context; + newSelector = groups.join(","); + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch(qsaError) { + } finally { + if ( !old ) { + context.removeAttribute("id"); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {Function(string, Object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created div and expects a boolean result + */ +function assert( fn ) { + var div = document.createElement("div"); + + try { + return !!fn( div ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( div.parentNode ) { + div.parentNode.removeChild( div ); + } + // release memory in IE + div = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = attrs.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + ( ~b.sourceIndex || MAX_NEGATIVE ) - + ( ~a.sourceIndex || MAX_NEGATIVE ); + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== strundefined && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, + doc = node ? node.ownerDocument || node : preferredDoc, + parent = doc.defaultView; + + // If no document and documentElement is available, return + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Set our document + document = doc; + docElem = doc.documentElement; + + // Support tests + documentIsHTML = !isXML( doc ); + + // Support: IE>8 + // If iframe document is assigned to "document" variable and if iframe has been reloaded, + // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936 + // IE6-8 do not support the defaultView property so parent will be undefined + if ( parent && parent !== parent.top ) { + // IE11 does not have attachEvent, so all must suffer + if ( parent.addEventListener ) { + parent.addEventListener( "unload", function() { + setDocument(); + }, false ); + } else if ( parent.attachEvent ) { + parent.attachEvent( "onunload", function() { + setDocument(); + }); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans) + support.attributes = assert(function( div ) { + div.className = "i"; + return !div.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( div ) { + div.appendChild( doc.createComment("") ); + return !div.getElementsByTagName("*").length; + }); + + // Check if getElementsByClassName can be trusted + support.getElementsByClassName = rnative.test( doc.getElementsByClassName ) && assert(function( div ) { + div.innerHTML = "
    "; + + // Support: Safari<4 + // Catch class over-caching + div.firstChild.className = "i"; + // Support: Opera<10 + // Catch gEBCN failure to find non-leading classes + return div.getElementsByClassName("i").length === 2; + }); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( div ) { + docElem.appendChild( div ).id = expando; + return !doc.getElementsByName || !doc.getElementsByName( expando ).length; + }); + + // ID find and filter + if ( support.getById ) { + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== strundefined && documentIsHTML ) { + var m = context.getElementById( id ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + }; + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + } else { + // Support: IE6/7 + // getElementById is not reliable as a find shortcut + delete Expr.find["ID"]; + + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== strundefined ) { + return context.getElementsByTagName( tag ); + } + } : + function( tag, context ) { + var elem, + tmp = [], + i = 0, + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See http://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + div.innerHTML = ""; + + // Support: IE8, Opera 10-12 + // Nothing should be selected when empty strings follow ^= or $= or *= + if ( div.querySelectorAll("[t^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + }); + + assert(function( div ) { + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = doc.createElement("input"); + input.setAttribute( "type", "hidden" ); + div.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( div.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + div.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( div, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully does not implement inclusive descendent + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === doc ? -1 : + b === doc ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return doc; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch(e) {} + } + + return Sizzle( expr, document, null, [elem] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[5] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] && match[4] !== undefined ) { + match[2] = match[4]; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, outerCache, node, diff, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + // Seek `elem` from a previously-cached index + outerCache = parent[ expando ] || (parent[ expando ] = {}); + cache = outerCache[ type ] || []; + nodeIndex = cache[0] === dirruns && cache[1]; + diff = cache[0] === dirruns && cache[2]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + outerCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + // Use previously-cached element index if available + } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { + diff = cache[1]; + + // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) + } else { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { + // Cache the index of each encountered element + if ( useCache ) { + (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf.call( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +function tokenize( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +} + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + if ( (oldCache = outerCache[ dir ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + outerCache[ dir ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf.call( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context !== document && context; + } + + // Add elements passing elementMatchers directly to results + // Keep `i` a string if there are no elements so `matchedCount` will be "00" below + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // Apply set filters to unmatched elements + matchedCount += i; + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !group ) { + group = tokenize( selector ); + } + i = group.length; + while ( i-- ) { + cached = matcherFromTokens( group[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + } + return cached; +}; + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function select( selector, context, results, seed ) { + var i, tokens, token, type, find, + match = tokenize( selector ); + + if ( !seed ) { + // Try to minimize operations if there is only one group + if ( match.length === 1 ) { + + // Take a shortcut and set the context if the root selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + support.getById && context.nodeType === 9 && documentIsHTML && + Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + } + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + } + + // Compile and execute a filtering function + // Provide `match` to avoid retokenization if we modified the selector above + compile( selector, match )( + seed, + context, + !documentIsHTML, + results, + rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +} + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome<14 +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( div1 ) { + // Should return 1, but returns 4 (following) + return div1.compareDocumentPosition( document.createElement("div") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( div ) { + div.innerHTML = ""; + return div.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( div ) { + div.innerHTML = ""; + div.firstChild.setAttribute( "value", "" ); + return div.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( div ) { + return div.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.pseudos; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + + +var rneedsContext = jQuery.expr.match.needsContext; + +var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); + + + +var risSimple = /^.[^:#\[\.,]*$/; + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + /* jshint -W018 */ + return !!qualifier.call( elem, i, elem ) !== not; + }); + + } + + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + }); + + } + + if ( typeof qualifier === "string" ) { + if ( risSimple.test( qualifier ) ) { + return jQuery.filter( qualifier, elements, not ); + } + + qualifier = jQuery.filter( qualifier, elements ); + } + + return jQuery.grep( elements, function( elem ) { + return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not; + }); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 && elem.nodeType === 1 ? + jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : + jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + })); +}; + +jQuery.fn.extend({ + find: function( selector ) { + var i, + ret = [], + self = this, + len = self.length; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }) ); + } + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + // Needed because $( selector, context ) becomes $( context ).find( selector ) + ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); + ret.selector = this.selector ? this.selector + " " + selector : selector; + return ret; + }, + filter: function( selector ) { + return this.pushStack( winnow(this, selector || [], false) ); + }, + not: function( selector ) { + return this.pushStack( winnow(this, selector || [], true) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +}); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // Use the correct document accordingly with window argument (sandbox) + document = window.document, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, + + init = jQuery.fn.init = function( selector, context ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + + // scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[1], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + // Properties of context are called as methods if possible + if ( jQuery.isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || rootjQuery ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return typeof rootjQuery.ready !== "undefined" ? + rootjQuery.ready( selector ) : + // Execute immediately if ready is not present + selector( jQuery ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.extend({ + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +jQuery.fn.extend({ + has: function( target ) { + var i, + targets = jQuery( target, this ), + len = targets.length; + + return this.filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) { + // Always skip document fragments + if ( cur.nodeType < 11 && (pos ? + pos.index(cur) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector(cur, selectors)) ) { + + matched.push( cur ); + break; + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return jQuery.inArray( this[0], jQuery( elem ) ); + } + + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.unique( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter(selector) + ); + } +}); + +function sibling( cur, dir ) { + do { + cur = cur[ dir ]; + } while ( cur && cur.nodeType !== 1 ); + + return cur; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + if ( this.length > 1 ) { + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + ret = jQuery.unique( ret ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + } + + return this.pushStack( ret ); + }; +}); +var rnotwhite = (/\S+/g); + + + +// String to Object options format cache +var optionsCache = {}; + +// Convert String-formatted options into Object-formatted ones and store in cache +function createOptions( options ) { + var object = optionsCache[ options ] = {}; + jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) { + object[ flag ] = true; + }); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + ( optionsCache[ options ] || createOptions( options ) ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + // Last fire value (for non-forgettable lists) + memory, + // Flag to know if list was already fired + fired, + // End of the loop when firing + firingLength, + // Index of currently firing callback (modified by remove if needed) + firingIndex, + // First callback to fire (used internally by add and fireWith) + firingStart, + // Actual callback list + list = [], + // Stack of fire calls for repeatable lists + stack = !options.once && [], + // Fire callbacks + fire = function( data ) { + memory = options.memory && data; + fired = true; + firingIndex = firingStart || 0; + firingStart = 0; + firingLength = list.length; + firing = true; + for ( ; list && firingIndex < firingLength; firingIndex++ ) { + if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { + memory = false; // To prevent further calls using add + break; + } + } + firing = false; + if ( list ) { + if ( stack ) { + if ( stack.length ) { + fire( stack.shift() ); + } + } else if ( memory ) { + list = []; + } else { + self.disable(); + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + // First, we save the current length + var start = list.length; + (function add( args ) { + jQuery.each( args, function( _, arg ) { + var type = jQuery.type( arg ); + if ( type === "function" ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && type !== "string" ) { + // Inspect recursively + add( arg ); + } + }); + })( arguments ); + // Do we need to add the callbacks to the + // current firing batch? + if ( firing ) { + firingLength = list.length; + // With memory, if we're not firing then + // we should call right away + } else if ( memory ) { + firingStart = start; + fire( memory ); + } + } + return this; + }, + // Remove a callback from the list + remove: function() { + if ( list ) { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + // Handle firing indexes + if ( firing ) { + if ( index <= firingLength ) { + firingLength--; + } + if ( index <= firingIndex ) { + firingIndex--; + } + } + } + }); + } + return this; + }, + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); + }, + // Remove all callbacks from the list + empty: function() { + list = []; + firingLength = 0; + return this; + }, + // Have the list do nothing anymore + disable: function() { + list = stack = memory = undefined; + return this; + }, + // Is it disabled? + disabled: function() { + return !list; + }, + // Lock the list in its current state + lock: function() { + stack = undefined; + if ( !memory ) { + self.disable(); + } + return this; + }, + // Is it locked? + locked: function() { + return !stack; + }, + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( list && ( !fired || stack ) ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + if ( firing ) { + stack.push( args ); + } else { + fire( args ); + } + } + return this; + }, + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +jQuery.extend({ + + Deferred: function( func ) { + var tuples = [ + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], + [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], + [ "notify", "progress", jQuery.Callbacks("memory") ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred(function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[1] ](function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .done( newDefer.resolve ) + .fail( newDefer.reject ) + .progress( newDefer.notify ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); + } + }); + }); + fns = null; + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[1] ] = list.add; + + // Handle state + if ( stateString ) { + list.add(function() { + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] + deferred[ tuple[0] ] = function() { + deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); + return this; + }; + deferred[ tuple[0] + "With" ] = list.fireWith; + }); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( values === progressValues ) { + deferred.notifyWith( contexts, values ); + + } else if ( !(--remaining) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ) + .progress( updateFunc( i, progressContexts, progressValues ) ); + } else { + --remaining; + } + } + } + + // if we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +}); + + +// The deferred used on DOM ready +var readyList; + +jQuery.fn.ready = function( fn ) { + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; +}; + +jQuery.extend({ + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger("ready").off("ready"); + } + } +}); + +/** + * Clean-up method for dom ready events + */ +function detach() { + if ( document.addEventListener ) { + document.removeEventListener( "DOMContentLoaded", completed, false ); + window.removeEventListener( "load", completed, false ); + + } else { + document.detachEvent( "onreadystatechange", completed ); + window.detachEvent( "onload", completed ); + } +} + +/** + * The ready event handler and self cleanup method + */ +function completed() { + // readyState === "complete" is good enough for us to call the dom ready in oldIE + if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { + detach(); + jQuery.ready(); + } +} + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called after the browser event has already occurred. + // we once tried to use readyState "interactive" here, but it caused issues like the one + // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + setTimeout( jQuery.ready ); + + // Standards-based browsers support DOMContentLoaded + } else if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed, false ); + + // If IE event model is used + } else { + // Ensure firing before onload, maybe late but safe also for iframes + document.attachEvent( "onreadystatechange", completed ); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", completed ); + + // If IE and not a frame + // continually check to see if the document is ready + var top = false; + + try { + top = window.frameElement == null && document.documentElement; + } catch(e) {} + + if ( top && top.doScroll ) { + (function doScrollCheck() { + if ( !jQuery.isReady ) { + + try { + // Use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + top.doScroll("left"); + } catch(e) { + return setTimeout( doScrollCheck, 50 ); + } + + // detach all dom ready events + detach(); + + // and execute any waiting functions + jQuery.ready(); + } + })(); + } + } + } + return readyList.promise( obj ); +}; + + +var strundefined = typeof undefined; + + + +// Support: IE<9 +// Iteration over object's inherited properties before its own +var i; +for ( i in jQuery( support ) ) { + break; +} +support.ownLast = i !== "0"; + +// Note: most support tests are defined in their respective modules. +// false until the test is run +support.inlineBlockNeedsLayout = false; + +jQuery(function() { + // We need to execute this one support test ASAP because we need to know + // if body.style.zoom needs to be set. + + var container, div, + body = document.getElementsByTagName("body")[0]; + + if ( !body ) { + // Return for frameset docs that don't have a body + return; + } + + // Setup + container = document.createElement( "div" ); + container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; + + div = document.createElement( "div" ); + body.appendChild( container ).appendChild( div ); + + if ( typeof div.style.zoom !== strundefined ) { + // Support: IE<8 + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + div.style.cssText = "border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1"; + + if ( (support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 )) ) { + // Prevent IE 6 from affecting layout for positioned elements #11048 + // Prevent IE from shrinking the body in IE 7 mode #12869 + // Support: IE<8 + body.style.zoom = 1; + } + } + + body.removeChild( container ); + + // Null elements to avoid leaks in IE + container = div = null; +}); + + + + +(function() { + var div = document.createElement( "div" ); + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +/** + * Determines whether an object can have data + */ +jQuery.acceptData = function( elem ) { + var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ], + nodeType = +elem.nodeType || 1; + + // Do not set data on non-element DOM nodes because it will not be cleared (#8335). + return nodeType !== 1 && nodeType !== 9 ? + false : + + // Nodes accept data unless otherwise specified; rejection can be conditional + !noData || noData !== true && elem.getAttribute("classid") === noData; +}; + + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /([A-Z])/g; + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + + var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + +// checks a cache object for emptiness +function isEmptyDataObject( obj ) { + var name; + for ( name in obj ) { + + // if the public data object is empty, the private is still empty + if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { + continue; + } + if ( name !== "toJSON" ) { + return false; + } + } + + return true; +} + +function internalData( elem, name, data, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var ret, thisCache, + internalKey = jQuery.expando, + + // We have to handle DOM nodes and JS objects differently because IE6-7 + // can't GC object references properly across the DOM-JS boundary + isNode = elem.nodeType, + + // Only DOM nodes need the global jQuery cache; JS object data is + // attached directly to the object so GC can occur automatically + cache = isNode ? jQuery.cache : elem, + + // Only defining an ID for JS objects if its cache already exists allows + // the code to shortcut on the same path as a DOM node with no cache + id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; + + // Avoid doing any more work than we need to when trying to get data on an + // object that has no data at all + if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) { + return; + } + + if ( !id ) { + // Only DOM nodes need a new unique ID for each element since their data + // ends up in the global cache + if ( isNode ) { + id = elem[ internalKey ] = deletedIds.pop() || jQuery.guid++; + } else { + id = internalKey; + } + } + + if ( !cache[ id ] ) { + // Avoid exposing jQuery metadata on plain JS objects when the object + // is serialized using JSON.stringify + cache[ id ] = isNode ? {} : { toJSON: jQuery.noop }; + } + + // An object can be passed to jQuery.data instead of a key/value pair; this gets + // shallow copied over onto the existing cache + if ( typeof name === "object" || typeof name === "function" ) { + if ( pvt ) { + cache[ id ] = jQuery.extend( cache[ id ], name ); + } else { + cache[ id ].data = jQuery.extend( cache[ id ].data, name ); + } + } + + thisCache = cache[ id ]; + + // jQuery data() is stored in a separate object inside the object's internal data + // cache in order to avoid key collisions between internal data and user-defined + // data. + if ( !pvt ) { + if ( !thisCache.data ) { + thisCache.data = {}; + } + + thisCache = thisCache.data; + } + + if ( data !== undefined ) { + thisCache[ jQuery.camelCase( name ) ] = data; + } + + // Check for both converted-to-camel and non-converted data property names + // If a data property was specified + if ( typeof name === "string" ) { + + // First Try to find as-is property data + ret = thisCache[ name ]; + + // Test for null|undefined property data + if ( ret == null ) { + + // Try to find the camelCased property + ret = thisCache[ jQuery.camelCase( name ) ]; + } + } else { + ret = thisCache; + } + + return ret; +} + +function internalRemoveData( elem, name, pvt ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, i, + isNode = elem.nodeType, + + // See jQuery.data for more information + cache = isNode ? jQuery.cache : elem, + id = isNode ? elem[ jQuery.expando ] : jQuery.expando; + + // If there is already no cache entry for this object, there is no + // purpose in continuing + if ( !cache[ id ] ) { + return; + } + + if ( name ) { + + thisCache = pvt ? cache[ id ] : cache[ id ].data; + + if ( thisCache ) { + + // Support array or space separated string names for data keys + if ( !jQuery.isArray( name ) ) { + + // try the string as a key before any manipulation + if ( name in thisCache ) { + name = [ name ]; + } else { + + // split the camel cased version by spaces unless a key with the spaces exists + name = jQuery.camelCase( name ); + if ( name in thisCache ) { + name = [ name ]; + } else { + name = name.split(" "); + } + } + } else { + // If "name" is an array of keys... + // When data is initially created, via ("key", "val") signature, + // keys will be converted to camelCase. + // Since there is no way to tell _how_ a key was added, remove + // both plain key and camelCase key. #12786 + // This will only penalize the array argument path. + name = name.concat( jQuery.map( name, jQuery.camelCase ) ); + } + + i = name.length; + while ( i-- ) { + delete thisCache[ name[i] ]; + } + + // If there is no data left in the cache, we want to continue + // and let the cache object itself get destroyed + if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) { + return; + } + } + } + + // See jQuery.data for more information + if ( !pvt ) { + delete cache[ id ].data; + + // Don't destroy the parent cache unless the internal data object + // had been the only thing left in it + if ( !isEmptyDataObject( cache[ id ] ) ) { + return; + } + } + + // Destroy the cache + if ( isNode ) { + jQuery.cleanData( [ elem ], true ); + + // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) + /* jshint eqeqeq: false */ + } else if ( support.deleteExpando || cache != cache.window ) { + /* jshint eqeqeq: true */ + delete cache[ id ]; + + // When all else fails, null + } else { + cache[ id ] = null; + } +} + +jQuery.extend({ + cache: {}, + + // The following elements (space-suffixed to avoid Object.prototype collisions) + // throw uncatchable exceptions if you attempt to set expando properties + noData: { + "applet ": true, + "embed ": true, + // ...but Flash objects (which have this classid) *can* handle expandos + "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" + }, + + hasData: function( elem ) { + elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; + return !!elem && !isEmptyDataObject( elem ); + }, + + data: function( elem, name, data ) { + return internalData( elem, name, data ); + }, + + removeData: function( elem, name ) { + return internalRemoveData( elem, name ); + }, + + // For internal use only. + _data: function( elem, name, data ) { + return internalData( elem, name, data, true ); + }, + + _removeData: function( elem, name ) { + return internalRemoveData( elem, name, true ); + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var i, name, data, + elem = this[0], + attrs = elem && elem.attributes; + + // Special expections of .data basically thwart jQuery.access, + // so implement the relevant behavior ourselves + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = jQuery.data( elem ); + + if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + name = attrs[i].name; + + if ( name.indexOf("data-") === 0 ) { + name = jQuery.camelCase( name.slice(5) ); + + dataAttr( elem, name, data[ name ] ); + } + } + jQuery._data( elem, "parsedAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + return arguments.length > 1 ? + + // Sets one value + this.each(function() { + jQuery.data( this, key, value ); + }) : + + // Gets one value + // Try to fetch any internally stored data first + elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : undefined; + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + + +jQuery.extend({ + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = jQuery._data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray(data) ) { + queue = jQuery._data( elem, type, jQuery.makeArray(data) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // not intended for public consumption - generates a queueHooks object, or returns the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return jQuery._data( elem, key ) || jQuery._data( elem, key, { + empty: jQuery.Callbacks("once memory").add(function() { + jQuery._removeData( elem, type + "queue" ); + jQuery._removeData( elem, key ); + }) + }); + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[0], type ); + } + + return data === undefined ? + this : + this.each(function() { + var queue = jQuery.queue( this, type, data ); + + // ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = jQuery._data( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +}); +var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var isHidden = function( elem, el ) { + // isHidden might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); + }; + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + length = elems.length, + bulk = key == null; + + // Sets many values + if ( jQuery.type( key ) === "object" ) { + chainable = true; + for ( i in key ) { + jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !jQuery.isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < length; i++ ) { + fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); + } + } + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + length ? fn( elems[0], key ) : emptyGet; +}; +var rcheckableType = (/^(?:checkbox|radio)$/i); + + + +(function() { + var fragment = document.createDocumentFragment(), + div = document.createElement("div"), + input = document.createElement("input"); + + // Setup + div.setAttribute( "className", "t" ); + div.innerHTML = "
    a"; + + // IE strips leading whitespace when .innerHTML is used + support.leadingWhitespace = div.firstChild.nodeType === 3; + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + support.tbody = !div.getElementsByTagName( "tbody" ).length; + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + support.htmlSerialize = !!div.getElementsByTagName( "link" ).length; + + // Makes sure cloning an html5 element does not cause problems + // Where outerHTML is undefined, this still works + support.html5Clone = + document.createElement( "nav" ).cloneNode( true ).outerHTML !== "<:nav>"; + + // Check if a disconnected checkbox will retain its checked + // value of true after appended to the DOM (IE6/7) + input.type = "checkbox"; + input.checked = true; + fragment.appendChild( input ); + support.appendChecked = input.checked; + + // Make sure textarea (and checkbox) defaultValue is properly cloned + // Support: IE6-IE11+ + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // #11217 - WebKit loses check when the name is after the checked attribute + fragment.appendChild( div ); + div.innerHTML = ""; + + // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3 + // old WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE<9 + // Opera does not clone events (and typeof div.attachEvent === undefined). + // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() + support.noCloneEvent = true; + if ( div.attachEvent ) { + div.attachEvent( "onclick", function() { + support.noCloneEvent = false; + }); + + div.cloneNode( true ).click(); + } + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + fragment = div = input = null; +})(); + + +(function() { + var i, eventName, + div = document.createElement( "div" ); + + // Support: IE<9 (lack submit/change bubble), Firefox 23+ (lack focusin event) + for ( i in { submit: true, change: true, focusin: true }) { + eventName = "on" + i; + + if ( !(support[ i + "Bubbles" ] = eventName in window) ) { + // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP) + div.setAttribute( eventName, "t" ); + support[ i + "Bubbles" ] = div.attributes[ eventName ].expando === false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +var rformElems = /^(?:input|select|textarea)$/i, + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|contextmenu)|click/, + rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + var tmp, events, t, handleObjIn, + special, eventHandle, handleObj, + handlers, type, namespaces, origType, + elemData = jQuery._data( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !(events = elemData.events) ) { + events = elemData.events = {}; + } + if ( !(eventHandle = elemData.handle) ) { + eventHandle = elemData.handle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== strundefined && (!e || jQuery.event.triggered !== e.type) ? + jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : + undefined; + }; + // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events + eventHandle.elem = elem; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend({ + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join(".") + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !(handlers = events[ type ]) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener/attachEvent if the special events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + var j, handleObj, tmp, + origCount, t, events, + special, handlers, type, + namespaces, origType, + elemData = jQuery.hasData( elem ) && jQuery._data( elem ); + + if ( !elemData || !(events = elemData.events) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + delete elemData.handle; + + // removeData also checks for emptiness and clears the expando if empty + // so use it instead of delete + jQuery._removeData( elem, "events" ); + } + }, + + trigger: function( event, data, elem, onlyHandlers ) { + var handle, ontype, cur, + bubbleType, special, tmp, i, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; + + cur = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf(".") >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf(":") < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join("."); + event.namespace_re = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === (elem.ownerDocument || document) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { + + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && jQuery.acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) && + jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Can't use an .isFunction() check here because IE6/7 fails that test. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + try { + elem[ type ](); + } catch ( e ) { + // IE<9 dies on focus/blur to hidden element (#1486,#12518) + // only reproducible on winXP IE8 native, not IE9 in IE8 mode + } + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event ); + + var i, ret, handleObj, matched, j, + handlerQueue = [], + args = slice.call( arguments ), + handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) + .apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( (event.result = ret) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var sel, handleObj, matches, i, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + // Black-hole SVG instance trees (#13180) + // Avoid non-left-click bubbling in Firefox (#3861) + if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { + + /* jshint eqeqeq: false */ + for ( ; cur != this; cur = cur.parentNode || this ) { + /* jshint eqeqeq: true */ + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matches[ sel ] === undefined ) { + matches[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) >= 0 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matches[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push({ elem: cur, handlers: matches }); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( delegateCount < handlers.length ) { + handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); + } + + return handlerQueue; + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, copy, + type = event.type, + originalEvent = event, + fixHook = this.fixHooks[ type ]; + + if ( !fixHook ) { + this.fixHooks[ type ] = fixHook = + rmouseEvent.test( type ) ? this.mouseHooks : + rkeyEvent.test( type ) ? this.keyHooks : + {}; + } + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = new jQuery.Event( originalEvent ); + + i = copy.length; + while ( i-- ) { + prop = copy[ i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Support: IE<9 + // Fix target property (#1925) + if ( !event.target ) { + event.target = originalEvent.srcElement || document; + } + + // Support: Chrome 23+, Safari? + // Target should not be a text node (#504, #13143) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // Support: IE<9 + // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) + event.metaKey = !!event.metaKey; + + return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split(" "), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function( event, original ) { + var body, eventDoc, doc, + button = original.button, + fromElement = original.fromElement; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && fromElement ) { + event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + special: { + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + try { + this.focus(); + return false; + } catch ( e ) { + // Support: IE<9 + // If we error on focus to hidden element (#1486, #12518), + // let .trigger() run the handlers + } + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return jQuery.nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Even when returnValue equals to undefined Firefox will still show alert + if ( event.result !== undefined ) { + event.originalEvent.returnValue = event.result; + } + } + } + }, + + simulate: function( type, elem, event, bubble ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true, + originalEvent: {} + } + ); + if ( bubble ) { + jQuery.event.trigger( e, null, elem ); + } else { + jQuery.event.dispatch.call( elem, e ); + } + if ( e.isDefaultPrevented() ) { + event.preventDefault(); + } + } +}; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + var name = "on" + type; + + if ( elem.detachEvent ) { + + // #8545, #7054, preventing memory leaks for custom events in IE6-8 + // detachEvent needed property on element, by name of that event, to properly expose it to GC + if ( typeof elem[ name ] === strundefined ) { + elem[ name ] = null; + } + + elem.detachEvent( name, handle ); + } + }; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !(this instanceof jQuery.Event) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && ( + // Support: IE < 9 + src.returnValue === false || + // Support: Android < 4.0 + src.getPreventDefault && src.getPreventDefault() ) ? + returnTrue : + returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + if ( !e ) { + return; + } + + // If preventDefault exists, run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // Support: IE + // Otherwise set the returnValue property of the original event to false + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + if ( !e ) { + return; + } + // If stopPropagation exists, run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + + // Support: IE + // Set the cancelBubble property of the original event to true + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + } +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mousenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || (related !== target && !jQuery.contains( target, related )) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +}); + +// IE submit delegation +if ( !support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Lazy-add a submit handler when a descendant form may potentially be submitted + jQuery.event.add( this, "click._submit keypress._submit", function( e ) { + // Node name check avoids a VML-related crash in IE (#9807) + var elem = e.target, + form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; + if ( form && !jQuery._data( form, "submitBubbles" ) ) { + jQuery.event.add( form, "submit._submit", function( event ) { + event._submit_bubble = true; + }); + jQuery._data( form, "submitBubbles", true ); + } + }); + // return undefined since we don't need an event listener + }, + + postDispatch: function( event ) { + // If form was submitted by the user, bubble the event up the tree + if ( event._submit_bubble ) { + delete event._submit_bubble; + if ( this.parentNode && !event.isTrigger ) { + jQuery.event.simulate( "submit", this.parentNode, event, true ); + } + } + }, + + teardown: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Remove delegated handlers; cleanData eventually reaps submit handlers attached above + jQuery.event.remove( this, "._submit" ); + } + }; +} + +// IE change delegation and checkbox/radio fix +if ( !support.changeBubbles ) { + + jQuery.event.special.change = { + + setup: function() { + + if ( rformElems.test( this.nodeName ) ) { + // IE doesn't fire change on a check/radio until blur; trigger it on click + // after a propertychange. Eat the blur-change in special.change.handle. + // This still fires onchange a second time for check/radio after blur. + if ( this.type === "checkbox" || this.type === "radio" ) { + jQuery.event.add( this, "propertychange._change", function( event ) { + if ( event.originalEvent.propertyName === "checked" ) { + this._just_changed = true; + } + }); + jQuery.event.add( this, "click._change", function( event ) { + if ( this._just_changed && !event.isTrigger ) { + this._just_changed = false; + } + // Allow triggered, simulated change events (#11500) + jQuery.event.simulate( "change", this, event, true ); + }); + } + return false; + } + // Delegated event; lazy-add a change handler on descendant inputs + jQuery.event.add( this, "beforeactivate._change", function( e ) { + var elem = e.target; + + if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { + jQuery.event.add( elem, "change._change", function( event ) { + if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { + jQuery.event.simulate( "change", this.parentNode, event, true ); + } + }); + jQuery._data( elem, "changeBubbles", true ); + } + }); + }, + + handle: function( event ) { + var elem = event.target; + + // Swallow native change events from checkbox/radio, we already triggered them above + if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { + return event.handleObj.handler.apply( this, arguments ); + } + }, + + teardown: function() { + jQuery.event.remove( this, "._change" ); + + return !rformElems.test( this.nodeName ); + } + }; +} + +// Create "bubbling" focus and blur events +if ( !support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + jQuery._data( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + jQuery._removeData( doc, fix ); + } else { + jQuery._data( doc, fix, attaches ); + } + } + }; + }); +} + +jQuery.fn.extend({ + + on: function( types, selector, data, fn, /*INTERNAL*/ one ) { + var type, origFn; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + this.on( type, selector, data, types[ type ], one ); + } + return this; + } + + if ( data == null && fn == null ) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return this; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return this.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + }); + }, + one: function( types, selector, data, fn ) { + return this.on( types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each(function() { + jQuery.event.remove( this, types, fn, selector ); + }); + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + triggerHandler: function( type, data ) { + var elem = this[0]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +}); + + +function createSafeFragment( document ) { + var list = nodeNames.split( "|" ), + safeFrag = document.createDocumentFragment(); + + if ( safeFrag.createElement ) { + while ( list.length ) { + safeFrag.createElement( + list.pop() + ); + } + } + return safeFrag; +} + +var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + + "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", + rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, + rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, + rtagName = /<([\w:]+)/, + rtbody = /\s*$/g, + + // We have to close these tags to support XHTML (#13200) + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "
    ", "
    " ], + area: [ 1, "", "" ], + param: [ 1, "", "" ], + thead: [ 1, "", "
    " ], + tr: [ 2, "", "
    " ], + col: [ 2, "", "
    " ], + td: [ 3, "", "
    " ], + + // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, + // unless wrapped in a div with non-breaking characters in front of it. + _default: support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X
    ", "
    " ] + }, + safeFragment = createSafeFragment( document ), + fragmentDiv = safeFragment.appendChild( document.createElement("div") ); + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +function getAll( context, tag ) { + var elems, elem, + i = 0, + found = typeof context.getElementsByTagName !== strundefined ? context.getElementsByTagName( tag || "*" ) : + typeof context.querySelectorAll !== strundefined ? context.querySelectorAll( tag || "*" ) : + undefined; + + if ( !found ) { + for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { + if ( !tag || jQuery.nodeName( elem, tag ) ) { + found.push( elem ); + } else { + jQuery.merge( found, getAll( elem, tag ) ); + } + } + } + + return tag === undefined || tag && jQuery.nodeName( context, tag ) ? + jQuery.merge( [ context ], found ) : + found; +} + +// Used in buildFragment, fixes the defaultChecked property +function fixDefaultChecked( elem ) { + if ( rcheckableType.test( elem.type ) ) { + elem.defaultChecked = elem.checked; + } +} + +// Support: IE<8 +// Manipulating tables requires a tbody +function manipulationTarget( elem, content ) { + return jQuery.nodeName( elem, "table" ) && + jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ? + + elem.getElementsByTagName("tbody")[0] || + elem.appendChild( elem.ownerDocument.createElement("tbody") ) : + elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + var match = rscriptTypeMasked.exec( elem.type ); + if ( match ) { + elem.type = match[1]; + } else { + elem.removeAttribute("type"); + } + return elem; +} + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var elem, + i = 0; + for ( ; (elem = elems[i]) != null; i++ ) { + jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); + } +} + +function cloneCopyEvent( src, dest ) { + + if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { + return; + } + + var type, i, l, + oldData = jQuery._data( src ), + curData = jQuery._data( dest, oldData ), + events = oldData.events; + + if ( events ) { + delete curData.handle; + curData.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + + // make the cloned public data object a copy from the original + if ( curData.data ) { + curData.data = jQuery.extend( {}, curData.data ); + } +} + +function fixCloneNodeIssues( src, dest ) { + var nodeName, e, data; + + // We do not need to do anything for non-Elements + if ( dest.nodeType !== 1 ) { + return; + } + + nodeName = dest.nodeName.toLowerCase(); + + // IE6-8 copies events bound via attachEvent when using cloneNode. + if ( !support.noCloneEvent && dest[ jQuery.expando ] ) { + data = jQuery._data( dest ); + + for ( e in data.events ) { + jQuery.removeEvent( dest, e, data.handle ); + } + + // Event data gets referenced instead of copied if the expando gets copied too + dest.removeAttribute( jQuery.expando ); + } + + // IE blanks contents when cloning scripts, and tries to evaluate newly-set text + if ( nodeName === "script" && dest.text !== src.text ) { + disableScript( dest ).text = src.text; + restoreScript( dest ); + + // IE6-10 improperly clones children of object elements using classid. + // IE10 throws NoModificationAllowedError if parent is null, #12132. + } else if ( nodeName === "object" ) { + if ( dest.parentNode ) { + dest.outerHTML = src.outerHTML; + } + + // This path appears unavoidable for IE9. When cloning an object + // element in IE9, the outerHTML strategy above is not sufficient. + // If the src has innerHTML and the destination does not, + // copy the src.innerHTML into the dest.innerHTML. #10324 + if ( support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { + dest.innerHTML = src.innerHTML; + } + + } else if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + // IE6-8 fails to persist the checked state of a cloned checkbox + // or radio button. Worse, IE6-7 fail to give the cloned element + // a checked appearance if the defaultChecked value isn't also set + + dest.defaultChecked = dest.checked = src.checked; + + // IE6-7 get confused and end up setting the value of a cloned + // checkbox/radio button to an empty string instead of "on" + if ( dest.value !== src.value ) { + dest.value = src.value; + } + + // IE6-8 fails to return the selected option to the default selected + // state when cloning options + } else if ( nodeName === "option" ) { + dest.defaultSelected = dest.selected = src.defaultSelected; + + // IE6-8 fails to set the defaultValue to the correct value when + // cloning other types of input fields + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +jQuery.extend({ + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var destElements, node, clone, i, srcElements, + inPage = jQuery.contains( elem.ownerDocument, elem ); + + if ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { + clone = elem.cloneNode( true ); + + // IE<=8 does not properly clone detached, unknown element nodes + } else { + fragmentDiv.innerHTML = elem.outerHTML; + fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); + } + + if ( (!support.noCloneEvent || !support.noCloneChecked) && + (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { + + // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + // Fix all IE cloning issues + for ( i = 0; (node = srcElements[i]) != null; ++i ) { + // Ensure that the destination node is not null; Fixes #9587 + if ( destElements[i] ) { + fixCloneNodeIssues( node, destElements[i] ); + } + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0; (node = srcElements[i]) != null; i++ ) { + cloneCopyEvent( node, destElements[i] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + destElements = srcElements = node = null; + + // Return the cloned set + return clone; + }, + + buildFragment: function( elems, context, scripts, selection ) { + var j, elem, contains, + tmp, tag, tbody, wrap, + l = elems.length, + + // Ensure a safe fragment + safe = createSafeFragment( context ), + + nodes = [], + i = 0; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( jQuery.type( elem ) === "object" ) { + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || safe.appendChild( context.createElement("div") ); + + // Deserialize a standard representation + tag = (rtagName.exec( elem ) || [ "", "" ])[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + + tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1>" ) + wrap[2]; + + // Descend through wrappers to the right content + j = wrap[0]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Manually add leading whitespace removed by IE + if ( !support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { + nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); + } + + // Remove IE's autoinserted from table fragments + if ( !support.tbody ) { + + // String was a , *may* have spurious + elem = tag === "table" && !rtbody.test( elem ) ? + tmp.firstChild : + + // String was a bare or + wrap[1] === "
    " && !rtbody.test( elem ) ? + tmp : + 0; + + j = elem && elem.childNodes.length; + while ( j-- ) { + if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { + elem.removeChild( tbody ); + } + } + } + + jQuery.merge( nodes, tmp.childNodes ); + + // Fix #12392 for WebKit and IE > 9 + tmp.textContent = ""; + + // Fix #12392 for oldIE + while ( tmp.firstChild ) { + tmp.removeChild( tmp.firstChild ); + } + + // Remember the top-level container for proper cleanup + tmp = safe.lastChild; + } + } + } + + // Fix #11356: Clear elements from fragment + if ( tmp ) { + safe.removeChild( tmp ); + } + + // Reset defaultChecked for any radios and checkboxes + // about to be appended to the DOM in IE 6/7 (#8060) + if ( !support.appendChecked ) { + jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); + } + + i = 0; + while ( (elem = nodes[ i++ ]) ) { + + // #4087 - If origin and destination elements are the same, and this is + // that element, do not do anything + if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( safe.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( (elem = tmp[ j++ ]) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + tmp = null; + + return safe; + }, + + cleanData: function( elems, /* internal */ acceptData ) { + var elem, type, id, data, + i = 0, + internalKey = jQuery.expando, + cache = jQuery.cache, + deleteExpando = support.deleteExpando, + special = jQuery.event.special; + + for ( ; (elem = elems[i]) != null; i++ ) { + if ( acceptData || jQuery.acceptData( elem ) ) { + + id = elem[ internalKey ]; + data = id && cache[ id ]; + + if ( data ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Remove cache only if it was not already removed by jQuery.event.remove + if ( cache[ id ] ) { + + delete cache[ id ]; + + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( deleteExpando ) { + delete elem[ internalKey ]; + + } else if ( typeof elem.removeAttribute !== strundefined ) { + elem.removeAttribute( internalKey ); + + } else { + elem[ internalKey ] = null; + } + + deletedIds.push( id ); + } + } + } + } + } +}); + +jQuery.fn.extend({ + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); + }, null, value, arguments.length ); + }, + + append: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + }); + }, + + prepend: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + }); + }, + + before: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + }); + }, + + after: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + }); + }, + + remove: function( selector, keepData /* Internal Use Only */ ) { + var elem, + elems = selector ? jQuery.filter( selector, this ) : this, + i = 0; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( !keepData && elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem ) ); + } + + if ( elem.parentNode ) { + if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { + setGlobalEval( getAll( elem, "script" ) ); + } + elem.parentNode.removeChild( elem ); + } + } + + return this; + }, + + empty: function() { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + } + + // Remove any remaining nodes + while ( elem.firstChild ) { + elem.removeChild( elem.firstChild ); + } + + // If this is a select, ensure that it displays empty (#12336) + // Support: IE<9 + if ( elem.options && jQuery.nodeName( elem, "select" ) ) { + elem.options.length = 0; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map(function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + }); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined ) { + return elem.nodeType === 1 ? + elem.innerHTML.replace( rinlinejQuery, "" ) : + undefined; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + ( support.htmlSerialize || !rnoshimcache.test( value ) ) && + ( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && + !wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) { + + value = value.replace( rxhtmlTag, "<$1>" ); + + try { + for (; i < l; i++ ) { + // Remove element nodes and prevent memory leaks + elem = this[i] || {}; + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch(e) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var arg = arguments[ 0 ]; + + // Make the changes, replacing each context element with the new content + this.domManip( arguments, function( elem ) { + arg = this.parentNode; + + jQuery.cleanData( getAll( this ) ); + + if ( arg ) { + arg.replaceChild( elem, this ); + } + }); + + // Force removal if there was no new content (e.g., from empty arguments) + return arg && (arg.length || arg.nodeType) ? this : this.remove(); + }, + + detach: function( selector ) { + return this.remove( selector, true ); + }, + + domManip: function( args, callback ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var first, node, hasScripts, + scripts, doc, fragment, + i = 0, + l = this.length, + set = this, + iNoClone = l - 1, + value = args[0], + isFunction = jQuery.isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( isFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return this.each(function( index ) { + var self = set.eq( index ); + if ( isFunction ) { + args[0] = value.call( this, index, self.html() ); + } + self.domManip( args, callback ); + }); + } + + if ( l ) { + fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + if ( first ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( this[i], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { + + if ( node.src ) { + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl ) { + jQuery._evalUrl( node.src ); + } + } else { + jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); + } + } + } + } + + // Fix #11809: Avoid leaking memory + fragment = first = null; + } + } + + return this; + } +}); + +jQuery.each({ + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + i = 0, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone(true); + jQuery( insert[i] )[ original ]( elems ); + + // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +}); + + +var iframe, + elemdisplay = {}; + +/** + * Retrieve the actual display of a element + * @param {String} name nodeName of the element + * @param {Object} doc Document object + */ +// Called only from within defaultDisplay +function actualDisplay( name, doc ) { + var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), + + // getDefaultComputedStyle might be reliably used only on attached element + display = window.getDefaultComputedStyle ? + + // Use of this method is a temporary fix (more like optmization) until something better comes along, + // since it was removed from specification and supported only in FF + window.getDefaultComputedStyle( elem[ 0 ] ).display : jQuery.css( elem[ 0 ], "display" ); + + // We don't have any data stored on the element, + // so use "detach" method as fast way to get rid of the element + elem.detach(); + + return display; +} + +/** + * Try to determine the default display value of an element + * @param {String} nodeName + */ +function defaultDisplay( nodeName ) { + var doc = document, + display = elemdisplay[ nodeName ]; + + if ( !display ) { + display = actualDisplay( nodeName, doc ); + + // If the simple way fails, read from inside an iframe + if ( display === "none" || !display ) { + + // Use the already-created iframe if possible + iframe = (iframe || jQuery( " diff --git a/dist/ontology/0.5.1/sections/references-en.html b/dist/ontology/0.5.1/sections/references-en.html new file mode 100644 index 0000000..5501c97 --- /dev/null +++ b/dist/ontology/0.5.1/sections/references-en.html @@ -0,0 +1,6 @@ + +

    References back to ToC

    + +Add your references here. It is recommended to have them as a list. + + diff --git a/dist/ontology/0.5.1/webvowl/css/webvowl.app.css b/dist/ontology/0.5.1/webvowl/css/webvowl.app.css new file mode 100644 index 0000000..2ceaead --- /dev/null +++ b/dist/ontology/0.5.1/webvowl/css/webvowl.app.css @@ -0,0 +1,6 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans);html{-ms-content-zooming:none}#loading-progress{width:50%;margin:10px 0}#layoutLoadingProgressBarContainer{height:50px;text-align:left;line-height:1.5}#FPS_Statistics{padding-left:60px;padding-top:60px}#additionalInformationContainer{position:absolute;top:10px;right:50px}#modeOfOperationString{padding-left:34px}#close_directUploadBtn,#direct-text-input,#directUploadBtn{border:1px solid #34495e;width:100%;margin-top:5px;cursor:pointer}#di_controls>ul{list-style:none;margin:0;padding:5px 0 0 5px}#progressBarContext{border-radius:10px;background-color:#bdc3c7;height:25px;border:1px solid #000;margin:auto}#progressBarValue{border-radius:9px;width:0;background-color:#2980b9;height:25px;line-height:1.5;text-align:center}.dbEntry{background-color:#fff;color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntrySelected{color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntry:focus,.dbEntry:hover,.dbEntrySelected{background-color:#bdc3c7}.searchMenuEntry{background-color:#fff;bottom:0;font-size:14px;min-width:50px;margin:0;padding:0;z-index:99;border-radius:4px 4px 0 0;border:1px solid rgba(0,0,0,.15);-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;border-bottom:none;display:none;position:absolute;list-style:none}.searchInputText{background-color:#fff;color:#000;border:#000;text-decoration:none;max-width:150px;overflow:hidden;text-overflow:ellipsis;margin:0}iframe,img{border:none}.hidden{display:none!important}.clear{clear:both}a{color:#69c;text-decoration:none}a:hover{color:#3498db}#optionsArea a{color:#2980b9}#optionsArea a.highlighted{background-color:#d90}.toolTipMenu li.highlighted{background-color:#feb}#browserCheck{background-color:red;padding:5px 0;position:absolute;text-align:center;width:100%}#browserCheck a{color:#fff}#browserCheck a:hover{text-decoration:underline}@-webkit-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-o-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-webkit-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-o-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-moz-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-o-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-webkit-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-moz-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-o-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-webkit-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-moz-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-o-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-webkit-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-moz-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-o-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes msg_CollapseAnimation{0%{top:0}to{top:-400px}}@-webkit-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-moz-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-o-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-webkit-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-moz-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-o-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-webkit-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-o-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-o-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}body{background:#18202a;font-size:14px;font-family:Open Sans,Helvetica,Arial,sans-serif;line-height:1;overflow:hidden;position:fixed}body,main{height:100%;margin:0;padding:0;width:100%}#canvasArea,main{position:relative}#canvasArea{margin:0;padding:0;width:78%}#canvasArea #graph{margin:0 0 2px;background-color:#ecf0f1;width:100%}#canvasArea #graph,#canvasArea svg{box-sizing:border-box;overflow:hidden;padding:0}#canvasArea svg{margin:0}#logo{position:fixed;pointer-events:none}#logo h2{color:#3498db;margin:0;line-height:.7;text-align:center;font-size:24px}#logo h2 span{color:#34495e;font-size:16px}@media screen and (max-device-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-device-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}.checkboxContainer input,.checkboxContainer label{vertical-align:middle}.selected-ontology{background-color:#eee}#credits{border-top:1px solid #bdc3c7;font-size:.9em}.slideOption{position:relative;padding:8px 5px;outline:none}.slideOption .value{float:right;outline:none}.slideOption input[type=range]{box-sizing:border-box;margin:0;outline:none;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#eee}.slideOption input[type=range]::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]::-moz-range-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]:hover{outline:none}.slideOption input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none;margin-top:-3px}.slideOption input[type=range]::-moz-range-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none}.slideOption input[type=range]::-moz-range-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]::-webkit-slider-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]:active,.slideOption input[type=range]:focus{outline:none}.slideOption input[type=range]::-moz-range-thumb:active,.slideOption input[type=range]::-moz-range-thumb:focus{outline:none}.slideOption input[type=range]::-webkit-slider-thumb:active,.slideOption input[type=range]::-webkit-slider-thumb:focus{outline:none}.slideOption input[type=range]:disabled{box-sizing:border-box;margin:0;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#787878}.slideOption input[type=range]:disabled::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled::-moz-range-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled{outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{-webkit-appearance:none;background-color:#363636;border-radius:3px;border:1px solid #aaa;transition:all .5s ease;height:10px;width:30px;margin-top:-3px}.slideOption input[type=range]:disabled::-moz-range-thumb{-webkit-appearance:none;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;background-color:#aaa;outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{background-color:#aaa;outline:none}.slideOption input[type=range]:disabled:hover::-moz-range-thumb{background-color:#404040;outline:none}.slideOption input[type=range]:disabled:hover::-webkit-slider-thumb{background-color:#404040;outline:none}#detailsArea{top:0;right:0;bottom:0;color:#bdc3c7;height:100%;width:22%;overflow-y:auto;overflow-x:hidden;position:fixed;border-left:1px solid #34495e}#detailsArea h1{border-bottom:1px solid #34495e;color:#ecf0f1;display:block;font-weight:100;font-size:1.5em;margin:0;padding:10px 0;text-align:center}#generalDetails{width:auto;box-sizing:border-box;height:100%}#generalDetails span #about{border-bottom:1px solid #34495e;display:block;padding:10px;text-align:center;word-wrap:break-word;color:#69c}#generalDetails h4{background:#1b252e;color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 0;text-align:center}#detailsArea #generalDetails h5{border-bottom:1px solid #34495e;font-size:.9em;font-weight:100;margin:0;padding:5px;text-align:center}#description{text-align:justify}.accordion-container p{font-size:.9em;line-height:1.3;margin:5px 10px}.statisticDetails span{padding:10px}.statisticDetails div,.statisticDetails span{font-weight:100;font-style:italic;margin:10px 0}.statisticDetails div{padding:0 10px;display:inline}#selection-details .propDetails a{color:#69c}#selection-details .propDetails>span{font-weight:100;font-style:italic;padding:0 10px}#selection-details #classEquivUri span,#selection-details #disjointNodes span{padding:0}#selection-details .propDetails div{font-weight:100;font-style:italic;margin:10px 0;padding:0 10px;display:inline}#selection-details .propDetails div span{padding:0}.subclass{fill:#ecf0f1}.accordion-trigger{background:#24323e;cursor:pointer;padding:.5em}.accordion-trigger.accordion-trigger-active:before{padding-right:4px;content:"\25BC"}.accordion-trigger:not(.accordion-trigger-active):before{padding-right:4px;content:"\25BA"}.accordion-container.scrollable{max-height:40%;overflow:auto}.small-whitespace-separator{height:3px}#language{background:transparent;border:1px solid #34495e;color:#ecf0f1}#language option{background-color:#24323e}.converter-form:not(:first-child){margin-top:5px}.converter-form label{display:inline-block;line-height:normal}.converter-form input{box-sizing:border-box;height:20px;width:74%;border:1px solid #34495e}.converter-form button{float:right;padding:0;width:25%;background-color:#ecf0f1}#file-converter-label,.converter-form button{cursor:pointer;height:20px;border:1px solid #34495e}#file-converter-label{box-sizing:border-box;width:74%}#killWarning{cursor:pointer;color:#fff;font-weight:700}#copyBt{box-sizing:border-box;height:20px;width:31%;border:1px solid #34495e}#sidebarExpandButton{height:24px;width:24px;box-sizing:border-box;top:10px;color:#000;float:right;position:absolute;right:0;border:1px solid #000;text-align:center;font-size:1.5em;cursor:pointer}.dropdownMenuClass{height:20px;float:right;border:1px solid #34495e;background-color:#34495e;color:#fff;text-align:left;width:auto}#typeEditForm_datatype{padding-top:5px}#typeEditor,#typeEditor_datatype{width:165px}#leftSideBarCollapseButton{box-sizing:border-box;top:50px;color:#000;position:absolute;left:200px;border:1px solid #000;cursor:pointer;width:24px;height:24px;font-size:1.5em;text-align:center}#leftSideBarCollapseButton:hover,#sidebarExpandButton:hover{background-color:#d90}.spanForCharSelection{padding-left:25px}.nodeEditSpan{color:#000;background-color:#fff;text-align:center;border:none;padding-top:6px}.nodeEditSpan:focus{outline:none;border:none}.foreignelements{border:none}.foreignelements:focus{outline:none;border:none}#leftSideBarContent{color:#000;float:left;position:absolute;left:0;background-color:#18202a;width:100%;height:100%}#leftSideBarContent>h3{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0 0 5px;padding:10px 0;text-align:left}#generalDetailsEdit{color:#ecf0f1}#generalDetailsEdit>div{padding:5px}#generalDetailsEdit>h3{font-size:1.1em;margin:0 0 5px;padding:10px 0}#generalDetailsEdit>h3,.subAccordion{color:#ecf0f1;display:block;font-weight:100;text-align:left}.subAccordion{font-size:.8em;margin:0;padding:5px}.boxed,.subAccordionDescription{padding:0 5px}.separatorLineRight{border-right:1px solid red}.editPrefixButton:hover{color:#ff972d;cursor:pointer}.editPrefixIcon:hover{stroke:#ff972d;stroke-width:1px;cursor:pointer}.editPrefixIcon{stroke:#fffff;stroke-width:1px;cursor:pointer}.deletePrefixButton:hover{color:#ff972d;cursor:pointer}.deletePrefixButton{color:red;cursor:pointer}.invisiblePrefixButton{cursor:default;color:#18202a}#containerForAddPrefixButton{width:100%;margin-top:5px}.roundedButton{border:1px solid #000;border-radius:20px;padding:0 5px;background:#fff;cursor:pointer;color:#000;outline:none}.roundedButton:hover{background:#318638;cursor:pointer;color:#fff;outline:none}#prefixURL_Description{padding:5px 0 0}.prefixIRIElements{display:inline-block;padding:3px;border-bottom:1px solid #34495e;width:100%}.prefixInput{width:30px;display:inline-block;margin-right:5px}.prefixURL{width:100px;display:inline-block;paddig-left:5px}.selectedDefaultElement{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;max-width:200px}#editHeader,#leftHeader{color:#ecf0f1;background-color:#394f5a;display:block;font-size:1.1em;font-weight:100;text-align:center}#leftHeader{padding:10px 0;margin:0}.containerForDefaultSelection{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 20px;text-align:left}.defaultSelected{color:#a15d05;background-color:#283943}.containerForDefaultSelection:hover{color:#f19505;background-color:#394f5a;display:block;cursor:pointer}#containerForLeftSideBar{top:50px;float:left;position:absolute;background-color:#1b252e;left:0;width:200px;height:200px;overflow-y:auto;overflow-x:hidden}#leftSideBar{width:100%;background-color:#18202a}#loading-info{box-sizing:border-box;position:absolute;text-align:center;width:100%;height:80%;top:0}#loading-info>div{display:inline-block;color:#fff;background-color:#18202a;border-bottom-left-radius:2px;border-bottom-right-radius:2px}#loading-info>*>*{padding:5px}#loading-info{pointer-events:none}#loading-progress{pointer-events:auto;min-width:220px;border-radius:10px}#show-loadingInfo-button{font-size:12px;color:#fff;cursor:pointer;text-align:center}#loadingIndicator_closeButton:hover{color:#ff972d;cursor:pointer}#loadingIndicator_closeButton{color:#ffe30f;cursor:pointer;padding-bottom:5px;float:right}.busyProgressBar{background-color:#000;height:25px;position:relative;animation:busy 2s linear infinite}@-webkit-keyframes busy{0%{left:0}50%{left:80%}to{left:0}}#bulletPoint_container{padding-left:15px;margin-top:0;margin-bottom:0}#bulletPoint_container>div{margin-left:-15px}#loadingInfo-container{box-sizing:border-box;text-align:left;line-height:1.2;padding-top:5px;overflow:auto;height:120px;min-height:40px;background-color:#3c3c3c}#error-description-button{margin:5px 0 0;font-size:12px;color:#69c;cursor:pointer;text-align:center}#error-description-container{box-sizing:border-box;text-align:left}#error-description-container pre{background-color:#34495e;padding:2px;margin:0;white-space:pre-wrap;max-height:calc(100vh - 125px);max-width:75vw;overflow:auto}.spin{display:inline-block;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.truncate{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.color-mode-switch{float:right;width:90px;cursor:pointer;height:20px;padding:0;border:0;color:#555;background-color:#eceeef;box-shadow:0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.color-mode-switch:focus{outline-width:0}.color-mode-switch.active{color:#fff;background-color:#32cd32;box-shadow:inset 0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.filterMenuButtonHighlight{background-color:#d90}@-webkit-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-moz-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-o-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}.buttonPulse{-webkit-animation-name:buttonAnimation;-moz-animation-name:buttonAnimation;-o-animation-name:buttonAnimation;animation-name:buttonAnimation;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s;-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}#m_about{max-width:200px;width:200px;position:absolute}#m_modes{max-width:160px;width:160px;position:absolute}#m_filter{max-width:170px;width:170px;position:absolute}#m_gravity{max-width:180px;width:180px;position:absolute}#m_export{max-width:160px;width:160px;position:absolute}#exportedUrl{width:100px}#m_select{max-width:300px;width:300px;position:absolute}#m_config{max-width:240px;width:240px;position:absolute}#m_search{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#swipeBarContainer{position:fixed;width:77.8%;height:40px;margin:0;padding:0;bottom:0}#menuElementContainer{margin:0;padding:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;text-align:right;list-style-type:none}#menuElementContainer>li{display:inline-block;box-sizing:border-box;text-align:left;position:relative;height:40px;font-size:14px;color:#fff;padding:12px 0 0;margin-left:-4px}#menuElementContainer>li>a{color:#fff;padding:9px 12px 12px 30px}.menuElementSvgElement{height:20px;width:20px;display:block;position:absolute;top:10px;left:8px}.btn_shadowed{background-color:#fefefe;box-shadow:1px 1px 1px gray}.reloadCachedOntologyIcon{height:20px;width:108px;display:block;position:absolute;top:20px;left:3px;border:1px solid #000;border-radius:10px;cursor:pointer}.reloadCachedOntologyIcon:disabled{background:#f4f4f4;cursor:auto;border:1px solid #a9a9a9}.reloadCachedOntologyIcon:hover{background:#d90;cursor:pointer}.disabledReloadElement{cursor:auto;background:#f4f4f4;pointer-events:auto;border:1px solid #a9a9a9;color:#bbb}.disabledReloadElement:hover{cursor:auto;background:#eee;pointer-events:auto}#menuElementContainer>li>input{color:#000;padding:.1em .3em .1em 1.5em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:120px}#menuElementContainer>li>a:hover{box-sizing:border-box;background:#1b252e;color:#bdc3c7}#empty:hover{box-sizing:border-box;background:#e1e1e1;color:#2980b9}#empty.disabled,.disabled{pointer-events:none;cursor:default;color:#979797}.toolTipMenu{-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;background-color:#fff;border:1px solid rgba(0,0,0,.15);border-bottom:none;border-radius:4px 4px 0 0;bottom:0;display:none;font-size:14px;list-style:none;margin:0;padding:0;white-space:normal;position:absolute;z-index:99}.toolTipMenu>li:first-of-type{border:none}.toolTipMenu a{color:#2980b9}.toolTipMenu>li{border-top:1px solid #bdc3c7}.toolTipMenu li{color:#2980b9;display:block}#menuElementContainer>li:hover .toolTipMenu{display:block}#menuElementContainer li>ul.toolTipMenu li a:hover{background:#e1e1e1}#scrollLeftButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;left:0}#scrollLeftButton:focus{outline:none}#scrollLeftButton:before{content:"<"}#scrollRightButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;right:0}#scrollRightButton:focus{outline:none}#scrollLeftButton:hover,#scrollRightButton:hover{color:#bdc3c7}#scrollRightButton:before{content:">"}#centerGraphButton,#zoomInButton,#zoomOutButton{border:1px solid #000;text-align:center;margin:-1px 0 0;font-size:1.5em;padding:0;height:28px}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#zoomOutButton{line-height:22px}#centerGraphButton,#zoomInButton{line-height:25px}#zoomSlider>p:hover{background-color:#d90}#zoomSliderParagraph{color:#000;padding-top:5px;margin:-1px 0 0;border:1px solid #000;height:150px}p#zoomSliderParagraph:hover{background-color:#fff}#zoomSlider{width:28px;margin-top:-2px;padding:0;font-size:1.5em;cursor:pointer;position:absolute;right:20px;bottom:20px;color:#000;box-sizing:border-box}#menuElementContainer>li>a:before{font-size:1em;margin:0;padding:0 6px 0 0}#menuElementContainer a.highlighted{background-color:#d90} + /*!*padding: 0 0.2em;*!*/.inner-addon{position:relative}.gearIcon,.searchIcon{position:absolute;width:17px;height:17px;pointer-events:none}.gearIcon{left:-5px} + /*!*padding: 0 0.2em;*!*/ + /*!*color: black;*!*/ + /*!*content: "\2315";*!*/ + /*!*content: "\2315" or "\1F50D"*!;*/li#c_search{padding:0 5px;margin-left:5px;height:20px}li#c_locate{padding:0}#c_locate>a{font-size:2em;padding:0}a#pause-button{padding:12px}a#pause-button.paused:before{content:"\25BA"}a#pause-button.paused:hover{background-color:#d90;color:#fff}a#pause-button:not(.paused):before{content:"II"}.toolTipMenu li:hover{background-color:#e1e1e1}#emptyLiHover,#emptyLiHover:hover{background-color:#fff}.toggleOption li:hover{background-color:#e1e1e1}.toggleOption{padding:8px 5px}#converter-option:hover{background-color:#fff}.option,.toolTipMenu li a:only-child{display:block;float:none;padding:8px 5px}.customLocate{padding:0;background-color:#32cd32}a#locateSearchResult{padding-top:50px}#zoomSliderElement{color:#000;position:relative;padding-top:0;width:155px;height:24px;background-color:transparent;-webkit-transform-origin-x:73px;-webkit-transform-origin-y:73px;-webkit-transform:rotate(-90deg);-moz-transform-origin:73px 73px;transform:rotate(-90deg);transform-origin:73px 73px;-webkit-appearance:none;outline:none;margin:4px 0}#zoomSliderElement::-webkit-scrollbar{height:0}#zoomSliderElement:hover{cursor:crosshair}#zoomSliderElement::-webkit-slider-runnable-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-moz-range-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-webkit-slider-thumb{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#fff;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb{background:#fff}#zoomSliderElement::-ms-thumb,#zoomSliderElement::-ms-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb:hover{background:#d90}#zoomSliderElement::-webkit-slider-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#d90;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-moz-range-thumb,#zoomSliderElement::-moz-range-thumb:hover{border:1px solid #000;height:10px;width:30px;border-radius:3px;cursor:pointer;outline:none}#zoomSliderElement::-moz-range-thumb:hover{background:#d90}#zoomSliderElement::-moz-focus-outer{border:0}#locateSearchResult:focus{outline:none}a#locateSearchResult.highlighted:hover{background-color:#d90;color:red}a#locateSearchResult{outline:none;padding-bottom:0;padding-top:0;position:relative;top:5px}#editorHint{padding:5px;position:absolute;text-align:center;width:100%;pointer-events:none}#editorHint label{pointer-events:auto;float:right;padding:5px;color:#fd0}#editorHint label:hover{text-decoration:underline;cursor:pointer}#editorHint>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:5px}#WarningErrorMessagesContainer{position:absolute;text-align:center;top:0;pointer-events:none}#WarningErrorMessages{position:relative;width:50%;pointer-events:auto;margin:10px 0;padding-right:12px;overflow-y:auto;overflow-x:hidden}#WarningErrorMessages label{color:#fd0}#WarningErrorMessages label,#WarningErrorMessages span{pointer-events:auto;float:right;padding:5px}#WarningErrorMessages label:hover{text-decoration:underline;cursor:pointer}#WarningErrorMessages>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:10px;border:1px solid #ecf0f1;width:70%}#WarningErrorMessagesContent>ul{-webkit-padding-start:20px;padding:0 16px}#WarningErrorMessagesContent>ul>li{padding:5px}.textLineEditWithLabel{display:inline-block;width:100%;border-bottom:1px solid #34495e;padding:2px 0}.converter-form-Editor label{line-height:normal}.descriptionTextClass,.prefixIRIElements input{background-color:#34495e;color:#fff}.prefixIRIElements input{border:1px solid #34495e}.prefixIRIElements input:disabled{background-color:#18202a;border:1px solid #18202a;color:#fff}.converter-form-Editor input{float:right;border:1px solid #34495e;background-color:#34495e;color:#fff}.converter-form-Editor input:disabled{background-color:#545350;border:1px solid #34495e;color:#939798}.disabledLabelForSlider{color:gray} \ No newline at end of file diff --git a/dist/ontology/0.5.1/webvowl/css/webvowl.css b/dist/ontology/0.5.1/webvowl/css/webvowl.css new file mode 100644 index 0000000..335ea85 --- /dev/null +++ b/dist/ontology/0.5.1/webvowl/css/webvowl.css @@ -0,0 +1 @@ +.text{font-family:Helvetica,Arial,sans-serif;font-size:12px}.subtext{font-size:9px}.text.instance-count{fill:#666}.external+text .instance-count{fill:#aaa}.cardinality{font-size:10px}.embedded,.text{pointer-events:none}.allvaluesfromproperty,.class,.disjoint,.disjointwith,.equivalentproperty,.functionalproperty,.inversefunctionalproperty,.object,.objectproperty,.somevaluesfromproperty,.symmetricproperty,.transitiveproperty{fill:#acf}.datatypeproperty,.label .datatype{fill:#9c6}.rdf,.rdfproperty{fill:#c9c}.literal,.node .datatype{fill:#fc3}.deprecated,.deprecatedproperty{fill:#ccc}.nofill,path{fill:none}marker path{fill:#000}.class,.fineline,line,path{stroke:#000}.external+text,.subclass,.subclassproperty,.white{fill:#fff}.cardinality.focused,.cardinality.hovered,.class.hovered,.filled.focused,.filled.hovered,.hoveredForEditing,.property.hovered,.values-from.filled.hovered{fill:red!important;cursor:pointer}.feature{fill:red;cursor:pointer}@-webkit-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-moz-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-o-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}.searchResultA{-webkit-animation-name:pulseAnimation;-moz-animation-name:pulseAnimation;-o-animation-name:pulseAnimation;animation-name:pulseAnimation;-webkit-animation-duration:.8s;-moz-animation-duration:.8s;-o-animation-duration:.8s;animation-duration:.8s;-webkit-transform:translateZ(0);-o-transform:translateZ(0);-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}.searchResultA,.searchResultB{fill:none;stroke-width:5;stroke:red}.hovered-MathSymbol{fill:none}.focused,.hovered-MathSymbol,path.hovered{stroke:red!important}.feature:hover,.feature_hover,.indirect-highlighting{fill:#f90;cursor:pointer}.values-from{stroke:#69c}.symbol,.values-from.filled{fill:#69c}.class,line,path{stroke-width:2}.fineline{stroke-width:1}.anonymous,.dashed{stroke-dasharray:8}.dotted{stroke-dasharray:3}circle.focused,rect.focused{stroke-width:4px}.nostroke{stroke:none}.addDataPropertyElement{fill:#9c6!important;cursor:pointer;stroke-width:2;stroke:#000}.addDataPropertyElement:hover{fill:#f90!important;cursor:pointer;stroke-width:2;stroke:#000}.superHiddenElement{fill:rgba(255,153,0,.4);cursor:pointer;stroke-width:0;stroke:#000}.superOpacityElement{opacity:0}.deleteParentElement:hover{fill:#f90;cursor:pointer;stroke-width:2;stroke:#000}.deleteParentElement{fill:red;cursor:pointer;stroke-width:2;stroke:#000}.classDraggerNodeHovered,.classNodeDragPath{stroke:#000;stroke-width:2px}.classDraggerNodeHovered{fill:#f90;cursor:pointer}.classDraggerNode{fill:#acf;stroke:#000;stroke-width:2px}marker path{stroke-dasharray:100} \ No newline at end of file diff --git a/dist/ontology/0.5.1/webvowl/data/foaf.json b/dist/ontology/0.5.1/webvowl/data/foaf.json new file mode 100644 index 0000000..beaaffc --- /dev/null +++ b/dist/ontology/0.5.1/webvowl/data/foaf.json @@ -0,0 +1,2894 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.6), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "undefined" ], + "baseIris" : [ "http://schema.org", "http://www.w3.org/2000/01/rdf-schema", "http://www.w3.org/2003/01/geo/wgs84_pos", "http://purl.org/dc/terms", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "http://www.w3.org/2000/10/swap/pim/contact", "http://www.w3.org/2004/02/skos/core" ], + "prefixList" : { + "owl" : "http://www.w3.org/2002/07/owl#", + "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "wot" : "http://xmlns.com/wot/0.1/", + "xsd" : "http://www.w3.org/2001/XMLSchema#", + "dc" : "http://purl.org/dc/elements/1.1/", + "xml" : "http://www.w3.org/XML/1998/namespace", + "vs" : "http://www.w3.org/2003/06/sw-vocab-status/ns#", + "foaf" : "http://xmlns.com/foaf/0.1/", + "rdfs" : "http://www.w3.org/2000/01/rdf-schema#" + }, + "title" : { + "undefined" : "Friend of a Friend (FOAF) vocabulary" + }, + "iri" : "http://xmlns.com/foaf/0.1/", + "description" : { + "undefined" : "The Friend of a Friend (FOAF) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language." + }, + "other" : { + "title" : [ { + "identifier" : "title", + "language" : "undefined", + "value" : "Friend of a Friend (FOAF) vocabulary", + "type" : "label" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "3", + "type" : "owl:Thing" + }, { + "id" : "9", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:equivalentClass" + }, { + "id" : "18", + "type" : "owl:Thing" + }, { + "id" : "19", + "type" : "owl:Thing" + }, { + "id" : "5", + "type" : "owl:Thing" + }, { + "id" : "20", + "type" : "rdfs:Literal" + }, { + "id" : "8", + "type" : "rdfs:Literal" + }, { + "id" : "11", + "type" : "owl:Class" + }, { + "id" : "21", + "type" : "owl:Thing" + }, { + "id" : "22", + "type" : "rdfs:Literal" + }, { + "id" : "24", + "type" : "rdfs:Literal" + }, { + "id" : "26", + "type" : "rdfs:Literal" + }, { + "id" : "27", + "type" : "rdfs:Literal" + }, { + "id" : "37", + "type" : "owl:equivalentClass" + }, { + "id" : "45", + "type" : "rdfs:Literal" + }, { + "id" : "46", + "type" : "rdfs:Literal" + }, { + "id" : "53", + "type" : "rdfs:Literal" + }, { + "id" : "56", + "type" : "rdfs:Literal" + }, { + "id" : "59", + "type" : "rdfs:Literal" + }, { + "id" : "60", + "type" : "owl:Class" + }, { + "id" : "61", + "type" : "rdfs:Literal" + }, { + "id" : "6", + "type" : "rdfs:Literal" + }, { + "id" : "62", + "type" : "rdfs:Literal" + }, { + "id" : "12", + "type" : "owl:equivalentClass" + }, { + "id" : "55", + "type" : "rdfs:Literal" + }, { + "id" : "69", + "type" : "rdfs:Literal" + }, { + "id" : "71", + "type" : "owl:Class" + }, { + "id" : "36", + "type" : "owl:Class" + }, { + "id" : "86", + "type" : "owl:Class" + }, { + "id" : "83", + "type" : "owl:Class" + }, { + "id" : "94", + "type" : "owl:Class" + }, { + "id" : "73", + "type" : "rdfs:Literal" + }, { + "id" : "68", + "type" : "rdfs:Literal" + }, { + "id" : "93", + "type" : "rdfs:Literal" + }, { + "id" : "33", + "type" : "owl:Thing" + }, { + "id" : "49", + "type" : "rdfs:Literal" + }, { + "id" : "29", + "type" : "owl:Thing" + }, { + "id" : "101", + "type" : "rdfs:Literal" + }, { + "id" : "39", + "type" : "owl:Thing" + }, { + "id" : "63", + "type" : "owl:equivalentClass" + }, { + "id" : "64", + "type" : "owl:equivalentClass" + }, { + "id" : "102", + "type" : "owl:equivalentClass" + }, { + "id" : "78", + "type" : "owl:Class" + }, { + "id" : "77", + "type" : "owl:Class" + }, { + "id" : "13", + "type" : "owl:equivalentClass" + }, { + "id" : "58", + "type" : "rdfs:Literal" + }, { + "id" : "100", + "type" : "rdfs:Literal" + }, { + "id" : "106", + "type" : "rdfs:Literal" + }, { + "id" : "52", + "type" : "rdfs:Literal" + }, { + "id" : "88", + "type" : "rdfs:Literal" + }, { + "id" : "118", + "type" : "rdfs:Literal" + }, { + "id" : "126", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:equivalentClass" + }, { + "id" : "32", + "type" : "owl:equivalentClass" + }, { + "id" : "10", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "3", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2004/02/skos/core#Concept", + "baseIri" : "http://www.w3.org/2004/02/skos/core", + "instances" : 0, + "label" : { + "IRI-based" : "Concept", + "undefined" : "Concept" + }, + "attributes" : [ "external" ], + "id" : "9" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Agent", + "equivalent" : [ "13" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Agent", + "undefined" : "Agent" + }, + "subClasses" : [ "10", "11", "12" ], + "comment" : { + "undefined" : "An agent (eg. person, group, software or physical artifact)." + }, + "attributes" : [ "equivalent" ], + "id" : "1" + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "18", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "19", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "5", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "20", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "8", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Organization", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Organization", + "undefined" : "Organization" + }, + "comment" : { + "undefined" : "An organization." + }, + "id" : "11", + "superClasses" : [ "1" ] + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "21", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "22", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "24", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "26", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "27", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://schema.org/CreativeWork", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "CreativeWork" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "37" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "45", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "46", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "53", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "56", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "59", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Project", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Project", + "undefined" : "Project" + }, + "comment" : { + "undefined" : "A project (a collective endeavour of some kind)." + }, + "id" : "60" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "61", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "6", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "62", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "equivalent" : [ "63", "64" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Person", + "undefined" : "Person" + }, + "comment" : { + "undefined" : "A person." + }, + "attributes" : [ "equivalent" ], + "id" : "12", + "superClasses" : [ "1", "36" ] + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "55", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "69", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/PersonalProfileDocument", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "PersonalProfileDocument", + "undefined" : "PersonalProfileDocument" + }, + "comment" : { + "undefined" : "A personal profile RDF document." + }, + "id" : "71", + "superClasses" : [ "2" ] + }, { + "iri" : "http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing", + "baseIri" : "http://www.w3.org/2003/01/geo/wgs84_pos", + "instances" : 0, + "label" : { + "IRI-based" : "SpatialThing", + "undefined" : "Spatial Thing" + }, + "subClasses" : [ "12" ], + "attributes" : [ "external" ], + "id" : "36" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineChatAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineChatAccount", + "undefined" : "Online Chat Account" + }, + "comment" : { + "undefined" : "An online chat account." + }, + "id" : "86", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineGamingAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineGamingAccount", + "undefined" : "Online Gaming Account" + }, + "comment" : { + "undefined" : "An online gaming account." + }, + "id" : "83", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/LabelProperty", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "LabelProperty", + "undefined" : "Label Property" + }, + "comment" : { + "undefined" : "A foaf:LabelProperty is any RDF property with texual values that serve as labels." + }, + "id" : "94" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "73", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "68", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "93", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "33", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "49", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "29", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "101", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "39", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/10/swap/pim/contact#Person", + "baseIri" : "http://www.w3.org/2000/10/swap/pim/contact", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "63" + }, { + "iri" : "http://schema.org/Person", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "64" + }, { + "iri" : "http://schema.org/ImageObject", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "ImageObject" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "102" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineAccount", + "undefined" : "Online Account" + }, + "subClasses" : [ "77", "86", "83" ], + "comment" : { + "undefined" : "An online account." + }, + "id" : "78" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineEcommerceAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineEcommerceAccount", + "undefined" : "Online E-commerce Account" + }, + "comment" : { + "undefined" : "An online e-commerce account." + }, + "id" : "77", + "superClasses" : [ "78" ] + }, { + "iri" : "http://purl.org/dc/terms/Agent", + "baseIri" : "http://purl.org/dc/terms", + "instances" : 0, + "label" : { + "IRI-based" : "Agent" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "13" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "58", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "100", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "106", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "52", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "88", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "118", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Class", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "instances" : 0, + "label" : { + "IRI-based" : "Class" + }, + "attributes" : [ "external" ], + "id" : "126" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Document", + "equivalent" : [ "37" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Document", + "undefined" : "Document" + }, + "subClasses" : [ "71", "32" ], + "comment" : { + "undefined" : "A document." + }, + "attributes" : [ "equivalent" ], + "id" : "2" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Image", + "equivalent" : [ "102" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Image", + "undefined" : "Image" + }, + "comment" : { + "undefined" : "An image." + }, + "attributes" : [ "equivalent" ], + "id" : "32", + "superClasses" : [ "2" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/Group", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Group", + "undefined" : "Group" + }, + "comment" : { + "undefined" : "A class of Agents." + }, + "id" : "10", + "superClasses" : [ "1" ] + } ], + "property" : [ { + "id" : "0", + "type" : "owl:objectProperty" + }, { + "id" : "4", + "type" : "owl:datatypeProperty" + }, { + "id" : "7", + "type" : "owl:datatypeProperty" + }, { + "id" : "14", + "type" : "owl:objectProperty" + }, { + "id" : "16", + "type" : "owl:objectProperty" + }, { + "id" : "17", + "type" : "owl:objectProperty" + }, { + "id" : "23", + "type" : "owl:objectProperty" + }, { + "id" : "25", + "type" : "owl:objectProperty" + }, { + "id" : "28", + "type" : "owl:objectProperty" + }, { + "id" : "30", + "type" : "owl:objectProperty" + }, { + "id" : "31", + "type" : "owl:objectProperty" + }, { + "id" : "35", + "type" : "owl:objectProperty" + }, { + "id" : "38", + "type" : "owl:objectProperty" + }, { + "id" : "44", + "type" : "owl:datatypeProperty" + }, { + "id" : "47", + "type" : "owl:objectProperty" + }, { + "id" : "48", + "type" : "owl:datatypeProperty" + }, { + "id" : "50", + "type" : "owl:objectProperty" + }, { + "id" : "51", + "type" : "owl:datatypeProperty" + }, { + "id" : "54", + "type" : "owl:datatypeProperty" + }, { + "id" : "57", + "type" : "owl:datatypeProperty" + }, { + "id" : "65", + "type" : "owl:datatypeProperty" + }, { + "id" : "66", + "type" : "owl:datatypeProperty" + }, { + "id" : "67", + "type" : "owl:datatypeProperty" + }, { + "id" : "70", + "type" : "owl:datatypeProperty" + }, { + "id" : "72", + "type" : "owl:datatypeProperty" + }, { + "id" : "15", + "type" : "owl:objectProperty" + }, { + "id" : "74", + "type" : "rdfs:SubClassOf" + }, { + "id" : "75", + "type" : "rdfs:SubClassOf" + }, { + "id" : "76", + "type" : "rdfs:SubClassOf" + }, { + "id" : "79", + "type" : "rdfs:SubClassOf" + }, { + "id" : "80", + "type" : "owl:objectProperty" + }, { + "id" : "81", + "type" : "owl:objectProperty" + }, { + "id" : "82", + "type" : "rdfs:SubClassOf" + }, { + "id" : "34", + "type" : "owl:objectProperty" + }, { + "id" : "85", + "type" : "rdfs:SubClassOf" + }, { + "id" : "87", + "type" : "owl:datatypeProperty" + }, { + "id" : "89", + "type" : "rdfs:SubClassOf" + }, { + "id" : "90", + "type" : "rdfs:SubClassOf" + }, { + "id" : "91", + "type" : "owl:objectProperty" + }, { + "id" : "92", + "type" : "owl:datatypeProperty" + }, { + "id" : "95", + "type" : "owl:datatypeProperty" + }, { + "id" : "96", + "type" : "owl:objectProperty" + }, { + "id" : "97", + "type" : "owl:datatypeProperty" + }, { + "id" : "98", + "type" : "rdfs:SubClassOf" + }, { + "id" : "99", + "type" : "owl:datatypeProperty" + }, { + "id" : "43", + "type" : "owl:objectProperty" + }, { + "id" : "42", + "type" : "owl:objectProperty" + }, { + "id" : "103", + "type" : "owl:datatypeProperty" + }, { + "id" : "104", + "type" : "owl:objectProperty" + }, { + "id" : "105", + "type" : "owl:datatypeProperty" + }, { + "id" : "107", + "type" : "owl:objectProperty" + }, { + "id" : "108", + "type" : "owl:datatypeProperty" + }, { + "id" : "109", + "type" : "owl:objectProperty" + }, { + "id" : "110", + "type" : "owl:objectProperty" + }, { + "id" : "40", + "type" : "owl:objectProperty" + }, { + "id" : "41", + "type" : "owl:objectProperty" + }, { + "id" : "84", + "type" : "owl:objectProperty" + }, { + "id" : "111", + "type" : "owl:datatypeProperty" + }, { + "id" : "112", + "type" : "owl:datatypeProperty" + }, { + "id" : "113", + "type" : "owl:datatypeProperty" + }, { + "id" : "114", + "type" : "owl:objectProperty" + }, { + "id" : "116", + "type" : "owl:disjointWith" + }, { + "id" : "117", + "type" : "owl:disjointWith" + }, { + "id" : "119", + "type" : "owl:datatypeProperty" + }, { + "id" : "120", + "type" : "owl:disjointWith" + }, { + "id" : "121", + "type" : "owl:disjointWith" + }, { + "id" : "122", + "type" : "owl:objectProperty" + }, { + "id" : "123", + "type" : "owl:datatypeProperty" + }, { + "id" : "124", + "type" : "owl:objectProperty" + }, { + "id" : "125", + "type" : "owl:datatypeProperty" + }, { + "id" : "127", + "type" : "owl:datatypeProperty" + }, { + "id" : "115", + "type" : "owl:objectProperty" + }, { + "id" : "128", + "type" : "owl:objectProperty" + }, { + "id" : "129", + "type" : "owl:objectProperty" + } ], + "propertyAttribute" : [ { + "iri" : "http://xmlns.com/foaf/0.1/interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "interest", + "undefined" : "interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A page about a topic of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "0" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox_sha1sum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "6", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox_sha1sum", + "undefined" : "sha1sum of a personal mailbox URI name" + }, + "domain" : "5", + "comment" : { + "undefined" : "The sha1sum of the URI of an Internet mailbox associated with exactly one owner, the first owner of the mailbox." + }, + "attributes" : [ "datatype" ], + "id" : "4" + }, { + "iri" : "http://xmlns.com/foaf/0.1/nick", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "8", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "nick", + "undefined" : "nickname" + }, + "domain" : "5", + "comment" : { + "undefined" : "A short informal nickname characterising an agent (includes login identifiers, IRC and other chat nicknames)." + }, + "attributes" : [ "datatype" ], + "id" : "7" + }, { + "iri" : "http://xmlns.com/foaf/0.1/openid", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "openid", + "undefined" : "openid" + }, + "superproperty" : [ "15" ], + "domain" : "1", + "comment" : { + "undefined" : "An OpenID for an Agent." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "14" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workInfoHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workInfoHomepage", + "undefined" : "work info homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A work info homepage of some person; a page about their work for some organization." + }, + "attributes" : [ "object" ], + "id" : "16" + }, { + "iri" : "http://xmlns.com/foaf/0.1/pastProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "pastProject", + "undefined" : "past project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A project this person has previously worked on." + }, + "attributes" : [ "object" ], + "id" : "17" + }, { + "iri" : "http://xmlns.com/foaf/0.1/theme", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "theme", + "undefined" : "theme" + }, + "domain" : "19", + "comment" : { + "undefined" : "A theme." + }, + "attributes" : [ "object" ], + "id" : "23" + }, { + "iri" : "http://xmlns.com/foaf/0.1/knows", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "12", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "knows", + "undefined" : "knows" + }, + "domain" : "12", + "comment" : { + "undefined" : "A person known by this person (indicating some level of reciprocated interaction between the parties)." + }, + "attributes" : [ "object" ], + "id" : "25" + }, { + "iri" : "http://xmlns.com/foaf/0.1/focus", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "29", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "focus", + "undefined" : "focus" + }, + "domain" : "9", + "comment" : { + "undefined" : "The underlying or 'focal' entity associated with some SKOS-described concept." + }, + "attributes" : [ "object" ], + "id" : "28" + }, { + "iri" : "http://xmlns.com/foaf/0.1/phone", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "phone", + "undefined" : "phone" + }, + "domain" : "19", + "comment" : { + "undefined" : "A phone, specified using fully qualified tel: URI scheme (refs: http://www.w3.org/Addressing/schemes.html#tel)." + }, + "attributes" : [ "object" ], + "id" : "30" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depicts", + "inverse" : "34", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "33", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depicts", + "undefined" : "depicts" + }, + "domain" : "32", + "comment" : { + "undefined" : "A thing depicted in this representation." + }, + "attributes" : [ "object" ], + "id" : "31" + }, { + "iri" : "http://xmlns.com/foaf/0.1/based_near", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "36", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "based_near", + "undefined" : "based near" + }, + "domain" : "36", + "comment" : { + "undefined" : "A location that something is based near, for some broadly human notion of near." + }, + "attributes" : [ "object" ], + "id" : "35" + }, { + "iri" : "http://xmlns.com/foaf/0.1/page", + "inverse" : "40", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "page", + "undefined" : "page" + }, + "domain" : "39", + "subproperty" : [ "15", "41", "42", "43" ], + "comment" : { + "undefined" : "A page or document about this thing." + }, + "attributes" : [ "object" ], + "id" : "38" + }, { + "iri" : "http://xmlns.com/foaf/0.1/geekcode", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "26", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "geekcode", + "undefined" : "geekcode" + }, + "domain" : "12", + "comment" : { + "undefined" : "A textual geekcode for this person, see http://www.geekcode.com/geek.html" + }, + "attributes" : [ "datatype" ], + "id" : "44" + }, { + "iri" : "http://xmlns.com/foaf/0.1/primaryTopic", + "inverse" : "15", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "primaryTopic", + "undefined" : "primary topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "The primary topic of some page or document." + }, + "attributes" : [ "object", "functional" ], + "id" : "47" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "49", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenName", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "48" + }, { + "iri" : "http://xmlns.com/foaf/0.1/schoolHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "schoolHomepage", + "undefined" : "schoolHomepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A homepage of a school attended by the person." + }, + "attributes" : [ "object" ], + "id" : "50" + }, { + "iri" : "http://xmlns.com/foaf/0.1/gender", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "52", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "gender", + "undefined" : "gender" + }, + "domain" : "1", + "comment" : { + "undefined" : "The gender of this Agent (typically but not necessarily 'male' or 'female')." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "51" + }, { + "iri" : "http://xmlns.com/foaf/0.1/dnaChecksum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "55", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "dnaChecksum", + "undefined" : "DNA checksum" + }, + "domain" : "19", + "comment" : { + "undefined" : "A checksum for the DNA of some thing. Joke." + }, + "attributes" : [ "datatype" ], + "id" : "54" + }, { + "iri" : "http://xmlns.com/foaf/0.1/lastName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "58", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "lastName", + "undefined" : "lastName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The last name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "57" + }, { + "iri" : "http://xmlns.com/foaf/0.1/status", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "45", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "status", + "undefined" : "status" + }, + "domain" : "1", + "comment" : { + "undefined" : "A string expressing what the user is happy for the general public (normally) to know about their current activity." + }, + "attributes" : [ "datatype" ], + "id" : "65" + }, { + "iri" : "http://xmlns.com/foaf/0.1/yahooChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "46", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "yahooChatID", + "undefined" : "Yahoo chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A Yahoo chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "66" + }, { + "iri" : "http://xmlns.com/foaf/0.1/name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "68", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "name", + "undefined" : "name" + }, + "domain" : "19", + "comment" : { + "undefined" : "A name for some thing." + }, + "attributes" : [ "datatype" ], + "id" : "67" + }, { + "iri" : "http://xmlns.com/foaf/0.1/icqChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "53", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "icqChatID", + "undefined" : "ICQ chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An ICQ chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "70" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "73", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenname", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "72" + }, { + "iri" : "http://xmlns.com/foaf/0.1/isPrimaryTopicOf", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "isPrimaryTopicOf", + "undefined" : "is primary topic of" + }, + "superproperty" : [ "38" ], + "domain" : "39", + "subproperty" : [ "14", "43" ], + "comment" : { + "undefined" : "A document that this thing is the primary topic of." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "15" + }, { + "range" : "2", + "domain" : "32", + "attributes" : [ "anonymous", "object" ], + "id" : "74" + }, { + "range" : "2", + "domain" : "71", + "attributes" : [ "anonymous", "object" ], + "id" : "75" + }, { + "range" : "78", + "domain" : "77", + "attributes" : [ "anonymous", "object" ], + "id" : "76" + }, { + "range" : "36", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "79" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountServiceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountServiceHomepage", + "undefined" : "account service homepage" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates a homepage of the service provide for this online account." + }, + "attributes" : [ "object" ], + "id" : "80" + }, { + "iri" : "http://xmlns.com/foaf/0.1/logo", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "logo", + "undefined" : "logo" + }, + "domain" : "19", + "comment" : { + "undefined" : "A logo representing some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "81" + }, { + "range" : "78", + "domain" : "83", + "attributes" : [ "anonymous", "object" ], + "id" : "82" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depiction", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depiction", + "undefined" : "depiction" + }, + "domain" : "33", + "subproperty" : [ "84" ], + "comment" : { + "undefined" : "A depiction of some thing." + }, + "attributes" : [ "object" ], + "id" : "34" + }, { + "range" : "78", + "domain" : "86", + "attributes" : [ "anonymous", "object" ], + "id" : "85" + }, { + "iri" : "http://xmlns.com/foaf/0.1/family_name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "88", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "family_name", + "undefined" : "family_name" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "87" + }, { + "range" : "1", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "89" + }, { + "range" : "1", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "90" + }, { + "iri" : "http://xmlns.com/foaf/0.1/fundedBy", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "fundedBy", + "undefined" : "funded by" + }, + "domain" : "19", + "comment" : { + "undefined" : "An organization funding a project or person." + }, + "attributes" : [ "object" ], + "id" : "91" + }, { + "iri" : "http://xmlns.com/foaf/0.1/title", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "93", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "title", + "undefined" : "title" + }, + "domain" : "19", + "comment" : { + "undefined" : "Title (Mr, Mrs, Ms, Dr. etc)" + }, + "attributes" : [ "datatype" ], + "id" : "92" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "59", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountName", + "undefined" : "account name" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates the name (identifier) associated with this online account." + }, + "attributes" : [ "datatype" ], + "id" : "95" + }, { + "iri" : "http://xmlns.com/foaf/0.1/account", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "account", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "96" + }, { + "iri" : "http://xmlns.com/foaf/0.1/jabberID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "69", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "jabberID", + "undefined" : "jabber ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A jabber ID for something." + }, + "attributes" : [ "datatype" ], + "id" : "97" + }, { + "range" : "1", + "domain" : "10", + "attributes" : [ "anonymous", "object" ], + "id" : "98" + }, { + "iri" : "http://xmlns.com/foaf/0.1/age", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "100", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "age", + "undefined" : "age" + }, + "domain" : "1", + "comment" : { + "undefined" : "The age in years of some agent." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "99" + }, { + "iri" : "http://xmlns.com/foaf/0.1/homepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "homepage", + "undefined" : "homepage" + }, + "superproperty" : [ "15", "38" ], + "domain" : "39", + "comment" : { + "undefined" : "A homepage for some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "43" + }, { + "iri" : "http://xmlns.com/foaf/0.1/tipjar", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "tipjar", + "undefined" : "tipjar" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A tipjar document for this agent, describing means for payment and reward." + }, + "attributes" : [ "object" ], + "id" : "42" + }, { + "iri" : "http://xmlns.com/foaf/0.1/msnChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "61", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "msnChatID", + "undefined" : "MSN chat ID" + }, + "domain" : "5", + "comment" : { + "undefined" : "An MSN chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "103" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic_interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic_interest", + "undefined" : "topic_interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A thing of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "104" + }, { + "iri" : "http://xmlns.com/foaf/0.1/aimChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "106", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "aimChatID", + "undefined" : "AIM chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An AIM chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "105" + }, { + "iri" : "http://xmlns.com/foaf/0.1/currentProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "currentProject", + "undefined" : "current project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A current project this person works on." + }, + "attributes" : [ "object" ], + "id" : "107" + }, { + "iri" : "http://xmlns.com/foaf/0.1/skypeID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "20", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "skypeID", + "undefined" : "Skype ID" + }, + "domain" : "1", + "comment" : { + "undefined" : "A Skype ID" + }, + "attributes" : [ "datatype" ], + "id" : "108" + }, { + "iri" : "http://xmlns.com/foaf/0.1/holdsAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "holdsAccount", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "109" + }, { + "iri" : "http://xmlns.com/foaf/0.1/thumbnail", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "thumbnail", + "undefined" : "thumbnail" + }, + "domain" : "32", + "comment" : { + "undefined" : "A derived thumbnail image." + }, + "attributes" : [ "object" ], + "id" : "110" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic", + "undefined" : "topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "A topic of some page or document." + }, + "attributes" : [ "object" ], + "id" : "40" + }, { + "iri" : "http://xmlns.com/foaf/0.1/weblog", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "weblog", + "undefined" : "weblog" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A weblog of some thing (whether person, group, company etc.)." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "41" + }, { + "iri" : "http://xmlns.com/foaf/0.1/img", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "img", + "undefined" : "image" + }, + "superproperty" : [ "34" ], + "domain" : "12", + "comment" : { + "undefined" : "An image that can be used to represent some thing (ie. those depictions which are particularly representative of something, eg. one's photo on a homepage)." + }, + "attributes" : [ "object" ], + "id" : "84" + }, { + "iri" : "http://xmlns.com/foaf/0.1/birthday", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "56", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "birthday", + "undefined" : "birthday" + }, + "domain" : "1", + "comment" : { + "undefined" : "The birthday of this Agent, represented in mm-dd string form, eg. '12-31'." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "111" + }, { + "iri" : "http://xmlns.com/foaf/0.1/sha1", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "101", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "sha1", + "undefined" : "sha1sum (hex)" + }, + "domain" : "2", + "comment" : { + "undefined" : "A sha1sum hash, in hex." + }, + "attributes" : [ "datatype" ], + "id" : "112" + }, { + "iri" : "http://xmlns.com/foaf/0.1/firstName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "24", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "firstName", + "undefined" : "firstName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The first name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "113" + }, { + "iri" : "http://xmlns.com/foaf/0.1/made", + "inverse" : "115", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "made", + "undefined" : "made" + }, + "domain" : "1", + "comment" : { + "undefined" : "Something that was made by this agent." + }, + "attributes" : [ "object" ], + "id" : "114" + }, { + "range" : "60", + "domain" : "2", + "attributes" : [ "anonymous", "object" ], + "id" : "116" + }, { + "range" : "12", + "domain" : "60", + "attributes" : [ "anonymous", "object" ], + "id" : "117" + }, { + "iri" : "http://xmlns.com/foaf/0.1/familyName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "62", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "familyName", + "undefined" : "familyName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "119" + }, { + "range" : "2", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "120" + }, { + "range" : "12", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "121" + }, { + "iri" : "http://xmlns.com/foaf/0.1/member", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "member", + "undefined" : "member" + }, + "domain" : "10", + "comment" : { + "undefined" : "Indicates a member of a Group" + }, + "attributes" : [ "object" ], + "id" : "122" + }, { + "iri" : "http://xmlns.com/foaf/0.1/plan", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "27", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "plan", + "undefined" : "plan" + }, + "domain" : "12", + "comment" : { + "undefined" : "A .plan comment, in the tradition of finger and '.plan' files." + }, + "attributes" : [ "datatype" ], + "id" : "123" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox", + "undefined" : "personal mailbox" + }, + "domain" : "1", + "comment" : { + "undefined" : "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox. This is a 'static inverse functional property', in that there is (across time and change) at most one individual that ever has any particular value for foaf:mbox." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "124" + }, { + "iri" : "http://xmlns.com/foaf/0.1/surname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "118", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "surname", + "undefined" : "Surname" + }, + "domain" : "12", + "comment" : { + "undefined" : "The surname of some person." + }, + "attributes" : [ "datatype" ], + "id" : "125" + }, { + "iri" : "http://xmlns.com/foaf/0.1/myersBriggs", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "22", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "myersBriggs", + "undefined" : "myersBriggs" + }, + "domain" : "12", + "comment" : { + "undefined" : "A Myers Briggs (MBTI) personality classification." + }, + "attributes" : [ "datatype" ], + "id" : "127" + }, { + "iri" : "http://xmlns.com/foaf/0.1/maker", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "maker", + "undefined" : "maker" + }, + "domain" : "18", + "comment" : { + "undefined" : "An agent that made this thing." + }, + "attributes" : [ "object" ], + "id" : "115" + }, { + "iri" : "http://xmlns.com/foaf/0.1/publications", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "publications", + "undefined" : "publications" + }, + "domain" : "12", + "comment" : { + "undefined" : "A link to the publications of this person." + }, + "attributes" : [ "object" ], + "id" : "128" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workplaceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workplaceHomepage", + "undefined" : "workplace homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A workplace homepage of some person; the homepage of an organization they work for." + }, + "attributes" : [ "object" ], + "id" : "129" + } ] +} \ No newline at end of file diff --git a/dist/ontology/0.5.1/webvowl/data/ontology.json b/dist/ontology/0.5.1/webvowl/data/ontology.json new file mode 100644 index 0000000..b6317f8 --- /dev/null +++ b/dist/ontology/0.5.1/webvowl/data/ontology.json @@ -0,0 +1,964 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.5), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "en", "undefined" ], + "baseIris" : [ "http://www.w3.org/1999/02/22-rdf-syntax-ns", "http://purl.org/vocommons/voaf", "http://www.w3.org/2000/01/rdf-schema", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "https://w3id.org/function/ontology" ], + "title" : { + "en" : "The Function Ontology" + }, + "iri" : "https://w3id.org/function/ontology", + "version" : "0.5.1", + "author" : [ "https://data.verborgh.org/people/anastasia_dimou", "https://ben.de-meester.org/#me" ], + "description" : { + "en" : "The Function Ontology allows to declare and describe functions. The specification is online at https://w3id.org/function/spec" + }, + "labels" : { + "en" : "The Function Ontology" + }, + "comments" : { + "en" : "-Version 0.5.1: fno:type a ObjectProperty\r\n-Version 0.5.0: added Mapping and Implementation classes.\r\n-Version 0.4.1: wrong range definition, updated descriptions.\r\n-Version 0.4: added some properties\r\n-Version 0.3: improved comments.\r\n-Version 0.2: added extra metadata.\r\n-Version 0.1: creation." + }, + "other" : { + "priorVersion" : [ { + "identifier" : "priorVersion", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology/0.5.0", + "type" : "label" + } ], + "creator" : [ { + "identifier" : "creator", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + }, { + "identifier" : "creator", + "language" : "undefined", + "value" : "https://data.verborgh.org/people/anastasia_dimou", + "type" : "iri" + } ], + "versionInfo" : [ { + "identifier" : "versionInfo", + "language" : "undefined", + "value" : "0.5.1", + "type" : "label" + } ], + "title" : [ { + "identifier" : "title", + "language" : "en", + "value" : "The Function Ontology", + "type" : "label" + } ], + "seeAlso" : [ { + "identifier" : "seeAlso", + "language" : "undefined", + "value" : "https://w3id.org/function/spec", + "type" : "iri" + } ], + "license" : [ { + "identifier" : "license", + "language" : "undefined", + "value" : "http://creativecommons.org/license/by/3.0/", + "type" : "iri" + } ], + "primaryTopic" : [ { + "identifier" : "primaryTopic", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "rights" : [ { + "identifier" : "rights", + "language" : "en", + "value" : "Copyright Ghent University imec IDLab", + "type" : "label" + } ], + "preferredNamespacePrefix" : [ { + "identifier" : "preferredNamespacePrefix", + "language" : "undefined", + "value" : "fno", + "type" : "label" + } ], + "modified" : [ { + "identifier" : "modified", + "language" : "undefined", + "value" : "2019-05-21", + "type" : "label" + } ], + "publisher" : [ { + "identifier" : "publisher", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + } ], + "preferredNamespaceUri" : [ { + "identifier" : "preferredNamespaceUri", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "label" + } ], + "issued" : [ { + "identifier" : "issued", + "language" : "undefined", + "value" : "2016-03-08", + "type" : "label" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "3", + "type" : "owl:Class" + }, { + "id" : "7", + "type" : "owl:Thing" + }, { + "id" : "14", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:Class" + }, { + "id" : "15", + "type" : "owl:Class" + }, { + "id" : "19", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:Class" + }, { + "id" : "21", + "type" : "owl:Class" + }, { + "id" : "17", + "type" : "rdfs:Datatype" + }, { + "id" : "9", + "type" : "rdfs:Datatype" + }, { + "id" : "22", + "type" : "owl:Class" + }, { + "id" : "12", + "type" : "owl:Class" + }, { + "id" : "5", + "type" : "owl:Class" + }, { + "id" : "27", + "type" : "owl:Class" + }, { + "id" : "28", + "type" : "owl:Class" + }, { + "id" : "29", + "type" : "owl:Class" + }, { + "id" : "30", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "https://w3id.org/function/ontology#Mapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Mapping", + "en" : "Mapping" + }, + "comment" : { + "en" : "A mapping connects a function to an implementation" + }, + "id" : "3" + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "7", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "https://w3id.org/function/ontology#MethodMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "MethodMapping", + "en" : "Method mapping" + }, + "comment" : { + "en" : "A method mapping unambiguously specifies how the abstract function can be mapped to the implemented method. This can be, e.g., the name of the method" + }, + "id" : "14" + }, { + "iri" : "https://w3id.org/function/ontology#Function", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Function", + "en" : "Function" + }, + "comment" : { + "en" : "The declared function" + }, + "id" : "1" + }, { + "iri" : "https://w3id.org/function/ontology#Execution", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Execution", + "en" : "Execution" + }, + "comment" : { + "en" : "An execution is the connection between a function and its input and output values." + }, + "id" : "15" + }, { + "iri" : "https://w3id.org/function/ontology#Parameter", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Parameter", + "en" : "Parameter" + }, + "comment" : { + "en" : "The definition of a parameter to a certain function" + }, + "id" : "19" + }, { + "iri" : "https://w3id.org/function/ontology#Problem", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Problem", + "en" : "Problem" + }, + "comment" : { + "en" : "A certain problem that a function solves" + }, + "id" : "2" + }, { + "iri" : "https://w3id.org/function/ontology#Implementation", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Implementation", + "en" : "Implementation" + }, + "comment" : { + "en" : "A certain implementation of a function" + }, + "id" : "21" + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#boolean", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "17", + "label" : { + "IRI-based" : "boolean" + } + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#boolean", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "9", + "label" : { + "IRI-based" : "boolean" + } + }, { + "iri" : "https://w3id.org/function/ontology#ParameterMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "ParameterMapping", + "en" : "Parameter mapping" + }, + "comment" : { + "en" : "A parameter mapping unambiguously specifies how the abstract parameter can be mapped to the implemented method's argument. For example: Parameter X is mapped to the third argument of the method (a position parameter mapping, common for programming languages), or to property with name Y of the method (a property parameter mapping, common for Web APIs)" + }, + "id" : "22" + }, { + "iri" : "https://w3id.org/function/ontology#Algorithm", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Algorithm", + "en" : "Algorithm" + }, + "comment" : { + "en" : "A declaration of an algorithm. An algorithm is a specified set of instructions, independent of its implementation. There is no one-to-one mapping between an algorithm and a problem." + }, + "id" : "12" + }, { + "iri" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#List", + "baseIri" : "http://www.w3.org/1999/02/22-rdf-syntax-ns", + "instances" : 0, + "label" : { + "IRI-based" : "List" + }, + "attributes" : [ "external" ], + "id" : "5" + }, { + "iri" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property", + "baseIri" : "http://www.w3.org/1999/02/22-rdf-syntax-ns", + "instances" : 0, + "label" : { + "IRI-based" : "Property" + }, + "attributes" : [ "external" ], + "id" : "27" + }, { + "iri" : "http://purl.org/vocommons/voaf#Vocabulary", + "baseIri" : "http://purl.org/vocommons/voaf", + "instances" : 0, + "label" : { + "IRI-based" : "Vocabulary" + }, + "individuals" : [ { + "iri" : "https://w3id.org/function/ontology", + "baseIri" : "https://w3id.org/function", + "labels" : { + "IRI-based" : "ontology" + } + } ], + "attributes" : [ "external" ], + "id" : "28" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "individuals" : [ { + "iri" : "https://data.verborgh.org/people/anastasia_dimou", + "baseIri" : "https://data.verborgh.org/people", + "annotations" : { + "name" : [ { + "identifier" : "name", + "language" : "en", + "value" : "Anastasia Dimou", + "type" : "label" + } ], + "mbox" : [ { + "identifier" : "mbox", + "language" : "undefined", + "value" : "mailto:Anastasia.dimou@UGent.be", + "type" : "label" + } ] + }, + "labels" : { + "IRI-based" : "anastasia_dimou", + "en" : "Anastasia Dimou" + } + }, { + "iri" : "https://ben.de-meester.org/#me", + "baseIri" : "https://ben.de-meester.org/", + "annotations" : { + "name" : [ { + "identifier" : "name", + "language" : "en", + "value" : "Ben De Meester", + "type" : "label" + } ], + "mbox" : [ { + "identifier" : "mbox", + "language" : "undefined", + "value" : "mailto:Ben.DeMeester@UGent.be", + "type" : "label" + } ] + }, + "labels" : { + "IRI-based" : "me", + "en" : "Ben De Meester" + } + } ], + "attributes" : [ "external" ], + "id" : "29" + }, { + "iri" : "https://w3id.org/function/ontology#Output", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Output", + "en" : "Output" + }, + "comment" : { + "en" : "The definition of an output of a function" + }, + "id" : "30" + } ], + "property" : [ { + "id" : "0", + "type" : "owl:objectProperty" + }, { + "id" : "4", + "type" : "owl:objectProperty" + }, { + "id" : "6", + "type" : "owl:objectProperty" + }, { + "id" : "8", + "type" : "owl:datatypeProperty" + }, { + "id" : "10", + "type" : "owl:objectProperty" + }, { + "id" : "11", + "type" : "owl:objectProperty" + }, { + "id" : "13", + "type" : "owl:objectProperty" + }, { + "id" : "16", + "type" : "owl:datatypeProperty" + }, { + "id" : "18", + "type" : "owl:objectProperty" + }, { + "id" : "20", + "type" : "owl:objectProperty" + }, { + "id" : "23", + "type" : "owl:objectProperty" + }, { + "id" : "24", + "type" : "owl:objectProperty" + }, { + "id" : "25", + "type" : "owl:objectProperty" + }, { + "id" : "26", + "type" : "owl:objectProperty" + } ], + "propertyAttribute" : [ { + "iri" : "https://w3id.org/function/ontology#solves", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "solves", + "en" : "solves" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a description of a function to the description of a problem it tries to solve." + }, + "attributes" : [ "object" ], + "id" : "0" + }, { + "iri" : "https://w3id.org/function/ontology#returns", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "5", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "returns", + "en" : "returns" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a description of a function to the description of the output" + }, + "attributes" : [ "object" ], + "id" : "4" + }, { + "iri" : "https://w3id.org/function/ontology#type", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "7", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "type", + "en" : "type" + }, + "domain" : "7", + "comment" : { + "en" : "Connects an output or a parameter description to the type of instances of these parameters or outputs." + }, + "attributes" : [ "object" ], + "id" : "6" + }, { + "iri" : "https://w3id.org/function/ontology#required", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "9", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "required", + "en" : "required" + }, + "domain" : "7", + "comment" : { + "en" : "Defines if a parameter or an output is required." + }, + "attributes" : [ "datatype" ], + "id" : "8" + }, { + "iri" : "https://w3id.org/function/ontology#expects", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "5", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "expects", + "en" : "expects" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a function description to an ordered list of zero or more parameter descriptions" + }, + "attributes" : [ "object" ], + "id" : "10" + }, { + "iri" : "https://w3id.org/function/ontology#implements", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "12", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "implements", + "en" : "implements" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a function to an algorithm it implements. A function can implement 0..n algorithms." + }, + "attributes" : [ "object" ], + "id" : "11" + }, { + "iri" : "https://w3id.org/function/ontology#methodMapping", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "14", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "methodMapping", + "en" : "method mapping" + }, + "domain" : "3", + "comment" : { + "en" : "Connects a method mapping to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "13" + }, { + "iri" : "https://w3id.org/function/ontology#nullable", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "17", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "nullable", + "en" : "nullable" + }, + "domain" : "7", + "comment" : { + "en" : "Defines if a parameteris nullable." + }, + "attributes" : [ "datatype" ], + "id" : "16" + }, { + "iri" : "https://w3id.org/function/ontology#function", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "function", + "en" : "function" + }, + "domain" : "3", + "comment" : { + "en" : "Connects a function to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "18" + }, { + "iri" : "https://w3id.org/function/ontology#uses", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "uses", + "en" : "uses" + }, + "domain" : "15", + "comment" : { + "en" : "Connects an execution to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "20" + }, { + "iri" : "https://w3id.org/function/ontology#implementation", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "21", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "implementation", + "en" : "implementation" + }, + "domain" : "3", + "comment" : { + "en" : "Connects an implementation to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "23" + }, { + "iri" : "https://w3id.org/function/ontology#parameterMapping", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "22", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "parameterMapping", + "en" : "parameter mapping" + }, + "domain" : "3", + "comment" : { + "en" : "Connects a parameter mapping to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "24" + }, { + "iri" : "https://w3id.org/function/ontology#executes", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "executes", + "en" : "executes" + }, + "domain" : "15", + "comment" : { + "en" : "Connects a function to an execution definition" + }, + "attributes" : [ "object" ], + "id" : "25" + }, { + "iri" : "https://w3id.org/function/ontology#predicate", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "27", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "predicate", + "en" : "predicate" + }, + "domain" : "19", + "comment" : { + "en" : "Connects a parameter description to the predicate used to link executions of this function to their parameter." + }, + "attributes" : [ "object" ], + "id" : "26" + } ] +} \ No newline at end of file diff --git a/dist/ontology/0.5.1/webvowl/favicon.ico b/dist/ontology/0.5.1/webvowl/favicon.ico new file mode 100644 index 0000000..a857d51 Binary files /dev/null and b/dist/ontology/0.5.1/webvowl/favicon.ico differ diff --git a/dist/ontology/0.5.1/webvowl/index.html b/dist/ontology/0.5.1/webvowl/index.html new file mode 100644 index 0000000..09acde5 --- /dev/null +++ b/dist/ontology/0.5.1/webvowl/index.html @@ -0,0 +1,480 @@ + + + + + + + + + + + + + + + WebVOWL + + + +
    +
    + + + + + + +
    + + + + +
    +
    +
    + +
    +
    >
    + +
    + +
    + + +
    +
    +
    +

    +

    +

    +

    +

    -

    +
    +
    + + +
    +
    +
    +
    + + + +
    + + + + + + + \ No newline at end of file diff --git a/dist/ontology/0.5.1/webvowl/js/d3.min.js b/dist/ontology/0.5.1/webvowl/js/d3.min.js new file mode 100644 index 0000000..1664873 --- /dev/null +++ b/dist/ontology/0.5.1/webvowl/js/d3.min.js @@ -0,0 +1,5 @@ +!function(){function n(n){return n&&(n.ownerDocument||n.document||n).documentElement}function t(n){return n&&(n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView)}function e(n,t){return t>n?-1:n>t?1:n>=t?0:NaN}function r(n){return null===n?NaN:+n}function i(n){return!isNaN(n)}function u(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)<0?r=u+1:i=u}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)>0?i=u:r=u+1}return r}}}function o(n){return n.length}function a(n){for(var t=1;n*t%1;)t*=10;return t}function l(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function c(){this._=Object.create(null)}function f(n){return(n+="")===bo||n[0]===_o?_o+n:n}function s(n){return(n+="")[0]===_o?n.slice(1):n}function h(n){return f(n)in this._}function p(n){return(n=f(n))in this._&&delete this._[n]}function g(){var n=[];for(var t in this._)n.push(s(t));return n}function v(){var n=0;for(var t in this._)++n;return n}function d(){for(var n in this._)return!1;return!0}function y(){this._=Object.create(null)}function m(n){return n}function M(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function x(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e=0,r=wo.length;r>e;++e){var i=wo[e]+t;if(i in n)return i}}function b(){}function _(){}function w(n){function t(){for(var t,r=e,i=-1,u=r.length;++ie;e++)for(var i,u=n[e],o=0,a=u.length;a>o;o++)(i=u[o])&&t(i,o,e);return n}function Z(n){return ko(n,qo),n}function V(n){var t,e;return function(r,i,u){var o,a=n[u].update,l=a.length;for(u!=e&&(e=u,t=0),i>=t&&(t=i+1);!(o=a[t])&&++t0&&(n=n.slice(0,a));var c=To.get(n);return c&&(n=c,l=B),a?t?i:r:t?b:u}function $(n,t){return function(e){var r=ao.event;ao.event=e,t[0]=this.__data__;try{n.apply(this,t)}finally{ao.event=r}}}function B(n,t){var e=$(n,t);return function(n){var t=this,r=n.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||e.call(t,n)}}function W(e){var r=".dragsuppress-"+ ++Do,i="click"+r,u=ao.select(t(e)).on("touchmove"+r,S).on("dragstart"+r,S).on("selectstart"+r,S);if(null==Ro&&(Ro="onselectstart"in e?!1:x(e.style,"userSelect")),Ro){var o=n(e).style,a=o[Ro];o[Ro]="none"}return function(n){if(u.on(r,null),Ro&&(o[Ro]=a),n){var t=function(){u.on(i,null)};u.on(i,function(){S(),t()},!0),setTimeout(t,0)}}}function J(n,e){e.changedTouches&&(e=e.changedTouches[0]);var r=n.ownerSVGElement||n;if(r.createSVGPoint){var i=r.createSVGPoint();if(0>Po){var u=t(n);if(u.scrollX||u.scrollY){r=ao.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var o=r[0][0].getScreenCTM();Po=!(o.f||o.e),r.remove()}}return Po?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),i=i.matrixTransform(n.getScreenCTM().inverse()),[i.x,i.y]}var a=n.getBoundingClientRect();return[e.clientX-a.left-n.clientLeft,e.clientY-a.top-n.clientTop]}function G(){return ao.event.changedTouches[0].identifier}function K(n){return n>0?1:0>n?-1:0}function Q(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(t[1]-n[1])*(e[0]-n[0])}function nn(n){return n>1?0:-1>n?Fo:Math.acos(n)}function tn(n){return n>1?Io:-1>n?-Io:Math.asin(n)}function en(n){return((n=Math.exp(n))-1/n)/2}function rn(n){return((n=Math.exp(n))+1/n)/2}function un(n){return((n=Math.exp(2*n))-1)/(n+1)}function on(n){return(n=Math.sin(n/2))*n}function an(){}function ln(n,t,e){return this instanceof ln?(this.h=+n,this.s=+t,void(this.l=+e)):arguments.length<2?n instanceof ln?new ln(n.h,n.s,n.l):_n(""+n,wn,ln):new ln(n,t,e)}function cn(n,t,e){function r(n){return n>360?n-=360:0>n&&(n+=360),60>n?u+(o-u)*n/60:180>n?o:240>n?u+(o-u)*(240-n)/60:u}function i(n){return Math.round(255*r(n))}var u,o;return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:0>t?0:t>1?1:t,e=0>e?0:e>1?1:e,o=.5>=e?e*(1+t):e+t-e*t,u=2*e-o,new mn(i(n+120),i(n),i(n-120))}function fn(n,t,e){return this instanceof fn?(this.h=+n,this.c=+t,void(this.l=+e)):arguments.length<2?n instanceof fn?new fn(n.h,n.c,n.l):n instanceof hn?gn(n.l,n.a,n.b):gn((n=Sn((n=ao.rgb(n)).r,n.g,n.b)).l,n.a,n.b):new fn(n,t,e)}function sn(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new hn(e,Math.cos(n*=Yo)*t,Math.sin(n)*t)}function hn(n,t,e){return this instanceof hn?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof hn?new hn(n.l,n.a,n.b):n instanceof fn?sn(n.h,n.c,n.l):Sn((n=mn(n)).r,n.g,n.b):new hn(n,t,e)}function pn(n,t,e){var r=(n+16)/116,i=r+t/500,u=r-e/200;return i=vn(i)*na,r=vn(r)*ta,u=vn(u)*ea,new mn(yn(3.2404542*i-1.5371385*r-.4985314*u),yn(-.969266*i+1.8760108*r+.041556*u),yn(.0556434*i-.2040259*r+1.0572252*u))}function gn(n,t,e){return n>0?new fn(Math.atan2(e,t)*Zo,Math.sqrt(t*t+e*e),n):new fn(NaN,NaN,n)}function vn(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function dn(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function yn(n){return Math.round(255*(.00304>=n?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function mn(n,t,e){return this instanceof mn?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof mn?new mn(n.r,n.g,n.b):_n(""+n,mn,cn):new mn(n,t,e)}function Mn(n){return new mn(n>>16,n>>8&255,255&n)}function xn(n){return Mn(n)+""}function bn(n){return 16>n?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function _n(n,t,e){var r,i,u,o=0,a=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(Nn(i[0]),Nn(i[1]),Nn(i[2]))}return(u=ua.get(n))?t(u.r,u.g,u.b):(null==n||"#"!==n.charAt(0)||isNaN(u=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&u)>>4,o=o>>4|o,a=240&u,a=a>>4|a,l=15&u,l=l<<4|l):7===n.length&&(o=(16711680&u)>>16,a=(65280&u)>>8,l=255&u)),t(o,a,l))}function wn(n,t,e){var r,i,u=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-u,l=(o+u)/2;return a?(i=.5>l?a/(o+u):a/(2-o-u),r=n==o?(t-e)/a+(e>t?6:0):t==o?(e-n)/a+2:(n-t)/a+4,r*=60):(r=NaN,i=l>0&&1>l?0:r),new ln(r,i,l)}function Sn(n,t,e){n=kn(n),t=kn(t),e=kn(e);var r=dn((.4124564*n+.3575761*t+.1804375*e)/na),i=dn((.2126729*n+.7151522*t+.072175*e)/ta),u=dn((.0193339*n+.119192*t+.9503041*e)/ea);return hn(116*i-16,500*(r-i),200*(i-u))}function kn(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Nn(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}function En(n){return"function"==typeof n?n:function(){return n}}function An(n){return function(t,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=null),Cn(t,e,n,r)}}function Cn(n,t,e,r){function i(){var n,t=l.status;if(!t&&Ln(l)||t>=200&&300>t||304===t){try{n=e.call(u,l)}catch(r){return void o.error.call(u,r)}o.load.call(u,n)}else o.error.call(u,l)}var u={},o=ao.dispatch("beforesend","progress","load","error"),a={},l=new XMLHttpRequest,c=null;return!this.XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(n)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=i:l.onreadystatechange=function(){l.readyState>3&&i()},l.onprogress=function(n){var t=ao.event;ao.event=n;try{o.progress.call(u,l)}finally{ao.event=t}},u.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?a[n]:(null==t?delete a[n]:a[n]=t+"",u)},u.mimeType=function(n){return arguments.length?(t=null==n?null:n+"",u):t},u.responseType=function(n){return arguments.length?(c=n,u):c},u.response=function(n){return e=n,u},["get","post"].forEach(function(n){u[n]=function(){return u.send.apply(u,[n].concat(co(arguments)))}}),u.send=function(e,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),l.open(e,n,!0),null==t||"accept"in a||(a.accept=t+",*/*"),l.setRequestHeader)for(var f in a)l.setRequestHeader(f,a[f]);return null!=t&&l.overrideMimeType&&l.overrideMimeType(t),null!=c&&(l.responseType=c),null!=i&&u.on("error",i).on("load",function(n){i(null,n)}),o.beforesend.call(u,l),l.send(null==r?null:r),u},u.abort=function(){return l.abort(),u},ao.rebind(u,o,"on"),null==r?u:u.get(zn(r))}function zn(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}function Ln(n){var t=n.responseType;return t&&"text"!==t?n.response:n.responseText}function qn(n,t,e){var r=arguments.length;2>r&&(t=0),3>r&&(e=Date.now());var i=e+t,u={c:n,t:i,n:null};return aa?aa.n=u:oa=u,aa=u,la||(ca=clearTimeout(ca),la=1,fa(Tn)),u}function Tn(){var n=Rn(),t=Dn()-n;t>24?(isFinite(t)&&(clearTimeout(ca),ca=setTimeout(Tn,t)),la=0):(la=1,fa(Tn))}function Rn(){for(var n=Date.now(),t=oa;t;)n>=t.t&&t.c(n-t.t)&&(t.c=null),t=t.n;return n}function Dn(){for(var n,t=oa,e=1/0;t;)t.c?(t.t8?function(n){return n/e}:function(n){return n*e},symbol:n}}function jn(n){var t=n.decimal,e=n.thousands,r=n.grouping,i=n.currency,u=r&&e?function(n,t){for(var i=n.length,u=[],o=0,a=r[0],l=0;i>0&&a>0&&(l+a+1>t&&(a=Math.max(1,t-l)),u.push(n.substring(i-=a,i+a)),!((l+=a+1)>t));)a=r[o=(o+1)%r.length];return u.reverse().join(e)}:m;return function(n){var e=ha.exec(n),r=e[1]||" ",o=e[2]||">",a=e[3]||"-",l=e[4]||"",c=e[5],f=+e[6],s=e[7],h=e[8],p=e[9],g=1,v="",d="",y=!1,m=!0;switch(h&&(h=+h.substring(1)),(c||"0"===r&&"="===o)&&(c=r="0",o="="),p){case"n":s=!0,p="g";break;case"%":g=100,d="%",p="f";break;case"p":g=100,d="%",p="r";break;case"b":case"o":case"x":case"X":"#"===l&&(v="0"+p.toLowerCase());case"c":m=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===l&&(v=i[0],d=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=pa.get(p)||Fn;var M=c&&s;return function(n){var e=d;if(y&&n%1)return"";var i=0>n||0===n&&0>1/n?(n=-n,"-"):"-"===a?"":a;if(0>g){var l=ao.formatPrefix(n,h);n=l.scale(n),e=l.symbol+d}else n*=g;n=p(n,h);var x,b,_=n.lastIndexOf(".");if(0>_){var w=m?n.lastIndexOf("e"):-1;0>w?(x=n,b=""):(x=n.substring(0,w),b=n.substring(w))}else x=n.substring(0,_),b=t+n.substring(_+1);!c&&s&&(x=u(x,1/0));var S=v.length+x.length+b.length+(M?0:i.length),k=f>S?new Array(S=f-S+1).join(r):"";return M&&(x=u(k+x,k.length?f-b.length:1/0)),i+=v,n=x+b,("<"===o?i+n+k:">"===o?k+i+n:"^"===o?k.substring(0,S>>=1)+i+n+k.substring(S):i+(M?n:k+n))+e}}}function Fn(n){return n+""}function Hn(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function On(n,t,e){function r(t){var e=n(t),r=u(e,1);return r-t>t-e?e:r}function i(e){return t(e=n(new va(e-1)),1),e}function u(n,e){return t(n=new va(+n),e),n}function o(n,r,u){var o=i(n),a=[];if(u>1)for(;r>o;)e(o)%u||a.push(new Date(+o)),t(o,1);else for(;r>o;)a.push(new Date(+o)),t(o,1);return a}function a(n,t,e){try{va=Hn;var r=new Hn;return r._=n,o(r,t,e)}finally{va=Date}}n.floor=n,n.round=r,n.ceil=i,n.offset=u,n.range=o;var l=n.utc=In(n);return l.floor=l,l.round=In(r),l.ceil=In(i),l.offset=In(u),l.range=a,n}function In(n){return function(t,e){try{va=Hn;var r=new Hn;return r._=t,n(r,e)._}finally{va=Date}}}function Yn(n){function t(n){function t(t){for(var e,i,u,o=[],a=-1,l=0;++aa;){if(r>=c)return-1;if(i=t.charCodeAt(a++),37===i){if(o=t.charAt(a++),u=C[o in ya?t.charAt(a++):o],!u||(r=u(n,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function r(n,t,e){_.lastIndex=0;var r=_.exec(t.slice(e));return r?(n.w=w.get(r[0].toLowerCase()),e+r[0].length):-1}function i(n,t,e){x.lastIndex=0;var r=x.exec(t.slice(e));return r?(n.w=b.get(r[0].toLowerCase()),e+r[0].length):-1}function u(n,t,e){N.lastIndex=0;var r=N.exec(t.slice(e));return r?(n.m=E.get(r[0].toLowerCase()),e+r[0].length):-1}function o(n,t,e){S.lastIndex=0;var r=S.exec(t.slice(e));return r?(n.m=k.get(r[0].toLowerCase()),e+r[0].length):-1}function a(n,t,r){return e(n,A.c.toString(),t,r)}function l(n,t,r){return e(n,A.x.toString(),t,r)}function c(n,t,r){return e(n,A.X.toString(),t,r)}function f(n,t,e){var r=M.get(t.slice(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)}var s=n.dateTime,h=n.date,p=n.time,g=n.periods,v=n.days,d=n.shortDays,y=n.months,m=n.shortMonths;t.utc=function(n){function e(n){try{va=Hn;var t=new va;return t._=n,r(t)}finally{va=Date}}var r=t(n);return e.parse=function(n){try{va=Hn;var t=r.parse(n);return t&&t._}finally{va=Date}},e.toString=r.toString,e},t.multi=t.utc.multi=ct;var M=ao.map(),x=Vn(v),b=Xn(v),_=Vn(d),w=Xn(d),S=Vn(y),k=Xn(y),N=Vn(m),E=Xn(m);g.forEach(function(n,t){M.set(n.toLowerCase(),t)});var A={a:function(n){return d[n.getDay()]},A:function(n){return v[n.getDay()]},b:function(n){return m[n.getMonth()]},B:function(n){return y[n.getMonth()]},c:t(s),d:function(n,t){return Zn(n.getDate(),t,2)},e:function(n,t){return Zn(n.getDate(),t,2)},H:function(n,t){return Zn(n.getHours(),t,2)},I:function(n,t){return Zn(n.getHours()%12||12,t,2)},j:function(n,t){return Zn(1+ga.dayOfYear(n),t,3)},L:function(n,t){return Zn(n.getMilliseconds(),t,3)},m:function(n,t){return Zn(n.getMonth()+1,t,2)},M:function(n,t){return Zn(n.getMinutes(),t,2)},p:function(n){return g[+(n.getHours()>=12)]},S:function(n,t){return Zn(n.getSeconds(),t,2)},U:function(n,t){return Zn(ga.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return Zn(ga.mondayOfYear(n),t,2)},x:t(h),X:t(p),y:function(n,t){return Zn(n.getFullYear()%100,t,2)},Y:function(n,t){return Zn(n.getFullYear()%1e4,t,4)},Z:at,"%":function(){return"%"}},C={a:r,A:i,b:u,B:o,c:a,d:tt,e:tt,H:rt,I:rt,j:et,L:ot,m:nt,M:it,p:f,S:ut,U:Bn,w:$n,W:Wn,x:l,X:c,y:Gn,Y:Jn,Z:Kn,"%":lt};return t}function Zn(n,t,e){var r=0>n?"-":"",i=(r?-n:n)+"",u=i.length;return r+(e>u?new Array(e-u+1).join(t)+i:i)}function Vn(n){return new RegExp("^(?:"+n.map(ao.requote).join("|")+")","i")}function Xn(n){for(var t=new c,e=-1,r=n.length;++e68?1900:2e3)}function nt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function tt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function et(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function rt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function it(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function ut(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function ot(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function at(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=xo(t)/60|0,i=xo(t)%60;return e+Zn(r,"0",2)+Zn(i,"0",2)}function lt(n,t,e){Ma.lastIndex=0;var r=Ma.exec(t.slice(e,e+1));return r?e+r[0].length:-1}function ct(n){for(var t=n.length,e=-1;++e=0?1:-1,a=o*e,l=Math.cos(t),c=Math.sin(t),f=u*c,s=i*l+f*Math.cos(a),h=f*o*Math.sin(a);ka.add(Math.atan2(h,s)),r=n,i=l,u=c}var t,e,r,i,u;Na.point=function(o,a){Na.point=n,r=(t=o)*Yo,i=Math.cos(a=(e=a)*Yo/2+Fo/4),u=Math.sin(a)},Na.lineEnd=function(){n(t,e)}}function dt(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function yt(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function mt(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function Mt(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function xt(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function bt(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function _t(n){return[Math.atan2(n[1],n[0]),tn(n[2])]}function wt(n,t){return xo(n[0]-t[0])a;++a)i.point((e=n[a])[0],e[1]);return void i.lineEnd()}var l=new Tt(e,n,null,!0),c=new Tt(e,null,l,!1);l.o=c,u.push(l),o.push(c),l=new Tt(r,n,null,!1),c=new Tt(r,null,l,!0),l.o=c,u.push(l),o.push(c)}}),o.sort(t),qt(u),qt(o),u.length){for(var a=0,l=e,c=o.length;c>a;++a)o[a].e=l=!l;for(var f,s,h=u[0];;){for(var p=h,g=!0;p.v;)if((p=p.n)===h)return;f=p.z,i.lineStart();do{if(p.v=p.o.v=!0,p.e){if(g)for(var a=0,c=f.length;c>a;++a)i.point((s=f[a])[0],s[1]);else r(p.x,p.n.x,1,i);p=p.n}else{if(g){f=p.p.z;for(var a=f.length-1;a>=0;--a)i.point((s=f[a])[0],s[1])}else r(p.x,p.p.x,-1,i);p=p.p}p=p.o,f=p.z,g=!g}while(!p.v);i.lineEnd()}}}function qt(n){if(t=n.length){for(var t,e,r=0,i=n[0];++r0){for(b||(u.polygonStart(),b=!0),u.lineStart();++o1&&2&t&&e.push(e.pop().concat(e.shift())),p.push(e.filter(Dt))}var p,g,v,d=t(u),y=i.invert(r[0],r[1]),m={point:o,lineStart:l,lineEnd:c,polygonStart:function(){m.point=f,m.lineStart=s,m.lineEnd=h,p=[],g=[]},polygonEnd:function(){m.point=o,m.lineStart=l,m.lineEnd=c,p=ao.merge(p);var n=Ot(y,g);p.length?(b||(u.polygonStart(),b=!0),Lt(p,Ut,n,e,u)):n&&(b||(u.polygonStart(),b=!0),u.lineStart(),e(null,null,1,u),u.lineEnd()),b&&(u.polygonEnd(),b=!1),p=g=null},sphere:function(){u.polygonStart(),u.lineStart(),e(null,null,1,u),u.lineEnd(),u.polygonEnd()}},M=Pt(),x=t(M),b=!1;return m}}function Dt(n){return n.length>1}function Pt(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:b,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Ut(n,t){return((n=n.x)[0]<0?n[1]-Io-Uo:Io-n[1])-((t=t.x)[0]<0?t[1]-Io-Uo:Io-t[1])}function jt(n){var t,e=NaN,r=NaN,i=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(u,o){var a=u>0?Fo:-Fo,l=xo(u-e);xo(l-Fo)0?Io:-Io),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(a,r),n.point(u,r),t=0):i!==a&&l>=Fo&&(xo(e-i)Uo?Math.atan((Math.sin(t)*(u=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(t))*Math.sin(n))/(i*u*o)):(t+r)/2}function Ht(n,t,e,r){var i;if(null==n)i=e*Io,r.point(-Fo,i),r.point(0,i),r.point(Fo,i),r.point(Fo,0),r.point(Fo,-i),r.point(0,-i),r.point(-Fo,-i),r.point(-Fo,0),r.point(-Fo,i);else if(xo(n[0]-t[0])>Uo){var u=n[0]a;++a){var c=t[a],f=c.length;if(f)for(var s=c[0],h=s[0],p=s[1]/2+Fo/4,g=Math.sin(p),v=Math.cos(p),d=1;;){d===f&&(d=0),n=c[d];var y=n[0],m=n[1]/2+Fo/4,M=Math.sin(m),x=Math.cos(m),b=y-h,_=b>=0?1:-1,w=_*b,S=w>Fo,k=g*M;if(ka.add(Math.atan2(k*_*Math.sin(w),v*x+k*Math.cos(w))),u+=S?b+_*Ho:b,S^h>=e^y>=e){var N=mt(dt(s),dt(n));bt(N);var E=mt(i,N);bt(E);var A=(S^b>=0?-1:1)*tn(E[2]);(r>A||r===A&&(N[0]||N[1]))&&(o+=S^b>=0?1:-1)}if(!d++)break;h=y,g=M,v=x,s=n}}return(-Uo>u||Uo>u&&-Uo>ka)^1&o}function It(n){function t(n,t){return Math.cos(n)*Math.cos(t)>u}function e(n){var e,u,l,c,f;return{lineStart:function(){c=l=!1,f=1},point:function(s,h){var p,g=[s,h],v=t(s,h),d=o?v?0:i(s,h):v?i(s+(0>s?Fo:-Fo),h):0;if(!e&&(c=l=v)&&n.lineStart(),v!==l&&(p=r(e,g),(wt(e,p)||wt(g,p))&&(g[0]+=Uo,g[1]+=Uo,v=t(g[0],g[1]))),v!==l)f=0,v?(n.lineStart(),p=r(g,e),n.point(p[0],p[1])):(p=r(e,g),n.point(p[0],p[1]),n.lineEnd()),e=p;else if(a&&e&&o^v){var y;d&u||!(y=r(g,e,!0))||(f=0,o?(n.lineStart(),n.point(y[0][0],y[0][1]),n.point(y[1][0],y[1][1]),n.lineEnd()):(n.point(y[1][0],y[1][1]),n.lineEnd(),n.lineStart(),n.point(y[0][0],y[0][1])))}!v||e&&wt(e,g)||n.point(g[0],g[1]),e=g,l=v,u=d},lineEnd:function(){l&&n.lineEnd(),e=null},clean:function(){return f|(c&&l)<<1}}}function r(n,t,e){var r=dt(n),i=dt(t),o=[1,0,0],a=mt(r,i),l=yt(a,a),c=a[0],f=l-c*c;if(!f)return!e&&n;var s=u*l/f,h=-u*c/f,p=mt(o,a),g=xt(o,s),v=xt(a,h);Mt(g,v);var d=p,y=yt(g,d),m=yt(d,d),M=y*y-m*(yt(g,g)-1);if(!(0>M)){var x=Math.sqrt(M),b=xt(d,(-y-x)/m);if(Mt(b,g),b=_t(b),!e)return b;var _,w=n[0],S=t[0],k=n[1],N=t[1];w>S&&(_=w,w=S,S=_);var E=S-w,A=xo(E-Fo)E;if(!A&&k>N&&(_=k,k=N,N=_),C?A?k+N>0^b[1]<(xo(b[0]-w)Fo^(w<=b[0]&&b[0]<=S)){var z=xt(d,(-y+x)/m);return Mt(z,g),[b,_t(z)]}}}function i(t,e){var r=o?n:Fo-n,i=0;return-r>t?i|=1:t>r&&(i|=2),-r>e?i|=4:e>r&&(i|=8),i}var u=Math.cos(n),o=u>0,a=xo(u)>Uo,l=ve(n,6*Yo);return Rt(t,e,l,o?[0,-n]:[-Fo,n-Fo])}function Yt(n,t,e,r){return function(i){var u,o=i.a,a=i.b,l=o.x,c=o.y,f=a.x,s=a.y,h=0,p=1,g=f-l,v=s-c;if(u=n-l,g||!(u>0)){if(u/=g,0>g){if(h>u)return;p>u&&(p=u)}else if(g>0){if(u>p)return;u>h&&(h=u)}if(u=e-l,g||!(0>u)){if(u/=g,0>g){if(u>p)return;u>h&&(h=u)}else if(g>0){if(h>u)return;p>u&&(p=u)}if(u=t-c,v||!(u>0)){if(u/=v,0>v){if(h>u)return;p>u&&(p=u)}else if(v>0){if(u>p)return;u>h&&(h=u)}if(u=r-c,v||!(0>u)){if(u/=v,0>v){if(u>p)return;u>h&&(h=u)}else if(v>0){if(h>u)return;p>u&&(p=u)}return h>0&&(i.a={x:l+h*g,y:c+h*v}),1>p&&(i.b={x:l+p*g,y:c+p*v}),i}}}}}}function Zt(n,t,e,r){function i(r,i){return xo(r[0]-n)0?0:3:xo(r[0]-e)0?2:1:xo(r[1]-t)0?1:0:i>0?3:2}function u(n,t){return o(n.x,t.x)}function o(n,t){var e=i(n,1),r=i(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}return function(a){function l(n){for(var t=0,e=d.length,r=n[1],i=0;e>i;++i)for(var u,o=1,a=d[i],l=a.length,c=a[0];l>o;++o)u=a[o],c[1]<=r?u[1]>r&&Q(c,u,n)>0&&++t:u[1]<=r&&Q(c,u,n)<0&&--t,c=u;return 0!==t}function c(u,a,l,c){var f=0,s=0;if(null==u||(f=i(u,l))!==(s=i(a,l))||o(u,a)<0^l>0){do c.point(0===f||3===f?n:e,f>1?r:t);while((f=(f+l+4)%4)!==s)}else c.point(a[0],a[1])}function f(i,u){return i>=n&&e>=i&&u>=t&&r>=u}function s(n,t){f(n,t)&&a.point(n,t)}function h(){C.point=g,d&&d.push(y=[]),S=!0,w=!1,b=_=NaN}function p(){v&&(g(m,M),x&&w&&E.rejoin(),v.push(E.buffer())),C.point=s,w&&a.lineEnd()}function g(n,t){n=Math.max(-Ha,Math.min(Ha,n)),t=Math.max(-Ha,Math.min(Ha,t));var e=f(n,t);if(d&&y.push([n,t]),S)m=n,M=t,x=e,S=!1,e&&(a.lineStart(),a.point(n,t));else if(e&&w)a.point(n,t);else{var r={a:{x:b,y:_},b:{x:n,y:t}};A(r)?(w||(a.lineStart(),a.point(r.a.x,r.a.y)),a.point(r.b.x,r.b.y),e||a.lineEnd(),k=!1):e&&(a.lineStart(),a.point(n,t),k=!1)}b=n,_=t,w=e}var v,d,y,m,M,x,b,_,w,S,k,N=a,E=Pt(),A=Yt(n,t,e,r),C={point:s,lineStart:h,lineEnd:p,polygonStart:function(){a=E,v=[],d=[],k=!0},polygonEnd:function(){a=N,v=ao.merge(v);var t=l([n,r]),e=k&&t,i=v.length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),c(null,null,1,a),a.lineEnd()),i&&Lt(v,u,t,c,a),a.polygonEnd()),v=d=y=null}};return C}}function Vt(n){var t=0,e=Fo/3,r=ae(n),i=r(t,e);return i.parallels=function(n){return arguments.length?r(t=n[0]*Fo/180,e=n[1]*Fo/180):[t/Fo*180,e/Fo*180]},i}function Xt(n,t){function e(n,t){var e=Math.sqrt(u-2*i*Math.sin(t))/i;return[e*Math.sin(n*=i),o-e*Math.cos(n)]}var r=Math.sin(n),i=(r+Math.sin(t))/2,u=1+r*(2*i-r),o=Math.sqrt(u)/i;return e.invert=function(n,t){var e=o-t;return[Math.atan2(n,e)/i,tn((u-(n*n+e*e)*i*i)/(2*i))]},e}function $t(){function n(n,t){Ia+=i*n-r*t,r=n,i=t}var t,e,r,i;$a.point=function(u,o){$a.point=n,t=r=u,e=i=o},$a.lineEnd=function(){n(t,e)}}function Bt(n,t){Ya>n&&(Ya=n),n>Va&&(Va=n),Za>t&&(Za=t),t>Xa&&(Xa=t)}function Wt(){function n(n,t){o.push("M",n,",",t,u)}function t(n,t){o.push("M",n,",",t),a.point=e}function e(n,t){o.push("L",n,",",t)}function r(){a.point=n}function i(){o.push("Z")}var u=Jt(4.5),o=[],a={point:n,lineStart:function(){a.point=t},lineEnd:r,polygonStart:function(){a.lineEnd=i},polygonEnd:function(){a.lineEnd=r,a.point=n},pointRadius:function(n){return u=Jt(n),a},result:function(){if(o.length){var n=o.join("");return o=[],n}}};return a}function Jt(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function Gt(n,t){Ca+=n,za+=t,++La}function Kt(){function n(n,r){var i=n-t,u=r-e,o=Math.sqrt(i*i+u*u);qa+=o*(t+n)/2,Ta+=o*(e+r)/2,Ra+=o,Gt(t=n,e=r)}var t,e;Wa.point=function(r,i){Wa.point=n,Gt(t=r,e=i)}}function Qt(){Wa.point=Gt}function ne(){function n(n,t){var e=n-r,u=t-i,o=Math.sqrt(e*e+u*u);qa+=o*(r+n)/2,Ta+=o*(i+t)/2,Ra+=o,o=i*n-r*t,Da+=o*(r+n),Pa+=o*(i+t),Ua+=3*o,Gt(r=n,i=t)}var t,e,r,i;Wa.point=function(u,o){Wa.point=n,Gt(t=r=u,e=i=o)},Wa.lineEnd=function(){n(t,e)}}function te(n){function t(t,e){n.moveTo(t+o,e),n.arc(t,e,o,0,Ho)}function e(t,e){n.moveTo(t,e),a.point=r}function r(t,e){n.lineTo(t,e)}function i(){a.point=t}function u(){n.closePath()}var o=4.5,a={point:t,lineStart:function(){a.point=e},lineEnd:i,polygonStart:function(){a.lineEnd=u},polygonEnd:function(){a.lineEnd=i,a.point=t},pointRadius:function(n){return o=n,a},result:b};return a}function ee(n){function t(n){return(a?r:e)(n)}function e(t){return ue(t,function(e,r){e=n(e,r),t.point(e[0],e[1])})}function r(t){function e(e,r){e=n(e,r),t.point(e[0],e[1])}function r(){M=NaN,S.point=u,t.lineStart()}function u(e,r){var u=dt([e,r]),o=n(e,r);i(M,x,m,b,_,w,M=o[0],x=o[1],m=e,b=u[0],_=u[1],w=u[2],a,t),t.point(M,x)}function o(){S.point=e,t.lineEnd()}function l(){ +r(),S.point=c,S.lineEnd=f}function c(n,t){u(s=n,h=t),p=M,g=x,v=b,d=_,y=w,S.point=u}function f(){i(M,x,m,b,_,w,p,g,s,v,d,y,a,t),S.lineEnd=o,o()}var s,h,p,g,v,d,y,m,M,x,b,_,w,S={point:e,lineStart:r,lineEnd:o,polygonStart:function(){t.polygonStart(),S.lineStart=l},polygonEnd:function(){t.polygonEnd(),S.lineStart=r}};return S}function i(t,e,r,a,l,c,f,s,h,p,g,v,d,y){var m=f-t,M=s-e,x=m*m+M*M;if(x>4*u&&d--){var b=a+p,_=l+g,w=c+v,S=Math.sqrt(b*b+_*_+w*w),k=Math.asin(w/=S),N=xo(xo(w)-1)u||xo((m*z+M*L)/x-.5)>.3||o>a*p+l*g+c*v)&&(i(t,e,r,a,l,c,A,C,N,b/=S,_/=S,w,d,y),y.point(A,C),i(A,C,N,b,_,w,f,s,h,p,g,v,d,y))}}var u=.5,o=Math.cos(30*Yo),a=16;return t.precision=function(n){return arguments.length?(a=(u=n*n)>0&&16,t):Math.sqrt(u)},t}function re(n){var t=ee(function(t,e){return n([t*Zo,e*Zo])});return function(n){return le(t(n))}}function ie(n){this.stream=n}function ue(n,t){return{point:t,sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}function oe(n){return ae(function(){return n})()}function ae(n){function t(n){return n=a(n[0]*Yo,n[1]*Yo),[n[0]*h+l,c-n[1]*h]}function e(n){return n=a.invert((n[0]-l)/h,(c-n[1])/h),n&&[n[0]*Zo,n[1]*Zo]}function r(){a=Ct(o=se(y,M,x),u);var n=u(v,d);return l=p-n[0]*h,c=g+n[1]*h,i()}function i(){return f&&(f.valid=!1,f=null),t}var u,o,a,l,c,f,s=ee(function(n,t){return n=u(n,t),[n[0]*h+l,c-n[1]*h]}),h=150,p=480,g=250,v=0,d=0,y=0,M=0,x=0,b=Fa,_=m,w=null,S=null;return t.stream=function(n){return f&&(f.valid=!1),f=le(b(o,s(_(n)))),f.valid=!0,f},t.clipAngle=function(n){return arguments.length?(b=null==n?(w=n,Fa):It((w=+n)*Yo),i()):w},t.clipExtent=function(n){return arguments.length?(S=n,_=n?Zt(n[0][0],n[0][1],n[1][0],n[1][1]):m,i()):S},t.scale=function(n){return arguments.length?(h=+n,r()):h},t.translate=function(n){return arguments.length?(p=+n[0],g=+n[1],r()):[p,g]},t.center=function(n){return arguments.length?(v=n[0]%360*Yo,d=n[1]%360*Yo,r()):[v*Zo,d*Zo]},t.rotate=function(n){return arguments.length?(y=n[0]%360*Yo,M=n[1]%360*Yo,x=n.length>2?n[2]%360*Yo:0,r()):[y*Zo,M*Zo,x*Zo]},ao.rebind(t,s,"precision"),function(){return u=n.apply(this,arguments),t.invert=u.invert&&e,r()}}function le(n){return ue(n,function(t,e){n.point(t*Yo,e*Yo)})}function ce(n,t){return[n,t]}function fe(n,t){return[n>Fo?n-Ho:-Fo>n?n+Ho:n,t]}function se(n,t,e){return n?t||e?Ct(pe(n),ge(t,e)):pe(n):t||e?ge(t,e):fe}function he(n){return function(t,e){return t+=n,[t>Fo?t-Ho:-Fo>t?t+Ho:t,e]}}function pe(n){var t=he(n);return t.invert=he(-n),t}function ge(n,t){function e(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*r+a*i;return[Math.atan2(l*u-f*o,a*r-c*i),tn(f*u+l*o)]}var r=Math.cos(n),i=Math.sin(n),u=Math.cos(t),o=Math.sin(t);return e.invert=function(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*u-l*o;return[Math.atan2(l*u+c*o,a*r+f*i),tn(f*r-a*i)]},e}function ve(n,t){var e=Math.cos(n),r=Math.sin(n);return function(i,u,o,a){var l=o*t;null!=i?(i=de(e,i),u=de(e,u),(o>0?u>i:i>u)&&(i+=o*Ho)):(i=n+o*Ho,u=n-.5*l);for(var c,f=i;o>0?f>u:u>f;f-=l)a.point((c=_t([e,-r*Math.cos(f),-r*Math.sin(f)]))[0],c[1])}}function de(n,t){var e=dt(t);e[0]-=n,bt(e);var r=nn(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Uo)%(2*Math.PI)}function ye(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[n,t]})}}function me(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[t,n]})}}function Me(n){return n.source}function xe(n){return n.target}function be(n,t,e,r){var i=Math.cos(t),u=Math.sin(t),o=Math.cos(r),a=Math.sin(r),l=i*Math.cos(n),c=i*Math.sin(n),f=o*Math.cos(e),s=o*Math.sin(e),h=2*Math.asin(Math.sqrt(on(r-t)+i*o*on(e-n))),p=1/Math.sin(h),g=h?function(n){var t=Math.sin(n*=h)*p,e=Math.sin(h-n)*p,r=e*l+t*f,i=e*c+t*s,o=e*u+t*a;return[Math.atan2(i,r)*Zo,Math.atan2(o,Math.sqrt(r*r+i*i))*Zo]}:function(){return[n*Zo,t*Zo]};return g.distance=h,g}function _e(){function n(n,i){var u=Math.sin(i*=Yo),o=Math.cos(i),a=xo((n*=Yo)-t),l=Math.cos(a);Ja+=Math.atan2(Math.sqrt((a=o*Math.sin(a))*a+(a=r*u-e*o*l)*a),e*u+r*o*l),t=n,e=u,r=o}var t,e,r;Ga.point=function(i,u){t=i*Yo,e=Math.sin(u*=Yo),r=Math.cos(u),Ga.point=n},Ga.lineEnd=function(){Ga.point=Ga.lineEnd=b}}function we(n,t){function e(t,e){var r=Math.cos(t),i=Math.cos(e),u=n(r*i);return[u*i*Math.sin(t),u*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),i=t(r),u=Math.sin(i),o=Math.cos(i);return[Math.atan2(n*u,r*o),Math.asin(r&&e*u/r)]},e}function Se(n,t){function e(n,t){o>0?-Io+Uo>t&&(t=-Io+Uo):t>Io-Uo&&(t=Io-Uo);var e=o/Math.pow(i(t),u);return[e*Math.sin(u*n),o-e*Math.cos(u*n)]}var r=Math.cos(n),i=function(n){return Math.tan(Fo/4+n/2)},u=n===t?Math.sin(n):Math.log(r/Math.cos(t))/Math.log(i(t)/i(n)),o=r*Math.pow(i(n),u)/u;return u?(e.invert=function(n,t){var e=o-t,r=K(u)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/u,2*Math.atan(Math.pow(o/r,1/u))-Io]},e):Ne}function ke(n,t){function e(n,t){var e=u-t;return[e*Math.sin(i*n),u-e*Math.cos(i*n)]}var r=Math.cos(n),i=n===t?Math.sin(n):(r-Math.cos(t))/(t-n),u=r/i+n;return xo(i)i;i++){for(;r>1&&Q(n[e[r-2]],n[e[r-1]],n[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function qe(n,t){return n[0]-t[0]||n[1]-t[1]}function Te(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function Re(n,t,e,r){var i=n[0],u=e[0],o=t[0]-i,a=r[0]-u,l=n[1],c=e[1],f=t[1]-l,s=r[1]-c,h=(a*(l-c)-s*(i-u))/(s*o-a*f);return[i+h*o,l+h*f]}function De(n){var t=n[0],e=n[n.length-1];return!(t[0]-e[0]||t[1]-e[1])}function Pe(){rr(this),this.edge=this.site=this.circle=null}function Ue(n){var t=cl.pop()||new Pe;return t.site=n,t}function je(n){Be(n),ol.remove(n),cl.push(n),rr(n)}function Fe(n){var t=n.circle,e=t.x,r=t.cy,i={x:e,y:r},u=n.P,o=n.N,a=[n];je(n);for(var l=u;l.circle&&xo(e-l.circle.x)f;++f)c=a[f],l=a[f-1],nr(c.edge,l.site,c.site,i);l=a[0],c=a[s-1],c.edge=Ke(l.site,c.site,null,i),$e(l),$e(c)}function He(n){for(var t,e,r,i,u=n.x,o=n.y,a=ol._;a;)if(r=Oe(a,o)-u,r>Uo)a=a.L;else{if(i=u-Ie(a,o),!(i>Uo)){r>-Uo?(t=a.P,e=a):i>-Uo?(t=a,e=a.N):t=e=a;break}if(!a.R){t=a;break}a=a.R}var l=Ue(n);if(ol.insert(t,l),t||e){if(t===e)return Be(t),e=Ue(t.site),ol.insert(l,e),l.edge=e.edge=Ke(t.site,l.site),$e(t),void $e(e);if(!e)return void(l.edge=Ke(t.site,l.site));Be(t),Be(e);var c=t.site,f=c.x,s=c.y,h=n.x-f,p=n.y-s,g=e.site,v=g.x-f,d=g.y-s,y=2*(h*d-p*v),m=h*h+p*p,M=v*v+d*d,x={x:(d*m-p*M)/y+f,y:(h*M-v*m)/y+s};nr(e.edge,c,g,x),l.edge=Ke(c,n,null,x),e.edge=Ke(n,g,null,x),$e(t),$e(e)}}function Oe(n,t){var e=n.site,r=e.x,i=e.y,u=i-t;if(!u)return r;var o=n.P;if(!o)return-(1/0);e=o.site;var a=e.x,l=e.y,c=l-t;if(!c)return a;var f=a-r,s=1/u-1/c,h=f/c;return s?(-h+Math.sqrt(h*h-2*s*(f*f/(-2*c)-l+c/2+i-u/2)))/s+r:(r+a)/2}function Ie(n,t){var e=n.N;if(e)return Oe(e,t);var r=n.site;return r.y===t?r.x:1/0}function Ye(n){this.site=n,this.edges=[]}function Ze(n){for(var t,e,r,i,u,o,a,l,c,f,s=n[0][0],h=n[1][0],p=n[0][1],g=n[1][1],v=ul,d=v.length;d--;)if(u=v[d],u&&u.prepare())for(a=u.edges,l=a.length,o=0;l>o;)f=a[o].end(),r=f.x,i=f.y,c=a[++o%l].start(),t=c.x,e=c.y,(xo(r-t)>Uo||xo(i-e)>Uo)&&(a.splice(o,0,new tr(Qe(u.site,f,xo(r-s)Uo?{x:s,y:xo(t-s)Uo?{x:xo(e-g)Uo?{x:h,y:xo(t-h)Uo?{x:xo(e-p)=-jo)){var p=l*l+c*c,g=f*f+s*s,v=(s*p-c*g)/h,d=(l*g-f*p)/h,s=d+a,y=fl.pop()||new Xe;y.arc=n,y.site=i,y.x=v+o,y.y=s+Math.sqrt(v*v+d*d),y.cy=s,n.circle=y;for(var m=null,M=ll._;M;)if(y.yd||d>=a)return;if(h>g){if(u){if(u.y>=c)return}else u={x:d,y:l};e={x:d,y:c}}else{if(u){if(u.yr||r>1)if(h>g){if(u){if(u.y>=c)return}else u={x:(l-i)/r,y:l};e={x:(c-i)/r,y:c}}else{if(u){if(u.yp){if(u){if(u.x>=a)return}else u={x:o,y:r*o+i};e={x:a,y:r*a+i}}else{if(u){if(u.xu||s>o||r>h||i>p)){if(g=n.point){var g,v=t-n.x,d=e-n.y,y=v*v+d*d;if(l>y){var m=Math.sqrt(l=y);r=t-m,i=e-m,u=t+m,o=e+m,a=g}}for(var M=n.nodes,x=.5*(f+h),b=.5*(s+p),_=t>=x,w=e>=b,S=w<<1|_,k=S+4;k>S;++S)if(n=M[3&S])switch(3&S){case 0:c(n,f,s,x,b);break;case 1:c(n,x,s,h,b);break;case 2:c(n,f,b,x,p);break;case 3:c(n,x,b,h,p)}}}(n,r,i,u,o),a}function vr(n,t){n=ao.rgb(n),t=ao.rgb(t);var e=n.r,r=n.g,i=n.b,u=t.r-e,o=t.g-r,a=t.b-i;return function(n){return"#"+bn(Math.round(e+u*n))+bn(Math.round(r+o*n))+bn(Math.round(i+a*n))}}function dr(n,t){var e,r={},i={};for(e in n)e in t?r[e]=Mr(n[e],t[e]):i[e]=n[e];for(e in t)e in n||(i[e]=t[e]);return function(n){for(e in r)i[e]=r[e](n);return i}}function yr(n,t){return n=+n,t=+t,function(e){return n*(1-e)+t*e}}function mr(n,t){var e,r,i,u=hl.lastIndex=pl.lastIndex=0,o=-1,a=[],l=[];for(n+="",t+="";(e=hl.exec(n))&&(r=pl.exec(t));)(i=r.index)>u&&(i=t.slice(u,i),a[o]?a[o]+=i:a[++o]=i),(e=e[0])===(r=r[0])?a[o]?a[o]+=r:a[++o]=r:(a[++o]=null,l.push({i:o,x:yr(e,r)})),u=pl.lastIndex;return ur;++r)a[(e=l[r]).i]=e.x(n);return a.join("")})}function Mr(n,t){for(var e,r=ao.interpolators.length;--r>=0&&!(e=ao.interpolators[r](n,t)););return e}function xr(n,t){var e,r=[],i=[],u=n.length,o=t.length,a=Math.min(n.length,t.length);for(e=0;a>e;++e)r.push(Mr(n[e],t[e]));for(;u>e;++e)i[e]=n[e];for(;o>e;++e)i[e]=t[e];return function(n){for(e=0;a>e;++e)i[e]=r[e](n);return i}}function br(n){return function(t){return 0>=t?0:t>=1?1:n(t)}}function _r(n){return function(t){return 1-n(1-t)}}function wr(n){return function(t){return.5*(.5>t?n(2*t):2-n(2-2*t))}}function Sr(n){return n*n}function kr(n){return n*n*n}function Nr(n){if(0>=n)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(.5>n?e:3*(n-t)+e-.75)}function Er(n){return function(t){return Math.pow(t,n)}}function Ar(n){return 1-Math.cos(n*Io)}function Cr(n){return Math.pow(2,10*(n-1))}function zr(n){return 1-Math.sqrt(1-n*n)}function Lr(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/Ho*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,-10*r)*Math.sin((r-e)*Ho/t)}}function qr(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}}function Tr(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function Rr(n,t){n=ao.hcl(n),t=ao.hcl(t);var e=n.h,r=n.c,i=n.l,u=t.h-e,o=t.c-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.c:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return sn(e+u*n,r+o*n,i+a*n)+""}}function Dr(n,t){n=ao.hsl(n),t=ao.hsl(t);var e=n.h,r=n.s,i=n.l,u=t.h-e,o=t.s-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.s:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return cn(e+u*n,r+o*n,i+a*n)+""}}function Pr(n,t){n=ao.lab(n),t=ao.lab(t);var e=n.l,r=n.a,i=n.b,u=t.l-e,o=t.a-r,a=t.b-i;return function(n){return pn(e+u*n,r+o*n,i+a*n)+""}}function Ur(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function jr(n){var t=[n.a,n.b],e=[n.c,n.d],r=Hr(t),i=Fr(t,e),u=Hr(Or(e,t,-i))||0;t[0]*e[1]180?t+=360:t-n>180&&(n+=360),r.push({i:e.push(Ir(e)+"rotate(",null,")")-2,x:yr(n,t)})):t&&e.push(Ir(e)+"rotate("+t+")")}function Vr(n,t,e,r){n!==t?r.push({i:e.push(Ir(e)+"skewX(",null,")")-2,x:yr(n,t)}):t&&e.push(Ir(e)+"skewX("+t+")")}function Xr(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push(Ir(e)+"scale(",null,",",null,")");r.push({i:i-4,x:yr(n[0],t[0])},{i:i-2,x:yr(n[1],t[1])})}else 1===t[0]&&1===t[1]||e.push(Ir(e)+"scale("+t+")")}function $r(n,t){var e=[],r=[];return n=ao.transform(n),t=ao.transform(t),Yr(n.translate,t.translate,e,r),Zr(n.rotate,t.rotate,e,r),Vr(n.skew,t.skew,e,r),Xr(n.scale,t.scale,e,r),n=t=null,function(n){for(var t,i=-1,u=r.length;++i=0;)e.push(i[r])}function oi(n,t){for(var e=[n],r=[];null!=(n=e.pop());)if(r.push(n),(u=n.children)&&(i=u.length))for(var i,u,o=-1;++oe;++e)(t=n[e][1])>i&&(r=e,i=t);return r}function yi(n){return n.reduce(mi,0)}function mi(n,t){return n+t[1]}function Mi(n,t){return xi(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function xi(n,t){for(var e=-1,r=+n[0],i=(n[1]-r)/t,u=[];++e<=t;)u[e]=i*e+r;return u}function bi(n){return[ao.min(n),ao.max(n)]}function _i(n,t){return n.value-t.value}function wi(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function Si(n,t){n._pack_next=t,t._pack_prev=n}function ki(n,t){var e=t.x-n.x,r=t.y-n.y,i=n.r+t.r;return.999*i*i>e*e+r*r}function Ni(n){function t(n){f=Math.min(n.x-n.r,f),s=Math.max(n.x+n.r,s),h=Math.min(n.y-n.r,h),p=Math.max(n.y+n.r,p)}if((e=n.children)&&(c=e.length)){var e,r,i,u,o,a,l,c,f=1/0,s=-(1/0),h=1/0,p=-(1/0);if(e.forEach(Ei),r=e[0],r.x=-r.r,r.y=0,t(r),c>1&&(i=e[1],i.x=i.r,i.y=0,t(i),c>2))for(u=e[2],zi(r,i,u),t(u),wi(r,u),r._pack_prev=u,wi(u,i),i=r._pack_next,o=3;c>o;o++){zi(r,i,u=e[o]);var g=0,v=1,d=1;for(a=i._pack_next;a!==i;a=a._pack_next,v++)if(ki(a,u)){g=1;break}if(1==g)for(l=r._pack_prev;l!==a._pack_prev&&!ki(l,u);l=l._pack_prev,d++);g?(d>v||v==d&&i.ro;o++)u=e[o],u.x-=y,u.y-=m,M=Math.max(M,u.r+Math.sqrt(u.x*u.x+u.y*u.y));n.r=M,e.forEach(Ai)}}function Ei(n){n._pack_next=n._pack_prev=n}function Ai(n){delete n._pack_next,delete n._pack_prev}function Ci(n,t,e,r){var i=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,i)for(var u=-1,o=i.length;++u=0;)t=i[u],t.z+=e,t.m+=e,e+=t.s+(r+=t.c)}function Pi(n,t,e){return n.a.parent===t.parent?n.a:e}function Ui(n){return 1+ao.max(n,function(n){return n.y})}function ji(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}function Fi(n){var t=n.children;return t&&t.length?Fi(t[0]):n}function Hi(n){var t,e=n.children;return e&&(t=e.length)?Hi(e[t-1]):n}function Oi(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function Ii(n,t){var e=n.x+t[3],r=n.y+t[0],i=n.dx-t[1]-t[3],u=n.dy-t[0]-t[2];return 0>i&&(e+=i/2,i=0),0>u&&(r+=u/2,u=0),{x:e,y:r,dx:i,dy:u}}function Yi(n){var t=n[0],e=n[n.length-1];return e>t?[t,e]:[e,t]}function Zi(n){return n.rangeExtent?n.rangeExtent():Yi(n.range())}function Vi(n,t,e,r){var i=e(n[0],n[1]),u=r(t[0],t[1]);return function(n){return u(i(n))}}function Xi(n,t){var e,r=0,i=n.length-1,u=n[r],o=n[i];return u>o&&(e=r,r=i,i=e,e=u,u=o,o=e),n[r]=t.floor(u),n[i]=t.ceil(o),n}function $i(n){return n?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:Sl}function Bi(n,t,e,r){var i=[],u=[],o=0,a=Math.min(n.length,t.length)-1;for(n[a]2?Bi:Vi,l=r?Wr:Br;return o=i(n,t,l,e),a=i(t,n,l,Mr),u}function u(n){return o(n)}var o,a;return u.invert=function(n){return a(n)},u.domain=function(t){return arguments.length?(n=t.map(Number),i()):n},u.range=function(n){return arguments.length?(t=n,i()):t},u.rangeRound=function(n){return u.range(n).interpolate(Ur)},u.clamp=function(n){return arguments.length?(r=n,i()):r},u.interpolate=function(n){return arguments.length?(e=n,i()):e},u.ticks=function(t){return Qi(n,t)},u.tickFormat=function(t,e){return nu(n,t,e)},u.nice=function(t){return Gi(n,t),i()},u.copy=function(){return Wi(n,t,e,r)},i()}function Ji(n,t){return ao.rebind(n,t,"range","rangeRound","interpolate","clamp")}function Gi(n,t){return Xi(n,$i(Ki(n,t)[2])),Xi(n,$i(Ki(n,t)[2])),n}function Ki(n,t){null==t&&(t=10);var e=Yi(n),r=e[1]-e[0],i=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),u=t/r*i;return.15>=u?i*=10:.35>=u?i*=5:.75>=u&&(i*=2),e[0]=Math.ceil(e[0]/i)*i,e[1]=Math.floor(e[1]/i)*i+.5*i,e[2]=i,e}function Qi(n,t){return ao.range.apply(ao,Ki(n,t))}function nu(n,t,e){var r=Ki(n,t);if(e){var i=ha.exec(e);if(i.shift(),"s"===i[8]){var u=ao.formatPrefix(Math.max(xo(r[0]),xo(r[1])));return i[7]||(i[7]="."+tu(u.scale(r[2]))),i[8]="f",e=ao.format(i.join("")),function(n){return e(u.scale(n))+u.symbol}}i[7]||(i[7]="."+eu(i[8],r)),e=i.join("")}else e=",."+tu(r[2])+"f";return ao.format(e)}function tu(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}function eu(n,t){var e=tu(t[2]);return n in kl?Math.abs(e-tu(Math.max(xo(t[0]),xo(t[1]))))+ +("e"!==n):e-2*("%"===n)}function ru(n,t,e,r){function i(n){return(e?Math.log(0>n?0:n):-Math.log(n>0?0:-n))/Math.log(t)}function u(n){return e?Math.pow(t,n):-Math.pow(t,-n)}function o(t){return n(i(t))}return o.invert=function(t){return u(n.invert(t))},o.domain=function(t){return arguments.length?(e=t[0]>=0,n.domain((r=t.map(Number)).map(i)),o):r},o.base=function(e){return arguments.length?(t=+e,n.domain(r.map(i)),o):t},o.nice=function(){var t=Xi(r.map(i),e?Math:El);return n.domain(t),r=t.map(u),o},o.ticks=function(){var n=Yi(r),o=[],a=n[0],l=n[1],c=Math.floor(i(a)),f=Math.ceil(i(l)),s=t%1?2:t;if(isFinite(f-c)){if(e){for(;f>c;c++)for(var h=1;s>h;h++)o.push(u(c)*h);o.push(u(c))}else for(o.push(u(c));c++0;h--)o.push(u(c)*h);for(c=0;o[c]l;f--);o=o.slice(c,f)}return o},o.tickFormat=function(n,e){if(!arguments.length)return Nl;arguments.length<2?e=Nl:"function"!=typeof e&&(e=ao.format(e));var r=Math.max(1,t*n/o.ticks().length);return function(n){var o=n/u(Math.round(i(n)));return t-.5>o*t&&(o*=t),r>=o?e(n):""}},o.copy=function(){return ru(n.copy(),t,e,r)},Ji(o,n)}function iu(n,t,e){function r(t){return n(i(t))}var i=uu(t),u=uu(1/t);return r.invert=function(t){return u(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain((e=t.map(Number)).map(i)),r):e},r.ticks=function(n){return Qi(e,n)},r.tickFormat=function(n,t){return nu(e,n,t)},r.nice=function(n){return r.domain(Gi(e,n))},r.exponent=function(o){return arguments.length?(i=uu(t=o),u=uu(1/t),n.domain(e.map(i)),r):t},r.copy=function(){return iu(n.copy(),t,e)},Ji(r,n)}function uu(n){return function(t){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}}function ou(n,t){function e(e){return u[((i.get(e)||("range"===t.t?i.set(e,n.push(e)):NaN))-1)%u.length]}function r(t,e){return ao.range(n.length).map(function(n){return t+e*n})}var i,u,o;return e.domain=function(r){if(!arguments.length)return n;n=[],i=new c;for(var u,o=-1,a=r.length;++oe?[NaN,NaN]:[e>0?a[e-1]:n[0],et?NaN:t/u+n,[t,t+1/u]},r.copy=function(){return lu(n,t,e)},i()}function cu(n,t){function e(e){return e>=e?t[ao.bisect(n,e)]:void 0}return e.domain=function(t){return arguments.length?(n=t,e):n},e.range=function(n){return arguments.length?(t=n,e):t},e.invertExtent=function(e){return e=t.indexOf(e),[n[e-1],n[e]]},e.copy=function(){return cu(n,t)},e}function fu(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return Qi(n,t)},t.tickFormat=function(t,e){return nu(n,t,e)},t.copy=function(){return fu(n)},t}function su(){return 0}function hu(n){return n.innerRadius}function pu(n){return n.outerRadius}function gu(n){return n.startAngle}function vu(n){return n.endAngle}function du(n){return n&&n.padAngle}function yu(n,t,e,r){return(n-e)*t-(t-r)*n>0?0:1}function mu(n,t,e,r,i){var u=n[0]-t[0],o=n[1]-t[1],a=(i?r:-r)/Math.sqrt(u*u+o*o),l=a*o,c=-a*u,f=n[0]+l,s=n[1]+c,h=t[0]+l,p=t[1]+c,g=(f+h)/2,v=(s+p)/2,d=h-f,y=p-s,m=d*d+y*y,M=e-r,x=f*p-h*s,b=(0>y?-1:1)*Math.sqrt(Math.max(0,M*M*m-x*x)),_=(x*y-d*b)/m,w=(-x*d-y*b)/m,S=(x*y+d*b)/m,k=(-x*d+y*b)/m,N=_-g,E=w-v,A=S-g,C=k-v;return N*N+E*E>A*A+C*C&&(_=S,w=k),[[_-l,w-c],[_*e/M,w*e/M]]}function Mu(n){function t(t){function o(){c.push("M",u(n(f),a))}for(var l,c=[],f=[],s=-1,h=t.length,p=En(e),g=En(r);++s1?n.join("L"):n+"Z"}function bu(n){return n.join("L")+"Z"}function _u(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1&&i.push("H",r[0]),i.join("")}function wu(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1){a=t[1],u=n[l],l++,r+="C"+(i[0]+o[0])+","+(i[1]+o[1])+","+(u[0]-a[0])+","+(u[1]-a[1])+","+u[0]+","+u[1];for(var c=2;c9&&(i=3*t/Math.sqrt(i),o[a]=i*e,o[a+1]=i*r));for(a=-1;++a<=l;)i=(n[Math.min(l,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),u.push([i||0,o[a]*i||0]);return u}function Fu(n){return n.length<3?xu(n):n[0]+Au(n,ju(n))}function Hu(n){for(var t,e,r,i=-1,u=n.length;++i=t?o(n-t):void(f.c=o)}function o(e){var i=g.active,u=g[i];u&&(u.timer.c=null,u.timer.t=NaN,--g.count,delete g[i],u.event&&u.event.interrupt.call(n,n.__data__,u.index));for(var o in g)if(r>+o){var c=g[o];c.timer.c=null,c.timer.t=NaN,--g.count,delete g[o]}f.c=a,qn(function(){return f.c&&a(e||1)&&(f.c=null,f.t=NaN),1},0,l),g.active=r,v.event&&v.event.start.call(n,n.__data__,t),p=[],v.tween.forEach(function(e,r){(r=r.call(n,n.__data__,t))&&p.push(r)}),h=v.ease,s=v.duration}function a(i){for(var u=i/s,o=h(u),a=p.length;a>0;)p[--a].call(n,o);return u>=1?(v.event&&v.event.end.call(n,n.__data__,t),--g.count?delete g[r]:delete n[e],1):void 0}var l,f,s,h,p,g=n[e]||(n[e]={active:0,count:0}),v=g[r];v||(l=i.time,f=qn(u,0,l),v=g[r]={tween:new c,time:l,timer:f,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++g.count)}function no(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate("+(isFinite(r)?r:e(n))+",0)"})}function to(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate(0,"+(isFinite(r)?r:e(n))+")"})}function eo(n){return n.toISOString()}function ro(n,t,e){function r(t){return n(t)}function i(n,e){var r=n[1]-n[0],i=r/e,u=ao.bisect(Kl,i);return u==Kl.length?[t.year,Ki(n.map(function(n){return n/31536e6}),e)[2]]:u?t[i/Kl[u-1]1?{floor:function(t){for(;e(t=n.floor(t));)t=io(t-1);return t},ceil:function(t){for(;e(t=n.ceil(t));)t=io(+t+1);return t}}:n))},r.ticks=function(n,t){var e=Yi(r.domain()),u=null==n?i(e,10):"number"==typeof n?i(e,n):!n.range&&[{range:n},t];return u&&(n=u[0],t=u[1]),n.range(e[0],io(+e[1]+1),1>t?1:t)},r.tickFormat=function(){return e},r.copy=function(){return ro(n.copy(),t,e)},Ji(r,n)}function io(n){return new Date(n)}function uo(n){return JSON.parse(n.responseText)}function oo(n){var t=fo.createRange();return t.selectNode(fo.body),t.createContextualFragment(n.responseText)}var ao={version:"3.5.17"},lo=[].slice,co=function(n){return lo.call(n)},fo=this.document;if(fo)try{co(fo.documentElement.childNodes)[0].nodeType}catch(so){co=function(n){for(var t=n.length,e=new Array(t);t--;)e[t]=n[t];return e}}if(Date.now||(Date.now=function(){return+new Date}),fo)try{fo.createElement("DIV").style.setProperty("opacity",0,"")}catch(ho){var po=this.Element.prototype,go=po.setAttribute,vo=po.setAttributeNS,yo=this.CSSStyleDeclaration.prototype,mo=yo.setProperty;po.setAttribute=function(n,t){go.call(this,n,t+"")},po.setAttributeNS=function(n,t,e){vo.call(this,n,t,e+"")},yo.setProperty=function(n,t,e){mo.call(this,n,t+"",e)}}ao.ascending=e,ao.descending=function(n,t){return n>t?-1:t>n?1:t>=n?0:NaN},ao.min=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ir&&(e=r)}else{for(;++i=r){e=r;break}for(;++ir&&(e=r)}return e},ao.max=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ie&&(e=r)}else{for(;++i=r){e=r;break}for(;++ie&&(e=r)}return e},ao.extent=function(n,t){var e,r,i,u=-1,o=n.length;if(1===arguments.length){for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}else{for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}return[e,i]},ao.sum=function(n,t){var e,r=0,u=n.length,o=-1;if(1===arguments.length)for(;++o1?l/(f-1):void 0},ao.deviation=function(){var n=ao.variance.apply(this,arguments);return n?Math.sqrt(n):n};var Mo=u(e);ao.bisectLeft=Mo.left,ao.bisect=ao.bisectRight=Mo.right,ao.bisector=function(n){return u(1===n.length?function(t,r){return e(n(t),r)}:n)},ao.shuffle=function(n,t,e){(u=arguments.length)<3&&(e=n.length,2>u&&(t=0));for(var r,i,u=e-t;u;)i=Math.random()*u--|0,r=n[u+t],n[u+t]=n[i+t],n[i+t]=r;return n},ao.permute=function(n,t){for(var e=t.length,r=new Array(e);e--;)r[e]=n[t[e]];return r},ao.pairs=function(n){for(var t,e=0,r=n.length-1,i=n[0],u=new Array(0>r?0:r);r>e;)u[e]=[t=i,i=n[++e]];return u},ao.transpose=function(n){if(!(i=n.length))return[];for(var t=-1,e=ao.min(n,o),r=new Array(e);++t=0;)for(r=n[i],t=r.length;--t>=0;)e[--o]=r[t];return e};var xo=Math.abs;ao.range=function(n,t,e){if(arguments.length<3&&(e=1,arguments.length<2&&(t=n,n=0)),(t-n)/e===1/0)throw new Error("infinite range");var r,i=[],u=a(xo(e)),o=-1;if(n*=u,t*=u,e*=u,0>e)for(;(r=n+e*++o)>t;)i.push(r/u);else for(;(r=n+e*++o)=u.length)return r?r.call(i,o):e?o.sort(e):o;for(var l,f,s,h,p=-1,g=o.length,v=u[a++],d=new c;++p=u.length)return n;var r=[],i=o[e++];return n.forEach(function(n,i){r.push({key:n,values:t(i,e)})}),i?r.sort(function(n,t){return i(n.key,t.key)}):r}var e,r,i={},u=[],o=[];return i.map=function(t,e){return n(e,t,0)},i.entries=function(e){return t(n(ao.map,e,0),0)},i.key=function(n){return u.push(n),i},i.sortKeys=function(n){return o[u.length-1]=n,i},i.sortValues=function(n){return e=n,i},i.rollup=function(n){return r=n,i},i},ao.set=function(n){var t=new y;if(n)for(var e=0,r=n.length;r>e;++e)t.add(n[e]);return t},l(y,{has:h,add:function(n){return this._[f(n+="")]=!0,n},remove:p,values:g,size:v,empty:d,forEach:function(n){for(var t in this._)n.call(this,s(t))}}),ao.behavior={},ao.rebind=function(n,t){for(var e,r=1,i=arguments.length;++r=0&&(r=n.slice(e+1),n=n.slice(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},ao.event=null,ao.requote=function(n){return n.replace(So,"\\$&")};var So=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ko={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]},No=function(n,t){return t.querySelector(n)},Eo=function(n,t){return t.querySelectorAll(n)},Ao=function(n,t){var e=n.matches||n[x(n,"matchesSelector")];return(Ao=function(n,t){return e.call(n,t)})(n,t)};"function"==typeof Sizzle&&(No=function(n,t){return Sizzle(n,t)[0]||null},Eo=Sizzle,Ao=Sizzle.matchesSelector),ao.selection=function(){return ao.select(fo.documentElement)};var Co=ao.selection.prototype=[];Co.select=function(n){var t,e,r,i,u=[];n=A(n);for(var o=-1,a=this.length;++o=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),Lo.hasOwnProperty(e)?{space:Lo[e],local:n}:n}},Co.attr=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node();return n=ao.ns.qualify(n),n.local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(z(t,n[t]));return this}return this.each(z(n,t))},Co.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=T(n)).length,i=-1;if(t=e.classList){for(;++ii){if("string"!=typeof n){2>i&&(e="");for(r in n)this.each(P(r,n[r],e));return this}if(2>i){var u=this.node();return t(u).getComputedStyle(u,null).getPropertyValue(n)}r=""}return this.each(P(n,e,r))},Co.property=function(n,t){if(arguments.length<2){if("string"==typeof n)return this.node()[n];for(t in n)this.each(U(t,n[t]));return this}return this.each(U(n,t))},Co.text=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.textContent=null==t?"":t}:null==n?function(){this.textContent=""}:function(){this.textContent=n}):this.node().textContent},Co.html=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}:null==n?function(){this.innerHTML=""}:function(){this.innerHTML=n}):this.node().innerHTML},Co.append=function(n){return n=j(n),this.select(function(){return this.appendChild(n.apply(this,arguments))})},Co.insert=function(n,t){return n=j(n),t=A(t),this.select(function(){return this.insertBefore(n.apply(this,arguments),t.apply(this,arguments)||null)})},Co.remove=function(){return this.each(F)},Co.data=function(n,t){function e(n,e){var r,i,u,o=n.length,s=e.length,h=Math.min(o,s),p=new Array(s),g=new Array(s),v=new Array(o);if(t){var d,y=new c,m=new Array(o);for(r=-1;++rr;++r)g[r]=H(e[r]);for(;o>r;++r)v[r]=n[r]}g.update=p,g.parentNode=p.parentNode=v.parentNode=n.parentNode,a.push(g),l.push(p),f.push(v)}var r,i,u=-1,o=this.length;if(!arguments.length){for(n=new Array(o=(r=this[0]).length);++uu;u++){i.push(t=[]),t.parentNode=(e=this[u]).parentNode;for(var a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return E(i)},Co.order=function(){for(var n=-1,t=this.length;++n=0;)(e=r[i])&&(u&&u!==e.nextSibling&&u.parentNode.insertBefore(e,u),u=e);return this},Co.sort=function(n){n=I.apply(this,arguments);for(var t=-1,e=this.length;++tn;n++)for(var e=this[n],r=0,i=e.length;i>r;r++){var u=e[r];if(u)return u}return null},Co.size=function(){var n=0;return Y(this,function(){++n}),n};var qo=[];ao.selection.enter=Z,ao.selection.enter.prototype=qo,qo.append=Co.append,qo.empty=Co.empty,qo.node=Co.node,qo.call=Co.call,qo.size=Co.size,qo.select=function(n){for(var t,e,r,i,u,o=[],a=-1,l=this.length;++ar){if("string"!=typeof n){2>r&&(t=!1);for(e in n)this.each(X(e,n[e],t));return this}if(2>r)return(r=this.node()["__on"+n])&&r._;e=!1}return this.each(X(n,t,e))};var To=ao.map({mouseenter:"mouseover",mouseleave:"mouseout"});fo&&To.forEach(function(n){"on"+n in fo&&To.remove(n)});var Ro,Do=0;ao.mouse=function(n){return J(n,k())};var Po=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;ao.touch=function(n,t,e){if(arguments.length<3&&(e=t,t=k().changedTouches),t)for(var r,i=0,u=t.length;u>i;++i)if((r=t[i]).identifier===e)return J(n,r)},ao.behavior.drag=function(){function n(){this.on("mousedown.drag",u).on("touchstart.drag",o)}function e(n,t,e,u,o){return function(){function a(){var n,e,r=t(h,v);r&&(n=r[0]-M[0],e=r[1]-M[1],g|=n|e,M=r,p({type:"drag",x:r[0]+c[0],y:r[1]+c[1],dx:n,dy:e}))}function l(){t(h,v)&&(y.on(u+d,null).on(o+d,null),m(g),p({type:"dragend"}))}var c,f=this,s=ao.event.target.correspondingElement||ao.event.target,h=f.parentNode,p=r.of(f,arguments),g=0,v=n(),d=".drag"+(null==v?"":"-"+v),y=ao.select(e(s)).on(u+d,a).on(o+d,l),m=W(s),M=t(h,v);i?(c=i.apply(f,arguments),c=[c.x-M[0],c.y-M[1]]):c=[0,0],p({type:"dragstart"})}}var r=N(n,"drag","dragstart","dragend"),i=null,u=e(b,ao.mouse,t,"mousemove","mouseup"),o=e(G,ao.touch,m,"touchmove","touchend");return n.origin=function(t){return arguments.length?(i=t,n):i},ao.rebind(n,r,"on")},ao.touches=function(n,t){return arguments.length<2&&(t=k().touches),t?co(t).map(function(t){var e=J(n,t);return e.identifier=t.identifier,e}):[]};var Uo=1e-6,jo=Uo*Uo,Fo=Math.PI,Ho=2*Fo,Oo=Ho-Uo,Io=Fo/2,Yo=Fo/180,Zo=180/Fo,Vo=Math.SQRT2,Xo=2,$o=4;ao.interpolateZoom=function(n,t){var e,r,i=n[0],u=n[1],o=n[2],a=t[0],l=t[1],c=t[2],f=a-i,s=l-u,h=f*f+s*s;if(jo>h)r=Math.log(c/o)/Vo,e=function(n){return[i+n*f,u+n*s,o*Math.exp(Vo*n*r)]};else{var p=Math.sqrt(h),g=(c*c-o*o+$o*h)/(2*o*Xo*p),v=(c*c-o*o-$o*h)/(2*c*Xo*p),d=Math.log(Math.sqrt(g*g+1)-g),y=Math.log(Math.sqrt(v*v+1)-v);r=(y-d)/Vo,e=function(n){var t=n*r,e=rn(d),a=o/(Xo*p)*(e*un(Vo*t+d)-en(d));return[i+a*f,u+a*s,o*e/rn(Vo*t+d)]}}return e.duration=1e3*r,e},ao.behavior.zoom=function(){function n(n){n.on(L,s).on(Wo+".zoom",p).on("dblclick.zoom",g).on(R,h)}function e(n){return[(n[0]-k.x)/k.k,(n[1]-k.y)/k.k]}function r(n){return[n[0]*k.k+k.x,n[1]*k.k+k.y]}function i(n){k.k=Math.max(A[0],Math.min(A[1],n))}function u(n,t){t=r(t),k.x+=n[0]-t[0],k.y+=n[1]-t[1]}function o(t,e,r,o){t.__chart__={x:k.x,y:k.y,k:k.k},i(Math.pow(2,o)),u(d=e,r),t=ao.select(t),C>0&&(t=t.transition().duration(C)),t.call(n.event)}function a(){b&&b.domain(x.range().map(function(n){return(n-k.x)/k.k}).map(x.invert)),w&&w.domain(_.range().map(function(n){return(n-k.y)/k.k}).map(_.invert))}function l(n){z++||n({type:"zoomstart"})}function c(n){a(),n({type:"zoom",scale:k.k,translate:[k.x,k.y]})}function f(n){--z||(n({type:"zoomend"}),d=null)}function s(){function n(){a=1,u(ao.mouse(i),h),c(o)}function r(){s.on(q,null).on(T,null),p(a),f(o)}var i=this,o=D.of(i,arguments),a=0,s=ao.select(t(i)).on(q,n).on(T,r),h=e(ao.mouse(i)),p=W(i);Il.call(i),l(o)}function h(){function n(){var n=ao.touches(g);return p=k.k,n.forEach(function(n){n.identifier in d&&(d[n.identifier]=e(n))}),n}function t(){var t=ao.event.target;ao.select(t).on(x,r).on(b,a),_.push(t);for(var e=ao.event.changedTouches,i=0,u=e.length;u>i;++i)d[e[i].identifier]=null;var l=n(),c=Date.now();if(1===l.length){if(500>c-M){var f=l[0];o(g,f,d[f.identifier],Math.floor(Math.log(k.k)/Math.LN2)+1),S()}M=c}else if(l.length>1){var f=l[0],s=l[1],h=f[0]-s[0],p=f[1]-s[1];y=h*h+p*p}}function r(){var n,t,e,r,o=ao.touches(g);Il.call(g);for(var a=0,l=o.length;l>a;++a,r=null)if(e=o[a],r=d[e.identifier]){if(t)break;n=e,t=r}if(r){var f=(f=e[0]-n[0])*f+(f=e[1]-n[1])*f,s=y&&Math.sqrt(f/y);n=[(n[0]+e[0])/2,(n[1]+e[1])/2],t=[(t[0]+r[0])/2,(t[1]+r[1])/2],i(s*p)}M=null,u(n,t),c(v)}function a(){if(ao.event.touches.length){for(var t=ao.event.changedTouches,e=0,r=t.length;r>e;++e)delete d[t[e].identifier];for(var i in d)return void n()}ao.selectAll(_).on(m,null),w.on(L,s).on(R,h),N(),f(v)}var p,g=this,v=D.of(g,arguments),d={},y=0,m=".zoom-"+ao.event.changedTouches[0].identifier,x="touchmove"+m,b="touchend"+m,_=[],w=ao.select(g),N=W(g);t(),l(v),w.on(L,null).on(R,t)}function p(){var n=D.of(this,arguments);m?clearTimeout(m):(Il.call(this),v=e(d=y||ao.mouse(this)),l(n)),m=setTimeout(function(){m=null,f(n)},50),S(),i(Math.pow(2,.002*Bo())*k.k),u(d,v),c(n)}function g(){var n=ao.mouse(this),t=Math.log(k.k)/Math.LN2;o(this,n,e(n),ao.event.shiftKey?Math.ceil(t)-1:Math.floor(t)+1)}var v,d,y,m,M,x,b,_,w,k={x:0,y:0,k:1},E=[960,500],A=Jo,C=250,z=0,L="mousedown.zoom",q="mousemove.zoom",T="mouseup.zoom",R="touchstart.zoom",D=N(n,"zoomstart","zoom","zoomend");return Wo||(Wo="onwheel"in fo?(Bo=function(){return-ao.event.deltaY*(ao.event.deltaMode?120:1)},"wheel"):"onmousewheel"in fo?(Bo=function(){return ao.event.wheelDelta},"mousewheel"):(Bo=function(){return-ao.event.detail},"MozMousePixelScroll")),n.event=function(n){n.each(function(){var n=D.of(this,arguments),t=k;Hl?ao.select(this).transition().each("start.zoom",function(){k=this.__chart__||{x:0,y:0,k:1},l(n)}).tween("zoom:zoom",function(){var e=E[0],r=E[1],i=d?d[0]:e/2,u=d?d[1]:r/2,o=ao.interpolateZoom([(i-k.x)/k.k,(u-k.y)/k.k,e/k.k],[(i-t.x)/t.k,(u-t.y)/t.k,e/t.k]);return function(t){var r=o(t),a=e/r[2];this.__chart__=k={x:i-r[0]*a,y:u-r[1]*a,k:a},c(n)}}).each("interrupt.zoom",function(){f(n)}).each("end.zoom",function(){f(n)}):(this.__chart__=k,l(n),c(n),f(n))})},n.translate=function(t){return arguments.length?(k={x:+t[0],y:+t[1],k:k.k},a(),n):[k.x,k.y]},n.scale=function(t){return arguments.length?(k={x:k.x,y:k.y,k:null},i(+t),a(),n):k.k},n.scaleExtent=function(t){return arguments.length?(A=null==t?Jo:[+t[0],+t[1]],n):A},n.center=function(t){return arguments.length?(y=t&&[+t[0],+t[1]],n):y},n.size=function(t){return arguments.length?(E=t&&[+t[0],+t[1]],n):E},n.duration=function(t){return arguments.length?(C=+t,n):C},n.x=function(t){return arguments.length?(b=t,x=t.copy(),k={x:0,y:0,k:1},n):b},n.y=function(t){return arguments.length?(w=t,_=t.copy(),k={x:0,y:0,k:1},n):w},ao.rebind(n,D,"on")};var Bo,Wo,Jo=[0,1/0];ao.color=an,an.prototype.toString=function(){return this.rgb()+""},ao.hsl=ln;var Go=ln.prototype=new an;Go.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,this.l/n)},Go.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,n*this.l)},Go.rgb=function(){return cn(this.h,this.s,this.l)},ao.hcl=fn;var Ko=fn.prototype=new an;Ko.brighter=function(n){return new fn(this.h,this.c,Math.min(100,this.l+Qo*(arguments.length?n:1)))},Ko.darker=function(n){return new fn(this.h,this.c,Math.max(0,this.l-Qo*(arguments.length?n:1)))},Ko.rgb=function(){return sn(this.h,this.c,this.l).rgb()},ao.lab=hn;var Qo=18,na=.95047,ta=1,ea=1.08883,ra=hn.prototype=new an;ra.brighter=function(n){return new hn(Math.min(100,this.l+Qo*(arguments.length?n:1)),this.a,this.b)},ra.darker=function(n){return new hn(Math.max(0,this.l-Qo*(arguments.length?n:1)),this.a,this.b)},ra.rgb=function(){return pn(this.l,this.a,this.b)},ao.rgb=mn;var ia=mn.prototype=new an;ia.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,i=30;return t||e||r?(t&&i>t&&(t=i),e&&i>e&&(e=i),r&&i>r&&(r=i),new mn(Math.min(255,t/n),Math.min(255,e/n),Math.min(255,r/n))):new mn(i,i,i)},ia.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new mn(n*this.r,n*this.g,n*this.b)},ia.hsl=function(){return wn(this.r,this.g,this.b)},ia.toString=function(){return"#"+bn(this.r)+bn(this.g)+bn(this.b)};var ua=ao.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});ua.forEach(function(n,t){ua.set(n,Mn(t))}),ao.functor=En,ao.xhr=An(m),ao.dsv=function(n,t){function e(n,e,u){arguments.length<3&&(u=e,e=null);var o=Cn(n,t,null==e?r:i(e),u);return o.row=function(n){return arguments.length?o.response(null==(e=n)?r:i(n)):e},o}function r(n){return e.parse(n.responseText)}function i(n){return function(t){return e.parse(t.responseText,n)}}function u(t){return t.map(o).join(n)}function o(n){return a.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}var a=new RegExp('["'+n+"\n]"),l=n.charCodeAt(0);return e.parse=function(n,t){var r;return e.parseRows(n,function(n,e){if(r)return r(n,e-1);var i=new Function("d","return {"+n.map(function(n,t){return JSON.stringify(n)+": d["+t+"]"}).join(",")+"}");r=t?function(n,e){return t(i(n),e)}:i})},e.parseRows=function(n,t){function e(){if(f>=c)return o;if(i)return i=!1,u;var t=f;if(34===n.charCodeAt(t)){for(var e=t;e++f;){var r=n.charCodeAt(f++),a=1;if(10===r)i=!0;else if(13===r)i=!0,10===n.charCodeAt(f)&&(++f,++a);else if(r!==l)continue;return n.slice(t,f-a)}return n.slice(t)}for(var r,i,u={},o={},a=[],c=n.length,f=0,s=0;(r=e())!==o;){for(var h=[];r!==u&&r!==o;)h.push(r),r=e();t&&null==(h=t(h,s++))||a.push(h)}return a},e.format=function(t){if(Array.isArray(t[0]))return e.formatRows(t);var r=new y,i=[];return t.forEach(function(n){for(var t in n)r.has(t)||i.push(r.add(t))}),[i.map(o).join(n)].concat(t.map(function(t){return i.map(function(n){return o(t[n])}).join(n)})).join("\n")},e.formatRows=function(n){return n.map(u).join("\n")},e},ao.csv=ao.dsv(",","text/csv"),ao.tsv=ao.dsv(" ","text/tab-separated-values");var oa,aa,la,ca,fa=this[x(this,"requestAnimationFrame")]||function(n){setTimeout(n,17)};ao.timer=function(){qn.apply(this,arguments)},ao.timer.flush=function(){Rn(),Dn()},ao.round=function(n,t){return t?Math.round(n*(t=Math.pow(10,t)))/t:Math.round(n)};var sa=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"].map(Un);ao.formatPrefix=function(n,t){var e=0;return(n=+n)&&(0>n&&(n*=-1),t&&(n=ao.round(n,Pn(n,t))),e=1+Math.floor(1e-12+Math.log(n)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((e-1)/3)))),sa[8+e/3]};var ha=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,pa=ao.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,t){return(n=ao.round(n,Pn(n,t))).toFixed(Math.max(0,Math.min(20,Pn(n*(1+1e-15),t))))}}),ga=ao.time={},va=Date;Hn.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){da.setUTCDate.apply(this._,arguments)},setDay:function(){da.setUTCDay.apply(this._,arguments)},setFullYear:function(){da.setUTCFullYear.apply(this._,arguments)},setHours:function(){da.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){da.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){da.setUTCMinutes.apply(this._,arguments)},setMonth:function(){da.setUTCMonth.apply(this._,arguments)},setSeconds:function(){da.setUTCSeconds.apply(this._,arguments)},setTime:function(){da.setTime.apply(this._,arguments)}};var da=Date.prototype;ga.year=On(function(n){return n=ga.day(n),n.setMonth(0,1),n},function(n,t){n.setFullYear(n.getFullYear()+t)},function(n){return n.getFullYear()}),ga.years=ga.year.range,ga.years.utc=ga.year.utc.range,ga.day=On(function(n){var t=new va(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t},function(n,t){n.setDate(n.getDate()+t)},function(n){return n.getDate()-1}),ga.days=ga.day.range,ga.days.utc=ga.day.utc.range,ga.dayOfYear=function(n){var t=ga.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(n,t){t=7-t;var e=ga[n]=On(function(n){return(n=ga.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n},function(n,t){n.setDate(n.getDate()+7*Math.floor(t))},function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)-(e!==t)});ga[n+"s"]=e.range,ga[n+"s"].utc=e.utc.range,ga[n+"OfYear"]=function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)}}),ga.week=ga.sunday,ga.weeks=ga.sunday.range,ga.weeks.utc=ga.sunday.utc.range,ga.weekOfYear=ga.sundayOfYear;var ya={"-":"",_:" ",0:"0"},ma=/^\s*\d+/,Ma=/^%/;ao.locale=function(n){return{numberFormat:jn(n),timeFormat:Yn(n)}};var xa=ao.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"], +shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});ao.format=xa.numberFormat,ao.geo={},ft.prototype={s:0,t:0,add:function(n){st(n,this.t,ba),st(ba.s,this.s,this),this.s?this.t+=ba.t:this.s=ba.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var ba=new ft;ao.geo.stream=function(n,t){n&&_a.hasOwnProperty(n.type)?_a[n.type](n,t):ht(n,t)};var _a={Feature:function(n,t){ht(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,i=e.length;++rn?4*Fo+n:n,Na.lineStart=Na.lineEnd=Na.point=b}};ao.geo.bounds=function(){function n(n,t){M.push(x=[f=n,h=n]),s>t&&(s=t),t>p&&(p=t)}function t(t,e){var r=dt([t*Yo,e*Yo]);if(y){var i=mt(y,r),u=[i[1],-i[0],0],o=mt(u,i);bt(o),o=_t(o);var l=t-g,c=l>0?1:-1,v=o[0]*Zo*c,d=xo(l)>180;if(d^(v>c*g&&c*t>v)){var m=o[1]*Zo;m>p&&(p=m)}else if(v=(v+360)%360-180,d^(v>c*g&&c*t>v)){var m=-o[1]*Zo;s>m&&(s=m)}else s>e&&(s=e),e>p&&(p=e);d?g>t?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t):h>=f?(f>t&&(f=t),t>h&&(h=t)):t>g?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t)}else n(t,e);y=r,g=t}function e(){b.point=t}function r(){x[0]=f,x[1]=h,b.point=n,y=null}function i(n,e){if(y){var r=n-g;m+=xo(r)>180?r+(r>0?360:-360):r}else v=n,d=e;Na.point(n,e),t(n,e)}function u(){Na.lineStart()}function o(){i(v,d),Na.lineEnd(),xo(m)>Uo&&(f=-(h=180)),x[0]=f,x[1]=h,y=null}function a(n,t){return(t-=n)<0?t+360:t}function l(n,t){return n[0]-t[0]}function c(n,t){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nka?(f=-(h=180),s=-(p=90)):m>Uo?p=90:-Uo>m&&(s=-90),x[0]=f,x[1]=h}};return function(n){p=h=-(f=s=1/0),M=[],ao.geo.stream(n,b);var t=M.length;if(t){M.sort(l);for(var e,r=1,i=M[0],u=[i];t>r;++r)e=M[r],c(e[0],i)||c(e[1],i)?(a(i[0],e[1])>a(i[0],i[1])&&(i[1]=e[1]),a(e[0],i[1])>a(i[0],i[1])&&(i[0]=e[0])):u.push(i=e);for(var o,e,g=-(1/0),t=u.length-1,r=0,i=u[t];t>=r;i=e,++r)e=u[r],(o=a(i[1],e[0]))>g&&(g=o,f=e[0],h=i[1])}return M=x=null,f===1/0||s===1/0?[[NaN,NaN],[NaN,NaN]]:[[f,s],[h,p]]}}(),ao.geo.centroid=function(n){Ea=Aa=Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,ja);var t=Da,e=Pa,r=Ua,i=t*t+e*e+r*r;return jo>i&&(t=qa,e=Ta,r=Ra,Uo>Aa&&(t=Ca,e=za,r=La),i=t*t+e*e+r*r,jo>i)?[NaN,NaN]:[Math.atan2(e,t)*Zo,tn(r/Math.sqrt(i))*Zo]};var Ea,Aa,Ca,za,La,qa,Ta,Ra,Da,Pa,Ua,ja={sphere:b,point:St,lineStart:Nt,lineEnd:Et,polygonStart:function(){ja.lineStart=At},polygonEnd:function(){ja.lineStart=Nt}},Fa=Rt(zt,jt,Ht,[-Fo,-Fo/2]),Ha=1e9;ao.geo.clipExtent=function(){var n,t,e,r,i,u,o={stream:function(n){return i&&(i.valid=!1),i=u(n),i.valid=!0,i},extent:function(a){return arguments.length?(u=Zt(n=+a[0][0],t=+a[0][1],e=+a[1][0],r=+a[1][1]),i&&(i.valid=!1,i=null),o):[[n,t],[e,r]]}};return o.extent([[0,0],[960,500]])},(ao.geo.conicEqualArea=function(){return Vt(Xt)}).raw=Xt,ao.geo.albers=function(){return ao.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},ao.geo.albersUsa=function(){function n(n){var u=n[0],o=n[1];return t=null,e(u,o),t||(r(u,o),t)||i(u,o),t}var t,e,r,i,u=ao.geo.albers(),o=ao.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=ao.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(n,e){t=[n,e]}};return n.invert=function(n){var t=u.scale(),e=u.translate(),r=(n[0]-e[0])/t,i=(n[1]-e[1])/t;return(i>=.12&&.234>i&&r>=-.425&&-.214>r?o:i>=.166&&.234>i&&r>=-.214&&-.115>r?a:u).invert(n)},n.stream=function(n){var t=u.stream(n),e=o.stream(n),r=a.stream(n);return{point:function(n,i){t.point(n,i),e.point(n,i),r.point(n,i)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},n.precision=function(t){return arguments.length?(u.precision(t),o.precision(t),a.precision(t),n):u.precision()},n.scale=function(t){return arguments.length?(u.scale(t),o.scale(.35*t),a.scale(t),n.translate(u.translate())):u.scale()},n.translate=function(t){if(!arguments.length)return u.translate();var c=u.scale(),f=+t[0],s=+t[1];return e=u.translate(t).clipExtent([[f-.455*c,s-.238*c],[f+.455*c,s+.238*c]]).stream(l).point,r=o.translate([f-.307*c,s+.201*c]).clipExtent([[f-.425*c+Uo,s+.12*c+Uo],[f-.214*c-Uo,s+.234*c-Uo]]).stream(l).point,i=a.translate([f-.205*c,s+.212*c]).clipExtent([[f-.214*c+Uo,s+.166*c+Uo],[f-.115*c-Uo,s+.234*c-Uo]]).stream(l).point,n},n.scale(1070)};var Oa,Ia,Ya,Za,Va,Xa,$a={point:b,lineStart:b,lineEnd:b,polygonStart:function(){Ia=0,$a.lineStart=$t},polygonEnd:function(){$a.lineStart=$a.lineEnd=$a.point=b,Oa+=xo(Ia/2)}},Ba={point:Bt,lineStart:b,lineEnd:b,polygonStart:b,polygonEnd:b},Wa={point:Gt,lineStart:Kt,lineEnd:Qt,polygonStart:function(){Wa.lineStart=ne},polygonEnd:function(){Wa.point=Gt,Wa.lineStart=Kt,Wa.lineEnd=Qt}};ao.geo.path=function(){function n(n){return n&&("function"==typeof a&&u.pointRadius(+a.apply(this,arguments)),o&&o.valid||(o=i(u)),ao.geo.stream(n,o)),u.result()}function t(){return o=null,n}var e,r,i,u,o,a=4.5;return n.area=function(n){return Oa=0,ao.geo.stream(n,i($a)),Oa},n.centroid=function(n){return Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,i(Wa)),Ua?[Da/Ua,Pa/Ua]:Ra?[qa/Ra,Ta/Ra]:La?[Ca/La,za/La]:[NaN,NaN]},n.bounds=function(n){return Va=Xa=-(Ya=Za=1/0),ao.geo.stream(n,i(Ba)),[[Ya,Za],[Va,Xa]]},n.projection=function(n){return arguments.length?(i=(e=n)?n.stream||re(n):m,t()):e},n.context=function(n){return arguments.length?(u=null==(r=n)?new Wt:new te(n),"function"!=typeof a&&u.pointRadius(a),t()):r},n.pointRadius=function(t){return arguments.length?(a="function"==typeof t?t:(u.pointRadius(+t),+t),n):a},n.projection(ao.geo.albersUsa()).context(null)},ao.geo.transform=function(n){return{stream:function(t){var e=new ie(t);for(var r in n)e[r]=n[r];return e}}},ie.prototype={point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},ao.geo.projection=oe,ao.geo.projectionMutator=ae,(ao.geo.equirectangular=function(){return oe(ce)}).raw=ce.invert=ce,ao.geo.rotation=function(n){function t(t){return t=n(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t}return n=se(n[0]%360*Yo,n[1]*Yo,n.length>2?n[2]*Yo:0),t.invert=function(t){return t=n.invert(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t},t},fe.invert=ce,ao.geo.circle=function(){function n(){var n="function"==typeof r?r.apply(this,arguments):r,t=se(-n[0]*Yo,-n[1]*Yo,0).invert,i=[];return e(null,null,1,{point:function(n,e){i.push(n=t(n,e)),n[0]*=Zo,n[1]*=Zo}}),{type:"Polygon",coordinates:[i]}}var t,e,r=[0,0],i=6;return n.origin=function(t){return arguments.length?(r=t,n):r},n.angle=function(r){return arguments.length?(e=ve((t=+r)*Yo,i*Yo),n):t},n.precision=function(r){return arguments.length?(e=ve(t*Yo,(i=+r)*Yo),n):i},n.angle(90)},ao.geo.distance=function(n,t){var e,r=(t[0]-n[0])*Yo,i=n[1]*Yo,u=t[1]*Yo,o=Math.sin(r),a=Math.cos(r),l=Math.sin(i),c=Math.cos(i),f=Math.sin(u),s=Math.cos(u);return Math.atan2(Math.sqrt((e=s*o)*e+(e=c*f-l*s*a)*e),l*f+c*s*a)},ao.geo.graticule=function(){function n(){return{type:"MultiLineString",coordinates:t()}}function t(){return ao.range(Math.ceil(u/d)*d,i,d).map(h).concat(ao.range(Math.ceil(c/y)*y,l,y).map(p)).concat(ao.range(Math.ceil(r/g)*g,e,g).filter(function(n){return xo(n%d)>Uo}).map(f)).concat(ao.range(Math.ceil(a/v)*v,o,v).filter(function(n){return xo(n%y)>Uo}).map(s))}var e,r,i,u,o,a,l,c,f,s,h,p,g=10,v=g,d=90,y=360,m=2.5;return n.lines=function(){return t().map(function(n){return{type:"LineString",coordinates:n}})},n.outline=function(){return{type:"Polygon",coordinates:[h(u).concat(p(l).slice(1),h(i).reverse().slice(1),p(c).reverse().slice(1))]}},n.extent=function(t){return arguments.length?n.majorExtent(t).minorExtent(t):n.minorExtent()},n.majorExtent=function(t){return arguments.length?(u=+t[0][0],i=+t[1][0],c=+t[0][1],l=+t[1][1],u>i&&(t=u,u=i,i=t),c>l&&(t=c,c=l,l=t),n.precision(m)):[[u,c],[i,l]]},n.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],o=+t[1][1],r>e&&(t=r,r=e,e=t),a>o&&(t=a,a=o,o=t),n.precision(m)):[[r,a],[e,o]]},n.step=function(t){return arguments.length?n.majorStep(t).minorStep(t):n.minorStep()},n.majorStep=function(t){return arguments.length?(d=+t[0],y=+t[1],n):[d,y]},n.minorStep=function(t){return arguments.length?(g=+t[0],v=+t[1],n):[g,v]},n.precision=function(t){return arguments.length?(m=+t,f=ye(a,o,90),s=me(r,e,m),h=ye(c,l,90),p=me(u,i,m),n):m},n.majorExtent([[-180,-90+Uo],[180,90-Uo]]).minorExtent([[-180,-80-Uo],[180,80+Uo]])},ao.geo.greatArc=function(){function n(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),e||i.apply(this,arguments)]}}var t,e,r=Me,i=xe;return n.distance=function(){return ao.geo.distance(t||r.apply(this,arguments),e||i.apply(this,arguments))},n.source=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,n):r},n.target=function(t){return arguments.length?(i=t,e="function"==typeof t?null:t,n):i},n.precision=function(){return arguments.length?n:0},n},ao.geo.interpolate=function(n,t){return be(n[0]*Yo,n[1]*Yo,t[0]*Yo,t[1]*Yo)},ao.geo.length=function(n){return Ja=0,ao.geo.stream(n,Ga),Ja};var Ja,Ga={sphere:b,point:b,lineStart:_e,lineEnd:b,polygonStart:b,polygonEnd:b},Ka=we(function(n){return Math.sqrt(2/(1+n))},function(n){return 2*Math.asin(n/2)});(ao.geo.azimuthalEqualArea=function(){return oe(Ka)}).raw=Ka;var Qa=we(function(n){var t=Math.acos(n);return t&&t/Math.sin(t)},m);(ao.geo.azimuthalEquidistant=function(){return oe(Qa)}).raw=Qa,(ao.geo.conicConformal=function(){return Vt(Se)}).raw=Se,(ao.geo.conicEquidistant=function(){return Vt(ke)}).raw=ke;var nl=we(function(n){return 1/n},Math.atan);(ao.geo.gnomonic=function(){return oe(nl)}).raw=nl,Ne.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Io]},(ao.geo.mercator=function(){return Ee(Ne)}).raw=Ne;var tl=we(function(){return 1},Math.asin);(ao.geo.orthographic=function(){return oe(tl)}).raw=tl;var el=we(function(n){return 1/(1+n)},function(n){return 2*Math.atan(n)});(ao.geo.stereographic=function(){return oe(el)}).raw=el,Ae.invert=function(n,t){return[-t,2*Math.atan(Math.exp(n))-Io]},(ao.geo.transverseMercator=function(){var n=Ee(Ae),t=n.center,e=n.rotate;return n.center=function(n){return n?t([-n[1],n[0]]):(n=t(),[n[1],-n[0]])},n.rotate=function(n){return n?e([n[0],n[1],n.length>2?n[2]+90:90]):(n=e(),[n[0],n[1],n[2]-90])},e([0,0,90])}).raw=Ae,ao.geom={},ao.geom.hull=function(n){function t(n){if(n.length<3)return[];var t,i=En(e),u=En(r),o=n.length,a=[],l=[];for(t=0;o>t;t++)a.push([+i.call(this,n[t],t),+u.call(this,n[t],t),t]);for(a.sort(qe),t=0;o>t;t++)l.push([a[t][0],-a[t][1]]);var c=Le(a),f=Le(l),s=f[0]===c[0],h=f[f.length-1]===c[c.length-1],p=[];for(t=c.length-1;t>=0;--t)p.push(n[a[c[t]][2]]);for(t=+s;t=r&&c.x<=u&&c.y>=i&&c.y<=o?[[r,o],[u,o],[u,i],[r,i]]:[];f.point=n[a]}),t}function e(n){return n.map(function(n,t){return{x:Math.round(u(n,t)/Uo)*Uo,y:Math.round(o(n,t)/Uo)*Uo,i:t}})}var r=Ce,i=ze,u=r,o=i,a=sl;return n?t(n):(t.links=function(n){return ar(e(n)).edges.filter(function(n){return n.l&&n.r}).map(function(t){return{source:n[t.l.i],target:n[t.r.i]}})},t.triangles=function(n){var t=[];return ar(e(n)).cells.forEach(function(e,r){for(var i,u,o=e.site,a=e.edges.sort(Ve),l=-1,c=a.length,f=a[c-1].edge,s=f.l===o?f.r:f.l;++l=c,h=r>=f,p=h<<1|s;n.leaf=!1,n=n.nodes[p]||(n.nodes[p]=hr()),s?i=c:a=c,h?o=f:l=f,u(n,t,e,r,i,o,a,l)}var f,s,h,p,g,v,d,y,m,M=En(a),x=En(l);if(null!=t)v=t,d=e,y=r,m=i;else if(y=m=-(v=d=1/0),s=[],h=[],g=n.length,o)for(p=0;g>p;++p)f=n[p],f.xy&&(y=f.x),f.y>m&&(m=f.y),s.push(f.x),h.push(f.y);else for(p=0;g>p;++p){var b=+M(f=n[p],p),_=+x(f,p);v>b&&(v=b),d>_&&(d=_),b>y&&(y=b),_>m&&(m=_),s.push(b),h.push(_)}var w=y-v,S=m-d;w>S?m=d+w:y=v+S;var k=hr();if(k.add=function(n){u(k,n,+M(n,++p),+x(n,p),v,d,y,m)},k.visit=function(n){pr(n,k,v,d,y,m)},k.find=function(n){return gr(k,n[0],n[1],v,d,y,m)},p=-1,null==t){for(;++p=0?n.slice(0,t):n,r=t>=0?n.slice(t+1):"in";return e=vl.get(e)||gl,r=dl.get(r)||m,br(r(e.apply(null,lo.call(arguments,1))))},ao.interpolateHcl=Rr,ao.interpolateHsl=Dr,ao.interpolateLab=Pr,ao.interpolateRound=Ur,ao.transform=function(n){var t=fo.createElementNS(ao.ns.prefix.svg,"g");return(ao.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new jr(e?e.matrix:yl)})(n)},jr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var yl={a:1,b:0,c:0,d:1,e:0,f:0};ao.interpolateTransform=$r,ao.layout={},ao.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++ea*a/y){if(v>l){var c=t.charge/l;n.px-=u*c,n.py-=o*c}return!0}if(t.point&&l&&v>l){var c=t.pointCharge/l;n.px-=u*c,n.py-=o*c}}return!t.charge}}function t(n){n.px=ao.event.x,n.py=ao.event.y,l.resume()}var e,r,i,u,o,a,l={},c=ao.dispatch("start","tick","end"),f=[1,1],s=.9,h=ml,p=Ml,g=-30,v=xl,d=.1,y=.64,M=[],x=[];return l.tick=function(){if((i*=.99)<.005)return e=null,c.end({type:"end",alpha:i=0}),!0;var t,r,l,h,p,v,y,m,b,_=M.length,w=x.length;for(r=0;w>r;++r)l=x[r],h=l.source,p=l.target,m=p.x-h.x,b=p.y-h.y,(v=m*m+b*b)&&(v=i*o[r]*((v=Math.sqrt(v))-u[r])/v,m*=v,b*=v,p.x-=m*(y=h.weight+p.weight?h.weight/(h.weight+p.weight):.5),p.y-=b*y,h.x+=m*(y=1-y),h.y+=b*y);if((y=i*d)&&(m=f[0]/2,b=f[1]/2,r=-1,y))for(;++r<_;)l=M[r],l.x+=(m-l.x)*y,l.y+=(b-l.y)*y;if(g)for(ri(t=ao.geom.quadtree(M),i,a),r=-1;++r<_;)(l=M[r]).fixed||t.visit(n(l));for(r=-1;++r<_;)l=M[r],l.fixed?(l.x=l.px,l.y=l.py):(l.x-=(l.px-(l.px=l.x))*s,l.y-=(l.py-(l.py=l.y))*s);c.tick({type:"tick",alpha:i})},l.nodes=function(n){return arguments.length?(M=n,l):M},l.links=function(n){return arguments.length?(x=n,l):x},l.size=function(n){return arguments.length?(f=n,l):f},l.linkDistance=function(n){return arguments.length?(h="function"==typeof n?n:+n,l):h},l.distance=l.linkDistance,l.linkStrength=function(n){return arguments.length?(p="function"==typeof n?n:+n,l):p},l.friction=function(n){return arguments.length?(s=+n,l):s},l.charge=function(n){return arguments.length?(g="function"==typeof n?n:+n,l):g},l.chargeDistance=function(n){return arguments.length?(v=n*n,l):Math.sqrt(v)},l.gravity=function(n){return arguments.length?(d=+n,l):d},l.theta=function(n){return arguments.length?(y=n*n,l):Math.sqrt(y)},l.alpha=function(n){return arguments.length?(n=+n,i?n>0?i=n:(e.c=null,e.t=NaN,e=null,c.end({type:"end",alpha:i=0})):n>0&&(c.start({type:"start",alpha:i=n}),e=qn(l.tick)),l):i},l.start=function(){function n(n,r){if(!e){for(e=new Array(i),l=0;i>l;++l)e[l]=[];for(l=0;c>l;++l){var u=x[l];e[u.source.index].push(u.target),e[u.target.index].push(u.source)}}for(var o,a=e[t],l=-1,f=a.length;++lt;++t)(r=M[t]).index=t,r.weight=0;for(t=0;c>t;++t)r=x[t],"number"==typeof r.source&&(r.source=M[r.source]),"number"==typeof r.target&&(r.target=M[r.target]),++r.source.weight,++r.target.weight;for(t=0;i>t;++t)r=M[t],isNaN(r.x)&&(r.x=n("x",s)),isNaN(r.y)&&(r.y=n("y",v)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(u=[],"function"==typeof h)for(t=0;c>t;++t)u[t]=+h.call(this,x[t],t);else for(t=0;c>t;++t)u[t]=h;if(o=[],"function"==typeof p)for(t=0;c>t;++t)o[t]=+p.call(this,x[t],t);else for(t=0;c>t;++t)o[t]=p;if(a=[],"function"==typeof g)for(t=0;i>t;++t)a[t]=+g.call(this,M[t],t);else for(t=0;i>t;++t)a[t]=g;return l.resume()},l.resume=function(){return l.alpha(.1)},l.stop=function(){return l.alpha(0)},l.drag=function(){return r||(r=ao.behavior.drag().origin(m).on("dragstart.force",Qr).on("drag.force",t).on("dragend.force",ni)),arguments.length?void this.on("mouseover.force",ti).on("mouseout.force",ei).call(r):r},ao.rebind(l,c,"on")};var ml=20,Ml=1,xl=1/0;ao.layout.hierarchy=function(){function n(i){var u,o=[i],a=[];for(i.depth=0;null!=(u=o.pop());)if(a.push(u),(c=e.call(n,u,u.depth))&&(l=c.length)){for(var l,c,f;--l>=0;)o.push(f=c[l]),f.parent=u,f.depth=u.depth+1;r&&(u.value=0),u.children=c}else r&&(u.value=+r.call(n,u,u.depth)||0),delete u.children;return oi(i,function(n){var e,i;t&&(e=n.children)&&e.sort(t),r&&(i=n.parent)&&(i.value+=n.value)}),a}var t=ci,e=ai,r=li;return n.sort=function(e){return arguments.length?(t=e,n):t},n.children=function(t){return arguments.length?(e=t,n):e},n.value=function(t){return arguments.length?(r=t,n):r},n.revalue=function(t){return r&&(ui(t,function(n){n.children&&(n.value=0)}),oi(t,function(t){var e;t.children||(t.value=+r.call(n,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)})),t},n},ao.layout.partition=function(){function n(t,e,r,i){var u=t.children;if(t.x=e,t.y=t.depth*i,t.dx=r,t.dy=i,u&&(o=u.length)){var o,a,l,c=-1;for(r=t.value?r/t.value:0;++cs?-1:1),g=ao.sum(c),v=g?(s-l*p)/g:0,d=ao.range(l),y=[];return null!=e&&d.sort(e===bl?function(n,t){return c[t]-c[n]}:function(n,t){return e(o[n],o[t])}),d.forEach(function(n){y[n]={data:o[n],value:a=c[n],startAngle:f,endAngle:f+=a*v+p,padAngle:h}}),y}var t=Number,e=bl,r=0,i=Ho,u=0;return n.value=function(e){return arguments.length?(t=e,n):t},n.sort=function(t){return arguments.length?(e=t,n):e},n.startAngle=function(t){return arguments.length?(r=t,n):r},n.endAngle=function(t){return arguments.length?(i=t,n):i},n.padAngle=function(t){return arguments.length?(u=t,n):u},n};var bl={};ao.layout.stack=function(){function n(a,l){if(!(h=a.length))return a;var c=a.map(function(e,r){return t.call(n,e,r)}),f=c.map(function(t){return t.map(function(t,e){return[u.call(n,t,e),o.call(n,t,e)]})}),s=e.call(n,f,l);c=ao.permute(c,s),f=ao.permute(f,s);var h,p,g,v,d=r.call(n,f,l),y=c[0].length;for(g=0;y>g;++g)for(i.call(n,c[0][g],v=d[g],f[0][g][1]),p=1;h>p;++p)i.call(n,c[p][g],v+=f[p-1][g][1],f[p][g][1]);return a}var t=m,e=gi,r=vi,i=pi,u=si,o=hi;return n.values=function(e){return arguments.length?(t=e,n):t},n.order=function(t){return arguments.length?(e="function"==typeof t?t:_l.get(t)||gi,n):e},n.offset=function(t){return arguments.length?(r="function"==typeof t?t:wl.get(t)||vi,n):r},n.x=function(t){return arguments.length?(u=t,n):u},n.y=function(t){return arguments.length?(o=t,n):o},n.out=function(t){return arguments.length?(i=t,n):i},n};var _l=ao.map({"inside-out":function(n){var t,e,r=n.length,i=n.map(di),u=n.map(yi),o=ao.range(r).sort(function(n,t){return i[n]-i[t]}),a=0,l=0,c=[],f=[];for(t=0;r>t;++t)e=o[t],l>a?(a+=u[e],c.push(e)):(l+=u[e],f.push(e));return f.reverse().concat(c)},reverse:function(n){return ao.range(n.length).reverse()},"default":gi}),wl=ao.map({silhouette:function(n){var t,e,r,i=n.length,u=n[0].length,o=[],a=0,l=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];r>a&&(a=r),o.push(r)}for(e=0;u>e;++e)l[e]=(a-o[e])/2;return l},wiggle:function(n){var t,e,r,i,u,o,a,l,c,f=n.length,s=n[0],h=s.length,p=[];for(p[0]=l=c=0,e=1;h>e;++e){for(t=0,i=0;f>t;++t)i+=n[t][e][1];for(t=0,u=0,a=s[e][0]-s[e-1][0];f>t;++t){for(r=0,o=(n[t][e][1]-n[t][e-1][1])/(2*a);t>r;++r)o+=(n[r][e][1]-n[r][e-1][1])/a;u+=o*n[t][e][1]}p[e]=l-=i?u/i*a:0,c>l&&(c=l)}for(e=0;h>e;++e)p[e]-=c;return p},expand:function(n){var t,e,r,i=n.length,u=n[0].length,o=1/i,a=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];if(r)for(t=0;i>t;t++)n[t][e][1]/=r;else for(t=0;i>t;t++)n[t][e][1]=o}for(e=0;u>e;++e)a[e]=0;return a},zero:vi});ao.layout.histogram=function(){function n(n,u){for(var o,a,l=[],c=n.map(e,this),f=r.call(this,c,u),s=i.call(this,f,c,u),u=-1,h=c.length,p=s.length-1,g=t?1:1/h;++u0)for(u=-1;++u=f[0]&&a<=f[1]&&(o=l[ao.bisect(s,a,1,p)-1],o.y+=g,o.push(n[u]));return l}var t=!0,e=Number,r=bi,i=Mi;return n.value=function(t){return arguments.length?(e=t,n):e},n.range=function(t){return arguments.length?(r=En(t),n):r},n.bins=function(t){return arguments.length?(i="number"==typeof t?function(n){return xi(n,t)}:En(t),n):i},n.frequency=function(e){return arguments.length?(t=!!e,n):t},n},ao.layout.pack=function(){function n(n,u){var o=e.call(this,n,u),a=o[0],l=i[0],c=i[1],f=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(a.x=a.y=0,oi(a,function(n){n.r=+f(n.value)}),oi(a,Ni),r){var s=r*(t?1:Math.max(2*a.r/l,2*a.r/c))/2;oi(a,function(n){n.r+=s}),oi(a,Ni),oi(a,function(n){n.r-=s})}return Ci(a,l/2,c/2,t?1:1/Math.max(2*a.r/l,2*a.r/c)),o}var t,e=ao.layout.hierarchy().sort(_i),r=0,i=[1,1];return n.size=function(t){return arguments.length?(i=t,n):i},n.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,n):t},n.padding=function(t){return arguments.length?(r=+t,n):r},ii(n,e)},ao.layout.tree=function(){function n(n,i){var f=o.call(this,n,i),s=f[0],h=t(s);if(oi(h,e),h.parent.m=-h.z,ui(h,r),c)ui(s,u);else{var p=s,g=s,v=s;ui(s,function(n){n.xg.x&&(g=n),n.depth>v.depth&&(v=n)});var d=a(p,g)/2-p.x,y=l[0]/(g.x+a(g,p)/2+d),m=l[1]/(v.depth||1);ui(s,function(n){n.x=(n.x+d)*y,n.y=n.depth*m})}return f}function t(n){for(var t,e={A:null,children:[n]},r=[e];null!=(t=r.pop());)for(var i,u=t.children,o=0,a=u.length;a>o;++o)r.push((u[o]=i={_:u[o],parent:t,children:(i=u[o].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=i);return e.children[0]}function e(n){var t=n.children,e=n.parent.children,r=n.i?e[n.i-1]:null;if(t.length){Di(n);var u=(t[0].z+t[t.length-1].z)/2;r?(n.z=r.z+a(n._,r._),n.m=n.z-u):n.z=u}else r&&(n.z=r.z+a(n._,r._));n.parent.A=i(n,r,n.parent.A||e[0])}function r(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function i(n,t,e){if(t){for(var r,i=n,u=n,o=t,l=i.parent.children[0],c=i.m,f=u.m,s=o.m,h=l.m;o=Ti(o),i=qi(i),o&&i;)l=qi(l),u=Ti(u),u.a=n,r=o.z+s-i.z-c+a(o._,i._),r>0&&(Ri(Pi(o,n,e),n,r),c+=r,f+=r),s+=o.m,c+=i.m,h+=l.m,f+=u.m;o&&!Ti(u)&&(u.t=o,u.m+=s-f),i&&!qi(l)&&(l.t=i,l.m+=c-h,e=n)}return e}function u(n){n.x*=l[0],n.y=n.depth*l[1]}var o=ao.layout.hierarchy().sort(null).value(null),a=Li,l=[1,1],c=null;return n.separation=function(t){return arguments.length?(a=t,n):a},n.size=function(t){return arguments.length?(c=null==(l=t)?u:null,n):c?null:l},n.nodeSize=function(t){return arguments.length?(c=null==(l=t)?null:u,n):c?l:null},ii(n,o)},ao.layout.cluster=function(){function n(n,u){var o,a=t.call(this,n,u),l=a[0],c=0;oi(l,function(n){var t=n.children;t&&t.length?(n.x=ji(t),n.y=Ui(t)):(n.x=o?c+=e(n,o):0,n.y=0,o=n)});var f=Fi(l),s=Hi(l),h=f.x-e(f,s)/2,p=s.x+e(s,f)/2;return oi(l,i?function(n){n.x=(n.x-l.x)*r[0],n.y=(l.y-n.y)*r[1]}:function(n){n.x=(n.x-h)/(p-h)*r[0],n.y=(1-(l.y?n.y/l.y:1))*r[1]}),a}var t=ao.layout.hierarchy().sort(null).value(null),e=Li,r=[1,1],i=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(i=null==(r=t),n):i?null:r},n.nodeSize=function(t){return arguments.length?(i=null!=(r=t),n):i?r:null},ii(n,t)},ao.layout.treemap=function(){function n(n,t){for(var e,r,i=-1,u=n.length;++it?0:t),e.area=isNaN(r)||0>=r?0:r}function t(e){var u=e.children;if(u&&u.length){var o,a,l,c=s(e),f=[],h=u.slice(),g=1/0,v="slice"===p?c.dx:"dice"===p?c.dy:"slice-dice"===p?1&e.depth?c.dy:c.dx:Math.min(c.dx,c.dy);for(n(h,c.dx*c.dy/e.value),f.area=0;(l=h.length)>0;)f.push(o=h[l-1]),f.area+=o.area,"squarify"!==p||(a=r(f,v))<=g?(h.pop(),g=a):(f.area-=f.pop().area,i(f,v,c,!1),v=Math.min(c.dx,c.dy),f.length=f.area=0,g=1/0);f.length&&(i(f,v,c,!0),f.length=f.area=0),u.forEach(t)}}function e(t){var r=t.children;if(r&&r.length){var u,o=s(t),a=r.slice(),l=[];for(n(a,o.dx*o.dy/t.value),l.area=0;u=a.pop();)l.push(u),l.area+=u.area,null!=u.z&&(i(l,u.z?o.dx:o.dy,o,!a.length),l.length=l.area=0);r.forEach(e)}}function r(n,t){for(var e,r=n.area,i=0,u=1/0,o=-1,a=n.length;++oe&&(u=e),e>i&&(i=e));return r*=r,t*=t,r?Math.max(t*i*g/r,r/(t*u*g)):1/0}function i(n,t,e,r){var i,u=-1,o=n.length,a=e.x,c=e.y,f=t?l(n.area/t):0; +if(t==e.dx){for((r||f>e.dy)&&(f=e.dy);++ue.dx)&&(f=e.dx);++ue&&(t=1),1>e&&(n=0),function(){var e,r,i;do e=2*Math.random()-1,r=2*Math.random()-1,i=e*e+r*r;while(!i||i>1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var n=ao.random.normal.apply(ao,arguments);return function(){return Math.exp(n())}},bates:function(n){var t=ao.random.irwinHall(n);return function(){return t()/n}},irwinHall:function(n){return function(){for(var t=0,e=0;n>e;e++)t+=Math.random();return t}}},ao.scale={};var Sl={floor:m,ceil:m};ao.scale.linear=function(){return Wi([0,1],[0,1],Mr,!1)};var kl={s:1,g:1,p:1,r:1,e:1};ao.scale.log=function(){return ru(ao.scale.linear().domain([0,1]),10,!0,[1,10])};var Nl=ao.format(".0e"),El={floor:function(n){return-Math.ceil(-n)},ceil:function(n){return-Math.floor(-n)}};ao.scale.pow=function(){return iu(ao.scale.linear(),1,[0,1])},ao.scale.sqrt=function(){return ao.scale.pow().exponent(.5)},ao.scale.ordinal=function(){return ou([],{t:"range",a:[[]]})},ao.scale.category10=function(){return ao.scale.ordinal().range(Al)},ao.scale.category20=function(){return ao.scale.ordinal().range(Cl)},ao.scale.category20b=function(){return ao.scale.ordinal().range(zl)},ao.scale.category20c=function(){return ao.scale.ordinal().range(Ll)};var Al=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(xn),Cl=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(xn),zl=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(xn),Ll=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(xn);ao.scale.quantile=function(){return au([],[])},ao.scale.quantize=function(){return lu(0,1,[0,1])},ao.scale.threshold=function(){return cu([.5],[0,1])},ao.scale.identity=function(){return fu([0,1])},ao.svg={},ao.svg.arc=function(){function n(){var n=Math.max(0,+e.apply(this,arguments)),c=Math.max(0,+r.apply(this,arguments)),f=o.apply(this,arguments)-Io,s=a.apply(this,arguments)-Io,h=Math.abs(s-f),p=f>s?0:1;if(n>c&&(g=c,c=n,n=g),h>=Oo)return t(c,p)+(n?t(n,1-p):"")+"Z";var g,v,d,y,m,M,x,b,_,w,S,k,N=0,E=0,A=[];if((y=(+l.apply(this,arguments)||0)/2)&&(d=u===ql?Math.sqrt(n*n+c*c):+u.apply(this,arguments),p||(E*=-1),c&&(E=tn(d/c*Math.sin(y))),n&&(N=tn(d/n*Math.sin(y)))),c){m=c*Math.cos(f+E),M=c*Math.sin(f+E),x=c*Math.cos(s-E),b=c*Math.sin(s-E);var C=Math.abs(s-f-2*E)<=Fo?0:1;if(E&&yu(m,M,x,b)===p^C){var z=(f+s)/2;m=c*Math.cos(z),M=c*Math.sin(z),x=b=null}}else m=M=0;if(n){_=n*Math.cos(s-N),w=n*Math.sin(s-N),S=n*Math.cos(f+N),k=n*Math.sin(f+N);var L=Math.abs(f-s+2*N)<=Fo?0:1;if(N&&yu(_,w,S,k)===1-p^L){var q=(f+s)/2;_=n*Math.cos(q),w=n*Math.sin(q),S=k=null}}else _=w=0;if(h>Uo&&(g=Math.min(Math.abs(c-n)/2,+i.apply(this,arguments)))>.001){v=c>n^p?0:1;var T=g,R=g;if(Fo>h){var D=null==S?[_,w]:null==x?[m,M]:Re([m,M],[S,k],[x,b],[_,w]),P=m-D[0],U=M-D[1],j=x-D[0],F=b-D[1],H=1/Math.sin(Math.acos((P*j+U*F)/(Math.sqrt(P*P+U*U)*Math.sqrt(j*j+F*F)))/2),O=Math.sqrt(D[0]*D[0]+D[1]*D[1]);R=Math.min(g,(n-O)/(H-1)),T=Math.min(g,(c-O)/(H+1))}if(null!=x){var I=mu(null==S?[_,w]:[S,k],[m,M],c,T,p),Y=mu([x,b],[_,w],c,T,p);g===T?A.push("M",I[0],"A",T,",",T," 0 0,",v," ",I[1],"A",c,",",c," 0 ",1-p^yu(I[1][0],I[1][1],Y[1][0],Y[1][1]),",",p," ",Y[1],"A",T,",",T," 0 0,",v," ",Y[0]):A.push("M",I[0],"A",T,",",T," 0 1,",v," ",Y[0])}else A.push("M",m,",",M);if(null!=S){var Z=mu([m,M],[S,k],n,-R,p),V=mu([_,w],null==x?[m,M]:[x,b],n,-R,p);g===R?A.push("L",V[0],"A",R,",",R," 0 0,",v," ",V[1],"A",n,",",n," 0 ",p^yu(V[1][0],V[1][1],Z[1][0],Z[1][1]),",",1-p," ",Z[1],"A",R,",",R," 0 0,",v," ",Z[0]):A.push("L",V[0],"A",R,",",R," 0 0,",v," ",Z[0])}else A.push("L",_,",",w)}else A.push("M",m,",",M),null!=x&&A.push("A",c,",",c," 0 ",C,",",p," ",x,",",b),A.push("L",_,",",w),null!=S&&A.push("A",n,",",n," 0 ",L,",",1-p," ",S,",",k);return A.push("Z"),A.join("")}function t(n,t){return"M0,"+n+"A"+n+","+n+" 0 1,"+t+" 0,"+-n+"A"+n+","+n+" 0 1,"+t+" 0,"+n}var e=hu,r=pu,i=su,u=ql,o=gu,a=vu,l=du;return n.innerRadius=function(t){return arguments.length?(e=En(t),n):e},n.outerRadius=function(t){return arguments.length?(r=En(t),n):r},n.cornerRadius=function(t){return arguments.length?(i=En(t),n):i},n.padRadius=function(t){return arguments.length?(u=t==ql?ql:En(t),n):u},n.startAngle=function(t){return arguments.length?(o=En(t),n):o},n.endAngle=function(t){return arguments.length?(a=En(t),n):a},n.padAngle=function(t){return arguments.length?(l=En(t),n):l},n.centroid=function(){var n=(+e.apply(this,arguments)+ +r.apply(this,arguments))/2,t=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-Io;return[Math.cos(t)*n,Math.sin(t)*n]},n};var ql="auto";ao.svg.line=function(){return Mu(m)};var Tl=ao.map({linear:xu,"linear-closed":bu,step:_u,"step-before":wu,"step-after":Su,basis:zu,"basis-open":Lu,"basis-closed":qu,bundle:Tu,cardinal:Eu,"cardinal-open":ku,"cardinal-closed":Nu,monotone:Fu});Tl.forEach(function(n,t){t.key=n,t.closed=/-closed$/.test(n)});var Rl=[0,2/3,1/3,0],Dl=[0,1/3,2/3,0],Pl=[0,1/6,2/3,1/6];ao.svg.line.radial=function(){var n=Mu(Hu);return n.radius=n.x,delete n.x,n.angle=n.y,delete n.y,n},wu.reverse=Su,Su.reverse=wu,ao.svg.area=function(){return Ou(m)},ao.svg.area.radial=function(){var n=Ou(Hu);return n.radius=n.x,delete n.x,n.innerRadius=n.x0,delete n.x0,n.outerRadius=n.x1,delete n.x1,n.angle=n.y,delete n.y,n.startAngle=n.y0,delete n.y0,n.endAngle=n.y1,delete n.y1,n},ao.svg.chord=function(){function n(n,a){var l=t(this,u,n,a),c=t(this,o,n,a);return"M"+l.p0+r(l.r,l.p1,l.a1-l.a0)+(e(l,c)?i(l.r,l.p1,l.r,l.p0):i(l.r,l.p1,c.r,c.p0)+r(c.r,c.p1,c.a1-c.a0)+i(c.r,c.p1,l.r,l.p0))+"Z"}function t(n,t,e,r){var i=t.call(n,e,r),u=a.call(n,i,r),o=l.call(n,i,r)-Io,f=c.call(n,i,r)-Io;return{r:u,a0:o,a1:f,p0:[u*Math.cos(o),u*Math.sin(o)],p1:[u*Math.cos(f),u*Math.sin(f)]}}function e(n,t){return n.a0==t.a0&&n.a1==t.a1}function r(n,t,e){return"A"+n+","+n+" 0 "+ +(e>Fo)+",1 "+t}function i(n,t,e,r){return"Q 0,0 "+r}var u=Me,o=xe,a=Iu,l=gu,c=vu;return n.radius=function(t){return arguments.length?(a=En(t),n):a},n.source=function(t){return arguments.length?(u=En(t),n):u},n.target=function(t){return arguments.length?(o=En(t),n):o},n.startAngle=function(t){return arguments.length?(l=En(t),n):l},n.endAngle=function(t){return arguments.length?(c=En(t),n):c},n},ao.svg.diagonal=function(){function n(n,i){var u=t.call(this,n,i),o=e.call(this,n,i),a=(u.y+o.y)/2,l=[u,{x:u.x,y:a},{x:o.x,y:a},o];return l=l.map(r),"M"+l[0]+"C"+l[1]+" "+l[2]+" "+l[3]}var t=Me,e=xe,r=Yu;return n.source=function(e){return arguments.length?(t=En(e),n):t},n.target=function(t){return arguments.length?(e=En(t),n):e},n.projection=function(t){return arguments.length?(r=t,n):r},n},ao.svg.diagonal.radial=function(){var n=ao.svg.diagonal(),t=Yu,e=n.projection;return n.projection=function(n){return arguments.length?e(Zu(t=n)):t},n},ao.svg.symbol=function(){function n(n,r){return(Ul.get(t.call(this,n,r))||$u)(e.call(this,n,r))}var t=Xu,e=Vu;return n.type=function(e){return arguments.length?(t=En(e),n):t},n.size=function(t){return arguments.length?(e=En(t),n):e},n};var Ul=ao.map({circle:$u,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*Fl)),e=t*Fl;return"M0,"+-t+"L"+e+",0 0,"+t+" "+-e+",0Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}});ao.svg.symbolTypes=Ul.keys();var jl=Math.sqrt(3),Fl=Math.tan(30*Yo);Co.transition=function(n){for(var t,e,r=Hl||++Zl,i=Ku(n),u=[],o=Ol||{time:Date.now(),ease:Nr,delay:0,duration:250},a=-1,l=this.length;++au;u++){i.push(t=[]);for(var e=this[u],a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return Wu(i,this.namespace,this.id)},Yl.tween=function(n,t){var e=this.id,r=this.namespace;return arguments.length<2?this.node()[r][e].tween.get(n):Y(this,null==t?function(t){t[r][e].tween.remove(n)}:function(i){i[r][e].tween.set(n,t)})},Yl.attr=function(n,t){function e(){this.removeAttribute(a)}function r(){this.removeAttributeNS(a.space,a.local)}function i(n){return null==n?e:(n+="",function(){var t,e=this.getAttribute(a);return e!==n&&(t=o(e,n),function(n){this.setAttribute(a,t(n))})})}function u(n){return null==n?r:(n+="",function(){var t,e=this.getAttributeNS(a.space,a.local);return e!==n&&(t=o(e,n),function(n){this.setAttributeNS(a.space,a.local,t(n))})})}if(arguments.length<2){for(t in n)this.attr(t,n[t]);return this}var o="transform"==n?$r:Mr,a=ao.ns.qualify(n);return Ju(this,"attr."+n,t,a.local?u:i)},Yl.attrTween=function(n,t){function e(n,e){var r=t.call(this,n,e,this.getAttribute(i));return r&&function(n){this.setAttribute(i,r(n))}}function r(n,e){var r=t.call(this,n,e,this.getAttributeNS(i.space,i.local));return r&&function(n){this.setAttributeNS(i.space,i.local,r(n))}}var i=ao.ns.qualify(n);return this.tween("attr."+n,i.local?r:e)},Yl.style=function(n,e,r){function i(){this.style.removeProperty(n)}function u(e){return null==e?i:(e+="",function(){var i,u=t(this).getComputedStyle(this,null).getPropertyValue(n);return u!==e&&(i=Mr(u,e),function(t){this.style.setProperty(n,i(t),r)})})}var o=arguments.length;if(3>o){if("string"!=typeof n){2>o&&(e="");for(r in n)this.style(r,n[r],e);return this}r=""}return Ju(this,"style."+n,e,u)},Yl.styleTween=function(n,e,r){function i(i,u){var o=e.call(this,i,u,t(this).getComputedStyle(this,null).getPropertyValue(n));return o&&function(t){this.style.setProperty(n,o(t),r)}}return arguments.length<3&&(r=""),this.tween("style."+n,i)},Yl.text=function(n){return Ju(this,"text",n,Gu)},Yl.remove=function(){var n=this.namespace;return this.each("end.transition",function(){var t;this[n].count<2&&(t=this.parentNode)&&t.removeChild(this)})},Yl.ease=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].ease:("function"!=typeof n&&(n=ao.ease.apply(ao,arguments)),Y(this,function(r){r[e][t].ease=n}))},Yl.delay=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].delay:Y(this,"function"==typeof n?function(r,i,u){r[e][t].delay=+n.call(r,r.__data__,i,u)}:(n=+n,function(r){r[e][t].delay=n}))},Yl.duration=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].duration:Y(this,"function"==typeof n?function(r,i,u){r[e][t].duration=Math.max(1,n.call(r,r.__data__,i,u))}:(n=Math.max(1,n),function(r){r[e][t].duration=n}))},Yl.each=function(n,t){var e=this.id,r=this.namespace;if(arguments.length<2){var i=Ol,u=Hl;try{Hl=e,Y(this,function(t,i,u){Ol=t[r][e],n.call(t,t.__data__,i,u)})}finally{Ol=i,Hl=u}}else Y(this,function(i){var u=i[r][e];(u.event||(u.event=ao.dispatch("start","end","interrupt"))).on(n,t)});return this},Yl.transition=function(){for(var n,t,e,r,i=this.id,u=++Zl,o=this.namespace,a=[],l=0,c=this.length;c>l;l++){a.push(n=[]);for(var t=this[l],f=0,s=t.length;s>f;f++)(e=t[f])&&(r=e[o][i],Qu(e,f,o,u,{time:r.time,ease:r.ease,delay:r.delay+r.duration,duration:r.duration})),n.push(e)}return Wu(a,o,u)},ao.svg.axis=function(){function n(n){n.each(function(){var n,c=ao.select(this),f=this.__chart__||e,s=this.__chart__=e.copy(),h=null==l?s.ticks?s.ticks.apply(s,a):s.domain():l,p=null==t?s.tickFormat?s.tickFormat.apply(s,a):m:t,g=c.selectAll(".tick").data(h,s),v=g.enter().insert("g",".domain").attr("class","tick").style("opacity",Uo),d=ao.transition(g.exit()).style("opacity",Uo).remove(),y=ao.transition(g.order()).style("opacity",1),M=Math.max(i,0)+o,x=Zi(s),b=c.selectAll(".domain").data([0]),_=(b.enter().append("path").attr("class","domain"),ao.transition(b));v.append("line"),v.append("text");var w,S,k,N,E=v.select("line"),A=y.select("line"),C=g.select("text").text(p),z=v.select("text"),L=y.select("text"),q="top"===r||"left"===r?-1:1;if("bottom"===r||"top"===r?(n=no,w="x",k="y",S="x2",N="y2",C.attr("dy",0>q?"0em":".71em").style("text-anchor","middle"),_.attr("d","M"+x[0]+","+q*u+"V0H"+x[1]+"V"+q*u)):(n=to,w="y",k="x",S="y2",N="x2",C.attr("dy",".32em").style("text-anchor",0>q?"end":"start"),_.attr("d","M"+q*u+","+x[0]+"H0V"+x[1]+"H"+q*u)),E.attr(N,q*i),z.attr(k,q*M),A.attr(S,0).attr(N,q*i),L.attr(w,0).attr(k,q*M),s.rangeBand){var T=s,R=T.rangeBand()/2;f=s=function(n){return T(n)+R}}else f.rangeBand?f=s:d.call(n,s,f);v.call(n,f,s),y.call(n,s,s)})}var t,e=ao.scale.linear(),r=Vl,i=6,u=6,o=3,a=[10],l=null;return n.scale=function(t){return arguments.length?(e=t,n):e},n.orient=function(t){return arguments.length?(r=t in Xl?t+"":Vl,n):r},n.ticks=function(){return arguments.length?(a=co(arguments),n):a},n.tickValues=function(t){return arguments.length?(l=t,n):l},n.tickFormat=function(e){return arguments.length?(t=e,n):t},n.tickSize=function(t){var e=arguments.length;return e?(i=+t,u=+arguments[e-1],n):i},n.innerTickSize=function(t){return arguments.length?(i=+t,n):i},n.outerTickSize=function(t){return arguments.length?(u=+t,n):u},n.tickPadding=function(t){return arguments.length?(o=+t,n):o},n.tickSubdivide=function(){return arguments.length&&n},n};var Vl="bottom",Xl={top:1,right:1,bottom:1,left:1};ao.svg.brush=function(){function n(t){t.each(function(){var t=ao.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",u).on("touchstart.brush",u),o=t.selectAll(".background").data([0]);o.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),t.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var a=t.selectAll(".resize").data(v,m);a.exit().remove(),a.enter().append("g").attr("class",function(n){return"resize "+n}).style("cursor",function(n){return $l[n]}).append("rect").attr("x",function(n){return/[ew]$/.test(n)?-3:null}).attr("y",function(n){return/^[ns]/.test(n)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),a.style("display",n.empty()?"none":null);var l,s=ao.transition(t),h=ao.transition(o);c&&(l=Zi(c),h.attr("x",l[0]).attr("width",l[1]-l[0]),r(s)),f&&(l=Zi(f),h.attr("y",l[0]).attr("height",l[1]-l[0]),i(s)),e(s)})}function e(n){n.selectAll(".resize").attr("transform",function(n){return"translate("+s[+/e$/.test(n)]+","+h[+/^s/.test(n)]+")"})}function r(n){n.select(".extent").attr("x",s[0]),n.selectAll(".extent,.n>rect,.s>rect").attr("width",s[1]-s[0])}function i(n){n.select(".extent").attr("y",h[0]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",h[1]-h[0])}function u(){function u(){32==ao.event.keyCode&&(C||(M=null,L[0]-=s[1],L[1]-=h[1],C=2),S())}function v(){32==ao.event.keyCode&&2==C&&(L[0]+=s[1],L[1]+=h[1],C=0,S())}function d(){var n=ao.mouse(b),t=!1;x&&(n[0]+=x[0],n[1]+=x[1]),C||(ao.event.altKey?(M||(M=[(s[0]+s[1])/2,(h[0]+h[1])/2]),L[0]=s[+(n[0]f?(i=r,r=f):i=f),v[0]!=r||v[1]!=i?(e?a=null:o=null,v[0]=r,v[1]=i,!0):void 0}function m(){d(),k.style("pointer-events","all").selectAll(".resize").style("display",n.empty()?"none":null),ao.select("body").style("cursor",null),q.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),z(),w({type:"brushend"})}var M,x,b=this,_=ao.select(ao.event.target),w=l.of(b,arguments),k=ao.select(b),N=_.datum(),E=!/^(n|s)$/.test(N)&&c,A=!/^(e|w)$/.test(N)&&f,C=_.classed("extent"),z=W(b),L=ao.mouse(b),q=ao.select(t(b)).on("keydown.brush",u).on("keyup.brush",v);if(ao.event.changedTouches?q.on("touchmove.brush",d).on("touchend.brush",m):q.on("mousemove.brush",d).on("mouseup.brush",m),k.interrupt().selectAll("*").interrupt(),C)L[0]=s[0]-L[0],L[1]=h[0]-L[1];else if(N){var T=+/w$/.test(N),R=+/^n/.test(N);x=[s[1-T]-L[0],h[1-R]-L[1]],L[0]=s[T],L[1]=h[R]}else ao.event.altKey&&(M=L.slice());k.style("pointer-events","none").selectAll(".resize").style("display",null),ao.select("body").style("cursor",_.style("cursor")),w({type:"brushstart"}),d()}var o,a,l=N(n,"brushstart","brush","brushend"),c=null,f=null,s=[0,0],h=[0,0],p=!0,g=!0,v=Bl[0];return n.event=function(n){n.each(function(){var n=l.of(this,arguments),t={x:s,y:h,i:o,j:a},e=this.__chart__||t;this.__chart__=t,Hl?ao.select(this).transition().each("start.brush",function(){o=e.i,a=e.j,s=e.x,h=e.y,n({type:"brushstart"})}).tween("brush:brush",function(){var e=xr(s,t.x),r=xr(h,t.y);return o=a=null,function(i){s=t.x=e(i),h=t.y=r(i),n({type:"brush",mode:"resize"})}}).each("end.brush",function(){o=t.i,a=t.j,n({type:"brush",mode:"resize"}),n({type:"brushend"})}):(n({type:"brushstart"}),n({type:"brush",mode:"resize"}),n({type:"brushend"}))})},n.x=function(t){return arguments.length?(c=t,v=Bl[!c<<1|!f],n):c},n.y=function(t){return arguments.length?(f=t,v=Bl[!c<<1|!f],n):f},n.clamp=function(t){return arguments.length?(c&&f?(p=!!t[0],g=!!t[1]):c?p=!!t:f&&(g=!!t),n):c&&f?[p,g]:c?p:f?g:null},n.extent=function(t){var e,r,i,u,l;return arguments.length?(c&&(e=t[0],r=t[1],f&&(e=e[0],r=r[0]),o=[e,r],c.invert&&(e=c(e),r=c(r)),e>r&&(l=e,e=r,r=l),e==s[0]&&r==s[1]||(s=[e,r])),f&&(i=t[0],u=t[1],c&&(i=i[1],u=u[1]),a=[i,u],f.invert&&(i=f(i),u=f(u)),i>u&&(l=i,i=u,u=l),i==h[0]&&u==h[1]||(h=[i,u])),n):(c&&(o?(e=o[0],r=o[1]):(e=s[0],r=s[1],c.invert&&(e=c.invert(e),r=c.invert(r)),e>r&&(l=e,e=r,r=l))),f&&(a?(i=a[0],u=a[1]):(i=h[0],u=h[1],f.invert&&(i=f.invert(i),u=f.invert(u)),i>u&&(l=i,i=u,u=l))),c&&f?[[e,i],[r,u]]:c?[e,r]:f&&[i,u])},n.clear=function(){return n.empty()||(s=[0,0],h=[0,0],o=a=null),n},n.empty=function(){return!!c&&s[0]==s[1]||!!f&&h[0]==h[1]},ao.rebind(n,l,"on")};var $l={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Bl=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Wl=ga.format=xa.timeFormat,Jl=Wl.utc,Gl=Jl("%Y-%m-%dT%H:%M:%S.%LZ");Wl.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?eo:Gl,eo.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},eo.toString=Gl.toString,ga.second=On(function(n){return new va(1e3*Math.floor(n/1e3))},function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))},function(n){return n.getSeconds()}),ga.seconds=ga.second.range,ga.seconds.utc=ga.second.utc.range,ga.minute=On(function(n){return new va(6e4*Math.floor(n/6e4))},function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))},function(n){return n.getMinutes()}),ga.minutes=ga.minute.range,ga.minutes.utc=ga.minute.utc.range,ga.hour=On(function(n){var t=n.getTimezoneOffset()/60;return new va(36e5*(Math.floor(n/36e5-t)+t))},function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))},function(n){return n.getHours()}),ga.hours=ga.hour.range,ga.hours.utc=ga.hour.utc.range,ga.month=On(function(n){return n=ga.day(n),n.setDate(1),n},function(n,t){n.setMonth(n.getMonth()+t)},function(n){return n.getMonth()}),ga.months=ga.month.range,ga.months.utc=ga.month.utc.range;var Kl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Ql=[[ga.second,1],[ga.second,5],[ga.second,15],[ga.second,30],[ga.minute,1],[ga.minute,5],[ga.minute,15],[ga.minute,30],[ga.hour,1],[ga.hour,3],[ga.hour,6],[ga.hour,12],[ga.day,1],[ga.day,2],[ga.week,1],[ga.month,1],[ga.month,3],[ga.year,1]],nc=Wl.multi([[".%L",function(n){return n.getMilliseconds()}],[":%S",function(n){return n.getSeconds()}],["%I:%M",function(n){return n.getMinutes()}],["%I %p",function(n){return n.getHours()}],["%a %d",function(n){return n.getDay()&&1!=n.getDate()}],["%b %d",function(n){return 1!=n.getDate()}],["%B",function(n){return n.getMonth()}],["%Y",zt]]),tc={range:function(n,t,e){return ao.range(Math.ceil(n/e)*e,+t,e).map(io)},floor:m,ceil:m};Ql.year=ga.year,ga.scale=function(){return ro(ao.scale.linear(),Ql,nc)};var ec=Ql.map(function(n){return[n[0].utc,n[1]]}),rc=Jl.multi([[".%L",function(n){return n.getUTCMilliseconds()}],[":%S",function(n){return n.getUTCSeconds()}],["%I:%M",function(n){return n.getUTCMinutes()}],["%I %p",function(n){return n.getUTCHours()}],["%a %d",function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],["%b %d",function(n){return 1!=n.getUTCDate()}],["%B",function(n){return n.getUTCMonth()}],["%Y",zt]]);ec.year=ga.year.utc,ga.scale.utc=function(){return ro(ao.scale.linear(),ec,rc)},ao.text=An(function(n){return n.responseText}),ao.json=function(n,t){return Cn(n,"application/json",uo,t)},ao.html=function(n,t){return Cn(n,"text/html",oo,t)},ao.xml=An(function(n){return n.responseXML}),"function"==typeof define&&define.amd?(this.d3=ao,define(ao)):"object"==typeof module&&module.exports?module.exports=ao:this.d3=ao}(); \ No newline at end of file diff --git a/dist/ontology/0.5.1/webvowl/js/webvowl.app.js b/dist/ontology/0.5.1/webvowl/js/webvowl.app.js new file mode 100644 index 0000000..f3eba7c --- /dev/null +++ b/dist/ontology/0.5.1/webvowl/js/webvowl.app.js @@ -0,0 +1,5 @@ +webvowl.app=function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}({0:function(e,t,n){n(319),n(321),e.exports=n(322)},6:function(e,t){e.exports=d3},91:function(e,t,n){function o(e){return null==e?void 0===e?s:l:d&&d in Object(e)?r(e):a(e)}var i=n(92),r=n(95),a=n(96),l="[object Null]",s="[object Undefined]",d=i?i.toStringTag:void 0;e.exports=o},92:function(e,t,n){var o=n(93),i=o.Symbol;e.exports=i},93:function(e,t,n){var o=n(94),i="object"==typeof self&&self&&self.Object===Object&&self,r=o||i||Function("return this")();e.exports=r},94:function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},95:function(e,t,n){function o(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var o=!0}catch(e){}var i=l.call(e);return o&&(t?e[s]=n:delete e[s]),i}var i=n(92),r=Object.prototype,a=r.hasOwnProperty,l=r.toString,s=i?i.toStringTag:void 0;e.exports=o},96:function(e,t){function n(e){return i.call(e)}var o=Object.prototype,i=o.toString;e.exports=n},103:function(e,t,n){function o(e){return"symbol"==typeof e||r(e)&&i(e)==a}var i=n(91),r=n(104),a="[object Symbol]";e.exports=o},104:function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},112:function(e,t){var n=Array.isArray;e.exports=n},154:function(e,t){function n(e,t){for(var n=-1,o=null==e?0:e.length,i=Array(o);++n0?(g.classed("hidden",!1),h.classed("hidden",!1),k.updateScrollButtonVisibility()):(g.classed("hidden",!0),h.classed("hidden",!0)),_.updateElementWidth()}function i(){var e=window.innerHeight-40,n=e,o=e-30,i=150;if(n<150)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").classed("hidden",!0),t.select("#zoomInButton").classed("hidden",!0),void t.select("#centerGraphButton").classed("hidden",!0);t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").classed("hidden",!1),t.select("#zoomInButton").classed("hidden",!1),t.select("#centerGraphButton").classed("hidden",!1);var r=o-20,a=r-20;if(n<280)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),void t.select("#centerGraphButton").style("top",a+"px");var l=o-i;r=l-20,a=r-20,t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),t.select("#centerGraphButton").style("top",a+"px"),t.select("#zoomSliderParagraph").style("top",l+"px")}function r(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function a(){var e,t,n=-1,o=/(?:\b(MS)?IE\s+|\bTrident\/7\.0;.*\s+rv:|\bEdge\/)(\d+)/.test(navigator.userAgent);if(o)return n=parseInt("12");var i=/Trident.*rv[ :]*11\./.test(navigator.userAgent);return i?n=parseInt("11"):("Microsoft Internet Explorer"===navigator.appName?(e=navigator.userAgent,t=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))):"Netscape"===navigator.appName&&(e=navigator.userAgent,t=new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))),n)}var l=1,s={},d=webvowl.graph(),c=d.graphOptions(),p=webvowl.util.languageTools(),u="#graph",f=n(323)(d),h=n(325)(d),g=n(326)(d),v=n(327)(d),m=n(328)(d),y=n(329)(d),b=n(333)(d),x=n(334)(d),w=n(335)(d),k=n(336)(d),C=n(337)(d),L=n(338)(d),M=n(339)(d),_=n(340)(d),E=n(341)(d),O=n(342)(d),S=n(343)(d),F=n(344)(d),I=webvowl.modules.colorExternalsSwitch(d),T=webvowl.modules.compactNotationSwitch(d),A=webvowl.modules.datatypeFilter(),P=webvowl.modules.disjointFilter(),B=webvowl.modules.focuser(d),D=webvowl.modules.emptyLiteralFilter(),R=webvowl.modules.nodeDegreeFilter(h),W=webvowl.modules.nodeScalingSwitch(d),N=webvowl.modules.objectPropertyFilter(),H=webvowl.modules.pickAndPin(),j=webvowl.modules.selectionDetailsDisplayer(L.updateSelectionInformation),z=webvowl.modules.statistics(),V=webvowl.modules.subclassFilter(),U=webvowl.modules.setOperatorFilter();return s.getOptions=function(){return webvowl.opts},s.getGraph=function(){return webvowl.gr},s.initialize=function(){window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)},window.cancelAnimationFrame=window.cancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)},c.graphContainerSelector(u),c.selectionModules().push(B),c.selectionModules().push(j),c.selectionModules().push(H),c.filterModules().push(D),c.filterModules().push(z),c.filterModules().push(R),c.filterModules().push(A),c.filterModules().push(N),c.filterModules().push(V),c.filterModules().push(P),c.filterModules().push(U),c.filterModules().push(W),c.filterModules().push(T),c.filterModules().push(I),t.select(window).on("resize",o),f.setup(),g.setup(),h.setup(A,N,V,P,U,R),v.setup(H,W,T,I),b.setup(),L.setup(),O.setup(),M.setup(),_.setup(),m.setup();var n=a();if(n>0&&n<=11)console.log("Agent version "+n),console.log("This agent is not supported"),t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!0),t.select("#optionsArea").classed("hidden",!0),t.select("#logo").classed("hidden",!0);else{t.select("#logo").classed("hidden",!1),12===n?(t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!1)):t.select("#browserCheck").classed("hidden",!0),x.setup([g,h,v,B,j,b]),w.setup(),k.setup(),C.setup(),c.literalFilter(D),c.nodeDegreeFilter(R),c.loadingModule(O),c.filterMenu(h),c.modeMenu(v),c.gravityMenu(g),c.pausedMenu(b),c.pickAndPinModule(H),c.resetMenu(x),c.searchMenu(w),c.ontologyMenu(y),c.navigationMenu(k),c.sidebar(L),c.leftSidebar(M),c.editSidebar(_),c.exportMenu(f),c.graphObject(d),c.zoomSlider(C),c.warningModule(S),c.directInputModule(F),c.datatypeFilter(A),c.objectPropertyFilter(N),c.subclassFilter(V),c.setOperatorFilter(U),c.disjointPropertyFilter(P),c.focuserModule(B),c.colorExternalsModule(I),c.compactNotationModule(T),y.setup(e),E.setup(),M.showSidebar(0),M.hideCollapseButton(!0),d.start();var i=t.select("#modeOfOperationString");i.style("font-size","0.6em"),i.style("font-style","italic"),o();var r,l=d.options().width(),s=d.options().height();r=Math.min(l,s)/1e3;var p=!0;p===!1&&d.setForceTickFunctionWithFPS(),d.setDefaultZoom(r),t.selectAll(".debugOption").classed("hidden",p);var G=t.select("body");if(t.select(document).on("keydown",function(e){8===t.event.keyCode&&t.event.target===G.node()&&t.event.preventDefault(),t.event.ctrlKey&&t.event.shiftKey&&68===t.event.keyCode&&(d.options().executeHiddenDebugFeatuers(),t.event.preventDefault())}),t.select("#maxLabelWidthSliderOption")){var q=!d.options().dynamicLabelWidth();t.select("#maxLabelWidthSlider").node().disabled=q,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",q),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",q)}t.select("#blockGraphInteractions").style("position","absolute").style("top","0").style("background-color","#bdbdbd").style("opacity","0.5").style("pointer-events","auto").style("width",d.options().width()+"px").style("height",d.options().height()+"px").on("click",function(){t.event.preventDefault(),t.event.stopPropagation()}).on("dblclick",function(){t.event.preventDefault(),t.event.stopPropagation()}),t.select("#direct-text-input").on("click",function(){F.setDirectInputMode()}),t.select("#blockGraphInteractions").node().draggable=!1,c.prefixModule(webvowl.util.prefixTools(d)),o(),L.updateOntologyInformation(void 0,z),O.parseUrlAndLoadOntology(),c.debugMenu(m),m.updateSettings(),t.select("#reloadSvgIcon").on("click",function(){return t.select("#reloadSvgIcon").node().disabled===!0?void d.options().ontologyMenu().clearCachedVersion():(t.select("#reloadCachedOntology").classed("hidden",!0),void d.options().ontologyMenu().reloadCachedOntology())}),webvowl.opts=c,webvowl.gr=d}},s}}).call(t,n(6))},323:function(e,t,n){(function(t){e.exports=function(e){function o(){var n=M.requestExport(),o=M.resultingTTL_Content();if(console.log("Exporter was successful: "+n),n){var i="NewOntology",r="data:text/json;charset=utf-8,"+encodeURIComponent(o);x.attr("href",r).attr("download",i+".ttl")}else console.log("ShowWarning!"),e.options().warningModule().showExporterWarning(),console.log("Stay on the page! "+window.location.href),x.attr("href",window.location.href),t.event.preventDefault()}function i(){t.select("#exportedUrl").node().focus(),t.select("#exportedUrl").node().select(),document.execCommand("copy"),e.options().navigationMenu().hideAllMenus(),t.event.preventDefault()}function r(e,t){var n=0,o="opts=";for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],a=t[i];r!==a&&(o+=i+"="+a+";",n++)}return o+="",0===n?"":o}function a(){e.options().navigationMenu().hideAllMenus();var n,o,i,r=t.select(e.options().graphContainerSelector()).select("svg");s(),u(),n=r.attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML,n="\n"+n,o=l(n),i="data:image/svg+xml;base64,"+btoa(o),m.attr("href",i).attr("download",y+".svg"),f(),h(),e.lazyRefresh()}function l(e){var t,n,o,i=[],r=e.length;for(t=0;t0){var J=z.node().getPointAtLength(O-18),Y=J.x-10*j,X=J.y+10*H;X*=-1;var K="black";Z.indexOf("A")>-1&&(Z="$\\forall$"),Z.indexOf("E")>-1&&(Z="$\\exists$"),i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily },text="+K+"] at ("+Y+"pt, "+X+"pt) (cardinalityText"+a+") {"+Z+"};\n "}if(S.property().inverse()){z=S.pathObj(),O=Math.floor(z.node().getTotalLength());var Q=z.node().getPointAtLength(4),ee=z.node().getPointAtLength(0),te=z.node().getPointAtLength(6);D=Q.x,R=Q.y,W=ee.x,N=ee.y,H=W-D,j=N-R,_=Math.sqrt(H*H+j*j),H/=_,j/=_,E=-1*Math.atan2(j,H)*(180/Math.PI),E-=90,h=te.x,g=te.y,1!==S.layers().length||S.loops()?(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_marker"+a+") {};\n "):(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_single_marker"+a+") {};\n ")}}}for(l.each(function(e){u=e.x,f=-e.y,r=e.labelForCurrentLanguage(),void 0===r&&(r="");var t="owlClass";"owl:Thing"!==e.type()&&"owl:Nothing"!==e.type()||(t="owlThing"),"owl:equivalentClass"===e.type()&&(t="owlEquivalentClass");var n="";if(e.textBlock){var o=e.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===o&&(n=", text=black"),"rgb(255, 255, 255)"===o&&(n=", text=white");var l=e.textBlock()._textBlock().node().children;if(l[0]){r=l[0].innerHTML,e.individuals()&&e.individuals().length===parseInt(l[0].innerHTML)&&(r="{\\color{gray} "+l[0].innerHTML+" }");for(var s=1;s-1&&(i+="\\definecolor{Node"+a+"_COLOR}{HTML}{CCCCCC} \n ",d=", fill=Node"+a+"_COLOR ");var g=u-7,v=u+7,m=f+20;"owl:unionOf"===e.type()&&"owl:disjointUnionOf"===e.type()||(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:unionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[text=black] at ("+u+"pt, "+f+"pt) (unionText13) {$\\mathbf{\\cup}$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:disjointUnionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (disjointUnoinText"+a+") {1};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:complementOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+u+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{18pt}{18}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (unionText13) {$\\neg$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:intersectionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\filldraw[even odd rule,fill=owlClassColor,line width=1pt] ("+g+"pt, "+f+"pt) circle (12.5pt) ("+v+"pt, "+f+"pt) circle (12.5pt);\n ",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (intersectionText"+a+") {$\\cap$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),a++}),a=0;a-1?"\\\\ {\\small "+le[se].innerHTML+" }":"\\\\ "+le[se].innerHTML}}}if("setOperatorProperty"!==ne.type()){var ce="owlObjectProperty";"owl:DatatypeProperty"===ne.type()&&(ce="owlDatatypeProperty"),"rdfs:subClassOf"===ne.type()&&(ce="rdfsSubClassOf"),"rdf:Property"===ne.type()&&(ce="rdfProperty");var pe="";if(ne.backgroundColor()){var ue=ne.backgroundColor();ue.toUpperCase(),ue=ue.slice(1,ue.length),i+="\\definecolor{property"+a+"_COLOR}{HTML}{"+ue+"} \n ",pe=", fill=property"+a+"_COLOR "}ne.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{property"+a+"_COLOR}{HTML}{CCCCCC} \n ",pe=", fill=property"+a+"_COLOR ");var fe="",he=ne.textWidth();if(fe=",minimum width="+he+"pt","owl:disjointWith"!==ne.type())if(ne.inverse()){var ge=ne.inverse(),ve=ge.labelForCurrentLanguage();void 0===ve&&(ve="");var me="";if(ge.textBlock&&ge.textBlock()){var ye=ge.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===ye&&(me=", text=black"),"rgb(255, 255, 255)"===ye&&(me=", text=white");var be=ge.textBlock()._textBlock().node().children;if(be[0]){ve=be[0].innerHTML;for(var xe=1;xe-1?"\\\\ {\\small "+be[xe].innerHTML+" }":"\\\\ "+be[xe].innerHTML; +}}}var ke="owlObjectProperty",Ce="";if(ge.backgroundColor()){var Le=ge.backgroundColor();Le.toUpperCase(),Le=Le.slice(1,Le.length),i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{"+Le+"} \n ",Ce=", fill=inv_property"+a+"_COLOR "}ge.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{CCCCCC} \n ",Ce=", fill=inv_property"+a+"_COLOR ");var Me="",_e=ge.textWidth(),Ee=ie-14,Oe=ie+14;Me=",minimum width="+_e+"pt",i+="% Createing Inverse Property \n",i+="\\node["+ke+" "+Me+" "+Ce+" "+me+"] at ("+oe+"pt, "+Ee+"pt) (property"+a+") {"+ve.replaceAll("_","\\_ ")+"};\n",i+="% "+ke+" vs "+ce+"\n",i+="% "+Me+" vs "+fe+"\n",i+="% "+Ce+" vs "+pe+"\n",i+="% "+me+" vs "+re+"\n",i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+Oe+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"}else i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n";else{var Se=oe-12,Fe=oe+12,Ie=ie-20;i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (Node"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Se+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Fe+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+re+"] at ("+oe+"pt, "+Ie+"pt) (Node_text"+a+") {",e.options().compactNotation()===!1&&(i+="(disjoint)"),i+="};\n"}}}i+="\\end{tikzpicture}\n}\n \\end{center}\n";var Te="data:text/json;charset=utf-8,"+encodeURIComponent(i);w.attr("href",Te).attr("download",y+".tex")}var m,y,b,x,w,k,C,L={},M=n(324)(e);String.prototype.replaceAll=function(e,t){var n=this;return n.split(e).join(t)},L.setup=function(){m=t.select("#exportSvg").on("click",a),b=t.select("#exportJson").on("click",g),k=t.select("#copyBt").on("click",i),w=t.select("#exportTex").on("click",v),x=t.select("#exportTurtle").on("click",o);var n=t.select("#m_export");n.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries(),L.exportAsUrl()})},L.setFilename=function(e){y=e||"export"},L.setJsonText=function(e){C=e},L.exportAsUrl=function(){var n={};n.sidebar=e.options().sidebar().getSidebarVisibility();var o=e.options().filterMenu().getDefaultDegreeValue(),i=e.options().filterMenu().getDegreeSliderValue();parseInt(o)===parseInt(i)?n.doc=-1:n.doc=i,n.cd=e.options().classDistance(),n.dd=e.options().datatypeDistance(),e.editorMode()===!0?n.editorMode="true":n.editorMode="false",n.filter_datatypes=String(e.options().filterMenu().getCheckBoxValue("datatypeFilterCheckbox")),n.filter_sco=String(e.options().filterMenu().getCheckBoxValue("subclassFilterCheckbox")),n.filter_disjoint=String(e.options().filterMenu().getCheckBoxValue("disjointFilterCheckbox")),n.filter_setOperator=String(e.options().filterMenu().getCheckBoxValue("setoperatorFilterCheckbox")),n.filter_objectProperties=String(e.options().filterMenu().getCheckBoxValue("objectPropertyFilterCheckbox")),n.mode_dynamic=String(e.options().dynamicLabelWidth()),n.mode_scaling=String(e.options().modeMenu().getCheckBoxValue("nodescalingModuleCheckbox")),n.mode_compact=String(e.options().modeMenu().getCheckBoxValue("compactnotationModuleCheckbox")),n.mode_colorExt=String(e.options().modeMenu().getCheckBoxValue("colorexternalsModuleCheckbox")),n.mode_multiColor=String(e.options().modeMenu().colorModeState()),n.mode_pnp=String(e.options().modeMenu().getCheckBoxValue("pickandpinModuleCheckbox")),n.debugFeatures=String(!e.options().getHideDebugFeatures()),n.rect=0;var a,l=e.options().initialConfig(),s=r(l,n),d=String(location);if(0===s.length){var c=location.hash;d=d.split(c)[0];var p=c.lastIndexOf("#");if(p===-1)return a=t.select("#exportedUrl").node(),a.value=String(location),void(a.title=String(location));var u=c.slice(p,c.length);return a=t.select("#exportedUrl").node(),a.value=d+u,void(a.title=d+u)}var f,h=(d.match(/#/g)||[]).length;if(void 0!==h&&0!==h||(f=d+"#"+s),h>0){var g,v=d.split("#");for(v[1].indexOf("opts=")>=0?(v[1]=s,f=v[0]):(f=v[0]+"#",f+=s),g=1;g0&&(f+="#"+v[g])}a=t.select("#exportedUrl").node(),a.value=f,a.title=f},L.createJSON_exportObject=function(){var t,n,o,i=e.getUnfilteredData(),r=e.options().data()._comment,a=e.options().getGeneralMetaObject(),l=e.options().data().header;a.iri&&a.iri!==l.iri&&(l.iri=a.iri),a.title&&a.title!==l.title&&(l.title=a.title),a.version&&a.version!==l.version&&(l.version=a.version),a.author&&a.author!==l.author&&(l.author=a.author),a.description&&a.description!==l.description&&(l.description=a.description);var s={};s._comment=r,s.header=l,s.namespace=e.options().data().namespace,void 0===s.namespace&&(s.namespace=[]);var d=i.nodes,c=d.length,p=[],u=[];for(t=0;t0&&(h.attributes=d[t].attributes()),d[t].comment()&&(h.comment=d[t].comment()),d[t].annotations()&&(h.annotations=d[t].annotations()),d[t].description()&&(h.description=d[t].description()),d[t].individuals().length>0){var g=[],v=d[t].individuals();for(n=0;n0){y=[];var b=d[t].equivalents();for(n=0;n0&&(w.attributes=b[n].attributes()),b[n].comment()&&(w.comment=b[n].comment()),b[n].individuals().length>0&&(w.individuals=b[n].individuals()),b[n].annotations()&&(w.annotations=b[n].annotations()),b[n].description()&&(w.description=b[n].description()),b[n].individuals().length>0){var k=[],C=b[t].individuals();for(o=0;o0&&(h.equivalent=y),u.push(h)}var M=i.properties,_=M.length,E=[],O=[];for(t=0;t<_;t++){var S={},F={};if(S.id=M[t].id(),S.type=M[t].type(),E.push(S),F.id=M[t].id(),F.iri=M[t].iri(),F.baseIri=M[t].baseIri(),F.label=M[t].label(),M[t].attributes().length>0&&(F.attributes=M[t].attributes()),M[t].comment()&&(F.comment=M[t].comment()),M[t].annotations()&&(F.annotations=M[t].annotations()),M[t].maxCardinality()&&(F.maxCardinality=M[t].maxCardinality()),M[t].minCardinality()&&(F.minCardinality=M[t].minCardinality()),M[t].cardinality()&&(F.cardinality=M[t].cardinality()),M[t].description()&&(F.description=M[t].description()),F.domain=M[t].domain().id(),F.range=M[t].range().id(),M[t].subproperties()){var I=M[t].subproperties(),T=[];for(n=0;n":n[t].prefixRepresentation=i}for(t=0;t":o[t].prefixRepresentation=r}}function n(){if(0!==y.length){x+="### Property Definitions (Number of Property) "+y.length+" ###\r\n";for(var e=0;e=0}function r(t){var n=t.prefixRepresentation,o="rdf:type",r=t.type();"owl:equivalentClass"===t.type()&&(r="owl:Class"),"owl:disjointUnionOf"===t.type()&&(r="owl:Class"),"owl:unionOf"===t.type()&&(r="owl:Class");var a=[],s=[];if(t.union())for(var d=t.union(),c=0;c":b,g+=m+" owl:equivalentClass "+x+" ;\r\n"}if(t.commentForCurrentLanguage()&&(g+=m+' rdfs:comment "'+t.commentForCurrentLanguage()+'" ;\r\n'),t.annotations()){var k=t.annotations();for(var L in k)if(k.hasOwnProperty(L)){var M=k[L],_=M[0],E=_.identifier,O=_.value;"isDefinedBy"===E&&(g+=m+" rdfs:isDefinedBy <"+O+"> ;\r\n"),"term_status"===E&&(g+=m+' vs:term_status "'+O+'" ;\r\n')}}if(a.length>0){g+=m+" owl:disjointUnionOf (";for(var S=0;S":F,g+=m+m+I+" \n"}g+=") ;\r\n"}if(s.length>0){g+=m+" rdfs:subClassOf [ rdf:type owl:Class ; \r\n",g+=m+m+" owl:unionOf ( ";for(var T=0;T":A,g+=m+m+m+P+" \n"}g+=") ;\r\n"}var B,D=e.getUnfilteredData().properties,R=[];for(B=0;B ;\r\n"),"term_status"===x&&(a+=s+' vs:term_status "'+w+'" ;\r\n')}}if("owl:Thing"===c.type()&&"owl:Thing"===p.type()&&"object"!=typeof e.label()&&0===e.label().length&&(d=!0),d===!0){var k=a.substring(0,a.length-2);return a=k+" . \r\n"}var L;if("owl:Thing"===c.type()&&"owl:Thing"===p.type())L=v(s,e.label(),"rdfs:label",!0),a+=L;else{L=v(s,e.label(),"rdfs:label"),a+=L,"owl:Thing"!==c.type()&&(a+=s+" rdfs:domain "+c.prefixRepresentation+";\r\n"),"owl:Thing"!==p.type()&&(a+=s+" rdfs:range "+p.prefixRepresentation+";\r\n");var M=a,_=M.lastIndexOf(";");a=M.substring(0,_)+" . \r\n"}return a}function l(e){return void 0===e?"WHYEMPTYNAME?":new Array(e.length+1).join(" ")}function s(){x+="#################################################################\r\n",x+="### Generated with the experimental alpha version of the TTL exporter of WebVOWL (version 1.1.3) http://visualdataweb.de/webvowl/ ###\r\n",x+="#################################################################\r\n\r\n"}function d(){var t=e.options().getGeneralMetaObjectProperty("iri"),n=e.options().prefixList(),o=[];o.push("@prefix : \t\t<"+t+"> .");for(var i in n)n.hasOwnProperty(i)&&o.push("@prefix "+i+": \t\t<"+n[i]+"> .");o.push("@base \t\t\t<"+t+"> .\r\n");for(var r=0;r");x+="<"+t+"> rdf:type owl:Ontology ;\r\n"+p(n)+u(n)+h(n)+f(n);var o=x,i=o.lastIndexOf(";");x=o.substring(0,i)+" . \r\n"}function p(e){return g(e,"title","dc:title")}function u(e){return g(e,"description","dc:description")}function f(t){var n=e.options().getGeneralMetaObjectProperty("author");if(n){if("object"!=typeof n){if(0===n.length)return"";var o=t+' dc:creator "'+n+'";\r\n';return o}for(var i=t+' dc:creator "',r=0;r0&&(n=-1);var i=parseInt(s.attr("max")),r=parseInt(s.property("value")),a=r+n;r!==a&&a>=0&&a<=i&&(s.property("value",a),s.on("input")(),e.update()),t.event.preventDefault()}function r(e,t){e.property("value",t).on("input")()}function a(){p.node().addEventListener("animationend",function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!0)})}var l,s,d={},c=[],p=(t.select("#m_filter"),t.select("#c_filter a")),u=t.select("#nodeDegreeFilteringOption"),f=0;return d.setDefaultDegreeValue=function(e){f=e},d.getDefaultDegreeValue=function(){return f},d.getGraphObject=function(){return e},d.getCheckBoxContainer=function(){return c},d.getDegreeSliderValue=function(){return s.property("value")},d.setup=function(t,i,r,l,s,c){p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),p.on("mouseleave",function(){d.highlightForDegreeSlider(!1)}),n(t,"datatype","Datatype properties","#datatypeFilteringOption"),n(i,"objectProperty","Object properties","#objectPropertyFilteringOption"),n(r,"subclass","Solitary subclasses","#subclassFilteringOption"),n(l,"disjoint","Class disjointness","#disjointFilteringOption"),n(s,"setoperator","Set operators","#setOperatorFilteringOption"),o(c,u),a()},d.reset=function(){c.forEach(function(e){var t=e.checkbox,n=e.defaultState,o=t.property("checked");o!==n&&(t.property("checked",n),t.on("click")())}),r(s,0),s.on("change")()},d.killButtonAnimation=function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!1)},d.highlightForDegreeSlider=function(e){if(arguments.length||(e=!0),p.classed("highlighted",e),u.classed("highlighted",e),p.classed("buttonPulse")===!0&&e===!0){p.classed("buttonPulse",!1);var t=setTimeout(function(){p.classed("buttonPulse",e),clearTimeout(t)},100)}else p.classed("buttonPulse",e),p.classed("filterMenuButtonHighlight",e)},d.setCheckBoxValue=function(e,t){for(var n=0;n0?d.highlightForDegreeSlider(!0):d.highlightForDegreeSlider(!1),c.forEach(function(t){var n=t.checkbox;n.on("click")(e)}),s.on("input")(),s.on("change")()},d}}).call(t,n(6))},326:function(e,t,n){(function(t){e.exports=function(e){function n(n,i,a,l){var s,d,c=l();s=t.select(n).append("div").datum({distanceFunction:l}).classed("distanceSliderContainer",!0);var p=s.append("input").attr("id",i+"DistanceSlider").attr("type","range").attr("min",10).attr("max",600).attr("value",l()).attr("step",10);s.append("label").classed("description",!0).attr("for",i+"DistanceSlider").text(a),d=s.append("label").classed("value",!0).attr("for",i+"DistanceSlider").text(l()),r.push(p),p.on("focusout",function(){e.updateStyle()}),p.on("input",function(){var t=p.property("value");l(t),o(c),d.text(t),e.updateStyle()}),p.on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=10),n.deltaY>0&&(e=-10);var o=parseInt(p.property("value")),i=o+e;i!==o&&(p.property("value",i),l(i),p.on("input")()),t.event.preventDefault()})}function o(e){var t=Math.max(a.classDistance(),a.datatypeDistance()),n=t/e,o=l*n;a.charge(o)}var i={},r=[],a=e.graphOptions(),l=a.charge();return i.setup=function(){var o=t.select("#m_gravity");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("#classSliderOption","class","Class distance",a.classDistance),n("#datatypeSliderOption","datatype","Datatype distance",a.datatypeDistance)},i.reset=function(){r.forEach(function(e){e.property("value",function(e){return e.distanceFunction()}),e.on("input")()})},i}}).call(t,n(6))},327:function(e,t,n){(function(t){e.exports=function(e){function n(n,o,i,r,a){var l=t.select(i).append("div").classed("checkboxContainer",!0),s=l.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());s.on("click",function(n){var o=s.property("checked");r(o),t.select("#maxLabelWidthSlider").node().disabled=!o,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",!o),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",!o),a>0&&e.animateDynamicLabelWidth()}),l.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&l.append("label").attr("style","font-size:10px;padding-top:3px").text("(experimental)"),d=s}function o(n,o,i,r){var a=t.select(i).append("div").classed("checkboxContainer",!0),l=a.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());l.on("click",function(t){var n=l.property("checked");r(n),n===!0&&e.showEditorHintIfNeeded()}),a.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&a.append("label").attr("style","font-size:10px;padding-top:3px").text(" (experimental)")}function i(n,o,i,r,a){var l,s;return l=t.select(r).append("div").classed("checkboxContainer",!0).datum({module:n,defaultState:n.enabled()}),s=l.append("input").classed("moduleCheckbox",!0).attr("id",o+"ModuleCheckbox").attr("type","checkbox").property("checked",n.enabled()),f.push(s),s.on("click",function(t,n){var o=s.property("checked");t.module.enabled(o),a&&n!==!0&&(e.executeColorExternalsModule(),e.executeCompactNotationModule(),e.lazyRefresh())}),l.append("label").attr("for",o+"ModuleCheckbox").text(i),l}function r(t,n){var o=t.append("button").datum({active:!1}).classed("color-mode-switch",!0);return a(o,n),o.on("click",function(t){var i=o.datum();i.active=!i.active,a(o,n),n.enabled()&&t!==!0&&(e.executeColorExternalsModule(),e.lazyRefresh())}),o}function a(e,t){var n=e.datum().active,o=l(n);e.classed("active",n).text(o.text),t&&t.colorModeType(o.type)}function l(e){return e?p:c}var s,d,c={text:"Multicolor",type:"same"},p={text:"Multicolor",type:"gradient"},u={},f=[];return u.colorModeState=function(e){return arguments.length?(s.datum().active=e,u):s.datum().active},u.setDynamicLabelWidth=function(e){d.property("checked",e)},u.getCheckBoxContainer=function(){return f},u.colorModeSwitch=function(){return s},u.setup=function(a,l,d,c){var p=t.select("#m_modes");p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("labelWidth","Dynamic label width","#dynamicLabelWidth",e.options().dynamicLabelWidth,1),o("editorMode","Editing ","#editMode",e.editorMode),i(a,"pickandpin","Pick & pin","#pickAndPinOption",!1),i(l,"nodescaling","Node scaling","#nodeScalingOption",!0),i(d,"compactnotation","Compact notation","#compactNotationOption",!0);var u=i(c,"colorexternals","Color externals","#colorExternalsOption",!0);s=r(u,c)},u.reset=function(){f.forEach(function(e){var t=e.datum().defaultState,n=e.property("checked");n!==t&&(e.property("checked",t),e.on("click")(e.datum())),e.datum().module.reset()}),s.datum().active=!0,s.on("click")()},u.setCheckBoxValue=function(e,t){for(var n=0;n li > a").attr("href",location.hash||"#")}function i(e){var n=t.select("#bulletPoint_container"),o=n.append("div");o.node().innerHTML=e,E.scrollDownDetails()}function r(e){var n=t.select("#bulletPoint_container"),o=n.node().getElementsByTagName("LI"),i=o.length-1;if(i>=0){var r=o[i].innerHTML;o[i].innerHTML=r+e}E.scrollDownDetails()}function a(e){var n=t.select("#bulletPoint_container"),o=n.append("li");o.node().innerHTML=e,t.select("#currentLoadingStep").node().innerHTML=e,E.scrollDownDetails()}function l(){var e=t.select("#iri-converter-button"),n=t.select("#iri-converter-input");n.on("input",function(){x();var t=""===n.property("value");e.attr("disabled",t||void 0)}).on("click",function(){x()}),t.select("#iri-converter-form").on("submit",function(){for(var e=n.property("value"),o=e.replace(/%20/g," ");o.beginsWith(" ");)o=o.substr(1,o.length);for(;o.endsWith(" ");)o=o.substr(0,o.length-1);e=o;var i=e.toLowerCase();return i.endsWith(".json")?(location.hash="url="+e,n.property("value",""),n.on("input")()):(location.hash="iri="+e,n.property("value",""),n.on("input")()),t.event.preventDefault(),!1})}function s(){var n=t.select("#file-converter-input"),o=t.select("#file-converter-label"),i=t.select("#file-converter-button");n.on("change",function(){var t=n.property("files");t.length<=0?(o.text("Select ontology file"),i.property("disabled",!0)):(o.text(t[0].name),L=t[0].name,i.property("disabled",!1),i.node().click(),e.options().navigationMenu().hideAllMenus())}),i.on("click",function(){var e=n.property("files")[0];if(!e)return!1;var t="file="+e.name;location.hash==="#"+t?E.parseUrlAndLoadOntology():location.hash=t})}function d(e){var n=t.select("#o2vConverterContainer");if(!n.node()){var o=t.select("#bulletPoint_container"),i=o.append("div");n=i.append("ul"),n.attr("id","o2vConverterContainer"),n.style("margin-left","-25px")}for(var r=n.node().children,a=r.length,l=0;l0&&(s=n.append("li"),s.attr("type","disc"),s.node().innerHTML=p.replace(/\n/g,"
    "))}s&&(s.node().innerHTML+="
    "),E.scrollDownDetails()}function c(e,n){t.xhr("loadingStatus?sessionId="+_,"application/text",function(t,o){t&&(console.log("ontologyMenu getLoadingStatusOnceCallBacked throws error"),console.log("---------Error -----------"),console.log(t),console.log("---------Request -----------"),console.log(o)),d(o.responseText),e(n)})}function p(){t.xhr("loadingStatus?sessionId="+_,"application/text",function(e,t){e&&(console.log("ontologyMenu getLoadingStatusTimeLooped throws error"),console.log("---------Error -----------"),console.log(e),console.log("---------Request -----------"),console.log(t)),T===!1&&(d(t.responseText),u())})}function u(){clearTimeout(M),T===!1&&(M=setTimeout(function(){p()},1e3))}function f(e){t.xhr("loadingStatus","application/text",function(t,n){void 0!==n?d(n.responseText+"
    "+e):i(e)})}function h(e){var t=e[2];return t!==_?(console.log("The conversion process for file:"+e[1]+" has been canceled!"),void S.conversionFinished(t)):(E.loadFromOWL2VOWL(e[0],e[1]),void S.conversionFinished())}function g(e){var t=e[2];return t!==_?void console.log("The conversion process for file:"+e[1]+" has been canceled!"):void E.loadFromOWL2VOWL(e[0],e[1])}function v(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function m(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function y(e,t,n){T=!1,u();var o=new FormData;o.append("ontology",e),o.append("sessionId",n);var i=new XMLHttpRequest;i.open("POST","convert",!0),i.onload=function(){clearTimeout(M),T=!0,c(b,[i,t,n])},u(),i.send(o)}function b(t){var n=t[0],o=t[1],i=t[2];return i!==_?(console.log("The conversion process for file:"+o+" has been canceled!"),void S.conversionFinished(i)):void(200===n.status?(E.loadFromOWL2VOWL(n.responseText,o),S.conversionFinished()):(f('Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),e.handleOnLoadingError(),S.conversionFinished()))}function x(){function e(){n.style("display",void 0),clearTimeout(C),t.select(window).on("click",void 0).on("keydown",void 0),n.on("mouseover",void 0)}var n=t.select("#select .toolTipMenu");n.on("click",function(){t.event.stopPropagation()}).on("keydown",function(){t.event.stopPropagation()}),n.style("display","block"),clearTimeout(C),C=setTimeout(function(){e()},3e3),t.select(window).on("click",function(){e()}).on("keydown",function(){e()}),n.on("mouseover",function(){e()})}function w(){t.select("#layoutLoadingProgressBarContainer").classed("hidden",!1),F.classed("hidden",!1),I.classed("hidden",!1)}function k(){F.classed("hidden",!0)}var C,L,M,_,E,O,S={},F=t.select("#loading-info"),I=t.select("#loading-progress"),T=!1,A=!1,P={},B="";return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},S.getLoadingFunction=function(){return O},S.clearCachedVersion=function(){P[B]&&(P[B]=void 0)},S.reloadCachedOntology=function(){S.clearCachedVersion(),e.clearGraphData(),E.parseUrlAndLoadOntology(!1)},S.cachedOntology=function(n){if(B=n,P[n]){var o=String(location.hash);t.select("#reloadSvgIcon").node().disabled=!1,e.showReloadButtonAfterLayoutOptimization(!0),o.indexOf("#file")>-1?(t.select("#reloadSvgIcon").node().disabled=!0,t.select("#reloadCachedOntology").node().title="reloading original version not possible, please reload the file",t.select("#reloadSvgIcon").classed("disabledReloadElement",!0),t.select("#svgStringText").style("fill","gray"),t.select("#svgStringText").classed("noselect",!0)):(t.select("#reloadCachedOntology").node().title="generate new visualization and overwrite cached ontology",t.select("#reloadSvgIcon").classed("disabledReloadElement",!1),t.select("#svgStringText").style("fill","black"),t.select("#svgStringText").classed("noselect",!0))}else e.showReloadButtonAfterLayoutOptimization(!1);return P[n]},S.setCachedOntology=function(e,t){P[e]=t,B=e},S.getErrorStatus=function(){return A},S.setup=function(o){O=o,E=e.options().loadingModule();var i=t.select("#m_select");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),l(),s();var r=t.select("#error-description-button").datum({open:!1});r.on("click",function(e){var n=t.select("#error-description-container"),o=t.select(this);e.open=!e.open;var i=e.open;i?o.text("Hide error details"):o.text("Show error details"),n.classed("hidden",!i)}),n(),E.setOntologyMenu(S)},S.stopLoadingTimer=function(){T=!0,clearTimeout(M)},S.setIriText=function(e){t.select("#iri-converter-input").node().value=e,t.select("#iri-converter-button").attr("disabled",!1),t.select("#iri-converter-form").on("submit")()},S.clearDetailInformation=function(){for(var e=t.select("#bulletPoint_container"),n=e.node().children,o=n.length,i=0;i",""":'"',"'":"'"},r=o(i);e.exports=r},332:function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},333:function(e,t,n){(function(t){e.exports=function(e){function n(){o(),i()}function o(){r.classed("paused",function(e){return e.paused})}function i(){r.datum().paused?r.text("Resume"):r.text("Pause")}var r,a={};return a.setup=function(){var o=t.select("#pauseOption");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),r=t.select("#pause-button").datum({paused:!1}).on("click",function(t){e.paused(!t.paused),t.paused=!t.paused,n(),r.classed("highlighted",t.paused)}),n()},a.setPauseValue=function(t){r.datum().paused=t,e.paused(t),r.classed("highlighted",t),n()},a.reset=function(){a.setPauseValue(!1)},a}}).call(t,n(6))},334:function(e,t,n){(function(t){e.exports=function(e){function n(){e.resetSearchHighlight(),e.options().searchMenu().clearText(),r.classDistance(a.classDistance()),r.datatypeDistance(a.datatypeDistance()),r.charge(a.charge()),r.gravity(a.gravity()),r.linkStrength(a.linkStrength()),e.reset(),o.forEach(function(e){e.reset()}),e.updateStyle()}var o,i={},r=e.graphOptions(),a=webvowl.options();return i.setup=function(i){o=i,t.select("#reset-button").on("click",n);var r=t.select("#resetOption");r.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()})},i}}).call(t,n(6))},335:function(e,t,n){(function(t){e.exports=function(e){function n(){b=e.getUpdateDictionary(),M=!1,k=[],C=[];var t,n=[],o=[];for(t=0;t0)for(var r=b[t].equivalentsString(),a=r.split(", "),l=0;l=0&&s=a&&i[s].setAttribute("class","dbEntrySelected"),h>=0&&h=0&&i[s].setAttribute("class","dbEntry")))}function s(){for(var e=F.node().children,t=e.length,n=0;n-1&&(E.push(k[e]),O.push(e)))}}function c(e,n){n||(n="text");var o=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),i=document.getElementById("width-test").offsetWidth;return o.remove(),i}function p(e){for(var t,n,o,i=250,r="dbEntry",a=e;;){if(t=c(a,r),t<=i)break;if(n=t/i,o=Math.floor(a.length/n),a.length===o)break;a=a.substring(0,o)}return e.length>a.length?e.substring(0,a.length-6):e}function u(){var n,o,i,r=E,a=[],l=[],s=v.node().value.toLowerCase();for(n=E.length,n>L&&(n=L),o=0;o-1&&h<=d&&m<=c&&(u=f,d=h,c=m)}a.push(r[u]),l.push(O[u]),r[u]=""}n=E.length,n>L&&(n=L);var b=0;for(o=0;o1)for(var T=0;T1&&_===!1?k!==I&&(C+="... ("+I+"/"+k+")"):C+="...",x.title=a[o]):k>1&&_===!1&&(C+=k!==I?" ("+I+"/"+k+")":" ("+k+")");var P=t.select(x);1===k||_===!0?void 0===S[w[0]]&&(P.style("color","#979797"),x.title=a[o]+"\nElement is filtered out.",x.onclick=function(){},t.select(x).style("cursor","default"),b++):(I<1?(P.style("color","#979797"),x.onclick=function(){},x.title=a[o]+"\nAll elements are filtered out.",t.select(x).style("cursor","default"),b++):P.style("color",""),I1&&(x.title=a[o]+"\n"+I+"/"+k+" elements are visible.")),P.node().innerHTML=C,F.node().appendChild(x)}}function f(){s(),d(),u()}function h(){return S.classed("highlighted",!1),S.node().title="Nothing to locate",M&&n(),e.resetSearchHighlight(),0===k.length?void console.log("dictionary is empty"):(x=v.node().value,s(),0!==x.length&&(d(),u()),void w.showSearchEntries())}function g(t){return function(){var n=t,o=y[n],i=C[n];v.node().value=i,e.resetSearchHighlight(),e.highLightNodes(o),S.node().title="Locate search term",i!==x&&f(),w.hideSearchEntries()}}var v,m,y,b,x,w={},k=[],C=[],L=6,M=!0,_=!1,E=[],O=[],S=t.select("#locateSearchResult"),F=(t.select("#c_search"),t.select("#m_search"));return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},w.requestDictionaryUpdate=function(){M=!0;for(var e=F.node().children,t=e.length,n=0;n=h?void n():void(y=requestAnimationFrame(o))}function i(){return f-=5,x.scrollLeft=f,b.updateScrollButtonVisibility(),f<=0?void n():void(y=requestAnimationFrame(i))}function r(){M=[],_=[];var e,r=[],c=[],p=x.children,u=p.length;for(e=0;e-1?_[e]="m_"+r[e]:_[e]=void 0,t.select("#"+M[e]).on("mouseover",a),t.select("#"+M[e]).on("mouseout",l),t.select("#"+M[e]).on("click",s),t.select("#"+M[e]).on("touchstart",d);t.select("#menuElementContainer").on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=20),n.deltaY>0&&(e=-20),x.scrollLeft+=e,b.hideAllMenus(),b.updateScrollButtonVisibility()}),t.select("#scrollRightButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#scrollLeftButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#menuElementContainer").on("scroll",function(){b.updateScrollButtonVisibility(),b.hideAllMenus()})}function a(){b.hideAllMenus(),L||p(this.id)}function l(){c(this.id)}function s(){var e=_[M.indexOf(this.id)];if(e){var n=t.select("#"+e);n&&("block"===n.style("display")?n.style("display","none"):p(this.id))}}function d(){L=!0}function c(e){v=t.select("#"+e),"c_search"!==e&&(t.select("#"+e).select("path").style("stroke-width","0"),t.select("#"+e).select("path").style("fill","#fff"))}function p(n){v=t.select("#"+n).node();var o=_[M.indexOf(n)];o&&("c_search"!==n&&(t.select("#"+n).select("path").style("stroke-width","0"),t.select("#"+n).select("path").style("fill","#bdc3c7")),g=t.select("#"+o),g.style("display","block"),"m_export"===o&&e.options().exportMenu().exportAsUrl(),u())}function u(){if(v){var e=v.offsetLeft,t=x.scrollLeft,n=e-t,o=Math.max(0,n),i=x.getBoundingClientRect().width,r=g.node().getBoundingClientRect().width;o+r>i&&(o=i-r),o=Math.max(0,o),g.style("left",o+"px")}}var f,h,g,v,m,y,b={},x=t.select("#menuElementContainer").node(),w=t.select("#menuContainer").node(),k=t.select("#scrollLeftButton"),C=t.select("#scrollRightButton"),L=!1,M=[],_=[];return b.hideAllMenus=function(){t.selectAll(".toolTipMenu").style("display","none")},b.updateScrollButtonVisibility=function(){h=x.scrollWidth-x.clientWidth-2,0===x.scrollLeft?k.classed("hidden",!0):k.classed("hidden",!1),x.scrollLeft>h?C.classed("hidden",!0):C.classed("hidden",!1)},b.setup=function(){r(),t.select("#graph").on("mouseover",function(){b.hideAllMenus()}),t.select("#generalDetails").on("mouseover",function(){b.hideAllMenus()})},b}}).call(t,n(6))},337:function(e,t,n){(function(t){e.exports=function(e){function n(){cancelAnimationFrame(a),cancelAnimationFrame(l)}function o(){s*=.98,su&&(s=u),e.setSliderZoom(s),l=requestAnimationFrame(i)}var r,a,l,s,d,c={},p=e.options().minMagnification(),u=e.options().maxMagnification(),f=!0,h=e.options().width(),g=e.options().height();return r=Math.min(h,g)/1e3,c.setup=function(){d=t.select("#zoomSliderParagraph").append("input").datum({}).attr("id","zoomSliderElement").attr("type","range").attr("value",r).attr("min",p).attr("max",u).attr("step",(u-p)/40).attr("title","zoom factor").on("input",function(){c.zooming()}),t.select("#zoomOutButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom out"),t.select("#zoomInButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom in"),t.select("#centerGraphButton").on("click",function(){e.options().navigationMenu().hideAllMenus(),e.forceRelocationEvent()}).attr("title","center graph")},c.showSlider=function(e){return arguments.length?(t.select("#zoomSlider").classed("hidden",!e),void(f=e)):f},c.zooming=function(){e.options().navigationMenu().hideAllMenus();var t=d.property("value");d.attr("value",t),e.setSliderZoom(t)},c.updateZoomSliderValue=function(e){d&&(d.attr("value",e),d.property("value",e))},c}}).call(t,n(6))},338:function(e,t,n){(function(t){e.exports=function(e){function n(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");e(t.selectAll(".accordion-trigger:not(.accordion-trigger-active) + div")),o.on("click",function(){var o=t.select(this),i=t.selectAll(".accordion-trigger-active");o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(e(t.selectAll(".accordion-trigger-active + div")),i.classed("accordion-trigger-active",!1),n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0))})}function o(n){n=n||[],n.sort(function(e,t){return e===webvowl.util.constants().LANG_IRIBASED?-1:t===webvowl.util.constants().LANG_IRIBASED?1:e===webvowl.util.constants().LANG_UNDEFINED?-1:t===webvowl.util.constants().LANG_UNDEFINED?1:e.localeCompare(t)});var o=t.select("#language").on("change",function(){e.language(t.event.target.value),r(),C.updateSelectionInformation(k)});o.selectAll("option").remove(),o.selectAll("option").data(n).enter().append("option").attr("value",function(e){return e}).text(function(e){return e}),i(o,n,"en")||i(o,n,webvowl.util.constants().LANG_UNDEFINED)||i(o,n,webvowl.util.constants().LANG_IRIBASED)}function i(t,n,o){var i=n.indexOf(o);return i>=0&&(t.property("selectedIndex",i),e.language(o),!0)}function r(){var n=L.textInLanguage(w.title,e.language());t.select("#title").text(n||"No title available"),t.select("#about").attr("href",w.iri).attr("target","_blank").text(w.iri),t.select("#version").text(w.version||"--");var o=w.author;"string"==typeof o?t.select("#authors").text(o):o instanceof Array?t.select("#authors").text(o.join(", ")):t.select("#authors").text("--");var i=L.textInLanguage(w.description,e.language());t.select("#description").text(i||"No description available.")}function a(e,n){e=e||{},t.select("#classCount").text(e.classCount||n.classCount()),t.select("#objectPropertyCount").text(e.objectPropertyCount||n.objectPropertyCount()),t.select("#datatypePropertyCount").text(e.datatypePropertyCount||n.datatypePropertyCount()),t.select("#individualCount").text(e.totalIndividualCount||n.totalIndividualCount()),t.select("#nodeCount").text(n.nodeCount()),t.select("#edgeCount").text(n.edgeCount())}function l(e){var n=t.select("#ontology-metadata");n.selectAll("*").remove(),s(n,e),n.selectAll(".annotation").size()<=0&&n.append("p").text("No annotations available.")}function s(e,n){n=n||{};var o=[];for(var i in n)n.hasOwnProperty(i)&&o.push(n[i][0]);e.selectAll(".annotation").remove(),e.selectAll(".annotation").data(o).enter().append("p").classed("annotation",!0).classed("statisticDetails",!0).text(function(e){return e.identifier+":"}).append("span").each(function(e){h(t.select(this),e.value,"iri"===e.type?e.value:void 0)})}function d(){c(!1,!1,!0)}function c(e,n,o){t.select("#classSelectionInformation").classed("hidden",!e),t.select("#propertySelectionInformation").classed("hidden",!n),t.select("#noSelectionInformation").classed("hidden",!o)}function p(e){u(),f(t.select("#propname"),e.labelForCurrentLanguage(),e.iri()),t.select("#typeProp").text(e.type()),void 0!==e.inverse()?(t.select("#inverse").classed("hidden",!1),f(t.select("#inverse span"),e.inverse().labelForCurrentLanguage(),e.inverse().iri())):t.select("#inverse").classed("hidden",!0);var n=t.select("#propEquivUri");b(n,e.equivalents()),b(t.select("#subproperties"),e.subproperties()),b(t.select("#superproperties"),e.superproperties()),void 0!==e.minCardinality()?(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!1),t.select("#minCardinality span").text(e.minCardinality()),t.select("#maxCardinality").classed("hidden",!1),void 0!==e.maxCardinality()?t.select("#maxCardinality span").text(e.maxCardinality()):t.select("#maxCardinality span").text("*")):void 0!==e.cardinality()?(t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0),t.select("#infoCardinality").classed("hidden",!1),t.select("#infoCardinality span").text(e.cardinality())):(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0)),f(t.select("#domain"),e.domain().labelForCurrentLanguage(),e.domain().iri()),f(t.select("#range"),e.range().labelForCurrentLanguage(),e.range().iri()),g(e.attributes(),t.select("#propAttributes")),x(t.select("#propDescription"),e.descriptionForCurrentLanguage()),x(t.select("#propComment"),e.commentForCurrentLanguage()),s(t.select("#propertySelectionInformation"),e.annotations())}function u(){c(!1,!0,!1)}function f(e,n,o){var i=t.select(e.node().parentNode);n?(e.selectAll("*").remove(),h(e,n,o),i.classed("hidden",!1)):i.classed("hidden",!0)}function h(e,t,n){var o;o=n?e.append("a").attr("href",n).attr("title",n).attr("target","_blank"):e.append("span"),o.text(t)}function g(e,n){var o=t.select(n.node().parentNode);e&&e.length>0&&(v("object",e),v("datatype",e),v("rdf",e)),e&&e.length>0?(n.text(e.join(", ")),o.classed("hidden",!1)):o.classed("hidden",!0)}function v(e,t){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function m(e){y(),f(t.select("#name"),e.labelForCurrentLanguage(),e.iri());var n=t.select("#classEquivUri");b(n,e.equivalents()),t.select("#typeNode").text(e.type()),b(t.select("#individuals"),e.individuals());var o=t.select("#disjointNodes"),i=t.select(o.node().parentNode);void 0!==e.disjointWith()?(o.selectAll("*").remove(),e.disjointWith().forEach(function(e,t){t>0&&o.append("span").text(", "),h(o,e.labelForCurrentLanguage(),e.iri())}),i.classed("hidden",!1)):i.classed("hidden",!0),g(e.attributes(),t.select("#classAttributes")),x(t.select("#nodeDescription"),e.descriptionForCurrentLanguage()),x(t.select("#nodeComment"),e.commentForCurrentLanguage()),s(t.select("#classSelectionInformation"),e.annotations())}function y(){c(!0,!1,!1)}function b(e,n){var o=t.select(e.node().parentNode);n&&n.length?(e.selectAll("*").remove(),n.forEach(function(t,n){n>0&&e.append("span").text(", "),h(e,t.labelForCurrentLanguage(),t.iri())}),o.classed("hidden",!1)):o.classed("hidden",!0)}function x(e,n){var o=t.select(e.node().parentNode),i=!!n;n&&e.text(n),o.classed("hidden",!i)}var w,k,C={},L=webvowl.util.languageTools(),M=webvowl.util.elementTools(),_=1,E=t.select("#detailsArea"),O=t.select("#canvasArea"),S=t.select("#swipeBarContainer"),F=t.select("#sidebarExpandButton");return C.clearOntologyInformation=function(){t.select("#title").text("No title available"),t.select("#about").attr("href","#").attr("target","_blank").text("not given"),t.select("#version").text("--"),t.select("#authors").text("--"),t.select("#description").text("No description available.");var e=t.select("#ontology-metadata");e.selectAll("*").remove(),t.select("#classCount").text("0"),t.select("#objectPropertyCount").text("0"),t.select("#datatypePropertyCount").text("0"),t.select("#individualCount").text("0"),t.select("#nodeCount").text("0"),t.select("#edgeCount").text("0");var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");n&&t.select("#selection-details-trigger").node().click(),d()},C.updateOntologyInformation=function(e,t){e=e||{},w=e.header||{},r(),a(void 0,t),l(w.other),C.updateSelectionInformation(void 0),o(w.languages)},C.updateSelectionInformation=function(e){if(k=e,!t.event||!t.event.defaultPrevented){var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");if(e&&!n)t.select("#selection-details-trigger").node().click();else if(!e&&n)return void d();M.isProperty(e)?p(e):M.isNode(e)&&m(e)}},C.showSidebar=function(n,o){1===n&&(_=!0,F.node().innerHTML=">",E.classed("hidden",!0),o===!0?(E.classed("hidden",!_),O.style("width","78%"),O.style("-webkit-animation-name","none"),S.style("width","78%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","78%"),O.style("-webkit-animation-name","sbCollapseAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","78%"),S.style("-webkit-animation-name","sbCollapseAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_ExpandRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth-.22*window.innerWidth),e.options().navigationMenu().updateScrollButtonVisibility()),0===n&&(_=!1,E.classed("hidden",!0),F.node().innerHTML="<",o===!0?(O.style("width","100%"),O.style("-webkit-animation-name","none"),S.style("width","100%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","100%"),O.style("-webkit-animation-name","sbExpandAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","100%"),S.style("-webkit-animation-name","sbExpandAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_CollapseRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility())},C.isSidebarVisible=function(){return _},C.updateSideBarVis=function(e){var t=C.getSidebarVisibility();C.showSidebar(parseInt(t),e)},C.getSidebarVisibility=function(){var e=E.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},C.initSideBarAnimation=function(){O.node().addEventListener("animationend",function(){E.classed("hidden",!_),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility()})},C.setup=function(){n(),C.initSideBarAnimation(),F.on("click",function(){e.options().navigationMenu().hideAllMenus();var t=parseInt(C.getSidebarVisibility());1===t?C.showSidebar(0):C.showSidebar(1)})},C.updateShowedInformation=function(){var n=e.editorMode();t.select("#generalDetails").classed("hidden",n),t.select("#generalDetailsEdit").classed("hidden",!n),e.options().editSidebar().updateGeneralOntologyInfo(),e.options().sidebar().updateGeneralOntologyInfo()},C.updateGeneralOntologyInfo=function(){var n=e.options().getGeneralMetaObject(),o=e&&e.language?e.language():null;n.hasOwnProperty("title")&&("object"==typeof n.title?t.select("#title").node().value=L.textInLanguage(n.title,o):t.select("#title").node().innerHTML=n.title),n.hasOwnProperty("iri")&&(t.select("#about").node().innerHTML=n.iri),n.hasOwnProperty("iri")&&(t.select("#about").node().href=n.iri),n.hasOwnProperty("version")&&(t.select("#version").node().innerHTML=n.version),n.hasOwnProperty("author")&&(t.select("#authors").node().innerHTML=n.author),n.hasOwnProperty("description")&&("object"==typeof n.description?t.select("#description").node().innerHTML=L.textInLanguage(n.description,o):t.select("#description").node().innerHTML=n.description)},C}}).call(t,n(6))},339:function(e,t,n){(function(t){e.exports=function(e){function n(e){for(var t=0;t"),e.updateCanvasContainerSize(),void e.options().navigationMenu().updateScrollButtonVisibility()):(t.select("#leftSideBarCollapseButton").classed("hidden",!0),1===n&&(u=!0,i.node().innerHTML="<",g.style("-webkit-animation-name","l_sbExpandAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_ExpandLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s")),void(0===n&&(u=!1,h.classed("hidden",!0),i.node().innerHTML=">",g.style("-webkit-animation-name","l_sbCollapseAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_CollapseLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("left","0"))))},c.getSidebarVisibility=function(){var e=h.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},c}}).call(t,n(6))},340:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=t.select("#typeEditor_datatype").node(),n=["undefined","xsd:boolean","xsd:double","xsd:integer","xsd:string"],o=0;o0){var s=e.options().prefixList()[a];if(void 0===s)return console.log("ERROR __________________"),e.options().warningModule().showWarning("Invalid Element IRI","Could not resolve prefix '"+s+"'","Restoring previous IRI for Element"+n.iri(),1,!1),void(t.select("#element_iriEditor").node().value=n.iri());if(0===l.length)return e.options().warningModule().showWarning("Invalid Element IRI","Input IRI is EMPTY","Restoring previous IRI for Element"+n.iri(),1,!1),console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());o=s+l}else o=i+l}else{if(0===o.length)return console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());console.log("Tryig to use the input!"),o=i+o}}return o}function f(n){var o,i=u(n),r=e.options().getGeneralMetaObjectProperty("iri");if(F.isNode(n)){if(o=e.checkIfIriClassAlreadyExist(i),o!==!1)return e.options().warningModule().showWarning("Already seen this class","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),2,!1,o),void O.updateSelectionInformation(n);n.iri(i)}return F.isProperty(n)===!0&&(o=O.checkProperIriChange(n,i),o!==!1)?(e.options().warningModule().showWarning("Already seen this property","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),1,!1,o),void O.updateSelectionInformation(n)):(n.iri(i),c(r,i)===!0?(b(n,"external"),n.backgroundColor("#36C"),n.redrawElement(),n.redrawLabelText()):(x(n,"external"),n.backgroundColor(void 0),n.redrawElement(),n.redrawLabelText()),n.focused()&&(e.options().focuserModule().handle(n,!0),e.options().focuserModule().handle(n,!0)),t.select("#element_iriEditor").node().value=I.getPrefixRepresentationForFullURI(i),void O.updateSelectionInformation(n))}function h(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function g(e){e.label(t.select("#element_labelEditor").node().value),e.redrawLabelText()}function v(e){M=e;var n,o=t.select("#property_characteristics_Selection"),i=o.node().children;if(i)for(var r=i.length,a=0;a-1){var l=o.append("span");l.classed("spanForCharSelection",!0),l.node().innerHTML="external"}var s,d;if(F.isNode(e)===!0){var c=["deprecated"];for(n=0;n=0}function y(){var e=this.checked,t=this.getAttribute("characteristics");e===!0?b(M,t):x(M,t),M.redrawElement(),M.focused(!1),M.toggleFocus()}function b(e,t){if(e.attributes().indexOf(t)===-1){var n=e.attributes();n.push(t),e.attributes(n)}if(e.indications().indexOf(t)===-1){var o=e.indications();o.push(t),e.indications(o)}var i;if(e.visualAttributes().indexOf(t)===-1&&(i=e.visualAttributes(),i.push(t),e.visualAttributes(i)),m(e,"external")&&m(e,"deprecated")){i=e.visualAttributes();var r=i.indexOf("external");r>-1&&i.splice(r,1),e.visualAttributes(i)}}function x(e,t){var n=e.attributes(),o=e.indications(),i=e.visualAttributes(),r=n.indexOf(t);r>=0&&n.splice(r,1);var a=o.indexOf(t);a>-1&&o.splice(a,1);var l=i.indexOf(t);l>-1&&i.splice(l,1),e.attributes(n),e.indications(o),e.visualAttributes(i),"deprecated"===t&&("owl:Class"===e.type()&&e.styleClass("class"),"owl:DatatypeProperty"===e.type()&&e.styleClass("datatypeproperty"),"owl:ObjectProperty"===e.type()&&e.styleClass("objectproperty"),"owl:disjointWith"===e.type()&&e.styleClass("disjointwith"))}function w(e){return"owl:Thing"!==e.type()&&"rdfs:subClassOf"!==e.type()&&"rdfs:Literal"!==e.type()&&"rdfs:Datatype"!==e.type()&&"rdfs:disjointWith"!==e.type()}function k(t){F.isNode(t)&&e.changeNodeType(t)===!1&&(F.isDatatype(t)===!0,O.updateSelectionInformation(t)),F.isProperty(t)&&e.changePropertyType(t)===!1&&O.updateSelectionInformation(t)}function C(e){var t=[];return F.isProperty(e)?("owl:DatatypeProperty"===e.type()?t.push("owl:DatatypeProperty"):(t.push("owl:ObjectProperty"),e.domain()!==e.range()&&t.push("rdfs:subClassOf"),t.push("owl:disjointWith"),t.push("owl:allValuesFrom"),t.push("owl:someValuesFrom")),t):("rect"===e.renderType()?(t.push("rdfs:Literal"),t.push("rdfs:Datatype")):(t.push("owl:Class"),t.push("owl:Thing")),t)}function L(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");o.on("click",function(){var o=t.select(this);o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0)),O.updateElementWidth()})}var M,_,E,O={},S=webvowl.util.languageTools(),F=webvowl.util.elementTools(),I=webvowl.util.prefixTools(e),T=!1;return O.clearMetaObjectValue=function(){t.select("#titleEditor").node().value="",t.select("#iriEditor").node().value="",t.select("#versionEditor").node().value="",t.select("#authorsEditor").node().value="",t.select("#descriptionEditor").node().value=""},O.updatePrefixUi=function(){O.updateElementWidth();for(var e=t.select("#prefixURL_Container");e.node().firstChild;)e.node().removeChild(e.node().firstChild);a()},O.setup=function(){L(),a(),r(),n(),t.select("#titleEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value))}),t.select("#iriEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri"))}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri")))}),t.select("#versionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value))}),t.select("#authorsEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value))}),t.select("#descriptionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("description",t.select("#descriptionEditor").node().value)}),O.updateElementWidth()},O.updateEditDeleteButtonIds=function(e,n){t.select("#prefixInputFor_"+e).node().id="prefixInputFor_"+n,t.select("#prefixURLFor_"+e).node().id="prefixURLFor_"+n,t.select("#deleteButtonFor_"+e).node().id="deleteButtonFor_"+n,t.select("#editButtonFor_"+e).node().id="editButtonFor_"+n,t.select("#prefixContainerFor_"+e).node().id="prefixContainerFor_"+n},O.checkForExistingURL=function(t){var n,o=e.getUnfilteredData().properties;for(n=0;n0&&(e=-10);var o=parseInt(s.property("value")),i=o+e;i!==o&&(s.property("value",i),r(i),s.on("input")()),t.event.preventDefault()}})}function o(n,o,i,a,l){var s=t.select(i).append("div").classed("checkboxContainer",!0),d=s.append("input").classed("moduleCheckbox",!0).attr("id",n+"ConfigCheckbox").attr("type","checkbox").property("checked",a());d.on("click",function(t){var n=d.property("checked");a(n),t!==!0&&(1===l&&e.lazyRefresh(),2===l&&e.update(),3===l&&e.updateDraggerElements())}),r.push(d),s.append("label").attr("for",n+"ConfigCheckbox").text(o)}var i={},r=[];return i.setup=function(){var i=t.select("#m_modes");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),o("showZoomSlider","Zoom controls","#zoomSliderOption",e.options().zoomSlider().showSlider,0),n("#maxLabelWidthSliderOption","maxLabelWidth","Max label width",e.options().maxLabelWidth)},i.setCheckBoxValue=function(e,t){for(var n=0;nTrying to convert with other communication protocol."),e(t)}function i(e){f.append_message_toLastBulletPoint("
    Trying to convert with other communication protocol.");var t=e[0],n=e[1],o=new FormData;o.append("ontology",t);var i=new XMLHttpRequest;i.open("POST","convert",!0);var r="";i.onload=function(){200===i.status&&(r=i.responseText,f.setCachedOntology(n,r),h=n,L=!0,f.append_message_toLastBulletPoint("
    Success, but you are using a deprecated OWL2VOWL service!"),s(r))},i.onreadystatechange=function(){4===i.readyState&&0===i.status&&(f.append_message_toLastBulletPoint("
    Old protocol also failed to establish connection to OWL2VOWL service!"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage())},i.send(o)}function r(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){O.setBusyMode(),t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage()):(u=o.responseText,f.setConversionID(u),n[0]=n[0]+"&sessionId="+u,n.push(u),e(n))})}function a(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),i(n)):(u=o.responseText,f.setConversionID(u),console.log("Request Session ID:"+u),e(n[0],n[1],u))})}function l(n){var o;n.indexOf("new_ontology")!==-1&&(O.hideLoadingIndicator(),e.showEditorHintIfNeeded(),o="./data/new_ontology.json"),C=!1;var i="";if(f.cachedOntology(n))f.append_bulletPoint("Loading already cached ontology: "+n),i=f.cachedOntology(n),C=!0,O.showLoadingIndicator(),s(i);else{var r="./data/"+n+".json";o&&(r=o),t.xhr(r,"application/json",function(t,o){var r=!t;r?(i=o.responseText,s(i)):(f.append_bulletPoint("Failed to load: "+n),f.append_message_toLastBulletPoint(" ERROR STATUS: "+t.status),e.handleOnLoadingError(),O.setErrorMode())})}}function s(e){f.append_bulletPoint("Reading ontology graph ... ");var t=f.getLoadingFunction();t(e,h,"noAlternativeNameYet")}function d(e){var t=(e.match(/#/g)||[]).length,n=[];if(t>0)for(var o=e.split("#"),i=1;i=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else h=e[0],n()}function r(e){if(e[0].indexOf(a)>=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else n();h=e[1]}var a="opts=";switch(t.length){case 0:n();break;case 1:i(t);break;case 2:r(t);break;default:console.log("To many input parameters , loading default config"),n(),h="ERROR_TO_MANY_INPUT_PARAMETERS"}}function p(e){var t="iri=",n="url=",o="file=",i=-1;return i=e.substr(0,o.length)===o?v:e.substr(0,n.length)===n?m:e.substr(0,t.length)===t?y:g}var u,f,h,g=0,v=1,m=2,y=3,b=0,x=1,w=2,k=1,C=!1,L=!1,M=!1,_=!0,E="ontology",O={},S=t.select("#loading-info"),F=t.select("#loadingInfo-container"),I=t.select("#show-loadingInfo-button"),T=t.select("#loadingIndicator_closeButton");return O.checkForScreenSize=function(){var n=e.options().width(),o=e.options().height();n<270?t.select("#loading-info").classed("hidden",!0):_===!0?t.select("#loading-info").classed("hidden",!1):t.select("#loading-info").classed("hidden",!0),o<150?t.select("#loadingInfo_msgBox").classed("hidden",!0):t.select("#loadingInfo_msgBox").classed("hidden",!1),o<80?(t.select("#progressBarContext").classed("hidden",!0),t.select("#layoutLoadingProgressBarContainer").style("height","20px")):(t.select("#progressBarContext").classed("hidden",!1),t.select("#layoutLoadingProgressBarContainer").style("height","50px"))},O.getProgressBarMode=function(){return k},O.successfullyLoadedOntology=function(){return C},O.missingImportsWarning=function(){return L},O.setOntologyMenu=function(e){f=e},O.showErrorDetailsMessage=function(){O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!0),O.scrollDownDetails()},O.showWarningDetailsMessage=function(){t.select("#currentLoadingStep").style("color","#ff0"),O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!1),O.scrollDownDetails()},O.scrollDownDetails=function(){var e=t.select("#loadingInfo-container").node();e.scrollTop=e.scrollHeight},O.hideLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!0),_=!1},O.showLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!1),_=!0},O.setup=function(){F.classed("hidden",!M),I.on("click",function(){M=!M,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)}),T.on("click",function(){S.classed("hidden",!0)}),O.setBusyMode()},O.updateSize=function(){M=!F.classed("hidden"),F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.getDetailsState=function(){return M},O.expandDetails=function(){M=!0,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.collapseDetails=function(){M=!1,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.setBusyMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").style("width","20%"),t.select("#progressBarValue").classed("busyProgressBar",!0),k=x},O.setSuccessful=function(){t.select("#currentLoadingStep").style("color","#0f0")},O.setErrorMode=function(){t.select("#currentLoadingStep").style("color","#f00"),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="",k=b},O.setPercentMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="0%",t.select("#progressBarValue").style("width","0%"),k=w},O.setPercentValue=function(e){t.select("#progressBarValue").node().innherHTML=e},O.emptyGraphContentError=function(){e.clearGraphData(),f.append_message_toLastBulletPoint("failed"),f.append_message_toLastBulletPoint('
    Error: Received empty graph'),C=!1,e.handleOnLoadingError(),O.setErrorMode()},O.isThreadCanceled=function(){},O.initializeLoader=function(n){if(n===!0&&null!==e.getCachedJsonObj()){var o=JSON.stringify(e.getCachedJsonObj()),i=h;f.setCachedOntology(i,o)}u=-1e4,f.setConversionID(u),f.stopLoadingTimer(),e.clearGraphData(),O.setBusyMode(),O.showLoadingIndicator(),O.collapseDetails(),L=!1,t.select("#loadingIndicator_closeButton").classed("hidden",!0),f.clearDetailInformation()},O.parseUrlAndLoadOntology=function(n){var o=!0;n===!1&&(o=!1),e.clearAllGraphData(),O.initializeLoader(o);var i=String(location),r=d(i);h=E,c(r);var a=p(h);switch(t.select("#progressBarValue").node().innerHTML=" ",a){case 0:O.from_presetOntology(h);break;case 1:O.from_FileUpload(h);break;case 2:O.from_JSON_URL(h);break;case 3:O.from_IRI_URL(h);break;default:console.log("Could not identify loading method , or not IMPLEMENTED YET")}},O.from_JSON_URL=function(e){var t=decodeURIComponent(e.slice("url=".length));h=t;var o="";f.cachedOntology(t)?(f.append_bulletPoint("Loading already cached ontology: "+t),o=f.cachedOntology(t),C=!0,s(o)):(f.append_message("Retrieving ontology from JSON URL "+t),n(f.callbackLoad_JSON_FromURL,["read?json="+t,t]))},O.requestServerTimeStampForDirectInput=function(e,n){t.xhr("serverTimeStamp","application/text",function(o,i){o?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage(),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").text("0%")):(u=i.responseText,f.setConversionID(u),e(n,["conversionID"+u,u]))})},O.from_IRI_URL=function(e){var t=decodeURIComponent(e.slice("iri=".length));h=t;var n="";if(f.cachedOntology(t))f.append_bulletPoint("Loading already cached ontology: "+t),n=f.cachedOntology(t),C=!0,s(n);else{var o=encodeURIComponent(t);f.append_bulletPoint("Retrieving ontology from IRI: "+t),r(f.callbackLoad_Ontology_FromIRI,["convert?iri="+o,t])}},O.from_FileUpload=function(n){O.setBusyMode();var o=decodeURIComponent(n.slice("file=".length));h=o;var i="";if(f.cachedOntology(o))f.append_bulletPoint("Loading already cached ontology: "+o),i=f.cachedOntology(o),C=!0,s(i);else{f.append_bulletPoint("Retrieving ontology from file: "+o);var r=t.select("#file-converter-input").property("files")[0];if(!r||o&&o!==r.name)return f.append_message_toLastBulletPoint('
    No cached version of "'+o+'" was found.
    Please reupload the file.'),O.setErrorMode(),t.select("#progressBarValue").classed("busyProgressBar",!1),void e.handleOnLoadingError();if(o=r.name,o.match(/\.json$/)){f.setConversionID(-1e4);var l=new FileReader;l.readAsText(r),l.onload=function(){i=l.result,h=o,s(i)}}else{var d=[r,o];a(f.callbackLoadFromOntology,d)}}},O.directInput=function(e){f.clearDetailInformation(),s(e)},O.loadFromOWL2VOWL=function(e,n){C=!1;var o=t.select("#bulletPoint_container").node().innerHTML;o.indexOf("(with warnings)")!==-1&&(L=!0),f.cachedOntology(e)?(f.append_bulletPoint("Loading already cached ontology: "+n),s(e)):s(e)},O.from_presetOntology=function(e){f.append_bulletPoint("Retrieving ontology: "+e),l(e)},O.notValidJsonFile=function(){e.clearGraphData(),f.append_message_toLastBulletPoint(" failed"),f.append_message_toLastBulletPoint("
    Error: Received empty graph"),C=!1,e.handleOnLoadingError()},O.validJsonFile=function(){f.append_message_toLastBulletPoint("done"),C=!0},O}}).call(t,n(6))},343:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=document.styleSheets[1].cssRules,t=0;tYou can now modify an existing ontology or create a new one via the ontology menu.
    You can save any ontology using the export menu (and exporting it as TTL file).",o.style("padding","5px"),o.style("line-height","1.2em"),o.style("font-size","1.2em");var a=t.append("ul");a.append("li").node().innerHTML="Create a class with double click / tap on empty canvas area.",a.append("li").node().innerHTML="Edit names with double click / tap on element.",a.append("li").node().innerHTML="Selection of default constructors is provided in the left sidebar.",a.append("li").node().innerHTML="Additional editing functionality is provided in the right sidebar.";var d=t.append("label");d.node().id="killWarningErrorMessages_"+e,d.node().innerHTML="Got It",d.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showMessage=function(e){var t=l[e];t.classed("hidden",!1),t.style("-webkit-animation-name","warn_ExpandAnimation"),t.style("-webkit-animation-duration","0.5s")},r.closeMessage=function(e){var n;if(void 0===e){var o=this.id;n=o.split("_")[1]}else n=e;e&&e.indexOf("_")!==-1&&(n=e.split("_")[1]),d[n]=!1;var i=l[n];i.style("-webkit-animation-name","warn_CollapseAnimation"),i.style("-webkit-animation-duration","0.5s");for(var r=i.node().getBoundingClientRect().height,a=i.node().parentNode,s=[],c=a.children,u=c.length,f=i.node().id,h=!1,g=0;g0){var v=f.append("div");v.style("padding","5px");var m=v.append("div");m.style("display","inline-flex"),m.node().innerHTML="Warning:",m.style("padding-right","3px");var y=v.append("div");y.style("display","inline-flex"),y.style("max-width",g+"px"),y.node().innerHTML=n}if(o.length>0){var b=f.append("div");b.style("padding","5px");var x=b.append("div");x.style("display","inline-flex"),x.style("padding-right","3px"),x.node().innerHTML="Reason:";var w=b.append("div");w.style("display","inline-flex"),w.style("max-width",g+"px"),w.node().innerHTML=o}if(i.length>0){var k=f.append("div");k.style("padding","5px");var C=k.append("div");C.style("display","inline-flex"),C.style("padding-right","8px"),C.node().innerHTML="Action:";var L=k.append("div");L.style("display","inline-flex"),L.style("max-width",g+"px"),L.node().innerHTML=i}var M=f.append("label");M.node().id="killWarningErrorMessages_"+u,M.node().innerHTML="Continue",M.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0),a(c[0],c[1],c[2],c[3])}),f.append("span").node().innerHTML="|";var _=f.append("label");_.node().id="cancelButton_"+u,_.node().innerHTML="Cancel",_.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0)}),h.classed("hidden",!1),h.style("-webkit-animation-name","warn_ExpandAnimation"),h.style("-webkit-animation-duration","0.5s")},r.showFilterHint=function(){var e=r.addMessageBox(),t=s[e],n=l[e];d[e]=!0,o=e;var i=t.append("div");i.node().innerHTML="Collapsing filter activated.
    The number of visualized elements has been automatically reduced.
    Use the degree of collapsing slider in the filter menu to adjust the visualization.

    Note: A performance decrease could be experienced with a growing amount of visual elements in the graph.",i.style("padding","5px"),i.style("line-height","1.2em"),i.style("font-size","1.2em");var a=t.append("label");a.node().id="killFilterMessages_"+e,a.node().innerHTML="Got It",a.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showWarning=function(t,n,o,i,a,c){var p=r.addMessageBox(),u=s[p],f=l[p];d[p]=!0;var h=.5*e.options().width();if(t.length>0){var g=u.append("div");g.style("padding","5px");var v=g.append("div");v.style("display","inline-flex"),v.node().innerHTML="Warning:",v.style("padding-right","3px");var m=g.append("div");m.style("display","inline-flex"),m.style("max-width",h+"px"),m.node().innerHTML=t}if(n.length>0){var y=u.append("div");y.style("padding","5px");var b=y.append("div");b.style("display","inline-flex"),b.style("padding-right","3px"),b.node().innerHTML="Reason:";var x=y.append("div");x.style("display","inline-flex"),x.style("max-width",h+"px"),x.node().innerHTML=n}if(o.length>0){var w=u.append("div");w.style("padding","5px");var k=w.append("div");k.style("display","inline-flex"),k.style("padding-right","8px"),k.node().innerHTML="Action:";var C=w.append("div");C.style("display","inline-flex"),C.style("max-width",h+"px"),C.node().innerHTML=o}var L;if(1===i&&(L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage)),2===i){L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage),u.append("span").node().innerHTML="|";var M=u.append("label");M.node().id="zoomElementThing_"+p,M.node().innerHTML="Zoom to element ",M.on("click",function(){e.zoomToElementInGraph(c)}),u.append("span").node().innerHTML="|";var _=u.append("label");_.node().id="showElementThing_"+p,_.node().innerHTML="Indicate element",_.on("click",function(){c.halo()===!1?(c.drawHalo(),e.updatePulseIds([c.id()])):(c.removeHalo(),c.drawHalo(),e.updatePulseIds([c.id()]))})}f.classed("hidden",!1),f.style("-webkit-animation-name","warn_ExpandAnimation"),f.style("-webkit-animation-duration","0.5s"),f.classed("hidden",!1)},r}}).call(t,n(6))},344:function(e,t,n){(function(t){e.exports=function(e){var n={},o=t.select("#DirectInputContent");o.style("top","0"),o.style("position","absolute");var i=t.select("#directInputTextArea"),r=!1;return o.style("border","1px solid black"),o.style("padding","5px"),o.style("background","#fff"),n.handleDirectUpload=function(){var o,r=i.node().value;try{o=JSON.parse(r),e.options().loadingModule().directInput(r),o.class.length>0&&n.setDirectInputMode(!1)}catch(n){try{e.options().loadingModule().initializeLoader(),e.options().loadingModule().requestServerTimeStampForDirectInput(e.options().ontologyMenu().callbackLoad_Ontology_From_DirectInput,r)}catch(e){console.log("Error "+e),t.select("#Error_onLoad").classed("hidden",!1),t.select("#Error_onLoad").node().innerHTML="Failed to convert the input!"}}},n.handleCloseButton=function(){n.setDirectInputMode(!1)},n.updateLayout=function(){var t=e.options().width(),n=e.options().height();i.style("width",.4*t+"px"),i.style("height",.7*n+"px")},n.setDirectInputMode=function(e){r=e?e:!r,n.updateLayout(),t.select("#Error_onLoad").classed("hidden",!0),o.classed("hidden",!r)},t.select("#directUploadBtn").on("click",n.handleDirectUpload),t.select("#close_directUploadBtn").on("click",n.handleCloseButton),n}}).call(t,n(6))}}); diff --git a/dist/ontology/0.5.1/webvowl/js/webvowl.js b/dist/ontology/0.5.1/webvowl/js/webvowl.js new file mode 100644 index 0000000..fe3a381 --- /dev/null +++ b/dist/ontology/0.5.1/webvowl/js/webvowl.js @@ -0,0 +1,7 @@ +webvowl=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){function r(e,t){var n=t.key.replace(":","").toLowerCase();e[n]=t.value}n(1);var o=n(5)(),a=n(40)(),i={};i.graph=n(57),i.options=n(64),i.version="1.1.4",i.util={},i.util.constants=n(12),i.util.languageTools=n(11),i.util.elementTools=n(63),i.util.prefixTools=n(72),i.modules={},i.modules.colorExternalsSwitch=n(73),i.modules.compactNotationSwitch=n(74),i.modules.datatypeFilter=n(75),i.modules.disjointFilter=n(77),i.modules.focuser=n(78),i.modules.emptyLiteralFilter=n(79),i.modules.nodeDegreeFilter=n(80),i.modules.nodeScalingSwitch=n(81),i.modules.objectPropertyFilter=n(82),i.modules.pickAndPin=n(83),i.modules.selectionDetailsDisplayer=n(315),i.modules.setOperatorFilter=n(316),i.modules.statistics=n(317),i.modules.subclassFilter=n(318),i.nodes={},o.entries().forEach(function(e){r(i.nodes,e)}),i.properties={},a.entries().forEach(function(e){r(i.properties,e)}),e.exports=i},function(e,t){},,,,function(e,t,n){(function(t){var r=[];r.push(n(7)),r.push(n(18)),r.push(n(19)),r.push(n(26)),r.push(n(27)),r.push(n(28)),r.push(n(29)),r.push(n(30)),r.push(n(31)),r.push(n(32)),r.push(n(33)),r.push(n(34)),r.push(n(38)),r.push(n(39));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t){e.exports=d3},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["external"]).type("ExternalClass")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(9),o=n(14),a=n(17)();e.exports=function(){var e=function(e){function t(){var t=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(t=void 0);var n=new o(u.nodeElement(),t),r=u.equivalentsString(),a=r?",":"";return n.addText(u.labelForCurrentLanguage(),"",a),n.addEquivalents(r),e.options().compactNotation()||n.addSubText(u.indicationString()),n.addInstanceCount(u.individuals().length),n}r.apply(this,arguments);var n,i,s,l,u=this,c=!1,d=50,p=null,f=!1;this.setRectangularRepresentation=function(e){f=e},this.getRectangularRepresentation=function(){return f},this.getHalos=function(){return p},this.collapsible=function(e){return arguments.length?(c=e,this):c},this.textBlock=function(e){return arguments.length?(l=e,this):l},this.radius=function(e){return arguments.length?(d=e,this):d},this.setHoverHighlighting=function(e){u.nodeElement().selectAll("circle").classed("hovered",e)},this.textWidth=function(e){var t=2*this.actualRadius();if(e){var n=Math.abs(e)/this.actualRadius(),r=n<=1;t=r?Math.cos(n)*t:0}return t},this.toggleFocus=function(){u.focused(!u.focused()),u.nodeElement()&&u.nodeElement().select("circle").classed("focused",u.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.actualRadius=function(){if(!e.options().scaleNodesByIndividuals()||u.individuals().length<=0)return u.radius();var t=8,n=Math.log(u.individuals().length+1)*t+5;return u.radius()+n},this.distanceToBorder=function(){return u.actualRadius()},this.removeHalo=function(){u.halo()&&(u.halo(!1),p&&p.remove())},this.drawHalo=function(e){if(u.halo(!0),p=f===!0?a.drawRectHalo(u.nodeElement(),80,80,5):a.drawHalo(u.nodeElement(),u.actualRadius(),this.removeHalo),e===!1){var t=p.selectAll(".searchResultA");t.classed("searchResultA",!1),t.classed("searchResultB",!0),t.attr("animationRunning",!1)}},this.drawPin=function(){u.pinned(!0);var t=-.7*u.actualRadius(),n=-.7*u.actualRadius();i=a.drawPin(u.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){u.pinned(!1),i&&i.remove(),e.updateStyle()},this.drawCollapsingButton=function(){n=u.nodeElement().append("g").classed("hidden-in-export",!0).attr("transform",function(){var e=-.4*u.actualRadius(),t=.5*u.actualRadius();return"translate("+e+","+t+")"}),n.append("rect").classed("class pin feature",!0).attr("x",0).attr("y",0).attr("width",40).attr("height",24),n.append("line").attr("x1",13).attr("y1",12).attr("x2",27).attr("y2",12),n.append("line").attr("x1",20).attr("y1",6).attr("x2",20).attr("y2",18)},this.draw=function(e,t){var n=u.collectCssClasses();u.nodeElement(e);var r=u.backgroundColor();null===r&&(r=void 0),u.attributes().indexOf("deprecated")>-1&&(r=void 0),t instanceof Array&&(n=n.concat(t)),s=f===!0?a.appendRectangularClass(e,80,80,n,u.labelForCurrentLanguage(),r):a.appendCircularClass(e,u.actualRadius(),n,u.labelForCurrentLanguage(),r),u.postDrawActions(e)},this.redrawElement=function(){s.remove(),l.remove();var e=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(e=void 0);var t=u.collectCssClasses();s=f===!0?a.appendRectangularClass(u.nodeElement(),80,80,t,u.labelForCurrentLanguage(),e):a.appendCircularClass(u.nodeElement(),u.actualRadius(),t,u.labelForCurrentLanguage(),e),u.postDrawActions(u.nodeElement())},this.postDrawActions=function(){u.textBlock(t()),u.addMouseListeners(),u.pinned()&&u.drawPin(),u.halo()&&u.drawHalo(!1),u.collapsible()&&u.drawCollapsingButton()},this.redrawLabelText=function(){u.textBlock().remove(),u.textBlock(t()),s.select("title").text(u.labelForCurrentLanguage())},this.equivalentsString=function(){var e=u.equivalents();if(e)return e.map(function(e){return e.labelForCurrentLanguage()}).join(", ")}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(13)();e.exports=function(){var e=function(e){function n(){if(!g.mouseEntered()&&b!==!0){var t=g.nodeElement().node(),n=t.parentNode;g.animationProcess()===!1&&n.appendChild(t),e.isTouchDevice()===!1?(g.setHoverHighlighting(!0),g.mouseEntered(!0),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g)):e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g,!0)}}function a(){g.setHoverHighlighting(!1),g.mouseEntered(!1),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!1)}r.apply(this,arguments);var i,s,l,u,c,d,p,f,h,v,g=this,y=[],m="round",b=!1,x=[];g.editingTextElement=!1,this.isPropertyAssignedToThisElement=function(e){if(console.log("Element IRI :"+e.iri()),"rdfs:subClassOf"===e.type())for(var t=0;t0?this.LINE_DISTANCE:0;e.attr("dy",n+o+"px")},r.prototype.getTextBox=function(){return this._textBlock()},r.prototype._repositionTextBlock=function(){var e=this._lineCount();if(e<1)return void this._textBlock().attr("y",0);var t=this._textBlock().node().getBBox().height;this._textBlock().attr("y",.5*-t+"px")},r.prototype._lineCount=function(){return this._textBlock().property("childElementCount")}},function(e,t,n){(function(t){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}var r=4,o={};o.truncate=function(e,t,o,a){if(t-=isNaN(a)?r:a,isNaN(t)||t<=0)return e;for(var i,s,l,u=e;;){if(s=n(u,o),s<=t)break;if(l=s/t,i=Math.floor(u.length/l),u.length===i)break;u=u.substring(0,i)}return e.length>u.length?e.substring(0,u.length-3)+"...":e},e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){(function(t){function n(e,t){var n=e.append("text").classed("text",!0).style("fill",this._getTextColor(t)).attr("text-anchor","middle");this._textBlock=function(){return n}}function r(e){return.3*(e.r/255)+.59*(e.g/255)+.11*(e.b/255)}e.exports=n,n.prototype.LINE_DISTANCE=1,n.prototype.CSS_CLASSES={default:"text",subtext:"subtext",instanceCount:"instance-count"},n.prototype.DARK_TEXT_COLOR="#000",n.prototype.LIGHT_TEXT_COLOR="#fff",n.prototype.translation=function(e,t){return this._textBlock().attr("transform","translate("+e+", "+t+")"),this},n.prototype.remove=function(){return this._textBlock().remove(),this},n.prototype._applyPreAndPostFix=function(e,t,n){return t&&(e=t+e),n&&(e+=n),e},n.prototype._getTextColor=function(e){if(!e)return n.prototype.DARK_TEXT_COLOR;var o=t.rgb(e);return r(o)>.5?n.prototype.DARK_TEXT_COLOR:n.prototype.LIGHT_TEXT_COLOR}}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e,t){t instanceof Array&&t.forEach(function(t){e.classed(t,!0)})}function n(e,t){t&&e.append("title").text(t)}function r(e,t){t&&e.style("fill",t)}var o={};return o.appendCircularClass=function(t,o,a,i,s){var l=t.append("circle").classed("class",!0).attr("r",o);return e(l,a),n(l,i),r(l,s),l},o.appendRectangularClass=function(t,o,a,i,s,l){var u=t.append("rect").classed("class",!0).attr("x",-o/2).attr("y",-a/2).attr("width",o).attr("height",a);return e(u,i),n(u,s),r(u,l),u},o.drawPin=function(e,n,r,o,a,i){var s=e.append("g").classed("hidden-in-export",!0).attr("transform","translate("+n+","+r+")"),l=s.append("circle").classed("class pin feature",!0).attr("r",12).on("click",function(){o&&o(),t.event.stopPropagation()});return s.append("line").attr("x1",0).attr("x2",0).attr("y1",12).attr("y2",16),i===!0&&s.append("circle").attr("r",15).attr("cx",-7).attr("cy",-7).classed("superHiddenElement ",!0).classed("superOpacityElement",!a()).on("click",function(){o&&o(),t.event.stopPropagation()}).on("mouseover",function(){l.classed("feature_hover",!0)}).on("mouseout",function(){l.classed("feature_hover",!1)}),s},o.drawRectHalo=function(e,t,n,r){var o;if(o=e.nodeElement?e.nodeElement():e.labelElement()){var a=o.append("g").classed("hidden-in-export",!0);return a.append("rect").classed("searchResultA",!0).attr("x",(-t-r)/2).attr("y",(-r-n)/2).attr("width",t+r).attr("height",n+r),a.attr("animationRunning",!0),a.node().addEventListener("webkitAnimationEnd",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a.node().addEventListener("animationend",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a}},o.drawHalo=function(e,t){if(void 0===e)return null;var n=e.append("g").classed("hidden-in-export",!0);return n.append("circle",":first-child").classed("searchResultA",!0).attr("r",t+15),n.attr("animationRunning",!0),n.node().addEventListener("webkitAnimationEnd",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n.node().addEventListener("animationend",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n},function(){return o}}()}).call(t,n(6))},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.type("owl:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("complementof").type("owl:complementOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0);r.append("circle").attr("class","symbol").classed("fineline",!0).attr("r",10),r.append("path").attr("class","nofill").attr("d","m -7,-1.5 12,0 0,6").attr("transform","scale(.5)"),r.attr("transform","translate(-"+(t.radius()-15)/100+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(21),o=n(22),a=n(8),i=n(17)();e.exports=function(){var e=function(e){a.apply(this,arguments);var t=this,n=t.setHoverHighlighting,s=t.postDrawActions;this.setHoverHighlighting=function(e){n(e),t.links().filter(function(e){return e instanceof o}).filter(function(e){return e.domain().equals(t)}).forEach(function(t){t.property().setHighlighting(e)})},this.draw=function(e){t.nodeElement(e),i.appendCircularClass(e,t.actualRadius(),t.collectCssClasses().join(" "),t.labelForCurrentLanguage(),t.backgroundColor())},this.postDrawActions=function(){s(),t.textBlock().remove();var n=new r(t.nodeElement(),t.backgroundColor()),o=t.equivalentsString(),a=o?-30:-17,i=o?",":"";n.addText(t.labelForCurrentLanguage(),a,"",i),n.addEquivalents(o,-17),e.options().compactNotation()?n.addInstanceCount(t.individuals().length,17):t.indicationString().length>0?(n.addSubText(t.indicationString(),17),n.addInstanceCount(t.individuals().length,30)):n.addInstanceCount(t.individuals().length,17),t.textBlock(n)}};return e.prototype=Object.create(a.prototype),e.prototype.constructor=e,e}()},function(e,t,n){function r(e,t){a.apply(this,arguments)}var o=n(15)(),a=n(16);e.exports=r,r.prototype=Object.create(a.prototype),r.prototype.constructor=r,r.prototype.addText=function(e,t,n,r){e&&this.addTextline(e,this.CSS_CLASSES.default,t,n,r)},r.prototype.addSubText=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.subtext,t,"(",")")},r.prototype.addEquivalents=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.default,t)},r.prototype.addInstanceCount=function(e,t){e&&this.addTextline(e.toString(),this.CSS_CLASSES.instanceCount,t)},r.prototype.addTextline=function(e,t,n,r,a){var i=o.truncate(e,this._textBlock().datum().textWidth(n),t),s=this._textBlock().append("tspan").classed(this.CSS_CLASSES.default,!0).classed(t,!0).text(this._applyPreAndPostFix(i,r,a)).attr("x",0);this._repositionTextLine(s,n)},r.prototype._repositionTextLine=function(e,t){var n=window.getComputedStyle(e.node()).getPropertyValue("font-size"),r=parseFloat(n),o=1/3*r;e.attr("y",o+(t||0)+"px")}},function(e,t,n){function r(e,t,n){s.apply(this,arguments)}function o(e,t){var n=i(e,t);n.attr("refX",-8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function a(e,t){var n=i(e,t);n.attr("refX",8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function i(e,t){return e.append("marker").datum(t).attr("id",t.markerId()).attr("viewBox","-10 -10 20 20").attr("markerWidth",20).attr("markerHeight",20).attr("markerUnits","userSpaceOnUse").attr("orient","auto")}var s=n(23);e.exports=r,r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.draw=function(e,t){var n=this.label().property(),r=this.label().inverse();o(t,n),r&&a(t,r),s.prototype.draw.apply(this,arguments),e.attr("marker-start","url(#"+n.markerId()+")"),r&&e.attr("marker-end","url(#"+r.markerId()+")")}},function(e,t,n){function r(e,t,r){var a,i,s,l,u,c=new o(r,this),d=n(25)(e,c,this),p=n(25)(c,t,this);this.layers=function(e){return arguments.length?(a=e,this):a},this.layerIndex=function(e){return arguments.length?(i=e,this):i},this.loops=function(e){return arguments.length?(s=e,this):s},this.loopIndex=function(e){return arguments.length?(l=e,this):l},this.domain=function(){return e},this.label=function(){return c},this.linkParts=function(){return[p,d]},this.range=function(){return t},this.pathObj=function(e){return arguments.length?void(u=e):u}}var o=n(24);e.exports=r,r.prototype.draw=function(e){var t=this.label().property(),n=this.label().inverse();t.linkGroup(e),n&&n.linkGroup(e);var r=e.append("path");r.classed("link-path",!0).classed(this.domain().cssClassOfNode(),!0).classed(this.range().cssClassOfNode(),!0).classed(t.linkType(),!0),this.pathObj(r)},r.prototype.inverse=function(){return this.label().inverse()},r.prototype.isLoop=function(){return this.domain().equals(this.range())},r.prototype.property=function(){return this.label().property()}},function(e,t){function n(e,t){this.link=function(){return t},this.property=function(){return e},Object.defineProperty(this,"fixed",{get:function(){var t=!!e.inverse()&&e.inverse().fixed;return e.fixed||t},set:function(t){e.fixed=t,e.inverse()&&(e.inverse().fixed=t)}}),this.frozen=e.frozen,this.locked=e.locked,this.pinned=e.pinned}e.exports=n,n.prototype.actualRadius=function(){return this.property().actualRadius()},n.prototype.draw=function(e){return this.property().draw(e)},n.prototype.inverse=function(){return this.property().inverse()},n.prototype.equals=function(e){if(!e)return!1;var t=e instanceof n,r=this.property().equals(e.property()),o=!1;return this.inverse()?o=this.inverse().equals(e.inverse()):e.inverse()||(o=!0),t&&r&&o}},function(e,t){e.exports=function(e,t,n){var r={},o=e,a=n,i=t;return Object.defineProperties(r,{source:{value:o,writable:!0},target:{value:i,writable:!0}}),r.domain=function(){return o},r.link=function(){return a},r.range=function(){return i},r}},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).type("owl:DeprecatedClass").styleClass("deprecated").indications(["deprecated"])};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("disjointunionof").type("owl:disjointUnionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("text").attr("class","link").text("1").attr("transform","scale(.7)translate(3,5)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8),o=n(17)();e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n=4,a=this,i=a.actualRadius;this.styleClass("equivalentclass").type("owl:equivalentClass"),this.actualRadius=function(){return i()+n},this.redrawElement=function(){t.remove(),a.textBlock().remove();var e=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(e=void 0);var r=a.collectCssClasses();t=a.nodeElement().append("g"),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),e)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),console.log(r),console.log(a.attributes()),console.log("what is bgColor"+e),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),e)),a.postDrawActions(a.nodeElement())},this.draw=function(e){var r=a.collectCssClasses();a.nodeElement(e),t=e.append("g");var i=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(i=void 0),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),i)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),i)),a.postDrawActions()},a.setHoverHighlighting=function(e){a.nodeElement().selectAll("circle:last-of-type").classed("hovered",e)}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){function t(){var e=18,t=5,n=-(e/2),r=7,o=5,a=e-o,i="M"+t+","+n,s="c"+r+","+o+" "+r+","+a+" 0,"+e,l="c"+-r+","+-o+" "+-r+","+-a+" 0,"+-e;return i+s+l}r.apply(this,arguments);var n=this,o=n.draw,a=t();this.styleClass("intersectionof").type("owl:intersectionOf"),this.draw=function(e){o(e);var t=e.append("g").classed("embedded",!0),r=10;t.append("path").attr("class","nostroke").classed("symbol",!0).attr("d",a),t.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("circle").attr("cx",10).attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("path").attr("class","nofill").attr("d","m 9,5 c 0,-2 0,-4 0,-6 0,0 0,0 0,0 0,0 0,-1.8 -1,-2.3 -0.7,-0.6 -1.7,-0.8 -2.9,-0.8 -1.2,0 -2,0 -3,0.8 -0.7,0.5 -1,1.4 -1,2.3 0,2 0,4 0,6").attr("transform","scale(.5)translate(5,0)"),t.attr("transform","translate(-"+(n.radius()-15)/7+",-"+(n.radius()-15)/100+")"),n.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(31);e.exports=function(){var e=function(e){r.apply(this,arguments),this.label("Nothing").type("owl:Nothing").iri("http://www.w3.org/2002/07/owl#Nothing")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.label("Thing").type("owl:Thing").iri("http://www.w3.org/2002/07/owl#Thing").radius(30),this.draw=function(e){t(e,["white","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("unionof").type("owl:unionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("path").attr("class","link").attr("d","m 1,-3 c 0,2 0,4 0,6 0,0 0,0 0,0 0,2 2,3 4,3 2,0 4,-1 4,-3 0,-2 0,-4 0,-6").attr("transform","scale(.5)translate(5,0)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).type("rdfs:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t="undefined";this.attributes(["datatype"]).type("rdfs:Datatype").styleClass("datatype"),this.dType=function(e){return arguments.length?void(t=e):t}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(36);e.exports=function(){var e=function(e){r.apply(this,arguments)};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(9),o=n(14),a=n(17)(),i=n(37)();e.exports=function(){var e=function(e){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth; +return r.remove(),o}r.apply(this,arguments);var s,l,u,c,d=this,p=20,f=60,h=80,v=80,g=80,y=p/2;d.renderType("rect"),this.height=function(e){return arguments.length?(p=e,this):p},this.width=function(e){return arguments.length?(f=e,this):f},this.getHalos=function(){return l},this.actualRadius=function(){return y},this.distanceToBorder=function(e,t){return i.distanceToBorder(d,e,t)},this.setHoverHighlighting=function(e){d.nodeElement().selectAll("rect").classed("hovered",e);var t=d.getHalos();if(t){var n=t.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0)}},this.textWidth=function(){return h},this.width=function(){return h},this.getMyWidth=function(){var e=d.labelForCurrentLanguage();v=n(e,"text")+20;var t=d.indicationString(),r=n(t,"subtext")+20;return r>v&&(v=r),v},this.textWidth=function(){return d.width()},this.toggleFocus=function(){d.focused(!d.focused()),d.nodeElement().select("rect").classed("focused",d.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.draw=function(t,n){var r=d.collectCssClasses();d.nodeElement(t),n instanceof Array&&(r=r.concat(n)),h=e.options().dynamicLabelWidth()===!0?Math.min(d.getMyWidth(),e.options().maxLabelWidth()):g,f=h,u=a.appendRectangularClass(t,d.width(),d.height(),r,d.labelForCurrentLanguage(),d.backgroundColor()),c=new o(t,d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.addMouseListeners(),d.pinned()&&d.drawPin(),d.halo()&&d.drawHalo(!1)},this.drawPin=function(){d.pinned(!0);var t=-.5*h+5,n=-1.1*p;s=a.drawPin(d.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){d.pinned(!1),s&&s.remove(),e.updateStyle()},this.removeHalo=function(){d.halo(!1),l&&(l.remove(),l=null)},this.drawHalo=function(e){d.halo(!0);var t=0;if(l=a.drawRectHalo(d,this.width(),this.height(),t),e===!1){var n=l.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0),n.attr("animationRunning",!1)}if(d.pinned()){var r=s.node(),o=r.parentNode;o.appendChild(r)}},this.updateTextElement=function(){c.updateAllTextElements()},this.textBlock=function(){return c},this.redrawLabelText=function(){c.remove(),c=new o(d.nodeElement(),d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),u.select("title").text(d.labelForCurrentLanguage())},this.animateDynamicLabelWidth=function(t){d.removeHalo();var n=d.height();if(t===!0?(h=Math.min(d.getMyWidth(),e.options().maxLabelWidth()),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n}).each("end",function(){d.updateTextElement()})):(h=g,d.updateTextElement(),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n})),d.pinned()===!0&&s){var r=.5*h-10,o=-1.1*n;s.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}},this.addTextLabelElement=function(){var e=d.nodeElement();c=new o(e,this.backgroundColor()),c.addText(d.labelForCurrentLanguage())}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()}).call(t,n(6))},function(e,t){var n={};e.exports=function(){return n},n.distanceToBorder=function(e,t,n){var r,o=e.width(),a=e.height(),i=Math.abs(n/t),s=a/o;if(i<=s){var l=t/(o/2),u=n/l;r=Math.sqrt(Math.pow(o/2,2)+Math.pow(u,2))}else{var c=n/(a/2),d=t/c;r=Math.sqrt(Math.pow(a/2,2)+Math.pow(d,2))}return r}},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw,n=this.label;this.attributes(["datatype"]).label("Literal").styleClass("literal").type("rdfs:Literal").iri("http://www.w3.org/2000/01/rdf-schema#Literal"),this.draw=function(e){t(e,["dashed"])},this.label=function(e){return arguments.length?this:n()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.attributes(["rdf"]).label("Resource").radius(30).styleClass("rdfsresource").type("rdfs:Resource"),this.draw=function(e){t(e,["rdf","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=[];r.push(n(41)),r.push(n(44)),r.push(n(45)),r.push(n(46)),r.push(n(47)),r.push(n(48)),r.push(n(49)),r.push(n(50)),r.push(n(51)),r.push(n(52)),r.push(n(53)),r.push(n(54)),r.push(n(55)),r.push(n(56));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("allvaluesfromproperty").type("owl:allValuesFrom"),this.generateCardinalityText=function(){var e="A",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(14),a=n(17)(),i=n(13)(),s=n(37)();n(43)();e.exports=function(){var e=28,n=80,l=e/2,u=function(e){function n(){var e=[];return T.subproperties()&&(e=e.concat(T.subproperties())),T.superproperties()&&(e=e.concat(T.superproperties())),e}function l(){var e=n();e.forEach(function(e){e.foreground&&e.foreground()})}function u(){T.mouseEntered()||P===!0||(T.mouseEntered(!0),T.setHighlighting(!0),T.foreground(),l())}function c(){T.mouseEntered(!1),T.setHighlighting(!1)}function d(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}function p(t){if(e.ignoreOtherHoverEvents()===!1){var n=!1;T.inverse()&&(n=!0),t===!0&&e.activateHoverElementsForProperties(t,T,n)}}r.apply(this,arguments);var f,h,v,g,y,m,b,x,E,w,O,C,k,P,_,j,M,D,L,A,S,T=this,R="normal",I="filled",N=!0,F=80,H=80,B=[];this.existingPropertyIRI=function(t){return e.options().editSidebar().checkForExistingURL(t)},this.getHalos=function(){return M},this.getPin=function(){return j},this.labelObject=function(e,t){return arguments.length?(A=e,void(T.inverse()&&t!==!0&&T.inverse().labelObject(e,!0))):A},this.hide=function(e){T.labelElement().classed("hidden",e),T.linkGroup().classed("hidden",e),T.cardinalityElement()&&T.cardinalityElement().classed("hidden",e)},this.cardinality=function(e){return arguments.length?(f=e,this):f},this.cardinalityElement=function(e){return arguments.length?(w=e,this):w},this.domain=function(e){return arguments.length?(h=e,this):h},this.inverse=function(e){return arguments.length?(v=e,this):v},this.labelElement=function(e){return arguments.length?(O=e,this):O},this.labelVisible=function(e){return arguments.length?(N=e,this):N},this.link=function(e){return arguments.length?(g=e,this):g},this.linkGroup=function(e){return arguments.length?(C=e,this):C},this.linkType=function(e){return arguments.length?(R=e,this):R},this.markerElement=function(e){return arguments.length?(k=e,this):k},this.markerType=function(e){return arguments.length?(I=e,this):I},this.maxCardinality=function(e){return arguments.length?(m=e,this):m},this.minCardinality=function(e){return arguments.length?(y=e,this):y},this.range=function(e){return arguments.length?(b=e,this):b},this.redundantProperties=function(e){return arguments.length?(B=e,this):B},this.subproperties=function(e){return arguments.length?(x=e,this):x},this.superproperties=function(e){return arguments.length?(E=e,this):E},this.distanceToBorder=function(e,t){return s.distanceToBorder(T,e,t)},this.linkHasMarker=function(){return"dashed"!==R},this.markerId=function(){return"marker"+T.id()},this.toggleFocus=function(){T.focused(!T.focused()),O.select("rect").classed("focused",T.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.getShapeElement=function(){return D},this.textBlock=function(){return L},this.redrawElement=function(){D.remove(),L.remove(),T.drawLabel(T.labelElement()),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth())},this.draw=function(t){function n(e){var n=t.append("g").datum(e).classed("label",!0).attr("id",e.id());return e.drawLabel(n),n}if(T.labelVisible()){if(F=e.options().dynamicLabelWidth()===!0?Math.min(T.getMyWidth(),e.options().maxLabelWidth()):H,T.labelElement(n(T)),T.inverse()){var r=T.height()/2+1;T.inverse().labelElement(n(T.inverse())),T.labelElement().attr("transform","translate(0,-"+r+")"),T.inverse().labelElement().attr("transform","translate(0,"+r+")")}return T.pinned()?T.drawPin():T.inverse()&&T.inverse().pinned()&&T.inverse().drawPin(),T.halo()&&T.drawHalo(!1),T.labelElement()}},this.addRect=function(e){var t=e.append("rect").classed(T.styleClass(),!0).classed("property",!0).attr("x",-T.width()/2).attr("y",-T.height()/2).attr("width",T.width()).attr("height",T.height()).on("mouseover",function(){u()}).on("mouseout",function(){c()});t.append("title").text(T.labelForCurrentLanguage()),T.visualAttributes()&&t.classed(T.visualAttributes(),!0);var n=T.backgroundColor();return T.attributes().indexOf("deprecated")>-1?(n=void 0,t.classed("deprecatedproperty",!0)):t.classed("deprecatedproperty",!1),t.style("fill",n),t},this.drawLabel=function(e){D=this.addRect(e);var t=T.equivalentsString(),n=t?",":"",r=T.backgroundColor();T.attributes().indexOf("deprecated")>-1&&(r=void 0),L=new o(e,r),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.equivalentsString=function(){var e=T.equivalents();if(e)return e.map(function(e){return void 0===e||"string"==typeof e?"ERROR":e.labelForCurrentLanguage()}).join(", ")},this.drawCardinality=function(e){var t=this.generateCardinalityText();return!!t&&(T.cardinalityElement(e),0===t.indexOf("A")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -8.8832678,-11.303355 -7.97e-4,0 0.717374,1.833297 8.22987151,21.371761 8.66826659,-21.2123526 0.797082,-1.9927054 0.02471,0 -0.8218553,1.9927054 -2.2517565,5.4201577 -12.4444429,8e-6 -2.2019394,-5.5795821 z").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):0===t.indexOf("E")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -5.5788451,-8.0958763 10.8749368,0 0,8.34681523 -9.5707468,0.040132 9.5707468,-0.040132 0,8.42707237 -10.9150654,0").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):(e.append("text").classed("cardinality",!0).attr("text-anchor","middle").attr("dy","0.5ex").text(t),!0))},this.generateCardinalityText=function(){if(T.cardinality())return T.cardinality();if(T.minCardinality()||T.maxCardinality()){var e=T.minCardinality()||"*",t=T.maxCardinality()||"*";return e+".."+t}},T.setHighlighting=function(t){T.labelElement&&T.labelElement()&&T.labelElement().select("rect").classed("hovered",t),T.linkGroup().selectAll("path, text").classed("hovered",t),T.markerElement()&&(T.markerElement().select("path").classed("hovered",t),T.cardinalityElement()&&(T.cardinalityElement().selectAll("path").classed("hovered-MathSymbol",t),T.cardinalityElement().classed("hovered",t)));var r=n();r.forEach(function(e){e.labelElement&&e.labelElement()&&e.labelElement().select("rect").classed("indirect-highlighting",t)});var o=!1;e.ignoreOtherHoverEvents()===!1&&(T.inverse()&&(o=!0),e.isTouchDevice()===!1?e.activateHoverElementsForProperties(t,T,o):(T.labelElement().select("rect").classed("hovered",!1),T.linkGroup().selectAll("path, text").classed("hovered",!1),T.markerElement()&&(T.markerElement().select("path").classed("hovered",!1),T.cardinalityElement()&&T.cardinalityElement().classed("hovered",!1)),e.activateHoverElementsForProperties(t,T,o,!0)))},this.foreground=function(){if(T.labelElement()&&null!==T.labelElement().node().parentNode){var e=T.labelElement().node().parentNode,t=e.parentNode,n=T.linkGroup().node(),r=T.linkGroup().node().parentNode;T.animationProcess()===!1&&t.appendChild(e),r.appendChild(n)}},this.drawPin=function(){if(T.pinned(!0),F=e.options().dynamicLabelWidth()===!0?T.getMyWidth():H,T.inverse()){var t=T.labelElement().attr("transform"),n=T.inverse().labelElement().attr("transform"),r=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(t)[2],o=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(n)[2];j=rF&&(F=n),F},this.textWidth=function(){return F},this.width=function(){return F},this.animateDynamicLabelWidth=function(t){if(T.removeHalo(),void 0!==D){var n=T.height();if(t===!0?(F=Math.min(T.getMyWidth(),e.options().maxLabelWidth()),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n}).each("end",function(){T.updateTextElement()})):(F=H,T.updateTextElement(),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n})),T.pinned()===!0&&j){var r=-.5*F+10,o=-25;j.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}}},this.redrawLabelText=function(){L.remove(),T.addTextLabelElement(),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),D.select("title").text(T.labelForCurrentLanguage())},this.addTextLabelElement=function(){var e=T.labelElement(),t=T.equivalentsString(),n=t?",":"";L=new o(e,this.backgroundColor()),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.updateTextElement=function(){L.updateAllTextElements()},this.enableEditing=function(e){e!==!1&&T.raiseDoubleClickEdit(!0)},this.raiseDoubleClickEdit=function(n){if(t.selectAll(".foreignelements").remove(),void 0===T.labelElement()||"owl:disjointWith"===this.type()||"rdfs:subClassOf"===this.type())return void console.log("No Container found");void 0!==_&&T.labelElement().selectAll(".foreignelements").remove(),S=void 0,e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),T.editingTextElement=!0,P=!0,T.labelElement().selectAll("rect").classed("hoveredForEditing",!0),T.frozen(!0),e.killDelayedTimer(),e.ignoreOtherHoverEvents(!1),_=T.labelElement().append("foreignObject").attr("x",-.5*T.textWidth()).attr("y",-13).attr("height",25).attr("class","foreignelements").on("dragstart",function(){return!1}).attr("width",T.textWidth()-2);var r=_.append("xhtml:input").attr("class","nodeEditSpan").attr("id",T.id()).attr("align","center").attr("contentEditable","true").on("dragstart",function(){return!1}),o="#f00",a=T.textWidth()-2;r.style({align:"center",color:"black",width:a+"px","background-color":o,"border-bottom":"2px solid black"});var i=r.node();i.value=T.labelForCurrentLanguage(),i.focus(),i.select(),t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation(),r.on("click",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mouseout",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mousedown",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}).on("keydown",function(){13===t.event.keyCode&&(this.blur(),T.frozen(!1),T.locked(!1))}).on("keyup",function(){if(n){var o=r.node().value,a=o.replaceAll(" ","_"),i=T.baseIri()+a;S=i,t.select("#element_iriEditor").node().title=i,t.select("#element_iriEditor").node().value=e.options().prefixModule().getPrefixRepresentationForFullURI(i)}t.select("#element_labelEditor").node().value=r.node().value}).on("blur",function(){T.editingTextElement=!1,P=!1,T.labelElement().selectAll("rect").classed("hoveredForEditing",!1);var t=r.node().value;if(T.labelElement().selectAll(".foreignelements").remove(),T.label(t),T.backupLabel(t),T.redrawLabelText(),p(!0),e.showHoverElementsAfterAnimation(T,!1),e.ignoreOtherHoverEvents(!1),T.frozen(e.paused()),T.locked(e.paused()),T.domain().frozen(e.paused()),T.domain().locked(e.paused()),T.range().frozen(e.paused()),T.range().locked(e.paused()),e.removeEditElements(),S){var n=e.options().editSidebar().checkProperIriChange(T,S);n!==!1&&e.options().warningModule().showWarning("Already seen this property","Input IRI: "+S+" for element: "+T.labelForCurrentLanguage()+" already been set","Continuing with duplicate property!",1,!1,n),T.iri(S)}e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),e.updatePropertyDraggerElements(T)})},T.copyInformation=function(e){T.label(e.label()),T.iri(e.iri()),T.baseIri(e.baseIri()),"owl:ObjectProperty"!==e.type()&&"owl:DatatypeProperty"!==e.type()||T.backupLabel(e.label()),void 0!==e.backupLabel()&&T.backupLabel(e.backupLabel())},i.addTo(this)};return u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.height=function(){return e},u.prototype.width=function(){return n},u.prototype.actualRadius=function(){return l},u.prototype.textWidth=u.prototype.width,u}()}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e){return e%=360,e<0&&(e+=360),Math.PI*e/180}function n(e){return e*(180/Math.PI)}var r={},o=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal").tension(-1);return r.calculateNormalVector=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=-o,i=r,s=Math.sqrt(a*a+i*i),l=0!==s?n/s:0;return{x:a*l,y:i*l}},r.getLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i);o.increasedLoopAngle===!0&&(s=120);var l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,E]},r.calculateLoopPath=function(t){var r=t.domain(),a=t.label(),i=360/t.loops().length,s=.8*i,l=Math.min(60,s);a.increasedLoopAngle===!0&&(l=120);var u=a.x-r.x,c=a.y-r.y,d=Math.atan2(c,u),p=n(d),f=p-l/2,h=p+l/2,v=e(f),g=e(h),y=Math.cos(v)*r.actualRadius(),m=Math.sin(v)*r.actualRadius(),b=Math.cos(g)*r.actualRadius(),x=Math.sin(g)*r.actualRadius(),E={x:r.x+y,y:r.y+m},w={x:r.x+b,y:r.y+x};return o([E,t.label(),w])},r.calculateLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i),l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,t.label(),E]},r.calculateIntersection=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=Math.sqrt(r*r+o*o);if(0===a)return{x:e.x,y:e.y};var i=t.distanceToBorder(r,o),s=(a-(i+n))/a,l=r*s+e.x,u=o*s+e.y;return{x:l,y:u}},r.calculateCenter=function(e,t){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}},function(){return r}}()}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["datatype"]).styleClass("datatypeproperty").type("owl:DatatypeProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).styleClass("deprecatedproperty").type("owl:DeprecatedProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42),o=n(14);e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n="Disjoint With";this.label=function(e){return arguments.length?this:n},this.linkType("dashed").styleClass("disjointwith").type("owl:disjointWith"),this.drawLabel=function(n){t=this.addRect(n),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",-12.5).attr("r",10),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",12.5).attr("r",10);var r=new o(n,this.backgroundColor());e.options().compactNotation()||r.addSubText("disjoint"),r.translation(0,20)},this.getShapeElement=function(){return t},this.markerElement=function(){}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.styleClass("equivalentproperty").type("owl:equivalentProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["functional"]).styleClass("functionalproperty").type("owl:FunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["inverse functional"]).styleClass("inversefunctionalproperty").type("owl:InverseFunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["object"]).styleClass("objectproperty").type("owl:ObjectProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("somevaluesfromproperty").type("owl:someValuesFrom"),this.generateCardinalityText=function(){var e="E",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["symmetric"]).styleClass("symmetricproperty").type("owl:SymmetricProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["transitive"]).styleClass("transitiveproperty").type("owl:TransitiveProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).styleClass("rdfproperty").type("rdf:Property")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw,o="Subclass of";this.draw=function(r){return t.labelVisible(!e.options().compactNotation()),n(r)},this.label=function(e){return arguments.length?this:o},this.linkType("dotted").markerType("white").styleClass("subclass").type("rdfs:subClassOf"),t.baseIri("http://www.w3.org/2000/01/rdf-schema#"),t.iri("http://www.w3.org/2000/01/rdf-schema#subClassOf")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.labelVisible(!1).linkType("dashed").markerType("white").styleClass("setoperatorproperty").type("setOperatorProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(58),o=n(43)(),a=n(60)(),i=n(63)(),s=n(5)(),l=n(40)();e.exports=function(e){function u(){Te.graphContainerSelector(e);var n=!1;ye=t.layout.force().on("tick",c),me=t.behavior.drag().origin(function(e){return e}).on("dragstart",function(e){t.event.sourceEvent.stopPropagation(),De.ignoreOtherHoverEvents(!0),e.type&&"Class_dragger"===e.type()?(wt.mouseButtonPressed=!0,clearTimeout(Oe),wt.selectedViaTouch(!0),e.parentNode().locked(!0),at=!0):e.type&&"Range_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):e.type&&"Domain_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):(e.locked(!0),n=!1)}).on("drag",function(e){e.type&&"Class_dragger"===e.type()?(clearTimeout(Oe),wt.setPosition(t.event.x,t.event.y)):e.type&&"Range_dragger"===e.type()?(clearTimeout(Oe),Ot.setPosition(t.event.x,t.event.y),kt.setPosition(t.event.x,t.event.y),Ct.updateElementViaRangeDragger(t.event.x,t.event.y)):e.type&&"Domain_dragger"===e.type()?(clearTimeout(Oe),Ct.setPosition(t.event.x,t.event.y),kt.setPositionDomain(t.event.x,t.event.y),Ot.updateElementViaDomainDragger(t.event.x,t.event.y)):(e.px=t.event.x,e.py=t.event.y,ye.resume(),S(),n=!0,e.renderType&&"round"===e.renderType()&&wt.setParentNode(e))}).on("dragend",function(e){if(De.ignoreOtherHoverEvents(!1),e.type&&"Class_dragger"===e.type()){var t=wt.x,r=wt.y;clearTimeout(Oe),wt.mouseButtonPressed=!1,wt.selectedViaTouch(!1),e.setParentNode(e.parentNode());var o=[t,r],a=De.getTargetNode(o);a&&U(e.parentNode(),a,o),Ke===!1&&K(),at=!1}else if(e.type&&"Range_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var s=Ot.x,l=Ot.y,u=[s,l],c=De.getTargetNode(u);i.isDatatype(c)===!0&&(c=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),null===c?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateRange(c),De.update(),kt.hideParentProperty(!1))}else if(e.type&&"Domain_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var d=Ct.x,p=Ct.y,f=[d,p],h=De.getTargetNode(f);i.isDatatype(h)===!0&&(h=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),kt.hideClone(!0),null===h?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateDomain(h),De.update(),kt.hideParentProperty(!1))}else{e.locked(!1);var v=De.options().pickAndPinModule();v.enabled()===!0&&n===!0&&(e.id&&v.handle(e,!0),e.property&&v.handle(e.property(),!0))}}),Me=t.behavior.zoom().duration(150).scaleExtent([Te.minMagnification(),Te.maxMagnification()]).on("zoom",v),nt.push(wt),nt.push(Ot),nt.push(Ct),nt.push(kt),ye.stop()}function c(){if(ct=!1,De.options().loadingModule().successfullyLoadedOntology()===!1)return ye.stop(),t.select("#progressBarValue").node().innerHTML="",De.updateProgressBarMode(),De.options().loadingModule().showErrorDetailsMessage(c),void(yt&&mt===!1&&De.options().loadingModule().collapseDetails("hiddenRecalculatePositions"));if(He===!1){var e=1-10*ye.alpha(),n=parseInt(200*e)+"%";De.options().loadingModule().setPercentValue(n),t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,e>.49&&(He=!0,ne&&(ne.style("opacity","1"),n="100%",t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,De.options().ontologyMenu().append_message_toLastBulletPoint("done"),t.select("#reloadCachedOntology").classed("hidden",!bt),gt===!0&&vt===!1&&(De.options().warningModule().showFilterHint(),vt=!0)),Fe&&(De.paused()===!1&&ye.resume(),Fe=!1),ct=!0,ft===!0?(ye.on("tick",d),d()):(ye.on("tick",p),p()),We===!0&&ye.nodes().length>0&&(ye.nodes().length<10?De.forceRelocationEvent(!0):De.forceRelocationEvent(),We=!1),De.showEditorHintIfNeeded(),De.options().loadingModule().missingImportsWarning()===!1?(De.options().loadingModule().hideLoadingIndicator(),De.options().ontologyMenu().append_bulletPoint("Successfully loaded ontology"),De.options().loadingModule().setSuccessful()):(De.options().loadingModule().showWarningDetailsMessage(),De.options().ontologyMenu().append_bulletPoint("Loaded ontology with warnings")))}}function d(){p(),_e=Date.now();var e=_e-je,t=(1e3/e).toFixed(2);ut.node().innerHTML="FPS: "+t+"
    Nodes: "+ye.nodes().length+"
    Links: "+ye.links().length,je=Date.now()}function p(){return lt?(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1!==n.layers().length||n.loops())e.linkDomainIntersection=o.calculateIntersection(n.label(),n.domain(),0),e.linkRangeIntersection=o.calculateIntersection(n.label(),n.range(),0),n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement());else{var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y,e.linkRangeIntersection=a,e.linkDomainIntersection=r,n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement())}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop()){var t=o.getLoopPoints(e);return e.label().linkRangeIntersection=t[1],e.label().linkDomainIntersection=t[0],e.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement()),o.calculateLoopPath(e)}var n=e.label(),r=o.calculateIntersection(n,e.domain(),1),a=o.calculateIntersection(n,e.range(),1);return e.linkRangeIntersection=r,e.linkDomainIntersection=a,e.property().focused()!==!0&&void 0===ot||(Ct.updateElement(),Ot.updateElement()),Se([r,n,a])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),rt&&(ee(rt),Q(rt),at===!1&&wt.setParentNode(rt)),ot&&te(ot),void S()):(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1===n.layers().length&&!n.loops()){ +var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop())return o.calculateLoopPath(e);var t=e.label(),n=o.calculateIntersection(t,e.domain(),1),r=o.calculateIntersection(t,e.range(),1);return Se([n,t,r])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),void S())}function f(){function e(e){Te.selectionModules().forEach(function(t){t.handle(e)})}se.on("click",function(n){Ke===!0&&G()===!0?(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n))):e(n)}),se.on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))}),le.selectAll(".label").on("click",function(n){e(n),Ke===!0&&G()===!0&&(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n)))}),le.selectAll(".label").on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))})}function h(e){if(De.options().getGeneralMetaObject().iri){var t=De.options().getGeneralMetaObject().iri+e.id();return e.iri()===t}return!1}function v(){if(pt===!0)return Me.translate(Ve),void Me.scale(Be);var e=!1;if(t.event.sourceEvent&&t.event.sourceEvent.deltaY&&(e=!0),e===!1){if(ze===!0)return;return Be=t.event.scale,Ve=t.event.translate,ne.attr("transform","translate("+Ve+")scale("+Be+")"),S(),void De.options().zoomSlider().updateZoomSliderValue(Be)}Be=t.event.scale,Ve=t.event.translate,ne.transition().tween("attr.translate",function(){return function(e){ze=!0;var n=t.transform(ne.attr("transform"));Ve[0]=n.translate[0],Ve[1]=n.translate[1],Be=n.scale[0],S(),De.options().zoomSlider().updateZoomSliderValue(Be)}}).each("end",function(){ze=!1}).attr("transform","translate("+Ve+")scale("+Be+")").ease("linear").duration(250)}function g(){b(),ne=t.selectAll(Te.graphContainerSelector()).append("svg").classed("vowlGraph",!0).attr("width",Te.width()).attr("height",Te.height()).call(Me).append("g");var e=t.selectAll(".vowlGraph");Qe=e.on("dblclick.zoom"),et=e.on("touchstart"),e.on("touchstart",Z),lt===!0?e.on("dblclick.zoom",De.modified_dblClickFunction):e.on("dblclick.zoom",Qe)}function y(){Ee=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("addDataPropertyElement",!0).attr("transform","translate(0,0)"),Ee.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",-8).attr("y1",0).attr("x2",8).attr("y2",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",0).attr("y1",-8).attr("x2",0).attr("y2",8).append("title").text("Add Datatype Property"),De.options().useAccuracyHelper()&&Ee.append("circle").attr("r",15).attr("cx",-7).attr("cy",7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject()),xe=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("deleteParentElement",!0).attr("transform","translate(0,0)"),xe.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Delete This Node");var e=5;xe.append("line").attr("x1",-e).attr("y1",-e).attr("x2",e).attr("y2",e).append("title").text("Delete This Node"),xe.append("line").attr("x1",e).attr("y1",-e).attr("x2",-e).attr("y2",e).append("title").text("Delete This Node"),De.options().useAccuracyHelper()&&xe.append("circle").attr("r",15).attr("cx",7).attr("cy",-7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject())}function m(){var e;if(ne){ne.selectAll("*").remove(),ie=ne.append("g").classed("linkContainer",!0),ae=ne.append("g").classed("cardinalityContainer",!0),oe=ne.append("g").classed("labelContainer",!0),re=ne.append("g").classed("nodeContainer",!0);var n=ne.append("g").classed("linkContainer",!0);tt=ne.append("g").classed("editContainer",!0),we=ne.append("g").classed("editContainer",!0),n.classed("hidden-in-export",!0),we.classed("hidden-in-export",!0),tt.classed("hidden-in-export",!0),e=ie.append("defs");var r=tt.selectAll(".node").data(nt).enter().append("g").classed("node",!0).classed("hidden-in-export",!0).attr("id",function(e){return e.id()}).call(me);r.each(function(e){e.svgRoot(t.select(this)),e.svgPathLayer(n),"shadowClone"===e.type()?(e.drawClone(),e.hideClone(!0)):(e.drawNode(),e.hideDragger(!0))}),y(),e=ie.append("defs"),void 0===pe&&(pe=[]),se=re.selectAll(".node").data(pe).enter().append("g").classed("node",!0).attr("id",function(e){return e.id()}).call(me),se.each(function(e){e.draw(t.select(this))}),void 0===fe&&(fe=[]),le=oe.selectAll(".labelGroup").data(fe).enter().append("g").classed("labelGroup",!0).call(me),le.each(function(e){var n=e.draw(t.select(this));e.property().labelObject(e),n||t.select(this).remove()}),le.each(function(e){if(this.parentNode&&i.isRdfsSubClassOf(e.property())){var t=this.parentNode;t.insertBefore(this,t.firstChild)}}),void 0===ve&&(ve=[]),de=ae.selectAll(".cardinality").data(ve).enter().append("g").classed("cardinality",!0),de.each(function(e){var n=e.drawCardinality(t.select(this));n||t.select(this).remove()}),void 0===he&&(he=[]),ue=ie.selectAll(".link").data(he).enter().append("g").classed("link",!0),ue.each(function(n){n.draw(t.select(this),e)}),ce=ue.selectAll("path"),f()}}function b(){ne&&t.select(ne.node().parentNode).remove()}function x(){Ze=[];for(var e,t=0;t0)for(var r=0;r0?(ne.style("opacity","0"),ye.on("tick",c)):(ne.style("opacity","1"),ft===!0?ye.on("tick",d):ye.on("tick",p)),ye.start()):(ye.stop(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),n.setErrorMode()),De.options().clearMetaObject(),De.options().clearGeneralMetaObject(),De.options().editSidebar().clearMetaObjectValue(),void 0!==Te.data()){var a=Te.data().header;if(a){if(a.iri&&De.options().addOrUpdateGeneralObjectEntry("iri",a.iri),a.title&&De.options().addOrUpdateGeneralObjectEntry("title",a.title),a.author&&De.options().addOrUpdateGeneralObjectEntry("author",a.author),a.version&&De.options().addOrUpdateGeneralObjectEntry("version",a.version),a.description&&De.options().addOrUpdateGeneralObjectEntry("description",a.description),a.prefixList){var i=a.prefixList;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];De.options().addPrefix(s,l)}}if(a.other){var u=a.other;for(var f in u)if(u.hasOwnProperty(f)){var h=u[f];h.hasOwnProperty("identifier")&&h.hasOwnProperty("value")&&De.options().addOrUpdateMetaObjectEntry(h.identfier,h.value)}}}}var v=r.clone(ge);Te.filterModules().forEach(function(e){v=P(e,v,!0)}),w(ge),Re.parseSettings(),qe=Re.settingsImported(),We=!0,Re.settingsImportGraphZoomAndTranslation()===!0&&(We=!1),De.options().searchMenu().requestDictionaryUpdate(),De.options().editSidebar().updateGeneralOntologyInfo(),De.options().editSidebar().updatePrefixUi(),De.options().editSidebar().updateElementWidth()}function C(){he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function k(){var e=Te.literalFilter().enabled();De.executeEmptyLiteralFilter(),Te.literalFilter().enabled(e);var t=r.clone(ge);Te.filterModules().forEach(function(e){t=P(e,t)}),Te.focuserModule().handle(void 0,!0),pe=t.nodes,ve=t.properties,he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function P(e,t,n){return he=a.createLinks(t.properties),_(t.nodes,he),n&&e.initialize&&e.initialize(t.nodes,t.properties),e.filter(t.nodes,t.properties),{nodes:e.filteredNodes(),properties:e.filteredProperties()}}function _(e,t){for(var n=0,r=e.length;n0)for(var e=ye.nodes(),t=0;tr||f<0||f>o){p<0&&f<0?(v=0,g=0):p>0&&pr&&f<0?(v=r,g=0):p>r&&f>0&&fr&&f>o?(v=r,g=o):p>0&&po?(v=p,g=o):p<0&&f>o?(v=0,g=o):p<0&&f>0&&f2500&&(u=2500),ne.attr("transform",N(a,n,r)).transition().duration(u).attrTween("transform",function(){return function(e){return N(l(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S()})}function H(e,t,n,r){var o,a,i=r[0];return i?(o=(e-n[0])/i,a=(t-n[1])/i):(o=(e-n[0])/r,a=(t-n[1])/r),{x:o,y:a}}function B(e,t){var n=De.options().width(),r=De.options().height(),o=T(e.x,e.y,Ve,Be),a=o.x,i=o.y,s=!(a<0||a>n||i<0||i>r);return s}function W(){Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),wt.hideDragger(!0),Ee&&Ee.classed("hidden",!0),xe&&xe.classed("hidden",!0),rt&&rt.pinned()===!1&&(rt.locked(De.paused()),rt.frozen(De.paused())),ot&&ot.pinned()===!1&&(ot.locked(De.paused()),ot.frozen(De.paused()))}function z(e){return t.map(e.values(),function(e){return(new e).type().toLowerCase()})}function V(e){var n,r,o=!0,a=t.select("#defaultClass").node().title;r=xt.get(a.toLowerCase()),n=new r(De);var i=!1;"owl:Thing"===a?n.label("Thing"):(n.label("NewClass"),i=!0),n.x=e.x,n.y=e.y,n.px=n.x,n.py=n.y,n.id("Class"+st++),n.baseIri(t.select("#iriEditor").node().value),n.iri(n.baseIri()+n.id()),q(n,o),Te.focuserModule().handle(n,!0),n.frozen(De.paused()),n.locked(De.paused()),n.enableEditing(i)}function q(e){ge.nodes.push(e),pe.indexOf(e)===-1&&pe.push(e),w(ge),De.getUpdateDictionary(),De.fastUpdate()}function U(e,n,r){var o=t.select("#defaultProperty").node().title;if(De.sanityCheckProperty(e,n,o)===!1)return!1;var a=Et.get(o.toLowerCase()),i=new a(De);if(i.id("objectProperty"+it++),i.domain(e),i.range(n),i.label("newObjectProperty"),i.baseIri(t.select("#iriEditor").node().value),i.iri(i.baseIri()+i.id()),De.propertyCheckExistenceChecker(i,e,n)===!1)return!1;var s=!1;"owl:objectProperty"===o&&(s=!0);var l=.49*(e.x+n.x),u=.49*(e.y+n.y);if(e===n){var c=r[0]-e.x,d=r[1]-e.y,p=Math.sqrt(c*c+d*d),f=c/p,h=d/p;isNaN(p)&&(f=0,h=-1);var v=2*e.actualRadius()+50;l=e.x+v*f,u=e.y+v*h}e.addProperty(i),n.addProperty(i),ge.properties.push(i),ve.indexOf(i)===-1&&ve.push(i),De.fastUpdate(),i.labelObject().x=l,i.labelObject().px=l,i.labelObject().y=u,i.labelObject().py=u,i.frozen(De.paused()),i.locked(De.paused()),e.frozen(De.paused()),e.locked(De.paused()),n.frozen(De.paused()),n.locked(De.paused()),w(ge),De.getUpdateDictionary(),Te.focuserModule().handle(i),De.activateHoverElementsForProperties(!0,i,!1,Ke),i.labelObject().increasedLoopAngle=!0,i.enableEditing(s)}function G(){var e=t.event.timeStamp,n=1;return t.event&&t.event.touches&&t.event.touches.length&&(n=t.event.touches.length),e-be<300&&1===n&&(t.event.stopPropagation(),lt===!0)?(t.event.preventDefault(),t.event.stopPropagation(),be=e,!0):(be=e,!1)}function Z(){pt=!0;var e=t.event.timeStamp;return e-be<300&&1===t.event.touches.length?(t.event.stopPropagation(),void(lt===!0?(t.event.preventDefault(),t.event.stopPropagation(),Me.translate(Ve),Me.scale(Be),De.modified_dblTouchFunction()):(pt=!1,et&&et()))):(pt=!1,be=e,void(et&&et()))}function $(e){if(e!==!0){if(rt){if(rt.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&rt.editingTextElement===!1&&(rt.frozen(!1),rt.locked(!1))},1e3)}if(ot){if(ot.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),ot&&ot.focused()===!0&&De.options().drawPropertyDraggerOnHover()===!0&&(ot.labelObject().increasedLoopAngle=!1,p()),ot&&ot.pinned()===!1&&De.paused()===!1&&ot.editingTextElement===!1&&(ot.frozen(!1),ot.locked(!1))},1e3)}}}function X(){wt.nodeElement.classed("classDraggerNodeHovered",!0),wt.nodeElement.classed("classDraggerNode",!1),J()}function Y(){wt.nodeElement.classed("classDraggerNodeHovered",!1),wt.nodeElement.classed("classDraggerNode",!0),K()}function J(e){e!==!0&&clearTimeout(Oe)}function K(e){if(rt){if(De.ignoreOtherHoverEvents()===!0||e===!0||rt.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&(rt.frozen(!1),rt.locked(!1)))},1e3)}if(ot){if(De.ignoreOtherHoverEvents()===!0||e===!0||ot.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),ot&&ot.pinned()===!1&&De.paused()===!1&&(ot.frozen(!1),ot.locked(!1)))},1e3)}}function Q(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x-o,n=e.y+a,Ee.attr("transform","translate("+t+","+n+")")}}function ee(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x+o,n=e.y-a}else t=e.x+.5*e.width()+6,n=e.y-.5*e.height()-6;xe.attr("transform","translate("+t+","+n+")")}function te(e,t){if(e&&e.labelElement()){var n=[e.labelObject().x,e.labelObject().y],r=parseFloat(e.getShapeElement().attr("width")),o=parseFloat(e.getShapeElement().attr("height")),a=n[0]+.5*r+6,i=n[1]-.5*o-6;"translate(0,15)"===e.labelElement().attr("transform")&&(i+=15),"translate(0,-15)"===e.labelElement().attr("transform")&&(i-=15),xe.attr("transform","translate("+a+","+i+")")}else xe.classed("hidden",!0)}var ne,re,oe,ae,ie,se,le,ue,ce,de,pe,fe,he,ve,ge,ye,me,be,xe,Ee,we,Oe,Ce,ke,Pe,_e,je,Me,De={},Le=20,Ae=10,Se=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal"),Te=n(64)(),Re=n(65)(De),Ie="default",Ne=!1,Fe=!0,He=!1,Be=1,We=!1,ze=!1,Ve=[0,0],qe=!1,Ue=[],Ge=[],Ze=[],$e=0,Xe=1,Ye=.8,Je=-1,Ke=!1,Qe=null,et=null,tt=null,nt=[],rt=null,ot=null,at=!1,it=0,st=0,lt=!0,ut=t.select("#FPS_Statistics"),ct=!1,dt=!1,pt=!1,ft=!1,ht=!1,vt=!1,gt=!1,yt=!0,mt=!1,bt=!1,xt=z(s),Et=z(l),wt=n(68)(De),Ot=n(69)(De),Ct=n(70)(De),kt=n(71)(De);De.math=function(){return o},De.isEditorMode=function(){return lt},De.getGlobalDOF=function(){return Je},De.setGlobalDOF=function(e){Je=e},De.updateZoomSliderValueFromOutside=function(){De.options().zoomSlider().updateZoomSliderValue(Be)},De.setDefaultZoom=function(e){Xe=e,De.reset(),De.options().zoomSlider().updateZoomSliderValue(Xe)},De.setTargetZoom=function(e){Ye=e},De.graphOptions=function(){return Te},De.scaleFactor=function(){return Be},De.translation=function(){return Ve},De.graphNodeElements=function(){return se},De.graphLabelElements=function(){return fe},De.graphLinkElements=function(){return he},De.setSliderZoom=function(e){var n=.5*De.options().width(),r=.5*De.options().height(),o=H(n,r,Ve,Be),a=[o.x,o.y,De.options().height()/Be],i=[o.x,o.y,De.options().height()/e],s=t.interpolateZoom(a,i);ne.attr("transform",N(a,n,r)).transition().duration(1).attrTween("transform",function(){return function(e){return N(s(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be)})},De.setZoom=function(e){Me.scale(e)},De.setTranslation=function(e){Me.translate([e[0],e[1]])},De.options=function(){return Te},De.getUpdateDictionary=function(){return Re.getDictionary()},De.language=function(e){return arguments.length?(Ie!==e&&(Ie=e||"default",m(),p(),De.options().searchMenu().requestDictionaryUpdate(),De.resetSearchHighlight()),De):Ie},De.lazyRefresh=function(){m(),p()},De.adjustingGraphSize=function(e){mt=e},De.showReloadButtonAfterLayoutOptimization=function(e){bt=e},De.showEditorHintIfNeeded=function(){ht===!1&<===!0&&(ht=!0,De.options().warningModule().showEditorHint())},De.setForceTickFunctionWithFPS=function(){ft=!0,ye&&ct===!0&&ye.on("tick",d)},De.setDefaultForceTickFunction=function(){ft=!1,ye&&ct===!0&&ye.on("tick",p)},De.updatePropertyDraggerElements=function(e){"owl:DatatypeProperty"!==e.type()?(kt.setParentProperty(e),Ot.setParentProperty(e),Ot.hideDragger(!1),Ot.addMouseEvents(),Ct.setParentProperty(e),Ct.hideDragger(!1),Ct.addMouseEvents()):(Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0))},De.getUnfilteredData=function(){return ge},De.getClassDataForTtlExport=function(){for(var e=ge.nodes,t=[],n=0;nn&&(o=n);var a=.5*De.options().width(),i=.5*De.options().height(),s=H(a,i,Ve,Be),l=[s.x,s.y,De.options().height()/Be],u=[s.x,s.y,De.options().height()/o],c=t.interpolateZoom(l,u);ne.attr("transform",N(l,a,i)).transition().duration(250).attrTween("transform",function(){return function(e){return N(c(e),a,i)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S(),Te.zoomSlider().updateZoomSliderValue(Be)})};var Pt=null;De.clearAllGraphData=function(){Pt=De.graphNodeElements()&&De.graphNodeElements().length>0?De.options().exportMenu().createJSON_exportObject():null,ye.stop(),ge&&(ge.nodes=[],ge.properties=[])},De.getCachedJsonObj=function(){return Pt},De.clearGraphData=function(){ye.stop();var e=De.options().sidebar();e&&e.clearOntologyInformation(),ne&&g()},De.updateProgressBarMode=function(){var e=De.options().loadingModule(),t=e.getProgressBarMode();switch(t){case 0:e.setErrorMode();break;case 1:e.setBusyMode();break;case 2:e.setPercentMode();break;default:e.setPercentMode()}},De.setFilterWarning=function(e){gt=e},De.handleOnLoadingError=function(){ye.stop(),De.clearGraphData(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").classed("busyProgressBar",!1),De.options().loadingModule().setErrorMode(),De.options().loadingModule().showErrorDetailsMessage()},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0){if(ze===!0)return;var e=ye.nodes()[Ue[$e]];$e++,$e%=Ue.length,e.id&&e.foreground(),e.property&&e.property().foreground(),F(e)}},De.resetSearchHighlight=function(){Ue=[],Ge=[];var e,t=ge.nodes,n=ge.properties;for(e=0;e0?(t.select("#locateSearchResult").classed("highlighted",!0),t.select("#locateSearchResult").node().title="Locate search term"):(t.select("#locateSearchResult").classed("highlighted",!1),t.select("#locateSearchResult").node().title="Nothing to locate")},De.highLightNodes=function(e){if(0!==e.length){Ue=[],Ge=e;for(var n=[],r=0;rMe.scaleExtent()[1]&&(h=Me.scaleExtent()[1]),hMe.scaleExtent()[1]&&(g=Me.scaleExtent()[1]),g2500&&(w=2500),ne.attr("transform",N(b,f,h)).transition().duration(w).attrTween("transform",function(){return function(t){if(e){var n=_t(),r=n[0](t);return N(r,f,h)}return N(E(t),f,h)}}).each("end",function(){e||(ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be))})},De.isADraggerActive=function(){return wt.mouseButtonPressed===!0||Ct.mouseButtonPressed===!0||Ot.mouseButtonPressed===!0},De.changeNodeType=function(e){var n=t.select("#typeEditor").node().value;if(De.classesSanityCheck(e,n)===!1)return void De.options().editSidebar().updateSelectionInformation(e);var r=xt.get(n.toLowerCase()),o=new r(De);if(o.x=e.x,o.y=e.y,o.px=e.x,o.py=e.y,o.id(e.id()),o.copyInformation(e),"owl:Thing"===n?o.label("Thing"):i.isDatatype(e)===!1&&(void 0!==e.backupLabel()?o.label(e.backupLabel()):void 0!==o.backupLabel()?o.label(o.backupLabel()):o.label("NewClass")),"rdfs:Datatype"===n)if("undefined"===o.dType())o.label("undefined");else{var a=o.dType().split(":")[1];o.label(a)}var s;for(s=0;sa?null:"rect"===r.renderType()?null:r===rt&&o<=rt.actualRadius()?r:r===rt&&o>rt.actualRadius()?null:r}return o>r.actualRadius()+30?null:r},De.genericPropertySanityCheck=function(e,t,n,r,o){return e===t&&"rdfs:subClassOf"===n?(De.options().warningModule().showWarning(r,"rdfs:subClassOf can not be created as loops (domain == range)",o,1,!1),!1):e===t&&"owl:disjointWith"===n?(De.options().warningModule().showWarning(r,"owl:disjointWith can not be created as loops (domain == range)",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:someValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===t.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not be connected to owl:Thing",o,1,!1),!1):"owl:Thing"!==t.type()||"owl:someValuesFrom"!==n||(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not be connected to owl:Thing",o,1,!1),!1)},De.checkIfIriClassAlreadyExist=function(e){for(var t=ge.nodes,n=0;n2){var s="You are about to delete 1 class and "+n.length+" properties";0!==o&&(s="You are about to delete 1 class, "+o+" datatypes and "+n.length+" properties"),De.options().warningModule().responseWarning("Removing elements",s,"Awaiting response!",De.removeNodesViaResponse,[r,n],!1)}else{for(a=0;a1&&(Te.literalFilter().filter(ge.nodes,ge.properties),ge.nodes=Te.literalFilter().filteredNodes(),ge.properties=Te.literalFilter().filteredProperties())},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0&&n(l)?t>1?x(l,t-1,n,r,o):a(o,l):r||(o[o.length]=l)}return o}function E(e,t){return e&&$t(e,t,dn)}function w(e,t){return b(t,function(t){return Te(e[t])})}function O(e){return te(e)}function C(e,t){return e>t}function k(e){return Ne(e)&&O(e)==yt}function P(e,t,n,r,o){return e===t||(null==e||null==t||!Ne(e)&&!Ne(t)?e!==e&&t!==t:_(e,t,n,r,P,o))}function _(e,t,n,r,o,a){var i=nn(e),s=nn(t),l=i?ht:O(e),u=s?ht:O(t);l=l==ft?wt:l,u=u==ft?wt:u;var c=l==wt,d=u==wt,p=l==u;a||(a=[]);var f=Jt(a,function(t){return t[0]==e}),h=Jt(a,function(e){return e[0]==t});if(f&&h)return f[1]==t;if(a.push([e,t]),a.push([t,e]),p&&!c){var v=i?Z(e,t,n,r,o,a):$(e,t,l,n,r,o,a);return a.pop(),v}if(!(n&st)){var g=c&&Nt.call(e,"__wrapped__"),y=d&&Nt.call(t,"__wrapped__");if(g||y){var m=g?e.value():e,b=y?t.value():t,v=o(m,b,n,r,a);return a.pop(),v}}if(!p)return!1;var v=X(e,t,n,r,o,a);return a.pop(),v}function j(e){return Ne(e)&&O(e)==Ct}function M(e){return"function"==typeof e?e:null==e?Ye:("object"==typeof e?A:s)(e)}function D(e,t){return eo?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++rt||a&&i&&l&&!s&&!u||r&&i&&l||!n&&l||!o)return 1;if(!r&&!a&&!u&&e1?n[o-1]:ot;for(a=e.length>3&&"function"==typeof a?(o--,a):ot,t=Object(t);++r-1?o[a?t[i]:i]:ot}}function G(e,t,n,r){function o(){for(var t=-1,s=arguments.length,l=-1,u=r.length,c=Array(u+s),d=this&&this!==At&&this instanceof o?i:e;++ls))return!1;for(var u=-1,c=!0,d=n<?[]:ot;++u-1&&e%1==0&&e0&&(n=t.apply(this,arguments)),e<=1&&(t=ot),n}}function ke(e){if("function"!=typeof e)throw new TypeError(it);return function(){var t=arguments;return!e.apply(this,t)}}function Pe(e){return Ce(2,e)}function _e(e){return Ie(e)?nn(e)?I(e):B(e,qt(e)):e}function je(e,t){return e===t||e!==e&&t!==t}function Me(e){return null!=e&&Re(e.length)&&!Te(e)}function De(e){return e===!0||e===!1||Ne(e)&&O(e)==gt}function Le(e){return Me(e)&&(nn(e)||We(e)||Te(e.splice)||tn(e))?!e.length:!qt(e).length}function Ae(e,t){return P(e,t)}function Se(e){return"number"==typeof e&&Vt(e)}function Te(e){if(!Ie(e))return!1;var t=O(e);return t==bt||t==xt||t==vt||t==Ot}function Re(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=pt}function Ie(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ne(e){return null!=e&&"object"==typeof e}function Fe(e){return Be(e)&&e!=+e}function He(e){return null===e}function Be(e){return"number"==typeof e||Ne(e)&&O(e)==Et}function We(e){return"string"==typeof e||!nn(e)&&Ne(e)&&O(e)==kt}function ze(e){return e===ot}function Ve(e){return Me(e)?e.length?I(e):[]:$e(e)}function qe(e){return"string"==typeof e?e:null==e?"":e+""}function Ue(e,t){var n=Gt(e);return null==t?n:ln(n,t)}function Ge(e,t){return null!=e&&Nt.call(e,t)}function Ze(e,t,n){var r=null==e?ot:e[t];return r===ot&&(r=n),Te(r)?r.call(e):r}function $e(e){return null==e?[]:c(e,dn(e))}function Xe(e){return e=qe(e),e&&_t.test(e)?e.replace(Pt,Tt):e}function Ye(e){return e}function Je(e){return A(ln({},e))}function Ke(e,t,n){var r=dn(t),o=w(t,r);null!=n||Ie(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=w(t,dn(t)));var i=!(Ie(n)&&"chain"in n&&!n.chain),s=Te(e);return Zt(o,function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=I(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,a([this.value()],arguments))})}),e}function Qe(){return At._===this&&(At._=Bt),this}function et(){}function tt(e){var t=++Ft;return qe(e)+t}function nt(e){return e&&e.length?m(e,Ye,C):ot}function rt(e){return e&&e.length?m(e,Ye,D):ot}var ot,at="4.17.11",it="Expected a function",st=1,lt=2,ut=1,ct=32,dt=1/0,pt=9007199254740991,ft="[object Arguments]",ht="[object Array]",vt="[object AsyncFunction]",gt="[object Boolean]",yt="[object Date]",mt="[object Error]",bt="[object Function]",xt="[object GeneratorFunction]",Et="[object Number]",wt="[object Object]",Ot="[object Proxy]",Ct="[object RegExp]",kt="[object String]",Pt=/[&<>"']/g,_t=RegExp(Pt.source),jt=/^(?:0|[1-9]\d*)$/,Mt={"&":"&","<":"<",">":">",'"':""","'":"'"},Dt="object"==typeof e&&e&&e.Object===Object&&e,Lt="object"==typeof self&&self&&self.Object===Object&&self,At=Dt||Lt||Function("return this")(),St="object"==typeof t&&t&&!t.nodeType&&t,Tt=(St&&"object"==typeof o&&o&&!o.nodeType&&o,l(Mt)),Rt=Array.prototype,It=Object.prototype,Nt=It.hasOwnProperty,Ft=0,Ht=It.toString,Bt=At._,Wt=Object.create,zt=It.propertyIsEnumerable,Vt=At.isFinite,qt=d(Object.keys,Object),Ut=Math.max,Gt=function(){function e(){}return function(t){if(!Ie(t))return{};if(Wt)return Wt(t);e.prototype=t;var n=new e;return e.prototype=ot,n}}();f.prototype=Gt(p.prototype),f.prototype.constructor=f;var Zt=z(E),$t=V(),Xt=et,Yt=Ye,Jt=U(ae),Kt=T(function(e,t,n){return G(e,ut|ct,t,n)}),Qt=T(function(e,t){return g(e,1,t)}),en=T(function(e,t,n){return g(e,sn(t)||0,n)}),tn=Xt(function(){return arguments}())?Xt:function(e){return Ne(e)&&Nt.call(e,"callee")&&!zt.call(e,"callee")},nn=Array.isArray,rn=k,on=j,an=Number,sn=Number,ln=W(function(e,t){B(t,qt(t),e)}),un=W(function(e,t){B(t,ee(t),e)}),cn=T(function(e,t){e=Object(e);var n=-1,r=t.length,o=r>2?t[2]:ot;for(o&&Q(t[0],t[1],o)&&(r=1);++n=0){e.visualAttributes().push(o);break}}function n(e){var t,n,r;for(t=0,n=x.length;t=0&&e.indications().push(r)}function r(e){var t,n,r;for(t=0,n=E.length;t=0&&e.indications().push(r)}var o={},a="anonymous",i="datatype",s="deprecated",l="external",u="object",c="rdf",d="asymmetric",p="functional",f="inverse functional",h="irreflexive",v="key",g="reflexive",y="symmetric",m="transitive",b=[[s,i,u,c],[a]],x=[s,l],E=[d,p,f,h,v,g,y,m];return o.parseClassAttributes=function(t){t.attributes()instanceof Array&&(e(t),n(t))},o.parsePropertyAttributes=function(t){t.attributes()instanceof Array&&(e(t),r(t))},function(){return o}}()},function(e,t,n){(function(t){function r(e){return function(t){return e[t]}}function o(e,n){var r=a(e,n),o=t.set(r.keys());if(o.remove(v),o.remove(g),1===o.size()){var i=o.values()[0],s=r.get(i);if(1===s.length)return s[0]}}function a(e,n){var r=t.map();return e.forEach(function(e){if(void 0!==e){var t=n[e.range()],o=t.type();r.has(o)||r.set(o,[]),r.get(o).push(t)}}),r}function i(e,t){var n;return n=p.isDatatypeProperty(e)?new d(t):new c(t),n.id(h+e.id()),n}function s(e,t,n,r){var o=[];return e.forEach(function(e){if(void 0!==e&&void 0!==t){var a=e.range();e.range(t.id()),l(a,n)||o.push(a),r.add(e.id())}}),o}function l(e,t){for(var n=0;n-1?(p=void 0,d.classed("deprecatedproperty",!0)):d.classed("deprecatedproperty",!1),d.style("fill",p);var f=e.equivalentsString(),h=f?",":"",v=new r(t.rootNodeLayer,p);v.addText(e.labelForCurrentLanguage(),"",h),v.addEquivalents(f),v.addSubText(e.indicationString());var g=.5*(t.s_x+t.e_x),y=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+g+","+y+")"),t.rootNodeLayer.classed("hidden",!0),t.pathElement.classed("hidden",!0)},t.hideClone=function(e){t.rootNodeLayer&&t.rootNodeLayer.classed("hidden",e),t.pathElement&&t.pathElement.classed("hidden",e)},t.hideParentProperty=function(e){var n=t.parent.labelObject();n&&("translate(0,15)"!==t.parent.labelElement().attr("transform")&&"translate(0,-15)"!==t.parent.labelElement().attr("transform")||t.parent.inverse().hide(e)),t.parent.hide(e)},t.id=function(e){return arguments.length?void(t.nodeId=e):t.nodeId},t.svgPathLayer=function(e){t.pathLayer=e.append("g")},t.svgRoot=function(e){return arguments.length?(t.rootElement=e,void(t.rootNodeLayer=t.rootElement.append("g"))):t.rootElement},t.drawClone=function(){t.pathElement=t.pathLayer.append("line"),t.pathElement.attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",0)},t.updateElement=function(){t.pathElement.attr("x1",t.e_x).attr("y1",t.e_y).attr("x2",t.s_x).attr("y2",t.s_y);var e=.5*(t.s_x+t.e_x),n=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+e+","+n+")")},t.setInitialPosition=function(){var e=t.parent.labelObject();if(e.linkRangeIntersection&&e.linkDomainIntersection){var n=e.linkRangeIntersection,r=e.linkDomainIntersection;t.e_x=r.x,t.e_y=r.y,t.s_x=n.x,t.s_y=n.y}t.updateElement()},t.setPositionDomain=function(e,n){var r=t.parent.range().x,i=t.parent.range().y;if(o.isDatatype(t.parent.range())===!0){var s=a.calculateIntersection({x:e,y:n},t.parent.range(),0);t.s_x=s.x,t.s_y=s.y}else{var l=r-e,u=i-n,c=Math.sqrt(l*l+u*u),d=l/c,p=u/c;t.s_x=r-d*t.parent.range().actualRadius(),t.s_y=i-p*t.parent.range().actualRadius()}t.e_x=e,t.e_y=n,t.updateElement()},t.setPosition=function(e,n){t.s_x=e,t.s_y=n;var r=t.parent.domain().x,o=t.parent.domain().y,a=e-r,i=n-o,s=Math.sqrt(a*a+i*i),l=a/s,u=i/s;t.e_x=r+l*t.parent.domain().actualRadius(),t.e_y=o+u*t.parent.domain().actualRadius(),t.updateElement()},t}},function(e,t){e.exports=function(e){function t(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function n(t){var n={base:"",resource:""};if(void 0===t)return n={base:"ERROR",resource:"NOT FOUND"};var r,o;return t.indexOf("#")>-1?(r=t.substring(t.lastIndexOf("#")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r):(r=t.substring(t.lastIndexOf("/")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r),n}var r,o={};return o.updatePrefixModel=function(){r=e.options().prefixList()},o.validURL=function(e){return t(e)},o.getPrefixRepresentationForFullURI=function(e){o.updatePrefixModel();var t=n(e);for(var a in r)if(r.hasOwnProperty(a)&&r[a]===t.base)return a+":"+t.resource;return":"===t.base?":"+t.resource:e},o}},function(e,t,n){(function(t){var r=n(58);e.exports=function(){function e(e){return e.filter(function(e){return!(e.visualAttributes().indexOf("deprecated")>=0)&&e.attributes().indexOf("external")>=0})}function n(e){for(var n=o(e),i=n.entries(),s=t.scale.linear().domain([0,i.length-1]).range(r.find(p,{type:v}).range).interpolate(t.interpolateHsl),l=0;l=0&&s.splice(n,1)}}),{nodes:s,properties:l}},function(){return t}}()},function(e,t,n){var r=n(46);e.exports=function(){function e(){var e,t,o,a=[];for(e=0,t=n.length;e=0?n<=t?n:(e.getGraphObject().setGlobalDOF(t),t):e.getDefaultDegreeValue()}function a(e){for(var t=0,n=0,r=e.length;n=e}}var c,d,p,f,h,v,g,y,m={},b=!0,x=50;return m.initialize=function(r,o){g=-1;var i=a(r);h instanceof Function&&h(i),e.setDefaultDegreeValue(t(r,o,i));var s=n(i);y instanceof Function?(y(s),s>0&&(e.highlightForDegreeSlider(!0),e.getGraphObject().setFilterWarning(!0))):console.error("No degree setter function set.")},m.filter=function(e,t){c=e,d=t,this.enabled()&&(v instanceof Function?s(v()):console.error("No degree query function set.")),p=c,f=d,0===p.length&&(y(0),p=e,f=t),g=v()},m.setMaxDegreeSetter=function(e){h=e},m.setDegreeGetter=function(e){v=e},m.setDegreeSetter=function(e){y=e},m.enabled=function(e){return arguments.length?(b=e,m):b},m.filteredNodes=function(){return p},m.filteredProperties=function(){return f},m}},function(e,t){e.exports=function(e){var t,n,r,o,a=!0,i={},s=a;return i.filter=function(a,i){t=a,n=i,e.options().scaleNodesByIndividuals(s),r=t,o=n},i.enabled=function(e){return arguments.length?(s=e,i):s},i.reset=function(){s=a},i.filteredNodes=function(){return r},i.filteredProperties=function(){return o},i}},function(e,t,n){var r=n(63)();e.exports=function(){function e(){i=i.filter(t),a=a.filter(n)}function t(e){return!r.isObjectProperty(e)}function n(e){var t=!r.isThing(e),n=o(e,i);return t||n}function o(e,n){for(var r=0;ro?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e,t){var n=typeof e;return t=null==t?r:t,!!t&&("number"==n||"symbol"!=n&&o.test(e))&&e>-1&&e%1==0&&e0&&n(c)?t>1?r(c,t-1,n,i,s):o(s,c):i||(s[s.length]=c)}return s}var o=n(107),a=n(109);e.exports=r},function(e,t,n){function r(e){return i(e)||a(e)||!!(s&&e&&e[s])}var o=n(92),a=n(110),i=n(112),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){var r=n(111),o=n(104),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){function r(e){return a(e)&&o(e)==i}var o=n(91),a=n(104),i="[object Arguments]";e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=c&&(p=u,f=!1,t=new o(t));e:for(;++d-1}var o=n(135);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(135);e.exports=r},function(e,t,n){var r=n(122),o=n(93),a=r(o,"Map");e.exports=a},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(142);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(141);e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return!!n&&o(e,t,0)>-1}var o=n(149);e.exports=r},function(e,t,n){function r(e,t,n){return t===t?i(e,t,n):o(e,a,n)}var o=n(150),a=n(151),i=n(152);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,a=Date.now;e.exports=n},function(e,t,n){function r(e){return a(e)&&o(e)}var o=n(89),a=n(104);e.exports=r},function(e,t,n){var r=n(115),o=n(108),a=n(168),i=n(157),s=n(166),l=n(228),u=i(function(e,t){var n=l(t);return s(n)&&(n=void 0),s(e)?r(e,o(t,1,s,!0),a(n,2)):[]});e.exports=u},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?a(e[0],e[1]):o(e):l(e)}var o=n(169),a=n(211),i=n(158),s=n(112),l=n(225);e.exports=r},function(e,t,n){function r(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(170),a=n(208),i=n(210);e.exports=r},function(e,t,n){function r(e,t,n,r){var l=n.length,u=l,c=!r;if(null==e)return!u;for(e=Object(e);l--;){var d=n[l];if(c&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++lp))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var v=-1,g=!0,y=n&l?new o:void 0;for(c.set(e,t),c.set(t,e);++vi?0:i+n),r=void 0===r||r>i?i:o(r),r<0&&(r+=i),r=n>r?0:a(r);n=t?e:t)),e}e.exports=n},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var l=null==n?0:i(n);return l<0&&(l=s(r+l,0)),o(e,a(t,3),l)}var o=n(150),a=n(168),i=n(100),s=Math.max;e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var u=r-1;return void 0!==n&&(u=i(n),u=n<0?s(r+u,0):l(u,r-1)),o(e,a(t,3),u,!0)}var o=n(150),a=n(168),i=n(100),s=Math.max,l=Math.min;e.exports=r},function(e,t,n){e.exports=n(242)},function(e,t){function n(e){return e&&e.length?e[0]:void 0}e.exports=n},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,1):[]}var o=n(108);e.exports=r},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,a):[]}var o=n(108),a=1/0;e.exports=r},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return n?(t=void 0===t?1:a(t),o(e,t)):[]}var o=n(108),a=n(100);e.exports=r},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r={};++t=120&&y.length>=120)?new o(f&&y):void 0}y=e[0];var m=-1,b=h[0];e:for(;++m-1;)f!==e&&c.call(f,h,1),c.call(e,h,1);return e}var o=n(154),a=n(149),i=n(262),s=n(155),l=n(113),u=Array.prototype,c=u.splice;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=n-1,a=e.length;++ot||i&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!a)return 1;if(!r&&!i&&!c&&e>>1,c=e[u];null!==c&&!i(c)&&(n?c<=t:c>>1;e.exports=r},function(e,t,n){function r(e,t,n,r){t=n(t);for(var a=0,u=null==e?0:e.length,c=t!==t,d=null===t,p=o(t),f=void 0===t;a=c){var g=t?null:l(e);if(g)return u(g);f=!1,d=s,v=new o}else v=t?[]:h;e:for(;++r1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,o(e,n)});e.exports=a},function(e,t,n){(function(t){e.exports=function(e){var n,r={};return r.handle=function(r){if(!t.event.defaultPrevented){var o=!0;n===r&&(o=!1),e instanceof Function&&e(o?r:void 0),n=o?r:void 0}},r.reset=function(){n&&(e(void 0),n=void 0)},r}}).call(t,n(6))},function(e,t,n){var r=n(20);e.exports=function(){function e(){var e=c.filterNodesAndTidy(o,a,t);o=e.nodes,a=e.properties}function t(e){return!(e instanceof r)}var o,a,i,s,l={},u=!1,c=n(76)();return l.filter=function(t,n){o=t,a=n,this.enabled()&&e(),i=o,s=a},l.enabled=function(e){return arguments.length?(u=e,l):u},l.filteredNodes=function(){return i},l.filteredProperties=function(){return s},l}},function(e,t,n){(function(t){var r=n(20),o=n(31),a=n(30),i=n(63)();e.exports=function(){function e(){h=0,v=0,g=0,y=0,m=0,b=0,x=0,E=0}function s(e,t){h=e.length;var r,o,a,i=n(62)();for(r=0,o=t.length;r1)return!1}return!0}function i(e,t){var n,r,o,a=[];for(r=0,o=e.length;r + +406 Not Acceptable + + +

    Not Acceptable

    +

    An appropriate representation of the requested resource could not be found on this server.

    + Available variants: + + \ No newline at end of file diff --git a/dist/ontology/0.6.0/OOPSevaluation/evaluation/bootstrap.css b/dist/ontology/0.6.0/OOPSevaluation/evaluation/bootstrap.css new file mode 100644 index 0000000..b17ff4c --- /dev/null +++ b/dist/ontology/0.6.0/OOPSevaluation/evaluation/bootstrap.css @@ -0,0 +1,7155 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +audio, +canvas, +video { + display: inline-block; +} + +audio:not([controls]) { + display: none; + height: 0; +} + +[hidden], +template { + display: none; +} + +html { + font-family: sans-serif; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +body { + margin: 0; +} + +a { + background: transparent; +} + +a:focus { + outline: thin dotted; +} + +a:active, +a:hover { + outline: 0; +} + +h1 { + margin: 0.67em 0; + font-size: 2em; +} + +abbr[title] { + border-bottom: 1px dotted; +} + +b, +strong { + font-weight: bold; +} + +dfn { + font-style: italic; +} + +hr { + height: 0; + -moz-box-sizing: content-box; + box-sizing: content-box; +} + +mark { + color: #000; + background: #ff0; +} + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +pre { + white-space: pre-wrap; +} + +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} + +small { + font-size: 80%; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +img { + border: 0; +} + +svg:not(:root) { + overflow: hidden; +} + +figure { + margin: 0; +} + +fieldset { + padding: 0.35em 0.625em 0.75em; + margin: 0 2px; + border: 1px solid #c0c0c0; +} + +legend { + padding: 0; + border: 0; +} + +button, +input, +select, +textarea { + margin: 0; + font-family: inherit; + font-size: 100%; +} + +button, +input { + line-height: normal; +} + +button, +select { + text-transform: none; +} + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + cursor: pointer; + -webkit-appearance: button; +} + +button[disabled], +html input[disabled] { + cursor: default; +} + +input[type="checkbox"], +input[type="radio"] { + padding: 0; + box-sizing: border-box; +} + +input[type="search"] { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + -webkit-appearance: textfield; +} + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; +} + +textarea { + overflow: auto; + vertical-align: top; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +@media print { + * { + color: #000 !important; + text-shadow: none !important; + background: transparent !important; + box-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + a[href^="javascript:"]:after, + a[href^="#"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + @page { + margin: 2cm .5cm; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + select { + background: #fff !important; + } + .navbar { + display: none; + } + .table td, + .table th { + background-color: #fff !important; + } + .btn > .caret, + .dropup > .btn > .caret { + border-top-color: #000 !important; + } + .label { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #ddd !important; + } +} + +*, +*:before, +*:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +html { + font-size: 62.5%; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +body { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 1.428571429; + color: #333333; + background-color: #ffffff; +} + +input, +button, +select, +textarea { + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +a { + color: #428bca; + text-decoration: none; +} + +a:hover, +a:focus { + color: #2a6496; + text-decoration: underline; +} + +a:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +img { + vertical-align: middle; +} + +.img-responsive { + display: block; + height: auto; + max-width: 100%; +} + +.img-rounded { + border-radius: 6px; +} + +.img-thumbnail { + display: inline-block; + height: auto; + max-width: 100%; + padding: 4px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.img-circle { + border-radius: 50%; +} + +hr { + margin-top: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid #eeeeee; +} + +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} + +h1, +h2, +h3, +h4, +h5, +h6, +.h1, +.h2, +.h3, +.h4, +.h5, +.h6 { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 500; + line-height: 1.1; + color: inherit; +} + +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small, +.h1 small, +.h2 small, +.h3 small, +.h4 small, +.h5 small, +.h6 small, +h1 .small, +h2 .small, +h3 .small, +h4 .small, +h5 .small, +h6 .small, +.h1 .small, +.h2 .small, +.h3 .small, +.h4 .small, +.h5 .small, +.h6 .small { + font-weight: normal; + line-height: 1; + color: #999999; +} + +h1, +h2, +h3 { + margin-top: 20px; + margin-bottom: 10px; +} + +h1 small, +h2 small, +h3 small, +h1 .small, +h2 .small, +h3 .small { + font-size: 65%; +} + +h4, +h5, +h6 { + margin-top: 10px; + margin-bottom: 10px; +} + +h4 small, +h5 small, +h6 small, +h4 .small, +h5 .small, +h6 .small { + font-size: 75%; +} + +h1, +.h1 { + font-size: 36px; +} + +h2, +.h2 { + font-size: 30px; +} + +h3, +.h3 { + font-size: 24px; +} + +h4, +.h4 { + font-size: 18px; +} + +h5, +.h5 { + font-size: 14px; +} + +h6, +.h6 { + font-size: 12px; +} + +p { + margin: 0 0 10px; +} + +.lead { + margin-bottom: 20px; + font-size: 16px; + font-weight: 200; + line-height: 1.4; +} + +@media (min-width: 768px) { + .lead { + font-size: 21px; + } +} + +small, +.small { + font-size: 85%; +} + +cite { + font-style: normal; +} + +.text-muted { + color: #999999; +} + +.text-primary { + color: #428bca; +} + +.text-primary:hover { + color: #3071a9; +} + +.text-warning { + color: #8a6d3b; +} + +.text-warning:hover { + color: #66512c; +} + +.text-danger { + color: #a94442; +} + +.text-danger:hover { + color: #843534; +} + +.text-success { + color: #3c763d; +} + +.text-success:hover { + color: #2b542c; +} + +.text-info { + color: #31708f; +} + +.text-info:hover { + color: #245269; +} + +.text-left { + text-align: left; +} + +.text-right { + text-align: right; +} + +.text-center { + text-align: center; +} + +.page-header { + padding-bottom: 9px; + margin: 40px 0 20px; + border-bottom: 1px solid #eeeeee; +} + +ul, +ol { + margin-top: 0; + margin-bottom: 10px; +} + +ul ul, +ol ul, +ul ol, +ol ol { + margin-bottom: 0; +} + +.list-unstyled { + padding-left: 0; + list-style: none; +} + +.list-inline { + padding-left: 0; + list-style: none; +} + +.list-inline > li { + display: inline-block; + padding-right: 5px; + padding-left: 5px; +} + +.list-inline > li:first-child { + padding-left: 0; +} + +dl { + margin-top: 0; + margin-bottom: 20px; +} + +dt, +dd { + line-height: 1.428571429; +} + +dt { + font-weight: bold; +} + +dd { + margin-left: 0; +} + +@media (min-width: 768px) { + .dl-horizontal dt { + float: left; + width: 160px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; + } + .dl-horizontal dd { + margin-left: 180px; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } +} + +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #999999; +} + +.initialism { + font-size: 90%; + text-transform: uppercase; +} + +blockquote { + padding: 10px 20px; + margin: 0 0 20px; + border-left: 5px solid #eeeeee; +} + +blockquote p { + font-size: 17.5px; + font-weight: 300; + line-height: 1.25; +} + +blockquote p:last-child { + margin-bottom: 0; +} + +blockquote small, +blockquote .small { + display: block; + line-height: 1.428571429; + color: #999999; +} + +blockquote small:before, +blockquote .small:before { + content: '\2014 \00A0'; +} + +blockquote.pull-right { + padding-right: 15px; + padding-left: 0; + border-right: 5px solid #eeeeee; + border-left: 0; +} + +blockquote.pull-right p, +blockquote.pull-right small, +blockquote.pull-right .small { + text-align: right; +} + +blockquote.pull-right small:before, +blockquote.pull-right .small:before { + content: ''; +} + +blockquote.pull-right small:after, +blockquote.pull-right .small:after { + content: '\00A0 \2014'; +} + +blockquote:before, +blockquote:after { + content: ""; +} + +address { + margin-bottom: 20px; + font-style: normal; + line-height: 1.428571429; +} + +code, +kbd, +pre, +samp { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; +} + +code { + padding: 2px 4px; + font-size: 90%; + color: #c7254e; + white-space: nowrap; + background-color: #f9f2f4; + border-radius: 4px; +} + +pre { + display: block; + padding: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 1.428571429; + color: #333333; + word-break: break-all; + word-wrap: break-word; + background-color: #f5f5f5; + border: 1px solid #cccccc; + border-radius: 4px; +} + +pre code { + padding: 0; + font-size: inherit; + color: inherit; + white-space: pre-wrap; + background-color: transparent; + border-radius: 0; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +.container { + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +@media (min-width: 768px) { + .container { + width: 750px; + } +} + +@media (min-width: 992px) { + .container { + width: 970px; + } +} + +@media (min-width: 1200px) { + .container { + width: 1170px; + } +} + +.row { + margin-right: -15px; + margin-left: -15px; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.col-xs-1, +.col-sm-1, +.col-md-1, +.col-lg-1, +.col-xs-2, +.col-sm-2, +.col-md-2, +.col-lg-2, +.col-xs-3, +.col-sm-3, +.col-md-3, +.col-lg-3, +.col-xs-4, +.col-sm-4, +.col-md-4, +.col-lg-4, +.col-xs-5, +.col-sm-5, +.col-md-5, +.col-lg-5, +.col-xs-6, +.col-sm-6, +.col-md-6, +.col-lg-6, +.col-xs-7, +.col-sm-7, +.col-md-7, +.col-lg-7, +.col-xs-8, +.col-sm-8, +.col-md-8, +.col-lg-8, +.col-xs-9, +.col-sm-9, +.col-md-9, +.col-lg-9, +.col-xs-10, +.col-sm-10, +.col-md-10, +.col-lg-10, +.col-xs-11, +.col-sm-11, +.col-md-11, +.col-lg-11, +.col-xs-12, +.col-sm-12, +.col-md-12, +.col-lg-12 { + position: relative; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; +} + +.col-xs-1, +.col-xs-2, +.col-xs-3, +.col-xs-4, +.col-xs-5, +.col-xs-6, +.col-xs-7, +.col-xs-8, +.col-xs-9, +.col-xs-10, +.col-xs-11, +.col-xs-12 { + float: left; +} + +.col-xs-12 { + width: 100%; +} + +.col-xs-11 { + width: 91.66666666666666%; +} + +.col-xs-10 { + width: 83.33333333333334%; +} + +.col-xs-9 { + width: 75%; +} + +.col-xs-8 { + width: 66.66666666666666%; +} + +.col-xs-7 { + width: 58.333333333333336%; +} + +.col-xs-6 { + width: 50%; +} + +.col-xs-5 { + width: 41.66666666666667%; +} + +.col-xs-4 { + width: 33.33333333333333%; +} + +.col-xs-3 { + width: 25%; +} + +.col-xs-2 { + width: 16.666666666666664%; +} + +.col-xs-1 { + width: 8.333333333333332%; +} + +.col-xs-pull-12 { + right: 100%; +} + +.col-xs-pull-11 { + right: 91.66666666666666%; +} + +.col-xs-pull-10 { + right: 83.33333333333334%; +} + +.col-xs-pull-9 { + right: 75%; +} + +.col-xs-pull-8 { + right: 66.66666666666666%; +} + +.col-xs-pull-7 { + right: 58.333333333333336%; +} + +.col-xs-pull-6 { + right: 50%; +} + +.col-xs-pull-5 { + right: 41.66666666666667%; +} + +.col-xs-pull-4 { + right: 33.33333333333333%; +} + +.col-xs-pull-3 { + right: 25%; +} + +.col-xs-pull-2 { + right: 16.666666666666664%; +} + +.col-xs-pull-1 { + right: 8.333333333333332%; +} + +.col-xs-pull-0 { + right: 0; +} + +.col-xs-push-12 { + left: 100%; +} + +.col-xs-push-11 { + left: 91.66666666666666%; +} + +.col-xs-push-10 { + left: 83.33333333333334%; +} + +.col-xs-push-9 { + left: 75%; +} + +.col-xs-push-8 { + left: 66.66666666666666%; +} + +.col-xs-push-7 { + left: 58.333333333333336%; +} + +.col-xs-push-6 { + left: 50%; +} + +.col-xs-push-5 { + left: 41.66666666666667%; +} + +.col-xs-push-4 { + left: 33.33333333333333%; +} + +.col-xs-push-3 { + left: 25%; +} + +.col-xs-push-2 { + left: 16.666666666666664%; +} + +.col-xs-push-1 { + left: 8.333333333333332%; +} + +.col-xs-push-0 { + left: 0; +} + +.col-xs-offset-12 { + margin-left: 100%; +} + +.col-xs-offset-11 { + margin-left: 91.66666666666666%; +} + +.col-xs-offset-10 { + margin-left: 83.33333333333334%; +} + +.col-xs-offset-9 { + margin-left: 75%; +} + +.col-xs-offset-8 { + margin-left: 66.66666666666666%; +} + +.col-xs-offset-7 { + margin-left: 58.333333333333336%; +} + +.col-xs-offset-6 { + margin-left: 50%; +} + +.col-xs-offset-5 { + margin-left: 41.66666666666667%; +} + +.col-xs-offset-4 { + margin-left: 33.33333333333333%; +} + +.col-xs-offset-3 { + margin-left: 25%; +} + +.col-xs-offset-2 { + margin-left: 16.666666666666664%; +} + +.col-xs-offset-1 { + margin-left: 8.333333333333332%; +} + +.col-xs-offset-0 { + margin-left: 0; +} + +@media (min-width: 768px) { + .col-sm-1, + .col-sm-2, + .col-sm-3, + .col-sm-4, + .col-sm-5, + .col-sm-6, + .col-sm-7, + .col-sm-8, + .col-sm-9, + .col-sm-10, + .col-sm-11, + .col-sm-12 { + float: left; + } + .col-sm-12 { + width: 100%; + } + .col-sm-11 { + width: 91.66666666666666%; + } + .col-sm-10 { + width: 83.33333333333334%; + } + .col-sm-9 { + width: 75%; + } + .col-sm-8 { + width: 66.66666666666666%; + } + .col-sm-7 { + width: 58.333333333333336%; + } + .col-sm-6 { + width: 50%; + } + .col-sm-5 { + width: 41.66666666666667%; + } + .col-sm-4 { + width: 33.33333333333333%; + } + .col-sm-3 { + width: 25%; + } + .col-sm-2 { + width: 16.666666666666664%; + } + .col-sm-1 { + width: 8.333333333333332%; + } + .col-sm-pull-12 { + right: 100%; + } + .col-sm-pull-11 { + right: 91.66666666666666%; + } + .col-sm-pull-10 { + right: 83.33333333333334%; + } + .col-sm-pull-9 { + right: 75%; + } + .col-sm-pull-8 { + right: 66.66666666666666%; + } + .col-sm-pull-7 { + right: 58.333333333333336%; + } + .col-sm-pull-6 { + right: 50%; + } + .col-sm-pull-5 { + right: 41.66666666666667%; + } + .col-sm-pull-4 { + right: 33.33333333333333%; + } + .col-sm-pull-3 { + right: 25%; + } + .col-sm-pull-2 { + right: 16.666666666666664%; + } + .col-sm-pull-1 { + right: 8.333333333333332%; + } + .col-sm-pull-0 { + right: 0; + } + .col-sm-push-12 { + left: 100%; + } + .col-sm-push-11 { + left: 91.66666666666666%; + } + .col-sm-push-10 { + left: 83.33333333333334%; + } + .col-sm-push-9 { + left: 75%; + } + .col-sm-push-8 { + left: 66.66666666666666%; + } + .col-sm-push-7 { + left: 58.333333333333336%; + } + .col-sm-push-6 { + left: 50%; + } + .col-sm-push-5 { + left: 41.66666666666667%; + } + .col-sm-push-4 { + left: 33.33333333333333%; + } + .col-sm-push-3 { + left: 25%; + } + .col-sm-push-2 { + left: 16.666666666666664%; + } + .col-sm-push-1 { + left: 8.333333333333332%; + } + .col-sm-push-0 { + left: 0; + } + .col-sm-offset-12 { + margin-left: 100%; + } + .col-sm-offset-11 { + margin-left: 91.66666666666666%; + } + .col-sm-offset-10 { + margin-left: 83.33333333333334%; + } + .col-sm-offset-9 { + margin-left: 75%; + } + .col-sm-offset-8 { + margin-left: 66.66666666666666%; + } + .col-sm-offset-7 { + margin-left: 58.333333333333336%; + } + .col-sm-offset-6 { + margin-left: 50%; + } + .col-sm-offset-5 { + margin-left: 41.66666666666667%; + } + .col-sm-offset-4 { + margin-left: 33.33333333333333%; + } + .col-sm-offset-3 { + margin-left: 25%; + } + .col-sm-offset-2 { + margin-left: 16.666666666666664%; + } + .col-sm-offset-1 { + margin-left: 8.333333333333332%; + } + .col-sm-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 992px) { + .col-md-1, + .col-md-2, + .col-md-3, + .col-md-4, + .col-md-5, + .col-md-6, + .col-md-7, + .col-md-8, + .col-md-9, + .col-md-10, + .col-md-11, + .col-md-12 { + float: left; + } + .col-md-12 { + width: 100%; + } + .col-md-11 { + width: 91.66666666666666%; + } + .col-md-10 { + width: 83.33333333333334%; + } + .col-md-9 { + width: 75%; + } + .col-md-8 { + width: 66.66666666666666%; + } + .col-md-7 { + width: 58.333333333333336%; + } + .col-md-6 { + width: 50%; + } + .col-md-5 { + width: 41.66666666666667%; + } + .col-md-4 { + width: 33.33333333333333%; + } + .col-md-3 { + width: 25%; + } + .col-md-2 { + width: 16.666666666666664%; + } + .col-md-1 { + width: 8.333333333333332%; + } + .col-md-pull-12 { + right: 100%; + } + .col-md-pull-11 { + right: 91.66666666666666%; + } + .col-md-pull-10 { + right: 83.33333333333334%; + } + .col-md-pull-9 { + right: 75%; + } + .col-md-pull-8 { + right: 66.66666666666666%; + } + .col-md-pull-7 { + right: 58.333333333333336%; + } + .col-md-pull-6 { + right: 50%; + } + .col-md-pull-5 { + right: 41.66666666666667%; + } + .col-md-pull-4 { + right: 33.33333333333333%; + } + .col-md-pull-3 { + right: 25%; + } + .col-md-pull-2 { + right: 16.666666666666664%; + } + .col-md-pull-1 { + right: 8.333333333333332%; + } + .col-md-pull-0 { + right: 0; + } + .col-md-push-12 { + left: 100%; + } + .col-md-push-11 { + left: 91.66666666666666%; + } + .col-md-push-10 { + left: 83.33333333333334%; + } + .col-md-push-9 { + left: 75%; + } + .col-md-push-8 { + left: 66.66666666666666%; + } + .col-md-push-7 { + left: 58.333333333333336%; + } + .col-md-push-6 { + left: 50%; + } + .col-md-push-5 { + left: 41.66666666666667%; + } + .col-md-push-4 { + left: 33.33333333333333%; + } + .col-md-push-3 { + left: 25%; + } + .col-md-push-2 { + left: 16.666666666666664%; + } + .col-md-push-1 { + left: 8.333333333333332%; + } + .col-md-push-0 { + left: 0; + } + .col-md-offset-12 { + margin-left: 100%; + } + .col-md-offset-11 { + margin-left: 91.66666666666666%; + } + .col-md-offset-10 { + margin-left: 83.33333333333334%; + } + .col-md-offset-9 { + margin-left: 75%; + } + .col-md-offset-8 { + margin-left: 66.66666666666666%; + } + .col-md-offset-7 { + margin-left: 58.333333333333336%; + } + .col-md-offset-6 { + margin-left: 50%; + } + .col-md-offset-5 { + margin-left: 41.66666666666667%; + } + .col-md-offset-4 { + margin-left: 33.33333333333333%; + } + .col-md-offset-3 { + margin-left: 25%; + } + .col-md-offset-2 { + margin-left: 16.666666666666664%; + } + .col-md-offset-1 { + margin-left: 8.333333333333332%; + } + .col-md-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 1200px) { + .col-lg-1, + .col-lg-2, + .col-lg-3, + .col-lg-4, + .col-lg-5, + .col-lg-6, + .col-lg-7, + .col-lg-8, + .col-lg-9, + .col-lg-10, + .col-lg-11, + .col-lg-12 { + float: left; + } + .col-lg-12 { + width: 100%; + } + .col-lg-11 { + width: 91.66666666666666%; + } + .col-lg-10 { + width: 83.33333333333334%; + } + .col-lg-9 { + width: 75%; + } + .col-lg-8 { + width: 66.66666666666666%; + } + .col-lg-7 { + width: 58.333333333333336%; + } + .col-lg-6 { + width: 50%; + } + .col-lg-5 { + width: 41.66666666666667%; + } + .col-lg-4 { + width: 33.33333333333333%; + } + .col-lg-3 { + width: 25%; + } + .col-lg-2 { + width: 16.666666666666664%; + } + .col-lg-1 { + width: 8.333333333333332%; + } + .col-lg-pull-12 { + right: 100%; + } + .col-lg-pull-11 { + right: 91.66666666666666%; + } + .col-lg-pull-10 { + right: 83.33333333333334%; + } + .col-lg-pull-9 { + right: 75%; + } + .col-lg-pull-8 { + right: 66.66666666666666%; + } + .col-lg-pull-7 { + right: 58.333333333333336%; + } + .col-lg-pull-6 { + right: 50%; + } + .col-lg-pull-5 { + right: 41.66666666666667%; + } + .col-lg-pull-4 { + right: 33.33333333333333%; + } + .col-lg-pull-3 { + right: 25%; + } + .col-lg-pull-2 { + right: 16.666666666666664%; + } + .col-lg-pull-1 { + right: 8.333333333333332%; + } + .col-lg-pull-0 { + right: 0; + } + .col-lg-push-12 { + left: 100%; + } + .col-lg-push-11 { + left: 91.66666666666666%; + } + .col-lg-push-10 { + left: 83.33333333333334%; + } + .col-lg-push-9 { + left: 75%; + } + .col-lg-push-8 { + left: 66.66666666666666%; + } + .col-lg-push-7 { + left: 58.333333333333336%; + } + .col-lg-push-6 { + left: 50%; + } + .col-lg-push-5 { + left: 41.66666666666667%; + } + .col-lg-push-4 { + left: 33.33333333333333%; + } + .col-lg-push-3 { + left: 25%; + } + .col-lg-push-2 { + left: 16.666666666666664%; + } + .col-lg-push-1 { + left: 8.333333333333332%; + } + .col-lg-push-0 { + left: 0; + } + .col-lg-offset-12 { + margin-left: 100%; + } + .col-lg-offset-11 { + margin-left: 91.66666666666666%; + } + .col-lg-offset-10 { + margin-left: 83.33333333333334%; + } + .col-lg-offset-9 { + margin-left: 75%; + } + .col-lg-offset-8 { + margin-left: 66.66666666666666%; + } + .col-lg-offset-7 { + margin-left: 58.333333333333336%; + } + .col-lg-offset-6 { + margin-left: 50%; + } + .col-lg-offset-5 { + margin-left: 41.66666666666667%; + } + .col-lg-offset-4 { + margin-left: 33.33333333333333%; + } + .col-lg-offset-3 { + margin-left: 25%; + } + .col-lg-offset-2 { + margin-left: 16.666666666666664%; + } + .col-lg-offset-1 { + margin-left: 8.333333333333332%; + } + .col-lg-offset-0 { + margin-left: 0; + } +} + +table { + max-width: 100%; + background-color: transparent; +} + +th { + text-align: left; +} + +.table { + width: 100%; + margin-bottom: 20px; +} + +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + padding: 8px; + line-height: 1.428571429; + vertical-align: top; + border-top: 1px solid #dddddd; +} + +.table > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #dddddd; +} + +.table > caption + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > th, +.table > thead:first-child > tr:first-child > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > td { + border-top: 0; +} + +.table > tbody + tbody { + border-top: 2px solid #dddddd; +} + +.table .table { + background-color: #ffffff; +} + +.table-condensed > thead > tr > th, +.table-condensed > tbody > tr > th, +.table-condensed > tfoot > tr > th, +.table-condensed > thead > tr > td, +.table-condensed > tbody > tr > td, +.table-condensed > tfoot > tr > td { + padding: 5px; +} + +.table-bordered { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > tbody > tr > th, +.table-bordered > tfoot > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > td { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td { + border-bottom-width: 2px; +} + +.table-striped > tbody > tr:nth-child(odd) > td, +.table-striped > tbody > tr:nth-child(odd) > th { + background-color: #f9f9f9; +} + +.table-hover > tbody > tr:hover > td, +.table-hover > tbody > tr:hover > th { + background-color: #f5f5f5; +} + +table col[class*="col-"] { + position: static; + display: table-column; + float: none; +} + +table td[class*="col-"], +table th[class*="col-"] { + display: table-cell; + float: none; +} + +.table > thead > tr > .active, +.table > tbody > tr > .active, +.table > tfoot > tr > .active, +.table > thead > .active > td, +.table > tbody > .active > td, +.table > tfoot > .active > td, +.table > thead > .active > th, +.table > tbody > .active > th, +.table > tfoot > .active > th { + background-color: #f5f5f5; +} + +.table-hover > tbody > tr > .active:hover, +.table-hover > tbody > .active:hover > td, +.table-hover > tbody > .active:hover > th { + background-color: #e8e8e8; +} + +.table > thead > tr > .success, +.table > tbody > tr > .success, +.table > tfoot > tr > .success, +.table > thead > .success > td, +.table > tbody > .success > td, +.table > tfoot > .success > td, +.table > thead > .success > th, +.table > tbody > .success > th, +.table > tfoot > .success > th { + background-color: #dff0d8; +} + +.table-hover > tbody > tr > .success:hover, +.table-hover > tbody > .success:hover > td, +.table-hover > tbody > .success:hover > th { + background-color: #d0e9c6; +} + +.table > thead > tr > .danger, +.table > tbody > tr > .danger, +.table > tfoot > tr > .danger, +.table > thead > .danger > td, +.table > tbody > .danger > td, +.table > tfoot > .danger > td, +.table > thead > .danger > th, +.table > tbody > .danger > th, +.table > tfoot > .danger > th { + background-color: #f2dede; +} + +.table-hover > tbody > tr > .danger:hover, +.table-hover > tbody > .danger:hover > td, +.table-hover > tbody > .danger:hover > th { + background-color: #ebcccc; +} + +.table > thead > tr > .warning, +.table > tbody > tr > .warning, +.table > tfoot > tr > .warning, +.table > thead > .warning > td, +.table > tbody > .warning > td, +.table > tfoot > .warning > td, +.table > thead > .warning > th, +.table > tbody > .warning > th, +.table > tfoot > .warning > th { + background-color: #fcf8e3; +} + +.table-hover > tbody > tr > .warning:hover, +.table-hover > tbody > .warning:hover > td, +.table-hover > tbody > .warning:hover > th { + background-color: #faf2cc; +} + +@media (max-width: 767px) { + .table-responsive { + width: 100%; + margin-bottom: 15px; + overflow-x: scroll; + overflow-y: hidden; + border: 1px solid #dddddd; + -ms-overflow-style: -ms-autohiding-scrollbar; + -webkit-overflow-scrolling: touch; + } + .table-responsive > .table { + margin-bottom: 0; + } + .table-responsive > .table > thead > tr > th, + .table-responsive > .table > tbody > tr > th, + .table-responsive > .table > tfoot > tr > th, + .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > td { + white-space: nowrap; + } + .table-responsive > .table-bordered { + border: 0; + } + .table-responsive > .table-bordered > thead > tr > th:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, + .table-responsive > .table-bordered > tfoot > tr > th:first-child, + .table-responsive > .table-bordered > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; + } + .table-responsive > .table-bordered > thead > tr > th:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, + .table-responsive > .table-bordered > tfoot > tr > th:last-child, + .table-responsive > .table-bordered > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; + } + .table-responsive > .table-bordered > tbody > tr:last-child > th, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, + .table-responsive > .table-bordered > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; + } +} + +fieldset { + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: inherit; + color: #333333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} + +label { + display: inline-block; + margin-bottom: 5px; + font-weight: bold; +} + +input[type="search"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + /* IE8-9 */ + + line-height: normal; +} + +input[type="file"] { + display: block; +} + +select[multiple], +select[size] { + height: auto; +} + +select optgroup { + font-family: inherit; + font-size: inherit; + font-style: inherit; +} + +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +input[type="number"]::-webkit-outer-spin-button, +input[type="number"]::-webkit-inner-spin-button { + height: auto; +} + +output { + display: block; + padding-top: 7px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; +} + +.form-control { + display: block; + width: 100%; + height: 34px; + padding: 6px 12px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; + background-color: #ffffff; + background-image: none; + border: 1px solid #cccccc; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; +} + +.form-control:focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); +} + +.form-control:-moz-placeholder { + color: #999999; +} + +.form-control::-moz-placeholder { + color: #999999; + opacity: 1; +} + +.form-control:-ms-input-placeholder { + color: #999999; +} + +.form-control::-webkit-input-placeholder { + color: #999999; +} + +.form-control[disabled], +.form-control[readonly], +fieldset[disabled] .form-control { + cursor: not-allowed; + background-color: #eeeeee; +} + +textarea.form-control { + height: auto; +} + +.form-group { + margin-bottom: 15px; +} + +.radio, +.checkbox { + display: block; + min-height: 20px; + padding-left: 20px; + margin-top: 10px; + margin-bottom: 10px; + vertical-align: middle; +} + +.radio label, +.checkbox label { + display: inline; + margin-bottom: 0; + font-weight: normal; + cursor: pointer; +} + +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + float: left; + margin-left: -20px; +} + +.radio + .radio, +.checkbox + .checkbox { + margin-top: -5px; +} + +.radio-inline, +.checkbox-inline { + display: inline-block; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + vertical-align: middle; + cursor: pointer; +} + +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; +} + +input[type="radio"][disabled], +input[type="checkbox"][disabled], +.radio[disabled], +.radio-inline[disabled], +.checkbox[disabled], +.checkbox-inline[disabled], +fieldset[disabled] input[type="radio"], +fieldset[disabled] input[type="checkbox"], +fieldset[disabled] .radio, +fieldset[disabled] .radio-inline, +fieldset[disabled] .checkbox, +fieldset[disabled] .checkbox-inline { + cursor: not-allowed; +} + +.input-sm { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-sm { + height: 30px; + line-height: 30px; +} + +textarea.input-sm { + height: auto; +} + +.input-lg { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-lg { + height: 46px; + line-height: 46px; +} + +textarea.input-lg { + height: auto; +} + +.has-warning .help-block, +.has-warning .control-label, +.has-warning .radio, +.has-warning .checkbox, +.has-warning .radio-inline, +.has-warning .checkbox-inline { + color: #8a6d3b; +} + +.has-warning .form-control { + border-color: #8a6d3b; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-warning .form-control:focus { + border-color: #66512c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; +} + +.has-warning .input-group-addon { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #8a6d3b; +} + +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline { + color: #a94442; +} + +.has-error .form-control { + border-color: #a94442; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-error .form-control:focus { + border-color: #843534; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; +} + +.has-error .input-group-addon { + color: #a94442; + background-color: #f2dede; + border-color: #a94442; +} + +.has-success .help-block, +.has-success .control-label, +.has-success .radio, +.has-success .checkbox, +.has-success .radio-inline, +.has-success .checkbox-inline { + color: #3c763d; +} + +.has-success .form-control { + border-color: #3c763d; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-success .form-control:focus { + border-color: #2b542c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; +} + +.has-success .input-group-addon { + color: #3c763d; + background-color: #dff0d8; + border-color: #3c763d; +} + +.form-control-static { + margin-bottom: 0; +} + +.help-block { + display: block; + margin-top: 5px; + margin-bottom: 10px; + color: #737373; +} + +@media (min-width: 768px) { + .form-inline .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .form-control { + display: inline-block; + } + .form-inline select.form-control { + width: auto; + } + .form-inline .radio, + .form-inline .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .form-inline .radio input[type="radio"], + .form-inline .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +.form-horizontal .control-label, +.form-horizontal .radio, +.form-horizontal .checkbox, +.form-horizontal .radio-inline, +.form-horizontal .checkbox-inline { + padding-top: 7px; + margin-top: 0; + margin-bottom: 0; +} + +.form-horizontal .radio, +.form-horizontal .checkbox { + min-height: 27px; +} + +.form-horizontal .form-group { + margin-right: -15px; + margin-left: -15px; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-control-static { + padding-top: 7px; +} + +@media (min-width: 768px) { + .form-horizontal .control-label { + text-align: right; + } +} + +.btn { + display: inline-block; + padding: 6px 12px; + margin-bottom: 0; + font-size: 14px; + font-weight: normal; + line-height: 1.428571429; + text-align: center; + white-space: nowrap; + vertical-align: middle; + cursor: pointer; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; +} + +.btn:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +.btn:hover, +.btn:focus { + color: #333333; + text-decoration: none; +} + +.btn:active, +.btn.active { + background-image: none; + outline: 0; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn.disabled, +.btn[disabled], +fieldset[disabled] .btn { + pointer-events: none; + cursor: not-allowed; + opacity: 0.65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-default { + color: #333333; + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default:hover, +.btn-default:focus, +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + color: #333333; + background-color: #ebebeb; + border-color: #adadad; +} + +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + background-image: none; +} + +.btn-default.disabled, +.btn-default[disabled], +fieldset[disabled] .btn-default, +.btn-default.disabled:hover, +.btn-default[disabled]:hover, +fieldset[disabled] .btn-default:hover, +.btn-default.disabled:focus, +.btn-default[disabled]:focus, +fieldset[disabled] .btn-default:focus, +.btn-default.disabled:active, +.btn-default[disabled]:active, +fieldset[disabled] .btn-default:active, +.btn-default.disabled.active, +.btn-default[disabled].active, +fieldset[disabled] .btn-default.active { + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default .badge { + color: #ffffff; + background-color: #fff; +} + +.btn-primary { + color: #ffffff; + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary:hover, +.btn-primary:focus, +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + color: #ffffff; + background-color: #3276b1; + border-color: #285e8e; +} + +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + background-image: none; +} + +.btn-primary.disabled, +.btn-primary[disabled], +fieldset[disabled] .btn-primary, +.btn-primary.disabled:hover, +.btn-primary[disabled]:hover, +fieldset[disabled] .btn-primary:hover, +.btn-primary.disabled:focus, +.btn-primary[disabled]:focus, +fieldset[disabled] .btn-primary:focus, +.btn-primary.disabled:active, +.btn-primary[disabled]:active, +fieldset[disabled] .btn-primary:active, +.btn-primary.disabled.active, +.btn-primary[disabled].active, +fieldset[disabled] .btn-primary.active { + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary .badge { + color: #428bca; + background-color: #fff; +} + +.btn-warning { + color: #ffffff; + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning:hover, +.btn-warning:focus, +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + color: #ffffff; + background-color: #ed9c28; + border-color: #d58512; +} + +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + background-image: none; +} + +.btn-warning.disabled, +.btn-warning[disabled], +fieldset[disabled] .btn-warning, +.btn-warning.disabled:hover, +.btn-warning[disabled]:hover, +fieldset[disabled] .btn-warning:hover, +.btn-warning.disabled:focus, +.btn-warning[disabled]:focus, +fieldset[disabled] .btn-warning:focus, +.btn-warning.disabled:active, +.btn-warning[disabled]:active, +fieldset[disabled] .btn-warning:active, +.btn-warning.disabled.active, +.btn-warning[disabled].active, +fieldset[disabled] .btn-warning.active { + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning .badge { + color: #f0ad4e; + background-color: #fff; +} + +.btn-danger { + color: #ffffff; + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger:hover, +.btn-danger:focus, +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + color: #ffffff; + background-color: #d2322d; + border-color: #ac2925; +} + +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + background-image: none; +} + +.btn-danger.disabled, +.btn-danger[disabled], +fieldset[disabled] .btn-danger, +.btn-danger.disabled:hover, +.btn-danger[disabled]:hover, +fieldset[disabled] .btn-danger:hover, +.btn-danger.disabled:focus, +.btn-danger[disabled]:focus, +fieldset[disabled] .btn-danger:focus, +.btn-danger.disabled:active, +.btn-danger[disabled]:active, +fieldset[disabled] .btn-danger:active, +.btn-danger.disabled.active, +.btn-danger[disabled].active, +fieldset[disabled] .btn-danger.active { + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger .badge { + color: #d9534f; + background-color: #fff; +} + +.btn-success { + color: #ffffff; + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success:hover, +.btn-success:focus, +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + color: #ffffff; + background-color: #47a447; + border-color: #398439; +} + +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + background-image: none; +} + +.btn-success.disabled, +.btn-success[disabled], +fieldset[disabled] .btn-success, +.btn-success.disabled:hover, +.btn-success[disabled]:hover, +fieldset[disabled] .btn-success:hover, +.btn-success.disabled:focus, +.btn-success[disabled]:focus, +fieldset[disabled] .btn-success:focus, +.btn-success.disabled:active, +.btn-success[disabled]:active, +fieldset[disabled] .btn-success:active, +.btn-success.disabled.active, +.btn-success[disabled].active, +fieldset[disabled] .btn-success.active { + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success .badge { + color: #5cb85c; + background-color: #fff; +} + +.btn-info { + color: #ffffff; + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info:hover, +.btn-info:focus, +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + color: #ffffff; + background-color: #39b3d7; + border-color: #269abc; +} + +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + background-image: none; +} + +.btn-info.disabled, +.btn-info[disabled], +fieldset[disabled] .btn-info, +.btn-info.disabled:hover, +.btn-info[disabled]:hover, +fieldset[disabled] .btn-info:hover, +.btn-info.disabled:focus, +.btn-info[disabled]:focus, +fieldset[disabled] .btn-info:focus, +.btn-info.disabled:active, +.btn-info[disabled]:active, +fieldset[disabled] .btn-info:active, +.btn-info.disabled.active, +.btn-info[disabled].active, +fieldset[disabled] .btn-info.active { + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info .badge { + color: #5bc0de; + background-color: #fff; +} + +.btn-link { + font-weight: normal; + color: #428bca; + cursor: pointer; + border-radius: 0; +} + +.btn-link, +.btn-link:active, +.btn-link[disabled], +fieldset[disabled] .btn-link { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-link, +.btn-link:hover, +.btn-link:focus, +.btn-link:active { + border-color: transparent; +} + +.btn-link:hover, +.btn-link:focus { + color: #2a6496; + text-decoration: underline; + background-color: transparent; +} + +.btn-link[disabled]:hover, +fieldset[disabled] .btn-link:hover, +.btn-link[disabled]:focus, +fieldset[disabled] .btn-link:focus { + color: #999999; + text-decoration: none; +} + +.btn-lg { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-sm { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-xs { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-block { + display: block; + width: 100%; + padding-right: 0; + padding-left: 0; +} + +.btn-block + .btn-block { + margin-top: 5px; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.fade { + opacity: 0; + -webkit-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} + +.fade.in { + opacity: 1; +} + +.collapse { + display: none; +} + +.collapse.in { + display: block; +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition: height 0.35s ease; + transition: height 0.35s ease; +} + +@font-face { + font-family: 'Glyphicons Halflings'; + src: url('../fonts/glyphicons-halflings-regular.eot'); + src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg'); +} + +.glyphicon { + position: relative; + top: 1px; + display: inline-block; + font-family: 'Glyphicons Halflings'; + -webkit-font-smoothing: antialiased; + font-style: normal; + font-weight: normal; + line-height: 1; + -moz-osx-font-smoothing: grayscale; +} + +.glyphicon:empty { + width: 1em; +} + +.glyphicon-asterisk:before { + content: "\2a"; +} + +.glyphicon-plus:before { + content: "\2b"; +} + +.glyphicon-euro:before { + content: "\20ac"; +} + +.glyphicon-minus:before { + content: "\2212"; +} + +.glyphicon-cloud:before { + content: "\2601"; +} + +.glyphicon-envelope:before { + content: "\2709"; +} + +.glyphicon-pencil:before { + content: "\270f"; +} + +.glyphicon-glass:before { + content: "\e001"; +} + +.glyphicon-music:before { + content: "\e002"; +} + +.glyphicon-search:before { + content: "\e003"; +} + +.glyphicon-heart:before { + content: "\e005"; +} + +.glyphicon-star:before { + content: "\e006"; +} + +.glyphicon-star-empty:before { + content: "\e007"; +} + +.glyphicon-user:before { + content: "\e008"; +} + +.glyphicon-film:before { + content: "\e009"; +} + +.glyphicon-th-large:before { + content: "\e010"; +} + +.glyphicon-th:before { + content: "\e011"; +} + +.glyphicon-th-list:before { + content: "\e012"; +} + +.glyphicon-ok:before { + content: "\e013"; +} + +.glyphicon-remove:before { + content: "\e014"; +} + +.glyphicon-zoom-in:before { + content: "\e015"; +} + +.glyphicon-zoom-out:before { + content: "\e016"; +} + +.glyphicon-off:before { + content: "\e017"; +} + +.glyphicon-signal:before { + content: "\e018"; +} + +.glyphicon-cog:before { + content: "\e019"; +} + +.glyphicon-trash:before { + content: "\e020"; +} + +.glyphicon-home:before { + content: "\e021"; +} + +.glyphicon-file:before { + content: "\e022"; +} + +.glyphicon-time:before { + content: "\e023"; +} + +.glyphicon-road:before { + content: "\e024"; +} + +.glyphicon-download-alt:before { + content: "\e025"; +} + +.glyphicon-download:before { + content: "\e026"; +} + +.glyphicon-upload:before { + content: "\e027"; +} + +.glyphicon-inbox:before { + content: "\e028"; +} + +.glyphicon-play-circle:before { + content: "\e029"; +} + +.glyphicon-repeat:before { + content: "\e030"; +} + +.glyphicon-refresh:before { + content: "\e031"; +} + +.glyphicon-list-alt:before { + content: "\e032"; +} + +.glyphicon-lock:before { + content: "\e033"; +} + +.glyphicon-flag:before { + content: "\e034"; +} + +.glyphicon-headphones:before { + content: "\e035"; +} + +.glyphicon-volume-off:before { + content: "\e036"; +} + +.glyphicon-volume-down:before { + content: "\e037"; +} + +.glyphicon-volume-up:before { + content: "\e038"; +} + +.glyphicon-qrcode:before { + content: "\e039"; +} + +.glyphicon-barcode:before { + content: "\e040"; +} + +.glyphicon-tag:before { + content: "\e041"; +} + +.glyphicon-tags:before { + content: "\e042"; +} + +.glyphicon-book:before { + content: "\e043"; +} + +.glyphicon-bookmark:before { + content: "\e044"; +} + +.glyphicon-print:before { + content: "\e045"; +} + +.glyphicon-camera:before { + content: "\e046"; +} + +.glyphicon-font:before { + content: "\e047"; +} + +.glyphicon-bold:before { + content: "\e048"; +} + +.glyphicon-italic:before { + content: "\e049"; +} + +.glyphicon-text-height:before { + content: "\e050"; +} + +.glyphicon-text-width:before { + content: "\e051"; +} + +.glyphicon-align-left:before { + content: "\e052"; +} + +.glyphicon-align-center:before { + content: "\e053"; +} + +.glyphicon-align-right:before { + content: "\e054"; +} + +.glyphicon-align-justify:before { + content: "\e055"; +} + +.glyphicon-list:before { + content: "\e056"; +} + +.glyphicon-indent-left:before { + content: "\e057"; +} + +.glyphicon-indent-right:before { + content: "\e058"; +} + +.glyphicon-facetime-video:before { + content: "\e059"; +} + +.glyphicon-picture:before { + content: "\e060"; +} + +.glyphicon-map-marker:before { + content: "\e062"; +} + +.glyphicon-adjust:before { + content: "\e063"; +} + +.glyphicon-tint:before { + content: "\e064"; +} + +.glyphicon-edit:before { + content: "\e065"; +} + +.glyphicon-share:before { + content: "\e066"; +} + +.glyphicon-check:before { + content: "\e067"; +} + +.glyphicon-move:before { + content: "\e068"; +} + +.glyphicon-step-backward:before { + content: "\e069"; +} + +.glyphicon-fast-backward:before { + content: "\e070"; +} + +.glyphicon-backward:before { + content: "\e071"; +} + +.glyphicon-play:before { + content: "\e072"; +} + +.glyphicon-pause:before { + content: "\e073"; +} + +.glyphicon-stop:before { + content: "\e074"; +} + +.glyphicon-forward:before { + content: "\e075"; +} + +.glyphicon-fast-forward:before { + content: "\e076"; +} + +.glyphicon-step-forward:before { + content: "\e077"; +} + +.glyphicon-eject:before { + content: "\e078"; +} + +.glyphicon-chevron-left:before { + content: "\e079"; +} + +.glyphicon-chevron-right:before { + content: "\e080"; +} + +.glyphicon-plus-sign:before { + content: "\e081"; +} + +.glyphicon-minus-sign:before { + content: "\e082"; +} + +.glyphicon-remove-sign:before { + content: "\e083"; +} + +.glyphicon-ok-sign:before { + content: "\e084"; +} + +.glyphicon-question-sign:before { + content: "\e085"; +} + +.glyphicon-info-sign:before { + content: "\e086"; +} + +.glyphicon-screenshot:before { + content: "\e087"; +} + +.glyphicon-remove-circle:before { + content: "\e088"; +} + +.glyphicon-ok-circle:before { + content: "\e089"; +} + +.glyphicon-ban-circle:before { + content: "\e090"; +} + +.glyphicon-arrow-left:before { + content: "\e091"; +} + +.glyphicon-arrow-right:before { + content: "\e092"; +} + +.glyphicon-arrow-up:before { + content: "\e093"; +} + +.glyphicon-arrow-down:before { + content: "\e094"; +} + +.glyphicon-share-alt:before { + content: "\e095"; +} + +.glyphicon-resize-full:before { + content: "\e096"; +} + +.glyphicon-resize-small:before { + content: "\e097"; +} + +.glyphicon-exclamation-sign:before { + content: "\e101"; +} + +.glyphicon-gift:before { + content: "\e102"; +} + +.glyphicon-leaf:before { + content: "\e103"; +} + +.glyphicon-fire:before { + content: "\e104"; +} + +.glyphicon-eye-open:before { + content: "\e105"; +} + +.glyphicon-eye-close:before { + content: "\e106"; +} + +.glyphicon-warning-sign:before { + content: "\e107"; +} + +.glyphicon-plane:before { + content: "\e108"; +} + +.glyphicon-calendar:before { + content: "\e109"; +} + +.glyphicon-random:before { + content: "\e110"; +} + +.glyphicon-comment:before { + content: "\e111"; +} + +.glyphicon-magnet:before { + content: "\e112"; +} + +.glyphicon-chevron-up:before { + content: "\e113"; +} + +.glyphicon-chevron-down:before { + content: "\e114"; +} + +.glyphicon-retweet:before { + content: "\e115"; +} + +.glyphicon-shopping-cart:before { + content: "\e116"; +} + +.glyphicon-folder-close:before { + content: "\e117"; +} + +.glyphicon-folder-open:before { + content: "\e118"; +} + +.glyphicon-resize-vertical:before { + content: "\e119"; +} + +.glyphicon-resize-horizontal:before { + content: "\e120"; +} + +.glyphicon-hdd:before { + content: "\e121"; +} + +.glyphicon-bullhorn:before { + content: "\e122"; +} + +.glyphicon-bell:before { + content: "\e123"; +} + +.glyphicon-certificate:before { + content: "\e124"; +} + +.glyphicon-thumbs-up:before { + content: "\e125"; +} + +.glyphicon-thumbs-down:before { + content: "\e126"; +} + +.glyphicon-hand-right:before { + content: "\e127"; +} + +.glyphicon-hand-left:before { + content: "\e128"; +} + +.glyphicon-hand-up:before { + content: "\e129"; +} + +.glyphicon-hand-down:before { + content: "\e130"; +} + +.glyphicon-circle-arrow-right:before { + content: "\e131"; +} + +.glyphicon-circle-arrow-left:before { + content: "\e132"; +} + +.glyphicon-circle-arrow-up:before { + content: "\e133"; +} + +.glyphicon-circle-arrow-down:before { + content: "\e134"; +} + +.glyphicon-globe:before { + content: "\e135"; +} + +.glyphicon-wrench:before { + content: "\e136"; +} + +.glyphicon-tasks:before { + content: "\e137"; +} + +.glyphicon-filter:before { + content: "\e138"; +} + +.glyphicon-briefcase:before { + content: "\e139"; +} + +.glyphicon-fullscreen:before { + content: "\e140"; +} + +.glyphicon-dashboard:before { + content: "\e141"; +} + +.glyphicon-paperclip:before { + content: "\e142"; +} + +.glyphicon-heart-empty:before { + content: "\e143"; +} + +.glyphicon-link:before { + content: "\e144"; +} + +.glyphicon-phone:before { + content: "\e145"; +} + +.glyphicon-pushpin:before { + content: "\e146"; +} + +.glyphicon-usd:before { + content: "\e148"; +} + +.glyphicon-gbp:before { + content: "\e149"; +} + +.glyphicon-sort:before { + content: "\e150"; +} + +.glyphicon-sort-by-alphabet:before { + content: "\e151"; +} + +.glyphicon-sort-by-alphabet-alt:before { + content: "\e152"; +} + +.glyphicon-sort-by-order:before { + content: "\e153"; +} + +.glyphicon-sort-by-order-alt:before { + content: "\e154"; +} + +.glyphicon-sort-by-attributes:before { + content: "\e155"; +} + +.glyphicon-sort-by-attributes-alt:before { + content: "\e156"; +} + +.glyphicon-unchecked:before { + content: "\e157"; +} + +.glyphicon-expand:before { + content: "\e158"; +} + +.glyphicon-collapse-down:before { + content: "\e159"; +} + +.glyphicon-collapse-up:before { + content: "\e160"; +} + +.glyphicon-log-in:before { + content: "\e161"; +} + +.glyphicon-flash:before { + content: "\e162"; +} + +.glyphicon-log-out:before { + content: "\e163"; +} + +.glyphicon-new-window:before { + content: "\e164"; +} + +.glyphicon-record:before { + content: "\e165"; +} + +.glyphicon-save:before { + content: "\e166"; +} + +.glyphicon-open:before { + content: "\e167"; +} + +.glyphicon-saved:before { + content: "\e168"; +} + +.glyphicon-import:before { + content: "\e169"; +} + +.glyphicon-export:before { + content: "\e170"; +} + +.glyphicon-send:before { + content: "\e171"; +} + +.glyphicon-floppy-disk:before { + content: "\e172"; +} + +.glyphicon-floppy-saved:before { + content: "\e173"; +} + +.glyphicon-floppy-remove:before { + content: "\e174"; +} + +.glyphicon-floppy-save:before { + content: "\e175"; +} + +.glyphicon-floppy-open:before { + content: "\e176"; +} + +.glyphicon-credit-card:before { + content: "\e177"; +} + +.glyphicon-transfer:before { + content: "\e178"; +} + +.glyphicon-cutlery:before { + content: "\e179"; +} + +.glyphicon-header:before { + content: "\e180"; +} + +.glyphicon-compressed:before { + content: "\e181"; +} + +.glyphicon-earphone:before { + content: "\e182"; +} + +.glyphicon-phone-alt:before { + content: "\e183"; +} + +.glyphicon-tower:before { + content: "\e184"; +} + +.glyphicon-stats:before { + content: "\e185"; +} + +.glyphicon-sd-video:before { + content: "\e186"; +} + +.glyphicon-hd-video:before { + content: "\e187"; +} + +.glyphicon-subtitles:before { + content: "\e188"; +} + +.glyphicon-sound-stereo:before { + content: "\e189"; +} + +.glyphicon-sound-dolby:before { + content: "\e190"; +} + +.glyphicon-sound-5-1:before { + content: "\e191"; +} + +.glyphicon-sound-6-1:before { + content: "\e192"; +} + +.glyphicon-sound-7-1:before { + content: "\e193"; +} + +.glyphicon-copyright-mark:before { + content: "\e194"; +} + +.glyphicon-registration-mark:before { + content: "\e195"; +} + +.glyphicon-cloud-download:before { + content: "\e197"; +} + +.glyphicon-cloud-upload:before { + content: "\e198"; +} + +.glyphicon-tree-conifer:before { + content: "\e199"; +} + +.glyphicon-tree-deciduous:before { + content: "\e200"; +} + +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px solid; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} + +.dropdown { + position: relative; +} + +.dropdown-toggle:focus { + outline: 0; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + font-size: 14px; + list-style: none; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 4px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + background-clip: padding-box; +} + +.dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.dropdown-menu .divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.428571429; + color: #333333; + white-space: nowrap; +} + +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + color: #262626; + text-decoration: none; + background-color: #f5f5f5; +} + +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #ffffff; + text-decoration: none; + background-color: #428bca; + outline: 0; +} + +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #999999; +} + +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + cursor: not-allowed; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.open > .dropdown-menu { + display: block; +} + +.open > a { + outline: 0; +} + +.dropdown-header { + display: block; + padding: 3px 20px; + font-size: 12px; + line-height: 1.428571429; + color: #999999; +} + +.dropdown-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 990; +} + +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} + +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + border-top: 0; + border-bottom: 4px solid; + content: ""; +} + +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 1px; +} + +@media (min-width: 768px) { + .navbar-right .dropdown-menu { + right: 0; + left: auto; + } +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} + +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + float: left; +} + +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover, +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus, +.btn-group > .btn:active, +.btn-group-vertical > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn.active { + z-index: 2; +} + +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus { + outline: none; +} + +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group { + margin-left: -1px; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar .btn-group { + float: left; +} + +.btn-toolbar > .btn + .btn, +.btn-toolbar > .btn-group + .btn, +.btn-toolbar > .btn + .btn-group, +.btn-toolbar > .btn-group + .btn-group { + margin-left: 5px; +} + +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0; +} + +.btn-group > .btn:first-child { + margin-left: 0; +} + +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group > .btn-group { + float: left; +} + +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group > .btn-group:first-child > .btn:last-child, +.btn-group > .btn-group:first-child > .dropdown-toggle { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn-group:last-child > .btn:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} + +.btn-group-xs > .btn { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-sm > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-lg > .btn { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-group > .btn + .dropdown-toggle { + padding-right: 8px; + padding-left: 8px; +} + +.btn-group > .btn-lg + .dropdown-toggle { + padding-right: 12px; + padding-left: 12px; +} + +.btn-group.open .dropdown-toggle { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn-group.open .dropdown-toggle.btn-link { + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn .caret { + margin-left: 0; +} + +.btn-lg .caret { + border-width: 5px 5px 0; + border-bottom-width: 0; +} + +.dropup .btn-lg .caret { + border-width: 0 5px 5px; +} + +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group, +.btn-group-vertical > .btn-group > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group > .btn { + float: none; +} + +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} + +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-top-right-radius: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 0; +} + +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group-vertical > .btn-group:first-child > .btn:last-child, +.btn-group-vertical > .btn-group:first-child > .dropdown-toggle { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn-group:last-child > .btn:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.btn-group-justified { + display: table; + width: 100%; + border-collapse: separate; + table-layout: fixed; +} + +.btn-group-justified > .btn, +.btn-group-justified > .btn-group { + display: table-cell; + float: none; + width: 1%; +} + +.btn-group-justified > .btn-group .btn { + width: 100%; +} + +[data-toggle="buttons"] > .btn > input[type="radio"], +[data-toggle="buttons"] > .btn > input[type="checkbox"] { + display: none; +} + +.input-group { + position: relative; + display: table; + border-collapse: separate; +} + +.input-group[class*="col-"] { + float: none; + padding-right: 0; + padding-left: 0; +} + +.input-group .form-control { + width: 100%; + margin-bottom: 0; +} + +.input-group-lg > .form-control, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-group-lg > .form-control, +select.input-group-lg > .input-group-addon, +select.input-group-lg > .input-group-btn > .btn { + height: 46px; + line-height: 46px; +} + +textarea.input-group-lg > .form-control, +textarea.input-group-lg > .input-group-addon, +textarea.input-group-lg > .input-group-btn > .btn { + height: auto; +} + +.input-group-sm > .form-control, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-group-sm > .form-control, +select.input-group-sm > .input-group-addon, +select.input-group-sm > .input-group-btn > .btn { + height: 30px; + line-height: 30px; +} + +textarea.input-group-sm > .form-control, +textarea.input-group-sm > .input-group-addon, +textarea.input-group-sm > .input-group-btn > .btn { + height: auto; +} + +.input-group-addon, +.input-group-btn, +.input-group .form-control { + display: table-cell; +} + +.input-group-addon:not(:first-child):not(:last-child), +.input-group-btn:not(:first-child):not(:last-child), +.input-group .form-control:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.input-group-addon, +.input-group-btn { + width: 1%; + white-space: nowrap; + vertical-align: middle; +} + +.input-group-addon { + padding: 6px 12px; + font-size: 14px; + font-weight: normal; + line-height: 1; + color: #555555; + text-align: center; + background-color: #eeeeee; + border: 1px solid #cccccc; + border-radius: 4px; +} + +.input-group-addon.input-sm { + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; +} + +.input-group-addon.input-lg { + padding: 10px 16px; + font-size: 18px; + border-radius: 6px; +} + +.input-group-addon input[type="radio"], +.input-group-addon input[type="checkbox"] { + margin-top: 0; +} + +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group-addon:first-child { + border-right: 0; +} + +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.input-group-addon:last-child { + border-left: 0; +} + +.input-group-btn { + position: relative; + white-space: nowrap; +} + +.input-group-btn:first-child > .btn { + margin-right: -1px; +} + +.input-group-btn:last-child > .btn { + margin-left: -1px; +} + +.input-group-btn > .btn { + position: relative; +} + +.input-group-btn > .btn + .btn { + margin-left: -4px; +} + +.input-group-btn > .btn:hover, +.input-group-btn > .btn:active { + z-index: 2; +} + +.nav { + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav > li { + position: relative; + display: block; +} + +.nav > li > a { + position: relative; + display: block; + padding: 10px 15px; +} + +.nav > li > a:hover, +.nav > li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.nav > li.disabled > a { + color: #999999; +} + +.nav > li.disabled > a:hover, +.nav > li.disabled > a:focus { + color: #999999; + text-decoration: none; + cursor: not-allowed; + background-color: transparent; +} + +.nav .open > a, +.nav .open > a:hover, +.nav .open > a:focus { + background-color: #eeeeee; + border-color: #428bca; +} + +.nav .nav-divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.nav > li > a > img { + max-width: none; +} + +.nav-tabs { + border-bottom: 1px solid #dddddd; +} + +.nav-tabs > li { + float: left; + margin-bottom: -1px; +} + +.nav-tabs > li > a { + margin-right: 2px; + line-height: 1.428571429; + border: 1px solid transparent; + border-radius: 4px 4px 0 0; +} + +.nav-tabs > li > a:hover { + border-color: #eeeeee #eeeeee #dddddd; +} + +.nav-tabs > li.active > a, +.nav-tabs > li.active > a:hover, +.nav-tabs > li.active > a:focus { + color: #555555; + cursor: default; + background-color: #ffffff; + border: 1px solid #dddddd; + border-bottom-color: transparent; +} + +.nav-tabs.nav-justified { + width: 100%; + border-bottom: 0; +} + +.nav-tabs.nav-justified > li { + float: none; +} + +.nav-tabs.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-tabs.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-tabs.nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs.nav-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs.nav-justified > .active > a, +.nav-tabs.nav-justified > .active > a:hover, +.nav-tabs.nav-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs.nav-justified > .active > a, + .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs.nav-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.nav-pills > li { + float: left; +} + +.nav-pills > li > a { + border-radius: 4px; +} + +.nav-pills > li + li { + margin-left: 2px; +} + +.nav-pills > li.active > a, +.nav-pills > li.active > a:hover, +.nav-pills > li.active > a:focus { + color: #ffffff; + background-color: #428bca; +} + +.nav-stacked > li { + float: none; +} + +.nav-stacked > li + li { + margin-top: 2px; + margin-left: 0; +} + +.nav-justified { + width: 100%; +} + +.nav-justified > li { + float: none; +} + +.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs-justified { + border-bottom: 0; +} + +.nav-tabs-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs-justified > .active > a, +.nav-tabs-justified > .active > a:hover, +.nav-tabs-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs-justified > .active > a, + .nav-tabs-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.tab-content > .tab-pane { + display: none; +} + +.tab-content > .active { + display: block; +} + +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar { + position: relative; + min-height: 50px; + margin-bottom: 20px; + border: 1px solid transparent; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar { + border-radius: 4px; + } +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar-header { + float: left; + } +} + +.navbar-collapse { + max-height: 340px; + padding-right: 15px; + padding-left: 15px; + overflow-x: visible; + border-top: 1px solid transparent; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); + -webkit-overflow-scrolling: touch; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse.in { + overflow-y: auto; +} + +@media (min-width: 768px) { + .navbar-collapse { + width: auto; + border-top: 0; + box-shadow: none; + } + .navbar-collapse.collapse { + display: block !important; + height: auto !important; + padding-bottom: 0; + overflow: visible !important; + } + .navbar-collapse.in { + overflow-y: visible; + } + .navbar-fixed-top .navbar-collapse, + .navbar-static-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + padding-right: 0; + padding-left: 0; + } +} + +.container > .navbar-header, +.container > .navbar-collapse { + margin-right: -15px; + margin-left: -15px; +} + +@media (min-width: 768px) { + .container > .navbar-header, + .container > .navbar-collapse { + margin-right: 0; + margin-left: 0; + } +} + +.navbar-static-top { + z-index: 1000; + border-width: 0 0 1px; +} + +@media (min-width: 768px) { + .navbar-static-top { + border-radius: 0; + } +} + +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; +} + +@media (min-width: 768px) { + .navbar-fixed-top, + .navbar-fixed-bottom { + border-radius: 0; + } +} + +.navbar-fixed-top { + top: 0; + border-width: 0 0 1px; +} + +.navbar-fixed-bottom { + bottom: 0; + margin-bottom: 0; + border-width: 1px 0 0; +} + +.navbar-brand { + float: left; + padding: 15px 15px; + font-size: 18px; + line-height: 20px; +} + +.navbar-brand:hover, +.navbar-brand:focus { + text-decoration: none; +} + +@media (min-width: 768px) { + .navbar > .container .navbar-brand { + margin-left: -15px; + } +} + +.navbar-toggle { + position: relative; + float: right; + padding: 9px 10px; + margin-top: 8px; + margin-right: 15px; + margin-bottom: 8px; + background-color: transparent; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; +} + +.navbar-toggle .icon-bar { + display: block; + width: 22px; + height: 2px; + border-radius: 1px; +} + +.navbar-toggle .icon-bar + .icon-bar { + margin-top: 4px; +} + +@media (min-width: 768px) { + .navbar-toggle { + display: none; + } +} + +.navbar-nav { + margin: 7.5px -15px; +} + +.navbar-nav > li > a { + padding-top: 10px; + padding-bottom: 10px; + line-height: 20px; +} + +@media (max-width: 767px) { + .navbar-nav .open .dropdown-menu { + position: static; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + box-shadow: none; + } + .navbar-nav .open .dropdown-menu > li > a, + .navbar-nav .open .dropdown-menu .dropdown-header { + padding: 5px 15px 5px 25px; + } + .navbar-nav .open .dropdown-menu > li > a { + line-height: 20px; + } + .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-nav .open .dropdown-menu > li > a:focus { + background-image: none; + } +} + +@media (min-width: 768px) { + .navbar-nav { + float: left; + margin: 0; + } + .navbar-nav > li { + float: left; + } + .navbar-nav > li > a { + padding-top: 15px; + padding-bottom: 15px; + } + .navbar-nav.navbar-right:last-child { + margin-right: -15px; + } +} + +@media (min-width: 768px) { + .navbar-left { + float: left !important; + } + .navbar-right { + float: right !important; + } +} + +.navbar-form { + padding: 10px 15px; + margin-top: 8px; + margin-right: -15px; + margin-bottom: 8px; + margin-left: -15px; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); +} + +@media (min-width: 768px) { + .navbar-form .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .form-control { + display: inline-block; + } + .navbar-form select.form-control { + width: auto; + } + .navbar-form .radio, + .navbar-form .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .navbar-form .radio input[type="radio"], + .navbar-form .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +@media (max-width: 767px) { + .navbar-form .form-group { + margin-bottom: 5px; + } +} + +@media (min-width: 768px) { + .navbar-form { + width: auto; + padding-top: 0; + padding-bottom: 0; + margin-right: 0; + margin-left: 0; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .navbar-form.navbar-right:last-child { + margin-right: -15px; + } +} + +.navbar-nav > li > .dropdown-menu { + margin-top: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.navbar-nav.pull-right > li > .dropdown-menu, +.navbar-nav > li > .dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.navbar-btn { + margin-top: 8px; + margin-bottom: 8px; +} + +.navbar-btn.btn-sm { + margin-top: 10px; + margin-bottom: 10px; +} + +.navbar-btn.btn-xs { + margin-top: 14px; + margin-bottom: 14px; +} + +.navbar-text { + margin-top: 15px; + margin-bottom: 15px; +} + +@media (min-width: 768px) { + .navbar-text { + float: left; + margin-right: 15px; + margin-left: 15px; + } + .navbar-text.navbar-right:last-child { + margin-right: 0; + } +} + +.navbar-default { + background-color: #f8f8f8; + border-color: #e7e7e7; +} + +.navbar-default .navbar-brand { + color: #777777; +} + +.navbar-default .navbar-brand:hover, +.navbar-default .navbar-brand:focus { + color: #5e5e5e; + background-color: transparent; +} + +.navbar-default .navbar-text { + color: #777777; +} + +.navbar-default .navbar-nav > li > a { + color: #777777; +} + +.navbar-default .navbar-nav > li > a:hover, +.navbar-default .navbar-nav > li > a:focus { + color: #333333; + background-color: transparent; +} + +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .disabled > a, +.navbar-default .navbar-nav > .disabled > a:hover, +.navbar-default .navbar-nav > .disabled > a:focus { + color: #cccccc; + background-color: transparent; +} + +.navbar-default .navbar-toggle { + border-color: #dddddd; +} + +.navbar-default .navbar-toggle:hover, +.navbar-default .navbar-toggle:focus { + background-color: #dddddd; +} + +.navbar-default .navbar-toggle .icon-bar { + background-color: #cccccc; +} + +.navbar-default .navbar-collapse, +.navbar-default .navbar-form { + border-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .open > a, +.navbar-default .navbar-nav > .open > a:hover, +.navbar-default .navbar-nav > .open > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a { + color: #777777; + } + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + color: #333333; + background-color: transparent; + } + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #555555; + background-color: #e7e7e7; + } + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #cccccc; + background-color: transparent; + } +} + +.navbar-default .navbar-link { + color: #777777; +} + +.navbar-default .navbar-link:hover { + color: #333333; +} + +.navbar-inverse { + background-color: #222222; + border-color: #080808; +} + +.navbar-inverse .navbar-brand { + color: #999999; +} + +.navbar-inverse .navbar-brand:hover, +.navbar-inverse .navbar-brand:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-text { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a:hover, +.navbar-inverse .navbar-nav > li > a:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-nav > .active > a, +.navbar-inverse .navbar-nav > .active > a:hover, +.navbar-inverse .navbar-nav > .active > a:focus { + color: #ffffff; + background-color: #080808; +} + +.navbar-inverse .navbar-nav > .disabled > a, +.navbar-inverse .navbar-nav > .disabled > a:hover, +.navbar-inverse .navbar-nav > .disabled > a:focus { + color: #444444; + background-color: transparent; +} + +.navbar-inverse .navbar-toggle { + border-color: #333333; +} + +.navbar-inverse .navbar-toggle:hover, +.navbar-inverse .navbar-toggle:focus { + background-color: #333333; +} + +.navbar-inverse .navbar-toggle .icon-bar { + background-color: #ffffff; +} + +.navbar-inverse .navbar-collapse, +.navbar-inverse .navbar-form { + border-color: #101010; +} + +.navbar-inverse .navbar-nav > .open > a, +.navbar-inverse .navbar-nav > .open > a:hover, +.navbar-inverse .navbar-nav > .open > a:focus { + color: #ffffff; + background-color: #080808; +} + +@media (max-width: 767px) { + .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { + border-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu .divider { + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { + color: #999999; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + color: #ffffff; + background-color: transparent; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #ffffff; + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #444444; + background-color: transparent; + } +} + +.navbar-inverse .navbar-link { + color: #999999; +} + +.navbar-inverse .navbar-link:hover { + color: #ffffff; +} + +.breadcrumb { + padding: 8px 15px; + margin-bottom: 20px; + list-style: none; + background-color: #f5f5f5; + border-radius: 4px; +} + +.breadcrumb > li { + display: inline-block; +} + +.breadcrumb > li + li:before { + padding: 0 5px; + color: #cccccc; + content: "/\00a0"; +} + +.breadcrumb > .active { + color: #999999; +} + +.pagination { + display: inline-block; + padding-left: 0; + margin: 20px 0; + border-radius: 4px; +} + +.pagination > li { + display: inline; +} + +.pagination > li > a, +.pagination > li > span { + position: relative; + float: left; + padding: 6px 12px; + margin-left: -1px; + line-height: 1.428571429; + text-decoration: none; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.pagination > li:first-child > a, +.pagination > li:first-child > span { + margin-left: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} + +.pagination > li:last-child > a, +.pagination > li:last-child > span { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} + +.pagination > li > a:hover, +.pagination > li > span:hover, +.pagination > li > a:focus, +.pagination > li > span:focus { + background-color: #eeeeee; +} + +.pagination > .active > a, +.pagination > .active > span, +.pagination > .active > a:hover, +.pagination > .active > span:hover, +.pagination > .active > a:focus, +.pagination > .active > span:focus { + z-index: 2; + color: #ffffff; + cursor: default; + background-color: #428bca; + border-color: #428bca; +} + +.pagination > .disabled > span, +.pagination > .disabled > span:hover, +.pagination > .disabled > span:focus, +.pagination > .disabled > a, +.pagination > .disabled > a:hover, +.pagination > .disabled > a:focus { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; + border-color: #dddddd; +} + +.pagination-lg > li > a, +.pagination-lg > li > span { + padding: 10px 16px; + font-size: 18px; +} + +.pagination-lg > li:first-child > a, +.pagination-lg > li:first-child > span { + border-bottom-left-radius: 6px; + border-top-left-radius: 6px; +} + +.pagination-lg > li:last-child > a, +.pagination-lg > li:last-child > span { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; +} + +.pagination-sm > li > a, +.pagination-sm > li > span { + padding: 5px 10px; + font-size: 12px; +} + +.pagination-sm > li:first-child > a, +.pagination-sm > li:first-child > span { + border-bottom-left-radius: 3px; + border-top-left-radius: 3px; +} + +.pagination-sm > li:last-child > a, +.pagination-sm > li:last-child > span { + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} + +.pager { + padding-left: 0; + margin: 20px 0; + text-align: center; + list-style: none; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager li { + display: inline; +} + +.pager li > a, +.pager li > span { + display: inline-block; + padding: 5px 14px; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 15px; +} + +.pager li > a:hover, +.pager li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.pager .next > a, +.pager .next > span { + float: right; +} + +.pager .previous > a, +.pager .previous > span { + float: left; +} + +.pager .disabled > a, +.pager .disabled > a:hover, +.pager .disabled > a:focus, +.pager .disabled > span { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; +} + +.label { + display: inline; + padding: .2em .6em .3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25em; +} + +.label[href]:hover, +.label[href]:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +.label:empty { + display: none; +} + +.btn .label { + position: relative; + top: -1px; +} + +.label-default { + background-color: #999999; +} + +.label-default[href]:hover, +.label-default[href]:focus { + background-color: #808080; +} + +.label-primary { + background-color: #428bca; +} + +.label-primary[href]:hover, +.label-primary[href]:focus { + background-color: #3071a9; +} + +.label-success { + background-color: #5cb85c; +} + +.label-success[href]:hover, +.label-success[href]:focus { + background-color: #449d44; +} + +.label-info { + background-color: #5bc0de; +} + +.label-info[href]:hover, +.label-info[href]:focus { + background-color: #31b0d5; +} + +.label-warning { + background-color: #f0ad4e; +} + +.label-warning[href]:hover, +.label-warning[href]:focus { + background-color: #ec971f; +} + +.label-minor { + background-color: #fad664; +} +.label-minor[href]:hover, +.label-minor[href]:focus { + background-color: #f8c933; +} + +.label-danger { + background-color: #d9534f; +} + +.label-danger[href]:hover, +.label-danger[href]:focus { + background-color: #c9302c; +} + +.badge { + display: inline-block; + min-width: 10px; + padding: 3px 7px; + font-size: 12px; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + background-color: #999999; + border-radius: 10px; +} + +.badge:empty { + display: none; +} + +.btn .badge { + position: relative; + top: -1px; +} + +a.badge:hover, +a.badge:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +a.list-group-item.active > .badge, +.nav-pills > .active > a > .badge { + color: #428bca; + background-color: #ffffff; +} + +.nav-pills > li > a > .badge { + margin-left: 3px; +} + +/*.jumbotron { + padding: 30px; + margin-bottom: 30px; + font-size: 21px; + font-weight: 200; + line-height: 2.1428571435; + color: inherit; + background-color: #eeeeee; +} + +.jumbotron h1, +.jumbotron .h1 { + line-height: 1; + color: inherit; +} + +.jumbotron p { + line-height: 1.4; +} + +.container .jumbotron { + border-radius: 6px; +} + +.jumbotron .container { + max-width: 100%; +} + +@media screen and (min-width: 768px) { + .jumbotron { + padding-top: 48px; + padding-bottom: 48px; + } + .container .jumbotron { + padding-right: 60px; + padding-left: 60px; + } + .jumbotron h1, + .jumbotron .h1 { + font-size: 63px; + } +}*/ + +.thumbnail { + display: block; + padding: 4px; + margin-bottom: 20px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.thumbnail > img, +.thumbnail a > img { + display: block; + height: auto; + max-width: 100%; + margin-right: auto; + margin-left: auto; +} + +a.thumbnail:hover, +a.thumbnail:focus, +a.thumbnail.active { + border-color: #428bca; +} + +.thumbnail .caption { + padding: 9px; + color: #333333; +} + +.alert { + padding: 15px; + margin-bottom: 20px; + border: 1px solid transparent; + border-radius: 4px; +} + +.alert h4 { + margin-top: 0; + color: inherit; +} + +.alert .alert-link { + font-weight: bold; +} + +.alert > p, +.alert > ul { + margin-bottom: 0; +} + +.alert > p + p { + margin-top: 5px; +} + +.alert-dismissable { + padding-right: 35px; +} + +.alert-dismissable .close { + position: relative; + top: -2px; + right: -21px; + color: inherit; +} + +.alert-success { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.alert-success hr { + border-top-color: #c9e2b3; +} + +.alert-success .alert-link { + color: #2b542c; +} + +.alert-info { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.alert-info hr { + border-top-color: #a6e1ec; +} + +.alert-info .alert-link { + color: #245269; +} + +.alert-warning { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.alert-warning hr { + border-top-color: #f7e1b5; +} + +.alert-warning .alert-link { + color: #66512c; +} + +.alert-danger { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.alert-danger hr { + border-top-color: #e4b9c0; +} + +.alert-danger .alert-link { + color: #843534; +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +.progress { + height: 20px; + margin-bottom: 20px; + overflow: hidden; + background-color: #f5f5f5; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.progress-bar { + float: left; + width: 0; + height: 100%; + font-size: 12px; + line-height: 20px; + color: #ffffff; + text-align: center; + background-color: #428bca; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -webkit-transition: width 0.6s ease; + transition: width 0.6s ease; +} + +.progress-striped .progress-bar { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-size: 40px 40px; +} + +.progress.active .progress-bar { + -webkit-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} + +.progress-bar-success { + background-color: #5cb85c; +} + +.progress-striped .progress-bar-success { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-info { + background-color: #5bc0de; +} + +.progress-striped .progress-bar-info { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-warning { + background-color: #f0ad4e; +} + +.progress-striped .progress-bar-warning { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-danger { + background-color: #d9534f; +} + +.progress-striped .progress-bar-danger { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.media, +.media-body { + overflow: hidden; + zoom: 1; +} + +.media, +.media .media { + margin-top: 15px; +} + +.media:first-child { + margin-top: 0; +} + +.media-object { + display: block; +} + +.media-heading { + margin: 0 0 5px; +} + +.media > .pull-left { + margin-right: 10px; +} + +.media > .pull-right { + margin-left: 10px; +} + +.media-list { + padding-left: 0; + list-style: none; +} + +.list-group { + padding-left: 0; + margin-bottom: 20px; +} + +.list-group-item { + position: relative; + display: block; + padding: 10px 15px; + margin-bottom: -1px; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.list-group-item:first-child { + border-top-right-radius: 4px; + border-top-left-radius: 4px; +} + +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} + +.list-group-item > .badge { + float: right; +} + +.list-group-item > .badge + .badge { + margin-right: 5px; +} + +a.list-group-item { + color: #555555; +} + +a.list-group-item .list-group-item-heading { + color: #333333; +} + +a.list-group-item:hover, +a.list-group-item:focus { + text-decoration: none; + background-color: #f5f5f5; +} + +a.list-group-item.active, +a.list-group-item.active:hover, +a.list-group-item.active:focus { + z-index: 2; + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +a.list-group-item.active .list-group-item-heading, +a.list-group-item.active:hover .list-group-item-heading, +a.list-group-item.active:focus .list-group-item-heading { + color: inherit; +} + +a.list-group-item.active .list-group-item-text, +a.list-group-item.active:hover .list-group-item-text, +a.list-group-item.active:focus .list-group-item-text { + color: #e1edf7; +} + +.list-group-item-heading { + margin-top: 0; + margin-bottom: 5px; +} + +.list-group-item-text { + margin-bottom: 0; + line-height: 1.3; +} + +.panel { + margin-bottom: 20px; + background-color: #ffffff; + border: 1px solid transparent; + border-radius: 4px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.panel-body { + padding: 15px; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel > .list-group { + margin-bottom: 0; +} + +.panel > .list-group .list-group-item { + border-width: 1px 0; +} + +.panel > .list-group .list-group-item:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.panel > .list-group .list-group-item:last-child { + border-bottom: 0; +} + +.panel-heading + .list-group .list-group-item:first-child { + border-top-width: 0; +} + +.panel > .table, +.panel > .table-responsive > .table { + margin-bottom: 0; +} + +.panel > .panel-body + .table, +.panel > .panel-body + .table-responsive { + border-top: 1px solid #dddddd; +} + +.panel > .table > tbody:first-child th, +.panel > .table > tbody:first-child td { + border-top: 0; +} + +.panel > .table-bordered, +.panel > .table-responsive > .table-bordered { + border: 0; +} + +.panel > .table-bordered > thead > tr > th:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, +.panel > .table-bordered > tbody > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, +.panel > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-bordered > thead > tr > td:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, +.panel > .table-bordered > tbody > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, +.panel > .table-bordered > tfoot > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; +} + +.panel > .table-bordered > thead > tr > th:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, +.panel > .table-bordered > tbody > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, +.panel > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-bordered > thead > tr > td:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, +.panel > .table-bordered > tbody > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, +.panel > .table-bordered > tfoot > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; +} + +.panel > .table-bordered > thead > tr:last-child > th, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > th, +.panel > .table-bordered > tbody > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, +.panel > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-bordered > thead > tr:last-child > td, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > td, +.panel > .table-bordered > tbody > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, +.panel > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; +} + +.panel > .table-responsive { + margin-bottom: 0; + border: 0; +} + +.panel-heading { + padding: 10px 15px; + border-bottom: 1px solid transparent; + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} + +.panel-heading > .dropdown .dropdown-toggle { + color: inherit; +} + +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: 16px; + color: inherit; +} + +.panel-title > a { + color: inherit; +} + +.panel-footer { + padding: 10px 15px; + background-color: #f5f5f5; + border-top: 1px solid #dddddd; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} + +.panel-group .panel { + margin-bottom: 0; + overflow: hidden; + border-radius: 4px; +} + +.panel-group .panel + .panel { + margin-top: 5px; +} + +.panel-group .panel-heading { + border-bottom: 0; +} + +.panel-group .panel-heading + .panel-collapse .panel-body { + border-top: 1px solid #dddddd; +} + +.panel-group .panel-footer { + border-top: 0; +} + +.panel-group .panel-footer + .panel-collapse .panel-body { + border-bottom: 1px solid #dddddd; +} + +.panel-default { + border-color: #dddddd; +} + +.panel-default > .panel-heading { + color: #333333; + background-color: #f5f5f5; + border-color: #dddddd; +} + +.panel-default > .panel-heading + .panel-collapse .panel-body { + border-top-color: #dddddd; +} + +.panel-default > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #dddddd; +} + +.panel-primary { + border-color: #428bca; +} + +.panel-primary > .panel-heading { + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +.panel-primary > .panel-heading + .panel-collapse .panel-body { + border-top-color: #428bca; +} + +.panel-primary > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #428bca; +} + +.panel-success { + border-color: #d6e9c6; +} + +.panel-success > .panel-heading { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.panel-success > .panel-heading + .panel-collapse .panel-body { + border-top-color: #d6e9c6; +} + +.panel-success > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #d6e9c6; +} + +.panel-warning { + border-color: #faebcc; +} + +.panel-warning > .panel-heading { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.panel-warning > .panel-heading + .panel-collapse .panel-body { + border-top-color: #faebcc; +} + +.panel-warning > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #faebcc; +} + +.panel-danger { + border-color: #ebccd1; +} + +.panel-danger > .panel-heading { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.panel-danger > .panel-heading + .panel-collapse .panel-body { + border-top-color: #ebccd1; +} + +.panel-danger > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #ebccd1; +} + +.panel-info { + border-color: #bce8f1; +} + +.panel-info > .panel-heading { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.panel-info > .panel-heading + .panel-collapse .panel-body { + border-top-color: #bce8f1; +} + +.panel-info > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #bce8f1; +} + +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e3e3e3; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, 0.15); +} + +.well-lg { + padding: 24px; + border-radius: 6px; +} + +.well-sm { + padding: 9px; + border-radius: 3px; +} + +.close { + float: right; + font-size: 21px; + font-weight: bold; + line-height: 1; + color: #000000; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} + +.close:hover, +.close:focus { + color: #000000; + text-decoration: none; + cursor: pointer; + opacity: 0.5; + filter: alpha(opacity=50); +} + +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} + +.modal-open { + overflow: hidden; +} + +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + display: none; + overflow: auto; + overflow-y: scroll; +} + +.modal.fade .modal-dialog { + -webkit-transform: translate(0, -25%); + -ms-transform: translate(0, -25%); + transform: translate(0, -25%); + -webkit-transition: -webkit-transform 0.3s ease-out; + -moz-transition: -moz-transform 0.3s ease-out; + -o-transition: -o-transform 0.3s ease-out; + transition: transform 0.3s ease-out; +} + +.modal.in .modal-dialog { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); +} + +.modal-dialog { + position: relative; + z-index: 1050; + width: auto; + margin: 10px; +} + +.modal-content { + position: relative; + background-color: #ffffff; + border: 1px solid #999999; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + outline: none; + -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + background-clip: padding-box; +} + +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1030; + background-color: #000000; +} + +.modal-backdrop.fade { + opacity: 0; + filter: alpha(opacity=0); +} + +.modal-backdrop.in { + opacity: 0.5; + filter: alpha(opacity=50); +} + +.modal-header { + min-height: 16.428571429px; + padding: 15px; + border-bottom: 1px solid #e5e5e5; +} + +.modal-header .close { + margin-top: -2px; +} + +.modal-title { + margin: 0; + line-height: 1.428571429; +} + +.modal-body { + position: relative; + padding: 20px; +} + +.modal-footer { + padding: 19px 20px 20px; + margin-top: 15px; + text-align: right; + border-top: 1px solid #e5e5e5; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer .btn + .btn { + margin-bottom: 0; + margin-left: 5px; +} + +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} + +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} + +@media screen and (min-width: 768px) { + .modal-dialog { + width: 600px; + margin: 30px auto; + } + .modal-content { + -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + } +} + +.tooltip { + position: absolute; + z-index: 1030; + display: block; + font-size: 12px; + line-height: 1.4; + opacity: 0; + filter: alpha(opacity=0); + visibility: visible; +} + +.tooltip.in { + opacity: 0.9; + filter: alpha(opacity=90); +} + +.tooltip.top { + padding: 5px 0; + margin-top: -3px; +} + +.tooltip.right { + padding: 0 5px; + margin-left: 3px; +} + +.tooltip.bottom { + padding: 5px 0; + margin-top: 3px; +} + +.tooltip.left { + padding: 0 5px; + margin-left: -3px; +} + +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: #ffffff; + text-align: center; + text-decoration: none; + background-color: #000000; + border-radius: 4px; +} + +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-left .tooltip-arrow { + bottom: 0; + left: 5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-right .tooltip-arrow { + right: 5px; + bottom: 0; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-right-color: #000000; + border-width: 5px 5px 5px 0; +} + +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-left-color: #000000; + border-width: 5px 0 5px 5px; +} + +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-left .tooltip-arrow { + top: 0; + left: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-right .tooltip-arrow { + top: 0; + right: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1010; + display: none; + max-width: 276px; + padding: 1px; + text-align: left; + white-space: normal; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + background-clip: padding-box; +} + +.popover.top { + margin-top: -10px; +} + +.popover.right { + margin-left: 10px; +} + +.popover.bottom { + margin-top: 10px; +} + +.popover.left { + margin-left: -10px; +} + +.popover-title { + padding: 8px 14px; + margin: 0; + font-size: 14px; + font-weight: normal; + line-height: 18px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-radius: 5px 5px 0 0; +} + +.popover-content { + padding: 9px 14px; +} + +.popover .arrow, +.popover .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.popover .arrow { + border-width: 11px; +} + +.popover .arrow:after { + border-width: 10px; + content: ""; +} + +.popover.top .arrow { + bottom: -11px; + left: 50%; + margin-left: -11px; + border-top-color: #999999; + border-top-color: rgba(0, 0, 0, 0.25); + border-bottom-width: 0; +} + +.popover.top .arrow:after { + bottom: 1px; + margin-left: -10px; + border-top-color: #ffffff; + border-bottom-width: 0; + content: " "; +} + +.popover.right .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-right-color: #999999; + border-right-color: rgba(0, 0, 0, 0.25); + border-left-width: 0; +} + +.popover.right .arrow:after { + bottom: -10px; + left: 1px; + border-right-color: #ffffff; + border-left-width: 0; + content: " "; +} + +.popover.bottom .arrow { + top: -11px; + left: 50%; + margin-left: -11px; + border-bottom-color: #999999; + border-bottom-color: rgba(0, 0, 0, 0.25); + border-top-width: 0; +} + +.popover.bottom .arrow:after { + top: 1px; + margin-left: -10px; + border-bottom-color: #ffffff; + border-top-width: 0; + content: " "; +} + +.popover.left .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-left-color: #999999; + border-left-color: rgba(0, 0, 0, 0.25); + border-right-width: 0; +} + +.popover.left .arrow:after { + right: 1px; + bottom: -10px; + border-left-color: #ffffff; + border-right-width: 0; + content: " "; +} + +.carousel { + position: relative; +} + +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} + +.carousel-inner > .item { + position: relative; + display: none; + -webkit-transition: 0.6s ease-in-out left; + transition: 0.6s ease-in-out left; +} + +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + display: block; + height: auto; + max-width: 100%; + line-height: 1; +} + +.carousel-inner > .active, +.carousel-inner > .next, +.carousel-inner > .prev { + display: block; +} + +.carousel-inner > .active { + left: 0; +} + +.carousel-inner > .next, +.carousel-inner > .prev { + position: absolute; + top: 0; + width: 100%; +} + +.carousel-inner > .next { + left: 100%; +} + +.carousel-inner > .prev { + left: -100%; +} + +.carousel-inner > .next.left, +.carousel-inner > .prev.right { + left: 0; +} + +.carousel-inner > .active.left { + left: -100%; +} + +.carousel-inner > .active.right { + left: 100%; +} + +.carousel-control { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 15%; + font-size: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); + opacity: 0.5; + filter: alpha(opacity=50); +} + +.carousel-control.left { + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0), color-stop(rgba(0, 0, 0, 0.0001) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); +} + +.carousel-control.right { + right: 0; + left: auto; + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0), color-stop(rgba(0, 0, 0, 0.5) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); +} + +.carousel-control:hover, +.carousel-control:focus { + color: #ffffff; + text-decoration: none; + outline: none; + opacity: 0.9; + filter: alpha(opacity=90); +} + +.carousel-control .icon-prev, +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-left, +.carousel-control .glyphicon-chevron-right { + position: absolute; + top: 50%; + z-index: 5; + display: inline-block; +} + +.carousel-control .icon-prev, +.carousel-control .glyphicon-chevron-left { + left: 50%; +} + +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-right { + right: 50%; +} + +.carousel-control .icon-prev, +.carousel-control .icon-next { + width: 20px; + height: 20px; + margin-top: -10px; + margin-left: -10px; + font-family: serif; +} + +.carousel-control .icon-prev:before { + content: '\2039'; +} + +.carousel-control .icon-next:before { + content: '\203a'; +} + +.carousel-indicators { + position: absolute; + bottom: 10px; + left: 50%; + z-index: 15; + width: 60%; + padding-left: 0; + margin-left: -30%; + text-align: center; + list-style: none; +} + +.carousel-indicators li { + display: inline-block; + width: 10px; + height: 10px; + margin: 1px; + text-indent: -999px; + cursor: pointer; + background-color: #000 \9; + background-color: rgba(0, 0, 0, 0); + border: 1px solid #ffffff; + border-radius: 10px; +} + +.carousel-indicators .active { + width: 12px; + height: 12px; + margin: 0; + background-color: #ffffff; +} + +.carousel-caption { + position: absolute; + right: 15%; + bottom: 20px; + left: 15%; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); +} + +.carousel-caption .btn { + text-shadow: none; +} + +@media screen and (min-width: 768px) { + .carousel-control .glyphicons-chevron-left, + .carousel-control .glyphicons-chevron-right, + .carousel-control .icon-prev, + .carousel-control .icon-next { + width: 30px; + height: 30px; + margin-top: -15px; + margin-left: -15px; + font-size: 30px; + } + .carousel-caption { + right: 20%; + left: 20%; + padding-bottom: 30px; + } + .carousel-indicators { + bottom: 20px; + } +} + +.clearfix:before, +.clearfix:after { + display: table; + content: " "; +} + +.clearfix:after { + clear: both; +} + +.center-block { + display: block; + margin-right: auto; + margin-left: auto; +} + +.pull-right { + float: right !important; +} + +.pull-left { + float: left !important; +} + +.hide { + display: none !important; +} + +.show { + display: block !important; +} + +.invisible { + visibility: hidden; +} + +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.hidden { + display: none !important; + visibility: hidden !important; +} + +.affix { + position: fixed; +} + +@-ms-viewport { + width: device-width; +} + +.visible-xs, +tr.visible-xs, +th.visible-xs, +td.visible-xs { + display: none !important; +} + +@media (max-width: 767px) { + .visible-xs { + display: block !important; + } + table.visible-xs { + display: table; + } + tr.visible-xs { + display: table-row !important; + } + th.visible-xs, + td.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-xs.visible-sm { + display: block !important; + } + table.visible-xs.visible-sm { + display: table; + } + tr.visible-xs.visible-sm { + display: table-row !important; + } + th.visible-xs.visible-sm, + td.visible-xs.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-xs.visible-md { + display: block !important; + } + table.visible-xs.visible-md { + display: table; + } + tr.visible-xs.visible-md { + display: table-row !important; + } + th.visible-xs.visible-md, + td.visible-xs.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-xs.visible-lg { + display: block !important; + } + table.visible-xs.visible-lg { + display: table; + } + tr.visible-xs.visible-lg { + display: table-row !important; + } + th.visible-xs.visible-lg, + td.visible-xs.visible-lg { + display: table-cell !important; + } +} + +.visible-sm, +tr.visible-sm, +th.visible-sm, +td.visible-sm { + display: none !important; +} + +@media (max-width: 767px) { + .visible-sm.visible-xs { + display: block !important; + } + table.visible-sm.visible-xs { + display: table; + } + tr.visible-sm.visible-xs { + display: table-row !important; + } + th.visible-sm.visible-xs, + td.visible-sm.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm { + display: block !important; + } + table.visible-sm { + display: table; + } + tr.visible-sm { + display: table-row !important; + } + th.visible-sm, + td.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-sm.visible-md { + display: block !important; + } + table.visible-sm.visible-md { + display: table; + } + tr.visible-sm.visible-md { + display: table-row !important; + } + th.visible-sm.visible-md, + td.visible-sm.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-sm.visible-lg { + display: block !important; + } + table.visible-sm.visible-lg { + display: table; + } + tr.visible-sm.visible-lg { + display: table-row !important; + } + th.visible-sm.visible-lg, + td.visible-sm.visible-lg { + display: table-cell !important; + } +} + +.visible-md, +tr.visible-md, +th.visible-md, +td.visible-md { + display: none !important; +} + +@media (max-width: 767px) { + .visible-md.visible-xs { + display: block !important; + } + table.visible-md.visible-xs { + display: table; + } + tr.visible-md.visible-xs { + display: table-row !important; + } + th.visible-md.visible-xs, + td.visible-md.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-md.visible-sm { + display: block !important; + } + table.visible-md.visible-sm { + display: table; + } + tr.visible-md.visible-sm { + display: table-row !important; + } + th.visible-md.visible-sm, + td.visible-md.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md { + display: block !important; + } + table.visible-md { + display: table; + } + tr.visible-md { + display: table-row !important; + } + th.visible-md, + td.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-md.visible-lg { + display: block !important; + } + table.visible-md.visible-lg { + display: table; + } + tr.visible-md.visible-lg { + display: table-row !important; + } + th.visible-md.visible-lg, + td.visible-md.visible-lg { + display: table-cell !important; + } +} + +.visible-lg, +tr.visible-lg, +th.visible-lg, +td.visible-lg { + display: none !important; +} + +@media (max-width: 767px) { + .visible-lg.visible-xs { + display: block !important; + } + table.visible-lg.visible-xs { + display: table; + } + tr.visible-lg.visible-xs { + display: table-row !important; + } + th.visible-lg.visible-xs, + td.visible-lg.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-lg.visible-sm { + display: block !important; + } + table.visible-lg.visible-sm { + display: table; + } + tr.visible-lg.visible-sm { + display: table-row !important; + } + th.visible-lg.visible-sm, + td.visible-lg.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-lg.visible-md { + display: block !important; + } + table.visible-lg.visible-md { + display: table; + } + tr.visible-lg.visible-md { + display: table-row !important; + } + th.visible-lg.visible-md, + td.visible-lg.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-lg { + display: block !important; + } + table.visible-lg { + display: table; + } + tr.visible-lg { + display: table-row !important; + } + th.visible-lg, + td.visible-lg { + display: table-cell !important; + } +} + +.hidden-xs { + display: block !important; +} + +table.hidden-xs { + display: table; +} + +tr.hidden-xs { + display: table-row !important; +} + +th.hidden-xs, +td.hidden-xs { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-xs, + tr.hidden-xs, + th.hidden-xs, + td.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-xs.hidden-sm, + tr.hidden-xs.hidden-sm, + th.hidden-xs.hidden-sm, + td.hidden-xs.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-xs.hidden-md, + tr.hidden-xs.hidden-md, + th.hidden-xs.hidden-md, + td.hidden-xs.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-xs.hidden-lg, + tr.hidden-xs.hidden-lg, + th.hidden-xs.hidden-lg, + td.hidden-xs.hidden-lg { + display: none !important; + } +} + +.hidden-sm { + display: block !important; +} + +table.hidden-sm { + display: table; +} + +tr.hidden-sm { + display: table-row !important; +} + +th.hidden-sm, +td.hidden-sm { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-sm.hidden-xs, + tr.hidden-sm.hidden-xs, + th.hidden-sm.hidden-xs, + td.hidden-sm.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-sm, + tr.hidden-sm, + th.hidden-sm, + td.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-sm.hidden-md, + tr.hidden-sm.hidden-md, + th.hidden-sm.hidden-md, + td.hidden-sm.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-sm.hidden-lg, + tr.hidden-sm.hidden-lg, + th.hidden-sm.hidden-lg, + td.hidden-sm.hidden-lg { + display: none !important; + } +} + +.hidden-md { + display: block !important; +} + +table.hidden-md { + display: table; +} + +tr.hidden-md { + display: table-row !important; +} + +th.hidden-md, +td.hidden-md { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-md.hidden-xs, + tr.hidden-md.hidden-xs, + th.hidden-md.hidden-xs, + td.hidden-md.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-md.hidden-sm, + tr.hidden-md.hidden-sm, + th.hidden-md.hidden-sm, + td.hidden-md.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-md, + tr.hidden-md, + th.hidden-md, + td.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-md.hidden-lg, + tr.hidden-md.hidden-lg, + th.hidden-md.hidden-lg, + td.hidden-md.hidden-lg { + display: none !important; + } +} + +.hidden-lg { + display: block !important; +} + +table.hidden-lg { + display: table; +} + +tr.hidden-lg { + display: table-row !important; +} + +th.hidden-lg, +td.hidden-lg { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-lg.hidden-xs, + tr.hidden-lg.hidden-xs, + th.hidden-lg.hidden-xs, + td.hidden-lg.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-lg.hidden-sm, + tr.hidden-lg.hidden-sm, + th.hidden-lg.hidden-sm, + td.hidden-lg.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-lg.hidden-md, + tr.hidden-lg.hidden-md, + th.hidden-lg.hidden-md, + td.hidden-lg.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-lg, + tr.hidden-lg, + th.hidden-lg, + td.hidden-lg { + display: none !important; + } +} + +.visible-print, +tr.visible-print, +th.visible-print, +td.visible-print { + display: none !important; +} + +@media print { + .visible-print { + display: block !important; + } + table.visible-print { + display: table; + } + tr.visible-print { + display: table-row !important; + } + th.visible-print, + td.visible-print { + display: table-cell !important; + } + .hidden-print, + tr.hidden-print, + th.hidden-print, + td.hidden-print { + display: none !important; + } +} + + +/*Added by Maria*/ + + /* Main marketing message and sign up button */ + .jumbotron { + margin: 0px 0; + text-align: center; + } + .jumbotron h1 { + font-size: 80px; + line-height: 1; + } + .jumbotron .lead { + font-size: 20px; + line-height: 1.25; + } + .jumbotron .btn { + font-size: 21px; + padding: 14px 24px; + } + + /* Supporting marketing content */ + .marketing { + margin: 60px 0; + } + .marketing p + h4 { + margin-top: 28px; + } \ No newline at end of file diff --git a/dist/ontology/0.6.0/OOPSevaluation/evaluation/bootstrap.min.js b/dist/ontology/0.6.0/OOPSevaluation/evaluation/bootstrap.min.js new file mode 100644 index 0000000..1a6258e --- /dev/null +++ b/dist/ontology/0.6.0/OOPSevaluation/evaluation/bootstrap.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +if("undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]'),b=!0;if(a.length){var c=this.$element.find("input");"radio"===c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?b=!1:a.find(".active").removeClass("active")),b&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}b&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery); \ No newline at end of file diff --git a/dist/ontology/0.6.0/OOPSevaluation/evaluation/jquery-1.11.0.js b/dist/ontology/0.6.0/OOPSevaluation/evaluation/jquery-1.11.0.js new file mode 100644 index 0000000..3c88fa8 --- /dev/null +++ b/dist/ontology/0.6.0/OOPSevaluation/evaluation/jquery-1.11.0.js @@ -0,0 +1,10337 @@ +/*! + * jQuery JavaScript Library v1.11.0 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-23T21:02Z + */ + +(function( global, factory ) { + + if ( typeof module === "object" && typeof module.exports === "object" ) { + // For CommonJS and CommonJS-like environments where a proper window is present, + // execute the factory and get jQuery + // For environments that do not inherently posses a window with a document + // (such as Node.js), expose a jQuery-making factory as module.exports + // This accentuates the need for the creation of a real window + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Can't do this because several apps including ASP.NET trace +// the stack via arguments.caller.callee and Firefox dies if +// you try to trace through "use strict" call chains. (#13335) +// Support: Firefox 18+ +// + +var deletedIds = []; + +var slice = deletedIds.slice; + +var concat = deletedIds.concat; + +var push = deletedIds.push; + +var indexOf = deletedIds.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var trim = "".trim; + +var support = {}; + + + +var + version = "1.11.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }; + +jQuery.fn = jQuery.prototype = { + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // Start with an empty selector + selector: "", + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num != null ? + + // Return a 'clean' array + ( num < 0 ? this[ num + this.length ] : this[ num ] ) : + + // Return just the object + slice.call( this ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + ret.context = this.context; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: deletedIds.sort, + splice: deletedIds.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var src, copyIsArray, copy, name, options, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + isWindow: function( obj ) { + /* jshint eqeqeq: false */ + return obj != null && obj == obj.window; + }, + + isNumeric: function( obj ) { + // parseFloat NaNs numeric-cast false positives (null|true|false|"") + // ...but misinterprets leading-number strings, particularly hex literals ("0x...") + // subtraction forces infinities to NaN + return obj - parseFloat( obj ) >= 0; + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + isPlainObject: function( obj ) { + var key; + + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + try { + // Not own constructor property must be Object + if ( obj.constructor && + !hasOwn.call(obj, "constructor") && + !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + } catch ( e ) { + // IE8,9 Will throw exceptions on certain host objects #9897 + return false; + } + + // Support: IE<9 + // Handle iteration over inherited properties before own properties. + if ( support.ownLast ) { + for ( key in obj ) { + return hasOwn.call( obj, key ); + } + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + for ( key in obj ) {} + + return key === undefined || hasOwn.call( obj, key ); + }, + + type: function( obj ) { + if ( obj == null ) { + return obj + ""; + } + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call(obj) ] || "object" : + typeof obj; + }, + + // Evaluates a script in a global context + // Workarounds based on findings by Jim Driscoll + // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context + globalEval: function( data ) { + if ( data && jQuery.trim( data ) ) { + // We use execScript on Internet Explorer + // We use an anonymous function so that context is window + // rather than jQuery in Firefox + ( window.execScript || function( data ) { + window[ "eval" ].call( window, data ); + } )( data ); + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + // args is for internal usage only + each: function( obj, callback, args ) { + var value, + i = 0, + length = obj.length, + isArray = isArraylike( obj ); + + if ( args ) { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } + } + + return obj; + }, + + // Use native String.trim function wherever possible + trim: trim && !trim.call("\uFEFF\xA0") ? + function( text ) { + return text == null ? + "" : + trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArraylike( Object(arr) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + var len; + + if ( arr ) { + if ( indexOf ) { + return indexOf.call( arr, elem, i ); + } + + len = arr.length; + i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; + + for ( ; i < len; i++ ) { + // Skip accessing in sparse arrays + if ( i in arr && arr[ i ] === elem ) { + return i; + } + } + } + + return -1; + }, + + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + while ( j < len ) { + first[ i++ ] = second[ j++ ]; + } + + // Support: IE<9 + // Workaround casting of .length to NaN on otherwise arraylike objects (e.g., NodeLists) + if ( len !== len ) { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, + i = 0, + length = elems.length, + isArray = isArraylike( elems ), + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var args, proxy, tmp; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + now: function() { + return +( new Date() ); + }, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +}); + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +function isArraylike( obj ) { + var length = obj.length, + type = jQuery.type( obj ); + + if ( type === "function" || jQuery.isWindow( obj ) ) { + return false; + } + + if ( obj.nodeType === 1 && length ) { + return true; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v1.10.16 + * http://sizzlejs.com/ + * + * Copyright 2013 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-13 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + compile, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + -(new Date()), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // General-purpose constants + strundefined = typeof undefined, + MAX_NEGATIVE = 1 << 31, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf if we can't use a native one + indexOf = arr.indexOf || function( elem ) { + var i = 0, + len = this.length; + for ( ; i < len; i++ ) { + if ( this[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + // http://www.w3.org/TR/css3-syntax/#characters + characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", + + // Loosely modeled on CSS identifier characters + // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors + // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = characterEncoding.replace( "w", "w#" ), + + // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + + "*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", + + // Prefer arguments quoted, + // then not containing pseudos/brackets, + // then attribute selectors/non-parenthetical expressions, + // then anything else + // These preferences are here to reduce the number of selectors + // needing tokenize in the PSEUDO preFilter + pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + characterEncoding + ")" ), + "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), + "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + rescape = /'|\\/g, + + // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }; + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var match, elem, m, nodeType, + // QSA vars + i, groups, old, nid, newContext, newSelector; + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + + context = context || document; + results = results || []; + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { + return []; + } + + if ( documentIsHTML && !seed ) { + + // Shortcuts + if ( (match = rquickExpr.exec( selector )) ) { + // Speed-up: Sizzle("#ID") + if ( (m = match[1]) ) { + if ( nodeType === 9 ) { + elem = context.getElementById( m ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document (jQuery #6963) + if ( elem && elem.parentNode ) { + // Handle the case where IE, Opera, and Webkit return items + // by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + } else { + // Context is not a document + if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && + contains( context, elem ) && elem.id === m ) { + results.push( elem ); + return results; + } + } + + // Speed-up: Sizzle("TAG") + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Speed-up: Sizzle(".CLASS") + } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) { + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // QSA path + if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + nid = old = expando; + newContext = context; + newSelector = nodeType === 9 && selector; + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + groups = tokenize( selector ); + + if ( (old = context.getAttribute("id")) ) { + nid = old.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", nid ); + } + nid = "[id='" + nid + "'] "; + + i = groups.length; + while ( i-- ) { + groups[i] = nid + toSelector( groups[i] ); + } + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context; + newSelector = groups.join(","); + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch(qsaError) { + } finally { + if ( !old ) { + context.removeAttribute("id"); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {Function(string, Object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created div and expects a boolean result + */ +function assert( fn ) { + var div = document.createElement("div"); + + try { + return !!fn( div ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( div.parentNode ) { + div.parentNode.removeChild( div ); + } + // release memory in IE + div = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = attrs.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + ( ~b.sourceIndex || MAX_NEGATIVE ) - + ( ~a.sourceIndex || MAX_NEGATIVE ); + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== strundefined && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, + doc = node ? node.ownerDocument || node : preferredDoc, + parent = doc.defaultView; + + // If no document and documentElement is available, return + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Set our document + document = doc; + docElem = doc.documentElement; + + // Support tests + documentIsHTML = !isXML( doc ); + + // Support: IE>8 + // If iframe document is assigned to "document" variable and if iframe has been reloaded, + // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936 + // IE6-8 do not support the defaultView property so parent will be undefined + if ( parent && parent !== parent.top ) { + // IE11 does not have attachEvent, so all must suffer + if ( parent.addEventListener ) { + parent.addEventListener( "unload", function() { + setDocument(); + }, false ); + } else if ( parent.attachEvent ) { + parent.attachEvent( "onunload", function() { + setDocument(); + }); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans) + support.attributes = assert(function( div ) { + div.className = "i"; + return !div.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( div ) { + div.appendChild( doc.createComment("") ); + return !div.getElementsByTagName("*").length; + }); + + // Check if getElementsByClassName can be trusted + support.getElementsByClassName = rnative.test( doc.getElementsByClassName ) && assert(function( div ) { + div.innerHTML = "
    "; + + // Support: Safari<4 + // Catch class over-caching + div.firstChild.className = "i"; + // Support: Opera<10 + // Catch gEBCN failure to find non-leading classes + return div.getElementsByClassName("i").length === 2; + }); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( div ) { + docElem.appendChild( div ).id = expando; + return !doc.getElementsByName || !doc.getElementsByName( expando ).length; + }); + + // ID find and filter + if ( support.getById ) { + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== strundefined && documentIsHTML ) { + var m = context.getElementById( id ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + }; + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + } else { + // Support: IE6/7 + // getElementById is not reliable as a find shortcut + delete Expr.find["ID"]; + + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== strundefined ) { + return context.getElementsByTagName( tag ); + } + } : + function( tag, context ) { + var elem, + tmp = [], + i = 0, + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See http://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + div.innerHTML = ""; + + // Support: IE8, Opera 10-12 + // Nothing should be selected when empty strings follow ^= or $= or *= + if ( div.querySelectorAll("[t^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + }); + + assert(function( div ) { + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = doc.createElement("input"); + input.setAttribute( "type", "hidden" ); + div.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( div.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + div.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( div, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully does not implement inclusive descendent + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === doc ? -1 : + b === doc ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return doc; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch(e) {} + } + + return Sizzle( expr, document, null, [elem] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[5] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] && match[4] !== undefined ) { + match[2] = match[4]; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, outerCache, node, diff, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + // Seek `elem` from a previously-cached index + outerCache = parent[ expando ] || (parent[ expando ] = {}); + cache = outerCache[ type ] || []; + nodeIndex = cache[0] === dirruns && cache[1]; + diff = cache[0] === dirruns && cache[2]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + outerCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + // Use previously-cached element index if available + } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { + diff = cache[1]; + + // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) + } else { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { + // Cache the index of each encountered element + if ( useCache ) { + (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf.call( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +function tokenize( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +} + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + if ( (oldCache = outerCache[ dir ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + outerCache[ dir ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf.call( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context !== document && context; + } + + // Add elements passing elementMatchers directly to results + // Keep `i` a string if there are no elements so `matchedCount` will be "00" below + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // Apply set filters to unmatched elements + matchedCount += i; + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !group ) { + group = tokenize( selector ); + } + i = group.length; + while ( i-- ) { + cached = matcherFromTokens( group[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + } + return cached; +}; + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function select( selector, context, results, seed ) { + var i, tokens, token, type, find, + match = tokenize( selector ); + + if ( !seed ) { + // Try to minimize operations if there is only one group + if ( match.length === 1 ) { + + // Take a shortcut and set the context if the root selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + support.getById && context.nodeType === 9 && documentIsHTML && + Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + } + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + } + + // Compile and execute a filtering function + // Provide `match` to avoid retokenization if we modified the selector above + compile( selector, match )( + seed, + context, + !documentIsHTML, + results, + rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +} + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome<14 +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( div1 ) { + // Should return 1, but returns 4 (following) + return div1.compareDocumentPosition( document.createElement("div") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( div ) { + div.innerHTML = ""; + return div.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( div ) { + div.innerHTML = ""; + div.firstChild.setAttribute( "value", "" ); + return div.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( div ) { + return div.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.pseudos; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + + +var rneedsContext = jQuery.expr.match.needsContext; + +var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); + + + +var risSimple = /^.[^:#\[\.,]*$/; + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + /* jshint -W018 */ + return !!qualifier.call( elem, i, elem ) !== not; + }); + + } + + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + }); + + } + + if ( typeof qualifier === "string" ) { + if ( risSimple.test( qualifier ) ) { + return jQuery.filter( qualifier, elements, not ); + } + + qualifier = jQuery.filter( qualifier, elements ); + } + + return jQuery.grep( elements, function( elem ) { + return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not; + }); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 && elem.nodeType === 1 ? + jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : + jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + })); +}; + +jQuery.fn.extend({ + find: function( selector ) { + var i, + ret = [], + self = this, + len = self.length; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }) ); + } + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + // Needed because $( selector, context ) becomes $( context ).find( selector ) + ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); + ret.selector = this.selector ? this.selector + " " + selector : selector; + return ret; + }, + filter: function( selector ) { + return this.pushStack( winnow(this, selector || [], false) ); + }, + not: function( selector ) { + return this.pushStack( winnow(this, selector || [], true) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +}); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // Use the correct document accordingly with window argument (sandbox) + document = window.document, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, + + init = jQuery.fn.init = function( selector, context ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + + // scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[1], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + // Properties of context are called as methods if possible + if ( jQuery.isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || rootjQuery ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return typeof rootjQuery.ready !== "undefined" ? + rootjQuery.ready( selector ) : + // Execute immediately if ready is not present + selector( jQuery ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.extend({ + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +jQuery.fn.extend({ + has: function( target ) { + var i, + targets = jQuery( target, this ), + len = targets.length; + + return this.filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) { + // Always skip document fragments + if ( cur.nodeType < 11 && (pos ? + pos.index(cur) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector(cur, selectors)) ) { + + matched.push( cur ); + break; + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return jQuery.inArray( this[0], jQuery( elem ) ); + } + + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.unique( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter(selector) + ); + } +}); + +function sibling( cur, dir ) { + do { + cur = cur[ dir ]; + } while ( cur && cur.nodeType !== 1 ); + + return cur; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + if ( this.length > 1 ) { + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + ret = jQuery.unique( ret ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + } + + return this.pushStack( ret ); + }; +}); +var rnotwhite = (/\S+/g); + + + +// String to Object options format cache +var optionsCache = {}; + +// Convert String-formatted options into Object-formatted ones and store in cache +function createOptions( options ) { + var object = optionsCache[ options ] = {}; + jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) { + object[ flag ] = true; + }); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + ( optionsCache[ options ] || createOptions( options ) ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + // Last fire value (for non-forgettable lists) + memory, + // Flag to know if list was already fired + fired, + // End of the loop when firing + firingLength, + // Index of currently firing callback (modified by remove if needed) + firingIndex, + // First callback to fire (used internally by add and fireWith) + firingStart, + // Actual callback list + list = [], + // Stack of fire calls for repeatable lists + stack = !options.once && [], + // Fire callbacks + fire = function( data ) { + memory = options.memory && data; + fired = true; + firingIndex = firingStart || 0; + firingStart = 0; + firingLength = list.length; + firing = true; + for ( ; list && firingIndex < firingLength; firingIndex++ ) { + if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { + memory = false; // To prevent further calls using add + break; + } + } + firing = false; + if ( list ) { + if ( stack ) { + if ( stack.length ) { + fire( stack.shift() ); + } + } else if ( memory ) { + list = []; + } else { + self.disable(); + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + // First, we save the current length + var start = list.length; + (function add( args ) { + jQuery.each( args, function( _, arg ) { + var type = jQuery.type( arg ); + if ( type === "function" ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && type !== "string" ) { + // Inspect recursively + add( arg ); + } + }); + })( arguments ); + // Do we need to add the callbacks to the + // current firing batch? + if ( firing ) { + firingLength = list.length; + // With memory, if we're not firing then + // we should call right away + } else if ( memory ) { + firingStart = start; + fire( memory ); + } + } + return this; + }, + // Remove a callback from the list + remove: function() { + if ( list ) { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + // Handle firing indexes + if ( firing ) { + if ( index <= firingLength ) { + firingLength--; + } + if ( index <= firingIndex ) { + firingIndex--; + } + } + } + }); + } + return this; + }, + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); + }, + // Remove all callbacks from the list + empty: function() { + list = []; + firingLength = 0; + return this; + }, + // Have the list do nothing anymore + disable: function() { + list = stack = memory = undefined; + return this; + }, + // Is it disabled? + disabled: function() { + return !list; + }, + // Lock the list in its current state + lock: function() { + stack = undefined; + if ( !memory ) { + self.disable(); + } + return this; + }, + // Is it locked? + locked: function() { + return !stack; + }, + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( list && ( !fired || stack ) ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + if ( firing ) { + stack.push( args ); + } else { + fire( args ); + } + } + return this; + }, + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +jQuery.extend({ + + Deferred: function( func ) { + var tuples = [ + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], + [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], + [ "notify", "progress", jQuery.Callbacks("memory") ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred(function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[1] ](function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .done( newDefer.resolve ) + .fail( newDefer.reject ) + .progress( newDefer.notify ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); + } + }); + }); + fns = null; + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[1] ] = list.add; + + // Handle state + if ( stateString ) { + list.add(function() { + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] + deferred[ tuple[0] ] = function() { + deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); + return this; + }; + deferred[ tuple[0] + "With" ] = list.fireWith; + }); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( values === progressValues ) { + deferred.notifyWith( contexts, values ); + + } else if ( !(--remaining) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ) + .progress( updateFunc( i, progressContexts, progressValues ) ); + } else { + --remaining; + } + } + } + + // if we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +}); + + +// The deferred used on DOM ready +var readyList; + +jQuery.fn.ready = function( fn ) { + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; +}; + +jQuery.extend({ + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger("ready").off("ready"); + } + } +}); + +/** + * Clean-up method for dom ready events + */ +function detach() { + if ( document.addEventListener ) { + document.removeEventListener( "DOMContentLoaded", completed, false ); + window.removeEventListener( "load", completed, false ); + + } else { + document.detachEvent( "onreadystatechange", completed ); + window.detachEvent( "onload", completed ); + } +} + +/** + * The ready event handler and self cleanup method + */ +function completed() { + // readyState === "complete" is good enough for us to call the dom ready in oldIE + if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { + detach(); + jQuery.ready(); + } +} + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called after the browser event has already occurred. + // we once tried to use readyState "interactive" here, but it caused issues like the one + // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + setTimeout( jQuery.ready ); + + // Standards-based browsers support DOMContentLoaded + } else if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed, false ); + + // If IE event model is used + } else { + // Ensure firing before onload, maybe late but safe also for iframes + document.attachEvent( "onreadystatechange", completed ); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", completed ); + + // If IE and not a frame + // continually check to see if the document is ready + var top = false; + + try { + top = window.frameElement == null && document.documentElement; + } catch(e) {} + + if ( top && top.doScroll ) { + (function doScrollCheck() { + if ( !jQuery.isReady ) { + + try { + // Use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + top.doScroll("left"); + } catch(e) { + return setTimeout( doScrollCheck, 50 ); + } + + // detach all dom ready events + detach(); + + // and execute any waiting functions + jQuery.ready(); + } + })(); + } + } + } + return readyList.promise( obj ); +}; + + +var strundefined = typeof undefined; + + + +// Support: IE<9 +// Iteration over object's inherited properties before its own +var i; +for ( i in jQuery( support ) ) { + break; +} +support.ownLast = i !== "0"; + +// Note: most support tests are defined in their respective modules. +// false until the test is run +support.inlineBlockNeedsLayout = false; + +jQuery(function() { + // We need to execute this one support test ASAP because we need to know + // if body.style.zoom needs to be set. + + var container, div, + body = document.getElementsByTagName("body")[0]; + + if ( !body ) { + // Return for frameset docs that don't have a body + return; + } + + // Setup + container = document.createElement( "div" ); + container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; + + div = document.createElement( "div" ); + body.appendChild( container ).appendChild( div ); + + if ( typeof div.style.zoom !== strundefined ) { + // Support: IE<8 + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + div.style.cssText = "border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1"; + + if ( (support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 )) ) { + // Prevent IE 6 from affecting layout for positioned elements #11048 + // Prevent IE from shrinking the body in IE 7 mode #12869 + // Support: IE<8 + body.style.zoom = 1; + } + } + + body.removeChild( container ); + + // Null elements to avoid leaks in IE + container = div = null; +}); + + + + +(function() { + var div = document.createElement( "div" ); + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +/** + * Determines whether an object can have data + */ +jQuery.acceptData = function( elem ) { + var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ], + nodeType = +elem.nodeType || 1; + + // Do not set data on non-element DOM nodes because it will not be cleared (#8335). + return nodeType !== 1 && nodeType !== 9 ? + false : + + // Nodes accept data unless otherwise specified; rejection can be conditional + !noData || noData !== true && elem.getAttribute("classid") === noData; +}; + + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /([A-Z])/g; + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + + var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + +// checks a cache object for emptiness +function isEmptyDataObject( obj ) { + var name; + for ( name in obj ) { + + // if the public data object is empty, the private is still empty + if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { + continue; + } + if ( name !== "toJSON" ) { + return false; + } + } + + return true; +} + +function internalData( elem, name, data, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var ret, thisCache, + internalKey = jQuery.expando, + + // We have to handle DOM nodes and JS objects differently because IE6-7 + // can't GC object references properly across the DOM-JS boundary + isNode = elem.nodeType, + + // Only DOM nodes need the global jQuery cache; JS object data is + // attached directly to the object so GC can occur automatically + cache = isNode ? jQuery.cache : elem, + + // Only defining an ID for JS objects if its cache already exists allows + // the code to shortcut on the same path as a DOM node with no cache + id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; + + // Avoid doing any more work than we need to when trying to get data on an + // object that has no data at all + if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) { + return; + } + + if ( !id ) { + // Only DOM nodes need a new unique ID for each element since their data + // ends up in the global cache + if ( isNode ) { + id = elem[ internalKey ] = deletedIds.pop() || jQuery.guid++; + } else { + id = internalKey; + } + } + + if ( !cache[ id ] ) { + // Avoid exposing jQuery metadata on plain JS objects when the object + // is serialized using JSON.stringify + cache[ id ] = isNode ? {} : { toJSON: jQuery.noop }; + } + + // An object can be passed to jQuery.data instead of a key/value pair; this gets + // shallow copied over onto the existing cache + if ( typeof name === "object" || typeof name === "function" ) { + if ( pvt ) { + cache[ id ] = jQuery.extend( cache[ id ], name ); + } else { + cache[ id ].data = jQuery.extend( cache[ id ].data, name ); + } + } + + thisCache = cache[ id ]; + + // jQuery data() is stored in a separate object inside the object's internal data + // cache in order to avoid key collisions between internal data and user-defined + // data. + if ( !pvt ) { + if ( !thisCache.data ) { + thisCache.data = {}; + } + + thisCache = thisCache.data; + } + + if ( data !== undefined ) { + thisCache[ jQuery.camelCase( name ) ] = data; + } + + // Check for both converted-to-camel and non-converted data property names + // If a data property was specified + if ( typeof name === "string" ) { + + // First Try to find as-is property data + ret = thisCache[ name ]; + + // Test for null|undefined property data + if ( ret == null ) { + + // Try to find the camelCased property + ret = thisCache[ jQuery.camelCase( name ) ]; + } + } else { + ret = thisCache; + } + + return ret; +} + +function internalRemoveData( elem, name, pvt ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, i, + isNode = elem.nodeType, + + // See jQuery.data for more information + cache = isNode ? jQuery.cache : elem, + id = isNode ? elem[ jQuery.expando ] : jQuery.expando; + + // If there is already no cache entry for this object, there is no + // purpose in continuing + if ( !cache[ id ] ) { + return; + } + + if ( name ) { + + thisCache = pvt ? cache[ id ] : cache[ id ].data; + + if ( thisCache ) { + + // Support array or space separated string names for data keys + if ( !jQuery.isArray( name ) ) { + + // try the string as a key before any manipulation + if ( name in thisCache ) { + name = [ name ]; + } else { + + // split the camel cased version by spaces unless a key with the spaces exists + name = jQuery.camelCase( name ); + if ( name in thisCache ) { + name = [ name ]; + } else { + name = name.split(" "); + } + } + } else { + // If "name" is an array of keys... + // When data is initially created, via ("key", "val") signature, + // keys will be converted to camelCase. + // Since there is no way to tell _how_ a key was added, remove + // both plain key and camelCase key. #12786 + // This will only penalize the array argument path. + name = name.concat( jQuery.map( name, jQuery.camelCase ) ); + } + + i = name.length; + while ( i-- ) { + delete thisCache[ name[i] ]; + } + + // If there is no data left in the cache, we want to continue + // and let the cache object itself get destroyed + if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) { + return; + } + } + } + + // See jQuery.data for more information + if ( !pvt ) { + delete cache[ id ].data; + + // Don't destroy the parent cache unless the internal data object + // had been the only thing left in it + if ( !isEmptyDataObject( cache[ id ] ) ) { + return; + } + } + + // Destroy the cache + if ( isNode ) { + jQuery.cleanData( [ elem ], true ); + + // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) + /* jshint eqeqeq: false */ + } else if ( support.deleteExpando || cache != cache.window ) { + /* jshint eqeqeq: true */ + delete cache[ id ]; + + // When all else fails, null + } else { + cache[ id ] = null; + } +} + +jQuery.extend({ + cache: {}, + + // The following elements (space-suffixed to avoid Object.prototype collisions) + // throw uncatchable exceptions if you attempt to set expando properties + noData: { + "applet ": true, + "embed ": true, + // ...but Flash objects (which have this classid) *can* handle expandos + "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" + }, + + hasData: function( elem ) { + elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; + return !!elem && !isEmptyDataObject( elem ); + }, + + data: function( elem, name, data ) { + return internalData( elem, name, data ); + }, + + removeData: function( elem, name ) { + return internalRemoveData( elem, name ); + }, + + // For internal use only. + _data: function( elem, name, data ) { + return internalData( elem, name, data, true ); + }, + + _removeData: function( elem, name ) { + return internalRemoveData( elem, name, true ); + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var i, name, data, + elem = this[0], + attrs = elem && elem.attributes; + + // Special expections of .data basically thwart jQuery.access, + // so implement the relevant behavior ourselves + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = jQuery.data( elem ); + + if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + name = attrs[i].name; + + if ( name.indexOf("data-") === 0 ) { + name = jQuery.camelCase( name.slice(5) ); + + dataAttr( elem, name, data[ name ] ); + } + } + jQuery._data( elem, "parsedAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + return arguments.length > 1 ? + + // Sets one value + this.each(function() { + jQuery.data( this, key, value ); + }) : + + // Gets one value + // Try to fetch any internally stored data first + elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : undefined; + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + + +jQuery.extend({ + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = jQuery._data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray(data) ) { + queue = jQuery._data( elem, type, jQuery.makeArray(data) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // not intended for public consumption - generates a queueHooks object, or returns the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return jQuery._data( elem, key ) || jQuery._data( elem, key, { + empty: jQuery.Callbacks("once memory").add(function() { + jQuery._removeData( elem, type + "queue" ); + jQuery._removeData( elem, key ); + }) + }); + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[0], type ); + } + + return data === undefined ? + this : + this.each(function() { + var queue = jQuery.queue( this, type, data ); + + // ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = jQuery._data( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +}); +var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var isHidden = function( elem, el ) { + // isHidden might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); + }; + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + length = elems.length, + bulk = key == null; + + // Sets many values + if ( jQuery.type( key ) === "object" ) { + chainable = true; + for ( i in key ) { + jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !jQuery.isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < length; i++ ) { + fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); + } + } + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + length ? fn( elems[0], key ) : emptyGet; +}; +var rcheckableType = (/^(?:checkbox|radio)$/i); + + + +(function() { + var fragment = document.createDocumentFragment(), + div = document.createElement("div"), + input = document.createElement("input"); + + // Setup + div.setAttribute( "className", "t" ); + div.innerHTML = "
    a"; + + // IE strips leading whitespace when .innerHTML is used + support.leadingWhitespace = div.firstChild.nodeType === 3; + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + support.tbody = !div.getElementsByTagName( "tbody" ).length; + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + support.htmlSerialize = !!div.getElementsByTagName( "link" ).length; + + // Makes sure cloning an html5 element does not cause problems + // Where outerHTML is undefined, this still works + support.html5Clone = + document.createElement( "nav" ).cloneNode( true ).outerHTML !== "<:nav>"; + + // Check if a disconnected checkbox will retain its checked + // value of true after appended to the DOM (IE6/7) + input.type = "checkbox"; + input.checked = true; + fragment.appendChild( input ); + support.appendChecked = input.checked; + + // Make sure textarea (and checkbox) defaultValue is properly cloned + // Support: IE6-IE11+ + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // #11217 - WebKit loses check when the name is after the checked attribute + fragment.appendChild( div ); + div.innerHTML = ""; + + // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3 + // old WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE<9 + // Opera does not clone events (and typeof div.attachEvent === undefined). + // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() + support.noCloneEvent = true; + if ( div.attachEvent ) { + div.attachEvent( "onclick", function() { + support.noCloneEvent = false; + }); + + div.cloneNode( true ).click(); + } + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + fragment = div = input = null; +})(); + + +(function() { + var i, eventName, + div = document.createElement( "div" ); + + // Support: IE<9 (lack submit/change bubble), Firefox 23+ (lack focusin event) + for ( i in { submit: true, change: true, focusin: true }) { + eventName = "on" + i; + + if ( !(support[ i + "Bubbles" ] = eventName in window) ) { + // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP) + div.setAttribute( eventName, "t" ); + support[ i + "Bubbles" ] = div.attributes[ eventName ].expando === false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +var rformElems = /^(?:input|select|textarea)$/i, + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|contextmenu)|click/, + rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + var tmp, events, t, handleObjIn, + special, eventHandle, handleObj, + handlers, type, namespaces, origType, + elemData = jQuery._data( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !(events = elemData.events) ) { + events = elemData.events = {}; + } + if ( !(eventHandle = elemData.handle) ) { + eventHandle = elemData.handle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== strundefined && (!e || jQuery.event.triggered !== e.type) ? + jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : + undefined; + }; + // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events + eventHandle.elem = elem; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend({ + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join(".") + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !(handlers = events[ type ]) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener/attachEvent if the special events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + var j, handleObj, tmp, + origCount, t, events, + special, handlers, type, + namespaces, origType, + elemData = jQuery.hasData( elem ) && jQuery._data( elem ); + + if ( !elemData || !(events = elemData.events) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + delete elemData.handle; + + // removeData also checks for emptiness and clears the expando if empty + // so use it instead of delete + jQuery._removeData( elem, "events" ); + } + }, + + trigger: function( event, data, elem, onlyHandlers ) { + var handle, ontype, cur, + bubbleType, special, tmp, i, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; + + cur = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf(".") >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf(":") < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join("."); + event.namespace_re = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === (elem.ownerDocument || document) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { + + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && jQuery.acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) && + jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Can't use an .isFunction() check here because IE6/7 fails that test. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + try { + elem[ type ](); + } catch ( e ) { + // IE<9 dies on focus/blur to hidden element (#1486,#12518) + // only reproducible on winXP IE8 native, not IE9 in IE8 mode + } + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event ); + + var i, ret, handleObj, matched, j, + handlerQueue = [], + args = slice.call( arguments ), + handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) + .apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( (event.result = ret) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var sel, handleObj, matches, i, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + // Black-hole SVG instance trees (#13180) + // Avoid non-left-click bubbling in Firefox (#3861) + if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { + + /* jshint eqeqeq: false */ + for ( ; cur != this; cur = cur.parentNode || this ) { + /* jshint eqeqeq: true */ + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matches[ sel ] === undefined ) { + matches[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) >= 0 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matches[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push({ elem: cur, handlers: matches }); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( delegateCount < handlers.length ) { + handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); + } + + return handlerQueue; + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, copy, + type = event.type, + originalEvent = event, + fixHook = this.fixHooks[ type ]; + + if ( !fixHook ) { + this.fixHooks[ type ] = fixHook = + rmouseEvent.test( type ) ? this.mouseHooks : + rkeyEvent.test( type ) ? this.keyHooks : + {}; + } + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = new jQuery.Event( originalEvent ); + + i = copy.length; + while ( i-- ) { + prop = copy[ i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Support: IE<9 + // Fix target property (#1925) + if ( !event.target ) { + event.target = originalEvent.srcElement || document; + } + + // Support: Chrome 23+, Safari? + // Target should not be a text node (#504, #13143) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // Support: IE<9 + // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) + event.metaKey = !!event.metaKey; + + return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split(" "), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function( event, original ) { + var body, eventDoc, doc, + button = original.button, + fromElement = original.fromElement; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && fromElement ) { + event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + special: { + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + try { + this.focus(); + return false; + } catch ( e ) { + // Support: IE<9 + // If we error on focus to hidden element (#1486, #12518), + // let .trigger() run the handlers + } + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return jQuery.nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Even when returnValue equals to undefined Firefox will still show alert + if ( event.result !== undefined ) { + event.originalEvent.returnValue = event.result; + } + } + } + }, + + simulate: function( type, elem, event, bubble ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true, + originalEvent: {} + } + ); + if ( bubble ) { + jQuery.event.trigger( e, null, elem ); + } else { + jQuery.event.dispatch.call( elem, e ); + } + if ( e.isDefaultPrevented() ) { + event.preventDefault(); + } + } +}; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + var name = "on" + type; + + if ( elem.detachEvent ) { + + // #8545, #7054, preventing memory leaks for custom events in IE6-8 + // detachEvent needed property on element, by name of that event, to properly expose it to GC + if ( typeof elem[ name ] === strundefined ) { + elem[ name ] = null; + } + + elem.detachEvent( name, handle ); + } + }; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !(this instanceof jQuery.Event) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && ( + // Support: IE < 9 + src.returnValue === false || + // Support: Android < 4.0 + src.getPreventDefault && src.getPreventDefault() ) ? + returnTrue : + returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + if ( !e ) { + return; + } + + // If preventDefault exists, run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // Support: IE + // Otherwise set the returnValue property of the original event to false + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + if ( !e ) { + return; + } + // If stopPropagation exists, run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + + // Support: IE + // Set the cancelBubble property of the original event to true + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + } +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mousenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || (related !== target && !jQuery.contains( target, related )) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +}); + +// IE submit delegation +if ( !support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Lazy-add a submit handler when a descendant form may potentially be submitted + jQuery.event.add( this, "click._submit keypress._submit", function( e ) { + // Node name check avoids a VML-related crash in IE (#9807) + var elem = e.target, + form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; + if ( form && !jQuery._data( form, "submitBubbles" ) ) { + jQuery.event.add( form, "submit._submit", function( event ) { + event._submit_bubble = true; + }); + jQuery._data( form, "submitBubbles", true ); + } + }); + // return undefined since we don't need an event listener + }, + + postDispatch: function( event ) { + // If form was submitted by the user, bubble the event up the tree + if ( event._submit_bubble ) { + delete event._submit_bubble; + if ( this.parentNode && !event.isTrigger ) { + jQuery.event.simulate( "submit", this.parentNode, event, true ); + } + } + }, + + teardown: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Remove delegated handlers; cleanData eventually reaps submit handlers attached above + jQuery.event.remove( this, "._submit" ); + } + }; +} + +// IE change delegation and checkbox/radio fix +if ( !support.changeBubbles ) { + + jQuery.event.special.change = { + + setup: function() { + + if ( rformElems.test( this.nodeName ) ) { + // IE doesn't fire change on a check/radio until blur; trigger it on click + // after a propertychange. Eat the blur-change in special.change.handle. + // This still fires onchange a second time for check/radio after blur. + if ( this.type === "checkbox" || this.type === "radio" ) { + jQuery.event.add( this, "propertychange._change", function( event ) { + if ( event.originalEvent.propertyName === "checked" ) { + this._just_changed = true; + } + }); + jQuery.event.add( this, "click._change", function( event ) { + if ( this._just_changed && !event.isTrigger ) { + this._just_changed = false; + } + // Allow triggered, simulated change events (#11500) + jQuery.event.simulate( "change", this, event, true ); + }); + } + return false; + } + // Delegated event; lazy-add a change handler on descendant inputs + jQuery.event.add( this, "beforeactivate._change", function( e ) { + var elem = e.target; + + if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { + jQuery.event.add( elem, "change._change", function( event ) { + if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { + jQuery.event.simulate( "change", this.parentNode, event, true ); + } + }); + jQuery._data( elem, "changeBubbles", true ); + } + }); + }, + + handle: function( event ) { + var elem = event.target; + + // Swallow native change events from checkbox/radio, we already triggered them above + if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { + return event.handleObj.handler.apply( this, arguments ); + } + }, + + teardown: function() { + jQuery.event.remove( this, "._change" ); + + return !rformElems.test( this.nodeName ); + } + }; +} + +// Create "bubbling" focus and blur events +if ( !support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + jQuery._data( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + jQuery._removeData( doc, fix ); + } else { + jQuery._data( doc, fix, attaches ); + } + } + }; + }); +} + +jQuery.fn.extend({ + + on: function( types, selector, data, fn, /*INTERNAL*/ one ) { + var type, origFn; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + this.on( type, selector, data, types[ type ], one ); + } + return this; + } + + if ( data == null && fn == null ) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return this; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return this.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + }); + }, + one: function( types, selector, data, fn ) { + return this.on( types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each(function() { + jQuery.event.remove( this, types, fn, selector ); + }); + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + triggerHandler: function( type, data ) { + var elem = this[0]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +}); + + +function createSafeFragment( document ) { + var list = nodeNames.split( "|" ), + safeFrag = document.createDocumentFragment(); + + if ( safeFrag.createElement ) { + while ( list.length ) { + safeFrag.createElement( + list.pop() + ); + } + } + return safeFrag; +} + +var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + + "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", + rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, + rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, + rtagName = /<([\w:]+)/, + rtbody = /\s*$/g, + + // We have to close these tags to support XHTML (#13200) + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "
    ", "
    " ], + area: [ 1, "", "" ], + param: [ 1, "", "" ], + thead: [ 1, "", "
    " ], + tr: [ 2, "", "
    " ], + col: [ 2, "", "
    " ], + td: [ 3, "", "
    " ], + + // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, + // unless wrapped in a div with non-breaking characters in front of it. + _default: support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X
    ", "
    " ] + }, + safeFragment = createSafeFragment( document ), + fragmentDiv = safeFragment.appendChild( document.createElement("div") ); + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +function getAll( context, tag ) { + var elems, elem, + i = 0, + found = typeof context.getElementsByTagName !== strundefined ? context.getElementsByTagName( tag || "*" ) : + typeof context.querySelectorAll !== strundefined ? context.querySelectorAll( tag || "*" ) : + undefined; + + if ( !found ) { + for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { + if ( !tag || jQuery.nodeName( elem, tag ) ) { + found.push( elem ); + } else { + jQuery.merge( found, getAll( elem, tag ) ); + } + } + } + + return tag === undefined || tag && jQuery.nodeName( context, tag ) ? + jQuery.merge( [ context ], found ) : + found; +} + +// Used in buildFragment, fixes the defaultChecked property +function fixDefaultChecked( elem ) { + if ( rcheckableType.test( elem.type ) ) { + elem.defaultChecked = elem.checked; + } +} + +// Support: IE<8 +// Manipulating tables requires a tbody +function manipulationTarget( elem, content ) { + return jQuery.nodeName( elem, "table" ) && + jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ? + + elem.getElementsByTagName("tbody")[0] || + elem.appendChild( elem.ownerDocument.createElement("tbody") ) : + elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + var match = rscriptTypeMasked.exec( elem.type ); + if ( match ) { + elem.type = match[1]; + } else { + elem.removeAttribute("type"); + } + return elem; +} + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var elem, + i = 0; + for ( ; (elem = elems[i]) != null; i++ ) { + jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); + } +} + +function cloneCopyEvent( src, dest ) { + + if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { + return; + } + + var type, i, l, + oldData = jQuery._data( src ), + curData = jQuery._data( dest, oldData ), + events = oldData.events; + + if ( events ) { + delete curData.handle; + curData.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + + // make the cloned public data object a copy from the original + if ( curData.data ) { + curData.data = jQuery.extend( {}, curData.data ); + } +} + +function fixCloneNodeIssues( src, dest ) { + var nodeName, e, data; + + // We do not need to do anything for non-Elements + if ( dest.nodeType !== 1 ) { + return; + } + + nodeName = dest.nodeName.toLowerCase(); + + // IE6-8 copies events bound via attachEvent when using cloneNode. + if ( !support.noCloneEvent && dest[ jQuery.expando ] ) { + data = jQuery._data( dest ); + + for ( e in data.events ) { + jQuery.removeEvent( dest, e, data.handle ); + } + + // Event data gets referenced instead of copied if the expando gets copied too + dest.removeAttribute( jQuery.expando ); + } + + // IE blanks contents when cloning scripts, and tries to evaluate newly-set text + if ( nodeName === "script" && dest.text !== src.text ) { + disableScript( dest ).text = src.text; + restoreScript( dest ); + + // IE6-10 improperly clones children of object elements using classid. + // IE10 throws NoModificationAllowedError if parent is null, #12132. + } else if ( nodeName === "object" ) { + if ( dest.parentNode ) { + dest.outerHTML = src.outerHTML; + } + + // This path appears unavoidable for IE9. When cloning an object + // element in IE9, the outerHTML strategy above is not sufficient. + // If the src has innerHTML and the destination does not, + // copy the src.innerHTML into the dest.innerHTML. #10324 + if ( support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { + dest.innerHTML = src.innerHTML; + } + + } else if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + // IE6-8 fails to persist the checked state of a cloned checkbox + // or radio button. Worse, IE6-7 fail to give the cloned element + // a checked appearance if the defaultChecked value isn't also set + + dest.defaultChecked = dest.checked = src.checked; + + // IE6-7 get confused and end up setting the value of a cloned + // checkbox/radio button to an empty string instead of "on" + if ( dest.value !== src.value ) { + dest.value = src.value; + } + + // IE6-8 fails to return the selected option to the default selected + // state when cloning options + } else if ( nodeName === "option" ) { + dest.defaultSelected = dest.selected = src.defaultSelected; + + // IE6-8 fails to set the defaultValue to the correct value when + // cloning other types of input fields + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +jQuery.extend({ + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var destElements, node, clone, i, srcElements, + inPage = jQuery.contains( elem.ownerDocument, elem ); + + if ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { + clone = elem.cloneNode( true ); + + // IE<=8 does not properly clone detached, unknown element nodes + } else { + fragmentDiv.innerHTML = elem.outerHTML; + fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); + } + + if ( (!support.noCloneEvent || !support.noCloneChecked) && + (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { + + // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + // Fix all IE cloning issues + for ( i = 0; (node = srcElements[i]) != null; ++i ) { + // Ensure that the destination node is not null; Fixes #9587 + if ( destElements[i] ) { + fixCloneNodeIssues( node, destElements[i] ); + } + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0; (node = srcElements[i]) != null; i++ ) { + cloneCopyEvent( node, destElements[i] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + destElements = srcElements = node = null; + + // Return the cloned set + return clone; + }, + + buildFragment: function( elems, context, scripts, selection ) { + var j, elem, contains, + tmp, tag, tbody, wrap, + l = elems.length, + + // Ensure a safe fragment + safe = createSafeFragment( context ), + + nodes = [], + i = 0; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( jQuery.type( elem ) === "object" ) { + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || safe.appendChild( context.createElement("div") ); + + // Deserialize a standard representation + tag = (rtagName.exec( elem ) || [ "", "" ])[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + + tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1>" ) + wrap[2]; + + // Descend through wrappers to the right content + j = wrap[0]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Manually add leading whitespace removed by IE + if ( !support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { + nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); + } + + // Remove IE's autoinserted from table fragments + if ( !support.tbody ) { + + // String was a , *may* have spurious + elem = tag === "table" && !rtbody.test( elem ) ? + tmp.firstChild : + + // String was a bare or + wrap[1] === "
    " && !rtbody.test( elem ) ? + tmp : + 0; + + j = elem && elem.childNodes.length; + while ( j-- ) { + if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { + elem.removeChild( tbody ); + } + } + } + + jQuery.merge( nodes, tmp.childNodes ); + + // Fix #12392 for WebKit and IE > 9 + tmp.textContent = ""; + + // Fix #12392 for oldIE + while ( tmp.firstChild ) { + tmp.removeChild( tmp.firstChild ); + } + + // Remember the top-level container for proper cleanup + tmp = safe.lastChild; + } + } + } + + // Fix #11356: Clear elements from fragment + if ( tmp ) { + safe.removeChild( tmp ); + } + + // Reset defaultChecked for any radios and checkboxes + // about to be appended to the DOM in IE 6/7 (#8060) + if ( !support.appendChecked ) { + jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); + } + + i = 0; + while ( (elem = nodes[ i++ ]) ) { + + // #4087 - If origin and destination elements are the same, and this is + // that element, do not do anything + if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( safe.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( (elem = tmp[ j++ ]) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + tmp = null; + + return safe; + }, + + cleanData: function( elems, /* internal */ acceptData ) { + var elem, type, id, data, + i = 0, + internalKey = jQuery.expando, + cache = jQuery.cache, + deleteExpando = support.deleteExpando, + special = jQuery.event.special; + + for ( ; (elem = elems[i]) != null; i++ ) { + if ( acceptData || jQuery.acceptData( elem ) ) { + + id = elem[ internalKey ]; + data = id && cache[ id ]; + + if ( data ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Remove cache only if it was not already removed by jQuery.event.remove + if ( cache[ id ] ) { + + delete cache[ id ]; + + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( deleteExpando ) { + delete elem[ internalKey ]; + + } else if ( typeof elem.removeAttribute !== strundefined ) { + elem.removeAttribute( internalKey ); + + } else { + elem[ internalKey ] = null; + } + + deletedIds.push( id ); + } + } + } + } + } +}); + +jQuery.fn.extend({ + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); + }, null, value, arguments.length ); + }, + + append: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + }); + }, + + prepend: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + }); + }, + + before: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + }); + }, + + after: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + }); + }, + + remove: function( selector, keepData /* Internal Use Only */ ) { + var elem, + elems = selector ? jQuery.filter( selector, this ) : this, + i = 0; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( !keepData && elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem ) ); + } + + if ( elem.parentNode ) { + if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { + setGlobalEval( getAll( elem, "script" ) ); + } + elem.parentNode.removeChild( elem ); + } + } + + return this; + }, + + empty: function() { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + } + + // Remove any remaining nodes + while ( elem.firstChild ) { + elem.removeChild( elem.firstChild ); + } + + // If this is a select, ensure that it displays empty (#12336) + // Support: IE<9 + if ( elem.options && jQuery.nodeName( elem, "select" ) ) { + elem.options.length = 0; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map(function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + }); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined ) { + return elem.nodeType === 1 ? + elem.innerHTML.replace( rinlinejQuery, "" ) : + undefined; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + ( support.htmlSerialize || !rnoshimcache.test( value ) ) && + ( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && + !wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) { + + value = value.replace( rxhtmlTag, "<$1>" ); + + try { + for (; i < l; i++ ) { + // Remove element nodes and prevent memory leaks + elem = this[i] || {}; + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch(e) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var arg = arguments[ 0 ]; + + // Make the changes, replacing each context element with the new content + this.domManip( arguments, function( elem ) { + arg = this.parentNode; + + jQuery.cleanData( getAll( this ) ); + + if ( arg ) { + arg.replaceChild( elem, this ); + } + }); + + // Force removal if there was no new content (e.g., from empty arguments) + return arg && (arg.length || arg.nodeType) ? this : this.remove(); + }, + + detach: function( selector ) { + return this.remove( selector, true ); + }, + + domManip: function( args, callback ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var first, node, hasScripts, + scripts, doc, fragment, + i = 0, + l = this.length, + set = this, + iNoClone = l - 1, + value = args[0], + isFunction = jQuery.isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( isFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return this.each(function( index ) { + var self = set.eq( index ); + if ( isFunction ) { + args[0] = value.call( this, index, self.html() ); + } + self.domManip( args, callback ); + }); + } + + if ( l ) { + fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + if ( first ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( this[i], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { + + if ( node.src ) { + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl ) { + jQuery._evalUrl( node.src ); + } + } else { + jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); + } + } + } + } + + // Fix #11809: Avoid leaking memory + fragment = first = null; + } + } + + return this; + } +}); + +jQuery.each({ + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + i = 0, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone(true); + jQuery( insert[i] )[ original ]( elems ); + + // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +}); + + +var iframe, + elemdisplay = {}; + +/** + * Retrieve the actual display of a element + * @param {String} name nodeName of the element + * @param {Object} doc Document object + */ +// Called only from within defaultDisplay +function actualDisplay( name, doc ) { + var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), + + // getDefaultComputedStyle might be reliably used only on attached element + display = window.getDefaultComputedStyle ? + + // Use of this method is a temporary fix (more like optmization) until something better comes along, + // since it was removed from specification and supported only in FF + window.getDefaultComputedStyle( elem[ 0 ] ).display : jQuery.css( elem[ 0 ], "display" ); + + // We don't have any data stored on the element, + // so use "detach" method as fast way to get rid of the element + elem.detach(); + + return display; +} + +/** + * Try to determine the default display value of an element + * @param {String} nodeName + */ +function defaultDisplay( nodeName ) { + var doc = document, + display = elemdisplay[ nodeName ]; + + if ( !display ) { + display = actualDisplay( nodeName, doc ); + + // If the simple way fails, read from inside an iframe + if ( display === "none" || !display ) { + + // Use the already-created iframe if possible + iframe = (iframe || jQuery( " diff --git a/dist/ontology/0.6.0/sections/references-en.html b/dist/ontology/0.6.0/sections/references-en.html new file mode 100644 index 0000000..5501c97 --- /dev/null +++ b/dist/ontology/0.6.0/sections/references-en.html @@ -0,0 +1,6 @@ + +

    References back to ToC

    + +Add your references here. It is recommended to have them as a list. + + diff --git a/dist/ontology/0.6.0/webvowl/css/webvowl.app.css b/dist/ontology/0.6.0/webvowl/css/webvowl.app.css new file mode 100644 index 0000000..2ceaead --- /dev/null +++ b/dist/ontology/0.6.0/webvowl/css/webvowl.app.css @@ -0,0 +1,6 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans);html{-ms-content-zooming:none}#loading-progress{width:50%;margin:10px 0}#layoutLoadingProgressBarContainer{height:50px;text-align:left;line-height:1.5}#FPS_Statistics{padding-left:60px;padding-top:60px}#additionalInformationContainer{position:absolute;top:10px;right:50px}#modeOfOperationString{padding-left:34px}#close_directUploadBtn,#direct-text-input,#directUploadBtn{border:1px solid #34495e;width:100%;margin-top:5px;cursor:pointer}#di_controls>ul{list-style:none;margin:0;padding:5px 0 0 5px}#progressBarContext{border-radius:10px;background-color:#bdc3c7;height:25px;border:1px solid #000;margin:auto}#progressBarValue{border-radius:9px;width:0;background-color:#2980b9;height:25px;line-height:1.5;text-align:center}.dbEntry{background-color:#fff;color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntrySelected{color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntry:focus,.dbEntry:hover,.dbEntrySelected{background-color:#bdc3c7}.searchMenuEntry{background-color:#fff;bottom:0;font-size:14px;min-width:50px;margin:0;padding:0;z-index:99;border-radius:4px 4px 0 0;border:1px solid rgba(0,0,0,.15);-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;border-bottom:none;display:none;position:absolute;list-style:none}.searchInputText{background-color:#fff;color:#000;border:#000;text-decoration:none;max-width:150px;overflow:hidden;text-overflow:ellipsis;margin:0}iframe,img{border:none}.hidden{display:none!important}.clear{clear:both}a{color:#69c;text-decoration:none}a:hover{color:#3498db}#optionsArea a{color:#2980b9}#optionsArea a.highlighted{background-color:#d90}.toolTipMenu li.highlighted{background-color:#feb}#browserCheck{background-color:red;padding:5px 0;position:absolute;text-align:center;width:100%}#browserCheck a{color:#fff}#browserCheck a:hover{text-decoration:underline}@-webkit-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-o-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-webkit-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-o-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-moz-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-o-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-webkit-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-moz-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-o-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-webkit-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-moz-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-o-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-webkit-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-moz-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-o-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes msg_CollapseAnimation{0%{top:0}to{top:-400px}}@-webkit-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-moz-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-o-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-webkit-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-moz-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-o-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-webkit-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-o-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-o-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}body{background:#18202a;font-size:14px;font-family:Open Sans,Helvetica,Arial,sans-serif;line-height:1;overflow:hidden;position:fixed}body,main{height:100%;margin:0;padding:0;width:100%}#canvasArea,main{position:relative}#canvasArea{margin:0;padding:0;width:78%}#canvasArea #graph{margin:0 0 2px;background-color:#ecf0f1;width:100%}#canvasArea #graph,#canvasArea svg{box-sizing:border-box;overflow:hidden;padding:0}#canvasArea svg{margin:0}#logo{position:fixed;pointer-events:none}#logo h2{color:#3498db;margin:0;line-height:.7;text-align:center;font-size:24px}#logo h2 span{color:#34495e;font-size:16px}@media screen and (max-device-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-device-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}.checkboxContainer input,.checkboxContainer label{vertical-align:middle}.selected-ontology{background-color:#eee}#credits{border-top:1px solid #bdc3c7;font-size:.9em}.slideOption{position:relative;padding:8px 5px;outline:none}.slideOption .value{float:right;outline:none}.slideOption input[type=range]{box-sizing:border-box;margin:0;outline:none;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#eee}.slideOption input[type=range]::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]::-moz-range-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]:hover{outline:none}.slideOption input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none;margin-top:-3px}.slideOption input[type=range]::-moz-range-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none}.slideOption input[type=range]::-moz-range-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]::-webkit-slider-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]:active,.slideOption input[type=range]:focus{outline:none}.slideOption input[type=range]::-moz-range-thumb:active,.slideOption input[type=range]::-moz-range-thumb:focus{outline:none}.slideOption input[type=range]::-webkit-slider-thumb:active,.slideOption input[type=range]::-webkit-slider-thumb:focus{outline:none}.slideOption input[type=range]:disabled{box-sizing:border-box;margin:0;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#787878}.slideOption input[type=range]:disabled::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled::-moz-range-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled{outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{-webkit-appearance:none;background-color:#363636;border-radius:3px;border:1px solid #aaa;transition:all .5s ease;height:10px;width:30px;margin-top:-3px}.slideOption input[type=range]:disabled::-moz-range-thumb{-webkit-appearance:none;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;background-color:#aaa;outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{background-color:#aaa;outline:none}.slideOption input[type=range]:disabled:hover::-moz-range-thumb{background-color:#404040;outline:none}.slideOption input[type=range]:disabled:hover::-webkit-slider-thumb{background-color:#404040;outline:none}#detailsArea{top:0;right:0;bottom:0;color:#bdc3c7;height:100%;width:22%;overflow-y:auto;overflow-x:hidden;position:fixed;border-left:1px solid #34495e}#detailsArea h1{border-bottom:1px solid #34495e;color:#ecf0f1;display:block;font-weight:100;font-size:1.5em;margin:0;padding:10px 0;text-align:center}#generalDetails{width:auto;box-sizing:border-box;height:100%}#generalDetails span #about{border-bottom:1px solid #34495e;display:block;padding:10px;text-align:center;word-wrap:break-word;color:#69c}#generalDetails h4{background:#1b252e;color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 0;text-align:center}#detailsArea #generalDetails h5{border-bottom:1px solid #34495e;font-size:.9em;font-weight:100;margin:0;padding:5px;text-align:center}#description{text-align:justify}.accordion-container p{font-size:.9em;line-height:1.3;margin:5px 10px}.statisticDetails span{padding:10px}.statisticDetails div,.statisticDetails span{font-weight:100;font-style:italic;margin:10px 0}.statisticDetails div{padding:0 10px;display:inline}#selection-details .propDetails a{color:#69c}#selection-details .propDetails>span{font-weight:100;font-style:italic;padding:0 10px}#selection-details #classEquivUri span,#selection-details #disjointNodes span{padding:0}#selection-details .propDetails div{font-weight:100;font-style:italic;margin:10px 0;padding:0 10px;display:inline}#selection-details .propDetails div span{padding:0}.subclass{fill:#ecf0f1}.accordion-trigger{background:#24323e;cursor:pointer;padding:.5em}.accordion-trigger.accordion-trigger-active:before{padding-right:4px;content:"\25BC"}.accordion-trigger:not(.accordion-trigger-active):before{padding-right:4px;content:"\25BA"}.accordion-container.scrollable{max-height:40%;overflow:auto}.small-whitespace-separator{height:3px}#language{background:transparent;border:1px solid #34495e;color:#ecf0f1}#language option{background-color:#24323e}.converter-form:not(:first-child){margin-top:5px}.converter-form label{display:inline-block;line-height:normal}.converter-form input{box-sizing:border-box;height:20px;width:74%;border:1px solid #34495e}.converter-form button{float:right;padding:0;width:25%;background-color:#ecf0f1}#file-converter-label,.converter-form button{cursor:pointer;height:20px;border:1px solid #34495e}#file-converter-label{box-sizing:border-box;width:74%}#killWarning{cursor:pointer;color:#fff;font-weight:700}#copyBt{box-sizing:border-box;height:20px;width:31%;border:1px solid #34495e}#sidebarExpandButton{height:24px;width:24px;box-sizing:border-box;top:10px;color:#000;float:right;position:absolute;right:0;border:1px solid #000;text-align:center;font-size:1.5em;cursor:pointer}.dropdownMenuClass{height:20px;float:right;border:1px solid #34495e;background-color:#34495e;color:#fff;text-align:left;width:auto}#typeEditForm_datatype{padding-top:5px}#typeEditor,#typeEditor_datatype{width:165px}#leftSideBarCollapseButton{box-sizing:border-box;top:50px;color:#000;position:absolute;left:200px;border:1px solid #000;cursor:pointer;width:24px;height:24px;font-size:1.5em;text-align:center}#leftSideBarCollapseButton:hover,#sidebarExpandButton:hover{background-color:#d90}.spanForCharSelection{padding-left:25px}.nodeEditSpan{color:#000;background-color:#fff;text-align:center;border:none;padding-top:6px}.nodeEditSpan:focus{outline:none;border:none}.foreignelements{border:none}.foreignelements:focus{outline:none;border:none}#leftSideBarContent{color:#000;float:left;position:absolute;left:0;background-color:#18202a;width:100%;height:100%}#leftSideBarContent>h3{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0 0 5px;padding:10px 0;text-align:left}#generalDetailsEdit{color:#ecf0f1}#generalDetailsEdit>div{padding:5px}#generalDetailsEdit>h3{font-size:1.1em;margin:0 0 5px;padding:10px 0}#generalDetailsEdit>h3,.subAccordion{color:#ecf0f1;display:block;font-weight:100;text-align:left}.subAccordion{font-size:.8em;margin:0;padding:5px}.boxed,.subAccordionDescription{padding:0 5px}.separatorLineRight{border-right:1px solid red}.editPrefixButton:hover{color:#ff972d;cursor:pointer}.editPrefixIcon:hover{stroke:#ff972d;stroke-width:1px;cursor:pointer}.editPrefixIcon{stroke:#fffff;stroke-width:1px;cursor:pointer}.deletePrefixButton:hover{color:#ff972d;cursor:pointer}.deletePrefixButton{color:red;cursor:pointer}.invisiblePrefixButton{cursor:default;color:#18202a}#containerForAddPrefixButton{width:100%;margin-top:5px}.roundedButton{border:1px solid #000;border-radius:20px;padding:0 5px;background:#fff;cursor:pointer;color:#000;outline:none}.roundedButton:hover{background:#318638;cursor:pointer;color:#fff;outline:none}#prefixURL_Description{padding:5px 0 0}.prefixIRIElements{display:inline-block;padding:3px;border-bottom:1px solid #34495e;width:100%}.prefixInput{width:30px;display:inline-block;margin-right:5px}.prefixURL{width:100px;display:inline-block;paddig-left:5px}.selectedDefaultElement{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;max-width:200px}#editHeader,#leftHeader{color:#ecf0f1;background-color:#394f5a;display:block;font-size:1.1em;font-weight:100;text-align:center}#leftHeader{padding:10px 0;margin:0}.containerForDefaultSelection{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 20px;text-align:left}.defaultSelected{color:#a15d05;background-color:#283943}.containerForDefaultSelection:hover{color:#f19505;background-color:#394f5a;display:block;cursor:pointer}#containerForLeftSideBar{top:50px;float:left;position:absolute;background-color:#1b252e;left:0;width:200px;height:200px;overflow-y:auto;overflow-x:hidden}#leftSideBar{width:100%;background-color:#18202a}#loading-info{box-sizing:border-box;position:absolute;text-align:center;width:100%;height:80%;top:0}#loading-info>div{display:inline-block;color:#fff;background-color:#18202a;border-bottom-left-radius:2px;border-bottom-right-radius:2px}#loading-info>*>*{padding:5px}#loading-info{pointer-events:none}#loading-progress{pointer-events:auto;min-width:220px;border-radius:10px}#show-loadingInfo-button{font-size:12px;color:#fff;cursor:pointer;text-align:center}#loadingIndicator_closeButton:hover{color:#ff972d;cursor:pointer}#loadingIndicator_closeButton{color:#ffe30f;cursor:pointer;padding-bottom:5px;float:right}.busyProgressBar{background-color:#000;height:25px;position:relative;animation:busy 2s linear infinite}@-webkit-keyframes busy{0%{left:0}50%{left:80%}to{left:0}}#bulletPoint_container{padding-left:15px;margin-top:0;margin-bottom:0}#bulletPoint_container>div{margin-left:-15px}#loadingInfo-container{box-sizing:border-box;text-align:left;line-height:1.2;padding-top:5px;overflow:auto;height:120px;min-height:40px;background-color:#3c3c3c}#error-description-button{margin:5px 0 0;font-size:12px;color:#69c;cursor:pointer;text-align:center}#error-description-container{box-sizing:border-box;text-align:left}#error-description-container pre{background-color:#34495e;padding:2px;margin:0;white-space:pre-wrap;max-height:calc(100vh - 125px);max-width:75vw;overflow:auto}.spin{display:inline-block;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.truncate{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.color-mode-switch{float:right;width:90px;cursor:pointer;height:20px;padding:0;border:0;color:#555;background-color:#eceeef;box-shadow:0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.color-mode-switch:focus{outline-width:0}.color-mode-switch.active{color:#fff;background-color:#32cd32;box-shadow:inset 0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.filterMenuButtonHighlight{background-color:#d90}@-webkit-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-moz-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-o-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}.buttonPulse{-webkit-animation-name:buttonAnimation;-moz-animation-name:buttonAnimation;-o-animation-name:buttonAnimation;animation-name:buttonAnimation;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s;-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}#m_about{max-width:200px;width:200px;position:absolute}#m_modes{max-width:160px;width:160px;position:absolute}#m_filter{max-width:170px;width:170px;position:absolute}#m_gravity{max-width:180px;width:180px;position:absolute}#m_export{max-width:160px;width:160px;position:absolute}#exportedUrl{width:100px}#m_select{max-width:300px;width:300px;position:absolute}#m_config{max-width:240px;width:240px;position:absolute}#m_search{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#swipeBarContainer{position:fixed;width:77.8%;height:40px;margin:0;padding:0;bottom:0}#menuElementContainer{margin:0;padding:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;text-align:right;list-style-type:none}#menuElementContainer>li{display:inline-block;box-sizing:border-box;text-align:left;position:relative;height:40px;font-size:14px;color:#fff;padding:12px 0 0;margin-left:-4px}#menuElementContainer>li>a{color:#fff;padding:9px 12px 12px 30px}.menuElementSvgElement{height:20px;width:20px;display:block;position:absolute;top:10px;left:8px}.btn_shadowed{background-color:#fefefe;box-shadow:1px 1px 1px gray}.reloadCachedOntologyIcon{height:20px;width:108px;display:block;position:absolute;top:20px;left:3px;border:1px solid #000;border-radius:10px;cursor:pointer}.reloadCachedOntologyIcon:disabled{background:#f4f4f4;cursor:auto;border:1px solid #a9a9a9}.reloadCachedOntologyIcon:hover{background:#d90;cursor:pointer}.disabledReloadElement{cursor:auto;background:#f4f4f4;pointer-events:auto;border:1px solid #a9a9a9;color:#bbb}.disabledReloadElement:hover{cursor:auto;background:#eee;pointer-events:auto}#menuElementContainer>li>input{color:#000;padding:.1em .3em .1em 1.5em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:120px}#menuElementContainer>li>a:hover{box-sizing:border-box;background:#1b252e;color:#bdc3c7}#empty:hover{box-sizing:border-box;background:#e1e1e1;color:#2980b9}#empty.disabled,.disabled{pointer-events:none;cursor:default;color:#979797}.toolTipMenu{-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;background-color:#fff;border:1px solid rgba(0,0,0,.15);border-bottom:none;border-radius:4px 4px 0 0;bottom:0;display:none;font-size:14px;list-style:none;margin:0;padding:0;white-space:normal;position:absolute;z-index:99}.toolTipMenu>li:first-of-type{border:none}.toolTipMenu a{color:#2980b9}.toolTipMenu>li{border-top:1px solid #bdc3c7}.toolTipMenu li{color:#2980b9;display:block}#menuElementContainer>li:hover .toolTipMenu{display:block}#menuElementContainer li>ul.toolTipMenu li a:hover{background:#e1e1e1}#scrollLeftButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;left:0}#scrollLeftButton:focus{outline:none}#scrollLeftButton:before{content:"<"}#scrollRightButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;right:0}#scrollRightButton:focus{outline:none}#scrollLeftButton:hover,#scrollRightButton:hover{color:#bdc3c7}#scrollRightButton:before{content:">"}#centerGraphButton,#zoomInButton,#zoomOutButton{border:1px solid #000;text-align:center;margin:-1px 0 0;font-size:1.5em;padding:0;height:28px}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#zoomOutButton{line-height:22px}#centerGraphButton,#zoomInButton{line-height:25px}#zoomSlider>p:hover{background-color:#d90}#zoomSliderParagraph{color:#000;padding-top:5px;margin:-1px 0 0;border:1px solid #000;height:150px}p#zoomSliderParagraph:hover{background-color:#fff}#zoomSlider{width:28px;margin-top:-2px;padding:0;font-size:1.5em;cursor:pointer;position:absolute;right:20px;bottom:20px;color:#000;box-sizing:border-box}#menuElementContainer>li>a:before{font-size:1em;margin:0;padding:0 6px 0 0}#menuElementContainer a.highlighted{background-color:#d90} + /*!*padding: 0 0.2em;*!*/.inner-addon{position:relative}.gearIcon,.searchIcon{position:absolute;width:17px;height:17px;pointer-events:none}.gearIcon{left:-5px} + /*!*padding: 0 0.2em;*!*/ + /*!*color: black;*!*/ + /*!*content: "\2315";*!*/ + /*!*content: "\2315" or "\1F50D"*!;*/li#c_search{padding:0 5px;margin-left:5px;height:20px}li#c_locate{padding:0}#c_locate>a{font-size:2em;padding:0}a#pause-button{padding:12px}a#pause-button.paused:before{content:"\25BA"}a#pause-button.paused:hover{background-color:#d90;color:#fff}a#pause-button:not(.paused):before{content:"II"}.toolTipMenu li:hover{background-color:#e1e1e1}#emptyLiHover,#emptyLiHover:hover{background-color:#fff}.toggleOption li:hover{background-color:#e1e1e1}.toggleOption{padding:8px 5px}#converter-option:hover{background-color:#fff}.option,.toolTipMenu li a:only-child{display:block;float:none;padding:8px 5px}.customLocate{padding:0;background-color:#32cd32}a#locateSearchResult{padding-top:50px}#zoomSliderElement{color:#000;position:relative;padding-top:0;width:155px;height:24px;background-color:transparent;-webkit-transform-origin-x:73px;-webkit-transform-origin-y:73px;-webkit-transform:rotate(-90deg);-moz-transform-origin:73px 73px;transform:rotate(-90deg);transform-origin:73px 73px;-webkit-appearance:none;outline:none;margin:4px 0}#zoomSliderElement::-webkit-scrollbar{height:0}#zoomSliderElement:hover{cursor:crosshair}#zoomSliderElement::-webkit-slider-runnable-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-moz-range-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-webkit-slider-thumb{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#fff;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb{background:#fff}#zoomSliderElement::-ms-thumb,#zoomSliderElement::-ms-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb:hover{background:#d90}#zoomSliderElement::-webkit-slider-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#d90;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-moz-range-thumb,#zoomSliderElement::-moz-range-thumb:hover{border:1px solid #000;height:10px;width:30px;border-radius:3px;cursor:pointer;outline:none}#zoomSliderElement::-moz-range-thumb:hover{background:#d90}#zoomSliderElement::-moz-focus-outer{border:0}#locateSearchResult:focus{outline:none}a#locateSearchResult.highlighted:hover{background-color:#d90;color:red}a#locateSearchResult{outline:none;padding-bottom:0;padding-top:0;position:relative;top:5px}#editorHint{padding:5px;position:absolute;text-align:center;width:100%;pointer-events:none}#editorHint label{pointer-events:auto;float:right;padding:5px;color:#fd0}#editorHint label:hover{text-decoration:underline;cursor:pointer}#editorHint>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:5px}#WarningErrorMessagesContainer{position:absolute;text-align:center;top:0;pointer-events:none}#WarningErrorMessages{position:relative;width:50%;pointer-events:auto;margin:10px 0;padding-right:12px;overflow-y:auto;overflow-x:hidden}#WarningErrorMessages label{color:#fd0}#WarningErrorMessages label,#WarningErrorMessages span{pointer-events:auto;float:right;padding:5px}#WarningErrorMessages label:hover{text-decoration:underline;cursor:pointer}#WarningErrorMessages>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:10px;border:1px solid #ecf0f1;width:70%}#WarningErrorMessagesContent>ul{-webkit-padding-start:20px;padding:0 16px}#WarningErrorMessagesContent>ul>li{padding:5px}.textLineEditWithLabel{display:inline-block;width:100%;border-bottom:1px solid #34495e;padding:2px 0}.converter-form-Editor label{line-height:normal}.descriptionTextClass,.prefixIRIElements input{background-color:#34495e;color:#fff}.prefixIRIElements input{border:1px solid #34495e}.prefixIRIElements input:disabled{background-color:#18202a;border:1px solid #18202a;color:#fff}.converter-form-Editor input{float:right;border:1px solid #34495e;background-color:#34495e;color:#fff}.converter-form-Editor input:disabled{background-color:#545350;border:1px solid #34495e;color:#939798}.disabledLabelForSlider{color:gray} \ No newline at end of file diff --git a/dist/ontology/0.6.0/webvowl/css/webvowl.css b/dist/ontology/0.6.0/webvowl/css/webvowl.css new file mode 100644 index 0000000..335ea85 --- /dev/null +++ b/dist/ontology/0.6.0/webvowl/css/webvowl.css @@ -0,0 +1 @@ +.text{font-family:Helvetica,Arial,sans-serif;font-size:12px}.subtext{font-size:9px}.text.instance-count{fill:#666}.external+text .instance-count{fill:#aaa}.cardinality{font-size:10px}.embedded,.text{pointer-events:none}.allvaluesfromproperty,.class,.disjoint,.disjointwith,.equivalentproperty,.functionalproperty,.inversefunctionalproperty,.object,.objectproperty,.somevaluesfromproperty,.symmetricproperty,.transitiveproperty{fill:#acf}.datatypeproperty,.label .datatype{fill:#9c6}.rdf,.rdfproperty{fill:#c9c}.literal,.node .datatype{fill:#fc3}.deprecated,.deprecatedproperty{fill:#ccc}.nofill,path{fill:none}marker path{fill:#000}.class,.fineline,line,path{stroke:#000}.external+text,.subclass,.subclassproperty,.white{fill:#fff}.cardinality.focused,.cardinality.hovered,.class.hovered,.filled.focused,.filled.hovered,.hoveredForEditing,.property.hovered,.values-from.filled.hovered{fill:red!important;cursor:pointer}.feature{fill:red;cursor:pointer}@-webkit-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-moz-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-o-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}.searchResultA{-webkit-animation-name:pulseAnimation;-moz-animation-name:pulseAnimation;-o-animation-name:pulseAnimation;animation-name:pulseAnimation;-webkit-animation-duration:.8s;-moz-animation-duration:.8s;-o-animation-duration:.8s;animation-duration:.8s;-webkit-transform:translateZ(0);-o-transform:translateZ(0);-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}.searchResultA,.searchResultB{fill:none;stroke-width:5;stroke:red}.hovered-MathSymbol{fill:none}.focused,.hovered-MathSymbol,path.hovered{stroke:red!important}.feature:hover,.feature_hover,.indirect-highlighting{fill:#f90;cursor:pointer}.values-from{stroke:#69c}.symbol,.values-from.filled{fill:#69c}.class,line,path{stroke-width:2}.fineline{stroke-width:1}.anonymous,.dashed{stroke-dasharray:8}.dotted{stroke-dasharray:3}circle.focused,rect.focused{stroke-width:4px}.nostroke{stroke:none}.addDataPropertyElement{fill:#9c6!important;cursor:pointer;stroke-width:2;stroke:#000}.addDataPropertyElement:hover{fill:#f90!important;cursor:pointer;stroke-width:2;stroke:#000}.superHiddenElement{fill:rgba(255,153,0,.4);cursor:pointer;stroke-width:0;stroke:#000}.superOpacityElement{opacity:0}.deleteParentElement:hover{fill:#f90;cursor:pointer;stroke-width:2;stroke:#000}.deleteParentElement{fill:red;cursor:pointer;stroke-width:2;stroke:#000}.classDraggerNodeHovered,.classNodeDragPath{stroke:#000;stroke-width:2px}.classDraggerNodeHovered{fill:#f90;cursor:pointer}.classDraggerNode{fill:#acf;stroke:#000;stroke-width:2px}marker path{stroke-dasharray:100} \ No newline at end of file diff --git a/dist/ontology/0.6.0/webvowl/data/foaf.json b/dist/ontology/0.6.0/webvowl/data/foaf.json new file mode 100644 index 0000000..beaaffc --- /dev/null +++ b/dist/ontology/0.6.0/webvowl/data/foaf.json @@ -0,0 +1,2894 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.6), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "undefined" ], + "baseIris" : [ "http://schema.org", "http://www.w3.org/2000/01/rdf-schema", "http://www.w3.org/2003/01/geo/wgs84_pos", "http://purl.org/dc/terms", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "http://www.w3.org/2000/10/swap/pim/contact", "http://www.w3.org/2004/02/skos/core" ], + "prefixList" : { + "owl" : "http://www.w3.org/2002/07/owl#", + "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "wot" : "http://xmlns.com/wot/0.1/", + "xsd" : "http://www.w3.org/2001/XMLSchema#", + "dc" : "http://purl.org/dc/elements/1.1/", + "xml" : "http://www.w3.org/XML/1998/namespace", + "vs" : "http://www.w3.org/2003/06/sw-vocab-status/ns#", + "foaf" : "http://xmlns.com/foaf/0.1/", + "rdfs" : "http://www.w3.org/2000/01/rdf-schema#" + }, + "title" : { + "undefined" : "Friend of a Friend (FOAF) vocabulary" + }, + "iri" : "http://xmlns.com/foaf/0.1/", + "description" : { + "undefined" : "The Friend of a Friend (FOAF) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language." + }, + "other" : { + "title" : [ { + "identifier" : "title", + "language" : "undefined", + "value" : "Friend of a Friend (FOAF) vocabulary", + "type" : "label" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "3", + "type" : "owl:Thing" + }, { + "id" : "9", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:equivalentClass" + }, { + "id" : "18", + "type" : "owl:Thing" + }, { + "id" : "19", + "type" : "owl:Thing" + }, { + "id" : "5", + "type" : "owl:Thing" + }, { + "id" : "20", + "type" : "rdfs:Literal" + }, { + "id" : "8", + "type" : "rdfs:Literal" + }, { + "id" : "11", + "type" : "owl:Class" + }, { + "id" : "21", + "type" : "owl:Thing" + }, { + "id" : "22", + "type" : "rdfs:Literal" + }, { + "id" : "24", + "type" : "rdfs:Literal" + }, { + "id" : "26", + "type" : "rdfs:Literal" + }, { + "id" : "27", + "type" : "rdfs:Literal" + }, { + "id" : "37", + "type" : "owl:equivalentClass" + }, { + "id" : "45", + "type" : "rdfs:Literal" + }, { + "id" : "46", + "type" : "rdfs:Literal" + }, { + "id" : "53", + "type" : "rdfs:Literal" + }, { + "id" : "56", + "type" : "rdfs:Literal" + }, { + "id" : "59", + "type" : "rdfs:Literal" + }, { + "id" : "60", + "type" : "owl:Class" + }, { + "id" : "61", + "type" : "rdfs:Literal" + }, { + "id" : "6", + "type" : "rdfs:Literal" + }, { + "id" : "62", + "type" : "rdfs:Literal" + }, { + "id" : "12", + "type" : "owl:equivalentClass" + }, { + "id" : "55", + "type" : "rdfs:Literal" + }, { + "id" : "69", + "type" : "rdfs:Literal" + }, { + "id" : "71", + "type" : "owl:Class" + }, { + "id" : "36", + "type" : "owl:Class" + }, { + "id" : "86", + "type" : "owl:Class" + }, { + "id" : "83", + "type" : "owl:Class" + }, { + "id" : "94", + "type" : "owl:Class" + }, { + "id" : "73", + "type" : "rdfs:Literal" + }, { + "id" : "68", + "type" : "rdfs:Literal" + }, { + "id" : "93", + "type" : "rdfs:Literal" + }, { + "id" : "33", + "type" : "owl:Thing" + }, { + "id" : "49", + "type" : "rdfs:Literal" + }, { + "id" : "29", + "type" : "owl:Thing" + }, { + "id" : "101", + "type" : "rdfs:Literal" + }, { + "id" : "39", + "type" : "owl:Thing" + }, { + "id" : "63", + "type" : "owl:equivalentClass" + }, { + "id" : "64", + "type" : "owl:equivalentClass" + }, { + "id" : "102", + "type" : "owl:equivalentClass" + }, { + "id" : "78", + "type" : "owl:Class" + }, { + "id" : "77", + "type" : "owl:Class" + }, { + "id" : "13", + "type" : "owl:equivalentClass" + }, { + "id" : "58", + "type" : "rdfs:Literal" + }, { + "id" : "100", + "type" : "rdfs:Literal" + }, { + "id" : "106", + "type" : "rdfs:Literal" + }, { + "id" : "52", + "type" : "rdfs:Literal" + }, { + "id" : "88", + "type" : "rdfs:Literal" + }, { + "id" : "118", + "type" : "rdfs:Literal" + }, { + "id" : "126", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:equivalentClass" + }, { + "id" : "32", + "type" : "owl:equivalentClass" + }, { + "id" : "10", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "3", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2004/02/skos/core#Concept", + "baseIri" : "http://www.w3.org/2004/02/skos/core", + "instances" : 0, + "label" : { + "IRI-based" : "Concept", + "undefined" : "Concept" + }, + "attributes" : [ "external" ], + "id" : "9" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Agent", + "equivalent" : [ "13" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Agent", + "undefined" : "Agent" + }, + "subClasses" : [ "10", "11", "12" ], + "comment" : { + "undefined" : "An agent (eg. person, group, software or physical artifact)." + }, + "attributes" : [ "equivalent" ], + "id" : "1" + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "18", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "19", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "5", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "20", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "8", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Organization", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Organization", + "undefined" : "Organization" + }, + "comment" : { + "undefined" : "An organization." + }, + "id" : "11", + "superClasses" : [ "1" ] + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "21", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "22", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "24", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "26", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "27", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://schema.org/CreativeWork", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "CreativeWork" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "37" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "45", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "46", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "53", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "56", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "59", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Project", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Project", + "undefined" : "Project" + }, + "comment" : { + "undefined" : "A project (a collective endeavour of some kind)." + }, + "id" : "60" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "61", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "6", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "62", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "equivalent" : [ "63", "64" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Person", + "undefined" : "Person" + }, + "comment" : { + "undefined" : "A person." + }, + "attributes" : [ "equivalent" ], + "id" : "12", + "superClasses" : [ "1", "36" ] + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "55", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "69", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/PersonalProfileDocument", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "PersonalProfileDocument", + "undefined" : "PersonalProfileDocument" + }, + "comment" : { + "undefined" : "A personal profile RDF document." + }, + "id" : "71", + "superClasses" : [ "2" ] + }, { + "iri" : "http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing", + "baseIri" : "http://www.w3.org/2003/01/geo/wgs84_pos", + "instances" : 0, + "label" : { + "IRI-based" : "SpatialThing", + "undefined" : "Spatial Thing" + }, + "subClasses" : [ "12" ], + "attributes" : [ "external" ], + "id" : "36" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineChatAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineChatAccount", + "undefined" : "Online Chat Account" + }, + "comment" : { + "undefined" : "An online chat account." + }, + "id" : "86", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineGamingAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineGamingAccount", + "undefined" : "Online Gaming Account" + }, + "comment" : { + "undefined" : "An online gaming account." + }, + "id" : "83", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/LabelProperty", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "LabelProperty", + "undefined" : "Label Property" + }, + "comment" : { + "undefined" : "A foaf:LabelProperty is any RDF property with texual values that serve as labels." + }, + "id" : "94" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "73", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "68", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "93", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "33", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "49", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "29", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "101", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "39", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/10/swap/pim/contact#Person", + "baseIri" : "http://www.w3.org/2000/10/swap/pim/contact", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "63" + }, { + "iri" : "http://schema.org/Person", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "64" + }, { + "iri" : "http://schema.org/ImageObject", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "ImageObject" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "102" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineAccount", + "undefined" : "Online Account" + }, + "subClasses" : [ "77", "86", "83" ], + "comment" : { + "undefined" : "An online account." + }, + "id" : "78" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineEcommerceAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineEcommerceAccount", + "undefined" : "Online E-commerce Account" + }, + "comment" : { + "undefined" : "An online e-commerce account." + }, + "id" : "77", + "superClasses" : [ "78" ] + }, { + "iri" : "http://purl.org/dc/terms/Agent", + "baseIri" : "http://purl.org/dc/terms", + "instances" : 0, + "label" : { + "IRI-based" : "Agent" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "13" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "58", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "100", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "106", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "52", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "88", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "118", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Class", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "instances" : 0, + "label" : { + "IRI-based" : "Class" + }, + "attributes" : [ "external" ], + "id" : "126" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Document", + "equivalent" : [ "37" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Document", + "undefined" : "Document" + }, + "subClasses" : [ "71", "32" ], + "comment" : { + "undefined" : "A document." + }, + "attributes" : [ "equivalent" ], + "id" : "2" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Image", + "equivalent" : [ "102" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Image", + "undefined" : "Image" + }, + "comment" : { + "undefined" : "An image." + }, + "attributes" : [ "equivalent" ], + "id" : "32", + "superClasses" : [ "2" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/Group", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Group", + "undefined" : "Group" + }, + "comment" : { + "undefined" : "A class of Agents." + }, + "id" : "10", + "superClasses" : [ "1" ] + } ], + "property" : [ { + "id" : "0", + "type" : "owl:objectProperty" + }, { + "id" : "4", + "type" : "owl:datatypeProperty" + }, { + "id" : "7", + "type" : "owl:datatypeProperty" + }, { + "id" : "14", + "type" : "owl:objectProperty" + }, { + "id" : "16", + "type" : "owl:objectProperty" + }, { + "id" : "17", + "type" : "owl:objectProperty" + }, { + "id" : "23", + "type" : "owl:objectProperty" + }, { + "id" : "25", + "type" : "owl:objectProperty" + }, { + "id" : "28", + "type" : "owl:objectProperty" + }, { + "id" : "30", + "type" : "owl:objectProperty" + }, { + "id" : "31", + "type" : "owl:objectProperty" + }, { + "id" : "35", + "type" : "owl:objectProperty" + }, { + "id" : "38", + "type" : "owl:objectProperty" + }, { + "id" : "44", + "type" : "owl:datatypeProperty" + }, { + "id" : "47", + "type" : "owl:objectProperty" + }, { + "id" : "48", + "type" : "owl:datatypeProperty" + }, { + "id" : "50", + "type" : "owl:objectProperty" + }, { + "id" : "51", + "type" : "owl:datatypeProperty" + }, { + "id" : "54", + "type" : "owl:datatypeProperty" + }, { + "id" : "57", + "type" : "owl:datatypeProperty" + }, { + "id" : "65", + "type" : "owl:datatypeProperty" + }, { + "id" : "66", + "type" : "owl:datatypeProperty" + }, { + "id" : "67", + "type" : "owl:datatypeProperty" + }, { + "id" : "70", + "type" : "owl:datatypeProperty" + }, { + "id" : "72", + "type" : "owl:datatypeProperty" + }, { + "id" : "15", + "type" : "owl:objectProperty" + }, { + "id" : "74", + "type" : "rdfs:SubClassOf" + }, { + "id" : "75", + "type" : "rdfs:SubClassOf" + }, { + "id" : "76", + "type" : "rdfs:SubClassOf" + }, { + "id" : "79", + "type" : "rdfs:SubClassOf" + }, { + "id" : "80", + "type" : "owl:objectProperty" + }, { + "id" : "81", + "type" : "owl:objectProperty" + }, { + "id" : "82", + "type" : "rdfs:SubClassOf" + }, { + "id" : "34", + "type" : "owl:objectProperty" + }, { + "id" : "85", + "type" : "rdfs:SubClassOf" + }, { + "id" : "87", + "type" : "owl:datatypeProperty" + }, { + "id" : "89", + "type" : "rdfs:SubClassOf" + }, { + "id" : "90", + "type" : "rdfs:SubClassOf" + }, { + "id" : "91", + "type" : "owl:objectProperty" + }, { + "id" : "92", + "type" : "owl:datatypeProperty" + }, { + "id" : "95", + "type" : "owl:datatypeProperty" + }, { + "id" : "96", + "type" : "owl:objectProperty" + }, { + "id" : "97", + "type" : "owl:datatypeProperty" + }, { + "id" : "98", + "type" : "rdfs:SubClassOf" + }, { + "id" : "99", + "type" : "owl:datatypeProperty" + }, { + "id" : "43", + "type" : "owl:objectProperty" + }, { + "id" : "42", + "type" : "owl:objectProperty" + }, { + "id" : "103", + "type" : "owl:datatypeProperty" + }, { + "id" : "104", + "type" : "owl:objectProperty" + }, { + "id" : "105", + "type" : "owl:datatypeProperty" + }, { + "id" : "107", + "type" : "owl:objectProperty" + }, { + "id" : "108", + "type" : "owl:datatypeProperty" + }, { + "id" : "109", + "type" : "owl:objectProperty" + }, { + "id" : "110", + "type" : "owl:objectProperty" + }, { + "id" : "40", + "type" : "owl:objectProperty" + }, { + "id" : "41", + "type" : "owl:objectProperty" + }, { + "id" : "84", + "type" : "owl:objectProperty" + }, { + "id" : "111", + "type" : "owl:datatypeProperty" + }, { + "id" : "112", + "type" : "owl:datatypeProperty" + }, { + "id" : "113", + "type" : "owl:datatypeProperty" + }, { + "id" : "114", + "type" : "owl:objectProperty" + }, { + "id" : "116", + "type" : "owl:disjointWith" + }, { + "id" : "117", + "type" : "owl:disjointWith" + }, { + "id" : "119", + "type" : "owl:datatypeProperty" + }, { + "id" : "120", + "type" : "owl:disjointWith" + }, { + "id" : "121", + "type" : "owl:disjointWith" + }, { + "id" : "122", + "type" : "owl:objectProperty" + }, { + "id" : "123", + "type" : "owl:datatypeProperty" + }, { + "id" : "124", + "type" : "owl:objectProperty" + }, { + "id" : "125", + "type" : "owl:datatypeProperty" + }, { + "id" : "127", + "type" : "owl:datatypeProperty" + }, { + "id" : "115", + "type" : "owl:objectProperty" + }, { + "id" : "128", + "type" : "owl:objectProperty" + }, { + "id" : "129", + "type" : "owl:objectProperty" + } ], + "propertyAttribute" : [ { + "iri" : "http://xmlns.com/foaf/0.1/interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "interest", + "undefined" : "interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A page about a topic of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "0" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox_sha1sum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "6", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox_sha1sum", + "undefined" : "sha1sum of a personal mailbox URI name" + }, + "domain" : "5", + "comment" : { + "undefined" : "The sha1sum of the URI of an Internet mailbox associated with exactly one owner, the first owner of the mailbox." + }, + "attributes" : [ "datatype" ], + "id" : "4" + }, { + "iri" : "http://xmlns.com/foaf/0.1/nick", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "8", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "nick", + "undefined" : "nickname" + }, + "domain" : "5", + "comment" : { + "undefined" : "A short informal nickname characterising an agent (includes login identifiers, IRC and other chat nicknames)." + }, + "attributes" : [ "datatype" ], + "id" : "7" + }, { + "iri" : "http://xmlns.com/foaf/0.1/openid", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "openid", + "undefined" : "openid" + }, + "superproperty" : [ "15" ], + "domain" : "1", + "comment" : { + "undefined" : "An OpenID for an Agent." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "14" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workInfoHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workInfoHomepage", + "undefined" : "work info homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A work info homepage of some person; a page about their work for some organization." + }, + "attributes" : [ "object" ], + "id" : "16" + }, { + "iri" : "http://xmlns.com/foaf/0.1/pastProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "pastProject", + "undefined" : "past project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A project this person has previously worked on." + }, + "attributes" : [ "object" ], + "id" : "17" + }, { + "iri" : "http://xmlns.com/foaf/0.1/theme", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "theme", + "undefined" : "theme" + }, + "domain" : "19", + "comment" : { + "undefined" : "A theme." + }, + "attributes" : [ "object" ], + "id" : "23" + }, { + "iri" : "http://xmlns.com/foaf/0.1/knows", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "12", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "knows", + "undefined" : "knows" + }, + "domain" : "12", + "comment" : { + "undefined" : "A person known by this person (indicating some level of reciprocated interaction between the parties)." + }, + "attributes" : [ "object" ], + "id" : "25" + }, { + "iri" : "http://xmlns.com/foaf/0.1/focus", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "29", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "focus", + "undefined" : "focus" + }, + "domain" : "9", + "comment" : { + "undefined" : "The underlying or 'focal' entity associated with some SKOS-described concept." + }, + "attributes" : [ "object" ], + "id" : "28" + }, { + "iri" : "http://xmlns.com/foaf/0.1/phone", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "phone", + "undefined" : "phone" + }, + "domain" : "19", + "comment" : { + "undefined" : "A phone, specified using fully qualified tel: URI scheme (refs: http://www.w3.org/Addressing/schemes.html#tel)." + }, + "attributes" : [ "object" ], + "id" : "30" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depicts", + "inverse" : "34", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "33", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depicts", + "undefined" : "depicts" + }, + "domain" : "32", + "comment" : { + "undefined" : "A thing depicted in this representation." + }, + "attributes" : [ "object" ], + "id" : "31" + }, { + "iri" : "http://xmlns.com/foaf/0.1/based_near", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "36", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "based_near", + "undefined" : "based near" + }, + "domain" : "36", + "comment" : { + "undefined" : "A location that something is based near, for some broadly human notion of near." + }, + "attributes" : [ "object" ], + "id" : "35" + }, { + "iri" : "http://xmlns.com/foaf/0.1/page", + "inverse" : "40", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "page", + "undefined" : "page" + }, + "domain" : "39", + "subproperty" : [ "15", "41", "42", "43" ], + "comment" : { + "undefined" : "A page or document about this thing." + }, + "attributes" : [ "object" ], + "id" : "38" + }, { + "iri" : "http://xmlns.com/foaf/0.1/geekcode", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "26", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "geekcode", + "undefined" : "geekcode" + }, + "domain" : "12", + "comment" : { + "undefined" : "A textual geekcode for this person, see http://www.geekcode.com/geek.html" + }, + "attributes" : [ "datatype" ], + "id" : "44" + }, { + "iri" : "http://xmlns.com/foaf/0.1/primaryTopic", + "inverse" : "15", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "primaryTopic", + "undefined" : "primary topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "The primary topic of some page or document." + }, + "attributes" : [ "object", "functional" ], + "id" : "47" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "49", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenName", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "48" + }, { + "iri" : "http://xmlns.com/foaf/0.1/schoolHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "schoolHomepage", + "undefined" : "schoolHomepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A homepage of a school attended by the person." + }, + "attributes" : [ "object" ], + "id" : "50" + }, { + "iri" : "http://xmlns.com/foaf/0.1/gender", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "52", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "gender", + "undefined" : "gender" + }, + "domain" : "1", + "comment" : { + "undefined" : "The gender of this Agent (typically but not necessarily 'male' or 'female')." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "51" + }, { + "iri" : "http://xmlns.com/foaf/0.1/dnaChecksum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "55", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "dnaChecksum", + "undefined" : "DNA checksum" + }, + "domain" : "19", + "comment" : { + "undefined" : "A checksum for the DNA of some thing. Joke." + }, + "attributes" : [ "datatype" ], + "id" : "54" + }, { + "iri" : "http://xmlns.com/foaf/0.1/lastName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "58", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "lastName", + "undefined" : "lastName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The last name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "57" + }, { + "iri" : "http://xmlns.com/foaf/0.1/status", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "45", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "status", + "undefined" : "status" + }, + "domain" : "1", + "comment" : { + "undefined" : "A string expressing what the user is happy for the general public (normally) to know about their current activity." + }, + "attributes" : [ "datatype" ], + "id" : "65" + }, { + "iri" : "http://xmlns.com/foaf/0.1/yahooChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "46", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "yahooChatID", + "undefined" : "Yahoo chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A Yahoo chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "66" + }, { + "iri" : "http://xmlns.com/foaf/0.1/name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "68", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "name", + "undefined" : "name" + }, + "domain" : "19", + "comment" : { + "undefined" : "A name for some thing." + }, + "attributes" : [ "datatype" ], + "id" : "67" + }, { + "iri" : "http://xmlns.com/foaf/0.1/icqChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "53", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "icqChatID", + "undefined" : "ICQ chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An ICQ chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "70" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "73", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenname", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "72" + }, { + "iri" : "http://xmlns.com/foaf/0.1/isPrimaryTopicOf", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "isPrimaryTopicOf", + "undefined" : "is primary topic of" + }, + "superproperty" : [ "38" ], + "domain" : "39", + "subproperty" : [ "14", "43" ], + "comment" : { + "undefined" : "A document that this thing is the primary topic of." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "15" + }, { + "range" : "2", + "domain" : "32", + "attributes" : [ "anonymous", "object" ], + "id" : "74" + }, { + "range" : "2", + "domain" : "71", + "attributes" : [ "anonymous", "object" ], + "id" : "75" + }, { + "range" : "78", + "domain" : "77", + "attributes" : [ "anonymous", "object" ], + "id" : "76" + }, { + "range" : "36", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "79" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountServiceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountServiceHomepage", + "undefined" : "account service homepage" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates a homepage of the service provide for this online account." + }, + "attributes" : [ "object" ], + "id" : "80" + }, { + "iri" : "http://xmlns.com/foaf/0.1/logo", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "logo", + "undefined" : "logo" + }, + "domain" : "19", + "comment" : { + "undefined" : "A logo representing some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "81" + }, { + "range" : "78", + "domain" : "83", + "attributes" : [ "anonymous", "object" ], + "id" : "82" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depiction", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depiction", + "undefined" : "depiction" + }, + "domain" : "33", + "subproperty" : [ "84" ], + "comment" : { + "undefined" : "A depiction of some thing." + }, + "attributes" : [ "object" ], + "id" : "34" + }, { + "range" : "78", + "domain" : "86", + "attributes" : [ "anonymous", "object" ], + "id" : "85" + }, { + "iri" : "http://xmlns.com/foaf/0.1/family_name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "88", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "family_name", + "undefined" : "family_name" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "87" + }, { + "range" : "1", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "89" + }, { + "range" : "1", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "90" + }, { + "iri" : "http://xmlns.com/foaf/0.1/fundedBy", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "fundedBy", + "undefined" : "funded by" + }, + "domain" : "19", + "comment" : { + "undefined" : "An organization funding a project or person." + }, + "attributes" : [ "object" ], + "id" : "91" + }, { + "iri" : "http://xmlns.com/foaf/0.1/title", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "93", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "title", + "undefined" : "title" + }, + "domain" : "19", + "comment" : { + "undefined" : "Title (Mr, Mrs, Ms, Dr. etc)" + }, + "attributes" : [ "datatype" ], + "id" : "92" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "59", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountName", + "undefined" : "account name" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates the name (identifier) associated with this online account." + }, + "attributes" : [ "datatype" ], + "id" : "95" + }, { + "iri" : "http://xmlns.com/foaf/0.1/account", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "account", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "96" + }, { + "iri" : "http://xmlns.com/foaf/0.1/jabberID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "69", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "jabberID", + "undefined" : "jabber ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A jabber ID for something." + }, + "attributes" : [ "datatype" ], + "id" : "97" + }, { + "range" : "1", + "domain" : "10", + "attributes" : [ "anonymous", "object" ], + "id" : "98" + }, { + "iri" : "http://xmlns.com/foaf/0.1/age", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "100", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "age", + "undefined" : "age" + }, + "domain" : "1", + "comment" : { + "undefined" : "The age in years of some agent." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "99" + }, { + "iri" : "http://xmlns.com/foaf/0.1/homepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "homepage", + "undefined" : "homepage" + }, + "superproperty" : [ "15", "38" ], + "domain" : "39", + "comment" : { + "undefined" : "A homepage for some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "43" + }, { + "iri" : "http://xmlns.com/foaf/0.1/tipjar", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "tipjar", + "undefined" : "tipjar" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A tipjar document for this agent, describing means for payment and reward." + }, + "attributes" : [ "object" ], + "id" : "42" + }, { + "iri" : "http://xmlns.com/foaf/0.1/msnChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "61", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "msnChatID", + "undefined" : "MSN chat ID" + }, + "domain" : "5", + "comment" : { + "undefined" : "An MSN chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "103" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic_interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic_interest", + "undefined" : "topic_interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A thing of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "104" + }, { + "iri" : "http://xmlns.com/foaf/0.1/aimChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "106", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "aimChatID", + "undefined" : "AIM chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An AIM chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "105" + }, { + "iri" : "http://xmlns.com/foaf/0.1/currentProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "currentProject", + "undefined" : "current project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A current project this person works on." + }, + "attributes" : [ "object" ], + "id" : "107" + }, { + "iri" : "http://xmlns.com/foaf/0.1/skypeID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "20", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "skypeID", + "undefined" : "Skype ID" + }, + "domain" : "1", + "comment" : { + "undefined" : "A Skype ID" + }, + "attributes" : [ "datatype" ], + "id" : "108" + }, { + "iri" : "http://xmlns.com/foaf/0.1/holdsAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "holdsAccount", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "109" + }, { + "iri" : "http://xmlns.com/foaf/0.1/thumbnail", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "thumbnail", + "undefined" : "thumbnail" + }, + "domain" : "32", + "comment" : { + "undefined" : "A derived thumbnail image." + }, + "attributes" : [ "object" ], + "id" : "110" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic", + "undefined" : "topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "A topic of some page or document." + }, + "attributes" : [ "object" ], + "id" : "40" + }, { + "iri" : "http://xmlns.com/foaf/0.1/weblog", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "weblog", + "undefined" : "weblog" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A weblog of some thing (whether person, group, company etc.)." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "41" + }, { + "iri" : "http://xmlns.com/foaf/0.1/img", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "img", + "undefined" : "image" + }, + "superproperty" : [ "34" ], + "domain" : "12", + "comment" : { + "undefined" : "An image that can be used to represent some thing (ie. those depictions which are particularly representative of something, eg. one's photo on a homepage)." + }, + "attributes" : [ "object" ], + "id" : "84" + }, { + "iri" : "http://xmlns.com/foaf/0.1/birthday", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "56", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "birthday", + "undefined" : "birthday" + }, + "domain" : "1", + "comment" : { + "undefined" : "The birthday of this Agent, represented in mm-dd string form, eg. '12-31'." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "111" + }, { + "iri" : "http://xmlns.com/foaf/0.1/sha1", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "101", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "sha1", + "undefined" : "sha1sum (hex)" + }, + "domain" : "2", + "comment" : { + "undefined" : "A sha1sum hash, in hex." + }, + "attributes" : [ "datatype" ], + "id" : "112" + }, { + "iri" : "http://xmlns.com/foaf/0.1/firstName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "24", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "firstName", + "undefined" : "firstName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The first name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "113" + }, { + "iri" : "http://xmlns.com/foaf/0.1/made", + "inverse" : "115", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "made", + "undefined" : "made" + }, + "domain" : "1", + "comment" : { + "undefined" : "Something that was made by this agent." + }, + "attributes" : [ "object" ], + "id" : "114" + }, { + "range" : "60", + "domain" : "2", + "attributes" : [ "anonymous", "object" ], + "id" : "116" + }, { + "range" : "12", + "domain" : "60", + "attributes" : [ "anonymous", "object" ], + "id" : "117" + }, { + "iri" : "http://xmlns.com/foaf/0.1/familyName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "62", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "familyName", + "undefined" : "familyName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "119" + }, { + "range" : "2", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "120" + }, { + "range" : "12", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "121" + }, { + "iri" : "http://xmlns.com/foaf/0.1/member", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "member", + "undefined" : "member" + }, + "domain" : "10", + "comment" : { + "undefined" : "Indicates a member of a Group" + }, + "attributes" : [ "object" ], + "id" : "122" + }, { + "iri" : "http://xmlns.com/foaf/0.1/plan", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "27", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "plan", + "undefined" : "plan" + }, + "domain" : "12", + "comment" : { + "undefined" : "A .plan comment, in the tradition of finger and '.plan' files." + }, + "attributes" : [ "datatype" ], + "id" : "123" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox", + "undefined" : "personal mailbox" + }, + "domain" : "1", + "comment" : { + "undefined" : "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox. This is a 'static inverse functional property', in that there is (across time and change) at most one individual that ever has any particular value for foaf:mbox." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "124" + }, { + "iri" : "http://xmlns.com/foaf/0.1/surname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "118", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "surname", + "undefined" : "Surname" + }, + "domain" : "12", + "comment" : { + "undefined" : "The surname of some person." + }, + "attributes" : [ "datatype" ], + "id" : "125" + }, { + "iri" : "http://xmlns.com/foaf/0.1/myersBriggs", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "22", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "myersBriggs", + "undefined" : "myersBriggs" + }, + "domain" : "12", + "comment" : { + "undefined" : "A Myers Briggs (MBTI) personality classification." + }, + "attributes" : [ "datatype" ], + "id" : "127" + }, { + "iri" : "http://xmlns.com/foaf/0.1/maker", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "maker", + "undefined" : "maker" + }, + "domain" : "18", + "comment" : { + "undefined" : "An agent that made this thing." + }, + "attributes" : [ "object" ], + "id" : "115" + }, { + "iri" : "http://xmlns.com/foaf/0.1/publications", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "publications", + "undefined" : "publications" + }, + "domain" : "12", + "comment" : { + "undefined" : "A link to the publications of this person." + }, + "attributes" : [ "object" ], + "id" : "128" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workplaceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workplaceHomepage", + "undefined" : "workplace homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A workplace homepage of some person; the homepage of an organization they work for." + }, + "attributes" : [ "object" ], + "id" : "129" + } ] +} \ No newline at end of file diff --git a/dist/ontology/0.6.0/webvowl/data/ontology.json b/dist/ontology/0.6.0/webvowl/data/ontology.json new file mode 100644 index 0000000..d9dc598 --- /dev/null +++ b/dist/ontology/0.6.0/webvowl/data/ontology.json @@ -0,0 +1,1024 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.5), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "en", "undefined" ], + "baseIris" : [ "http://www.w3.org/1999/02/22-rdf-syntax-ns", "http://purl.org/vocommons/voaf", "http://www.w3.org/2000/01/rdf-schema", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "https://w3id.org/function/ontology" ], + "title" : { + "en" : "The Function Ontology" + }, + "iri" : "https://w3id.org/function/ontology", + "version" : "0.6.0", + "author" : [ "https://data.verborgh.org/people/anastasia_dimou", "https://ben.de-meester.org/#me" ], + "description" : { + "en" : "The Function Ontology allows to declare and describe functions. The specification is online at https://w3id.org/function/spec" + }, + "labels" : { + "en" : "The Function Ontology" + }, + "comments" : { + "en" : "-Version 0.6.0: fno:ReturnMapping\r\n-Version 0.5.1: fno:type a ObjectProperty\r\n-Version 0.5.0: added Mapping and Implementation classes.\r\n-Version 0.4.1: wrong range definition, updated descriptions.\r\n-Version 0.4: added some properties\r\n-Version 0.3: improved comments.\r\n-Version 0.2: added extra metadata.\r\n-Version 0.1: creation." + }, + "other" : { + "priorVersion" : [ { + "identifier" : "priorVersion", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology/0.5.1", + "type" : "label" + } ], + "creator" : [ { + "identifier" : "creator", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + }, { + "identifier" : "creator", + "language" : "undefined", + "value" : "https://data.verborgh.org/people/anastasia_dimou", + "type" : "iri" + } ], + "versionInfo" : [ { + "identifier" : "versionInfo", + "language" : "undefined", + "value" : "0.6.0", + "type" : "label" + } ], + "title" : [ { + "identifier" : "title", + "language" : "en", + "value" : "The Function Ontology", + "type" : "label" + } ], + "seeAlso" : [ { + "identifier" : "seeAlso", + "language" : "undefined", + "value" : "https://w3id.org/function/spec", + "type" : "iri" + } ], + "license" : [ { + "identifier" : "license", + "language" : "undefined", + "value" : "http://creativecommons.org/license/by/3.0/", + "type" : "iri" + } ], + "primaryTopic" : [ { + "identifier" : "primaryTopic", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "preferredNamespacePrefix" : [ { + "identifier" : "preferredNamespacePrefix", + "language" : "undefined", + "value" : "fno", + "type" : "label" + } ], + "rights" : [ { + "identifier" : "rights", + "language" : "en", + "value" : "Copyright Ghent University imec IDLab", + "type" : "label" + } ], + "modified" : [ { + "identifier" : "modified", + "language" : "undefined", + "value" : "2019-05-29", + "type" : "label" + } ], + "publisher" : [ { + "identifier" : "publisher", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + } ], + "preferredNamespaceUri" : [ { + "identifier" : "preferredNamespaceUri", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "label" + } ], + "issued" : [ { + "identifier" : "issued", + "language" : "undefined", + "value" : "2016-03-08", + "type" : "label" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "3", + "type" : "owl:Class" + }, { + "id" : "7", + "type" : "owl:Thing" + }, { + "id" : "14", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:Class" + }, { + "id" : "15", + "type" : "owl:Class" + }, { + "id" : "19", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:Class" + }, { + "id" : "23", + "type" : "owl:Class" + }, { + "id" : "17", + "type" : "rdfs:Datatype" + }, { + "id" : "10", + "type" : "rdfs:Datatype" + }, { + "id" : "22", + "type" : "owl:Class" + }, { + "id" : "24", + "type" : "owl:Class" + }, { + "id" : "12", + "type" : "owl:Class" + }, { + "id" : "5", + "type" : "owl:Class" + }, { + "id" : "29", + "type" : "owl:Class" + }, { + "id" : "30", + "type" : "owl:Class" + }, { + "id" : "31", + "type" : "owl:Class" + }, { + "id" : "32", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "https://w3id.org/function/ontology#Mapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Mapping", + "en" : "Mapping" + }, + "comment" : { + "en" : "A mapping connects a function to an implementation" + }, + "id" : "3" + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "7", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "https://w3id.org/function/ontology#MethodMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "MethodMapping", + "en" : "Method mapping" + }, + "comment" : { + "en" : "A method mapping unambiguously specifies how the abstract function can be mapped to the implemented method. This can be, e.g., the name of the method" + }, + "id" : "14" + }, { + "iri" : "https://w3id.org/function/ontology#Function", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Function", + "en" : "Function" + }, + "comment" : { + "en" : "The declared function" + }, + "id" : "1" + }, { + "iri" : "https://w3id.org/function/ontology#Execution", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Execution", + "en" : "Execution" + }, + "comment" : { + "en" : "An execution is the connection between a function and its input and output values." + }, + "id" : "15" + }, { + "iri" : "https://w3id.org/function/ontology#Parameter", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Parameter", + "en" : "Parameter" + }, + "comment" : { + "en" : "The definition of a parameter to a certain function" + }, + "id" : "19" + }, { + "iri" : "https://w3id.org/function/ontology#Problem", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Problem", + "en" : "Problem" + }, + "comment" : { + "en" : "A certain problem that a function solves" + }, + "id" : "2" + }, { + "iri" : "https://w3id.org/function/ontology#Implementation", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Implementation", + "en" : "Implementation" + }, + "comment" : { + "en" : "A certain implementation of a function" + }, + "id" : "23" + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#boolean", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "17", + "label" : { + "IRI-based" : "boolean" + } + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#boolean", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "10", + "label" : { + "IRI-based" : "boolean" + } + }, { + "iri" : "https://w3id.org/function/ontology#ReturnMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "ReturnMapping", + "en" : "Return mapping" + }, + "comment" : { + "en" : "A return mapping unambiguously specifies how the abstract output can be mapped to the implemented method's return value. For example: the return value of the method, or the thrown error of a the method" + }, + "id" : "22" + }, { + "iri" : "https://w3id.org/function/ontology#ParameterMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "ParameterMapping", + "en" : "Parameter mapping" + }, + "comment" : { + "en" : "A parameter mapping unambiguously specifies how the abstract parameter can be mapped to the implemented method's argument. For example: Parameter X is mapped to the third argument of the method (a position parameter mapping, common for programming languages), or to property with name Y of the method (a property parameter mapping, common for Web APIs)" + }, + "id" : "24" + }, { + "iri" : "https://w3id.org/function/ontology#Algorithm", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Algorithm", + "en" : "Algorithm" + }, + "comment" : { + "en" : "A declaration of an algorithm. An algorithm is a specified set of instructions, independent of its implementation. There is no one-to-one mapping between an algorithm and a problem." + }, + "id" : "12" + }, { + "iri" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#List", + "baseIri" : "http://www.w3.org/1999/02/22-rdf-syntax-ns", + "instances" : 0, + "label" : { + "IRI-based" : "List" + }, + "attributes" : [ "external" ], + "id" : "5" + }, { + "iri" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property", + "baseIri" : "http://www.w3.org/1999/02/22-rdf-syntax-ns", + "instances" : 0, + "label" : { + "IRI-based" : "Property" + }, + "attributes" : [ "external" ], + "id" : "29" + }, { + "iri" : "http://purl.org/vocommons/voaf#Vocabulary", + "baseIri" : "http://purl.org/vocommons/voaf", + "instances" : 0, + "label" : { + "IRI-based" : "Vocabulary" + }, + "individuals" : [ { + "iri" : "https://w3id.org/function/ontology", + "baseIri" : "https://w3id.org/function", + "labels" : { + "IRI-based" : "ontology" + } + } ], + "attributes" : [ "external" ], + "id" : "30" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "individuals" : [ { + "iri" : "https://data.verborgh.org/people/anastasia_dimou", + "baseIri" : "https://data.verborgh.org/people", + "annotations" : { + "name" : [ { + "identifier" : "name", + "language" : "en", + "value" : "Anastasia Dimou", + "type" : "label" + } ], + "mbox" : [ { + "identifier" : "mbox", + "language" : "undefined", + "value" : "mailto:Anastasia.dimou@UGent.be", + "type" : "label" + } ] + }, + "labels" : { + "IRI-based" : "anastasia_dimou", + "en" : "Anastasia Dimou" + } + }, { + "iri" : "https://ben.de-meester.org/#me", + "baseIri" : "https://ben.de-meester.org/", + "annotations" : { + "name" : [ { + "identifier" : "name", + "language" : "en", + "value" : "Ben De Meester", + "type" : "label" + } ], + "mbox" : [ { + "identifier" : "mbox", + "language" : "undefined", + "value" : "mailto:Ben.DeMeester@UGent.be", + "type" : "label" + } ] + }, + "labels" : { + "IRI-based" : "me", + "en" : "Ben De Meester" + } + } ], + "attributes" : [ "external" ], + "id" : "31" + }, { + "iri" : "https://w3id.org/function/ontology#Output", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Output", + "en" : "Output" + }, + "comment" : { + "en" : "The definition of an output of a function" + }, + "id" : "32" + } ], + "property" : [ { + "id" : "0", + "type" : "owl:objectProperty" + }, { + "id" : "4", + "type" : "owl:objectProperty" + }, { + "id" : "6", + "type" : "owl:objectProperty" + }, { + "id" : "8", + "type" : "owl:objectProperty" + }, { + "id" : "9", + "type" : "owl:datatypeProperty" + }, { + "id" : "11", + "type" : "owl:objectProperty" + }, { + "id" : "13", + "type" : "owl:objectProperty" + }, { + "id" : "16", + "type" : "owl:datatypeProperty" + }, { + "id" : "18", + "type" : "owl:objectProperty" + }, { + "id" : "20", + "type" : "owl:objectProperty" + }, { + "id" : "21", + "type" : "owl:objectProperty" + }, { + "id" : "25", + "type" : "owl:objectProperty" + }, { + "id" : "26", + "type" : "owl:objectProperty" + }, { + "id" : "27", + "type" : "owl:objectProperty" + }, { + "id" : "28", + "type" : "owl:objectProperty" + } ], + "propertyAttribute" : [ { + "iri" : "https://w3id.org/function/ontology#solves", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "solves", + "en" : "solves" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a description of a function to the description of a problem it tries to solve." + }, + "attributes" : [ "object" ], + "id" : "0" + }, { + "iri" : "https://w3id.org/function/ontology#returns", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "5", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "returns", + "en" : "returns" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a description of a function to the description of the output" + }, + "attributes" : [ "object" ], + "id" : "4" + }, { + "iri" : "https://w3id.org/function/ontology#type", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "7", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "type", + "en" : "type" + }, + "domain" : "7", + "comment" : { + "en" : "Connects an output or a parameter description to the type of instances of these parameters or outputs." + }, + "attributes" : [ "object" ], + "id" : "6" + }, { + "iri" : "https://w3id.org/function/ontology#expects", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "5", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "expects", + "en" : "expects" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a function description to an ordered list of zero or more parameter descriptions" + }, + "attributes" : [ "object" ], + "id" : "8" + }, { + "iri" : "https://w3id.org/function/ontology#required", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "10", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "required", + "en" : "required" + }, + "domain" : "7", + "comment" : { + "en" : "Defines if a parameter or an output is required." + }, + "attributes" : [ "datatype" ], + "id" : "9" + }, { + "iri" : "https://w3id.org/function/ontology#implements", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "12", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "implements", + "en" : "implements" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a function to an algorithm it implements. A function can implement 0..n algorithms." + }, + "attributes" : [ "object" ], + "id" : "11" + }, { + "iri" : "https://w3id.org/function/ontology#methodMapping", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "14", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "methodMapping", + "en" : "method mapping" + }, + "domain" : "3", + "comment" : { + "en" : "Connects a method mapping to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "13" + }, { + "iri" : "https://w3id.org/function/ontology#nullable", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "17", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "nullable", + "en" : "nullable" + }, + "domain" : "7", + "comment" : { + "en" : "Defines if a parameteris nullable." + }, + "attributes" : [ "datatype" ], + "id" : "16" + }, { + "iri" : "https://w3id.org/function/ontology#function", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "function", + "en" : "function" + }, + "domain" : "3", + "comment" : { + "en" : "Connects a function to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "18" + }, { + "iri" : "https://w3id.org/function/ontology#uses", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "uses", + "en" : "uses" + }, + "domain" : "15", + "comment" : { + "en" : "Connects an execution to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "20" + }, { + "iri" : "https://w3id.org/function/ontology#returnMapping", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "22", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "returnMapping", + "en" : "return mapping" + }, + "domain" : "3", + "comment" : { + "en" : "Connects a return mapping to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "21" + }, { + "iri" : "https://w3id.org/function/ontology#implementation", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "23", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "implementation", + "en" : "implementation" + }, + "domain" : "3", + "comment" : { + "en" : "Connects an implementation to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "25" + }, { + "iri" : "https://w3id.org/function/ontology#executes", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "executes", + "en" : "executes" + }, + "domain" : "15", + "comment" : { + "en" : "Connects a function to an execution definition" + }, + "attributes" : [ "object" ], + "id" : "26" + }, { + "iri" : "https://w3id.org/function/ontology#parameterMapping", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "24", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "parameterMapping", + "en" : "parameter mapping" + }, + "domain" : "3", + "comment" : { + "en" : "Connects a parameter mapping to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "27" + }, { + "iri" : "https://w3id.org/function/ontology#predicate", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "29", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "predicate", + "en" : "predicate" + }, + "domain" : "19", + "comment" : { + "en" : "Connects a parameter description to the predicate used to link executions of this function to their parameter." + }, + "attributes" : [ "object" ], + "id" : "28" + } ] +} \ No newline at end of file diff --git a/dist/ontology/0.6.0/webvowl/favicon.ico b/dist/ontology/0.6.0/webvowl/favicon.ico new file mode 100644 index 0000000..a857d51 Binary files /dev/null and b/dist/ontology/0.6.0/webvowl/favicon.ico differ diff --git a/dist/ontology/0.6.0/webvowl/index.html b/dist/ontology/0.6.0/webvowl/index.html new file mode 100644 index 0000000..09acde5 --- /dev/null +++ b/dist/ontology/0.6.0/webvowl/index.html @@ -0,0 +1,480 @@ + + + + + + + + + + + + + + + WebVOWL + + + +
    +
    + + + + + + +
    + + + + +
    +
    +
    + +
    +
    >
    + +
    + +
    + + +
    +
    +
    +

    +

    +

    +

    +

    -

    +
    +
    + + +
    +
    +
    +
    + + + +
    + + + + + + + \ No newline at end of file diff --git a/dist/ontology/0.6.0/webvowl/js/d3.min.js b/dist/ontology/0.6.0/webvowl/js/d3.min.js new file mode 100644 index 0000000..1664873 --- /dev/null +++ b/dist/ontology/0.6.0/webvowl/js/d3.min.js @@ -0,0 +1,5 @@ +!function(){function n(n){return n&&(n.ownerDocument||n.document||n).documentElement}function t(n){return n&&(n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView)}function e(n,t){return t>n?-1:n>t?1:n>=t?0:NaN}function r(n){return null===n?NaN:+n}function i(n){return!isNaN(n)}function u(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)<0?r=u+1:i=u}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)>0?i=u:r=u+1}return r}}}function o(n){return n.length}function a(n){for(var t=1;n*t%1;)t*=10;return t}function l(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function c(){this._=Object.create(null)}function f(n){return(n+="")===bo||n[0]===_o?_o+n:n}function s(n){return(n+="")[0]===_o?n.slice(1):n}function h(n){return f(n)in this._}function p(n){return(n=f(n))in this._&&delete this._[n]}function g(){var n=[];for(var t in this._)n.push(s(t));return n}function v(){var n=0;for(var t in this._)++n;return n}function d(){for(var n in this._)return!1;return!0}function y(){this._=Object.create(null)}function m(n){return n}function M(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function x(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e=0,r=wo.length;r>e;++e){var i=wo[e]+t;if(i in n)return i}}function b(){}function _(){}function w(n){function t(){for(var t,r=e,i=-1,u=r.length;++ie;e++)for(var i,u=n[e],o=0,a=u.length;a>o;o++)(i=u[o])&&t(i,o,e);return n}function Z(n){return ko(n,qo),n}function V(n){var t,e;return function(r,i,u){var o,a=n[u].update,l=a.length;for(u!=e&&(e=u,t=0),i>=t&&(t=i+1);!(o=a[t])&&++t0&&(n=n.slice(0,a));var c=To.get(n);return c&&(n=c,l=B),a?t?i:r:t?b:u}function $(n,t){return function(e){var r=ao.event;ao.event=e,t[0]=this.__data__;try{n.apply(this,t)}finally{ao.event=r}}}function B(n,t){var e=$(n,t);return function(n){var t=this,r=n.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||e.call(t,n)}}function W(e){var r=".dragsuppress-"+ ++Do,i="click"+r,u=ao.select(t(e)).on("touchmove"+r,S).on("dragstart"+r,S).on("selectstart"+r,S);if(null==Ro&&(Ro="onselectstart"in e?!1:x(e.style,"userSelect")),Ro){var o=n(e).style,a=o[Ro];o[Ro]="none"}return function(n){if(u.on(r,null),Ro&&(o[Ro]=a),n){var t=function(){u.on(i,null)};u.on(i,function(){S(),t()},!0),setTimeout(t,0)}}}function J(n,e){e.changedTouches&&(e=e.changedTouches[0]);var r=n.ownerSVGElement||n;if(r.createSVGPoint){var i=r.createSVGPoint();if(0>Po){var u=t(n);if(u.scrollX||u.scrollY){r=ao.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var o=r[0][0].getScreenCTM();Po=!(o.f||o.e),r.remove()}}return Po?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),i=i.matrixTransform(n.getScreenCTM().inverse()),[i.x,i.y]}var a=n.getBoundingClientRect();return[e.clientX-a.left-n.clientLeft,e.clientY-a.top-n.clientTop]}function G(){return ao.event.changedTouches[0].identifier}function K(n){return n>0?1:0>n?-1:0}function Q(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(t[1]-n[1])*(e[0]-n[0])}function nn(n){return n>1?0:-1>n?Fo:Math.acos(n)}function tn(n){return n>1?Io:-1>n?-Io:Math.asin(n)}function en(n){return((n=Math.exp(n))-1/n)/2}function rn(n){return((n=Math.exp(n))+1/n)/2}function un(n){return((n=Math.exp(2*n))-1)/(n+1)}function on(n){return(n=Math.sin(n/2))*n}function an(){}function ln(n,t,e){return this instanceof ln?(this.h=+n,this.s=+t,void(this.l=+e)):arguments.length<2?n instanceof ln?new ln(n.h,n.s,n.l):_n(""+n,wn,ln):new ln(n,t,e)}function cn(n,t,e){function r(n){return n>360?n-=360:0>n&&(n+=360),60>n?u+(o-u)*n/60:180>n?o:240>n?u+(o-u)*(240-n)/60:u}function i(n){return Math.round(255*r(n))}var u,o;return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:0>t?0:t>1?1:t,e=0>e?0:e>1?1:e,o=.5>=e?e*(1+t):e+t-e*t,u=2*e-o,new mn(i(n+120),i(n),i(n-120))}function fn(n,t,e){return this instanceof fn?(this.h=+n,this.c=+t,void(this.l=+e)):arguments.length<2?n instanceof fn?new fn(n.h,n.c,n.l):n instanceof hn?gn(n.l,n.a,n.b):gn((n=Sn((n=ao.rgb(n)).r,n.g,n.b)).l,n.a,n.b):new fn(n,t,e)}function sn(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new hn(e,Math.cos(n*=Yo)*t,Math.sin(n)*t)}function hn(n,t,e){return this instanceof hn?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof hn?new hn(n.l,n.a,n.b):n instanceof fn?sn(n.h,n.c,n.l):Sn((n=mn(n)).r,n.g,n.b):new hn(n,t,e)}function pn(n,t,e){var r=(n+16)/116,i=r+t/500,u=r-e/200;return i=vn(i)*na,r=vn(r)*ta,u=vn(u)*ea,new mn(yn(3.2404542*i-1.5371385*r-.4985314*u),yn(-.969266*i+1.8760108*r+.041556*u),yn(.0556434*i-.2040259*r+1.0572252*u))}function gn(n,t,e){return n>0?new fn(Math.atan2(e,t)*Zo,Math.sqrt(t*t+e*e),n):new fn(NaN,NaN,n)}function vn(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function dn(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function yn(n){return Math.round(255*(.00304>=n?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function mn(n,t,e){return this instanceof mn?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof mn?new mn(n.r,n.g,n.b):_n(""+n,mn,cn):new mn(n,t,e)}function Mn(n){return new mn(n>>16,n>>8&255,255&n)}function xn(n){return Mn(n)+""}function bn(n){return 16>n?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function _n(n,t,e){var r,i,u,o=0,a=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(Nn(i[0]),Nn(i[1]),Nn(i[2]))}return(u=ua.get(n))?t(u.r,u.g,u.b):(null==n||"#"!==n.charAt(0)||isNaN(u=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&u)>>4,o=o>>4|o,a=240&u,a=a>>4|a,l=15&u,l=l<<4|l):7===n.length&&(o=(16711680&u)>>16,a=(65280&u)>>8,l=255&u)),t(o,a,l))}function wn(n,t,e){var r,i,u=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-u,l=(o+u)/2;return a?(i=.5>l?a/(o+u):a/(2-o-u),r=n==o?(t-e)/a+(e>t?6:0):t==o?(e-n)/a+2:(n-t)/a+4,r*=60):(r=NaN,i=l>0&&1>l?0:r),new ln(r,i,l)}function Sn(n,t,e){n=kn(n),t=kn(t),e=kn(e);var r=dn((.4124564*n+.3575761*t+.1804375*e)/na),i=dn((.2126729*n+.7151522*t+.072175*e)/ta),u=dn((.0193339*n+.119192*t+.9503041*e)/ea);return hn(116*i-16,500*(r-i),200*(i-u))}function kn(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Nn(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}function En(n){return"function"==typeof n?n:function(){return n}}function An(n){return function(t,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=null),Cn(t,e,n,r)}}function Cn(n,t,e,r){function i(){var n,t=l.status;if(!t&&Ln(l)||t>=200&&300>t||304===t){try{n=e.call(u,l)}catch(r){return void o.error.call(u,r)}o.load.call(u,n)}else o.error.call(u,l)}var u={},o=ao.dispatch("beforesend","progress","load","error"),a={},l=new XMLHttpRequest,c=null;return!this.XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(n)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=i:l.onreadystatechange=function(){l.readyState>3&&i()},l.onprogress=function(n){var t=ao.event;ao.event=n;try{o.progress.call(u,l)}finally{ao.event=t}},u.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?a[n]:(null==t?delete a[n]:a[n]=t+"",u)},u.mimeType=function(n){return arguments.length?(t=null==n?null:n+"",u):t},u.responseType=function(n){return arguments.length?(c=n,u):c},u.response=function(n){return e=n,u},["get","post"].forEach(function(n){u[n]=function(){return u.send.apply(u,[n].concat(co(arguments)))}}),u.send=function(e,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),l.open(e,n,!0),null==t||"accept"in a||(a.accept=t+",*/*"),l.setRequestHeader)for(var f in a)l.setRequestHeader(f,a[f]);return null!=t&&l.overrideMimeType&&l.overrideMimeType(t),null!=c&&(l.responseType=c),null!=i&&u.on("error",i).on("load",function(n){i(null,n)}),o.beforesend.call(u,l),l.send(null==r?null:r),u},u.abort=function(){return l.abort(),u},ao.rebind(u,o,"on"),null==r?u:u.get(zn(r))}function zn(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}function Ln(n){var t=n.responseType;return t&&"text"!==t?n.response:n.responseText}function qn(n,t,e){var r=arguments.length;2>r&&(t=0),3>r&&(e=Date.now());var i=e+t,u={c:n,t:i,n:null};return aa?aa.n=u:oa=u,aa=u,la||(ca=clearTimeout(ca),la=1,fa(Tn)),u}function Tn(){var n=Rn(),t=Dn()-n;t>24?(isFinite(t)&&(clearTimeout(ca),ca=setTimeout(Tn,t)),la=0):(la=1,fa(Tn))}function Rn(){for(var n=Date.now(),t=oa;t;)n>=t.t&&t.c(n-t.t)&&(t.c=null),t=t.n;return n}function Dn(){for(var n,t=oa,e=1/0;t;)t.c?(t.t8?function(n){return n/e}:function(n){return n*e},symbol:n}}function jn(n){var t=n.decimal,e=n.thousands,r=n.grouping,i=n.currency,u=r&&e?function(n,t){for(var i=n.length,u=[],o=0,a=r[0],l=0;i>0&&a>0&&(l+a+1>t&&(a=Math.max(1,t-l)),u.push(n.substring(i-=a,i+a)),!((l+=a+1)>t));)a=r[o=(o+1)%r.length];return u.reverse().join(e)}:m;return function(n){var e=ha.exec(n),r=e[1]||" ",o=e[2]||">",a=e[3]||"-",l=e[4]||"",c=e[5],f=+e[6],s=e[7],h=e[8],p=e[9],g=1,v="",d="",y=!1,m=!0;switch(h&&(h=+h.substring(1)),(c||"0"===r&&"="===o)&&(c=r="0",o="="),p){case"n":s=!0,p="g";break;case"%":g=100,d="%",p="f";break;case"p":g=100,d="%",p="r";break;case"b":case"o":case"x":case"X":"#"===l&&(v="0"+p.toLowerCase());case"c":m=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===l&&(v=i[0],d=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=pa.get(p)||Fn;var M=c&&s;return function(n){var e=d;if(y&&n%1)return"";var i=0>n||0===n&&0>1/n?(n=-n,"-"):"-"===a?"":a;if(0>g){var l=ao.formatPrefix(n,h);n=l.scale(n),e=l.symbol+d}else n*=g;n=p(n,h);var x,b,_=n.lastIndexOf(".");if(0>_){var w=m?n.lastIndexOf("e"):-1;0>w?(x=n,b=""):(x=n.substring(0,w),b=n.substring(w))}else x=n.substring(0,_),b=t+n.substring(_+1);!c&&s&&(x=u(x,1/0));var S=v.length+x.length+b.length+(M?0:i.length),k=f>S?new Array(S=f-S+1).join(r):"";return M&&(x=u(k+x,k.length?f-b.length:1/0)),i+=v,n=x+b,("<"===o?i+n+k:">"===o?k+i+n:"^"===o?k.substring(0,S>>=1)+i+n+k.substring(S):i+(M?n:k+n))+e}}}function Fn(n){return n+""}function Hn(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function On(n,t,e){function r(t){var e=n(t),r=u(e,1);return r-t>t-e?e:r}function i(e){return t(e=n(new va(e-1)),1),e}function u(n,e){return t(n=new va(+n),e),n}function o(n,r,u){var o=i(n),a=[];if(u>1)for(;r>o;)e(o)%u||a.push(new Date(+o)),t(o,1);else for(;r>o;)a.push(new Date(+o)),t(o,1);return a}function a(n,t,e){try{va=Hn;var r=new Hn;return r._=n,o(r,t,e)}finally{va=Date}}n.floor=n,n.round=r,n.ceil=i,n.offset=u,n.range=o;var l=n.utc=In(n);return l.floor=l,l.round=In(r),l.ceil=In(i),l.offset=In(u),l.range=a,n}function In(n){return function(t,e){try{va=Hn;var r=new Hn;return r._=t,n(r,e)._}finally{va=Date}}}function Yn(n){function t(n){function t(t){for(var e,i,u,o=[],a=-1,l=0;++aa;){if(r>=c)return-1;if(i=t.charCodeAt(a++),37===i){if(o=t.charAt(a++),u=C[o in ya?t.charAt(a++):o],!u||(r=u(n,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function r(n,t,e){_.lastIndex=0;var r=_.exec(t.slice(e));return r?(n.w=w.get(r[0].toLowerCase()),e+r[0].length):-1}function i(n,t,e){x.lastIndex=0;var r=x.exec(t.slice(e));return r?(n.w=b.get(r[0].toLowerCase()),e+r[0].length):-1}function u(n,t,e){N.lastIndex=0;var r=N.exec(t.slice(e));return r?(n.m=E.get(r[0].toLowerCase()),e+r[0].length):-1}function o(n,t,e){S.lastIndex=0;var r=S.exec(t.slice(e));return r?(n.m=k.get(r[0].toLowerCase()),e+r[0].length):-1}function a(n,t,r){return e(n,A.c.toString(),t,r)}function l(n,t,r){return e(n,A.x.toString(),t,r)}function c(n,t,r){return e(n,A.X.toString(),t,r)}function f(n,t,e){var r=M.get(t.slice(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)}var s=n.dateTime,h=n.date,p=n.time,g=n.periods,v=n.days,d=n.shortDays,y=n.months,m=n.shortMonths;t.utc=function(n){function e(n){try{va=Hn;var t=new va;return t._=n,r(t)}finally{va=Date}}var r=t(n);return e.parse=function(n){try{va=Hn;var t=r.parse(n);return t&&t._}finally{va=Date}},e.toString=r.toString,e},t.multi=t.utc.multi=ct;var M=ao.map(),x=Vn(v),b=Xn(v),_=Vn(d),w=Xn(d),S=Vn(y),k=Xn(y),N=Vn(m),E=Xn(m);g.forEach(function(n,t){M.set(n.toLowerCase(),t)});var A={a:function(n){return d[n.getDay()]},A:function(n){return v[n.getDay()]},b:function(n){return m[n.getMonth()]},B:function(n){return y[n.getMonth()]},c:t(s),d:function(n,t){return Zn(n.getDate(),t,2)},e:function(n,t){return Zn(n.getDate(),t,2)},H:function(n,t){return Zn(n.getHours(),t,2)},I:function(n,t){return Zn(n.getHours()%12||12,t,2)},j:function(n,t){return Zn(1+ga.dayOfYear(n),t,3)},L:function(n,t){return Zn(n.getMilliseconds(),t,3)},m:function(n,t){return Zn(n.getMonth()+1,t,2)},M:function(n,t){return Zn(n.getMinutes(),t,2)},p:function(n){return g[+(n.getHours()>=12)]},S:function(n,t){return Zn(n.getSeconds(),t,2)},U:function(n,t){return Zn(ga.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return Zn(ga.mondayOfYear(n),t,2)},x:t(h),X:t(p),y:function(n,t){return Zn(n.getFullYear()%100,t,2)},Y:function(n,t){return Zn(n.getFullYear()%1e4,t,4)},Z:at,"%":function(){return"%"}},C={a:r,A:i,b:u,B:o,c:a,d:tt,e:tt,H:rt,I:rt,j:et,L:ot,m:nt,M:it,p:f,S:ut,U:Bn,w:$n,W:Wn,x:l,X:c,y:Gn,Y:Jn,Z:Kn,"%":lt};return t}function Zn(n,t,e){var r=0>n?"-":"",i=(r?-n:n)+"",u=i.length;return r+(e>u?new Array(e-u+1).join(t)+i:i)}function Vn(n){return new RegExp("^(?:"+n.map(ao.requote).join("|")+")","i")}function Xn(n){for(var t=new c,e=-1,r=n.length;++e68?1900:2e3)}function nt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function tt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function et(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function rt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function it(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function ut(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function ot(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function at(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=xo(t)/60|0,i=xo(t)%60;return e+Zn(r,"0",2)+Zn(i,"0",2)}function lt(n,t,e){Ma.lastIndex=0;var r=Ma.exec(t.slice(e,e+1));return r?e+r[0].length:-1}function ct(n){for(var t=n.length,e=-1;++e=0?1:-1,a=o*e,l=Math.cos(t),c=Math.sin(t),f=u*c,s=i*l+f*Math.cos(a),h=f*o*Math.sin(a);ka.add(Math.atan2(h,s)),r=n,i=l,u=c}var t,e,r,i,u;Na.point=function(o,a){Na.point=n,r=(t=o)*Yo,i=Math.cos(a=(e=a)*Yo/2+Fo/4),u=Math.sin(a)},Na.lineEnd=function(){n(t,e)}}function dt(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function yt(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function mt(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function Mt(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function xt(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function bt(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function _t(n){return[Math.atan2(n[1],n[0]),tn(n[2])]}function wt(n,t){return xo(n[0]-t[0])a;++a)i.point((e=n[a])[0],e[1]);return void i.lineEnd()}var l=new Tt(e,n,null,!0),c=new Tt(e,null,l,!1);l.o=c,u.push(l),o.push(c),l=new Tt(r,n,null,!1),c=new Tt(r,null,l,!0),l.o=c,u.push(l),o.push(c)}}),o.sort(t),qt(u),qt(o),u.length){for(var a=0,l=e,c=o.length;c>a;++a)o[a].e=l=!l;for(var f,s,h=u[0];;){for(var p=h,g=!0;p.v;)if((p=p.n)===h)return;f=p.z,i.lineStart();do{if(p.v=p.o.v=!0,p.e){if(g)for(var a=0,c=f.length;c>a;++a)i.point((s=f[a])[0],s[1]);else r(p.x,p.n.x,1,i);p=p.n}else{if(g){f=p.p.z;for(var a=f.length-1;a>=0;--a)i.point((s=f[a])[0],s[1])}else r(p.x,p.p.x,-1,i);p=p.p}p=p.o,f=p.z,g=!g}while(!p.v);i.lineEnd()}}}function qt(n){if(t=n.length){for(var t,e,r=0,i=n[0];++r0){for(b||(u.polygonStart(),b=!0),u.lineStart();++o1&&2&t&&e.push(e.pop().concat(e.shift())),p.push(e.filter(Dt))}var p,g,v,d=t(u),y=i.invert(r[0],r[1]),m={point:o,lineStart:l,lineEnd:c,polygonStart:function(){m.point=f,m.lineStart=s,m.lineEnd=h,p=[],g=[]},polygonEnd:function(){m.point=o,m.lineStart=l,m.lineEnd=c,p=ao.merge(p);var n=Ot(y,g);p.length?(b||(u.polygonStart(),b=!0),Lt(p,Ut,n,e,u)):n&&(b||(u.polygonStart(),b=!0),u.lineStart(),e(null,null,1,u),u.lineEnd()),b&&(u.polygonEnd(),b=!1),p=g=null},sphere:function(){u.polygonStart(),u.lineStart(),e(null,null,1,u),u.lineEnd(),u.polygonEnd()}},M=Pt(),x=t(M),b=!1;return m}}function Dt(n){return n.length>1}function Pt(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:b,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Ut(n,t){return((n=n.x)[0]<0?n[1]-Io-Uo:Io-n[1])-((t=t.x)[0]<0?t[1]-Io-Uo:Io-t[1])}function jt(n){var t,e=NaN,r=NaN,i=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(u,o){var a=u>0?Fo:-Fo,l=xo(u-e);xo(l-Fo)0?Io:-Io),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(a,r),n.point(u,r),t=0):i!==a&&l>=Fo&&(xo(e-i)Uo?Math.atan((Math.sin(t)*(u=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(t))*Math.sin(n))/(i*u*o)):(t+r)/2}function Ht(n,t,e,r){var i;if(null==n)i=e*Io,r.point(-Fo,i),r.point(0,i),r.point(Fo,i),r.point(Fo,0),r.point(Fo,-i),r.point(0,-i),r.point(-Fo,-i),r.point(-Fo,0),r.point(-Fo,i);else if(xo(n[0]-t[0])>Uo){var u=n[0]a;++a){var c=t[a],f=c.length;if(f)for(var s=c[0],h=s[0],p=s[1]/2+Fo/4,g=Math.sin(p),v=Math.cos(p),d=1;;){d===f&&(d=0),n=c[d];var y=n[0],m=n[1]/2+Fo/4,M=Math.sin(m),x=Math.cos(m),b=y-h,_=b>=0?1:-1,w=_*b,S=w>Fo,k=g*M;if(ka.add(Math.atan2(k*_*Math.sin(w),v*x+k*Math.cos(w))),u+=S?b+_*Ho:b,S^h>=e^y>=e){var N=mt(dt(s),dt(n));bt(N);var E=mt(i,N);bt(E);var A=(S^b>=0?-1:1)*tn(E[2]);(r>A||r===A&&(N[0]||N[1]))&&(o+=S^b>=0?1:-1)}if(!d++)break;h=y,g=M,v=x,s=n}}return(-Uo>u||Uo>u&&-Uo>ka)^1&o}function It(n){function t(n,t){return Math.cos(n)*Math.cos(t)>u}function e(n){var e,u,l,c,f;return{lineStart:function(){c=l=!1,f=1},point:function(s,h){var p,g=[s,h],v=t(s,h),d=o?v?0:i(s,h):v?i(s+(0>s?Fo:-Fo),h):0;if(!e&&(c=l=v)&&n.lineStart(),v!==l&&(p=r(e,g),(wt(e,p)||wt(g,p))&&(g[0]+=Uo,g[1]+=Uo,v=t(g[0],g[1]))),v!==l)f=0,v?(n.lineStart(),p=r(g,e),n.point(p[0],p[1])):(p=r(e,g),n.point(p[0],p[1]),n.lineEnd()),e=p;else if(a&&e&&o^v){var y;d&u||!(y=r(g,e,!0))||(f=0,o?(n.lineStart(),n.point(y[0][0],y[0][1]),n.point(y[1][0],y[1][1]),n.lineEnd()):(n.point(y[1][0],y[1][1]),n.lineEnd(),n.lineStart(),n.point(y[0][0],y[0][1])))}!v||e&&wt(e,g)||n.point(g[0],g[1]),e=g,l=v,u=d},lineEnd:function(){l&&n.lineEnd(),e=null},clean:function(){return f|(c&&l)<<1}}}function r(n,t,e){var r=dt(n),i=dt(t),o=[1,0,0],a=mt(r,i),l=yt(a,a),c=a[0],f=l-c*c;if(!f)return!e&&n;var s=u*l/f,h=-u*c/f,p=mt(o,a),g=xt(o,s),v=xt(a,h);Mt(g,v);var d=p,y=yt(g,d),m=yt(d,d),M=y*y-m*(yt(g,g)-1);if(!(0>M)){var x=Math.sqrt(M),b=xt(d,(-y-x)/m);if(Mt(b,g),b=_t(b),!e)return b;var _,w=n[0],S=t[0],k=n[1],N=t[1];w>S&&(_=w,w=S,S=_);var E=S-w,A=xo(E-Fo)E;if(!A&&k>N&&(_=k,k=N,N=_),C?A?k+N>0^b[1]<(xo(b[0]-w)Fo^(w<=b[0]&&b[0]<=S)){var z=xt(d,(-y+x)/m);return Mt(z,g),[b,_t(z)]}}}function i(t,e){var r=o?n:Fo-n,i=0;return-r>t?i|=1:t>r&&(i|=2),-r>e?i|=4:e>r&&(i|=8),i}var u=Math.cos(n),o=u>0,a=xo(u)>Uo,l=ve(n,6*Yo);return Rt(t,e,l,o?[0,-n]:[-Fo,n-Fo])}function Yt(n,t,e,r){return function(i){var u,o=i.a,a=i.b,l=o.x,c=o.y,f=a.x,s=a.y,h=0,p=1,g=f-l,v=s-c;if(u=n-l,g||!(u>0)){if(u/=g,0>g){if(h>u)return;p>u&&(p=u)}else if(g>0){if(u>p)return;u>h&&(h=u)}if(u=e-l,g||!(0>u)){if(u/=g,0>g){if(u>p)return;u>h&&(h=u)}else if(g>0){if(h>u)return;p>u&&(p=u)}if(u=t-c,v||!(u>0)){if(u/=v,0>v){if(h>u)return;p>u&&(p=u)}else if(v>0){if(u>p)return;u>h&&(h=u)}if(u=r-c,v||!(0>u)){if(u/=v,0>v){if(u>p)return;u>h&&(h=u)}else if(v>0){if(h>u)return;p>u&&(p=u)}return h>0&&(i.a={x:l+h*g,y:c+h*v}),1>p&&(i.b={x:l+p*g,y:c+p*v}),i}}}}}}function Zt(n,t,e,r){function i(r,i){return xo(r[0]-n)0?0:3:xo(r[0]-e)0?2:1:xo(r[1]-t)0?1:0:i>0?3:2}function u(n,t){return o(n.x,t.x)}function o(n,t){var e=i(n,1),r=i(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}return function(a){function l(n){for(var t=0,e=d.length,r=n[1],i=0;e>i;++i)for(var u,o=1,a=d[i],l=a.length,c=a[0];l>o;++o)u=a[o],c[1]<=r?u[1]>r&&Q(c,u,n)>0&&++t:u[1]<=r&&Q(c,u,n)<0&&--t,c=u;return 0!==t}function c(u,a,l,c){var f=0,s=0;if(null==u||(f=i(u,l))!==(s=i(a,l))||o(u,a)<0^l>0){do c.point(0===f||3===f?n:e,f>1?r:t);while((f=(f+l+4)%4)!==s)}else c.point(a[0],a[1])}function f(i,u){return i>=n&&e>=i&&u>=t&&r>=u}function s(n,t){f(n,t)&&a.point(n,t)}function h(){C.point=g,d&&d.push(y=[]),S=!0,w=!1,b=_=NaN}function p(){v&&(g(m,M),x&&w&&E.rejoin(),v.push(E.buffer())),C.point=s,w&&a.lineEnd()}function g(n,t){n=Math.max(-Ha,Math.min(Ha,n)),t=Math.max(-Ha,Math.min(Ha,t));var e=f(n,t);if(d&&y.push([n,t]),S)m=n,M=t,x=e,S=!1,e&&(a.lineStart(),a.point(n,t));else if(e&&w)a.point(n,t);else{var r={a:{x:b,y:_},b:{x:n,y:t}};A(r)?(w||(a.lineStart(),a.point(r.a.x,r.a.y)),a.point(r.b.x,r.b.y),e||a.lineEnd(),k=!1):e&&(a.lineStart(),a.point(n,t),k=!1)}b=n,_=t,w=e}var v,d,y,m,M,x,b,_,w,S,k,N=a,E=Pt(),A=Yt(n,t,e,r),C={point:s,lineStart:h,lineEnd:p,polygonStart:function(){a=E,v=[],d=[],k=!0},polygonEnd:function(){a=N,v=ao.merge(v);var t=l([n,r]),e=k&&t,i=v.length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),c(null,null,1,a),a.lineEnd()),i&&Lt(v,u,t,c,a),a.polygonEnd()),v=d=y=null}};return C}}function Vt(n){var t=0,e=Fo/3,r=ae(n),i=r(t,e);return i.parallels=function(n){return arguments.length?r(t=n[0]*Fo/180,e=n[1]*Fo/180):[t/Fo*180,e/Fo*180]},i}function Xt(n,t){function e(n,t){var e=Math.sqrt(u-2*i*Math.sin(t))/i;return[e*Math.sin(n*=i),o-e*Math.cos(n)]}var r=Math.sin(n),i=(r+Math.sin(t))/2,u=1+r*(2*i-r),o=Math.sqrt(u)/i;return e.invert=function(n,t){var e=o-t;return[Math.atan2(n,e)/i,tn((u-(n*n+e*e)*i*i)/(2*i))]},e}function $t(){function n(n,t){Ia+=i*n-r*t,r=n,i=t}var t,e,r,i;$a.point=function(u,o){$a.point=n,t=r=u,e=i=o},$a.lineEnd=function(){n(t,e)}}function Bt(n,t){Ya>n&&(Ya=n),n>Va&&(Va=n),Za>t&&(Za=t),t>Xa&&(Xa=t)}function Wt(){function n(n,t){o.push("M",n,",",t,u)}function t(n,t){o.push("M",n,",",t),a.point=e}function e(n,t){o.push("L",n,",",t)}function r(){a.point=n}function i(){o.push("Z")}var u=Jt(4.5),o=[],a={point:n,lineStart:function(){a.point=t},lineEnd:r,polygonStart:function(){a.lineEnd=i},polygonEnd:function(){a.lineEnd=r,a.point=n},pointRadius:function(n){return u=Jt(n),a},result:function(){if(o.length){var n=o.join("");return o=[],n}}};return a}function Jt(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function Gt(n,t){Ca+=n,za+=t,++La}function Kt(){function n(n,r){var i=n-t,u=r-e,o=Math.sqrt(i*i+u*u);qa+=o*(t+n)/2,Ta+=o*(e+r)/2,Ra+=o,Gt(t=n,e=r)}var t,e;Wa.point=function(r,i){Wa.point=n,Gt(t=r,e=i)}}function Qt(){Wa.point=Gt}function ne(){function n(n,t){var e=n-r,u=t-i,o=Math.sqrt(e*e+u*u);qa+=o*(r+n)/2,Ta+=o*(i+t)/2,Ra+=o,o=i*n-r*t,Da+=o*(r+n),Pa+=o*(i+t),Ua+=3*o,Gt(r=n,i=t)}var t,e,r,i;Wa.point=function(u,o){Wa.point=n,Gt(t=r=u,e=i=o)},Wa.lineEnd=function(){n(t,e)}}function te(n){function t(t,e){n.moveTo(t+o,e),n.arc(t,e,o,0,Ho)}function e(t,e){n.moveTo(t,e),a.point=r}function r(t,e){n.lineTo(t,e)}function i(){a.point=t}function u(){n.closePath()}var o=4.5,a={point:t,lineStart:function(){a.point=e},lineEnd:i,polygonStart:function(){a.lineEnd=u},polygonEnd:function(){a.lineEnd=i,a.point=t},pointRadius:function(n){return o=n,a},result:b};return a}function ee(n){function t(n){return(a?r:e)(n)}function e(t){return ue(t,function(e,r){e=n(e,r),t.point(e[0],e[1])})}function r(t){function e(e,r){e=n(e,r),t.point(e[0],e[1])}function r(){M=NaN,S.point=u,t.lineStart()}function u(e,r){var u=dt([e,r]),o=n(e,r);i(M,x,m,b,_,w,M=o[0],x=o[1],m=e,b=u[0],_=u[1],w=u[2],a,t),t.point(M,x)}function o(){S.point=e,t.lineEnd()}function l(){ +r(),S.point=c,S.lineEnd=f}function c(n,t){u(s=n,h=t),p=M,g=x,v=b,d=_,y=w,S.point=u}function f(){i(M,x,m,b,_,w,p,g,s,v,d,y,a,t),S.lineEnd=o,o()}var s,h,p,g,v,d,y,m,M,x,b,_,w,S={point:e,lineStart:r,lineEnd:o,polygonStart:function(){t.polygonStart(),S.lineStart=l},polygonEnd:function(){t.polygonEnd(),S.lineStart=r}};return S}function i(t,e,r,a,l,c,f,s,h,p,g,v,d,y){var m=f-t,M=s-e,x=m*m+M*M;if(x>4*u&&d--){var b=a+p,_=l+g,w=c+v,S=Math.sqrt(b*b+_*_+w*w),k=Math.asin(w/=S),N=xo(xo(w)-1)u||xo((m*z+M*L)/x-.5)>.3||o>a*p+l*g+c*v)&&(i(t,e,r,a,l,c,A,C,N,b/=S,_/=S,w,d,y),y.point(A,C),i(A,C,N,b,_,w,f,s,h,p,g,v,d,y))}}var u=.5,o=Math.cos(30*Yo),a=16;return t.precision=function(n){return arguments.length?(a=(u=n*n)>0&&16,t):Math.sqrt(u)},t}function re(n){var t=ee(function(t,e){return n([t*Zo,e*Zo])});return function(n){return le(t(n))}}function ie(n){this.stream=n}function ue(n,t){return{point:t,sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}function oe(n){return ae(function(){return n})()}function ae(n){function t(n){return n=a(n[0]*Yo,n[1]*Yo),[n[0]*h+l,c-n[1]*h]}function e(n){return n=a.invert((n[0]-l)/h,(c-n[1])/h),n&&[n[0]*Zo,n[1]*Zo]}function r(){a=Ct(o=se(y,M,x),u);var n=u(v,d);return l=p-n[0]*h,c=g+n[1]*h,i()}function i(){return f&&(f.valid=!1,f=null),t}var u,o,a,l,c,f,s=ee(function(n,t){return n=u(n,t),[n[0]*h+l,c-n[1]*h]}),h=150,p=480,g=250,v=0,d=0,y=0,M=0,x=0,b=Fa,_=m,w=null,S=null;return t.stream=function(n){return f&&(f.valid=!1),f=le(b(o,s(_(n)))),f.valid=!0,f},t.clipAngle=function(n){return arguments.length?(b=null==n?(w=n,Fa):It((w=+n)*Yo),i()):w},t.clipExtent=function(n){return arguments.length?(S=n,_=n?Zt(n[0][0],n[0][1],n[1][0],n[1][1]):m,i()):S},t.scale=function(n){return arguments.length?(h=+n,r()):h},t.translate=function(n){return arguments.length?(p=+n[0],g=+n[1],r()):[p,g]},t.center=function(n){return arguments.length?(v=n[0]%360*Yo,d=n[1]%360*Yo,r()):[v*Zo,d*Zo]},t.rotate=function(n){return arguments.length?(y=n[0]%360*Yo,M=n[1]%360*Yo,x=n.length>2?n[2]%360*Yo:0,r()):[y*Zo,M*Zo,x*Zo]},ao.rebind(t,s,"precision"),function(){return u=n.apply(this,arguments),t.invert=u.invert&&e,r()}}function le(n){return ue(n,function(t,e){n.point(t*Yo,e*Yo)})}function ce(n,t){return[n,t]}function fe(n,t){return[n>Fo?n-Ho:-Fo>n?n+Ho:n,t]}function se(n,t,e){return n?t||e?Ct(pe(n),ge(t,e)):pe(n):t||e?ge(t,e):fe}function he(n){return function(t,e){return t+=n,[t>Fo?t-Ho:-Fo>t?t+Ho:t,e]}}function pe(n){var t=he(n);return t.invert=he(-n),t}function ge(n,t){function e(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*r+a*i;return[Math.atan2(l*u-f*o,a*r-c*i),tn(f*u+l*o)]}var r=Math.cos(n),i=Math.sin(n),u=Math.cos(t),o=Math.sin(t);return e.invert=function(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*u-l*o;return[Math.atan2(l*u+c*o,a*r+f*i),tn(f*r-a*i)]},e}function ve(n,t){var e=Math.cos(n),r=Math.sin(n);return function(i,u,o,a){var l=o*t;null!=i?(i=de(e,i),u=de(e,u),(o>0?u>i:i>u)&&(i+=o*Ho)):(i=n+o*Ho,u=n-.5*l);for(var c,f=i;o>0?f>u:u>f;f-=l)a.point((c=_t([e,-r*Math.cos(f),-r*Math.sin(f)]))[0],c[1])}}function de(n,t){var e=dt(t);e[0]-=n,bt(e);var r=nn(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Uo)%(2*Math.PI)}function ye(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[n,t]})}}function me(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[t,n]})}}function Me(n){return n.source}function xe(n){return n.target}function be(n,t,e,r){var i=Math.cos(t),u=Math.sin(t),o=Math.cos(r),a=Math.sin(r),l=i*Math.cos(n),c=i*Math.sin(n),f=o*Math.cos(e),s=o*Math.sin(e),h=2*Math.asin(Math.sqrt(on(r-t)+i*o*on(e-n))),p=1/Math.sin(h),g=h?function(n){var t=Math.sin(n*=h)*p,e=Math.sin(h-n)*p,r=e*l+t*f,i=e*c+t*s,o=e*u+t*a;return[Math.atan2(i,r)*Zo,Math.atan2(o,Math.sqrt(r*r+i*i))*Zo]}:function(){return[n*Zo,t*Zo]};return g.distance=h,g}function _e(){function n(n,i){var u=Math.sin(i*=Yo),o=Math.cos(i),a=xo((n*=Yo)-t),l=Math.cos(a);Ja+=Math.atan2(Math.sqrt((a=o*Math.sin(a))*a+(a=r*u-e*o*l)*a),e*u+r*o*l),t=n,e=u,r=o}var t,e,r;Ga.point=function(i,u){t=i*Yo,e=Math.sin(u*=Yo),r=Math.cos(u),Ga.point=n},Ga.lineEnd=function(){Ga.point=Ga.lineEnd=b}}function we(n,t){function e(t,e){var r=Math.cos(t),i=Math.cos(e),u=n(r*i);return[u*i*Math.sin(t),u*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),i=t(r),u=Math.sin(i),o=Math.cos(i);return[Math.atan2(n*u,r*o),Math.asin(r&&e*u/r)]},e}function Se(n,t){function e(n,t){o>0?-Io+Uo>t&&(t=-Io+Uo):t>Io-Uo&&(t=Io-Uo);var e=o/Math.pow(i(t),u);return[e*Math.sin(u*n),o-e*Math.cos(u*n)]}var r=Math.cos(n),i=function(n){return Math.tan(Fo/4+n/2)},u=n===t?Math.sin(n):Math.log(r/Math.cos(t))/Math.log(i(t)/i(n)),o=r*Math.pow(i(n),u)/u;return u?(e.invert=function(n,t){var e=o-t,r=K(u)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/u,2*Math.atan(Math.pow(o/r,1/u))-Io]},e):Ne}function ke(n,t){function e(n,t){var e=u-t;return[e*Math.sin(i*n),u-e*Math.cos(i*n)]}var r=Math.cos(n),i=n===t?Math.sin(n):(r-Math.cos(t))/(t-n),u=r/i+n;return xo(i)i;i++){for(;r>1&&Q(n[e[r-2]],n[e[r-1]],n[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function qe(n,t){return n[0]-t[0]||n[1]-t[1]}function Te(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function Re(n,t,e,r){var i=n[0],u=e[0],o=t[0]-i,a=r[0]-u,l=n[1],c=e[1],f=t[1]-l,s=r[1]-c,h=(a*(l-c)-s*(i-u))/(s*o-a*f);return[i+h*o,l+h*f]}function De(n){var t=n[0],e=n[n.length-1];return!(t[0]-e[0]||t[1]-e[1])}function Pe(){rr(this),this.edge=this.site=this.circle=null}function Ue(n){var t=cl.pop()||new Pe;return t.site=n,t}function je(n){Be(n),ol.remove(n),cl.push(n),rr(n)}function Fe(n){var t=n.circle,e=t.x,r=t.cy,i={x:e,y:r},u=n.P,o=n.N,a=[n];je(n);for(var l=u;l.circle&&xo(e-l.circle.x)f;++f)c=a[f],l=a[f-1],nr(c.edge,l.site,c.site,i);l=a[0],c=a[s-1],c.edge=Ke(l.site,c.site,null,i),$e(l),$e(c)}function He(n){for(var t,e,r,i,u=n.x,o=n.y,a=ol._;a;)if(r=Oe(a,o)-u,r>Uo)a=a.L;else{if(i=u-Ie(a,o),!(i>Uo)){r>-Uo?(t=a.P,e=a):i>-Uo?(t=a,e=a.N):t=e=a;break}if(!a.R){t=a;break}a=a.R}var l=Ue(n);if(ol.insert(t,l),t||e){if(t===e)return Be(t),e=Ue(t.site),ol.insert(l,e),l.edge=e.edge=Ke(t.site,l.site),$e(t),void $e(e);if(!e)return void(l.edge=Ke(t.site,l.site));Be(t),Be(e);var c=t.site,f=c.x,s=c.y,h=n.x-f,p=n.y-s,g=e.site,v=g.x-f,d=g.y-s,y=2*(h*d-p*v),m=h*h+p*p,M=v*v+d*d,x={x:(d*m-p*M)/y+f,y:(h*M-v*m)/y+s};nr(e.edge,c,g,x),l.edge=Ke(c,n,null,x),e.edge=Ke(n,g,null,x),$e(t),$e(e)}}function Oe(n,t){var e=n.site,r=e.x,i=e.y,u=i-t;if(!u)return r;var o=n.P;if(!o)return-(1/0);e=o.site;var a=e.x,l=e.y,c=l-t;if(!c)return a;var f=a-r,s=1/u-1/c,h=f/c;return s?(-h+Math.sqrt(h*h-2*s*(f*f/(-2*c)-l+c/2+i-u/2)))/s+r:(r+a)/2}function Ie(n,t){var e=n.N;if(e)return Oe(e,t);var r=n.site;return r.y===t?r.x:1/0}function Ye(n){this.site=n,this.edges=[]}function Ze(n){for(var t,e,r,i,u,o,a,l,c,f,s=n[0][0],h=n[1][0],p=n[0][1],g=n[1][1],v=ul,d=v.length;d--;)if(u=v[d],u&&u.prepare())for(a=u.edges,l=a.length,o=0;l>o;)f=a[o].end(),r=f.x,i=f.y,c=a[++o%l].start(),t=c.x,e=c.y,(xo(r-t)>Uo||xo(i-e)>Uo)&&(a.splice(o,0,new tr(Qe(u.site,f,xo(r-s)Uo?{x:s,y:xo(t-s)Uo?{x:xo(e-g)Uo?{x:h,y:xo(t-h)Uo?{x:xo(e-p)=-jo)){var p=l*l+c*c,g=f*f+s*s,v=(s*p-c*g)/h,d=(l*g-f*p)/h,s=d+a,y=fl.pop()||new Xe;y.arc=n,y.site=i,y.x=v+o,y.y=s+Math.sqrt(v*v+d*d),y.cy=s,n.circle=y;for(var m=null,M=ll._;M;)if(y.yd||d>=a)return;if(h>g){if(u){if(u.y>=c)return}else u={x:d,y:l};e={x:d,y:c}}else{if(u){if(u.yr||r>1)if(h>g){if(u){if(u.y>=c)return}else u={x:(l-i)/r,y:l};e={x:(c-i)/r,y:c}}else{if(u){if(u.yp){if(u){if(u.x>=a)return}else u={x:o,y:r*o+i};e={x:a,y:r*a+i}}else{if(u){if(u.xu||s>o||r>h||i>p)){if(g=n.point){var g,v=t-n.x,d=e-n.y,y=v*v+d*d;if(l>y){var m=Math.sqrt(l=y);r=t-m,i=e-m,u=t+m,o=e+m,a=g}}for(var M=n.nodes,x=.5*(f+h),b=.5*(s+p),_=t>=x,w=e>=b,S=w<<1|_,k=S+4;k>S;++S)if(n=M[3&S])switch(3&S){case 0:c(n,f,s,x,b);break;case 1:c(n,x,s,h,b);break;case 2:c(n,f,b,x,p);break;case 3:c(n,x,b,h,p)}}}(n,r,i,u,o),a}function vr(n,t){n=ao.rgb(n),t=ao.rgb(t);var e=n.r,r=n.g,i=n.b,u=t.r-e,o=t.g-r,a=t.b-i;return function(n){return"#"+bn(Math.round(e+u*n))+bn(Math.round(r+o*n))+bn(Math.round(i+a*n))}}function dr(n,t){var e,r={},i={};for(e in n)e in t?r[e]=Mr(n[e],t[e]):i[e]=n[e];for(e in t)e in n||(i[e]=t[e]);return function(n){for(e in r)i[e]=r[e](n);return i}}function yr(n,t){return n=+n,t=+t,function(e){return n*(1-e)+t*e}}function mr(n,t){var e,r,i,u=hl.lastIndex=pl.lastIndex=0,o=-1,a=[],l=[];for(n+="",t+="";(e=hl.exec(n))&&(r=pl.exec(t));)(i=r.index)>u&&(i=t.slice(u,i),a[o]?a[o]+=i:a[++o]=i),(e=e[0])===(r=r[0])?a[o]?a[o]+=r:a[++o]=r:(a[++o]=null,l.push({i:o,x:yr(e,r)})),u=pl.lastIndex;return ur;++r)a[(e=l[r]).i]=e.x(n);return a.join("")})}function Mr(n,t){for(var e,r=ao.interpolators.length;--r>=0&&!(e=ao.interpolators[r](n,t)););return e}function xr(n,t){var e,r=[],i=[],u=n.length,o=t.length,a=Math.min(n.length,t.length);for(e=0;a>e;++e)r.push(Mr(n[e],t[e]));for(;u>e;++e)i[e]=n[e];for(;o>e;++e)i[e]=t[e];return function(n){for(e=0;a>e;++e)i[e]=r[e](n);return i}}function br(n){return function(t){return 0>=t?0:t>=1?1:n(t)}}function _r(n){return function(t){return 1-n(1-t)}}function wr(n){return function(t){return.5*(.5>t?n(2*t):2-n(2-2*t))}}function Sr(n){return n*n}function kr(n){return n*n*n}function Nr(n){if(0>=n)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(.5>n?e:3*(n-t)+e-.75)}function Er(n){return function(t){return Math.pow(t,n)}}function Ar(n){return 1-Math.cos(n*Io)}function Cr(n){return Math.pow(2,10*(n-1))}function zr(n){return 1-Math.sqrt(1-n*n)}function Lr(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/Ho*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,-10*r)*Math.sin((r-e)*Ho/t)}}function qr(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}}function Tr(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function Rr(n,t){n=ao.hcl(n),t=ao.hcl(t);var e=n.h,r=n.c,i=n.l,u=t.h-e,o=t.c-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.c:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return sn(e+u*n,r+o*n,i+a*n)+""}}function Dr(n,t){n=ao.hsl(n),t=ao.hsl(t);var e=n.h,r=n.s,i=n.l,u=t.h-e,o=t.s-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.s:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return cn(e+u*n,r+o*n,i+a*n)+""}}function Pr(n,t){n=ao.lab(n),t=ao.lab(t);var e=n.l,r=n.a,i=n.b,u=t.l-e,o=t.a-r,a=t.b-i;return function(n){return pn(e+u*n,r+o*n,i+a*n)+""}}function Ur(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function jr(n){var t=[n.a,n.b],e=[n.c,n.d],r=Hr(t),i=Fr(t,e),u=Hr(Or(e,t,-i))||0;t[0]*e[1]180?t+=360:t-n>180&&(n+=360),r.push({i:e.push(Ir(e)+"rotate(",null,")")-2,x:yr(n,t)})):t&&e.push(Ir(e)+"rotate("+t+")")}function Vr(n,t,e,r){n!==t?r.push({i:e.push(Ir(e)+"skewX(",null,")")-2,x:yr(n,t)}):t&&e.push(Ir(e)+"skewX("+t+")")}function Xr(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push(Ir(e)+"scale(",null,",",null,")");r.push({i:i-4,x:yr(n[0],t[0])},{i:i-2,x:yr(n[1],t[1])})}else 1===t[0]&&1===t[1]||e.push(Ir(e)+"scale("+t+")")}function $r(n,t){var e=[],r=[];return n=ao.transform(n),t=ao.transform(t),Yr(n.translate,t.translate,e,r),Zr(n.rotate,t.rotate,e,r),Vr(n.skew,t.skew,e,r),Xr(n.scale,t.scale,e,r),n=t=null,function(n){for(var t,i=-1,u=r.length;++i=0;)e.push(i[r])}function oi(n,t){for(var e=[n],r=[];null!=(n=e.pop());)if(r.push(n),(u=n.children)&&(i=u.length))for(var i,u,o=-1;++oe;++e)(t=n[e][1])>i&&(r=e,i=t);return r}function yi(n){return n.reduce(mi,0)}function mi(n,t){return n+t[1]}function Mi(n,t){return xi(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function xi(n,t){for(var e=-1,r=+n[0],i=(n[1]-r)/t,u=[];++e<=t;)u[e]=i*e+r;return u}function bi(n){return[ao.min(n),ao.max(n)]}function _i(n,t){return n.value-t.value}function wi(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function Si(n,t){n._pack_next=t,t._pack_prev=n}function ki(n,t){var e=t.x-n.x,r=t.y-n.y,i=n.r+t.r;return.999*i*i>e*e+r*r}function Ni(n){function t(n){f=Math.min(n.x-n.r,f),s=Math.max(n.x+n.r,s),h=Math.min(n.y-n.r,h),p=Math.max(n.y+n.r,p)}if((e=n.children)&&(c=e.length)){var e,r,i,u,o,a,l,c,f=1/0,s=-(1/0),h=1/0,p=-(1/0);if(e.forEach(Ei),r=e[0],r.x=-r.r,r.y=0,t(r),c>1&&(i=e[1],i.x=i.r,i.y=0,t(i),c>2))for(u=e[2],zi(r,i,u),t(u),wi(r,u),r._pack_prev=u,wi(u,i),i=r._pack_next,o=3;c>o;o++){zi(r,i,u=e[o]);var g=0,v=1,d=1;for(a=i._pack_next;a!==i;a=a._pack_next,v++)if(ki(a,u)){g=1;break}if(1==g)for(l=r._pack_prev;l!==a._pack_prev&&!ki(l,u);l=l._pack_prev,d++);g?(d>v||v==d&&i.ro;o++)u=e[o],u.x-=y,u.y-=m,M=Math.max(M,u.r+Math.sqrt(u.x*u.x+u.y*u.y));n.r=M,e.forEach(Ai)}}function Ei(n){n._pack_next=n._pack_prev=n}function Ai(n){delete n._pack_next,delete n._pack_prev}function Ci(n,t,e,r){var i=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,i)for(var u=-1,o=i.length;++u=0;)t=i[u],t.z+=e,t.m+=e,e+=t.s+(r+=t.c)}function Pi(n,t,e){return n.a.parent===t.parent?n.a:e}function Ui(n){return 1+ao.max(n,function(n){return n.y})}function ji(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}function Fi(n){var t=n.children;return t&&t.length?Fi(t[0]):n}function Hi(n){var t,e=n.children;return e&&(t=e.length)?Hi(e[t-1]):n}function Oi(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function Ii(n,t){var e=n.x+t[3],r=n.y+t[0],i=n.dx-t[1]-t[3],u=n.dy-t[0]-t[2];return 0>i&&(e+=i/2,i=0),0>u&&(r+=u/2,u=0),{x:e,y:r,dx:i,dy:u}}function Yi(n){var t=n[0],e=n[n.length-1];return e>t?[t,e]:[e,t]}function Zi(n){return n.rangeExtent?n.rangeExtent():Yi(n.range())}function Vi(n,t,e,r){var i=e(n[0],n[1]),u=r(t[0],t[1]);return function(n){return u(i(n))}}function Xi(n,t){var e,r=0,i=n.length-1,u=n[r],o=n[i];return u>o&&(e=r,r=i,i=e,e=u,u=o,o=e),n[r]=t.floor(u),n[i]=t.ceil(o),n}function $i(n){return n?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:Sl}function Bi(n,t,e,r){var i=[],u=[],o=0,a=Math.min(n.length,t.length)-1;for(n[a]2?Bi:Vi,l=r?Wr:Br;return o=i(n,t,l,e),a=i(t,n,l,Mr),u}function u(n){return o(n)}var o,a;return u.invert=function(n){return a(n)},u.domain=function(t){return arguments.length?(n=t.map(Number),i()):n},u.range=function(n){return arguments.length?(t=n,i()):t},u.rangeRound=function(n){return u.range(n).interpolate(Ur)},u.clamp=function(n){return arguments.length?(r=n,i()):r},u.interpolate=function(n){return arguments.length?(e=n,i()):e},u.ticks=function(t){return Qi(n,t)},u.tickFormat=function(t,e){return nu(n,t,e)},u.nice=function(t){return Gi(n,t),i()},u.copy=function(){return Wi(n,t,e,r)},i()}function Ji(n,t){return ao.rebind(n,t,"range","rangeRound","interpolate","clamp")}function Gi(n,t){return Xi(n,$i(Ki(n,t)[2])),Xi(n,$i(Ki(n,t)[2])),n}function Ki(n,t){null==t&&(t=10);var e=Yi(n),r=e[1]-e[0],i=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),u=t/r*i;return.15>=u?i*=10:.35>=u?i*=5:.75>=u&&(i*=2),e[0]=Math.ceil(e[0]/i)*i,e[1]=Math.floor(e[1]/i)*i+.5*i,e[2]=i,e}function Qi(n,t){return ao.range.apply(ao,Ki(n,t))}function nu(n,t,e){var r=Ki(n,t);if(e){var i=ha.exec(e);if(i.shift(),"s"===i[8]){var u=ao.formatPrefix(Math.max(xo(r[0]),xo(r[1])));return i[7]||(i[7]="."+tu(u.scale(r[2]))),i[8]="f",e=ao.format(i.join("")),function(n){return e(u.scale(n))+u.symbol}}i[7]||(i[7]="."+eu(i[8],r)),e=i.join("")}else e=",."+tu(r[2])+"f";return ao.format(e)}function tu(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}function eu(n,t){var e=tu(t[2]);return n in kl?Math.abs(e-tu(Math.max(xo(t[0]),xo(t[1]))))+ +("e"!==n):e-2*("%"===n)}function ru(n,t,e,r){function i(n){return(e?Math.log(0>n?0:n):-Math.log(n>0?0:-n))/Math.log(t)}function u(n){return e?Math.pow(t,n):-Math.pow(t,-n)}function o(t){return n(i(t))}return o.invert=function(t){return u(n.invert(t))},o.domain=function(t){return arguments.length?(e=t[0]>=0,n.domain((r=t.map(Number)).map(i)),o):r},o.base=function(e){return arguments.length?(t=+e,n.domain(r.map(i)),o):t},o.nice=function(){var t=Xi(r.map(i),e?Math:El);return n.domain(t),r=t.map(u),o},o.ticks=function(){var n=Yi(r),o=[],a=n[0],l=n[1],c=Math.floor(i(a)),f=Math.ceil(i(l)),s=t%1?2:t;if(isFinite(f-c)){if(e){for(;f>c;c++)for(var h=1;s>h;h++)o.push(u(c)*h);o.push(u(c))}else for(o.push(u(c));c++0;h--)o.push(u(c)*h);for(c=0;o[c]l;f--);o=o.slice(c,f)}return o},o.tickFormat=function(n,e){if(!arguments.length)return Nl;arguments.length<2?e=Nl:"function"!=typeof e&&(e=ao.format(e));var r=Math.max(1,t*n/o.ticks().length);return function(n){var o=n/u(Math.round(i(n)));return t-.5>o*t&&(o*=t),r>=o?e(n):""}},o.copy=function(){return ru(n.copy(),t,e,r)},Ji(o,n)}function iu(n,t,e){function r(t){return n(i(t))}var i=uu(t),u=uu(1/t);return r.invert=function(t){return u(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain((e=t.map(Number)).map(i)),r):e},r.ticks=function(n){return Qi(e,n)},r.tickFormat=function(n,t){return nu(e,n,t)},r.nice=function(n){return r.domain(Gi(e,n))},r.exponent=function(o){return arguments.length?(i=uu(t=o),u=uu(1/t),n.domain(e.map(i)),r):t},r.copy=function(){return iu(n.copy(),t,e)},Ji(r,n)}function uu(n){return function(t){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}}function ou(n,t){function e(e){return u[((i.get(e)||("range"===t.t?i.set(e,n.push(e)):NaN))-1)%u.length]}function r(t,e){return ao.range(n.length).map(function(n){return t+e*n})}var i,u,o;return e.domain=function(r){if(!arguments.length)return n;n=[],i=new c;for(var u,o=-1,a=r.length;++oe?[NaN,NaN]:[e>0?a[e-1]:n[0],et?NaN:t/u+n,[t,t+1/u]},r.copy=function(){return lu(n,t,e)},i()}function cu(n,t){function e(e){return e>=e?t[ao.bisect(n,e)]:void 0}return e.domain=function(t){return arguments.length?(n=t,e):n},e.range=function(n){return arguments.length?(t=n,e):t},e.invertExtent=function(e){return e=t.indexOf(e),[n[e-1],n[e]]},e.copy=function(){return cu(n,t)},e}function fu(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return Qi(n,t)},t.tickFormat=function(t,e){return nu(n,t,e)},t.copy=function(){return fu(n)},t}function su(){return 0}function hu(n){return n.innerRadius}function pu(n){return n.outerRadius}function gu(n){return n.startAngle}function vu(n){return n.endAngle}function du(n){return n&&n.padAngle}function yu(n,t,e,r){return(n-e)*t-(t-r)*n>0?0:1}function mu(n,t,e,r,i){var u=n[0]-t[0],o=n[1]-t[1],a=(i?r:-r)/Math.sqrt(u*u+o*o),l=a*o,c=-a*u,f=n[0]+l,s=n[1]+c,h=t[0]+l,p=t[1]+c,g=(f+h)/2,v=(s+p)/2,d=h-f,y=p-s,m=d*d+y*y,M=e-r,x=f*p-h*s,b=(0>y?-1:1)*Math.sqrt(Math.max(0,M*M*m-x*x)),_=(x*y-d*b)/m,w=(-x*d-y*b)/m,S=(x*y+d*b)/m,k=(-x*d+y*b)/m,N=_-g,E=w-v,A=S-g,C=k-v;return N*N+E*E>A*A+C*C&&(_=S,w=k),[[_-l,w-c],[_*e/M,w*e/M]]}function Mu(n){function t(t){function o(){c.push("M",u(n(f),a))}for(var l,c=[],f=[],s=-1,h=t.length,p=En(e),g=En(r);++s1?n.join("L"):n+"Z"}function bu(n){return n.join("L")+"Z"}function _u(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1&&i.push("H",r[0]),i.join("")}function wu(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1){a=t[1],u=n[l],l++,r+="C"+(i[0]+o[0])+","+(i[1]+o[1])+","+(u[0]-a[0])+","+(u[1]-a[1])+","+u[0]+","+u[1];for(var c=2;c9&&(i=3*t/Math.sqrt(i),o[a]=i*e,o[a+1]=i*r));for(a=-1;++a<=l;)i=(n[Math.min(l,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),u.push([i||0,o[a]*i||0]);return u}function Fu(n){return n.length<3?xu(n):n[0]+Au(n,ju(n))}function Hu(n){for(var t,e,r,i=-1,u=n.length;++i=t?o(n-t):void(f.c=o)}function o(e){var i=g.active,u=g[i];u&&(u.timer.c=null,u.timer.t=NaN,--g.count,delete g[i],u.event&&u.event.interrupt.call(n,n.__data__,u.index));for(var o in g)if(r>+o){var c=g[o];c.timer.c=null,c.timer.t=NaN,--g.count,delete g[o]}f.c=a,qn(function(){return f.c&&a(e||1)&&(f.c=null,f.t=NaN),1},0,l),g.active=r,v.event&&v.event.start.call(n,n.__data__,t),p=[],v.tween.forEach(function(e,r){(r=r.call(n,n.__data__,t))&&p.push(r)}),h=v.ease,s=v.duration}function a(i){for(var u=i/s,o=h(u),a=p.length;a>0;)p[--a].call(n,o);return u>=1?(v.event&&v.event.end.call(n,n.__data__,t),--g.count?delete g[r]:delete n[e],1):void 0}var l,f,s,h,p,g=n[e]||(n[e]={active:0,count:0}),v=g[r];v||(l=i.time,f=qn(u,0,l),v=g[r]={tween:new c,time:l,timer:f,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++g.count)}function no(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate("+(isFinite(r)?r:e(n))+",0)"})}function to(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate(0,"+(isFinite(r)?r:e(n))+")"})}function eo(n){return n.toISOString()}function ro(n,t,e){function r(t){return n(t)}function i(n,e){var r=n[1]-n[0],i=r/e,u=ao.bisect(Kl,i);return u==Kl.length?[t.year,Ki(n.map(function(n){return n/31536e6}),e)[2]]:u?t[i/Kl[u-1]1?{floor:function(t){for(;e(t=n.floor(t));)t=io(t-1);return t},ceil:function(t){for(;e(t=n.ceil(t));)t=io(+t+1);return t}}:n))},r.ticks=function(n,t){var e=Yi(r.domain()),u=null==n?i(e,10):"number"==typeof n?i(e,n):!n.range&&[{range:n},t];return u&&(n=u[0],t=u[1]),n.range(e[0],io(+e[1]+1),1>t?1:t)},r.tickFormat=function(){return e},r.copy=function(){return ro(n.copy(),t,e)},Ji(r,n)}function io(n){return new Date(n)}function uo(n){return JSON.parse(n.responseText)}function oo(n){var t=fo.createRange();return t.selectNode(fo.body),t.createContextualFragment(n.responseText)}var ao={version:"3.5.17"},lo=[].slice,co=function(n){return lo.call(n)},fo=this.document;if(fo)try{co(fo.documentElement.childNodes)[0].nodeType}catch(so){co=function(n){for(var t=n.length,e=new Array(t);t--;)e[t]=n[t];return e}}if(Date.now||(Date.now=function(){return+new Date}),fo)try{fo.createElement("DIV").style.setProperty("opacity",0,"")}catch(ho){var po=this.Element.prototype,go=po.setAttribute,vo=po.setAttributeNS,yo=this.CSSStyleDeclaration.prototype,mo=yo.setProperty;po.setAttribute=function(n,t){go.call(this,n,t+"")},po.setAttributeNS=function(n,t,e){vo.call(this,n,t,e+"")},yo.setProperty=function(n,t,e){mo.call(this,n,t+"",e)}}ao.ascending=e,ao.descending=function(n,t){return n>t?-1:t>n?1:t>=n?0:NaN},ao.min=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ir&&(e=r)}else{for(;++i=r){e=r;break}for(;++ir&&(e=r)}return e},ao.max=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ie&&(e=r)}else{for(;++i=r){e=r;break}for(;++ie&&(e=r)}return e},ao.extent=function(n,t){var e,r,i,u=-1,o=n.length;if(1===arguments.length){for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}else{for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}return[e,i]},ao.sum=function(n,t){var e,r=0,u=n.length,o=-1;if(1===arguments.length)for(;++o1?l/(f-1):void 0},ao.deviation=function(){var n=ao.variance.apply(this,arguments);return n?Math.sqrt(n):n};var Mo=u(e);ao.bisectLeft=Mo.left,ao.bisect=ao.bisectRight=Mo.right,ao.bisector=function(n){return u(1===n.length?function(t,r){return e(n(t),r)}:n)},ao.shuffle=function(n,t,e){(u=arguments.length)<3&&(e=n.length,2>u&&(t=0));for(var r,i,u=e-t;u;)i=Math.random()*u--|0,r=n[u+t],n[u+t]=n[i+t],n[i+t]=r;return n},ao.permute=function(n,t){for(var e=t.length,r=new Array(e);e--;)r[e]=n[t[e]];return r},ao.pairs=function(n){for(var t,e=0,r=n.length-1,i=n[0],u=new Array(0>r?0:r);r>e;)u[e]=[t=i,i=n[++e]];return u},ao.transpose=function(n){if(!(i=n.length))return[];for(var t=-1,e=ao.min(n,o),r=new Array(e);++t=0;)for(r=n[i],t=r.length;--t>=0;)e[--o]=r[t];return e};var xo=Math.abs;ao.range=function(n,t,e){if(arguments.length<3&&(e=1,arguments.length<2&&(t=n,n=0)),(t-n)/e===1/0)throw new Error("infinite range");var r,i=[],u=a(xo(e)),o=-1;if(n*=u,t*=u,e*=u,0>e)for(;(r=n+e*++o)>t;)i.push(r/u);else for(;(r=n+e*++o)=u.length)return r?r.call(i,o):e?o.sort(e):o;for(var l,f,s,h,p=-1,g=o.length,v=u[a++],d=new c;++p=u.length)return n;var r=[],i=o[e++];return n.forEach(function(n,i){r.push({key:n,values:t(i,e)})}),i?r.sort(function(n,t){return i(n.key,t.key)}):r}var e,r,i={},u=[],o=[];return i.map=function(t,e){return n(e,t,0)},i.entries=function(e){return t(n(ao.map,e,0),0)},i.key=function(n){return u.push(n),i},i.sortKeys=function(n){return o[u.length-1]=n,i},i.sortValues=function(n){return e=n,i},i.rollup=function(n){return r=n,i},i},ao.set=function(n){var t=new y;if(n)for(var e=0,r=n.length;r>e;++e)t.add(n[e]);return t},l(y,{has:h,add:function(n){return this._[f(n+="")]=!0,n},remove:p,values:g,size:v,empty:d,forEach:function(n){for(var t in this._)n.call(this,s(t))}}),ao.behavior={},ao.rebind=function(n,t){for(var e,r=1,i=arguments.length;++r=0&&(r=n.slice(e+1),n=n.slice(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},ao.event=null,ao.requote=function(n){return n.replace(So,"\\$&")};var So=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ko={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]},No=function(n,t){return t.querySelector(n)},Eo=function(n,t){return t.querySelectorAll(n)},Ao=function(n,t){var e=n.matches||n[x(n,"matchesSelector")];return(Ao=function(n,t){return e.call(n,t)})(n,t)};"function"==typeof Sizzle&&(No=function(n,t){return Sizzle(n,t)[0]||null},Eo=Sizzle,Ao=Sizzle.matchesSelector),ao.selection=function(){return ao.select(fo.documentElement)};var Co=ao.selection.prototype=[];Co.select=function(n){var t,e,r,i,u=[];n=A(n);for(var o=-1,a=this.length;++o=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),Lo.hasOwnProperty(e)?{space:Lo[e],local:n}:n}},Co.attr=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node();return n=ao.ns.qualify(n),n.local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(z(t,n[t]));return this}return this.each(z(n,t))},Co.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=T(n)).length,i=-1;if(t=e.classList){for(;++ii){if("string"!=typeof n){2>i&&(e="");for(r in n)this.each(P(r,n[r],e));return this}if(2>i){var u=this.node();return t(u).getComputedStyle(u,null).getPropertyValue(n)}r=""}return this.each(P(n,e,r))},Co.property=function(n,t){if(arguments.length<2){if("string"==typeof n)return this.node()[n];for(t in n)this.each(U(t,n[t]));return this}return this.each(U(n,t))},Co.text=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.textContent=null==t?"":t}:null==n?function(){this.textContent=""}:function(){this.textContent=n}):this.node().textContent},Co.html=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}:null==n?function(){this.innerHTML=""}:function(){this.innerHTML=n}):this.node().innerHTML},Co.append=function(n){return n=j(n),this.select(function(){return this.appendChild(n.apply(this,arguments))})},Co.insert=function(n,t){return n=j(n),t=A(t),this.select(function(){return this.insertBefore(n.apply(this,arguments),t.apply(this,arguments)||null)})},Co.remove=function(){return this.each(F)},Co.data=function(n,t){function e(n,e){var r,i,u,o=n.length,s=e.length,h=Math.min(o,s),p=new Array(s),g=new Array(s),v=new Array(o);if(t){var d,y=new c,m=new Array(o);for(r=-1;++rr;++r)g[r]=H(e[r]);for(;o>r;++r)v[r]=n[r]}g.update=p,g.parentNode=p.parentNode=v.parentNode=n.parentNode,a.push(g),l.push(p),f.push(v)}var r,i,u=-1,o=this.length;if(!arguments.length){for(n=new Array(o=(r=this[0]).length);++uu;u++){i.push(t=[]),t.parentNode=(e=this[u]).parentNode;for(var a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return E(i)},Co.order=function(){for(var n=-1,t=this.length;++n=0;)(e=r[i])&&(u&&u!==e.nextSibling&&u.parentNode.insertBefore(e,u),u=e);return this},Co.sort=function(n){n=I.apply(this,arguments);for(var t=-1,e=this.length;++tn;n++)for(var e=this[n],r=0,i=e.length;i>r;r++){var u=e[r];if(u)return u}return null},Co.size=function(){var n=0;return Y(this,function(){++n}),n};var qo=[];ao.selection.enter=Z,ao.selection.enter.prototype=qo,qo.append=Co.append,qo.empty=Co.empty,qo.node=Co.node,qo.call=Co.call,qo.size=Co.size,qo.select=function(n){for(var t,e,r,i,u,o=[],a=-1,l=this.length;++ar){if("string"!=typeof n){2>r&&(t=!1);for(e in n)this.each(X(e,n[e],t));return this}if(2>r)return(r=this.node()["__on"+n])&&r._;e=!1}return this.each(X(n,t,e))};var To=ao.map({mouseenter:"mouseover",mouseleave:"mouseout"});fo&&To.forEach(function(n){"on"+n in fo&&To.remove(n)});var Ro,Do=0;ao.mouse=function(n){return J(n,k())};var Po=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;ao.touch=function(n,t,e){if(arguments.length<3&&(e=t,t=k().changedTouches),t)for(var r,i=0,u=t.length;u>i;++i)if((r=t[i]).identifier===e)return J(n,r)},ao.behavior.drag=function(){function n(){this.on("mousedown.drag",u).on("touchstart.drag",o)}function e(n,t,e,u,o){return function(){function a(){var n,e,r=t(h,v);r&&(n=r[0]-M[0],e=r[1]-M[1],g|=n|e,M=r,p({type:"drag",x:r[0]+c[0],y:r[1]+c[1],dx:n,dy:e}))}function l(){t(h,v)&&(y.on(u+d,null).on(o+d,null),m(g),p({type:"dragend"}))}var c,f=this,s=ao.event.target.correspondingElement||ao.event.target,h=f.parentNode,p=r.of(f,arguments),g=0,v=n(),d=".drag"+(null==v?"":"-"+v),y=ao.select(e(s)).on(u+d,a).on(o+d,l),m=W(s),M=t(h,v);i?(c=i.apply(f,arguments),c=[c.x-M[0],c.y-M[1]]):c=[0,0],p({type:"dragstart"})}}var r=N(n,"drag","dragstart","dragend"),i=null,u=e(b,ao.mouse,t,"mousemove","mouseup"),o=e(G,ao.touch,m,"touchmove","touchend");return n.origin=function(t){return arguments.length?(i=t,n):i},ao.rebind(n,r,"on")},ao.touches=function(n,t){return arguments.length<2&&(t=k().touches),t?co(t).map(function(t){var e=J(n,t);return e.identifier=t.identifier,e}):[]};var Uo=1e-6,jo=Uo*Uo,Fo=Math.PI,Ho=2*Fo,Oo=Ho-Uo,Io=Fo/2,Yo=Fo/180,Zo=180/Fo,Vo=Math.SQRT2,Xo=2,$o=4;ao.interpolateZoom=function(n,t){var e,r,i=n[0],u=n[1],o=n[2],a=t[0],l=t[1],c=t[2],f=a-i,s=l-u,h=f*f+s*s;if(jo>h)r=Math.log(c/o)/Vo,e=function(n){return[i+n*f,u+n*s,o*Math.exp(Vo*n*r)]};else{var p=Math.sqrt(h),g=(c*c-o*o+$o*h)/(2*o*Xo*p),v=(c*c-o*o-$o*h)/(2*c*Xo*p),d=Math.log(Math.sqrt(g*g+1)-g),y=Math.log(Math.sqrt(v*v+1)-v);r=(y-d)/Vo,e=function(n){var t=n*r,e=rn(d),a=o/(Xo*p)*(e*un(Vo*t+d)-en(d));return[i+a*f,u+a*s,o*e/rn(Vo*t+d)]}}return e.duration=1e3*r,e},ao.behavior.zoom=function(){function n(n){n.on(L,s).on(Wo+".zoom",p).on("dblclick.zoom",g).on(R,h)}function e(n){return[(n[0]-k.x)/k.k,(n[1]-k.y)/k.k]}function r(n){return[n[0]*k.k+k.x,n[1]*k.k+k.y]}function i(n){k.k=Math.max(A[0],Math.min(A[1],n))}function u(n,t){t=r(t),k.x+=n[0]-t[0],k.y+=n[1]-t[1]}function o(t,e,r,o){t.__chart__={x:k.x,y:k.y,k:k.k},i(Math.pow(2,o)),u(d=e,r),t=ao.select(t),C>0&&(t=t.transition().duration(C)),t.call(n.event)}function a(){b&&b.domain(x.range().map(function(n){return(n-k.x)/k.k}).map(x.invert)),w&&w.domain(_.range().map(function(n){return(n-k.y)/k.k}).map(_.invert))}function l(n){z++||n({type:"zoomstart"})}function c(n){a(),n({type:"zoom",scale:k.k,translate:[k.x,k.y]})}function f(n){--z||(n({type:"zoomend"}),d=null)}function s(){function n(){a=1,u(ao.mouse(i),h),c(o)}function r(){s.on(q,null).on(T,null),p(a),f(o)}var i=this,o=D.of(i,arguments),a=0,s=ao.select(t(i)).on(q,n).on(T,r),h=e(ao.mouse(i)),p=W(i);Il.call(i),l(o)}function h(){function n(){var n=ao.touches(g);return p=k.k,n.forEach(function(n){n.identifier in d&&(d[n.identifier]=e(n))}),n}function t(){var t=ao.event.target;ao.select(t).on(x,r).on(b,a),_.push(t);for(var e=ao.event.changedTouches,i=0,u=e.length;u>i;++i)d[e[i].identifier]=null;var l=n(),c=Date.now();if(1===l.length){if(500>c-M){var f=l[0];o(g,f,d[f.identifier],Math.floor(Math.log(k.k)/Math.LN2)+1),S()}M=c}else if(l.length>1){var f=l[0],s=l[1],h=f[0]-s[0],p=f[1]-s[1];y=h*h+p*p}}function r(){var n,t,e,r,o=ao.touches(g);Il.call(g);for(var a=0,l=o.length;l>a;++a,r=null)if(e=o[a],r=d[e.identifier]){if(t)break;n=e,t=r}if(r){var f=(f=e[0]-n[0])*f+(f=e[1]-n[1])*f,s=y&&Math.sqrt(f/y);n=[(n[0]+e[0])/2,(n[1]+e[1])/2],t=[(t[0]+r[0])/2,(t[1]+r[1])/2],i(s*p)}M=null,u(n,t),c(v)}function a(){if(ao.event.touches.length){for(var t=ao.event.changedTouches,e=0,r=t.length;r>e;++e)delete d[t[e].identifier];for(var i in d)return void n()}ao.selectAll(_).on(m,null),w.on(L,s).on(R,h),N(),f(v)}var p,g=this,v=D.of(g,arguments),d={},y=0,m=".zoom-"+ao.event.changedTouches[0].identifier,x="touchmove"+m,b="touchend"+m,_=[],w=ao.select(g),N=W(g);t(),l(v),w.on(L,null).on(R,t)}function p(){var n=D.of(this,arguments);m?clearTimeout(m):(Il.call(this),v=e(d=y||ao.mouse(this)),l(n)),m=setTimeout(function(){m=null,f(n)},50),S(),i(Math.pow(2,.002*Bo())*k.k),u(d,v),c(n)}function g(){var n=ao.mouse(this),t=Math.log(k.k)/Math.LN2;o(this,n,e(n),ao.event.shiftKey?Math.ceil(t)-1:Math.floor(t)+1)}var v,d,y,m,M,x,b,_,w,k={x:0,y:0,k:1},E=[960,500],A=Jo,C=250,z=0,L="mousedown.zoom",q="mousemove.zoom",T="mouseup.zoom",R="touchstart.zoom",D=N(n,"zoomstart","zoom","zoomend");return Wo||(Wo="onwheel"in fo?(Bo=function(){return-ao.event.deltaY*(ao.event.deltaMode?120:1)},"wheel"):"onmousewheel"in fo?(Bo=function(){return ao.event.wheelDelta},"mousewheel"):(Bo=function(){return-ao.event.detail},"MozMousePixelScroll")),n.event=function(n){n.each(function(){var n=D.of(this,arguments),t=k;Hl?ao.select(this).transition().each("start.zoom",function(){k=this.__chart__||{x:0,y:0,k:1},l(n)}).tween("zoom:zoom",function(){var e=E[0],r=E[1],i=d?d[0]:e/2,u=d?d[1]:r/2,o=ao.interpolateZoom([(i-k.x)/k.k,(u-k.y)/k.k,e/k.k],[(i-t.x)/t.k,(u-t.y)/t.k,e/t.k]);return function(t){var r=o(t),a=e/r[2];this.__chart__=k={x:i-r[0]*a,y:u-r[1]*a,k:a},c(n)}}).each("interrupt.zoom",function(){f(n)}).each("end.zoom",function(){f(n)}):(this.__chart__=k,l(n),c(n),f(n))})},n.translate=function(t){return arguments.length?(k={x:+t[0],y:+t[1],k:k.k},a(),n):[k.x,k.y]},n.scale=function(t){return arguments.length?(k={x:k.x,y:k.y,k:null},i(+t),a(),n):k.k},n.scaleExtent=function(t){return arguments.length?(A=null==t?Jo:[+t[0],+t[1]],n):A},n.center=function(t){return arguments.length?(y=t&&[+t[0],+t[1]],n):y},n.size=function(t){return arguments.length?(E=t&&[+t[0],+t[1]],n):E},n.duration=function(t){return arguments.length?(C=+t,n):C},n.x=function(t){return arguments.length?(b=t,x=t.copy(),k={x:0,y:0,k:1},n):b},n.y=function(t){return arguments.length?(w=t,_=t.copy(),k={x:0,y:0,k:1},n):w},ao.rebind(n,D,"on")};var Bo,Wo,Jo=[0,1/0];ao.color=an,an.prototype.toString=function(){return this.rgb()+""},ao.hsl=ln;var Go=ln.prototype=new an;Go.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,this.l/n)},Go.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,n*this.l)},Go.rgb=function(){return cn(this.h,this.s,this.l)},ao.hcl=fn;var Ko=fn.prototype=new an;Ko.brighter=function(n){return new fn(this.h,this.c,Math.min(100,this.l+Qo*(arguments.length?n:1)))},Ko.darker=function(n){return new fn(this.h,this.c,Math.max(0,this.l-Qo*(arguments.length?n:1)))},Ko.rgb=function(){return sn(this.h,this.c,this.l).rgb()},ao.lab=hn;var Qo=18,na=.95047,ta=1,ea=1.08883,ra=hn.prototype=new an;ra.brighter=function(n){return new hn(Math.min(100,this.l+Qo*(arguments.length?n:1)),this.a,this.b)},ra.darker=function(n){return new hn(Math.max(0,this.l-Qo*(arguments.length?n:1)),this.a,this.b)},ra.rgb=function(){return pn(this.l,this.a,this.b)},ao.rgb=mn;var ia=mn.prototype=new an;ia.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,i=30;return t||e||r?(t&&i>t&&(t=i),e&&i>e&&(e=i),r&&i>r&&(r=i),new mn(Math.min(255,t/n),Math.min(255,e/n),Math.min(255,r/n))):new mn(i,i,i)},ia.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new mn(n*this.r,n*this.g,n*this.b)},ia.hsl=function(){return wn(this.r,this.g,this.b)},ia.toString=function(){return"#"+bn(this.r)+bn(this.g)+bn(this.b)};var ua=ao.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});ua.forEach(function(n,t){ua.set(n,Mn(t))}),ao.functor=En,ao.xhr=An(m),ao.dsv=function(n,t){function e(n,e,u){arguments.length<3&&(u=e,e=null);var o=Cn(n,t,null==e?r:i(e),u);return o.row=function(n){return arguments.length?o.response(null==(e=n)?r:i(n)):e},o}function r(n){return e.parse(n.responseText)}function i(n){return function(t){return e.parse(t.responseText,n)}}function u(t){return t.map(o).join(n)}function o(n){return a.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}var a=new RegExp('["'+n+"\n]"),l=n.charCodeAt(0);return e.parse=function(n,t){var r;return e.parseRows(n,function(n,e){if(r)return r(n,e-1);var i=new Function("d","return {"+n.map(function(n,t){return JSON.stringify(n)+": d["+t+"]"}).join(",")+"}");r=t?function(n,e){return t(i(n),e)}:i})},e.parseRows=function(n,t){function e(){if(f>=c)return o;if(i)return i=!1,u;var t=f;if(34===n.charCodeAt(t)){for(var e=t;e++f;){var r=n.charCodeAt(f++),a=1;if(10===r)i=!0;else if(13===r)i=!0,10===n.charCodeAt(f)&&(++f,++a);else if(r!==l)continue;return n.slice(t,f-a)}return n.slice(t)}for(var r,i,u={},o={},a=[],c=n.length,f=0,s=0;(r=e())!==o;){for(var h=[];r!==u&&r!==o;)h.push(r),r=e();t&&null==(h=t(h,s++))||a.push(h)}return a},e.format=function(t){if(Array.isArray(t[0]))return e.formatRows(t);var r=new y,i=[];return t.forEach(function(n){for(var t in n)r.has(t)||i.push(r.add(t))}),[i.map(o).join(n)].concat(t.map(function(t){return i.map(function(n){return o(t[n])}).join(n)})).join("\n")},e.formatRows=function(n){return n.map(u).join("\n")},e},ao.csv=ao.dsv(",","text/csv"),ao.tsv=ao.dsv(" ","text/tab-separated-values");var oa,aa,la,ca,fa=this[x(this,"requestAnimationFrame")]||function(n){setTimeout(n,17)};ao.timer=function(){qn.apply(this,arguments)},ao.timer.flush=function(){Rn(),Dn()},ao.round=function(n,t){return t?Math.round(n*(t=Math.pow(10,t)))/t:Math.round(n)};var sa=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"].map(Un);ao.formatPrefix=function(n,t){var e=0;return(n=+n)&&(0>n&&(n*=-1),t&&(n=ao.round(n,Pn(n,t))),e=1+Math.floor(1e-12+Math.log(n)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((e-1)/3)))),sa[8+e/3]};var ha=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,pa=ao.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,t){return(n=ao.round(n,Pn(n,t))).toFixed(Math.max(0,Math.min(20,Pn(n*(1+1e-15),t))))}}),ga=ao.time={},va=Date;Hn.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){da.setUTCDate.apply(this._,arguments)},setDay:function(){da.setUTCDay.apply(this._,arguments)},setFullYear:function(){da.setUTCFullYear.apply(this._,arguments)},setHours:function(){da.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){da.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){da.setUTCMinutes.apply(this._,arguments)},setMonth:function(){da.setUTCMonth.apply(this._,arguments)},setSeconds:function(){da.setUTCSeconds.apply(this._,arguments)},setTime:function(){da.setTime.apply(this._,arguments)}};var da=Date.prototype;ga.year=On(function(n){return n=ga.day(n),n.setMonth(0,1),n},function(n,t){n.setFullYear(n.getFullYear()+t)},function(n){return n.getFullYear()}),ga.years=ga.year.range,ga.years.utc=ga.year.utc.range,ga.day=On(function(n){var t=new va(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t},function(n,t){n.setDate(n.getDate()+t)},function(n){return n.getDate()-1}),ga.days=ga.day.range,ga.days.utc=ga.day.utc.range,ga.dayOfYear=function(n){var t=ga.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(n,t){t=7-t;var e=ga[n]=On(function(n){return(n=ga.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n},function(n,t){n.setDate(n.getDate()+7*Math.floor(t))},function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)-(e!==t)});ga[n+"s"]=e.range,ga[n+"s"].utc=e.utc.range,ga[n+"OfYear"]=function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)}}),ga.week=ga.sunday,ga.weeks=ga.sunday.range,ga.weeks.utc=ga.sunday.utc.range,ga.weekOfYear=ga.sundayOfYear;var ya={"-":"",_:" ",0:"0"},ma=/^\s*\d+/,Ma=/^%/;ao.locale=function(n){return{numberFormat:jn(n),timeFormat:Yn(n)}};var xa=ao.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"], +shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});ao.format=xa.numberFormat,ao.geo={},ft.prototype={s:0,t:0,add:function(n){st(n,this.t,ba),st(ba.s,this.s,this),this.s?this.t+=ba.t:this.s=ba.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var ba=new ft;ao.geo.stream=function(n,t){n&&_a.hasOwnProperty(n.type)?_a[n.type](n,t):ht(n,t)};var _a={Feature:function(n,t){ht(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,i=e.length;++rn?4*Fo+n:n,Na.lineStart=Na.lineEnd=Na.point=b}};ao.geo.bounds=function(){function n(n,t){M.push(x=[f=n,h=n]),s>t&&(s=t),t>p&&(p=t)}function t(t,e){var r=dt([t*Yo,e*Yo]);if(y){var i=mt(y,r),u=[i[1],-i[0],0],o=mt(u,i);bt(o),o=_t(o);var l=t-g,c=l>0?1:-1,v=o[0]*Zo*c,d=xo(l)>180;if(d^(v>c*g&&c*t>v)){var m=o[1]*Zo;m>p&&(p=m)}else if(v=(v+360)%360-180,d^(v>c*g&&c*t>v)){var m=-o[1]*Zo;s>m&&(s=m)}else s>e&&(s=e),e>p&&(p=e);d?g>t?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t):h>=f?(f>t&&(f=t),t>h&&(h=t)):t>g?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t)}else n(t,e);y=r,g=t}function e(){b.point=t}function r(){x[0]=f,x[1]=h,b.point=n,y=null}function i(n,e){if(y){var r=n-g;m+=xo(r)>180?r+(r>0?360:-360):r}else v=n,d=e;Na.point(n,e),t(n,e)}function u(){Na.lineStart()}function o(){i(v,d),Na.lineEnd(),xo(m)>Uo&&(f=-(h=180)),x[0]=f,x[1]=h,y=null}function a(n,t){return(t-=n)<0?t+360:t}function l(n,t){return n[0]-t[0]}function c(n,t){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nka?(f=-(h=180),s=-(p=90)):m>Uo?p=90:-Uo>m&&(s=-90),x[0]=f,x[1]=h}};return function(n){p=h=-(f=s=1/0),M=[],ao.geo.stream(n,b);var t=M.length;if(t){M.sort(l);for(var e,r=1,i=M[0],u=[i];t>r;++r)e=M[r],c(e[0],i)||c(e[1],i)?(a(i[0],e[1])>a(i[0],i[1])&&(i[1]=e[1]),a(e[0],i[1])>a(i[0],i[1])&&(i[0]=e[0])):u.push(i=e);for(var o,e,g=-(1/0),t=u.length-1,r=0,i=u[t];t>=r;i=e,++r)e=u[r],(o=a(i[1],e[0]))>g&&(g=o,f=e[0],h=i[1])}return M=x=null,f===1/0||s===1/0?[[NaN,NaN],[NaN,NaN]]:[[f,s],[h,p]]}}(),ao.geo.centroid=function(n){Ea=Aa=Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,ja);var t=Da,e=Pa,r=Ua,i=t*t+e*e+r*r;return jo>i&&(t=qa,e=Ta,r=Ra,Uo>Aa&&(t=Ca,e=za,r=La),i=t*t+e*e+r*r,jo>i)?[NaN,NaN]:[Math.atan2(e,t)*Zo,tn(r/Math.sqrt(i))*Zo]};var Ea,Aa,Ca,za,La,qa,Ta,Ra,Da,Pa,Ua,ja={sphere:b,point:St,lineStart:Nt,lineEnd:Et,polygonStart:function(){ja.lineStart=At},polygonEnd:function(){ja.lineStart=Nt}},Fa=Rt(zt,jt,Ht,[-Fo,-Fo/2]),Ha=1e9;ao.geo.clipExtent=function(){var n,t,e,r,i,u,o={stream:function(n){return i&&(i.valid=!1),i=u(n),i.valid=!0,i},extent:function(a){return arguments.length?(u=Zt(n=+a[0][0],t=+a[0][1],e=+a[1][0],r=+a[1][1]),i&&(i.valid=!1,i=null),o):[[n,t],[e,r]]}};return o.extent([[0,0],[960,500]])},(ao.geo.conicEqualArea=function(){return Vt(Xt)}).raw=Xt,ao.geo.albers=function(){return ao.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},ao.geo.albersUsa=function(){function n(n){var u=n[0],o=n[1];return t=null,e(u,o),t||(r(u,o),t)||i(u,o),t}var t,e,r,i,u=ao.geo.albers(),o=ao.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=ao.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(n,e){t=[n,e]}};return n.invert=function(n){var t=u.scale(),e=u.translate(),r=(n[0]-e[0])/t,i=(n[1]-e[1])/t;return(i>=.12&&.234>i&&r>=-.425&&-.214>r?o:i>=.166&&.234>i&&r>=-.214&&-.115>r?a:u).invert(n)},n.stream=function(n){var t=u.stream(n),e=o.stream(n),r=a.stream(n);return{point:function(n,i){t.point(n,i),e.point(n,i),r.point(n,i)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},n.precision=function(t){return arguments.length?(u.precision(t),o.precision(t),a.precision(t),n):u.precision()},n.scale=function(t){return arguments.length?(u.scale(t),o.scale(.35*t),a.scale(t),n.translate(u.translate())):u.scale()},n.translate=function(t){if(!arguments.length)return u.translate();var c=u.scale(),f=+t[0],s=+t[1];return e=u.translate(t).clipExtent([[f-.455*c,s-.238*c],[f+.455*c,s+.238*c]]).stream(l).point,r=o.translate([f-.307*c,s+.201*c]).clipExtent([[f-.425*c+Uo,s+.12*c+Uo],[f-.214*c-Uo,s+.234*c-Uo]]).stream(l).point,i=a.translate([f-.205*c,s+.212*c]).clipExtent([[f-.214*c+Uo,s+.166*c+Uo],[f-.115*c-Uo,s+.234*c-Uo]]).stream(l).point,n},n.scale(1070)};var Oa,Ia,Ya,Za,Va,Xa,$a={point:b,lineStart:b,lineEnd:b,polygonStart:function(){Ia=0,$a.lineStart=$t},polygonEnd:function(){$a.lineStart=$a.lineEnd=$a.point=b,Oa+=xo(Ia/2)}},Ba={point:Bt,lineStart:b,lineEnd:b,polygonStart:b,polygonEnd:b},Wa={point:Gt,lineStart:Kt,lineEnd:Qt,polygonStart:function(){Wa.lineStart=ne},polygonEnd:function(){Wa.point=Gt,Wa.lineStart=Kt,Wa.lineEnd=Qt}};ao.geo.path=function(){function n(n){return n&&("function"==typeof a&&u.pointRadius(+a.apply(this,arguments)),o&&o.valid||(o=i(u)),ao.geo.stream(n,o)),u.result()}function t(){return o=null,n}var e,r,i,u,o,a=4.5;return n.area=function(n){return Oa=0,ao.geo.stream(n,i($a)),Oa},n.centroid=function(n){return Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,i(Wa)),Ua?[Da/Ua,Pa/Ua]:Ra?[qa/Ra,Ta/Ra]:La?[Ca/La,za/La]:[NaN,NaN]},n.bounds=function(n){return Va=Xa=-(Ya=Za=1/0),ao.geo.stream(n,i(Ba)),[[Ya,Za],[Va,Xa]]},n.projection=function(n){return arguments.length?(i=(e=n)?n.stream||re(n):m,t()):e},n.context=function(n){return arguments.length?(u=null==(r=n)?new Wt:new te(n),"function"!=typeof a&&u.pointRadius(a),t()):r},n.pointRadius=function(t){return arguments.length?(a="function"==typeof t?t:(u.pointRadius(+t),+t),n):a},n.projection(ao.geo.albersUsa()).context(null)},ao.geo.transform=function(n){return{stream:function(t){var e=new ie(t);for(var r in n)e[r]=n[r];return e}}},ie.prototype={point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},ao.geo.projection=oe,ao.geo.projectionMutator=ae,(ao.geo.equirectangular=function(){return oe(ce)}).raw=ce.invert=ce,ao.geo.rotation=function(n){function t(t){return t=n(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t}return n=se(n[0]%360*Yo,n[1]*Yo,n.length>2?n[2]*Yo:0),t.invert=function(t){return t=n.invert(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t},t},fe.invert=ce,ao.geo.circle=function(){function n(){var n="function"==typeof r?r.apply(this,arguments):r,t=se(-n[0]*Yo,-n[1]*Yo,0).invert,i=[];return e(null,null,1,{point:function(n,e){i.push(n=t(n,e)),n[0]*=Zo,n[1]*=Zo}}),{type:"Polygon",coordinates:[i]}}var t,e,r=[0,0],i=6;return n.origin=function(t){return arguments.length?(r=t,n):r},n.angle=function(r){return arguments.length?(e=ve((t=+r)*Yo,i*Yo),n):t},n.precision=function(r){return arguments.length?(e=ve(t*Yo,(i=+r)*Yo),n):i},n.angle(90)},ao.geo.distance=function(n,t){var e,r=(t[0]-n[0])*Yo,i=n[1]*Yo,u=t[1]*Yo,o=Math.sin(r),a=Math.cos(r),l=Math.sin(i),c=Math.cos(i),f=Math.sin(u),s=Math.cos(u);return Math.atan2(Math.sqrt((e=s*o)*e+(e=c*f-l*s*a)*e),l*f+c*s*a)},ao.geo.graticule=function(){function n(){return{type:"MultiLineString",coordinates:t()}}function t(){return ao.range(Math.ceil(u/d)*d,i,d).map(h).concat(ao.range(Math.ceil(c/y)*y,l,y).map(p)).concat(ao.range(Math.ceil(r/g)*g,e,g).filter(function(n){return xo(n%d)>Uo}).map(f)).concat(ao.range(Math.ceil(a/v)*v,o,v).filter(function(n){return xo(n%y)>Uo}).map(s))}var e,r,i,u,o,a,l,c,f,s,h,p,g=10,v=g,d=90,y=360,m=2.5;return n.lines=function(){return t().map(function(n){return{type:"LineString",coordinates:n}})},n.outline=function(){return{type:"Polygon",coordinates:[h(u).concat(p(l).slice(1),h(i).reverse().slice(1),p(c).reverse().slice(1))]}},n.extent=function(t){return arguments.length?n.majorExtent(t).minorExtent(t):n.minorExtent()},n.majorExtent=function(t){return arguments.length?(u=+t[0][0],i=+t[1][0],c=+t[0][1],l=+t[1][1],u>i&&(t=u,u=i,i=t),c>l&&(t=c,c=l,l=t),n.precision(m)):[[u,c],[i,l]]},n.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],o=+t[1][1],r>e&&(t=r,r=e,e=t),a>o&&(t=a,a=o,o=t),n.precision(m)):[[r,a],[e,o]]},n.step=function(t){return arguments.length?n.majorStep(t).minorStep(t):n.minorStep()},n.majorStep=function(t){return arguments.length?(d=+t[0],y=+t[1],n):[d,y]},n.minorStep=function(t){return arguments.length?(g=+t[0],v=+t[1],n):[g,v]},n.precision=function(t){return arguments.length?(m=+t,f=ye(a,o,90),s=me(r,e,m),h=ye(c,l,90),p=me(u,i,m),n):m},n.majorExtent([[-180,-90+Uo],[180,90-Uo]]).minorExtent([[-180,-80-Uo],[180,80+Uo]])},ao.geo.greatArc=function(){function n(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),e||i.apply(this,arguments)]}}var t,e,r=Me,i=xe;return n.distance=function(){return ao.geo.distance(t||r.apply(this,arguments),e||i.apply(this,arguments))},n.source=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,n):r},n.target=function(t){return arguments.length?(i=t,e="function"==typeof t?null:t,n):i},n.precision=function(){return arguments.length?n:0},n},ao.geo.interpolate=function(n,t){return be(n[0]*Yo,n[1]*Yo,t[0]*Yo,t[1]*Yo)},ao.geo.length=function(n){return Ja=0,ao.geo.stream(n,Ga),Ja};var Ja,Ga={sphere:b,point:b,lineStart:_e,lineEnd:b,polygonStart:b,polygonEnd:b},Ka=we(function(n){return Math.sqrt(2/(1+n))},function(n){return 2*Math.asin(n/2)});(ao.geo.azimuthalEqualArea=function(){return oe(Ka)}).raw=Ka;var Qa=we(function(n){var t=Math.acos(n);return t&&t/Math.sin(t)},m);(ao.geo.azimuthalEquidistant=function(){return oe(Qa)}).raw=Qa,(ao.geo.conicConformal=function(){return Vt(Se)}).raw=Se,(ao.geo.conicEquidistant=function(){return Vt(ke)}).raw=ke;var nl=we(function(n){return 1/n},Math.atan);(ao.geo.gnomonic=function(){return oe(nl)}).raw=nl,Ne.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Io]},(ao.geo.mercator=function(){return Ee(Ne)}).raw=Ne;var tl=we(function(){return 1},Math.asin);(ao.geo.orthographic=function(){return oe(tl)}).raw=tl;var el=we(function(n){return 1/(1+n)},function(n){return 2*Math.atan(n)});(ao.geo.stereographic=function(){return oe(el)}).raw=el,Ae.invert=function(n,t){return[-t,2*Math.atan(Math.exp(n))-Io]},(ao.geo.transverseMercator=function(){var n=Ee(Ae),t=n.center,e=n.rotate;return n.center=function(n){return n?t([-n[1],n[0]]):(n=t(),[n[1],-n[0]])},n.rotate=function(n){return n?e([n[0],n[1],n.length>2?n[2]+90:90]):(n=e(),[n[0],n[1],n[2]-90])},e([0,0,90])}).raw=Ae,ao.geom={},ao.geom.hull=function(n){function t(n){if(n.length<3)return[];var t,i=En(e),u=En(r),o=n.length,a=[],l=[];for(t=0;o>t;t++)a.push([+i.call(this,n[t],t),+u.call(this,n[t],t),t]);for(a.sort(qe),t=0;o>t;t++)l.push([a[t][0],-a[t][1]]);var c=Le(a),f=Le(l),s=f[0]===c[0],h=f[f.length-1]===c[c.length-1],p=[];for(t=c.length-1;t>=0;--t)p.push(n[a[c[t]][2]]);for(t=+s;t=r&&c.x<=u&&c.y>=i&&c.y<=o?[[r,o],[u,o],[u,i],[r,i]]:[];f.point=n[a]}),t}function e(n){return n.map(function(n,t){return{x:Math.round(u(n,t)/Uo)*Uo,y:Math.round(o(n,t)/Uo)*Uo,i:t}})}var r=Ce,i=ze,u=r,o=i,a=sl;return n?t(n):(t.links=function(n){return ar(e(n)).edges.filter(function(n){return n.l&&n.r}).map(function(t){return{source:n[t.l.i],target:n[t.r.i]}})},t.triangles=function(n){var t=[];return ar(e(n)).cells.forEach(function(e,r){for(var i,u,o=e.site,a=e.edges.sort(Ve),l=-1,c=a.length,f=a[c-1].edge,s=f.l===o?f.r:f.l;++l=c,h=r>=f,p=h<<1|s;n.leaf=!1,n=n.nodes[p]||(n.nodes[p]=hr()),s?i=c:a=c,h?o=f:l=f,u(n,t,e,r,i,o,a,l)}var f,s,h,p,g,v,d,y,m,M=En(a),x=En(l);if(null!=t)v=t,d=e,y=r,m=i;else if(y=m=-(v=d=1/0),s=[],h=[],g=n.length,o)for(p=0;g>p;++p)f=n[p],f.xy&&(y=f.x),f.y>m&&(m=f.y),s.push(f.x),h.push(f.y);else for(p=0;g>p;++p){var b=+M(f=n[p],p),_=+x(f,p);v>b&&(v=b),d>_&&(d=_),b>y&&(y=b),_>m&&(m=_),s.push(b),h.push(_)}var w=y-v,S=m-d;w>S?m=d+w:y=v+S;var k=hr();if(k.add=function(n){u(k,n,+M(n,++p),+x(n,p),v,d,y,m)},k.visit=function(n){pr(n,k,v,d,y,m)},k.find=function(n){return gr(k,n[0],n[1],v,d,y,m)},p=-1,null==t){for(;++p=0?n.slice(0,t):n,r=t>=0?n.slice(t+1):"in";return e=vl.get(e)||gl,r=dl.get(r)||m,br(r(e.apply(null,lo.call(arguments,1))))},ao.interpolateHcl=Rr,ao.interpolateHsl=Dr,ao.interpolateLab=Pr,ao.interpolateRound=Ur,ao.transform=function(n){var t=fo.createElementNS(ao.ns.prefix.svg,"g");return(ao.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new jr(e?e.matrix:yl)})(n)},jr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var yl={a:1,b:0,c:0,d:1,e:0,f:0};ao.interpolateTransform=$r,ao.layout={},ao.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++ea*a/y){if(v>l){var c=t.charge/l;n.px-=u*c,n.py-=o*c}return!0}if(t.point&&l&&v>l){var c=t.pointCharge/l;n.px-=u*c,n.py-=o*c}}return!t.charge}}function t(n){n.px=ao.event.x,n.py=ao.event.y,l.resume()}var e,r,i,u,o,a,l={},c=ao.dispatch("start","tick","end"),f=[1,1],s=.9,h=ml,p=Ml,g=-30,v=xl,d=.1,y=.64,M=[],x=[];return l.tick=function(){if((i*=.99)<.005)return e=null,c.end({type:"end",alpha:i=0}),!0;var t,r,l,h,p,v,y,m,b,_=M.length,w=x.length;for(r=0;w>r;++r)l=x[r],h=l.source,p=l.target,m=p.x-h.x,b=p.y-h.y,(v=m*m+b*b)&&(v=i*o[r]*((v=Math.sqrt(v))-u[r])/v,m*=v,b*=v,p.x-=m*(y=h.weight+p.weight?h.weight/(h.weight+p.weight):.5),p.y-=b*y,h.x+=m*(y=1-y),h.y+=b*y);if((y=i*d)&&(m=f[0]/2,b=f[1]/2,r=-1,y))for(;++r<_;)l=M[r],l.x+=(m-l.x)*y,l.y+=(b-l.y)*y;if(g)for(ri(t=ao.geom.quadtree(M),i,a),r=-1;++r<_;)(l=M[r]).fixed||t.visit(n(l));for(r=-1;++r<_;)l=M[r],l.fixed?(l.x=l.px,l.y=l.py):(l.x-=(l.px-(l.px=l.x))*s,l.y-=(l.py-(l.py=l.y))*s);c.tick({type:"tick",alpha:i})},l.nodes=function(n){return arguments.length?(M=n,l):M},l.links=function(n){return arguments.length?(x=n,l):x},l.size=function(n){return arguments.length?(f=n,l):f},l.linkDistance=function(n){return arguments.length?(h="function"==typeof n?n:+n,l):h},l.distance=l.linkDistance,l.linkStrength=function(n){return arguments.length?(p="function"==typeof n?n:+n,l):p},l.friction=function(n){return arguments.length?(s=+n,l):s},l.charge=function(n){return arguments.length?(g="function"==typeof n?n:+n,l):g},l.chargeDistance=function(n){return arguments.length?(v=n*n,l):Math.sqrt(v)},l.gravity=function(n){return arguments.length?(d=+n,l):d},l.theta=function(n){return arguments.length?(y=n*n,l):Math.sqrt(y)},l.alpha=function(n){return arguments.length?(n=+n,i?n>0?i=n:(e.c=null,e.t=NaN,e=null,c.end({type:"end",alpha:i=0})):n>0&&(c.start({type:"start",alpha:i=n}),e=qn(l.tick)),l):i},l.start=function(){function n(n,r){if(!e){for(e=new Array(i),l=0;i>l;++l)e[l]=[];for(l=0;c>l;++l){var u=x[l];e[u.source.index].push(u.target),e[u.target.index].push(u.source)}}for(var o,a=e[t],l=-1,f=a.length;++lt;++t)(r=M[t]).index=t,r.weight=0;for(t=0;c>t;++t)r=x[t],"number"==typeof r.source&&(r.source=M[r.source]),"number"==typeof r.target&&(r.target=M[r.target]),++r.source.weight,++r.target.weight;for(t=0;i>t;++t)r=M[t],isNaN(r.x)&&(r.x=n("x",s)),isNaN(r.y)&&(r.y=n("y",v)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(u=[],"function"==typeof h)for(t=0;c>t;++t)u[t]=+h.call(this,x[t],t);else for(t=0;c>t;++t)u[t]=h;if(o=[],"function"==typeof p)for(t=0;c>t;++t)o[t]=+p.call(this,x[t],t);else for(t=0;c>t;++t)o[t]=p;if(a=[],"function"==typeof g)for(t=0;i>t;++t)a[t]=+g.call(this,M[t],t);else for(t=0;i>t;++t)a[t]=g;return l.resume()},l.resume=function(){return l.alpha(.1)},l.stop=function(){return l.alpha(0)},l.drag=function(){return r||(r=ao.behavior.drag().origin(m).on("dragstart.force",Qr).on("drag.force",t).on("dragend.force",ni)),arguments.length?void this.on("mouseover.force",ti).on("mouseout.force",ei).call(r):r},ao.rebind(l,c,"on")};var ml=20,Ml=1,xl=1/0;ao.layout.hierarchy=function(){function n(i){var u,o=[i],a=[];for(i.depth=0;null!=(u=o.pop());)if(a.push(u),(c=e.call(n,u,u.depth))&&(l=c.length)){for(var l,c,f;--l>=0;)o.push(f=c[l]),f.parent=u,f.depth=u.depth+1;r&&(u.value=0),u.children=c}else r&&(u.value=+r.call(n,u,u.depth)||0),delete u.children;return oi(i,function(n){var e,i;t&&(e=n.children)&&e.sort(t),r&&(i=n.parent)&&(i.value+=n.value)}),a}var t=ci,e=ai,r=li;return n.sort=function(e){return arguments.length?(t=e,n):t},n.children=function(t){return arguments.length?(e=t,n):e},n.value=function(t){return arguments.length?(r=t,n):r},n.revalue=function(t){return r&&(ui(t,function(n){n.children&&(n.value=0)}),oi(t,function(t){var e;t.children||(t.value=+r.call(n,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)})),t},n},ao.layout.partition=function(){function n(t,e,r,i){var u=t.children;if(t.x=e,t.y=t.depth*i,t.dx=r,t.dy=i,u&&(o=u.length)){var o,a,l,c=-1;for(r=t.value?r/t.value:0;++cs?-1:1),g=ao.sum(c),v=g?(s-l*p)/g:0,d=ao.range(l),y=[];return null!=e&&d.sort(e===bl?function(n,t){return c[t]-c[n]}:function(n,t){return e(o[n],o[t])}),d.forEach(function(n){y[n]={data:o[n],value:a=c[n],startAngle:f,endAngle:f+=a*v+p,padAngle:h}}),y}var t=Number,e=bl,r=0,i=Ho,u=0;return n.value=function(e){return arguments.length?(t=e,n):t},n.sort=function(t){return arguments.length?(e=t,n):e},n.startAngle=function(t){return arguments.length?(r=t,n):r},n.endAngle=function(t){return arguments.length?(i=t,n):i},n.padAngle=function(t){return arguments.length?(u=t,n):u},n};var bl={};ao.layout.stack=function(){function n(a,l){if(!(h=a.length))return a;var c=a.map(function(e,r){return t.call(n,e,r)}),f=c.map(function(t){return t.map(function(t,e){return[u.call(n,t,e),o.call(n,t,e)]})}),s=e.call(n,f,l);c=ao.permute(c,s),f=ao.permute(f,s);var h,p,g,v,d=r.call(n,f,l),y=c[0].length;for(g=0;y>g;++g)for(i.call(n,c[0][g],v=d[g],f[0][g][1]),p=1;h>p;++p)i.call(n,c[p][g],v+=f[p-1][g][1],f[p][g][1]);return a}var t=m,e=gi,r=vi,i=pi,u=si,o=hi;return n.values=function(e){return arguments.length?(t=e,n):t},n.order=function(t){return arguments.length?(e="function"==typeof t?t:_l.get(t)||gi,n):e},n.offset=function(t){return arguments.length?(r="function"==typeof t?t:wl.get(t)||vi,n):r},n.x=function(t){return arguments.length?(u=t,n):u},n.y=function(t){return arguments.length?(o=t,n):o},n.out=function(t){return arguments.length?(i=t,n):i},n};var _l=ao.map({"inside-out":function(n){var t,e,r=n.length,i=n.map(di),u=n.map(yi),o=ao.range(r).sort(function(n,t){return i[n]-i[t]}),a=0,l=0,c=[],f=[];for(t=0;r>t;++t)e=o[t],l>a?(a+=u[e],c.push(e)):(l+=u[e],f.push(e));return f.reverse().concat(c)},reverse:function(n){return ao.range(n.length).reverse()},"default":gi}),wl=ao.map({silhouette:function(n){var t,e,r,i=n.length,u=n[0].length,o=[],a=0,l=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];r>a&&(a=r),o.push(r)}for(e=0;u>e;++e)l[e]=(a-o[e])/2;return l},wiggle:function(n){var t,e,r,i,u,o,a,l,c,f=n.length,s=n[0],h=s.length,p=[];for(p[0]=l=c=0,e=1;h>e;++e){for(t=0,i=0;f>t;++t)i+=n[t][e][1];for(t=0,u=0,a=s[e][0]-s[e-1][0];f>t;++t){for(r=0,o=(n[t][e][1]-n[t][e-1][1])/(2*a);t>r;++r)o+=(n[r][e][1]-n[r][e-1][1])/a;u+=o*n[t][e][1]}p[e]=l-=i?u/i*a:0,c>l&&(c=l)}for(e=0;h>e;++e)p[e]-=c;return p},expand:function(n){var t,e,r,i=n.length,u=n[0].length,o=1/i,a=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];if(r)for(t=0;i>t;t++)n[t][e][1]/=r;else for(t=0;i>t;t++)n[t][e][1]=o}for(e=0;u>e;++e)a[e]=0;return a},zero:vi});ao.layout.histogram=function(){function n(n,u){for(var o,a,l=[],c=n.map(e,this),f=r.call(this,c,u),s=i.call(this,f,c,u),u=-1,h=c.length,p=s.length-1,g=t?1:1/h;++u0)for(u=-1;++u=f[0]&&a<=f[1]&&(o=l[ao.bisect(s,a,1,p)-1],o.y+=g,o.push(n[u]));return l}var t=!0,e=Number,r=bi,i=Mi;return n.value=function(t){return arguments.length?(e=t,n):e},n.range=function(t){return arguments.length?(r=En(t),n):r},n.bins=function(t){return arguments.length?(i="number"==typeof t?function(n){return xi(n,t)}:En(t),n):i},n.frequency=function(e){return arguments.length?(t=!!e,n):t},n},ao.layout.pack=function(){function n(n,u){var o=e.call(this,n,u),a=o[0],l=i[0],c=i[1],f=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(a.x=a.y=0,oi(a,function(n){n.r=+f(n.value)}),oi(a,Ni),r){var s=r*(t?1:Math.max(2*a.r/l,2*a.r/c))/2;oi(a,function(n){n.r+=s}),oi(a,Ni),oi(a,function(n){n.r-=s})}return Ci(a,l/2,c/2,t?1:1/Math.max(2*a.r/l,2*a.r/c)),o}var t,e=ao.layout.hierarchy().sort(_i),r=0,i=[1,1];return n.size=function(t){return arguments.length?(i=t,n):i},n.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,n):t},n.padding=function(t){return arguments.length?(r=+t,n):r},ii(n,e)},ao.layout.tree=function(){function n(n,i){var f=o.call(this,n,i),s=f[0],h=t(s);if(oi(h,e),h.parent.m=-h.z,ui(h,r),c)ui(s,u);else{var p=s,g=s,v=s;ui(s,function(n){n.xg.x&&(g=n),n.depth>v.depth&&(v=n)});var d=a(p,g)/2-p.x,y=l[0]/(g.x+a(g,p)/2+d),m=l[1]/(v.depth||1);ui(s,function(n){n.x=(n.x+d)*y,n.y=n.depth*m})}return f}function t(n){for(var t,e={A:null,children:[n]},r=[e];null!=(t=r.pop());)for(var i,u=t.children,o=0,a=u.length;a>o;++o)r.push((u[o]=i={_:u[o],parent:t,children:(i=u[o].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=i);return e.children[0]}function e(n){var t=n.children,e=n.parent.children,r=n.i?e[n.i-1]:null;if(t.length){Di(n);var u=(t[0].z+t[t.length-1].z)/2;r?(n.z=r.z+a(n._,r._),n.m=n.z-u):n.z=u}else r&&(n.z=r.z+a(n._,r._));n.parent.A=i(n,r,n.parent.A||e[0])}function r(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function i(n,t,e){if(t){for(var r,i=n,u=n,o=t,l=i.parent.children[0],c=i.m,f=u.m,s=o.m,h=l.m;o=Ti(o),i=qi(i),o&&i;)l=qi(l),u=Ti(u),u.a=n,r=o.z+s-i.z-c+a(o._,i._),r>0&&(Ri(Pi(o,n,e),n,r),c+=r,f+=r),s+=o.m,c+=i.m,h+=l.m,f+=u.m;o&&!Ti(u)&&(u.t=o,u.m+=s-f),i&&!qi(l)&&(l.t=i,l.m+=c-h,e=n)}return e}function u(n){n.x*=l[0],n.y=n.depth*l[1]}var o=ao.layout.hierarchy().sort(null).value(null),a=Li,l=[1,1],c=null;return n.separation=function(t){return arguments.length?(a=t,n):a},n.size=function(t){return arguments.length?(c=null==(l=t)?u:null,n):c?null:l},n.nodeSize=function(t){return arguments.length?(c=null==(l=t)?null:u,n):c?l:null},ii(n,o)},ao.layout.cluster=function(){function n(n,u){var o,a=t.call(this,n,u),l=a[0],c=0;oi(l,function(n){var t=n.children;t&&t.length?(n.x=ji(t),n.y=Ui(t)):(n.x=o?c+=e(n,o):0,n.y=0,o=n)});var f=Fi(l),s=Hi(l),h=f.x-e(f,s)/2,p=s.x+e(s,f)/2;return oi(l,i?function(n){n.x=(n.x-l.x)*r[0],n.y=(l.y-n.y)*r[1]}:function(n){n.x=(n.x-h)/(p-h)*r[0],n.y=(1-(l.y?n.y/l.y:1))*r[1]}),a}var t=ao.layout.hierarchy().sort(null).value(null),e=Li,r=[1,1],i=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(i=null==(r=t),n):i?null:r},n.nodeSize=function(t){return arguments.length?(i=null!=(r=t),n):i?r:null},ii(n,t)},ao.layout.treemap=function(){function n(n,t){for(var e,r,i=-1,u=n.length;++it?0:t),e.area=isNaN(r)||0>=r?0:r}function t(e){var u=e.children;if(u&&u.length){var o,a,l,c=s(e),f=[],h=u.slice(),g=1/0,v="slice"===p?c.dx:"dice"===p?c.dy:"slice-dice"===p?1&e.depth?c.dy:c.dx:Math.min(c.dx,c.dy);for(n(h,c.dx*c.dy/e.value),f.area=0;(l=h.length)>0;)f.push(o=h[l-1]),f.area+=o.area,"squarify"!==p||(a=r(f,v))<=g?(h.pop(),g=a):(f.area-=f.pop().area,i(f,v,c,!1),v=Math.min(c.dx,c.dy),f.length=f.area=0,g=1/0);f.length&&(i(f,v,c,!0),f.length=f.area=0),u.forEach(t)}}function e(t){var r=t.children;if(r&&r.length){var u,o=s(t),a=r.slice(),l=[];for(n(a,o.dx*o.dy/t.value),l.area=0;u=a.pop();)l.push(u),l.area+=u.area,null!=u.z&&(i(l,u.z?o.dx:o.dy,o,!a.length),l.length=l.area=0);r.forEach(e)}}function r(n,t){for(var e,r=n.area,i=0,u=1/0,o=-1,a=n.length;++oe&&(u=e),e>i&&(i=e));return r*=r,t*=t,r?Math.max(t*i*g/r,r/(t*u*g)):1/0}function i(n,t,e,r){var i,u=-1,o=n.length,a=e.x,c=e.y,f=t?l(n.area/t):0; +if(t==e.dx){for((r||f>e.dy)&&(f=e.dy);++ue.dx)&&(f=e.dx);++ue&&(t=1),1>e&&(n=0),function(){var e,r,i;do e=2*Math.random()-1,r=2*Math.random()-1,i=e*e+r*r;while(!i||i>1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var n=ao.random.normal.apply(ao,arguments);return function(){return Math.exp(n())}},bates:function(n){var t=ao.random.irwinHall(n);return function(){return t()/n}},irwinHall:function(n){return function(){for(var t=0,e=0;n>e;e++)t+=Math.random();return t}}},ao.scale={};var Sl={floor:m,ceil:m};ao.scale.linear=function(){return Wi([0,1],[0,1],Mr,!1)};var kl={s:1,g:1,p:1,r:1,e:1};ao.scale.log=function(){return ru(ao.scale.linear().domain([0,1]),10,!0,[1,10])};var Nl=ao.format(".0e"),El={floor:function(n){return-Math.ceil(-n)},ceil:function(n){return-Math.floor(-n)}};ao.scale.pow=function(){return iu(ao.scale.linear(),1,[0,1])},ao.scale.sqrt=function(){return ao.scale.pow().exponent(.5)},ao.scale.ordinal=function(){return ou([],{t:"range",a:[[]]})},ao.scale.category10=function(){return ao.scale.ordinal().range(Al)},ao.scale.category20=function(){return ao.scale.ordinal().range(Cl)},ao.scale.category20b=function(){return ao.scale.ordinal().range(zl)},ao.scale.category20c=function(){return ao.scale.ordinal().range(Ll)};var Al=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(xn),Cl=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(xn),zl=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(xn),Ll=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(xn);ao.scale.quantile=function(){return au([],[])},ao.scale.quantize=function(){return lu(0,1,[0,1])},ao.scale.threshold=function(){return cu([.5],[0,1])},ao.scale.identity=function(){return fu([0,1])},ao.svg={},ao.svg.arc=function(){function n(){var n=Math.max(0,+e.apply(this,arguments)),c=Math.max(0,+r.apply(this,arguments)),f=o.apply(this,arguments)-Io,s=a.apply(this,arguments)-Io,h=Math.abs(s-f),p=f>s?0:1;if(n>c&&(g=c,c=n,n=g),h>=Oo)return t(c,p)+(n?t(n,1-p):"")+"Z";var g,v,d,y,m,M,x,b,_,w,S,k,N=0,E=0,A=[];if((y=(+l.apply(this,arguments)||0)/2)&&(d=u===ql?Math.sqrt(n*n+c*c):+u.apply(this,arguments),p||(E*=-1),c&&(E=tn(d/c*Math.sin(y))),n&&(N=tn(d/n*Math.sin(y)))),c){m=c*Math.cos(f+E),M=c*Math.sin(f+E),x=c*Math.cos(s-E),b=c*Math.sin(s-E);var C=Math.abs(s-f-2*E)<=Fo?0:1;if(E&&yu(m,M,x,b)===p^C){var z=(f+s)/2;m=c*Math.cos(z),M=c*Math.sin(z),x=b=null}}else m=M=0;if(n){_=n*Math.cos(s-N),w=n*Math.sin(s-N),S=n*Math.cos(f+N),k=n*Math.sin(f+N);var L=Math.abs(f-s+2*N)<=Fo?0:1;if(N&&yu(_,w,S,k)===1-p^L){var q=(f+s)/2;_=n*Math.cos(q),w=n*Math.sin(q),S=k=null}}else _=w=0;if(h>Uo&&(g=Math.min(Math.abs(c-n)/2,+i.apply(this,arguments)))>.001){v=c>n^p?0:1;var T=g,R=g;if(Fo>h){var D=null==S?[_,w]:null==x?[m,M]:Re([m,M],[S,k],[x,b],[_,w]),P=m-D[0],U=M-D[1],j=x-D[0],F=b-D[1],H=1/Math.sin(Math.acos((P*j+U*F)/(Math.sqrt(P*P+U*U)*Math.sqrt(j*j+F*F)))/2),O=Math.sqrt(D[0]*D[0]+D[1]*D[1]);R=Math.min(g,(n-O)/(H-1)),T=Math.min(g,(c-O)/(H+1))}if(null!=x){var I=mu(null==S?[_,w]:[S,k],[m,M],c,T,p),Y=mu([x,b],[_,w],c,T,p);g===T?A.push("M",I[0],"A",T,",",T," 0 0,",v," ",I[1],"A",c,",",c," 0 ",1-p^yu(I[1][0],I[1][1],Y[1][0],Y[1][1]),",",p," ",Y[1],"A",T,",",T," 0 0,",v," ",Y[0]):A.push("M",I[0],"A",T,",",T," 0 1,",v," ",Y[0])}else A.push("M",m,",",M);if(null!=S){var Z=mu([m,M],[S,k],n,-R,p),V=mu([_,w],null==x?[m,M]:[x,b],n,-R,p);g===R?A.push("L",V[0],"A",R,",",R," 0 0,",v," ",V[1],"A",n,",",n," 0 ",p^yu(V[1][0],V[1][1],Z[1][0],Z[1][1]),",",1-p," ",Z[1],"A",R,",",R," 0 0,",v," ",Z[0]):A.push("L",V[0],"A",R,",",R," 0 0,",v," ",Z[0])}else A.push("L",_,",",w)}else A.push("M",m,",",M),null!=x&&A.push("A",c,",",c," 0 ",C,",",p," ",x,",",b),A.push("L",_,",",w),null!=S&&A.push("A",n,",",n," 0 ",L,",",1-p," ",S,",",k);return A.push("Z"),A.join("")}function t(n,t){return"M0,"+n+"A"+n+","+n+" 0 1,"+t+" 0,"+-n+"A"+n+","+n+" 0 1,"+t+" 0,"+n}var e=hu,r=pu,i=su,u=ql,o=gu,a=vu,l=du;return n.innerRadius=function(t){return arguments.length?(e=En(t),n):e},n.outerRadius=function(t){return arguments.length?(r=En(t),n):r},n.cornerRadius=function(t){return arguments.length?(i=En(t),n):i},n.padRadius=function(t){return arguments.length?(u=t==ql?ql:En(t),n):u},n.startAngle=function(t){return arguments.length?(o=En(t),n):o},n.endAngle=function(t){return arguments.length?(a=En(t),n):a},n.padAngle=function(t){return arguments.length?(l=En(t),n):l},n.centroid=function(){var n=(+e.apply(this,arguments)+ +r.apply(this,arguments))/2,t=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-Io;return[Math.cos(t)*n,Math.sin(t)*n]},n};var ql="auto";ao.svg.line=function(){return Mu(m)};var Tl=ao.map({linear:xu,"linear-closed":bu,step:_u,"step-before":wu,"step-after":Su,basis:zu,"basis-open":Lu,"basis-closed":qu,bundle:Tu,cardinal:Eu,"cardinal-open":ku,"cardinal-closed":Nu,monotone:Fu});Tl.forEach(function(n,t){t.key=n,t.closed=/-closed$/.test(n)});var Rl=[0,2/3,1/3,0],Dl=[0,1/3,2/3,0],Pl=[0,1/6,2/3,1/6];ao.svg.line.radial=function(){var n=Mu(Hu);return n.radius=n.x,delete n.x,n.angle=n.y,delete n.y,n},wu.reverse=Su,Su.reverse=wu,ao.svg.area=function(){return Ou(m)},ao.svg.area.radial=function(){var n=Ou(Hu);return n.radius=n.x,delete n.x,n.innerRadius=n.x0,delete n.x0,n.outerRadius=n.x1,delete n.x1,n.angle=n.y,delete n.y,n.startAngle=n.y0,delete n.y0,n.endAngle=n.y1,delete n.y1,n},ao.svg.chord=function(){function n(n,a){var l=t(this,u,n,a),c=t(this,o,n,a);return"M"+l.p0+r(l.r,l.p1,l.a1-l.a0)+(e(l,c)?i(l.r,l.p1,l.r,l.p0):i(l.r,l.p1,c.r,c.p0)+r(c.r,c.p1,c.a1-c.a0)+i(c.r,c.p1,l.r,l.p0))+"Z"}function t(n,t,e,r){var i=t.call(n,e,r),u=a.call(n,i,r),o=l.call(n,i,r)-Io,f=c.call(n,i,r)-Io;return{r:u,a0:o,a1:f,p0:[u*Math.cos(o),u*Math.sin(o)],p1:[u*Math.cos(f),u*Math.sin(f)]}}function e(n,t){return n.a0==t.a0&&n.a1==t.a1}function r(n,t,e){return"A"+n+","+n+" 0 "+ +(e>Fo)+",1 "+t}function i(n,t,e,r){return"Q 0,0 "+r}var u=Me,o=xe,a=Iu,l=gu,c=vu;return n.radius=function(t){return arguments.length?(a=En(t),n):a},n.source=function(t){return arguments.length?(u=En(t),n):u},n.target=function(t){return arguments.length?(o=En(t),n):o},n.startAngle=function(t){return arguments.length?(l=En(t),n):l},n.endAngle=function(t){return arguments.length?(c=En(t),n):c},n},ao.svg.diagonal=function(){function n(n,i){var u=t.call(this,n,i),o=e.call(this,n,i),a=(u.y+o.y)/2,l=[u,{x:u.x,y:a},{x:o.x,y:a},o];return l=l.map(r),"M"+l[0]+"C"+l[1]+" "+l[2]+" "+l[3]}var t=Me,e=xe,r=Yu;return n.source=function(e){return arguments.length?(t=En(e),n):t},n.target=function(t){return arguments.length?(e=En(t),n):e},n.projection=function(t){return arguments.length?(r=t,n):r},n},ao.svg.diagonal.radial=function(){var n=ao.svg.diagonal(),t=Yu,e=n.projection;return n.projection=function(n){return arguments.length?e(Zu(t=n)):t},n},ao.svg.symbol=function(){function n(n,r){return(Ul.get(t.call(this,n,r))||$u)(e.call(this,n,r))}var t=Xu,e=Vu;return n.type=function(e){return arguments.length?(t=En(e),n):t},n.size=function(t){return arguments.length?(e=En(t),n):e},n};var Ul=ao.map({circle:$u,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*Fl)),e=t*Fl;return"M0,"+-t+"L"+e+",0 0,"+t+" "+-e+",0Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}});ao.svg.symbolTypes=Ul.keys();var jl=Math.sqrt(3),Fl=Math.tan(30*Yo);Co.transition=function(n){for(var t,e,r=Hl||++Zl,i=Ku(n),u=[],o=Ol||{time:Date.now(),ease:Nr,delay:0,duration:250},a=-1,l=this.length;++au;u++){i.push(t=[]);for(var e=this[u],a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return Wu(i,this.namespace,this.id)},Yl.tween=function(n,t){var e=this.id,r=this.namespace;return arguments.length<2?this.node()[r][e].tween.get(n):Y(this,null==t?function(t){t[r][e].tween.remove(n)}:function(i){i[r][e].tween.set(n,t)})},Yl.attr=function(n,t){function e(){this.removeAttribute(a)}function r(){this.removeAttributeNS(a.space,a.local)}function i(n){return null==n?e:(n+="",function(){var t,e=this.getAttribute(a);return e!==n&&(t=o(e,n),function(n){this.setAttribute(a,t(n))})})}function u(n){return null==n?r:(n+="",function(){var t,e=this.getAttributeNS(a.space,a.local);return e!==n&&(t=o(e,n),function(n){this.setAttributeNS(a.space,a.local,t(n))})})}if(arguments.length<2){for(t in n)this.attr(t,n[t]);return this}var o="transform"==n?$r:Mr,a=ao.ns.qualify(n);return Ju(this,"attr."+n,t,a.local?u:i)},Yl.attrTween=function(n,t){function e(n,e){var r=t.call(this,n,e,this.getAttribute(i));return r&&function(n){this.setAttribute(i,r(n))}}function r(n,e){var r=t.call(this,n,e,this.getAttributeNS(i.space,i.local));return r&&function(n){this.setAttributeNS(i.space,i.local,r(n))}}var i=ao.ns.qualify(n);return this.tween("attr."+n,i.local?r:e)},Yl.style=function(n,e,r){function i(){this.style.removeProperty(n)}function u(e){return null==e?i:(e+="",function(){var i,u=t(this).getComputedStyle(this,null).getPropertyValue(n);return u!==e&&(i=Mr(u,e),function(t){this.style.setProperty(n,i(t),r)})})}var o=arguments.length;if(3>o){if("string"!=typeof n){2>o&&(e="");for(r in n)this.style(r,n[r],e);return this}r=""}return Ju(this,"style."+n,e,u)},Yl.styleTween=function(n,e,r){function i(i,u){var o=e.call(this,i,u,t(this).getComputedStyle(this,null).getPropertyValue(n));return o&&function(t){this.style.setProperty(n,o(t),r)}}return arguments.length<3&&(r=""),this.tween("style."+n,i)},Yl.text=function(n){return Ju(this,"text",n,Gu)},Yl.remove=function(){var n=this.namespace;return this.each("end.transition",function(){var t;this[n].count<2&&(t=this.parentNode)&&t.removeChild(this)})},Yl.ease=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].ease:("function"!=typeof n&&(n=ao.ease.apply(ao,arguments)),Y(this,function(r){r[e][t].ease=n}))},Yl.delay=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].delay:Y(this,"function"==typeof n?function(r,i,u){r[e][t].delay=+n.call(r,r.__data__,i,u)}:(n=+n,function(r){r[e][t].delay=n}))},Yl.duration=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].duration:Y(this,"function"==typeof n?function(r,i,u){r[e][t].duration=Math.max(1,n.call(r,r.__data__,i,u))}:(n=Math.max(1,n),function(r){r[e][t].duration=n}))},Yl.each=function(n,t){var e=this.id,r=this.namespace;if(arguments.length<2){var i=Ol,u=Hl;try{Hl=e,Y(this,function(t,i,u){Ol=t[r][e],n.call(t,t.__data__,i,u)})}finally{Ol=i,Hl=u}}else Y(this,function(i){var u=i[r][e];(u.event||(u.event=ao.dispatch("start","end","interrupt"))).on(n,t)});return this},Yl.transition=function(){for(var n,t,e,r,i=this.id,u=++Zl,o=this.namespace,a=[],l=0,c=this.length;c>l;l++){a.push(n=[]);for(var t=this[l],f=0,s=t.length;s>f;f++)(e=t[f])&&(r=e[o][i],Qu(e,f,o,u,{time:r.time,ease:r.ease,delay:r.delay+r.duration,duration:r.duration})),n.push(e)}return Wu(a,o,u)},ao.svg.axis=function(){function n(n){n.each(function(){var n,c=ao.select(this),f=this.__chart__||e,s=this.__chart__=e.copy(),h=null==l?s.ticks?s.ticks.apply(s,a):s.domain():l,p=null==t?s.tickFormat?s.tickFormat.apply(s,a):m:t,g=c.selectAll(".tick").data(h,s),v=g.enter().insert("g",".domain").attr("class","tick").style("opacity",Uo),d=ao.transition(g.exit()).style("opacity",Uo).remove(),y=ao.transition(g.order()).style("opacity",1),M=Math.max(i,0)+o,x=Zi(s),b=c.selectAll(".domain").data([0]),_=(b.enter().append("path").attr("class","domain"),ao.transition(b));v.append("line"),v.append("text");var w,S,k,N,E=v.select("line"),A=y.select("line"),C=g.select("text").text(p),z=v.select("text"),L=y.select("text"),q="top"===r||"left"===r?-1:1;if("bottom"===r||"top"===r?(n=no,w="x",k="y",S="x2",N="y2",C.attr("dy",0>q?"0em":".71em").style("text-anchor","middle"),_.attr("d","M"+x[0]+","+q*u+"V0H"+x[1]+"V"+q*u)):(n=to,w="y",k="x",S="y2",N="x2",C.attr("dy",".32em").style("text-anchor",0>q?"end":"start"),_.attr("d","M"+q*u+","+x[0]+"H0V"+x[1]+"H"+q*u)),E.attr(N,q*i),z.attr(k,q*M),A.attr(S,0).attr(N,q*i),L.attr(w,0).attr(k,q*M),s.rangeBand){var T=s,R=T.rangeBand()/2;f=s=function(n){return T(n)+R}}else f.rangeBand?f=s:d.call(n,s,f);v.call(n,f,s),y.call(n,s,s)})}var t,e=ao.scale.linear(),r=Vl,i=6,u=6,o=3,a=[10],l=null;return n.scale=function(t){return arguments.length?(e=t,n):e},n.orient=function(t){return arguments.length?(r=t in Xl?t+"":Vl,n):r},n.ticks=function(){return arguments.length?(a=co(arguments),n):a},n.tickValues=function(t){return arguments.length?(l=t,n):l},n.tickFormat=function(e){return arguments.length?(t=e,n):t},n.tickSize=function(t){var e=arguments.length;return e?(i=+t,u=+arguments[e-1],n):i},n.innerTickSize=function(t){return arguments.length?(i=+t,n):i},n.outerTickSize=function(t){return arguments.length?(u=+t,n):u},n.tickPadding=function(t){return arguments.length?(o=+t,n):o},n.tickSubdivide=function(){return arguments.length&&n},n};var Vl="bottom",Xl={top:1,right:1,bottom:1,left:1};ao.svg.brush=function(){function n(t){t.each(function(){var t=ao.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",u).on("touchstart.brush",u),o=t.selectAll(".background").data([0]);o.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),t.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var a=t.selectAll(".resize").data(v,m);a.exit().remove(),a.enter().append("g").attr("class",function(n){return"resize "+n}).style("cursor",function(n){return $l[n]}).append("rect").attr("x",function(n){return/[ew]$/.test(n)?-3:null}).attr("y",function(n){return/^[ns]/.test(n)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),a.style("display",n.empty()?"none":null);var l,s=ao.transition(t),h=ao.transition(o);c&&(l=Zi(c),h.attr("x",l[0]).attr("width",l[1]-l[0]),r(s)),f&&(l=Zi(f),h.attr("y",l[0]).attr("height",l[1]-l[0]),i(s)),e(s)})}function e(n){n.selectAll(".resize").attr("transform",function(n){return"translate("+s[+/e$/.test(n)]+","+h[+/^s/.test(n)]+")"})}function r(n){n.select(".extent").attr("x",s[0]),n.selectAll(".extent,.n>rect,.s>rect").attr("width",s[1]-s[0])}function i(n){n.select(".extent").attr("y",h[0]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",h[1]-h[0])}function u(){function u(){32==ao.event.keyCode&&(C||(M=null,L[0]-=s[1],L[1]-=h[1],C=2),S())}function v(){32==ao.event.keyCode&&2==C&&(L[0]+=s[1],L[1]+=h[1],C=0,S())}function d(){var n=ao.mouse(b),t=!1;x&&(n[0]+=x[0],n[1]+=x[1]),C||(ao.event.altKey?(M||(M=[(s[0]+s[1])/2,(h[0]+h[1])/2]),L[0]=s[+(n[0]f?(i=r,r=f):i=f),v[0]!=r||v[1]!=i?(e?a=null:o=null,v[0]=r,v[1]=i,!0):void 0}function m(){d(),k.style("pointer-events","all").selectAll(".resize").style("display",n.empty()?"none":null),ao.select("body").style("cursor",null),q.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),z(),w({type:"brushend"})}var M,x,b=this,_=ao.select(ao.event.target),w=l.of(b,arguments),k=ao.select(b),N=_.datum(),E=!/^(n|s)$/.test(N)&&c,A=!/^(e|w)$/.test(N)&&f,C=_.classed("extent"),z=W(b),L=ao.mouse(b),q=ao.select(t(b)).on("keydown.brush",u).on("keyup.brush",v);if(ao.event.changedTouches?q.on("touchmove.brush",d).on("touchend.brush",m):q.on("mousemove.brush",d).on("mouseup.brush",m),k.interrupt().selectAll("*").interrupt(),C)L[0]=s[0]-L[0],L[1]=h[0]-L[1];else if(N){var T=+/w$/.test(N),R=+/^n/.test(N);x=[s[1-T]-L[0],h[1-R]-L[1]],L[0]=s[T],L[1]=h[R]}else ao.event.altKey&&(M=L.slice());k.style("pointer-events","none").selectAll(".resize").style("display",null),ao.select("body").style("cursor",_.style("cursor")),w({type:"brushstart"}),d()}var o,a,l=N(n,"brushstart","brush","brushend"),c=null,f=null,s=[0,0],h=[0,0],p=!0,g=!0,v=Bl[0];return n.event=function(n){n.each(function(){var n=l.of(this,arguments),t={x:s,y:h,i:o,j:a},e=this.__chart__||t;this.__chart__=t,Hl?ao.select(this).transition().each("start.brush",function(){o=e.i,a=e.j,s=e.x,h=e.y,n({type:"brushstart"})}).tween("brush:brush",function(){var e=xr(s,t.x),r=xr(h,t.y);return o=a=null,function(i){s=t.x=e(i),h=t.y=r(i),n({type:"brush",mode:"resize"})}}).each("end.brush",function(){o=t.i,a=t.j,n({type:"brush",mode:"resize"}),n({type:"brushend"})}):(n({type:"brushstart"}),n({type:"brush",mode:"resize"}),n({type:"brushend"}))})},n.x=function(t){return arguments.length?(c=t,v=Bl[!c<<1|!f],n):c},n.y=function(t){return arguments.length?(f=t,v=Bl[!c<<1|!f],n):f},n.clamp=function(t){return arguments.length?(c&&f?(p=!!t[0],g=!!t[1]):c?p=!!t:f&&(g=!!t),n):c&&f?[p,g]:c?p:f?g:null},n.extent=function(t){var e,r,i,u,l;return arguments.length?(c&&(e=t[0],r=t[1],f&&(e=e[0],r=r[0]),o=[e,r],c.invert&&(e=c(e),r=c(r)),e>r&&(l=e,e=r,r=l),e==s[0]&&r==s[1]||(s=[e,r])),f&&(i=t[0],u=t[1],c&&(i=i[1],u=u[1]),a=[i,u],f.invert&&(i=f(i),u=f(u)),i>u&&(l=i,i=u,u=l),i==h[0]&&u==h[1]||(h=[i,u])),n):(c&&(o?(e=o[0],r=o[1]):(e=s[0],r=s[1],c.invert&&(e=c.invert(e),r=c.invert(r)),e>r&&(l=e,e=r,r=l))),f&&(a?(i=a[0],u=a[1]):(i=h[0],u=h[1],f.invert&&(i=f.invert(i),u=f.invert(u)),i>u&&(l=i,i=u,u=l))),c&&f?[[e,i],[r,u]]:c?[e,r]:f&&[i,u])},n.clear=function(){return n.empty()||(s=[0,0],h=[0,0],o=a=null),n},n.empty=function(){return!!c&&s[0]==s[1]||!!f&&h[0]==h[1]},ao.rebind(n,l,"on")};var $l={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Bl=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Wl=ga.format=xa.timeFormat,Jl=Wl.utc,Gl=Jl("%Y-%m-%dT%H:%M:%S.%LZ");Wl.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?eo:Gl,eo.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},eo.toString=Gl.toString,ga.second=On(function(n){return new va(1e3*Math.floor(n/1e3))},function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))},function(n){return n.getSeconds()}),ga.seconds=ga.second.range,ga.seconds.utc=ga.second.utc.range,ga.minute=On(function(n){return new va(6e4*Math.floor(n/6e4))},function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))},function(n){return n.getMinutes()}),ga.minutes=ga.minute.range,ga.minutes.utc=ga.minute.utc.range,ga.hour=On(function(n){var t=n.getTimezoneOffset()/60;return new va(36e5*(Math.floor(n/36e5-t)+t))},function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))},function(n){return n.getHours()}),ga.hours=ga.hour.range,ga.hours.utc=ga.hour.utc.range,ga.month=On(function(n){return n=ga.day(n),n.setDate(1),n},function(n,t){n.setMonth(n.getMonth()+t)},function(n){return n.getMonth()}),ga.months=ga.month.range,ga.months.utc=ga.month.utc.range;var Kl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Ql=[[ga.second,1],[ga.second,5],[ga.second,15],[ga.second,30],[ga.minute,1],[ga.minute,5],[ga.minute,15],[ga.minute,30],[ga.hour,1],[ga.hour,3],[ga.hour,6],[ga.hour,12],[ga.day,1],[ga.day,2],[ga.week,1],[ga.month,1],[ga.month,3],[ga.year,1]],nc=Wl.multi([[".%L",function(n){return n.getMilliseconds()}],[":%S",function(n){return n.getSeconds()}],["%I:%M",function(n){return n.getMinutes()}],["%I %p",function(n){return n.getHours()}],["%a %d",function(n){return n.getDay()&&1!=n.getDate()}],["%b %d",function(n){return 1!=n.getDate()}],["%B",function(n){return n.getMonth()}],["%Y",zt]]),tc={range:function(n,t,e){return ao.range(Math.ceil(n/e)*e,+t,e).map(io)},floor:m,ceil:m};Ql.year=ga.year,ga.scale=function(){return ro(ao.scale.linear(),Ql,nc)};var ec=Ql.map(function(n){return[n[0].utc,n[1]]}),rc=Jl.multi([[".%L",function(n){return n.getUTCMilliseconds()}],[":%S",function(n){return n.getUTCSeconds()}],["%I:%M",function(n){return n.getUTCMinutes()}],["%I %p",function(n){return n.getUTCHours()}],["%a %d",function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],["%b %d",function(n){return 1!=n.getUTCDate()}],["%B",function(n){return n.getUTCMonth()}],["%Y",zt]]);ec.year=ga.year.utc,ga.scale.utc=function(){return ro(ao.scale.linear(),ec,rc)},ao.text=An(function(n){return n.responseText}),ao.json=function(n,t){return Cn(n,"application/json",uo,t)},ao.html=function(n,t){return Cn(n,"text/html",oo,t)},ao.xml=An(function(n){return n.responseXML}),"function"==typeof define&&define.amd?(this.d3=ao,define(ao)):"object"==typeof module&&module.exports?module.exports=ao:this.d3=ao}(); \ No newline at end of file diff --git a/dist/ontology/0.6.0/webvowl/js/webvowl.app.js b/dist/ontology/0.6.0/webvowl/js/webvowl.app.js new file mode 100644 index 0000000..f3eba7c --- /dev/null +++ b/dist/ontology/0.6.0/webvowl/js/webvowl.app.js @@ -0,0 +1,5 @@ +webvowl.app=function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}({0:function(e,t,n){n(319),n(321),e.exports=n(322)},6:function(e,t){e.exports=d3},91:function(e,t,n){function o(e){return null==e?void 0===e?s:l:d&&d in Object(e)?r(e):a(e)}var i=n(92),r=n(95),a=n(96),l="[object Null]",s="[object Undefined]",d=i?i.toStringTag:void 0;e.exports=o},92:function(e,t,n){var o=n(93),i=o.Symbol;e.exports=i},93:function(e,t,n){var o=n(94),i="object"==typeof self&&self&&self.Object===Object&&self,r=o||i||Function("return this")();e.exports=r},94:function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},95:function(e,t,n){function o(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var o=!0}catch(e){}var i=l.call(e);return o&&(t?e[s]=n:delete e[s]),i}var i=n(92),r=Object.prototype,a=r.hasOwnProperty,l=r.toString,s=i?i.toStringTag:void 0;e.exports=o},96:function(e,t){function n(e){return i.call(e)}var o=Object.prototype,i=o.toString;e.exports=n},103:function(e,t,n){function o(e){return"symbol"==typeof e||r(e)&&i(e)==a}var i=n(91),r=n(104),a="[object Symbol]";e.exports=o},104:function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},112:function(e,t){var n=Array.isArray;e.exports=n},154:function(e,t){function n(e,t){for(var n=-1,o=null==e?0:e.length,i=Array(o);++n0?(g.classed("hidden",!1),h.classed("hidden",!1),k.updateScrollButtonVisibility()):(g.classed("hidden",!0),h.classed("hidden",!0)),_.updateElementWidth()}function i(){var e=window.innerHeight-40,n=e,o=e-30,i=150;if(n<150)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").classed("hidden",!0),t.select("#zoomInButton").classed("hidden",!0),void t.select("#centerGraphButton").classed("hidden",!0);t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").classed("hidden",!1),t.select("#zoomInButton").classed("hidden",!1),t.select("#centerGraphButton").classed("hidden",!1);var r=o-20,a=r-20;if(n<280)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),void t.select("#centerGraphButton").style("top",a+"px");var l=o-i;r=l-20,a=r-20,t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),t.select("#centerGraphButton").style("top",a+"px"),t.select("#zoomSliderParagraph").style("top",l+"px")}function r(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function a(){var e,t,n=-1,o=/(?:\b(MS)?IE\s+|\bTrident\/7\.0;.*\s+rv:|\bEdge\/)(\d+)/.test(navigator.userAgent);if(o)return n=parseInt("12");var i=/Trident.*rv[ :]*11\./.test(navigator.userAgent);return i?n=parseInt("11"):("Microsoft Internet Explorer"===navigator.appName?(e=navigator.userAgent,t=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))):"Netscape"===navigator.appName&&(e=navigator.userAgent,t=new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))),n)}var l=1,s={},d=webvowl.graph(),c=d.graphOptions(),p=webvowl.util.languageTools(),u="#graph",f=n(323)(d),h=n(325)(d),g=n(326)(d),v=n(327)(d),m=n(328)(d),y=n(329)(d),b=n(333)(d),x=n(334)(d),w=n(335)(d),k=n(336)(d),C=n(337)(d),L=n(338)(d),M=n(339)(d),_=n(340)(d),E=n(341)(d),O=n(342)(d),S=n(343)(d),F=n(344)(d),I=webvowl.modules.colorExternalsSwitch(d),T=webvowl.modules.compactNotationSwitch(d),A=webvowl.modules.datatypeFilter(),P=webvowl.modules.disjointFilter(),B=webvowl.modules.focuser(d),D=webvowl.modules.emptyLiteralFilter(),R=webvowl.modules.nodeDegreeFilter(h),W=webvowl.modules.nodeScalingSwitch(d),N=webvowl.modules.objectPropertyFilter(),H=webvowl.modules.pickAndPin(),j=webvowl.modules.selectionDetailsDisplayer(L.updateSelectionInformation),z=webvowl.modules.statistics(),V=webvowl.modules.subclassFilter(),U=webvowl.modules.setOperatorFilter();return s.getOptions=function(){return webvowl.opts},s.getGraph=function(){return webvowl.gr},s.initialize=function(){window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)},window.cancelAnimationFrame=window.cancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)},c.graphContainerSelector(u),c.selectionModules().push(B),c.selectionModules().push(j),c.selectionModules().push(H),c.filterModules().push(D),c.filterModules().push(z),c.filterModules().push(R),c.filterModules().push(A),c.filterModules().push(N),c.filterModules().push(V),c.filterModules().push(P),c.filterModules().push(U),c.filterModules().push(W),c.filterModules().push(T),c.filterModules().push(I),t.select(window).on("resize",o),f.setup(),g.setup(),h.setup(A,N,V,P,U,R),v.setup(H,W,T,I),b.setup(),L.setup(),O.setup(),M.setup(),_.setup(),m.setup();var n=a();if(n>0&&n<=11)console.log("Agent version "+n),console.log("This agent is not supported"),t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!0),t.select("#optionsArea").classed("hidden",!0),t.select("#logo").classed("hidden",!0);else{t.select("#logo").classed("hidden",!1),12===n?(t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!1)):t.select("#browserCheck").classed("hidden",!0),x.setup([g,h,v,B,j,b]),w.setup(),k.setup(),C.setup(),c.literalFilter(D),c.nodeDegreeFilter(R),c.loadingModule(O),c.filterMenu(h),c.modeMenu(v),c.gravityMenu(g),c.pausedMenu(b),c.pickAndPinModule(H),c.resetMenu(x),c.searchMenu(w),c.ontologyMenu(y),c.navigationMenu(k),c.sidebar(L),c.leftSidebar(M),c.editSidebar(_),c.exportMenu(f),c.graphObject(d),c.zoomSlider(C),c.warningModule(S),c.directInputModule(F),c.datatypeFilter(A),c.objectPropertyFilter(N),c.subclassFilter(V),c.setOperatorFilter(U),c.disjointPropertyFilter(P),c.focuserModule(B),c.colorExternalsModule(I),c.compactNotationModule(T),y.setup(e),E.setup(),M.showSidebar(0),M.hideCollapseButton(!0),d.start();var i=t.select("#modeOfOperationString");i.style("font-size","0.6em"),i.style("font-style","italic"),o();var r,l=d.options().width(),s=d.options().height();r=Math.min(l,s)/1e3;var p=!0;p===!1&&d.setForceTickFunctionWithFPS(),d.setDefaultZoom(r),t.selectAll(".debugOption").classed("hidden",p);var G=t.select("body");if(t.select(document).on("keydown",function(e){8===t.event.keyCode&&t.event.target===G.node()&&t.event.preventDefault(),t.event.ctrlKey&&t.event.shiftKey&&68===t.event.keyCode&&(d.options().executeHiddenDebugFeatuers(),t.event.preventDefault())}),t.select("#maxLabelWidthSliderOption")){var q=!d.options().dynamicLabelWidth();t.select("#maxLabelWidthSlider").node().disabled=q,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",q),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",q)}t.select("#blockGraphInteractions").style("position","absolute").style("top","0").style("background-color","#bdbdbd").style("opacity","0.5").style("pointer-events","auto").style("width",d.options().width()+"px").style("height",d.options().height()+"px").on("click",function(){t.event.preventDefault(),t.event.stopPropagation()}).on("dblclick",function(){t.event.preventDefault(),t.event.stopPropagation()}),t.select("#direct-text-input").on("click",function(){F.setDirectInputMode()}),t.select("#blockGraphInteractions").node().draggable=!1,c.prefixModule(webvowl.util.prefixTools(d)),o(),L.updateOntologyInformation(void 0,z),O.parseUrlAndLoadOntology(),c.debugMenu(m),m.updateSettings(),t.select("#reloadSvgIcon").on("click",function(){return t.select("#reloadSvgIcon").node().disabled===!0?void d.options().ontologyMenu().clearCachedVersion():(t.select("#reloadCachedOntology").classed("hidden",!0),void d.options().ontologyMenu().reloadCachedOntology())}),webvowl.opts=c,webvowl.gr=d}},s}}).call(t,n(6))},323:function(e,t,n){(function(t){e.exports=function(e){function o(){var n=M.requestExport(),o=M.resultingTTL_Content();if(console.log("Exporter was successful: "+n),n){var i="NewOntology",r="data:text/json;charset=utf-8,"+encodeURIComponent(o);x.attr("href",r).attr("download",i+".ttl")}else console.log("ShowWarning!"),e.options().warningModule().showExporterWarning(),console.log("Stay on the page! "+window.location.href),x.attr("href",window.location.href),t.event.preventDefault()}function i(){t.select("#exportedUrl").node().focus(),t.select("#exportedUrl").node().select(),document.execCommand("copy"),e.options().navigationMenu().hideAllMenus(),t.event.preventDefault()}function r(e,t){var n=0,o="opts=";for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],a=t[i];r!==a&&(o+=i+"="+a+";",n++)}return o+="",0===n?"":o}function a(){e.options().navigationMenu().hideAllMenus();var n,o,i,r=t.select(e.options().graphContainerSelector()).select("svg");s(),u(),n=r.attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML,n="\n"+n,o=l(n),i="data:image/svg+xml;base64,"+btoa(o),m.attr("href",i).attr("download",y+".svg"),f(),h(),e.lazyRefresh()}function l(e){var t,n,o,i=[],r=e.length;for(t=0;t0){var J=z.node().getPointAtLength(O-18),Y=J.x-10*j,X=J.y+10*H;X*=-1;var K="black";Z.indexOf("A")>-1&&(Z="$\\forall$"),Z.indexOf("E")>-1&&(Z="$\\exists$"),i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily },text="+K+"] at ("+Y+"pt, "+X+"pt) (cardinalityText"+a+") {"+Z+"};\n "}if(S.property().inverse()){z=S.pathObj(),O=Math.floor(z.node().getTotalLength());var Q=z.node().getPointAtLength(4),ee=z.node().getPointAtLength(0),te=z.node().getPointAtLength(6);D=Q.x,R=Q.y,W=ee.x,N=ee.y,H=W-D,j=N-R,_=Math.sqrt(H*H+j*j),H/=_,j/=_,E=-1*Math.atan2(j,H)*(180/Math.PI),E-=90,h=te.x,g=te.y,1!==S.layers().length||S.loops()?(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_marker"+a+") {};\n "):(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_single_marker"+a+") {};\n ")}}}for(l.each(function(e){u=e.x,f=-e.y,r=e.labelForCurrentLanguage(),void 0===r&&(r="");var t="owlClass";"owl:Thing"!==e.type()&&"owl:Nothing"!==e.type()||(t="owlThing"),"owl:equivalentClass"===e.type()&&(t="owlEquivalentClass");var n="";if(e.textBlock){var o=e.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===o&&(n=", text=black"),"rgb(255, 255, 255)"===o&&(n=", text=white");var l=e.textBlock()._textBlock().node().children;if(l[0]){r=l[0].innerHTML,e.individuals()&&e.individuals().length===parseInt(l[0].innerHTML)&&(r="{\\color{gray} "+l[0].innerHTML+" }");for(var s=1;s-1&&(i+="\\definecolor{Node"+a+"_COLOR}{HTML}{CCCCCC} \n ",d=", fill=Node"+a+"_COLOR ");var g=u-7,v=u+7,m=f+20;"owl:unionOf"===e.type()&&"owl:disjointUnionOf"===e.type()||(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:unionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[text=black] at ("+u+"pt, "+f+"pt) (unionText13) {$\\mathbf{\\cup}$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:disjointUnionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (disjointUnoinText"+a+") {1};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:complementOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+u+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{18pt}{18}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (unionText13) {$\\neg$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:intersectionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\filldraw[even odd rule,fill=owlClassColor,line width=1pt] ("+g+"pt, "+f+"pt) circle (12.5pt) ("+v+"pt, "+f+"pt) circle (12.5pt);\n ",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (intersectionText"+a+") {$\\cap$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),a++}),a=0;a-1?"\\\\ {\\small "+le[se].innerHTML+" }":"\\\\ "+le[se].innerHTML}}}if("setOperatorProperty"!==ne.type()){var ce="owlObjectProperty";"owl:DatatypeProperty"===ne.type()&&(ce="owlDatatypeProperty"),"rdfs:subClassOf"===ne.type()&&(ce="rdfsSubClassOf"),"rdf:Property"===ne.type()&&(ce="rdfProperty");var pe="";if(ne.backgroundColor()){var ue=ne.backgroundColor();ue.toUpperCase(),ue=ue.slice(1,ue.length),i+="\\definecolor{property"+a+"_COLOR}{HTML}{"+ue+"} \n ",pe=", fill=property"+a+"_COLOR "}ne.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{property"+a+"_COLOR}{HTML}{CCCCCC} \n ",pe=", fill=property"+a+"_COLOR ");var fe="",he=ne.textWidth();if(fe=",minimum width="+he+"pt","owl:disjointWith"!==ne.type())if(ne.inverse()){var ge=ne.inverse(),ve=ge.labelForCurrentLanguage();void 0===ve&&(ve="");var me="";if(ge.textBlock&&ge.textBlock()){var ye=ge.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===ye&&(me=", text=black"),"rgb(255, 255, 255)"===ye&&(me=", text=white");var be=ge.textBlock()._textBlock().node().children;if(be[0]){ve=be[0].innerHTML;for(var xe=1;xe-1?"\\\\ {\\small "+be[xe].innerHTML+" }":"\\\\ "+be[xe].innerHTML; +}}}var ke="owlObjectProperty",Ce="";if(ge.backgroundColor()){var Le=ge.backgroundColor();Le.toUpperCase(),Le=Le.slice(1,Le.length),i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{"+Le+"} \n ",Ce=", fill=inv_property"+a+"_COLOR "}ge.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{CCCCCC} \n ",Ce=", fill=inv_property"+a+"_COLOR ");var Me="",_e=ge.textWidth(),Ee=ie-14,Oe=ie+14;Me=",minimum width="+_e+"pt",i+="% Createing Inverse Property \n",i+="\\node["+ke+" "+Me+" "+Ce+" "+me+"] at ("+oe+"pt, "+Ee+"pt) (property"+a+") {"+ve.replaceAll("_","\\_ ")+"};\n",i+="% "+ke+" vs "+ce+"\n",i+="% "+Me+" vs "+fe+"\n",i+="% "+Ce+" vs "+pe+"\n",i+="% "+me+" vs "+re+"\n",i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+Oe+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"}else i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n";else{var Se=oe-12,Fe=oe+12,Ie=ie-20;i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (Node"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Se+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Fe+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+re+"] at ("+oe+"pt, "+Ie+"pt) (Node_text"+a+") {",e.options().compactNotation()===!1&&(i+="(disjoint)"),i+="};\n"}}}i+="\\end{tikzpicture}\n}\n \\end{center}\n";var Te="data:text/json;charset=utf-8,"+encodeURIComponent(i);w.attr("href",Te).attr("download",y+".tex")}var m,y,b,x,w,k,C,L={},M=n(324)(e);String.prototype.replaceAll=function(e,t){var n=this;return n.split(e).join(t)},L.setup=function(){m=t.select("#exportSvg").on("click",a),b=t.select("#exportJson").on("click",g),k=t.select("#copyBt").on("click",i),w=t.select("#exportTex").on("click",v),x=t.select("#exportTurtle").on("click",o);var n=t.select("#m_export");n.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries(),L.exportAsUrl()})},L.setFilename=function(e){y=e||"export"},L.setJsonText=function(e){C=e},L.exportAsUrl=function(){var n={};n.sidebar=e.options().sidebar().getSidebarVisibility();var o=e.options().filterMenu().getDefaultDegreeValue(),i=e.options().filterMenu().getDegreeSliderValue();parseInt(o)===parseInt(i)?n.doc=-1:n.doc=i,n.cd=e.options().classDistance(),n.dd=e.options().datatypeDistance(),e.editorMode()===!0?n.editorMode="true":n.editorMode="false",n.filter_datatypes=String(e.options().filterMenu().getCheckBoxValue("datatypeFilterCheckbox")),n.filter_sco=String(e.options().filterMenu().getCheckBoxValue("subclassFilterCheckbox")),n.filter_disjoint=String(e.options().filterMenu().getCheckBoxValue("disjointFilterCheckbox")),n.filter_setOperator=String(e.options().filterMenu().getCheckBoxValue("setoperatorFilterCheckbox")),n.filter_objectProperties=String(e.options().filterMenu().getCheckBoxValue("objectPropertyFilterCheckbox")),n.mode_dynamic=String(e.options().dynamicLabelWidth()),n.mode_scaling=String(e.options().modeMenu().getCheckBoxValue("nodescalingModuleCheckbox")),n.mode_compact=String(e.options().modeMenu().getCheckBoxValue("compactnotationModuleCheckbox")),n.mode_colorExt=String(e.options().modeMenu().getCheckBoxValue("colorexternalsModuleCheckbox")),n.mode_multiColor=String(e.options().modeMenu().colorModeState()),n.mode_pnp=String(e.options().modeMenu().getCheckBoxValue("pickandpinModuleCheckbox")),n.debugFeatures=String(!e.options().getHideDebugFeatures()),n.rect=0;var a,l=e.options().initialConfig(),s=r(l,n),d=String(location);if(0===s.length){var c=location.hash;d=d.split(c)[0];var p=c.lastIndexOf("#");if(p===-1)return a=t.select("#exportedUrl").node(),a.value=String(location),void(a.title=String(location));var u=c.slice(p,c.length);return a=t.select("#exportedUrl").node(),a.value=d+u,void(a.title=d+u)}var f,h=(d.match(/#/g)||[]).length;if(void 0!==h&&0!==h||(f=d+"#"+s),h>0){var g,v=d.split("#");for(v[1].indexOf("opts=")>=0?(v[1]=s,f=v[0]):(f=v[0]+"#",f+=s),g=1;g0&&(f+="#"+v[g])}a=t.select("#exportedUrl").node(),a.value=f,a.title=f},L.createJSON_exportObject=function(){var t,n,o,i=e.getUnfilteredData(),r=e.options().data()._comment,a=e.options().getGeneralMetaObject(),l=e.options().data().header;a.iri&&a.iri!==l.iri&&(l.iri=a.iri),a.title&&a.title!==l.title&&(l.title=a.title),a.version&&a.version!==l.version&&(l.version=a.version),a.author&&a.author!==l.author&&(l.author=a.author),a.description&&a.description!==l.description&&(l.description=a.description);var s={};s._comment=r,s.header=l,s.namespace=e.options().data().namespace,void 0===s.namespace&&(s.namespace=[]);var d=i.nodes,c=d.length,p=[],u=[];for(t=0;t0&&(h.attributes=d[t].attributes()),d[t].comment()&&(h.comment=d[t].comment()),d[t].annotations()&&(h.annotations=d[t].annotations()),d[t].description()&&(h.description=d[t].description()),d[t].individuals().length>0){var g=[],v=d[t].individuals();for(n=0;n0){y=[];var b=d[t].equivalents();for(n=0;n0&&(w.attributes=b[n].attributes()),b[n].comment()&&(w.comment=b[n].comment()),b[n].individuals().length>0&&(w.individuals=b[n].individuals()),b[n].annotations()&&(w.annotations=b[n].annotations()),b[n].description()&&(w.description=b[n].description()),b[n].individuals().length>0){var k=[],C=b[t].individuals();for(o=0;o0&&(h.equivalent=y),u.push(h)}var M=i.properties,_=M.length,E=[],O=[];for(t=0;t<_;t++){var S={},F={};if(S.id=M[t].id(),S.type=M[t].type(),E.push(S),F.id=M[t].id(),F.iri=M[t].iri(),F.baseIri=M[t].baseIri(),F.label=M[t].label(),M[t].attributes().length>0&&(F.attributes=M[t].attributes()),M[t].comment()&&(F.comment=M[t].comment()),M[t].annotations()&&(F.annotations=M[t].annotations()),M[t].maxCardinality()&&(F.maxCardinality=M[t].maxCardinality()),M[t].minCardinality()&&(F.minCardinality=M[t].minCardinality()),M[t].cardinality()&&(F.cardinality=M[t].cardinality()),M[t].description()&&(F.description=M[t].description()),F.domain=M[t].domain().id(),F.range=M[t].range().id(),M[t].subproperties()){var I=M[t].subproperties(),T=[];for(n=0;n":n[t].prefixRepresentation=i}for(t=0;t":o[t].prefixRepresentation=r}}function n(){if(0!==y.length){x+="### Property Definitions (Number of Property) "+y.length+" ###\r\n";for(var e=0;e=0}function r(t){var n=t.prefixRepresentation,o="rdf:type",r=t.type();"owl:equivalentClass"===t.type()&&(r="owl:Class"),"owl:disjointUnionOf"===t.type()&&(r="owl:Class"),"owl:unionOf"===t.type()&&(r="owl:Class");var a=[],s=[];if(t.union())for(var d=t.union(),c=0;c":b,g+=m+" owl:equivalentClass "+x+" ;\r\n"}if(t.commentForCurrentLanguage()&&(g+=m+' rdfs:comment "'+t.commentForCurrentLanguage()+'" ;\r\n'),t.annotations()){var k=t.annotations();for(var L in k)if(k.hasOwnProperty(L)){var M=k[L],_=M[0],E=_.identifier,O=_.value;"isDefinedBy"===E&&(g+=m+" rdfs:isDefinedBy <"+O+"> ;\r\n"),"term_status"===E&&(g+=m+' vs:term_status "'+O+'" ;\r\n')}}if(a.length>0){g+=m+" owl:disjointUnionOf (";for(var S=0;S":F,g+=m+m+I+" \n"}g+=") ;\r\n"}if(s.length>0){g+=m+" rdfs:subClassOf [ rdf:type owl:Class ; \r\n",g+=m+m+" owl:unionOf ( ";for(var T=0;T":A,g+=m+m+m+P+" \n"}g+=") ;\r\n"}var B,D=e.getUnfilteredData().properties,R=[];for(B=0;B ;\r\n"),"term_status"===x&&(a+=s+' vs:term_status "'+w+'" ;\r\n')}}if("owl:Thing"===c.type()&&"owl:Thing"===p.type()&&"object"!=typeof e.label()&&0===e.label().length&&(d=!0),d===!0){var k=a.substring(0,a.length-2);return a=k+" . \r\n"}var L;if("owl:Thing"===c.type()&&"owl:Thing"===p.type())L=v(s,e.label(),"rdfs:label",!0),a+=L;else{L=v(s,e.label(),"rdfs:label"),a+=L,"owl:Thing"!==c.type()&&(a+=s+" rdfs:domain "+c.prefixRepresentation+";\r\n"),"owl:Thing"!==p.type()&&(a+=s+" rdfs:range "+p.prefixRepresentation+";\r\n");var M=a,_=M.lastIndexOf(";");a=M.substring(0,_)+" . \r\n"}return a}function l(e){return void 0===e?"WHYEMPTYNAME?":new Array(e.length+1).join(" ")}function s(){x+="#################################################################\r\n",x+="### Generated with the experimental alpha version of the TTL exporter of WebVOWL (version 1.1.3) http://visualdataweb.de/webvowl/ ###\r\n",x+="#################################################################\r\n\r\n"}function d(){var t=e.options().getGeneralMetaObjectProperty("iri"),n=e.options().prefixList(),o=[];o.push("@prefix : \t\t<"+t+"> .");for(var i in n)n.hasOwnProperty(i)&&o.push("@prefix "+i+": \t\t<"+n[i]+"> .");o.push("@base \t\t\t<"+t+"> .\r\n");for(var r=0;r");x+="<"+t+"> rdf:type owl:Ontology ;\r\n"+p(n)+u(n)+h(n)+f(n);var o=x,i=o.lastIndexOf(";");x=o.substring(0,i)+" . \r\n"}function p(e){return g(e,"title","dc:title")}function u(e){return g(e,"description","dc:description")}function f(t){var n=e.options().getGeneralMetaObjectProperty("author");if(n){if("object"!=typeof n){if(0===n.length)return"";var o=t+' dc:creator "'+n+'";\r\n';return o}for(var i=t+' dc:creator "',r=0;r0&&(n=-1);var i=parseInt(s.attr("max")),r=parseInt(s.property("value")),a=r+n;r!==a&&a>=0&&a<=i&&(s.property("value",a),s.on("input")(),e.update()),t.event.preventDefault()}function r(e,t){e.property("value",t).on("input")()}function a(){p.node().addEventListener("animationend",function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!0)})}var l,s,d={},c=[],p=(t.select("#m_filter"),t.select("#c_filter a")),u=t.select("#nodeDegreeFilteringOption"),f=0;return d.setDefaultDegreeValue=function(e){f=e},d.getDefaultDegreeValue=function(){return f},d.getGraphObject=function(){return e},d.getCheckBoxContainer=function(){return c},d.getDegreeSliderValue=function(){return s.property("value")},d.setup=function(t,i,r,l,s,c){p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),p.on("mouseleave",function(){d.highlightForDegreeSlider(!1)}),n(t,"datatype","Datatype properties","#datatypeFilteringOption"),n(i,"objectProperty","Object properties","#objectPropertyFilteringOption"),n(r,"subclass","Solitary subclasses","#subclassFilteringOption"),n(l,"disjoint","Class disjointness","#disjointFilteringOption"),n(s,"setoperator","Set operators","#setOperatorFilteringOption"),o(c,u),a()},d.reset=function(){c.forEach(function(e){var t=e.checkbox,n=e.defaultState,o=t.property("checked");o!==n&&(t.property("checked",n),t.on("click")())}),r(s,0),s.on("change")()},d.killButtonAnimation=function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!1)},d.highlightForDegreeSlider=function(e){if(arguments.length||(e=!0),p.classed("highlighted",e),u.classed("highlighted",e),p.classed("buttonPulse")===!0&&e===!0){p.classed("buttonPulse",!1);var t=setTimeout(function(){p.classed("buttonPulse",e),clearTimeout(t)},100)}else p.classed("buttonPulse",e),p.classed("filterMenuButtonHighlight",e)},d.setCheckBoxValue=function(e,t){for(var n=0;n0?d.highlightForDegreeSlider(!0):d.highlightForDegreeSlider(!1),c.forEach(function(t){var n=t.checkbox;n.on("click")(e)}),s.on("input")(),s.on("change")()},d}}).call(t,n(6))},326:function(e,t,n){(function(t){e.exports=function(e){function n(n,i,a,l){var s,d,c=l();s=t.select(n).append("div").datum({distanceFunction:l}).classed("distanceSliderContainer",!0);var p=s.append("input").attr("id",i+"DistanceSlider").attr("type","range").attr("min",10).attr("max",600).attr("value",l()).attr("step",10);s.append("label").classed("description",!0).attr("for",i+"DistanceSlider").text(a),d=s.append("label").classed("value",!0).attr("for",i+"DistanceSlider").text(l()),r.push(p),p.on("focusout",function(){e.updateStyle()}),p.on("input",function(){var t=p.property("value");l(t),o(c),d.text(t),e.updateStyle()}),p.on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=10),n.deltaY>0&&(e=-10);var o=parseInt(p.property("value")),i=o+e;i!==o&&(p.property("value",i),l(i),p.on("input")()),t.event.preventDefault()})}function o(e){var t=Math.max(a.classDistance(),a.datatypeDistance()),n=t/e,o=l*n;a.charge(o)}var i={},r=[],a=e.graphOptions(),l=a.charge();return i.setup=function(){var o=t.select("#m_gravity");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("#classSliderOption","class","Class distance",a.classDistance),n("#datatypeSliderOption","datatype","Datatype distance",a.datatypeDistance)},i.reset=function(){r.forEach(function(e){e.property("value",function(e){return e.distanceFunction()}),e.on("input")()})},i}}).call(t,n(6))},327:function(e,t,n){(function(t){e.exports=function(e){function n(n,o,i,r,a){var l=t.select(i).append("div").classed("checkboxContainer",!0),s=l.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());s.on("click",function(n){var o=s.property("checked");r(o),t.select("#maxLabelWidthSlider").node().disabled=!o,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",!o),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",!o),a>0&&e.animateDynamicLabelWidth()}),l.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&l.append("label").attr("style","font-size:10px;padding-top:3px").text("(experimental)"),d=s}function o(n,o,i,r){var a=t.select(i).append("div").classed("checkboxContainer",!0),l=a.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());l.on("click",function(t){var n=l.property("checked");r(n),n===!0&&e.showEditorHintIfNeeded()}),a.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&a.append("label").attr("style","font-size:10px;padding-top:3px").text(" (experimental)")}function i(n,o,i,r,a){var l,s;return l=t.select(r).append("div").classed("checkboxContainer",!0).datum({module:n,defaultState:n.enabled()}),s=l.append("input").classed("moduleCheckbox",!0).attr("id",o+"ModuleCheckbox").attr("type","checkbox").property("checked",n.enabled()),f.push(s),s.on("click",function(t,n){var o=s.property("checked");t.module.enabled(o),a&&n!==!0&&(e.executeColorExternalsModule(),e.executeCompactNotationModule(),e.lazyRefresh())}),l.append("label").attr("for",o+"ModuleCheckbox").text(i),l}function r(t,n){var o=t.append("button").datum({active:!1}).classed("color-mode-switch",!0);return a(o,n),o.on("click",function(t){var i=o.datum();i.active=!i.active,a(o,n),n.enabled()&&t!==!0&&(e.executeColorExternalsModule(),e.lazyRefresh())}),o}function a(e,t){var n=e.datum().active,o=l(n);e.classed("active",n).text(o.text),t&&t.colorModeType(o.type)}function l(e){return e?p:c}var s,d,c={text:"Multicolor",type:"same"},p={text:"Multicolor",type:"gradient"},u={},f=[];return u.colorModeState=function(e){return arguments.length?(s.datum().active=e,u):s.datum().active},u.setDynamicLabelWidth=function(e){d.property("checked",e)},u.getCheckBoxContainer=function(){return f},u.colorModeSwitch=function(){return s},u.setup=function(a,l,d,c){var p=t.select("#m_modes");p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("labelWidth","Dynamic label width","#dynamicLabelWidth",e.options().dynamicLabelWidth,1),o("editorMode","Editing ","#editMode",e.editorMode),i(a,"pickandpin","Pick & pin","#pickAndPinOption",!1),i(l,"nodescaling","Node scaling","#nodeScalingOption",!0),i(d,"compactnotation","Compact notation","#compactNotationOption",!0);var u=i(c,"colorexternals","Color externals","#colorExternalsOption",!0);s=r(u,c)},u.reset=function(){f.forEach(function(e){var t=e.datum().defaultState,n=e.property("checked");n!==t&&(e.property("checked",t),e.on("click")(e.datum())),e.datum().module.reset()}),s.datum().active=!0,s.on("click")()},u.setCheckBoxValue=function(e,t){for(var n=0;n li > a").attr("href",location.hash||"#")}function i(e){var n=t.select("#bulletPoint_container"),o=n.append("div");o.node().innerHTML=e,E.scrollDownDetails()}function r(e){var n=t.select("#bulletPoint_container"),o=n.node().getElementsByTagName("LI"),i=o.length-1;if(i>=0){var r=o[i].innerHTML;o[i].innerHTML=r+e}E.scrollDownDetails()}function a(e){var n=t.select("#bulletPoint_container"),o=n.append("li");o.node().innerHTML=e,t.select("#currentLoadingStep").node().innerHTML=e,E.scrollDownDetails()}function l(){var e=t.select("#iri-converter-button"),n=t.select("#iri-converter-input");n.on("input",function(){x();var t=""===n.property("value");e.attr("disabled",t||void 0)}).on("click",function(){x()}),t.select("#iri-converter-form").on("submit",function(){for(var e=n.property("value"),o=e.replace(/%20/g," ");o.beginsWith(" ");)o=o.substr(1,o.length);for(;o.endsWith(" ");)o=o.substr(0,o.length-1);e=o;var i=e.toLowerCase();return i.endsWith(".json")?(location.hash="url="+e,n.property("value",""),n.on("input")()):(location.hash="iri="+e,n.property("value",""),n.on("input")()),t.event.preventDefault(),!1})}function s(){var n=t.select("#file-converter-input"),o=t.select("#file-converter-label"),i=t.select("#file-converter-button");n.on("change",function(){var t=n.property("files");t.length<=0?(o.text("Select ontology file"),i.property("disabled",!0)):(o.text(t[0].name),L=t[0].name,i.property("disabled",!1),i.node().click(),e.options().navigationMenu().hideAllMenus())}),i.on("click",function(){var e=n.property("files")[0];if(!e)return!1;var t="file="+e.name;location.hash==="#"+t?E.parseUrlAndLoadOntology():location.hash=t})}function d(e){var n=t.select("#o2vConverterContainer");if(!n.node()){var o=t.select("#bulletPoint_container"),i=o.append("div");n=i.append("ul"),n.attr("id","o2vConverterContainer"),n.style("margin-left","-25px")}for(var r=n.node().children,a=r.length,l=0;l0&&(s=n.append("li"),s.attr("type","disc"),s.node().innerHTML=p.replace(/\n/g,"
    "))}s&&(s.node().innerHTML+="
    "),E.scrollDownDetails()}function c(e,n){t.xhr("loadingStatus?sessionId="+_,"application/text",function(t,o){t&&(console.log("ontologyMenu getLoadingStatusOnceCallBacked throws error"),console.log("---------Error -----------"),console.log(t),console.log("---------Request -----------"),console.log(o)),d(o.responseText),e(n)})}function p(){t.xhr("loadingStatus?sessionId="+_,"application/text",function(e,t){e&&(console.log("ontologyMenu getLoadingStatusTimeLooped throws error"),console.log("---------Error -----------"),console.log(e),console.log("---------Request -----------"),console.log(t)),T===!1&&(d(t.responseText),u())})}function u(){clearTimeout(M),T===!1&&(M=setTimeout(function(){p()},1e3))}function f(e){t.xhr("loadingStatus","application/text",function(t,n){void 0!==n?d(n.responseText+"
    "+e):i(e)})}function h(e){var t=e[2];return t!==_?(console.log("The conversion process for file:"+e[1]+" has been canceled!"),void S.conversionFinished(t)):(E.loadFromOWL2VOWL(e[0],e[1]),void S.conversionFinished())}function g(e){var t=e[2];return t!==_?void console.log("The conversion process for file:"+e[1]+" has been canceled!"):void E.loadFromOWL2VOWL(e[0],e[1])}function v(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function m(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function y(e,t,n){T=!1,u();var o=new FormData;o.append("ontology",e),o.append("sessionId",n);var i=new XMLHttpRequest;i.open("POST","convert",!0),i.onload=function(){clearTimeout(M),T=!0,c(b,[i,t,n])},u(),i.send(o)}function b(t){var n=t[0],o=t[1],i=t[2];return i!==_?(console.log("The conversion process for file:"+o+" has been canceled!"),void S.conversionFinished(i)):void(200===n.status?(E.loadFromOWL2VOWL(n.responseText,o),S.conversionFinished()):(f('Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),e.handleOnLoadingError(),S.conversionFinished()))}function x(){function e(){n.style("display",void 0),clearTimeout(C),t.select(window).on("click",void 0).on("keydown",void 0),n.on("mouseover",void 0)}var n=t.select("#select .toolTipMenu");n.on("click",function(){t.event.stopPropagation()}).on("keydown",function(){t.event.stopPropagation()}),n.style("display","block"),clearTimeout(C),C=setTimeout(function(){e()},3e3),t.select(window).on("click",function(){e()}).on("keydown",function(){e()}),n.on("mouseover",function(){e()})}function w(){t.select("#layoutLoadingProgressBarContainer").classed("hidden",!1),F.classed("hidden",!1),I.classed("hidden",!1)}function k(){F.classed("hidden",!0)}var C,L,M,_,E,O,S={},F=t.select("#loading-info"),I=t.select("#loading-progress"),T=!1,A=!1,P={},B="";return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},S.getLoadingFunction=function(){return O},S.clearCachedVersion=function(){P[B]&&(P[B]=void 0)},S.reloadCachedOntology=function(){S.clearCachedVersion(),e.clearGraphData(),E.parseUrlAndLoadOntology(!1)},S.cachedOntology=function(n){if(B=n,P[n]){var o=String(location.hash);t.select("#reloadSvgIcon").node().disabled=!1,e.showReloadButtonAfterLayoutOptimization(!0),o.indexOf("#file")>-1?(t.select("#reloadSvgIcon").node().disabled=!0,t.select("#reloadCachedOntology").node().title="reloading original version not possible, please reload the file",t.select("#reloadSvgIcon").classed("disabledReloadElement",!0),t.select("#svgStringText").style("fill","gray"),t.select("#svgStringText").classed("noselect",!0)):(t.select("#reloadCachedOntology").node().title="generate new visualization and overwrite cached ontology",t.select("#reloadSvgIcon").classed("disabledReloadElement",!1),t.select("#svgStringText").style("fill","black"),t.select("#svgStringText").classed("noselect",!0))}else e.showReloadButtonAfterLayoutOptimization(!1);return P[n]},S.setCachedOntology=function(e,t){P[e]=t,B=e},S.getErrorStatus=function(){return A},S.setup=function(o){O=o,E=e.options().loadingModule();var i=t.select("#m_select");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),l(),s();var r=t.select("#error-description-button").datum({open:!1});r.on("click",function(e){var n=t.select("#error-description-container"),o=t.select(this);e.open=!e.open;var i=e.open;i?o.text("Hide error details"):o.text("Show error details"),n.classed("hidden",!i)}),n(),E.setOntologyMenu(S)},S.stopLoadingTimer=function(){T=!0,clearTimeout(M)},S.setIriText=function(e){t.select("#iri-converter-input").node().value=e,t.select("#iri-converter-button").attr("disabled",!1),t.select("#iri-converter-form").on("submit")()},S.clearDetailInformation=function(){for(var e=t.select("#bulletPoint_container"),n=e.node().children,o=n.length,i=0;i",""":'"',"'":"'"},r=o(i);e.exports=r},332:function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},333:function(e,t,n){(function(t){e.exports=function(e){function n(){o(),i()}function o(){r.classed("paused",function(e){return e.paused})}function i(){r.datum().paused?r.text("Resume"):r.text("Pause")}var r,a={};return a.setup=function(){var o=t.select("#pauseOption");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),r=t.select("#pause-button").datum({paused:!1}).on("click",function(t){e.paused(!t.paused),t.paused=!t.paused,n(),r.classed("highlighted",t.paused)}),n()},a.setPauseValue=function(t){r.datum().paused=t,e.paused(t),r.classed("highlighted",t),n()},a.reset=function(){a.setPauseValue(!1)},a}}).call(t,n(6))},334:function(e,t,n){(function(t){e.exports=function(e){function n(){e.resetSearchHighlight(),e.options().searchMenu().clearText(),r.classDistance(a.classDistance()),r.datatypeDistance(a.datatypeDistance()),r.charge(a.charge()),r.gravity(a.gravity()),r.linkStrength(a.linkStrength()),e.reset(),o.forEach(function(e){e.reset()}),e.updateStyle()}var o,i={},r=e.graphOptions(),a=webvowl.options();return i.setup=function(i){o=i,t.select("#reset-button").on("click",n);var r=t.select("#resetOption");r.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()})},i}}).call(t,n(6))},335:function(e,t,n){(function(t){e.exports=function(e){function n(){b=e.getUpdateDictionary(),M=!1,k=[],C=[];var t,n=[],o=[];for(t=0;t0)for(var r=b[t].equivalentsString(),a=r.split(", "),l=0;l=0&&s=a&&i[s].setAttribute("class","dbEntrySelected"),h>=0&&h=0&&i[s].setAttribute("class","dbEntry")))}function s(){for(var e=F.node().children,t=e.length,n=0;n-1&&(E.push(k[e]),O.push(e)))}}function c(e,n){n||(n="text");var o=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),i=document.getElementById("width-test").offsetWidth;return o.remove(),i}function p(e){for(var t,n,o,i=250,r="dbEntry",a=e;;){if(t=c(a,r),t<=i)break;if(n=t/i,o=Math.floor(a.length/n),a.length===o)break;a=a.substring(0,o)}return e.length>a.length?e.substring(0,a.length-6):e}function u(){var n,o,i,r=E,a=[],l=[],s=v.node().value.toLowerCase();for(n=E.length,n>L&&(n=L),o=0;o-1&&h<=d&&m<=c&&(u=f,d=h,c=m)}a.push(r[u]),l.push(O[u]),r[u]=""}n=E.length,n>L&&(n=L);var b=0;for(o=0;o1)for(var T=0;T1&&_===!1?k!==I&&(C+="... ("+I+"/"+k+")"):C+="...",x.title=a[o]):k>1&&_===!1&&(C+=k!==I?" ("+I+"/"+k+")":" ("+k+")");var P=t.select(x);1===k||_===!0?void 0===S[w[0]]&&(P.style("color","#979797"),x.title=a[o]+"\nElement is filtered out.",x.onclick=function(){},t.select(x).style("cursor","default"),b++):(I<1?(P.style("color","#979797"),x.onclick=function(){},x.title=a[o]+"\nAll elements are filtered out.",t.select(x).style("cursor","default"),b++):P.style("color",""),I1&&(x.title=a[o]+"\n"+I+"/"+k+" elements are visible.")),P.node().innerHTML=C,F.node().appendChild(x)}}function f(){s(),d(),u()}function h(){return S.classed("highlighted",!1),S.node().title="Nothing to locate",M&&n(),e.resetSearchHighlight(),0===k.length?void console.log("dictionary is empty"):(x=v.node().value,s(),0!==x.length&&(d(),u()),void w.showSearchEntries())}function g(t){return function(){var n=t,o=y[n],i=C[n];v.node().value=i,e.resetSearchHighlight(),e.highLightNodes(o),S.node().title="Locate search term",i!==x&&f(),w.hideSearchEntries()}}var v,m,y,b,x,w={},k=[],C=[],L=6,M=!0,_=!1,E=[],O=[],S=t.select("#locateSearchResult"),F=(t.select("#c_search"),t.select("#m_search"));return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},w.requestDictionaryUpdate=function(){M=!0;for(var e=F.node().children,t=e.length,n=0;n=h?void n():void(y=requestAnimationFrame(o))}function i(){return f-=5,x.scrollLeft=f,b.updateScrollButtonVisibility(),f<=0?void n():void(y=requestAnimationFrame(i))}function r(){M=[],_=[];var e,r=[],c=[],p=x.children,u=p.length;for(e=0;e-1?_[e]="m_"+r[e]:_[e]=void 0,t.select("#"+M[e]).on("mouseover",a),t.select("#"+M[e]).on("mouseout",l),t.select("#"+M[e]).on("click",s),t.select("#"+M[e]).on("touchstart",d);t.select("#menuElementContainer").on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=20),n.deltaY>0&&(e=-20),x.scrollLeft+=e,b.hideAllMenus(),b.updateScrollButtonVisibility()}),t.select("#scrollRightButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#scrollLeftButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#menuElementContainer").on("scroll",function(){b.updateScrollButtonVisibility(),b.hideAllMenus()})}function a(){b.hideAllMenus(),L||p(this.id)}function l(){c(this.id)}function s(){var e=_[M.indexOf(this.id)];if(e){var n=t.select("#"+e);n&&("block"===n.style("display")?n.style("display","none"):p(this.id))}}function d(){L=!0}function c(e){v=t.select("#"+e),"c_search"!==e&&(t.select("#"+e).select("path").style("stroke-width","0"),t.select("#"+e).select("path").style("fill","#fff"))}function p(n){v=t.select("#"+n).node();var o=_[M.indexOf(n)];o&&("c_search"!==n&&(t.select("#"+n).select("path").style("stroke-width","0"),t.select("#"+n).select("path").style("fill","#bdc3c7")),g=t.select("#"+o),g.style("display","block"),"m_export"===o&&e.options().exportMenu().exportAsUrl(),u())}function u(){if(v){var e=v.offsetLeft,t=x.scrollLeft,n=e-t,o=Math.max(0,n),i=x.getBoundingClientRect().width,r=g.node().getBoundingClientRect().width;o+r>i&&(o=i-r),o=Math.max(0,o),g.style("left",o+"px")}}var f,h,g,v,m,y,b={},x=t.select("#menuElementContainer").node(),w=t.select("#menuContainer").node(),k=t.select("#scrollLeftButton"),C=t.select("#scrollRightButton"),L=!1,M=[],_=[];return b.hideAllMenus=function(){t.selectAll(".toolTipMenu").style("display","none")},b.updateScrollButtonVisibility=function(){h=x.scrollWidth-x.clientWidth-2,0===x.scrollLeft?k.classed("hidden",!0):k.classed("hidden",!1),x.scrollLeft>h?C.classed("hidden",!0):C.classed("hidden",!1)},b.setup=function(){r(),t.select("#graph").on("mouseover",function(){b.hideAllMenus()}),t.select("#generalDetails").on("mouseover",function(){b.hideAllMenus()})},b}}).call(t,n(6))},337:function(e,t,n){(function(t){e.exports=function(e){function n(){cancelAnimationFrame(a),cancelAnimationFrame(l)}function o(){s*=.98,su&&(s=u),e.setSliderZoom(s),l=requestAnimationFrame(i)}var r,a,l,s,d,c={},p=e.options().minMagnification(),u=e.options().maxMagnification(),f=!0,h=e.options().width(),g=e.options().height();return r=Math.min(h,g)/1e3,c.setup=function(){d=t.select("#zoomSliderParagraph").append("input").datum({}).attr("id","zoomSliderElement").attr("type","range").attr("value",r).attr("min",p).attr("max",u).attr("step",(u-p)/40).attr("title","zoom factor").on("input",function(){c.zooming()}),t.select("#zoomOutButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom out"),t.select("#zoomInButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom in"),t.select("#centerGraphButton").on("click",function(){e.options().navigationMenu().hideAllMenus(),e.forceRelocationEvent()}).attr("title","center graph")},c.showSlider=function(e){return arguments.length?(t.select("#zoomSlider").classed("hidden",!e),void(f=e)):f},c.zooming=function(){e.options().navigationMenu().hideAllMenus();var t=d.property("value");d.attr("value",t),e.setSliderZoom(t)},c.updateZoomSliderValue=function(e){d&&(d.attr("value",e),d.property("value",e))},c}}).call(t,n(6))},338:function(e,t,n){(function(t){e.exports=function(e){function n(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");e(t.selectAll(".accordion-trigger:not(.accordion-trigger-active) + div")),o.on("click",function(){var o=t.select(this),i=t.selectAll(".accordion-trigger-active");o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(e(t.selectAll(".accordion-trigger-active + div")),i.classed("accordion-trigger-active",!1),n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0))})}function o(n){n=n||[],n.sort(function(e,t){return e===webvowl.util.constants().LANG_IRIBASED?-1:t===webvowl.util.constants().LANG_IRIBASED?1:e===webvowl.util.constants().LANG_UNDEFINED?-1:t===webvowl.util.constants().LANG_UNDEFINED?1:e.localeCompare(t)});var o=t.select("#language").on("change",function(){e.language(t.event.target.value),r(),C.updateSelectionInformation(k)});o.selectAll("option").remove(),o.selectAll("option").data(n).enter().append("option").attr("value",function(e){return e}).text(function(e){return e}),i(o,n,"en")||i(o,n,webvowl.util.constants().LANG_UNDEFINED)||i(o,n,webvowl.util.constants().LANG_IRIBASED)}function i(t,n,o){var i=n.indexOf(o);return i>=0&&(t.property("selectedIndex",i),e.language(o),!0)}function r(){var n=L.textInLanguage(w.title,e.language());t.select("#title").text(n||"No title available"),t.select("#about").attr("href",w.iri).attr("target","_blank").text(w.iri),t.select("#version").text(w.version||"--");var o=w.author;"string"==typeof o?t.select("#authors").text(o):o instanceof Array?t.select("#authors").text(o.join(", ")):t.select("#authors").text("--");var i=L.textInLanguage(w.description,e.language());t.select("#description").text(i||"No description available.")}function a(e,n){e=e||{},t.select("#classCount").text(e.classCount||n.classCount()),t.select("#objectPropertyCount").text(e.objectPropertyCount||n.objectPropertyCount()),t.select("#datatypePropertyCount").text(e.datatypePropertyCount||n.datatypePropertyCount()),t.select("#individualCount").text(e.totalIndividualCount||n.totalIndividualCount()),t.select("#nodeCount").text(n.nodeCount()),t.select("#edgeCount").text(n.edgeCount())}function l(e){var n=t.select("#ontology-metadata");n.selectAll("*").remove(),s(n,e),n.selectAll(".annotation").size()<=0&&n.append("p").text("No annotations available.")}function s(e,n){n=n||{};var o=[];for(var i in n)n.hasOwnProperty(i)&&o.push(n[i][0]);e.selectAll(".annotation").remove(),e.selectAll(".annotation").data(o).enter().append("p").classed("annotation",!0).classed("statisticDetails",!0).text(function(e){return e.identifier+":"}).append("span").each(function(e){h(t.select(this),e.value,"iri"===e.type?e.value:void 0)})}function d(){c(!1,!1,!0)}function c(e,n,o){t.select("#classSelectionInformation").classed("hidden",!e),t.select("#propertySelectionInformation").classed("hidden",!n),t.select("#noSelectionInformation").classed("hidden",!o)}function p(e){u(),f(t.select("#propname"),e.labelForCurrentLanguage(),e.iri()),t.select("#typeProp").text(e.type()),void 0!==e.inverse()?(t.select("#inverse").classed("hidden",!1),f(t.select("#inverse span"),e.inverse().labelForCurrentLanguage(),e.inverse().iri())):t.select("#inverse").classed("hidden",!0);var n=t.select("#propEquivUri");b(n,e.equivalents()),b(t.select("#subproperties"),e.subproperties()),b(t.select("#superproperties"),e.superproperties()),void 0!==e.minCardinality()?(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!1),t.select("#minCardinality span").text(e.minCardinality()),t.select("#maxCardinality").classed("hidden",!1),void 0!==e.maxCardinality()?t.select("#maxCardinality span").text(e.maxCardinality()):t.select("#maxCardinality span").text("*")):void 0!==e.cardinality()?(t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0),t.select("#infoCardinality").classed("hidden",!1),t.select("#infoCardinality span").text(e.cardinality())):(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0)),f(t.select("#domain"),e.domain().labelForCurrentLanguage(),e.domain().iri()),f(t.select("#range"),e.range().labelForCurrentLanguage(),e.range().iri()),g(e.attributes(),t.select("#propAttributes")),x(t.select("#propDescription"),e.descriptionForCurrentLanguage()),x(t.select("#propComment"),e.commentForCurrentLanguage()),s(t.select("#propertySelectionInformation"),e.annotations())}function u(){c(!1,!0,!1)}function f(e,n,o){var i=t.select(e.node().parentNode);n?(e.selectAll("*").remove(),h(e,n,o),i.classed("hidden",!1)):i.classed("hidden",!0)}function h(e,t,n){var o;o=n?e.append("a").attr("href",n).attr("title",n).attr("target","_blank"):e.append("span"),o.text(t)}function g(e,n){var o=t.select(n.node().parentNode);e&&e.length>0&&(v("object",e),v("datatype",e),v("rdf",e)),e&&e.length>0?(n.text(e.join(", ")),o.classed("hidden",!1)):o.classed("hidden",!0)}function v(e,t){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function m(e){y(),f(t.select("#name"),e.labelForCurrentLanguage(),e.iri());var n=t.select("#classEquivUri");b(n,e.equivalents()),t.select("#typeNode").text(e.type()),b(t.select("#individuals"),e.individuals());var o=t.select("#disjointNodes"),i=t.select(o.node().parentNode);void 0!==e.disjointWith()?(o.selectAll("*").remove(),e.disjointWith().forEach(function(e,t){t>0&&o.append("span").text(", "),h(o,e.labelForCurrentLanguage(),e.iri())}),i.classed("hidden",!1)):i.classed("hidden",!0),g(e.attributes(),t.select("#classAttributes")),x(t.select("#nodeDescription"),e.descriptionForCurrentLanguage()),x(t.select("#nodeComment"),e.commentForCurrentLanguage()),s(t.select("#classSelectionInformation"),e.annotations())}function y(){c(!0,!1,!1)}function b(e,n){var o=t.select(e.node().parentNode);n&&n.length?(e.selectAll("*").remove(),n.forEach(function(t,n){n>0&&e.append("span").text(", "),h(e,t.labelForCurrentLanguage(),t.iri())}),o.classed("hidden",!1)):o.classed("hidden",!0)}function x(e,n){var o=t.select(e.node().parentNode),i=!!n;n&&e.text(n),o.classed("hidden",!i)}var w,k,C={},L=webvowl.util.languageTools(),M=webvowl.util.elementTools(),_=1,E=t.select("#detailsArea"),O=t.select("#canvasArea"),S=t.select("#swipeBarContainer"),F=t.select("#sidebarExpandButton");return C.clearOntologyInformation=function(){t.select("#title").text("No title available"),t.select("#about").attr("href","#").attr("target","_blank").text("not given"),t.select("#version").text("--"),t.select("#authors").text("--"),t.select("#description").text("No description available.");var e=t.select("#ontology-metadata");e.selectAll("*").remove(),t.select("#classCount").text("0"),t.select("#objectPropertyCount").text("0"),t.select("#datatypePropertyCount").text("0"),t.select("#individualCount").text("0"),t.select("#nodeCount").text("0"),t.select("#edgeCount").text("0");var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");n&&t.select("#selection-details-trigger").node().click(),d()},C.updateOntologyInformation=function(e,t){e=e||{},w=e.header||{},r(),a(void 0,t),l(w.other),C.updateSelectionInformation(void 0),o(w.languages)},C.updateSelectionInformation=function(e){if(k=e,!t.event||!t.event.defaultPrevented){var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");if(e&&!n)t.select("#selection-details-trigger").node().click();else if(!e&&n)return void d();M.isProperty(e)?p(e):M.isNode(e)&&m(e)}},C.showSidebar=function(n,o){1===n&&(_=!0,F.node().innerHTML=">",E.classed("hidden",!0),o===!0?(E.classed("hidden",!_),O.style("width","78%"),O.style("-webkit-animation-name","none"),S.style("width","78%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","78%"),O.style("-webkit-animation-name","sbCollapseAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","78%"),S.style("-webkit-animation-name","sbCollapseAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_ExpandRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth-.22*window.innerWidth),e.options().navigationMenu().updateScrollButtonVisibility()),0===n&&(_=!1,E.classed("hidden",!0),F.node().innerHTML="<",o===!0?(O.style("width","100%"),O.style("-webkit-animation-name","none"),S.style("width","100%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","100%"),O.style("-webkit-animation-name","sbExpandAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","100%"),S.style("-webkit-animation-name","sbExpandAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_CollapseRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility())},C.isSidebarVisible=function(){return _},C.updateSideBarVis=function(e){var t=C.getSidebarVisibility();C.showSidebar(parseInt(t),e)},C.getSidebarVisibility=function(){var e=E.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},C.initSideBarAnimation=function(){O.node().addEventListener("animationend",function(){E.classed("hidden",!_),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility()})},C.setup=function(){n(),C.initSideBarAnimation(),F.on("click",function(){e.options().navigationMenu().hideAllMenus();var t=parseInt(C.getSidebarVisibility());1===t?C.showSidebar(0):C.showSidebar(1)})},C.updateShowedInformation=function(){var n=e.editorMode();t.select("#generalDetails").classed("hidden",n),t.select("#generalDetailsEdit").classed("hidden",!n),e.options().editSidebar().updateGeneralOntologyInfo(),e.options().sidebar().updateGeneralOntologyInfo()},C.updateGeneralOntologyInfo=function(){var n=e.options().getGeneralMetaObject(),o=e&&e.language?e.language():null;n.hasOwnProperty("title")&&("object"==typeof n.title?t.select("#title").node().value=L.textInLanguage(n.title,o):t.select("#title").node().innerHTML=n.title),n.hasOwnProperty("iri")&&(t.select("#about").node().innerHTML=n.iri),n.hasOwnProperty("iri")&&(t.select("#about").node().href=n.iri),n.hasOwnProperty("version")&&(t.select("#version").node().innerHTML=n.version),n.hasOwnProperty("author")&&(t.select("#authors").node().innerHTML=n.author),n.hasOwnProperty("description")&&("object"==typeof n.description?t.select("#description").node().innerHTML=L.textInLanguage(n.description,o):t.select("#description").node().innerHTML=n.description)},C}}).call(t,n(6))},339:function(e,t,n){(function(t){e.exports=function(e){function n(e){for(var t=0;t"),e.updateCanvasContainerSize(),void e.options().navigationMenu().updateScrollButtonVisibility()):(t.select("#leftSideBarCollapseButton").classed("hidden",!0),1===n&&(u=!0,i.node().innerHTML="<",g.style("-webkit-animation-name","l_sbExpandAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_ExpandLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s")),void(0===n&&(u=!1,h.classed("hidden",!0),i.node().innerHTML=">",g.style("-webkit-animation-name","l_sbCollapseAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_CollapseLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("left","0"))))},c.getSidebarVisibility=function(){var e=h.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},c}}).call(t,n(6))},340:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=t.select("#typeEditor_datatype").node(),n=["undefined","xsd:boolean","xsd:double","xsd:integer","xsd:string"],o=0;o0){var s=e.options().prefixList()[a];if(void 0===s)return console.log("ERROR __________________"),e.options().warningModule().showWarning("Invalid Element IRI","Could not resolve prefix '"+s+"'","Restoring previous IRI for Element"+n.iri(),1,!1),void(t.select("#element_iriEditor").node().value=n.iri());if(0===l.length)return e.options().warningModule().showWarning("Invalid Element IRI","Input IRI is EMPTY","Restoring previous IRI for Element"+n.iri(),1,!1),console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());o=s+l}else o=i+l}else{if(0===o.length)return console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());console.log("Tryig to use the input!"),o=i+o}}return o}function f(n){var o,i=u(n),r=e.options().getGeneralMetaObjectProperty("iri");if(F.isNode(n)){if(o=e.checkIfIriClassAlreadyExist(i),o!==!1)return e.options().warningModule().showWarning("Already seen this class","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),2,!1,o),void O.updateSelectionInformation(n);n.iri(i)}return F.isProperty(n)===!0&&(o=O.checkProperIriChange(n,i),o!==!1)?(e.options().warningModule().showWarning("Already seen this property","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),1,!1,o),void O.updateSelectionInformation(n)):(n.iri(i),c(r,i)===!0?(b(n,"external"),n.backgroundColor("#36C"),n.redrawElement(),n.redrawLabelText()):(x(n,"external"),n.backgroundColor(void 0),n.redrawElement(),n.redrawLabelText()),n.focused()&&(e.options().focuserModule().handle(n,!0),e.options().focuserModule().handle(n,!0)),t.select("#element_iriEditor").node().value=I.getPrefixRepresentationForFullURI(i),void O.updateSelectionInformation(n))}function h(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function g(e){e.label(t.select("#element_labelEditor").node().value),e.redrawLabelText()}function v(e){M=e;var n,o=t.select("#property_characteristics_Selection"),i=o.node().children;if(i)for(var r=i.length,a=0;a-1){var l=o.append("span");l.classed("spanForCharSelection",!0),l.node().innerHTML="external"}var s,d;if(F.isNode(e)===!0){var c=["deprecated"];for(n=0;n=0}function y(){var e=this.checked,t=this.getAttribute("characteristics");e===!0?b(M,t):x(M,t),M.redrawElement(),M.focused(!1),M.toggleFocus()}function b(e,t){if(e.attributes().indexOf(t)===-1){var n=e.attributes();n.push(t),e.attributes(n)}if(e.indications().indexOf(t)===-1){var o=e.indications();o.push(t),e.indications(o)}var i;if(e.visualAttributes().indexOf(t)===-1&&(i=e.visualAttributes(),i.push(t),e.visualAttributes(i)),m(e,"external")&&m(e,"deprecated")){i=e.visualAttributes();var r=i.indexOf("external");r>-1&&i.splice(r,1),e.visualAttributes(i)}}function x(e,t){var n=e.attributes(),o=e.indications(),i=e.visualAttributes(),r=n.indexOf(t);r>=0&&n.splice(r,1);var a=o.indexOf(t);a>-1&&o.splice(a,1);var l=i.indexOf(t);l>-1&&i.splice(l,1),e.attributes(n),e.indications(o),e.visualAttributes(i),"deprecated"===t&&("owl:Class"===e.type()&&e.styleClass("class"),"owl:DatatypeProperty"===e.type()&&e.styleClass("datatypeproperty"),"owl:ObjectProperty"===e.type()&&e.styleClass("objectproperty"),"owl:disjointWith"===e.type()&&e.styleClass("disjointwith"))}function w(e){return"owl:Thing"!==e.type()&&"rdfs:subClassOf"!==e.type()&&"rdfs:Literal"!==e.type()&&"rdfs:Datatype"!==e.type()&&"rdfs:disjointWith"!==e.type()}function k(t){F.isNode(t)&&e.changeNodeType(t)===!1&&(F.isDatatype(t)===!0,O.updateSelectionInformation(t)),F.isProperty(t)&&e.changePropertyType(t)===!1&&O.updateSelectionInformation(t)}function C(e){var t=[];return F.isProperty(e)?("owl:DatatypeProperty"===e.type()?t.push("owl:DatatypeProperty"):(t.push("owl:ObjectProperty"),e.domain()!==e.range()&&t.push("rdfs:subClassOf"),t.push("owl:disjointWith"),t.push("owl:allValuesFrom"),t.push("owl:someValuesFrom")),t):("rect"===e.renderType()?(t.push("rdfs:Literal"),t.push("rdfs:Datatype")):(t.push("owl:Class"),t.push("owl:Thing")),t)}function L(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");o.on("click",function(){var o=t.select(this);o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0)),O.updateElementWidth()})}var M,_,E,O={},S=webvowl.util.languageTools(),F=webvowl.util.elementTools(),I=webvowl.util.prefixTools(e),T=!1;return O.clearMetaObjectValue=function(){t.select("#titleEditor").node().value="",t.select("#iriEditor").node().value="",t.select("#versionEditor").node().value="",t.select("#authorsEditor").node().value="",t.select("#descriptionEditor").node().value=""},O.updatePrefixUi=function(){O.updateElementWidth();for(var e=t.select("#prefixURL_Container");e.node().firstChild;)e.node().removeChild(e.node().firstChild);a()},O.setup=function(){L(),a(),r(),n(),t.select("#titleEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value))}),t.select("#iriEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri"))}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri")))}),t.select("#versionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value))}),t.select("#authorsEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value))}),t.select("#descriptionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("description",t.select("#descriptionEditor").node().value)}),O.updateElementWidth()},O.updateEditDeleteButtonIds=function(e,n){t.select("#prefixInputFor_"+e).node().id="prefixInputFor_"+n,t.select("#prefixURLFor_"+e).node().id="prefixURLFor_"+n,t.select("#deleteButtonFor_"+e).node().id="deleteButtonFor_"+n,t.select("#editButtonFor_"+e).node().id="editButtonFor_"+n,t.select("#prefixContainerFor_"+e).node().id="prefixContainerFor_"+n},O.checkForExistingURL=function(t){var n,o=e.getUnfilteredData().properties;for(n=0;n0&&(e=-10);var o=parseInt(s.property("value")),i=o+e;i!==o&&(s.property("value",i),r(i),s.on("input")()),t.event.preventDefault()}})}function o(n,o,i,a,l){var s=t.select(i).append("div").classed("checkboxContainer",!0),d=s.append("input").classed("moduleCheckbox",!0).attr("id",n+"ConfigCheckbox").attr("type","checkbox").property("checked",a());d.on("click",function(t){var n=d.property("checked");a(n),t!==!0&&(1===l&&e.lazyRefresh(),2===l&&e.update(),3===l&&e.updateDraggerElements())}),r.push(d),s.append("label").attr("for",n+"ConfigCheckbox").text(o)}var i={},r=[];return i.setup=function(){var i=t.select("#m_modes");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),o("showZoomSlider","Zoom controls","#zoomSliderOption",e.options().zoomSlider().showSlider,0),n("#maxLabelWidthSliderOption","maxLabelWidth","Max label width",e.options().maxLabelWidth)},i.setCheckBoxValue=function(e,t){for(var n=0;nTrying to convert with other communication protocol."),e(t)}function i(e){f.append_message_toLastBulletPoint("
    Trying to convert with other communication protocol.");var t=e[0],n=e[1],o=new FormData;o.append("ontology",t);var i=new XMLHttpRequest;i.open("POST","convert",!0);var r="";i.onload=function(){200===i.status&&(r=i.responseText,f.setCachedOntology(n,r),h=n,L=!0,f.append_message_toLastBulletPoint("
    Success, but you are using a deprecated OWL2VOWL service!"),s(r))},i.onreadystatechange=function(){4===i.readyState&&0===i.status&&(f.append_message_toLastBulletPoint("
    Old protocol also failed to establish connection to OWL2VOWL service!"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage())},i.send(o)}function r(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){O.setBusyMode(),t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage()):(u=o.responseText,f.setConversionID(u),n[0]=n[0]+"&sessionId="+u,n.push(u),e(n))})}function a(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),i(n)):(u=o.responseText,f.setConversionID(u),console.log("Request Session ID:"+u),e(n[0],n[1],u))})}function l(n){var o;n.indexOf("new_ontology")!==-1&&(O.hideLoadingIndicator(),e.showEditorHintIfNeeded(),o="./data/new_ontology.json"),C=!1;var i="";if(f.cachedOntology(n))f.append_bulletPoint("Loading already cached ontology: "+n),i=f.cachedOntology(n),C=!0,O.showLoadingIndicator(),s(i);else{var r="./data/"+n+".json";o&&(r=o),t.xhr(r,"application/json",function(t,o){var r=!t;r?(i=o.responseText,s(i)):(f.append_bulletPoint("Failed to load: "+n),f.append_message_toLastBulletPoint(" ERROR STATUS: "+t.status),e.handleOnLoadingError(),O.setErrorMode())})}}function s(e){f.append_bulletPoint("Reading ontology graph ... ");var t=f.getLoadingFunction();t(e,h,"noAlternativeNameYet")}function d(e){var t=(e.match(/#/g)||[]).length,n=[];if(t>0)for(var o=e.split("#"),i=1;i=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else h=e[0],n()}function r(e){if(e[0].indexOf(a)>=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else n();h=e[1]}var a="opts=";switch(t.length){case 0:n();break;case 1:i(t);break;case 2:r(t);break;default:console.log("To many input parameters , loading default config"),n(),h="ERROR_TO_MANY_INPUT_PARAMETERS"}}function p(e){var t="iri=",n="url=",o="file=",i=-1;return i=e.substr(0,o.length)===o?v:e.substr(0,n.length)===n?m:e.substr(0,t.length)===t?y:g}var u,f,h,g=0,v=1,m=2,y=3,b=0,x=1,w=2,k=1,C=!1,L=!1,M=!1,_=!0,E="ontology",O={},S=t.select("#loading-info"),F=t.select("#loadingInfo-container"),I=t.select("#show-loadingInfo-button"),T=t.select("#loadingIndicator_closeButton");return O.checkForScreenSize=function(){var n=e.options().width(),o=e.options().height();n<270?t.select("#loading-info").classed("hidden",!0):_===!0?t.select("#loading-info").classed("hidden",!1):t.select("#loading-info").classed("hidden",!0),o<150?t.select("#loadingInfo_msgBox").classed("hidden",!0):t.select("#loadingInfo_msgBox").classed("hidden",!1),o<80?(t.select("#progressBarContext").classed("hidden",!0),t.select("#layoutLoadingProgressBarContainer").style("height","20px")):(t.select("#progressBarContext").classed("hidden",!1),t.select("#layoutLoadingProgressBarContainer").style("height","50px"))},O.getProgressBarMode=function(){return k},O.successfullyLoadedOntology=function(){return C},O.missingImportsWarning=function(){return L},O.setOntologyMenu=function(e){f=e},O.showErrorDetailsMessage=function(){O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!0),O.scrollDownDetails()},O.showWarningDetailsMessage=function(){t.select("#currentLoadingStep").style("color","#ff0"),O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!1),O.scrollDownDetails()},O.scrollDownDetails=function(){var e=t.select("#loadingInfo-container").node();e.scrollTop=e.scrollHeight},O.hideLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!0),_=!1},O.showLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!1),_=!0},O.setup=function(){F.classed("hidden",!M),I.on("click",function(){M=!M,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)}),T.on("click",function(){S.classed("hidden",!0)}),O.setBusyMode()},O.updateSize=function(){M=!F.classed("hidden"),F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.getDetailsState=function(){return M},O.expandDetails=function(){M=!0,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.collapseDetails=function(){M=!1,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.setBusyMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").style("width","20%"),t.select("#progressBarValue").classed("busyProgressBar",!0),k=x},O.setSuccessful=function(){t.select("#currentLoadingStep").style("color","#0f0")},O.setErrorMode=function(){t.select("#currentLoadingStep").style("color","#f00"),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="",k=b},O.setPercentMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="0%",t.select("#progressBarValue").style("width","0%"),k=w},O.setPercentValue=function(e){t.select("#progressBarValue").node().innherHTML=e},O.emptyGraphContentError=function(){e.clearGraphData(),f.append_message_toLastBulletPoint("failed"),f.append_message_toLastBulletPoint('
    Error: Received empty graph'),C=!1,e.handleOnLoadingError(),O.setErrorMode()},O.isThreadCanceled=function(){},O.initializeLoader=function(n){if(n===!0&&null!==e.getCachedJsonObj()){var o=JSON.stringify(e.getCachedJsonObj()),i=h;f.setCachedOntology(i,o)}u=-1e4,f.setConversionID(u),f.stopLoadingTimer(),e.clearGraphData(),O.setBusyMode(),O.showLoadingIndicator(),O.collapseDetails(),L=!1,t.select("#loadingIndicator_closeButton").classed("hidden",!0),f.clearDetailInformation()},O.parseUrlAndLoadOntology=function(n){var o=!0;n===!1&&(o=!1),e.clearAllGraphData(),O.initializeLoader(o);var i=String(location),r=d(i);h=E,c(r);var a=p(h);switch(t.select("#progressBarValue").node().innerHTML=" ",a){case 0:O.from_presetOntology(h);break;case 1:O.from_FileUpload(h);break;case 2:O.from_JSON_URL(h);break;case 3:O.from_IRI_URL(h);break;default:console.log("Could not identify loading method , or not IMPLEMENTED YET")}},O.from_JSON_URL=function(e){var t=decodeURIComponent(e.slice("url=".length));h=t;var o="";f.cachedOntology(t)?(f.append_bulletPoint("Loading already cached ontology: "+t),o=f.cachedOntology(t),C=!0,s(o)):(f.append_message("Retrieving ontology from JSON URL "+t),n(f.callbackLoad_JSON_FromURL,["read?json="+t,t]))},O.requestServerTimeStampForDirectInput=function(e,n){t.xhr("serverTimeStamp","application/text",function(o,i){o?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage(),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").text("0%")):(u=i.responseText,f.setConversionID(u),e(n,["conversionID"+u,u]))})},O.from_IRI_URL=function(e){var t=decodeURIComponent(e.slice("iri=".length));h=t;var n="";if(f.cachedOntology(t))f.append_bulletPoint("Loading already cached ontology: "+t),n=f.cachedOntology(t),C=!0,s(n);else{var o=encodeURIComponent(t);f.append_bulletPoint("Retrieving ontology from IRI: "+t),r(f.callbackLoad_Ontology_FromIRI,["convert?iri="+o,t])}},O.from_FileUpload=function(n){O.setBusyMode();var o=decodeURIComponent(n.slice("file=".length));h=o;var i="";if(f.cachedOntology(o))f.append_bulletPoint("Loading already cached ontology: "+o),i=f.cachedOntology(o),C=!0,s(i);else{f.append_bulletPoint("Retrieving ontology from file: "+o);var r=t.select("#file-converter-input").property("files")[0];if(!r||o&&o!==r.name)return f.append_message_toLastBulletPoint('
    No cached version of "'+o+'" was found.
    Please reupload the file.'),O.setErrorMode(),t.select("#progressBarValue").classed("busyProgressBar",!1),void e.handleOnLoadingError();if(o=r.name,o.match(/\.json$/)){f.setConversionID(-1e4);var l=new FileReader;l.readAsText(r),l.onload=function(){i=l.result,h=o,s(i)}}else{var d=[r,o];a(f.callbackLoadFromOntology,d)}}},O.directInput=function(e){f.clearDetailInformation(),s(e)},O.loadFromOWL2VOWL=function(e,n){C=!1;var o=t.select("#bulletPoint_container").node().innerHTML;o.indexOf("(with warnings)")!==-1&&(L=!0),f.cachedOntology(e)?(f.append_bulletPoint("Loading already cached ontology: "+n),s(e)):s(e)},O.from_presetOntology=function(e){f.append_bulletPoint("Retrieving ontology: "+e),l(e)},O.notValidJsonFile=function(){e.clearGraphData(),f.append_message_toLastBulletPoint(" failed"),f.append_message_toLastBulletPoint("
    Error: Received empty graph"),C=!1,e.handleOnLoadingError()},O.validJsonFile=function(){f.append_message_toLastBulletPoint("done"),C=!0},O}}).call(t,n(6))},343:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=document.styleSheets[1].cssRules,t=0;tYou can now modify an existing ontology or create a new one via the ontology menu.
    You can save any ontology using the export menu (and exporting it as TTL file).",o.style("padding","5px"),o.style("line-height","1.2em"),o.style("font-size","1.2em");var a=t.append("ul");a.append("li").node().innerHTML="Create a class with double click / tap on empty canvas area.",a.append("li").node().innerHTML="Edit names with double click / tap on element.",a.append("li").node().innerHTML="Selection of default constructors is provided in the left sidebar.",a.append("li").node().innerHTML="Additional editing functionality is provided in the right sidebar.";var d=t.append("label");d.node().id="killWarningErrorMessages_"+e,d.node().innerHTML="Got It",d.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showMessage=function(e){var t=l[e];t.classed("hidden",!1),t.style("-webkit-animation-name","warn_ExpandAnimation"),t.style("-webkit-animation-duration","0.5s")},r.closeMessage=function(e){var n;if(void 0===e){var o=this.id;n=o.split("_")[1]}else n=e;e&&e.indexOf("_")!==-1&&(n=e.split("_")[1]),d[n]=!1;var i=l[n];i.style("-webkit-animation-name","warn_CollapseAnimation"),i.style("-webkit-animation-duration","0.5s");for(var r=i.node().getBoundingClientRect().height,a=i.node().parentNode,s=[],c=a.children,u=c.length,f=i.node().id,h=!1,g=0;g0){var v=f.append("div");v.style("padding","5px");var m=v.append("div");m.style("display","inline-flex"),m.node().innerHTML="Warning:",m.style("padding-right","3px");var y=v.append("div");y.style("display","inline-flex"),y.style("max-width",g+"px"),y.node().innerHTML=n}if(o.length>0){var b=f.append("div");b.style("padding","5px");var x=b.append("div");x.style("display","inline-flex"),x.style("padding-right","3px"),x.node().innerHTML="Reason:";var w=b.append("div");w.style("display","inline-flex"),w.style("max-width",g+"px"),w.node().innerHTML=o}if(i.length>0){var k=f.append("div");k.style("padding","5px");var C=k.append("div");C.style("display","inline-flex"),C.style("padding-right","8px"),C.node().innerHTML="Action:";var L=k.append("div");L.style("display","inline-flex"),L.style("max-width",g+"px"),L.node().innerHTML=i}var M=f.append("label");M.node().id="killWarningErrorMessages_"+u,M.node().innerHTML="Continue",M.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0),a(c[0],c[1],c[2],c[3])}),f.append("span").node().innerHTML="|";var _=f.append("label");_.node().id="cancelButton_"+u,_.node().innerHTML="Cancel",_.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0)}),h.classed("hidden",!1),h.style("-webkit-animation-name","warn_ExpandAnimation"),h.style("-webkit-animation-duration","0.5s")},r.showFilterHint=function(){var e=r.addMessageBox(),t=s[e],n=l[e];d[e]=!0,o=e;var i=t.append("div");i.node().innerHTML="Collapsing filter activated.
    The number of visualized elements has been automatically reduced.
    Use the degree of collapsing slider in the filter menu to adjust the visualization.

    Note: A performance decrease could be experienced with a growing amount of visual elements in the graph.",i.style("padding","5px"),i.style("line-height","1.2em"),i.style("font-size","1.2em");var a=t.append("label");a.node().id="killFilterMessages_"+e,a.node().innerHTML="Got It",a.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showWarning=function(t,n,o,i,a,c){var p=r.addMessageBox(),u=s[p],f=l[p];d[p]=!0;var h=.5*e.options().width();if(t.length>0){var g=u.append("div");g.style("padding","5px");var v=g.append("div");v.style("display","inline-flex"),v.node().innerHTML="Warning:",v.style("padding-right","3px");var m=g.append("div");m.style("display","inline-flex"),m.style("max-width",h+"px"),m.node().innerHTML=t}if(n.length>0){var y=u.append("div");y.style("padding","5px");var b=y.append("div");b.style("display","inline-flex"),b.style("padding-right","3px"),b.node().innerHTML="Reason:";var x=y.append("div");x.style("display","inline-flex"),x.style("max-width",h+"px"),x.node().innerHTML=n}if(o.length>0){var w=u.append("div");w.style("padding","5px");var k=w.append("div");k.style("display","inline-flex"),k.style("padding-right","8px"),k.node().innerHTML="Action:";var C=w.append("div");C.style("display","inline-flex"),C.style("max-width",h+"px"),C.node().innerHTML=o}var L;if(1===i&&(L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage)),2===i){L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage),u.append("span").node().innerHTML="|";var M=u.append("label");M.node().id="zoomElementThing_"+p,M.node().innerHTML="Zoom to element ",M.on("click",function(){e.zoomToElementInGraph(c)}),u.append("span").node().innerHTML="|";var _=u.append("label");_.node().id="showElementThing_"+p,_.node().innerHTML="Indicate element",_.on("click",function(){c.halo()===!1?(c.drawHalo(),e.updatePulseIds([c.id()])):(c.removeHalo(),c.drawHalo(),e.updatePulseIds([c.id()]))})}f.classed("hidden",!1),f.style("-webkit-animation-name","warn_ExpandAnimation"),f.style("-webkit-animation-duration","0.5s"),f.classed("hidden",!1)},r}}).call(t,n(6))},344:function(e,t,n){(function(t){e.exports=function(e){var n={},o=t.select("#DirectInputContent");o.style("top","0"),o.style("position","absolute");var i=t.select("#directInputTextArea"),r=!1;return o.style("border","1px solid black"),o.style("padding","5px"),o.style("background","#fff"),n.handleDirectUpload=function(){var o,r=i.node().value;try{o=JSON.parse(r),e.options().loadingModule().directInput(r),o.class.length>0&&n.setDirectInputMode(!1)}catch(n){try{e.options().loadingModule().initializeLoader(),e.options().loadingModule().requestServerTimeStampForDirectInput(e.options().ontologyMenu().callbackLoad_Ontology_From_DirectInput,r)}catch(e){console.log("Error "+e),t.select("#Error_onLoad").classed("hidden",!1),t.select("#Error_onLoad").node().innerHTML="Failed to convert the input!"}}},n.handleCloseButton=function(){n.setDirectInputMode(!1)},n.updateLayout=function(){var t=e.options().width(),n=e.options().height();i.style("width",.4*t+"px"),i.style("height",.7*n+"px")},n.setDirectInputMode=function(e){r=e?e:!r,n.updateLayout(),t.select("#Error_onLoad").classed("hidden",!0),o.classed("hidden",!r)},t.select("#directUploadBtn").on("click",n.handleDirectUpload),t.select("#close_directUploadBtn").on("click",n.handleCloseButton),n}}).call(t,n(6))}}); diff --git a/dist/ontology/0.6.0/webvowl/js/webvowl.js b/dist/ontology/0.6.0/webvowl/js/webvowl.js new file mode 100644 index 0000000..fe3a381 --- /dev/null +++ b/dist/ontology/0.6.0/webvowl/js/webvowl.js @@ -0,0 +1,7 @@ +webvowl=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){function r(e,t){var n=t.key.replace(":","").toLowerCase();e[n]=t.value}n(1);var o=n(5)(),a=n(40)(),i={};i.graph=n(57),i.options=n(64),i.version="1.1.4",i.util={},i.util.constants=n(12),i.util.languageTools=n(11),i.util.elementTools=n(63),i.util.prefixTools=n(72),i.modules={},i.modules.colorExternalsSwitch=n(73),i.modules.compactNotationSwitch=n(74),i.modules.datatypeFilter=n(75),i.modules.disjointFilter=n(77),i.modules.focuser=n(78),i.modules.emptyLiteralFilter=n(79),i.modules.nodeDegreeFilter=n(80),i.modules.nodeScalingSwitch=n(81),i.modules.objectPropertyFilter=n(82),i.modules.pickAndPin=n(83),i.modules.selectionDetailsDisplayer=n(315),i.modules.setOperatorFilter=n(316),i.modules.statistics=n(317),i.modules.subclassFilter=n(318),i.nodes={},o.entries().forEach(function(e){r(i.nodes,e)}),i.properties={},a.entries().forEach(function(e){r(i.properties,e)}),e.exports=i},function(e,t){},,,,function(e,t,n){(function(t){var r=[];r.push(n(7)),r.push(n(18)),r.push(n(19)),r.push(n(26)),r.push(n(27)),r.push(n(28)),r.push(n(29)),r.push(n(30)),r.push(n(31)),r.push(n(32)),r.push(n(33)),r.push(n(34)),r.push(n(38)),r.push(n(39));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t){e.exports=d3},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["external"]).type("ExternalClass")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(9),o=n(14),a=n(17)();e.exports=function(){var e=function(e){function t(){var t=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(t=void 0);var n=new o(u.nodeElement(),t),r=u.equivalentsString(),a=r?",":"";return n.addText(u.labelForCurrentLanguage(),"",a),n.addEquivalents(r),e.options().compactNotation()||n.addSubText(u.indicationString()),n.addInstanceCount(u.individuals().length),n}r.apply(this,arguments);var n,i,s,l,u=this,c=!1,d=50,p=null,f=!1;this.setRectangularRepresentation=function(e){f=e},this.getRectangularRepresentation=function(){return f},this.getHalos=function(){return p},this.collapsible=function(e){return arguments.length?(c=e,this):c},this.textBlock=function(e){return arguments.length?(l=e,this):l},this.radius=function(e){return arguments.length?(d=e,this):d},this.setHoverHighlighting=function(e){u.nodeElement().selectAll("circle").classed("hovered",e)},this.textWidth=function(e){var t=2*this.actualRadius();if(e){var n=Math.abs(e)/this.actualRadius(),r=n<=1;t=r?Math.cos(n)*t:0}return t},this.toggleFocus=function(){u.focused(!u.focused()),u.nodeElement()&&u.nodeElement().select("circle").classed("focused",u.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.actualRadius=function(){if(!e.options().scaleNodesByIndividuals()||u.individuals().length<=0)return u.radius();var t=8,n=Math.log(u.individuals().length+1)*t+5;return u.radius()+n},this.distanceToBorder=function(){return u.actualRadius()},this.removeHalo=function(){u.halo()&&(u.halo(!1),p&&p.remove())},this.drawHalo=function(e){if(u.halo(!0),p=f===!0?a.drawRectHalo(u.nodeElement(),80,80,5):a.drawHalo(u.nodeElement(),u.actualRadius(),this.removeHalo),e===!1){var t=p.selectAll(".searchResultA");t.classed("searchResultA",!1),t.classed("searchResultB",!0),t.attr("animationRunning",!1)}},this.drawPin=function(){u.pinned(!0);var t=-.7*u.actualRadius(),n=-.7*u.actualRadius();i=a.drawPin(u.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){u.pinned(!1),i&&i.remove(),e.updateStyle()},this.drawCollapsingButton=function(){n=u.nodeElement().append("g").classed("hidden-in-export",!0).attr("transform",function(){var e=-.4*u.actualRadius(),t=.5*u.actualRadius();return"translate("+e+","+t+")"}),n.append("rect").classed("class pin feature",!0).attr("x",0).attr("y",0).attr("width",40).attr("height",24),n.append("line").attr("x1",13).attr("y1",12).attr("x2",27).attr("y2",12),n.append("line").attr("x1",20).attr("y1",6).attr("x2",20).attr("y2",18)},this.draw=function(e,t){var n=u.collectCssClasses();u.nodeElement(e);var r=u.backgroundColor();null===r&&(r=void 0),u.attributes().indexOf("deprecated")>-1&&(r=void 0),t instanceof Array&&(n=n.concat(t)),s=f===!0?a.appendRectangularClass(e,80,80,n,u.labelForCurrentLanguage(),r):a.appendCircularClass(e,u.actualRadius(),n,u.labelForCurrentLanguage(),r),u.postDrawActions(e)},this.redrawElement=function(){s.remove(),l.remove();var e=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(e=void 0);var t=u.collectCssClasses();s=f===!0?a.appendRectangularClass(u.nodeElement(),80,80,t,u.labelForCurrentLanguage(),e):a.appendCircularClass(u.nodeElement(),u.actualRadius(),t,u.labelForCurrentLanguage(),e),u.postDrawActions(u.nodeElement())},this.postDrawActions=function(){u.textBlock(t()),u.addMouseListeners(),u.pinned()&&u.drawPin(),u.halo()&&u.drawHalo(!1),u.collapsible()&&u.drawCollapsingButton()},this.redrawLabelText=function(){u.textBlock().remove(),u.textBlock(t()),s.select("title").text(u.labelForCurrentLanguage())},this.equivalentsString=function(){var e=u.equivalents();if(e)return e.map(function(e){return e.labelForCurrentLanguage()}).join(", ")}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(13)();e.exports=function(){var e=function(e){function n(){if(!g.mouseEntered()&&b!==!0){var t=g.nodeElement().node(),n=t.parentNode;g.animationProcess()===!1&&n.appendChild(t),e.isTouchDevice()===!1?(g.setHoverHighlighting(!0),g.mouseEntered(!0),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g)):e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g,!0)}}function a(){g.setHoverHighlighting(!1),g.mouseEntered(!1),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!1)}r.apply(this,arguments);var i,s,l,u,c,d,p,f,h,v,g=this,y=[],m="round",b=!1,x=[];g.editingTextElement=!1,this.isPropertyAssignedToThisElement=function(e){if(console.log("Element IRI :"+e.iri()),"rdfs:subClassOf"===e.type())for(var t=0;t0?this.LINE_DISTANCE:0;e.attr("dy",n+o+"px")},r.prototype.getTextBox=function(){return this._textBlock()},r.prototype._repositionTextBlock=function(){var e=this._lineCount();if(e<1)return void this._textBlock().attr("y",0);var t=this._textBlock().node().getBBox().height;this._textBlock().attr("y",.5*-t+"px")},r.prototype._lineCount=function(){return this._textBlock().property("childElementCount")}},function(e,t,n){(function(t){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}var r=4,o={};o.truncate=function(e,t,o,a){if(t-=isNaN(a)?r:a,isNaN(t)||t<=0)return e;for(var i,s,l,u=e;;){if(s=n(u,o),s<=t)break;if(l=s/t,i=Math.floor(u.length/l),u.length===i)break;u=u.substring(0,i)}return e.length>u.length?e.substring(0,u.length-3)+"...":e},e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){(function(t){function n(e,t){var n=e.append("text").classed("text",!0).style("fill",this._getTextColor(t)).attr("text-anchor","middle");this._textBlock=function(){return n}}function r(e){return.3*(e.r/255)+.59*(e.g/255)+.11*(e.b/255)}e.exports=n,n.prototype.LINE_DISTANCE=1,n.prototype.CSS_CLASSES={default:"text",subtext:"subtext",instanceCount:"instance-count"},n.prototype.DARK_TEXT_COLOR="#000",n.prototype.LIGHT_TEXT_COLOR="#fff",n.prototype.translation=function(e,t){return this._textBlock().attr("transform","translate("+e+", "+t+")"),this},n.prototype.remove=function(){return this._textBlock().remove(),this},n.prototype._applyPreAndPostFix=function(e,t,n){return t&&(e=t+e),n&&(e+=n),e},n.prototype._getTextColor=function(e){if(!e)return n.prototype.DARK_TEXT_COLOR;var o=t.rgb(e);return r(o)>.5?n.prototype.DARK_TEXT_COLOR:n.prototype.LIGHT_TEXT_COLOR}}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e,t){t instanceof Array&&t.forEach(function(t){e.classed(t,!0)})}function n(e,t){t&&e.append("title").text(t)}function r(e,t){t&&e.style("fill",t)}var o={};return o.appendCircularClass=function(t,o,a,i,s){var l=t.append("circle").classed("class",!0).attr("r",o);return e(l,a),n(l,i),r(l,s),l},o.appendRectangularClass=function(t,o,a,i,s,l){var u=t.append("rect").classed("class",!0).attr("x",-o/2).attr("y",-a/2).attr("width",o).attr("height",a);return e(u,i),n(u,s),r(u,l),u},o.drawPin=function(e,n,r,o,a,i){var s=e.append("g").classed("hidden-in-export",!0).attr("transform","translate("+n+","+r+")"),l=s.append("circle").classed("class pin feature",!0).attr("r",12).on("click",function(){o&&o(),t.event.stopPropagation()});return s.append("line").attr("x1",0).attr("x2",0).attr("y1",12).attr("y2",16),i===!0&&s.append("circle").attr("r",15).attr("cx",-7).attr("cy",-7).classed("superHiddenElement ",!0).classed("superOpacityElement",!a()).on("click",function(){o&&o(),t.event.stopPropagation()}).on("mouseover",function(){l.classed("feature_hover",!0)}).on("mouseout",function(){l.classed("feature_hover",!1)}),s},o.drawRectHalo=function(e,t,n,r){var o;if(o=e.nodeElement?e.nodeElement():e.labelElement()){var a=o.append("g").classed("hidden-in-export",!0);return a.append("rect").classed("searchResultA",!0).attr("x",(-t-r)/2).attr("y",(-r-n)/2).attr("width",t+r).attr("height",n+r),a.attr("animationRunning",!0),a.node().addEventListener("webkitAnimationEnd",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a.node().addEventListener("animationend",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a}},o.drawHalo=function(e,t){if(void 0===e)return null;var n=e.append("g").classed("hidden-in-export",!0);return n.append("circle",":first-child").classed("searchResultA",!0).attr("r",t+15),n.attr("animationRunning",!0),n.node().addEventListener("webkitAnimationEnd",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n.node().addEventListener("animationend",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n},function(){return o}}()}).call(t,n(6))},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.type("owl:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("complementof").type("owl:complementOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0);r.append("circle").attr("class","symbol").classed("fineline",!0).attr("r",10),r.append("path").attr("class","nofill").attr("d","m -7,-1.5 12,0 0,6").attr("transform","scale(.5)"),r.attr("transform","translate(-"+(t.radius()-15)/100+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(21),o=n(22),a=n(8),i=n(17)();e.exports=function(){var e=function(e){a.apply(this,arguments);var t=this,n=t.setHoverHighlighting,s=t.postDrawActions;this.setHoverHighlighting=function(e){n(e),t.links().filter(function(e){return e instanceof o}).filter(function(e){return e.domain().equals(t)}).forEach(function(t){t.property().setHighlighting(e)})},this.draw=function(e){t.nodeElement(e),i.appendCircularClass(e,t.actualRadius(),t.collectCssClasses().join(" "),t.labelForCurrentLanguage(),t.backgroundColor())},this.postDrawActions=function(){s(),t.textBlock().remove();var n=new r(t.nodeElement(),t.backgroundColor()),o=t.equivalentsString(),a=o?-30:-17,i=o?",":"";n.addText(t.labelForCurrentLanguage(),a,"",i),n.addEquivalents(o,-17),e.options().compactNotation()?n.addInstanceCount(t.individuals().length,17):t.indicationString().length>0?(n.addSubText(t.indicationString(),17),n.addInstanceCount(t.individuals().length,30)):n.addInstanceCount(t.individuals().length,17),t.textBlock(n)}};return e.prototype=Object.create(a.prototype),e.prototype.constructor=e,e}()},function(e,t,n){function r(e,t){a.apply(this,arguments)}var o=n(15)(),a=n(16);e.exports=r,r.prototype=Object.create(a.prototype),r.prototype.constructor=r,r.prototype.addText=function(e,t,n,r){e&&this.addTextline(e,this.CSS_CLASSES.default,t,n,r)},r.prototype.addSubText=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.subtext,t,"(",")")},r.prototype.addEquivalents=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.default,t)},r.prototype.addInstanceCount=function(e,t){e&&this.addTextline(e.toString(),this.CSS_CLASSES.instanceCount,t)},r.prototype.addTextline=function(e,t,n,r,a){var i=o.truncate(e,this._textBlock().datum().textWidth(n),t),s=this._textBlock().append("tspan").classed(this.CSS_CLASSES.default,!0).classed(t,!0).text(this._applyPreAndPostFix(i,r,a)).attr("x",0);this._repositionTextLine(s,n)},r.prototype._repositionTextLine=function(e,t){var n=window.getComputedStyle(e.node()).getPropertyValue("font-size"),r=parseFloat(n),o=1/3*r;e.attr("y",o+(t||0)+"px")}},function(e,t,n){function r(e,t,n){s.apply(this,arguments)}function o(e,t){var n=i(e,t);n.attr("refX",-8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function a(e,t){var n=i(e,t);n.attr("refX",8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function i(e,t){return e.append("marker").datum(t).attr("id",t.markerId()).attr("viewBox","-10 -10 20 20").attr("markerWidth",20).attr("markerHeight",20).attr("markerUnits","userSpaceOnUse").attr("orient","auto")}var s=n(23);e.exports=r,r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.draw=function(e,t){var n=this.label().property(),r=this.label().inverse();o(t,n),r&&a(t,r),s.prototype.draw.apply(this,arguments),e.attr("marker-start","url(#"+n.markerId()+")"),r&&e.attr("marker-end","url(#"+r.markerId()+")")}},function(e,t,n){function r(e,t,r){var a,i,s,l,u,c=new o(r,this),d=n(25)(e,c,this),p=n(25)(c,t,this);this.layers=function(e){return arguments.length?(a=e,this):a},this.layerIndex=function(e){return arguments.length?(i=e,this):i},this.loops=function(e){return arguments.length?(s=e,this):s},this.loopIndex=function(e){return arguments.length?(l=e,this):l},this.domain=function(){return e},this.label=function(){return c},this.linkParts=function(){return[p,d]},this.range=function(){return t},this.pathObj=function(e){return arguments.length?void(u=e):u}}var o=n(24);e.exports=r,r.prototype.draw=function(e){var t=this.label().property(),n=this.label().inverse();t.linkGroup(e),n&&n.linkGroup(e);var r=e.append("path");r.classed("link-path",!0).classed(this.domain().cssClassOfNode(),!0).classed(this.range().cssClassOfNode(),!0).classed(t.linkType(),!0),this.pathObj(r)},r.prototype.inverse=function(){return this.label().inverse()},r.prototype.isLoop=function(){return this.domain().equals(this.range())},r.prototype.property=function(){return this.label().property()}},function(e,t){function n(e,t){this.link=function(){return t},this.property=function(){return e},Object.defineProperty(this,"fixed",{get:function(){var t=!!e.inverse()&&e.inverse().fixed;return e.fixed||t},set:function(t){e.fixed=t,e.inverse()&&(e.inverse().fixed=t)}}),this.frozen=e.frozen,this.locked=e.locked,this.pinned=e.pinned}e.exports=n,n.prototype.actualRadius=function(){return this.property().actualRadius()},n.prototype.draw=function(e){return this.property().draw(e)},n.prototype.inverse=function(){return this.property().inverse()},n.prototype.equals=function(e){if(!e)return!1;var t=e instanceof n,r=this.property().equals(e.property()),o=!1;return this.inverse()?o=this.inverse().equals(e.inverse()):e.inverse()||(o=!0),t&&r&&o}},function(e,t){e.exports=function(e,t,n){var r={},o=e,a=n,i=t;return Object.defineProperties(r,{source:{value:o,writable:!0},target:{value:i,writable:!0}}),r.domain=function(){return o},r.link=function(){return a},r.range=function(){return i},r}},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).type("owl:DeprecatedClass").styleClass("deprecated").indications(["deprecated"])};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("disjointunionof").type("owl:disjointUnionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("text").attr("class","link").text("1").attr("transform","scale(.7)translate(3,5)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8),o=n(17)();e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n=4,a=this,i=a.actualRadius;this.styleClass("equivalentclass").type("owl:equivalentClass"),this.actualRadius=function(){return i()+n},this.redrawElement=function(){t.remove(),a.textBlock().remove();var e=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(e=void 0);var r=a.collectCssClasses();t=a.nodeElement().append("g"),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),e)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),console.log(r),console.log(a.attributes()),console.log("what is bgColor"+e),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),e)),a.postDrawActions(a.nodeElement())},this.draw=function(e){var r=a.collectCssClasses();a.nodeElement(e),t=e.append("g");var i=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(i=void 0),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),i)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),i)),a.postDrawActions()},a.setHoverHighlighting=function(e){a.nodeElement().selectAll("circle:last-of-type").classed("hovered",e)}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){function t(){var e=18,t=5,n=-(e/2),r=7,o=5,a=e-o,i="M"+t+","+n,s="c"+r+","+o+" "+r+","+a+" 0,"+e,l="c"+-r+","+-o+" "+-r+","+-a+" 0,"+-e;return i+s+l}r.apply(this,arguments);var n=this,o=n.draw,a=t();this.styleClass("intersectionof").type("owl:intersectionOf"),this.draw=function(e){o(e);var t=e.append("g").classed("embedded",!0),r=10;t.append("path").attr("class","nostroke").classed("symbol",!0).attr("d",a),t.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("circle").attr("cx",10).attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("path").attr("class","nofill").attr("d","m 9,5 c 0,-2 0,-4 0,-6 0,0 0,0 0,0 0,0 0,-1.8 -1,-2.3 -0.7,-0.6 -1.7,-0.8 -2.9,-0.8 -1.2,0 -2,0 -3,0.8 -0.7,0.5 -1,1.4 -1,2.3 0,2 0,4 0,6").attr("transform","scale(.5)translate(5,0)"),t.attr("transform","translate(-"+(n.radius()-15)/7+",-"+(n.radius()-15)/100+")"),n.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(31);e.exports=function(){var e=function(e){r.apply(this,arguments),this.label("Nothing").type("owl:Nothing").iri("http://www.w3.org/2002/07/owl#Nothing")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.label("Thing").type("owl:Thing").iri("http://www.w3.org/2002/07/owl#Thing").radius(30),this.draw=function(e){t(e,["white","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("unionof").type("owl:unionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("path").attr("class","link").attr("d","m 1,-3 c 0,2 0,4 0,6 0,0 0,0 0,0 0,2 2,3 4,3 2,0 4,-1 4,-3 0,-2 0,-4 0,-6").attr("transform","scale(.5)translate(5,0)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).type("rdfs:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t="undefined";this.attributes(["datatype"]).type("rdfs:Datatype").styleClass("datatype"),this.dType=function(e){return arguments.length?void(t=e):t}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(36);e.exports=function(){var e=function(e){r.apply(this,arguments)};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(9),o=n(14),a=n(17)(),i=n(37)();e.exports=function(){var e=function(e){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth; +return r.remove(),o}r.apply(this,arguments);var s,l,u,c,d=this,p=20,f=60,h=80,v=80,g=80,y=p/2;d.renderType("rect"),this.height=function(e){return arguments.length?(p=e,this):p},this.width=function(e){return arguments.length?(f=e,this):f},this.getHalos=function(){return l},this.actualRadius=function(){return y},this.distanceToBorder=function(e,t){return i.distanceToBorder(d,e,t)},this.setHoverHighlighting=function(e){d.nodeElement().selectAll("rect").classed("hovered",e);var t=d.getHalos();if(t){var n=t.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0)}},this.textWidth=function(){return h},this.width=function(){return h},this.getMyWidth=function(){var e=d.labelForCurrentLanguage();v=n(e,"text")+20;var t=d.indicationString(),r=n(t,"subtext")+20;return r>v&&(v=r),v},this.textWidth=function(){return d.width()},this.toggleFocus=function(){d.focused(!d.focused()),d.nodeElement().select("rect").classed("focused",d.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.draw=function(t,n){var r=d.collectCssClasses();d.nodeElement(t),n instanceof Array&&(r=r.concat(n)),h=e.options().dynamicLabelWidth()===!0?Math.min(d.getMyWidth(),e.options().maxLabelWidth()):g,f=h,u=a.appendRectangularClass(t,d.width(),d.height(),r,d.labelForCurrentLanguage(),d.backgroundColor()),c=new o(t,d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.addMouseListeners(),d.pinned()&&d.drawPin(),d.halo()&&d.drawHalo(!1)},this.drawPin=function(){d.pinned(!0);var t=-.5*h+5,n=-1.1*p;s=a.drawPin(d.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){d.pinned(!1),s&&s.remove(),e.updateStyle()},this.removeHalo=function(){d.halo(!1),l&&(l.remove(),l=null)},this.drawHalo=function(e){d.halo(!0);var t=0;if(l=a.drawRectHalo(d,this.width(),this.height(),t),e===!1){var n=l.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0),n.attr("animationRunning",!1)}if(d.pinned()){var r=s.node(),o=r.parentNode;o.appendChild(r)}},this.updateTextElement=function(){c.updateAllTextElements()},this.textBlock=function(){return c},this.redrawLabelText=function(){c.remove(),c=new o(d.nodeElement(),d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),u.select("title").text(d.labelForCurrentLanguage())},this.animateDynamicLabelWidth=function(t){d.removeHalo();var n=d.height();if(t===!0?(h=Math.min(d.getMyWidth(),e.options().maxLabelWidth()),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n}).each("end",function(){d.updateTextElement()})):(h=g,d.updateTextElement(),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n})),d.pinned()===!0&&s){var r=.5*h-10,o=-1.1*n;s.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}},this.addTextLabelElement=function(){var e=d.nodeElement();c=new o(e,this.backgroundColor()),c.addText(d.labelForCurrentLanguage())}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()}).call(t,n(6))},function(e,t){var n={};e.exports=function(){return n},n.distanceToBorder=function(e,t,n){var r,o=e.width(),a=e.height(),i=Math.abs(n/t),s=a/o;if(i<=s){var l=t/(o/2),u=n/l;r=Math.sqrt(Math.pow(o/2,2)+Math.pow(u,2))}else{var c=n/(a/2),d=t/c;r=Math.sqrt(Math.pow(a/2,2)+Math.pow(d,2))}return r}},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw,n=this.label;this.attributes(["datatype"]).label("Literal").styleClass("literal").type("rdfs:Literal").iri("http://www.w3.org/2000/01/rdf-schema#Literal"),this.draw=function(e){t(e,["dashed"])},this.label=function(e){return arguments.length?this:n()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.attributes(["rdf"]).label("Resource").radius(30).styleClass("rdfsresource").type("rdfs:Resource"),this.draw=function(e){t(e,["rdf","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=[];r.push(n(41)),r.push(n(44)),r.push(n(45)),r.push(n(46)),r.push(n(47)),r.push(n(48)),r.push(n(49)),r.push(n(50)),r.push(n(51)),r.push(n(52)),r.push(n(53)),r.push(n(54)),r.push(n(55)),r.push(n(56));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("allvaluesfromproperty").type("owl:allValuesFrom"),this.generateCardinalityText=function(){var e="A",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(14),a=n(17)(),i=n(13)(),s=n(37)();n(43)();e.exports=function(){var e=28,n=80,l=e/2,u=function(e){function n(){var e=[];return T.subproperties()&&(e=e.concat(T.subproperties())),T.superproperties()&&(e=e.concat(T.superproperties())),e}function l(){var e=n();e.forEach(function(e){e.foreground&&e.foreground()})}function u(){T.mouseEntered()||P===!0||(T.mouseEntered(!0),T.setHighlighting(!0),T.foreground(),l())}function c(){T.mouseEntered(!1),T.setHighlighting(!1)}function d(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}function p(t){if(e.ignoreOtherHoverEvents()===!1){var n=!1;T.inverse()&&(n=!0),t===!0&&e.activateHoverElementsForProperties(t,T,n)}}r.apply(this,arguments);var f,h,v,g,y,m,b,x,E,w,O,C,k,P,_,j,M,D,L,A,S,T=this,R="normal",I="filled",N=!0,F=80,H=80,B=[];this.existingPropertyIRI=function(t){return e.options().editSidebar().checkForExistingURL(t)},this.getHalos=function(){return M},this.getPin=function(){return j},this.labelObject=function(e,t){return arguments.length?(A=e,void(T.inverse()&&t!==!0&&T.inverse().labelObject(e,!0))):A},this.hide=function(e){T.labelElement().classed("hidden",e),T.linkGroup().classed("hidden",e),T.cardinalityElement()&&T.cardinalityElement().classed("hidden",e)},this.cardinality=function(e){return arguments.length?(f=e,this):f},this.cardinalityElement=function(e){return arguments.length?(w=e,this):w},this.domain=function(e){return arguments.length?(h=e,this):h},this.inverse=function(e){return arguments.length?(v=e,this):v},this.labelElement=function(e){return arguments.length?(O=e,this):O},this.labelVisible=function(e){return arguments.length?(N=e,this):N},this.link=function(e){return arguments.length?(g=e,this):g},this.linkGroup=function(e){return arguments.length?(C=e,this):C},this.linkType=function(e){return arguments.length?(R=e,this):R},this.markerElement=function(e){return arguments.length?(k=e,this):k},this.markerType=function(e){return arguments.length?(I=e,this):I},this.maxCardinality=function(e){return arguments.length?(m=e,this):m},this.minCardinality=function(e){return arguments.length?(y=e,this):y},this.range=function(e){return arguments.length?(b=e,this):b},this.redundantProperties=function(e){return arguments.length?(B=e,this):B},this.subproperties=function(e){return arguments.length?(x=e,this):x},this.superproperties=function(e){return arguments.length?(E=e,this):E},this.distanceToBorder=function(e,t){return s.distanceToBorder(T,e,t)},this.linkHasMarker=function(){return"dashed"!==R},this.markerId=function(){return"marker"+T.id()},this.toggleFocus=function(){T.focused(!T.focused()),O.select("rect").classed("focused",T.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.getShapeElement=function(){return D},this.textBlock=function(){return L},this.redrawElement=function(){D.remove(),L.remove(),T.drawLabel(T.labelElement()),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth())},this.draw=function(t){function n(e){var n=t.append("g").datum(e).classed("label",!0).attr("id",e.id());return e.drawLabel(n),n}if(T.labelVisible()){if(F=e.options().dynamicLabelWidth()===!0?Math.min(T.getMyWidth(),e.options().maxLabelWidth()):H,T.labelElement(n(T)),T.inverse()){var r=T.height()/2+1;T.inverse().labelElement(n(T.inverse())),T.labelElement().attr("transform","translate(0,-"+r+")"),T.inverse().labelElement().attr("transform","translate(0,"+r+")")}return T.pinned()?T.drawPin():T.inverse()&&T.inverse().pinned()&&T.inverse().drawPin(),T.halo()&&T.drawHalo(!1),T.labelElement()}},this.addRect=function(e){var t=e.append("rect").classed(T.styleClass(),!0).classed("property",!0).attr("x",-T.width()/2).attr("y",-T.height()/2).attr("width",T.width()).attr("height",T.height()).on("mouseover",function(){u()}).on("mouseout",function(){c()});t.append("title").text(T.labelForCurrentLanguage()),T.visualAttributes()&&t.classed(T.visualAttributes(),!0);var n=T.backgroundColor();return T.attributes().indexOf("deprecated")>-1?(n=void 0,t.classed("deprecatedproperty",!0)):t.classed("deprecatedproperty",!1),t.style("fill",n),t},this.drawLabel=function(e){D=this.addRect(e);var t=T.equivalentsString(),n=t?",":"",r=T.backgroundColor();T.attributes().indexOf("deprecated")>-1&&(r=void 0),L=new o(e,r),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.equivalentsString=function(){var e=T.equivalents();if(e)return e.map(function(e){return void 0===e||"string"==typeof e?"ERROR":e.labelForCurrentLanguage()}).join(", ")},this.drawCardinality=function(e){var t=this.generateCardinalityText();return!!t&&(T.cardinalityElement(e),0===t.indexOf("A")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -8.8832678,-11.303355 -7.97e-4,0 0.717374,1.833297 8.22987151,21.371761 8.66826659,-21.2123526 0.797082,-1.9927054 0.02471,0 -0.8218553,1.9927054 -2.2517565,5.4201577 -12.4444429,8e-6 -2.2019394,-5.5795821 z").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):0===t.indexOf("E")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -5.5788451,-8.0958763 10.8749368,0 0,8.34681523 -9.5707468,0.040132 9.5707468,-0.040132 0,8.42707237 -10.9150654,0").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):(e.append("text").classed("cardinality",!0).attr("text-anchor","middle").attr("dy","0.5ex").text(t),!0))},this.generateCardinalityText=function(){if(T.cardinality())return T.cardinality();if(T.minCardinality()||T.maxCardinality()){var e=T.minCardinality()||"*",t=T.maxCardinality()||"*";return e+".."+t}},T.setHighlighting=function(t){T.labelElement&&T.labelElement()&&T.labelElement().select("rect").classed("hovered",t),T.linkGroup().selectAll("path, text").classed("hovered",t),T.markerElement()&&(T.markerElement().select("path").classed("hovered",t),T.cardinalityElement()&&(T.cardinalityElement().selectAll("path").classed("hovered-MathSymbol",t),T.cardinalityElement().classed("hovered",t)));var r=n();r.forEach(function(e){e.labelElement&&e.labelElement()&&e.labelElement().select("rect").classed("indirect-highlighting",t)});var o=!1;e.ignoreOtherHoverEvents()===!1&&(T.inverse()&&(o=!0),e.isTouchDevice()===!1?e.activateHoverElementsForProperties(t,T,o):(T.labelElement().select("rect").classed("hovered",!1),T.linkGroup().selectAll("path, text").classed("hovered",!1),T.markerElement()&&(T.markerElement().select("path").classed("hovered",!1),T.cardinalityElement()&&T.cardinalityElement().classed("hovered",!1)),e.activateHoverElementsForProperties(t,T,o,!0)))},this.foreground=function(){if(T.labelElement()&&null!==T.labelElement().node().parentNode){var e=T.labelElement().node().parentNode,t=e.parentNode,n=T.linkGroup().node(),r=T.linkGroup().node().parentNode;T.animationProcess()===!1&&t.appendChild(e),r.appendChild(n)}},this.drawPin=function(){if(T.pinned(!0),F=e.options().dynamicLabelWidth()===!0?T.getMyWidth():H,T.inverse()){var t=T.labelElement().attr("transform"),n=T.inverse().labelElement().attr("transform"),r=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(t)[2],o=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(n)[2];j=rF&&(F=n),F},this.textWidth=function(){return F},this.width=function(){return F},this.animateDynamicLabelWidth=function(t){if(T.removeHalo(),void 0!==D){var n=T.height();if(t===!0?(F=Math.min(T.getMyWidth(),e.options().maxLabelWidth()),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n}).each("end",function(){T.updateTextElement()})):(F=H,T.updateTextElement(),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n})),T.pinned()===!0&&j){var r=-.5*F+10,o=-25;j.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}}},this.redrawLabelText=function(){L.remove(),T.addTextLabelElement(),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),D.select("title").text(T.labelForCurrentLanguage())},this.addTextLabelElement=function(){var e=T.labelElement(),t=T.equivalentsString(),n=t?",":"";L=new o(e,this.backgroundColor()),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.updateTextElement=function(){L.updateAllTextElements()},this.enableEditing=function(e){e!==!1&&T.raiseDoubleClickEdit(!0)},this.raiseDoubleClickEdit=function(n){if(t.selectAll(".foreignelements").remove(),void 0===T.labelElement()||"owl:disjointWith"===this.type()||"rdfs:subClassOf"===this.type())return void console.log("No Container found");void 0!==_&&T.labelElement().selectAll(".foreignelements").remove(),S=void 0,e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),T.editingTextElement=!0,P=!0,T.labelElement().selectAll("rect").classed("hoveredForEditing",!0),T.frozen(!0),e.killDelayedTimer(),e.ignoreOtherHoverEvents(!1),_=T.labelElement().append("foreignObject").attr("x",-.5*T.textWidth()).attr("y",-13).attr("height",25).attr("class","foreignelements").on("dragstart",function(){return!1}).attr("width",T.textWidth()-2);var r=_.append("xhtml:input").attr("class","nodeEditSpan").attr("id",T.id()).attr("align","center").attr("contentEditable","true").on("dragstart",function(){return!1}),o="#f00",a=T.textWidth()-2;r.style({align:"center",color:"black",width:a+"px","background-color":o,"border-bottom":"2px solid black"});var i=r.node();i.value=T.labelForCurrentLanguage(),i.focus(),i.select(),t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation(),r.on("click",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mouseout",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mousedown",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}).on("keydown",function(){13===t.event.keyCode&&(this.blur(),T.frozen(!1),T.locked(!1))}).on("keyup",function(){if(n){var o=r.node().value,a=o.replaceAll(" ","_"),i=T.baseIri()+a;S=i,t.select("#element_iriEditor").node().title=i,t.select("#element_iriEditor").node().value=e.options().prefixModule().getPrefixRepresentationForFullURI(i)}t.select("#element_labelEditor").node().value=r.node().value}).on("blur",function(){T.editingTextElement=!1,P=!1,T.labelElement().selectAll("rect").classed("hoveredForEditing",!1);var t=r.node().value;if(T.labelElement().selectAll(".foreignelements").remove(),T.label(t),T.backupLabel(t),T.redrawLabelText(),p(!0),e.showHoverElementsAfterAnimation(T,!1),e.ignoreOtherHoverEvents(!1),T.frozen(e.paused()),T.locked(e.paused()),T.domain().frozen(e.paused()),T.domain().locked(e.paused()),T.range().frozen(e.paused()),T.range().locked(e.paused()),e.removeEditElements(),S){var n=e.options().editSidebar().checkProperIriChange(T,S);n!==!1&&e.options().warningModule().showWarning("Already seen this property","Input IRI: "+S+" for element: "+T.labelForCurrentLanguage()+" already been set","Continuing with duplicate property!",1,!1,n),T.iri(S)}e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),e.updatePropertyDraggerElements(T)})},T.copyInformation=function(e){T.label(e.label()),T.iri(e.iri()),T.baseIri(e.baseIri()),"owl:ObjectProperty"!==e.type()&&"owl:DatatypeProperty"!==e.type()||T.backupLabel(e.label()),void 0!==e.backupLabel()&&T.backupLabel(e.backupLabel())},i.addTo(this)};return u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.height=function(){return e},u.prototype.width=function(){return n},u.prototype.actualRadius=function(){return l},u.prototype.textWidth=u.prototype.width,u}()}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e){return e%=360,e<0&&(e+=360),Math.PI*e/180}function n(e){return e*(180/Math.PI)}var r={},o=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal").tension(-1);return r.calculateNormalVector=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=-o,i=r,s=Math.sqrt(a*a+i*i),l=0!==s?n/s:0;return{x:a*l,y:i*l}},r.getLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i);o.increasedLoopAngle===!0&&(s=120);var l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,E]},r.calculateLoopPath=function(t){var r=t.domain(),a=t.label(),i=360/t.loops().length,s=.8*i,l=Math.min(60,s);a.increasedLoopAngle===!0&&(l=120);var u=a.x-r.x,c=a.y-r.y,d=Math.atan2(c,u),p=n(d),f=p-l/2,h=p+l/2,v=e(f),g=e(h),y=Math.cos(v)*r.actualRadius(),m=Math.sin(v)*r.actualRadius(),b=Math.cos(g)*r.actualRadius(),x=Math.sin(g)*r.actualRadius(),E={x:r.x+y,y:r.y+m},w={x:r.x+b,y:r.y+x};return o([E,t.label(),w])},r.calculateLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i),l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,t.label(),E]},r.calculateIntersection=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=Math.sqrt(r*r+o*o);if(0===a)return{x:e.x,y:e.y};var i=t.distanceToBorder(r,o),s=(a-(i+n))/a,l=r*s+e.x,u=o*s+e.y;return{x:l,y:u}},r.calculateCenter=function(e,t){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}},function(){return r}}()}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["datatype"]).styleClass("datatypeproperty").type("owl:DatatypeProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).styleClass("deprecatedproperty").type("owl:DeprecatedProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42),o=n(14);e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n="Disjoint With";this.label=function(e){return arguments.length?this:n},this.linkType("dashed").styleClass("disjointwith").type("owl:disjointWith"),this.drawLabel=function(n){t=this.addRect(n),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",-12.5).attr("r",10),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",12.5).attr("r",10);var r=new o(n,this.backgroundColor());e.options().compactNotation()||r.addSubText("disjoint"),r.translation(0,20)},this.getShapeElement=function(){return t},this.markerElement=function(){}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.styleClass("equivalentproperty").type("owl:equivalentProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["functional"]).styleClass("functionalproperty").type("owl:FunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["inverse functional"]).styleClass("inversefunctionalproperty").type("owl:InverseFunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["object"]).styleClass("objectproperty").type("owl:ObjectProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("somevaluesfromproperty").type("owl:someValuesFrom"),this.generateCardinalityText=function(){var e="E",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["symmetric"]).styleClass("symmetricproperty").type("owl:SymmetricProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["transitive"]).styleClass("transitiveproperty").type("owl:TransitiveProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).styleClass("rdfproperty").type("rdf:Property")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw,o="Subclass of";this.draw=function(r){return t.labelVisible(!e.options().compactNotation()),n(r)},this.label=function(e){return arguments.length?this:o},this.linkType("dotted").markerType("white").styleClass("subclass").type("rdfs:subClassOf"),t.baseIri("http://www.w3.org/2000/01/rdf-schema#"),t.iri("http://www.w3.org/2000/01/rdf-schema#subClassOf")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.labelVisible(!1).linkType("dashed").markerType("white").styleClass("setoperatorproperty").type("setOperatorProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(58),o=n(43)(),a=n(60)(),i=n(63)(),s=n(5)(),l=n(40)();e.exports=function(e){function u(){Te.graphContainerSelector(e);var n=!1;ye=t.layout.force().on("tick",c),me=t.behavior.drag().origin(function(e){return e}).on("dragstart",function(e){t.event.sourceEvent.stopPropagation(),De.ignoreOtherHoverEvents(!0),e.type&&"Class_dragger"===e.type()?(wt.mouseButtonPressed=!0,clearTimeout(Oe),wt.selectedViaTouch(!0),e.parentNode().locked(!0),at=!0):e.type&&"Range_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):e.type&&"Domain_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):(e.locked(!0),n=!1)}).on("drag",function(e){e.type&&"Class_dragger"===e.type()?(clearTimeout(Oe),wt.setPosition(t.event.x,t.event.y)):e.type&&"Range_dragger"===e.type()?(clearTimeout(Oe),Ot.setPosition(t.event.x,t.event.y),kt.setPosition(t.event.x,t.event.y),Ct.updateElementViaRangeDragger(t.event.x,t.event.y)):e.type&&"Domain_dragger"===e.type()?(clearTimeout(Oe),Ct.setPosition(t.event.x,t.event.y),kt.setPositionDomain(t.event.x,t.event.y),Ot.updateElementViaDomainDragger(t.event.x,t.event.y)):(e.px=t.event.x,e.py=t.event.y,ye.resume(),S(),n=!0,e.renderType&&"round"===e.renderType()&&wt.setParentNode(e))}).on("dragend",function(e){if(De.ignoreOtherHoverEvents(!1),e.type&&"Class_dragger"===e.type()){var t=wt.x,r=wt.y;clearTimeout(Oe),wt.mouseButtonPressed=!1,wt.selectedViaTouch(!1),e.setParentNode(e.parentNode());var o=[t,r],a=De.getTargetNode(o);a&&U(e.parentNode(),a,o),Ke===!1&&K(),at=!1}else if(e.type&&"Range_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var s=Ot.x,l=Ot.y,u=[s,l],c=De.getTargetNode(u);i.isDatatype(c)===!0&&(c=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),null===c?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateRange(c),De.update(),kt.hideParentProperty(!1))}else if(e.type&&"Domain_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var d=Ct.x,p=Ct.y,f=[d,p],h=De.getTargetNode(f);i.isDatatype(h)===!0&&(h=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),kt.hideClone(!0),null===h?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateDomain(h),De.update(),kt.hideParentProperty(!1))}else{e.locked(!1);var v=De.options().pickAndPinModule();v.enabled()===!0&&n===!0&&(e.id&&v.handle(e,!0),e.property&&v.handle(e.property(),!0))}}),Me=t.behavior.zoom().duration(150).scaleExtent([Te.minMagnification(),Te.maxMagnification()]).on("zoom",v),nt.push(wt),nt.push(Ot),nt.push(Ct),nt.push(kt),ye.stop()}function c(){if(ct=!1,De.options().loadingModule().successfullyLoadedOntology()===!1)return ye.stop(),t.select("#progressBarValue").node().innerHTML="",De.updateProgressBarMode(),De.options().loadingModule().showErrorDetailsMessage(c),void(yt&&mt===!1&&De.options().loadingModule().collapseDetails("hiddenRecalculatePositions"));if(He===!1){var e=1-10*ye.alpha(),n=parseInt(200*e)+"%";De.options().loadingModule().setPercentValue(n),t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,e>.49&&(He=!0,ne&&(ne.style("opacity","1"),n="100%",t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,De.options().ontologyMenu().append_message_toLastBulletPoint("done"),t.select("#reloadCachedOntology").classed("hidden",!bt),gt===!0&&vt===!1&&(De.options().warningModule().showFilterHint(),vt=!0)),Fe&&(De.paused()===!1&&ye.resume(),Fe=!1),ct=!0,ft===!0?(ye.on("tick",d),d()):(ye.on("tick",p),p()),We===!0&&ye.nodes().length>0&&(ye.nodes().length<10?De.forceRelocationEvent(!0):De.forceRelocationEvent(),We=!1),De.showEditorHintIfNeeded(),De.options().loadingModule().missingImportsWarning()===!1?(De.options().loadingModule().hideLoadingIndicator(),De.options().ontologyMenu().append_bulletPoint("Successfully loaded ontology"),De.options().loadingModule().setSuccessful()):(De.options().loadingModule().showWarningDetailsMessage(),De.options().ontologyMenu().append_bulletPoint("Loaded ontology with warnings")))}}function d(){p(),_e=Date.now();var e=_e-je,t=(1e3/e).toFixed(2);ut.node().innerHTML="FPS: "+t+"
    Nodes: "+ye.nodes().length+"
    Links: "+ye.links().length,je=Date.now()}function p(){return lt?(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1!==n.layers().length||n.loops())e.linkDomainIntersection=o.calculateIntersection(n.label(),n.domain(),0),e.linkRangeIntersection=o.calculateIntersection(n.label(),n.range(),0),n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement());else{var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y,e.linkRangeIntersection=a,e.linkDomainIntersection=r,n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement())}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop()){var t=o.getLoopPoints(e);return e.label().linkRangeIntersection=t[1],e.label().linkDomainIntersection=t[0],e.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement()),o.calculateLoopPath(e)}var n=e.label(),r=o.calculateIntersection(n,e.domain(),1),a=o.calculateIntersection(n,e.range(),1);return e.linkRangeIntersection=r,e.linkDomainIntersection=a,e.property().focused()!==!0&&void 0===ot||(Ct.updateElement(),Ot.updateElement()),Se([r,n,a])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),rt&&(ee(rt),Q(rt),at===!1&&wt.setParentNode(rt)),ot&&te(ot),void S()):(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1===n.layers().length&&!n.loops()){ +var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop())return o.calculateLoopPath(e);var t=e.label(),n=o.calculateIntersection(t,e.domain(),1),r=o.calculateIntersection(t,e.range(),1);return Se([n,t,r])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),void S())}function f(){function e(e){Te.selectionModules().forEach(function(t){t.handle(e)})}se.on("click",function(n){Ke===!0&&G()===!0?(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n))):e(n)}),se.on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))}),le.selectAll(".label").on("click",function(n){e(n),Ke===!0&&G()===!0&&(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n)))}),le.selectAll(".label").on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))})}function h(e){if(De.options().getGeneralMetaObject().iri){var t=De.options().getGeneralMetaObject().iri+e.id();return e.iri()===t}return!1}function v(){if(pt===!0)return Me.translate(Ve),void Me.scale(Be);var e=!1;if(t.event.sourceEvent&&t.event.sourceEvent.deltaY&&(e=!0),e===!1){if(ze===!0)return;return Be=t.event.scale,Ve=t.event.translate,ne.attr("transform","translate("+Ve+")scale("+Be+")"),S(),void De.options().zoomSlider().updateZoomSliderValue(Be)}Be=t.event.scale,Ve=t.event.translate,ne.transition().tween("attr.translate",function(){return function(e){ze=!0;var n=t.transform(ne.attr("transform"));Ve[0]=n.translate[0],Ve[1]=n.translate[1],Be=n.scale[0],S(),De.options().zoomSlider().updateZoomSliderValue(Be)}}).each("end",function(){ze=!1}).attr("transform","translate("+Ve+")scale("+Be+")").ease("linear").duration(250)}function g(){b(),ne=t.selectAll(Te.graphContainerSelector()).append("svg").classed("vowlGraph",!0).attr("width",Te.width()).attr("height",Te.height()).call(Me).append("g");var e=t.selectAll(".vowlGraph");Qe=e.on("dblclick.zoom"),et=e.on("touchstart"),e.on("touchstart",Z),lt===!0?e.on("dblclick.zoom",De.modified_dblClickFunction):e.on("dblclick.zoom",Qe)}function y(){Ee=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("addDataPropertyElement",!0).attr("transform","translate(0,0)"),Ee.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",-8).attr("y1",0).attr("x2",8).attr("y2",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",0).attr("y1",-8).attr("x2",0).attr("y2",8).append("title").text("Add Datatype Property"),De.options().useAccuracyHelper()&&Ee.append("circle").attr("r",15).attr("cx",-7).attr("cy",7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject()),xe=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("deleteParentElement",!0).attr("transform","translate(0,0)"),xe.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Delete This Node");var e=5;xe.append("line").attr("x1",-e).attr("y1",-e).attr("x2",e).attr("y2",e).append("title").text("Delete This Node"),xe.append("line").attr("x1",e).attr("y1",-e).attr("x2",-e).attr("y2",e).append("title").text("Delete This Node"),De.options().useAccuracyHelper()&&xe.append("circle").attr("r",15).attr("cx",7).attr("cy",-7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject())}function m(){var e;if(ne){ne.selectAll("*").remove(),ie=ne.append("g").classed("linkContainer",!0),ae=ne.append("g").classed("cardinalityContainer",!0),oe=ne.append("g").classed("labelContainer",!0),re=ne.append("g").classed("nodeContainer",!0);var n=ne.append("g").classed("linkContainer",!0);tt=ne.append("g").classed("editContainer",!0),we=ne.append("g").classed("editContainer",!0),n.classed("hidden-in-export",!0),we.classed("hidden-in-export",!0),tt.classed("hidden-in-export",!0),e=ie.append("defs");var r=tt.selectAll(".node").data(nt).enter().append("g").classed("node",!0).classed("hidden-in-export",!0).attr("id",function(e){return e.id()}).call(me);r.each(function(e){e.svgRoot(t.select(this)),e.svgPathLayer(n),"shadowClone"===e.type()?(e.drawClone(),e.hideClone(!0)):(e.drawNode(),e.hideDragger(!0))}),y(),e=ie.append("defs"),void 0===pe&&(pe=[]),se=re.selectAll(".node").data(pe).enter().append("g").classed("node",!0).attr("id",function(e){return e.id()}).call(me),se.each(function(e){e.draw(t.select(this))}),void 0===fe&&(fe=[]),le=oe.selectAll(".labelGroup").data(fe).enter().append("g").classed("labelGroup",!0).call(me),le.each(function(e){var n=e.draw(t.select(this));e.property().labelObject(e),n||t.select(this).remove()}),le.each(function(e){if(this.parentNode&&i.isRdfsSubClassOf(e.property())){var t=this.parentNode;t.insertBefore(this,t.firstChild)}}),void 0===ve&&(ve=[]),de=ae.selectAll(".cardinality").data(ve).enter().append("g").classed("cardinality",!0),de.each(function(e){var n=e.drawCardinality(t.select(this));n||t.select(this).remove()}),void 0===he&&(he=[]),ue=ie.selectAll(".link").data(he).enter().append("g").classed("link",!0),ue.each(function(n){n.draw(t.select(this),e)}),ce=ue.selectAll("path"),f()}}function b(){ne&&t.select(ne.node().parentNode).remove()}function x(){Ze=[];for(var e,t=0;t0)for(var r=0;r0?(ne.style("opacity","0"),ye.on("tick",c)):(ne.style("opacity","1"),ft===!0?ye.on("tick",d):ye.on("tick",p)),ye.start()):(ye.stop(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),n.setErrorMode()),De.options().clearMetaObject(),De.options().clearGeneralMetaObject(),De.options().editSidebar().clearMetaObjectValue(),void 0!==Te.data()){var a=Te.data().header;if(a){if(a.iri&&De.options().addOrUpdateGeneralObjectEntry("iri",a.iri),a.title&&De.options().addOrUpdateGeneralObjectEntry("title",a.title),a.author&&De.options().addOrUpdateGeneralObjectEntry("author",a.author),a.version&&De.options().addOrUpdateGeneralObjectEntry("version",a.version),a.description&&De.options().addOrUpdateGeneralObjectEntry("description",a.description),a.prefixList){var i=a.prefixList;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];De.options().addPrefix(s,l)}}if(a.other){var u=a.other;for(var f in u)if(u.hasOwnProperty(f)){var h=u[f];h.hasOwnProperty("identifier")&&h.hasOwnProperty("value")&&De.options().addOrUpdateMetaObjectEntry(h.identfier,h.value)}}}}var v=r.clone(ge);Te.filterModules().forEach(function(e){v=P(e,v,!0)}),w(ge),Re.parseSettings(),qe=Re.settingsImported(),We=!0,Re.settingsImportGraphZoomAndTranslation()===!0&&(We=!1),De.options().searchMenu().requestDictionaryUpdate(),De.options().editSidebar().updateGeneralOntologyInfo(),De.options().editSidebar().updatePrefixUi(),De.options().editSidebar().updateElementWidth()}function C(){he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function k(){var e=Te.literalFilter().enabled();De.executeEmptyLiteralFilter(),Te.literalFilter().enabled(e);var t=r.clone(ge);Te.filterModules().forEach(function(e){t=P(e,t)}),Te.focuserModule().handle(void 0,!0),pe=t.nodes,ve=t.properties,he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function P(e,t,n){return he=a.createLinks(t.properties),_(t.nodes,he),n&&e.initialize&&e.initialize(t.nodes,t.properties),e.filter(t.nodes,t.properties),{nodes:e.filteredNodes(),properties:e.filteredProperties()}}function _(e,t){for(var n=0,r=e.length;n0)for(var e=ye.nodes(),t=0;tr||f<0||f>o){p<0&&f<0?(v=0,g=0):p>0&&pr&&f<0?(v=r,g=0):p>r&&f>0&&fr&&f>o?(v=r,g=o):p>0&&po?(v=p,g=o):p<0&&f>o?(v=0,g=o):p<0&&f>0&&f2500&&(u=2500),ne.attr("transform",N(a,n,r)).transition().duration(u).attrTween("transform",function(){return function(e){return N(l(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S()})}function H(e,t,n,r){var o,a,i=r[0];return i?(o=(e-n[0])/i,a=(t-n[1])/i):(o=(e-n[0])/r,a=(t-n[1])/r),{x:o,y:a}}function B(e,t){var n=De.options().width(),r=De.options().height(),o=T(e.x,e.y,Ve,Be),a=o.x,i=o.y,s=!(a<0||a>n||i<0||i>r);return s}function W(){Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),wt.hideDragger(!0),Ee&&Ee.classed("hidden",!0),xe&&xe.classed("hidden",!0),rt&&rt.pinned()===!1&&(rt.locked(De.paused()),rt.frozen(De.paused())),ot&&ot.pinned()===!1&&(ot.locked(De.paused()),ot.frozen(De.paused()))}function z(e){return t.map(e.values(),function(e){return(new e).type().toLowerCase()})}function V(e){var n,r,o=!0,a=t.select("#defaultClass").node().title;r=xt.get(a.toLowerCase()),n=new r(De);var i=!1;"owl:Thing"===a?n.label("Thing"):(n.label("NewClass"),i=!0),n.x=e.x,n.y=e.y,n.px=n.x,n.py=n.y,n.id("Class"+st++),n.baseIri(t.select("#iriEditor").node().value),n.iri(n.baseIri()+n.id()),q(n,o),Te.focuserModule().handle(n,!0),n.frozen(De.paused()),n.locked(De.paused()),n.enableEditing(i)}function q(e){ge.nodes.push(e),pe.indexOf(e)===-1&&pe.push(e),w(ge),De.getUpdateDictionary(),De.fastUpdate()}function U(e,n,r){var o=t.select("#defaultProperty").node().title;if(De.sanityCheckProperty(e,n,o)===!1)return!1;var a=Et.get(o.toLowerCase()),i=new a(De);if(i.id("objectProperty"+it++),i.domain(e),i.range(n),i.label("newObjectProperty"),i.baseIri(t.select("#iriEditor").node().value),i.iri(i.baseIri()+i.id()),De.propertyCheckExistenceChecker(i,e,n)===!1)return!1;var s=!1;"owl:objectProperty"===o&&(s=!0);var l=.49*(e.x+n.x),u=.49*(e.y+n.y);if(e===n){var c=r[0]-e.x,d=r[1]-e.y,p=Math.sqrt(c*c+d*d),f=c/p,h=d/p;isNaN(p)&&(f=0,h=-1);var v=2*e.actualRadius()+50;l=e.x+v*f,u=e.y+v*h}e.addProperty(i),n.addProperty(i),ge.properties.push(i),ve.indexOf(i)===-1&&ve.push(i),De.fastUpdate(),i.labelObject().x=l,i.labelObject().px=l,i.labelObject().y=u,i.labelObject().py=u,i.frozen(De.paused()),i.locked(De.paused()),e.frozen(De.paused()),e.locked(De.paused()),n.frozen(De.paused()),n.locked(De.paused()),w(ge),De.getUpdateDictionary(),Te.focuserModule().handle(i),De.activateHoverElementsForProperties(!0,i,!1,Ke),i.labelObject().increasedLoopAngle=!0,i.enableEditing(s)}function G(){var e=t.event.timeStamp,n=1;return t.event&&t.event.touches&&t.event.touches.length&&(n=t.event.touches.length),e-be<300&&1===n&&(t.event.stopPropagation(),lt===!0)?(t.event.preventDefault(),t.event.stopPropagation(),be=e,!0):(be=e,!1)}function Z(){pt=!0;var e=t.event.timeStamp;return e-be<300&&1===t.event.touches.length?(t.event.stopPropagation(),void(lt===!0?(t.event.preventDefault(),t.event.stopPropagation(),Me.translate(Ve),Me.scale(Be),De.modified_dblTouchFunction()):(pt=!1,et&&et()))):(pt=!1,be=e,void(et&&et()))}function $(e){if(e!==!0){if(rt){if(rt.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&rt.editingTextElement===!1&&(rt.frozen(!1),rt.locked(!1))},1e3)}if(ot){if(ot.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),ot&&ot.focused()===!0&&De.options().drawPropertyDraggerOnHover()===!0&&(ot.labelObject().increasedLoopAngle=!1,p()),ot&&ot.pinned()===!1&&De.paused()===!1&&ot.editingTextElement===!1&&(ot.frozen(!1),ot.locked(!1))},1e3)}}}function X(){wt.nodeElement.classed("classDraggerNodeHovered",!0),wt.nodeElement.classed("classDraggerNode",!1),J()}function Y(){wt.nodeElement.classed("classDraggerNodeHovered",!1),wt.nodeElement.classed("classDraggerNode",!0),K()}function J(e){e!==!0&&clearTimeout(Oe)}function K(e){if(rt){if(De.ignoreOtherHoverEvents()===!0||e===!0||rt.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&(rt.frozen(!1),rt.locked(!1)))},1e3)}if(ot){if(De.ignoreOtherHoverEvents()===!0||e===!0||ot.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),ot&&ot.pinned()===!1&&De.paused()===!1&&(ot.frozen(!1),ot.locked(!1)))},1e3)}}function Q(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x-o,n=e.y+a,Ee.attr("transform","translate("+t+","+n+")")}}function ee(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x+o,n=e.y-a}else t=e.x+.5*e.width()+6,n=e.y-.5*e.height()-6;xe.attr("transform","translate("+t+","+n+")")}function te(e,t){if(e&&e.labelElement()){var n=[e.labelObject().x,e.labelObject().y],r=parseFloat(e.getShapeElement().attr("width")),o=parseFloat(e.getShapeElement().attr("height")),a=n[0]+.5*r+6,i=n[1]-.5*o-6;"translate(0,15)"===e.labelElement().attr("transform")&&(i+=15),"translate(0,-15)"===e.labelElement().attr("transform")&&(i-=15),xe.attr("transform","translate("+a+","+i+")")}else xe.classed("hidden",!0)}var ne,re,oe,ae,ie,se,le,ue,ce,de,pe,fe,he,ve,ge,ye,me,be,xe,Ee,we,Oe,Ce,ke,Pe,_e,je,Me,De={},Le=20,Ae=10,Se=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal"),Te=n(64)(),Re=n(65)(De),Ie="default",Ne=!1,Fe=!0,He=!1,Be=1,We=!1,ze=!1,Ve=[0,0],qe=!1,Ue=[],Ge=[],Ze=[],$e=0,Xe=1,Ye=.8,Je=-1,Ke=!1,Qe=null,et=null,tt=null,nt=[],rt=null,ot=null,at=!1,it=0,st=0,lt=!0,ut=t.select("#FPS_Statistics"),ct=!1,dt=!1,pt=!1,ft=!1,ht=!1,vt=!1,gt=!1,yt=!0,mt=!1,bt=!1,xt=z(s),Et=z(l),wt=n(68)(De),Ot=n(69)(De),Ct=n(70)(De),kt=n(71)(De);De.math=function(){return o},De.isEditorMode=function(){return lt},De.getGlobalDOF=function(){return Je},De.setGlobalDOF=function(e){Je=e},De.updateZoomSliderValueFromOutside=function(){De.options().zoomSlider().updateZoomSliderValue(Be)},De.setDefaultZoom=function(e){Xe=e,De.reset(),De.options().zoomSlider().updateZoomSliderValue(Xe)},De.setTargetZoom=function(e){Ye=e},De.graphOptions=function(){return Te},De.scaleFactor=function(){return Be},De.translation=function(){return Ve},De.graphNodeElements=function(){return se},De.graphLabelElements=function(){return fe},De.graphLinkElements=function(){return he},De.setSliderZoom=function(e){var n=.5*De.options().width(),r=.5*De.options().height(),o=H(n,r,Ve,Be),a=[o.x,o.y,De.options().height()/Be],i=[o.x,o.y,De.options().height()/e],s=t.interpolateZoom(a,i);ne.attr("transform",N(a,n,r)).transition().duration(1).attrTween("transform",function(){return function(e){return N(s(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be)})},De.setZoom=function(e){Me.scale(e)},De.setTranslation=function(e){Me.translate([e[0],e[1]])},De.options=function(){return Te},De.getUpdateDictionary=function(){return Re.getDictionary()},De.language=function(e){return arguments.length?(Ie!==e&&(Ie=e||"default",m(),p(),De.options().searchMenu().requestDictionaryUpdate(),De.resetSearchHighlight()),De):Ie},De.lazyRefresh=function(){m(),p()},De.adjustingGraphSize=function(e){mt=e},De.showReloadButtonAfterLayoutOptimization=function(e){bt=e},De.showEditorHintIfNeeded=function(){ht===!1&<===!0&&(ht=!0,De.options().warningModule().showEditorHint())},De.setForceTickFunctionWithFPS=function(){ft=!0,ye&&ct===!0&&ye.on("tick",d)},De.setDefaultForceTickFunction=function(){ft=!1,ye&&ct===!0&&ye.on("tick",p)},De.updatePropertyDraggerElements=function(e){"owl:DatatypeProperty"!==e.type()?(kt.setParentProperty(e),Ot.setParentProperty(e),Ot.hideDragger(!1),Ot.addMouseEvents(),Ct.setParentProperty(e),Ct.hideDragger(!1),Ct.addMouseEvents()):(Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0))},De.getUnfilteredData=function(){return ge},De.getClassDataForTtlExport=function(){for(var e=ge.nodes,t=[],n=0;nn&&(o=n);var a=.5*De.options().width(),i=.5*De.options().height(),s=H(a,i,Ve,Be),l=[s.x,s.y,De.options().height()/Be],u=[s.x,s.y,De.options().height()/o],c=t.interpolateZoom(l,u);ne.attr("transform",N(l,a,i)).transition().duration(250).attrTween("transform",function(){return function(e){return N(c(e),a,i)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S(),Te.zoomSlider().updateZoomSliderValue(Be)})};var Pt=null;De.clearAllGraphData=function(){Pt=De.graphNodeElements()&&De.graphNodeElements().length>0?De.options().exportMenu().createJSON_exportObject():null,ye.stop(),ge&&(ge.nodes=[],ge.properties=[])},De.getCachedJsonObj=function(){return Pt},De.clearGraphData=function(){ye.stop();var e=De.options().sidebar();e&&e.clearOntologyInformation(),ne&&g()},De.updateProgressBarMode=function(){var e=De.options().loadingModule(),t=e.getProgressBarMode();switch(t){case 0:e.setErrorMode();break;case 1:e.setBusyMode();break;case 2:e.setPercentMode();break;default:e.setPercentMode()}},De.setFilterWarning=function(e){gt=e},De.handleOnLoadingError=function(){ye.stop(),De.clearGraphData(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").classed("busyProgressBar",!1),De.options().loadingModule().setErrorMode(),De.options().loadingModule().showErrorDetailsMessage()},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0){if(ze===!0)return;var e=ye.nodes()[Ue[$e]];$e++,$e%=Ue.length,e.id&&e.foreground(),e.property&&e.property().foreground(),F(e)}},De.resetSearchHighlight=function(){Ue=[],Ge=[];var e,t=ge.nodes,n=ge.properties;for(e=0;e0?(t.select("#locateSearchResult").classed("highlighted",!0),t.select("#locateSearchResult").node().title="Locate search term"):(t.select("#locateSearchResult").classed("highlighted",!1),t.select("#locateSearchResult").node().title="Nothing to locate")},De.highLightNodes=function(e){if(0!==e.length){Ue=[],Ge=e;for(var n=[],r=0;rMe.scaleExtent()[1]&&(h=Me.scaleExtent()[1]),hMe.scaleExtent()[1]&&(g=Me.scaleExtent()[1]),g2500&&(w=2500),ne.attr("transform",N(b,f,h)).transition().duration(w).attrTween("transform",function(){return function(t){if(e){var n=_t(),r=n[0](t);return N(r,f,h)}return N(E(t),f,h)}}).each("end",function(){e||(ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be))})},De.isADraggerActive=function(){return wt.mouseButtonPressed===!0||Ct.mouseButtonPressed===!0||Ot.mouseButtonPressed===!0},De.changeNodeType=function(e){var n=t.select("#typeEditor").node().value;if(De.classesSanityCheck(e,n)===!1)return void De.options().editSidebar().updateSelectionInformation(e);var r=xt.get(n.toLowerCase()),o=new r(De);if(o.x=e.x,o.y=e.y,o.px=e.x,o.py=e.y,o.id(e.id()),o.copyInformation(e),"owl:Thing"===n?o.label("Thing"):i.isDatatype(e)===!1&&(void 0!==e.backupLabel()?o.label(e.backupLabel()):void 0!==o.backupLabel()?o.label(o.backupLabel()):o.label("NewClass")),"rdfs:Datatype"===n)if("undefined"===o.dType())o.label("undefined");else{var a=o.dType().split(":")[1];o.label(a)}var s;for(s=0;sa?null:"rect"===r.renderType()?null:r===rt&&o<=rt.actualRadius()?r:r===rt&&o>rt.actualRadius()?null:r}return o>r.actualRadius()+30?null:r},De.genericPropertySanityCheck=function(e,t,n,r,o){return e===t&&"rdfs:subClassOf"===n?(De.options().warningModule().showWarning(r,"rdfs:subClassOf can not be created as loops (domain == range)",o,1,!1),!1):e===t&&"owl:disjointWith"===n?(De.options().warningModule().showWarning(r,"owl:disjointWith can not be created as loops (domain == range)",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:someValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===t.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not be connected to owl:Thing",o,1,!1),!1):"owl:Thing"!==t.type()||"owl:someValuesFrom"!==n||(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not be connected to owl:Thing",o,1,!1),!1)},De.checkIfIriClassAlreadyExist=function(e){for(var t=ge.nodes,n=0;n2){var s="You are about to delete 1 class and "+n.length+" properties";0!==o&&(s="You are about to delete 1 class, "+o+" datatypes and "+n.length+" properties"),De.options().warningModule().responseWarning("Removing elements",s,"Awaiting response!",De.removeNodesViaResponse,[r,n],!1)}else{for(a=0;a1&&(Te.literalFilter().filter(ge.nodes,ge.properties),ge.nodes=Te.literalFilter().filteredNodes(),ge.properties=Te.literalFilter().filteredProperties())},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0&&n(l)?t>1?x(l,t-1,n,r,o):a(o,l):r||(o[o.length]=l)}return o}function E(e,t){return e&&$t(e,t,dn)}function w(e,t){return b(t,function(t){return Te(e[t])})}function O(e){return te(e)}function C(e,t){return e>t}function k(e){return Ne(e)&&O(e)==yt}function P(e,t,n,r,o){return e===t||(null==e||null==t||!Ne(e)&&!Ne(t)?e!==e&&t!==t:_(e,t,n,r,P,o))}function _(e,t,n,r,o,a){var i=nn(e),s=nn(t),l=i?ht:O(e),u=s?ht:O(t);l=l==ft?wt:l,u=u==ft?wt:u;var c=l==wt,d=u==wt,p=l==u;a||(a=[]);var f=Jt(a,function(t){return t[0]==e}),h=Jt(a,function(e){return e[0]==t});if(f&&h)return f[1]==t;if(a.push([e,t]),a.push([t,e]),p&&!c){var v=i?Z(e,t,n,r,o,a):$(e,t,l,n,r,o,a);return a.pop(),v}if(!(n&st)){var g=c&&Nt.call(e,"__wrapped__"),y=d&&Nt.call(t,"__wrapped__");if(g||y){var m=g?e.value():e,b=y?t.value():t,v=o(m,b,n,r,a);return a.pop(),v}}if(!p)return!1;var v=X(e,t,n,r,o,a);return a.pop(),v}function j(e){return Ne(e)&&O(e)==Ct}function M(e){return"function"==typeof e?e:null==e?Ye:("object"==typeof e?A:s)(e)}function D(e,t){return eo?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++rt||a&&i&&l&&!s&&!u||r&&i&&l||!n&&l||!o)return 1;if(!r&&!a&&!u&&e1?n[o-1]:ot;for(a=e.length>3&&"function"==typeof a?(o--,a):ot,t=Object(t);++r-1?o[a?t[i]:i]:ot}}function G(e,t,n,r){function o(){for(var t=-1,s=arguments.length,l=-1,u=r.length,c=Array(u+s),d=this&&this!==At&&this instanceof o?i:e;++ls))return!1;for(var u=-1,c=!0,d=n<?[]:ot;++u-1&&e%1==0&&e0&&(n=t.apply(this,arguments)),e<=1&&(t=ot),n}}function ke(e){if("function"!=typeof e)throw new TypeError(it);return function(){var t=arguments;return!e.apply(this,t)}}function Pe(e){return Ce(2,e)}function _e(e){return Ie(e)?nn(e)?I(e):B(e,qt(e)):e}function je(e,t){return e===t||e!==e&&t!==t}function Me(e){return null!=e&&Re(e.length)&&!Te(e)}function De(e){return e===!0||e===!1||Ne(e)&&O(e)==gt}function Le(e){return Me(e)&&(nn(e)||We(e)||Te(e.splice)||tn(e))?!e.length:!qt(e).length}function Ae(e,t){return P(e,t)}function Se(e){return"number"==typeof e&&Vt(e)}function Te(e){if(!Ie(e))return!1;var t=O(e);return t==bt||t==xt||t==vt||t==Ot}function Re(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=pt}function Ie(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ne(e){return null!=e&&"object"==typeof e}function Fe(e){return Be(e)&&e!=+e}function He(e){return null===e}function Be(e){return"number"==typeof e||Ne(e)&&O(e)==Et}function We(e){return"string"==typeof e||!nn(e)&&Ne(e)&&O(e)==kt}function ze(e){return e===ot}function Ve(e){return Me(e)?e.length?I(e):[]:$e(e)}function qe(e){return"string"==typeof e?e:null==e?"":e+""}function Ue(e,t){var n=Gt(e);return null==t?n:ln(n,t)}function Ge(e,t){return null!=e&&Nt.call(e,t)}function Ze(e,t,n){var r=null==e?ot:e[t];return r===ot&&(r=n),Te(r)?r.call(e):r}function $e(e){return null==e?[]:c(e,dn(e))}function Xe(e){return e=qe(e),e&&_t.test(e)?e.replace(Pt,Tt):e}function Ye(e){return e}function Je(e){return A(ln({},e))}function Ke(e,t,n){var r=dn(t),o=w(t,r);null!=n||Ie(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=w(t,dn(t)));var i=!(Ie(n)&&"chain"in n&&!n.chain),s=Te(e);return Zt(o,function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=I(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,a([this.value()],arguments))})}),e}function Qe(){return At._===this&&(At._=Bt),this}function et(){}function tt(e){var t=++Ft;return qe(e)+t}function nt(e){return e&&e.length?m(e,Ye,C):ot}function rt(e){return e&&e.length?m(e,Ye,D):ot}var ot,at="4.17.11",it="Expected a function",st=1,lt=2,ut=1,ct=32,dt=1/0,pt=9007199254740991,ft="[object Arguments]",ht="[object Array]",vt="[object AsyncFunction]",gt="[object Boolean]",yt="[object Date]",mt="[object Error]",bt="[object Function]",xt="[object GeneratorFunction]",Et="[object Number]",wt="[object Object]",Ot="[object Proxy]",Ct="[object RegExp]",kt="[object String]",Pt=/[&<>"']/g,_t=RegExp(Pt.source),jt=/^(?:0|[1-9]\d*)$/,Mt={"&":"&","<":"<",">":">",'"':""","'":"'"},Dt="object"==typeof e&&e&&e.Object===Object&&e,Lt="object"==typeof self&&self&&self.Object===Object&&self,At=Dt||Lt||Function("return this")(),St="object"==typeof t&&t&&!t.nodeType&&t,Tt=(St&&"object"==typeof o&&o&&!o.nodeType&&o,l(Mt)),Rt=Array.prototype,It=Object.prototype,Nt=It.hasOwnProperty,Ft=0,Ht=It.toString,Bt=At._,Wt=Object.create,zt=It.propertyIsEnumerable,Vt=At.isFinite,qt=d(Object.keys,Object),Ut=Math.max,Gt=function(){function e(){}return function(t){if(!Ie(t))return{};if(Wt)return Wt(t);e.prototype=t;var n=new e;return e.prototype=ot,n}}();f.prototype=Gt(p.prototype),f.prototype.constructor=f;var Zt=z(E),$t=V(),Xt=et,Yt=Ye,Jt=U(ae),Kt=T(function(e,t,n){return G(e,ut|ct,t,n)}),Qt=T(function(e,t){return g(e,1,t)}),en=T(function(e,t,n){return g(e,sn(t)||0,n)}),tn=Xt(function(){return arguments}())?Xt:function(e){return Ne(e)&&Nt.call(e,"callee")&&!zt.call(e,"callee")},nn=Array.isArray,rn=k,on=j,an=Number,sn=Number,ln=W(function(e,t){B(t,qt(t),e)}),un=W(function(e,t){B(t,ee(t),e)}),cn=T(function(e,t){e=Object(e);var n=-1,r=t.length,o=r>2?t[2]:ot;for(o&&Q(t[0],t[1],o)&&(r=1);++n=0){e.visualAttributes().push(o);break}}function n(e){var t,n,r;for(t=0,n=x.length;t=0&&e.indications().push(r)}function r(e){var t,n,r;for(t=0,n=E.length;t=0&&e.indications().push(r)}var o={},a="anonymous",i="datatype",s="deprecated",l="external",u="object",c="rdf",d="asymmetric",p="functional",f="inverse functional",h="irreflexive",v="key",g="reflexive",y="symmetric",m="transitive",b=[[s,i,u,c],[a]],x=[s,l],E=[d,p,f,h,v,g,y,m];return o.parseClassAttributes=function(t){t.attributes()instanceof Array&&(e(t),n(t))},o.parsePropertyAttributes=function(t){t.attributes()instanceof Array&&(e(t),r(t))},function(){return o}}()},function(e,t,n){(function(t){function r(e){return function(t){return e[t]}}function o(e,n){var r=a(e,n),o=t.set(r.keys());if(o.remove(v),o.remove(g),1===o.size()){var i=o.values()[0],s=r.get(i);if(1===s.length)return s[0]}}function a(e,n){var r=t.map();return e.forEach(function(e){if(void 0!==e){var t=n[e.range()],o=t.type();r.has(o)||r.set(o,[]),r.get(o).push(t)}}),r}function i(e,t){var n;return n=p.isDatatypeProperty(e)?new d(t):new c(t),n.id(h+e.id()),n}function s(e,t,n,r){var o=[];return e.forEach(function(e){if(void 0!==e&&void 0!==t){var a=e.range();e.range(t.id()),l(a,n)||o.push(a),r.add(e.id())}}),o}function l(e,t){for(var n=0;n-1?(p=void 0,d.classed("deprecatedproperty",!0)):d.classed("deprecatedproperty",!1),d.style("fill",p);var f=e.equivalentsString(),h=f?",":"",v=new r(t.rootNodeLayer,p);v.addText(e.labelForCurrentLanguage(),"",h),v.addEquivalents(f),v.addSubText(e.indicationString());var g=.5*(t.s_x+t.e_x),y=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+g+","+y+")"),t.rootNodeLayer.classed("hidden",!0),t.pathElement.classed("hidden",!0)},t.hideClone=function(e){t.rootNodeLayer&&t.rootNodeLayer.classed("hidden",e),t.pathElement&&t.pathElement.classed("hidden",e)},t.hideParentProperty=function(e){var n=t.parent.labelObject();n&&("translate(0,15)"!==t.parent.labelElement().attr("transform")&&"translate(0,-15)"!==t.parent.labelElement().attr("transform")||t.parent.inverse().hide(e)),t.parent.hide(e)},t.id=function(e){return arguments.length?void(t.nodeId=e):t.nodeId},t.svgPathLayer=function(e){t.pathLayer=e.append("g")},t.svgRoot=function(e){return arguments.length?(t.rootElement=e,void(t.rootNodeLayer=t.rootElement.append("g"))):t.rootElement},t.drawClone=function(){t.pathElement=t.pathLayer.append("line"),t.pathElement.attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",0)},t.updateElement=function(){t.pathElement.attr("x1",t.e_x).attr("y1",t.e_y).attr("x2",t.s_x).attr("y2",t.s_y);var e=.5*(t.s_x+t.e_x),n=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+e+","+n+")")},t.setInitialPosition=function(){var e=t.parent.labelObject();if(e.linkRangeIntersection&&e.linkDomainIntersection){var n=e.linkRangeIntersection,r=e.linkDomainIntersection;t.e_x=r.x,t.e_y=r.y,t.s_x=n.x,t.s_y=n.y}t.updateElement()},t.setPositionDomain=function(e,n){var r=t.parent.range().x,i=t.parent.range().y;if(o.isDatatype(t.parent.range())===!0){var s=a.calculateIntersection({x:e,y:n},t.parent.range(),0);t.s_x=s.x,t.s_y=s.y}else{var l=r-e,u=i-n,c=Math.sqrt(l*l+u*u),d=l/c,p=u/c;t.s_x=r-d*t.parent.range().actualRadius(),t.s_y=i-p*t.parent.range().actualRadius()}t.e_x=e,t.e_y=n,t.updateElement()},t.setPosition=function(e,n){t.s_x=e,t.s_y=n;var r=t.parent.domain().x,o=t.parent.domain().y,a=e-r,i=n-o,s=Math.sqrt(a*a+i*i),l=a/s,u=i/s;t.e_x=r+l*t.parent.domain().actualRadius(),t.e_y=o+u*t.parent.domain().actualRadius(),t.updateElement()},t}},function(e,t){e.exports=function(e){function t(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function n(t){var n={base:"",resource:""};if(void 0===t)return n={base:"ERROR",resource:"NOT FOUND"};var r,o;return t.indexOf("#")>-1?(r=t.substring(t.lastIndexOf("#")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r):(r=t.substring(t.lastIndexOf("/")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r),n}var r,o={};return o.updatePrefixModel=function(){r=e.options().prefixList()},o.validURL=function(e){return t(e)},o.getPrefixRepresentationForFullURI=function(e){o.updatePrefixModel();var t=n(e);for(var a in r)if(r.hasOwnProperty(a)&&r[a]===t.base)return a+":"+t.resource;return":"===t.base?":"+t.resource:e},o}},function(e,t,n){(function(t){var r=n(58);e.exports=function(){function e(e){return e.filter(function(e){return!(e.visualAttributes().indexOf("deprecated")>=0)&&e.attributes().indexOf("external")>=0})}function n(e){for(var n=o(e),i=n.entries(),s=t.scale.linear().domain([0,i.length-1]).range(r.find(p,{type:v}).range).interpolate(t.interpolateHsl),l=0;l=0&&s.splice(n,1)}}),{nodes:s,properties:l}},function(){return t}}()},function(e,t,n){var r=n(46);e.exports=function(){function e(){var e,t,o,a=[];for(e=0,t=n.length;e=0?n<=t?n:(e.getGraphObject().setGlobalDOF(t),t):e.getDefaultDegreeValue()}function a(e){for(var t=0,n=0,r=e.length;n=e}}var c,d,p,f,h,v,g,y,m={},b=!0,x=50;return m.initialize=function(r,o){g=-1;var i=a(r);h instanceof Function&&h(i),e.setDefaultDegreeValue(t(r,o,i));var s=n(i);y instanceof Function?(y(s),s>0&&(e.highlightForDegreeSlider(!0),e.getGraphObject().setFilterWarning(!0))):console.error("No degree setter function set.")},m.filter=function(e,t){c=e,d=t,this.enabled()&&(v instanceof Function?s(v()):console.error("No degree query function set.")),p=c,f=d,0===p.length&&(y(0),p=e,f=t),g=v()},m.setMaxDegreeSetter=function(e){h=e},m.setDegreeGetter=function(e){v=e},m.setDegreeSetter=function(e){y=e},m.enabled=function(e){return arguments.length?(b=e,m):b},m.filteredNodes=function(){return p},m.filteredProperties=function(){return f},m}},function(e,t){e.exports=function(e){var t,n,r,o,a=!0,i={},s=a;return i.filter=function(a,i){t=a,n=i,e.options().scaleNodesByIndividuals(s),r=t,o=n},i.enabled=function(e){return arguments.length?(s=e,i):s},i.reset=function(){s=a},i.filteredNodes=function(){return r},i.filteredProperties=function(){return o},i}},function(e,t,n){var r=n(63)();e.exports=function(){function e(){i=i.filter(t),a=a.filter(n)}function t(e){return!r.isObjectProperty(e)}function n(e){var t=!r.isThing(e),n=o(e,i);return t||n}function o(e,n){for(var r=0;ro?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e,t){var n=typeof e;return t=null==t?r:t,!!t&&("number"==n||"symbol"!=n&&o.test(e))&&e>-1&&e%1==0&&e0&&n(c)?t>1?r(c,t-1,n,i,s):o(s,c):i||(s[s.length]=c)}return s}var o=n(107),a=n(109);e.exports=r},function(e,t,n){function r(e){return i(e)||a(e)||!!(s&&e&&e[s])}var o=n(92),a=n(110),i=n(112),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){var r=n(111),o=n(104),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){function r(e){return a(e)&&o(e)==i}var o=n(91),a=n(104),i="[object Arguments]";e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=c&&(p=u,f=!1,t=new o(t));e:for(;++d-1}var o=n(135);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(135);e.exports=r},function(e,t,n){var r=n(122),o=n(93),a=r(o,"Map");e.exports=a},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(142);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(141);e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return!!n&&o(e,t,0)>-1}var o=n(149);e.exports=r},function(e,t,n){function r(e,t,n){return t===t?i(e,t,n):o(e,a,n)}var o=n(150),a=n(151),i=n(152);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,a=Date.now;e.exports=n},function(e,t,n){function r(e){return a(e)&&o(e)}var o=n(89),a=n(104);e.exports=r},function(e,t,n){var r=n(115),o=n(108),a=n(168),i=n(157),s=n(166),l=n(228),u=i(function(e,t){var n=l(t);return s(n)&&(n=void 0),s(e)?r(e,o(t,1,s,!0),a(n,2)):[]});e.exports=u},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?a(e[0],e[1]):o(e):l(e)}var o=n(169),a=n(211),i=n(158),s=n(112),l=n(225);e.exports=r},function(e,t,n){function r(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(170),a=n(208),i=n(210);e.exports=r},function(e,t,n){function r(e,t,n,r){var l=n.length,u=l,c=!r;if(null==e)return!u;for(e=Object(e);l--;){var d=n[l];if(c&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++lp))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var v=-1,g=!0,y=n&l?new o:void 0;for(c.set(e,t),c.set(t,e);++vi?0:i+n),r=void 0===r||r>i?i:o(r),r<0&&(r+=i),r=n>r?0:a(r);n=t?e:t)),e}e.exports=n},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var l=null==n?0:i(n);return l<0&&(l=s(r+l,0)),o(e,a(t,3),l)}var o=n(150),a=n(168),i=n(100),s=Math.max;e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var u=r-1;return void 0!==n&&(u=i(n),u=n<0?s(r+u,0):l(u,r-1)),o(e,a(t,3),u,!0)}var o=n(150),a=n(168),i=n(100),s=Math.max,l=Math.min;e.exports=r},function(e,t,n){e.exports=n(242)},function(e,t){function n(e){return e&&e.length?e[0]:void 0}e.exports=n},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,1):[]}var o=n(108);e.exports=r},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,a):[]}var o=n(108),a=1/0;e.exports=r},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return n?(t=void 0===t?1:a(t),o(e,t)):[]}var o=n(108),a=n(100);e.exports=r},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r={};++t=120&&y.length>=120)?new o(f&&y):void 0}y=e[0];var m=-1,b=h[0];e:for(;++m-1;)f!==e&&c.call(f,h,1),c.call(e,h,1);return e}var o=n(154),a=n(149),i=n(262),s=n(155),l=n(113),u=Array.prototype,c=u.splice;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=n-1,a=e.length;++ot||i&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!a)return 1;if(!r&&!i&&!c&&e>>1,c=e[u];null!==c&&!i(c)&&(n?c<=t:c>>1;e.exports=r},function(e,t,n){function r(e,t,n,r){t=n(t);for(var a=0,u=null==e?0:e.length,c=t!==t,d=null===t,p=o(t),f=void 0===t;a=c){var g=t?null:l(e);if(g)return u(g);f=!1,d=s,v=new o}else v=t?[]:h;e:for(;++r1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,o(e,n)});e.exports=a},function(e,t,n){(function(t){e.exports=function(e){var n,r={};return r.handle=function(r){if(!t.event.defaultPrevented){var o=!0;n===r&&(o=!1),e instanceof Function&&e(o?r:void 0),n=o?r:void 0}},r.reset=function(){n&&(e(void 0),n=void 0)},r}}).call(t,n(6))},function(e,t,n){var r=n(20);e.exports=function(){function e(){var e=c.filterNodesAndTidy(o,a,t);o=e.nodes,a=e.properties}function t(e){return!(e instanceof r)}var o,a,i,s,l={},u=!1,c=n(76)();return l.filter=function(t,n){o=t,a=n,this.enabled()&&e(),i=o,s=a},l.enabled=function(e){return arguments.length?(u=e,l):u},l.filteredNodes=function(){return i},l.filteredProperties=function(){return s},l}},function(e,t,n){(function(t){var r=n(20),o=n(31),a=n(30),i=n(63)();e.exports=function(){function e(){h=0,v=0,g=0,y=0,m=0,b=0,x=0,E=0}function s(e,t){h=e.length;var r,o,a,i=n(62)();for(r=0,o=t.length;r1)return!1}return!0}function i(e,t){var n,r,o,a=[];for(r=0,o=e.length;r + +406 Not Acceptable + + +

    Not Acceptable

    +

    An appropriate representation of the requested resource could not be found on this server.

    + Available variants: + + \ No newline at end of file diff --git a/dist/ontology/1.0.0/OOPSevaluation/evaluation/bootstrap.css b/dist/ontology/1.0.0/OOPSevaluation/evaluation/bootstrap.css new file mode 100644 index 0000000..b17ff4c --- /dev/null +++ b/dist/ontology/1.0.0/OOPSevaluation/evaluation/bootstrap.css @@ -0,0 +1,7155 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +audio, +canvas, +video { + display: inline-block; +} + +audio:not([controls]) { + display: none; + height: 0; +} + +[hidden], +template { + display: none; +} + +html { + font-family: sans-serif; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +body { + margin: 0; +} + +a { + background: transparent; +} + +a:focus { + outline: thin dotted; +} + +a:active, +a:hover { + outline: 0; +} + +h1 { + margin: 0.67em 0; + font-size: 2em; +} + +abbr[title] { + border-bottom: 1px dotted; +} + +b, +strong { + font-weight: bold; +} + +dfn { + font-style: italic; +} + +hr { + height: 0; + -moz-box-sizing: content-box; + box-sizing: content-box; +} + +mark { + color: #000; + background: #ff0; +} + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +pre { + white-space: pre-wrap; +} + +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} + +small { + font-size: 80%; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +img { + border: 0; +} + +svg:not(:root) { + overflow: hidden; +} + +figure { + margin: 0; +} + +fieldset { + padding: 0.35em 0.625em 0.75em; + margin: 0 2px; + border: 1px solid #c0c0c0; +} + +legend { + padding: 0; + border: 0; +} + +button, +input, +select, +textarea { + margin: 0; + font-family: inherit; + font-size: 100%; +} + +button, +input { + line-height: normal; +} + +button, +select { + text-transform: none; +} + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + cursor: pointer; + -webkit-appearance: button; +} + +button[disabled], +html input[disabled] { + cursor: default; +} + +input[type="checkbox"], +input[type="radio"] { + padding: 0; + box-sizing: border-box; +} + +input[type="search"] { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + -webkit-appearance: textfield; +} + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; +} + +textarea { + overflow: auto; + vertical-align: top; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +@media print { + * { + color: #000 !important; + text-shadow: none !important; + background: transparent !important; + box-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + a[href^="javascript:"]:after, + a[href^="#"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + @page { + margin: 2cm .5cm; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + select { + background: #fff !important; + } + .navbar { + display: none; + } + .table td, + .table th { + background-color: #fff !important; + } + .btn > .caret, + .dropup > .btn > .caret { + border-top-color: #000 !important; + } + .label { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #ddd !important; + } +} + +*, +*:before, +*:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +html { + font-size: 62.5%; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +body { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 1.428571429; + color: #333333; + background-color: #ffffff; +} + +input, +button, +select, +textarea { + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +a { + color: #428bca; + text-decoration: none; +} + +a:hover, +a:focus { + color: #2a6496; + text-decoration: underline; +} + +a:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +img { + vertical-align: middle; +} + +.img-responsive { + display: block; + height: auto; + max-width: 100%; +} + +.img-rounded { + border-radius: 6px; +} + +.img-thumbnail { + display: inline-block; + height: auto; + max-width: 100%; + padding: 4px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.img-circle { + border-radius: 50%; +} + +hr { + margin-top: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid #eeeeee; +} + +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} + +h1, +h2, +h3, +h4, +h5, +h6, +.h1, +.h2, +.h3, +.h4, +.h5, +.h6 { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 500; + line-height: 1.1; + color: inherit; +} + +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small, +.h1 small, +.h2 small, +.h3 small, +.h4 small, +.h5 small, +.h6 small, +h1 .small, +h2 .small, +h3 .small, +h4 .small, +h5 .small, +h6 .small, +.h1 .small, +.h2 .small, +.h3 .small, +.h4 .small, +.h5 .small, +.h6 .small { + font-weight: normal; + line-height: 1; + color: #999999; +} + +h1, +h2, +h3 { + margin-top: 20px; + margin-bottom: 10px; +} + +h1 small, +h2 small, +h3 small, +h1 .small, +h2 .small, +h3 .small { + font-size: 65%; +} + +h4, +h5, +h6 { + margin-top: 10px; + margin-bottom: 10px; +} + +h4 small, +h5 small, +h6 small, +h4 .small, +h5 .small, +h6 .small { + font-size: 75%; +} + +h1, +.h1 { + font-size: 36px; +} + +h2, +.h2 { + font-size: 30px; +} + +h3, +.h3 { + font-size: 24px; +} + +h4, +.h4 { + font-size: 18px; +} + +h5, +.h5 { + font-size: 14px; +} + +h6, +.h6 { + font-size: 12px; +} + +p { + margin: 0 0 10px; +} + +.lead { + margin-bottom: 20px; + font-size: 16px; + font-weight: 200; + line-height: 1.4; +} + +@media (min-width: 768px) { + .lead { + font-size: 21px; + } +} + +small, +.small { + font-size: 85%; +} + +cite { + font-style: normal; +} + +.text-muted { + color: #999999; +} + +.text-primary { + color: #428bca; +} + +.text-primary:hover { + color: #3071a9; +} + +.text-warning { + color: #8a6d3b; +} + +.text-warning:hover { + color: #66512c; +} + +.text-danger { + color: #a94442; +} + +.text-danger:hover { + color: #843534; +} + +.text-success { + color: #3c763d; +} + +.text-success:hover { + color: #2b542c; +} + +.text-info { + color: #31708f; +} + +.text-info:hover { + color: #245269; +} + +.text-left { + text-align: left; +} + +.text-right { + text-align: right; +} + +.text-center { + text-align: center; +} + +.page-header { + padding-bottom: 9px; + margin: 40px 0 20px; + border-bottom: 1px solid #eeeeee; +} + +ul, +ol { + margin-top: 0; + margin-bottom: 10px; +} + +ul ul, +ol ul, +ul ol, +ol ol { + margin-bottom: 0; +} + +.list-unstyled { + padding-left: 0; + list-style: none; +} + +.list-inline { + padding-left: 0; + list-style: none; +} + +.list-inline > li { + display: inline-block; + padding-right: 5px; + padding-left: 5px; +} + +.list-inline > li:first-child { + padding-left: 0; +} + +dl { + margin-top: 0; + margin-bottom: 20px; +} + +dt, +dd { + line-height: 1.428571429; +} + +dt { + font-weight: bold; +} + +dd { + margin-left: 0; +} + +@media (min-width: 768px) { + .dl-horizontal dt { + float: left; + width: 160px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; + } + .dl-horizontal dd { + margin-left: 180px; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } +} + +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #999999; +} + +.initialism { + font-size: 90%; + text-transform: uppercase; +} + +blockquote { + padding: 10px 20px; + margin: 0 0 20px; + border-left: 5px solid #eeeeee; +} + +blockquote p { + font-size: 17.5px; + font-weight: 300; + line-height: 1.25; +} + +blockquote p:last-child { + margin-bottom: 0; +} + +blockquote small, +blockquote .small { + display: block; + line-height: 1.428571429; + color: #999999; +} + +blockquote small:before, +blockquote .small:before { + content: '\2014 \00A0'; +} + +blockquote.pull-right { + padding-right: 15px; + padding-left: 0; + border-right: 5px solid #eeeeee; + border-left: 0; +} + +blockquote.pull-right p, +blockquote.pull-right small, +blockquote.pull-right .small { + text-align: right; +} + +blockquote.pull-right small:before, +blockquote.pull-right .small:before { + content: ''; +} + +blockquote.pull-right small:after, +blockquote.pull-right .small:after { + content: '\00A0 \2014'; +} + +blockquote:before, +blockquote:after { + content: ""; +} + +address { + margin-bottom: 20px; + font-style: normal; + line-height: 1.428571429; +} + +code, +kbd, +pre, +samp { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; +} + +code { + padding: 2px 4px; + font-size: 90%; + color: #c7254e; + white-space: nowrap; + background-color: #f9f2f4; + border-radius: 4px; +} + +pre { + display: block; + padding: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 1.428571429; + color: #333333; + word-break: break-all; + word-wrap: break-word; + background-color: #f5f5f5; + border: 1px solid #cccccc; + border-radius: 4px; +} + +pre code { + padding: 0; + font-size: inherit; + color: inherit; + white-space: pre-wrap; + background-color: transparent; + border-radius: 0; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +.container { + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +@media (min-width: 768px) { + .container { + width: 750px; + } +} + +@media (min-width: 992px) { + .container { + width: 970px; + } +} + +@media (min-width: 1200px) { + .container { + width: 1170px; + } +} + +.row { + margin-right: -15px; + margin-left: -15px; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.col-xs-1, +.col-sm-1, +.col-md-1, +.col-lg-1, +.col-xs-2, +.col-sm-2, +.col-md-2, +.col-lg-2, +.col-xs-3, +.col-sm-3, +.col-md-3, +.col-lg-3, +.col-xs-4, +.col-sm-4, +.col-md-4, +.col-lg-4, +.col-xs-5, +.col-sm-5, +.col-md-5, +.col-lg-5, +.col-xs-6, +.col-sm-6, +.col-md-6, +.col-lg-6, +.col-xs-7, +.col-sm-7, +.col-md-7, +.col-lg-7, +.col-xs-8, +.col-sm-8, +.col-md-8, +.col-lg-8, +.col-xs-9, +.col-sm-9, +.col-md-9, +.col-lg-9, +.col-xs-10, +.col-sm-10, +.col-md-10, +.col-lg-10, +.col-xs-11, +.col-sm-11, +.col-md-11, +.col-lg-11, +.col-xs-12, +.col-sm-12, +.col-md-12, +.col-lg-12 { + position: relative; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; +} + +.col-xs-1, +.col-xs-2, +.col-xs-3, +.col-xs-4, +.col-xs-5, +.col-xs-6, +.col-xs-7, +.col-xs-8, +.col-xs-9, +.col-xs-10, +.col-xs-11, +.col-xs-12 { + float: left; +} + +.col-xs-12 { + width: 100%; +} + +.col-xs-11 { + width: 91.66666666666666%; +} + +.col-xs-10 { + width: 83.33333333333334%; +} + +.col-xs-9 { + width: 75%; +} + +.col-xs-8 { + width: 66.66666666666666%; +} + +.col-xs-7 { + width: 58.333333333333336%; +} + +.col-xs-6 { + width: 50%; +} + +.col-xs-5 { + width: 41.66666666666667%; +} + +.col-xs-4 { + width: 33.33333333333333%; +} + +.col-xs-3 { + width: 25%; +} + +.col-xs-2 { + width: 16.666666666666664%; +} + +.col-xs-1 { + width: 8.333333333333332%; +} + +.col-xs-pull-12 { + right: 100%; +} + +.col-xs-pull-11 { + right: 91.66666666666666%; +} + +.col-xs-pull-10 { + right: 83.33333333333334%; +} + +.col-xs-pull-9 { + right: 75%; +} + +.col-xs-pull-8 { + right: 66.66666666666666%; +} + +.col-xs-pull-7 { + right: 58.333333333333336%; +} + +.col-xs-pull-6 { + right: 50%; +} + +.col-xs-pull-5 { + right: 41.66666666666667%; +} + +.col-xs-pull-4 { + right: 33.33333333333333%; +} + +.col-xs-pull-3 { + right: 25%; +} + +.col-xs-pull-2 { + right: 16.666666666666664%; +} + +.col-xs-pull-1 { + right: 8.333333333333332%; +} + +.col-xs-pull-0 { + right: 0; +} + +.col-xs-push-12 { + left: 100%; +} + +.col-xs-push-11 { + left: 91.66666666666666%; +} + +.col-xs-push-10 { + left: 83.33333333333334%; +} + +.col-xs-push-9 { + left: 75%; +} + +.col-xs-push-8 { + left: 66.66666666666666%; +} + +.col-xs-push-7 { + left: 58.333333333333336%; +} + +.col-xs-push-6 { + left: 50%; +} + +.col-xs-push-5 { + left: 41.66666666666667%; +} + +.col-xs-push-4 { + left: 33.33333333333333%; +} + +.col-xs-push-3 { + left: 25%; +} + +.col-xs-push-2 { + left: 16.666666666666664%; +} + +.col-xs-push-1 { + left: 8.333333333333332%; +} + +.col-xs-push-0 { + left: 0; +} + +.col-xs-offset-12 { + margin-left: 100%; +} + +.col-xs-offset-11 { + margin-left: 91.66666666666666%; +} + +.col-xs-offset-10 { + margin-left: 83.33333333333334%; +} + +.col-xs-offset-9 { + margin-left: 75%; +} + +.col-xs-offset-8 { + margin-left: 66.66666666666666%; +} + +.col-xs-offset-7 { + margin-left: 58.333333333333336%; +} + +.col-xs-offset-6 { + margin-left: 50%; +} + +.col-xs-offset-5 { + margin-left: 41.66666666666667%; +} + +.col-xs-offset-4 { + margin-left: 33.33333333333333%; +} + +.col-xs-offset-3 { + margin-left: 25%; +} + +.col-xs-offset-2 { + margin-left: 16.666666666666664%; +} + +.col-xs-offset-1 { + margin-left: 8.333333333333332%; +} + +.col-xs-offset-0 { + margin-left: 0; +} + +@media (min-width: 768px) { + .col-sm-1, + .col-sm-2, + .col-sm-3, + .col-sm-4, + .col-sm-5, + .col-sm-6, + .col-sm-7, + .col-sm-8, + .col-sm-9, + .col-sm-10, + .col-sm-11, + .col-sm-12 { + float: left; + } + .col-sm-12 { + width: 100%; + } + .col-sm-11 { + width: 91.66666666666666%; + } + .col-sm-10 { + width: 83.33333333333334%; + } + .col-sm-9 { + width: 75%; + } + .col-sm-8 { + width: 66.66666666666666%; + } + .col-sm-7 { + width: 58.333333333333336%; + } + .col-sm-6 { + width: 50%; + } + .col-sm-5 { + width: 41.66666666666667%; + } + .col-sm-4 { + width: 33.33333333333333%; + } + .col-sm-3 { + width: 25%; + } + .col-sm-2 { + width: 16.666666666666664%; + } + .col-sm-1 { + width: 8.333333333333332%; + } + .col-sm-pull-12 { + right: 100%; + } + .col-sm-pull-11 { + right: 91.66666666666666%; + } + .col-sm-pull-10 { + right: 83.33333333333334%; + } + .col-sm-pull-9 { + right: 75%; + } + .col-sm-pull-8 { + right: 66.66666666666666%; + } + .col-sm-pull-7 { + right: 58.333333333333336%; + } + .col-sm-pull-6 { + right: 50%; + } + .col-sm-pull-5 { + right: 41.66666666666667%; + } + .col-sm-pull-4 { + right: 33.33333333333333%; + } + .col-sm-pull-3 { + right: 25%; + } + .col-sm-pull-2 { + right: 16.666666666666664%; + } + .col-sm-pull-1 { + right: 8.333333333333332%; + } + .col-sm-pull-0 { + right: 0; + } + .col-sm-push-12 { + left: 100%; + } + .col-sm-push-11 { + left: 91.66666666666666%; + } + .col-sm-push-10 { + left: 83.33333333333334%; + } + .col-sm-push-9 { + left: 75%; + } + .col-sm-push-8 { + left: 66.66666666666666%; + } + .col-sm-push-7 { + left: 58.333333333333336%; + } + .col-sm-push-6 { + left: 50%; + } + .col-sm-push-5 { + left: 41.66666666666667%; + } + .col-sm-push-4 { + left: 33.33333333333333%; + } + .col-sm-push-3 { + left: 25%; + } + .col-sm-push-2 { + left: 16.666666666666664%; + } + .col-sm-push-1 { + left: 8.333333333333332%; + } + .col-sm-push-0 { + left: 0; + } + .col-sm-offset-12 { + margin-left: 100%; + } + .col-sm-offset-11 { + margin-left: 91.66666666666666%; + } + .col-sm-offset-10 { + margin-left: 83.33333333333334%; + } + .col-sm-offset-9 { + margin-left: 75%; + } + .col-sm-offset-8 { + margin-left: 66.66666666666666%; + } + .col-sm-offset-7 { + margin-left: 58.333333333333336%; + } + .col-sm-offset-6 { + margin-left: 50%; + } + .col-sm-offset-5 { + margin-left: 41.66666666666667%; + } + .col-sm-offset-4 { + margin-left: 33.33333333333333%; + } + .col-sm-offset-3 { + margin-left: 25%; + } + .col-sm-offset-2 { + margin-left: 16.666666666666664%; + } + .col-sm-offset-1 { + margin-left: 8.333333333333332%; + } + .col-sm-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 992px) { + .col-md-1, + .col-md-2, + .col-md-3, + .col-md-4, + .col-md-5, + .col-md-6, + .col-md-7, + .col-md-8, + .col-md-9, + .col-md-10, + .col-md-11, + .col-md-12 { + float: left; + } + .col-md-12 { + width: 100%; + } + .col-md-11 { + width: 91.66666666666666%; + } + .col-md-10 { + width: 83.33333333333334%; + } + .col-md-9 { + width: 75%; + } + .col-md-8 { + width: 66.66666666666666%; + } + .col-md-7 { + width: 58.333333333333336%; + } + .col-md-6 { + width: 50%; + } + .col-md-5 { + width: 41.66666666666667%; + } + .col-md-4 { + width: 33.33333333333333%; + } + .col-md-3 { + width: 25%; + } + .col-md-2 { + width: 16.666666666666664%; + } + .col-md-1 { + width: 8.333333333333332%; + } + .col-md-pull-12 { + right: 100%; + } + .col-md-pull-11 { + right: 91.66666666666666%; + } + .col-md-pull-10 { + right: 83.33333333333334%; + } + .col-md-pull-9 { + right: 75%; + } + .col-md-pull-8 { + right: 66.66666666666666%; + } + .col-md-pull-7 { + right: 58.333333333333336%; + } + .col-md-pull-6 { + right: 50%; + } + .col-md-pull-5 { + right: 41.66666666666667%; + } + .col-md-pull-4 { + right: 33.33333333333333%; + } + .col-md-pull-3 { + right: 25%; + } + .col-md-pull-2 { + right: 16.666666666666664%; + } + .col-md-pull-1 { + right: 8.333333333333332%; + } + .col-md-pull-0 { + right: 0; + } + .col-md-push-12 { + left: 100%; + } + .col-md-push-11 { + left: 91.66666666666666%; + } + .col-md-push-10 { + left: 83.33333333333334%; + } + .col-md-push-9 { + left: 75%; + } + .col-md-push-8 { + left: 66.66666666666666%; + } + .col-md-push-7 { + left: 58.333333333333336%; + } + .col-md-push-6 { + left: 50%; + } + .col-md-push-5 { + left: 41.66666666666667%; + } + .col-md-push-4 { + left: 33.33333333333333%; + } + .col-md-push-3 { + left: 25%; + } + .col-md-push-2 { + left: 16.666666666666664%; + } + .col-md-push-1 { + left: 8.333333333333332%; + } + .col-md-push-0 { + left: 0; + } + .col-md-offset-12 { + margin-left: 100%; + } + .col-md-offset-11 { + margin-left: 91.66666666666666%; + } + .col-md-offset-10 { + margin-left: 83.33333333333334%; + } + .col-md-offset-9 { + margin-left: 75%; + } + .col-md-offset-8 { + margin-left: 66.66666666666666%; + } + .col-md-offset-7 { + margin-left: 58.333333333333336%; + } + .col-md-offset-6 { + margin-left: 50%; + } + .col-md-offset-5 { + margin-left: 41.66666666666667%; + } + .col-md-offset-4 { + margin-left: 33.33333333333333%; + } + .col-md-offset-3 { + margin-left: 25%; + } + .col-md-offset-2 { + margin-left: 16.666666666666664%; + } + .col-md-offset-1 { + margin-left: 8.333333333333332%; + } + .col-md-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 1200px) { + .col-lg-1, + .col-lg-2, + .col-lg-3, + .col-lg-4, + .col-lg-5, + .col-lg-6, + .col-lg-7, + .col-lg-8, + .col-lg-9, + .col-lg-10, + .col-lg-11, + .col-lg-12 { + float: left; + } + .col-lg-12 { + width: 100%; + } + .col-lg-11 { + width: 91.66666666666666%; + } + .col-lg-10 { + width: 83.33333333333334%; + } + .col-lg-9 { + width: 75%; + } + .col-lg-8 { + width: 66.66666666666666%; + } + .col-lg-7 { + width: 58.333333333333336%; + } + .col-lg-6 { + width: 50%; + } + .col-lg-5 { + width: 41.66666666666667%; + } + .col-lg-4 { + width: 33.33333333333333%; + } + .col-lg-3 { + width: 25%; + } + .col-lg-2 { + width: 16.666666666666664%; + } + .col-lg-1 { + width: 8.333333333333332%; + } + .col-lg-pull-12 { + right: 100%; + } + .col-lg-pull-11 { + right: 91.66666666666666%; + } + .col-lg-pull-10 { + right: 83.33333333333334%; + } + .col-lg-pull-9 { + right: 75%; + } + .col-lg-pull-8 { + right: 66.66666666666666%; + } + .col-lg-pull-7 { + right: 58.333333333333336%; + } + .col-lg-pull-6 { + right: 50%; + } + .col-lg-pull-5 { + right: 41.66666666666667%; + } + .col-lg-pull-4 { + right: 33.33333333333333%; + } + .col-lg-pull-3 { + right: 25%; + } + .col-lg-pull-2 { + right: 16.666666666666664%; + } + .col-lg-pull-1 { + right: 8.333333333333332%; + } + .col-lg-pull-0 { + right: 0; + } + .col-lg-push-12 { + left: 100%; + } + .col-lg-push-11 { + left: 91.66666666666666%; + } + .col-lg-push-10 { + left: 83.33333333333334%; + } + .col-lg-push-9 { + left: 75%; + } + .col-lg-push-8 { + left: 66.66666666666666%; + } + .col-lg-push-7 { + left: 58.333333333333336%; + } + .col-lg-push-6 { + left: 50%; + } + .col-lg-push-5 { + left: 41.66666666666667%; + } + .col-lg-push-4 { + left: 33.33333333333333%; + } + .col-lg-push-3 { + left: 25%; + } + .col-lg-push-2 { + left: 16.666666666666664%; + } + .col-lg-push-1 { + left: 8.333333333333332%; + } + .col-lg-push-0 { + left: 0; + } + .col-lg-offset-12 { + margin-left: 100%; + } + .col-lg-offset-11 { + margin-left: 91.66666666666666%; + } + .col-lg-offset-10 { + margin-left: 83.33333333333334%; + } + .col-lg-offset-9 { + margin-left: 75%; + } + .col-lg-offset-8 { + margin-left: 66.66666666666666%; + } + .col-lg-offset-7 { + margin-left: 58.333333333333336%; + } + .col-lg-offset-6 { + margin-left: 50%; + } + .col-lg-offset-5 { + margin-left: 41.66666666666667%; + } + .col-lg-offset-4 { + margin-left: 33.33333333333333%; + } + .col-lg-offset-3 { + margin-left: 25%; + } + .col-lg-offset-2 { + margin-left: 16.666666666666664%; + } + .col-lg-offset-1 { + margin-left: 8.333333333333332%; + } + .col-lg-offset-0 { + margin-left: 0; + } +} + +table { + max-width: 100%; + background-color: transparent; +} + +th { + text-align: left; +} + +.table { + width: 100%; + margin-bottom: 20px; +} + +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + padding: 8px; + line-height: 1.428571429; + vertical-align: top; + border-top: 1px solid #dddddd; +} + +.table > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #dddddd; +} + +.table > caption + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > th, +.table > thead:first-child > tr:first-child > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > td { + border-top: 0; +} + +.table > tbody + tbody { + border-top: 2px solid #dddddd; +} + +.table .table { + background-color: #ffffff; +} + +.table-condensed > thead > tr > th, +.table-condensed > tbody > tr > th, +.table-condensed > tfoot > tr > th, +.table-condensed > thead > tr > td, +.table-condensed > tbody > tr > td, +.table-condensed > tfoot > tr > td { + padding: 5px; +} + +.table-bordered { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > tbody > tr > th, +.table-bordered > tfoot > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > td { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td { + border-bottom-width: 2px; +} + +.table-striped > tbody > tr:nth-child(odd) > td, +.table-striped > tbody > tr:nth-child(odd) > th { + background-color: #f9f9f9; +} + +.table-hover > tbody > tr:hover > td, +.table-hover > tbody > tr:hover > th { + background-color: #f5f5f5; +} + +table col[class*="col-"] { + position: static; + display: table-column; + float: none; +} + +table td[class*="col-"], +table th[class*="col-"] { + display: table-cell; + float: none; +} + +.table > thead > tr > .active, +.table > tbody > tr > .active, +.table > tfoot > tr > .active, +.table > thead > .active > td, +.table > tbody > .active > td, +.table > tfoot > .active > td, +.table > thead > .active > th, +.table > tbody > .active > th, +.table > tfoot > .active > th { + background-color: #f5f5f5; +} + +.table-hover > tbody > tr > .active:hover, +.table-hover > tbody > .active:hover > td, +.table-hover > tbody > .active:hover > th { + background-color: #e8e8e8; +} + +.table > thead > tr > .success, +.table > tbody > tr > .success, +.table > tfoot > tr > .success, +.table > thead > .success > td, +.table > tbody > .success > td, +.table > tfoot > .success > td, +.table > thead > .success > th, +.table > tbody > .success > th, +.table > tfoot > .success > th { + background-color: #dff0d8; +} + +.table-hover > tbody > tr > .success:hover, +.table-hover > tbody > .success:hover > td, +.table-hover > tbody > .success:hover > th { + background-color: #d0e9c6; +} + +.table > thead > tr > .danger, +.table > tbody > tr > .danger, +.table > tfoot > tr > .danger, +.table > thead > .danger > td, +.table > tbody > .danger > td, +.table > tfoot > .danger > td, +.table > thead > .danger > th, +.table > tbody > .danger > th, +.table > tfoot > .danger > th { + background-color: #f2dede; +} + +.table-hover > tbody > tr > .danger:hover, +.table-hover > tbody > .danger:hover > td, +.table-hover > tbody > .danger:hover > th { + background-color: #ebcccc; +} + +.table > thead > tr > .warning, +.table > tbody > tr > .warning, +.table > tfoot > tr > .warning, +.table > thead > .warning > td, +.table > tbody > .warning > td, +.table > tfoot > .warning > td, +.table > thead > .warning > th, +.table > tbody > .warning > th, +.table > tfoot > .warning > th { + background-color: #fcf8e3; +} + +.table-hover > tbody > tr > .warning:hover, +.table-hover > tbody > .warning:hover > td, +.table-hover > tbody > .warning:hover > th { + background-color: #faf2cc; +} + +@media (max-width: 767px) { + .table-responsive { + width: 100%; + margin-bottom: 15px; + overflow-x: scroll; + overflow-y: hidden; + border: 1px solid #dddddd; + -ms-overflow-style: -ms-autohiding-scrollbar; + -webkit-overflow-scrolling: touch; + } + .table-responsive > .table { + margin-bottom: 0; + } + .table-responsive > .table > thead > tr > th, + .table-responsive > .table > tbody > tr > th, + .table-responsive > .table > tfoot > tr > th, + .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > td { + white-space: nowrap; + } + .table-responsive > .table-bordered { + border: 0; + } + .table-responsive > .table-bordered > thead > tr > th:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, + .table-responsive > .table-bordered > tfoot > tr > th:first-child, + .table-responsive > .table-bordered > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; + } + .table-responsive > .table-bordered > thead > tr > th:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, + .table-responsive > .table-bordered > tfoot > tr > th:last-child, + .table-responsive > .table-bordered > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; + } + .table-responsive > .table-bordered > tbody > tr:last-child > th, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, + .table-responsive > .table-bordered > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; + } +} + +fieldset { + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: inherit; + color: #333333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} + +label { + display: inline-block; + margin-bottom: 5px; + font-weight: bold; +} + +input[type="search"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + /* IE8-9 */ + + line-height: normal; +} + +input[type="file"] { + display: block; +} + +select[multiple], +select[size] { + height: auto; +} + +select optgroup { + font-family: inherit; + font-size: inherit; + font-style: inherit; +} + +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +input[type="number"]::-webkit-outer-spin-button, +input[type="number"]::-webkit-inner-spin-button { + height: auto; +} + +output { + display: block; + padding-top: 7px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; +} + +.form-control { + display: block; + width: 100%; + height: 34px; + padding: 6px 12px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; + background-color: #ffffff; + background-image: none; + border: 1px solid #cccccc; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; +} + +.form-control:focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); +} + +.form-control:-moz-placeholder { + color: #999999; +} + +.form-control::-moz-placeholder { + color: #999999; + opacity: 1; +} + +.form-control:-ms-input-placeholder { + color: #999999; +} + +.form-control::-webkit-input-placeholder { + color: #999999; +} + +.form-control[disabled], +.form-control[readonly], +fieldset[disabled] .form-control { + cursor: not-allowed; + background-color: #eeeeee; +} + +textarea.form-control { + height: auto; +} + +.form-group { + margin-bottom: 15px; +} + +.radio, +.checkbox { + display: block; + min-height: 20px; + padding-left: 20px; + margin-top: 10px; + margin-bottom: 10px; + vertical-align: middle; +} + +.radio label, +.checkbox label { + display: inline; + margin-bottom: 0; + font-weight: normal; + cursor: pointer; +} + +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + float: left; + margin-left: -20px; +} + +.radio + .radio, +.checkbox + .checkbox { + margin-top: -5px; +} + +.radio-inline, +.checkbox-inline { + display: inline-block; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + vertical-align: middle; + cursor: pointer; +} + +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; +} + +input[type="radio"][disabled], +input[type="checkbox"][disabled], +.radio[disabled], +.radio-inline[disabled], +.checkbox[disabled], +.checkbox-inline[disabled], +fieldset[disabled] input[type="radio"], +fieldset[disabled] input[type="checkbox"], +fieldset[disabled] .radio, +fieldset[disabled] .radio-inline, +fieldset[disabled] .checkbox, +fieldset[disabled] .checkbox-inline { + cursor: not-allowed; +} + +.input-sm { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-sm { + height: 30px; + line-height: 30px; +} + +textarea.input-sm { + height: auto; +} + +.input-lg { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-lg { + height: 46px; + line-height: 46px; +} + +textarea.input-lg { + height: auto; +} + +.has-warning .help-block, +.has-warning .control-label, +.has-warning .radio, +.has-warning .checkbox, +.has-warning .radio-inline, +.has-warning .checkbox-inline { + color: #8a6d3b; +} + +.has-warning .form-control { + border-color: #8a6d3b; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-warning .form-control:focus { + border-color: #66512c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; +} + +.has-warning .input-group-addon { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #8a6d3b; +} + +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline { + color: #a94442; +} + +.has-error .form-control { + border-color: #a94442; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-error .form-control:focus { + border-color: #843534; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; +} + +.has-error .input-group-addon { + color: #a94442; + background-color: #f2dede; + border-color: #a94442; +} + +.has-success .help-block, +.has-success .control-label, +.has-success .radio, +.has-success .checkbox, +.has-success .radio-inline, +.has-success .checkbox-inline { + color: #3c763d; +} + +.has-success .form-control { + border-color: #3c763d; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-success .form-control:focus { + border-color: #2b542c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; +} + +.has-success .input-group-addon { + color: #3c763d; + background-color: #dff0d8; + border-color: #3c763d; +} + +.form-control-static { + margin-bottom: 0; +} + +.help-block { + display: block; + margin-top: 5px; + margin-bottom: 10px; + color: #737373; +} + +@media (min-width: 768px) { + .form-inline .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .form-control { + display: inline-block; + } + .form-inline select.form-control { + width: auto; + } + .form-inline .radio, + .form-inline .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .form-inline .radio input[type="radio"], + .form-inline .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +.form-horizontal .control-label, +.form-horizontal .radio, +.form-horizontal .checkbox, +.form-horizontal .radio-inline, +.form-horizontal .checkbox-inline { + padding-top: 7px; + margin-top: 0; + margin-bottom: 0; +} + +.form-horizontal .radio, +.form-horizontal .checkbox { + min-height: 27px; +} + +.form-horizontal .form-group { + margin-right: -15px; + margin-left: -15px; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-control-static { + padding-top: 7px; +} + +@media (min-width: 768px) { + .form-horizontal .control-label { + text-align: right; + } +} + +.btn { + display: inline-block; + padding: 6px 12px; + margin-bottom: 0; + font-size: 14px; + font-weight: normal; + line-height: 1.428571429; + text-align: center; + white-space: nowrap; + vertical-align: middle; + cursor: pointer; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; +} + +.btn:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +.btn:hover, +.btn:focus { + color: #333333; + text-decoration: none; +} + +.btn:active, +.btn.active { + background-image: none; + outline: 0; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn.disabled, +.btn[disabled], +fieldset[disabled] .btn { + pointer-events: none; + cursor: not-allowed; + opacity: 0.65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-default { + color: #333333; + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default:hover, +.btn-default:focus, +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + color: #333333; + background-color: #ebebeb; + border-color: #adadad; +} + +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + background-image: none; +} + +.btn-default.disabled, +.btn-default[disabled], +fieldset[disabled] .btn-default, +.btn-default.disabled:hover, +.btn-default[disabled]:hover, +fieldset[disabled] .btn-default:hover, +.btn-default.disabled:focus, +.btn-default[disabled]:focus, +fieldset[disabled] .btn-default:focus, +.btn-default.disabled:active, +.btn-default[disabled]:active, +fieldset[disabled] .btn-default:active, +.btn-default.disabled.active, +.btn-default[disabled].active, +fieldset[disabled] .btn-default.active { + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default .badge { + color: #ffffff; + background-color: #fff; +} + +.btn-primary { + color: #ffffff; + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary:hover, +.btn-primary:focus, +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + color: #ffffff; + background-color: #3276b1; + border-color: #285e8e; +} + +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + background-image: none; +} + +.btn-primary.disabled, +.btn-primary[disabled], +fieldset[disabled] .btn-primary, +.btn-primary.disabled:hover, +.btn-primary[disabled]:hover, +fieldset[disabled] .btn-primary:hover, +.btn-primary.disabled:focus, +.btn-primary[disabled]:focus, +fieldset[disabled] .btn-primary:focus, +.btn-primary.disabled:active, +.btn-primary[disabled]:active, +fieldset[disabled] .btn-primary:active, +.btn-primary.disabled.active, +.btn-primary[disabled].active, +fieldset[disabled] .btn-primary.active { + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary .badge { + color: #428bca; + background-color: #fff; +} + +.btn-warning { + color: #ffffff; + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning:hover, +.btn-warning:focus, +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + color: #ffffff; + background-color: #ed9c28; + border-color: #d58512; +} + +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + background-image: none; +} + +.btn-warning.disabled, +.btn-warning[disabled], +fieldset[disabled] .btn-warning, +.btn-warning.disabled:hover, +.btn-warning[disabled]:hover, +fieldset[disabled] .btn-warning:hover, +.btn-warning.disabled:focus, +.btn-warning[disabled]:focus, +fieldset[disabled] .btn-warning:focus, +.btn-warning.disabled:active, +.btn-warning[disabled]:active, +fieldset[disabled] .btn-warning:active, +.btn-warning.disabled.active, +.btn-warning[disabled].active, +fieldset[disabled] .btn-warning.active { + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning .badge { + color: #f0ad4e; + background-color: #fff; +} + +.btn-danger { + color: #ffffff; + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger:hover, +.btn-danger:focus, +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + color: #ffffff; + background-color: #d2322d; + border-color: #ac2925; +} + +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + background-image: none; +} + +.btn-danger.disabled, +.btn-danger[disabled], +fieldset[disabled] .btn-danger, +.btn-danger.disabled:hover, +.btn-danger[disabled]:hover, +fieldset[disabled] .btn-danger:hover, +.btn-danger.disabled:focus, +.btn-danger[disabled]:focus, +fieldset[disabled] .btn-danger:focus, +.btn-danger.disabled:active, +.btn-danger[disabled]:active, +fieldset[disabled] .btn-danger:active, +.btn-danger.disabled.active, +.btn-danger[disabled].active, +fieldset[disabled] .btn-danger.active { + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger .badge { + color: #d9534f; + background-color: #fff; +} + +.btn-success { + color: #ffffff; + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success:hover, +.btn-success:focus, +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + color: #ffffff; + background-color: #47a447; + border-color: #398439; +} + +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + background-image: none; +} + +.btn-success.disabled, +.btn-success[disabled], +fieldset[disabled] .btn-success, +.btn-success.disabled:hover, +.btn-success[disabled]:hover, +fieldset[disabled] .btn-success:hover, +.btn-success.disabled:focus, +.btn-success[disabled]:focus, +fieldset[disabled] .btn-success:focus, +.btn-success.disabled:active, +.btn-success[disabled]:active, +fieldset[disabled] .btn-success:active, +.btn-success.disabled.active, +.btn-success[disabled].active, +fieldset[disabled] .btn-success.active { + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success .badge { + color: #5cb85c; + background-color: #fff; +} + +.btn-info { + color: #ffffff; + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info:hover, +.btn-info:focus, +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + color: #ffffff; + background-color: #39b3d7; + border-color: #269abc; +} + +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + background-image: none; +} + +.btn-info.disabled, +.btn-info[disabled], +fieldset[disabled] .btn-info, +.btn-info.disabled:hover, +.btn-info[disabled]:hover, +fieldset[disabled] .btn-info:hover, +.btn-info.disabled:focus, +.btn-info[disabled]:focus, +fieldset[disabled] .btn-info:focus, +.btn-info.disabled:active, +.btn-info[disabled]:active, +fieldset[disabled] .btn-info:active, +.btn-info.disabled.active, +.btn-info[disabled].active, +fieldset[disabled] .btn-info.active { + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info .badge { + color: #5bc0de; + background-color: #fff; +} + +.btn-link { + font-weight: normal; + color: #428bca; + cursor: pointer; + border-radius: 0; +} + +.btn-link, +.btn-link:active, +.btn-link[disabled], +fieldset[disabled] .btn-link { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-link, +.btn-link:hover, +.btn-link:focus, +.btn-link:active { + border-color: transparent; +} + +.btn-link:hover, +.btn-link:focus { + color: #2a6496; + text-decoration: underline; + background-color: transparent; +} + +.btn-link[disabled]:hover, +fieldset[disabled] .btn-link:hover, +.btn-link[disabled]:focus, +fieldset[disabled] .btn-link:focus { + color: #999999; + text-decoration: none; +} + +.btn-lg { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-sm { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-xs { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-block { + display: block; + width: 100%; + padding-right: 0; + padding-left: 0; +} + +.btn-block + .btn-block { + margin-top: 5px; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.fade { + opacity: 0; + -webkit-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} + +.fade.in { + opacity: 1; +} + +.collapse { + display: none; +} + +.collapse.in { + display: block; +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition: height 0.35s ease; + transition: height 0.35s ease; +} + +@font-face { + font-family: 'Glyphicons Halflings'; + src: url('../fonts/glyphicons-halflings-regular.eot'); + src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg'); +} + +.glyphicon { + position: relative; + top: 1px; + display: inline-block; + font-family: 'Glyphicons Halflings'; + -webkit-font-smoothing: antialiased; + font-style: normal; + font-weight: normal; + line-height: 1; + -moz-osx-font-smoothing: grayscale; +} + +.glyphicon:empty { + width: 1em; +} + +.glyphicon-asterisk:before { + content: "\2a"; +} + +.glyphicon-plus:before { + content: "\2b"; +} + +.glyphicon-euro:before { + content: "\20ac"; +} + +.glyphicon-minus:before { + content: "\2212"; +} + +.glyphicon-cloud:before { + content: "\2601"; +} + +.glyphicon-envelope:before { + content: "\2709"; +} + +.glyphicon-pencil:before { + content: "\270f"; +} + +.glyphicon-glass:before { + content: "\e001"; +} + +.glyphicon-music:before { + content: "\e002"; +} + +.glyphicon-search:before { + content: "\e003"; +} + +.glyphicon-heart:before { + content: "\e005"; +} + +.glyphicon-star:before { + content: "\e006"; +} + +.glyphicon-star-empty:before { + content: "\e007"; +} + +.glyphicon-user:before { + content: "\e008"; +} + +.glyphicon-film:before { + content: "\e009"; +} + +.glyphicon-th-large:before { + content: "\e010"; +} + +.glyphicon-th:before { + content: "\e011"; +} + +.glyphicon-th-list:before { + content: "\e012"; +} + +.glyphicon-ok:before { + content: "\e013"; +} + +.glyphicon-remove:before { + content: "\e014"; +} + +.glyphicon-zoom-in:before { + content: "\e015"; +} + +.glyphicon-zoom-out:before { + content: "\e016"; +} + +.glyphicon-off:before { + content: "\e017"; +} + +.glyphicon-signal:before { + content: "\e018"; +} + +.glyphicon-cog:before { + content: "\e019"; +} + +.glyphicon-trash:before { + content: "\e020"; +} + +.glyphicon-home:before { + content: "\e021"; +} + +.glyphicon-file:before { + content: "\e022"; +} + +.glyphicon-time:before { + content: "\e023"; +} + +.glyphicon-road:before { + content: "\e024"; +} + +.glyphicon-download-alt:before { + content: "\e025"; +} + +.glyphicon-download:before { + content: "\e026"; +} + +.glyphicon-upload:before { + content: "\e027"; +} + +.glyphicon-inbox:before { + content: "\e028"; +} + +.glyphicon-play-circle:before { + content: "\e029"; +} + +.glyphicon-repeat:before { + content: "\e030"; +} + +.glyphicon-refresh:before { + content: "\e031"; +} + +.glyphicon-list-alt:before { + content: "\e032"; +} + +.glyphicon-lock:before { + content: "\e033"; +} + +.glyphicon-flag:before { + content: "\e034"; +} + +.glyphicon-headphones:before { + content: "\e035"; +} + +.glyphicon-volume-off:before { + content: "\e036"; +} + +.glyphicon-volume-down:before { + content: "\e037"; +} + +.glyphicon-volume-up:before { + content: "\e038"; +} + +.glyphicon-qrcode:before { + content: "\e039"; +} + +.glyphicon-barcode:before { + content: "\e040"; +} + +.glyphicon-tag:before { + content: "\e041"; +} + +.glyphicon-tags:before { + content: "\e042"; +} + +.glyphicon-book:before { + content: "\e043"; +} + +.glyphicon-bookmark:before { + content: "\e044"; +} + +.glyphicon-print:before { + content: "\e045"; +} + +.glyphicon-camera:before { + content: "\e046"; +} + +.glyphicon-font:before { + content: "\e047"; +} + +.glyphicon-bold:before { + content: "\e048"; +} + +.glyphicon-italic:before { + content: "\e049"; +} + +.glyphicon-text-height:before { + content: "\e050"; +} + +.glyphicon-text-width:before { + content: "\e051"; +} + +.glyphicon-align-left:before { + content: "\e052"; +} + +.glyphicon-align-center:before { + content: "\e053"; +} + +.glyphicon-align-right:before { + content: "\e054"; +} + +.glyphicon-align-justify:before { + content: "\e055"; +} + +.glyphicon-list:before { + content: "\e056"; +} + +.glyphicon-indent-left:before { + content: "\e057"; +} + +.glyphicon-indent-right:before { + content: "\e058"; +} + +.glyphicon-facetime-video:before { + content: "\e059"; +} + +.glyphicon-picture:before { + content: "\e060"; +} + +.glyphicon-map-marker:before { + content: "\e062"; +} + +.glyphicon-adjust:before { + content: "\e063"; +} + +.glyphicon-tint:before { + content: "\e064"; +} + +.glyphicon-edit:before { + content: "\e065"; +} + +.glyphicon-share:before { + content: "\e066"; +} + +.glyphicon-check:before { + content: "\e067"; +} + +.glyphicon-move:before { + content: "\e068"; +} + +.glyphicon-step-backward:before { + content: "\e069"; +} + +.glyphicon-fast-backward:before { + content: "\e070"; +} + +.glyphicon-backward:before { + content: "\e071"; +} + +.glyphicon-play:before { + content: "\e072"; +} + +.glyphicon-pause:before { + content: "\e073"; +} + +.glyphicon-stop:before { + content: "\e074"; +} + +.glyphicon-forward:before { + content: "\e075"; +} + +.glyphicon-fast-forward:before { + content: "\e076"; +} + +.glyphicon-step-forward:before { + content: "\e077"; +} + +.glyphicon-eject:before { + content: "\e078"; +} + +.glyphicon-chevron-left:before { + content: "\e079"; +} + +.glyphicon-chevron-right:before { + content: "\e080"; +} + +.glyphicon-plus-sign:before { + content: "\e081"; +} + +.glyphicon-minus-sign:before { + content: "\e082"; +} + +.glyphicon-remove-sign:before { + content: "\e083"; +} + +.glyphicon-ok-sign:before { + content: "\e084"; +} + +.glyphicon-question-sign:before { + content: "\e085"; +} + +.glyphicon-info-sign:before { + content: "\e086"; +} + +.glyphicon-screenshot:before { + content: "\e087"; +} + +.glyphicon-remove-circle:before { + content: "\e088"; +} + +.glyphicon-ok-circle:before { + content: "\e089"; +} + +.glyphicon-ban-circle:before { + content: "\e090"; +} + +.glyphicon-arrow-left:before { + content: "\e091"; +} + +.glyphicon-arrow-right:before { + content: "\e092"; +} + +.glyphicon-arrow-up:before { + content: "\e093"; +} + +.glyphicon-arrow-down:before { + content: "\e094"; +} + +.glyphicon-share-alt:before { + content: "\e095"; +} + +.glyphicon-resize-full:before { + content: "\e096"; +} + +.glyphicon-resize-small:before { + content: "\e097"; +} + +.glyphicon-exclamation-sign:before { + content: "\e101"; +} + +.glyphicon-gift:before { + content: "\e102"; +} + +.glyphicon-leaf:before { + content: "\e103"; +} + +.glyphicon-fire:before { + content: "\e104"; +} + +.glyphicon-eye-open:before { + content: "\e105"; +} + +.glyphicon-eye-close:before { + content: "\e106"; +} + +.glyphicon-warning-sign:before { + content: "\e107"; +} + +.glyphicon-plane:before { + content: "\e108"; +} + +.glyphicon-calendar:before { + content: "\e109"; +} + +.glyphicon-random:before { + content: "\e110"; +} + +.glyphicon-comment:before { + content: "\e111"; +} + +.glyphicon-magnet:before { + content: "\e112"; +} + +.glyphicon-chevron-up:before { + content: "\e113"; +} + +.glyphicon-chevron-down:before { + content: "\e114"; +} + +.glyphicon-retweet:before { + content: "\e115"; +} + +.glyphicon-shopping-cart:before { + content: "\e116"; +} + +.glyphicon-folder-close:before { + content: "\e117"; +} + +.glyphicon-folder-open:before { + content: "\e118"; +} + +.glyphicon-resize-vertical:before { + content: "\e119"; +} + +.glyphicon-resize-horizontal:before { + content: "\e120"; +} + +.glyphicon-hdd:before { + content: "\e121"; +} + +.glyphicon-bullhorn:before { + content: "\e122"; +} + +.glyphicon-bell:before { + content: "\e123"; +} + +.glyphicon-certificate:before { + content: "\e124"; +} + +.glyphicon-thumbs-up:before { + content: "\e125"; +} + +.glyphicon-thumbs-down:before { + content: "\e126"; +} + +.glyphicon-hand-right:before { + content: "\e127"; +} + +.glyphicon-hand-left:before { + content: "\e128"; +} + +.glyphicon-hand-up:before { + content: "\e129"; +} + +.glyphicon-hand-down:before { + content: "\e130"; +} + +.glyphicon-circle-arrow-right:before { + content: "\e131"; +} + +.glyphicon-circle-arrow-left:before { + content: "\e132"; +} + +.glyphicon-circle-arrow-up:before { + content: "\e133"; +} + +.glyphicon-circle-arrow-down:before { + content: "\e134"; +} + +.glyphicon-globe:before { + content: "\e135"; +} + +.glyphicon-wrench:before { + content: "\e136"; +} + +.glyphicon-tasks:before { + content: "\e137"; +} + +.glyphicon-filter:before { + content: "\e138"; +} + +.glyphicon-briefcase:before { + content: "\e139"; +} + +.glyphicon-fullscreen:before { + content: "\e140"; +} + +.glyphicon-dashboard:before { + content: "\e141"; +} + +.glyphicon-paperclip:before { + content: "\e142"; +} + +.glyphicon-heart-empty:before { + content: "\e143"; +} + +.glyphicon-link:before { + content: "\e144"; +} + +.glyphicon-phone:before { + content: "\e145"; +} + +.glyphicon-pushpin:before { + content: "\e146"; +} + +.glyphicon-usd:before { + content: "\e148"; +} + +.glyphicon-gbp:before { + content: "\e149"; +} + +.glyphicon-sort:before { + content: "\e150"; +} + +.glyphicon-sort-by-alphabet:before { + content: "\e151"; +} + +.glyphicon-sort-by-alphabet-alt:before { + content: "\e152"; +} + +.glyphicon-sort-by-order:before { + content: "\e153"; +} + +.glyphicon-sort-by-order-alt:before { + content: "\e154"; +} + +.glyphicon-sort-by-attributes:before { + content: "\e155"; +} + +.glyphicon-sort-by-attributes-alt:before { + content: "\e156"; +} + +.glyphicon-unchecked:before { + content: "\e157"; +} + +.glyphicon-expand:before { + content: "\e158"; +} + +.glyphicon-collapse-down:before { + content: "\e159"; +} + +.glyphicon-collapse-up:before { + content: "\e160"; +} + +.glyphicon-log-in:before { + content: "\e161"; +} + +.glyphicon-flash:before { + content: "\e162"; +} + +.glyphicon-log-out:before { + content: "\e163"; +} + +.glyphicon-new-window:before { + content: "\e164"; +} + +.glyphicon-record:before { + content: "\e165"; +} + +.glyphicon-save:before { + content: "\e166"; +} + +.glyphicon-open:before { + content: "\e167"; +} + +.glyphicon-saved:before { + content: "\e168"; +} + +.glyphicon-import:before { + content: "\e169"; +} + +.glyphicon-export:before { + content: "\e170"; +} + +.glyphicon-send:before { + content: "\e171"; +} + +.glyphicon-floppy-disk:before { + content: "\e172"; +} + +.glyphicon-floppy-saved:before { + content: "\e173"; +} + +.glyphicon-floppy-remove:before { + content: "\e174"; +} + +.glyphicon-floppy-save:before { + content: "\e175"; +} + +.glyphicon-floppy-open:before { + content: "\e176"; +} + +.glyphicon-credit-card:before { + content: "\e177"; +} + +.glyphicon-transfer:before { + content: "\e178"; +} + +.glyphicon-cutlery:before { + content: "\e179"; +} + +.glyphicon-header:before { + content: "\e180"; +} + +.glyphicon-compressed:before { + content: "\e181"; +} + +.glyphicon-earphone:before { + content: "\e182"; +} + +.glyphicon-phone-alt:before { + content: "\e183"; +} + +.glyphicon-tower:before { + content: "\e184"; +} + +.glyphicon-stats:before { + content: "\e185"; +} + +.glyphicon-sd-video:before { + content: "\e186"; +} + +.glyphicon-hd-video:before { + content: "\e187"; +} + +.glyphicon-subtitles:before { + content: "\e188"; +} + +.glyphicon-sound-stereo:before { + content: "\e189"; +} + +.glyphicon-sound-dolby:before { + content: "\e190"; +} + +.glyphicon-sound-5-1:before { + content: "\e191"; +} + +.glyphicon-sound-6-1:before { + content: "\e192"; +} + +.glyphicon-sound-7-1:before { + content: "\e193"; +} + +.glyphicon-copyright-mark:before { + content: "\e194"; +} + +.glyphicon-registration-mark:before { + content: "\e195"; +} + +.glyphicon-cloud-download:before { + content: "\e197"; +} + +.glyphicon-cloud-upload:before { + content: "\e198"; +} + +.glyphicon-tree-conifer:before { + content: "\e199"; +} + +.glyphicon-tree-deciduous:before { + content: "\e200"; +} + +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px solid; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} + +.dropdown { + position: relative; +} + +.dropdown-toggle:focus { + outline: 0; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + font-size: 14px; + list-style: none; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 4px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + background-clip: padding-box; +} + +.dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.dropdown-menu .divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.428571429; + color: #333333; + white-space: nowrap; +} + +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + color: #262626; + text-decoration: none; + background-color: #f5f5f5; +} + +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #ffffff; + text-decoration: none; + background-color: #428bca; + outline: 0; +} + +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #999999; +} + +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + cursor: not-allowed; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.open > .dropdown-menu { + display: block; +} + +.open > a { + outline: 0; +} + +.dropdown-header { + display: block; + padding: 3px 20px; + font-size: 12px; + line-height: 1.428571429; + color: #999999; +} + +.dropdown-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 990; +} + +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} + +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + border-top: 0; + border-bottom: 4px solid; + content: ""; +} + +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 1px; +} + +@media (min-width: 768px) { + .navbar-right .dropdown-menu { + right: 0; + left: auto; + } +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} + +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + float: left; +} + +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover, +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus, +.btn-group > .btn:active, +.btn-group-vertical > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn.active { + z-index: 2; +} + +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus { + outline: none; +} + +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group { + margin-left: -1px; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar .btn-group { + float: left; +} + +.btn-toolbar > .btn + .btn, +.btn-toolbar > .btn-group + .btn, +.btn-toolbar > .btn + .btn-group, +.btn-toolbar > .btn-group + .btn-group { + margin-left: 5px; +} + +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0; +} + +.btn-group > .btn:first-child { + margin-left: 0; +} + +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group > .btn-group { + float: left; +} + +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group > .btn-group:first-child > .btn:last-child, +.btn-group > .btn-group:first-child > .dropdown-toggle { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn-group:last-child > .btn:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} + +.btn-group-xs > .btn { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-sm > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-lg > .btn { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-group > .btn + .dropdown-toggle { + padding-right: 8px; + padding-left: 8px; +} + +.btn-group > .btn-lg + .dropdown-toggle { + padding-right: 12px; + padding-left: 12px; +} + +.btn-group.open .dropdown-toggle { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn-group.open .dropdown-toggle.btn-link { + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn .caret { + margin-left: 0; +} + +.btn-lg .caret { + border-width: 5px 5px 0; + border-bottom-width: 0; +} + +.dropup .btn-lg .caret { + border-width: 0 5px 5px; +} + +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group, +.btn-group-vertical > .btn-group > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group > .btn { + float: none; +} + +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} + +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-top-right-radius: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 0; +} + +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group-vertical > .btn-group:first-child > .btn:last-child, +.btn-group-vertical > .btn-group:first-child > .dropdown-toggle { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn-group:last-child > .btn:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.btn-group-justified { + display: table; + width: 100%; + border-collapse: separate; + table-layout: fixed; +} + +.btn-group-justified > .btn, +.btn-group-justified > .btn-group { + display: table-cell; + float: none; + width: 1%; +} + +.btn-group-justified > .btn-group .btn { + width: 100%; +} + +[data-toggle="buttons"] > .btn > input[type="radio"], +[data-toggle="buttons"] > .btn > input[type="checkbox"] { + display: none; +} + +.input-group { + position: relative; + display: table; + border-collapse: separate; +} + +.input-group[class*="col-"] { + float: none; + padding-right: 0; + padding-left: 0; +} + +.input-group .form-control { + width: 100%; + margin-bottom: 0; +} + +.input-group-lg > .form-control, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-group-lg > .form-control, +select.input-group-lg > .input-group-addon, +select.input-group-lg > .input-group-btn > .btn { + height: 46px; + line-height: 46px; +} + +textarea.input-group-lg > .form-control, +textarea.input-group-lg > .input-group-addon, +textarea.input-group-lg > .input-group-btn > .btn { + height: auto; +} + +.input-group-sm > .form-control, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-group-sm > .form-control, +select.input-group-sm > .input-group-addon, +select.input-group-sm > .input-group-btn > .btn { + height: 30px; + line-height: 30px; +} + +textarea.input-group-sm > .form-control, +textarea.input-group-sm > .input-group-addon, +textarea.input-group-sm > .input-group-btn > .btn { + height: auto; +} + +.input-group-addon, +.input-group-btn, +.input-group .form-control { + display: table-cell; +} + +.input-group-addon:not(:first-child):not(:last-child), +.input-group-btn:not(:first-child):not(:last-child), +.input-group .form-control:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.input-group-addon, +.input-group-btn { + width: 1%; + white-space: nowrap; + vertical-align: middle; +} + +.input-group-addon { + padding: 6px 12px; + font-size: 14px; + font-weight: normal; + line-height: 1; + color: #555555; + text-align: center; + background-color: #eeeeee; + border: 1px solid #cccccc; + border-radius: 4px; +} + +.input-group-addon.input-sm { + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; +} + +.input-group-addon.input-lg { + padding: 10px 16px; + font-size: 18px; + border-radius: 6px; +} + +.input-group-addon input[type="radio"], +.input-group-addon input[type="checkbox"] { + margin-top: 0; +} + +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group-addon:first-child { + border-right: 0; +} + +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.input-group-addon:last-child { + border-left: 0; +} + +.input-group-btn { + position: relative; + white-space: nowrap; +} + +.input-group-btn:first-child > .btn { + margin-right: -1px; +} + +.input-group-btn:last-child > .btn { + margin-left: -1px; +} + +.input-group-btn > .btn { + position: relative; +} + +.input-group-btn > .btn + .btn { + margin-left: -4px; +} + +.input-group-btn > .btn:hover, +.input-group-btn > .btn:active { + z-index: 2; +} + +.nav { + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav > li { + position: relative; + display: block; +} + +.nav > li > a { + position: relative; + display: block; + padding: 10px 15px; +} + +.nav > li > a:hover, +.nav > li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.nav > li.disabled > a { + color: #999999; +} + +.nav > li.disabled > a:hover, +.nav > li.disabled > a:focus { + color: #999999; + text-decoration: none; + cursor: not-allowed; + background-color: transparent; +} + +.nav .open > a, +.nav .open > a:hover, +.nav .open > a:focus { + background-color: #eeeeee; + border-color: #428bca; +} + +.nav .nav-divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.nav > li > a > img { + max-width: none; +} + +.nav-tabs { + border-bottom: 1px solid #dddddd; +} + +.nav-tabs > li { + float: left; + margin-bottom: -1px; +} + +.nav-tabs > li > a { + margin-right: 2px; + line-height: 1.428571429; + border: 1px solid transparent; + border-radius: 4px 4px 0 0; +} + +.nav-tabs > li > a:hover { + border-color: #eeeeee #eeeeee #dddddd; +} + +.nav-tabs > li.active > a, +.nav-tabs > li.active > a:hover, +.nav-tabs > li.active > a:focus { + color: #555555; + cursor: default; + background-color: #ffffff; + border: 1px solid #dddddd; + border-bottom-color: transparent; +} + +.nav-tabs.nav-justified { + width: 100%; + border-bottom: 0; +} + +.nav-tabs.nav-justified > li { + float: none; +} + +.nav-tabs.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-tabs.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-tabs.nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs.nav-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs.nav-justified > .active > a, +.nav-tabs.nav-justified > .active > a:hover, +.nav-tabs.nav-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs.nav-justified > .active > a, + .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs.nav-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.nav-pills > li { + float: left; +} + +.nav-pills > li > a { + border-radius: 4px; +} + +.nav-pills > li + li { + margin-left: 2px; +} + +.nav-pills > li.active > a, +.nav-pills > li.active > a:hover, +.nav-pills > li.active > a:focus { + color: #ffffff; + background-color: #428bca; +} + +.nav-stacked > li { + float: none; +} + +.nav-stacked > li + li { + margin-top: 2px; + margin-left: 0; +} + +.nav-justified { + width: 100%; +} + +.nav-justified > li { + float: none; +} + +.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs-justified { + border-bottom: 0; +} + +.nav-tabs-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs-justified > .active > a, +.nav-tabs-justified > .active > a:hover, +.nav-tabs-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs-justified > .active > a, + .nav-tabs-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.tab-content > .tab-pane { + display: none; +} + +.tab-content > .active { + display: block; +} + +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar { + position: relative; + min-height: 50px; + margin-bottom: 20px; + border: 1px solid transparent; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar { + border-radius: 4px; + } +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar-header { + float: left; + } +} + +.navbar-collapse { + max-height: 340px; + padding-right: 15px; + padding-left: 15px; + overflow-x: visible; + border-top: 1px solid transparent; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); + -webkit-overflow-scrolling: touch; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse.in { + overflow-y: auto; +} + +@media (min-width: 768px) { + .navbar-collapse { + width: auto; + border-top: 0; + box-shadow: none; + } + .navbar-collapse.collapse { + display: block !important; + height: auto !important; + padding-bottom: 0; + overflow: visible !important; + } + .navbar-collapse.in { + overflow-y: visible; + } + .navbar-fixed-top .navbar-collapse, + .navbar-static-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + padding-right: 0; + padding-left: 0; + } +} + +.container > .navbar-header, +.container > .navbar-collapse { + margin-right: -15px; + margin-left: -15px; +} + +@media (min-width: 768px) { + .container > .navbar-header, + .container > .navbar-collapse { + margin-right: 0; + margin-left: 0; + } +} + +.navbar-static-top { + z-index: 1000; + border-width: 0 0 1px; +} + +@media (min-width: 768px) { + .navbar-static-top { + border-radius: 0; + } +} + +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; +} + +@media (min-width: 768px) { + .navbar-fixed-top, + .navbar-fixed-bottom { + border-radius: 0; + } +} + +.navbar-fixed-top { + top: 0; + border-width: 0 0 1px; +} + +.navbar-fixed-bottom { + bottom: 0; + margin-bottom: 0; + border-width: 1px 0 0; +} + +.navbar-brand { + float: left; + padding: 15px 15px; + font-size: 18px; + line-height: 20px; +} + +.navbar-brand:hover, +.navbar-brand:focus { + text-decoration: none; +} + +@media (min-width: 768px) { + .navbar > .container .navbar-brand { + margin-left: -15px; + } +} + +.navbar-toggle { + position: relative; + float: right; + padding: 9px 10px; + margin-top: 8px; + margin-right: 15px; + margin-bottom: 8px; + background-color: transparent; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; +} + +.navbar-toggle .icon-bar { + display: block; + width: 22px; + height: 2px; + border-radius: 1px; +} + +.navbar-toggle .icon-bar + .icon-bar { + margin-top: 4px; +} + +@media (min-width: 768px) { + .navbar-toggle { + display: none; + } +} + +.navbar-nav { + margin: 7.5px -15px; +} + +.navbar-nav > li > a { + padding-top: 10px; + padding-bottom: 10px; + line-height: 20px; +} + +@media (max-width: 767px) { + .navbar-nav .open .dropdown-menu { + position: static; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + box-shadow: none; + } + .navbar-nav .open .dropdown-menu > li > a, + .navbar-nav .open .dropdown-menu .dropdown-header { + padding: 5px 15px 5px 25px; + } + .navbar-nav .open .dropdown-menu > li > a { + line-height: 20px; + } + .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-nav .open .dropdown-menu > li > a:focus { + background-image: none; + } +} + +@media (min-width: 768px) { + .navbar-nav { + float: left; + margin: 0; + } + .navbar-nav > li { + float: left; + } + .navbar-nav > li > a { + padding-top: 15px; + padding-bottom: 15px; + } + .navbar-nav.navbar-right:last-child { + margin-right: -15px; + } +} + +@media (min-width: 768px) { + .navbar-left { + float: left !important; + } + .navbar-right { + float: right !important; + } +} + +.navbar-form { + padding: 10px 15px; + margin-top: 8px; + margin-right: -15px; + margin-bottom: 8px; + margin-left: -15px; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); +} + +@media (min-width: 768px) { + .navbar-form .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .form-control { + display: inline-block; + } + .navbar-form select.form-control { + width: auto; + } + .navbar-form .radio, + .navbar-form .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .navbar-form .radio input[type="radio"], + .navbar-form .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +@media (max-width: 767px) { + .navbar-form .form-group { + margin-bottom: 5px; + } +} + +@media (min-width: 768px) { + .navbar-form { + width: auto; + padding-top: 0; + padding-bottom: 0; + margin-right: 0; + margin-left: 0; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .navbar-form.navbar-right:last-child { + margin-right: -15px; + } +} + +.navbar-nav > li > .dropdown-menu { + margin-top: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.navbar-nav.pull-right > li > .dropdown-menu, +.navbar-nav > li > .dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.navbar-btn { + margin-top: 8px; + margin-bottom: 8px; +} + +.navbar-btn.btn-sm { + margin-top: 10px; + margin-bottom: 10px; +} + +.navbar-btn.btn-xs { + margin-top: 14px; + margin-bottom: 14px; +} + +.navbar-text { + margin-top: 15px; + margin-bottom: 15px; +} + +@media (min-width: 768px) { + .navbar-text { + float: left; + margin-right: 15px; + margin-left: 15px; + } + .navbar-text.navbar-right:last-child { + margin-right: 0; + } +} + +.navbar-default { + background-color: #f8f8f8; + border-color: #e7e7e7; +} + +.navbar-default .navbar-brand { + color: #777777; +} + +.navbar-default .navbar-brand:hover, +.navbar-default .navbar-brand:focus { + color: #5e5e5e; + background-color: transparent; +} + +.navbar-default .navbar-text { + color: #777777; +} + +.navbar-default .navbar-nav > li > a { + color: #777777; +} + +.navbar-default .navbar-nav > li > a:hover, +.navbar-default .navbar-nav > li > a:focus { + color: #333333; + background-color: transparent; +} + +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .disabled > a, +.navbar-default .navbar-nav > .disabled > a:hover, +.navbar-default .navbar-nav > .disabled > a:focus { + color: #cccccc; + background-color: transparent; +} + +.navbar-default .navbar-toggle { + border-color: #dddddd; +} + +.navbar-default .navbar-toggle:hover, +.navbar-default .navbar-toggle:focus { + background-color: #dddddd; +} + +.navbar-default .navbar-toggle .icon-bar { + background-color: #cccccc; +} + +.navbar-default .navbar-collapse, +.navbar-default .navbar-form { + border-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .open > a, +.navbar-default .navbar-nav > .open > a:hover, +.navbar-default .navbar-nav > .open > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a { + color: #777777; + } + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + color: #333333; + background-color: transparent; + } + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #555555; + background-color: #e7e7e7; + } + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #cccccc; + background-color: transparent; + } +} + +.navbar-default .navbar-link { + color: #777777; +} + +.navbar-default .navbar-link:hover { + color: #333333; +} + +.navbar-inverse { + background-color: #222222; + border-color: #080808; +} + +.navbar-inverse .navbar-brand { + color: #999999; +} + +.navbar-inverse .navbar-brand:hover, +.navbar-inverse .navbar-brand:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-text { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a:hover, +.navbar-inverse .navbar-nav > li > a:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-nav > .active > a, +.navbar-inverse .navbar-nav > .active > a:hover, +.navbar-inverse .navbar-nav > .active > a:focus { + color: #ffffff; + background-color: #080808; +} + +.navbar-inverse .navbar-nav > .disabled > a, +.navbar-inverse .navbar-nav > .disabled > a:hover, +.navbar-inverse .navbar-nav > .disabled > a:focus { + color: #444444; + background-color: transparent; +} + +.navbar-inverse .navbar-toggle { + border-color: #333333; +} + +.navbar-inverse .navbar-toggle:hover, +.navbar-inverse .navbar-toggle:focus { + background-color: #333333; +} + +.navbar-inverse .navbar-toggle .icon-bar { + background-color: #ffffff; +} + +.navbar-inverse .navbar-collapse, +.navbar-inverse .navbar-form { + border-color: #101010; +} + +.navbar-inverse .navbar-nav > .open > a, +.navbar-inverse .navbar-nav > .open > a:hover, +.navbar-inverse .navbar-nav > .open > a:focus { + color: #ffffff; + background-color: #080808; +} + +@media (max-width: 767px) { + .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { + border-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu .divider { + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { + color: #999999; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + color: #ffffff; + background-color: transparent; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #ffffff; + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #444444; + background-color: transparent; + } +} + +.navbar-inverse .navbar-link { + color: #999999; +} + +.navbar-inverse .navbar-link:hover { + color: #ffffff; +} + +.breadcrumb { + padding: 8px 15px; + margin-bottom: 20px; + list-style: none; + background-color: #f5f5f5; + border-radius: 4px; +} + +.breadcrumb > li { + display: inline-block; +} + +.breadcrumb > li + li:before { + padding: 0 5px; + color: #cccccc; + content: "/\00a0"; +} + +.breadcrumb > .active { + color: #999999; +} + +.pagination { + display: inline-block; + padding-left: 0; + margin: 20px 0; + border-radius: 4px; +} + +.pagination > li { + display: inline; +} + +.pagination > li > a, +.pagination > li > span { + position: relative; + float: left; + padding: 6px 12px; + margin-left: -1px; + line-height: 1.428571429; + text-decoration: none; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.pagination > li:first-child > a, +.pagination > li:first-child > span { + margin-left: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} + +.pagination > li:last-child > a, +.pagination > li:last-child > span { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} + +.pagination > li > a:hover, +.pagination > li > span:hover, +.pagination > li > a:focus, +.pagination > li > span:focus { + background-color: #eeeeee; +} + +.pagination > .active > a, +.pagination > .active > span, +.pagination > .active > a:hover, +.pagination > .active > span:hover, +.pagination > .active > a:focus, +.pagination > .active > span:focus { + z-index: 2; + color: #ffffff; + cursor: default; + background-color: #428bca; + border-color: #428bca; +} + +.pagination > .disabled > span, +.pagination > .disabled > span:hover, +.pagination > .disabled > span:focus, +.pagination > .disabled > a, +.pagination > .disabled > a:hover, +.pagination > .disabled > a:focus { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; + border-color: #dddddd; +} + +.pagination-lg > li > a, +.pagination-lg > li > span { + padding: 10px 16px; + font-size: 18px; +} + +.pagination-lg > li:first-child > a, +.pagination-lg > li:first-child > span { + border-bottom-left-radius: 6px; + border-top-left-radius: 6px; +} + +.pagination-lg > li:last-child > a, +.pagination-lg > li:last-child > span { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; +} + +.pagination-sm > li > a, +.pagination-sm > li > span { + padding: 5px 10px; + font-size: 12px; +} + +.pagination-sm > li:first-child > a, +.pagination-sm > li:first-child > span { + border-bottom-left-radius: 3px; + border-top-left-radius: 3px; +} + +.pagination-sm > li:last-child > a, +.pagination-sm > li:last-child > span { + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} + +.pager { + padding-left: 0; + margin: 20px 0; + text-align: center; + list-style: none; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager li { + display: inline; +} + +.pager li > a, +.pager li > span { + display: inline-block; + padding: 5px 14px; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 15px; +} + +.pager li > a:hover, +.pager li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.pager .next > a, +.pager .next > span { + float: right; +} + +.pager .previous > a, +.pager .previous > span { + float: left; +} + +.pager .disabled > a, +.pager .disabled > a:hover, +.pager .disabled > a:focus, +.pager .disabled > span { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; +} + +.label { + display: inline; + padding: .2em .6em .3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25em; +} + +.label[href]:hover, +.label[href]:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +.label:empty { + display: none; +} + +.btn .label { + position: relative; + top: -1px; +} + +.label-default { + background-color: #999999; +} + +.label-default[href]:hover, +.label-default[href]:focus { + background-color: #808080; +} + +.label-primary { + background-color: #428bca; +} + +.label-primary[href]:hover, +.label-primary[href]:focus { + background-color: #3071a9; +} + +.label-success { + background-color: #5cb85c; +} + +.label-success[href]:hover, +.label-success[href]:focus { + background-color: #449d44; +} + +.label-info { + background-color: #5bc0de; +} + +.label-info[href]:hover, +.label-info[href]:focus { + background-color: #31b0d5; +} + +.label-warning { + background-color: #f0ad4e; +} + +.label-warning[href]:hover, +.label-warning[href]:focus { + background-color: #ec971f; +} + +.label-minor { + background-color: #fad664; +} +.label-minor[href]:hover, +.label-minor[href]:focus { + background-color: #f8c933; +} + +.label-danger { + background-color: #d9534f; +} + +.label-danger[href]:hover, +.label-danger[href]:focus { + background-color: #c9302c; +} + +.badge { + display: inline-block; + min-width: 10px; + padding: 3px 7px; + font-size: 12px; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + background-color: #999999; + border-radius: 10px; +} + +.badge:empty { + display: none; +} + +.btn .badge { + position: relative; + top: -1px; +} + +a.badge:hover, +a.badge:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +a.list-group-item.active > .badge, +.nav-pills > .active > a > .badge { + color: #428bca; + background-color: #ffffff; +} + +.nav-pills > li > a > .badge { + margin-left: 3px; +} + +/*.jumbotron { + padding: 30px; + margin-bottom: 30px; + font-size: 21px; + font-weight: 200; + line-height: 2.1428571435; + color: inherit; + background-color: #eeeeee; +} + +.jumbotron h1, +.jumbotron .h1 { + line-height: 1; + color: inherit; +} + +.jumbotron p { + line-height: 1.4; +} + +.container .jumbotron { + border-radius: 6px; +} + +.jumbotron .container { + max-width: 100%; +} + +@media screen and (min-width: 768px) { + .jumbotron { + padding-top: 48px; + padding-bottom: 48px; + } + .container .jumbotron { + padding-right: 60px; + padding-left: 60px; + } + .jumbotron h1, + .jumbotron .h1 { + font-size: 63px; + } +}*/ + +.thumbnail { + display: block; + padding: 4px; + margin-bottom: 20px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.thumbnail > img, +.thumbnail a > img { + display: block; + height: auto; + max-width: 100%; + margin-right: auto; + margin-left: auto; +} + +a.thumbnail:hover, +a.thumbnail:focus, +a.thumbnail.active { + border-color: #428bca; +} + +.thumbnail .caption { + padding: 9px; + color: #333333; +} + +.alert { + padding: 15px; + margin-bottom: 20px; + border: 1px solid transparent; + border-radius: 4px; +} + +.alert h4 { + margin-top: 0; + color: inherit; +} + +.alert .alert-link { + font-weight: bold; +} + +.alert > p, +.alert > ul { + margin-bottom: 0; +} + +.alert > p + p { + margin-top: 5px; +} + +.alert-dismissable { + padding-right: 35px; +} + +.alert-dismissable .close { + position: relative; + top: -2px; + right: -21px; + color: inherit; +} + +.alert-success { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.alert-success hr { + border-top-color: #c9e2b3; +} + +.alert-success .alert-link { + color: #2b542c; +} + +.alert-info { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.alert-info hr { + border-top-color: #a6e1ec; +} + +.alert-info .alert-link { + color: #245269; +} + +.alert-warning { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.alert-warning hr { + border-top-color: #f7e1b5; +} + +.alert-warning .alert-link { + color: #66512c; +} + +.alert-danger { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.alert-danger hr { + border-top-color: #e4b9c0; +} + +.alert-danger .alert-link { + color: #843534; +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +.progress { + height: 20px; + margin-bottom: 20px; + overflow: hidden; + background-color: #f5f5f5; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.progress-bar { + float: left; + width: 0; + height: 100%; + font-size: 12px; + line-height: 20px; + color: #ffffff; + text-align: center; + background-color: #428bca; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -webkit-transition: width 0.6s ease; + transition: width 0.6s ease; +} + +.progress-striped .progress-bar { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-size: 40px 40px; +} + +.progress.active .progress-bar { + -webkit-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} + +.progress-bar-success { + background-color: #5cb85c; +} + +.progress-striped .progress-bar-success { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-info { + background-color: #5bc0de; +} + +.progress-striped .progress-bar-info { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-warning { + background-color: #f0ad4e; +} + +.progress-striped .progress-bar-warning { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-danger { + background-color: #d9534f; +} + +.progress-striped .progress-bar-danger { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.media, +.media-body { + overflow: hidden; + zoom: 1; +} + +.media, +.media .media { + margin-top: 15px; +} + +.media:first-child { + margin-top: 0; +} + +.media-object { + display: block; +} + +.media-heading { + margin: 0 0 5px; +} + +.media > .pull-left { + margin-right: 10px; +} + +.media > .pull-right { + margin-left: 10px; +} + +.media-list { + padding-left: 0; + list-style: none; +} + +.list-group { + padding-left: 0; + margin-bottom: 20px; +} + +.list-group-item { + position: relative; + display: block; + padding: 10px 15px; + margin-bottom: -1px; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.list-group-item:first-child { + border-top-right-radius: 4px; + border-top-left-radius: 4px; +} + +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} + +.list-group-item > .badge { + float: right; +} + +.list-group-item > .badge + .badge { + margin-right: 5px; +} + +a.list-group-item { + color: #555555; +} + +a.list-group-item .list-group-item-heading { + color: #333333; +} + +a.list-group-item:hover, +a.list-group-item:focus { + text-decoration: none; + background-color: #f5f5f5; +} + +a.list-group-item.active, +a.list-group-item.active:hover, +a.list-group-item.active:focus { + z-index: 2; + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +a.list-group-item.active .list-group-item-heading, +a.list-group-item.active:hover .list-group-item-heading, +a.list-group-item.active:focus .list-group-item-heading { + color: inherit; +} + +a.list-group-item.active .list-group-item-text, +a.list-group-item.active:hover .list-group-item-text, +a.list-group-item.active:focus .list-group-item-text { + color: #e1edf7; +} + +.list-group-item-heading { + margin-top: 0; + margin-bottom: 5px; +} + +.list-group-item-text { + margin-bottom: 0; + line-height: 1.3; +} + +.panel { + margin-bottom: 20px; + background-color: #ffffff; + border: 1px solid transparent; + border-radius: 4px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.panel-body { + padding: 15px; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel > .list-group { + margin-bottom: 0; +} + +.panel > .list-group .list-group-item { + border-width: 1px 0; +} + +.panel > .list-group .list-group-item:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.panel > .list-group .list-group-item:last-child { + border-bottom: 0; +} + +.panel-heading + .list-group .list-group-item:first-child { + border-top-width: 0; +} + +.panel > .table, +.panel > .table-responsive > .table { + margin-bottom: 0; +} + +.panel > .panel-body + .table, +.panel > .panel-body + .table-responsive { + border-top: 1px solid #dddddd; +} + +.panel > .table > tbody:first-child th, +.panel > .table > tbody:first-child td { + border-top: 0; +} + +.panel > .table-bordered, +.panel > .table-responsive > .table-bordered { + border: 0; +} + +.panel > .table-bordered > thead > tr > th:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, +.panel > .table-bordered > tbody > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, +.panel > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-bordered > thead > tr > td:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, +.panel > .table-bordered > tbody > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, +.panel > .table-bordered > tfoot > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; +} + +.panel > .table-bordered > thead > tr > th:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, +.panel > .table-bordered > tbody > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, +.panel > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-bordered > thead > tr > td:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, +.panel > .table-bordered > tbody > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, +.panel > .table-bordered > tfoot > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; +} + +.panel > .table-bordered > thead > tr:last-child > th, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > th, +.panel > .table-bordered > tbody > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, +.panel > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-bordered > thead > tr:last-child > td, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > td, +.panel > .table-bordered > tbody > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, +.panel > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; +} + +.panel > .table-responsive { + margin-bottom: 0; + border: 0; +} + +.panel-heading { + padding: 10px 15px; + border-bottom: 1px solid transparent; + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} + +.panel-heading > .dropdown .dropdown-toggle { + color: inherit; +} + +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: 16px; + color: inherit; +} + +.panel-title > a { + color: inherit; +} + +.panel-footer { + padding: 10px 15px; + background-color: #f5f5f5; + border-top: 1px solid #dddddd; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} + +.panel-group .panel { + margin-bottom: 0; + overflow: hidden; + border-radius: 4px; +} + +.panel-group .panel + .panel { + margin-top: 5px; +} + +.panel-group .panel-heading { + border-bottom: 0; +} + +.panel-group .panel-heading + .panel-collapse .panel-body { + border-top: 1px solid #dddddd; +} + +.panel-group .panel-footer { + border-top: 0; +} + +.panel-group .panel-footer + .panel-collapse .panel-body { + border-bottom: 1px solid #dddddd; +} + +.panel-default { + border-color: #dddddd; +} + +.panel-default > .panel-heading { + color: #333333; + background-color: #f5f5f5; + border-color: #dddddd; +} + +.panel-default > .panel-heading + .panel-collapse .panel-body { + border-top-color: #dddddd; +} + +.panel-default > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #dddddd; +} + +.panel-primary { + border-color: #428bca; +} + +.panel-primary > .panel-heading { + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +.panel-primary > .panel-heading + .panel-collapse .panel-body { + border-top-color: #428bca; +} + +.panel-primary > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #428bca; +} + +.panel-success { + border-color: #d6e9c6; +} + +.panel-success > .panel-heading { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.panel-success > .panel-heading + .panel-collapse .panel-body { + border-top-color: #d6e9c6; +} + +.panel-success > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #d6e9c6; +} + +.panel-warning { + border-color: #faebcc; +} + +.panel-warning > .panel-heading { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.panel-warning > .panel-heading + .panel-collapse .panel-body { + border-top-color: #faebcc; +} + +.panel-warning > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #faebcc; +} + +.panel-danger { + border-color: #ebccd1; +} + +.panel-danger > .panel-heading { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.panel-danger > .panel-heading + .panel-collapse .panel-body { + border-top-color: #ebccd1; +} + +.panel-danger > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #ebccd1; +} + +.panel-info { + border-color: #bce8f1; +} + +.panel-info > .panel-heading { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.panel-info > .panel-heading + .panel-collapse .panel-body { + border-top-color: #bce8f1; +} + +.panel-info > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #bce8f1; +} + +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e3e3e3; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, 0.15); +} + +.well-lg { + padding: 24px; + border-radius: 6px; +} + +.well-sm { + padding: 9px; + border-radius: 3px; +} + +.close { + float: right; + font-size: 21px; + font-weight: bold; + line-height: 1; + color: #000000; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} + +.close:hover, +.close:focus { + color: #000000; + text-decoration: none; + cursor: pointer; + opacity: 0.5; + filter: alpha(opacity=50); +} + +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} + +.modal-open { + overflow: hidden; +} + +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + display: none; + overflow: auto; + overflow-y: scroll; +} + +.modal.fade .modal-dialog { + -webkit-transform: translate(0, -25%); + -ms-transform: translate(0, -25%); + transform: translate(0, -25%); + -webkit-transition: -webkit-transform 0.3s ease-out; + -moz-transition: -moz-transform 0.3s ease-out; + -o-transition: -o-transform 0.3s ease-out; + transition: transform 0.3s ease-out; +} + +.modal.in .modal-dialog { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); +} + +.modal-dialog { + position: relative; + z-index: 1050; + width: auto; + margin: 10px; +} + +.modal-content { + position: relative; + background-color: #ffffff; + border: 1px solid #999999; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + outline: none; + -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + background-clip: padding-box; +} + +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1030; + background-color: #000000; +} + +.modal-backdrop.fade { + opacity: 0; + filter: alpha(opacity=0); +} + +.modal-backdrop.in { + opacity: 0.5; + filter: alpha(opacity=50); +} + +.modal-header { + min-height: 16.428571429px; + padding: 15px; + border-bottom: 1px solid #e5e5e5; +} + +.modal-header .close { + margin-top: -2px; +} + +.modal-title { + margin: 0; + line-height: 1.428571429; +} + +.modal-body { + position: relative; + padding: 20px; +} + +.modal-footer { + padding: 19px 20px 20px; + margin-top: 15px; + text-align: right; + border-top: 1px solid #e5e5e5; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer .btn + .btn { + margin-bottom: 0; + margin-left: 5px; +} + +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} + +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} + +@media screen and (min-width: 768px) { + .modal-dialog { + width: 600px; + margin: 30px auto; + } + .modal-content { + -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + } +} + +.tooltip { + position: absolute; + z-index: 1030; + display: block; + font-size: 12px; + line-height: 1.4; + opacity: 0; + filter: alpha(opacity=0); + visibility: visible; +} + +.tooltip.in { + opacity: 0.9; + filter: alpha(opacity=90); +} + +.tooltip.top { + padding: 5px 0; + margin-top: -3px; +} + +.tooltip.right { + padding: 0 5px; + margin-left: 3px; +} + +.tooltip.bottom { + padding: 5px 0; + margin-top: 3px; +} + +.tooltip.left { + padding: 0 5px; + margin-left: -3px; +} + +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: #ffffff; + text-align: center; + text-decoration: none; + background-color: #000000; + border-radius: 4px; +} + +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-left .tooltip-arrow { + bottom: 0; + left: 5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-right .tooltip-arrow { + right: 5px; + bottom: 0; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-right-color: #000000; + border-width: 5px 5px 5px 0; +} + +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-left-color: #000000; + border-width: 5px 0 5px 5px; +} + +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-left .tooltip-arrow { + top: 0; + left: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-right .tooltip-arrow { + top: 0; + right: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1010; + display: none; + max-width: 276px; + padding: 1px; + text-align: left; + white-space: normal; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + background-clip: padding-box; +} + +.popover.top { + margin-top: -10px; +} + +.popover.right { + margin-left: 10px; +} + +.popover.bottom { + margin-top: 10px; +} + +.popover.left { + margin-left: -10px; +} + +.popover-title { + padding: 8px 14px; + margin: 0; + font-size: 14px; + font-weight: normal; + line-height: 18px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-radius: 5px 5px 0 0; +} + +.popover-content { + padding: 9px 14px; +} + +.popover .arrow, +.popover .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.popover .arrow { + border-width: 11px; +} + +.popover .arrow:after { + border-width: 10px; + content: ""; +} + +.popover.top .arrow { + bottom: -11px; + left: 50%; + margin-left: -11px; + border-top-color: #999999; + border-top-color: rgba(0, 0, 0, 0.25); + border-bottom-width: 0; +} + +.popover.top .arrow:after { + bottom: 1px; + margin-left: -10px; + border-top-color: #ffffff; + border-bottom-width: 0; + content: " "; +} + +.popover.right .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-right-color: #999999; + border-right-color: rgba(0, 0, 0, 0.25); + border-left-width: 0; +} + +.popover.right .arrow:after { + bottom: -10px; + left: 1px; + border-right-color: #ffffff; + border-left-width: 0; + content: " "; +} + +.popover.bottom .arrow { + top: -11px; + left: 50%; + margin-left: -11px; + border-bottom-color: #999999; + border-bottom-color: rgba(0, 0, 0, 0.25); + border-top-width: 0; +} + +.popover.bottom .arrow:after { + top: 1px; + margin-left: -10px; + border-bottom-color: #ffffff; + border-top-width: 0; + content: " "; +} + +.popover.left .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-left-color: #999999; + border-left-color: rgba(0, 0, 0, 0.25); + border-right-width: 0; +} + +.popover.left .arrow:after { + right: 1px; + bottom: -10px; + border-left-color: #ffffff; + border-right-width: 0; + content: " "; +} + +.carousel { + position: relative; +} + +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} + +.carousel-inner > .item { + position: relative; + display: none; + -webkit-transition: 0.6s ease-in-out left; + transition: 0.6s ease-in-out left; +} + +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + display: block; + height: auto; + max-width: 100%; + line-height: 1; +} + +.carousel-inner > .active, +.carousel-inner > .next, +.carousel-inner > .prev { + display: block; +} + +.carousel-inner > .active { + left: 0; +} + +.carousel-inner > .next, +.carousel-inner > .prev { + position: absolute; + top: 0; + width: 100%; +} + +.carousel-inner > .next { + left: 100%; +} + +.carousel-inner > .prev { + left: -100%; +} + +.carousel-inner > .next.left, +.carousel-inner > .prev.right { + left: 0; +} + +.carousel-inner > .active.left { + left: -100%; +} + +.carousel-inner > .active.right { + left: 100%; +} + +.carousel-control { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 15%; + font-size: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); + opacity: 0.5; + filter: alpha(opacity=50); +} + +.carousel-control.left { + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0), color-stop(rgba(0, 0, 0, 0.0001) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); +} + +.carousel-control.right { + right: 0; + left: auto; + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0), color-stop(rgba(0, 0, 0, 0.5) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); +} + +.carousel-control:hover, +.carousel-control:focus { + color: #ffffff; + text-decoration: none; + outline: none; + opacity: 0.9; + filter: alpha(opacity=90); +} + +.carousel-control .icon-prev, +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-left, +.carousel-control .glyphicon-chevron-right { + position: absolute; + top: 50%; + z-index: 5; + display: inline-block; +} + +.carousel-control .icon-prev, +.carousel-control .glyphicon-chevron-left { + left: 50%; +} + +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-right { + right: 50%; +} + +.carousel-control .icon-prev, +.carousel-control .icon-next { + width: 20px; + height: 20px; + margin-top: -10px; + margin-left: -10px; + font-family: serif; +} + +.carousel-control .icon-prev:before { + content: '\2039'; +} + +.carousel-control .icon-next:before { + content: '\203a'; +} + +.carousel-indicators { + position: absolute; + bottom: 10px; + left: 50%; + z-index: 15; + width: 60%; + padding-left: 0; + margin-left: -30%; + text-align: center; + list-style: none; +} + +.carousel-indicators li { + display: inline-block; + width: 10px; + height: 10px; + margin: 1px; + text-indent: -999px; + cursor: pointer; + background-color: #000 \9; + background-color: rgba(0, 0, 0, 0); + border: 1px solid #ffffff; + border-radius: 10px; +} + +.carousel-indicators .active { + width: 12px; + height: 12px; + margin: 0; + background-color: #ffffff; +} + +.carousel-caption { + position: absolute; + right: 15%; + bottom: 20px; + left: 15%; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); +} + +.carousel-caption .btn { + text-shadow: none; +} + +@media screen and (min-width: 768px) { + .carousel-control .glyphicons-chevron-left, + .carousel-control .glyphicons-chevron-right, + .carousel-control .icon-prev, + .carousel-control .icon-next { + width: 30px; + height: 30px; + margin-top: -15px; + margin-left: -15px; + font-size: 30px; + } + .carousel-caption { + right: 20%; + left: 20%; + padding-bottom: 30px; + } + .carousel-indicators { + bottom: 20px; + } +} + +.clearfix:before, +.clearfix:after { + display: table; + content: " "; +} + +.clearfix:after { + clear: both; +} + +.center-block { + display: block; + margin-right: auto; + margin-left: auto; +} + +.pull-right { + float: right !important; +} + +.pull-left { + float: left !important; +} + +.hide { + display: none !important; +} + +.show { + display: block !important; +} + +.invisible { + visibility: hidden; +} + +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.hidden { + display: none !important; + visibility: hidden !important; +} + +.affix { + position: fixed; +} + +@-ms-viewport { + width: device-width; +} + +.visible-xs, +tr.visible-xs, +th.visible-xs, +td.visible-xs { + display: none !important; +} + +@media (max-width: 767px) { + .visible-xs { + display: block !important; + } + table.visible-xs { + display: table; + } + tr.visible-xs { + display: table-row !important; + } + th.visible-xs, + td.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-xs.visible-sm { + display: block !important; + } + table.visible-xs.visible-sm { + display: table; + } + tr.visible-xs.visible-sm { + display: table-row !important; + } + th.visible-xs.visible-sm, + td.visible-xs.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-xs.visible-md { + display: block !important; + } + table.visible-xs.visible-md { + display: table; + } + tr.visible-xs.visible-md { + display: table-row !important; + } + th.visible-xs.visible-md, + td.visible-xs.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-xs.visible-lg { + display: block !important; + } + table.visible-xs.visible-lg { + display: table; + } + tr.visible-xs.visible-lg { + display: table-row !important; + } + th.visible-xs.visible-lg, + td.visible-xs.visible-lg { + display: table-cell !important; + } +} + +.visible-sm, +tr.visible-sm, +th.visible-sm, +td.visible-sm { + display: none !important; +} + +@media (max-width: 767px) { + .visible-sm.visible-xs { + display: block !important; + } + table.visible-sm.visible-xs { + display: table; + } + tr.visible-sm.visible-xs { + display: table-row !important; + } + th.visible-sm.visible-xs, + td.visible-sm.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm { + display: block !important; + } + table.visible-sm { + display: table; + } + tr.visible-sm { + display: table-row !important; + } + th.visible-sm, + td.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-sm.visible-md { + display: block !important; + } + table.visible-sm.visible-md { + display: table; + } + tr.visible-sm.visible-md { + display: table-row !important; + } + th.visible-sm.visible-md, + td.visible-sm.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-sm.visible-lg { + display: block !important; + } + table.visible-sm.visible-lg { + display: table; + } + tr.visible-sm.visible-lg { + display: table-row !important; + } + th.visible-sm.visible-lg, + td.visible-sm.visible-lg { + display: table-cell !important; + } +} + +.visible-md, +tr.visible-md, +th.visible-md, +td.visible-md { + display: none !important; +} + +@media (max-width: 767px) { + .visible-md.visible-xs { + display: block !important; + } + table.visible-md.visible-xs { + display: table; + } + tr.visible-md.visible-xs { + display: table-row !important; + } + th.visible-md.visible-xs, + td.visible-md.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-md.visible-sm { + display: block !important; + } + table.visible-md.visible-sm { + display: table; + } + tr.visible-md.visible-sm { + display: table-row !important; + } + th.visible-md.visible-sm, + td.visible-md.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md { + display: block !important; + } + table.visible-md { + display: table; + } + tr.visible-md { + display: table-row !important; + } + th.visible-md, + td.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-md.visible-lg { + display: block !important; + } + table.visible-md.visible-lg { + display: table; + } + tr.visible-md.visible-lg { + display: table-row !important; + } + th.visible-md.visible-lg, + td.visible-md.visible-lg { + display: table-cell !important; + } +} + +.visible-lg, +tr.visible-lg, +th.visible-lg, +td.visible-lg { + display: none !important; +} + +@media (max-width: 767px) { + .visible-lg.visible-xs { + display: block !important; + } + table.visible-lg.visible-xs { + display: table; + } + tr.visible-lg.visible-xs { + display: table-row !important; + } + th.visible-lg.visible-xs, + td.visible-lg.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-lg.visible-sm { + display: block !important; + } + table.visible-lg.visible-sm { + display: table; + } + tr.visible-lg.visible-sm { + display: table-row !important; + } + th.visible-lg.visible-sm, + td.visible-lg.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-lg.visible-md { + display: block !important; + } + table.visible-lg.visible-md { + display: table; + } + tr.visible-lg.visible-md { + display: table-row !important; + } + th.visible-lg.visible-md, + td.visible-lg.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-lg { + display: block !important; + } + table.visible-lg { + display: table; + } + tr.visible-lg { + display: table-row !important; + } + th.visible-lg, + td.visible-lg { + display: table-cell !important; + } +} + +.hidden-xs { + display: block !important; +} + +table.hidden-xs { + display: table; +} + +tr.hidden-xs { + display: table-row !important; +} + +th.hidden-xs, +td.hidden-xs { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-xs, + tr.hidden-xs, + th.hidden-xs, + td.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-xs.hidden-sm, + tr.hidden-xs.hidden-sm, + th.hidden-xs.hidden-sm, + td.hidden-xs.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-xs.hidden-md, + tr.hidden-xs.hidden-md, + th.hidden-xs.hidden-md, + td.hidden-xs.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-xs.hidden-lg, + tr.hidden-xs.hidden-lg, + th.hidden-xs.hidden-lg, + td.hidden-xs.hidden-lg { + display: none !important; + } +} + +.hidden-sm { + display: block !important; +} + +table.hidden-sm { + display: table; +} + +tr.hidden-sm { + display: table-row !important; +} + +th.hidden-sm, +td.hidden-sm { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-sm.hidden-xs, + tr.hidden-sm.hidden-xs, + th.hidden-sm.hidden-xs, + td.hidden-sm.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-sm, + tr.hidden-sm, + th.hidden-sm, + td.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-sm.hidden-md, + tr.hidden-sm.hidden-md, + th.hidden-sm.hidden-md, + td.hidden-sm.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-sm.hidden-lg, + tr.hidden-sm.hidden-lg, + th.hidden-sm.hidden-lg, + td.hidden-sm.hidden-lg { + display: none !important; + } +} + +.hidden-md { + display: block !important; +} + +table.hidden-md { + display: table; +} + +tr.hidden-md { + display: table-row !important; +} + +th.hidden-md, +td.hidden-md { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-md.hidden-xs, + tr.hidden-md.hidden-xs, + th.hidden-md.hidden-xs, + td.hidden-md.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-md.hidden-sm, + tr.hidden-md.hidden-sm, + th.hidden-md.hidden-sm, + td.hidden-md.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-md, + tr.hidden-md, + th.hidden-md, + td.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-md.hidden-lg, + tr.hidden-md.hidden-lg, + th.hidden-md.hidden-lg, + td.hidden-md.hidden-lg { + display: none !important; + } +} + +.hidden-lg { + display: block !important; +} + +table.hidden-lg { + display: table; +} + +tr.hidden-lg { + display: table-row !important; +} + +th.hidden-lg, +td.hidden-lg { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-lg.hidden-xs, + tr.hidden-lg.hidden-xs, + th.hidden-lg.hidden-xs, + td.hidden-lg.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-lg.hidden-sm, + tr.hidden-lg.hidden-sm, + th.hidden-lg.hidden-sm, + td.hidden-lg.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-lg.hidden-md, + tr.hidden-lg.hidden-md, + th.hidden-lg.hidden-md, + td.hidden-lg.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-lg, + tr.hidden-lg, + th.hidden-lg, + td.hidden-lg { + display: none !important; + } +} + +.visible-print, +tr.visible-print, +th.visible-print, +td.visible-print { + display: none !important; +} + +@media print { + .visible-print { + display: block !important; + } + table.visible-print { + display: table; + } + tr.visible-print { + display: table-row !important; + } + th.visible-print, + td.visible-print { + display: table-cell !important; + } + .hidden-print, + tr.hidden-print, + th.hidden-print, + td.hidden-print { + display: none !important; + } +} + + +/*Added by Maria*/ + + /* Main marketing message and sign up button */ + .jumbotron { + margin: 0px 0; + text-align: center; + } + .jumbotron h1 { + font-size: 80px; + line-height: 1; + } + .jumbotron .lead { + font-size: 20px; + line-height: 1.25; + } + .jumbotron .btn { + font-size: 21px; + padding: 14px 24px; + } + + /* Supporting marketing content */ + .marketing { + margin: 60px 0; + } + .marketing p + h4 { + margin-top: 28px; + } \ No newline at end of file diff --git a/dist/ontology/1.0.0/OOPSevaluation/evaluation/bootstrap.min.js b/dist/ontology/1.0.0/OOPSevaluation/evaluation/bootstrap.min.js new file mode 100644 index 0000000..1a6258e --- /dev/null +++ b/dist/ontology/1.0.0/OOPSevaluation/evaluation/bootstrap.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +if("undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]'),b=!0;if(a.length){var c=this.$element.find("input");"radio"===c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?b=!1:a.find(".active").removeClass("active")),b&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}b&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery); \ No newline at end of file diff --git a/dist/ontology/1.0.0/OOPSevaluation/evaluation/jquery-1.11.0.js b/dist/ontology/1.0.0/OOPSevaluation/evaluation/jquery-1.11.0.js new file mode 100644 index 0000000..3c88fa8 --- /dev/null +++ b/dist/ontology/1.0.0/OOPSevaluation/evaluation/jquery-1.11.0.js @@ -0,0 +1,10337 @@ +/*! + * jQuery JavaScript Library v1.11.0 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-23T21:02Z + */ + +(function( global, factory ) { + + if ( typeof module === "object" && typeof module.exports === "object" ) { + // For CommonJS and CommonJS-like environments where a proper window is present, + // execute the factory and get jQuery + // For environments that do not inherently posses a window with a document + // (such as Node.js), expose a jQuery-making factory as module.exports + // This accentuates the need for the creation of a real window + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Can't do this because several apps including ASP.NET trace +// the stack via arguments.caller.callee and Firefox dies if +// you try to trace through "use strict" call chains. (#13335) +// Support: Firefox 18+ +// + +var deletedIds = []; + +var slice = deletedIds.slice; + +var concat = deletedIds.concat; + +var push = deletedIds.push; + +var indexOf = deletedIds.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var trim = "".trim; + +var support = {}; + + + +var + version = "1.11.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }; + +jQuery.fn = jQuery.prototype = { + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // Start with an empty selector + selector: "", + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num != null ? + + // Return a 'clean' array + ( num < 0 ? this[ num + this.length ] : this[ num ] ) : + + // Return just the object + slice.call( this ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + ret.context = this.context; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: deletedIds.sort, + splice: deletedIds.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var src, copyIsArray, copy, name, options, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + isWindow: function( obj ) { + /* jshint eqeqeq: false */ + return obj != null && obj == obj.window; + }, + + isNumeric: function( obj ) { + // parseFloat NaNs numeric-cast false positives (null|true|false|"") + // ...but misinterprets leading-number strings, particularly hex literals ("0x...") + // subtraction forces infinities to NaN + return obj - parseFloat( obj ) >= 0; + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + isPlainObject: function( obj ) { + var key; + + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + try { + // Not own constructor property must be Object + if ( obj.constructor && + !hasOwn.call(obj, "constructor") && + !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + } catch ( e ) { + // IE8,9 Will throw exceptions on certain host objects #9897 + return false; + } + + // Support: IE<9 + // Handle iteration over inherited properties before own properties. + if ( support.ownLast ) { + for ( key in obj ) { + return hasOwn.call( obj, key ); + } + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + for ( key in obj ) {} + + return key === undefined || hasOwn.call( obj, key ); + }, + + type: function( obj ) { + if ( obj == null ) { + return obj + ""; + } + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call(obj) ] || "object" : + typeof obj; + }, + + // Evaluates a script in a global context + // Workarounds based on findings by Jim Driscoll + // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context + globalEval: function( data ) { + if ( data && jQuery.trim( data ) ) { + // We use execScript on Internet Explorer + // We use an anonymous function so that context is window + // rather than jQuery in Firefox + ( window.execScript || function( data ) { + window[ "eval" ].call( window, data ); + } )( data ); + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + // args is for internal usage only + each: function( obj, callback, args ) { + var value, + i = 0, + length = obj.length, + isArray = isArraylike( obj ); + + if ( args ) { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } + } + + return obj; + }, + + // Use native String.trim function wherever possible + trim: trim && !trim.call("\uFEFF\xA0") ? + function( text ) { + return text == null ? + "" : + trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArraylike( Object(arr) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + var len; + + if ( arr ) { + if ( indexOf ) { + return indexOf.call( arr, elem, i ); + } + + len = arr.length; + i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; + + for ( ; i < len; i++ ) { + // Skip accessing in sparse arrays + if ( i in arr && arr[ i ] === elem ) { + return i; + } + } + } + + return -1; + }, + + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + while ( j < len ) { + first[ i++ ] = second[ j++ ]; + } + + // Support: IE<9 + // Workaround casting of .length to NaN on otherwise arraylike objects (e.g., NodeLists) + if ( len !== len ) { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, + i = 0, + length = elems.length, + isArray = isArraylike( elems ), + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var args, proxy, tmp; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + now: function() { + return +( new Date() ); + }, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +}); + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +function isArraylike( obj ) { + var length = obj.length, + type = jQuery.type( obj ); + + if ( type === "function" || jQuery.isWindow( obj ) ) { + return false; + } + + if ( obj.nodeType === 1 && length ) { + return true; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v1.10.16 + * http://sizzlejs.com/ + * + * Copyright 2013 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-13 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + compile, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + -(new Date()), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // General-purpose constants + strundefined = typeof undefined, + MAX_NEGATIVE = 1 << 31, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf if we can't use a native one + indexOf = arr.indexOf || function( elem ) { + var i = 0, + len = this.length; + for ( ; i < len; i++ ) { + if ( this[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + // http://www.w3.org/TR/css3-syntax/#characters + characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", + + // Loosely modeled on CSS identifier characters + // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors + // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = characterEncoding.replace( "w", "w#" ), + + // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + + "*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", + + // Prefer arguments quoted, + // then not containing pseudos/brackets, + // then attribute selectors/non-parenthetical expressions, + // then anything else + // These preferences are here to reduce the number of selectors + // needing tokenize in the PSEUDO preFilter + pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + characterEncoding + ")" ), + "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), + "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + rescape = /'|\\/g, + + // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }; + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var match, elem, m, nodeType, + // QSA vars + i, groups, old, nid, newContext, newSelector; + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + + context = context || document; + results = results || []; + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { + return []; + } + + if ( documentIsHTML && !seed ) { + + // Shortcuts + if ( (match = rquickExpr.exec( selector )) ) { + // Speed-up: Sizzle("#ID") + if ( (m = match[1]) ) { + if ( nodeType === 9 ) { + elem = context.getElementById( m ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document (jQuery #6963) + if ( elem && elem.parentNode ) { + // Handle the case where IE, Opera, and Webkit return items + // by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + } else { + // Context is not a document + if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && + contains( context, elem ) && elem.id === m ) { + results.push( elem ); + return results; + } + } + + // Speed-up: Sizzle("TAG") + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Speed-up: Sizzle(".CLASS") + } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) { + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // QSA path + if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + nid = old = expando; + newContext = context; + newSelector = nodeType === 9 && selector; + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + groups = tokenize( selector ); + + if ( (old = context.getAttribute("id")) ) { + nid = old.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", nid ); + } + nid = "[id='" + nid + "'] "; + + i = groups.length; + while ( i-- ) { + groups[i] = nid + toSelector( groups[i] ); + } + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context; + newSelector = groups.join(","); + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch(qsaError) { + } finally { + if ( !old ) { + context.removeAttribute("id"); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {Function(string, Object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created div and expects a boolean result + */ +function assert( fn ) { + var div = document.createElement("div"); + + try { + return !!fn( div ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( div.parentNode ) { + div.parentNode.removeChild( div ); + } + // release memory in IE + div = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = attrs.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + ( ~b.sourceIndex || MAX_NEGATIVE ) - + ( ~a.sourceIndex || MAX_NEGATIVE ); + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== strundefined && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, + doc = node ? node.ownerDocument || node : preferredDoc, + parent = doc.defaultView; + + // If no document and documentElement is available, return + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Set our document + document = doc; + docElem = doc.documentElement; + + // Support tests + documentIsHTML = !isXML( doc ); + + // Support: IE>8 + // If iframe document is assigned to "document" variable and if iframe has been reloaded, + // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936 + // IE6-8 do not support the defaultView property so parent will be undefined + if ( parent && parent !== parent.top ) { + // IE11 does not have attachEvent, so all must suffer + if ( parent.addEventListener ) { + parent.addEventListener( "unload", function() { + setDocument(); + }, false ); + } else if ( parent.attachEvent ) { + parent.attachEvent( "onunload", function() { + setDocument(); + }); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans) + support.attributes = assert(function( div ) { + div.className = "i"; + return !div.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( div ) { + div.appendChild( doc.createComment("") ); + return !div.getElementsByTagName("*").length; + }); + + // Check if getElementsByClassName can be trusted + support.getElementsByClassName = rnative.test( doc.getElementsByClassName ) && assert(function( div ) { + div.innerHTML = "
    "; + + // Support: Safari<4 + // Catch class over-caching + div.firstChild.className = "i"; + // Support: Opera<10 + // Catch gEBCN failure to find non-leading classes + return div.getElementsByClassName("i").length === 2; + }); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( div ) { + docElem.appendChild( div ).id = expando; + return !doc.getElementsByName || !doc.getElementsByName( expando ).length; + }); + + // ID find and filter + if ( support.getById ) { + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== strundefined && documentIsHTML ) { + var m = context.getElementById( id ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + }; + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + } else { + // Support: IE6/7 + // getElementById is not reliable as a find shortcut + delete Expr.find["ID"]; + + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== strundefined ) { + return context.getElementsByTagName( tag ); + } + } : + function( tag, context ) { + var elem, + tmp = [], + i = 0, + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See http://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + div.innerHTML = ""; + + // Support: IE8, Opera 10-12 + // Nothing should be selected when empty strings follow ^= or $= or *= + if ( div.querySelectorAll("[t^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + }); + + assert(function( div ) { + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = doc.createElement("input"); + input.setAttribute( "type", "hidden" ); + div.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( div.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + div.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( div, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully does not implement inclusive descendent + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === doc ? -1 : + b === doc ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return doc; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch(e) {} + } + + return Sizzle( expr, document, null, [elem] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[5] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] && match[4] !== undefined ) { + match[2] = match[4]; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, outerCache, node, diff, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + // Seek `elem` from a previously-cached index + outerCache = parent[ expando ] || (parent[ expando ] = {}); + cache = outerCache[ type ] || []; + nodeIndex = cache[0] === dirruns && cache[1]; + diff = cache[0] === dirruns && cache[2]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + outerCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + // Use previously-cached element index if available + } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { + diff = cache[1]; + + // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) + } else { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { + // Cache the index of each encountered element + if ( useCache ) { + (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf.call( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +function tokenize( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +} + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + if ( (oldCache = outerCache[ dir ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + outerCache[ dir ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf.call( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context !== document && context; + } + + // Add elements passing elementMatchers directly to results + // Keep `i` a string if there are no elements so `matchedCount` will be "00" below + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // Apply set filters to unmatched elements + matchedCount += i; + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !group ) { + group = tokenize( selector ); + } + i = group.length; + while ( i-- ) { + cached = matcherFromTokens( group[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + } + return cached; +}; + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function select( selector, context, results, seed ) { + var i, tokens, token, type, find, + match = tokenize( selector ); + + if ( !seed ) { + // Try to minimize operations if there is only one group + if ( match.length === 1 ) { + + // Take a shortcut and set the context if the root selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + support.getById && context.nodeType === 9 && documentIsHTML && + Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + } + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + } + + // Compile and execute a filtering function + // Provide `match` to avoid retokenization if we modified the selector above + compile( selector, match )( + seed, + context, + !documentIsHTML, + results, + rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +} + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome<14 +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( div1 ) { + // Should return 1, but returns 4 (following) + return div1.compareDocumentPosition( document.createElement("div") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( div ) { + div.innerHTML = ""; + return div.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( div ) { + div.innerHTML = ""; + div.firstChild.setAttribute( "value", "" ); + return div.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( div ) { + return div.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.pseudos; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + + +var rneedsContext = jQuery.expr.match.needsContext; + +var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); + + + +var risSimple = /^.[^:#\[\.,]*$/; + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + /* jshint -W018 */ + return !!qualifier.call( elem, i, elem ) !== not; + }); + + } + + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + }); + + } + + if ( typeof qualifier === "string" ) { + if ( risSimple.test( qualifier ) ) { + return jQuery.filter( qualifier, elements, not ); + } + + qualifier = jQuery.filter( qualifier, elements ); + } + + return jQuery.grep( elements, function( elem ) { + return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not; + }); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 && elem.nodeType === 1 ? + jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : + jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + })); +}; + +jQuery.fn.extend({ + find: function( selector ) { + var i, + ret = [], + self = this, + len = self.length; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }) ); + } + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + // Needed because $( selector, context ) becomes $( context ).find( selector ) + ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); + ret.selector = this.selector ? this.selector + " " + selector : selector; + return ret; + }, + filter: function( selector ) { + return this.pushStack( winnow(this, selector || [], false) ); + }, + not: function( selector ) { + return this.pushStack( winnow(this, selector || [], true) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +}); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // Use the correct document accordingly with window argument (sandbox) + document = window.document, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, + + init = jQuery.fn.init = function( selector, context ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + + // scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[1], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + // Properties of context are called as methods if possible + if ( jQuery.isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || rootjQuery ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return typeof rootjQuery.ready !== "undefined" ? + rootjQuery.ready( selector ) : + // Execute immediately if ready is not present + selector( jQuery ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.extend({ + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +jQuery.fn.extend({ + has: function( target ) { + var i, + targets = jQuery( target, this ), + len = targets.length; + + return this.filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) { + // Always skip document fragments + if ( cur.nodeType < 11 && (pos ? + pos.index(cur) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector(cur, selectors)) ) { + + matched.push( cur ); + break; + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return jQuery.inArray( this[0], jQuery( elem ) ); + } + + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.unique( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter(selector) + ); + } +}); + +function sibling( cur, dir ) { + do { + cur = cur[ dir ]; + } while ( cur && cur.nodeType !== 1 ); + + return cur; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + if ( this.length > 1 ) { + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + ret = jQuery.unique( ret ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + } + + return this.pushStack( ret ); + }; +}); +var rnotwhite = (/\S+/g); + + + +// String to Object options format cache +var optionsCache = {}; + +// Convert String-formatted options into Object-formatted ones and store in cache +function createOptions( options ) { + var object = optionsCache[ options ] = {}; + jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) { + object[ flag ] = true; + }); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + ( optionsCache[ options ] || createOptions( options ) ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + // Last fire value (for non-forgettable lists) + memory, + // Flag to know if list was already fired + fired, + // End of the loop when firing + firingLength, + // Index of currently firing callback (modified by remove if needed) + firingIndex, + // First callback to fire (used internally by add and fireWith) + firingStart, + // Actual callback list + list = [], + // Stack of fire calls for repeatable lists + stack = !options.once && [], + // Fire callbacks + fire = function( data ) { + memory = options.memory && data; + fired = true; + firingIndex = firingStart || 0; + firingStart = 0; + firingLength = list.length; + firing = true; + for ( ; list && firingIndex < firingLength; firingIndex++ ) { + if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { + memory = false; // To prevent further calls using add + break; + } + } + firing = false; + if ( list ) { + if ( stack ) { + if ( stack.length ) { + fire( stack.shift() ); + } + } else if ( memory ) { + list = []; + } else { + self.disable(); + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + // First, we save the current length + var start = list.length; + (function add( args ) { + jQuery.each( args, function( _, arg ) { + var type = jQuery.type( arg ); + if ( type === "function" ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && type !== "string" ) { + // Inspect recursively + add( arg ); + } + }); + })( arguments ); + // Do we need to add the callbacks to the + // current firing batch? + if ( firing ) { + firingLength = list.length; + // With memory, if we're not firing then + // we should call right away + } else if ( memory ) { + firingStart = start; + fire( memory ); + } + } + return this; + }, + // Remove a callback from the list + remove: function() { + if ( list ) { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + // Handle firing indexes + if ( firing ) { + if ( index <= firingLength ) { + firingLength--; + } + if ( index <= firingIndex ) { + firingIndex--; + } + } + } + }); + } + return this; + }, + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); + }, + // Remove all callbacks from the list + empty: function() { + list = []; + firingLength = 0; + return this; + }, + // Have the list do nothing anymore + disable: function() { + list = stack = memory = undefined; + return this; + }, + // Is it disabled? + disabled: function() { + return !list; + }, + // Lock the list in its current state + lock: function() { + stack = undefined; + if ( !memory ) { + self.disable(); + } + return this; + }, + // Is it locked? + locked: function() { + return !stack; + }, + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( list && ( !fired || stack ) ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + if ( firing ) { + stack.push( args ); + } else { + fire( args ); + } + } + return this; + }, + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +jQuery.extend({ + + Deferred: function( func ) { + var tuples = [ + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], + [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], + [ "notify", "progress", jQuery.Callbacks("memory") ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred(function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[1] ](function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .done( newDefer.resolve ) + .fail( newDefer.reject ) + .progress( newDefer.notify ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); + } + }); + }); + fns = null; + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[1] ] = list.add; + + // Handle state + if ( stateString ) { + list.add(function() { + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] + deferred[ tuple[0] ] = function() { + deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); + return this; + }; + deferred[ tuple[0] + "With" ] = list.fireWith; + }); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( values === progressValues ) { + deferred.notifyWith( contexts, values ); + + } else if ( !(--remaining) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ) + .progress( updateFunc( i, progressContexts, progressValues ) ); + } else { + --remaining; + } + } + } + + // if we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +}); + + +// The deferred used on DOM ready +var readyList; + +jQuery.fn.ready = function( fn ) { + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; +}; + +jQuery.extend({ + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger("ready").off("ready"); + } + } +}); + +/** + * Clean-up method for dom ready events + */ +function detach() { + if ( document.addEventListener ) { + document.removeEventListener( "DOMContentLoaded", completed, false ); + window.removeEventListener( "load", completed, false ); + + } else { + document.detachEvent( "onreadystatechange", completed ); + window.detachEvent( "onload", completed ); + } +} + +/** + * The ready event handler and self cleanup method + */ +function completed() { + // readyState === "complete" is good enough for us to call the dom ready in oldIE + if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { + detach(); + jQuery.ready(); + } +} + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called after the browser event has already occurred. + // we once tried to use readyState "interactive" here, but it caused issues like the one + // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + setTimeout( jQuery.ready ); + + // Standards-based browsers support DOMContentLoaded + } else if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed, false ); + + // If IE event model is used + } else { + // Ensure firing before onload, maybe late but safe also for iframes + document.attachEvent( "onreadystatechange", completed ); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", completed ); + + // If IE and not a frame + // continually check to see if the document is ready + var top = false; + + try { + top = window.frameElement == null && document.documentElement; + } catch(e) {} + + if ( top && top.doScroll ) { + (function doScrollCheck() { + if ( !jQuery.isReady ) { + + try { + // Use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + top.doScroll("left"); + } catch(e) { + return setTimeout( doScrollCheck, 50 ); + } + + // detach all dom ready events + detach(); + + // and execute any waiting functions + jQuery.ready(); + } + })(); + } + } + } + return readyList.promise( obj ); +}; + + +var strundefined = typeof undefined; + + + +// Support: IE<9 +// Iteration over object's inherited properties before its own +var i; +for ( i in jQuery( support ) ) { + break; +} +support.ownLast = i !== "0"; + +// Note: most support tests are defined in their respective modules. +// false until the test is run +support.inlineBlockNeedsLayout = false; + +jQuery(function() { + // We need to execute this one support test ASAP because we need to know + // if body.style.zoom needs to be set. + + var container, div, + body = document.getElementsByTagName("body")[0]; + + if ( !body ) { + // Return for frameset docs that don't have a body + return; + } + + // Setup + container = document.createElement( "div" ); + container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; + + div = document.createElement( "div" ); + body.appendChild( container ).appendChild( div ); + + if ( typeof div.style.zoom !== strundefined ) { + // Support: IE<8 + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + div.style.cssText = "border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1"; + + if ( (support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 )) ) { + // Prevent IE 6 from affecting layout for positioned elements #11048 + // Prevent IE from shrinking the body in IE 7 mode #12869 + // Support: IE<8 + body.style.zoom = 1; + } + } + + body.removeChild( container ); + + // Null elements to avoid leaks in IE + container = div = null; +}); + + + + +(function() { + var div = document.createElement( "div" ); + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +/** + * Determines whether an object can have data + */ +jQuery.acceptData = function( elem ) { + var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ], + nodeType = +elem.nodeType || 1; + + // Do not set data on non-element DOM nodes because it will not be cleared (#8335). + return nodeType !== 1 && nodeType !== 9 ? + false : + + // Nodes accept data unless otherwise specified; rejection can be conditional + !noData || noData !== true && elem.getAttribute("classid") === noData; +}; + + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /([A-Z])/g; + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + + var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + +// checks a cache object for emptiness +function isEmptyDataObject( obj ) { + var name; + for ( name in obj ) { + + // if the public data object is empty, the private is still empty + if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { + continue; + } + if ( name !== "toJSON" ) { + return false; + } + } + + return true; +} + +function internalData( elem, name, data, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var ret, thisCache, + internalKey = jQuery.expando, + + // We have to handle DOM nodes and JS objects differently because IE6-7 + // can't GC object references properly across the DOM-JS boundary + isNode = elem.nodeType, + + // Only DOM nodes need the global jQuery cache; JS object data is + // attached directly to the object so GC can occur automatically + cache = isNode ? jQuery.cache : elem, + + // Only defining an ID for JS objects if its cache already exists allows + // the code to shortcut on the same path as a DOM node with no cache + id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; + + // Avoid doing any more work than we need to when trying to get data on an + // object that has no data at all + if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) { + return; + } + + if ( !id ) { + // Only DOM nodes need a new unique ID for each element since their data + // ends up in the global cache + if ( isNode ) { + id = elem[ internalKey ] = deletedIds.pop() || jQuery.guid++; + } else { + id = internalKey; + } + } + + if ( !cache[ id ] ) { + // Avoid exposing jQuery metadata on plain JS objects when the object + // is serialized using JSON.stringify + cache[ id ] = isNode ? {} : { toJSON: jQuery.noop }; + } + + // An object can be passed to jQuery.data instead of a key/value pair; this gets + // shallow copied over onto the existing cache + if ( typeof name === "object" || typeof name === "function" ) { + if ( pvt ) { + cache[ id ] = jQuery.extend( cache[ id ], name ); + } else { + cache[ id ].data = jQuery.extend( cache[ id ].data, name ); + } + } + + thisCache = cache[ id ]; + + // jQuery data() is stored in a separate object inside the object's internal data + // cache in order to avoid key collisions between internal data and user-defined + // data. + if ( !pvt ) { + if ( !thisCache.data ) { + thisCache.data = {}; + } + + thisCache = thisCache.data; + } + + if ( data !== undefined ) { + thisCache[ jQuery.camelCase( name ) ] = data; + } + + // Check for both converted-to-camel and non-converted data property names + // If a data property was specified + if ( typeof name === "string" ) { + + // First Try to find as-is property data + ret = thisCache[ name ]; + + // Test for null|undefined property data + if ( ret == null ) { + + // Try to find the camelCased property + ret = thisCache[ jQuery.camelCase( name ) ]; + } + } else { + ret = thisCache; + } + + return ret; +} + +function internalRemoveData( elem, name, pvt ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, i, + isNode = elem.nodeType, + + // See jQuery.data for more information + cache = isNode ? jQuery.cache : elem, + id = isNode ? elem[ jQuery.expando ] : jQuery.expando; + + // If there is already no cache entry for this object, there is no + // purpose in continuing + if ( !cache[ id ] ) { + return; + } + + if ( name ) { + + thisCache = pvt ? cache[ id ] : cache[ id ].data; + + if ( thisCache ) { + + // Support array or space separated string names for data keys + if ( !jQuery.isArray( name ) ) { + + // try the string as a key before any manipulation + if ( name in thisCache ) { + name = [ name ]; + } else { + + // split the camel cased version by spaces unless a key with the spaces exists + name = jQuery.camelCase( name ); + if ( name in thisCache ) { + name = [ name ]; + } else { + name = name.split(" "); + } + } + } else { + // If "name" is an array of keys... + // When data is initially created, via ("key", "val") signature, + // keys will be converted to camelCase. + // Since there is no way to tell _how_ a key was added, remove + // both plain key and camelCase key. #12786 + // This will only penalize the array argument path. + name = name.concat( jQuery.map( name, jQuery.camelCase ) ); + } + + i = name.length; + while ( i-- ) { + delete thisCache[ name[i] ]; + } + + // If there is no data left in the cache, we want to continue + // and let the cache object itself get destroyed + if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) { + return; + } + } + } + + // See jQuery.data for more information + if ( !pvt ) { + delete cache[ id ].data; + + // Don't destroy the parent cache unless the internal data object + // had been the only thing left in it + if ( !isEmptyDataObject( cache[ id ] ) ) { + return; + } + } + + // Destroy the cache + if ( isNode ) { + jQuery.cleanData( [ elem ], true ); + + // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) + /* jshint eqeqeq: false */ + } else if ( support.deleteExpando || cache != cache.window ) { + /* jshint eqeqeq: true */ + delete cache[ id ]; + + // When all else fails, null + } else { + cache[ id ] = null; + } +} + +jQuery.extend({ + cache: {}, + + // The following elements (space-suffixed to avoid Object.prototype collisions) + // throw uncatchable exceptions if you attempt to set expando properties + noData: { + "applet ": true, + "embed ": true, + // ...but Flash objects (which have this classid) *can* handle expandos + "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" + }, + + hasData: function( elem ) { + elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; + return !!elem && !isEmptyDataObject( elem ); + }, + + data: function( elem, name, data ) { + return internalData( elem, name, data ); + }, + + removeData: function( elem, name ) { + return internalRemoveData( elem, name ); + }, + + // For internal use only. + _data: function( elem, name, data ) { + return internalData( elem, name, data, true ); + }, + + _removeData: function( elem, name ) { + return internalRemoveData( elem, name, true ); + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var i, name, data, + elem = this[0], + attrs = elem && elem.attributes; + + // Special expections of .data basically thwart jQuery.access, + // so implement the relevant behavior ourselves + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = jQuery.data( elem ); + + if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + name = attrs[i].name; + + if ( name.indexOf("data-") === 0 ) { + name = jQuery.camelCase( name.slice(5) ); + + dataAttr( elem, name, data[ name ] ); + } + } + jQuery._data( elem, "parsedAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + return arguments.length > 1 ? + + // Sets one value + this.each(function() { + jQuery.data( this, key, value ); + }) : + + // Gets one value + // Try to fetch any internally stored data first + elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : undefined; + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + + +jQuery.extend({ + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = jQuery._data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray(data) ) { + queue = jQuery._data( elem, type, jQuery.makeArray(data) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // not intended for public consumption - generates a queueHooks object, or returns the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return jQuery._data( elem, key ) || jQuery._data( elem, key, { + empty: jQuery.Callbacks("once memory").add(function() { + jQuery._removeData( elem, type + "queue" ); + jQuery._removeData( elem, key ); + }) + }); + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[0], type ); + } + + return data === undefined ? + this : + this.each(function() { + var queue = jQuery.queue( this, type, data ); + + // ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = jQuery._data( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +}); +var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var isHidden = function( elem, el ) { + // isHidden might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); + }; + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + length = elems.length, + bulk = key == null; + + // Sets many values + if ( jQuery.type( key ) === "object" ) { + chainable = true; + for ( i in key ) { + jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !jQuery.isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < length; i++ ) { + fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); + } + } + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + length ? fn( elems[0], key ) : emptyGet; +}; +var rcheckableType = (/^(?:checkbox|radio)$/i); + + + +(function() { + var fragment = document.createDocumentFragment(), + div = document.createElement("div"), + input = document.createElement("input"); + + // Setup + div.setAttribute( "className", "t" ); + div.innerHTML = "
    a"; + + // IE strips leading whitespace when .innerHTML is used + support.leadingWhitespace = div.firstChild.nodeType === 3; + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + support.tbody = !div.getElementsByTagName( "tbody" ).length; + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + support.htmlSerialize = !!div.getElementsByTagName( "link" ).length; + + // Makes sure cloning an html5 element does not cause problems + // Where outerHTML is undefined, this still works + support.html5Clone = + document.createElement( "nav" ).cloneNode( true ).outerHTML !== "<:nav>"; + + // Check if a disconnected checkbox will retain its checked + // value of true after appended to the DOM (IE6/7) + input.type = "checkbox"; + input.checked = true; + fragment.appendChild( input ); + support.appendChecked = input.checked; + + // Make sure textarea (and checkbox) defaultValue is properly cloned + // Support: IE6-IE11+ + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // #11217 - WebKit loses check when the name is after the checked attribute + fragment.appendChild( div ); + div.innerHTML = ""; + + // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3 + // old WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE<9 + // Opera does not clone events (and typeof div.attachEvent === undefined). + // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() + support.noCloneEvent = true; + if ( div.attachEvent ) { + div.attachEvent( "onclick", function() { + support.noCloneEvent = false; + }); + + div.cloneNode( true ).click(); + } + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + fragment = div = input = null; +})(); + + +(function() { + var i, eventName, + div = document.createElement( "div" ); + + // Support: IE<9 (lack submit/change bubble), Firefox 23+ (lack focusin event) + for ( i in { submit: true, change: true, focusin: true }) { + eventName = "on" + i; + + if ( !(support[ i + "Bubbles" ] = eventName in window) ) { + // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP) + div.setAttribute( eventName, "t" ); + support[ i + "Bubbles" ] = div.attributes[ eventName ].expando === false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +var rformElems = /^(?:input|select|textarea)$/i, + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|contextmenu)|click/, + rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + var tmp, events, t, handleObjIn, + special, eventHandle, handleObj, + handlers, type, namespaces, origType, + elemData = jQuery._data( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !(events = elemData.events) ) { + events = elemData.events = {}; + } + if ( !(eventHandle = elemData.handle) ) { + eventHandle = elemData.handle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== strundefined && (!e || jQuery.event.triggered !== e.type) ? + jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : + undefined; + }; + // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events + eventHandle.elem = elem; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend({ + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join(".") + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !(handlers = events[ type ]) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener/attachEvent if the special events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + var j, handleObj, tmp, + origCount, t, events, + special, handlers, type, + namespaces, origType, + elemData = jQuery.hasData( elem ) && jQuery._data( elem ); + + if ( !elemData || !(events = elemData.events) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + delete elemData.handle; + + // removeData also checks for emptiness and clears the expando if empty + // so use it instead of delete + jQuery._removeData( elem, "events" ); + } + }, + + trigger: function( event, data, elem, onlyHandlers ) { + var handle, ontype, cur, + bubbleType, special, tmp, i, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; + + cur = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf(".") >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf(":") < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join("."); + event.namespace_re = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === (elem.ownerDocument || document) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { + + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && jQuery.acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) && + jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Can't use an .isFunction() check here because IE6/7 fails that test. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + try { + elem[ type ](); + } catch ( e ) { + // IE<9 dies on focus/blur to hidden element (#1486,#12518) + // only reproducible on winXP IE8 native, not IE9 in IE8 mode + } + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event ); + + var i, ret, handleObj, matched, j, + handlerQueue = [], + args = slice.call( arguments ), + handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) + .apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( (event.result = ret) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var sel, handleObj, matches, i, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + // Black-hole SVG instance trees (#13180) + // Avoid non-left-click bubbling in Firefox (#3861) + if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { + + /* jshint eqeqeq: false */ + for ( ; cur != this; cur = cur.parentNode || this ) { + /* jshint eqeqeq: true */ + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matches[ sel ] === undefined ) { + matches[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) >= 0 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matches[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push({ elem: cur, handlers: matches }); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( delegateCount < handlers.length ) { + handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); + } + + return handlerQueue; + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, copy, + type = event.type, + originalEvent = event, + fixHook = this.fixHooks[ type ]; + + if ( !fixHook ) { + this.fixHooks[ type ] = fixHook = + rmouseEvent.test( type ) ? this.mouseHooks : + rkeyEvent.test( type ) ? this.keyHooks : + {}; + } + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = new jQuery.Event( originalEvent ); + + i = copy.length; + while ( i-- ) { + prop = copy[ i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Support: IE<9 + // Fix target property (#1925) + if ( !event.target ) { + event.target = originalEvent.srcElement || document; + } + + // Support: Chrome 23+, Safari? + // Target should not be a text node (#504, #13143) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // Support: IE<9 + // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) + event.metaKey = !!event.metaKey; + + return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split(" "), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function( event, original ) { + var body, eventDoc, doc, + button = original.button, + fromElement = original.fromElement; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && fromElement ) { + event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + special: { + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + try { + this.focus(); + return false; + } catch ( e ) { + // Support: IE<9 + // If we error on focus to hidden element (#1486, #12518), + // let .trigger() run the handlers + } + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return jQuery.nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Even when returnValue equals to undefined Firefox will still show alert + if ( event.result !== undefined ) { + event.originalEvent.returnValue = event.result; + } + } + } + }, + + simulate: function( type, elem, event, bubble ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true, + originalEvent: {} + } + ); + if ( bubble ) { + jQuery.event.trigger( e, null, elem ); + } else { + jQuery.event.dispatch.call( elem, e ); + } + if ( e.isDefaultPrevented() ) { + event.preventDefault(); + } + } +}; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + var name = "on" + type; + + if ( elem.detachEvent ) { + + // #8545, #7054, preventing memory leaks for custom events in IE6-8 + // detachEvent needed property on element, by name of that event, to properly expose it to GC + if ( typeof elem[ name ] === strundefined ) { + elem[ name ] = null; + } + + elem.detachEvent( name, handle ); + } + }; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !(this instanceof jQuery.Event) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && ( + // Support: IE < 9 + src.returnValue === false || + // Support: Android < 4.0 + src.getPreventDefault && src.getPreventDefault() ) ? + returnTrue : + returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + if ( !e ) { + return; + } + + // If preventDefault exists, run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // Support: IE + // Otherwise set the returnValue property of the original event to false + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + if ( !e ) { + return; + } + // If stopPropagation exists, run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + + // Support: IE + // Set the cancelBubble property of the original event to true + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + } +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mousenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || (related !== target && !jQuery.contains( target, related )) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +}); + +// IE submit delegation +if ( !support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Lazy-add a submit handler when a descendant form may potentially be submitted + jQuery.event.add( this, "click._submit keypress._submit", function( e ) { + // Node name check avoids a VML-related crash in IE (#9807) + var elem = e.target, + form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; + if ( form && !jQuery._data( form, "submitBubbles" ) ) { + jQuery.event.add( form, "submit._submit", function( event ) { + event._submit_bubble = true; + }); + jQuery._data( form, "submitBubbles", true ); + } + }); + // return undefined since we don't need an event listener + }, + + postDispatch: function( event ) { + // If form was submitted by the user, bubble the event up the tree + if ( event._submit_bubble ) { + delete event._submit_bubble; + if ( this.parentNode && !event.isTrigger ) { + jQuery.event.simulate( "submit", this.parentNode, event, true ); + } + } + }, + + teardown: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Remove delegated handlers; cleanData eventually reaps submit handlers attached above + jQuery.event.remove( this, "._submit" ); + } + }; +} + +// IE change delegation and checkbox/radio fix +if ( !support.changeBubbles ) { + + jQuery.event.special.change = { + + setup: function() { + + if ( rformElems.test( this.nodeName ) ) { + // IE doesn't fire change on a check/radio until blur; trigger it on click + // after a propertychange. Eat the blur-change in special.change.handle. + // This still fires onchange a second time for check/radio after blur. + if ( this.type === "checkbox" || this.type === "radio" ) { + jQuery.event.add( this, "propertychange._change", function( event ) { + if ( event.originalEvent.propertyName === "checked" ) { + this._just_changed = true; + } + }); + jQuery.event.add( this, "click._change", function( event ) { + if ( this._just_changed && !event.isTrigger ) { + this._just_changed = false; + } + // Allow triggered, simulated change events (#11500) + jQuery.event.simulate( "change", this, event, true ); + }); + } + return false; + } + // Delegated event; lazy-add a change handler on descendant inputs + jQuery.event.add( this, "beforeactivate._change", function( e ) { + var elem = e.target; + + if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { + jQuery.event.add( elem, "change._change", function( event ) { + if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { + jQuery.event.simulate( "change", this.parentNode, event, true ); + } + }); + jQuery._data( elem, "changeBubbles", true ); + } + }); + }, + + handle: function( event ) { + var elem = event.target; + + // Swallow native change events from checkbox/radio, we already triggered them above + if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { + return event.handleObj.handler.apply( this, arguments ); + } + }, + + teardown: function() { + jQuery.event.remove( this, "._change" ); + + return !rformElems.test( this.nodeName ); + } + }; +} + +// Create "bubbling" focus and blur events +if ( !support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + jQuery._data( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + jQuery._removeData( doc, fix ); + } else { + jQuery._data( doc, fix, attaches ); + } + } + }; + }); +} + +jQuery.fn.extend({ + + on: function( types, selector, data, fn, /*INTERNAL*/ one ) { + var type, origFn; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + this.on( type, selector, data, types[ type ], one ); + } + return this; + } + + if ( data == null && fn == null ) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return this; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return this.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + }); + }, + one: function( types, selector, data, fn ) { + return this.on( types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each(function() { + jQuery.event.remove( this, types, fn, selector ); + }); + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + triggerHandler: function( type, data ) { + var elem = this[0]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +}); + + +function createSafeFragment( document ) { + var list = nodeNames.split( "|" ), + safeFrag = document.createDocumentFragment(); + + if ( safeFrag.createElement ) { + while ( list.length ) { + safeFrag.createElement( + list.pop() + ); + } + } + return safeFrag; +} + +var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + + "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", + rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, + rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, + rtagName = /<([\w:]+)/, + rtbody = /\s*$/g, + + // We have to close these tags to support XHTML (#13200) + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "
    ", "
    " ], + area: [ 1, "", "" ], + param: [ 1, "", "" ], + thead: [ 1, "", "
    " ], + tr: [ 2, "", "
    " ], + col: [ 2, "", "
    " ], + td: [ 3, "", "
    " ], + + // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, + // unless wrapped in a div with non-breaking characters in front of it. + _default: support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X
    ", "
    " ] + }, + safeFragment = createSafeFragment( document ), + fragmentDiv = safeFragment.appendChild( document.createElement("div") ); + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +function getAll( context, tag ) { + var elems, elem, + i = 0, + found = typeof context.getElementsByTagName !== strundefined ? context.getElementsByTagName( tag || "*" ) : + typeof context.querySelectorAll !== strundefined ? context.querySelectorAll( tag || "*" ) : + undefined; + + if ( !found ) { + for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { + if ( !tag || jQuery.nodeName( elem, tag ) ) { + found.push( elem ); + } else { + jQuery.merge( found, getAll( elem, tag ) ); + } + } + } + + return tag === undefined || tag && jQuery.nodeName( context, tag ) ? + jQuery.merge( [ context ], found ) : + found; +} + +// Used in buildFragment, fixes the defaultChecked property +function fixDefaultChecked( elem ) { + if ( rcheckableType.test( elem.type ) ) { + elem.defaultChecked = elem.checked; + } +} + +// Support: IE<8 +// Manipulating tables requires a tbody +function manipulationTarget( elem, content ) { + return jQuery.nodeName( elem, "table" ) && + jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ? + + elem.getElementsByTagName("tbody")[0] || + elem.appendChild( elem.ownerDocument.createElement("tbody") ) : + elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + var match = rscriptTypeMasked.exec( elem.type ); + if ( match ) { + elem.type = match[1]; + } else { + elem.removeAttribute("type"); + } + return elem; +} + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var elem, + i = 0; + for ( ; (elem = elems[i]) != null; i++ ) { + jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); + } +} + +function cloneCopyEvent( src, dest ) { + + if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { + return; + } + + var type, i, l, + oldData = jQuery._data( src ), + curData = jQuery._data( dest, oldData ), + events = oldData.events; + + if ( events ) { + delete curData.handle; + curData.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + + // make the cloned public data object a copy from the original + if ( curData.data ) { + curData.data = jQuery.extend( {}, curData.data ); + } +} + +function fixCloneNodeIssues( src, dest ) { + var nodeName, e, data; + + // We do not need to do anything for non-Elements + if ( dest.nodeType !== 1 ) { + return; + } + + nodeName = dest.nodeName.toLowerCase(); + + // IE6-8 copies events bound via attachEvent when using cloneNode. + if ( !support.noCloneEvent && dest[ jQuery.expando ] ) { + data = jQuery._data( dest ); + + for ( e in data.events ) { + jQuery.removeEvent( dest, e, data.handle ); + } + + // Event data gets referenced instead of copied if the expando gets copied too + dest.removeAttribute( jQuery.expando ); + } + + // IE blanks contents when cloning scripts, and tries to evaluate newly-set text + if ( nodeName === "script" && dest.text !== src.text ) { + disableScript( dest ).text = src.text; + restoreScript( dest ); + + // IE6-10 improperly clones children of object elements using classid. + // IE10 throws NoModificationAllowedError if parent is null, #12132. + } else if ( nodeName === "object" ) { + if ( dest.parentNode ) { + dest.outerHTML = src.outerHTML; + } + + // This path appears unavoidable for IE9. When cloning an object + // element in IE9, the outerHTML strategy above is not sufficient. + // If the src has innerHTML and the destination does not, + // copy the src.innerHTML into the dest.innerHTML. #10324 + if ( support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { + dest.innerHTML = src.innerHTML; + } + + } else if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + // IE6-8 fails to persist the checked state of a cloned checkbox + // or radio button. Worse, IE6-7 fail to give the cloned element + // a checked appearance if the defaultChecked value isn't also set + + dest.defaultChecked = dest.checked = src.checked; + + // IE6-7 get confused and end up setting the value of a cloned + // checkbox/radio button to an empty string instead of "on" + if ( dest.value !== src.value ) { + dest.value = src.value; + } + + // IE6-8 fails to return the selected option to the default selected + // state when cloning options + } else if ( nodeName === "option" ) { + dest.defaultSelected = dest.selected = src.defaultSelected; + + // IE6-8 fails to set the defaultValue to the correct value when + // cloning other types of input fields + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +jQuery.extend({ + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var destElements, node, clone, i, srcElements, + inPage = jQuery.contains( elem.ownerDocument, elem ); + + if ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { + clone = elem.cloneNode( true ); + + // IE<=8 does not properly clone detached, unknown element nodes + } else { + fragmentDiv.innerHTML = elem.outerHTML; + fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); + } + + if ( (!support.noCloneEvent || !support.noCloneChecked) && + (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { + + // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + // Fix all IE cloning issues + for ( i = 0; (node = srcElements[i]) != null; ++i ) { + // Ensure that the destination node is not null; Fixes #9587 + if ( destElements[i] ) { + fixCloneNodeIssues( node, destElements[i] ); + } + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0; (node = srcElements[i]) != null; i++ ) { + cloneCopyEvent( node, destElements[i] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + destElements = srcElements = node = null; + + // Return the cloned set + return clone; + }, + + buildFragment: function( elems, context, scripts, selection ) { + var j, elem, contains, + tmp, tag, tbody, wrap, + l = elems.length, + + // Ensure a safe fragment + safe = createSafeFragment( context ), + + nodes = [], + i = 0; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( jQuery.type( elem ) === "object" ) { + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || safe.appendChild( context.createElement("div") ); + + // Deserialize a standard representation + tag = (rtagName.exec( elem ) || [ "", "" ])[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + + tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1>" ) + wrap[2]; + + // Descend through wrappers to the right content + j = wrap[0]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Manually add leading whitespace removed by IE + if ( !support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { + nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); + } + + // Remove IE's autoinserted from table fragments + if ( !support.tbody ) { + + // String was a , *may* have spurious + elem = tag === "table" && !rtbody.test( elem ) ? + tmp.firstChild : + + // String was a bare or + wrap[1] === "
    " && !rtbody.test( elem ) ? + tmp : + 0; + + j = elem && elem.childNodes.length; + while ( j-- ) { + if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { + elem.removeChild( tbody ); + } + } + } + + jQuery.merge( nodes, tmp.childNodes ); + + // Fix #12392 for WebKit and IE > 9 + tmp.textContent = ""; + + // Fix #12392 for oldIE + while ( tmp.firstChild ) { + tmp.removeChild( tmp.firstChild ); + } + + // Remember the top-level container for proper cleanup + tmp = safe.lastChild; + } + } + } + + // Fix #11356: Clear elements from fragment + if ( tmp ) { + safe.removeChild( tmp ); + } + + // Reset defaultChecked for any radios and checkboxes + // about to be appended to the DOM in IE 6/7 (#8060) + if ( !support.appendChecked ) { + jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); + } + + i = 0; + while ( (elem = nodes[ i++ ]) ) { + + // #4087 - If origin and destination elements are the same, and this is + // that element, do not do anything + if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( safe.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( (elem = tmp[ j++ ]) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + tmp = null; + + return safe; + }, + + cleanData: function( elems, /* internal */ acceptData ) { + var elem, type, id, data, + i = 0, + internalKey = jQuery.expando, + cache = jQuery.cache, + deleteExpando = support.deleteExpando, + special = jQuery.event.special; + + for ( ; (elem = elems[i]) != null; i++ ) { + if ( acceptData || jQuery.acceptData( elem ) ) { + + id = elem[ internalKey ]; + data = id && cache[ id ]; + + if ( data ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Remove cache only if it was not already removed by jQuery.event.remove + if ( cache[ id ] ) { + + delete cache[ id ]; + + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( deleteExpando ) { + delete elem[ internalKey ]; + + } else if ( typeof elem.removeAttribute !== strundefined ) { + elem.removeAttribute( internalKey ); + + } else { + elem[ internalKey ] = null; + } + + deletedIds.push( id ); + } + } + } + } + } +}); + +jQuery.fn.extend({ + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); + }, null, value, arguments.length ); + }, + + append: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + }); + }, + + prepend: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + }); + }, + + before: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + }); + }, + + after: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + }); + }, + + remove: function( selector, keepData /* Internal Use Only */ ) { + var elem, + elems = selector ? jQuery.filter( selector, this ) : this, + i = 0; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( !keepData && elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem ) ); + } + + if ( elem.parentNode ) { + if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { + setGlobalEval( getAll( elem, "script" ) ); + } + elem.parentNode.removeChild( elem ); + } + } + + return this; + }, + + empty: function() { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + } + + // Remove any remaining nodes + while ( elem.firstChild ) { + elem.removeChild( elem.firstChild ); + } + + // If this is a select, ensure that it displays empty (#12336) + // Support: IE<9 + if ( elem.options && jQuery.nodeName( elem, "select" ) ) { + elem.options.length = 0; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map(function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + }); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined ) { + return elem.nodeType === 1 ? + elem.innerHTML.replace( rinlinejQuery, "" ) : + undefined; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + ( support.htmlSerialize || !rnoshimcache.test( value ) ) && + ( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && + !wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) { + + value = value.replace( rxhtmlTag, "<$1>" ); + + try { + for (; i < l; i++ ) { + // Remove element nodes and prevent memory leaks + elem = this[i] || {}; + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch(e) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var arg = arguments[ 0 ]; + + // Make the changes, replacing each context element with the new content + this.domManip( arguments, function( elem ) { + arg = this.parentNode; + + jQuery.cleanData( getAll( this ) ); + + if ( arg ) { + arg.replaceChild( elem, this ); + } + }); + + // Force removal if there was no new content (e.g., from empty arguments) + return arg && (arg.length || arg.nodeType) ? this : this.remove(); + }, + + detach: function( selector ) { + return this.remove( selector, true ); + }, + + domManip: function( args, callback ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var first, node, hasScripts, + scripts, doc, fragment, + i = 0, + l = this.length, + set = this, + iNoClone = l - 1, + value = args[0], + isFunction = jQuery.isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( isFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return this.each(function( index ) { + var self = set.eq( index ); + if ( isFunction ) { + args[0] = value.call( this, index, self.html() ); + } + self.domManip( args, callback ); + }); + } + + if ( l ) { + fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + if ( first ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( this[i], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { + + if ( node.src ) { + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl ) { + jQuery._evalUrl( node.src ); + } + } else { + jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); + } + } + } + } + + // Fix #11809: Avoid leaking memory + fragment = first = null; + } + } + + return this; + } +}); + +jQuery.each({ + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + i = 0, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone(true); + jQuery( insert[i] )[ original ]( elems ); + + // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +}); + + +var iframe, + elemdisplay = {}; + +/** + * Retrieve the actual display of a element + * @param {String} name nodeName of the element + * @param {Object} doc Document object + */ +// Called only from within defaultDisplay +function actualDisplay( name, doc ) { + var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), + + // getDefaultComputedStyle might be reliably used only on attached element + display = window.getDefaultComputedStyle ? + + // Use of this method is a temporary fix (more like optmization) until something better comes along, + // since it was removed from specification and supported only in FF + window.getDefaultComputedStyle( elem[ 0 ] ).display : jQuery.css( elem[ 0 ], "display" ); + + // We don't have any data stored on the element, + // so use "detach" method as fast way to get rid of the element + elem.detach(); + + return display; +} + +/** + * Try to determine the default display value of an element + * @param {String} nodeName + */ +function defaultDisplay( nodeName ) { + var doc = document, + display = elemdisplay[ nodeName ]; + + if ( !display ) { + display = actualDisplay( nodeName, doc ); + + // If the simple way fails, read from inside an iframe + if ( display === "none" || !display ) { + + // Use the already-created iframe if possible + iframe = (iframe || jQuery( " diff --git a/dist/ontology/1.0.0/sections/references-en.html b/dist/ontology/1.0.0/sections/references-en.html new file mode 100644 index 0000000..2093dc4 --- /dev/null +++ b/dist/ontology/1.0.0/sections/references-en.html @@ -0,0 +1,5 @@ + +

    References back to ToC

    + +Add your references here. It is recommended to have them as a list. + diff --git a/dist/ontology/1.0.0/webvowl/css/webvowl.app.css b/dist/ontology/1.0.0/webvowl/css/webvowl.app.css new file mode 100644 index 0000000..2ceaead --- /dev/null +++ b/dist/ontology/1.0.0/webvowl/css/webvowl.app.css @@ -0,0 +1,6 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans);html{-ms-content-zooming:none}#loading-progress{width:50%;margin:10px 0}#layoutLoadingProgressBarContainer{height:50px;text-align:left;line-height:1.5}#FPS_Statistics{padding-left:60px;padding-top:60px}#additionalInformationContainer{position:absolute;top:10px;right:50px}#modeOfOperationString{padding-left:34px}#close_directUploadBtn,#direct-text-input,#directUploadBtn{border:1px solid #34495e;width:100%;margin-top:5px;cursor:pointer}#di_controls>ul{list-style:none;margin:0;padding:5px 0 0 5px}#progressBarContext{border-radius:10px;background-color:#bdc3c7;height:25px;border:1px solid #000;margin:auto}#progressBarValue{border-radius:9px;width:0;background-color:#2980b9;height:25px;line-height:1.5;text-align:center}.dbEntry{background-color:#fff;color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntrySelected{color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntry:focus,.dbEntry:hover,.dbEntrySelected{background-color:#bdc3c7}.searchMenuEntry{background-color:#fff;bottom:0;font-size:14px;min-width:50px;margin:0;padding:0;z-index:99;border-radius:4px 4px 0 0;border:1px solid rgba(0,0,0,.15);-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;border-bottom:none;display:none;position:absolute;list-style:none}.searchInputText{background-color:#fff;color:#000;border:#000;text-decoration:none;max-width:150px;overflow:hidden;text-overflow:ellipsis;margin:0}iframe,img{border:none}.hidden{display:none!important}.clear{clear:both}a{color:#69c;text-decoration:none}a:hover{color:#3498db}#optionsArea a{color:#2980b9}#optionsArea a.highlighted{background-color:#d90}.toolTipMenu li.highlighted{background-color:#feb}#browserCheck{background-color:red;padding:5px 0;position:absolute;text-align:center;width:100%}#browserCheck a{color:#fff}#browserCheck a:hover{text-decoration:underline}@-webkit-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-o-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-webkit-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-o-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-moz-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-o-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-webkit-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-moz-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-o-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-webkit-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-moz-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-o-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-webkit-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-moz-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-o-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes msg_CollapseAnimation{0%{top:0}to{top:-400px}}@-webkit-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-moz-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-o-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-webkit-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-moz-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-o-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-webkit-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-o-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-o-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}body{background:#18202a;font-size:14px;font-family:Open Sans,Helvetica,Arial,sans-serif;line-height:1;overflow:hidden;position:fixed}body,main{height:100%;margin:0;padding:0;width:100%}#canvasArea,main{position:relative}#canvasArea{margin:0;padding:0;width:78%}#canvasArea #graph{margin:0 0 2px;background-color:#ecf0f1;width:100%}#canvasArea #graph,#canvasArea svg{box-sizing:border-box;overflow:hidden;padding:0}#canvasArea svg{margin:0}#logo{position:fixed;pointer-events:none}#logo h2{color:#3498db;margin:0;line-height:.7;text-align:center;font-size:24px}#logo h2 span{color:#34495e;font-size:16px}@media screen and (max-device-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-device-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}.checkboxContainer input,.checkboxContainer label{vertical-align:middle}.selected-ontology{background-color:#eee}#credits{border-top:1px solid #bdc3c7;font-size:.9em}.slideOption{position:relative;padding:8px 5px;outline:none}.slideOption .value{float:right;outline:none}.slideOption input[type=range]{box-sizing:border-box;margin:0;outline:none;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#eee}.slideOption input[type=range]::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]::-moz-range-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]:hover{outline:none}.slideOption input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none;margin-top:-3px}.slideOption input[type=range]::-moz-range-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none}.slideOption input[type=range]::-moz-range-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]::-webkit-slider-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]:active,.slideOption input[type=range]:focus{outline:none}.slideOption input[type=range]::-moz-range-thumb:active,.slideOption input[type=range]::-moz-range-thumb:focus{outline:none}.slideOption input[type=range]::-webkit-slider-thumb:active,.slideOption input[type=range]::-webkit-slider-thumb:focus{outline:none}.slideOption input[type=range]:disabled{box-sizing:border-box;margin:0;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#787878}.slideOption input[type=range]:disabled::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled::-moz-range-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled{outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{-webkit-appearance:none;background-color:#363636;border-radius:3px;border:1px solid #aaa;transition:all .5s ease;height:10px;width:30px;margin-top:-3px}.slideOption input[type=range]:disabled::-moz-range-thumb{-webkit-appearance:none;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;background-color:#aaa;outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{background-color:#aaa;outline:none}.slideOption input[type=range]:disabled:hover::-moz-range-thumb{background-color:#404040;outline:none}.slideOption input[type=range]:disabled:hover::-webkit-slider-thumb{background-color:#404040;outline:none}#detailsArea{top:0;right:0;bottom:0;color:#bdc3c7;height:100%;width:22%;overflow-y:auto;overflow-x:hidden;position:fixed;border-left:1px solid #34495e}#detailsArea h1{border-bottom:1px solid #34495e;color:#ecf0f1;display:block;font-weight:100;font-size:1.5em;margin:0;padding:10px 0;text-align:center}#generalDetails{width:auto;box-sizing:border-box;height:100%}#generalDetails span #about{border-bottom:1px solid #34495e;display:block;padding:10px;text-align:center;word-wrap:break-word;color:#69c}#generalDetails h4{background:#1b252e;color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 0;text-align:center}#detailsArea #generalDetails h5{border-bottom:1px solid #34495e;font-size:.9em;font-weight:100;margin:0;padding:5px;text-align:center}#description{text-align:justify}.accordion-container p{font-size:.9em;line-height:1.3;margin:5px 10px}.statisticDetails span{padding:10px}.statisticDetails div,.statisticDetails span{font-weight:100;font-style:italic;margin:10px 0}.statisticDetails div{padding:0 10px;display:inline}#selection-details .propDetails a{color:#69c}#selection-details .propDetails>span{font-weight:100;font-style:italic;padding:0 10px}#selection-details #classEquivUri span,#selection-details #disjointNodes span{padding:0}#selection-details .propDetails div{font-weight:100;font-style:italic;margin:10px 0;padding:0 10px;display:inline}#selection-details .propDetails div span{padding:0}.subclass{fill:#ecf0f1}.accordion-trigger{background:#24323e;cursor:pointer;padding:.5em}.accordion-trigger.accordion-trigger-active:before{padding-right:4px;content:"\25BC"}.accordion-trigger:not(.accordion-trigger-active):before{padding-right:4px;content:"\25BA"}.accordion-container.scrollable{max-height:40%;overflow:auto}.small-whitespace-separator{height:3px}#language{background:transparent;border:1px solid #34495e;color:#ecf0f1}#language option{background-color:#24323e}.converter-form:not(:first-child){margin-top:5px}.converter-form label{display:inline-block;line-height:normal}.converter-form input{box-sizing:border-box;height:20px;width:74%;border:1px solid #34495e}.converter-form button{float:right;padding:0;width:25%;background-color:#ecf0f1}#file-converter-label,.converter-form button{cursor:pointer;height:20px;border:1px solid #34495e}#file-converter-label{box-sizing:border-box;width:74%}#killWarning{cursor:pointer;color:#fff;font-weight:700}#copyBt{box-sizing:border-box;height:20px;width:31%;border:1px solid #34495e}#sidebarExpandButton{height:24px;width:24px;box-sizing:border-box;top:10px;color:#000;float:right;position:absolute;right:0;border:1px solid #000;text-align:center;font-size:1.5em;cursor:pointer}.dropdownMenuClass{height:20px;float:right;border:1px solid #34495e;background-color:#34495e;color:#fff;text-align:left;width:auto}#typeEditForm_datatype{padding-top:5px}#typeEditor,#typeEditor_datatype{width:165px}#leftSideBarCollapseButton{box-sizing:border-box;top:50px;color:#000;position:absolute;left:200px;border:1px solid #000;cursor:pointer;width:24px;height:24px;font-size:1.5em;text-align:center}#leftSideBarCollapseButton:hover,#sidebarExpandButton:hover{background-color:#d90}.spanForCharSelection{padding-left:25px}.nodeEditSpan{color:#000;background-color:#fff;text-align:center;border:none;padding-top:6px}.nodeEditSpan:focus{outline:none;border:none}.foreignelements{border:none}.foreignelements:focus{outline:none;border:none}#leftSideBarContent{color:#000;float:left;position:absolute;left:0;background-color:#18202a;width:100%;height:100%}#leftSideBarContent>h3{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0 0 5px;padding:10px 0;text-align:left}#generalDetailsEdit{color:#ecf0f1}#generalDetailsEdit>div{padding:5px}#generalDetailsEdit>h3{font-size:1.1em;margin:0 0 5px;padding:10px 0}#generalDetailsEdit>h3,.subAccordion{color:#ecf0f1;display:block;font-weight:100;text-align:left}.subAccordion{font-size:.8em;margin:0;padding:5px}.boxed,.subAccordionDescription{padding:0 5px}.separatorLineRight{border-right:1px solid red}.editPrefixButton:hover{color:#ff972d;cursor:pointer}.editPrefixIcon:hover{stroke:#ff972d;stroke-width:1px;cursor:pointer}.editPrefixIcon{stroke:#fffff;stroke-width:1px;cursor:pointer}.deletePrefixButton:hover{color:#ff972d;cursor:pointer}.deletePrefixButton{color:red;cursor:pointer}.invisiblePrefixButton{cursor:default;color:#18202a}#containerForAddPrefixButton{width:100%;margin-top:5px}.roundedButton{border:1px solid #000;border-radius:20px;padding:0 5px;background:#fff;cursor:pointer;color:#000;outline:none}.roundedButton:hover{background:#318638;cursor:pointer;color:#fff;outline:none}#prefixURL_Description{padding:5px 0 0}.prefixIRIElements{display:inline-block;padding:3px;border-bottom:1px solid #34495e;width:100%}.prefixInput{width:30px;display:inline-block;margin-right:5px}.prefixURL{width:100px;display:inline-block;paddig-left:5px}.selectedDefaultElement{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;max-width:200px}#editHeader,#leftHeader{color:#ecf0f1;background-color:#394f5a;display:block;font-size:1.1em;font-weight:100;text-align:center}#leftHeader{padding:10px 0;margin:0}.containerForDefaultSelection{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 20px;text-align:left}.defaultSelected{color:#a15d05;background-color:#283943}.containerForDefaultSelection:hover{color:#f19505;background-color:#394f5a;display:block;cursor:pointer}#containerForLeftSideBar{top:50px;float:left;position:absolute;background-color:#1b252e;left:0;width:200px;height:200px;overflow-y:auto;overflow-x:hidden}#leftSideBar{width:100%;background-color:#18202a}#loading-info{box-sizing:border-box;position:absolute;text-align:center;width:100%;height:80%;top:0}#loading-info>div{display:inline-block;color:#fff;background-color:#18202a;border-bottom-left-radius:2px;border-bottom-right-radius:2px}#loading-info>*>*{padding:5px}#loading-info{pointer-events:none}#loading-progress{pointer-events:auto;min-width:220px;border-radius:10px}#show-loadingInfo-button{font-size:12px;color:#fff;cursor:pointer;text-align:center}#loadingIndicator_closeButton:hover{color:#ff972d;cursor:pointer}#loadingIndicator_closeButton{color:#ffe30f;cursor:pointer;padding-bottom:5px;float:right}.busyProgressBar{background-color:#000;height:25px;position:relative;animation:busy 2s linear infinite}@-webkit-keyframes busy{0%{left:0}50%{left:80%}to{left:0}}#bulletPoint_container{padding-left:15px;margin-top:0;margin-bottom:0}#bulletPoint_container>div{margin-left:-15px}#loadingInfo-container{box-sizing:border-box;text-align:left;line-height:1.2;padding-top:5px;overflow:auto;height:120px;min-height:40px;background-color:#3c3c3c}#error-description-button{margin:5px 0 0;font-size:12px;color:#69c;cursor:pointer;text-align:center}#error-description-container{box-sizing:border-box;text-align:left}#error-description-container pre{background-color:#34495e;padding:2px;margin:0;white-space:pre-wrap;max-height:calc(100vh - 125px);max-width:75vw;overflow:auto}.spin{display:inline-block;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.truncate{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.color-mode-switch{float:right;width:90px;cursor:pointer;height:20px;padding:0;border:0;color:#555;background-color:#eceeef;box-shadow:0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.color-mode-switch:focus{outline-width:0}.color-mode-switch.active{color:#fff;background-color:#32cd32;box-shadow:inset 0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.filterMenuButtonHighlight{background-color:#d90}@-webkit-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-moz-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-o-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}.buttonPulse{-webkit-animation-name:buttonAnimation;-moz-animation-name:buttonAnimation;-o-animation-name:buttonAnimation;animation-name:buttonAnimation;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s;-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}#m_about{max-width:200px;width:200px;position:absolute}#m_modes{max-width:160px;width:160px;position:absolute}#m_filter{max-width:170px;width:170px;position:absolute}#m_gravity{max-width:180px;width:180px;position:absolute}#m_export{max-width:160px;width:160px;position:absolute}#exportedUrl{width:100px}#m_select{max-width:300px;width:300px;position:absolute}#m_config{max-width:240px;width:240px;position:absolute}#m_search{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#swipeBarContainer{position:fixed;width:77.8%;height:40px;margin:0;padding:0;bottom:0}#menuElementContainer{margin:0;padding:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;text-align:right;list-style-type:none}#menuElementContainer>li{display:inline-block;box-sizing:border-box;text-align:left;position:relative;height:40px;font-size:14px;color:#fff;padding:12px 0 0;margin-left:-4px}#menuElementContainer>li>a{color:#fff;padding:9px 12px 12px 30px}.menuElementSvgElement{height:20px;width:20px;display:block;position:absolute;top:10px;left:8px}.btn_shadowed{background-color:#fefefe;box-shadow:1px 1px 1px gray}.reloadCachedOntologyIcon{height:20px;width:108px;display:block;position:absolute;top:20px;left:3px;border:1px solid #000;border-radius:10px;cursor:pointer}.reloadCachedOntologyIcon:disabled{background:#f4f4f4;cursor:auto;border:1px solid #a9a9a9}.reloadCachedOntologyIcon:hover{background:#d90;cursor:pointer}.disabledReloadElement{cursor:auto;background:#f4f4f4;pointer-events:auto;border:1px solid #a9a9a9;color:#bbb}.disabledReloadElement:hover{cursor:auto;background:#eee;pointer-events:auto}#menuElementContainer>li>input{color:#000;padding:.1em .3em .1em 1.5em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:120px}#menuElementContainer>li>a:hover{box-sizing:border-box;background:#1b252e;color:#bdc3c7}#empty:hover{box-sizing:border-box;background:#e1e1e1;color:#2980b9}#empty.disabled,.disabled{pointer-events:none;cursor:default;color:#979797}.toolTipMenu{-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;background-color:#fff;border:1px solid rgba(0,0,0,.15);border-bottom:none;border-radius:4px 4px 0 0;bottom:0;display:none;font-size:14px;list-style:none;margin:0;padding:0;white-space:normal;position:absolute;z-index:99}.toolTipMenu>li:first-of-type{border:none}.toolTipMenu a{color:#2980b9}.toolTipMenu>li{border-top:1px solid #bdc3c7}.toolTipMenu li{color:#2980b9;display:block}#menuElementContainer>li:hover .toolTipMenu{display:block}#menuElementContainer li>ul.toolTipMenu li a:hover{background:#e1e1e1}#scrollLeftButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;left:0}#scrollLeftButton:focus{outline:none}#scrollLeftButton:before{content:"<"}#scrollRightButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;right:0}#scrollRightButton:focus{outline:none}#scrollLeftButton:hover,#scrollRightButton:hover{color:#bdc3c7}#scrollRightButton:before{content:">"}#centerGraphButton,#zoomInButton,#zoomOutButton{border:1px solid #000;text-align:center;margin:-1px 0 0;font-size:1.5em;padding:0;height:28px}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#zoomOutButton{line-height:22px}#centerGraphButton,#zoomInButton{line-height:25px}#zoomSlider>p:hover{background-color:#d90}#zoomSliderParagraph{color:#000;padding-top:5px;margin:-1px 0 0;border:1px solid #000;height:150px}p#zoomSliderParagraph:hover{background-color:#fff}#zoomSlider{width:28px;margin-top:-2px;padding:0;font-size:1.5em;cursor:pointer;position:absolute;right:20px;bottom:20px;color:#000;box-sizing:border-box}#menuElementContainer>li>a:before{font-size:1em;margin:0;padding:0 6px 0 0}#menuElementContainer a.highlighted{background-color:#d90} + /*!*padding: 0 0.2em;*!*/.inner-addon{position:relative}.gearIcon,.searchIcon{position:absolute;width:17px;height:17px;pointer-events:none}.gearIcon{left:-5px} + /*!*padding: 0 0.2em;*!*/ + /*!*color: black;*!*/ + /*!*content: "\2315";*!*/ + /*!*content: "\2315" or "\1F50D"*!;*/li#c_search{padding:0 5px;margin-left:5px;height:20px}li#c_locate{padding:0}#c_locate>a{font-size:2em;padding:0}a#pause-button{padding:12px}a#pause-button.paused:before{content:"\25BA"}a#pause-button.paused:hover{background-color:#d90;color:#fff}a#pause-button:not(.paused):before{content:"II"}.toolTipMenu li:hover{background-color:#e1e1e1}#emptyLiHover,#emptyLiHover:hover{background-color:#fff}.toggleOption li:hover{background-color:#e1e1e1}.toggleOption{padding:8px 5px}#converter-option:hover{background-color:#fff}.option,.toolTipMenu li a:only-child{display:block;float:none;padding:8px 5px}.customLocate{padding:0;background-color:#32cd32}a#locateSearchResult{padding-top:50px}#zoomSliderElement{color:#000;position:relative;padding-top:0;width:155px;height:24px;background-color:transparent;-webkit-transform-origin-x:73px;-webkit-transform-origin-y:73px;-webkit-transform:rotate(-90deg);-moz-transform-origin:73px 73px;transform:rotate(-90deg);transform-origin:73px 73px;-webkit-appearance:none;outline:none;margin:4px 0}#zoomSliderElement::-webkit-scrollbar{height:0}#zoomSliderElement:hover{cursor:crosshair}#zoomSliderElement::-webkit-slider-runnable-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-moz-range-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-webkit-slider-thumb{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#fff;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb{background:#fff}#zoomSliderElement::-ms-thumb,#zoomSliderElement::-ms-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb:hover{background:#d90}#zoomSliderElement::-webkit-slider-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#d90;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-moz-range-thumb,#zoomSliderElement::-moz-range-thumb:hover{border:1px solid #000;height:10px;width:30px;border-radius:3px;cursor:pointer;outline:none}#zoomSliderElement::-moz-range-thumb:hover{background:#d90}#zoomSliderElement::-moz-focus-outer{border:0}#locateSearchResult:focus{outline:none}a#locateSearchResult.highlighted:hover{background-color:#d90;color:red}a#locateSearchResult{outline:none;padding-bottom:0;padding-top:0;position:relative;top:5px}#editorHint{padding:5px;position:absolute;text-align:center;width:100%;pointer-events:none}#editorHint label{pointer-events:auto;float:right;padding:5px;color:#fd0}#editorHint label:hover{text-decoration:underline;cursor:pointer}#editorHint>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:5px}#WarningErrorMessagesContainer{position:absolute;text-align:center;top:0;pointer-events:none}#WarningErrorMessages{position:relative;width:50%;pointer-events:auto;margin:10px 0;padding-right:12px;overflow-y:auto;overflow-x:hidden}#WarningErrorMessages label{color:#fd0}#WarningErrorMessages label,#WarningErrorMessages span{pointer-events:auto;float:right;padding:5px}#WarningErrorMessages label:hover{text-decoration:underline;cursor:pointer}#WarningErrorMessages>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:10px;border:1px solid #ecf0f1;width:70%}#WarningErrorMessagesContent>ul{-webkit-padding-start:20px;padding:0 16px}#WarningErrorMessagesContent>ul>li{padding:5px}.textLineEditWithLabel{display:inline-block;width:100%;border-bottom:1px solid #34495e;padding:2px 0}.converter-form-Editor label{line-height:normal}.descriptionTextClass,.prefixIRIElements input{background-color:#34495e;color:#fff}.prefixIRIElements input{border:1px solid #34495e}.prefixIRIElements input:disabled{background-color:#18202a;border:1px solid #18202a;color:#fff}.converter-form-Editor input{float:right;border:1px solid #34495e;background-color:#34495e;color:#fff}.converter-form-Editor input:disabled{background-color:#545350;border:1px solid #34495e;color:#939798}.disabledLabelForSlider{color:gray} \ No newline at end of file diff --git a/dist/ontology/1.0.0/webvowl/css/webvowl.css b/dist/ontology/1.0.0/webvowl/css/webvowl.css new file mode 100644 index 0000000..335ea85 --- /dev/null +++ b/dist/ontology/1.0.0/webvowl/css/webvowl.css @@ -0,0 +1 @@ +.text{font-family:Helvetica,Arial,sans-serif;font-size:12px}.subtext{font-size:9px}.text.instance-count{fill:#666}.external+text .instance-count{fill:#aaa}.cardinality{font-size:10px}.embedded,.text{pointer-events:none}.allvaluesfromproperty,.class,.disjoint,.disjointwith,.equivalentproperty,.functionalproperty,.inversefunctionalproperty,.object,.objectproperty,.somevaluesfromproperty,.symmetricproperty,.transitiveproperty{fill:#acf}.datatypeproperty,.label .datatype{fill:#9c6}.rdf,.rdfproperty{fill:#c9c}.literal,.node .datatype{fill:#fc3}.deprecated,.deprecatedproperty{fill:#ccc}.nofill,path{fill:none}marker path{fill:#000}.class,.fineline,line,path{stroke:#000}.external+text,.subclass,.subclassproperty,.white{fill:#fff}.cardinality.focused,.cardinality.hovered,.class.hovered,.filled.focused,.filled.hovered,.hoveredForEditing,.property.hovered,.values-from.filled.hovered{fill:red!important;cursor:pointer}.feature{fill:red;cursor:pointer}@-webkit-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-moz-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-o-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}.searchResultA{-webkit-animation-name:pulseAnimation;-moz-animation-name:pulseAnimation;-o-animation-name:pulseAnimation;animation-name:pulseAnimation;-webkit-animation-duration:.8s;-moz-animation-duration:.8s;-o-animation-duration:.8s;animation-duration:.8s;-webkit-transform:translateZ(0);-o-transform:translateZ(0);-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}.searchResultA,.searchResultB{fill:none;stroke-width:5;stroke:red}.hovered-MathSymbol{fill:none}.focused,.hovered-MathSymbol,path.hovered{stroke:red!important}.feature:hover,.feature_hover,.indirect-highlighting{fill:#f90;cursor:pointer}.values-from{stroke:#69c}.symbol,.values-from.filled{fill:#69c}.class,line,path{stroke-width:2}.fineline{stroke-width:1}.anonymous,.dashed{stroke-dasharray:8}.dotted{stroke-dasharray:3}circle.focused,rect.focused{stroke-width:4px}.nostroke{stroke:none}.addDataPropertyElement{fill:#9c6!important;cursor:pointer;stroke-width:2;stroke:#000}.addDataPropertyElement:hover{fill:#f90!important;cursor:pointer;stroke-width:2;stroke:#000}.superHiddenElement{fill:rgba(255,153,0,.4);cursor:pointer;stroke-width:0;stroke:#000}.superOpacityElement{opacity:0}.deleteParentElement:hover{fill:#f90;cursor:pointer;stroke-width:2;stroke:#000}.deleteParentElement{fill:red;cursor:pointer;stroke-width:2;stroke:#000}.classDraggerNodeHovered,.classNodeDragPath{stroke:#000;stroke-width:2px}.classDraggerNodeHovered{fill:#f90;cursor:pointer}.classDraggerNode{fill:#acf;stroke:#000;stroke-width:2px}marker path{stroke-dasharray:100} \ No newline at end of file diff --git a/dist/ontology/1.0.0/webvowl/data/foaf.json b/dist/ontology/1.0.0/webvowl/data/foaf.json new file mode 100644 index 0000000..beaaffc --- /dev/null +++ b/dist/ontology/1.0.0/webvowl/data/foaf.json @@ -0,0 +1,2894 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.6), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "undefined" ], + "baseIris" : [ "http://schema.org", "http://www.w3.org/2000/01/rdf-schema", "http://www.w3.org/2003/01/geo/wgs84_pos", "http://purl.org/dc/terms", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "http://www.w3.org/2000/10/swap/pim/contact", "http://www.w3.org/2004/02/skos/core" ], + "prefixList" : { + "owl" : "http://www.w3.org/2002/07/owl#", + "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "wot" : "http://xmlns.com/wot/0.1/", + "xsd" : "http://www.w3.org/2001/XMLSchema#", + "dc" : "http://purl.org/dc/elements/1.1/", + "xml" : "http://www.w3.org/XML/1998/namespace", + "vs" : "http://www.w3.org/2003/06/sw-vocab-status/ns#", + "foaf" : "http://xmlns.com/foaf/0.1/", + "rdfs" : "http://www.w3.org/2000/01/rdf-schema#" + }, + "title" : { + "undefined" : "Friend of a Friend (FOAF) vocabulary" + }, + "iri" : "http://xmlns.com/foaf/0.1/", + "description" : { + "undefined" : "The Friend of a Friend (FOAF) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language." + }, + "other" : { + "title" : [ { + "identifier" : "title", + "language" : "undefined", + "value" : "Friend of a Friend (FOAF) vocabulary", + "type" : "label" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "3", + "type" : "owl:Thing" + }, { + "id" : "9", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:equivalentClass" + }, { + "id" : "18", + "type" : "owl:Thing" + }, { + "id" : "19", + "type" : "owl:Thing" + }, { + "id" : "5", + "type" : "owl:Thing" + }, { + "id" : "20", + "type" : "rdfs:Literal" + }, { + "id" : "8", + "type" : "rdfs:Literal" + }, { + "id" : "11", + "type" : "owl:Class" + }, { + "id" : "21", + "type" : "owl:Thing" + }, { + "id" : "22", + "type" : "rdfs:Literal" + }, { + "id" : "24", + "type" : "rdfs:Literal" + }, { + "id" : "26", + "type" : "rdfs:Literal" + }, { + "id" : "27", + "type" : "rdfs:Literal" + }, { + "id" : "37", + "type" : "owl:equivalentClass" + }, { + "id" : "45", + "type" : "rdfs:Literal" + }, { + "id" : "46", + "type" : "rdfs:Literal" + }, { + "id" : "53", + "type" : "rdfs:Literal" + }, { + "id" : "56", + "type" : "rdfs:Literal" + }, { + "id" : "59", + "type" : "rdfs:Literal" + }, { + "id" : "60", + "type" : "owl:Class" + }, { + "id" : "61", + "type" : "rdfs:Literal" + }, { + "id" : "6", + "type" : "rdfs:Literal" + }, { + "id" : "62", + "type" : "rdfs:Literal" + }, { + "id" : "12", + "type" : "owl:equivalentClass" + }, { + "id" : "55", + "type" : "rdfs:Literal" + }, { + "id" : "69", + "type" : "rdfs:Literal" + }, { + "id" : "71", + "type" : "owl:Class" + }, { + "id" : "36", + "type" : "owl:Class" + }, { + "id" : "86", + "type" : "owl:Class" + }, { + "id" : "83", + "type" : "owl:Class" + }, { + "id" : "94", + "type" : "owl:Class" + }, { + "id" : "73", + "type" : "rdfs:Literal" + }, { + "id" : "68", + "type" : "rdfs:Literal" + }, { + "id" : "93", + "type" : "rdfs:Literal" + }, { + "id" : "33", + "type" : "owl:Thing" + }, { + "id" : "49", + "type" : "rdfs:Literal" + }, { + "id" : "29", + "type" : "owl:Thing" + }, { + "id" : "101", + "type" : "rdfs:Literal" + }, { + "id" : "39", + "type" : "owl:Thing" + }, { + "id" : "63", + "type" : "owl:equivalentClass" + }, { + "id" : "64", + "type" : "owl:equivalentClass" + }, { + "id" : "102", + "type" : "owl:equivalentClass" + }, { + "id" : "78", + "type" : "owl:Class" + }, { + "id" : "77", + "type" : "owl:Class" + }, { + "id" : "13", + "type" : "owl:equivalentClass" + }, { + "id" : "58", + "type" : "rdfs:Literal" + }, { + "id" : "100", + "type" : "rdfs:Literal" + }, { + "id" : "106", + "type" : "rdfs:Literal" + }, { + "id" : "52", + "type" : "rdfs:Literal" + }, { + "id" : "88", + "type" : "rdfs:Literal" + }, { + "id" : "118", + "type" : "rdfs:Literal" + }, { + "id" : "126", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:equivalentClass" + }, { + "id" : "32", + "type" : "owl:equivalentClass" + }, { + "id" : "10", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "3", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2004/02/skos/core#Concept", + "baseIri" : "http://www.w3.org/2004/02/skos/core", + "instances" : 0, + "label" : { + "IRI-based" : "Concept", + "undefined" : "Concept" + }, + "attributes" : [ "external" ], + "id" : "9" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Agent", + "equivalent" : [ "13" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Agent", + "undefined" : "Agent" + }, + "subClasses" : [ "10", "11", "12" ], + "comment" : { + "undefined" : "An agent (eg. person, group, software or physical artifact)." + }, + "attributes" : [ "equivalent" ], + "id" : "1" + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "18", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "19", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "5", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "20", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "8", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Organization", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Organization", + "undefined" : "Organization" + }, + "comment" : { + "undefined" : "An organization." + }, + "id" : "11", + "superClasses" : [ "1" ] + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "21", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "22", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "24", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "26", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "27", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://schema.org/CreativeWork", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "CreativeWork" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "37" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "45", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "46", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "53", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "56", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "59", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Project", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Project", + "undefined" : "Project" + }, + "comment" : { + "undefined" : "A project (a collective endeavour of some kind)." + }, + "id" : "60" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "61", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "6", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "62", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "equivalent" : [ "63", "64" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Person", + "undefined" : "Person" + }, + "comment" : { + "undefined" : "A person." + }, + "attributes" : [ "equivalent" ], + "id" : "12", + "superClasses" : [ "1", "36" ] + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "55", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "69", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/PersonalProfileDocument", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "PersonalProfileDocument", + "undefined" : "PersonalProfileDocument" + }, + "comment" : { + "undefined" : "A personal profile RDF document." + }, + "id" : "71", + "superClasses" : [ "2" ] + }, { + "iri" : "http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing", + "baseIri" : "http://www.w3.org/2003/01/geo/wgs84_pos", + "instances" : 0, + "label" : { + "IRI-based" : "SpatialThing", + "undefined" : "Spatial Thing" + }, + "subClasses" : [ "12" ], + "attributes" : [ "external" ], + "id" : "36" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineChatAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineChatAccount", + "undefined" : "Online Chat Account" + }, + "comment" : { + "undefined" : "An online chat account." + }, + "id" : "86", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineGamingAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineGamingAccount", + "undefined" : "Online Gaming Account" + }, + "comment" : { + "undefined" : "An online gaming account." + }, + "id" : "83", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/LabelProperty", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "LabelProperty", + "undefined" : "Label Property" + }, + "comment" : { + "undefined" : "A foaf:LabelProperty is any RDF property with texual values that serve as labels." + }, + "id" : "94" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "73", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "68", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "93", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "33", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "49", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "29", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "101", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "39", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/10/swap/pim/contact#Person", + "baseIri" : "http://www.w3.org/2000/10/swap/pim/contact", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "63" + }, { + "iri" : "http://schema.org/Person", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "64" + }, { + "iri" : "http://schema.org/ImageObject", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "ImageObject" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "102" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineAccount", + "undefined" : "Online Account" + }, + "subClasses" : [ "77", "86", "83" ], + "comment" : { + "undefined" : "An online account." + }, + "id" : "78" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineEcommerceAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineEcommerceAccount", + "undefined" : "Online E-commerce Account" + }, + "comment" : { + "undefined" : "An online e-commerce account." + }, + "id" : "77", + "superClasses" : [ "78" ] + }, { + "iri" : "http://purl.org/dc/terms/Agent", + "baseIri" : "http://purl.org/dc/terms", + "instances" : 0, + "label" : { + "IRI-based" : "Agent" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "13" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "58", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "100", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "106", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "52", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "88", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "118", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Class", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "instances" : 0, + "label" : { + "IRI-based" : "Class" + }, + "attributes" : [ "external" ], + "id" : "126" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Document", + "equivalent" : [ "37" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Document", + "undefined" : "Document" + }, + "subClasses" : [ "71", "32" ], + "comment" : { + "undefined" : "A document." + }, + "attributes" : [ "equivalent" ], + "id" : "2" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Image", + "equivalent" : [ "102" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Image", + "undefined" : "Image" + }, + "comment" : { + "undefined" : "An image." + }, + "attributes" : [ "equivalent" ], + "id" : "32", + "superClasses" : [ "2" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/Group", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Group", + "undefined" : "Group" + }, + "comment" : { + "undefined" : "A class of Agents." + }, + "id" : "10", + "superClasses" : [ "1" ] + } ], + "property" : [ { + "id" : "0", + "type" : "owl:objectProperty" + }, { + "id" : "4", + "type" : "owl:datatypeProperty" + }, { + "id" : "7", + "type" : "owl:datatypeProperty" + }, { + "id" : "14", + "type" : "owl:objectProperty" + }, { + "id" : "16", + "type" : "owl:objectProperty" + }, { + "id" : "17", + "type" : "owl:objectProperty" + }, { + "id" : "23", + "type" : "owl:objectProperty" + }, { + "id" : "25", + "type" : "owl:objectProperty" + }, { + "id" : "28", + "type" : "owl:objectProperty" + }, { + "id" : "30", + "type" : "owl:objectProperty" + }, { + "id" : "31", + "type" : "owl:objectProperty" + }, { + "id" : "35", + "type" : "owl:objectProperty" + }, { + "id" : "38", + "type" : "owl:objectProperty" + }, { + "id" : "44", + "type" : "owl:datatypeProperty" + }, { + "id" : "47", + "type" : "owl:objectProperty" + }, { + "id" : "48", + "type" : "owl:datatypeProperty" + }, { + "id" : "50", + "type" : "owl:objectProperty" + }, { + "id" : "51", + "type" : "owl:datatypeProperty" + }, { + "id" : "54", + "type" : "owl:datatypeProperty" + }, { + "id" : "57", + "type" : "owl:datatypeProperty" + }, { + "id" : "65", + "type" : "owl:datatypeProperty" + }, { + "id" : "66", + "type" : "owl:datatypeProperty" + }, { + "id" : "67", + "type" : "owl:datatypeProperty" + }, { + "id" : "70", + "type" : "owl:datatypeProperty" + }, { + "id" : "72", + "type" : "owl:datatypeProperty" + }, { + "id" : "15", + "type" : "owl:objectProperty" + }, { + "id" : "74", + "type" : "rdfs:SubClassOf" + }, { + "id" : "75", + "type" : "rdfs:SubClassOf" + }, { + "id" : "76", + "type" : "rdfs:SubClassOf" + }, { + "id" : "79", + "type" : "rdfs:SubClassOf" + }, { + "id" : "80", + "type" : "owl:objectProperty" + }, { + "id" : "81", + "type" : "owl:objectProperty" + }, { + "id" : "82", + "type" : "rdfs:SubClassOf" + }, { + "id" : "34", + "type" : "owl:objectProperty" + }, { + "id" : "85", + "type" : "rdfs:SubClassOf" + }, { + "id" : "87", + "type" : "owl:datatypeProperty" + }, { + "id" : "89", + "type" : "rdfs:SubClassOf" + }, { + "id" : "90", + "type" : "rdfs:SubClassOf" + }, { + "id" : "91", + "type" : "owl:objectProperty" + }, { + "id" : "92", + "type" : "owl:datatypeProperty" + }, { + "id" : "95", + "type" : "owl:datatypeProperty" + }, { + "id" : "96", + "type" : "owl:objectProperty" + }, { + "id" : "97", + "type" : "owl:datatypeProperty" + }, { + "id" : "98", + "type" : "rdfs:SubClassOf" + }, { + "id" : "99", + "type" : "owl:datatypeProperty" + }, { + "id" : "43", + "type" : "owl:objectProperty" + }, { + "id" : "42", + "type" : "owl:objectProperty" + }, { + "id" : "103", + "type" : "owl:datatypeProperty" + }, { + "id" : "104", + "type" : "owl:objectProperty" + }, { + "id" : "105", + "type" : "owl:datatypeProperty" + }, { + "id" : "107", + "type" : "owl:objectProperty" + }, { + "id" : "108", + "type" : "owl:datatypeProperty" + }, { + "id" : "109", + "type" : "owl:objectProperty" + }, { + "id" : "110", + "type" : "owl:objectProperty" + }, { + "id" : "40", + "type" : "owl:objectProperty" + }, { + "id" : "41", + "type" : "owl:objectProperty" + }, { + "id" : "84", + "type" : "owl:objectProperty" + }, { + "id" : "111", + "type" : "owl:datatypeProperty" + }, { + "id" : "112", + "type" : "owl:datatypeProperty" + }, { + "id" : "113", + "type" : "owl:datatypeProperty" + }, { + "id" : "114", + "type" : "owl:objectProperty" + }, { + "id" : "116", + "type" : "owl:disjointWith" + }, { + "id" : "117", + "type" : "owl:disjointWith" + }, { + "id" : "119", + "type" : "owl:datatypeProperty" + }, { + "id" : "120", + "type" : "owl:disjointWith" + }, { + "id" : "121", + "type" : "owl:disjointWith" + }, { + "id" : "122", + "type" : "owl:objectProperty" + }, { + "id" : "123", + "type" : "owl:datatypeProperty" + }, { + "id" : "124", + "type" : "owl:objectProperty" + }, { + "id" : "125", + "type" : "owl:datatypeProperty" + }, { + "id" : "127", + "type" : "owl:datatypeProperty" + }, { + "id" : "115", + "type" : "owl:objectProperty" + }, { + "id" : "128", + "type" : "owl:objectProperty" + }, { + "id" : "129", + "type" : "owl:objectProperty" + } ], + "propertyAttribute" : [ { + "iri" : "http://xmlns.com/foaf/0.1/interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "interest", + "undefined" : "interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A page about a topic of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "0" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox_sha1sum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "6", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox_sha1sum", + "undefined" : "sha1sum of a personal mailbox URI name" + }, + "domain" : "5", + "comment" : { + "undefined" : "The sha1sum of the URI of an Internet mailbox associated with exactly one owner, the first owner of the mailbox." + }, + "attributes" : [ "datatype" ], + "id" : "4" + }, { + "iri" : "http://xmlns.com/foaf/0.1/nick", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "8", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "nick", + "undefined" : "nickname" + }, + "domain" : "5", + "comment" : { + "undefined" : "A short informal nickname characterising an agent (includes login identifiers, IRC and other chat nicknames)." + }, + "attributes" : [ "datatype" ], + "id" : "7" + }, { + "iri" : "http://xmlns.com/foaf/0.1/openid", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "openid", + "undefined" : "openid" + }, + "superproperty" : [ "15" ], + "domain" : "1", + "comment" : { + "undefined" : "An OpenID for an Agent." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "14" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workInfoHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workInfoHomepage", + "undefined" : "work info homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A work info homepage of some person; a page about their work for some organization." + }, + "attributes" : [ "object" ], + "id" : "16" + }, { + "iri" : "http://xmlns.com/foaf/0.1/pastProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "pastProject", + "undefined" : "past project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A project this person has previously worked on." + }, + "attributes" : [ "object" ], + "id" : "17" + }, { + "iri" : "http://xmlns.com/foaf/0.1/theme", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "theme", + "undefined" : "theme" + }, + "domain" : "19", + "comment" : { + "undefined" : "A theme." + }, + "attributes" : [ "object" ], + "id" : "23" + }, { + "iri" : "http://xmlns.com/foaf/0.1/knows", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "12", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "knows", + "undefined" : "knows" + }, + "domain" : "12", + "comment" : { + "undefined" : "A person known by this person (indicating some level of reciprocated interaction between the parties)." + }, + "attributes" : [ "object" ], + "id" : "25" + }, { + "iri" : "http://xmlns.com/foaf/0.1/focus", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "29", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "focus", + "undefined" : "focus" + }, + "domain" : "9", + "comment" : { + "undefined" : "The underlying or 'focal' entity associated with some SKOS-described concept." + }, + "attributes" : [ "object" ], + "id" : "28" + }, { + "iri" : "http://xmlns.com/foaf/0.1/phone", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "phone", + "undefined" : "phone" + }, + "domain" : "19", + "comment" : { + "undefined" : "A phone, specified using fully qualified tel: URI scheme (refs: http://www.w3.org/Addressing/schemes.html#tel)." + }, + "attributes" : [ "object" ], + "id" : "30" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depicts", + "inverse" : "34", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "33", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depicts", + "undefined" : "depicts" + }, + "domain" : "32", + "comment" : { + "undefined" : "A thing depicted in this representation." + }, + "attributes" : [ "object" ], + "id" : "31" + }, { + "iri" : "http://xmlns.com/foaf/0.1/based_near", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "36", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "based_near", + "undefined" : "based near" + }, + "domain" : "36", + "comment" : { + "undefined" : "A location that something is based near, for some broadly human notion of near." + }, + "attributes" : [ "object" ], + "id" : "35" + }, { + "iri" : "http://xmlns.com/foaf/0.1/page", + "inverse" : "40", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "page", + "undefined" : "page" + }, + "domain" : "39", + "subproperty" : [ "15", "41", "42", "43" ], + "comment" : { + "undefined" : "A page or document about this thing." + }, + "attributes" : [ "object" ], + "id" : "38" + }, { + "iri" : "http://xmlns.com/foaf/0.1/geekcode", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "26", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "geekcode", + "undefined" : "geekcode" + }, + "domain" : "12", + "comment" : { + "undefined" : "A textual geekcode for this person, see http://www.geekcode.com/geek.html" + }, + "attributes" : [ "datatype" ], + "id" : "44" + }, { + "iri" : "http://xmlns.com/foaf/0.1/primaryTopic", + "inverse" : "15", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "primaryTopic", + "undefined" : "primary topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "The primary topic of some page or document." + }, + "attributes" : [ "object", "functional" ], + "id" : "47" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "49", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenName", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "48" + }, { + "iri" : "http://xmlns.com/foaf/0.1/schoolHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "schoolHomepage", + "undefined" : "schoolHomepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A homepage of a school attended by the person." + }, + "attributes" : [ "object" ], + "id" : "50" + }, { + "iri" : "http://xmlns.com/foaf/0.1/gender", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "52", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "gender", + "undefined" : "gender" + }, + "domain" : "1", + "comment" : { + "undefined" : "The gender of this Agent (typically but not necessarily 'male' or 'female')." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "51" + }, { + "iri" : "http://xmlns.com/foaf/0.1/dnaChecksum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "55", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "dnaChecksum", + "undefined" : "DNA checksum" + }, + "domain" : "19", + "comment" : { + "undefined" : "A checksum for the DNA of some thing. Joke." + }, + "attributes" : [ "datatype" ], + "id" : "54" + }, { + "iri" : "http://xmlns.com/foaf/0.1/lastName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "58", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "lastName", + "undefined" : "lastName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The last name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "57" + }, { + "iri" : "http://xmlns.com/foaf/0.1/status", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "45", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "status", + "undefined" : "status" + }, + "domain" : "1", + "comment" : { + "undefined" : "A string expressing what the user is happy for the general public (normally) to know about their current activity." + }, + "attributes" : [ "datatype" ], + "id" : "65" + }, { + "iri" : "http://xmlns.com/foaf/0.1/yahooChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "46", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "yahooChatID", + "undefined" : "Yahoo chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A Yahoo chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "66" + }, { + "iri" : "http://xmlns.com/foaf/0.1/name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "68", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "name", + "undefined" : "name" + }, + "domain" : "19", + "comment" : { + "undefined" : "A name for some thing." + }, + "attributes" : [ "datatype" ], + "id" : "67" + }, { + "iri" : "http://xmlns.com/foaf/0.1/icqChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "53", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "icqChatID", + "undefined" : "ICQ chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An ICQ chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "70" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "73", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenname", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "72" + }, { + "iri" : "http://xmlns.com/foaf/0.1/isPrimaryTopicOf", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "isPrimaryTopicOf", + "undefined" : "is primary topic of" + }, + "superproperty" : [ "38" ], + "domain" : "39", + "subproperty" : [ "14", "43" ], + "comment" : { + "undefined" : "A document that this thing is the primary topic of." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "15" + }, { + "range" : "2", + "domain" : "32", + "attributes" : [ "anonymous", "object" ], + "id" : "74" + }, { + "range" : "2", + "domain" : "71", + "attributes" : [ "anonymous", "object" ], + "id" : "75" + }, { + "range" : "78", + "domain" : "77", + "attributes" : [ "anonymous", "object" ], + "id" : "76" + }, { + "range" : "36", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "79" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountServiceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountServiceHomepage", + "undefined" : "account service homepage" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates a homepage of the service provide for this online account." + }, + "attributes" : [ "object" ], + "id" : "80" + }, { + "iri" : "http://xmlns.com/foaf/0.1/logo", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "logo", + "undefined" : "logo" + }, + "domain" : "19", + "comment" : { + "undefined" : "A logo representing some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "81" + }, { + "range" : "78", + "domain" : "83", + "attributes" : [ "anonymous", "object" ], + "id" : "82" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depiction", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depiction", + "undefined" : "depiction" + }, + "domain" : "33", + "subproperty" : [ "84" ], + "comment" : { + "undefined" : "A depiction of some thing." + }, + "attributes" : [ "object" ], + "id" : "34" + }, { + "range" : "78", + "domain" : "86", + "attributes" : [ "anonymous", "object" ], + "id" : "85" + }, { + "iri" : "http://xmlns.com/foaf/0.1/family_name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "88", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "family_name", + "undefined" : "family_name" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "87" + }, { + "range" : "1", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "89" + }, { + "range" : "1", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "90" + }, { + "iri" : "http://xmlns.com/foaf/0.1/fundedBy", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "fundedBy", + "undefined" : "funded by" + }, + "domain" : "19", + "comment" : { + "undefined" : "An organization funding a project or person." + }, + "attributes" : [ "object" ], + "id" : "91" + }, { + "iri" : "http://xmlns.com/foaf/0.1/title", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "93", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "title", + "undefined" : "title" + }, + "domain" : "19", + "comment" : { + "undefined" : "Title (Mr, Mrs, Ms, Dr. etc)" + }, + "attributes" : [ "datatype" ], + "id" : "92" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "59", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountName", + "undefined" : "account name" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates the name (identifier) associated with this online account." + }, + "attributes" : [ "datatype" ], + "id" : "95" + }, { + "iri" : "http://xmlns.com/foaf/0.1/account", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "account", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "96" + }, { + "iri" : "http://xmlns.com/foaf/0.1/jabberID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "69", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "jabberID", + "undefined" : "jabber ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A jabber ID for something." + }, + "attributes" : [ "datatype" ], + "id" : "97" + }, { + "range" : "1", + "domain" : "10", + "attributes" : [ "anonymous", "object" ], + "id" : "98" + }, { + "iri" : "http://xmlns.com/foaf/0.1/age", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "100", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "age", + "undefined" : "age" + }, + "domain" : "1", + "comment" : { + "undefined" : "The age in years of some agent." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "99" + }, { + "iri" : "http://xmlns.com/foaf/0.1/homepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "homepage", + "undefined" : "homepage" + }, + "superproperty" : [ "15", "38" ], + "domain" : "39", + "comment" : { + "undefined" : "A homepage for some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "43" + }, { + "iri" : "http://xmlns.com/foaf/0.1/tipjar", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "tipjar", + "undefined" : "tipjar" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A tipjar document for this agent, describing means for payment and reward." + }, + "attributes" : [ "object" ], + "id" : "42" + }, { + "iri" : "http://xmlns.com/foaf/0.1/msnChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "61", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "msnChatID", + "undefined" : "MSN chat ID" + }, + "domain" : "5", + "comment" : { + "undefined" : "An MSN chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "103" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic_interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic_interest", + "undefined" : "topic_interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A thing of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "104" + }, { + "iri" : "http://xmlns.com/foaf/0.1/aimChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "106", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "aimChatID", + "undefined" : "AIM chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An AIM chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "105" + }, { + "iri" : "http://xmlns.com/foaf/0.1/currentProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "currentProject", + "undefined" : "current project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A current project this person works on." + }, + "attributes" : [ "object" ], + "id" : "107" + }, { + "iri" : "http://xmlns.com/foaf/0.1/skypeID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "20", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "skypeID", + "undefined" : "Skype ID" + }, + "domain" : "1", + "comment" : { + "undefined" : "A Skype ID" + }, + "attributes" : [ "datatype" ], + "id" : "108" + }, { + "iri" : "http://xmlns.com/foaf/0.1/holdsAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "holdsAccount", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "109" + }, { + "iri" : "http://xmlns.com/foaf/0.1/thumbnail", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "thumbnail", + "undefined" : "thumbnail" + }, + "domain" : "32", + "comment" : { + "undefined" : "A derived thumbnail image." + }, + "attributes" : [ "object" ], + "id" : "110" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic", + "undefined" : "topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "A topic of some page or document." + }, + "attributes" : [ "object" ], + "id" : "40" + }, { + "iri" : "http://xmlns.com/foaf/0.1/weblog", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "weblog", + "undefined" : "weblog" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A weblog of some thing (whether person, group, company etc.)." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "41" + }, { + "iri" : "http://xmlns.com/foaf/0.1/img", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "img", + "undefined" : "image" + }, + "superproperty" : [ "34" ], + "domain" : "12", + "comment" : { + "undefined" : "An image that can be used to represent some thing (ie. those depictions which are particularly representative of something, eg. one's photo on a homepage)." + }, + "attributes" : [ "object" ], + "id" : "84" + }, { + "iri" : "http://xmlns.com/foaf/0.1/birthday", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "56", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "birthday", + "undefined" : "birthday" + }, + "domain" : "1", + "comment" : { + "undefined" : "The birthday of this Agent, represented in mm-dd string form, eg. '12-31'." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "111" + }, { + "iri" : "http://xmlns.com/foaf/0.1/sha1", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "101", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "sha1", + "undefined" : "sha1sum (hex)" + }, + "domain" : "2", + "comment" : { + "undefined" : "A sha1sum hash, in hex." + }, + "attributes" : [ "datatype" ], + "id" : "112" + }, { + "iri" : "http://xmlns.com/foaf/0.1/firstName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "24", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "firstName", + "undefined" : "firstName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The first name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "113" + }, { + "iri" : "http://xmlns.com/foaf/0.1/made", + "inverse" : "115", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "made", + "undefined" : "made" + }, + "domain" : "1", + "comment" : { + "undefined" : "Something that was made by this agent." + }, + "attributes" : [ "object" ], + "id" : "114" + }, { + "range" : "60", + "domain" : "2", + "attributes" : [ "anonymous", "object" ], + "id" : "116" + }, { + "range" : "12", + "domain" : "60", + "attributes" : [ "anonymous", "object" ], + "id" : "117" + }, { + "iri" : "http://xmlns.com/foaf/0.1/familyName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "62", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "familyName", + "undefined" : "familyName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "119" + }, { + "range" : "2", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "120" + }, { + "range" : "12", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "121" + }, { + "iri" : "http://xmlns.com/foaf/0.1/member", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "member", + "undefined" : "member" + }, + "domain" : "10", + "comment" : { + "undefined" : "Indicates a member of a Group" + }, + "attributes" : [ "object" ], + "id" : "122" + }, { + "iri" : "http://xmlns.com/foaf/0.1/plan", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "27", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "plan", + "undefined" : "plan" + }, + "domain" : "12", + "comment" : { + "undefined" : "A .plan comment, in the tradition of finger and '.plan' files." + }, + "attributes" : [ "datatype" ], + "id" : "123" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox", + "undefined" : "personal mailbox" + }, + "domain" : "1", + "comment" : { + "undefined" : "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox. This is a 'static inverse functional property', in that there is (across time and change) at most one individual that ever has any particular value for foaf:mbox." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "124" + }, { + "iri" : "http://xmlns.com/foaf/0.1/surname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "118", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "surname", + "undefined" : "Surname" + }, + "domain" : "12", + "comment" : { + "undefined" : "The surname of some person." + }, + "attributes" : [ "datatype" ], + "id" : "125" + }, { + "iri" : "http://xmlns.com/foaf/0.1/myersBriggs", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "22", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "myersBriggs", + "undefined" : "myersBriggs" + }, + "domain" : "12", + "comment" : { + "undefined" : "A Myers Briggs (MBTI) personality classification." + }, + "attributes" : [ "datatype" ], + "id" : "127" + }, { + "iri" : "http://xmlns.com/foaf/0.1/maker", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "maker", + "undefined" : "maker" + }, + "domain" : "18", + "comment" : { + "undefined" : "An agent that made this thing." + }, + "attributes" : [ "object" ], + "id" : "115" + }, { + "iri" : "http://xmlns.com/foaf/0.1/publications", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "publications", + "undefined" : "publications" + }, + "domain" : "12", + "comment" : { + "undefined" : "A link to the publications of this person." + }, + "attributes" : [ "object" ], + "id" : "128" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workplaceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workplaceHomepage", + "undefined" : "workplace homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A workplace homepage of some person; the homepage of an organization they work for." + }, + "attributes" : [ "object" ], + "id" : "129" + } ] +} \ No newline at end of file diff --git a/dist/ontology/1.0.0/webvowl/data/ontology.json b/dist/ontology/1.0.0/webvowl/data/ontology.json new file mode 100644 index 0000000..35ef420 --- /dev/null +++ b/dist/ontology/1.0.0/webvowl/data/ontology.json @@ -0,0 +1,1350 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.5), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "en", "undefined" ], + "baseIris" : [ "http://www.w3.org/1999/02/22-rdf-syntax-ns", "http://purl.org/vocommons/voaf", "http://www.w3.org/2000/01/rdf-schema", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "https://w3id.org/function/ontology" ], + "title" : { + "en" : "The Function Ontology" + }, + "iri" : "https://w3id.org/function/ontology", + "version" : "1.0.0", + "author" : [ "https://ben.de-meester.org/#me", "https://natadimou.com/#me" ], + "description" : { + "en" : "The Function Ontology allows to declare and describe functions. The specification is online at https://w3id.org/function/spec. Copyright Ghent University imec IDLab." + }, + "labels" : { + "en" : "The Function Ontology" + }, + "other" : { + "priorVersion" : [ { + "identifier" : "priorVersion", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology/0.6.0", + "type" : "iri" + } ], + "creator" : [ { + "identifier" : "creator", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + }, { + "identifier" : "creator", + "language" : "undefined", + "value" : "https://natadimou.com/#me", + "type" : "iri" + } ], + "incompatibleWith" : [ { + "identifier" : "incompatibleWith", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology/0.4.1", + "type" : "iri" + }, { + "identifier" : "incompatibleWith", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology/0.5.0", + "type" : "iri" + }, { + "identifier" : "incompatibleWith", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology/0.4", + "type" : "iri" + }, { + "identifier" : "incompatibleWith", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology/0.2", + "type" : "iri" + }, { + "identifier" : "incompatibleWith", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology/0.5.1", + "type" : "iri" + }, { + "identifier" : "incompatibleWith", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology/0.1", + "type" : "iri" + }, { + "identifier" : "incompatibleWith", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology/0.3", + "type" : "iri" + } ], + "created" : [ { + "identifier" : "created", + "language" : "undefined", + "value" : "2016-03-08", + "type" : "label" + } ], + "versionInfo" : [ { + "identifier" : "versionInfo", + "language" : "undefined", + "value" : "1.0.0", + "type" : "label" + } ], + "source" : [ { + "identifier" : "source", + "language" : "undefined", + "value" : "https://w3id.org/function/spec", + "type" : "iri" + } ], + "title" : [ { + "identifier" : "title", + "language" : "en", + "value" : "The Function Ontology", + "type" : "label" + } ], + "backwardCompatibleWith" : [ { + "identifier" : "backwardCompatibleWith", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology/0.6.0", + "type" : "iri" + } ], + "seeAlso" : [ { + "identifier" : "seeAlso", + "language" : "undefined", + "value" : "https://w3id.org/function/spec", + "type" : "iri" + } ], + "license" : [ { + "identifier" : "license", + "language" : "undefined", + "value" : "http://creativecommons.org/license/by/3.0/", + "type" : "iri" + } ], + "contributor" : [ { + "identifier" : "contributor", + "language" : "undefined", + "value" : "http://maxime-lefrancois.info/me#", + "type" : "iri" + } ], + "primaryTopic" : [ { + "identifier" : "primaryTopic", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "preferredNamespacePrefix" : [ { + "identifier" : "preferredNamespacePrefix", + "language" : "undefined", + "value" : "fno", + "type" : "label" + } ], + "rights" : [ { + "identifier" : "rights", + "language" : "en", + "value" : "Copyright Ghent University imec IDLab", + "type" : "label" + } ], + "modified" : [ { + "identifier" : "modified", + "language" : "undefined", + "value" : "2020-12-22", + "type" : "label" + } ], + "publisher" : [ { + "identifier" : "publisher", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + } ], + "logo" : [ { + "identifier" : "logo", + "language" : "undefined", + "value" : "https://w3id.org/function/img/fno_favicon.png", + "type" : "iri" + } ], + "preferredNamespaceUri" : [ { + "identifier" : "preferredNamespaceUri", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology#", + "type" : "label" + } ], + "bibliographicCitation" : [ { + "identifier" : "bibliographicCitation", + "language" : "undefined", + "value" : "De Meester, B.; Seymoens, T.; Dimou, A. & Verborgh, R. Implementation-independent Function Reuse. Future Generation Computer Systems, Elsevier BV, 2020, 110, 946-959 ", + "type" : "label" + } ], + "issued" : [ { + "identifier" : "issued", + "language" : "undefined", + "value" : "2016-03-08", + "type" : "label" + } ], + "status" : [ { + "identifier" : "status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ], + "doi" : [ { + "identifier" : "doi", + "language" : "undefined", + "value" : "10.5281/zenodo.595382", + "type" : "label" + } ], + "depiction" : [ { + "identifier" : "depiction", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/resources/images/fno-full.png", + "type" : "iri" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "3", + "type" : "owl:Class" + }, { + "id" : "11", + "type" : "rdfs:Datatype" + }, { + "id" : "13", + "type" : "owl:Class" + }, { + "id" : "8", + "type" : "owl:Thing" + }, { + "id" : "1", + "type" : "owl:Class" + }, { + "id" : "16", + "type" : "owl:Class" + }, { + "id" : "7", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:Class" + }, { + "id" : "25", + "type" : "owl:Class" + }, { + "id" : "21", + "type" : "rdfs:Datatype" + }, { + "id" : "18", + "type" : "rdfs:Datatype" + }, { + "id" : "24", + "type" : "owl:Class" + }, { + "id" : "26", + "type" : "owl:Class" + }, { + "id" : "15", + "type" : "owl:Class" + }, { + "id" : "5", + "type" : "owl:Class" + }, { + "id" : "32", + "type" : "owl:Class" + }, { + "id" : "31", + "type" : "owl:Class" + }, { + "id" : "33", + "type" : "owl:Class" + }, { + "id" : "34", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "https://w3id.org/function/ontology#Mapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fno-Mapping", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "Mapping", + "en" : "Mapping" + }, + "comment" : { + "en" : "A Mapping links (abstract) Functions and (concrete) Implementations" + }, + "id" : "3" + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#boolean", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "11", + "label" : { + "IRI-based" : "boolean" + } + }, { + "iri" : "https://w3id.org/function/ontology#MethodMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fno-MethodMapping", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "MethodMapping", + "en" : "Method mapping" + }, + "comment" : { + "en" : "A method mapping unambiguously specifies how the abstract function can be mapped to the implemented method. This can be, e.g., the name of the method" + }, + "id" : "13" + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "8", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "https://w3id.org/function/ontology#Function", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "note" : [ { + "identifier" : "note", + "language" : "en", + "value" : "A Function is an actionable thing that can have input parameters, output, solve certain problems, and can be implemented using certain algorithms.", + "type" : "label" + } ], + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fn-function", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "Function", + "en" : "Function" + }, + "comment" : { + "en" : "A Function is a process that performs a specific task by associating one or more Parameters to an Output" + }, + "id" : "1" + }, { + "iri" : "https://w3id.org/function/ontology#Execution", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "note" : [ { + "identifier" : "note", + "language" : "en", + "value" : " An Execution is the assignment of the values of the Parameters of a Function. An Execution has as result the value of the Output of the Function.", + "type" : "label" + } ], + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fn-execution", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "Execution", + "en" : "Execution" + }, + "comment" : { + "en" : "An Execution is the connection between a Function and its Parameters and Outputs." + }, + "id" : "16" + }, { + "iri" : "https://w3id.org/function/ontology#Parameter", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "note" : [ { + "identifier" : "note", + "language" : "en", + "value" : "A Function expects a list of Parameters. This description actually defines which predicates to use when binding the values to the execution of the Function. The parameters are ordered in a list, and each parameter defines the relationship that is used for the execution. For this, the fno:predicate predicate MUST be used. All predicates are allowed, except for rdf:type and fno:executes. A Parameter can have a specific type or other metadata (e.g., required or not, having a default value or not).", + "type" : "label" + } ], + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fn-parameter", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "Parameter", + "en" : "Parameter" + }, + "comment" : { + "en" : "A Parameter is the description of the input value of a Function." + }, + "id" : "7" + }, { + "iri" : "https://w3id.org/function/ontology#Problem", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "note" : [ { + "identifier" : "note", + "language" : "en", + "value" : "For example, a Function can solve the doing a sum problem, however, \"global warming\" could also be perceived as a problem, with no single function to solve it.", + "type" : "label" + } ], + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fn-problem", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "Problem", + "en" : "Problem" + }, + "comment" : { + "en" : "A Problem is a general issue. Some problems can be solved by executing a certain Function." + }, + "id" : "2" + }, { + "iri" : "https://w3id.org/function/ontology#Implementation", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "note" : [ { + "identifier" : "note", + "language" : "en", + "value" : "An Implementation depends on the used development context, i.e., the used programming language and execution environment. An Implementation could be, e.g., an NPM package.", + "type" : "label" + } ], + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fno-implementation", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "Implementation", + "en" : "Implementation" + }, + "comment" : { + "en" : "An Implementation defines the internal workings of one or more Functions" + }, + "id" : "25" + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#string", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "21", + "label" : { + "IRI-based" : "string" + } + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#boolean", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "18", + "label" : { + "IRI-based" : "boolean" + } + }, { + "iri" : "https://w3id.org/function/ontology#ReturnMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fno-ReturnMapping", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "ReturnMapping", + "en" : "Return mapping" + }, + "comment" : { + "en" : "A return mapping unambiguously specifies how the abstract output can be mapped to the implemented method's return value. For example: the return value of the method, or the thrown error of a the method" + }, + "id" : "24" + }, { + "iri" : "https://w3id.org/function/ontology#ParameterMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fno-ParameterMapping", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "ParameterMapping", + "en" : "Parameter mapping" + }, + "comment" : { + "en" : "A parameter mapping unambiguously specifies how the abstract parameter can be mapped to the implemented method's argument. For example: Parameter X is mapped to the third argument of the method (a position parameter mapping, common for programming languages), or to property with name Y of the method (a property parameter mapping, common for Web APIs)" + }, + "id" : "26" + }, { + "iri" : "https://w3id.org/function/ontology#Algorithm", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "note" : [ { + "identifier" : "note", + "language" : "en", + "value" : "A function can be implemented using a known algorithm (e.g., Dijkstra's shortest path algorithm),\r\nor use a combination of multiple algorithms to solve a certain problem.\r\nA function does not have to be implemented by any algorithm or have to be mapped one-on-one to an algorithm.\r\nIt is not required to have a one-to-one mapping between an algorithm and a problem.", + "type" : "label" + } ], + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fn-algorithm", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "Algorithm", + "en" : "Algorithm" + }, + "comment" : { + "en" : "An algorithm is a specified set of instructions, independent of its implementation." + }, + "id" : "15" + }, { + "iri" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#List", + "baseIri" : "http://www.w3.org/1999/02/22-rdf-syntax-ns", + "instances" : 0, + "label" : { + "IRI-based" : "List" + }, + "attributes" : [ "external" ], + "id" : "5" + }, { + "iri" : "http://purl.org/vocommons/voaf#Vocabulary", + "baseIri" : "http://purl.org/vocommons/voaf", + "instances" : 0, + "label" : { + "IRI-based" : "Vocabulary" + }, + "individuals" : [ { + "iri" : "https://w3id.org/function/ontology", + "baseIri" : "https://w3id.org/function", + "labels" : { + "IRI-based" : "ontology" + } + } ], + "attributes" : [ "external" ], + "id" : "32" + }, { + "iri" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property", + "baseIri" : "http://www.w3.org/1999/02/22-rdf-syntax-ns", + "instances" : 0, + "label" : { + "IRI-based" : "Property" + }, + "attributes" : [ "external" ], + "id" : "31" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "individuals" : [ { + "iri" : "https://ben.de-meester.org/#me", + "baseIri" : "https://ben.de-meester.org/", + "annotations" : { + "name" : [ { + "identifier" : "name", + "language" : "en", + "value" : "Ben De Meester", + "type" : "label" + } ], + "mbox" : [ { + "identifier" : "mbox", + "language" : "undefined", + "value" : "mailto:Ben.DeMeester@UGent.be", + "type" : "label" + } ] + }, + "labels" : { + "IRI-based" : "me", + "en" : "Ben De Meester" + } + }, { + "iri" : "https://natadimou.com/#me", + "baseIri" : "https://natadimou.com/", + "annotations" : { + "name" : [ { + "identifier" : "name", + "language" : "en", + "value" : "Anastasia Dimou", + "type" : "label" + } ], + "mbox" : [ { + "identifier" : "mbox", + "language" : "undefined", + "value" : "mailto:Anastasia.dimou@UGent.be", + "type" : "label" + } ] + }, + "labels" : { + "IRI-based" : "me", + "en" : "Anastasia Dimou" + } + } ], + "attributes" : [ "external" ], + "id" : "33" + }, { + "iri" : "https://w3id.org/function/ontology#Output", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "annotations" : { + "note" : [ { + "identifier" : "note", + "language" : "en", + "value" : "A Function can have multiple outputs, just as, e.g., callbacks in JavaScript can return multiple results, or a function could throw multiple types of errors.", + "type" : "label" + } ], + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fn-output", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "Output", + "en" : "Output" + }, + "comment" : { + "en" : "An Output is the description of the output value of a Function." + }, + "id" : "34" + } ], + "property" : [ { + "id" : "0", + "type" : "owl:objectProperty" + }, { + "id" : "4", + "type" : "owl:objectProperty" + }, { + "id" : "6", + "type" : "owl:objectProperty" + }, { + "id" : "9", + "type" : "owl:objectProperty" + }, { + "id" : "10", + "type" : "owl:datatypeProperty" + }, { + "id" : "12", + "type" : "owl:objectProperty" + }, { + "id" : "14", + "type" : "owl:objectProperty" + }, { + "id" : "17", + "type" : "owl:datatypeProperty" + }, { + "id" : "19", + "type" : "owl:objectProperty" + }, { + "id" : "20", + "type" : "owl:datatypeProperty" + }, { + "id" : "22", + "type" : "owl:objectProperty" + }, { + "id" : "23", + "type" : "owl:objectProperty" + }, { + "id" : "27", + "type" : "owl:objectProperty" + }, { + "id" : "28", + "type" : "owl:objectProperty" + }, { + "id" : "29", + "type" : "owl:objectProperty" + }, { + "id" : "30", + "type" : "owl:objectProperty" + } ], + "propertyAttribute" : [ { + "iri" : "https://w3id.org/function/ontology#solves", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fn-problem", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "solves", + "en" : "solves" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a description of a function to the description of a problem it tries to solve." + }, + "attributes" : [ "object" ], + "id" : "0" + }, { + "iri" : "https://w3id.org/function/ontology#returns", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "5", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fn-output", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "returns", + "en" : "returns" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a description of a function to the description of the output" + }, + "attributes" : [ "object" ], + "id" : "4" + }, { + "iri" : "https://w3id.org/function/ontology#type", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "8", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fn-parameter", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "type", + "en" : "type" + }, + "domain" : "7", + "comment" : { + "en" : "Connects an output or a parameter description to the type of instances of these parameters or outputs." + }, + "attributes" : [ "object" ], + "id" : "6" + }, { + "iri" : "https://w3id.org/function/ontology#expects", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "5", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fn-parameter", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "expects", + "en" : "expects" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a function description to an ordered list of zero or more parameter descriptions" + }, + "attributes" : [ "object" ], + "id" : "9" + }, { + "iri" : "https://w3id.org/function/ontology#required", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "11", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fn-parameter", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "required", + "en" : "required" + }, + "domain" : "7", + "comment" : { + "en" : "Defines if a parameter or an output is required." + }, + "attributes" : [ "datatype" ], + "id" : "10" + }, { + "iri" : "https://w3id.org/function/ontology#methodMapping", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "13", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fno-MethodMapping", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "methodMapping", + "en" : "method mapping" + }, + "domain" : "3", + "comment" : { + "en" : "Connects a method mapping to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "12" + }, { + "iri" : "https://w3id.org/function/ontology#implements", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "15", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fn-algorithm", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "implements", + "en" : "implements" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a function to an algorithm it implements. A function can implement 0..n algorithms." + }, + "attributes" : [ "object" ], + "id" : "14" + }, { + "iri" : "https://w3id.org/function/ontology#nullable", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "nullable", + "en" : "nullable" + }, + "domain" : "7", + "comment" : { + "en" : "Defines if a parameteris nullable." + }, + "attributes" : [ "datatype" ], + "id" : "17" + }, { + "iri" : "https://w3id.org/function/ontology#function", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fno-Mapping", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "function", + "en" : "function" + }, + "domain" : "3", + "comment" : { + "en" : "Connects a function to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "19" + }, { + "iri" : "https://w3id.org/function/ontology#name", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "21", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fn-function", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "name", + "en" : "name" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a function or a parameter to its name." + }, + "attributes" : [ "datatype" ], + "id" : "20" + }, { + "iri" : "https://w3id.org/function/ontology#uses", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fno-uses", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "uses", + "en" : "uses" + }, + "domain" : "16", + "comment" : { + "en" : "Connects an execution to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "22" + }, { + "iri" : "https://w3id.org/function/ontology#returnMapping", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "24", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fno-ReturnMapping", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "returnMapping", + "en" : "return mapping" + }, + "domain" : "3", + "comment" : { + "en" : "Connects a return mapping to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "23" + }, { + "iri" : "https://w3id.org/function/ontology#implementation", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "25", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fno-Mapping", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "implementation", + "en" : "implementation" + }, + "domain" : "3", + "comment" : { + "en" : "Connects an implementation to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "27" + }, { + "iri" : "https://w3id.org/function/ontology#parameterMapping", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "26", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fno-ParameterMapping", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "parameterMapping", + "en" : "parameter mapping" + }, + "domain" : "3", + "comment" : { + "en" : "Connects a parameter mapping to a mapping definition" + }, + "attributes" : [ "object" ], + "id" : "28" + }, { + "iri" : "https://w3id.org/function/ontology#executes", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fn-execution", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "executes", + "en" : "executes" + }, + "domain" : "16", + "comment" : { + "en" : "Connects a function to an execution definition" + }, + "attributes" : [ "object" ], + "id" : "29" + }, { + "iri" : "https://w3id.org/function/ontology#predicate", + "baseIri" : "https://w3id.org/function/ontology", + "range" : "31", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ], + "example" : [ { + "identifier" : "example", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/#fn-parameter", + "type" : "iri" + } ] + }, + "label" : { + "IRI-based" : "predicate", + "en" : "predicate" + }, + "domain" : "7", + "comment" : { + "en" : "Connects a parameter description to the predicate used to link executions of this function to their parameter." + }, + "attributes" : [ "object" ], + "id" : "30" + } ] +} \ No newline at end of file diff --git a/dist/ontology/1.0.0/webvowl/favicon.ico b/dist/ontology/1.0.0/webvowl/favicon.ico new file mode 100644 index 0000000..a857d51 Binary files /dev/null and b/dist/ontology/1.0.0/webvowl/favicon.ico differ diff --git a/dist/ontology/1.0.0/webvowl/index.html b/dist/ontology/1.0.0/webvowl/index.html new file mode 100644 index 0000000..09acde5 --- /dev/null +++ b/dist/ontology/1.0.0/webvowl/index.html @@ -0,0 +1,480 @@ + + + + + + + + + + + + + + + WebVOWL + + + +
    +
    + + + + + + +
    + + + + +
    +
    +
    + +
    +
    >
    + +
    + +
    + + +
    +
    +
    +

    +

    +

    +

    +

    -

    +
    +
    + + +
    +
    +
    +
    + + + +
    + + + + + + + \ No newline at end of file diff --git a/dist/ontology/1.0.0/webvowl/js/d3.min.js b/dist/ontology/1.0.0/webvowl/js/d3.min.js new file mode 100644 index 0000000..1664873 --- /dev/null +++ b/dist/ontology/1.0.0/webvowl/js/d3.min.js @@ -0,0 +1,5 @@ +!function(){function n(n){return n&&(n.ownerDocument||n.document||n).documentElement}function t(n){return n&&(n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView)}function e(n,t){return t>n?-1:n>t?1:n>=t?0:NaN}function r(n){return null===n?NaN:+n}function i(n){return!isNaN(n)}function u(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)<0?r=u+1:i=u}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)>0?i=u:r=u+1}return r}}}function o(n){return n.length}function a(n){for(var t=1;n*t%1;)t*=10;return t}function l(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function c(){this._=Object.create(null)}function f(n){return(n+="")===bo||n[0]===_o?_o+n:n}function s(n){return(n+="")[0]===_o?n.slice(1):n}function h(n){return f(n)in this._}function p(n){return(n=f(n))in this._&&delete this._[n]}function g(){var n=[];for(var t in this._)n.push(s(t));return n}function v(){var n=0;for(var t in this._)++n;return n}function d(){for(var n in this._)return!1;return!0}function y(){this._=Object.create(null)}function m(n){return n}function M(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function x(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e=0,r=wo.length;r>e;++e){var i=wo[e]+t;if(i in n)return i}}function b(){}function _(){}function w(n){function t(){for(var t,r=e,i=-1,u=r.length;++ie;e++)for(var i,u=n[e],o=0,a=u.length;a>o;o++)(i=u[o])&&t(i,o,e);return n}function Z(n){return ko(n,qo),n}function V(n){var t,e;return function(r,i,u){var o,a=n[u].update,l=a.length;for(u!=e&&(e=u,t=0),i>=t&&(t=i+1);!(o=a[t])&&++t0&&(n=n.slice(0,a));var c=To.get(n);return c&&(n=c,l=B),a?t?i:r:t?b:u}function $(n,t){return function(e){var r=ao.event;ao.event=e,t[0]=this.__data__;try{n.apply(this,t)}finally{ao.event=r}}}function B(n,t){var e=$(n,t);return function(n){var t=this,r=n.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||e.call(t,n)}}function W(e){var r=".dragsuppress-"+ ++Do,i="click"+r,u=ao.select(t(e)).on("touchmove"+r,S).on("dragstart"+r,S).on("selectstart"+r,S);if(null==Ro&&(Ro="onselectstart"in e?!1:x(e.style,"userSelect")),Ro){var o=n(e).style,a=o[Ro];o[Ro]="none"}return function(n){if(u.on(r,null),Ro&&(o[Ro]=a),n){var t=function(){u.on(i,null)};u.on(i,function(){S(),t()},!0),setTimeout(t,0)}}}function J(n,e){e.changedTouches&&(e=e.changedTouches[0]);var r=n.ownerSVGElement||n;if(r.createSVGPoint){var i=r.createSVGPoint();if(0>Po){var u=t(n);if(u.scrollX||u.scrollY){r=ao.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var o=r[0][0].getScreenCTM();Po=!(o.f||o.e),r.remove()}}return Po?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),i=i.matrixTransform(n.getScreenCTM().inverse()),[i.x,i.y]}var a=n.getBoundingClientRect();return[e.clientX-a.left-n.clientLeft,e.clientY-a.top-n.clientTop]}function G(){return ao.event.changedTouches[0].identifier}function K(n){return n>0?1:0>n?-1:0}function Q(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(t[1]-n[1])*(e[0]-n[0])}function nn(n){return n>1?0:-1>n?Fo:Math.acos(n)}function tn(n){return n>1?Io:-1>n?-Io:Math.asin(n)}function en(n){return((n=Math.exp(n))-1/n)/2}function rn(n){return((n=Math.exp(n))+1/n)/2}function un(n){return((n=Math.exp(2*n))-1)/(n+1)}function on(n){return(n=Math.sin(n/2))*n}function an(){}function ln(n,t,e){return this instanceof ln?(this.h=+n,this.s=+t,void(this.l=+e)):arguments.length<2?n instanceof ln?new ln(n.h,n.s,n.l):_n(""+n,wn,ln):new ln(n,t,e)}function cn(n,t,e){function r(n){return n>360?n-=360:0>n&&(n+=360),60>n?u+(o-u)*n/60:180>n?o:240>n?u+(o-u)*(240-n)/60:u}function i(n){return Math.round(255*r(n))}var u,o;return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:0>t?0:t>1?1:t,e=0>e?0:e>1?1:e,o=.5>=e?e*(1+t):e+t-e*t,u=2*e-o,new mn(i(n+120),i(n),i(n-120))}function fn(n,t,e){return this instanceof fn?(this.h=+n,this.c=+t,void(this.l=+e)):arguments.length<2?n instanceof fn?new fn(n.h,n.c,n.l):n instanceof hn?gn(n.l,n.a,n.b):gn((n=Sn((n=ao.rgb(n)).r,n.g,n.b)).l,n.a,n.b):new fn(n,t,e)}function sn(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new hn(e,Math.cos(n*=Yo)*t,Math.sin(n)*t)}function hn(n,t,e){return this instanceof hn?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof hn?new hn(n.l,n.a,n.b):n instanceof fn?sn(n.h,n.c,n.l):Sn((n=mn(n)).r,n.g,n.b):new hn(n,t,e)}function pn(n,t,e){var r=(n+16)/116,i=r+t/500,u=r-e/200;return i=vn(i)*na,r=vn(r)*ta,u=vn(u)*ea,new mn(yn(3.2404542*i-1.5371385*r-.4985314*u),yn(-.969266*i+1.8760108*r+.041556*u),yn(.0556434*i-.2040259*r+1.0572252*u))}function gn(n,t,e){return n>0?new fn(Math.atan2(e,t)*Zo,Math.sqrt(t*t+e*e),n):new fn(NaN,NaN,n)}function vn(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function dn(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function yn(n){return Math.round(255*(.00304>=n?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function mn(n,t,e){return this instanceof mn?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof mn?new mn(n.r,n.g,n.b):_n(""+n,mn,cn):new mn(n,t,e)}function Mn(n){return new mn(n>>16,n>>8&255,255&n)}function xn(n){return Mn(n)+""}function bn(n){return 16>n?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function _n(n,t,e){var r,i,u,o=0,a=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(Nn(i[0]),Nn(i[1]),Nn(i[2]))}return(u=ua.get(n))?t(u.r,u.g,u.b):(null==n||"#"!==n.charAt(0)||isNaN(u=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&u)>>4,o=o>>4|o,a=240&u,a=a>>4|a,l=15&u,l=l<<4|l):7===n.length&&(o=(16711680&u)>>16,a=(65280&u)>>8,l=255&u)),t(o,a,l))}function wn(n,t,e){var r,i,u=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-u,l=(o+u)/2;return a?(i=.5>l?a/(o+u):a/(2-o-u),r=n==o?(t-e)/a+(e>t?6:0):t==o?(e-n)/a+2:(n-t)/a+4,r*=60):(r=NaN,i=l>0&&1>l?0:r),new ln(r,i,l)}function Sn(n,t,e){n=kn(n),t=kn(t),e=kn(e);var r=dn((.4124564*n+.3575761*t+.1804375*e)/na),i=dn((.2126729*n+.7151522*t+.072175*e)/ta),u=dn((.0193339*n+.119192*t+.9503041*e)/ea);return hn(116*i-16,500*(r-i),200*(i-u))}function kn(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Nn(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}function En(n){return"function"==typeof n?n:function(){return n}}function An(n){return function(t,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=null),Cn(t,e,n,r)}}function Cn(n,t,e,r){function i(){var n,t=l.status;if(!t&&Ln(l)||t>=200&&300>t||304===t){try{n=e.call(u,l)}catch(r){return void o.error.call(u,r)}o.load.call(u,n)}else o.error.call(u,l)}var u={},o=ao.dispatch("beforesend","progress","load","error"),a={},l=new XMLHttpRequest,c=null;return!this.XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(n)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=i:l.onreadystatechange=function(){l.readyState>3&&i()},l.onprogress=function(n){var t=ao.event;ao.event=n;try{o.progress.call(u,l)}finally{ao.event=t}},u.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?a[n]:(null==t?delete a[n]:a[n]=t+"",u)},u.mimeType=function(n){return arguments.length?(t=null==n?null:n+"",u):t},u.responseType=function(n){return arguments.length?(c=n,u):c},u.response=function(n){return e=n,u},["get","post"].forEach(function(n){u[n]=function(){return u.send.apply(u,[n].concat(co(arguments)))}}),u.send=function(e,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),l.open(e,n,!0),null==t||"accept"in a||(a.accept=t+",*/*"),l.setRequestHeader)for(var f in a)l.setRequestHeader(f,a[f]);return null!=t&&l.overrideMimeType&&l.overrideMimeType(t),null!=c&&(l.responseType=c),null!=i&&u.on("error",i).on("load",function(n){i(null,n)}),o.beforesend.call(u,l),l.send(null==r?null:r),u},u.abort=function(){return l.abort(),u},ao.rebind(u,o,"on"),null==r?u:u.get(zn(r))}function zn(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}function Ln(n){var t=n.responseType;return t&&"text"!==t?n.response:n.responseText}function qn(n,t,e){var r=arguments.length;2>r&&(t=0),3>r&&(e=Date.now());var i=e+t,u={c:n,t:i,n:null};return aa?aa.n=u:oa=u,aa=u,la||(ca=clearTimeout(ca),la=1,fa(Tn)),u}function Tn(){var n=Rn(),t=Dn()-n;t>24?(isFinite(t)&&(clearTimeout(ca),ca=setTimeout(Tn,t)),la=0):(la=1,fa(Tn))}function Rn(){for(var n=Date.now(),t=oa;t;)n>=t.t&&t.c(n-t.t)&&(t.c=null),t=t.n;return n}function Dn(){for(var n,t=oa,e=1/0;t;)t.c?(t.t8?function(n){return n/e}:function(n){return n*e},symbol:n}}function jn(n){var t=n.decimal,e=n.thousands,r=n.grouping,i=n.currency,u=r&&e?function(n,t){for(var i=n.length,u=[],o=0,a=r[0],l=0;i>0&&a>0&&(l+a+1>t&&(a=Math.max(1,t-l)),u.push(n.substring(i-=a,i+a)),!((l+=a+1)>t));)a=r[o=(o+1)%r.length];return u.reverse().join(e)}:m;return function(n){var e=ha.exec(n),r=e[1]||" ",o=e[2]||">",a=e[3]||"-",l=e[4]||"",c=e[5],f=+e[6],s=e[7],h=e[8],p=e[9],g=1,v="",d="",y=!1,m=!0;switch(h&&(h=+h.substring(1)),(c||"0"===r&&"="===o)&&(c=r="0",o="="),p){case"n":s=!0,p="g";break;case"%":g=100,d="%",p="f";break;case"p":g=100,d="%",p="r";break;case"b":case"o":case"x":case"X":"#"===l&&(v="0"+p.toLowerCase());case"c":m=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===l&&(v=i[0],d=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=pa.get(p)||Fn;var M=c&&s;return function(n){var e=d;if(y&&n%1)return"";var i=0>n||0===n&&0>1/n?(n=-n,"-"):"-"===a?"":a;if(0>g){var l=ao.formatPrefix(n,h);n=l.scale(n),e=l.symbol+d}else n*=g;n=p(n,h);var x,b,_=n.lastIndexOf(".");if(0>_){var w=m?n.lastIndexOf("e"):-1;0>w?(x=n,b=""):(x=n.substring(0,w),b=n.substring(w))}else x=n.substring(0,_),b=t+n.substring(_+1);!c&&s&&(x=u(x,1/0));var S=v.length+x.length+b.length+(M?0:i.length),k=f>S?new Array(S=f-S+1).join(r):"";return M&&(x=u(k+x,k.length?f-b.length:1/0)),i+=v,n=x+b,("<"===o?i+n+k:">"===o?k+i+n:"^"===o?k.substring(0,S>>=1)+i+n+k.substring(S):i+(M?n:k+n))+e}}}function Fn(n){return n+""}function Hn(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function On(n,t,e){function r(t){var e=n(t),r=u(e,1);return r-t>t-e?e:r}function i(e){return t(e=n(new va(e-1)),1),e}function u(n,e){return t(n=new va(+n),e),n}function o(n,r,u){var o=i(n),a=[];if(u>1)for(;r>o;)e(o)%u||a.push(new Date(+o)),t(o,1);else for(;r>o;)a.push(new Date(+o)),t(o,1);return a}function a(n,t,e){try{va=Hn;var r=new Hn;return r._=n,o(r,t,e)}finally{va=Date}}n.floor=n,n.round=r,n.ceil=i,n.offset=u,n.range=o;var l=n.utc=In(n);return l.floor=l,l.round=In(r),l.ceil=In(i),l.offset=In(u),l.range=a,n}function In(n){return function(t,e){try{va=Hn;var r=new Hn;return r._=t,n(r,e)._}finally{va=Date}}}function Yn(n){function t(n){function t(t){for(var e,i,u,o=[],a=-1,l=0;++aa;){if(r>=c)return-1;if(i=t.charCodeAt(a++),37===i){if(o=t.charAt(a++),u=C[o in ya?t.charAt(a++):o],!u||(r=u(n,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function r(n,t,e){_.lastIndex=0;var r=_.exec(t.slice(e));return r?(n.w=w.get(r[0].toLowerCase()),e+r[0].length):-1}function i(n,t,e){x.lastIndex=0;var r=x.exec(t.slice(e));return r?(n.w=b.get(r[0].toLowerCase()),e+r[0].length):-1}function u(n,t,e){N.lastIndex=0;var r=N.exec(t.slice(e));return r?(n.m=E.get(r[0].toLowerCase()),e+r[0].length):-1}function o(n,t,e){S.lastIndex=0;var r=S.exec(t.slice(e));return r?(n.m=k.get(r[0].toLowerCase()),e+r[0].length):-1}function a(n,t,r){return e(n,A.c.toString(),t,r)}function l(n,t,r){return e(n,A.x.toString(),t,r)}function c(n,t,r){return e(n,A.X.toString(),t,r)}function f(n,t,e){var r=M.get(t.slice(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)}var s=n.dateTime,h=n.date,p=n.time,g=n.periods,v=n.days,d=n.shortDays,y=n.months,m=n.shortMonths;t.utc=function(n){function e(n){try{va=Hn;var t=new va;return t._=n,r(t)}finally{va=Date}}var r=t(n);return e.parse=function(n){try{va=Hn;var t=r.parse(n);return t&&t._}finally{va=Date}},e.toString=r.toString,e},t.multi=t.utc.multi=ct;var M=ao.map(),x=Vn(v),b=Xn(v),_=Vn(d),w=Xn(d),S=Vn(y),k=Xn(y),N=Vn(m),E=Xn(m);g.forEach(function(n,t){M.set(n.toLowerCase(),t)});var A={a:function(n){return d[n.getDay()]},A:function(n){return v[n.getDay()]},b:function(n){return m[n.getMonth()]},B:function(n){return y[n.getMonth()]},c:t(s),d:function(n,t){return Zn(n.getDate(),t,2)},e:function(n,t){return Zn(n.getDate(),t,2)},H:function(n,t){return Zn(n.getHours(),t,2)},I:function(n,t){return Zn(n.getHours()%12||12,t,2)},j:function(n,t){return Zn(1+ga.dayOfYear(n),t,3)},L:function(n,t){return Zn(n.getMilliseconds(),t,3)},m:function(n,t){return Zn(n.getMonth()+1,t,2)},M:function(n,t){return Zn(n.getMinutes(),t,2)},p:function(n){return g[+(n.getHours()>=12)]},S:function(n,t){return Zn(n.getSeconds(),t,2)},U:function(n,t){return Zn(ga.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return Zn(ga.mondayOfYear(n),t,2)},x:t(h),X:t(p),y:function(n,t){return Zn(n.getFullYear()%100,t,2)},Y:function(n,t){return Zn(n.getFullYear()%1e4,t,4)},Z:at,"%":function(){return"%"}},C={a:r,A:i,b:u,B:o,c:a,d:tt,e:tt,H:rt,I:rt,j:et,L:ot,m:nt,M:it,p:f,S:ut,U:Bn,w:$n,W:Wn,x:l,X:c,y:Gn,Y:Jn,Z:Kn,"%":lt};return t}function Zn(n,t,e){var r=0>n?"-":"",i=(r?-n:n)+"",u=i.length;return r+(e>u?new Array(e-u+1).join(t)+i:i)}function Vn(n){return new RegExp("^(?:"+n.map(ao.requote).join("|")+")","i")}function Xn(n){for(var t=new c,e=-1,r=n.length;++e68?1900:2e3)}function nt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function tt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function et(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function rt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function it(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function ut(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function ot(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function at(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=xo(t)/60|0,i=xo(t)%60;return e+Zn(r,"0",2)+Zn(i,"0",2)}function lt(n,t,e){Ma.lastIndex=0;var r=Ma.exec(t.slice(e,e+1));return r?e+r[0].length:-1}function ct(n){for(var t=n.length,e=-1;++e=0?1:-1,a=o*e,l=Math.cos(t),c=Math.sin(t),f=u*c,s=i*l+f*Math.cos(a),h=f*o*Math.sin(a);ka.add(Math.atan2(h,s)),r=n,i=l,u=c}var t,e,r,i,u;Na.point=function(o,a){Na.point=n,r=(t=o)*Yo,i=Math.cos(a=(e=a)*Yo/2+Fo/4),u=Math.sin(a)},Na.lineEnd=function(){n(t,e)}}function dt(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function yt(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function mt(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function Mt(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function xt(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function bt(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function _t(n){return[Math.atan2(n[1],n[0]),tn(n[2])]}function wt(n,t){return xo(n[0]-t[0])a;++a)i.point((e=n[a])[0],e[1]);return void i.lineEnd()}var l=new Tt(e,n,null,!0),c=new Tt(e,null,l,!1);l.o=c,u.push(l),o.push(c),l=new Tt(r,n,null,!1),c=new Tt(r,null,l,!0),l.o=c,u.push(l),o.push(c)}}),o.sort(t),qt(u),qt(o),u.length){for(var a=0,l=e,c=o.length;c>a;++a)o[a].e=l=!l;for(var f,s,h=u[0];;){for(var p=h,g=!0;p.v;)if((p=p.n)===h)return;f=p.z,i.lineStart();do{if(p.v=p.o.v=!0,p.e){if(g)for(var a=0,c=f.length;c>a;++a)i.point((s=f[a])[0],s[1]);else r(p.x,p.n.x,1,i);p=p.n}else{if(g){f=p.p.z;for(var a=f.length-1;a>=0;--a)i.point((s=f[a])[0],s[1])}else r(p.x,p.p.x,-1,i);p=p.p}p=p.o,f=p.z,g=!g}while(!p.v);i.lineEnd()}}}function qt(n){if(t=n.length){for(var t,e,r=0,i=n[0];++r0){for(b||(u.polygonStart(),b=!0),u.lineStart();++o1&&2&t&&e.push(e.pop().concat(e.shift())),p.push(e.filter(Dt))}var p,g,v,d=t(u),y=i.invert(r[0],r[1]),m={point:o,lineStart:l,lineEnd:c,polygonStart:function(){m.point=f,m.lineStart=s,m.lineEnd=h,p=[],g=[]},polygonEnd:function(){m.point=o,m.lineStart=l,m.lineEnd=c,p=ao.merge(p);var n=Ot(y,g);p.length?(b||(u.polygonStart(),b=!0),Lt(p,Ut,n,e,u)):n&&(b||(u.polygonStart(),b=!0),u.lineStart(),e(null,null,1,u),u.lineEnd()),b&&(u.polygonEnd(),b=!1),p=g=null},sphere:function(){u.polygonStart(),u.lineStart(),e(null,null,1,u),u.lineEnd(),u.polygonEnd()}},M=Pt(),x=t(M),b=!1;return m}}function Dt(n){return n.length>1}function Pt(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:b,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Ut(n,t){return((n=n.x)[0]<0?n[1]-Io-Uo:Io-n[1])-((t=t.x)[0]<0?t[1]-Io-Uo:Io-t[1])}function jt(n){var t,e=NaN,r=NaN,i=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(u,o){var a=u>0?Fo:-Fo,l=xo(u-e);xo(l-Fo)0?Io:-Io),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(a,r),n.point(u,r),t=0):i!==a&&l>=Fo&&(xo(e-i)Uo?Math.atan((Math.sin(t)*(u=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(t))*Math.sin(n))/(i*u*o)):(t+r)/2}function Ht(n,t,e,r){var i;if(null==n)i=e*Io,r.point(-Fo,i),r.point(0,i),r.point(Fo,i),r.point(Fo,0),r.point(Fo,-i),r.point(0,-i),r.point(-Fo,-i),r.point(-Fo,0),r.point(-Fo,i);else if(xo(n[0]-t[0])>Uo){var u=n[0]a;++a){var c=t[a],f=c.length;if(f)for(var s=c[0],h=s[0],p=s[1]/2+Fo/4,g=Math.sin(p),v=Math.cos(p),d=1;;){d===f&&(d=0),n=c[d];var y=n[0],m=n[1]/2+Fo/4,M=Math.sin(m),x=Math.cos(m),b=y-h,_=b>=0?1:-1,w=_*b,S=w>Fo,k=g*M;if(ka.add(Math.atan2(k*_*Math.sin(w),v*x+k*Math.cos(w))),u+=S?b+_*Ho:b,S^h>=e^y>=e){var N=mt(dt(s),dt(n));bt(N);var E=mt(i,N);bt(E);var A=(S^b>=0?-1:1)*tn(E[2]);(r>A||r===A&&(N[0]||N[1]))&&(o+=S^b>=0?1:-1)}if(!d++)break;h=y,g=M,v=x,s=n}}return(-Uo>u||Uo>u&&-Uo>ka)^1&o}function It(n){function t(n,t){return Math.cos(n)*Math.cos(t)>u}function e(n){var e,u,l,c,f;return{lineStart:function(){c=l=!1,f=1},point:function(s,h){var p,g=[s,h],v=t(s,h),d=o?v?0:i(s,h):v?i(s+(0>s?Fo:-Fo),h):0;if(!e&&(c=l=v)&&n.lineStart(),v!==l&&(p=r(e,g),(wt(e,p)||wt(g,p))&&(g[0]+=Uo,g[1]+=Uo,v=t(g[0],g[1]))),v!==l)f=0,v?(n.lineStart(),p=r(g,e),n.point(p[0],p[1])):(p=r(e,g),n.point(p[0],p[1]),n.lineEnd()),e=p;else if(a&&e&&o^v){var y;d&u||!(y=r(g,e,!0))||(f=0,o?(n.lineStart(),n.point(y[0][0],y[0][1]),n.point(y[1][0],y[1][1]),n.lineEnd()):(n.point(y[1][0],y[1][1]),n.lineEnd(),n.lineStart(),n.point(y[0][0],y[0][1])))}!v||e&&wt(e,g)||n.point(g[0],g[1]),e=g,l=v,u=d},lineEnd:function(){l&&n.lineEnd(),e=null},clean:function(){return f|(c&&l)<<1}}}function r(n,t,e){var r=dt(n),i=dt(t),o=[1,0,0],a=mt(r,i),l=yt(a,a),c=a[0],f=l-c*c;if(!f)return!e&&n;var s=u*l/f,h=-u*c/f,p=mt(o,a),g=xt(o,s),v=xt(a,h);Mt(g,v);var d=p,y=yt(g,d),m=yt(d,d),M=y*y-m*(yt(g,g)-1);if(!(0>M)){var x=Math.sqrt(M),b=xt(d,(-y-x)/m);if(Mt(b,g),b=_t(b),!e)return b;var _,w=n[0],S=t[0],k=n[1],N=t[1];w>S&&(_=w,w=S,S=_);var E=S-w,A=xo(E-Fo)E;if(!A&&k>N&&(_=k,k=N,N=_),C?A?k+N>0^b[1]<(xo(b[0]-w)Fo^(w<=b[0]&&b[0]<=S)){var z=xt(d,(-y+x)/m);return Mt(z,g),[b,_t(z)]}}}function i(t,e){var r=o?n:Fo-n,i=0;return-r>t?i|=1:t>r&&(i|=2),-r>e?i|=4:e>r&&(i|=8),i}var u=Math.cos(n),o=u>0,a=xo(u)>Uo,l=ve(n,6*Yo);return Rt(t,e,l,o?[0,-n]:[-Fo,n-Fo])}function Yt(n,t,e,r){return function(i){var u,o=i.a,a=i.b,l=o.x,c=o.y,f=a.x,s=a.y,h=0,p=1,g=f-l,v=s-c;if(u=n-l,g||!(u>0)){if(u/=g,0>g){if(h>u)return;p>u&&(p=u)}else if(g>0){if(u>p)return;u>h&&(h=u)}if(u=e-l,g||!(0>u)){if(u/=g,0>g){if(u>p)return;u>h&&(h=u)}else if(g>0){if(h>u)return;p>u&&(p=u)}if(u=t-c,v||!(u>0)){if(u/=v,0>v){if(h>u)return;p>u&&(p=u)}else if(v>0){if(u>p)return;u>h&&(h=u)}if(u=r-c,v||!(0>u)){if(u/=v,0>v){if(u>p)return;u>h&&(h=u)}else if(v>0){if(h>u)return;p>u&&(p=u)}return h>0&&(i.a={x:l+h*g,y:c+h*v}),1>p&&(i.b={x:l+p*g,y:c+p*v}),i}}}}}}function Zt(n,t,e,r){function i(r,i){return xo(r[0]-n)0?0:3:xo(r[0]-e)0?2:1:xo(r[1]-t)0?1:0:i>0?3:2}function u(n,t){return o(n.x,t.x)}function o(n,t){var e=i(n,1),r=i(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}return function(a){function l(n){for(var t=0,e=d.length,r=n[1],i=0;e>i;++i)for(var u,o=1,a=d[i],l=a.length,c=a[0];l>o;++o)u=a[o],c[1]<=r?u[1]>r&&Q(c,u,n)>0&&++t:u[1]<=r&&Q(c,u,n)<0&&--t,c=u;return 0!==t}function c(u,a,l,c){var f=0,s=0;if(null==u||(f=i(u,l))!==(s=i(a,l))||o(u,a)<0^l>0){do c.point(0===f||3===f?n:e,f>1?r:t);while((f=(f+l+4)%4)!==s)}else c.point(a[0],a[1])}function f(i,u){return i>=n&&e>=i&&u>=t&&r>=u}function s(n,t){f(n,t)&&a.point(n,t)}function h(){C.point=g,d&&d.push(y=[]),S=!0,w=!1,b=_=NaN}function p(){v&&(g(m,M),x&&w&&E.rejoin(),v.push(E.buffer())),C.point=s,w&&a.lineEnd()}function g(n,t){n=Math.max(-Ha,Math.min(Ha,n)),t=Math.max(-Ha,Math.min(Ha,t));var e=f(n,t);if(d&&y.push([n,t]),S)m=n,M=t,x=e,S=!1,e&&(a.lineStart(),a.point(n,t));else if(e&&w)a.point(n,t);else{var r={a:{x:b,y:_},b:{x:n,y:t}};A(r)?(w||(a.lineStart(),a.point(r.a.x,r.a.y)),a.point(r.b.x,r.b.y),e||a.lineEnd(),k=!1):e&&(a.lineStart(),a.point(n,t),k=!1)}b=n,_=t,w=e}var v,d,y,m,M,x,b,_,w,S,k,N=a,E=Pt(),A=Yt(n,t,e,r),C={point:s,lineStart:h,lineEnd:p,polygonStart:function(){a=E,v=[],d=[],k=!0},polygonEnd:function(){a=N,v=ao.merge(v);var t=l([n,r]),e=k&&t,i=v.length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),c(null,null,1,a),a.lineEnd()),i&&Lt(v,u,t,c,a),a.polygonEnd()),v=d=y=null}};return C}}function Vt(n){var t=0,e=Fo/3,r=ae(n),i=r(t,e);return i.parallels=function(n){return arguments.length?r(t=n[0]*Fo/180,e=n[1]*Fo/180):[t/Fo*180,e/Fo*180]},i}function Xt(n,t){function e(n,t){var e=Math.sqrt(u-2*i*Math.sin(t))/i;return[e*Math.sin(n*=i),o-e*Math.cos(n)]}var r=Math.sin(n),i=(r+Math.sin(t))/2,u=1+r*(2*i-r),o=Math.sqrt(u)/i;return e.invert=function(n,t){var e=o-t;return[Math.atan2(n,e)/i,tn((u-(n*n+e*e)*i*i)/(2*i))]},e}function $t(){function n(n,t){Ia+=i*n-r*t,r=n,i=t}var t,e,r,i;$a.point=function(u,o){$a.point=n,t=r=u,e=i=o},$a.lineEnd=function(){n(t,e)}}function Bt(n,t){Ya>n&&(Ya=n),n>Va&&(Va=n),Za>t&&(Za=t),t>Xa&&(Xa=t)}function Wt(){function n(n,t){o.push("M",n,",",t,u)}function t(n,t){o.push("M",n,",",t),a.point=e}function e(n,t){o.push("L",n,",",t)}function r(){a.point=n}function i(){o.push("Z")}var u=Jt(4.5),o=[],a={point:n,lineStart:function(){a.point=t},lineEnd:r,polygonStart:function(){a.lineEnd=i},polygonEnd:function(){a.lineEnd=r,a.point=n},pointRadius:function(n){return u=Jt(n),a},result:function(){if(o.length){var n=o.join("");return o=[],n}}};return a}function Jt(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function Gt(n,t){Ca+=n,za+=t,++La}function Kt(){function n(n,r){var i=n-t,u=r-e,o=Math.sqrt(i*i+u*u);qa+=o*(t+n)/2,Ta+=o*(e+r)/2,Ra+=o,Gt(t=n,e=r)}var t,e;Wa.point=function(r,i){Wa.point=n,Gt(t=r,e=i)}}function Qt(){Wa.point=Gt}function ne(){function n(n,t){var e=n-r,u=t-i,o=Math.sqrt(e*e+u*u);qa+=o*(r+n)/2,Ta+=o*(i+t)/2,Ra+=o,o=i*n-r*t,Da+=o*(r+n),Pa+=o*(i+t),Ua+=3*o,Gt(r=n,i=t)}var t,e,r,i;Wa.point=function(u,o){Wa.point=n,Gt(t=r=u,e=i=o)},Wa.lineEnd=function(){n(t,e)}}function te(n){function t(t,e){n.moveTo(t+o,e),n.arc(t,e,o,0,Ho)}function e(t,e){n.moveTo(t,e),a.point=r}function r(t,e){n.lineTo(t,e)}function i(){a.point=t}function u(){n.closePath()}var o=4.5,a={point:t,lineStart:function(){a.point=e},lineEnd:i,polygonStart:function(){a.lineEnd=u},polygonEnd:function(){a.lineEnd=i,a.point=t},pointRadius:function(n){return o=n,a},result:b};return a}function ee(n){function t(n){return(a?r:e)(n)}function e(t){return ue(t,function(e,r){e=n(e,r),t.point(e[0],e[1])})}function r(t){function e(e,r){e=n(e,r),t.point(e[0],e[1])}function r(){M=NaN,S.point=u,t.lineStart()}function u(e,r){var u=dt([e,r]),o=n(e,r);i(M,x,m,b,_,w,M=o[0],x=o[1],m=e,b=u[0],_=u[1],w=u[2],a,t),t.point(M,x)}function o(){S.point=e,t.lineEnd()}function l(){ +r(),S.point=c,S.lineEnd=f}function c(n,t){u(s=n,h=t),p=M,g=x,v=b,d=_,y=w,S.point=u}function f(){i(M,x,m,b,_,w,p,g,s,v,d,y,a,t),S.lineEnd=o,o()}var s,h,p,g,v,d,y,m,M,x,b,_,w,S={point:e,lineStart:r,lineEnd:o,polygonStart:function(){t.polygonStart(),S.lineStart=l},polygonEnd:function(){t.polygonEnd(),S.lineStart=r}};return S}function i(t,e,r,a,l,c,f,s,h,p,g,v,d,y){var m=f-t,M=s-e,x=m*m+M*M;if(x>4*u&&d--){var b=a+p,_=l+g,w=c+v,S=Math.sqrt(b*b+_*_+w*w),k=Math.asin(w/=S),N=xo(xo(w)-1)u||xo((m*z+M*L)/x-.5)>.3||o>a*p+l*g+c*v)&&(i(t,e,r,a,l,c,A,C,N,b/=S,_/=S,w,d,y),y.point(A,C),i(A,C,N,b,_,w,f,s,h,p,g,v,d,y))}}var u=.5,o=Math.cos(30*Yo),a=16;return t.precision=function(n){return arguments.length?(a=(u=n*n)>0&&16,t):Math.sqrt(u)},t}function re(n){var t=ee(function(t,e){return n([t*Zo,e*Zo])});return function(n){return le(t(n))}}function ie(n){this.stream=n}function ue(n,t){return{point:t,sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}function oe(n){return ae(function(){return n})()}function ae(n){function t(n){return n=a(n[0]*Yo,n[1]*Yo),[n[0]*h+l,c-n[1]*h]}function e(n){return n=a.invert((n[0]-l)/h,(c-n[1])/h),n&&[n[0]*Zo,n[1]*Zo]}function r(){a=Ct(o=se(y,M,x),u);var n=u(v,d);return l=p-n[0]*h,c=g+n[1]*h,i()}function i(){return f&&(f.valid=!1,f=null),t}var u,o,a,l,c,f,s=ee(function(n,t){return n=u(n,t),[n[0]*h+l,c-n[1]*h]}),h=150,p=480,g=250,v=0,d=0,y=0,M=0,x=0,b=Fa,_=m,w=null,S=null;return t.stream=function(n){return f&&(f.valid=!1),f=le(b(o,s(_(n)))),f.valid=!0,f},t.clipAngle=function(n){return arguments.length?(b=null==n?(w=n,Fa):It((w=+n)*Yo),i()):w},t.clipExtent=function(n){return arguments.length?(S=n,_=n?Zt(n[0][0],n[0][1],n[1][0],n[1][1]):m,i()):S},t.scale=function(n){return arguments.length?(h=+n,r()):h},t.translate=function(n){return arguments.length?(p=+n[0],g=+n[1],r()):[p,g]},t.center=function(n){return arguments.length?(v=n[0]%360*Yo,d=n[1]%360*Yo,r()):[v*Zo,d*Zo]},t.rotate=function(n){return arguments.length?(y=n[0]%360*Yo,M=n[1]%360*Yo,x=n.length>2?n[2]%360*Yo:0,r()):[y*Zo,M*Zo,x*Zo]},ao.rebind(t,s,"precision"),function(){return u=n.apply(this,arguments),t.invert=u.invert&&e,r()}}function le(n){return ue(n,function(t,e){n.point(t*Yo,e*Yo)})}function ce(n,t){return[n,t]}function fe(n,t){return[n>Fo?n-Ho:-Fo>n?n+Ho:n,t]}function se(n,t,e){return n?t||e?Ct(pe(n),ge(t,e)):pe(n):t||e?ge(t,e):fe}function he(n){return function(t,e){return t+=n,[t>Fo?t-Ho:-Fo>t?t+Ho:t,e]}}function pe(n){var t=he(n);return t.invert=he(-n),t}function ge(n,t){function e(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*r+a*i;return[Math.atan2(l*u-f*o,a*r-c*i),tn(f*u+l*o)]}var r=Math.cos(n),i=Math.sin(n),u=Math.cos(t),o=Math.sin(t);return e.invert=function(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*u-l*o;return[Math.atan2(l*u+c*o,a*r+f*i),tn(f*r-a*i)]},e}function ve(n,t){var e=Math.cos(n),r=Math.sin(n);return function(i,u,o,a){var l=o*t;null!=i?(i=de(e,i),u=de(e,u),(o>0?u>i:i>u)&&(i+=o*Ho)):(i=n+o*Ho,u=n-.5*l);for(var c,f=i;o>0?f>u:u>f;f-=l)a.point((c=_t([e,-r*Math.cos(f),-r*Math.sin(f)]))[0],c[1])}}function de(n,t){var e=dt(t);e[0]-=n,bt(e);var r=nn(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Uo)%(2*Math.PI)}function ye(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[n,t]})}}function me(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[t,n]})}}function Me(n){return n.source}function xe(n){return n.target}function be(n,t,e,r){var i=Math.cos(t),u=Math.sin(t),o=Math.cos(r),a=Math.sin(r),l=i*Math.cos(n),c=i*Math.sin(n),f=o*Math.cos(e),s=o*Math.sin(e),h=2*Math.asin(Math.sqrt(on(r-t)+i*o*on(e-n))),p=1/Math.sin(h),g=h?function(n){var t=Math.sin(n*=h)*p,e=Math.sin(h-n)*p,r=e*l+t*f,i=e*c+t*s,o=e*u+t*a;return[Math.atan2(i,r)*Zo,Math.atan2(o,Math.sqrt(r*r+i*i))*Zo]}:function(){return[n*Zo,t*Zo]};return g.distance=h,g}function _e(){function n(n,i){var u=Math.sin(i*=Yo),o=Math.cos(i),a=xo((n*=Yo)-t),l=Math.cos(a);Ja+=Math.atan2(Math.sqrt((a=o*Math.sin(a))*a+(a=r*u-e*o*l)*a),e*u+r*o*l),t=n,e=u,r=o}var t,e,r;Ga.point=function(i,u){t=i*Yo,e=Math.sin(u*=Yo),r=Math.cos(u),Ga.point=n},Ga.lineEnd=function(){Ga.point=Ga.lineEnd=b}}function we(n,t){function e(t,e){var r=Math.cos(t),i=Math.cos(e),u=n(r*i);return[u*i*Math.sin(t),u*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),i=t(r),u=Math.sin(i),o=Math.cos(i);return[Math.atan2(n*u,r*o),Math.asin(r&&e*u/r)]},e}function Se(n,t){function e(n,t){o>0?-Io+Uo>t&&(t=-Io+Uo):t>Io-Uo&&(t=Io-Uo);var e=o/Math.pow(i(t),u);return[e*Math.sin(u*n),o-e*Math.cos(u*n)]}var r=Math.cos(n),i=function(n){return Math.tan(Fo/4+n/2)},u=n===t?Math.sin(n):Math.log(r/Math.cos(t))/Math.log(i(t)/i(n)),o=r*Math.pow(i(n),u)/u;return u?(e.invert=function(n,t){var e=o-t,r=K(u)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/u,2*Math.atan(Math.pow(o/r,1/u))-Io]},e):Ne}function ke(n,t){function e(n,t){var e=u-t;return[e*Math.sin(i*n),u-e*Math.cos(i*n)]}var r=Math.cos(n),i=n===t?Math.sin(n):(r-Math.cos(t))/(t-n),u=r/i+n;return xo(i)i;i++){for(;r>1&&Q(n[e[r-2]],n[e[r-1]],n[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function qe(n,t){return n[0]-t[0]||n[1]-t[1]}function Te(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function Re(n,t,e,r){var i=n[0],u=e[0],o=t[0]-i,a=r[0]-u,l=n[1],c=e[1],f=t[1]-l,s=r[1]-c,h=(a*(l-c)-s*(i-u))/(s*o-a*f);return[i+h*o,l+h*f]}function De(n){var t=n[0],e=n[n.length-1];return!(t[0]-e[0]||t[1]-e[1])}function Pe(){rr(this),this.edge=this.site=this.circle=null}function Ue(n){var t=cl.pop()||new Pe;return t.site=n,t}function je(n){Be(n),ol.remove(n),cl.push(n),rr(n)}function Fe(n){var t=n.circle,e=t.x,r=t.cy,i={x:e,y:r},u=n.P,o=n.N,a=[n];je(n);for(var l=u;l.circle&&xo(e-l.circle.x)f;++f)c=a[f],l=a[f-1],nr(c.edge,l.site,c.site,i);l=a[0],c=a[s-1],c.edge=Ke(l.site,c.site,null,i),$e(l),$e(c)}function He(n){for(var t,e,r,i,u=n.x,o=n.y,a=ol._;a;)if(r=Oe(a,o)-u,r>Uo)a=a.L;else{if(i=u-Ie(a,o),!(i>Uo)){r>-Uo?(t=a.P,e=a):i>-Uo?(t=a,e=a.N):t=e=a;break}if(!a.R){t=a;break}a=a.R}var l=Ue(n);if(ol.insert(t,l),t||e){if(t===e)return Be(t),e=Ue(t.site),ol.insert(l,e),l.edge=e.edge=Ke(t.site,l.site),$e(t),void $e(e);if(!e)return void(l.edge=Ke(t.site,l.site));Be(t),Be(e);var c=t.site,f=c.x,s=c.y,h=n.x-f,p=n.y-s,g=e.site,v=g.x-f,d=g.y-s,y=2*(h*d-p*v),m=h*h+p*p,M=v*v+d*d,x={x:(d*m-p*M)/y+f,y:(h*M-v*m)/y+s};nr(e.edge,c,g,x),l.edge=Ke(c,n,null,x),e.edge=Ke(n,g,null,x),$e(t),$e(e)}}function Oe(n,t){var e=n.site,r=e.x,i=e.y,u=i-t;if(!u)return r;var o=n.P;if(!o)return-(1/0);e=o.site;var a=e.x,l=e.y,c=l-t;if(!c)return a;var f=a-r,s=1/u-1/c,h=f/c;return s?(-h+Math.sqrt(h*h-2*s*(f*f/(-2*c)-l+c/2+i-u/2)))/s+r:(r+a)/2}function Ie(n,t){var e=n.N;if(e)return Oe(e,t);var r=n.site;return r.y===t?r.x:1/0}function Ye(n){this.site=n,this.edges=[]}function Ze(n){for(var t,e,r,i,u,o,a,l,c,f,s=n[0][0],h=n[1][0],p=n[0][1],g=n[1][1],v=ul,d=v.length;d--;)if(u=v[d],u&&u.prepare())for(a=u.edges,l=a.length,o=0;l>o;)f=a[o].end(),r=f.x,i=f.y,c=a[++o%l].start(),t=c.x,e=c.y,(xo(r-t)>Uo||xo(i-e)>Uo)&&(a.splice(o,0,new tr(Qe(u.site,f,xo(r-s)Uo?{x:s,y:xo(t-s)Uo?{x:xo(e-g)Uo?{x:h,y:xo(t-h)Uo?{x:xo(e-p)=-jo)){var p=l*l+c*c,g=f*f+s*s,v=(s*p-c*g)/h,d=(l*g-f*p)/h,s=d+a,y=fl.pop()||new Xe;y.arc=n,y.site=i,y.x=v+o,y.y=s+Math.sqrt(v*v+d*d),y.cy=s,n.circle=y;for(var m=null,M=ll._;M;)if(y.yd||d>=a)return;if(h>g){if(u){if(u.y>=c)return}else u={x:d,y:l};e={x:d,y:c}}else{if(u){if(u.yr||r>1)if(h>g){if(u){if(u.y>=c)return}else u={x:(l-i)/r,y:l};e={x:(c-i)/r,y:c}}else{if(u){if(u.yp){if(u){if(u.x>=a)return}else u={x:o,y:r*o+i};e={x:a,y:r*a+i}}else{if(u){if(u.xu||s>o||r>h||i>p)){if(g=n.point){var g,v=t-n.x,d=e-n.y,y=v*v+d*d;if(l>y){var m=Math.sqrt(l=y);r=t-m,i=e-m,u=t+m,o=e+m,a=g}}for(var M=n.nodes,x=.5*(f+h),b=.5*(s+p),_=t>=x,w=e>=b,S=w<<1|_,k=S+4;k>S;++S)if(n=M[3&S])switch(3&S){case 0:c(n,f,s,x,b);break;case 1:c(n,x,s,h,b);break;case 2:c(n,f,b,x,p);break;case 3:c(n,x,b,h,p)}}}(n,r,i,u,o),a}function vr(n,t){n=ao.rgb(n),t=ao.rgb(t);var e=n.r,r=n.g,i=n.b,u=t.r-e,o=t.g-r,a=t.b-i;return function(n){return"#"+bn(Math.round(e+u*n))+bn(Math.round(r+o*n))+bn(Math.round(i+a*n))}}function dr(n,t){var e,r={},i={};for(e in n)e in t?r[e]=Mr(n[e],t[e]):i[e]=n[e];for(e in t)e in n||(i[e]=t[e]);return function(n){for(e in r)i[e]=r[e](n);return i}}function yr(n,t){return n=+n,t=+t,function(e){return n*(1-e)+t*e}}function mr(n,t){var e,r,i,u=hl.lastIndex=pl.lastIndex=0,o=-1,a=[],l=[];for(n+="",t+="";(e=hl.exec(n))&&(r=pl.exec(t));)(i=r.index)>u&&(i=t.slice(u,i),a[o]?a[o]+=i:a[++o]=i),(e=e[0])===(r=r[0])?a[o]?a[o]+=r:a[++o]=r:(a[++o]=null,l.push({i:o,x:yr(e,r)})),u=pl.lastIndex;return ur;++r)a[(e=l[r]).i]=e.x(n);return a.join("")})}function Mr(n,t){for(var e,r=ao.interpolators.length;--r>=0&&!(e=ao.interpolators[r](n,t)););return e}function xr(n,t){var e,r=[],i=[],u=n.length,o=t.length,a=Math.min(n.length,t.length);for(e=0;a>e;++e)r.push(Mr(n[e],t[e]));for(;u>e;++e)i[e]=n[e];for(;o>e;++e)i[e]=t[e];return function(n){for(e=0;a>e;++e)i[e]=r[e](n);return i}}function br(n){return function(t){return 0>=t?0:t>=1?1:n(t)}}function _r(n){return function(t){return 1-n(1-t)}}function wr(n){return function(t){return.5*(.5>t?n(2*t):2-n(2-2*t))}}function Sr(n){return n*n}function kr(n){return n*n*n}function Nr(n){if(0>=n)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(.5>n?e:3*(n-t)+e-.75)}function Er(n){return function(t){return Math.pow(t,n)}}function Ar(n){return 1-Math.cos(n*Io)}function Cr(n){return Math.pow(2,10*(n-1))}function zr(n){return 1-Math.sqrt(1-n*n)}function Lr(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/Ho*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,-10*r)*Math.sin((r-e)*Ho/t)}}function qr(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}}function Tr(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function Rr(n,t){n=ao.hcl(n),t=ao.hcl(t);var e=n.h,r=n.c,i=n.l,u=t.h-e,o=t.c-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.c:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return sn(e+u*n,r+o*n,i+a*n)+""}}function Dr(n,t){n=ao.hsl(n),t=ao.hsl(t);var e=n.h,r=n.s,i=n.l,u=t.h-e,o=t.s-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.s:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return cn(e+u*n,r+o*n,i+a*n)+""}}function Pr(n,t){n=ao.lab(n),t=ao.lab(t);var e=n.l,r=n.a,i=n.b,u=t.l-e,o=t.a-r,a=t.b-i;return function(n){return pn(e+u*n,r+o*n,i+a*n)+""}}function Ur(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function jr(n){var t=[n.a,n.b],e=[n.c,n.d],r=Hr(t),i=Fr(t,e),u=Hr(Or(e,t,-i))||0;t[0]*e[1]180?t+=360:t-n>180&&(n+=360),r.push({i:e.push(Ir(e)+"rotate(",null,")")-2,x:yr(n,t)})):t&&e.push(Ir(e)+"rotate("+t+")")}function Vr(n,t,e,r){n!==t?r.push({i:e.push(Ir(e)+"skewX(",null,")")-2,x:yr(n,t)}):t&&e.push(Ir(e)+"skewX("+t+")")}function Xr(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push(Ir(e)+"scale(",null,",",null,")");r.push({i:i-4,x:yr(n[0],t[0])},{i:i-2,x:yr(n[1],t[1])})}else 1===t[0]&&1===t[1]||e.push(Ir(e)+"scale("+t+")")}function $r(n,t){var e=[],r=[];return n=ao.transform(n),t=ao.transform(t),Yr(n.translate,t.translate,e,r),Zr(n.rotate,t.rotate,e,r),Vr(n.skew,t.skew,e,r),Xr(n.scale,t.scale,e,r),n=t=null,function(n){for(var t,i=-1,u=r.length;++i=0;)e.push(i[r])}function oi(n,t){for(var e=[n],r=[];null!=(n=e.pop());)if(r.push(n),(u=n.children)&&(i=u.length))for(var i,u,o=-1;++oe;++e)(t=n[e][1])>i&&(r=e,i=t);return r}function yi(n){return n.reduce(mi,0)}function mi(n,t){return n+t[1]}function Mi(n,t){return xi(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function xi(n,t){for(var e=-1,r=+n[0],i=(n[1]-r)/t,u=[];++e<=t;)u[e]=i*e+r;return u}function bi(n){return[ao.min(n),ao.max(n)]}function _i(n,t){return n.value-t.value}function wi(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function Si(n,t){n._pack_next=t,t._pack_prev=n}function ki(n,t){var e=t.x-n.x,r=t.y-n.y,i=n.r+t.r;return.999*i*i>e*e+r*r}function Ni(n){function t(n){f=Math.min(n.x-n.r,f),s=Math.max(n.x+n.r,s),h=Math.min(n.y-n.r,h),p=Math.max(n.y+n.r,p)}if((e=n.children)&&(c=e.length)){var e,r,i,u,o,a,l,c,f=1/0,s=-(1/0),h=1/0,p=-(1/0);if(e.forEach(Ei),r=e[0],r.x=-r.r,r.y=0,t(r),c>1&&(i=e[1],i.x=i.r,i.y=0,t(i),c>2))for(u=e[2],zi(r,i,u),t(u),wi(r,u),r._pack_prev=u,wi(u,i),i=r._pack_next,o=3;c>o;o++){zi(r,i,u=e[o]);var g=0,v=1,d=1;for(a=i._pack_next;a!==i;a=a._pack_next,v++)if(ki(a,u)){g=1;break}if(1==g)for(l=r._pack_prev;l!==a._pack_prev&&!ki(l,u);l=l._pack_prev,d++);g?(d>v||v==d&&i.ro;o++)u=e[o],u.x-=y,u.y-=m,M=Math.max(M,u.r+Math.sqrt(u.x*u.x+u.y*u.y));n.r=M,e.forEach(Ai)}}function Ei(n){n._pack_next=n._pack_prev=n}function Ai(n){delete n._pack_next,delete n._pack_prev}function Ci(n,t,e,r){var i=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,i)for(var u=-1,o=i.length;++u=0;)t=i[u],t.z+=e,t.m+=e,e+=t.s+(r+=t.c)}function Pi(n,t,e){return n.a.parent===t.parent?n.a:e}function Ui(n){return 1+ao.max(n,function(n){return n.y})}function ji(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}function Fi(n){var t=n.children;return t&&t.length?Fi(t[0]):n}function Hi(n){var t,e=n.children;return e&&(t=e.length)?Hi(e[t-1]):n}function Oi(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function Ii(n,t){var e=n.x+t[3],r=n.y+t[0],i=n.dx-t[1]-t[3],u=n.dy-t[0]-t[2];return 0>i&&(e+=i/2,i=0),0>u&&(r+=u/2,u=0),{x:e,y:r,dx:i,dy:u}}function Yi(n){var t=n[0],e=n[n.length-1];return e>t?[t,e]:[e,t]}function Zi(n){return n.rangeExtent?n.rangeExtent():Yi(n.range())}function Vi(n,t,e,r){var i=e(n[0],n[1]),u=r(t[0],t[1]);return function(n){return u(i(n))}}function Xi(n,t){var e,r=0,i=n.length-1,u=n[r],o=n[i];return u>o&&(e=r,r=i,i=e,e=u,u=o,o=e),n[r]=t.floor(u),n[i]=t.ceil(o),n}function $i(n){return n?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:Sl}function Bi(n,t,e,r){var i=[],u=[],o=0,a=Math.min(n.length,t.length)-1;for(n[a]2?Bi:Vi,l=r?Wr:Br;return o=i(n,t,l,e),a=i(t,n,l,Mr),u}function u(n){return o(n)}var o,a;return u.invert=function(n){return a(n)},u.domain=function(t){return arguments.length?(n=t.map(Number),i()):n},u.range=function(n){return arguments.length?(t=n,i()):t},u.rangeRound=function(n){return u.range(n).interpolate(Ur)},u.clamp=function(n){return arguments.length?(r=n,i()):r},u.interpolate=function(n){return arguments.length?(e=n,i()):e},u.ticks=function(t){return Qi(n,t)},u.tickFormat=function(t,e){return nu(n,t,e)},u.nice=function(t){return Gi(n,t),i()},u.copy=function(){return Wi(n,t,e,r)},i()}function Ji(n,t){return ao.rebind(n,t,"range","rangeRound","interpolate","clamp")}function Gi(n,t){return Xi(n,$i(Ki(n,t)[2])),Xi(n,$i(Ki(n,t)[2])),n}function Ki(n,t){null==t&&(t=10);var e=Yi(n),r=e[1]-e[0],i=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),u=t/r*i;return.15>=u?i*=10:.35>=u?i*=5:.75>=u&&(i*=2),e[0]=Math.ceil(e[0]/i)*i,e[1]=Math.floor(e[1]/i)*i+.5*i,e[2]=i,e}function Qi(n,t){return ao.range.apply(ao,Ki(n,t))}function nu(n,t,e){var r=Ki(n,t);if(e){var i=ha.exec(e);if(i.shift(),"s"===i[8]){var u=ao.formatPrefix(Math.max(xo(r[0]),xo(r[1])));return i[7]||(i[7]="."+tu(u.scale(r[2]))),i[8]="f",e=ao.format(i.join("")),function(n){return e(u.scale(n))+u.symbol}}i[7]||(i[7]="."+eu(i[8],r)),e=i.join("")}else e=",."+tu(r[2])+"f";return ao.format(e)}function tu(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}function eu(n,t){var e=tu(t[2]);return n in kl?Math.abs(e-tu(Math.max(xo(t[0]),xo(t[1]))))+ +("e"!==n):e-2*("%"===n)}function ru(n,t,e,r){function i(n){return(e?Math.log(0>n?0:n):-Math.log(n>0?0:-n))/Math.log(t)}function u(n){return e?Math.pow(t,n):-Math.pow(t,-n)}function o(t){return n(i(t))}return o.invert=function(t){return u(n.invert(t))},o.domain=function(t){return arguments.length?(e=t[0]>=0,n.domain((r=t.map(Number)).map(i)),o):r},o.base=function(e){return arguments.length?(t=+e,n.domain(r.map(i)),o):t},o.nice=function(){var t=Xi(r.map(i),e?Math:El);return n.domain(t),r=t.map(u),o},o.ticks=function(){var n=Yi(r),o=[],a=n[0],l=n[1],c=Math.floor(i(a)),f=Math.ceil(i(l)),s=t%1?2:t;if(isFinite(f-c)){if(e){for(;f>c;c++)for(var h=1;s>h;h++)o.push(u(c)*h);o.push(u(c))}else for(o.push(u(c));c++0;h--)o.push(u(c)*h);for(c=0;o[c]l;f--);o=o.slice(c,f)}return o},o.tickFormat=function(n,e){if(!arguments.length)return Nl;arguments.length<2?e=Nl:"function"!=typeof e&&(e=ao.format(e));var r=Math.max(1,t*n/o.ticks().length);return function(n){var o=n/u(Math.round(i(n)));return t-.5>o*t&&(o*=t),r>=o?e(n):""}},o.copy=function(){return ru(n.copy(),t,e,r)},Ji(o,n)}function iu(n,t,e){function r(t){return n(i(t))}var i=uu(t),u=uu(1/t);return r.invert=function(t){return u(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain((e=t.map(Number)).map(i)),r):e},r.ticks=function(n){return Qi(e,n)},r.tickFormat=function(n,t){return nu(e,n,t)},r.nice=function(n){return r.domain(Gi(e,n))},r.exponent=function(o){return arguments.length?(i=uu(t=o),u=uu(1/t),n.domain(e.map(i)),r):t},r.copy=function(){return iu(n.copy(),t,e)},Ji(r,n)}function uu(n){return function(t){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}}function ou(n,t){function e(e){return u[((i.get(e)||("range"===t.t?i.set(e,n.push(e)):NaN))-1)%u.length]}function r(t,e){return ao.range(n.length).map(function(n){return t+e*n})}var i,u,o;return e.domain=function(r){if(!arguments.length)return n;n=[],i=new c;for(var u,o=-1,a=r.length;++oe?[NaN,NaN]:[e>0?a[e-1]:n[0],et?NaN:t/u+n,[t,t+1/u]},r.copy=function(){return lu(n,t,e)},i()}function cu(n,t){function e(e){return e>=e?t[ao.bisect(n,e)]:void 0}return e.domain=function(t){return arguments.length?(n=t,e):n},e.range=function(n){return arguments.length?(t=n,e):t},e.invertExtent=function(e){return e=t.indexOf(e),[n[e-1],n[e]]},e.copy=function(){return cu(n,t)},e}function fu(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return Qi(n,t)},t.tickFormat=function(t,e){return nu(n,t,e)},t.copy=function(){return fu(n)},t}function su(){return 0}function hu(n){return n.innerRadius}function pu(n){return n.outerRadius}function gu(n){return n.startAngle}function vu(n){return n.endAngle}function du(n){return n&&n.padAngle}function yu(n,t,e,r){return(n-e)*t-(t-r)*n>0?0:1}function mu(n,t,e,r,i){var u=n[0]-t[0],o=n[1]-t[1],a=(i?r:-r)/Math.sqrt(u*u+o*o),l=a*o,c=-a*u,f=n[0]+l,s=n[1]+c,h=t[0]+l,p=t[1]+c,g=(f+h)/2,v=(s+p)/2,d=h-f,y=p-s,m=d*d+y*y,M=e-r,x=f*p-h*s,b=(0>y?-1:1)*Math.sqrt(Math.max(0,M*M*m-x*x)),_=(x*y-d*b)/m,w=(-x*d-y*b)/m,S=(x*y+d*b)/m,k=(-x*d+y*b)/m,N=_-g,E=w-v,A=S-g,C=k-v;return N*N+E*E>A*A+C*C&&(_=S,w=k),[[_-l,w-c],[_*e/M,w*e/M]]}function Mu(n){function t(t){function o(){c.push("M",u(n(f),a))}for(var l,c=[],f=[],s=-1,h=t.length,p=En(e),g=En(r);++s1?n.join("L"):n+"Z"}function bu(n){return n.join("L")+"Z"}function _u(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1&&i.push("H",r[0]),i.join("")}function wu(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1){a=t[1],u=n[l],l++,r+="C"+(i[0]+o[0])+","+(i[1]+o[1])+","+(u[0]-a[0])+","+(u[1]-a[1])+","+u[0]+","+u[1];for(var c=2;c9&&(i=3*t/Math.sqrt(i),o[a]=i*e,o[a+1]=i*r));for(a=-1;++a<=l;)i=(n[Math.min(l,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),u.push([i||0,o[a]*i||0]);return u}function Fu(n){return n.length<3?xu(n):n[0]+Au(n,ju(n))}function Hu(n){for(var t,e,r,i=-1,u=n.length;++i=t?o(n-t):void(f.c=o)}function o(e){var i=g.active,u=g[i];u&&(u.timer.c=null,u.timer.t=NaN,--g.count,delete g[i],u.event&&u.event.interrupt.call(n,n.__data__,u.index));for(var o in g)if(r>+o){var c=g[o];c.timer.c=null,c.timer.t=NaN,--g.count,delete g[o]}f.c=a,qn(function(){return f.c&&a(e||1)&&(f.c=null,f.t=NaN),1},0,l),g.active=r,v.event&&v.event.start.call(n,n.__data__,t),p=[],v.tween.forEach(function(e,r){(r=r.call(n,n.__data__,t))&&p.push(r)}),h=v.ease,s=v.duration}function a(i){for(var u=i/s,o=h(u),a=p.length;a>0;)p[--a].call(n,o);return u>=1?(v.event&&v.event.end.call(n,n.__data__,t),--g.count?delete g[r]:delete n[e],1):void 0}var l,f,s,h,p,g=n[e]||(n[e]={active:0,count:0}),v=g[r];v||(l=i.time,f=qn(u,0,l),v=g[r]={tween:new c,time:l,timer:f,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++g.count)}function no(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate("+(isFinite(r)?r:e(n))+",0)"})}function to(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate(0,"+(isFinite(r)?r:e(n))+")"})}function eo(n){return n.toISOString()}function ro(n,t,e){function r(t){return n(t)}function i(n,e){var r=n[1]-n[0],i=r/e,u=ao.bisect(Kl,i);return u==Kl.length?[t.year,Ki(n.map(function(n){return n/31536e6}),e)[2]]:u?t[i/Kl[u-1]1?{floor:function(t){for(;e(t=n.floor(t));)t=io(t-1);return t},ceil:function(t){for(;e(t=n.ceil(t));)t=io(+t+1);return t}}:n))},r.ticks=function(n,t){var e=Yi(r.domain()),u=null==n?i(e,10):"number"==typeof n?i(e,n):!n.range&&[{range:n},t];return u&&(n=u[0],t=u[1]),n.range(e[0],io(+e[1]+1),1>t?1:t)},r.tickFormat=function(){return e},r.copy=function(){return ro(n.copy(),t,e)},Ji(r,n)}function io(n){return new Date(n)}function uo(n){return JSON.parse(n.responseText)}function oo(n){var t=fo.createRange();return t.selectNode(fo.body),t.createContextualFragment(n.responseText)}var ao={version:"3.5.17"},lo=[].slice,co=function(n){return lo.call(n)},fo=this.document;if(fo)try{co(fo.documentElement.childNodes)[0].nodeType}catch(so){co=function(n){for(var t=n.length,e=new Array(t);t--;)e[t]=n[t];return e}}if(Date.now||(Date.now=function(){return+new Date}),fo)try{fo.createElement("DIV").style.setProperty("opacity",0,"")}catch(ho){var po=this.Element.prototype,go=po.setAttribute,vo=po.setAttributeNS,yo=this.CSSStyleDeclaration.prototype,mo=yo.setProperty;po.setAttribute=function(n,t){go.call(this,n,t+"")},po.setAttributeNS=function(n,t,e){vo.call(this,n,t,e+"")},yo.setProperty=function(n,t,e){mo.call(this,n,t+"",e)}}ao.ascending=e,ao.descending=function(n,t){return n>t?-1:t>n?1:t>=n?0:NaN},ao.min=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ir&&(e=r)}else{for(;++i=r){e=r;break}for(;++ir&&(e=r)}return e},ao.max=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ie&&(e=r)}else{for(;++i=r){e=r;break}for(;++ie&&(e=r)}return e},ao.extent=function(n,t){var e,r,i,u=-1,o=n.length;if(1===arguments.length){for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}else{for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}return[e,i]},ao.sum=function(n,t){var e,r=0,u=n.length,o=-1;if(1===arguments.length)for(;++o1?l/(f-1):void 0},ao.deviation=function(){var n=ao.variance.apply(this,arguments);return n?Math.sqrt(n):n};var Mo=u(e);ao.bisectLeft=Mo.left,ao.bisect=ao.bisectRight=Mo.right,ao.bisector=function(n){return u(1===n.length?function(t,r){return e(n(t),r)}:n)},ao.shuffle=function(n,t,e){(u=arguments.length)<3&&(e=n.length,2>u&&(t=0));for(var r,i,u=e-t;u;)i=Math.random()*u--|0,r=n[u+t],n[u+t]=n[i+t],n[i+t]=r;return n},ao.permute=function(n,t){for(var e=t.length,r=new Array(e);e--;)r[e]=n[t[e]];return r},ao.pairs=function(n){for(var t,e=0,r=n.length-1,i=n[0],u=new Array(0>r?0:r);r>e;)u[e]=[t=i,i=n[++e]];return u},ao.transpose=function(n){if(!(i=n.length))return[];for(var t=-1,e=ao.min(n,o),r=new Array(e);++t=0;)for(r=n[i],t=r.length;--t>=0;)e[--o]=r[t];return e};var xo=Math.abs;ao.range=function(n,t,e){if(arguments.length<3&&(e=1,arguments.length<2&&(t=n,n=0)),(t-n)/e===1/0)throw new Error("infinite range");var r,i=[],u=a(xo(e)),o=-1;if(n*=u,t*=u,e*=u,0>e)for(;(r=n+e*++o)>t;)i.push(r/u);else for(;(r=n+e*++o)=u.length)return r?r.call(i,o):e?o.sort(e):o;for(var l,f,s,h,p=-1,g=o.length,v=u[a++],d=new c;++p=u.length)return n;var r=[],i=o[e++];return n.forEach(function(n,i){r.push({key:n,values:t(i,e)})}),i?r.sort(function(n,t){return i(n.key,t.key)}):r}var e,r,i={},u=[],o=[];return i.map=function(t,e){return n(e,t,0)},i.entries=function(e){return t(n(ao.map,e,0),0)},i.key=function(n){return u.push(n),i},i.sortKeys=function(n){return o[u.length-1]=n,i},i.sortValues=function(n){return e=n,i},i.rollup=function(n){return r=n,i},i},ao.set=function(n){var t=new y;if(n)for(var e=0,r=n.length;r>e;++e)t.add(n[e]);return t},l(y,{has:h,add:function(n){return this._[f(n+="")]=!0,n},remove:p,values:g,size:v,empty:d,forEach:function(n){for(var t in this._)n.call(this,s(t))}}),ao.behavior={},ao.rebind=function(n,t){for(var e,r=1,i=arguments.length;++r=0&&(r=n.slice(e+1),n=n.slice(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},ao.event=null,ao.requote=function(n){return n.replace(So,"\\$&")};var So=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ko={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]},No=function(n,t){return t.querySelector(n)},Eo=function(n,t){return t.querySelectorAll(n)},Ao=function(n,t){var e=n.matches||n[x(n,"matchesSelector")];return(Ao=function(n,t){return e.call(n,t)})(n,t)};"function"==typeof Sizzle&&(No=function(n,t){return Sizzle(n,t)[0]||null},Eo=Sizzle,Ao=Sizzle.matchesSelector),ao.selection=function(){return ao.select(fo.documentElement)};var Co=ao.selection.prototype=[];Co.select=function(n){var t,e,r,i,u=[];n=A(n);for(var o=-1,a=this.length;++o=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),Lo.hasOwnProperty(e)?{space:Lo[e],local:n}:n}},Co.attr=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node();return n=ao.ns.qualify(n),n.local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(z(t,n[t]));return this}return this.each(z(n,t))},Co.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=T(n)).length,i=-1;if(t=e.classList){for(;++ii){if("string"!=typeof n){2>i&&(e="");for(r in n)this.each(P(r,n[r],e));return this}if(2>i){var u=this.node();return t(u).getComputedStyle(u,null).getPropertyValue(n)}r=""}return this.each(P(n,e,r))},Co.property=function(n,t){if(arguments.length<2){if("string"==typeof n)return this.node()[n];for(t in n)this.each(U(t,n[t]));return this}return this.each(U(n,t))},Co.text=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.textContent=null==t?"":t}:null==n?function(){this.textContent=""}:function(){this.textContent=n}):this.node().textContent},Co.html=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}:null==n?function(){this.innerHTML=""}:function(){this.innerHTML=n}):this.node().innerHTML},Co.append=function(n){return n=j(n),this.select(function(){return this.appendChild(n.apply(this,arguments))})},Co.insert=function(n,t){return n=j(n),t=A(t),this.select(function(){return this.insertBefore(n.apply(this,arguments),t.apply(this,arguments)||null)})},Co.remove=function(){return this.each(F)},Co.data=function(n,t){function e(n,e){var r,i,u,o=n.length,s=e.length,h=Math.min(o,s),p=new Array(s),g=new Array(s),v=new Array(o);if(t){var d,y=new c,m=new Array(o);for(r=-1;++rr;++r)g[r]=H(e[r]);for(;o>r;++r)v[r]=n[r]}g.update=p,g.parentNode=p.parentNode=v.parentNode=n.parentNode,a.push(g),l.push(p),f.push(v)}var r,i,u=-1,o=this.length;if(!arguments.length){for(n=new Array(o=(r=this[0]).length);++uu;u++){i.push(t=[]),t.parentNode=(e=this[u]).parentNode;for(var a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return E(i)},Co.order=function(){for(var n=-1,t=this.length;++n=0;)(e=r[i])&&(u&&u!==e.nextSibling&&u.parentNode.insertBefore(e,u),u=e);return this},Co.sort=function(n){n=I.apply(this,arguments);for(var t=-1,e=this.length;++tn;n++)for(var e=this[n],r=0,i=e.length;i>r;r++){var u=e[r];if(u)return u}return null},Co.size=function(){var n=0;return Y(this,function(){++n}),n};var qo=[];ao.selection.enter=Z,ao.selection.enter.prototype=qo,qo.append=Co.append,qo.empty=Co.empty,qo.node=Co.node,qo.call=Co.call,qo.size=Co.size,qo.select=function(n){for(var t,e,r,i,u,o=[],a=-1,l=this.length;++ar){if("string"!=typeof n){2>r&&(t=!1);for(e in n)this.each(X(e,n[e],t));return this}if(2>r)return(r=this.node()["__on"+n])&&r._;e=!1}return this.each(X(n,t,e))};var To=ao.map({mouseenter:"mouseover",mouseleave:"mouseout"});fo&&To.forEach(function(n){"on"+n in fo&&To.remove(n)});var Ro,Do=0;ao.mouse=function(n){return J(n,k())};var Po=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;ao.touch=function(n,t,e){if(arguments.length<3&&(e=t,t=k().changedTouches),t)for(var r,i=0,u=t.length;u>i;++i)if((r=t[i]).identifier===e)return J(n,r)},ao.behavior.drag=function(){function n(){this.on("mousedown.drag",u).on("touchstart.drag",o)}function e(n,t,e,u,o){return function(){function a(){var n,e,r=t(h,v);r&&(n=r[0]-M[0],e=r[1]-M[1],g|=n|e,M=r,p({type:"drag",x:r[0]+c[0],y:r[1]+c[1],dx:n,dy:e}))}function l(){t(h,v)&&(y.on(u+d,null).on(o+d,null),m(g),p({type:"dragend"}))}var c,f=this,s=ao.event.target.correspondingElement||ao.event.target,h=f.parentNode,p=r.of(f,arguments),g=0,v=n(),d=".drag"+(null==v?"":"-"+v),y=ao.select(e(s)).on(u+d,a).on(o+d,l),m=W(s),M=t(h,v);i?(c=i.apply(f,arguments),c=[c.x-M[0],c.y-M[1]]):c=[0,0],p({type:"dragstart"})}}var r=N(n,"drag","dragstart","dragend"),i=null,u=e(b,ao.mouse,t,"mousemove","mouseup"),o=e(G,ao.touch,m,"touchmove","touchend");return n.origin=function(t){return arguments.length?(i=t,n):i},ao.rebind(n,r,"on")},ao.touches=function(n,t){return arguments.length<2&&(t=k().touches),t?co(t).map(function(t){var e=J(n,t);return e.identifier=t.identifier,e}):[]};var Uo=1e-6,jo=Uo*Uo,Fo=Math.PI,Ho=2*Fo,Oo=Ho-Uo,Io=Fo/2,Yo=Fo/180,Zo=180/Fo,Vo=Math.SQRT2,Xo=2,$o=4;ao.interpolateZoom=function(n,t){var e,r,i=n[0],u=n[1],o=n[2],a=t[0],l=t[1],c=t[2],f=a-i,s=l-u,h=f*f+s*s;if(jo>h)r=Math.log(c/o)/Vo,e=function(n){return[i+n*f,u+n*s,o*Math.exp(Vo*n*r)]};else{var p=Math.sqrt(h),g=(c*c-o*o+$o*h)/(2*o*Xo*p),v=(c*c-o*o-$o*h)/(2*c*Xo*p),d=Math.log(Math.sqrt(g*g+1)-g),y=Math.log(Math.sqrt(v*v+1)-v);r=(y-d)/Vo,e=function(n){var t=n*r,e=rn(d),a=o/(Xo*p)*(e*un(Vo*t+d)-en(d));return[i+a*f,u+a*s,o*e/rn(Vo*t+d)]}}return e.duration=1e3*r,e},ao.behavior.zoom=function(){function n(n){n.on(L,s).on(Wo+".zoom",p).on("dblclick.zoom",g).on(R,h)}function e(n){return[(n[0]-k.x)/k.k,(n[1]-k.y)/k.k]}function r(n){return[n[0]*k.k+k.x,n[1]*k.k+k.y]}function i(n){k.k=Math.max(A[0],Math.min(A[1],n))}function u(n,t){t=r(t),k.x+=n[0]-t[0],k.y+=n[1]-t[1]}function o(t,e,r,o){t.__chart__={x:k.x,y:k.y,k:k.k},i(Math.pow(2,o)),u(d=e,r),t=ao.select(t),C>0&&(t=t.transition().duration(C)),t.call(n.event)}function a(){b&&b.domain(x.range().map(function(n){return(n-k.x)/k.k}).map(x.invert)),w&&w.domain(_.range().map(function(n){return(n-k.y)/k.k}).map(_.invert))}function l(n){z++||n({type:"zoomstart"})}function c(n){a(),n({type:"zoom",scale:k.k,translate:[k.x,k.y]})}function f(n){--z||(n({type:"zoomend"}),d=null)}function s(){function n(){a=1,u(ao.mouse(i),h),c(o)}function r(){s.on(q,null).on(T,null),p(a),f(o)}var i=this,o=D.of(i,arguments),a=0,s=ao.select(t(i)).on(q,n).on(T,r),h=e(ao.mouse(i)),p=W(i);Il.call(i),l(o)}function h(){function n(){var n=ao.touches(g);return p=k.k,n.forEach(function(n){n.identifier in d&&(d[n.identifier]=e(n))}),n}function t(){var t=ao.event.target;ao.select(t).on(x,r).on(b,a),_.push(t);for(var e=ao.event.changedTouches,i=0,u=e.length;u>i;++i)d[e[i].identifier]=null;var l=n(),c=Date.now();if(1===l.length){if(500>c-M){var f=l[0];o(g,f,d[f.identifier],Math.floor(Math.log(k.k)/Math.LN2)+1),S()}M=c}else if(l.length>1){var f=l[0],s=l[1],h=f[0]-s[0],p=f[1]-s[1];y=h*h+p*p}}function r(){var n,t,e,r,o=ao.touches(g);Il.call(g);for(var a=0,l=o.length;l>a;++a,r=null)if(e=o[a],r=d[e.identifier]){if(t)break;n=e,t=r}if(r){var f=(f=e[0]-n[0])*f+(f=e[1]-n[1])*f,s=y&&Math.sqrt(f/y);n=[(n[0]+e[0])/2,(n[1]+e[1])/2],t=[(t[0]+r[0])/2,(t[1]+r[1])/2],i(s*p)}M=null,u(n,t),c(v)}function a(){if(ao.event.touches.length){for(var t=ao.event.changedTouches,e=0,r=t.length;r>e;++e)delete d[t[e].identifier];for(var i in d)return void n()}ao.selectAll(_).on(m,null),w.on(L,s).on(R,h),N(),f(v)}var p,g=this,v=D.of(g,arguments),d={},y=0,m=".zoom-"+ao.event.changedTouches[0].identifier,x="touchmove"+m,b="touchend"+m,_=[],w=ao.select(g),N=W(g);t(),l(v),w.on(L,null).on(R,t)}function p(){var n=D.of(this,arguments);m?clearTimeout(m):(Il.call(this),v=e(d=y||ao.mouse(this)),l(n)),m=setTimeout(function(){m=null,f(n)},50),S(),i(Math.pow(2,.002*Bo())*k.k),u(d,v),c(n)}function g(){var n=ao.mouse(this),t=Math.log(k.k)/Math.LN2;o(this,n,e(n),ao.event.shiftKey?Math.ceil(t)-1:Math.floor(t)+1)}var v,d,y,m,M,x,b,_,w,k={x:0,y:0,k:1},E=[960,500],A=Jo,C=250,z=0,L="mousedown.zoom",q="mousemove.zoom",T="mouseup.zoom",R="touchstart.zoom",D=N(n,"zoomstart","zoom","zoomend");return Wo||(Wo="onwheel"in fo?(Bo=function(){return-ao.event.deltaY*(ao.event.deltaMode?120:1)},"wheel"):"onmousewheel"in fo?(Bo=function(){return ao.event.wheelDelta},"mousewheel"):(Bo=function(){return-ao.event.detail},"MozMousePixelScroll")),n.event=function(n){n.each(function(){var n=D.of(this,arguments),t=k;Hl?ao.select(this).transition().each("start.zoom",function(){k=this.__chart__||{x:0,y:0,k:1},l(n)}).tween("zoom:zoom",function(){var e=E[0],r=E[1],i=d?d[0]:e/2,u=d?d[1]:r/2,o=ao.interpolateZoom([(i-k.x)/k.k,(u-k.y)/k.k,e/k.k],[(i-t.x)/t.k,(u-t.y)/t.k,e/t.k]);return function(t){var r=o(t),a=e/r[2];this.__chart__=k={x:i-r[0]*a,y:u-r[1]*a,k:a},c(n)}}).each("interrupt.zoom",function(){f(n)}).each("end.zoom",function(){f(n)}):(this.__chart__=k,l(n),c(n),f(n))})},n.translate=function(t){return arguments.length?(k={x:+t[0],y:+t[1],k:k.k},a(),n):[k.x,k.y]},n.scale=function(t){return arguments.length?(k={x:k.x,y:k.y,k:null},i(+t),a(),n):k.k},n.scaleExtent=function(t){return arguments.length?(A=null==t?Jo:[+t[0],+t[1]],n):A},n.center=function(t){return arguments.length?(y=t&&[+t[0],+t[1]],n):y},n.size=function(t){return arguments.length?(E=t&&[+t[0],+t[1]],n):E},n.duration=function(t){return arguments.length?(C=+t,n):C},n.x=function(t){return arguments.length?(b=t,x=t.copy(),k={x:0,y:0,k:1},n):b},n.y=function(t){return arguments.length?(w=t,_=t.copy(),k={x:0,y:0,k:1},n):w},ao.rebind(n,D,"on")};var Bo,Wo,Jo=[0,1/0];ao.color=an,an.prototype.toString=function(){return this.rgb()+""},ao.hsl=ln;var Go=ln.prototype=new an;Go.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,this.l/n)},Go.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,n*this.l)},Go.rgb=function(){return cn(this.h,this.s,this.l)},ao.hcl=fn;var Ko=fn.prototype=new an;Ko.brighter=function(n){return new fn(this.h,this.c,Math.min(100,this.l+Qo*(arguments.length?n:1)))},Ko.darker=function(n){return new fn(this.h,this.c,Math.max(0,this.l-Qo*(arguments.length?n:1)))},Ko.rgb=function(){return sn(this.h,this.c,this.l).rgb()},ao.lab=hn;var Qo=18,na=.95047,ta=1,ea=1.08883,ra=hn.prototype=new an;ra.brighter=function(n){return new hn(Math.min(100,this.l+Qo*(arguments.length?n:1)),this.a,this.b)},ra.darker=function(n){return new hn(Math.max(0,this.l-Qo*(arguments.length?n:1)),this.a,this.b)},ra.rgb=function(){return pn(this.l,this.a,this.b)},ao.rgb=mn;var ia=mn.prototype=new an;ia.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,i=30;return t||e||r?(t&&i>t&&(t=i),e&&i>e&&(e=i),r&&i>r&&(r=i),new mn(Math.min(255,t/n),Math.min(255,e/n),Math.min(255,r/n))):new mn(i,i,i)},ia.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new mn(n*this.r,n*this.g,n*this.b)},ia.hsl=function(){return wn(this.r,this.g,this.b)},ia.toString=function(){return"#"+bn(this.r)+bn(this.g)+bn(this.b)};var ua=ao.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});ua.forEach(function(n,t){ua.set(n,Mn(t))}),ao.functor=En,ao.xhr=An(m),ao.dsv=function(n,t){function e(n,e,u){arguments.length<3&&(u=e,e=null);var o=Cn(n,t,null==e?r:i(e),u);return o.row=function(n){return arguments.length?o.response(null==(e=n)?r:i(n)):e},o}function r(n){return e.parse(n.responseText)}function i(n){return function(t){return e.parse(t.responseText,n)}}function u(t){return t.map(o).join(n)}function o(n){return a.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}var a=new RegExp('["'+n+"\n]"),l=n.charCodeAt(0);return e.parse=function(n,t){var r;return e.parseRows(n,function(n,e){if(r)return r(n,e-1);var i=new Function("d","return {"+n.map(function(n,t){return JSON.stringify(n)+": d["+t+"]"}).join(",")+"}");r=t?function(n,e){return t(i(n),e)}:i})},e.parseRows=function(n,t){function e(){if(f>=c)return o;if(i)return i=!1,u;var t=f;if(34===n.charCodeAt(t)){for(var e=t;e++f;){var r=n.charCodeAt(f++),a=1;if(10===r)i=!0;else if(13===r)i=!0,10===n.charCodeAt(f)&&(++f,++a);else if(r!==l)continue;return n.slice(t,f-a)}return n.slice(t)}for(var r,i,u={},o={},a=[],c=n.length,f=0,s=0;(r=e())!==o;){for(var h=[];r!==u&&r!==o;)h.push(r),r=e();t&&null==(h=t(h,s++))||a.push(h)}return a},e.format=function(t){if(Array.isArray(t[0]))return e.formatRows(t);var r=new y,i=[];return t.forEach(function(n){for(var t in n)r.has(t)||i.push(r.add(t))}),[i.map(o).join(n)].concat(t.map(function(t){return i.map(function(n){return o(t[n])}).join(n)})).join("\n")},e.formatRows=function(n){return n.map(u).join("\n")},e},ao.csv=ao.dsv(",","text/csv"),ao.tsv=ao.dsv(" ","text/tab-separated-values");var oa,aa,la,ca,fa=this[x(this,"requestAnimationFrame")]||function(n){setTimeout(n,17)};ao.timer=function(){qn.apply(this,arguments)},ao.timer.flush=function(){Rn(),Dn()},ao.round=function(n,t){return t?Math.round(n*(t=Math.pow(10,t)))/t:Math.round(n)};var sa=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"].map(Un);ao.formatPrefix=function(n,t){var e=0;return(n=+n)&&(0>n&&(n*=-1),t&&(n=ao.round(n,Pn(n,t))),e=1+Math.floor(1e-12+Math.log(n)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((e-1)/3)))),sa[8+e/3]};var ha=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,pa=ao.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,t){return(n=ao.round(n,Pn(n,t))).toFixed(Math.max(0,Math.min(20,Pn(n*(1+1e-15),t))))}}),ga=ao.time={},va=Date;Hn.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){da.setUTCDate.apply(this._,arguments)},setDay:function(){da.setUTCDay.apply(this._,arguments)},setFullYear:function(){da.setUTCFullYear.apply(this._,arguments)},setHours:function(){da.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){da.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){da.setUTCMinutes.apply(this._,arguments)},setMonth:function(){da.setUTCMonth.apply(this._,arguments)},setSeconds:function(){da.setUTCSeconds.apply(this._,arguments)},setTime:function(){da.setTime.apply(this._,arguments)}};var da=Date.prototype;ga.year=On(function(n){return n=ga.day(n),n.setMonth(0,1),n},function(n,t){n.setFullYear(n.getFullYear()+t)},function(n){return n.getFullYear()}),ga.years=ga.year.range,ga.years.utc=ga.year.utc.range,ga.day=On(function(n){var t=new va(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t},function(n,t){n.setDate(n.getDate()+t)},function(n){return n.getDate()-1}),ga.days=ga.day.range,ga.days.utc=ga.day.utc.range,ga.dayOfYear=function(n){var t=ga.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(n,t){t=7-t;var e=ga[n]=On(function(n){return(n=ga.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n},function(n,t){n.setDate(n.getDate()+7*Math.floor(t))},function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)-(e!==t)});ga[n+"s"]=e.range,ga[n+"s"].utc=e.utc.range,ga[n+"OfYear"]=function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)}}),ga.week=ga.sunday,ga.weeks=ga.sunday.range,ga.weeks.utc=ga.sunday.utc.range,ga.weekOfYear=ga.sundayOfYear;var ya={"-":"",_:" ",0:"0"},ma=/^\s*\d+/,Ma=/^%/;ao.locale=function(n){return{numberFormat:jn(n),timeFormat:Yn(n)}};var xa=ao.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"], +shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});ao.format=xa.numberFormat,ao.geo={},ft.prototype={s:0,t:0,add:function(n){st(n,this.t,ba),st(ba.s,this.s,this),this.s?this.t+=ba.t:this.s=ba.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var ba=new ft;ao.geo.stream=function(n,t){n&&_a.hasOwnProperty(n.type)?_a[n.type](n,t):ht(n,t)};var _a={Feature:function(n,t){ht(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,i=e.length;++rn?4*Fo+n:n,Na.lineStart=Na.lineEnd=Na.point=b}};ao.geo.bounds=function(){function n(n,t){M.push(x=[f=n,h=n]),s>t&&(s=t),t>p&&(p=t)}function t(t,e){var r=dt([t*Yo,e*Yo]);if(y){var i=mt(y,r),u=[i[1],-i[0],0],o=mt(u,i);bt(o),o=_t(o);var l=t-g,c=l>0?1:-1,v=o[0]*Zo*c,d=xo(l)>180;if(d^(v>c*g&&c*t>v)){var m=o[1]*Zo;m>p&&(p=m)}else if(v=(v+360)%360-180,d^(v>c*g&&c*t>v)){var m=-o[1]*Zo;s>m&&(s=m)}else s>e&&(s=e),e>p&&(p=e);d?g>t?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t):h>=f?(f>t&&(f=t),t>h&&(h=t)):t>g?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t)}else n(t,e);y=r,g=t}function e(){b.point=t}function r(){x[0]=f,x[1]=h,b.point=n,y=null}function i(n,e){if(y){var r=n-g;m+=xo(r)>180?r+(r>0?360:-360):r}else v=n,d=e;Na.point(n,e),t(n,e)}function u(){Na.lineStart()}function o(){i(v,d),Na.lineEnd(),xo(m)>Uo&&(f=-(h=180)),x[0]=f,x[1]=h,y=null}function a(n,t){return(t-=n)<0?t+360:t}function l(n,t){return n[0]-t[0]}function c(n,t){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nka?(f=-(h=180),s=-(p=90)):m>Uo?p=90:-Uo>m&&(s=-90),x[0]=f,x[1]=h}};return function(n){p=h=-(f=s=1/0),M=[],ao.geo.stream(n,b);var t=M.length;if(t){M.sort(l);for(var e,r=1,i=M[0],u=[i];t>r;++r)e=M[r],c(e[0],i)||c(e[1],i)?(a(i[0],e[1])>a(i[0],i[1])&&(i[1]=e[1]),a(e[0],i[1])>a(i[0],i[1])&&(i[0]=e[0])):u.push(i=e);for(var o,e,g=-(1/0),t=u.length-1,r=0,i=u[t];t>=r;i=e,++r)e=u[r],(o=a(i[1],e[0]))>g&&(g=o,f=e[0],h=i[1])}return M=x=null,f===1/0||s===1/0?[[NaN,NaN],[NaN,NaN]]:[[f,s],[h,p]]}}(),ao.geo.centroid=function(n){Ea=Aa=Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,ja);var t=Da,e=Pa,r=Ua,i=t*t+e*e+r*r;return jo>i&&(t=qa,e=Ta,r=Ra,Uo>Aa&&(t=Ca,e=za,r=La),i=t*t+e*e+r*r,jo>i)?[NaN,NaN]:[Math.atan2(e,t)*Zo,tn(r/Math.sqrt(i))*Zo]};var Ea,Aa,Ca,za,La,qa,Ta,Ra,Da,Pa,Ua,ja={sphere:b,point:St,lineStart:Nt,lineEnd:Et,polygonStart:function(){ja.lineStart=At},polygonEnd:function(){ja.lineStart=Nt}},Fa=Rt(zt,jt,Ht,[-Fo,-Fo/2]),Ha=1e9;ao.geo.clipExtent=function(){var n,t,e,r,i,u,o={stream:function(n){return i&&(i.valid=!1),i=u(n),i.valid=!0,i},extent:function(a){return arguments.length?(u=Zt(n=+a[0][0],t=+a[0][1],e=+a[1][0],r=+a[1][1]),i&&(i.valid=!1,i=null),o):[[n,t],[e,r]]}};return o.extent([[0,0],[960,500]])},(ao.geo.conicEqualArea=function(){return Vt(Xt)}).raw=Xt,ao.geo.albers=function(){return ao.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},ao.geo.albersUsa=function(){function n(n){var u=n[0],o=n[1];return t=null,e(u,o),t||(r(u,o),t)||i(u,o),t}var t,e,r,i,u=ao.geo.albers(),o=ao.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=ao.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(n,e){t=[n,e]}};return n.invert=function(n){var t=u.scale(),e=u.translate(),r=(n[0]-e[0])/t,i=(n[1]-e[1])/t;return(i>=.12&&.234>i&&r>=-.425&&-.214>r?o:i>=.166&&.234>i&&r>=-.214&&-.115>r?a:u).invert(n)},n.stream=function(n){var t=u.stream(n),e=o.stream(n),r=a.stream(n);return{point:function(n,i){t.point(n,i),e.point(n,i),r.point(n,i)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},n.precision=function(t){return arguments.length?(u.precision(t),o.precision(t),a.precision(t),n):u.precision()},n.scale=function(t){return arguments.length?(u.scale(t),o.scale(.35*t),a.scale(t),n.translate(u.translate())):u.scale()},n.translate=function(t){if(!arguments.length)return u.translate();var c=u.scale(),f=+t[0],s=+t[1];return e=u.translate(t).clipExtent([[f-.455*c,s-.238*c],[f+.455*c,s+.238*c]]).stream(l).point,r=o.translate([f-.307*c,s+.201*c]).clipExtent([[f-.425*c+Uo,s+.12*c+Uo],[f-.214*c-Uo,s+.234*c-Uo]]).stream(l).point,i=a.translate([f-.205*c,s+.212*c]).clipExtent([[f-.214*c+Uo,s+.166*c+Uo],[f-.115*c-Uo,s+.234*c-Uo]]).stream(l).point,n},n.scale(1070)};var Oa,Ia,Ya,Za,Va,Xa,$a={point:b,lineStart:b,lineEnd:b,polygonStart:function(){Ia=0,$a.lineStart=$t},polygonEnd:function(){$a.lineStart=$a.lineEnd=$a.point=b,Oa+=xo(Ia/2)}},Ba={point:Bt,lineStart:b,lineEnd:b,polygonStart:b,polygonEnd:b},Wa={point:Gt,lineStart:Kt,lineEnd:Qt,polygonStart:function(){Wa.lineStart=ne},polygonEnd:function(){Wa.point=Gt,Wa.lineStart=Kt,Wa.lineEnd=Qt}};ao.geo.path=function(){function n(n){return n&&("function"==typeof a&&u.pointRadius(+a.apply(this,arguments)),o&&o.valid||(o=i(u)),ao.geo.stream(n,o)),u.result()}function t(){return o=null,n}var e,r,i,u,o,a=4.5;return n.area=function(n){return Oa=0,ao.geo.stream(n,i($a)),Oa},n.centroid=function(n){return Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,i(Wa)),Ua?[Da/Ua,Pa/Ua]:Ra?[qa/Ra,Ta/Ra]:La?[Ca/La,za/La]:[NaN,NaN]},n.bounds=function(n){return Va=Xa=-(Ya=Za=1/0),ao.geo.stream(n,i(Ba)),[[Ya,Za],[Va,Xa]]},n.projection=function(n){return arguments.length?(i=(e=n)?n.stream||re(n):m,t()):e},n.context=function(n){return arguments.length?(u=null==(r=n)?new Wt:new te(n),"function"!=typeof a&&u.pointRadius(a),t()):r},n.pointRadius=function(t){return arguments.length?(a="function"==typeof t?t:(u.pointRadius(+t),+t),n):a},n.projection(ao.geo.albersUsa()).context(null)},ao.geo.transform=function(n){return{stream:function(t){var e=new ie(t);for(var r in n)e[r]=n[r];return e}}},ie.prototype={point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},ao.geo.projection=oe,ao.geo.projectionMutator=ae,(ao.geo.equirectangular=function(){return oe(ce)}).raw=ce.invert=ce,ao.geo.rotation=function(n){function t(t){return t=n(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t}return n=se(n[0]%360*Yo,n[1]*Yo,n.length>2?n[2]*Yo:0),t.invert=function(t){return t=n.invert(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t},t},fe.invert=ce,ao.geo.circle=function(){function n(){var n="function"==typeof r?r.apply(this,arguments):r,t=se(-n[0]*Yo,-n[1]*Yo,0).invert,i=[];return e(null,null,1,{point:function(n,e){i.push(n=t(n,e)),n[0]*=Zo,n[1]*=Zo}}),{type:"Polygon",coordinates:[i]}}var t,e,r=[0,0],i=6;return n.origin=function(t){return arguments.length?(r=t,n):r},n.angle=function(r){return arguments.length?(e=ve((t=+r)*Yo,i*Yo),n):t},n.precision=function(r){return arguments.length?(e=ve(t*Yo,(i=+r)*Yo),n):i},n.angle(90)},ao.geo.distance=function(n,t){var e,r=(t[0]-n[0])*Yo,i=n[1]*Yo,u=t[1]*Yo,o=Math.sin(r),a=Math.cos(r),l=Math.sin(i),c=Math.cos(i),f=Math.sin(u),s=Math.cos(u);return Math.atan2(Math.sqrt((e=s*o)*e+(e=c*f-l*s*a)*e),l*f+c*s*a)},ao.geo.graticule=function(){function n(){return{type:"MultiLineString",coordinates:t()}}function t(){return ao.range(Math.ceil(u/d)*d,i,d).map(h).concat(ao.range(Math.ceil(c/y)*y,l,y).map(p)).concat(ao.range(Math.ceil(r/g)*g,e,g).filter(function(n){return xo(n%d)>Uo}).map(f)).concat(ao.range(Math.ceil(a/v)*v,o,v).filter(function(n){return xo(n%y)>Uo}).map(s))}var e,r,i,u,o,a,l,c,f,s,h,p,g=10,v=g,d=90,y=360,m=2.5;return n.lines=function(){return t().map(function(n){return{type:"LineString",coordinates:n}})},n.outline=function(){return{type:"Polygon",coordinates:[h(u).concat(p(l).slice(1),h(i).reverse().slice(1),p(c).reverse().slice(1))]}},n.extent=function(t){return arguments.length?n.majorExtent(t).minorExtent(t):n.minorExtent()},n.majorExtent=function(t){return arguments.length?(u=+t[0][0],i=+t[1][0],c=+t[0][1],l=+t[1][1],u>i&&(t=u,u=i,i=t),c>l&&(t=c,c=l,l=t),n.precision(m)):[[u,c],[i,l]]},n.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],o=+t[1][1],r>e&&(t=r,r=e,e=t),a>o&&(t=a,a=o,o=t),n.precision(m)):[[r,a],[e,o]]},n.step=function(t){return arguments.length?n.majorStep(t).minorStep(t):n.minorStep()},n.majorStep=function(t){return arguments.length?(d=+t[0],y=+t[1],n):[d,y]},n.minorStep=function(t){return arguments.length?(g=+t[0],v=+t[1],n):[g,v]},n.precision=function(t){return arguments.length?(m=+t,f=ye(a,o,90),s=me(r,e,m),h=ye(c,l,90),p=me(u,i,m),n):m},n.majorExtent([[-180,-90+Uo],[180,90-Uo]]).minorExtent([[-180,-80-Uo],[180,80+Uo]])},ao.geo.greatArc=function(){function n(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),e||i.apply(this,arguments)]}}var t,e,r=Me,i=xe;return n.distance=function(){return ao.geo.distance(t||r.apply(this,arguments),e||i.apply(this,arguments))},n.source=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,n):r},n.target=function(t){return arguments.length?(i=t,e="function"==typeof t?null:t,n):i},n.precision=function(){return arguments.length?n:0},n},ao.geo.interpolate=function(n,t){return be(n[0]*Yo,n[1]*Yo,t[0]*Yo,t[1]*Yo)},ao.geo.length=function(n){return Ja=0,ao.geo.stream(n,Ga),Ja};var Ja,Ga={sphere:b,point:b,lineStart:_e,lineEnd:b,polygonStart:b,polygonEnd:b},Ka=we(function(n){return Math.sqrt(2/(1+n))},function(n){return 2*Math.asin(n/2)});(ao.geo.azimuthalEqualArea=function(){return oe(Ka)}).raw=Ka;var Qa=we(function(n){var t=Math.acos(n);return t&&t/Math.sin(t)},m);(ao.geo.azimuthalEquidistant=function(){return oe(Qa)}).raw=Qa,(ao.geo.conicConformal=function(){return Vt(Se)}).raw=Se,(ao.geo.conicEquidistant=function(){return Vt(ke)}).raw=ke;var nl=we(function(n){return 1/n},Math.atan);(ao.geo.gnomonic=function(){return oe(nl)}).raw=nl,Ne.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Io]},(ao.geo.mercator=function(){return Ee(Ne)}).raw=Ne;var tl=we(function(){return 1},Math.asin);(ao.geo.orthographic=function(){return oe(tl)}).raw=tl;var el=we(function(n){return 1/(1+n)},function(n){return 2*Math.atan(n)});(ao.geo.stereographic=function(){return oe(el)}).raw=el,Ae.invert=function(n,t){return[-t,2*Math.atan(Math.exp(n))-Io]},(ao.geo.transverseMercator=function(){var n=Ee(Ae),t=n.center,e=n.rotate;return n.center=function(n){return n?t([-n[1],n[0]]):(n=t(),[n[1],-n[0]])},n.rotate=function(n){return n?e([n[0],n[1],n.length>2?n[2]+90:90]):(n=e(),[n[0],n[1],n[2]-90])},e([0,0,90])}).raw=Ae,ao.geom={},ao.geom.hull=function(n){function t(n){if(n.length<3)return[];var t,i=En(e),u=En(r),o=n.length,a=[],l=[];for(t=0;o>t;t++)a.push([+i.call(this,n[t],t),+u.call(this,n[t],t),t]);for(a.sort(qe),t=0;o>t;t++)l.push([a[t][0],-a[t][1]]);var c=Le(a),f=Le(l),s=f[0]===c[0],h=f[f.length-1]===c[c.length-1],p=[];for(t=c.length-1;t>=0;--t)p.push(n[a[c[t]][2]]);for(t=+s;t=r&&c.x<=u&&c.y>=i&&c.y<=o?[[r,o],[u,o],[u,i],[r,i]]:[];f.point=n[a]}),t}function e(n){return n.map(function(n,t){return{x:Math.round(u(n,t)/Uo)*Uo,y:Math.round(o(n,t)/Uo)*Uo,i:t}})}var r=Ce,i=ze,u=r,o=i,a=sl;return n?t(n):(t.links=function(n){return ar(e(n)).edges.filter(function(n){return n.l&&n.r}).map(function(t){return{source:n[t.l.i],target:n[t.r.i]}})},t.triangles=function(n){var t=[];return ar(e(n)).cells.forEach(function(e,r){for(var i,u,o=e.site,a=e.edges.sort(Ve),l=-1,c=a.length,f=a[c-1].edge,s=f.l===o?f.r:f.l;++l=c,h=r>=f,p=h<<1|s;n.leaf=!1,n=n.nodes[p]||(n.nodes[p]=hr()),s?i=c:a=c,h?o=f:l=f,u(n,t,e,r,i,o,a,l)}var f,s,h,p,g,v,d,y,m,M=En(a),x=En(l);if(null!=t)v=t,d=e,y=r,m=i;else if(y=m=-(v=d=1/0),s=[],h=[],g=n.length,o)for(p=0;g>p;++p)f=n[p],f.xy&&(y=f.x),f.y>m&&(m=f.y),s.push(f.x),h.push(f.y);else for(p=0;g>p;++p){var b=+M(f=n[p],p),_=+x(f,p);v>b&&(v=b),d>_&&(d=_),b>y&&(y=b),_>m&&(m=_),s.push(b),h.push(_)}var w=y-v,S=m-d;w>S?m=d+w:y=v+S;var k=hr();if(k.add=function(n){u(k,n,+M(n,++p),+x(n,p),v,d,y,m)},k.visit=function(n){pr(n,k,v,d,y,m)},k.find=function(n){return gr(k,n[0],n[1],v,d,y,m)},p=-1,null==t){for(;++p=0?n.slice(0,t):n,r=t>=0?n.slice(t+1):"in";return e=vl.get(e)||gl,r=dl.get(r)||m,br(r(e.apply(null,lo.call(arguments,1))))},ao.interpolateHcl=Rr,ao.interpolateHsl=Dr,ao.interpolateLab=Pr,ao.interpolateRound=Ur,ao.transform=function(n){var t=fo.createElementNS(ao.ns.prefix.svg,"g");return(ao.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new jr(e?e.matrix:yl)})(n)},jr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var yl={a:1,b:0,c:0,d:1,e:0,f:0};ao.interpolateTransform=$r,ao.layout={},ao.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++ea*a/y){if(v>l){var c=t.charge/l;n.px-=u*c,n.py-=o*c}return!0}if(t.point&&l&&v>l){var c=t.pointCharge/l;n.px-=u*c,n.py-=o*c}}return!t.charge}}function t(n){n.px=ao.event.x,n.py=ao.event.y,l.resume()}var e,r,i,u,o,a,l={},c=ao.dispatch("start","tick","end"),f=[1,1],s=.9,h=ml,p=Ml,g=-30,v=xl,d=.1,y=.64,M=[],x=[];return l.tick=function(){if((i*=.99)<.005)return e=null,c.end({type:"end",alpha:i=0}),!0;var t,r,l,h,p,v,y,m,b,_=M.length,w=x.length;for(r=0;w>r;++r)l=x[r],h=l.source,p=l.target,m=p.x-h.x,b=p.y-h.y,(v=m*m+b*b)&&(v=i*o[r]*((v=Math.sqrt(v))-u[r])/v,m*=v,b*=v,p.x-=m*(y=h.weight+p.weight?h.weight/(h.weight+p.weight):.5),p.y-=b*y,h.x+=m*(y=1-y),h.y+=b*y);if((y=i*d)&&(m=f[0]/2,b=f[1]/2,r=-1,y))for(;++r<_;)l=M[r],l.x+=(m-l.x)*y,l.y+=(b-l.y)*y;if(g)for(ri(t=ao.geom.quadtree(M),i,a),r=-1;++r<_;)(l=M[r]).fixed||t.visit(n(l));for(r=-1;++r<_;)l=M[r],l.fixed?(l.x=l.px,l.y=l.py):(l.x-=(l.px-(l.px=l.x))*s,l.y-=(l.py-(l.py=l.y))*s);c.tick({type:"tick",alpha:i})},l.nodes=function(n){return arguments.length?(M=n,l):M},l.links=function(n){return arguments.length?(x=n,l):x},l.size=function(n){return arguments.length?(f=n,l):f},l.linkDistance=function(n){return arguments.length?(h="function"==typeof n?n:+n,l):h},l.distance=l.linkDistance,l.linkStrength=function(n){return arguments.length?(p="function"==typeof n?n:+n,l):p},l.friction=function(n){return arguments.length?(s=+n,l):s},l.charge=function(n){return arguments.length?(g="function"==typeof n?n:+n,l):g},l.chargeDistance=function(n){return arguments.length?(v=n*n,l):Math.sqrt(v)},l.gravity=function(n){return arguments.length?(d=+n,l):d},l.theta=function(n){return arguments.length?(y=n*n,l):Math.sqrt(y)},l.alpha=function(n){return arguments.length?(n=+n,i?n>0?i=n:(e.c=null,e.t=NaN,e=null,c.end({type:"end",alpha:i=0})):n>0&&(c.start({type:"start",alpha:i=n}),e=qn(l.tick)),l):i},l.start=function(){function n(n,r){if(!e){for(e=new Array(i),l=0;i>l;++l)e[l]=[];for(l=0;c>l;++l){var u=x[l];e[u.source.index].push(u.target),e[u.target.index].push(u.source)}}for(var o,a=e[t],l=-1,f=a.length;++lt;++t)(r=M[t]).index=t,r.weight=0;for(t=0;c>t;++t)r=x[t],"number"==typeof r.source&&(r.source=M[r.source]),"number"==typeof r.target&&(r.target=M[r.target]),++r.source.weight,++r.target.weight;for(t=0;i>t;++t)r=M[t],isNaN(r.x)&&(r.x=n("x",s)),isNaN(r.y)&&(r.y=n("y",v)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(u=[],"function"==typeof h)for(t=0;c>t;++t)u[t]=+h.call(this,x[t],t);else for(t=0;c>t;++t)u[t]=h;if(o=[],"function"==typeof p)for(t=0;c>t;++t)o[t]=+p.call(this,x[t],t);else for(t=0;c>t;++t)o[t]=p;if(a=[],"function"==typeof g)for(t=0;i>t;++t)a[t]=+g.call(this,M[t],t);else for(t=0;i>t;++t)a[t]=g;return l.resume()},l.resume=function(){return l.alpha(.1)},l.stop=function(){return l.alpha(0)},l.drag=function(){return r||(r=ao.behavior.drag().origin(m).on("dragstart.force",Qr).on("drag.force",t).on("dragend.force",ni)),arguments.length?void this.on("mouseover.force",ti).on("mouseout.force",ei).call(r):r},ao.rebind(l,c,"on")};var ml=20,Ml=1,xl=1/0;ao.layout.hierarchy=function(){function n(i){var u,o=[i],a=[];for(i.depth=0;null!=(u=o.pop());)if(a.push(u),(c=e.call(n,u,u.depth))&&(l=c.length)){for(var l,c,f;--l>=0;)o.push(f=c[l]),f.parent=u,f.depth=u.depth+1;r&&(u.value=0),u.children=c}else r&&(u.value=+r.call(n,u,u.depth)||0),delete u.children;return oi(i,function(n){var e,i;t&&(e=n.children)&&e.sort(t),r&&(i=n.parent)&&(i.value+=n.value)}),a}var t=ci,e=ai,r=li;return n.sort=function(e){return arguments.length?(t=e,n):t},n.children=function(t){return arguments.length?(e=t,n):e},n.value=function(t){return arguments.length?(r=t,n):r},n.revalue=function(t){return r&&(ui(t,function(n){n.children&&(n.value=0)}),oi(t,function(t){var e;t.children||(t.value=+r.call(n,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)})),t},n},ao.layout.partition=function(){function n(t,e,r,i){var u=t.children;if(t.x=e,t.y=t.depth*i,t.dx=r,t.dy=i,u&&(o=u.length)){var o,a,l,c=-1;for(r=t.value?r/t.value:0;++cs?-1:1),g=ao.sum(c),v=g?(s-l*p)/g:0,d=ao.range(l),y=[];return null!=e&&d.sort(e===bl?function(n,t){return c[t]-c[n]}:function(n,t){return e(o[n],o[t])}),d.forEach(function(n){y[n]={data:o[n],value:a=c[n],startAngle:f,endAngle:f+=a*v+p,padAngle:h}}),y}var t=Number,e=bl,r=0,i=Ho,u=0;return n.value=function(e){return arguments.length?(t=e,n):t},n.sort=function(t){return arguments.length?(e=t,n):e},n.startAngle=function(t){return arguments.length?(r=t,n):r},n.endAngle=function(t){return arguments.length?(i=t,n):i},n.padAngle=function(t){return arguments.length?(u=t,n):u},n};var bl={};ao.layout.stack=function(){function n(a,l){if(!(h=a.length))return a;var c=a.map(function(e,r){return t.call(n,e,r)}),f=c.map(function(t){return t.map(function(t,e){return[u.call(n,t,e),o.call(n,t,e)]})}),s=e.call(n,f,l);c=ao.permute(c,s),f=ao.permute(f,s);var h,p,g,v,d=r.call(n,f,l),y=c[0].length;for(g=0;y>g;++g)for(i.call(n,c[0][g],v=d[g],f[0][g][1]),p=1;h>p;++p)i.call(n,c[p][g],v+=f[p-1][g][1],f[p][g][1]);return a}var t=m,e=gi,r=vi,i=pi,u=si,o=hi;return n.values=function(e){return arguments.length?(t=e,n):t},n.order=function(t){return arguments.length?(e="function"==typeof t?t:_l.get(t)||gi,n):e},n.offset=function(t){return arguments.length?(r="function"==typeof t?t:wl.get(t)||vi,n):r},n.x=function(t){return arguments.length?(u=t,n):u},n.y=function(t){return arguments.length?(o=t,n):o},n.out=function(t){return arguments.length?(i=t,n):i},n};var _l=ao.map({"inside-out":function(n){var t,e,r=n.length,i=n.map(di),u=n.map(yi),o=ao.range(r).sort(function(n,t){return i[n]-i[t]}),a=0,l=0,c=[],f=[];for(t=0;r>t;++t)e=o[t],l>a?(a+=u[e],c.push(e)):(l+=u[e],f.push(e));return f.reverse().concat(c)},reverse:function(n){return ao.range(n.length).reverse()},"default":gi}),wl=ao.map({silhouette:function(n){var t,e,r,i=n.length,u=n[0].length,o=[],a=0,l=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];r>a&&(a=r),o.push(r)}for(e=0;u>e;++e)l[e]=(a-o[e])/2;return l},wiggle:function(n){var t,e,r,i,u,o,a,l,c,f=n.length,s=n[0],h=s.length,p=[];for(p[0]=l=c=0,e=1;h>e;++e){for(t=0,i=0;f>t;++t)i+=n[t][e][1];for(t=0,u=0,a=s[e][0]-s[e-1][0];f>t;++t){for(r=0,o=(n[t][e][1]-n[t][e-1][1])/(2*a);t>r;++r)o+=(n[r][e][1]-n[r][e-1][1])/a;u+=o*n[t][e][1]}p[e]=l-=i?u/i*a:0,c>l&&(c=l)}for(e=0;h>e;++e)p[e]-=c;return p},expand:function(n){var t,e,r,i=n.length,u=n[0].length,o=1/i,a=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];if(r)for(t=0;i>t;t++)n[t][e][1]/=r;else for(t=0;i>t;t++)n[t][e][1]=o}for(e=0;u>e;++e)a[e]=0;return a},zero:vi});ao.layout.histogram=function(){function n(n,u){for(var o,a,l=[],c=n.map(e,this),f=r.call(this,c,u),s=i.call(this,f,c,u),u=-1,h=c.length,p=s.length-1,g=t?1:1/h;++u0)for(u=-1;++u=f[0]&&a<=f[1]&&(o=l[ao.bisect(s,a,1,p)-1],o.y+=g,o.push(n[u]));return l}var t=!0,e=Number,r=bi,i=Mi;return n.value=function(t){return arguments.length?(e=t,n):e},n.range=function(t){return arguments.length?(r=En(t),n):r},n.bins=function(t){return arguments.length?(i="number"==typeof t?function(n){return xi(n,t)}:En(t),n):i},n.frequency=function(e){return arguments.length?(t=!!e,n):t},n},ao.layout.pack=function(){function n(n,u){var o=e.call(this,n,u),a=o[0],l=i[0],c=i[1],f=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(a.x=a.y=0,oi(a,function(n){n.r=+f(n.value)}),oi(a,Ni),r){var s=r*(t?1:Math.max(2*a.r/l,2*a.r/c))/2;oi(a,function(n){n.r+=s}),oi(a,Ni),oi(a,function(n){n.r-=s})}return Ci(a,l/2,c/2,t?1:1/Math.max(2*a.r/l,2*a.r/c)),o}var t,e=ao.layout.hierarchy().sort(_i),r=0,i=[1,1];return n.size=function(t){return arguments.length?(i=t,n):i},n.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,n):t},n.padding=function(t){return arguments.length?(r=+t,n):r},ii(n,e)},ao.layout.tree=function(){function n(n,i){var f=o.call(this,n,i),s=f[0],h=t(s);if(oi(h,e),h.parent.m=-h.z,ui(h,r),c)ui(s,u);else{var p=s,g=s,v=s;ui(s,function(n){n.xg.x&&(g=n),n.depth>v.depth&&(v=n)});var d=a(p,g)/2-p.x,y=l[0]/(g.x+a(g,p)/2+d),m=l[1]/(v.depth||1);ui(s,function(n){n.x=(n.x+d)*y,n.y=n.depth*m})}return f}function t(n){for(var t,e={A:null,children:[n]},r=[e];null!=(t=r.pop());)for(var i,u=t.children,o=0,a=u.length;a>o;++o)r.push((u[o]=i={_:u[o],parent:t,children:(i=u[o].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=i);return e.children[0]}function e(n){var t=n.children,e=n.parent.children,r=n.i?e[n.i-1]:null;if(t.length){Di(n);var u=(t[0].z+t[t.length-1].z)/2;r?(n.z=r.z+a(n._,r._),n.m=n.z-u):n.z=u}else r&&(n.z=r.z+a(n._,r._));n.parent.A=i(n,r,n.parent.A||e[0])}function r(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function i(n,t,e){if(t){for(var r,i=n,u=n,o=t,l=i.parent.children[0],c=i.m,f=u.m,s=o.m,h=l.m;o=Ti(o),i=qi(i),o&&i;)l=qi(l),u=Ti(u),u.a=n,r=o.z+s-i.z-c+a(o._,i._),r>0&&(Ri(Pi(o,n,e),n,r),c+=r,f+=r),s+=o.m,c+=i.m,h+=l.m,f+=u.m;o&&!Ti(u)&&(u.t=o,u.m+=s-f),i&&!qi(l)&&(l.t=i,l.m+=c-h,e=n)}return e}function u(n){n.x*=l[0],n.y=n.depth*l[1]}var o=ao.layout.hierarchy().sort(null).value(null),a=Li,l=[1,1],c=null;return n.separation=function(t){return arguments.length?(a=t,n):a},n.size=function(t){return arguments.length?(c=null==(l=t)?u:null,n):c?null:l},n.nodeSize=function(t){return arguments.length?(c=null==(l=t)?null:u,n):c?l:null},ii(n,o)},ao.layout.cluster=function(){function n(n,u){var o,a=t.call(this,n,u),l=a[0],c=0;oi(l,function(n){var t=n.children;t&&t.length?(n.x=ji(t),n.y=Ui(t)):(n.x=o?c+=e(n,o):0,n.y=0,o=n)});var f=Fi(l),s=Hi(l),h=f.x-e(f,s)/2,p=s.x+e(s,f)/2;return oi(l,i?function(n){n.x=(n.x-l.x)*r[0],n.y=(l.y-n.y)*r[1]}:function(n){n.x=(n.x-h)/(p-h)*r[0],n.y=(1-(l.y?n.y/l.y:1))*r[1]}),a}var t=ao.layout.hierarchy().sort(null).value(null),e=Li,r=[1,1],i=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(i=null==(r=t),n):i?null:r},n.nodeSize=function(t){return arguments.length?(i=null!=(r=t),n):i?r:null},ii(n,t)},ao.layout.treemap=function(){function n(n,t){for(var e,r,i=-1,u=n.length;++it?0:t),e.area=isNaN(r)||0>=r?0:r}function t(e){var u=e.children;if(u&&u.length){var o,a,l,c=s(e),f=[],h=u.slice(),g=1/0,v="slice"===p?c.dx:"dice"===p?c.dy:"slice-dice"===p?1&e.depth?c.dy:c.dx:Math.min(c.dx,c.dy);for(n(h,c.dx*c.dy/e.value),f.area=0;(l=h.length)>0;)f.push(o=h[l-1]),f.area+=o.area,"squarify"!==p||(a=r(f,v))<=g?(h.pop(),g=a):(f.area-=f.pop().area,i(f,v,c,!1),v=Math.min(c.dx,c.dy),f.length=f.area=0,g=1/0);f.length&&(i(f,v,c,!0),f.length=f.area=0),u.forEach(t)}}function e(t){var r=t.children;if(r&&r.length){var u,o=s(t),a=r.slice(),l=[];for(n(a,o.dx*o.dy/t.value),l.area=0;u=a.pop();)l.push(u),l.area+=u.area,null!=u.z&&(i(l,u.z?o.dx:o.dy,o,!a.length),l.length=l.area=0);r.forEach(e)}}function r(n,t){for(var e,r=n.area,i=0,u=1/0,o=-1,a=n.length;++oe&&(u=e),e>i&&(i=e));return r*=r,t*=t,r?Math.max(t*i*g/r,r/(t*u*g)):1/0}function i(n,t,e,r){var i,u=-1,o=n.length,a=e.x,c=e.y,f=t?l(n.area/t):0; +if(t==e.dx){for((r||f>e.dy)&&(f=e.dy);++ue.dx)&&(f=e.dx);++ue&&(t=1),1>e&&(n=0),function(){var e,r,i;do e=2*Math.random()-1,r=2*Math.random()-1,i=e*e+r*r;while(!i||i>1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var n=ao.random.normal.apply(ao,arguments);return function(){return Math.exp(n())}},bates:function(n){var t=ao.random.irwinHall(n);return function(){return t()/n}},irwinHall:function(n){return function(){for(var t=0,e=0;n>e;e++)t+=Math.random();return t}}},ao.scale={};var Sl={floor:m,ceil:m};ao.scale.linear=function(){return Wi([0,1],[0,1],Mr,!1)};var kl={s:1,g:1,p:1,r:1,e:1};ao.scale.log=function(){return ru(ao.scale.linear().domain([0,1]),10,!0,[1,10])};var Nl=ao.format(".0e"),El={floor:function(n){return-Math.ceil(-n)},ceil:function(n){return-Math.floor(-n)}};ao.scale.pow=function(){return iu(ao.scale.linear(),1,[0,1])},ao.scale.sqrt=function(){return ao.scale.pow().exponent(.5)},ao.scale.ordinal=function(){return ou([],{t:"range",a:[[]]})},ao.scale.category10=function(){return ao.scale.ordinal().range(Al)},ao.scale.category20=function(){return ao.scale.ordinal().range(Cl)},ao.scale.category20b=function(){return ao.scale.ordinal().range(zl)},ao.scale.category20c=function(){return ao.scale.ordinal().range(Ll)};var Al=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(xn),Cl=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(xn),zl=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(xn),Ll=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(xn);ao.scale.quantile=function(){return au([],[])},ao.scale.quantize=function(){return lu(0,1,[0,1])},ao.scale.threshold=function(){return cu([.5],[0,1])},ao.scale.identity=function(){return fu([0,1])},ao.svg={},ao.svg.arc=function(){function n(){var n=Math.max(0,+e.apply(this,arguments)),c=Math.max(0,+r.apply(this,arguments)),f=o.apply(this,arguments)-Io,s=a.apply(this,arguments)-Io,h=Math.abs(s-f),p=f>s?0:1;if(n>c&&(g=c,c=n,n=g),h>=Oo)return t(c,p)+(n?t(n,1-p):"")+"Z";var g,v,d,y,m,M,x,b,_,w,S,k,N=0,E=0,A=[];if((y=(+l.apply(this,arguments)||0)/2)&&(d=u===ql?Math.sqrt(n*n+c*c):+u.apply(this,arguments),p||(E*=-1),c&&(E=tn(d/c*Math.sin(y))),n&&(N=tn(d/n*Math.sin(y)))),c){m=c*Math.cos(f+E),M=c*Math.sin(f+E),x=c*Math.cos(s-E),b=c*Math.sin(s-E);var C=Math.abs(s-f-2*E)<=Fo?0:1;if(E&&yu(m,M,x,b)===p^C){var z=(f+s)/2;m=c*Math.cos(z),M=c*Math.sin(z),x=b=null}}else m=M=0;if(n){_=n*Math.cos(s-N),w=n*Math.sin(s-N),S=n*Math.cos(f+N),k=n*Math.sin(f+N);var L=Math.abs(f-s+2*N)<=Fo?0:1;if(N&&yu(_,w,S,k)===1-p^L){var q=(f+s)/2;_=n*Math.cos(q),w=n*Math.sin(q),S=k=null}}else _=w=0;if(h>Uo&&(g=Math.min(Math.abs(c-n)/2,+i.apply(this,arguments)))>.001){v=c>n^p?0:1;var T=g,R=g;if(Fo>h){var D=null==S?[_,w]:null==x?[m,M]:Re([m,M],[S,k],[x,b],[_,w]),P=m-D[0],U=M-D[1],j=x-D[0],F=b-D[1],H=1/Math.sin(Math.acos((P*j+U*F)/(Math.sqrt(P*P+U*U)*Math.sqrt(j*j+F*F)))/2),O=Math.sqrt(D[0]*D[0]+D[1]*D[1]);R=Math.min(g,(n-O)/(H-1)),T=Math.min(g,(c-O)/(H+1))}if(null!=x){var I=mu(null==S?[_,w]:[S,k],[m,M],c,T,p),Y=mu([x,b],[_,w],c,T,p);g===T?A.push("M",I[0],"A",T,",",T," 0 0,",v," ",I[1],"A",c,",",c," 0 ",1-p^yu(I[1][0],I[1][1],Y[1][0],Y[1][1]),",",p," ",Y[1],"A",T,",",T," 0 0,",v," ",Y[0]):A.push("M",I[0],"A",T,",",T," 0 1,",v," ",Y[0])}else A.push("M",m,",",M);if(null!=S){var Z=mu([m,M],[S,k],n,-R,p),V=mu([_,w],null==x?[m,M]:[x,b],n,-R,p);g===R?A.push("L",V[0],"A",R,",",R," 0 0,",v," ",V[1],"A",n,",",n," 0 ",p^yu(V[1][0],V[1][1],Z[1][0],Z[1][1]),",",1-p," ",Z[1],"A",R,",",R," 0 0,",v," ",Z[0]):A.push("L",V[0],"A",R,",",R," 0 0,",v," ",Z[0])}else A.push("L",_,",",w)}else A.push("M",m,",",M),null!=x&&A.push("A",c,",",c," 0 ",C,",",p," ",x,",",b),A.push("L",_,",",w),null!=S&&A.push("A",n,",",n," 0 ",L,",",1-p," ",S,",",k);return A.push("Z"),A.join("")}function t(n,t){return"M0,"+n+"A"+n+","+n+" 0 1,"+t+" 0,"+-n+"A"+n+","+n+" 0 1,"+t+" 0,"+n}var e=hu,r=pu,i=su,u=ql,o=gu,a=vu,l=du;return n.innerRadius=function(t){return arguments.length?(e=En(t),n):e},n.outerRadius=function(t){return arguments.length?(r=En(t),n):r},n.cornerRadius=function(t){return arguments.length?(i=En(t),n):i},n.padRadius=function(t){return arguments.length?(u=t==ql?ql:En(t),n):u},n.startAngle=function(t){return arguments.length?(o=En(t),n):o},n.endAngle=function(t){return arguments.length?(a=En(t),n):a},n.padAngle=function(t){return arguments.length?(l=En(t),n):l},n.centroid=function(){var n=(+e.apply(this,arguments)+ +r.apply(this,arguments))/2,t=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-Io;return[Math.cos(t)*n,Math.sin(t)*n]},n};var ql="auto";ao.svg.line=function(){return Mu(m)};var Tl=ao.map({linear:xu,"linear-closed":bu,step:_u,"step-before":wu,"step-after":Su,basis:zu,"basis-open":Lu,"basis-closed":qu,bundle:Tu,cardinal:Eu,"cardinal-open":ku,"cardinal-closed":Nu,monotone:Fu});Tl.forEach(function(n,t){t.key=n,t.closed=/-closed$/.test(n)});var Rl=[0,2/3,1/3,0],Dl=[0,1/3,2/3,0],Pl=[0,1/6,2/3,1/6];ao.svg.line.radial=function(){var n=Mu(Hu);return n.radius=n.x,delete n.x,n.angle=n.y,delete n.y,n},wu.reverse=Su,Su.reverse=wu,ao.svg.area=function(){return Ou(m)},ao.svg.area.radial=function(){var n=Ou(Hu);return n.radius=n.x,delete n.x,n.innerRadius=n.x0,delete n.x0,n.outerRadius=n.x1,delete n.x1,n.angle=n.y,delete n.y,n.startAngle=n.y0,delete n.y0,n.endAngle=n.y1,delete n.y1,n},ao.svg.chord=function(){function n(n,a){var l=t(this,u,n,a),c=t(this,o,n,a);return"M"+l.p0+r(l.r,l.p1,l.a1-l.a0)+(e(l,c)?i(l.r,l.p1,l.r,l.p0):i(l.r,l.p1,c.r,c.p0)+r(c.r,c.p1,c.a1-c.a0)+i(c.r,c.p1,l.r,l.p0))+"Z"}function t(n,t,e,r){var i=t.call(n,e,r),u=a.call(n,i,r),o=l.call(n,i,r)-Io,f=c.call(n,i,r)-Io;return{r:u,a0:o,a1:f,p0:[u*Math.cos(o),u*Math.sin(o)],p1:[u*Math.cos(f),u*Math.sin(f)]}}function e(n,t){return n.a0==t.a0&&n.a1==t.a1}function r(n,t,e){return"A"+n+","+n+" 0 "+ +(e>Fo)+",1 "+t}function i(n,t,e,r){return"Q 0,0 "+r}var u=Me,o=xe,a=Iu,l=gu,c=vu;return n.radius=function(t){return arguments.length?(a=En(t),n):a},n.source=function(t){return arguments.length?(u=En(t),n):u},n.target=function(t){return arguments.length?(o=En(t),n):o},n.startAngle=function(t){return arguments.length?(l=En(t),n):l},n.endAngle=function(t){return arguments.length?(c=En(t),n):c},n},ao.svg.diagonal=function(){function n(n,i){var u=t.call(this,n,i),o=e.call(this,n,i),a=(u.y+o.y)/2,l=[u,{x:u.x,y:a},{x:o.x,y:a},o];return l=l.map(r),"M"+l[0]+"C"+l[1]+" "+l[2]+" "+l[3]}var t=Me,e=xe,r=Yu;return n.source=function(e){return arguments.length?(t=En(e),n):t},n.target=function(t){return arguments.length?(e=En(t),n):e},n.projection=function(t){return arguments.length?(r=t,n):r},n},ao.svg.diagonal.radial=function(){var n=ao.svg.diagonal(),t=Yu,e=n.projection;return n.projection=function(n){return arguments.length?e(Zu(t=n)):t},n},ao.svg.symbol=function(){function n(n,r){return(Ul.get(t.call(this,n,r))||$u)(e.call(this,n,r))}var t=Xu,e=Vu;return n.type=function(e){return arguments.length?(t=En(e),n):t},n.size=function(t){return arguments.length?(e=En(t),n):e},n};var Ul=ao.map({circle:$u,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*Fl)),e=t*Fl;return"M0,"+-t+"L"+e+",0 0,"+t+" "+-e+",0Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}});ao.svg.symbolTypes=Ul.keys();var jl=Math.sqrt(3),Fl=Math.tan(30*Yo);Co.transition=function(n){for(var t,e,r=Hl||++Zl,i=Ku(n),u=[],o=Ol||{time:Date.now(),ease:Nr,delay:0,duration:250},a=-1,l=this.length;++au;u++){i.push(t=[]);for(var e=this[u],a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return Wu(i,this.namespace,this.id)},Yl.tween=function(n,t){var e=this.id,r=this.namespace;return arguments.length<2?this.node()[r][e].tween.get(n):Y(this,null==t?function(t){t[r][e].tween.remove(n)}:function(i){i[r][e].tween.set(n,t)})},Yl.attr=function(n,t){function e(){this.removeAttribute(a)}function r(){this.removeAttributeNS(a.space,a.local)}function i(n){return null==n?e:(n+="",function(){var t,e=this.getAttribute(a);return e!==n&&(t=o(e,n),function(n){this.setAttribute(a,t(n))})})}function u(n){return null==n?r:(n+="",function(){var t,e=this.getAttributeNS(a.space,a.local);return e!==n&&(t=o(e,n),function(n){this.setAttributeNS(a.space,a.local,t(n))})})}if(arguments.length<2){for(t in n)this.attr(t,n[t]);return this}var o="transform"==n?$r:Mr,a=ao.ns.qualify(n);return Ju(this,"attr."+n,t,a.local?u:i)},Yl.attrTween=function(n,t){function e(n,e){var r=t.call(this,n,e,this.getAttribute(i));return r&&function(n){this.setAttribute(i,r(n))}}function r(n,e){var r=t.call(this,n,e,this.getAttributeNS(i.space,i.local));return r&&function(n){this.setAttributeNS(i.space,i.local,r(n))}}var i=ao.ns.qualify(n);return this.tween("attr."+n,i.local?r:e)},Yl.style=function(n,e,r){function i(){this.style.removeProperty(n)}function u(e){return null==e?i:(e+="",function(){var i,u=t(this).getComputedStyle(this,null).getPropertyValue(n);return u!==e&&(i=Mr(u,e),function(t){this.style.setProperty(n,i(t),r)})})}var o=arguments.length;if(3>o){if("string"!=typeof n){2>o&&(e="");for(r in n)this.style(r,n[r],e);return this}r=""}return Ju(this,"style."+n,e,u)},Yl.styleTween=function(n,e,r){function i(i,u){var o=e.call(this,i,u,t(this).getComputedStyle(this,null).getPropertyValue(n));return o&&function(t){this.style.setProperty(n,o(t),r)}}return arguments.length<3&&(r=""),this.tween("style."+n,i)},Yl.text=function(n){return Ju(this,"text",n,Gu)},Yl.remove=function(){var n=this.namespace;return this.each("end.transition",function(){var t;this[n].count<2&&(t=this.parentNode)&&t.removeChild(this)})},Yl.ease=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].ease:("function"!=typeof n&&(n=ao.ease.apply(ao,arguments)),Y(this,function(r){r[e][t].ease=n}))},Yl.delay=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].delay:Y(this,"function"==typeof n?function(r,i,u){r[e][t].delay=+n.call(r,r.__data__,i,u)}:(n=+n,function(r){r[e][t].delay=n}))},Yl.duration=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].duration:Y(this,"function"==typeof n?function(r,i,u){r[e][t].duration=Math.max(1,n.call(r,r.__data__,i,u))}:(n=Math.max(1,n),function(r){r[e][t].duration=n}))},Yl.each=function(n,t){var e=this.id,r=this.namespace;if(arguments.length<2){var i=Ol,u=Hl;try{Hl=e,Y(this,function(t,i,u){Ol=t[r][e],n.call(t,t.__data__,i,u)})}finally{Ol=i,Hl=u}}else Y(this,function(i){var u=i[r][e];(u.event||(u.event=ao.dispatch("start","end","interrupt"))).on(n,t)});return this},Yl.transition=function(){for(var n,t,e,r,i=this.id,u=++Zl,o=this.namespace,a=[],l=0,c=this.length;c>l;l++){a.push(n=[]);for(var t=this[l],f=0,s=t.length;s>f;f++)(e=t[f])&&(r=e[o][i],Qu(e,f,o,u,{time:r.time,ease:r.ease,delay:r.delay+r.duration,duration:r.duration})),n.push(e)}return Wu(a,o,u)},ao.svg.axis=function(){function n(n){n.each(function(){var n,c=ao.select(this),f=this.__chart__||e,s=this.__chart__=e.copy(),h=null==l?s.ticks?s.ticks.apply(s,a):s.domain():l,p=null==t?s.tickFormat?s.tickFormat.apply(s,a):m:t,g=c.selectAll(".tick").data(h,s),v=g.enter().insert("g",".domain").attr("class","tick").style("opacity",Uo),d=ao.transition(g.exit()).style("opacity",Uo).remove(),y=ao.transition(g.order()).style("opacity",1),M=Math.max(i,0)+o,x=Zi(s),b=c.selectAll(".domain").data([0]),_=(b.enter().append("path").attr("class","domain"),ao.transition(b));v.append("line"),v.append("text");var w,S,k,N,E=v.select("line"),A=y.select("line"),C=g.select("text").text(p),z=v.select("text"),L=y.select("text"),q="top"===r||"left"===r?-1:1;if("bottom"===r||"top"===r?(n=no,w="x",k="y",S="x2",N="y2",C.attr("dy",0>q?"0em":".71em").style("text-anchor","middle"),_.attr("d","M"+x[0]+","+q*u+"V0H"+x[1]+"V"+q*u)):(n=to,w="y",k="x",S="y2",N="x2",C.attr("dy",".32em").style("text-anchor",0>q?"end":"start"),_.attr("d","M"+q*u+","+x[0]+"H0V"+x[1]+"H"+q*u)),E.attr(N,q*i),z.attr(k,q*M),A.attr(S,0).attr(N,q*i),L.attr(w,0).attr(k,q*M),s.rangeBand){var T=s,R=T.rangeBand()/2;f=s=function(n){return T(n)+R}}else f.rangeBand?f=s:d.call(n,s,f);v.call(n,f,s),y.call(n,s,s)})}var t,e=ao.scale.linear(),r=Vl,i=6,u=6,o=3,a=[10],l=null;return n.scale=function(t){return arguments.length?(e=t,n):e},n.orient=function(t){return arguments.length?(r=t in Xl?t+"":Vl,n):r},n.ticks=function(){return arguments.length?(a=co(arguments),n):a},n.tickValues=function(t){return arguments.length?(l=t,n):l},n.tickFormat=function(e){return arguments.length?(t=e,n):t},n.tickSize=function(t){var e=arguments.length;return e?(i=+t,u=+arguments[e-1],n):i},n.innerTickSize=function(t){return arguments.length?(i=+t,n):i},n.outerTickSize=function(t){return arguments.length?(u=+t,n):u},n.tickPadding=function(t){return arguments.length?(o=+t,n):o},n.tickSubdivide=function(){return arguments.length&&n},n};var Vl="bottom",Xl={top:1,right:1,bottom:1,left:1};ao.svg.brush=function(){function n(t){t.each(function(){var t=ao.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",u).on("touchstart.brush",u),o=t.selectAll(".background").data([0]);o.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),t.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var a=t.selectAll(".resize").data(v,m);a.exit().remove(),a.enter().append("g").attr("class",function(n){return"resize "+n}).style("cursor",function(n){return $l[n]}).append("rect").attr("x",function(n){return/[ew]$/.test(n)?-3:null}).attr("y",function(n){return/^[ns]/.test(n)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),a.style("display",n.empty()?"none":null);var l,s=ao.transition(t),h=ao.transition(o);c&&(l=Zi(c),h.attr("x",l[0]).attr("width",l[1]-l[0]),r(s)),f&&(l=Zi(f),h.attr("y",l[0]).attr("height",l[1]-l[0]),i(s)),e(s)})}function e(n){n.selectAll(".resize").attr("transform",function(n){return"translate("+s[+/e$/.test(n)]+","+h[+/^s/.test(n)]+")"})}function r(n){n.select(".extent").attr("x",s[0]),n.selectAll(".extent,.n>rect,.s>rect").attr("width",s[1]-s[0])}function i(n){n.select(".extent").attr("y",h[0]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",h[1]-h[0])}function u(){function u(){32==ao.event.keyCode&&(C||(M=null,L[0]-=s[1],L[1]-=h[1],C=2),S())}function v(){32==ao.event.keyCode&&2==C&&(L[0]+=s[1],L[1]+=h[1],C=0,S())}function d(){var n=ao.mouse(b),t=!1;x&&(n[0]+=x[0],n[1]+=x[1]),C||(ao.event.altKey?(M||(M=[(s[0]+s[1])/2,(h[0]+h[1])/2]),L[0]=s[+(n[0]f?(i=r,r=f):i=f),v[0]!=r||v[1]!=i?(e?a=null:o=null,v[0]=r,v[1]=i,!0):void 0}function m(){d(),k.style("pointer-events","all").selectAll(".resize").style("display",n.empty()?"none":null),ao.select("body").style("cursor",null),q.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),z(),w({type:"brushend"})}var M,x,b=this,_=ao.select(ao.event.target),w=l.of(b,arguments),k=ao.select(b),N=_.datum(),E=!/^(n|s)$/.test(N)&&c,A=!/^(e|w)$/.test(N)&&f,C=_.classed("extent"),z=W(b),L=ao.mouse(b),q=ao.select(t(b)).on("keydown.brush",u).on("keyup.brush",v);if(ao.event.changedTouches?q.on("touchmove.brush",d).on("touchend.brush",m):q.on("mousemove.brush",d).on("mouseup.brush",m),k.interrupt().selectAll("*").interrupt(),C)L[0]=s[0]-L[0],L[1]=h[0]-L[1];else if(N){var T=+/w$/.test(N),R=+/^n/.test(N);x=[s[1-T]-L[0],h[1-R]-L[1]],L[0]=s[T],L[1]=h[R]}else ao.event.altKey&&(M=L.slice());k.style("pointer-events","none").selectAll(".resize").style("display",null),ao.select("body").style("cursor",_.style("cursor")),w({type:"brushstart"}),d()}var o,a,l=N(n,"brushstart","brush","brushend"),c=null,f=null,s=[0,0],h=[0,0],p=!0,g=!0,v=Bl[0];return n.event=function(n){n.each(function(){var n=l.of(this,arguments),t={x:s,y:h,i:o,j:a},e=this.__chart__||t;this.__chart__=t,Hl?ao.select(this).transition().each("start.brush",function(){o=e.i,a=e.j,s=e.x,h=e.y,n({type:"brushstart"})}).tween("brush:brush",function(){var e=xr(s,t.x),r=xr(h,t.y);return o=a=null,function(i){s=t.x=e(i),h=t.y=r(i),n({type:"brush",mode:"resize"})}}).each("end.brush",function(){o=t.i,a=t.j,n({type:"brush",mode:"resize"}),n({type:"brushend"})}):(n({type:"brushstart"}),n({type:"brush",mode:"resize"}),n({type:"brushend"}))})},n.x=function(t){return arguments.length?(c=t,v=Bl[!c<<1|!f],n):c},n.y=function(t){return arguments.length?(f=t,v=Bl[!c<<1|!f],n):f},n.clamp=function(t){return arguments.length?(c&&f?(p=!!t[0],g=!!t[1]):c?p=!!t:f&&(g=!!t),n):c&&f?[p,g]:c?p:f?g:null},n.extent=function(t){var e,r,i,u,l;return arguments.length?(c&&(e=t[0],r=t[1],f&&(e=e[0],r=r[0]),o=[e,r],c.invert&&(e=c(e),r=c(r)),e>r&&(l=e,e=r,r=l),e==s[0]&&r==s[1]||(s=[e,r])),f&&(i=t[0],u=t[1],c&&(i=i[1],u=u[1]),a=[i,u],f.invert&&(i=f(i),u=f(u)),i>u&&(l=i,i=u,u=l),i==h[0]&&u==h[1]||(h=[i,u])),n):(c&&(o?(e=o[0],r=o[1]):(e=s[0],r=s[1],c.invert&&(e=c.invert(e),r=c.invert(r)),e>r&&(l=e,e=r,r=l))),f&&(a?(i=a[0],u=a[1]):(i=h[0],u=h[1],f.invert&&(i=f.invert(i),u=f.invert(u)),i>u&&(l=i,i=u,u=l))),c&&f?[[e,i],[r,u]]:c?[e,r]:f&&[i,u])},n.clear=function(){return n.empty()||(s=[0,0],h=[0,0],o=a=null),n},n.empty=function(){return!!c&&s[0]==s[1]||!!f&&h[0]==h[1]},ao.rebind(n,l,"on")};var $l={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Bl=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Wl=ga.format=xa.timeFormat,Jl=Wl.utc,Gl=Jl("%Y-%m-%dT%H:%M:%S.%LZ");Wl.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?eo:Gl,eo.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},eo.toString=Gl.toString,ga.second=On(function(n){return new va(1e3*Math.floor(n/1e3))},function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))},function(n){return n.getSeconds()}),ga.seconds=ga.second.range,ga.seconds.utc=ga.second.utc.range,ga.minute=On(function(n){return new va(6e4*Math.floor(n/6e4))},function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))},function(n){return n.getMinutes()}),ga.minutes=ga.minute.range,ga.minutes.utc=ga.minute.utc.range,ga.hour=On(function(n){var t=n.getTimezoneOffset()/60;return new va(36e5*(Math.floor(n/36e5-t)+t))},function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))},function(n){return n.getHours()}),ga.hours=ga.hour.range,ga.hours.utc=ga.hour.utc.range,ga.month=On(function(n){return n=ga.day(n),n.setDate(1),n},function(n,t){n.setMonth(n.getMonth()+t)},function(n){return n.getMonth()}),ga.months=ga.month.range,ga.months.utc=ga.month.utc.range;var Kl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Ql=[[ga.second,1],[ga.second,5],[ga.second,15],[ga.second,30],[ga.minute,1],[ga.minute,5],[ga.minute,15],[ga.minute,30],[ga.hour,1],[ga.hour,3],[ga.hour,6],[ga.hour,12],[ga.day,1],[ga.day,2],[ga.week,1],[ga.month,1],[ga.month,3],[ga.year,1]],nc=Wl.multi([[".%L",function(n){return n.getMilliseconds()}],[":%S",function(n){return n.getSeconds()}],["%I:%M",function(n){return n.getMinutes()}],["%I %p",function(n){return n.getHours()}],["%a %d",function(n){return n.getDay()&&1!=n.getDate()}],["%b %d",function(n){return 1!=n.getDate()}],["%B",function(n){return n.getMonth()}],["%Y",zt]]),tc={range:function(n,t,e){return ao.range(Math.ceil(n/e)*e,+t,e).map(io)},floor:m,ceil:m};Ql.year=ga.year,ga.scale=function(){return ro(ao.scale.linear(),Ql,nc)};var ec=Ql.map(function(n){return[n[0].utc,n[1]]}),rc=Jl.multi([[".%L",function(n){return n.getUTCMilliseconds()}],[":%S",function(n){return n.getUTCSeconds()}],["%I:%M",function(n){return n.getUTCMinutes()}],["%I %p",function(n){return n.getUTCHours()}],["%a %d",function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],["%b %d",function(n){return 1!=n.getUTCDate()}],["%B",function(n){return n.getUTCMonth()}],["%Y",zt]]);ec.year=ga.year.utc,ga.scale.utc=function(){return ro(ao.scale.linear(),ec,rc)},ao.text=An(function(n){return n.responseText}),ao.json=function(n,t){return Cn(n,"application/json",uo,t)},ao.html=function(n,t){return Cn(n,"text/html",oo,t)},ao.xml=An(function(n){return n.responseXML}),"function"==typeof define&&define.amd?(this.d3=ao,define(ao)):"object"==typeof module&&module.exports?module.exports=ao:this.d3=ao}(); \ No newline at end of file diff --git a/dist/ontology/1.0.0/webvowl/js/webvowl.app.js b/dist/ontology/1.0.0/webvowl/js/webvowl.app.js new file mode 100644 index 0000000..f3eba7c --- /dev/null +++ b/dist/ontology/1.0.0/webvowl/js/webvowl.app.js @@ -0,0 +1,5 @@ +webvowl.app=function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}({0:function(e,t,n){n(319),n(321),e.exports=n(322)},6:function(e,t){e.exports=d3},91:function(e,t,n){function o(e){return null==e?void 0===e?s:l:d&&d in Object(e)?r(e):a(e)}var i=n(92),r=n(95),a=n(96),l="[object Null]",s="[object Undefined]",d=i?i.toStringTag:void 0;e.exports=o},92:function(e,t,n){var o=n(93),i=o.Symbol;e.exports=i},93:function(e,t,n){var o=n(94),i="object"==typeof self&&self&&self.Object===Object&&self,r=o||i||Function("return this")();e.exports=r},94:function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},95:function(e,t,n){function o(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var o=!0}catch(e){}var i=l.call(e);return o&&(t?e[s]=n:delete e[s]),i}var i=n(92),r=Object.prototype,a=r.hasOwnProperty,l=r.toString,s=i?i.toStringTag:void 0;e.exports=o},96:function(e,t){function n(e){return i.call(e)}var o=Object.prototype,i=o.toString;e.exports=n},103:function(e,t,n){function o(e){return"symbol"==typeof e||r(e)&&i(e)==a}var i=n(91),r=n(104),a="[object Symbol]";e.exports=o},104:function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},112:function(e,t){var n=Array.isArray;e.exports=n},154:function(e,t){function n(e,t){for(var n=-1,o=null==e?0:e.length,i=Array(o);++n0?(g.classed("hidden",!1),h.classed("hidden",!1),k.updateScrollButtonVisibility()):(g.classed("hidden",!0),h.classed("hidden",!0)),_.updateElementWidth()}function i(){var e=window.innerHeight-40,n=e,o=e-30,i=150;if(n<150)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").classed("hidden",!0),t.select("#zoomInButton").classed("hidden",!0),void t.select("#centerGraphButton").classed("hidden",!0);t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").classed("hidden",!1),t.select("#zoomInButton").classed("hidden",!1),t.select("#centerGraphButton").classed("hidden",!1);var r=o-20,a=r-20;if(n<280)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),void t.select("#centerGraphButton").style("top",a+"px");var l=o-i;r=l-20,a=r-20,t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),t.select("#centerGraphButton").style("top",a+"px"),t.select("#zoomSliderParagraph").style("top",l+"px")}function r(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function a(){var e,t,n=-1,o=/(?:\b(MS)?IE\s+|\bTrident\/7\.0;.*\s+rv:|\bEdge\/)(\d+)/.test(navigator.userAgent);if(o)return n=parseInt("12");var i=/Trident.*rv[ :]*11\./.test(navigator.userAgent);return i?n=parseInt("11"):("Microsoft Internet Explorer"===navigator.appName?(e=navigator.userAgent,t=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))):"Netscape"===navigator.appName&&(e=navigator.userAgent,t=new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))),n)}var l=1,s={},d=webvowl.graph(),c=d.graphOptions(),p=webvowl.util.languageTools(),u="#graph",f=n(323)(d),h=n(325)(d),g=n(326)(d),v=n(327)(d),m=n(328)(d),y=n(329)(d),b=n(333)(d),x=n(334)(d),w=n(335)(d),k=n(336)(d),C=n(337)(d),L=n(338)(d),M=n(339)(d),_=n(340)(d),E=n(341)(d),O=n(342)(d),S=n(343)(d),F=n(344)(d),I=webvowl.modules.colorExternalsSwitch(d),T=webvowl.modules.compactNotationSwitch(d),A=webvowl.modules.datatypeFilter(),P=webvowl.modules.disjointFilter(),B=webvowl.modules.focuser(d),D=webvowl.modules.emptyLiteralFilter(),R=webvowl.modules.nodeDegreeFilter(h),W=webvowl.modules.nodeScalingSwitch(d),N=webvowl.modules.objectPropertyFilter(),H=webvowl.modules.pickAndPin(),j=webvowl.modules.selectionDetailsDisplayer(L.updateSelectionInformation),z=webvowl.modules.statistics(),V=webvowl.modules.subclassFilter(),U=webvowl.modules.setOperatorFilter();return s.getOptions=function(){return webvowl.opts},s.getGraph=function(){return webvowl.gr},s.initialize=function(){window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)},window.cancelAnimationFrame=window.cancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)},c.graphContainerSelector(u),c.selectionModules().push(B),c.selectionModules().push(j),c.selectionModules().push(H),c.filterModules().push(D),c.filterModules().push(z),c.filterModules().push(R),c.filterModules().push(A),c.filterModules().push(N),c.filterModules().push(V),c.filterModules().push(P),c.filterModules().push(U),c.filterModules().push(W),c.filterModules().push(T),c.filterModules().push(I),t.select(window).on("resize",o),f.setup(),g.setup(),h.setup(A,N,V,P,U,R),v.setup(H,W,T,I),b.setup(),L.setup(),O.setup(),M.setup(),_.setup(),m.setup();var n=a();if(n>0&&n<=11)console.log("Agent version "+n),console.log("This agent is not supported"),t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!0),t.select("#optionsArea").classed("hidden",!0),t.select("#logo").classed("hidden",!0);else{t.select("#logo").classed("hidden",!1),12===n?(t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!1)):t.select("#browserCheck").classed("hidden",!0),x.setup([g,h,v,B,j,b]),w.setup(),k.setup(),C.setup(),c.literalFilter(D),c.nodeDegreeFilter(R),c.loadingModule(O),c.filterMenu(h),c.modeMenu(v),c.gravityMenu(g),c.pausedMenu(b),c.pickAndPinModule(H),c.resetMenu(x),c.searchMenu(w),c.ontologyMenu(y),c.navigationMenu(k),c.sidebar(L),c.leftSidebar(M),c.editSidebar(_),c.exportMenu(f),c.graphObject(d),c.zoomSlider(C),c.warningModule(S),c.directInputModule(F),c.datatypeFilter(A),c.objectPropertyFilter(N),c.subclassFilter(V),c.setOperatorFilter(U),c.disjointPropertyFilter(P),c.focuserModule(B),c.colorExternalsModule(I),c.compactNotationModule(T),y.setup(e),E.setup(),M.showSidebar(0),M.hideCollapseButton(!0),d.start();var i=t.select("#modeOfOperationString");i.style("font-size","0.6em"),i.style("font-style","italic"),o();var r,l=d.options().width(),s=d.options().height();r=Math.min(l,s)/1e3;var p=!0;p===!1&&d.setForceTickFunctionWithFPS(),d.setDefaultZoom(r),t.selectAll(".debugOption").classed("hidden",p);var G=t.select("body");if(t.select(document).on("keydown",function(e){8===t.event.keyCode&&t.event.target===G.node()&&t.event.preventDefault(),t.event.ctrlKey&&t.event.shiftKey&&68===t.event.keyCode&&(d.options().executeHiddenDebugFeatuers(),t.event.preventDefault())}),t.select("#maxLabelWidthSliderOption")){var q=!d.options().dynamicLabelWidth();t.select("#maxLabelWidthSlider").node().disabled=q,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",q),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",q)}t.select("#blockGraphInteractions").style("position","absolute").style("top","0").style("background-color","#bdbdbd").style("opacity","0.5").style("pointer-events","auto").style("width",d.options().width()+"px").style("height",d.options().height()+"px").on("click",function(){t.event.preventDefault(),t.event.stopPropagation()}).on("dblclick",function(){t.event.preventDefault(),t.event.stopPropagation()}),t.select("#direct-text-input").on("click",function(){F.setDirectInputMode()}),t.select("#blockGraphInteractions").node().draggable=!1,c.prefixModule(webvowl.util.prefixTools(d)),o(),L.updateOntologyInformation(void 0,z),O.parseUrlAndLoadOntology(),c.debugMenu(m),m.updateSettings(),t.select("#reloadSvgIcon").on("click",function(){return t.select("#reloadSvgIcon").node().disabled===!0?void d.options().ontologyMenu().clearCachedVersion():(t.select("#reloadCachedOntology").classed("hidden",!0),void d.options().ontologyMenu().reloadCachedOntology())}),webvowl.opts=c,webvowl.gr=d}},s}}).call(t,n(6))},323:function(e,t,n){(function(t){e.exports=function(e){function o(){var n=M.requestExport(),o=M.resultingTTL_Content();if(console.log("Exporter was successful: "+n),n){var i="NewOntology",r="data:text/json;charset=utf-8,"+encodeURIComponent(o);x.attr("href",r).attr("download",i+".ttl")}else console.log("ShowWarning!"),e.options().warningModule().showExporterWarning(),console.log("Stay on the page! "+window.location.href),x.attr("href",window.location.href),t.event.preventDefault()}function i(){t.select("#exportedUrl").node().focus(),t.select("#exportedUrl").node().select(),document.execCommand("copy"),e.options().navigationMenu().hideAllMenus(),t.event.preventDefault()}function r(e,t){var n=0,o="opts=";for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],a=t[i];r!==a&&(o+=i+"="+a+";",n++)}return o+="",0===n?"":o}function a(){e.options().navigationMenu().hideAllMenus();var n,o,i,r=t.select(e.options().graphContainerSelector()).select("svg");s(),u(),n=r.attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML,n="\n"+n,o=l(n),i="data:image/svg+xml;base64,"+btoa(o),m.attr("href",i).attr("download",y+".svg"),f(),h(),e.lazyRefresh()}function l(e){var t,n,o,i=[],r=e.length;for(t=0;t0){var J=z.node().getPointAtLength(O-18),Y=J.x-10*j,X=J.y+10*H;X*=-1;var K="black";Z.indexOf("A")>-1&&(Z="$\\forall$"),Z.indexOf("E")>-1&&(Z="$\\exists$"),i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily },text="+K+"] at ("+Y+"pt, "+X+"pt) (cardinalityText"+a+") {"+Z+"};\n "}if(S.property().inverse()){z=S.pathObj(),O=Math.floor(z.node().getTotalLength());var Q=z.node().getPointAtLength(4),ee=z.node().getPointAtLength(0),te=z.node().getPointAtLength(6);D=Q.x,R=Q.y,W=ee.x,N=ee.y,H=W-D,j=N-R,_=Math.sqrt(H*H+j*j),H/=_,j/=_,E=-1*Math.atan2(j,H)*(180/Math.PI),E-=90,h=te.x,g=te.y,1!==S.layers().length||S.loops()?(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_marker"+a+") {};\n "):(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_single_marker"+a+") {};\n ")}}}for(l.each(function(e){u=e.x,f=-e.y,r=e.labelForCurrentLanguage(),void 0===r&&(r="");var t="owlClass";"owl:Thing"!==e.type()&&"owl:Nothing"!==e.type()||(t="owlThing"),"owl:equivalentClass"===e.type()&&(t="owlEquivalentClass");var n="";if(e.textBlock){var o=e.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===o&&(n=", text=black"),"rgb(255, 255, 255)"===o&&(n=", text=white");var l=e.textBlock()._textBlock().node().children;if(l[0]){r=l[0].innerHTML,e.individuals()&&e.individuals().length===parseInt(l[0].innerHTML)&&(r="{\\color{gray} "+l[0].innerHTML+" }");for(var s=1;s-1&&(i+="\\definecolor{Node"+a+"_COLOR}{HTML}{CCCCCC} \n ",d=", fill=Node"+a+"_COLOR ");var g=u-7,v=u+7,m=f+20;"owl:unionOf"===e.type()&&"owl:disjointUnionOf"===e.type()||(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:unionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[text=black] at ("+u+"pt, "+f+"pt) (unionText13) {$\\mathbf{\\cup}$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:disjointUnionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (disjointUnoinText"+a+") {1};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:complementOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+u+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{18pt}{18}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (unionText13) {$\\neg$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:intersectionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\filldraw[even odd rule,fill=owlClassColor,line width=1pt] ("+g+"pt, "+f+"pt) circle (12.5pt) ("+v+"pt, "+f+"pt) circle (12.5pt);\n ",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (intersectionText"+a+") {$\\cap$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),a++}),a=0;a-1?"\\\\ {\\small "+le[se].innerHTML+" }":"\\\\ "+le[se].innerHTML}}}if("setOperatorProperty"!==ne.type()){var ce="owlObjectProperty";"owl:DatatypeProperty"===ne.type()&&(ce="owlDatatypeProperty"),"rdfs:subClassOf"===ne.type()&&(ce="rdfsSubClassOf"),"rdf:Property"===ne.type()&&(ce="rdfProperty");var pe="";if(ne.backgroundColor()){var ue=ne.backgroundColor();ue.toUpperCase(),ue=ue.slice(1,ue.length),i+="\\definecolor{property"+a+"_COLOR}{HTML}{"+ue+"} \n ",pe=", fill=property"+a+"_COLOR "}ne.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{property"+a+"_COLOR}{HTML}{CCCCCC} \n ",pe=", fill=property"+a+"_COLOR ");var fe="",he=ne.textWidth();if(fe=",minimum width="+he+"pt","owl:disjointWith"!==ne.type())if(ne.inverse()){var ge=ne.inverse(),ve=ge.labelForCurrentLanguage();void 0===ve&&(ve="");var me="";if(ge.textBlock&&ge.textBlock()){var ye=ge.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===ye&&(me=", text=black"),"rgb(255, 255, 255)"===ye&&(me=", text=white");var be=ge.textBlock()._textBlock().node().children;if(be[0]){ve=be[0].innerHTML;for(var xe=1;xe-1?"\\\\ {\\small "+be[xe].innerHTML+" }":"\\\\ "+be[xe].innerHTML; +}}}var ke="owlObjectProperty",Ce="";if(ge.backgroundColor()){var Le=ge.backgroundColor();Le.toUpperCase(),Le=Le.slice(1,Le.length),i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{"+Le+"} \n ",Ce=", fill=inv_property"+a+"_COLOR "}ge.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{CCCCCC} \n ",Ce=", fill=inv_property"+a+"_COLOR ");var Me="",_e=ge.textWidth(),Ee=ie-14,Oe=ie+14;Me=",minimum width="+_e+"pt",i+="% Createing Inverse Property \n",i+="\\node["+ke+" "+Me+" "+Ce+" "+me+"] at ("+oe+"pt, "+Ee+"pt) (property"+a+") {"+ve.replaceAll("_","\\_ ")+"};\n",i+="% "+ke+" vs "+ce+"\n",i+="% "+Me+" vs "+fe+"\n",i+="% "+Ce+" vs "+pe+"\n",i+="% "+me+" vs "+re+"\n",i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+Oe+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"}else i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n";else{var Se=oe-12,Fe=oe+12,Ie=ie-20;i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (Node"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Se+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Fe+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+re+"] at ("+oe+"pt, "+Ie+"pt) (Node_text"+a+") {",e.options().compactNotation()===!1&&(i+="(disjoint)"),i+="};\n"}}}i+="\\end{tikzpicture}\n}\n \\end{center}\n";var Te="data:text/json;charset=utf-8,"+encodeURIComponent(i);w.attr("href",Te).attr("download",y+".tex")}var m,y,b,x,w,k,C,L={},M=n(324)(e);String.prototype.replaceAll=function(e,t){var n=this;return n.split(e).join(t)},L.setup=function(){m=t.select("#exportSvg").on("click",a),b=t.select("#exportJson").on("click",g),k=t.select("#copyBt").on("click",i),w=t.select("#exportTex").on("click",v),x=t.select("#exportTurtle").on("click",o);var n=t.select("#m_export");n.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries(),L.exportAsUrl()})},L.setFilename=function(e){y=e||"export"},L.setJsonText=function(e){C=e},L.exportAsUrl=function(){var n={};n.sidebar=e.options().sidebar().getSidebarVisibility();var o=e.options().filterMenu().getDefaultDegreeValue(),i=e.options().filterMenu().getDegreeSliderValue();parseInt(o)===parseInt(i)?n.doc=-1:n.doc=i,n.cd=e.options().classDistance(),n.dd=e.options().datatypeDistance(),e.editorMode()===!0?n.editorMode="true":n.editorMode="false",n.filter_datatypes=String(e.options().filterMenu().getCheckBoxValue("datatypeFilterCheckbox")),n.filter_sco=String(e.options().filterMenu().getCheckBoxValue("subclassFilterCheckbox")),n.filter_disjoint=String(e.options().filterMenu().getCheckBoxValue("disjointFilterCheckbox")),n.filter_setOperator=String(e.options().filterMenu().getCheckBoxValue("setoperatorFilterCheckbox")),n.filter_objectProperties=String(e.options().filterMenu().getCheckBoxValue("objectPropertyFilterCheckbox")),n.mode_dynamic=String(e.options().dynamicLabelWidth()),n.mode_scaling=String(e.options().modeMenu().getCheckBoxValue("nodescalingModuleCheckbox")),n.mode_compact=String(e.options().modeMenu().getCheckBoxValue("compactnotationModuleCheckbox")),n.mode_colorExt=String(e.options().modeMenu().getCheckBoxValue("colorexternalsModuleCheckbox")),n.mode_multiColor=String(e.options().modeMenu().colorModeState()),n.mode_pnp=String(e.options().modeMenu().getCheckBoxValue("pickandpinModuleCheckbox")),n.debugFeatures=String(!e.options().getHideDebugFeatures()),n.rect=0;var a,l=e.options().initialConfig(),s=r(l,n),d=String(location);if(0===s.length){var c=location.hash;d=d.split(c)[0];var p=c.lastIndexOf("#");if(p===-1)return a=t.select("#exportedUrl").node(),a.value=String(location),void(a.title=String(location));var u=c.slice(p,c.length);return a=t.select("#exportedUrl").node(),a.value=d+u,void(a.title=d+u)}var f,h=(d.match(/#/g)||[]).length;if(void 0!==h&&0!==h||(f=d+"#"+s),h>0){var g,v=d.split("#");for(v[1].indexOf("opts=")>=0?(v[1]=s,f=v[0]):(f=v[0]+"#",f+=s),g=1;g0&&(f+="#"+v[g])}a=t.select("#exportedUrl").node(),a.value=f,a.title=f},L.createJSON_exportObject=function(){var t,n,o,i=e.getUnfilteredData(),r=e.options().data()._comment,a=e.options().getGeneralMetaObject(),l=e.options().data().header;a.iri&&a.iri!==l.iri&&(l.iri=a.iri),a.title&&a.title!==l.title&&(l.title=a.title),a.version&&a.version!==l.version&&(l.version=a.version),a.author&&a.author!==l.author&&(l.author=a.author),a.description&&a.description!==l.description&&(l.description=a.description);var s={};s._comment=r,s.header=l,s.namespace=e.options().data().namespace,void 0===s.namespace&&(s.namespace=[]);var d=i.nodes,c=d.length,p=[],u=[];for(t=0;t0&&(h.attributes=d[t].attributes()),d[t].comment()&&(h.comment=d[t].comment()),d[t].annotations()&&(h.annotations=d[t].annotations()),d[t].description()&&(h.description=d[t].description()),d[t].individuals().length>0){var g=[],v=d[t].individuals();for(n=0;n0){y=[];var b=d[t].equivalents();for(n=0;n0&&(w.attributes=b[n].attributes()),b[n].comment()&&(w.comment=b[n].comment()),b[n].individuals().length>0&&(w.individuals=b[n].individuals()),b[n].annotations()&&(w.annotations=b[n].annotations()),b[n].description()&&(w.description=b[n].description()),b[n].individuals().length>0){var k=[],C=b[t].individuals();for(o=0;o0&&(h.equivalent=y),u.push(h)}var M=i.properties,_=M.length,E=[],O=[];for(t=0;t<_;t++){var S={},F={};if(S.id=M[t].id(),S.type=M[t].type(),E.push(S),F.id=M[t].id(),F.iri=M[t].iri(),F.baseIri=M[t].baseIri(),F.label=M[t].label(),M[t].attributes().length>0&&(F.attributes=M[t].attributes()),M[t].comment()&&(F.comment=M[t].comment()),M[t].annotations()&&(F.annotations=M[t].annotations()),M[t].maxCardinality()&&(F.maxCardinality=M[t].maxCardinality()),M[t].minCardinality()&&(F.minCardinality=M[t].minCardinality()),M[t].cardinality()&&(F.cardinality=M[t].cardinality()),M[t].description()&&(F.description=M[t].description()),F.domain=M[t].domain().id(),F.range=M[t].range().id(),M[t].subproperties()){var I=M[t].subproperties(),T=[];for(n=0;n":n[t].prefixRepresentation=i}for(t=0;t":o[t].prefixRepresentation=r}}function n(){if(0!==y.length){x+="### Property Definitions (Number of Property) "+y.length+" ###\r\n";for(var e=0;e=0}function r(t){var n=t.prefixRepresentation,o="rdf:type",r=t.type();"owl:equivalentClass"===t.type()&&(r="owl:Class"),"owl:disjointUnionOf"===t.type()&&(r="owl:Class"),"owl:unionOf"===t.type()&&(r="owl:Class");var a=[],s=[];if(t.union())for(var d=t.union(),c=0;c":b,g+=m+" owl:equivalentClass "+x+" ;\r\n"}if(t.commentForCurrentLanguage()&&(g+=m+' rdfs:comment "'+t.commentForCurrentLanguage()+'" ;\r\n'),t.annotations()){var k=t.annotations();for(var L in k)if(k.hasOwnProperty(L)){var M=k[L],_=M[0],E=_.identifier,O=_.value;"isDefinedBy"===E&&(g+=m+" rdfs:isDefinedBy <"+O+"> ;\r\n"),"term_status"===E&&(g+=m+' vs:term_status "'+O+'" ;\r\n')}}if(a.length>0){g+=m+" owl:disjointUnionOf (";for(var S=0;S":F,g+=m+m+I+" \n"}g+=") ;\r\n"}if(s.length>0){g+=m+" rdfs:subClassOf [ rdf:type owl:Class ; \r\n",g+=m+m+" owl:unionOf ( ";for(var T=0;T":A,g+=m+m+m+P+" \n"}g+=") ;\r\n"}var B,D=e.getUnfilteredData().properties,R=[];for(B=0;B ;\r\n"),"term_status"===x&&(a+=s+' vs:term_status "'+w+'" ;\r\n')}}if("owl:Thing"===c.type()&&"owl:Thing"===p.type()&&"object"!=typeof e.label()&&0===e.label().length&&(d=!0),d===!0){var k=a.substring(0,a.length-2);return a=k+" . \r\n"}var L;if("owl:Thing"===c.type()&&"owl:Thing"===p.type())L=v(s,e.label(),"rdfs:label",!0),a+=L;else{L=v(s,e.label(),"rdfs:label"),a+=L,"owl:Thing"!==c.type()&&(a+=s+" rdfs:domain "+c.prefixRepresentation+";\r\n"),"owl:Thing"!==p.type()&&(a+=s+" rdfs:range "+p.prefixRepresentation+";\r\n");var M=a,_=M.lastIndexOf(";");a=M.substring(0,_)+" . \r\n"}return a}function l(e){return void 0===e?"WHYEMPTYNAME?":new Array(e.length+1).join(" ")}function s(){x+="#################################################################\r\n",x+="### Generated with the experimental alpha version of the TTL exporter of WebVOWL (version 1.1.3) http://visualdataweb.de/webvowl/ ###\r\n",x+="#################################################################\r\n\r\n"}function d(){var t=e.options().getGeneralMetaObjectProperty("iri"),n=e.options().prefixList(),o=[];o.push("@prefix : \t\t<"+t+"> .");for(var i in n)n.hasOwnProperty(i)&&o.push("@prefix "+i+": \t\t<"+n[i]+"> .");o.push("@base \t\t\t<"+t+"> .\r\n");for(var r=0;r");x+="<"+t+"> rdf:type owl:Ontology ;\r\n"+p(n)+u(n)+h(n)+f(n);var o=x,i=o.lastIndexOf(";");x=o.substring(0,i)+" . \r\n"}function p(e){return g(e,"title","dc:title")}function u(e){return g(e,"description","dc:description")}function f(t){var n=e.options().getGeneralMetaObjectProperty("author");if(n){if("object"!=typeof n){if(0===n.length)return"";var o=t+' dc:creator "'+n+'";\r\n';return o}for(var i=t+' dc:creator "',r=0;r0&&(n=-1);var i=parseInt(s.attr("max")),r=parseInt(s.property("value")),a=r+n;r!==a&&a>=0&&a<=i&&(s.property("value",a),s.on("input")(),e.update()),t.event.preventDefault()}function r(e,t){e.property("value",t).on("input")()}function a(){p.node().addEventListener("animationend",function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!0)})}var l,s,d={},c=[],p=(t.select("#m_filter"),t.select("#c_filter a")),u=t.select("#nodeDegreeFilteringOption"),f=0;return d.setDefaultDegreeValue=function(e){f=e},d.getDefaultDegreeValue=function(){return f},d.getGraphObject=function(){return e},d.getCheckBoxContainer=function(){return c},d.getDegreeSliderValue=function(){return s.property("value")},d.setup=function(t,i,r,l,s,c){p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),p.on("mouseleave",function(){d.highlightForDegreeSlider(!1)}),n(t,"datatype","Datatype properties","#datatypeFilteringOption"),n(i,"objectProperty","Object properties","#objectPropertyFilteringOption"),n(r,"subclass","Solitary subclasses","#subclassFilteringOption"),n(l,"disjoint","Class disjointness","#disjointFilteringOption"),n(s,"setoperator","Set operators","#setOperatorFilteringOption"),o(c,u),a()},d.reset=function(){c.forEach(function(e){var t=e.checkbox,n=e.defaultState,o=t.property("checked");o!==n&&(t.property("checked",n),t.on("click")())}),r(s,0),s.on("change")()},d.killButtonAnimation=function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!1)},d.highlightForDegreeSlider=function(e){if(arguments.length||(e=!0),p.classed("highlighted",e),u.classed("highlighted",e),p.classed("buttonPulse")===!0&&e===!0){p.classed("buttonPulse",!1);var t=setTimeout(function(){p.classed("buttonPulse",e),clearTimeout(t)},100)}else p.classed("buttonPulse",e),p.classed("filterMenuButtonHighlight",e)},d.setCheckBoxValue=function(e,t){for(var n=0;n0?d.highlightForDegreeSlider(!0):d.highlightForDegreeSlider(!1),c.forEach(function(t){var n=t.checkbox;n.on("click")(e)}),s.on("input")(),s.on("change")()},d}}).call(t,n(6))},326:function(e,t,n){(function(t){e.exports=function(e){function n(n,i,a,l){var s,d,c=l();s=t.select(n).append("div").datum({distanceFunction:l}).classed("distanceSliderContainer",!0);var p=s.append("input").attr("id",i+"DistanceSlider").attr("type","range").attr("min",10).attr("max",600).attr("value",l()).attr("step",10);s.append("label").classed("description",!0).attr("for",i+"DistanceSlider").text(a),d=s.append("label").classed("value",!0).attr("for",i+"DistanceSlider").text(l()),r.push(p),p.on("focusout",function(){e.updateStyle()}),p.on("input",function(){var t=p.property("value");l(t),o(c),d.text(t),e.updateStyle()}),p.on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=10),n.deltaY>0&&(e=-10);var o=parseInt(p.property("value")),i=o+e;i!==o&&(p.property("value",i),l(i),p.on("input")()),t.event.preventDefault()})}function o(e){var t=Math.max(a.classDistance(),a.datatypeDistance()),n=t/e,o=l*n;a.charge(o)}var i={},r=[],a=e.graphOptions(),l=a.charge();return i.setup=function(){var o=t.select("#m_gravity");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("#classSliderOption","class","Class distance",a.classDistance),n("#datatypeSliderOption","datatype","Datatype distance",a.datatypeDistance)},i.reset=function(){r.forEach(function(e){e.property("value",function(e){return e.distanceFunction()}),e.on("input")()})},i}}).call(t,n(6))},327:function(e,t,n){(function(t){e.exports=function(e){function n(n,o,i,r,a){var l=t.select(i).append("div").classed("checkboxContainer",!0),s=l.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());s.on("click",function(n){var o=s.property("checked");r(o),t.select("#maxLabelWidthSlider").node().disabled=!o,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",!o),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",!o),a>0&&e.animateDynamicLabelWidth()}),l.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&l.append("label").attr("style","font-size:10px;padding-top:3px").text("(experimental)"),d=s}function o(n,o,i,r){var a=t.select(i).append("div").classed("checkboxContainer",!0),l=a.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());l.on("click",function(t){var n=l.property("checked");r(n),n===!0&&e.showEditorHintIfNeeded()}),a.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&a.append("label").attr("style","font-size:10px;padding-top:3px").text(" (experimental)")}function i(n,o,i,r,a){var l,s;return l=t.select(r).append("div").classed("checkboxContainer",!0).datum({module:n,defaultState:n.enabled()}),s=l.append("input").classed("moduleCheckbox",!0).attr("id",o+"ModuleCheckbox").attr("type","checkbox").property("checked",n.enabled()),f.push(s),s.on("click",function(t,n){var o=s.property("checked");t.module.enabled(o),a&&n!==!0&&(e.executeColorExternalsModule(),e.executeCompactNotationModule(),e.lazyRefresh())}),l.append("label").attr("for",o+"ModuleCheckbox").text(i),l}function r(t,n){var o=t.append("button").datum({active:!1}).classed("color-mode-switch",!0);return a(o,n),o.on("click",function(t){var i=o.datum();i.active=!i.active,a(o,n),n.enabled()&&t!==!0&&(e.executeColorExternalsModule(),e.lazyRefresh())}),o}function a(e,t){var n=e.datum().active,o=l(n);e.classed("active",n).text(o.text),t&&t.colorModeType(o.type)}function l(e){return e?p:c}var s,d,c={text:"Multicolor",type:"same"},p={text:"Multicolor",type:"gradient"},u={},f=[];return u.colorModeState=function(e){return arguments.length?(s.datum().active=e,u):s.datum().active},u.setDynamicLabelWidth=function(e){d.property("checked",e)},u.getCheckBoxContainer=function(){return f},u.colorModeSwitch=function(){return s},u.setup=function(a,l,d,c){var p=t.select("#m_modes");p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("labelWidth","Dynamic label width","#dynamicLabelWidth",e.options().dynamicLabelWidth,1),o("editorMode","Editing ","#editMode",e.editorMode),i(a,"pickandpin","Pick & pin","#pickAndPinOption",!1),i(l,"nodescaling","Node scaling","#nodeScalingOption",!0),i(d,"compactnotation","Compact notation","#compactNotationOption",!0);var u=i(c,"colorexternals","Color externals","#colorExternalsOption",!0);s=r(u,c)},u.reset=function(){f.forEach(function(e){var t=e.datum().defaultState,n=e.property("checked");n!==t&&(e.property("checked",t),e.on("click")(e.datum())),e.datum().module.reset()}),s.datum().active=!0,s.on("click")()},u.setCheckBoxValue=function(e,t){for(var n=0;n li > a").attr("href",location.hash||"#")}function i(e){var n=t.select("#bulletPoint_container"),o=n.append("div");o.node().innerHTML=e,E.scrollDownDetails()}function r(e){var n=t.select("#bulletPoint_container"),o=n.node().getElementsByTagName("LI"),i=o.length-1;if(i>=0){var r=o[i].innerHTML;o[i].innerHTML=r+e}E.scrollDownDetails()}function a(e){var n=t.select("#bulletPoint_container"),o=n.append("li");o.node().innerHTML=e,t.select("#currentLoadingStep").node().innerHTML=e,E.scrollDownDetails()}function l(){var e=t.select("#iri-converter-button"),n=t.select("#iri-converter-input");n.on("input",function(){x();var t=""===n.property("value");e.attr("disabled",t||void 0)}).on("click",function(){x()}),t.select("#iri-converter-form").on("submit",function(){for(var e=n.property("value"),o=e.replace(/%20/g," ");o.beginsWith(" ");)o=o.substr(1,o.length);for(;o.endsWith(" ");)o=o.substr(0,o.length-1);e=o;var i=e.toLowerCase();return i.endsWith(".json")?(location.hash="url="+e,n.property("value",""),n.on("input")()):(location.hash="iri="+e,n.property("value",""),n.on("input")()),t.event.preventDefault(),!1})}function s(){var n=t.select("#file-converter-input"),o=t.select("#file-converter-label"),i=t.select("#file-converter-button");n.on("change",function(){var t=n.property("files");t.length<=0?(o.text("Select ontology file"),i.property("disabled",!0)):(o.text(t[0].name),L=t[0].name,i.property("disabled",!1),i.node().click(),e.options().navigationMenu().hideAllMenus())}),i.on("click",function(){var e=n.property("files")[0];if(!e)return!1;var t="file="+e.name;location.hash==="#"+t?E.parseUrlAndLoadOntology():location.hash=t})}function d(e){var n=t.select("#o2vConverterContainer");if(!n.node()){var o=t.select("#bulletPoint_container"),i=o.append("div");n=i.append("ul"),n.attr("id","o2vConverterContainer"),n.style("margin-left","-25px")}for(var r=n.node().children,a=r.length,l=0;l0&&(s=n.append("li"),s.attr("type","disc"),s.node().innerHTML=p.replace(/\n/g,"
    "))}s&&(s.node().innerHTML+="
    "),E.scrollDownDetails()}function c(e,n){t.xhr("loadingStatus?sessionId="+_,"application/text",function(t,o){t&&(console.log("ontologyMenu getLoadingStatusOnceCallBacked throws error"),console.log("---------Error -----------"),console.log(t),console.log("---------Request -----------"),console.log(o)),d(o.responseText),e(n)})}function p(){t.xhr("loadingStatus?sessionId="+_,"application/text",function(e,t){e&&(console.log("ontologyMenu getLoadingStatusTimeLooped throws error"),console.log("---------Error -----------"),console.log(e),console.log("---------Request -----------"),console.log(t)),T===!1&&(d(t.responseText),u())})}function u(){clearTimeout(M),T===!1&&(M=setTimeout(function(){p()},1e3))}function f(e){t.xhr("loadingStatus","application/text",function(t,n){void 0!==n?d(n.responseText+"
    "+e):i(e)})}function h(e){var t=e[2];return t!==_?(console.log("The conversion process for file:"+e[1]+" has been canceled!"),void S.conversionFinished(t)):(E.loadFromOWL2VOWL(e[0],e[1]),void S.conversionFinished())}function g(e){var t=e[2];return t!==_?void console.log("The conversion process for file:"+e[1]+" has been canceled!"):void E.loadFromOWL2VOWL(e[0],e[1])}function v(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function m(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function y(e,t,n){T=!1,u();var o=new FormData;o.append("ontology",e),o.append("sessionId",n);var i=new XMLHttpRequest;i.open("POST","convert",!0),i.onload=function(){clearTimeout(M),T=!0,c(b,[i,t,n])},u(),i.send(o)}function b(t){var n=t[0],o=t[1],i=t[2];return i!==_?(console.log("The conversion process for file:"+o+" has been canceled!"),void S.conversionFinished(i)):void(200===n.status?(E.loadFromOWL2VOWL(n.responseText,o),S.conversionFinished()):(f('Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),e.handleOnLoadingError(),S.conversionFinished()))}function x(){function e(){n.style("display",void 0),clearTimeout(C),t.select(window).on("click",void 0).on("keydown",void 0),n.on("mouseover",void 0)}var n=t.select("#select .toolTipMenu");n.on("click",function(){t.event.stopPropagation()}).on("keydown",function(){t.event.stopPropagation()}),n.style("display","block"),clearTimeout(C),C=setTimeout(function(){e()},3e3),t.select(window).on("click",function(){e()}).on("keydown",function(){e()}),n.on("mouseover",function(){e()})}function w(){t.select("#layoutLoadingProgressBarContainer").classed("hidden",!1),F.classed("hidden",!1),I.classed("hidden",!1)}function k(){F.classed("hidden",!0)}var C,L,M,_,E,O,S={},F=t.select("#loading-info"),I=t.select("#loading-progress"),T=!1,A=!1,P={},B="";return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},S.getLoadingFunction=function(){return O},S.clearCachedVersion=function(){P[B]&&(P[B]=void 0)},S.reloadCachedOntology=function(){S.clearCachedVersion(),e.clearGraphData(),E.parseUrlAndLoadOntology(!1)},S.cachedOntology=function(n){if(B=n,P[n]){var o=String(location.hash);t.select("#reloadSvgIcon").node().disabled=!1,e.showReloadButtonAfterLayoutOptimization(!0),o.indexOf("#file")>-1?(t.select("#reloadSvgIcon").node().disabled=!0,t.select("#reloadCachedOntology").node().title="reloading original version not possible, please reload the file",t.select("#reloadSvgIcon").classed("disabledReloadElement",!0),t.select("#svgStringText").style("fill","gray"),t.select("#svgStringText").classed("noselect",!0)):(t.select("#reloadCachedOntology").node().title="generate new visualization and overwrite cached ontology",t.select("#reloadSvgIcon").classed("disabledReloadElement",!1),t.select("#svgStringText").style("fill","black"),t.select("#svgStringText").classed("noselect",!0))}else e.showReloadButtonAfterLayoutOptimization(!1);return P[n]},S.setCachedOntology=function(e,t){P[e]=t,B=e},S.getErrorStatus=function(){return A},S.setup=function(o){O=o,E=e.options().loadingModule();var i=t.select("#m_select");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),l(),s();var r=t.select("#error-description-button").datum({open:!1});r.on("click",function(e){var n=t.select("#error-description-container"),o=t.select(this);e.open=!e.open;var i=e.open;i?o.text("Hide error details"):o.text("Show error details"),n.classed("hidden",!i)}),n(),E.setOntologyMenu(S)},S.stopLoadingTimer=function(){T=!0,clearTimeout(M)},S.setIriText=function(e){t.select("#iri-converter-input").node().value=e,t.select("#iri-converter-button").attr("disabled",!1),t.select("#iri-converter-form").on("submit")()},S.clearDetailInformation=function(){for(var e=t.select("#bulletPoint_container"),n=e.node().children,o=n.length,i=0;i",""":'"',"'":"'"},r=o(i);e.exports=r},332:function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},333:function(e,t,n){(function(t){e.exports=function(e){function n(){o(),i()}function o(){r.classed("paused",function(e){return e.paused})}function i(){r.datum().paused?r.text("Resume"):r.text("Pause")}var r,a={};return a.setup=function(){var o=t.select("#pauseOption");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),r=t.select("#pause-button").datum({paused:!1}).on("click",function(t){e.paused(!t.paused),t.paused=!t.paused,n(),r.classed("highlighted",t.paused)}),n()},a.setPauseValue=function(t){r.datum().paused=t,e.paused(t),r.classed("highlighted",t),n()},a.reset=function(){a.setPauseValue(!1)},a}}).call(t,n(6))},334:function(e,t,n){(function(t){e.exports=function(e){function n(){e.resetSearchHighlight(),e.options().searchMenu().clearText(),r.classDistance(a.classDistance()),r.datatypeDistance(a.datatypeDistance()),r.charge(a.charge()),r.gravity(a.gravity()),r.linkStrength(a.linkStrength()),e.reset(),o.forEach(function(e){e.reset()}),e.updateStyle()}var o,i={},r=e.graphOptions(),a=webvowl.options();return i.setup=function(i){o=i,t.select("#reset-button").on("click",n);var r=t.select("#resetOption");r.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()})},i}}).call(t,n(6))},335:function(e,t,n){(function(t){e.exports=function(e){function n(){b=e.getUpdateDictionary(),M=!1,k=[],C=[];var t,n=[],o=[];for(t=0;t0)for(var r=b[t].equivalentsString(),a=r.split(", "),l=0;l=0&&s=a&&i[s].setAttribute("class","dbEntrySelected"),h>=0&&h=0&&i[s].setAttribute("class","dbEntry")))}function s(){for(var e=F.node().children,t=e.length,n=0;n-1&&(E.push(k[e]),O.push(e)))}}function c(e,n){n||(n="text");var o=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),i=document.getElementById("width-test").offsetWidth;return o.remove(),i}function p(e){for(var t,n,o,i=250,r="dbEntry",a=e;;){if(t=c(a,r),t<=i)break;if(n=t/i,o=Math.floor(a.length/n),a.length===o)break;a=a.substring(0,o)}return e.length>a.length?e.substring(0,a.length-6):e}function u(){var n,o,i,r=E,a=[],l=[],s=v.node().value.toLowerCase();for(n=E.length,n>L&&(n=L),o=0;o-1&&h<=d&&m<=c&&(u=f,d=h,c=m)}a.push(r[u]),l.push(O[u]),r[u]=""}n=E.length,n>L&&(n=L);var b=0;for(o=0;o1)for(var T=0;T1&&_===!1?k!==I&&(C+="... ("+I+"/"+k+")"):C+="...",x.title=a[o]):k>1&&_===!1&&(C+=k!==I?" ("+I+"/"+k+")":" ("+k+")");var P=t.select(x);1===k||_===!0?void 0===S[w[0]]&&(P.style("color","#979797"),x.title=a[o]+"\nElement is filtered out.",x.onclick=function(){},t.select(x).style("cursor","default"),b++):(I<1?(P.style("color","#979797"),x.onclick=function(){},x.title=a[o]+"\nAll elements are filtered out.",t.select(x).style("cursor","default"),b++):P.style("color",""),I1&&(x.title=a[o]+"\n"+I+"/"+k+" elements are visible.")),P.node().innerHTML=C,F.node().appendChild(x)}}function f(){s(),d(),u()}function h(){return S.classed("highlighted",!1),S.node().title="Nothing to locate",M&&n(),e.resetSearchHighlight(),0===k.length?void console.log("dictionary is empty"):(x=v.node().value,s(),0!==x.length&&(d(),u()),void w.showSearchEntries())}function g(t){return function(){var n=t,o=y[n],i=C[n];v.node().value=i,e.resetSearchHighlight(),e.highLightNodes(o),S.node().title="Locate search term",i!==x&&f(),w.hideSearchEntries()}}var v,m,y,b,x,w={},k=[],C=[],L=6,M=!0,_=!1,E=[],O=[],S=t.select("#locateSearchResult"),F=(t.select("#c_search"),t.select("#m_search"));return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},w.requestDictionaryUpdate=function(){M=!0;for(var e=F.node().children,t=e.length,n=0;n=h?void n():void(y=requestAnimationFrame(o))}function i(){return f-=5,x.scrollLeft=f,b.updateScrollButtonVisibility(),f<=0?void n():void(y=requestAnimationFrame(i))}function r(){M=[],_=[];var e,r=[],c=[],p=x.children,u=p.length;for(e=0;e-1?_[e]="m_"+r[e]:_[e]=void 0,t.select("#"+M[e]).on("mouseover",a),t.select("#"+M[e]).on("mouseout",l),t.select("#"+M[e]).on("click",s),t.select("#"+M[e]).on("touchstart",d);t.select("#menuElementContainer").on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=20),n.deltaY>0&&(e=-20),x.scrollLeft+=e,b.hideAllMenus(),b.updateScrollButtonVisibility()}),t.select("#scrollRightButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#scrollLeftButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#menuElementContainer").on("scroll",function(){b.updateScrollButtonVisibility(),b.hideAllMenus()})}function a(){b.hideAllMenus(),L||p(this.id)}function l(){c(this.id)}function s(){var e=_[M.indexOf(this.id)];if(e){var n=t.select("#"+e);n&&("block"===n.style("display")?n.style("display","none"):p(this.id))}}function d(){L=!0}function c(e){v=t.select("#"+e),"c_search"!==e&&(t.select("#"+e).select("path").style("stroke-width","0"),t.select("#"+e).select("path").style("fill","#fff"))}function p(n){v=t.select("#"+n).node();var o=_[M.indexOf(n)];o&&("c_search"!==n&&(t.select("#"+n).select("path").style("stroke-width","0"),t.select("#"+n).select("path").style("fill","#bdc3c7")),g=t.select("#"+o),g.style("display","block"),"m_export"===o&&e.options().exportMenu().exportAsUrl(),u())}function u(){if(v){var e=v.offsetLeft,t=x.scrollLeft,n=e-t,o=Math.max(0,n),i=x.getBoundingClientRect().width,r=g.node().getBoundingClientRect().width;o+r>i&&(o=i-r),o=Math.max(0,o),g.style("left",o+"px")}}var f,h,g,v,m,y,b={},x=t.select("#menuElementContainer").node(),w=t.select("#menuContainer").node(),k=t.select("#scrollLeftButton"),C=t.select("#scrollRightButton"),L=!1,M=[],_=[];return b.hideAllMenus=function(){t.selectAll(".toolTipMenu").style("display","none")},b.updateScrollButtonVisibility=function(){h=x.scrollWidth-x.clientWidth-2,0===x.scrollLeft?k.classed("hidden",!0):k.classed("hidden",!1),x.scrollLeft>h?C.classed("hidden",!0):C.classed("hidden",!1)},b.setup=function(){r(),t.select("#graph").on("mouseover",function(){b.hideAllMenus()}),t.select("#generalDetails").on("mouseover",function(){b.hideAllMenus()})},b}}).call(t,n(6))},337:function(e,t,n){(function(t){e.exports=function(e){function n(){cancelAnimationFrame(a),cancelAnimationFrame(l)}function o(){s*=.98,su&&(s=u),e.setSliderZoom(s),l=requestAnimationFrame(i)}var r,a,l,s,d,c={},p=e.options().minMagnification(),u=e.options().maxMagnification(),f=!0,h=e.options().width(),g=e.options().height();return r=Math.min(h,g)/1e3,c.setup=function(){d=t.select("#zoomSliderParagraph").append("input").datum({}).attr("id","zoomSliderElement").attr("type","range").attr("value",r).attr("min",p).attr("max",u).attr("step",(u-p)/40).attr("title","zoom factor").on("input",function(){c.zooming()}),t.select("#zoomOutButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom out"),t.select("#zoomInButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom in"),t.select("#centerGraphButton").on("click",function(){e.options().navigationMenu().hideAllMenus(),e.forceRelocationEvent()}).attr("title","center graph")},c.showSlider=function(e){return arguments.length?(t.select("#zoomSlider").classed("hidden",!e),void(f=e)):f},c.zooming=function(){e.options().navigationMenu().hideAllMenus();var t=d.property("value");d.attr("value",t),e.setSliderZoom(t)},c.updateZoomSliderValue=function(e){d&&(d.attr("value",e),d.property("value",e))},c}}).call(t,n(6))},338:function(e,t,n){(function(t){e.exports=function(e){function n(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");e(t.selectAll(".accordion-trigger:not(.accordion-trigger-active) + div")),o.on("click",function(){var o=t.select(this),i=t.selectAll(".accordion-trigger-active");o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(e(t.selectAll(".accordion-trigger-active + div")),i.classed("accordion-trigger-active",!1),n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0))})}function o(n){n=n||[],n.sort(function(e,t){return e===webvowl.util.constants().LANG_IRIBASED?-1:t===webvowl.util.constants().LANG_IRIBASED?1:e===webvowl.util.constants().LANG_UNDEFINED?-1:t===webvowl.util.constants().LANG_UNDEFINED?1:e.localeCompare(t)});var o=t.select("#language").on("change",function(){e.language(t.event.target.value),r(),C.updateSelectionInformation(k)});o.selectAll("option").remove(),o.selectAll("option").data(n).enter().append("option").attr("value",function(e){return e}).text(function(e){return e}),i(o,n,"en")||i(o,n,webvowl.util.constants().LANG_UNDEFINED)||i(o,n,webvowl.util.constants().LANG_IRIBASED)}function i(t,n,o){var i=n.indexOf(o);return i>=0&&(t.property("selectedIndex",i),e.language(o),!0)}function r(){var n=L.textInLanguage(w.title,e.language());t.select("#title").text(n||"No title available"),t.select("#about").attr("href",w.iri).attr("target","_blank").text(w.iri),t.select("#version").text(w.version||"--");var o=w.author;"string"==typeof o?t.select("#authors").text(o):o instanceof Array?t.select("#authors").text(o.join(", ")):t.select("#authors").text("--");var i=L.textInLanguage(w.description,e.language());t.select("#description").text(i||"No description available.")}function a(e,n){e=e||{},t.select("#classCount").text(e.classCount||n.classCount()),t.select("#objectPropertyCount").text(e.objectPropertyCount||n.objectPropertyCount()),t.select("#datatypePropertyCount").text(e.datatypePropertyCount||n.datatypePropertyCount()),t.select("#individualCount").text(e.totalIndividualCount||n.totalIndividualCount()),t.select("#nodeCount").text(n.nodeCount()),t.select("#edgeCount").text(n.edgeCount())}function l(e){var n=t.select("#ontology-metadata");n.selectAll("*").remove(),s(n,e),n.selectAll(".annotation").size()<=0&&n.append("p").text("No annotations available.")}function s(e,n){n=n||{};var o=[];for(var i in n)n.hasOwnProperty(i)&&o.push(n[i][0]);e.selectAll(".annotation").remove(),e.selectAll(".annotation").data(o).enter().append("p").classed("annotation",!0).classed("statisticDetails",!0).text(function(e){return e.identifier+":"}).append("span").each(function(e){h(t.select(this),e.value,"iri"===e.type?e.value:void 0)})}function d(){c(!1,!1,!0)}function c(e,n,o){t.select("#classSelectionInformation").classed("hidden",!e),t.select("#propertySelectionInformation").classed("hidden",!n),t.select("#noSelectionInformation").classed("hidden",!o)}function p(e){u(),f(t.select("#propname"),e.labelForCurrentLanguage(),e.iri()),t.select("#typeProp").text(e.type()),void 0!==e.inverse()?(t.select("#inverse").classed("hidden",!1),f(t.select("#inverse span"),e.inverse().labelForCurrentLanguage(),e.inverse().iri())):t.select("#inverse").classed("hidden",!0);var n=t.select("#propEquivUri");b(n,e.equivalents()),b(t.select("#subproperties"),e.subproperties()),b(t.select("#superproperties"),e.superproperties()),void 0!==e.minCardinality()?(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!1),t.select("#minCardinality span").text(e.minCardinality()),t.select("#maxCardinality").classed("hidden",!1),void 0!==e.maxCardinality()?t.select("#maxCardinality span").text(e.maxCardinality()):t.select("#maxCardinality span").text("*")):void 0!==e.cardinality()?(t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0),t.select("#infoCardinality").classed("hidden",!1),t.select("#infoCardinality span").text(e.cardinality())):(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0)),f(t.select("#domain"),e.domain().labelForCurrentLanguage(),e.domain().iri()),f(t.select("#range"),e.range().labelForCurrentLanguage(),e.range().iri()),g(e.attributes(),t.select("#propAttributes")),x(t.select("#propDescription"),e.descriptionForCurrentLanguage()),x(t.select("#propComment"),e.commentForCurrentLanguage()),s(t.select("#propertySelectionInformation"),e.annotations())}function u(){c(!1,!0,!1)}function f(e,n,o){var i=t.select(e.node().parentNode);n?(e.selectAll("*").remove(),h(e,n,o),i.classed("hidden",!1)):i.classed("hidden",!0)}function h(e,t,n){var o;o=n?e.append("a").attr("href",n).attr("title",n).attr("target","_blank"):e.append("span"),o.text(t)}function g(e,n){var o=t.select(n.node().parentNode);e&&e.length>0&&(v("object",e),v("datatype",e),v("rdf",e)),e&&e.length>0?(n.text(e.join(", ")),o.classed("hidden",!1)):o.classed("hidden",!0)}function v(e,t){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function m(e){y(),f(t.select("#name"),e.labelForCurrentLanguage(),e.iri());var n=t.select("#classEquivUri");b(n,e.equivalents()),t.select("#typeNode").text(e.type()),b(t.select("#individuals"),e.individuals());var o=t.select("#disjointNodes"),i=t.select(o.node().parentNode);void 0!==e.disjointWith()?(o.selectAll("*").remove(),e.disjointWith().forEach(function(e,t){t>0&&o.append("span").text(", "),h(o,e.labelForCurrentLanguage(),e.iri())}),i.classed("hidden",!1)):i.classed("hidden",!0),g(e.attributes(),t.select("#classAttributes")),x(t.select("#nodeDescription"),e.descriptionForCurrentLanguage()),x(t.select("#nodeComment"),e.commentForCurrentLanguage()),s(t.select("#classSelectionInformation"),e.annotations())}function y(){c(!0,!1,!1)}function b(e,n){var o=t.select(e.node().parentNode);n&&n.length?(e.selectAll("*").remove(),n.forEach(function(t,n){n>0&&e.append("span").text(", "),h(e,t.labelForCurrentLanguage(),t.iri())}),o.classed("hidden",!1)):o.classed("hidden",!0)}function x(e,n){var o=t.select(e.node().parentNode),i=!!n;n&&e.text(n),o.classed("hidden",!i)}var w,k,C={},L=webvowl.util.languageTools(),M=webvowl.util.elementTools(),_=1,E=t.select("#detailsArea"),O=t.select("#canvasArea"),S=t.select("#swipeBarContainer"),F=t.select("#sidebarExpandButton");return C.clearOntologyInformation=function(){t.select("#title").text("No title available"),t.select("#about").attr("href","#").attr("target","_blank").text("not given"),t.select("#version").text("--"),t.select("#authors").text("--"),t.select("#description").text("No description available.");var e=t.select("#ontology-metadata");e.selectAll("*").remove(),t.select("#classCount").text("0"),t.select("#objectPropertyCount").text("0"),t.select("#datatypePropertyCount").text("0"),t.select("#individualCount").text("0"),t.select("#nodeCount").text("0"),t.select("#edgeCount").text("0");var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");n&&t.select("#selection-details-trigger").node().click(),d()},C.updateOntologyInformation=function(e,t){e=e||{},w=e.header||{},r(),a(void 0,t),l(w.other),C.updateSelectionInformation(void 0),o(w.languages)},C.updateSelectionInformation=function(e){if(k=e,!t.event||!t.event.defaultPrevented){var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");if(e&&!n)t.select("#selection-details-trigger").node().click();else if(!e&&n)return void d();M.isProperty(e)?p(e):M.isNode(e)&&m(e)}},C.showSidebar=function(n,o){1===n&&(_=!0,F.node().innerHTML=">",E.classed("hidden",!0),o===!0?(E.classed("hidden",!_),O.style("width","78%"),O.style("-webkit-animation-name","none"),S.style("width","78%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","78%"),O.style("-webkit-animation-name","sbCollapseAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","78%"),S.style("-webkit-animation-name","sbCollapseAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_ExpandRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth-.22*window.innerWidth),e.options().navigationMenu().updateScrollButtonVisibility()),0===n&&(_=!1,E.classed("hidden",!0),F.node().innerHTML="<",o===!0?(O.style("width","100%"),O.style("-webkit-animation-name","none"),S.style("width","100%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","100%"),O.style("-webkit-animation-name","sbExpandAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","100%"),S.style("-webkit-animation-name","sbExpandAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_CollapseRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility())},C.isSidebarVisible=function(){return _},C.updateSideBarVis=function(e){var t=C.getSidebarVisibility();C.showSidebar(parseInt(t),e)},C.getSidebarVisibility=function(){var e=E.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},C.initSideBarAnimation=function(){O.node().addEventListener("animationend",function(){E.classed("hidden",!_),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility()})},C.setup=function(){n(),C.initSideBarAnimation(),F.on("click",function(){e.options().navigationMenu().hideAllMenus();var t=parseInt(C.getSidebarVisibility());1===t?C.showSidebar(0):C.showSidebar(1)})},C.updateShowedInformation=function(){var n=e.editorMode();t.select("#generalDetails").classed("hidden",n),t.select("#generalDetailsEdit").classed("hidden",!n),e.options().editSidebar().updateGeneralOntologyInfo(),e.options().sidebar().updateGeneralOntologyInfo()},C.updateGeneralOntologyInfo=function(){var n=e.options().getGeneralMetaObject(),o=e&&e.language?e.language():null;n.hasOwnProperty("title")&&("object"==typeof n.title?t.select("#title").node().value=L.textInLanguage(n.title,o):t.select("#title").node().innerHTML=n.title),n.hasOwnProperty("iri")&&(t.select("#about").node().innerHTML=n.iri),n.hasOwnProperty("iri")&&(t.select("#about").node().href=n.iri),n.hasOwnProperty("version")&&(t.select("#version").node().innerHTML=n.version),n.hasOwnProperty("author")&&(t.select("#authors").node().innerHTML=n.author),n.hasOwnProperty("description")&&("object"==typeof n.description?t.select("#description").node().innerHTML=L.textInLanguage(n.description,o):t.select("#description").node().innerHTML=n.description)},C}}).call(t,n(6))},339:function(e,t,n){(function(t){e.exports=function(e){function n(e){for(var t=0;t"),e.updateCanvasContainerSize(),void e.options().navigationMenu().updateScrollButtonVisibility()):(t.select("#leftSideBarCollapseButton").classed("hidden",!0),1===n&&(u=!0,i.node().innerHTML="<",g.style("-webkit-animation-name","l_sbExpandAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_ExpandLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s")),void(0===n&&(u=!1,h.classed("hidden",!0),i.node().innerHTML=">",g.style("-webkit-animation-name","l_sbCollapseAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_CollapseLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("left","0"))))},c.getSidebarVisibility=function(){var e=h.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},c}}).call(t,n(6))},340:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=t.select("#typeEditor_datatype").node(),n=["undefined","xsd:boolean","xsd:double","xsd:integer","xsd:string"],o=0;o0){var s=e.options().prefixList()[a];if(void 0===s)return console.log("ERROR __________________"),e.options().warningModule().showWarning("Invalid Element IRI","Could not resolve prefix '"+s+"'","Restoring previous IRI for Element"+n.iri(),1,!1),void(t.select("#element_iriEditor").node().value=n.iri());if(0===l.length)return e.options().warningModule().showWarning("Invalid Element IRI","Input IRI is EMPTY","Restoring previous IRI for Element"+n.iri(),1,!1),console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());o=s+l}else o=i+l}else{if(0===o.length)return console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());console.log("Tryig to use the input!"),o=i+o}}return o}function f(n){var o,i=u(n),r=e.options().getGeneralMetaObjectProperty("iri");if(F.isNode(n)){if(o=e.checkIfIriClassAlreadyExist(i),o!==!1)return e.options().warningModule().showWarning("Already seen this class","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),2,!1,o),void O.updateSelectionInformation(n);n.iri(i)}return F.isProperty(n)===!0&&(o=O.checkProperIriChange(n,i),o!==!1)?(e.options().warningModule().showWarning("Already seen this property","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),1,!1,o),void O.updateSelectionInformation(n)):(n.iri(i),c(r,i)===!0?(b(n,"external"),n.backgroundColor("#36C"),n.redrawElement(),n.redrawLabelText()):(x(n,"external"),n.backgroundColor(void 0),n.redrawElement(),n.redrawLabelText()),n.focused()&&(e.options().focuserModule().handle(n,!0),e.options().focuserModule().handle(n,!0)),t.select("#element_iriEditor").node().value=I.getPrefixRepresentationForFullURI(i),void O.updateSelectionInformation(n))}function h(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function g(e){e.label(t.select("#element_labelEditor").node().value),e.redrawLabelText()}function v(e){M=e;var n,o=t.select("#property_characteristics_Selection"),i=o.node().children;if(i)for(var r=i.length,a=0;a-1){var l=o.append("span");l.classed("spanForCharSelection",!0),l.node().innerHTML="external"}var s,d;if(F.isNode(e)===!0){var c=["deprecated"];for(n=0;n=0}function y(){var e=this.checked,t=this.getAttribute("characteristics");e===!0?b(M,t):x(M,t),M.redrawElement(),M.focused(!1),M.toggleFocus()}function b(e,t){if(e.attributes().indexOf(t)===-1){var n=e.attributes();n.push(t),e.attributes(n)}if(e.indications().indexOf(t)===-1){var o=e.indications();o.push(t),e.indications(o)}var i;if(e.visualAttributes().indexOf(t)===-1&&(i=e.visualAttributes(),i.push(t),e.visualAttributes(i)),m(e,"external")&&m(e,"deprecated")){i=e.visualAttributes();var r=i.indexOf("external");r>-1&&i.splice(r,1),e.visualAttributes(i)}}function x(e,t){var n=e.attributes(),o=e.indications(),i=e.visualAttributes(),r=n.indexOf(t);r>=0&&n.splice(r,1);var a=o.indexOf(t);a>-1&&o.splice(a,1);var l=i.indexOf(t);l>-1&&i.splice(l,1),e.attributes(n),e.indications(o),e.visualAttributes(i),"deprecated"===t&&("owl:Class"===e.type()&&e.styleClass("class"),"owl:DatatypeProperty"===e.type()&&e.styleClass("datatypeproperty"),"owl:ObjectProperty"===e.type()&&e.styleClass("objectproperty"),"owl:disjointWith"===e.type()&&e.styleClass("disjointwith"))}function w(e){return"owl:Thing"!==e.type()&&"rdfs:subClassOf"!==e.type()&&"rdfs:Literal"!==e.type()&&"rdfs:Datatype"!==e.type()&&"rdfs:disjointWith"!==e.type()}function k(t){F.isNode(t)&&e.changeNodeType(t)===!1&&(F.isDatatype(t)===!0,O.updateSelectionInformation(t)),F.isProperty(t)&&e.changePropertyType(t)===!1&&O.updateSelectionInformation(t)}function C(e){var t=[];return F.isProperty(e)?("owl:DatatypeProperty"===e.type()?t.push("owl:DatatypeProperty"):(t.push("owl:ObjectProperty"),e.domain()!==e.range()&&t.push("rdfs:subClassOf"),t.push("owl:disjointWith"),t.push("owl:allValuesFrom"),t.push("owl:someValuesFrom")),t):("rect"===e.renderType()?(t.push("rdfs:Literal"),t.push("rdfs:Datatype")):(t.push("owl:Class"),t.push("owl:Thing")),t)}function L(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");o.on("click",function(){var o=t.select(this);o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0)),O.updateElementWidth()})}var M,_,E,O={},S=webvowl.util.languageTools(),F=webvowl.util.elementTools(),I=webvowl.util.prefixTools(e),T=!1;return O.clearMetaObjectValue=function(){t.select("#titleEditor").node().value="",t.select("#iriEditor").node().value="",t.select("#versionEditor").node().value="",t.select("#authorsEditor").node().value="",t.select("#descriptionEditor").node().value=""},O.updatePrefixUi=function(){O.updateElementWidth();for(var e=t.select("#prefixURL_Container");e.node().firstChild;)e.node().removeChild(e.node().firstChild);a()},O.setup=function(){L(),a(),r(),n(),t.select("#titleEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value))}),t.select("#iriEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri"))}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri")))}),t.select("#versionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value))}),t.select("#authorsEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value))}),t.select("#descriptionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("description",t.select("#descriptionEditor").node().value)}),O.updateElementWidth()},O.updateEditDeleteButtonIds=function(e,n){t.select("#prefixInputFor_"+e).node().id="prefixInputFor_"+n,t.select("#prefixURLFor_"+e).node().id="prefixURLFor_"+n,t.select("#deleteButtonFor_"+e).node().id="deleteButtonFor_"+n,t.select("#editButtonFor_"+e).node().id="editButtonFor_"+n,t.select("#prefixContainerFor_"+e).node().id="prefixContainerFor_"+n},O.checkForExistingURL=function(t){var n,o=e.getUnfilteredData().properties;for(n=0;n0&&(e=-10);var o=parseInt(s.property("value")),i=o+e;i!==o&&(s.property("value",i),r(i),s.on("input")()),t.event.preventDefault()}})}function o(n,o,i,a,l){var s=t.select(i).append("div").classed("checkboxContainer",!0),d=s.append("input").classed("moduleCheckbox",!0).attr("id",n+"ConfigCheckbox").attr("type","checkbox").property("checked",a());d.on("click",function(t){var n=d.property("checked");a(n),t!==!0&&(1===l&&e.lazyRefresh(),2===l&&e.update(),3===l&&e.updateDraggerElements())}),r.push(d),s.append("label").attr("for",n+"ConfigCheckbox").text(o)}var i={},r=[];return i.setup=function(){var i=t.select("#m_modes");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),o("showZoomSlider","Zoom controls","#zoomSliderOption",e.options().zoomSlider().showSlider,0),n("#maxLabelWidthSliderOption","maxLabelWidth","Max label width",e.options().maxLabelWidth)},i.setCheckBoxValue=function(e,t){for(var n=0;nTrying to convert with other communication protocol."),e(t)}function i(e){f.append_message_toLastBulletPoint("
    Trying to convert with other communication protocol.");var t=e[0],n=e[1],o=new FormData;o.append("ontology",t);var i=new XMLHttpRequest;i.open("POST","convert",!0);var r="";i.onload=function(){200===i.status&&(r=i.responseText,f.setCachedOntology(n,r),h=n,L=!0,f.append_message_toLastBulletPoint("
    Success, but you are using a deprecated OWL2VOWL service!"),s(r))},i.onreadystatechange=function(){4===i.readyState&&0===i.status&&(f.append_message_toLastBulletPoint("
    Old protocol also failed to establish connection to OWL2VOWL service!"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage())},i.send(o)}function r(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){O.setBusyMode(),t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage()):(u=o.responseText,f.setConversionID(u),n[0]=n[0]+"&sessionId="+u,n.push(u),e(n))})}function a(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),i(n)):(u=o.responseText,f.setConversionID(u),console.log("Request Session ID:"+u),e(n[0],n[1],u))})}function l(n){var o;n.indexOf("new_ontology")!==-1&&(O.hideLoadingIndicator(),e.showEditorHintIfNeeded(),o="./data/new_ontology.json"),C=!1;var i="";if(f.cachedOntology(n))f.append_bulletPoint("Loading already cached ontology: "+n),i=f.cachedOntology(n),C=!0,O.showLoadingIndicator(),s(i);else{var r="./data/"+n+".json";o&&(r=o),t.xhr(r,"application/json",function(t,o){var r=!t;r?(i=o.responseText,s(i)):(f.append_bulletPoint("Failed to load: "+n),f.append_message_toLastBulletPoint(" ERROR STATUS: "+t.status),e.handleOnLoadingError(),O.setErrorMode())})}}function s(e){f.append_bulletPoint("Reading ontology graph ... ");var t=f.getLoadingFunction();t(e,h,"noAlternativeNameYet")}function d(e){var t=(e.match(/#/g)||[]).length,n=[];if(t>0)for(var o=e.split("#"),i=1;i=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else h=e[0],n()}function r(e){if(e[0].indexOf(a)>=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else n();h=e[1]}var a="opts=";switch(t.length){case 0:n();break;case 1:i(t);break;case 2:r(t);break;default:console.log("To many input parameters , loading default config"),n(),h="ERROR_TO_MANY_INPUT_PARAMETERS"}}function p(e){var t="iri=",n="url=",o="file=",i=-1;return i=e.substr(0,o.length)===o?v:e.substr(0,n.length)===n?m:e.substr(0,t.length)===t?y:g}var u,f,h,g=0,v=1,m=2,y=3,b=0,x=1,w=2,k=1,C=!1,L=!1,M=!1,_=!0,E="ontology",O={},S=t.select("#loading-info"),F=t.select("#loadingInfo-container"),I=t.select("#show-loadingInfo-button"),T=t.select("#loadingIndicator_closeButton");return O.checkForScreenSize=function(){var n=e.options().width(),o=e.options().height();n<270?t.select("#loading-info").classed("hidden",!0):_===!0?t.select("#loading-info").classed("hidden",!1):t.select("#loading-info").classed("hidden",!0),o<150?t.select("#loadingInfo_msgBox").classed("hidden",!0):t.select("#loadingInfo_msgBox").classed("hidden",!1),o<80?(t.select("#progressBarContext").classed("hidden",!0),t.select("#layoutLoadingProgressBarContainer").style("height","20px")):(t.select("#progressBarContext").classed("hidden",!1),t.select("#layoutLoadingProgressBarContainer").style("height","50px"))},O.getProgressBarMode=function(){return k},O.successfullyLoadedOntology=function(){return C},O.missingImportsWarning=function(){return L},O.setOntologyMenu=function(e){f=e},O.showErrorDetailsMessage=function(){O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!0),O.scrollDownDetails()},O.showWarningDetailsMessage=function(){t.select("#currentLoadingStep").style("color","#ff0"),O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!1),O.scrollDownDetails()},O.scrollDownDetails=function(){var e=t.select("#loadingInfo-container").node();e.scrollTop=e.scrollHeight},O.hideLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!0),_=!1},O.showLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!1),_=!0},O.setup=function(){F.classed("hidden",!M),I.on("click",function(){M=!M,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)}),T.on("click",function(){S.classed("hidden",!0)}),O.setBusyMode()},O.updateSize=function(){M=!F.classed("hidden"),F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.getDetailsState=function(){return M},O.expandDetails=function(){M=!0,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.collapseDetails=function(){M=!1,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.setBusyMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").style("width","20%"),t.select("#progressBarValue").classed("busyProgressBar",!0),k=x},O.setSuccessful=function(){t.select("#currentLoadingStep").style("color","#0f0")},O.setErrorMode=function(){t.select("#currentLoadingStep").style("color","#f00"),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="",k=b},O.setPercentMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="0%",t.select("#progressBarValue").style("width","0%"),k=w},O.setPercentValue=function(e){t.select("#progressBarValue").node().innherHTML=e},O.emptyGraphContentError=function(){e.clearGraphData(),f.append_message_toLastBulletPoint("failed"),f.append_message_toLastBulletPoint('
    Error: Received empty graph'),C=!1,e.handleOnLoadingError(),O.setErrorMode()},O.isThreadCanceled=function(){},O.initializeLoader=function(n){if(n===!0&&null!==e.getCachedJsonObj()){var o=JSON.stringify(e.getCachedJsonObj()),i=h;f.setCachedOntology(i,o)}u=-1e4,f.setConversionID(u),f.stopLoadingTimer(),e.clearGraphData(),O.setBusyMode(),O.showLoadingIndicator(),O.collapseDetails(),L=!1,t.select("#loadingIndicator_closeButton").classed("hidden",!0),f.clearDetailInformation()},O.parseUrlAndLoadOntology=function(n){var o=!0;n===!1&&(o=!1),e.clearAllGraphData(),O.initializeLoader(o);var i=String(location),r=d(i);h=E,c(r);var a=p(h);switch(t.select("#progressBarValue").node().innerHTML=" ",a){case 0:O.from_presetOntology(h);break;case 1:O.from_FileUpload(h);break;case 2:O.from_JSON_URL(h);break;case 3:O.from_IRI_URL(h);break;default:console.log("Could not identify loading method , or not IMPLEMENTED YET")}},O.from_JSON_URL=function(e){var t=decodeURIComponent(e.slice("url=".length));h=t;var o="";f.cachedOntology(t)?(f.append_bulletPoint("Loading already cached ontology: "+t),o=f.cachedOntology(t),C=!0,s(o)):(f.append_message("Retrieving ontology from JSON URL "+t),n(f.callbackLoad_JSON_FromURL,["read?json="+t,t]))},O.requestServerTimeStampForDirectInput=function(e,n){t.xhr("serverTimeStamp","application/text",function(o,i){o?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage(),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").text("0%")):(u=i.responseText,f.setConversionID(u),e(n,["conversionID"+u,u]))})},O.from_IRI_URL=function(e){var t=decodeURIComponent(e.slice("iri=".length));h=t;var n="";if(f.cachedOntology(t))f.append_bulletPoint("Loading already cached ontology: "+t),n=f.cachedOntology(t),C=!0,s(n);else{var o=encodeURIComponent(t);f.append_bulletPoint("Retrieving ontology from IRI: "+t),r(f.callbackLoad_Ontology_FromIRI,["convert?iri="+o,t])}},O.from_FileUpload=function(n){O.setBusyMode();var o=decodeURIComponent(n.slice("file=".length));h=o;var i="";if(f.cachedOntology(o))f.append_bulletPoint("Loading already cached ontology: "+o),i=f.cachedOntology(o),C=!0,s(i);else{f.append_bulletPoint("Retrieving ontology from file: "+o);var r=t.select("#file-converter-input").property("files")[0];if(!r||o&&o!==r.name)return f.append_message_toLastBulletPoint('
    No cached version of "'+o+'" was found.
    Please reupload the file.'),O.setErrorMode(),t.select("#progressBarValue").classed("busyProgressBar",!1),void e.handleOnLoadingError();if(o=r.name,o.match(/\.json$/)){f.setConversionID(-1e4);var l=new FileReader;l.readAsText(r),l.onload=function(){i=l.result,h=o,s(i)}}else{var d=[r,o];a(f.callbackLoadFromOntology,d)}}},O.directInput=function(e){f.clearDetailInformation(),s(e)},O.loadFromOWL2VOWL=function(e,n){C=!1;var o=t.select("#bulletPoint_container").node().innerHTML;o.indexOf("(with warnings)")!==-1&&(L=!0),f.cachedOntology(e)?(f.append_bulletPoint("Loading already cached ontology: "+n),s(e)):s(e)},O.from_presetOntology=function(e){f.append_bulletPoint("Retrieving ontology: "+e),l(e)},O.notValidJsonFile=function(){e.clearGraphData(),f.append_message_toLastBulletPoint(" failed"),f.append_message_toLastBulletPoint("
    Error: Received empty graph"),C=!1,e.handleOnLoadingError()},O.validJsonFile=function(){f.append_message_toLastBulletPoint("done"),C=!0},O}}).call(t,n(6))},343:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=document.styleSheets[1].cssRules,t=0;tYou can now modify an existing ontology or create a new one via the ontology menu.
    You can save any ontology using the export menu (and exporting it as TTL file).",o.style("padding","5px"),o.style("line-height","1.2em"),o.style("font-size","1.2em");var a=t.append("ul");a.append("li").node().innerHTML="Create a class with double click / tap on empty canvas area.",a.append("li").node().innerHTML="Edit names with double click / tap on element.",a.append("li").node().innerHTML="Selection of default constructors is provided in the left sidebar.",a.append("li").node().innerHTML="Additional editing functionality is provided in the right sidebar.";var d=t.append("label");d.node().id="killWarningErrorMessages_"+e,d.node().innerHTML="Got It",d.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showMessage=function(e){var t=l[e];t.classed("hidden",!1),t.style("-webkit-animation-name","warn_ExpandAnimation"),t.style("-webkit-animation-duration","0.5s")},r.closeMessage=function(e){var n;if(void 0===e){var o=this.id;n=o.split("_")[1]}else n=e;e&&e.indexOf("_")!==-1&&(n=e.split("_")[1]),d[n]=!1;var i=l[n];i.style("-webkit-animation-name","warn_CollapseAnimation"),i.style("-webkit-animation-duration","0.5s");for(var r=i.node().getBoundingClientRect().height,a=i.node().parentNode,s=[],c=a.children,u=c.length,f=i.node().id,h=!1,g=0;g0){var v=f.append("div");v.style("padding","5px");var m=v.append("div");m.style("display","inline-flex"),m.node().innerHTML="Warning:",m.style("padding-right","3px");var y=v.append("div");y.style("display","inline-flex"),y.style("max-width",g+"px"),y.node().innerHTML=n}if(o.length>0){var b=f.append("div");b.style("padding","5px");var x=b.append("div");x.style("display","inline-flex"),x.style("padding-right","3px"),x.node().innerHTML="Reason:";var w=b.append("div");w.style("display","inline-flex"),w.style("max-width",g+"px"),w.node().innerHTML=o}if(i.length>0){var k=f.append("div");k.style("padding","5px");var C=k.append("div");C.style("display","inline-flex"),C.style("padding-right","8px"),C.node().innerHTML="Action:";var L=k.append("div");L.style("display","inline-flex"),L.style("max-width",g+"px"),L.node().innerHTML=i}var M=f.append("label");M.node().id="killWarningErrorMessages_"+u,M.node().innerHTML="Continue",M.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0),a(c[0],c[1],c[2],c[3])}),f.append("span").node().innerHTML="|";var _=f.append("label");_.node().id="cancelButton_"+u,_.node().innerHTML="Cancel",_.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0)}),h.classed("hidden",!1),h.style("-webkit-animation-name","warn_ExpandAnimation"),h.style("-webkit-animation-duration","0.5s")},r.showFilterHint=function(){var e=r.addMessageBox(),t=s[e],n=l[e];d[e]=!0,o=e;var i=t.append("div");i.node().innerHTML="Collapsing filter activated.
    The number of visualized elements has been automatically reduced.
    Use the degree of collapsing slider in the filter menu to adjust the visualization.

    Note: A performance decrease could be experienced with a growing amount of visual elements in the graph.",i.style("padding","5px"),i.style("line-height","1.2em"),i.style("font-size","1.2em");var a=t.append("label");a.node().id="killFilterMessages_"+e,a.node().innerHTML="Got It",a.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showWarning=function(t,n,o,i,a,c){var p=r.addMessageBox(),u=s[p],f=l[p];d[p]=!0;var h=.5*e.options().width();if(t.length>0){var g=u.append("div");g.style("padding","5px");var v=g.append("div");v.style("display","inline-flex"),v.node().innerHTML="Warning:",v.style("padding-right","3px");var m=g.append("div");m.style("display","inline-flex"),m.style("max-width",h+"px"),m.node().innerHTML=t}if(n.length>0){var y=u.append("div");y.style("padding","5px");var b=y.append("div");b.style("display","inline-flex"),b.style("padding-right","3px"),b.node().innerHTML="Reason:";var x=y.append("div");x.style("display","inline-flex"),x.style("max-width",h+"px"),x.node().innerHTML=n}if(o.length>0){var w=u.append("div");w.style("padding","5px");var k=w.append("div");k.style("display","inline-flex"),k.style("padding-right","8px"),k.node().innerHTML="Action:";var C=w.append("div");C.style("display","inline-flex"),C.style("max-width",h+"px"),C.node().innerHTML=o}var L;if(1===i&&(L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage)),2===i){L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage),u.append("span").node().innerHTML="|";var M=u.append("label");M.node().id="zoomElementThing_"+p,M.node().innerHTML="Zoom to element ",M.on("click",function(){e.zoomToElementInGraph(c)}),u.append("span").node().innerHTML="|";var _=u.append("label");_.node().id="showElementThing_"+p,_.node().innerHTML="Indicate element",_.on("click",function(){c.halo()===!1?(c.drawHalo(),e.updatePulseIds([c.id()])):(c.removeHalo(),c.drawHalo(),e.updatePulseIds([c.id()]))})}f.classed("hidden",!1),f.style("-webkit-animation-name","warn_ExpandAnimation"),f.style("-webkit-animation-duration","0.5s"),f.classed("hidden",!1)},r}}).call(t,n(6))},344:function(e,t,n){(function(t){e.exports=function(e){var n={},o=t.select("#DirectInputContent");o.style("top","0"),o.style("position","absolute");var i=t.select("#directInputTextArea"),r=!1;return o.style("border","1px solid black"),o.style("padding","5px"),o.style("background","#fff"),n.handleDirectUpload=function(){var o,r=i.node().value;try{o=JSON.parse(r),e.options().loadingModule().directInput(r),o.class.length>0&&n.setDirectInputMode(!1)}catch(n){try{e.options().loadingModule().initializeLoader(),e.options().loadingModule().requestServerTimeStampForDirectInput(e.options().ontologyMenu().callbackLoad_Ontology_From_DirectInput,r)}catch(e){console.log("Error "+e),t.select("#Error_onLoad").classed("hidden",!1),t.select("#Error_onLoad").node().innerHTML="Failed to convert the input!"}}},n.handleCloseButton=function(){n.setDirectInputMode(!1)},n.updateLayout=function(){var t=e.options().width(),n=e.options().height();i.style("width",.4*t+"px"),i.style("height",.7*n+"px")},n.setDirectInputMode=function(e){r=e?e:!r,n.updateLayout(),t.select("#Error_onLoad").classed("hidden",!0),o.classed("hidden",!r)},t.select("#directUploadBtn").on("click",n.handleDirectUpload),t.select("#close_directUploadBtn").on("click",n.handleCloseButton),n}}).call(t,n(6))}}); diff --git a/dist/ontology/1.0.0/webvowl/js/webvowl.js b/dist/ontology/1.0.0/webvowl/js/webvowl.js new file mode 100644 index 0000000..fe3a381 --- /dev/null +++ b/dist/ontology/1.0.0/webvowl/js/webvowl.js @@ -0,0 +1,7 @@ +webvowl=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){function r(e,t){var n=t.key.replace(":","").toLowerCase();e[n]=t.value}n(1);var o=n(5)(),a=n(40)(),i={};i.graph=n(57),i.options=n(64),i.version="1.1.4",i.util={},i.util.constants=n(12),i.util.languageTools=n(11),i.util.elementTools=n(63),i.util.prefixTools=n(72),i.modules={},i.modules.colorExternalsSwitch=n(73),i.modules.compactNotationSwitch=n(74),i.modules.datatypeFilter=n(75),i.modules.disjointFilter=n(77),i.modules.focuser=n(78),i.modules.emptyLiteralFilter=n(79),i.modules.nodeDegreeFilter=n(80),i.modules.nodeScalingSwitch=n(81),i.modules.objectPropertyFilter=n(82),i.modules.pickAndPin=n(83),i.modules.selectionDetailsDisplayer=n(315),i.modules.setOperatorFilter=n(316),i.modules.statistics=n(317),i.modules.subclassFilter=n(318),i.nodes={},o.entries().forEach(function(e){r(i.nodes,e)}),i.properties={},a.entries().forEach(function(e){r(i.properties,e)}),e.exports=i},function(e,t){},,,,function(e,t,n){(function(t){var r=[];r.push(n(7)),r.push(n(18)),r.push(n(19)),r.push(n(26)),r.push(n(27)),r.push(n(28)),r.push(n(29)),r.push(n(30)),r.push(n(31)),r.push(n(32)),r.push(n(33)),r.push(n(34)),r.push(n(38)),r.push(n(39));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t){e.exports=d3},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["external"]).type("ExternalClass")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(9),o=n(14),a=n(17)();e.exports=function(){var e=function(e){function t(){var t=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(t=void 0);var n=new o(u.nodeElement(),t),r=u.equivalentsString(),a=r?",":"";return n.addText(u.labelForCurrentLanguage(),"",a),n.addEquivalents(r),e.options().compactNotation()||n.addSubText(u.indicationString()),n.addInstanceCount(u.individuals().length),n}r.apply(this,arguments);var n,i,s,l,u=this,c=!1,d=50,p=null,f=!1;this.setRectangularRepresentation=function(e){f=e},this.getRectangularRepresentation=function(){return f},this.getHalos=function(){return p},this.collapsible=function(e){return arguments.length?(c=e,this):c},this.textBlock=function(e){return arguments.length?(l=e,this):l},this.radius=function(e){return arguments.length?(d=e,this):d},this.setHoverHighlighting=function(e){u.nodeElement().selectAll("circle").classed("hovered",e)},this.textWidth=function(e){var t=2*this.actualRadius();if(e){var n=Math.abs(e)/this.actualRadius(),r=n<=1;t=r?Math.cos(n)*t:0}return t},this.toggleFocus=function(){u.focused(!u.focused()),u.nodeElement()&&u.nodeElement().select("circle").classed("focused",u.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.actualRadius=function(){if(!e.options().scaleNodesByIndividuals()||u.individuals().length<=0)return u.radius();var t=8,n=Math.log(u.individuals().length+1)*t+5;return u.radius()+n},this.distanceToBorder=function(){return u.actualRadius()},this.removeHalo=function(){u.halo()&&(u.halo(!1),p&&p.remove())},this.drawHalo=function(e){if(u.halo(!0),p=f===!0?a.drawRectHalo(u.nodeElement(),80,80,5):a.drawHalo(u.nodeElement(),u.actualRadius(),this.removeHalo),e===!1){var t=p.selectAll(".searchResultA");t.classed("searchResultA",!1),t.classed("searchResultB",!0),t.attr("animationRunning",!1)}},this.drawPin=function(){u.pinned(!0);var t=-.7*u.actualRadius(),n=-.7*u.actualRadius();i=a.drawPin(u.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){u.pinned(!1),i&&i.remove(),e.updateStyle()},this.drawCollapsingButton=function(){n=u.nodeElement().append("g").classed("hidden-in-export",!0).attr("transform",function(){var e=-.4*u.actualRadius(),t=.5*u.actualRadius();return"translate("+e+","+t+")"}),n.append("rect").classed("class pin feature",!0).attr("x",0).attr("y",0).attr("width",40).attr("height",24),n.append("line").attr("x1",13).attr("y1",12).attr("x2",27).attr("y2",12),n.append("line").attr("x1",20).attr("y1",6).attr("x2",20).attr("y2",18)},this.draw=function(e,t){var n=u.collectCssClasses();u.nodeElement(e);var r=u.backgroundColor();null===r&&(r=void 0),u.attributes().indexOf("deprecated")>-1&&(r=void 0),t instanceof Array&&(n=n.concat(t)),s=f===!0?a.appendRectangularClass(e,80,80,n,u.labelForCurrentLanguage(),r):a.appendCircularClass(e,u.actualRadius(),n,u.labelForCurrentLanguage(),r),u.postDrawActions(e)},this.redrawElement=function(){s.remove(),l.remove();var e=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(e=void 0);var t=u.collectCssClasses();s=f===!0?a.appendRectangularClass(u.nodeElement(),80,80,t,u.labelForCurrentLanguage(),e):a.appendCircularClass(u.nodeElement(),u.actualRadius(),t,u.labelForCurrentLanguage(),e),u.postDrawActions(u.nodeElement())},this.postDrawActions=function(){u.textBlock(t()),u.addMouseListeners(),u.pinned()&&u.drawPin(),u.halo()&&u.drawHalo(!1),u.collapsible()&&u.drawCollapsingButton()},this.redrawLabelText=function(){u.textBlock().remove(),u.textBlock(t()),s.select("title").text(u.labelForCurrentLanguage())},this.equivalentsString=function(){var e=u.equivalents();if(e)return e.map(function(e){return e.labelForCurrentLanguage()}).join(", ")}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(13)();e.exports=function(){var e=function(e){function n(){if(!g.mouseEntered()&&b!==!0){var t=g.nodeElement().node(),n=t.parentNode;g.animationProcess()===!1&&n.appendChild(t),e.isTouchDevice()===!1?(g.setHoverHighlighting(!0),g.mouseEntered(!0),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g)):e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g,!0)}}function a(){g.setHoverHighlighting(!1),g.mouseEntered(!1),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!1)}r.apply(this,arguments);var i,s,l,u,c,d,p,f,h,v,g=this,y=[],m="round",b=!1,x=[];g.editingTextElement=!1,this.isPropertyAssignedToThisElement=function(e){if(console.log("Element IRI :"+e.iri()),"rdfs:subClassOf"===e.type())for(var t=0;t0?this.LINE_DISTANCE:0;e.attr("dy",n+o+"px")},r.prototype.getTextBox=function(){return this._textBlock()},r.prototype._repositionTextBlock=function(){var e=this._lineCount();if(e<1)return void this._textBlock().attr("y",0);var t=this._textBlock().node().getBBox().height;this._textBlock().attr("y",.5*-t+"px")},r.prototype._lineCount=function(){return this._textBlock().property("childElementCount")}},function(e,t,n){(function(t){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}var r=4,o={};o.truncate=function(e,t,o,a){if(t-=isNaN(a)?r:a,isNaN(t)||t<=0)return e;for(var i,s,l,u=e;;){if(s=n(u,o),s<=t)break;if(l=s/t,i=Math.floor(u.length/l),u.length===i)break;u=u.substring(0,i)}return e.length>u.length?e.substring(0,u.length-3)+"...":e},e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){(function(t){function n(e,t){var n=e.append("text").classed("text",!0).style("fill",this._getTextColor(t)).attr("text-anchor","middle");this._textBlock=function(){return n}}function r(e){return.3*(e.r/255)+.59*(e.g/255)+.11*(e.b/255)}e.exports=n,n.prototype.LINE_DISTANCE=1,n.prototype.CSS_CLASSES={default:"text",subtext:"subtext",instanceCount:"instance-count"},n.prototype.DARK_TEXT_COLOR="#000",n.prototype.LIGHT_TEXT_COLOR="#fff",n.prototype.translation=function(e,t){return this._textBlock().attr("transform","translate("+e+", "+t+")"),this},n.prototype.remove=function(){return this._textBlock().remove(),this},n.prototype._applyPreAndPostFix=function(e,t,n){return t&&(e=t+e),n&&(e+=n),e},n.prototype._getTextColor=function(e){if(!e)return n.prototype.DARK_TEXT_COLOR;var o=t.rgb(e);return r(o)>.5?n.prototype.DARK_TEXT_COLOR:n.prototype.LIGHT_TEXT_COLOR}}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e,t){t instanceof Array&&t.forEach(function(t){e.classed(t,!0)})}function n(e,t){t&&e.append("title").text(t)}function r(e,t){t&&e.style("fill",t)}var o={};return o.appendCircularClass=function(t,o,a,i,s){var l=t.append("circle").classed("class",!0).attr("r",o);return e(l,a),n(l,i),r(l,s),l},o.appendRectangularClass=function(t,o,a,i,s,l){var u=t.append("rect").classed("class",!0).attr("x",-o/2).attr("y",-a/2).attr("width",o).attr("height",a);return e(u,i),n(u,s),r(u,l),u},o.drawPin=function(e,n,r,o,a,i){var s=e.append("g").classed("hidden-in-export",!0).attr("transform","translate("+n+","+r+")"),l=s.append("circle").classed("class pin feature",!0).attr("r",12).on("click",function(){o&&o(),t.event.stopPropagation()});return s.append("line").attr("x1",0).attr("x2",0).attr("y1",12).attr("y2",16),i===!0&&s.append("circle").attr("r",15).attr("cx",-7).attr("cy",-7).classed("superHiddenElement ",!0).classed("superOpacityElement",!a()).on("click",function(){o&&o(),t.event.stopPropagation()}).on("mouseover",function(){l.classed("feature_hover",!0)}).on("mouseout",function(){l.classed("feature_hover",!1)}),s},o.drawRectHalo=function(e,t,n,r){var o;if(o=e.nodeElement?e.nodeElement():e.labelElement()){var a=o.append("g").classed("hidden-in-export",!0);return a.append("rect").classed("searchResultA",!0).attr("x",(-t-r)/2).attr("y",(-r-n)/2).attr("width",t+r).attr("height",n+r),a.attr("animationRunning",!0),a.node().addEventListener("webkitAnimationEnd",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a.node().addEventListener("animationend",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a}},o.drawHalo=function(e,t){if(void 0===e)return null;var n=e.append("g").classed("hidden-in-export",!0);return n.append("circle",":first-child").classed("searchResultA",!0).attr("r",t+15),n.attr("animationRunning",!0),n.node().addEventListener("webkitAnimationEnd",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n.node().addEventListener("animationend",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n},function(){return o}}()}).call(t,n(6))},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.type("owl:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("complementof").type("owl:complementOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0);r.append("circle").attr("class","symbol").classed("fineline",!0).attr("r",10),r.append("path").attr("class","nofill").attr("d","m -7,-1.5 12,0 0,6").attr("transform","scale(.5)"),r.attr("transform","translate(-"+(t.radius()-15)/100+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(21),o=n(22),a=n(8),i=n(17)();e.exports=function(){var e=function(e){a.apply(this,arguments);var t=this,n=t.setHoverHighlighting,s=t.postDrawActions;this.setHoverHighlighting=function(e){n(e),t.links().filter(function(e){return e instanceof o}).filter(function(e){return e.domain().equals(t)}).forEach(function(t){t.property().setHighlighting(e)})},this.draw=function(e){t.nodeElement(e),i.appendCircularClass(e,t.actualRadius(),t.collectCssClasses().join(" "),t.labelForCurrentLanguage(),t.backgroundColor())},this.postDrawActions=function(){s(),t.textBlock().remove();var n=new r(t.nodeElement(),t.backgroundColor()),o=t.equivalentsString(),a=o?-30:-17,i=o?",":"";n.addText(t.labelForCurrentLanguage(),a,"",i),n.addEquivalents(o,-17),e.options().compactNotation()?n.addInstanceCount(t.individuals().length,17):t.indicationString().length>0?(n.addSubText(t.indicationString(),17),n.addInstanceCount(t.individuals().length,30)):n.addInstanceCount(t.individuals().length,17),t.textBlock(n)}};return e.prototype=Object.create(a.prototype),e.prototype.constructor=e,e}()},function(e,t,n){function r(e,t){a.apply(this,arguments)}var o=n(15)(),a=n(16);e.exports=r,r.prototype=Object.create(a.prototype),r.prototype.constructor=r,r.prototype.addText=function(e,t,n,r){e&&this.addTextline(e,this.CSS_CLASSES.default,t,n,r)},r.prototype.addSubText=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.subtext,t,"(",")")},r.prototype.addEquivalents=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.default,t)},r.prototype.addInstanceCount=function(e,t){e&&this.addTextline(e.toString(),this.CSS_CLASSES.instanceCount,t)},r.prototype.addTextline=function(e,t,n,r,a){var i=o.truncate(e,this._textBlock().datum().textWidth(n),t),s=this._textBlock().append("tspan").classed(this.CSS_CLASSES.default,!0).classed(t,!0).text(this._applyPreAndPostFix(i,r,a)).attr("x",0);this._repositionTextLine(s,n)},r.prototype._repositionTextLine=function(e,t){var n=window.getComputedStyle(e.node()).getPropertyValue("font-size"),r=parseFloat(n),o=1/3*r;e.attr("y",o+(t||0)+"px")}},function(e,t,n){function r(e,t,n){s.apply(this,arguments)}function o(e,t){var n=i(e,t);n.attr("refX",-8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function a(e,t){var n=i(e,t);n.attr("refX",8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function i(e,t){return e.append("marker").datum(t).attr("id",t.markerId()).attr("viewBox","-10 -10 20 20").attr("markerWidth",20).attr("markerHeight",20).attr("markerUnits","userSpaceOnUse").attr("orient","auto")}var s=n(23);e.exports=r,r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.draw=function(e,t){var n=this.label().property(),r=this.label().inverse();o(t,n),r&&a(t,r),s.prototype.draw.apply(this,arguments),e.attr("marker-start","url(#"+n.markerId()+")"),r&&e.attr("marker-end","url(#"+r.markerId()+")")}},function(e,t,n){function r(e,t,r){var a,i,s,l,u,c=new o(r,this),d=n(25)(e,c,this),p=n(25)(c,t,this);this.layers=function(e){return arguments.length?(a=e,this):a},this.layerIndex=function(e){return arguments.length?(i=e,this):i},this.loops=function(e){return arguments.length?(s=e,this):s},this.loopIndex=function(e){return arguments.length?(l=e,this):l},this.domain=function(){return e},this.label=function(){return c},this.linkParts=function(){return[p,d]},this.range=function(){return t},this.pathObj=function(e){return arguments.length?void(u=e):u}}var o=n(24);e.exports=r,r.prototype.draw=function(e){var t=this.label().property(),n=this.label().inverse();t.linkGroup(e),n&&n.linkGroup(e);var r=e.append("path");r.classed("link-path",!0).classed(this.domain().cssClassOfNode(),!0).classed(this.range().cssClassOfNode(),!0).classed(t.linkType(),!0),this.pathObj(r)},r.prototype.inverse=function(){return this.label().inverse()},r.prototype.isLoop=function(){return this.domain().equals(this.range())},r.prototype.property=function(){return this.label().property()}},function(e,t){function n(e,t){this.link=function(){return t},this.property=function(){return e},Object.defineProperty(this,"fixed",{get:function(){var t=!!e.inverse()&&e.inverse().fixed;return e.fixed||t},set:function(t){e.fixed=t,e.inverse()&&(e.inverse().fixed=t)}}),this.frozen=e.frozen,this.locked=e.locked,this.pinned=e.pinned}e.exports=n,n.prototype.actualRadius=function(){return this.property().actualRadius()},n.prototype.draw=function(e){return this.property().draw(e)},n.prototype.inverse=function(){return this.property().inverse()},n.prototype.equals=function(e){if(!e)return!1;var t=e instanceof n,r=this.property().equals(e.property()),o=!1;return this.inverse()?o=this.inverse().equals(e.inverse()):e.inverse()||(o=!0),t&&r&&o}},function(e,t){e.exports=function(e,t,n){var r={},o=e,a=n,i=t;return Object.defineProperties(r,{source:{value:o,writable:!0},target:{value:i,writable:!0}}),r.domain=function(){return o},r.link=function(){return a},r.range=function(){return i},r}},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).type("owl:DeprecatedClass").styleClass("deprecated").indications(["deprecated"])};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("disjointunionof").type("owl:disjointUnionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("text").attr("class","link").text("1").attr("transform","scale(.7)translate(3,5)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8),o=n(17)();e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n=4,a=this,i=a.actualRadius;this.styleClass("equivalentclass").type("owl:equivalentClass"),this.actualRadius=function(){return i()+n},this.redrawElement=function(){t.remove(),a.textBlock().remove();var e=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(e=void 0);var r=a.collectCssClasses();t=a.nodeElement().append("g"),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),e)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),console.log(r),console.log(a.attributes()),console.log("what is bgColor"+e),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),e)),a.postDrawActions(a.nodeElement())},this.draw=function(e){var r=a.collectCssClasses();a.nodeElement(e),t=e.append("g");var i=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(i=void 0),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),i)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),i)),a.postDrawActions()},a.setHoverHighlighting=function(e){a.nodeElement().selectAll("circle:last-of-type").classed("hovered",e)}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){function t(){var e=18,t=5,n=-(e/2),r=7,o=5,a=e-o,i="M"+t+","+n,s="c"+r+","+o+" "+r+","+a+" 0,"+e,l="c"+-r+","+-o+" "+-r+","+-a+" 0,"+-e;return i+s+l}r.apply(this,arguments);var n=this,o=n.draw,a=t();this.styleClass("intersectionof").type("owl:intersectionOf"),this.draw=function(e){o(e);var t=e.append("g").classed("embedded",!0),r=10;t.append("path").attr("class","nostroke").classed("symbol",!0).attr("d",a),t.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("circle").attr("cx",10).attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("path").attr("class","nofill").attr("d","m 9,5 c 0,-2 0,-4 0,-6 0,0 0,0 0,0 0,0 0,-1.8 -1,-2.3 -0.7,-0.6 -1.7,-0.8 -2.9,-0.8 -1.2,0 -2,0 -3,0.8 -0.7,0.5 -1,1.4 -1,2.3 0,2 0,4 0,6").attr("transform","scale(.5)translate(5,0)"),t.attr("transform","translate(-"+(n.radius()-15)/7+",-"+(n.radius()-15)/100+")"),n.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(31);e.exports=function(){var e=function(e){r.apply(this,arguments),this.label("Nothing").type("owl:Nothing").iri("http://www.w3.org/2002/07/owl#Nothing")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.label("Thing").type("owl:Thing").iri("http://www.w3.org/2002/07/owl#Thing").radius(30),this.draw=function(e){t(e,["white","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("unionof").type("owl:unionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("path").attr("class","link").attr("d","m 1,-3 c 0,2 0,4 0,6 0,0 0,0 0,0 0,2 2,3 4,3 2,0 4,-1 4,-3 0,-2 0,-4 0,-6").attr("transform","scale(.5)translate(5,0)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).type("rdfs:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t="undefined";this.attributes(["datatype"]).type("rdfs:Datatype").styleClass("datatype"),this.dType=function(e){return arguments.length?void(t=e):t}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(36);e.exports=function(){var e=function(e){r.apply(this,arguments)};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(9),o=n(14),a=n(17)(),i=n(37)();e.exports=function(){var e=function(e){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth; +return r.remove(),o}r.apply(this,arguments);var s,l,u,c,d=this,p=20,f=60,h=80,v=80,g=80,y=p/2;d.renderType("rect"),this.height=function(e){return arguments.length?(p=e,this):p},this.width=function(e){return arguments.length?(f=e,this):f},this.getHalos=function(){return l},this.actualRadius=function(){return y},this.distanceToBorder=function(e,t){return i.distanceToBorder(d,e,t)},this.setHoverHighlighting=function(e){d.nodeElement().selectAll("rect").classed("hovered",e);var t=d.getHalos();if(t){var n=t.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0)}},this.textWidth=function(){return h},this.width=function(){return h},this.getMyWidth=function(){var e=d.labelForCurrentLanguage();v=n(e,"text")+20;var t=d.indicationString(),r=n(t,"subtext")+20;return r>v&&(v=r),v},this.textWidth=function(){return d.width()},this.toggleFocus=function(){d.focused(!d.focused()),d.nodeElement().select("rect").classed("focused",d.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.draw=function(t,n){var r=d.collectCssClasses();d.nodeElement(t),n instanceof Array&&(r=r.concat(n)),h=e.options().dynamicLabelWidth()===!0?Math.min(d.getMyWidth(),e.options().maxLabelWidth()):g,f=h,u=a.appendRectangularClass(t,d.width(),d.height(),r,d.labelForCurrentLanguage(),d.backgroundColor()),c=new o(t,d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.addMouseListeners(),d.pinned()&&d.drawPin(),d.halo()&&d.drawHalo(!1)},this.drawPin=function(){d.pinned(!0);var t=-.5*h+5,n=-1.1*p;s=a.drawPin(d.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){d.pinned(!1),s&&s.remove(),e.updateStyle()},this.removeHalo=function(){d.halo(!1),l&&(l.remove(),l=null)},this.drawHalo=function(e){d.halo(!0);var t=0;if(l=a.drawRectHalo(d,this.width(),this.height(),t),e===!1){var n=l.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0),n.attr("animationRunning",!1)}if(d.pinned()){var r=s.node(),o=r.parentNode;o.appendChild(r)}},this.updateTextElement=function(){c.updateAllTextElements()},this.textBlock=function(){return c},this.redrawLabelText=function(){c.remove(),c=new o(d.nodeElement(),d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),u.select("title").text(d.labelForCurrentLanguage())},this.animateDynamicLabelWidth=function(t){d.removeHalo();var n=d.height();if(t===!0?(h=Math.min(d.getMyWidth(),e.options().maxLabelWidth()),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n}).each("end",function(){d.updateTextElement()})):(h=g,d.updateTextElement(),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n})),d.pinned()===!0&&s){var r=.5*h-10,o=-1.1*n;s.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}},this.addTextLabelElement=function(){var e=d.nodeElement();c=new o(e,this.backgroundColor()),c.addText(d.labelForCurrentLanguage())}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()}).call(t,n(6))},function(e,t){var n={};e.exports=function(){return n},n.distanceToBorder=function(e,t,n){var r,o=e.width(),a=e.height(),i=Math.abs(n/t),s=a/o;if(i<=s){var l=t/(o/2),u=n/l;r=Math.sqrt(Math.pow(o/2,2)+Math.pow(u,2))}else{var c=n/(a/2),d=t/c;r=Math.sqrt(Math.pow(a/2,2)+Math.pow(d,2))}return r}},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw,n=this.label;this.attributes(["datatype"]).label("Literal").styleClass("literal").type("rdfs:Literal").iri("http://www.w3.org/2000/01/rdf-schema#Literal"),this.draw=function(e){t(e,["dashed"])},this.label=function(e){return arguments.length?this:n()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.attributes(["rdf"]).label("Resource").radius(30).styleClass("rdfsresource").type("rdfs:Resource"),this.draw=function(e){t(e,["rdf","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=[];r.push(n(41)),r.push(n(44)),r.push(n(45)),r.push(n(46)),r.push(n(47)),r.push(n(48)),r.push(n(49)),r.push(n(50)),r.push(n(51)),r.push(n(52)),r.push(n(53)),r.push(n(54)),r.push(n(55)),r.push(n(56));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("allvaluesfromproperty").type("owl:allValuesFrom"),this.generateCardinalityText=function(){var e="A",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(14),a=n(17)(),i=n(13)(),s=n(37)();n(43)();e.exports=function(){var e=28,n=80,l=e/2,u=function(e){function n(){var e=[];return T.subproperties()&&(e=e.concat(T.subproperties())),T.superproperties()&&(e=e.concat(T.superproperties())),e}function l(){var e=n();e.forEach(function(e){e.foreground&&e.foreground()})}function u(){T.mouseEntered()||P===!0||(T.mouseEntered(!0),T.setHighlighting(!0),T.foreground(),l())}function c(){T.mouseEntered(!1),T.setHighlighting(!1)}function d(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}function p(t){if(e.ignoreOtherHoverEvents()===!1){var n=!1;T.inverse()&&(n=!0),t===!0&&e.activateHoverElementsForProperties(t,T,n)}}r.apply(this,arguments);var f,h,v,g,y,m,b,x,E,w,O,C,k,P,_,j,M,D,L,A,S,T=this,R="normal",I="filled",N=!0,F=80,H=80,B=[];this.existingPropertyIRI=function(t){return e.options().editSidebar().checkForExistingURL(t)},this.getHalos=function(){return M},this.getPin=function(){return j},this.labelObject=function(e,t){return arguments.length?(A=e,void(T.inverse()&&t!==!0&&T.inverse().labelObject(e,!0))):A},this.hide=function(e){T.labelElement().classed("hidden",e),T.linkGroup().classed("hidden",e),T.cardinalityElement()&&T.cardinalityElement().classed("hidden",e)},this.cardinality=function(e){return arguments.length?(f=e,this):f},this.cardinalityElement=function(e){return arguments.length?(w=e,this):w},this.domain=function(e){return arguments.length?(h=e,this):h},this.inverse=function(e){return arguments.length?(v=e,this):v},this.labelElement=function(e){return arguments.length?(O=e,this):O},this.labelVisible=function(e){return arguments.length?(N=e,this):N},this.link=function(e){return arguments.length?(g=e,this):g},this.linkGroup=function(e){return arguments.length?(C=e,this):C},this.linkType=function(e){return arguments.length?(R=e,this):R},this.markerElement=function(e){return arguments.length?(k=e,this):k},this.markerType=function(e){return arguments.length?(I=e,this):I},this.maxCardinality=function(e){return arguments.length?(m=e,this):m},this.minCardinality=function(e){return arguments.length?(y=e,this):y},this.range=function(e){return arguments.length?(b=e,this):b},this.redundantProperties=function(e){return arguments.length?(B=e,this):B},this.subproperties=function(e){return arguments.length?(x=e,this):x},this.superproperties=function(e){return arguments.length?(E=e,this):E},this.distanceToBorder=function(e,t){return s.distanceToBorder(T,e,t)},this.linkHasMarker=function(){return"dashed"!==R},this.markerId=function(){return"marker"+T.id()},this.toggleFocus=function(){T.focused(!T.focused()),O.select("rect").classed("focused",T.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.getShapeElement=function(){return D},this.textBlock=function(){return L},this.redrawElement=function(){D.remove(),L.remove(),T.drawLabel(T.labelElement()),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth())},this.draw=function(t){function n(e){var n=t.append("g").datum(e).classed("label",!0).attr("id",e.id());return e.drawLabel(n),n}if(T.labelVisible()){if(F=e.options().dynamicLabelWidth()===!0?Math.min(T.getMyWidth(),e.options().maxLabelWidth()):H,T.labelElement(n(T)),T.inverse()){var r=T.height()/2+1;T.inverse().labelElement(n(T.inverse())),T.labelElement().attr("transform","translate(0,-"+r+")"),T.inverse().labelElement().attr("transform","translate(0,"+r+")")}return T.pinned()?T.drawPin():T.inverse()&&T.inverse().pinned()&&T.inverse().drawPin(),T.halo()&&T.drawHalo(!1),T.labelElement()}},this.addRect=function(e){var t=e.append("rect").classed(T.styleClass(),!0).classed("property",!0).attr("x",-T.width()/2).attr("y",-T.height()/2).attr("width",T.width()).attr("height",T.height()).on("mouseover",function(){u()}).on("mouseout",function(){c()});t.append("title").text(T.labelForCurrentLanguage()),T.visualAttributes()&&t.classed(T.visualAttributes(),!0);var n=T.backgroundColor();return T.attributes().indexOf("deprecated")>-1?(n=void 0,t.classed("deprecatedproperty",!0)):t.classed("deprecatedproperty",!1),t.style("fill",n),t},this.drawLabel=function(e){D=this.addRect(e);var t=T.equivalentsString(),n=t?",":"",r=T.backgroundColor();T.attributes().indexOf("deprecated")>-1&&(r=void 0),L=new o(e,r),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.equivalentsString=function(){var e=T.equivalents();if(e)return e.map(function(e){return void 0===e||"string"==typeof e?"ERROR":e.labelForCurrentLanguage()}).join(", ")},this.drawCardinality=function(e){var t=this.generateCardinalityText();return!!t&&(T.cardinalityElement(e),0===t.indexOf("A")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -8.8832678,-11.303355 -7.97e-4,0 0.717374,1.833297 8.22987151,21.371761 8.66826659,-21.2123526 0.797082,-1.9927054 0.02471,0 -0.8218553,1.9927054 -2.2517565,5.4201577 -12.4444429,8e-6 -2.2019394,-5.5795821 z").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):0===t.indexOf("E")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -5.5788451,-8.0958763 10.8749368,0 0,8.34681523 -9.5707468,0.040132 9.5707468,-0.040132 0,8.42707237 -10.9150654,0").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):(e.append("text").classed("cardinality",!0).attr("text-anchor","middle").attr("dy","0.5ex").text(t),!0))},this.generateCardinalityText=function(){if(T.cardinality())return T.cardinality();if(T.minCardinality()||T.maxCardinality()){var e=T.minCardinality()||"*",t=T.maxCardinality()||"*";return e+".."+t}},T.setHighlighting=function(t){T.labelElement&&T.labelElement()&&T.labelElement().select("rect").classed("hovered",t),T.linkGroup().selectAll("path, text").classed("hovered",t),T.markerElement()&&(T.markerElement().select("path").classed("hovered",t),T.cardinalityElement()&&(T.cardinalityElement().selectAll("path").classed("hovered-MathSymbol",t),T.cardinalityElement().classed("hovered",t)));var r=n();r.forEach(function(e){e.labelElement&&e.labelElement()&&e.labelElement().select("rect").classed("indirect-highlighting",t)});var o=!1;e.ignoreOtherHoverEvents()===!1&&(T.inverse()&&(o=!0),e.isTouchDevice()===!1?e.activateHoverElementsForProperties(t,T,o):(T.labelElement().select("rect").classed("hovered",!1),T.linkGroup().selectAll("path, text").classed("hovered",!1),T.markerElement()&&(T.markerElement().select("path").classed("hovered",!1),T.cardinalityElement()&&T.cardinalityElement().classed("hovered",!1)),e.activateHoverElementsForProperties(t,T,o,!0)))},this.foreground=function(){if(T.labelElement()&&null!==T.labelElement().node().parentNode){var e=T.labelElement().node().parentNode,t=e.parentNode,n=T.linkGroup().node(),r=T.linkGroup().node().parentNode;T.animationProcess()===!1&&t.appendChild(e),r.appendChild(n)}},this.drawPin=function(){if(T.pinned(!0),F=e.options().dynamicLabelWidth()===!0?T.getMyWidth():H,T.inverse()){var t=T.labelElement().attr("transform"),n=T.inverse().labelElement().attr("transform"),r=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(t)[2],o=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(n)[2];j=rF&&(F=n),F},this.textWidth=function(){return F},this.width=function(){return F},this.animateDynamicLabelWidth=function(t){if(T.removeHalo(),void 0!==D){var n=T.height();if(t===!0?(F=Math.min(T.getMyWidth(),e.options().maxLabelWidth()),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n}).each("end",function(){T.updateTextElement()})):(F=H,T.updateTextElement(),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n})),T.pinned()===!0&&j){var r=-.5*F+10,o=-25;j.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}}},this.redrawLabelText=function(){L.remove(),T.addTextLabelElement(),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),D.select("title").text(T.labelForCurrentLanguage())},this.addTextLabelElement=function(){var e=T.labelElement(),t=T.equivalentsString(),n=t?",":"";L=new o(e,this.backgroundColor()),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.updateTextElement=function(){L.updateAllTextElements()},this.enableEditing=function(e){e!==!1&&T.raiseDoubleClickEdit(!0)},this.raiseDoubleClickEdit=function(n){if(t.selectAll(".foreignelements").remove(),void 0===T.labelElement()||"owl:disjointWith"===this.type()||"rdfs:subClassOf"===this.type())return void console.log("No Container found");void 0!==_&&T.labelElement().selectAll(".foreignelements").remove(),S=void 0,e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),T.editingTextElement=!0,P=!0,T.labelElement().selectAll("rect").classed("hoveredForEditing",!0),T.frozen(!0),e.killDelayedTimer(),e.ignoreOtherHoverEvents(!1),_=T.labelElement().append("foreignObject").attr("x",-.5*T.textWidth()).attr("y",-13).attr("height",25).attr("class","foreignelements").on("dragstart",function(){return!1}).attr("width",T.textWidth()-2);var r=_.append("xhtml:input").attr("class","nodeEditSpan").attr("id",T.id()).attr("align","center").attr("contentEditable","true").on("dragstart",function(){return!1}),o="#f00",a=T.textWidth()-2;r.style({align:"center",color:"black",width:a+"px","background-color":o,"border-bottom":"2px solid black"});var i=r.node();i.value=T.labelForCurrentLanguage(),i.focus(),i.select(),t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation(),r.on("click",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mouseout",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mousedown",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}).on("keydown",function(){13===t.event.keyCode&&(this.blur(),T.frozen(!1),T.locked(!1))}).on("keyup",function(){if(n){var o=r.node().value,a=o.replaceAll(" ","_"),i=T.baseIri()+a;S=i,t.select("#element_iriEditor").node().title=i,t.select("#element_iriEditor").node().value=e.options().prefixModule().getPrefixRepresentationForFullURI(i)}t.select("#element_labelEditor").node().value=r.node().value}).on("blur",function(){T.editingTextElement=!1,P=!1,T.labelElement().selectAll("rect").classed("hoveredForEditing",!1);var t=r.node().value;if(T.labelElement().selectAll(".foreignelements").remove(),T.label(t),T.backupLabel(t),T.redrawLabelText(),p(!0),e.showHoverElementsAfterAnimation(T,!1),e.ignoreOtherHoverEvents(!1),T.frozen(e.paused()),T.locked(e.paused()),T.domain().frozen(e.paused()),T.domain().locked(e.paused()),T.range().frozen(e.paused()),T.range().locked(e.paused()),e.removeEditElements(),S){var n=e.options().editSidebar().checkProperIriChange(T,S);n!==!1&&e.options().warningModule().showWarning("Already seen this property","Input IRI: "+S+" for element: "+T.labelForCurrentLanguage()+" already been set","Continuing with duplicate property!",1,!1,n),T.iri(S)}e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),e.updatePropertyDraggerElements(T)})},T.copyInformation=function(e){T.label(e.label()),T.iri(e.iri()),T.baseIri(e.baseIri()),"owl:ObjectProperty"!==e.type()&&"owl:DatatypeProperty"!==e.type()||T.backupLabel(e.label()),void 0!==e.backupLabel()&&T.backupLabel(e.backupLabel())},i.addTo(this)};return u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.height=function(){return e},u.prototype.width=function(){return n},u.prototype.actualRadius=function(){return l},u.prototype.textWidth=u.prototype.width,u}()}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e){return e%=360,e<0&&(e+=360),Math.PI*e/180}function n(e){return e*(180/Math.PI)}var r={},o=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal").tension(-1);return r.calculateNormalVector=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=-o,i=r,s=Math.sqrt(a*a+i*i),l=0!==s?n/s:0;return{x:a*l,y:i*l}},r.getLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i);o.increasedLoopAngle===!0&&(s=120);var l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,E]},r.calculateLoopPath=function(t){var r=t.domain(),a=t.label(),i=360/t.loops().length,s=.8*i,l=Math.min(60,s);a.increasedLoopAngle===!0&&(l=120);var u=a.x-r.x,c=a.y-r.y,d=Math.atan2(c,u),p=n(d),f=p-l/2,h=p+l/2,v=e(f),g=e(h),y=Math.cos(v)*r.actualRadius(),m=Math.sin(v)*r.actualRadius(),b=Math.cos(g)*r.actualRadius(),x=Math.sin(g)*r.actualRadius(),E={x:r.x+y,y:r.y+m},w={x:r.x+b,y:r.y+x};return o([E,t.label(),w])},r.calculateLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i),l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,t.label(),E]},r.calculateIntersection=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=Math.sqrt(r*r+o*o);if(0===a)return{x:e.x,y:e.y};var i=t.distanceToBorder(r,o),s=(a-(i+n))/a,l=r*s+e.x,u=o*s+e.y;return{x:l,y:u}},r.calculateCenter=function(e,t){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}},function(){return r}}()}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["datatype"]).styleClass("datatypeproperty").type("owl:DatatypeProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).styleClass("deprecatedproperty").type("owl:DeprecatedProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42),o=n(14);e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n="Disjoint With";this.label=function(e){return arguments.length?this:n},this.linkType("dashed").styleClass("disjointwith").type("owl:disjointWith"),this.drawLabel=function(n){t=this.addRect(n),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",-12.5).attr("r",10),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",12.5).attr("r",10);var r=new o(n,this.backgroundColor());e.options().compactNotation()||r.addSubText("disjoint"),r.translation(0,20)},this.getShapeElement=function(){return t},this.markerElement=function(){}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.styleClass("equivalentproperty").type("owl:equivalentProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["functional"]).styleClass("functionalproperty").type("owl:FunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["inverse functional"]).styleClass("inversefunctionalproperty").type("owl:InverseFunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["object"]).styleClass("objectproperty").type("owl:ObjectProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("somevaluesfromproperty").type("owl:someValuesFrom"),this.generateCardinalityText=function(){var e="E",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["symmetric"]).styleClass("symmetricproperty").type("owl:SymmetricProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["transitive"]).styleClass("transitiveproperty").type("owl:TransitiveProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).styleClass("rdfproperty").type("rdf:Property")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw,o="Subclass of";this.draw=function(r){return t.labelVisible(!e.options().compactNotation()),n(r)},this.label=function(e){return arguments.length?this:o},this.linkType("dotted").markerType("white").styleClass("subclass").type("rdfs:subClassOf"),t.baseIri("http://www.w3.org/2000/01/rdf-schema#"),t.iri("http://www.w3.org/2000/01/rdf-schema#subClassOf")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.labelVisible(!1).linkType("dashed").markerType("white").styleClass("setoperatorproperty").type("setOperatorProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(58),o=n(43)(),a=n(60)(),i=n(63)(),s=n(5)(),l=n(40)();e.exports=function(e){function u(){Te.graphContainerSelector(e);var n=!1;ye=t.layout.force().on("tick",c),me=t.behavior.drag().origin(function(e){return e}).on("dragstart",function(e){t.event.sourceEvent.stopPropagation(),De.ignoreOtherHoverEvents(!0),e.type&&"Class_dragger"===e.type()?(wt.mouseButtonPressed=!0,clearTimeout(Oe),wt.selectedViaTouch(!0),e.parentNode().locked(!0),at=!0):e.type&&"Range_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):e.type&&"Domain_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):(e.locked(!0),n=!1)}).on("drag",function(e){e.type&&"Class_dragger"===e.type()?(clearTimeout(Oe),wt.setPosition(t.event.x,t.event.y)):e.type&&"Range_dragger"===e.type()?(clearTimeout(Oe),Ot.setPosition(t.event.x,t.event.y),kt.setPosition(t.event.x,t.event.y),Ct.updateElementViaRangeDragger(t.event.x,t.event.y)):e.type&&"Domain_dragger"===e.type()?(clearTimeout(Oe),Ct.setPosition(t.event.x,t.event.y),kt.setPositionDomain(t.event.x,t.event.y),Ot.updateElementViaDomainDragger(t.event.x,t.event.y)):(e.px=t.event.x,e.py=t.event.y,ye.resume(),S(),n=!0,e.renderType&&"round"===e.renderType()&&wt.setParentNode(e))}).on("dragend",function(e){if(De.ignoreOtherHoverEvents(!1),e.type&&"Class_dragger"===e.type()){var t=wt.x,r=wt.y;clearTimeout(Oe),wt.mouseButtonPressed=!1,wt.selectedViaTouch(!1),e.setParentNode(e.parentNode());var o=[t,r],a=De.getTargetNode(o);a&&U(e.parentNode(),a,o),Ke===!1&&K(),at=!1}else if(e.type&&"Range_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var s=Ot.x,l=Ot.y,u=[s,l],c=De.getTargetNode(u);i.isDatatype(c)===!0&&(c=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),null===c?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateRange(c),De.update(),kt.hideParentProperty(!1))}else if(e.type&&"Domain_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var d=Ct.x,p=Ct.y,f=[d,p],h=De.getTargetNode(f);i.isDatatype(h)===!0&&(h=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),kt.hideClone(!0),null===h?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateDomain(h),De.update(),kt.hideParentProperty(!1))}else{e.locked(!1);var v=De.options().pickAndPinModule();v.enabled()===!0&&n===!0&&(e.id&&v.handle(e,!0),e.property&&v.handle(e.property(),!0))}}),Me=t.behavior.zoom().duration(150).scaleExtent([Te.minMagnification(),Te.maxMagnification()]).on("zoom",v),nt.push(wt),nt.push(Ot),nt.push(Ct),nt.push(kt),ye.stop()}function c(){if(ct=!1,De.options().loadingModule().successfullyLoadedOntology()===!1)return ye.stop(),t.select("#progressBarValue").node().innerHTML="",De.updateProgressBarMode(),De.options().loadingModule().showErrorDetailsMessage(c),void(yt&&mt===!1&&De.options().loadingModule().collapseDetails("hiddenRecalculatePositions"));if(He===!1){var e=1-10*ye.alpha(),n=parseInt(200*e)+"%";De.options().loadingModule().setPercentValue(n),t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,e>.49&&(He=!0,ne&&(ne.style("opacity","1"),n="100%",t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,De.options().ontologyMenu().append_message_toLastBulletPoint("done"),t.select("#reloadCachedOntology").classed("hidden",!bt),gt===!0&&vt===!1&&(De.options().warningModule().showFilterHint(),vt=!0)),Fe&&(De.paused()===!1&&ye.resume(),Fe=!1),ct=!0,ft===!0?(ye.on("tick",d),d()):(ye.on("tick",p),p()),We===!0&&ye.nodes().length>0&&(ye.nodes().length<10?De.forceRelocationEvent(!0):De.forceRelocationEvent(),We=!1),De.showEditorHintIfNeeded(),De.options().loadingModule().missingImportsWarning()===!1?(De.options().loadingModule().hideLoadingIndicator(),De.options().ontologyMenu().append_bulletPoint("Successfully loaded ontology"),De.options().loadingModule().setSuccessful()):(De.options().loadingModule().showWarningDetailsMessage(),De.options().ontologyMenu().append_bulletPoint("Loaded ontology with warnings")))}}function d(){p(),_e=Date.now();var e=_e-je,t=(1e3/e).toFixed(2);ut.node().innerHTML="FPS: "+t+"
    Nodes: "+ye.nodes().length+"
    Links: "+ye.links().length,je=Date.now()}function p(){return lt?(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1!==n.layers().length||n.loops())e.linkDomainIntersection=o.calculateIntersection(n.label(),n.domain(),0),e.linkRangeIntersection=o.calculateIntersection(n.label(),n.range(),0),n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement());else{var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y,e.linkRangeIntersection=a,e.linkDomainIntersection=r,n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement())}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop()){var t=o.getLoopPoints(e);return e.label().linkRangeIntersection=t[1],e.label().linkDomainIntersection=t[0],e.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement()),o.calculateLoopPath(e)}var n=e.label(),r=o.calculateIntersection(n,e.domain(),1),a=o.calculateIntersection(n,e.range(),1);return e.linkRangeIntersection=r,e.linkDomainIntersection=a,e.property().focused()!==!0&&void 0===ot||(Ct.updateElement(),Ot.updateElement()),Se([r,n,a])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),rt&&(ee(rt),Q(rt),at===!1&&wt.setParentNode(rt)),ot&&te(ot),void S()):(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1===n.layers().length&&!n.loops()){ +var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop())return o.calculateLoopPath(e);var t=e.label(),n=o.calculateIntersection(t,e.domain(),1),r=o.calculateIntersection(t,e.range(),1);return Se([n,t,r])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),void S())}function f(){function e(e){Te.selectionModules().forEach(function(t){t.handle(e)})}se.on("click",function(n){Ke===!0&&G()===!0?(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n))):e(n)}),se.on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))}),le.selectAll(".label").on("click",function(n){e(n),Ke===!0&&G()===!0&&(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n)))}),le.selectAll(".label").on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))})}function h(e){if(De.options().getGeneralMetaObject().iri){var t=De.options().getGeneralMetaObject().iri+e.id();return e.iri()===t}return!1}function v(){if(pt===!0)return Me.translate(Ve),void Me.scale(Be);var e=!1;if(t.event.sourceEvent&&t.event.sourceEvent.deltaY&&(e=!0),e===!1){if(ze===!0)return;return Be=t.event.scale,Ve=t.event.translate,ne.attr("transform","translate("+Ve+")scale("+Be+")"),S(),void De.options().zoomSlider().updateZoomSliderValue(Be)}Be=t.event.scale,Ve=t.event.translate,ne.transition().tween("attr.translate",function(){return function(e){ze=!0;var n=t.transform(ne.attr("transform"));Ve[0]=n.translate[0],Ve[1]=n.translate[1],Be=n.scale[0],S(),De.options().zoomSlider().updateZoomSliderValue(Be)}}).each("end",function(){ze=!1}).attr("transform","translate("+Ve+")scale("+Be+")").ease("linear").duration(250)}function g(){b(),ne=t.selectAll(Te.graphContainerSelector()).append("svg").classed("vowlGraph",!0).attr("width",Te.width()).attr("height",Te.height()).call(Me).append("g");var e=t.selectAll(".vowlGraph");Qe=e.on("dblclick.zoom"),et=e.on("touchstart"),e.on("touchstart",Z),lt===!0?e.on("dblclick.zoom",De.modified_dblClickFunction):e.on("dblclick.zoom",Qe)}function y(){Ee=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("addDataPropertyElement",!0).attr("transform","translate(0,0)"),Ee.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",-8).attr("y1",0).attr("x2",8).attr("y2",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",0).attr("y1",-8).attr("x2",0).attr("y2",8).append("title").text("Add Datatype Property"),De.options().useAccuracyHelper()&&Ee.append("circle").attr("r",15).attr("cx",-7).attr("cy",7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject()),xe=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("deleteParentElement",!0).attr("transform","translate(0,0)"),xe.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Delete This Node");var e=5;xe.append("line").attr("x1",-e).attr("y1",-e).attr("x2",e).attr("y2",e).append("title").text("Delete This Node"),xe.append("line").attr("x1",e).attr("y1",-e).attr("x2",-e).attr("y2",e).append("title").text("Delete This Node"),De.options().useAccuracyHelper()&&xe.append("circle").attr("r",15).attr("cx",7).attr("cy",-7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject())}function m(){var e;if(ne){ne.selectAll("*").remove(),ie=ne.append("g").classed("linkContainer",!0),ae=ne.append("g").classed("cardinalityContainer",!0),oe=ne.append("g").classed("labelContainer",!0),re=ne.append("g").classed("nodeContainer",!0);var n=ne.append("g").classed("linkContainer",!0);tt=ne.append("g").classed("editContainer",!0),we=ne.append("g").classed("editContainer",!0),n.classed("hidden-in-export",!0),we.classed("hidden-in-export",!0),tt.classed("hidden-in-export",!0),e=ie.append("defs");var r=tt.selectAll(".node").data(nt).enter().append("g").classed("node",!0).classed("hidden-in-export",!0).attr("id",function(e){return e.id()}).call(me);r.each(function(e){e.svgRoot(t.select(this)),e.svgPathLayer(n),"shadowClone"===e.type()?(e.drawClone(),e.hideClone(!0)):(e.drawNode(),e.hideDragger(!0))}),y(),e=ie.append("defs"),void 0===pe&&(pe=[]),se=re.selectAll(".node").data(pe).enter().append("g").classed("node",!0).attr("id",function(e){return e.id()}).call(me),se.each(function(e){e.draw(t.select(this))}),void 0===fe&&(fe=[]),le=oe.selectAll(".labelGroup").data(fe).enter().append("g").classed("labelGroup",!0).call(me),le.each(function(e){var n=e.draw(t.select(this));e.property().labelObject(e),n||t.select(this).remove()}),le.each(function(e){if(this.parentNode&&i.isRdfsSubClassOf(e.property())){var t=this.parentNode;t.insertBefore(this,t.firstChild)}}),void 0===ve&&(ve=[]),de=ae.selectAll(".cardinality").data(ve).enter().append("g").classed("cardinality",!0),de.each(function(e){var n=e.drawCardinality(t.select(this));n||t.select(this).remove()}),void 0===he&&(he=[]),ue=ie.selectAll(".link").data(he).enter().append("g").classed("link",!0),ue.each(function(n){n.draw(t.select(this),e)}),ce=ue.selectAll("path"),f()}}function b(){ne&&t.select(ne.node().parentNode).remove()}function x(){Ze=[];for(var e,t=0;t0)for(var r=0;r0?(ne.style("opacity","0"),ye.on("tick",c)):(ne.style("opacity","1"),ft===!0?ye.on("tick",d):ye.on("tick",p)),ye.start()):(ye.stop(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),n.setErrorMode()),De.options().clearMetaObject(),De.options().clearGeneralMetaObject(),De.options().editSidebar().clearMetaObjectValue(),void 0!==Te.data()){var a=Te.data().header;if(a){if(a.iri&&De.options().addOrUpdateGeneralObjectEntry("iri",a.iri),a.title&&De.options().addOrUpdateGeneralObjectEntry("title",a.title),a.author&&De.options().addOrUpdateGeneralObjectEntry("author",a.author),a.version&&De.options().addOrUpdateGeneralObjectEntry("version",a.version),a.description&&De.options().addOrUpdateGeneralObjectEntry("description",a.description),a.prefixList){var i=a.prefixList;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];De.options().addPrefix(s,l)}}if(a.other){var u=a.other;for(var f in u)if(u.hasOwnProperty(f)){var h=u[f];h.hasOwnProperty("identifier")&&h.hasOwnProperty("value")&&De.options().addOrUpdateMetaObjectEntry(h.identfier,h.value)}}}}var v=r.clone(ge);Te.filterModules().forEach(function(e){v=P(e,v,!0)}),w(ge),Re.parseSettings(),qe=Re.settingsImported(),We=!0,Re.settingsImportGraphZoomAndTranslation()===!0&&(We=!1),De.options().searchMenu().requestDictionaryUpdate(),De.options().editSidebar().updateGeneralOntologyInfo(),De.options().editSidebar().updatePrefixUi(),De.options().editSidebar().updateElementWidth()}function C(){he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function k(){var e=Te.literalFilter().enabled();De.executeEmptyLiteralFilter(),Te.literalFilter().enabled(e);var t=r.clone(ge);Te.filterModules().forEach(function(e){t=P(e,t)}),Te.focuserModule().handle(void 0,!0),pe=t.nodes,ve=t.properties,he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function P(e,t,n){return he=a.createLinks(t.properties),_(t.nodes,he),n&&e.initialize&&e.initialize(t.nodes,t.properties),e.filter(t.nodes,t.properties),{nodes:e.filteredNodes(),properties:e.filteredProperties()}}function _(e,t){for(var n=0,r=e.length;n0)for(var e=ye.nodes(),t=0;tr||f<0||f>o){p<0&&f<0?(v=0,g=0):p>0&&pr&&f<0?(v=r,g=0):p>r&&f>0&&fr&&f>o?(v=r,g=o):p>0&&po?(v=p,g=o):p<0&&f>o?(v=0,g=o):p<0&&f>0&&f2500&&(u=2500),ne.attr("transform",N(a,n,r)).transition().duration(u).attrTween("transform",function(){return function(e){return N(l(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S()})}function H(e,t,n,r){var o,a,i=r[0];return i?(o=(e-n[0])/i,a=(t-n[1])/i):(o=(e-n[0])/r,a=(t-n[1])/r),{x:o,y:a}}function B(e,t){var n=De.options().width(),r=De.options().height(),o=T(e.x,e.y,Ve,Be),a=o.x,i=o.y,s=!(a<0||a>n||i<0||i>r);return s}function W(){Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),wt.hideDragger(!0),Ee&&Ee.classed("hidden",!0),xe&&xe.classed("hidden",!0),rt&&rt.pinned()===!1&&(rt.locked(De.paused()),rt.frozen(De.paused())),ot&&ot.pinned()===!1&&(ot.locked(De.paused()),ot.frozen(De.paused()))}function z(e){return t.map(e.values(),function(e){return(new e).type().toLowerCase()})}function V(e){var n,r,o=!0,a=t.select("#defaultClass").node().title;r=xt.get(a.toLowerCase()),n=new r(De);var i=!1;"owl:Thing"===a?n.label("Thing"):(n.label("NewClass"),i=!0),n.x=e.x,n.y=e.y,n.px=n.x,n.py=n.y,n.id("Class"+st++),n.baseIri(t.select("#iriEditor").node().value),n.iri(n.baseIri()+n.id()),q(n,o),Te.focuserModule().handle(n,!0),n.frozen(De.paused()),n.locked(De.paused()),n.enableEditing(i)}function q(e){ge.nodes.push(e),pe.indexOf(e)===-1&&pe.push(e),w(ge),De.getUpdateDictionary(),De.fastUpdate()}function U(e,n,r){var o=t.select("#defaultProperty").node().title;if(De.sanityCheckProperty(e,n,o)===!1)return!1;var a=Et.get(o.toLowerCase()),i=new a(De);if(i.id("objectProperty"+it++),i.domain(e),i.range(n),i.label("newObjectProperty"),i.baseIri(t.select("#iriEditor").node().value),i.iri(i.baseIri()+i.id()),De.propertyCheckExistenceChecker(i,e,n)===!1)return!1;var s=!1;"owl:objectProperty"===o&&(s=!0);var l=.49*(e.x+n.x),u=.49*(e.y+n.y);if(e===n){var c=r[0]-e.x,d=r[1]-e.y,p=Math.sqrt(c*c+d*d),f=c/p,h=d/p;isNaN(p)&&(f=0,h=-1);var v=2*e.actualRadius()+50;l=e.x+v*f,u=e.y+v*h}e.addProperty(i),n.addProperty(i),ge.properties.push(i),ve.indexOf(i)===-1&&ve.push(i),De.fastUpdate(),i.labelObject().x=l,i.labelObject().px=l,i.labelObject().y=u,i.labelObject().py=u,i.frozen(De.paused()),i.locked(De.paused()),e.frozen(De.paused()),e.locked(De.paused()),n.frozen(De.paused()),n.locked(De.paused()),w(ge),De.getUpdateDictionary(),Te.focuserModule().handle(i),De.activateHoverElementsForProperties(!0,i,!1,Ke),i.labelObject().increasedLoopAngle=!0,i.enableEditing(s)}function G(){var e=t.event.timeStamp,n=1;return t.event&&t.event.touches&&t.event.touches.length&&(n=t.event.touches.length),e-be<300&&1===n&&(t.event.stopPropagation(),lt===!0)?(t.event.preventDefault(),t.event.stopPropagation(),be=e,!0):(be=e,!1)}function Z(){pt=!0;var e=t.event.timeStamp;return e-be<300&&1===t.event.touches.length?(t.event.stopPropagation(),void(lt===!0?(t.event.preventDefault(),t.event.stopPropagation(),Me.translate(Ve),Me.scale(Be),De.modified_dblTouchFunction()):(pt=!1,et&&et()))):(pt=!1,be=e,void(et&&et()))}function $(e){if(e!==!0){if(rt){if(rt.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&rt.editingTextElement===!1&&(rt.frozen(!1),rt.locked(!1))},1e3)}if(ot){if(ot.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),ot&&ot.focused()===!0&&De.options().drawPropertyDraggerOnHover()===!0&&(ot.labelObject().increasedLoopAngle=!1,p()),ot&&ot.pinned()===!1&&De.paused()===!1&&ot.editingTextElement===!1&&(ot.frozen(!1),ot.locked(!1))},1e3)}}}function X(){wt.nodeElement.classed("classDraggerNodeHovered",!0),wt.nodeElement.classed("classDraggerNode",!1),J()}function Y(){wt.nodeElement.classed("classDraggerNodeHovered",!1),wt.nodeElement.classed("classDraggerNode",!0),K()}function J(e){e!==!0&&clearTimeout(Oe)}function K(e){if(rt){if(De.ignoreOtherHoverEvents()===!0||e===!0||rt.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&(rt.frozen(!1),rt.locked(!1)))},1e3)}if(ot){if(De.ignoreOtherHoverEvents()===!0||e===!0||ot.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),ot&&ot.pinned()===!1&&De.paused()===!1&&(ot.frozen(!1),ot.locked(!1)))},1e3)}}function Q(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x-o,n=e.y+a,Ee.attr("transform","translate("+t+","+n+")")}}function ee(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x+o,n=e.y-a}else t=e.x+.5*e.width()+6,n=e.y-.5*e.height()-6;xe.attr("transform","translate("+t+","+n+")")}function te(e,t){if(e&&e.labelElement()){var n=[e.labelObject().x,e.labelObject().y],r=parseFloat(e.getShapeElement().attr("width")),o=parseFloat(e.getShapeElement().attr("height")),a=n[0]+.5*r+6,i=n[1]-.5*o-6;"translate(0,15)"===e.labelElement().attr("transform")&&(i+=15),"translate(0,-15)"===e.labelElement().attr("transform")&&(i-=15),xe.attr("transform","translate("+a+","+i+")")}else xe.classed("hidden",!0)}var ne,re,oe,ae,ie,se,le,ue,ce,de,pe,fe,he,ve,ge,ye,me,be,xe,Ee,we,Oe,Ce,ke,Pe,_e,je,Me,De={},Le=20,Ae=10,Se=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal"),Te=n(64)(),Re=n(65)(De),Ie="default",Ne=!1,Fe=!0,He=!1,Be=1,We=!1,ze=!1,Ve=[0,0],qe=!1,Ue=[],Ge=[],Ze=[],$e=0,Xe=1,Ye=.8,Je=-1,Ke=!1,Qe=null,et=null,tt=null,nt=[],rt=null,ot=null,at=!1,it=0,st=0,lt=!0,ut=t.select("#FPS_Statistics"),ct=!1,dt=!1,pt=!1,ft=!1,ht=!1,vt=!1,gt=!1,yt=!0,mt=!1,bt=!1,xt=z(s),Et=z(l),wt=n(68)(De),Ot=n(69)(De),Ct=n(70)(De),kt=n(71)(De);De.math=function(){return o},De.isEditorMode=function(){return lt},De.getGlobalDOF=function(){return Je},De.setGlobalDOF=function(e){Je=e},De.updateZoomSliderValueFromOutside=function(){De.options().zoomSlider().updateZoomSliderValue(Be)},De.setDefaultZoom=function(e){Xe=e,De.reset(),De.options().zoomSlider().updateZoomSliderValue(Xe)},De.setTargetZoom=function(e){Ye=e},De.graphOptions=function(){return Te},De.scaleFactor=function(){return Be},De.translation=function(){return Ve},De.graphNodeElements=function(){return se},De.graphLabelElements=function(){return fe},De.graphLinkElements=function(){return he},De.setSliderZoom=function(e){var n=.5*De.options().width(),r=.5*De.options().height(),o=H(n,r,Ve,Be),a=[o.x,o.y,De.options().height()/Be],i=[o.x,o.y,De.options().height()/e],s=t.interpolateZoom(a,i);ne.attr("transform",N(a,n,r)).transition().duration(1).attrTween("transform",function(){return function(e){return N(s(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be)})},De.setZoom=function(e){Me.scale(e)},De.setTranslation=function(e){Me.translate([e[0],e[1]])},De.options=function(){return Te},De.getUpdateDictionary=function(){return Re.getDictionary()},De.language=function(e){return arguments.length?(Ie!==e&&(Ie=e||"default",m(),p(),De.options().searchMenu().requestDictionaryUpdate(),De.resetSearchHighlight()),De):Ie},De.lazyRefresh=function(){m(),p()},De.adjustingGraphSize=function(e){mt=e},De.showReloadButtonAfterLayoutOptimization=function(e){bt=e},De.showEditorHintIfNeeded=function(){ht===!1&<===!0&&(ht=!0,De.options().warningModule().showEditorHint())},De.setForceTickFunctionWithFPS=function(){ft=!0,ye&&ct===!0&&ye.on("tick",d)},De.setDefaultForceTickFunction=function(){ft=!1,ye&&ct===!0&&ye.on("tick",p)},De.updatePropertyDraggerElements=function(e){"owl:DatatypeProperty"!==e.type()?(kt.setParentProperty(e),Ot.setParentProperty(e),Ot.hideDragger(!1),Ot.addMouseEvents(),Ct.setParentProperty(e),Ct.hideDragger(!1),Ct.addMouseEvents()):(Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0))},De.getUnfilteredData=function(){return ge},De.getClassDataForTtlExport=function(){for(var e=ge.nodes,t=[],n=0;nn&&(o=n);var a=.5*De.options().width(),i=.5*De.options().height(),s=H(a,i,Ve,Be),l=[s.x,s.y,De.options().height()/Be],u=[s.x,s.y,De.options().height()/o],c=t.interpolateZoom(l,u);ne.attr("transform",N(l,a,i)).transition().duration(250).attrTween("transform",function(){return function(e){return N(c(e),a,i)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S(),Te.zoomSlider().updateZoomSliderValue(Be)})};var Pt=null;De.clearAllGraphData=function(){Pt=De.graphNodeElements()&&De.graphNodeElements().length>0?De.options().exportMenu().createJSON_exportObject():null,ye.stop(),ge&&(ge.nodes=[],ge.properties=[])},De.getCachedJsonObj=function(){return Pt},De.clearGraphData=function(){ye.stop();var e=De.options().sidebar();e&&e.clearOntologyInformation(),ne&&g()},De.updateProgressBarMode=function(){var e=De.options().loadingModule(),t=e.getProgressBarMode();switch(t){case 0:e.setErrorMode();break;case 1:e.setBusyMode();break;case 2:e.setPercentMode();break;default:e.setPercentMode()}},De.setFilterWarning=function(e){gt=e},De.handleOnLoadingError=function(){ye.stop(),De.clearGraphData(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").classed("busyProgressBar",!1),De.options().loadingModule().setErrorMode(),De.options().loadingModule().showErrorDetailsMessage()},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0){if(ze===!0)return;var e=ye.nodes()[Ue[$e]];$e++,$e%=Ue.length,e.id&&e.foreground(),e.property&&e.property().foreground(),F(e)}},De.resetSearchHighlight=function(){Ue=[],Ge=[];var e,t=ge.nodes,n=ge.properties;for(e=0;e0?(t.select("#locateSearchResult").classed("highlighted",!0),t.select("#locateSearchResult").node().title="Locate search term"):(t.select("#locateSearchResult").classed("highlighted",!1),t.select("#locateSearchResult").node().title="Nothing to locate")},De.highLightNodes=function(e){if(0!==e.length){Ue=[],Ge=e;for(var n=[],r=0;rMe.scaleExtent()[1]&&(h=Me.scaleExtent()[1]),hMe.scaleExtent()[1]&&(g=Me.scaleExtent()[1]),g2500&&(w=2500),ne.attr("transform",N(b,f,h)).transition().duration(w).attrTween("transform",function(){return function(t){if(e){var n=_t(),r=n[0](t);return N(r,f,h)}return N(E(t),f,h)}}).each("end",function(){e||(ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be))})},De.isADraggerActive=function(){return wt.mouseButtonPressed===!0||Ct.mouseButtonPressed===!0||Ot.mouseButtonPressed===!0},De.changeNodeType=function(e){var n=t.select("#typeEditor").node().value;if(De.classesSanityCheck(e,n)===!1)return void De.options().editSidebar().updateSelectionInformation(e);var r=xt.get(n.toLowerCase()),o=new r(De);if(o.x=e.x,o.y=e.y,o.px=e.x,o.py=e.y,o.id(e.id()),o.copyInformation(e),"owl:Thing"===n?o.label("Thing"):i.isDatatype(e)===!1&&(void 0!==e.backupLabel()?o.label(e.backupLabel()):void 0!==o.backupLabel()?o.label(o.backupLabel()):o.label("NewClass")),"rdfs:Datatype"===n)if("undefined"===o.dType())o.label("undefined");else{var a=o.dType().split(":")[1];o.label(a)}var s;for(s=0;sa?null:"rect"===r.renderType()?null:r===rt&&o<=rt.actualRadius()?r:r===rt&&o>rt.actualRadius()?null:r}return o>r.actualRadius()+30?null:r},De.genericPropertySanityCheck=function(e,t,n,r,o){return e===t&&"rdfs:subClassOf"===n?(De.options().warningModule().showWarning(r,"rdfs:subClassOf can not be created as loops (domain == range)",o,1,!1),!1):e===t&&"owl:disjointWith"===n?(De.options().warningModule().showWarning(r,"owl:disjointWith can not be created as loops (domain == range)",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:someValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===t.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not be connected to owl:Thing",o,1,!1),!1):"owl:Thing"!==t.type()||"owl:someValuesFrom"!==n||(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not be connected to owl:Thing",o,1,!1),!1)},De.checkIfIriClassAlreadyExist=function(e){for(var t=ge.nodes,n=0;n2){var s="You are about to delete 1 class and "+n.length+" properties";0!==o&&(s="You are about to delete 1 class, "+o+" datatypes and "+n.length+" properties"),De.options().warningModule().responseWarning("Removing elements",s,"Awaiting response!",De.removeNodesViaResponse,[r,n],!1)}else{for(a=0;a1&&(Te.literalFilter().filter(ge.nodes,ge.properties),ge.nodes=Te.literalFilter().filteredNodes(),ge.properties=Te.literalFilter().filteredProperties())},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0&&n(l)?t>1?x(l,t-1,n,r,o):a(o,l):r||(o[o.length]=l)}return o}function E(e,t){return e&&$t(e,t,dn)}function w(e,t){return b(t,function(t){return Te(e[t])})}function O(e){return te(e)}function C(e,t){return e>t}function k(e){return Ne(e)&&O(e)==yt}function P(e,t,n,r,o){return e===t||(null==e||null==t||!Ne(e)&&!Ne(t)?e!==e&&t!==t:_(e,t,n,r,P,o))}function _(e,t,n,r,o,a){var i=nn(e),s=nn(t),l=i?ht:O(e),u=s?ht:O(t);l=l==ft?wt:l,u=u==ft?wt:u;var c=l==wt,d=u==wt,p=l==u;a||(a=[]);var f=Jt(a,function(t){return t[0]==e}),h=Jt(a,function(e){return e[0]==t});if(f&&h)return f[1]==t;if(a.push([e,t]),a.push([t,e]),p&&!c){var v=i?Z(e,t,n,r,o,a):$(e,t,l,n,r,o,a);return a.pop(),v}if(!(n&st)){var g=c&&Nt.call(e,"__wrapped__"),y=d&&Nt.call(t,"__wrapped__");if(g||y){var m=g?e.value():e,b=y?t.value():t,v=o(m,b,n,r,a);return a.pop(),v}}if(!p)return!1;var v=X(e,t,n,r,o,a);return a.pop(),v}function j(e){return Ne(e)&&O(e)==Ct}function M(e){return"function"==typeof e?e:null==e?Ye:("object"==typeof e?A:s)(e)}function D(e,t){return eo?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++rt||a&&i&&l&&!s&&!u||r&&i&&l||!n&&l||!o)return 1;if(!r&&!a&&!u&&e1?n[o-1]:ot;for(a=e.length>3&&"function"==typeof a?(o--,a):ot,t=Object(t);++r-1?o[a?t[i]:i]:ot}}function G(e,t,n,r){function o(){for(var t=-1,s=arguments.length,l=-1,u=r.length,c=Array(u+s),d=this&&this!==At&&this instanceof o?i:e;++ls))return!1;for(var u=-1,c=!0,d=n<?[]:ot;++u-1&&e%1==0&&e0&&(n=t.apply(this,arguments)),e<=1&&(t=ot),n}}function ke(e){if("function"!=typeof e)throw new TypeError(it);return function(){var t=arguments;return!e.apply(this,t)}}function Pe(e){return Ce(2,e)}function _e(e){return Ie(e)?nn(e)?I(e):B(e,qt(e)):e}function je(e,t){return e===t||e!==e&&t!==t}function Me(e){return null!=e&&Re(e.length)&&!Te(e)}function De(e){return e===!0||e===!1||Ne(e)&&O(e)==gt}function Le(e){return Me(e)&&(nn(e)||We(e)||Te(e.splice)||tn(e))?!e.length:!qt(e).length}function Ae(e,t){return P(e,t)}function Se(e){return"number"==typeof e&&Vt(e)}function Te(e){if(!Ie(e))return!1;var t=O(e);return t==bt||t==xt||t==vt||t==Ot}function Re(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=pt}function Ie(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ne(e){return null!=e&&"object"==typeof e}function Fe(e){return Be(e)&&e!=+e}function He(e){return null===e}function Be(e){return"number"==typeof e||Ne(e)&&O(e)==Et}function We(e){return"string"==typeof e||!nn(e)&&Ne(e)&&O(e)==kt}function ze(e){return e===ot}function Ve(e){return Me(e)?e.length?I(e):[]:$e(e)}function qe(e){return"string"==typeof e?e:null==e?"":e+""}function Ue(e,t){var n=Gt(e);return null==t?n:ln(n,t)}function Ge(e,t){return null!=e&&Nt.call(e,t)}function Ze(e,t,n){var r=null==e?ot:e[t];return r===ot&&(r=n),Te(r)?r.call(e):r}function $e(e){return null==e?[]:c(e,dn(e))}function Xe(e){return e=qe(e),e&&_t.test(e)?e.replace(Pt,Tt):e}function Ye(e){return e}function Je(e){return A(ln({},e))}function Ke(e,t,n){var r=dn(t),o=w(t,r);null!=n||Ie(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=w(t,dn(t)));var i=!(Ie(n)&&"chain"in n&&!n.chain),s=Te(e);return Zt(o,function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=I(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,a([this.value()],arguments))})}),e}function Qe(){return At._===this&&(At._=Bt),this}function et(){}function tt(e){var t=++Ft;return qe(e)+t}function nt(e){return e&&e.length?m(e,Ye,C):ot}function rt(e){return e&&e.length?m(e,Ye,D):ot}var ot,at="4.17.11",it="Expected a function",st=1,lt=2,ut=1,ct=32,dt=1/0,pt=9007199254740991,ft="[object Arguments]",ht="[object Array]",vt="[object AsyncFunction]",gt="[object Boolean]",yt="[object Date]",mt="[object Error]",bt="[object Function]",xt="[object GeneratorFunction]",Et="[object Number]",wt="[object Object]",Ot="[object Proxy]",Ct="[object RegExp]",kt="[object String]",Pt=/[&<>"']/g,_t=RegExp(Pt.source),jt=/^(?:0|[1-9]\d*)$/,Mt={"&":"&","<":"<",">":">",'"':""","'":"'"},Dt="object"==typeof e&&e&&e.Object===Object&&e,Lt="object"==typeof self&&self&&self.Object===Object&&self,At=Dt||Lt||Function("return this")(),St="object"==typeof t&&t&&!t.nodeType&&t,Tt=(St&&"object"==typeof o&&o&&!o.nodeType&&o,l(Mt)),Rt=Array.prototype,It=Object.prototype,Nt=It.hasOwnProperty,Ft=0,Ht=It.toString,Bt=At._,Wt=Object.create,zt=It.propertyIsEnumerable,Vt=At.isFinite,qt=d(Object.keys,Object),Ut=Math.max,Gt=function(){function e(){}return function(t){if(!Ie(t))return{};if(Wt)return Wt(t);e.prototype=t;var n=new e;return e.prototype=ot,n}}();f.prototype=Gt(p.prototype),f.prototype.constructor=f;var Zt=z(E),$t=V(),Xt=et,Yt=Ye,Jt=U(ae),Kt=T(function(e,t,n){return G(e,ut|ct,t,n)}),Qt=T(function(e,t){return g(e,1,t)}),en=T(function(e,t,n){return g(e,sn(t)||0,n)}),tn=Xt(function(){return arguments}())?Xt:function(e){return Ne(e)&&Nt.call(e,"callee")&&!zt.call(e,"callee")},nn=Array.isArray,rn=k,on=j,an=Number,sn=Number,ln=W(function(e,t){B(t,qt(t),e)}),un=W(function(e,t){B(t,ee(t),e)}),cn=T(function(e,t){e=Object(e);var n=-1,r=t.length,o=r>2?t[2]:ot;for(o&&Q(t[0],t[1],o)&&(r=1);++n=0){e.visualAttributes().push(o);break}}function n(e){var t,n,r;for(t=0,n=x.length;t=0&&e.indications().push(r)}function r(e){var t,n,r;for(t=0,n=E.length;t=0&&e.indications().push(r)}var o={},a="anonymous",i="datatype",s="deprecated",l="external",u="object",c="rdf",d="asymmetric",p="functional",f="inverse functional",h="irreflexive",v="key",g="reflexive",y="symmetric",m="transitive",b=[[s,i,u,c],[a]],x=[s,l],E=[d,p,f,h,v,g,y,m];return o.parseClassAttributes=function(t){t.attributes()instanceof Array&&(e(t),n(t))},o.parsePropertyAttributes=function(t){t.attributes()instanceof Array&&(e(t),r(t))},function(){return o}}()},function(e,t,n){(function(t){function r(e){return function(t){return e[t]}}function o(e,n){var r=a(e,n),o=t.set(r.keys());if(o.remove(v),o.remove(g),1===o.size()){var i=o.values()[0],s=r.get(i);if(1===s.length)return s[0]}}function a(e,n){var r=t.map();return e.forEach(function(e){if(void 0!==e){var t=n[e.range()],o=t.type();r.has(o)||r.set(o,[]),r.get(o).push(t)}}),r}function i(e,t){var n;return n=p.isDatatypeProperty(e)?new d(t):new c(t),n.id(h+e.id()),n}function s(e,t,n,r){var o=[];return e.forEach(function(e){if(void 0!==e&&void 0!==t){var a=e.range();e.range(t.id()),l(a,n)||o.push(a),r.add(e.id())}}),o}function l(e,t){for(var n=0;n-1?(p=void 0,d.classed("deprecatedproperty",!0)):d.classed("deprecatedproperty",!1),d.style("fill",p);var f=e.equivalentsString(),h=f?",":"",v=new r(t.rootNodeLayer,p);v.addText(e.labelForCurrentLanguage(),"",h),v.addEquivalents(f),v.addSubText(e.indicationString());var g=.5*(t.s_x+t.e_x),y=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+g+","+y+")"),t.rootNodeLayer.classed("hidden",!0),t.pathElement.classed("hidden",!0)},t.hideClone=function(e){t.rootNodeLayer&&t.rootNodeLayer.classed("hidden",e),t.pathElement&&t.pathElement.classed("hidden",e)},t.hideParentProperty=function(e){var n=t.parent.labelObject();n&&("translate(0,15)"!==t.parent.labelElement().attr("transform")&&"translate(0,-15)"!==t.parent.labelElement().attr("transform")||t.parent.inverse().hide(e)),t.parent.hide(e)},t.id=function(e){return arguments.length?void(t.nodeId=e):t.nodeId},t.svgPathLayer=function(e){t.pathLayer=e.append("g")},t.svgRoot=function(e){return arguments.length?(t.rootElement=e,void(t.rootNodeLayer=t.rootElement.append("g"))):t.rootElement},t.drawClone=function(){t.pathElement=t.pathLayer.append("line"),t.pathElement.attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",0)},t.updateElement=function(){t.pathElement.attr("x1",t.e_x).attr("y1",t.e_y).attr("x2",t.s_x).attr("y2",t.s_y);var e=.5*(t.s_x+t.e_x),n=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+e+","+n+")")},t.setInitialPosition=function(){var e=t.parent.labelObject();if(e.linkRangeIntersection&&e.linkDomainIntersection){var n=e.linkRangeIntersection,r=e.linkDomainIntersection;t.e_x=r.x,t.e_y=r.y,t.s_x=n.x,t.s_y=n.y}t.updateElement()},t.setPositionDomain=function(e,n){var r=t.parent.range().x,i=t.parent.range().y;if(o.isDatatype(t.parent.range())===!0){var s=a.calculateIntersection({x:e,y:n},t.parent.range(),0);t.s_x=s.x,t.s_y=s.y}else{var l=r-e,u=i-n,c=Math.sqrt(l*l+u*u),d=l/c,p=u/c;t.s_x=r-d*t.parent.range().actualRadius(),t.s_y=i-p*t.parent.range().actualRadius()}t.e_x=e,t.e_y=n,t.updateElement()},t.setPosition=function(e,n){t.s_x=e,t.s_y=n;var r=t.parent.domain().x,o=t.parent.domain().y,a=e-r,i=n-o,s=Math.sqrt(a*a+i*i),l=a/s,u=i/s;t.e_x=r+l*t.parent.domain().actualRadius(),t.e_y=o+u*t.parent.domain().actualRadius(),t.updateElement()},t}},function(e,t){e.exports=function(e){function t(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function n(t){var n={base:"",resource:""};if(void 0===t)return n={base:"ERROR",resource:"NOT FOUND"};var r,o;return t.indexOf("#")>-1?(r=t.substring(t.lastIndexOf("#")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r):(r=t.substring(t.lastIndexOf("/")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r),n}var r,o={};return o.updatePrefixModel=function(){r=e.options().prefixList()},o.validURL=function(e){return t(e)},o.getPrefixRepresentationForFullURI=function(e){o.updatePrefixModel();var t=n(e);for(var a in r)if(r.hasOwnProperty(a)&&r[a]===t.base)return a+":"+t.resource;return":"===t.base?":"+t.resource:e},o}},function(e,t,n){(function(t){var r=n(58);e.exports=function(){function e(e){return e.filter(function(e){return!(e.visualAttributes().indexOf("deprecated")>=0)&&e.attributes().indexOf("external")>=0})}function n(e){for(var n=o(e),i=n.entries(),s=t.scale.linear().domain([0,i.length-1]).range(r.find(p,{type:v}).range).interpolate(t.interpolateHsl),l=0;l=0&&s.splice(n,1)}}),{nodes:s,properties:l}},function(){return t}}()},function(e,t,n){var r=n(46);e.exports=function(){function e(){var e,t,o,a=[];for(e=0,t=n.length;e=0?n<=t?n:(e.getGraphObject().setGlobalDOF(t),t):e.getDefaultDegreeValue()}function a(e){for(var t=0,n=0,r=e.length;n=e}}var c,d,p,f,h,v,g,y,m={},b=!0,x=50;return m.initialize=function(r,o){g=-1;var i=a(r);h instanceof Function&&h(i),e.setDefaultDegreeValue(t(r,o,i));var s=n(i);y instanceof Function?(y(s),s>0&&(e.highlightForDegreeSlider(!0),e.getGraphObject().setFilterWarning(!0))):console.error("No degree setter function set.")},m.filter=function(e,t){c=e,d=t,this.enabled()&&(v instanceof Function?s(v()):console.error("No degree query function set.")),p=c,f=d,0===p.length&&(y(0),p=e,f=t),g=v()},m.setMaxDegreeSetter=function(e){h=e},m.setDegreeGetter=function(e){v=e},m.setDegreeSetter=function(e){y=e},m.enabled=function(e){return arguments.length?(b=e,m):b},m.filteredNodes=function(){return p},m.filteredProperties=function(){return f},m}},function(e,t){e.exports=function(e){var t,n,r,o,a=!0,i={},s=a;return i.filter=function(a,i){t=a,n=i,e.options().scaleNodesByIndividuals(s),r=t,o=n},i.enabled=function(e){return arguments.length?(s=e,i):s},i.reset=function(){s=a},i.filteredNodes=function(){return r},i.filteredProperties=function(){return o},i}},function(e,t,n){var r=n(63)();e.exports=function(){function e(){i=i.filter(t),a=a.filter(n)}function t(e){return!r.isObjectProperty(e)}function n(e){var t=!r.isThing(e),n=o(e,i);return t||n}function o(e,n){for(var r=0;ro?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e,t){var n=typeof e;return t=null==t?r:t,!!t&&("number"==n||"symbol"!=n&&o.test(e))&&e>-1&&e%1==0&&e0&&n(c)?t>1?r(c,t-1,n,i,s):o(s,c):i||(s[s.length]=c)}return s}var o=n(107),a=n(109);e.exports=r},function(e,t,n){function r(e){return i(e)||a(e)||!!(s&&e&&e[s])}var o=n(92),a=n(110),i=n(112),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){var r=n(111),o=n(104),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){function r(e){return a(e)&&o(e)==i}var o=n(91),a=n(104),i="[object Arguments]";e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=c&&(p=u,f=!1,t=new o(t));e:for(;++d-1}var o=n(135);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(135);e.exports=r},function(e,t,n){var r=n(122),o=n(93),a=r(o,"Map");e.exports=a},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(142);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(141);e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return!!n&&o(e,t,0)>-1}var o=n(149);e.exports=r},function(e,t,n){function r(e,t,n){return t===t?i(e,t,n):o(e,a,n)}var o=n(150),a=n(151),i=n(152);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,a=Date.now;e.exports=n},function(e,t,n){function r(e){return a(e)&&o(e)}var o=n(89),a=n(104);e.exports=r},function(e,t,n){var r=n(115),o=n(108),a=n(168),i=n(157),s=n(166),l=n(228),u=i(function(e,t){var n=l(t);return s(n)&&(n=void 0),s(e)?r(e,o(t,1,s,!0),a(n,2)):[]});e.exports=u},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?a(e[0],e[1]):o(e):l(e)}var o=n(169),a=n(211),i=n(158),s=n(112),l=n(225);e.exports=r},function(e,t,n){function r(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(170),a=n(208),i=n(210);e.exports=r},function(e,t,n){function r(e,t,n,r){var l=n.length,u=l,c=!r;if(null==e)return!u;for(e=Object(e);l--;){var d=n[l];if(c&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++lp))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var v=-1,g=!0,y=n&l?new o:void 0;for(c.set(e,t),c.set(t,e);++vi?0:i+n),r=void 0===r||r>i?i:o(r),r<0&&(r+=i),r=n>r?0:a(r);n=t?e:t)),e}e.exports=n},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var l=null==n?0:i(n);return l<0&&(l=s(r+l,0)),o(e,a(t,3),l)}var o=n(150),a=n(168),i=n(100),s=Math.max;e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var u=r-1;return void 0!==n&&(u=i(n),u=n<0?s(r+u,0):l(u,r-1)),o(e,a(t,3),u,!0)}var o=n(150),a=n(168),i=n(100),s=Math.max,l=Math.min;e.exports=r},function(e,t,n){e.exports=n(242)},function(e,t){function n(e){return e&&e.length?e[0]:void 0}e.exports=n},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,1):[]}var o=n(108);e.exports=r},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,a):[]}var o=n(108),a=1/0;e.exports=r},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return n?(t=void 0===t?1:a(t),o(e,t)):[]}var o=n(108),a=n(100);e.exports=r},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r={};++t=120&&y.length>=120)?new o(f&&y):void 0}y=e[0];var m=-1,b=h[0];e:for(;++m-1;)f!==e&&c.call(f,h,1),c.call(e,h,1);return e}var o=n(154),a=n(149),i=n(262),s=n(155),l=n(113),u=Array.prototype,c=u.splice;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=n-1,a=e.length;++ot||i&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!a)return 1;if(!r&&!i&&!c&&e>>1,c=e[u];null!==c&&!i(c)&&(n?c<=t:c>>1;e.exports=r},function(e,t,n){function r(e,t,n,r){t=n(t);for(var a=0,u=null==e?0:e.length,c=t!==t,d=null===t,p=o(t),f=void 0===t;a=c){var g=t?null:l(e);if(g)return u(g);f=!1,d=s,v=new o}else v=t?[]:h;e:for(;++r1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,o(e,n)});e.exports=a},function(e,t,n){(function(t){e.exports=function(e){var n,r={};return r.handle=function(r){if(!t.event.defaultPrevented){var o=!0;n===r&&(o=!1),e instanceof Function&&e(o?r:void 0),n=o?r:void 0}},r.reset=function(){n&&(e(void 0),n=void 0)},r}}).call(t,n(6))},function(e,t,n){var r=n(20);e.exports=function(){function e(){var e=c.filterNodesAndTidy(o,a,t);o=e.nodes,a=e.properties}function t(e){return!(e instanceof r)}var o,a,i,s,l={},u=!1,c=n(76)();return l.filter=function(t,n){o=t,a=n,this.enabled()&&e(),i=o,s=a},l.enabled=function(e){return arguments.length?(u=e,l):u},l.filteredNodes=function(){return i},l.filteredProperties=function(){return s},l}},function(e,t,n){(function(t){var r=n(20),o=n(31),a=n(30),i=n(63)();e.exports=function(){function e(){h=0,v=0,g=0,y=0,m=0,b=0,x=0,E=0}function s(e,t){h=e.length;var r,o,a,i=n(62)();for(r=0,o=t.length;r1)return!1}return!0}function i(e,t){var n,r,o,a=[];for(r=0,o=e.length;r + +406 Not Acceptable + + +

    Not Acceptable

    +

    An appropriate representation of the requested resource could not be found on this server.

    + Available variants: + + \ No newline at end of file diff --git a/dist/ontology/OOPSevaluation/evaluation/bootstrap.css b/dist/ontology/OOPSevaluation/evaluation/bootstrap.css new file mode 100644 index 0000000..b17ff4c --- /dev/null +++ b/dist/ontology/OOPSevaluation/evaluation/bootstrap.css @@ -0,0 +1,7155 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +audio, +canvas, +video { + display: inline-block; +} + +audio:not([controls]) { + display: none; + height: 0; +} + +[hidden], +template { + display: none; +} + +html { + font-family: sans-serif; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +body { + margin: 0; +} + +a { + background: transparent; +} + +a:focus { + outline: thin dotted; +} + +a:active, +a:hover { + outline: 0; +} + +h1 { + margin: 0.67em 0; + font-size: 2em; +} + +abbr[title] { + border-bottom: 1px dotted; +} + +b, +strong { + font-weight: bold; +} + +dfn { + font-style: italic; +} + +hr { + height: 0; + -moz-box-sizing: content-box; + box-sizing: content-box; +} + +mark { + color: #000; + background: #ff0; +} + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +pre { + white-space: pre-wrap; +} + +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} + +small { + font-size: 80%; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +img { + border: 0; +} + +svg:not(:root) { + overflow: hidden; +} + +figure { + margin: 0; +} + +fieldset { + padding: 0.35em 0.625em 0.75em; + margin: 0 2px; + border: 1px solid #c0c0c0; +} + +legend { + padding: 0; + border: 0; +} + +button, +input, +select, +textarea { + margin: 0; + font-family: inherit; + font-size: 100%; +} + +button, +input { + line-height: normal; +} + +button, +select { + text-transform: none; +} + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + cursor: pointer; + -webkit-appearance: button; +} + +button[disabled], +html input[disabled] { + cursor: default; +} + +input[type="checkbox"], +input[type="radio"] { + padding: 0; + box-sizing: border-box; +} + +input[type="search"] { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + -webkit-appearance: textfield; +} + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; +} + +textarea { + overflow: auto; + vertical-align: top; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +@media print { + * { + color: #000 !important; + text-shadow: none !important; + background: transparent !important; + box-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + a[href^="javascript:"]:after, + a[href^="#"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + @page { + margin: 2cm .5cm; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + select { + background: #fff !important; + } + .navbar { + display: none; + } + .table td, + .table th { + background-color: #fff !important; + } + .btn > .caret, + .dropup > .btn > .caret { + border-top-color: #000 !important; + } + .label { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #ddd !important; + } +} + +*, +*:before, +*:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +html { + font-size: 62.5%; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +body { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 1.428571429; + color: #333333; + background-color: #ffffff; +} + +input, +button, +select, +textarea { + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +a { + color: #428bca; + text-decoration: none; +} + +a:hover, +a:focus { + color: #2a6496; + text-decoration: underline; +} + +a:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +img { + vertical-align: middle; +} + +.img-responsive { + display: block; + height: auto; + max-width: 100%; +} + +.img-rounded { + border-radius: 6px; +} + +.img-thumbnail { + display: inline-block; + height: auto; + max-width: 100%; + padding: 4px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.img-circle { + border-radius: 50%; +} + +hr { + margin-top: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid #eeeeee; +} + +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} + +h1, +h2, +h3, +h4, +h5, +h6, +.h1, +.h2, +.h3, +.h4, +.h5, +.h6 { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 500; + line-height: 1.1; + color: inherit; +} + +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small, +.h1 small, +.h2 small, +.h3 small, +.h4 small, +.h5 small, +.h6 small, +h1 .small, +h2 .small, +h3 .small, +h4 .small, +h5 .small, +h6 .small, +.h1 .small, +.h2 .small, +.h3 .small, +.h4 .small, +.h5 .small, +.h6 .small { + font-weight: normal; + line-height: 1; + color: #999999; +} + +h1, +h2, +h3 { + margin-top: 20px; + margin-bottom: 10px; +} + +h1 small, +h2 small, +h3 small, +h1 .small, +h2 .small, +h3 .small { + font-size: 65%; +} + +h4, +h5, +h6 { + margin-top: 10px; + margin-bottom: 10px; +} + +h4 small, +h5 small, +h6 small, +h4 .small, +h5 .small, +h6 .small { + font-size: 75%; +} + +h1, +.h1 { + font-size: 36px; +} + +h2, +.h2 { + font-size: 30px; +} + +h3, +.h3 { + font-size: 24px; +} + +h4, +.h4 { + font-size: 18px; +} + +h5, +.h5 { + font-size: 14px; +} + +h6, +.h6 { + font-size: 12px; +} + +p { + margin: 0 0 10px; +} + +.lead { + margin-bottom: 20px; + font-size: 16px; + font-weight: 200; + line-height: 1.4; +} + +@media (min-width: 768px) { + .lead { + font-size: 21px; + } +} + +small, +.small { + font-size: 85%; +} + +cite { + font-style: normal; +} + +.text-muted { + color: #999999; +} + +.text-primary { + color: #428bca; +} + +.text-primary:hover { + color: #3071a9; +} + +.text-warning { + color: #8a6d3b; +} + +.text-warning:hover { + color: #66512c; +} + +.text-danger { + color: #a94442; +} + +.text-danger:hover { + color: #843534; +} + +.text-success { + color: #3c763d; +} + +.text-success:hover { + color: #2b542c; +} + +.text-info { + color: #31708f; +} + +.text-info:hover { + color: #245269; +} + +.text-left { + text-align: left; +} + +.text-right { + text-align: right; +} + +.text-center { + text-align: center; +} + +.page-header { + padding-bottom: 9px; + margin: 40px 0 20px; + border-bottom: 1px solid #eeeeee; +} + +ul, +ol { + margin-top: 0; + margin-bottom: 10px; +} + +ul ul, +ol ul, +ul ol, +ol ol { + margin-bottom: 0; +} + +.list-unstyled { + padding-left: 0; + list-style: none; +} + +.list-inline { + padding-left: 0; + list-style: none; +} + +.list-inline > li { + display: inline-block; + padding-right: 5px; + padding-left: 5px; +} + +.list-inline > li:first-child { + padding-left: 0; +} + +dl { + margin-top: 0; + margin-bottom: 20px; +} + +dt, +dd { + line-height: 1.428571429; +} + +dt { + font-weight: bold; +} + +dd { + margin-left: 0; +} + +@media (min-width: 768px) { + .dl-horizontal dt { + float: left; + width: 160px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; + } + .dl-horizontal dd { + margin-left: 180px; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } +} + +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #999999; +} + +.initialism { + font-size: 90%; + text-transform: uppercase; +} + +blockquote { + padding: 10px 20px; + margin: 0 0 20px; + border-left: 5px solid #eeeeee; +} + +blockquote p { + font-size: 17.5px; + font-weight: 300; + line-height: 1.25; +} + +blockquote p:last-child { + margin-bottom: 0; +} + +blockquote small, +blockquote .small { + display: block; + line-height: 1.428571429; + color: #999999; +} + +blockquote small:before, +blockquote .small:before { + content: '\2014 \00A0'; +} + +blockquote.pull-right { + padding-right: 15px; + padding-left: 0; + border-right: 5px solid #eeeeee; + border-left: 0; +} + +blockquote.pull-right p, +blockquote.pull-right small, +blockquote.pull-right .small { + text-align: right; +} + +blockquote.pull-right small:before, +blockquote.pull-right .small:before { + content: ''; +} + +blockquote.pull-right small:after, +blockquote.pull-right .small:after { + content: '\00A0 \2014'; +} + +blockquote:before, +blockquote:after { + content: ""; +} + +address { + margin-bottom: 20px; + font-style: normal; + line-height: 1.428571429; +} + +code, +kbd, +pre, +samp { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; +} + +code { + padding: 2px 4px; + font-size: 90%; + color: #c7254e; + white-space: nowrap; + background-color: #f9f2f4; + border-radius: 4px; +} + +pre { + display: block; + padding: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 1.428571429; + color: #333333; + word-break: break-all; + word-wrap: break-word; + background-color: #f5f5f5; + border: 1px solid #cccccc; + border-radius: 4px; +} + +pre code { + padding: 0; + font-size: inherit; + color: inherit; + white-space: pre-wrap; + background-color: transparent; + border-radius: 0; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +.container { + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +@media (min-width: 768px) { + .container { + width: 750px; + } +} + +@media (min-width: 992px) { + .container { + width: 970px; + } +} + +@media (min-width: 1200px) { + .container { + width: 1170px; + } +} + +.row { + margin-right: -15px; + margin-left: -15px; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.col-xs-1, +.col-sm-1, +.col-md-1, +.col-lg-1, +.col-xs-2, +.col-sm-2, +.col-md-2, +.col-lg-2, +.col-xs-3, +.col-sm-3, +.col-md-3, +.col-lg-3, +.col-xs-4, +.col-sm-4, +.col-md-4, +.col-lg-4, +.col-xs-5, +.col-sm-5, +.col-md-5, +.col-lg-5, +.col-xs-6, +.col-sm-6, +.col-md-6, +.col-lg-6, +.col-xs-7, +.col-sm-7, +.col-md-7, +.col-lg-7, +.col-xs-8, +.col-sm-8, +.col-md-8, +.col-lg-8, +.col-xs-9, +.col-sm-9, +.col-md-9, +.col-lg-9, +.col-xs-10, +.col-sm-10, +.col-md-10, +.col-lg-10, +.col-xs-11, +.col-sm-11, +.col-md-11, +.col-lg-11, +.col-xs-12, +.col-sm-12, +.col-md-12, +.col-lg-12 { + position: relative; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; +} + +.col-xs-1, +.col-xs-2, +.col-xs-3, +.col-xs-4, +.col-xs-5, +.col-xs-6, +.col-xs-7, +.col-xs-8, +.col-xs-9, +.col-xs-10, +.col-xs-11, +.col-xs-12 { + float: left; +} + +.col-xs-12 { + width: 100%; +} + +.col-xs-11 { + width: 91.66666666666666%; +} + +.col-xs-10 { + width: 83.33333333333334%; +} + +.col-xs-9 { + width: 75%; +} + +.col-xs-8 { + width: 66.66666666666666%; +} + +.col-xs-7 { + width: 58.333333333333336%; +} + +.col-xs-6 { + width: 50%; +} + +.col-xs-5 { + width: 41.66666666666667%; +} + +.col-xs-4 { + width: 33.33333333333333%; +} + +.col-xs-3 { + width: 25%; +} + +.col-xs-2 { + width: 16.666666666666664%; +} + +.col-xs-1 { + width: 8.333333333333332%; +} + +.col-xs-pull-12 { + right: 100%; +} + +.col-xs-pull-11 { + right: 91.66666666666666%; +} + +.col-xs-pull-10 { + right: 83.33333333333334%; +} + +.col-xs-pull-9 { + right: 75%; +} + +.col-xs-pull-8 { + right: 66.66666666666666%; +} + +.col-xs-pull-7 { + right: 58.333333333333336%; +} + +.col-xs-pull-6 { + right: 50%; +} + +.col-xs-pull-5 { + right: 41.66666666666667%; +} + +.col-xs-pull-4 { + right: 33.33333333333333%; +} + +.col-xs-pull-3 { + right: 25%; +} + +.col-xs-pull-2 { + right: 16.666666666666664%; +} + +.col-xs-pull-1 { + right: 8.333333333333332%; +} + +.col-xs-pull-0 { + right: 0; +} + +.col-xs-push-12 { + left: 100%; +} + +.col-xs-push-11 { + left: 91.66666666666666%; +} + +.col-xs-push-10 { + left: 83.33333333333334%; +} + +.col-xs-push-9 { + left: 75%; +} + +.col-xs-push-8 { + left: 66.66666666666666%; +} + +.col-xs-push-7 { + left: 58.333333333333336%; +} + +.col-xs-push-6 { + left: 50%; +} + +.col-xs-push-5 { + left: 41.66666666666667%; +} + +.col-xs-push-4 { + left: 33.33333333333333%; +} + +.col-xs-push-3 { + left: 25%; +} + +.col-xs-push-2 { + left: 16.666666666666664%; +} + +.col-xs-push-1 { + left: 8.333333333333332%; +} + +.col-xs-push-0 { + left: 0; +} + +.col-xs-offset-12 { + margin-left: 100%; +} + +.col-xs-offset-11 { + margin-left: 91.66666666666666%; +} + +.col-xs-offset-10 { + margin-left: 83.33333333333334%; +} + +.col-xs-offset-9 { + margin-left: 75%; +} + +.col-xs-offset-8 { + margin-left: 66.66666666666666%; +} + +.col-xs-offset-7 { + margin-left: 58.333333333333336%; +} + +.col-xs-offset-6 { + margin-left: 50%; +} + +.col-xs-offset-5 { + margin-left: 41.66666666666667%; +} + +.col-xs-offset-4 { + margin-left: 33.33333333333333%; +} + +.col-xs-offset-3 { + margin-left: 25%; +} + +.col-xs-offset-2 { + margin-left: 16.666666666666664%; +} + +.col-xs-offset-1 { + margin-left: 8.333333333333332%; +} + +.col-xs-offset-0 { + margin-left: 0; +} + +@media (min-width: 768px) { + .col-sm-1, + .col-sm-2, + .col-sm-3, + .col-sm-4, + .col-sm-5, + .col-sm-6, + .col-sm-7, + .col-sm-8, + .col-sm-9, + .col-sm-10, + .col-sm-11, + .col-sm-12 { + float: left; + } + .col-sm-12 { + width: 100%; + } + .col-sm-11 { + width: 91.66666666666666%; + } + .col-sm-10 { + width: 83.33333333333334%; + } + .col-sm-9 { + width: 75%; + } + .col-sm-8 { + width: 66.66666666666666%; + } + .col-sm-7 { + width: 58.333333333333336%; + } + .col-sm-6 { + width: 50%; + } + .col-sm-5 { + width: 41.66666666666667%; + } + .col-sm-4 { + width: 33.33333333333333%; + } + .col-sm-3 { + width: 25%; + } + .col-sm-2 { + width: 16.666666666666664%; + } + .col-sm-1 { + width: 8.333333333333332%; + } + .col-sm-pull-12 { + right: 100%; + } + .col-sm-pull-11 { + right: 91.66666666666666%; + } + .col-sm-pull-10 { + right: 83.33333333333334%; + } + .col-sm-pull-9 { + right: 75%; + } + .col-sm-pull-8 { + right: 66.66666666666666%; + } + .col-sm-pull-7 { + right: 58.333333333333336%; + } + .col-sm-pull-6 { + right: 50%; + } + .col-sm-pull-5 { + right: 41.66666666666667%; + } + .col-sm-pull-4 { + right: 33.33333333333333%; + } + .col-sm-pull-3 { + right: 25%; + } + .col-sm-pull-2 { + right: 16.666666666666664%; + } + .col-sm-pull-1 { + right: 8.333333333333332%; + } + .col-sm-pull-0 { + right: 0; + } + .col-sm-push-12 { + left: 100%; + } + .col-sm-push-11 { + left: 91.66666666666666%; + } + .col-sm-push-10 { + left: 83.33333333333334%; + } + .col-sm-push-9 { + left: 75%; + } + .col-sm-push-8 { + left: 66.66666666666666%; + } + .col-sm-push-7 { + left: 58.333333333333336%; + } + .col-sm-push-6 { + left: 50%; + } + .col-sm-push-5 { + left: 41.66666666666667%; + } + .col-sm-push-4 { + left: 33.33333333333333%; + } + .col-sm-push-3 { + left: 25%; + } + .col-sm-push-2 { + left: 16.666666666666664%; + } + .col-sm-push-1 { + left: 8.333333333333332%; + } + .col-sm-push-0 { + left: 0; + } + .col-sm-offset-12 { + margin-left: 100%; + } + .col-sm-offset-11 { + margin-left: 91.66666666666666%; + } + .col-sm-offset-10 { + margin-left: 83.33333333333334%; + } + .col-sm-offset-9 { + margin-left: 75%; + } + .col-sm-offset-8 { + margin-left: 66.66666666666666%; + } + .col-sm-offset-7 { + margin-left: 58.333333333333336%; + } + .col-sm-offset-6 { + margin-left: 50%; + } + .col-sm-offset-5 { + margin-left: 41.66666666666667%; + } + .col-sm-offset-4 { + margin-left: 33.33333333333333%; + } + .col-sm-offset-3 { + margin-left: 25%; + } + .col-sm-offset-2 { + margin-left: 16.666666666666664%; + } + .col-sm-offset-1 { + margin-left: 8.333333333333332%; + } + .col-sm-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 992px) { + .col-md-1, + .col-md-2, + .col-md-3, + .col-md-4, + .col-md-5, + .col-md-6, + .col-md-7, + .col-md-8, + .col-md-9, + .col-md-10, + .col-md-11, + .col-md-12 { + float: left; + } + .col-md-12 { + width: 100%; + } + .col-md-11 { + width: 91.66666666666666%; + } + .col-md-10 { + width: 83.33333333333334%; + } + .col-md-9 { + width: 75%; + } + .col-md-8 { + width: 66.66666666666666%; + } + .col-md-7 { + width: 58.333333333333336%; + } + .col-md-6 { + width: 50%; + } + .col-md-5 { + width: 41.66666666666667%; + } + .col-md-4 { + width: 33.33333333333333%; + } + .col-md-3 { + width: 25%; + } + .col-md-2 { + width: 16.666666666666664%; + } + .col-md-1 { + width: 8.333333333333332%; + } + .col-md-pull-12 { + right: 100%; + } + .col-md-pull-11 { + right: 91.66666666666666%; + } + .col-md-pull-10 { + right: 83.33333333333334%; + } + .col-md-pull-9 { + right: 75%; + } + .col-md-pull-8 { + right: 66.66666666666666%; + } + .col-md-pull-7 { + right: 58.333333333333336%; + } + .col-md-pull-6 { + right: 50%; + } + .col-md-pull-5 { + right: 41.66666666666667%; + } + .col-md-pull-4 { + right: 33.33333333333333%; + } + .col-md-pull-3 { + right: 25%; + } + .col-md-pull-2 { + right: 16.666666666666664%; + } + .col-md-pull-1 { + right: 8.333333333333332%; + } + .col-md-pull-0 { + right: 0; + } + .col-md-push-12 { + left: 100%; + } + .col-md-push-11 { + left: 91.66666666666666%; + } + .col-md-push-10 { + left: 83.33333333333334%; + } + .col-md-push-9 { + left: 75%; + } + .col-md-push-8 { + left: 66.66666666666666%; + } + .col-md-push-7 { + left: 58.333333333333336%; + } + .col-md-push-6 { + left: 50%; + } + .col-md-push-5 { + left: 41.66666666666667%; + } + .col-md-push-4 { + left: 33.33333333333333%; + } + .col-md-push-3 { + left: 25%; + } + .col-md-push-2 { + left: 16.666666666666664%; + } + .col-md-push-1 { + left: 8.333333333333332%; + } + .col-md-push-0 { + left: 0; + } + .col-md-offset-12 { + margin-left: 100%; + } + .col-md-offset-11 { + margin-left: 91.66666666666666%; + } + .col-md-offset-10 { + margin-left: 83.33333333333334%; + } + .col-md-offset-9 { + margin-left: 75%; + } + .col-md-offset-8 { + margin-left: 66.66666666666666%; + } + .col-md-offset-7 { + margin-left: 58.333333333333336%; + } + .col-md-offset-6 { + margin-left: 50%; + } + .col-md-offset-5 { + margin-left: 41.66666666666667%; + } + .col-md-offset-4 { + margin-left: 33.33333333333333%; + } + .col-md-offset-3 { + margin-left: 25%; + } + .col-md-offset-2 { + margin-left: 16.666666666666664%; + } + .col-md-offset-1 { + margin-left: 8.333333333333332%; + } + .col-md-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 1200px) { + .col-lg-1, + .col-lg-2, + .col-lg-3, + .col-lg-4, + .col-lg-5, + .col-lg-6, + .col-lg-7, + .col-lg-8, + .col-lg-9, + .col-lg-10, + .col-lg-11, + .col-lg-12 { + float: left; + } + .col-lg-12 { + width: 100%; + } + .col-lg-11 { + width: 91.66666666666666%; + } + .col-lg-10 { + width: 83.33333333333334%; + } + .col-lg-9 { + width: 75%; + } + .col-lg-8 { + width: 66.66666666666666%; + } + .col-lg-7 { + width: 58.333333333333336%; + } + .col-lg-6 { + width: 50%; + } + .col-lg-5 { + width: 41.66666666666667%; + } + .col-lg-4 { + width: 33.33333333333333%; + } + .col-lg-3 { + width: 25%; + } + .col-lg-2 { + width: 16.666666666666664%; + } + .col-lg-1 { + width: 8.333333333333332%; + } + .col-lg-pull-12 { + right: 100%; + } + .col-lg-pull-11 { + right: 91.66666666666666%; + } + .col-lg-pull-10 { + right: 83.33333333333334%; + } + .col-lg-pull-9 { + right: 75%; + } + .col-lg-pull-8 { + right: 66.66666666666666%; + } + .col-lg-pull-7 { + right: 58.333333333333336%; + } + .col-lg-pull-6 { + right: 50%; + } + .col-lg-pull-5 { + right: 41.66666666666667%; + } + .col-lg-pull-4 { + right: 33.33333333333333%; + } + .col-lg-pull-3 { + right: 25%; + } + .col-lg-pull-2 { + right: 16.666666666666664%; + } + .col-lg-pull-1 { + right: 8.333333333333332%; + } + .col-lg-pull-0 { + right: 0; + } + .col-lg-push-12 { + left: 100%; + } + .col-lg-push-11 { + left: 91.66666666666666%; + } + .col-lg-push-10 { + left: 83.33333333333334%; + } + .col-lg-push-9 { + left: 75%; + } + .col-lg-push-8 { + left: 66.66666666666666%; + } + .col-lg-push-7 { + left: 58.333333333333336%; + } + .col-lg-push-6 { + left: 50%; + } + .col-lg-push-5 { + left: 41.66666666666667%; + } + .col-lg-push-4 { + left: 33.33333333333333%; + } + .col-lg-push-3 { + left: 25%; + } + .col-lg-push-2 { + left: 16.666666666666664%; + } + .col-lg-push-1 { + left: 8.333333333333332%; + } + .col-lg-push-0 { + left: 0; + } + .col-lg-offset-12 { + margin-left: 100%; + } + .col-lg-offset-11 { + margin-left: 91.66666666666666%; + } + .col-lg-offset-10 { + margin-left: 83.33333333333334%; + } + .col-lg-offset-9 { + margin-left: 75%; + } + .col-lg-offset-8 { + margin-left: 66.66666666666666%; + } + .col-lg-offset-7 { + margin-left: 58.333333333333336%; + } + .col-lg-offset-6 { + margin-left: 50%; + } + .col-lg-offset-5 { + margin-left: 41.66666666666667%; + } + .col-lg-offset-4 { + margin-left: 33.33333333333333%; + } + .col-lg-offset-3 { + margin-left: 25%; + } + .col-lg-offset-2 { + margin-left: 16.666666666666664%; + } + .col-lg-offset-1 { + margin-left: 8.333333333333332%; + } + .col-lg-offset-0 { + margin-left: 0; + } +} + +table { + max-width: 100%; + background-color: transparent; +} + +th { + text-align: left; +} + +.table { + width: 100%; + margin-bottom: 20px; +} + +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + padding: 8px; + line-height: 1.428571429; + vertical-align: top; + border-top: 1px solid #dddddd; +} + +.table > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #dddddd; +} + +.table > caption + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > th, +.table > thead:first-child > tr:first-child > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > td { + border-top: 0; +} + +.table > tbody + tbody { + border-top: 2px solid #dddddd; +} + +.table .table { + background-color: #ffffff; +} + +.table-condensed > thead > tr > th, +.table-condensed > tbody > tr > th, +.table-condensed > tfoot > tr > th, +.table-condensed > thead > tr > td, +.table-condensed > tbody > tr > td, +.table-condensed > tfoot > tr > td { + padding: 5px; +} + +.table-bordered { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > tbody > tr > th, +.table-bordered > tfoot > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > td { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td { + border-bottom-width: 2px; +} + +.table-striped > tbody > tr:nth-child(odd) > td, +.table-striped > tbody > tr:nth-child(odd) > th { + background-color: #f9f9f9; +} + +.table-hover > tbody > tr:hover > td, +.table-hover > tbody > tr:hover > th { + background-color: #f5f5f5; +} + +table col[class*="col-"] { + position: static; + display: table-column; + float: none; +} + +table td[class*="col-"], +table th[class*="col-"] { + display: table-cell; + float: none; +} + +.table > thead > tr > .active, +.table > tbody > tr > .active, +.table > tfoot > tr > .active, +.table > thead > .active > td, +.table > tbody > .active > td, +.table > tfoot > .active > td, +.table > thead > .active > th, +.table > tbody > .active > th, +.table > tfoot > .active > th { + background-color: #f5f5f5; +} + +.table-hover > tbody > tr > .active:hover, +.table-hover > tbody > .active:hover > td, +.table-hover > tbody > .active:hover > th { + background-color: #e8e8e8; +} + +.table > thead > tr > .success, +.table > tbody > tr > .success, +.table > tfoot > tr > .success, +.table > thead > .success > td, +.table > tbody > .success > td, +.table > tfoot > .success > td, +.table > thead > .success > th, +.table > tbody > .success > th, +.table > tfoot > .success > th { + background-color: #dff0d8; +} + +.table-hover > tbody > tr > .success:hover, +.table-hover > tbody > .success:hover > td, +.table-hover > tbody > .success:hover > th { + background-color: #d0e9c6; +} + +.table > thead > tr > .danger, +.table > tbody > tr > .danger, +.table > tfoot > tr > .danger, +.table > thead > .danger > td, +.table > tbody > .danger > td, +.table > tfoot > .danger > td, +.table > thead > .danger > th, +.table > tbody > .danger > th, +.table > tfoot > .danger > th { + background-color: #f2dede; +} + +.table-hover > tbody > tr > .danger:hover, +.table-hover > tbody > .danger:hover > td, +.table-hover > tbody > .danger:hover > th { + background-color: #ebcccc; +} + +.table > thead > tr > .warning, +.table > tbody > tr > .warning, +.table > tfoot > tr > .warning, +.table > thead > .warning > td, +.table > tbody > .warning > td, +.table > tfoot > .warning > td, +.table > thead > .warning > th, +.table > tbody > .warning > th, +.table > tfoot > .warning > th { + background-color: #fcf8e3; +} + +.table-hover > tbody > tr > .warning:hover, +.table-hover > tbody > .warning:hover > td, +.table-hover > tbody > .warning:hover > th { + background-color: #faf2cc; +} + +@media (max-width: 767px) { + .table-responsive { + width: 100%; + margin-bottom: 15px; + overflow-x: scroll; + overflow-y: hidden; + border: 1px solid #dddddd; + -ms-overflow-style: -ms-autohiding-scrollbar; + -webkit-overflow-scrolling: touch; + } + .table-responsive > .table { + margin-bottom: 0; + } + .table-responsive > .table > thead > tr > th, + .table-responsive > .table > tbody > tr > th, + .table-responsive > .table > tfoot > tr > th, + .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > td { + white-space: nowrap; + } + .table-responsive > .table-bordered { + border: 0; + } + .table-responsive > .table-bordered > thead > tr > th:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, + .table-responsive > .table-bordered > tfoot > tr > th:first-child, + .table-responsive > .table-bordered > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; + } + .table-responsive > .table-bordered > thead > tr > th:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, + .table-responsive > .table-bordered > tfoot > tr > th:last-child, + .table-responsive > .table-bordered > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; + } + .table-responsive > .table-bordered > tbody > tr:last-child > th, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, + .table-responsive > .table-bordered > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; + } +} + +fieldset { + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: inherit; + color: #333333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} + +label { + display: inline-block; + margin-bottom: 5px; + font-weight: bold; +} + +input[type="search"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + /* IE8-9 */ + + line-height: normal; +} + +input[type="file"] { + display: block; +} + +select[multiple], +select[size] { + height: auto; +} + +select optgroup { + font-family: inherit; + font-size: inherit; + font-style: inherit; +} + +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +input[type="number"]::-webkit-outer-spin-button, +input[type="number"]::-webkit-inner-spin-button { + height: auto; +} + +output { + display: block; + padding-top: 7px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; +} + +.form-control { + display: block; + width: 100%; + height: 34px; + padding: 6px 12px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; + background-color: #ffffff; + background-image: none; + border: 1px solid #cccccc; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; +} + +.form-control:focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); +} + +.form-control:-moz-placeholder { + color: #999999; +} + +.form-control::-moz-placeholder { + color: #999999; + opacity: 1; +} + +.form-control:-ms-input-placeholder { + color: #999999; +} + +.form-control::-webkit-input-placeholder { + color: #999999; +} + +.form-control[disabled], +.form-control[readonly], +fieldset[disabled] .form-control { + cursor: not-allowed; + background-color: #eeeeee; +} + +textarea.form-control { + height: auto; +} + +.form-group { + margin-bottom: 15px; +} + +.radio, +.checkbox { + display: block; + min-height: 20px; + padding-left: 20px; + margin-top: 10px; + margin-bottom: 10px; + vertical-align: middle; +} + +.radio label, +.checkbox label { + display: inline; + margin-bottom: 0; + font-weight: normal; + cursor: pointer; +} + +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + float: left; + margin-left: -20px; +} + +.radio + .radio, +.checkbox + .checkbox { + margin-top: -5px; +} + +.radio-inline, +.checkbox-inline { + display: inline-block; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + vertical-align: middle; + cursor: pointer; +} + +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; +} + +input[type="radio"][disabled], +input[type="checkbox"][disabled], +.radio[disabled], +.radio-inline[disabled], +.checkbox[disabled], +.checkbox-inline[disabled], +fieldset[disabled] input[type="radio"], +fieldset[disabled] input[type="checkbox"], +fieldset[disabled] .radio, +fieldset[disabled] .radio-inline, +fieldset[disabled] .checkbox, +fieldset[disabled] .checkbox-inline { + cursor: not-allowed; +} + +.input-sm { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-sm { + height: 30px; + line-height: 30px; +} + +textarea.input-sm { + height: auto; +} + +.input-lg { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-lg { + height: 46px; + line-height: 46px; +} + +textarea.input-lg { + height: auto; +} + +.has-warning .help-block, +.has-warning .control-label, +.has-warning .radio, +.has-warning .checkbox, +.has-warning .radio-inline, +.has-warning .checkbox-inline { + color: #8a6d3b; +} + +.has-warning .form-control { + border-color: #8a6d3b; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-warning .form-control:focus { + border-color: #66512c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; +} + +.has-warning .input-group-addon { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #8a6d3b; +} + +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline { + color: #a94442; +} + +.has-error .form-control { + border-color: #a94442; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-error .form-control:focus { + border-color: #843534; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; +} + +.has-error .input-group-addon { + color: #a94442; + background-color: #f2dede; + border-color: #a94442; +} + +.has-success .help-block, +.has-success .control-label, +.has-success .radio, +.has-success .checkbox, +.has-success .radio-inline, +.has-success .checkbox-inline { + color: #3c763d; +} + +.has-success .form-control { + border-color: #3c763d; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-success .form-control:focus { + border-color: #2b542c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; +} + +.has-success .input-group-addon { + color: #3c763d; + background-color: #dff0d8; + border-color: #3c763d; +} + +.form-control-static { + margin-bottom: 0; +} + +.help-block { + display: block; + margin-top: 5px; + margin-bottom: 10px; + color: #737373; +} + +@media (min-width: 768px) { + .form-inline .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .form-control { + display: inline-block; + } + .form-inline select.form-control { + width: auto; + } + .form-inline .radio, + .form-inline .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .form-inline .radio input[type="radio"], + .form-inline .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +.form-horizontal .control-label, +.form-horizontal .radio, +.form-horizontal .checkbox, +.form-horizontal .radio-inline, +.form-horizontal .checkbox-inline { + padding-top: 7px; + margin-top: 0; + margin-bottom: 0; +} + +.form-horizontal .radio, +.form-horizontal .checkbox { + min-height: 27px; +} + +.form-horizontal .form-group { + margin-right: -15px; + margin-left: -15px; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-control-static { + padding-top: 7px; +} + +@media (min-width: 768px) { + .form-horizontal .control-label { + text-align: right; + } +} + +.btn { + display: inline-block; + padding: 6px 12px; + margin-bottom: 0; + font-size: 14px; + font-weight: normal; + line-height: 1.428571429; + text-align: center; + white-space: nowrap; + vertical-align: middle; + cursor: pointer; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; +} + +.btn:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +.btn:hover, +.btn:focus { + color: #333333; + text-decoration: none; +} + +.btn:active, +.btn.active { + background-image: none; + outline: 0; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn.disabled, +.btn[disabled], +fieldset[disabled] .btn { + pointer-events: none; + cursor: not-allowed; + opacity: 0.65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-default { + color: #333333; + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default:hover, +.btn-default:focus, +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + color: #333333; + background-color: #ebebeb; + border-color: #adadad; +} + +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + background-image: none; +} + +.btn-default.disabled, +.btn-default[disabled], +fieldset[disabled] .btn-default, +.btn-default.disabled:hover, +.btn-default[disabled]:hover, +fieldset[disabled] .btn-default:hover, +.btn-default.disabled:focus, +.btn-default[disabled]:focus, +fieldset[disabled] .btn-default:focus, +.btn-default.disabled:active, +.btn-default[disabled]:active, +fieldset[disabled] .btn-default:active, +.btn-default.disabled.active, +.btn-default[disabled].active, +fieldset[disabled] .btn-default.active { + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default .badge { + color: #ffffff; + background-color: #fff; +} + +.btn-primary { + color: #ffffff; + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary:hover, +.btn-primary:focus, +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + color: #ffffff; + background-color: #3276b1; + border-color: #285e8e; +} + +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + background-image: none; +} + +.btn-primary.disabled, +.btn-primary[disabled], +fieldset[disabled] .btn-primary, +.btn-primary.disabled:hover, +.btn-primary[disabled]:hover, +fieldset[disabled] .btn-primary:hover, +.btn-primary.disabled:focus, +.btn-primary[disabled]:focus, +fieldset[disabled] .btn-primary:focus, +.btn-primary.disabled:active, +.btn-primary[disabled]:active, +fieldset[disabled] .btn-primary:active, +.btn-primary.disabled.active, +.btn-primary[disabled].active, +fieldset[disabled] .btn-primary.active { + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary .badge { + color: #428bca; + background-color: #fff; +} + +.btn-warning { + color: #ffffff; + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning:hover, +.btn-warning:focus, +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + color: #ffffff; + background-color: #ed9c28; + border-color: #d58512; +} + +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + background-image: none; +} + +.btn-warning.disabled, +.btn-warning[disabled], +fieldset[disabled] .btn-warning, +.btn-warning.disabled:hover, +.btn-warning[disabled]:hover, +fieldset[disabled] .btn-warning:hover, +.btn-warning.disabled:focus, +.btn-warning[disabled]:focus, +fieldset[disabled] .btn-warning:focus, +.btn-warning.disabled:active, +.btn-warning[disabled]:active, +fieldset[disabled] .btn-warning:active, +.btn-warning.disabled.active, +.btn-warning[disabled].active, +fieldset[disabled] .btn-warning.active { + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning .badge { + color: #f0ad4e; + background-color: #fff; +} + +.btn-danger { + color: #ffffff; + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger:hover, +.btn-danger:focus, +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + color: #ffffff; + background-color: #d2322d; + border-color: #ac2925; +} + +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + background-image: none; +} + +.btn-danger.disabled, +.btn-danger[disabled], +fieldset[disabled] .btn-danger, +.btn-danger.disabled:hover, +.btn-danger[disabled]:hover, +fieldset[disabled] .btn-danger:hover, +.btn-danger.disabled:focus, +.btn-danger[disabled]:focus, +fieldset[disabled] .btn-danger:focus, +.btn-danger.disabled:active, +.btn-danger[disabled]:active, +fieldset[disabled] .btn-danger:active, +.btn-danger.disabled.active, +.btn-danger[disabled].active, +fieldset[disabled] .btn-danger.active { + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger .badge { + color: #d9534f; + background-color: #fff; +} + +.btn-success { + color: #ffffff; + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success:hover, +.btn-success:focus, +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + color: #ffffff; + background-color: #47a447; + border-color: #398439; +} + +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + background-image: none; +} + +.btn-success.disabled, +.btn-success[disabled], +fieldset[disabled] .btn-success, +.btn-success.disabled:hover, +.btn-success[disabled]:hover, +fieldset[disabled] .btn-success:hover, +.btn-success.disabled:focus, +.btn-success[disabled]:focus, +fieldset[disabled] .btn-success:focus, +.btn-success.disabled:active, +.btn-success[disabled]:active, +fieldset[disabled] .btn-success:active, +.btn-success.disabled.active, +.btn-success[disabled].active, +fieldset[disabled] .btn-success.active { + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success .badge { + color: #5cb85c; + background-color: #fff; +} + +.btn-info { + color: #ffffff; + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info:hover, +.btn-info:focus, +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + color: #ffffff; + background-color: #39b3d7; + border-color: #269abc; +} + +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + background-image: none; +} + +.btn-info.disabled, +.btn-info[disabled], +fieldset[disabled] .btn-info, +.btn-info.disabled:hover, +.btn-info[disabled]:hover, +fieldset[disabled] .btn-info:hover, +.btn-info.disabled:focus, +.btn-info[disabled]:focus, +fieldset[disabled] .btn-info:focus, +.btn-info.disabled:active, +.btn-info[disabled]:active, +fieldset[disabled] .btn-info:active, +.btn-info.disabled.active, +.btn-info[disabled].active, +fieldset[disabled] .btn-info.active { + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info .badge { + color: #5bc0de; + background-color: #fff; +} + +.btn-link { + font-weight: normal; + color: #428bca; + cursor: pointer; + border-radius: 0; +} + +.btn-link, +.btn-link:active, +.btn-link[disabled], +fieldset[disabled] .btn-link { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-link, +.btn-link:hover, +.btn-link:focus, +.btn-link:active { + border-color: transparent; +} + +.btn-link:hover, +.btn-link:focus { + color: #2a6496; + text-decoration: underline; + background-color: transparent; +} + +.btn-link[disabled]:hover, +fieldset[disabled] .btn-link:hover, +.btn-link[disabled]:focus, +fieldset[disabled] .btn-link:focus { + color: #999999; + text-decoration: none; +} + +.btn-lg { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-sm { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-xs { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-block { + display: block; + width: 100%; + padding-right: 0; + padding-left: 0; +} + +.btn-block + .btn-block { + margin-top: 5px; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.fade { + opacity: 0; + -webkit-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} + +.fade.in { + opacity: 1; +} + +.collapse { + display: none; +} + +.collapse.in { + display: block; +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition: height 0.35s ease; + transition: height 0.35s ease; +} + +@font-face { + font-family: 'Glyphicons Halflings'; + src: url('../fonts/glyphicons-halflings-regular.eot'); + src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg'); +} + +.glyphicon { + position: relative; + top: 1px; + display: inline-block; + font-family: 'Glyphicons Halflings'; + -webkit-font-smoothing: antialiased; + font-style: normal; + font-weight: normal; + line-height: 1; + -moz-osx-font-smoothing: grayscale; +} + +.glyphicon:empty { + width: 1em; +} + +.glyphicon-asterisk:before { + content: "\2a"; +} + +.glyphicon-plus:before { + content: "\2b"; +} + +.glyphicon-euro:before { + content: "\20ac"; +} + +.glyphicon-minus:before { + content: "\2212"; +} + +.glyphicon-cloud:before { + content: "\2601"; +} + +.glyphicon-envelope:before { + content: "\2709"; +} + +.glyphicon-pencil:before { + content: "\270f"; +} + +.glyphicon-glass:before { + content: "\e001"; +} + +.glyphicon-music:before { + content: "\e002"; +} + +.glyphicon-search:before { + content: "\e003"; +} + +.glyphicon-heart:before { + content: "\e005"; +} + +.glyphicon-star:before { + content: "\e006"; +} + +.glyphicon-star-empty:before { + content: "\e007"; +} + +.glyphicon-user:before { + content: "\e008"; +} + +.glyphicon-film:before { + content: "\e009"; +} + +.glyphicon-th-large:before { + content: "\e010"; +} + +.glyphicon-th:before { + content: "\e011"; +} + +.glyphicon-th-list:before { + content: "\e012"; +} + +.glyphicon-ok:before { + content: "\e013"; +} + +.glyphicon-remove:before { + content: "\e014"; +} + +.glyphicon-zoom-in:before { + content: "\e015"; +} + +.glyphicon-zoom-out:before { + content: "\e016"; +} + +.glyphicon-off:before { + content: "\e017"; +} + +.glyphicon-signal:before { + content: "\e018"; +} + +.glyphicon-cog:before { + content: "\e019"; +} + +.glyphicon-trash:before { + content: "\e020"; +} + +.glyphicon-home:before { + content: "\e021"; +} + +.glyphicon-file:before { + content: "\e022"; +} + +.glyphicon-time:before { + content: "\e023"; +} + +.glyphicon-road:before { + content: "\e024"; +} + +.glyphicon-download-alt:before { + content: "\e025"; +} + +.glyphicon-download:before { + content: "\e026"; +} + +.glyphicon-upload:before { + content: "\e027"; +} + +.glyphicon-inbox:before { + content: "\e028"; +} + +.glyphicon-play-circle:before { + content: "\e029"; +} + +.glyphicon-repeat:before { + content: "\e030"; +} + +.glyphicon-refresh:before { + content: "\e031"; +} + +.glyphicon-list-alt:before { + content: "\e032"; +} + +.glyphicon-lock:before { + content: "\e033"; +} + +.glyphicon-flag:before { + content: "\e034"; +} + +.glyphicon-headphones:before { + content: "\e035"; +} + +.glyphicon-volume-off:before { + content: "\e036"; +} + +.glyphicon-volume-down:before { + content: "\e037"; +} + +.glyphicon-volume-up:before { + content: "\e038"; +} + +.glyphicon-qrcode:before { + content: "\e039"; +} + +.glyphicon-barcode:before { + content: "\e040"; +} + +.glyphicon-tag:before { + content: "\e041"; +} + +.glyphicon-tags:before { + content: "\e042"; +} + +.glyphicon-book:before { + content: "\e043"; +} + +.glyphicon-bookmark:before { + content: "\e044"; +} + +.glyphicon-print:before { + content: "\e045"; +} + +.glyphicon-camera:before { + content: "\e046"; +} + +.glyphicon-font:before { + content: "\e047"; +} + +.glyphicon-bold:before { + content: "\e048"; +} + +.glyphicon-italic:before { + content: "\e049"; +} + +.glyphicon-text-height:before { + content: "\e050"; +} + +.glyphicon-text-width:before { + content: "\e051"; +} + +.glyphicon-align-left:before { + content: "\e052"; +} + +.glyphicon-align-center:before { + content: "\e053"; +} + +.glyphicon-align-right:before { + content: "\e054"; +} + +.glyphicon-align-justify:before { + content: "\e055"; +} + +.glyphicon-list:before { + content: "\e056"; +} + +.glyphicon-indent-left:before { + content: "\e057"; +} + +.glyphicon-indent-right:before { + content: "\e058"; +} + +.glyphicon-facetime-video:before { + content: "\e059"; +} + +.glyphicon-picture:before { + content: "\e060"; +} + +.glyphicon-map-marker:before { + content: "\e062"; +} + +.glyphicon-adjust:before { + content: "\e063"; +} + +.glyphicon-tint:before { + content: "\e064"; +} + +.glyphicon-edit:before { + content: "\e065"; +} + +.glyphicon-share:before { + content: "\e066"; +} + +.glyphicon-check:before { + content: "\e067"; +} + +.glyphicon-move:before { + content: "\e068"; +} + +.glyphicon-step-backward:before { + content: "\e069"; +} + +.glyphicon-fast-backward:before { + content: "\e070"; +} + +.glyphicon-backward:before { + content: "\e071"; +} + +.glyphicon-play:before { + content: "\e072"; +} + +.glyphicon-pause:before { + content: "\e073"; +} + +.glyphicon-stop:before { + content: "\e074"; +} + +.glyphicon-forward:before { + content: "\e075"; +} + +.glyphicon-fast-forward:before { + content: "\e076"; +} + +.glyphicon-step-forward:before { + content: "\e077"; +} + +.glyphicon-eject:before { + content: "\e078"; +} + +.glyphicon-chevron-left:before { + content: "\e079"; +} + +.glyphicon-chevron-right:before { + content: "\e080"; +} + +.glyphicon-plus-sign:before { + content: "\e081"; +} + +.glyphicon-minus-sign:before { + content: "\e082"; +} + +.glyphicon-remove-sign:before { + content: "\e083"; +} + +.glyphicon-ok-sign:before { + content: "\e084"; +} + +.glyphicon-question-sign:before { + content: "\e085"; +} + +.glyphicon-info-sign:before { + content: "\e086"; +} + +.glyphicon-screenshot:before { + content: "\e087"; +} + +.glyphicon-remove-circle:before { + content: "\e088"; +} + +.glyphicon-ok-circle:before { + content: "\e089"; +} + +.glyphicon-ban-circle:before { + content: "\e090"; +} + +.glyphicon-arrow-left:before { + content: "\e091"; +} + +.glyphicon-arrow-right:before { + content: "\e092"; +} + +.glyphicon-arrow-up:before { + content: "\e093"; +} + +.glyphicon-arrow-down:before { + content: "\e094"; +} + +.glyphicon-share-alt:before { + content: "\e095"; +} + +.glyphicon-resize-full:before { + content: "\e096"; +} + +.glyphicon-resize-small:before { + content: "\e097"; +} + +.glyphicon-exclamation-sign:before { + content: "\e101"; +} + +.glyphicon-gift:before { + content: "\e102"; +} + +.glyphicon-leaf:before { + content: "\e103"; +} + +.glyphicon-fire:before { + content: "\e104"; +} + +.glyphicon-eye-open:before { + content: "\e105"; +} + +.glyphicon-eye-close:before { + content: "\e106"; +} + +.glyphicon-warning-sign:before { + content: "\e107"; +} + +.glyphicon-plane:before { + content: "\e108"; +} + +.glyphicon-calendar:before { + content: "\e109"; +} + +.glyphicon-random:before { + content: "\e110"; +} + +.glyphicon-comment:before { + content: "\e111"; +} + +.glyphicon-magnet:before { + content: "\e112"; +} + +.glyphicon-chevron-up:before { + content: "\e113"; +} + +.glyphicon-chevron-down:before { + content: "\e114"; +} + +.glyphicon-retweet:before { + content: "\e115"; +} + +.glyphicon-shopping-cart:before { + content: "\e116"; +} + +.glyphicon-folder-close:before { + content: "\e117"; +} + +.glyphicon-folder-open:before { + content: "\e118"; +} + +.glyphicon-resize-vertical:before { + content: "\e119"; +} + +.glyphicon-resize-horizontal:before { + content: "\e120"; +} + +.glyphicon-hdd:before { + content: "\e121"; +} + +.glyphicon-bullhorn:before { + content: "\e122"; +} + +.glyphicon-bell:before { + content: "\e123"; +} + +.glyphicon-certificate:before { + content: "\e124"; +} + +.glyphicon-thumbs-up:before { + content: "\e125"; +} + +.glyphicon-thumbs-down:before { + content: "\e126"; +} + +.glyphicon-hand-right:before { + content: "\e127"; +} + +.glyphicon-hand-left:before { + content: "\e128"; +} + +.glyphicon-hand-up:before { + content: "\e129"; +} + +.glyphicon-hand-down:before { + content: "\e130"; +} + +.glyphicon-circle-arrow-right:before { + content: "\e131"; +} + +.glyphicon-circle-arrow-left:before { + content: "\e132"; +} + +.glyphicon-circle-arrow-up:before { + content: "\e133"; +} + +.glyphicon-circle-arrow-down:before { + content: "\e134"; +} + +.glyphicon-globe:before { + content: "\e135"; +} + +.glyphicon-wrench:before { + content: "\e136"; +} + +.glyphicon-tasks:before { + content: "\e137"; +} + +.glyphicon-filter:before { + content: "\e138"; +} + +.glyphicon-briefcase:before { + content: "\e139"; +} + +.glyphicon-fullscreen:before { + content: "\e140"; +} + +.glyphicon-dashboard:before { + content: "\e141"; +} + +.glyphicon-paperclip:before { + content: "\e142"; +} + +.glyphicon-heart-empty:before { + content: "\e143"; +} + +.glyphicon-link:before { + content: "\e144"; +} + +.glyphicon-phone:before { + content: "\e145"; +} + +.glyphicon-pushpin:before { + content: "\e146"; +} + +.glyphicon-usd:before { + content: "\e148"; +} + +.glyphicon-gbp:before { + content: "\e149"; +} + +.glyphicon-sort:before { + content: "\e150"; +} + +.glyphicon-sort-by-alphabet:before { + content: "\e151"; +} + +.glyphicon-sort-by-alphabet-alt:before { + content: "\e152"; +} + +.glyphicon-sort-by-order:before { + content: "\e153"; +} + +.glyphicon-sort-by-order-alt:before { + content: "\e154"; +} + +.glyphicon-sort-by-attributes:before { + content: "\e155"; +} + +.glyphicon-sort-by-attributes-alt:before { + content: "\e156"; +} + +.glyphicon-unchecked:before { + content: "\e157"; +} + +.glyphicon-expand:before { + content: "\e158"; +} + +.glyphicon-collapse-down:before { + content: "\e159"; +} + +.glyphicon-collapse-up:before { + content: "\e160"; +} + +.glyphicon-log-in:before { + content: "\e161"; +} + +.glyphicon-flash:before { + content: "\e162"; +} + +.glyphicon-log-out:before { + content: "\e163"; +} + +.glyphicon-new-window:before { + content: "\e164"; +} + +.glyphicon-record:before { + content: "\e165"; +} + +.glyphicon-save:before { + content: "\e166"; +} + +.glyphicon-open:before { + content: "\e167"; +} + +.glyphicon-saved:before { + content: "\e168"; +} + +.glyphicon-import:before { + content: "\e169"; +} + +.glyphicon-export:before { + content: "\e170"; +} + +.glyphicon-send:before { + content: "\e171"; +} + +.glyphicon-floppy-disk:before { + content: "\e172"; +} + +.glyphicon-floppy-saved:before { + content: "\e173"; +} + +.glyphicon-floppy-remove:before { + content: "\e174"; +} + +.glyphicon-floppy-save:before { + content: "\e175"; +} + +.glyphicon-floppy-open:before { + content: "\e176"; +} + +.glyphicon-credit-card:before { + content: "\e177"; +} + +.glyphicon-transfer:before { + content: "\e178"; +} + +.glyphicon-cutlery:before { + content: "\e179"; +} + +.glyphicon-header:before { + content: "\e180"; +} + +.glyphicon-compressed:before { + content: "\e181"; +} + +.glyphicon-earphone:before { + content: "\e182"; +} + +.glyphicon-phone-alt:before { + content: "\e183"; +} + +.glyphicon-tower:before { + content: "\e184"; +} + +.glyphicon-stats:before { + content: "\e185"; +} + +.glyphicon-sd-video:before { + content: "\e186"; +} + +.glyphicon-hd-video:before { + content: "\e187"; +} + +.glyphicon-subtitles:before { + content: "\e188"; +} + +.glyphicon-sound-stereo:before { + content: "\e189"; +} + +.glyphicon-sound-dolby:before { + content: "\e190"; +} + +.glyphicon-sound-5-1:before { + content: "\e191"; +} + +.glyphicon-sound-6-1:before { + content: "\e192"; +} + +.glyphicon-sound-7-1:before { + content: "\e193"; +} + +.glyphicon-copyright-mark:before { + content: "\e194"; +} + +.glyphicon-registration-mark:before { + content: "\e195"; +} + +.glyphicon-cloud-download:before { + content: "\e197"; +} + +.glyphicon-cloud-upload:before { + content: "\e198"; +} + +.glyphicon-tree-conifer:before { + content: "\e199"; +} + +.glyphicon-tree-deciduous:before { + content: "\e200"; +} + +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px solid; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} + +.dropdown { + position: relative; +} + +.dropdown-toggle:focus { + outline: 0; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + font-size: 14px; + list-style: none; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 4px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + background-clip: padding-box; +} + +.dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.dropdown-menu .divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.428571429; + color: #333333; + white-space: nowrap; +} + +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + color: #262626; + text-decoration: none; + background-color: #f5f5f5; +} + +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #ffffff; + text-decoration: none; + background-color: #428bca; + outline: 0; +} + +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #999999; +} + +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + cursor: not-allowed; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.open > .dropdown-menu { + display: block; +} + +.open > a { + outline: 0; +} + +.dropdown-header { + display: block; + padding: 3px 20px; + font-size: 12px; + line-height: 1.428571429; + color: #999999; +} + +.dropdown-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 990; +} + +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} + +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + border-top: 0; + border-bottom: 4px solid; + content: ""; +} + +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 1px; +} + +@media (min-width: 768px) { + .navbar-right .dropdown-menu { + right: 0; + left: auto; + } +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} + +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + float: left; +} + +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover, +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus, +.btn-group > .btn:active, +.btn-group-vertical > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn.active { + z-index: 2; +} + +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus { + outline: none; +} + +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group { + margin-left: -1px; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar .btn-group { + float: left; +} + +.btn-toolbar > .btn + .btn, +.btn-toolbar > .btn-group + .btn, +.btn-toolbar > .btn + .btn-group, +.btn-toolbar > .btn-group + .btn-group { + margin-left: 5px; +} + +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0; +} + +.btn-group > .btn:first-child { + margin-left: 0; +} + +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group > .btn-group { + float: left; +} + +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group > .btn-group:first-child > .btn:last-child, +.btn-group > .btn-group:first-child > .dropdown-toggle { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn-group:last-child > .btn:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} + +.btn-group-xs > .btn { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-sm > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-lg > .btn { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-group > .btn + .dropdown-toggle { + padding-right: 8px; + padding-left: 8px; +} + +.btn-group > .btn-lg + .dropdown-toggle { + padding-right: 12px; + padding-left: 12px; +} + +.btn-group.open .dropdown-toggle { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn-group.open .dropdown-toggle.btn-link { + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn .caret { + margin-left: 0; +} + +.btn-lg .caret { + border-width: 5px 5px 0; + border-bottom-width: 0; +} + +.dropup .btn-lg .caret { + border-width: 0 5px 5px; +} + +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group, +.btn-group-vertical > .btn-group > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group > .btn { + float: none; +} + +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} + +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-top-right-radius: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 0; +} + +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group-vertical > .btn-group:first-child > .btn:last-child, +.btn-group-vertical > .btn-group:first-child > .dropdown-toggle { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn-group:last-child > .btn:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.btn-group-justified { + display: table; + width: 100%; + border-collapse: separate; + table-layout: fixed; +} + +.btn-group-justified > .btn, +.btn-group-justified > .btn-group { + display: table-cell; + float: none; + width: 1%; +} + +.btn-group-justified > .btn-group .btn { + width: 100%; +} + +[data-toggle="buttons"] > .btn > input[type="radio"], +[data-toggle="buttons"] > .btn > input[type="checkbox"] { + display: none; +} + +.input-group { + position: relative; + display: table; + border-collapse: separate; +} + +.input-group[class*="col-"] { + float: none; + padding-right: 0; + padding-left: 0; +} + +.input-group .form-control { + width: 100%; + margin-bottom: 0; +} + +.input-group-lg > .form-control, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-group-lg > .form-control, +select.input-group-lg > .input-group-addon, +select.input-group-lg > .input-group-btn > .btn { + height: 46px; + line-height: 46px; +} + +textarea.input-group-lg > .form-control, +textarea.input-group-lg > .input-group-addon, +textarea.input-group-lg > .input-group-btn > .btn { + height: auto; +} + +.input-group-sm > .form-control, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-group-sm > .form-control, +select.input-group-sm > .input-group-addon, +select.input-group-sm > .input-group-btn > .btn { + height: 30px; + line-height: 30px; +} + +textarea.input-group-sm > .form-control, +textarea.input-group-sm > .input-group-addon, +textarea.input-group-sm > .input-group-btn > .btn { + height: auto; +} + +.input-group-addon, +.input-group-btn, +.input-group .form-control { + display: table-cell; +} + +.input-group-addon:not(:first-child):not(:last-child), +.input-group-btn:not(:first-child):not(:last-child), +.input-group .form-control:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.input-group-addon, +.input-group-btn { + width: 1%; + white-space: nowrap; + vertical-align: middle; +} + +.input-group-addon { + padding: 6px 12px; + font-size: 14px; + font-weight: normal; + line-height: 1; + color: #555555; + text-align: center; + background-color: #eeeeee; + border: 1px solid #cccccc; + border-radius: 4px; +} + +.input-group-addon.input-sm { + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; +} + +.input-group-addon.input-lg { + padding: 10px 16px; + font-size: 18px; + border-radius: 6px; +} + +.input-group-addon input[type="radio"], +.input-group-addon input[type="checkbox"] { + margin-top: 0; +} + +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group-addon:first-child { + border-right: 0; +} + +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.input-group-addon:last-child { + border-left: 0; +} + +.input-group-btn { + position: relative; + white-space: nowrap; +} + +.input-group-btn:first-child > .btn { + margin-right: -1px; +} + +.input-group-btn:last-child > .btn { + margin-left: -1px; +} + +.input-group-btn > .btn { + position: relative; +} + +.input-group-btn > .btn + .btn { + margin-left: -4px; +} + +.input-group-btn > .btn:hover, +.input-group-btn > .btn:active { + z-index: 2; +} + +.nav { + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav > li { + position: relative; + display: block; +} + +.nav > li > a { + position: relative; + display: block; + padding: 10px 15px; +} + +.nav > li > a:hover, +.nav > li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.nav > li.disabled > a { + color: #999999; +} + +.nav > li.disabled > a:hover, +.nav > li.disabled > a:focus { + color: #999999; + text-decoration: none; + cursor: not-allowed; + background-color: transparent; +} + +.nav .open > a, +.nav .open > a:hover, +.nav .open > a:focus { + background-color: #eeeeee; + border-color: #428bca; +} + +.nav .nav-divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.nav > li > a > img { + max-width: none; +} + +.nav-tabs { + border-bottom: 1px solid #dddddd; +} + +.nav-tabs > li { + float: left; + margin-bottom: -1px; +} + +.nav-tabs > li > a { + margin-right: 2px; + line-height: 1.428571429; + border: 1px solid transparent; + border-radius: 4px 4px 0 0; +} + +.nav-tabs > li > a:hover { + border-color: #eeeeee #eeeeee #dddddd; +} + +.nav-tabs > li.active > a, +.nav-tabs > li.active > a:hover, +.nav-tabs > li.active > a:focus { + color: #555555; + cursor: default; + background-color: #ffffff; + border: 1px solid #dddddd; + border-bottom-color: transparent; +} + +.nav-tabs.nav-justified { + width: 100%; + border-bottom: 0; +} + +.nav-tabs.nav-justified > li { + float: none; +} + +.nav-tabs.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-tabs.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-tabs.nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs.nav-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs.nav-justified > .active > a, +.nav-tabs.nav-justified > .active > a:hover, +.nav-tabs.nav-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs.nav-justified > .active > a, + .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs.nav-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.nav-pills > li { + float: left; +} + +.nav-pills > li > a { + border-radius: 4px; +} + +.nav-pills > li + li { + margin-left: 2px; +} + +.nav-pills > li.active > a, +.nav-pills > li.active > a:hover, +.nav-pills > li.active > a:focus { + color: #ffffff; + background-color: #428bca; +} + +.nav-stacked > li { + float: none; +} + +.nav-stacked > li + li { + margin-top: 2px; + margin-left: 0; +} + +.nav-justified { + width: 100%; +} + +.nav-justified > li { + float: none; +} + +.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs-justified { + border-bottom: 0; +} + +.nav-tabs-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs-justified > .active > a, +.nav-tabs-justified > .active > a:hover, +.nav-tabs-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs-justified > .active > a, + .nav-tabs-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.tab-content > .tab-pane { + display: none; +} + +.tab-content > .active { + display: block; +} + +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar { + position: relative; + min-height: 50px; + margin-bottom: 20px; + border: 1px solid transparent; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar { + border-radius: 4px; + } +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar-header { + float: left; + } +} + +.navbar-collapse { + max-height: 340px; + padding-right: 15px; + padding-left: 15px; + overflow-x: visible; + border-top: 1px solid transparent; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); + -webkit-overflow-scrolling: touch; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse.in { + overflow-y: auto; +} + +@media (min-width: 768px) { + .navbar-collapse { + width: auto; + border-top: 0; + box-shadow: none; + } + .navbar-collapse.collapse { + display: block !important; + height: auto !important; + padding-bottom: 0; + overflow: visible !important; + } + .navbar-collapse.in { + overflow-y: visible; + } + .navbar-fixed-top .navbar-collapse, + .navbar-static-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + padding-right: 0; + padding-left: 0; + } +} + +.container > .navbar-header, +.container > .navbar-collapse { + margin-right: -15px; + margin-left: -15px; +} + +@media (min-width: 768px) { + .container > .navbar-header, + .container > .navbar-collapse { + margin-right: 0; + margin-left: 0; + } +} + +.navbar-static-top { + z-index: 1000; + border-width: 0 0 1px; +} + +@media (min-width: 768px) { + .navbar-static-top { + border-radius: 0; + } +} + +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; +} + +@media (min-width: 768px) { + .navbar-fixed-top, + .navbar-fixed-bottom { + border-radius: 0; + } +} + +.navbar-fixed-top { + top: 0; + border-width: 0 0 1px; +} + +.navbar-fixed-bottom { + bottom: 0; + margin-bottom: 0; + border-width: 1px 0 0; +} + +.navbar-brand { + float: left; + padding: 15px 15px; + font-size: 18px; + line-height: 20px; +} + +.navbar-brand:hover, +.navbar-brand:focus { + text-decoration: none; +} + +@media (min-width: 768px) { + .navbar > .container .navbar-brand { + margin-left: -15px; + } +} + +.navbar-toggle { + position: relative; + float: right; + padding: 9px 10px; + margin-top: 8px; + margin-right: 15px; + margin-bottom: 8px; + background-color: transparent; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; +} + +.navbar-toggle .icon-bar { + display: block; + width: 22px; + height: 2px; + border-radius: 1px; +} + +.navbar-toggle .icon-bar + .icon-bar { + margin-top: 4px; +} + +@media (min-width: 768px) { + .navbar-toggle { + display: none; + } +} + +.navbar-nav { + margin: 7.5px -15px; +} + +.navbar-nav > li > a { + padding-top: 10px; + padding-bottom: 10px; + line-height: 20px; +} + +@media (max-width: 767px) { + .navbar-nav .open .dropdown-menu { + position: static; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + box-shadow: none; + } + .navbar-nav .open .dropdown-menu > li > a, + .navbar-nav .open .dropdown-menu .dropdown-header { + padding: 5px 15px 5px 25px; + } + .navbar-nav .open .dropdown-menu > li > a { + line-height: 20px; + } + .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-nav .open .dropdown-menu > li > a:focus { + background-image: none; + } +} + +@media (min-width: 768px) { + .navbar-nav { + float: left; + margin: 0; + } + .navbar-nav > li { + float: left; + } + .navbar-nav > li > a { + padding-top: 15px; + padding-bottom: 15px; + } + .navbar-nav.navbar-right:last-child { + margin-right: -15px; + } +} + +@media (min-width: 768px) { + .navbar-left { + float: left !important; + } + .navbar-right { + float: right !important; + } +} + +.navbar-form { + padding: 10px 15px; + margin-top: 8px; + margin-right: -15px; + margin-bottom: 8px; + margin-left: -15px; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); +} + +@media (min-width: 768px) { + .navbar-form .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .form-control { + display: inline-block; + } + .navbar-form select.form-control { + width: auto; + } + .navbar-form .radio, + .navbar-form .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .navbar-form .radio input[type="radio"], + .navbar-form .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +@media (max-width: 767px) { + .navbar-form .form-group { + margin-bottom: 5px; + } +} + +@media (min-width: 768px) { + .navbar-form { + width: auto; + padding-top: 0; + padding-bottom: 0; + margin-right: 0; + margin-left: 0; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .navbar-form.navbar-right:last-child { + margin-right: -15px; + } +} + +.navbar-nav > li > .dropdown-menu { + margin-top: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.navbar-nav.pull-right > li > .dropdown-menu, +.navbar-nav > li > .dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.navbar-btn { + margin-top: 8px; + margin-bottom: 8px; +} + +.navbar-btn.btn-sm { + margin-top: 10px; + margin-bottom: 10px; +} + +.navbar-btn.btn-xs { + margin-top: 14px; + margin-bottom: 14px; +} + +.navbar-text { + margin-top: 15px; + margin-bottom: 15px; +} + +@media (min-width: 768px) { + .navbar-text { + float: left; + margin-right: 15px; + margin-left: 15px; + } + .navbar-text.navbar-right:last-child { + margin-right: 0; + } +} + +.navbar-default { + background-color: #f8f8f8; + border-color: #e7e7e7; +} + +.navbar-default .navbar-brand { + color: #777777; +} + +.navbar-default .navbar-brand:hover, +.navbar-default .navbar-brand:focus { + color: #5e5e5e; + background-color: transparent; +} + +.navbar-default .navbar-text { + color: #777777; +} + +.navbar-default .navbar-nav > li > a { + color: #777777; +} + +.navbar-default .navbar-nav > li > a:hover, +.navbar-default .navbar-nav > li > a:focus { + color: #333333; + background-color: transparent; +} + +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .disabled > a, +.navbar-default .navbar-nav > .disabled > a:hover, +.navbar-default .navbar-nav > .disabled > a:focus { + color: #cccccc; + background-color: transparent; +} + +.navbar-default .navbar-toggle { + border-color: #dddddd; +} + +.navbar-default .navbar-toggle:hover, +.navbar-default .navbar-toggle:focus { + background-color: #dddddd; +} + +.navbar-default .navbar-toggle .icon-bar { + background-color: #cccccc; +} + +.navbar-default .navbar-collapse, +.navbar-default .navbar-form { + border-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .open > a, +.navbar-default .navbar-nav > .open > a:hover, +.navbar-default .navbar-nav > .open > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a { + color: #777777; + } + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + color: #333333; + background-color: transparent; + } + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #555555; + background-color: #e7e7e7; + } + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #cccccc; + background-color: transparent; + } +} + +.navbar-default .navbar-link { + color: #777777; +} + +.navbar-default .navbar-link:hover { + color: #333333; +} + +.navbar-inverse { + background-color: #222222; + border-color: #080808; +} + +.navbar-inverse .navbar-brand { + color: #999999; +} + +.navbar-inverse .navbar-brand:hover, +.navbar-inverse .navbar-brand:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-text { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a:hover, +.navbar-inverse .navbar-nav > li > a:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-nav > .active > a, +.navbar-inverse .navbar-nav > .active > a:hover, +.navbar-inverse .navbar-nav > .active > a:focus { + color: #ffffff; + background-color: #080808; +} + +.navbar-inverse .navbar-nav > .disabled > a, +.navbar-inverse .navbar-nav > .disabled > a:hover, +.navbar-inverse .navbar-nav > .disabled > a:focus { + color: #444444; + background-color: transparent; +} + +.navbar-inverse .navbar-toggle { + border-color: #333333; +} + +.navbar-inverse .navbar-toggle:hover, +.navbar-inverse .navbar-toggle:focus { + background-color: #333333; +} + +.navbar-inverse .navbar-toggle .icon-bar { + background-color: #ffffff; +} + +.navbar-inverse .navbar-collapse, +.navbar-inverse .navbar-form { + border-color: #101010; +} + +.navbar-inverse .navbar-nav > .open > a, +.navbar-inverse .navbar-nav > .open > a:hover, +.navbar-inverse .navbar-nav > .open > a:focus { + color: #ffffff; + background-color: #080808; +} + +@media (max-width: 767px) { + .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { + border-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu .divider { + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { + color: #999999; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + color: #ffffff; + background-color: transparent; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #ffffff; + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #444444; + background-color: transparent; + } +} + +.navbar-inverse .navbar-link { + color: #999999; +} + +.navbar-inverse .navbar-link:hover { + color: #ffffff; +} + +.breadcrumb { + padding: 8px 15px; + margin-bottom: 20px; + list-style: none; + background-color: #f5f5f5; + border-radius: 4px; +} + +.breadcrumb > li { + display: inline-block; +} + +.breadcrumb > li + li:before { + padding: 0 5px; + color: #cccccc; + content: "/\00a0"; +} + +.breadcrumb > .active { + color: #999999; +} + +.pagination { + display: inline-block; + padding-left: 0; + margin: 20px 0; + border-radius: 4px; +} + +.pagination > li { + display: inline; +} + +.pagination > li > a, +.pagination > li > span { + position: relative; + float: left; + padding: 6px 12px; + margin-left: -1px; + line-height: 1.428571429; + text-decoration: none; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.pagination > li:first-child > a, +.pagination > li:first-child > span { + margin-left: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} + +.pagination > li:last-child > a, +.pagination > li:last-child > span { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} + +.pagination > li > a:hover, +.pagination > li > span:hover, +.pagination > li > a:focus, +.pagination > li > span:focus { + background-color: #eeeeee; +} + +.pagination > .active > a, +.pagination > .active > span, +.pagination > .active > a:hover, +.pagination > .active > span:hover, +.pagination > .active > a:focus, +.pagination > .active > span:focus { + z-index: 2; + color: #ffffff; + cursor: default; + background-color: #428bca; + border-color: #428bca; +} + +.pagination > .disabled > span, +.pagination > .disabled > span:hover, +.pagination > .disabled > span:focus, +.pagination > .disabled > a, +.pagination > .disabled > a:hover, +.pagination > .disabled > a:focus { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; + border-color: #dddddd; +} + +.pagination-lg > li > a, +.pagination-lg > li > span { + padding: 10px 16px; + font-size: 18px; +} + +.pagination-lg > li:first-child > a, +.pagination-lg > li:first-child > span { + border-bottom-left-radius: 6px; + border-top-left-radius: 6px; +} + +.pagination-lg > li:last-child > a, +.pagination-lg > li:last-child > span { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; +} + +.pagination-sm > li > a, +.pagination-sm > li > span { + padding: 5px 10px; + font-size: 12px; +} + +.pagination-sm > li:first-child > a, +.pagination-sm > li:first-child > span { + border-bottom-left-radius: 3px; + border-top-left-radius: 3px; +} + +.pagination-sm > li:last-child > a, +.pagination-sm > li:last-child > span { + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} + +.pager { + padding-left: 0; + margin: 20px 0; + text-align: center; + list-style: none; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager li { + display: inline; +} + +.pager li > a, +.pager li > span { + display: inline-block; + padding: 5px 14px; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 15px; +} + +.pager li > a:hover, +.pager li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.pager .next > a, +.pager .next > span { + float: right; +} + +.pager .previous > a, +.pager .previous > span { + float: left; +} + +.pager .disabled > a, +.pager .disabled > a:hover, +.pager .disabled > a:focus, +.pager .disabled > span { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; +} + +.label { + display: inline; + padding: .2em .6em .3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25em; +} + +.label[href]:hover, +.label[href]:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +.label:empty { + display: none; +} + +.btn .label { + position: relative; + top: -1px; +} + +.label-default { + background-color: #999999; +} + +.label-default[href]:hover, +.label-default[href]:focus { + background-color: #808080; +} + +.label-primary { + background-color: #428bca; +} + +.label-primary[href]:hover, +.label-primary[href]:focus { + background-color: #3071a9; +} + +.label-success { + background-color: #5cb85c; +} + +.label-success[href]:hover, +.label-success[href]:focus { + background-color: #449d44; +} + +.label-info { + background-color: #5bc0de; +} + +.label-info[href]:hover, +.label-info[href]:focus { + background-color: #31b0d5; +} + +.label-warning { + background-color: #f0ad4e; +} + +.label-warning[href]:hover, +.label-warning[href]:focus { + background-color: #ec971f; +} + +.label-minor { + background-color: #fad664; +} +.label-minor[href]:hover, +.label-minor[href]:focus { + background-color: #f8c933; +} + +.label-danger { + background-color: #d9534f; +} + +.label-danger[href]:hover, +.label-danger[href]:focus { + background-color: #c9302c; +} + +.badge { + display: inline-block; + min-width: 10px; + padding: 3px 7px; + font-size: 12px; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + background-color: #999999; + border-radius: 10px; +} + +.badge:empty { + display: none; +} + +.btn .badge { + position: relative; + top: -1px; +} + +a.badge:hover, +a.badge:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +a.list-group-item.active > .badge, +.nav-pills > .active > a > .badge { + color: #428bca; + background-color: #ffffff; +} + +.nav-pills > li > a > .badge { + margin-left: 3px; +} + +/*.jumbotron { + padding: 30px; + margin-bottom: 30px; + font-size: 21px; + font-weight: 200; + line-height: 2.1428571435; + color: inherit; + background-color: #eeeeee; +} + +.jumbotron h1, +.jumbotron .h1 { + line-height: 1; + color: inherit; +} + +.jumbotron p { + line-height: 1.4; +} + +.container .jumbotron { + border-radius: 6px; +} + +.jumbotron .container { + max-width: 100%; +} + +@media screen and (min-width: 768px) { + .jumbotron { + padding-top: 48px; + padding-bottom: 48px; + } + .container .jumbotron { + padding-right: 60px; + padding-left: 60px; + } + .jumbotron h1, + .jumbotron .h1 { + font-size: 63px; + } +}*/ + +.thumbnail { + display: block; + padding: 4px; + margin-bottom: 20px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.thumbnail > img, +.thumbnail a > img { + display: block; + height: auto; + max-width: 100%; + margin-right: auto; + margin-left: auto; +} + +a.thumbnail:hover, +a.thumbnail:focus, +a.thumbnail.active { + border-color: #428bca; +} + +.thumbnail .caption { + padding: 9px; + color: #333333; +} + +.alert { + padding: 15px; + margin-bottom: 20px; + border: 1px solid transparent; + border-radius: 4px; +} + +.alert h4 { + margin-top: 0; + color: inherit; +} + +.alert .alert-link { + font-weight: bold; +} + +.alert > p, +.alert > ul { + margin-bottom: 0; +} + +.alert > p + p { + margin-top: 5px; +} + +.alert-dismissable { + padding-right: 35px; +} + +.alert-dismissable .close { + position: relative; + top: -2px; + right: -21px; + color: inherit; +} + +.alert-success { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.alert-success hr { + border-top-color: #c9e2b3; +} + +.alert-success .alert-link { + color: #2b542c; +} + +.alert-info { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.alert-info hr { + border-top-color: #a6e1ec; +} + +.alert-info .alert-link { + color: #245269; +} + +.alert-warning { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.alert-warning hr { + border-top-color: #f7e1b5; +} + +.alert-warning .alert-link { + color: #66512c; +} + +.alert-danger { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.alert-danger hr { + border-top-color: #e4b9c0; +} + +.alert-danger .alert-link { + color: #843534; +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +.progress { + height: 20px; + margin-bottom: 20px; + overflow: hidden; + background-color: #f5f5f5; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.progress-bar { + float: left; + width: 0; + height: 100%; + font-size: 12px; + line-height: 20px; + color: #ffffff; + text-align: center; + background-color: #428bca; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -webkit-transition: width 0.6s ease; + transition: width 0.6s ease; +} + +.progress-striped .progress-bar { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-size: 40px 40px; +} + +.progress.active .progress-bar { + -webkit-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} + +.progress-bar-success { + background-color: #5cb85c; +} + +.progress-striped .progress-bar-success { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-info { + background-color: #5bc0de; +} + +.progress-striped .progress-bar-info { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-warning { + background-color: #f0ad4e; +} + +.progress-striped .progress-bar-warning { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-danger { + background-color: #d9534f; +} + +.progress-striped .progress-bar-danger { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.media, +.media-body { + overflow: hidden; + zoom: 1; +} + +.media, +.media .media { + margin-top: 15px; +} + +.media:first-child { + margin-top: 0; +} + +.media-object { + display: block; +} + +.media-heading { + margin: 0 0 5px; +} + +.media > .pull-left { + margin-right: 10px; +} + +.media > .pull-right { + margin-left: 10px; +} + +.media-list { + padding-left: 0; + list-style: none; +} + +.list-group { + padding-left: 0; + margin-bottom: 20px; +} + +.list-group-item { + position: relative; + display: block; + padding: 10px 15px; + margin-bottom: -1px; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.list-group-item:first-child { + border-top-right-radius: 4px; + border-top-left-radius: 4px; +} + +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} + +.list-group-item > .badge { + float: right; +} + +.list-group-item > .badge + .badge { + margin-right: 5px; +} + +a.list-group-item { + color: #555555; +} + +a.list-group-item .list-group-item-heading { + color: #333333; +} + +a.list-group-item:hover, +a.list-group-item:focus { + text-decoration: none; + background-color: #f5f5f5; +} + +a.list-group-item.active, +a.list-group-item.active:hover, +a.list-group-item.active:focus { + z-index: 2; + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +a.list-group-item.active .list-group-item-heading, +a.list-group-item.active:hover .list-group-item-heading, +a.list-group-item.active:focus .list-group-item-heading { + color: inherit; +} + +a.list-group-item.active .list-group-item-text, +a.list-group-item.active:hover .list-group-item-text, +a.list-group-item.active:focus .list-group-item-text { + color: #e1edf7; +} + +.list-group-item-heading { + margin-top: 0; + margin-bottom: 5px; +} + +.list-group-item-text { + margin-bottom: 0; + line-height: 1.3; +} + +.panel { + margin-bottom: 20px; + background-color: #ffffff; + border: 1px solid transparent; + border-radius: 4px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.panel-body { + padding: 15px; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel > .list-group { + margin-bottom: 0; +} + +.panel > .list-group .list-group-item { + border-width: 1px 0; +} + +.panel > .list-group .list-group-item:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.panel > .list-group .list-group-item:last-child { + border-bottom: 0; +} + +.panel-heading + .list-group .list-group-item:first-child { + border-top-width: 0; +} + +.panel > .table, +.panel > .table-responsive > .table { + margin-bottom: 0; +} + +.panel > .panel-body + .table, +.panel > .panel-body + .table-responsive { + border-top: 1px solid #dddddd; +} + +.panel > .table > tbody:first-child th, +.panel > .table > tbody:first-child td { + border-top: 0; +} + +.panel > .table-bordered, +.panel > .table-responsive > .table-bordered { + border: 0; +} + +.panel > .table-bordered > thead > tr > th:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, +.panel > .table-bordered > tbody > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, +.panel > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-bordered > thead > tr > td:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, +.panel > .table-bordered > tbody > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, +.panel > .table-bordered > tfoot > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; +} + +.panel > .table-bordered > thead > tr > th:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, +.panel > .table-bordered > tbody > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, +.panel > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-bordered > thead > tr > td:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, +.panel > .table-bordered > tbody > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, +.panel > .table-bordered > tfoot > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; +} + +.panel > .table-bordered > thead > tr:last-child > th, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > th, +.panel > .table-bordered > tbody > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, +.panel > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-bordered > thead > tr:last-child > td, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > td, +.panel > .table-bordered > tbody > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, +.panel > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; +} + +.panel > .table-responsive { + margin-bottom: 0; + border: 0; +} + +.panel-heading { + padding: 10px 15px; + border-bottom: 1px solid transparent; + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} + +.panel-heading > .dropdown .dropdown-toggle { + color: inherit; +} + +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: 16px; + color: inherit; +} + +.panel-title > a { + color: inherit; +} + +.panel-footer { + padding: 10px 15px; + background-color: #f5f5f5; + border-top: 1px solid #dddddd; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} + +.panel-group .panel { + margin-bottom: 0; + overflow: hidden; + border-radius: 4px; +} + +.panel-group .panel + .panel { + margin-top: 5px; +} + +.panel-group .panel-heading { + border-bottom: 0; +} + +.panel-group .panel-heading + .panel-collapse .panel-body { + border-top: 1px solid #dddddd; +} + +.panel-group .panel-footer { + border-top: 0; +} + +.panel-group .panel-footer + .panel-collapse .panel-body { + border-bottom: 1px solid #dddddd; +} + +.panel-default { + border-color: #dddddd; +} + +.panel-default > .panel-heading { + color: #333333; + background-color: #f5f5f5; + border-color: #dddddd; +} + +.panel-default > .panel-heading + .panel-collapse .panel-body { + border-top-color: #dddddd; +} + +.panel-default > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #dddddd; +} + +.panel-primary { + border-color: #428bca; +} + +.panel-primary > .panel-heading { + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +.panel-primary > .panel-heading + .panel-collapse .panel-body { + border-top-color: #428bca; +} + +.panel-primary > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #428bca; +} + +.panel-success { + border-color: #d6e9c6; +} + +.panel-success > .panel-heading { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.panel-success > .panel-heading + .panel-collapse .panel-body { + border-top-color: #d6e9c6; +} + +.panel-success > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #d6e9c6; +} + +.panel-warning { + border-color: #faebcc; +} + +.panel-warning > .panel-heading { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.panel-warning > .panel-heading + .panel-collapse .panel-body { + border-top-color: #faebcc; +} + +.panel-warning > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #faebcc; +} + +.panel-danger { + border-color: #ebccd1; +} + +.panel-danger > .panel-heading { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.panel-danger > .panel-heading + .panel-collapse .panel-body { + border-top-color: #ebccd1; +} + +.panel-danger > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #ebccd1; +} + +.panel-info { + border-color: #bce8f1; +} + +.panel-info > .panel-heading { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.panel-info > .panel-heading + .panel-collapse .panel-body { + border-top-color: #bce8f1; +} + +.panel-info > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #bce8f1; +} + +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e3e3e3; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, 0.15); +} + +.well-lg { + padding: 24px; + border-radius: 6px; +} + +.well-sm { + padding: 9px; + border-radius: 3px; +} + +.close { + float: right; + font-size: 21px; + font-weight: bold; + line-height: 1; + color: #000000; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} + +.close:hover, +.close:focus { + color: #000000; + text-decoration: none; + cursor: pointer; + opacity: 0.5; + filter: alpha(opacity=50); +} + +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} + +.modal-open { + overflow: hidden; +} + +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + display: none; + overflow: auto; + overflow-y: scroll; +} + +.modal.fade .modal-dialog { + -webkit-transform: translate(0, -25%); + -ms-transform: translate(0, -25%); + transform: translate(0, -25%); + -webkit-transition: -webkit-transform 0.3s ease-out; + -moz-transition: -moz-transform 0.3s ease-out; + -o-transition: -o-transform 0.3s ease-out; + transition: transform 0.3s ease-out; +} + +.modal.in .modal-dialog { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); +} + +.modal-dialog { + position: relative; + z-index: 1050; + width: auto; + margin: 10px; +} + +.modal-content { + position: relative; + background-color: #ffffff; + border: 1px solid #999999; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + outline: none; + -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + background-clip: padding-box; +} + +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1030; + background-color: #000000; +} + +.modal-backdrop.fade { + opacity: 0; + filter: alpha(opacity=0); +} + +.modal-backdrop.in { + opacity: 0.5; + filter: alpha(opacity=50); +} + +.modal-header { + min-height: 16.428571429px; + padding: 15px; + border-bottom: 1px solid #e5e5e5; +} + +.modal-header .close { + margin-top: -2px; +} + +.modal-title { + margin: 0; + line-height: 1.428571429; +} + +.modal-body { + position: relative; + padding: 20px; +} + +.modal-footer { + padding: 19px 20px 20px; + margin-top: 15px; + text-align: right; + border-top: 1px solid #e5e5e5; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer .btn + .btn { + margin-bottom: 0; + margin-left: 5px; +} + +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} + +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} + +@media screen and (min-width: 768px) { + .modal-dialog { + width: 600px; + margin: 30px auto; + } + .modal-content { + -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + } +} + +.tooltip { + position: absolute; + z-index: 1030; + display: block; + font-size: 12px; + line-height: 1.4; + opacity: 0; + filter: alpha(opacity=0); + visibility: visible; +} + +.tooltip.in { + opacity: 0.9; + filter: alpha(opacity=90); +} + +.tooltip.top { + padding: 5px 0; + margin-top: -3px; +} + +.tooltip.right { + padding: 0 5px; + margin-left: 3px; +} + +.tooltip.bottom { + padding: 5px 0; + margin-top: 3px; +} + +.tooltip.left { + padding: 0 5px; + margin-left: -3px; +} + +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: #ffffff; + text-align: center; + text-decoration: none; + background-color: #000000; + border-radius: 4px; +} + +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-left .tooltip-arrow { + bottom: 0; + left: 5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-right .tooltip-arrow { + right: 5px; + bottom: 0; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-right-color: #000000; + border-width: 5px 5px 5px 0; +} + +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-left-color: #000000; + border-width: 5px 0 5px 5px; +} + +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-left .tooltip-arrow { + top: 0; + left: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-right .tooltip-arrow { + top: 0; + right: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1010; + display: none; + max-width: 276px; + padding: 1px; + text-align: left; + white-space: normal; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + background-clip: padding-box; +} + +.popover.top { + margin-top: -10px; +} + +.popover.right { + margin-left: 10px; +} + +.popover.bottom { + margin-top: 10px; +} + +.popover.left { + margin-left: -10px; +} + +.popover-title { + padding: 8px 14px; + margin: 0; + font-size: 14px; + font-weight: normal; + line-height: 18px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-radius: 5px 5px 0 0; +} + +.popover-content { + padding: 9px 14px; +} + +.popover .arrow, +.popover .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.popover .arrow { + border-width: 11px; +} + +.popover .arrow:after { + border-width: 10px; + content: ""; +} + +.popover.top .arrow { + bottom: -11px; + left: 50%; + margin-left: -11px; + border-top-color: #999999; + border-top-color: rgba(0, 0, 0, 0.25); + border-bottom-width: 0; +} + +.popover.top .arrow:after { + bottom: 1px; + margin-left: -10px; + border-top-color: #ffffff; + border-bottom-width: 0; + content: " "; +} + +.popover.right .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-right-color: #999999; + border-right-color: rgba(0, 0, 0, 0.25); + border-left-width: 0; +} + +.popover.right .arrow:after { + bottom: -10px; + left: 1px; + border-right-color: #ffffff; + border-left-width: 0; + content: " "; +} + +.popover.bottom .arrow { + top: -11px; + left: 50%; + margin-left: -11px; + border-bottom-color: #999999; + border-bottom-color: rgba(0, 0, 0, 0.25); + border-top-width: 0; +} + +.popover.bottom .arrow:after { + top: 1px; + margin-left: -10px; + border-bottom-color: #ffffff; + border-top-width: 0; + content: " "; +} + +.popover.left .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-left-color: #999999; + border-left-color: rgba(0, 0, 0, 0.25); + border-right-width: 0; +} + +.popover.left .arrow:after { + right: 1px; + bottom: -10px; + border-left-color: #ffffff; + border-right-width: 0; + content: " "; +} + +.carousel { + position: relative; +} + +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} + +.carousel-inner > .item { + position: relative; + display: none; + -webkit-transition: 0.6s ease-in-out left; + transition: 0.6s ease-in-out left; +} + +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + display: block; + height: auto; + max-width: 100%; + line-height: 1; +} + +.carousel-inner > .active, +.carousel-inner > .next, +.carousel-inner > .prev { + display: block; +} + +.carousel-inner > .active { + left: 0; +} + +.carousel-inner > .next, +.carousel-inner > .prev { + position: absolute; + top: 0; + width: 100%; +} + +.carousel-inner > .next { + left: 100%; +} + +.carousel-inner > .prev { + left: -100%; +} + +.carousel-inner > .next.left, +.carousel-inner > .prev.right { + left: 0; +} + +.carousel-inner > .active.left { + left: -100%; +} + +.carousel-inner > .active.right { + left: 100%; +} + +.carousel-control { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 15%; + font-size: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); + opacity: 0.5; + filter: alpha(opacity=50); +} + +.carousel-control.left { + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0), color-stop(rgba(0, 0, 0, 0.0001) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); +} + +.carousel-control.right { + right: 0; + left: auto; + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0), color-stop(rgba(0, 0, 0, 0.5) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); +} + +.carousel-control:hover, +.carousel-control:focus { + color: #ffffff; + text-decoration: none; + outline: none; + opacity: 0.9; + filter: alpha(opacity=90); +} + +.carousel-control .icon-prev, +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-left, +.carousel-control .glyphicon-chevron-right { + position: absolute; + top: 50%; + z-index: 5; + display: inline-block; +} + +.carousel-control .icon-prev, +.carousel-control .glyphicon-chevron-left { + left: 50%; +} + +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-right { + right: 50%; +} + +.carousel-control .icon-prev, +.carousel-control .icon-next { + width: 20px; + height: 20px; + margin-top: -10px; + margin-left: -10px; + font-family: serif; +} + +.carousel-control .icon-prev:before { + content: '\2039'; +} + +.carousel-control .icon-next:before { + content: '\203a'; +} + +.carousel-indicators { + position: absolute; + bottom: 10px; + left: 50%; + z-index: 15; + width: 60%; + padding-left: 0; + margin-left: -30%; + text-align: center; + list-style: none; +} + +.carousel-indicators li { + display: inline-block; + width: 10px; + height: 10px; + margin: 1px; + text-indent: -999px; + cursor: pointer; + background-color: #000 \9; + background-color: rgba(0, 0, 0, 0); + border: 1px solid #ffffff; + border-radius: 10px; +} + +.carousel-indicators .active { + width: 12px; + height: 12px; + margin: 0; + background-color: #ffffff; +} + +.carousel-caption { + position: absolute; + right: 15%; + bottom: 20px; + left: 15%; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); +} + +.carousel-caption .btn { + text-shadow: none; +} + +@media screen and (min-width: 768px) { + .carousel-control .glyphicons-chevron-left, + .carousel-control .glyphicons-chevron-right, + .carousel-control .icon-prev, + .carousel-control .icon-next { + width: 30px; + height: 30px; + margin-top: -15px; + margin-left: -15px; + font-size: 30px; + } + .carousel-caption { + right: 20%; + left: 20%; + padding-bottom: 30px; + } + .carousel-indicators { + bottom: 20px; + } +} + +.clearfix:before, +.clearfix:after { + display: table; + content: " "; +} + +.clearfix:after { + clear: both; +} + +.center-block { + display: block; + margin-right: auto; + margin-left: auto; +} + +.pull-right { + float: right !important; +} + +.pull-left { + float: left !important; +} + +.hide { + display: none !important; +} + +.show { + display: block !important; +} + +.invisible { + visibility: hidden; +} + +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.hidden { + display: none !important; + visibility: hidden !important; +} + +.affix { + position: fixed; +} + +@-ms-viewport { + width: device-width; +} + +.visible-xs, +tr.visible-xs, +th.visible-xs, +td.visible-xs { + display: none !important; +} + +@media (max-width: 767px) { + .visible-xs { + display: block !important; + } + table.visible-xs { + display: table; + } + tr.visible-xs { + display: table-row !important; + } + th.visible-xs, + td.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-xs.visible-sm { + display: block !important; + } + table.visible-xs.visible-sm { + display: table; + } + tr.visible-xs.visible-sm { + display: table-row !important; + } + th.visible-xs.visible-sm, + td.visible-xs.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-xs.visible-md { + display: block !important; + } + table.visible-xs.visible-md { + display: table; + } + tr.visible-xs.visible-md { + display: table-row !important; + } + th.visible-xs.visible-md, + td.visible-xs.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-xs.visible-lg { + display: block !important; + } + table.visible-xs.visible-lg { + display: table; + } + tr.visible-xs.visible-lg { + display: table-row !important; + } + th.visible-xs.visible-lg, + td.visible-xs.visible-lg { + display: table-cell !important; + } +} + +.visible-sm, +tr.visible-sm, +th.visible-sm, +td.visible-sm { + display: none !important; +} + +@media (max-width: 767px) { + .visible-sm.visible-xs { + display: block !important; + } + table.visible-sm.visible-xs { + display: table; + } + tr.visible-sm.visible-xs { + display: table-row !important; + } + th.visible-sm.visible-xs, + td.visible-sm.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm { + display: block !important; + } + table.visible-sm { + display: table; + } + tr.visible-sm { + display: table-row !important; + } + th.visible-sm, + td.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-sm.visible-md { + display: block !important; + } + table.visible-sm.visible-md { + display: table; + } + tr.visible-sm.visible-md { + display: table-row !important; + } + th.visible-sm.visible-md, + td.visible-sm.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-sm.visible-lg { + display: block !important; + } + table.visible-sm.visible-lg { + display: table; + } + tr.visible-sm.visible-lg { + display: table-row !important; + } + th.visible-sm.visible-lg, + td.visible-sm.visible-lg { + display: table-cell !important; + } +} + +.visible-md, +tr.visible-md, +th.visible-md, +td.visible-md { + display: none !important; +} + +@media (max-width: 767px) { + .visible-md.visible-xs { + display: block !important; + } + table.visible-md.visible-xs { + display: table; + } + tr.visible-md.visible-xs { + display: table-row !important; + } + th.visible-md.visible-xs, + td.visible-md.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-md.visible-sm { + display: block !important; + } + table.visible-md.visible-sm { + display: table; + } + tr.visible-md.visible-sm { + display: table-row !important; + } + th.visible-md.visible-sm, + td.visible-md.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md { + display: block !important; + } + table.visible-md { + display: table; + } + tr.visible-md { + display: table-row !important; + } + th.visible-md, + td.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-md.visible-lg { + display: block !important; + } + table.visible-md.visible-lg { + display: table; + } + tr.visible-md.visible-lg { + display: table-row !important; + } + th.visible-md.visible-lg, + td.visible-md.visible-lg { + display: table-cell !important; + } +} + +.visible-lg, +tr.visible-lg, +th.visible-lg, +td.visible-lg { + display: none !important; +} + +@media (max-width: 767px) { + .visible-lg.visible-xs { + display: block !important; + } + table.visible-lg.visible-xs { + display: table; + } + tr.visible-lg.visible-xs { + display: table-row !important; + } + th.visible-lg.visible-xs, + td.visible-lg.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-lg.visible-sm { + display: block !important; + } + table.visible-lg.visible-sm { + display: table; + } + tr.visible-lg.visible-sm { + display: table-row !important; + } + th.visible-lg.visible-sm, + td.visible-lg.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-lg.visible-md { + display: block !important; + } + table.visible-lg.visible-md { + display: table; + } + tr.visible-lg.visible-md { + display: table-row !important; + } + th.visible-lg.visible-md, + td.visible-lg.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-lg { + display: block !important; + } + table.visible-lg { + display: table; + } + tr.visible-lg { + display: table-row !important; + } + th.visible-lg, + td.visible-lg { + display: table-cell !important; + } +} + +.hidden-xs { + display: block !important; +} + +table.hidden-xs { + display: table; +} + +tr.hidden-xs { + display: table-row !important; +} + +th.hidden-xs, +td.hidden-xs { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-xs, + tr.hidden-xs, + th.hidden-xs, + td.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-xs.hidden-sm, + tr.hidden-xs.hidden-sm, + th.hidden-xs.hidden-sm, + td.hidden-xs.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-xs.hidden-md, + tr.hidden-xs.hidden-md, + th.hidden-xs.hidden-md, + td.hidden-xs.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-xs.hidden-lg, + tr.hidden-xs.hidden-lg, + th.hidden-xs.hidden-lg, + td.hidden-xs.hidden-lg { + display: none !important; + } +} + +.hidden-sm { + display: block !important; +} + +table.hidden-sm { + display: table; +} + +tr.hidden-sm { + display: table-row !important; +} + +th.hidden-sm, +td.hidden-sm { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-sm.hidden-xs, + tr.hidden-sm.hidden-xs, + th.hidden-sm.hidden-xs, + td.hidden-sm.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-sm, + tr.hidden-sm, + th.hidden-sm, + td.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-sm.hidden-md, + tr.hidden-sm.hidden-md, + th.hidden-sm.hidden-md, + td.hidden-sm.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-sm.hidden-lg, + tr.hidden-sm.hidden-lg, + th.hidden-sm.hidden-lg, + td.hidden-sm.hidden-lg { + display: none !important; + } +} + +.hidden-md { + display: block !important; +} + +table.hidden-md { + display: table; +} + +tr.hidden-md { + display: table-row !important; +} + +th.hidden-md, +td.hidden-md { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-md.hidden-xs, + tr.hidden-md.hidden-xs, + th.hidden-md.hidden-xs, + td.hidden-md.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-md.hidden-sm, + tr.hidden-md.hidden-sm, + th.hidden-md.hidden-sm, + td.hidden-md.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-md, + tr.hidden-md, + th.hidden-md, + td.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-md.hidden-lg, + tr.hidden-md.hidden-lg, + th.hidden-md.hidden-lg, + td.hidden-md.hidden-lg { + display: none !important; + } +} + +.hidden-lg { + display: block !important; +} + +table.hidden-lg { + display: table; +} + +tr.hidden-lg { + display: table-row !important; +} + +th.hidden-lg, +td.hidden-lg { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-lg.hidden-xs, + tr.hidden-lg.hidden-xs, + th.hidden-lg.hidden-xs, + td.hidden-lg.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-lg.hidden-sm, + tr.hidden-lg.hidden-sm, + th.hidden-lg.hidden-sm, + td.hidden-lg.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-lg.hidden-md, + tr.hidden-lg.hidden-md, + th.hidden-lg.hidden-md, + td.hidden-lg.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-lg, + tr.hidden-lg, + th.hidden-lg, + td.hidden-lg { + display: none !important; + } +} + +.visible-print, +tr.visible-print, +th.visible-print, +td.visible-print { + display: none !important; +} + +@media print { + .visible-print { + display: block !important; + } + table.visible-print { + display: table; + } + tr.visible-print { + display: table-row !important; + } + th.visible-print, + td.visible-print { + display: table-cell !important; + } + .hidden-print, + tr.hidden-print, + th.hidden-print, + td.hidden-print { + display: none !important; + } +} + + +/*Added by Maria*/ + + /* Main marketing message and sign up button */ + .jumbotron { + margin: 0px 0; + text-align: center; + } + .jumbotron h1 { + font-size: 80px; + line-height: 1; + } + .jumbotron .lead { + font-size: 20px; + line-height: 1.25; + } + .jumbotron .btn { + font-size: 21px; + padding: 14px 24px; + } + + /* Supporting marketing content */ + .marketing { + margin: 60px 0; + } + .marketing p + h4 { + margin-top: 28px; + } \ No newline at end of file diff --git a/dist/ontology/OOPSevaluation/evaluation/bootstrap.min.js b/dist/ontology/OOPSevaluation/evaluation/bootstrap.min.js new file mode 100644 index 0000000..1a6258e --- /dev/null +++ b/dist/ontology/OOPSevaluation/evaluation/bootstrap.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +if("undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]'),b=!0;if(a.length){var c=this.$element.find("input");"radio"===c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?b=!1:a.find(".active").removeClass("active")),b&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}b&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery); \ No newline at end of file diff --git a/dist/ontology/OOPSevaluation/evaluation/jquery-1.11.0.js b/dist/ontology/OOPSevaluation/evaluation/jquery-1.11.0.js new file mode 100644 index 0000000..3c88fa8 --- /dev/null +++ b/dist/ontology/OOPSevaluation/evaluation/jquery-1.11.0.js @@ -0,0 +1,10337 @@ +/*! + * jQuery JavaScript Library v1.11.0 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-23T21:02Z + */ + +(function( global, factory ) { + + if ( typeof module === "object" && typeof module.exports === "object" ) { + // For CommonJS and CommonJS-like environments where a proper window is present, + // execute the factory and get jQuery + // For environments that do not inherently posses a window with a document + // (such as Node.js), expose a jQuery-making factory as module.exports + // This accentuates the need for the creation of a real window + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Can't do this because several apps including ASP.NET trace +// the stack via arguments.caller.callee and Firefox dies if +// you try to trace through "use strict" call chains. (#13335) +// Support: Firefox 18+ +// + +var deletedIds = []; + +var slice = deletedIds.slice; + +var concat = deletedIds.concat; + +var push = deletedIds.push; + +var indexOf = deletedIds.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var trim = "".trim; + +var support = {}; + + + +var + version = "1.11.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }; + +jQuery.fn = jQuery.prototype = { + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // Start with an empty selector + selector: "", + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num != null ? + + // Return a 'clean' array + ( num < 0 ? this[ num + this.length ] : this[ num ] ) : + + // Return just the object + slice.call( this ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + ret.context = this.context; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: deletedIds.sort, + splice: deletedIds.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var src, copyIsArray, copy, name, options, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + isWindow: function( obj ) { + /* jshint eqeqeq: false */ + return obj != null && obj == obj.window; + }, + + isNumeric: function( obj ) { + // parseFloat NaNs numeric-cast false positives (null|true|false|"") + // ...but misinterprets leading-number strings, particularly hex literals ("0x...") + // subtraction forces infinities to NaN + return obj - parseFloat( obj ) >= 0; + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + isPlainObject: function( obj ) { + var key; + + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + try { + // Not own constructor property must be Object + if ( obj.constructor && + !hasOwn.call(obj, "constructor") && + !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + } catch ( e ) { + // IE8,9 Will throw exceptions on certain host objects #9897 + return false; + } + + // Support: IE<9 + // Handle iteration over inherited properties before own properties. + if ( support.ownLast ) { + for ( key in obj ) { + return hasOwn.call( obj, key ); + } + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + for ( key in obj ) {} + + return key === undefined || hasOwn.call( obj, key ); + }, + + type: function( obj ) { + if ( obj == null ) { + return obj + ""; + } + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call(obj) ] || "object" : + typeof obj; + }, + + // Evaluates a script in a global context + // Workarounds based on findings by Jim Driscoll + // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context + globalEval: function( data ) { + if ( data && jQuery.trim( data ) ) { + // We use execScript on Internet Explorer + // We use an anonymous function so that context is window + // rather than jQuery in Firefox + ( window.execScript || function( data ) { + window[ "eval" ].call( window, data ); + } )( data ); + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + // args is for internal usage only + each: function( obj, callback, args ) { + var value, + i = 0, + length = obj.length, + isArray = isArraylike( obj ); + + if ( args ) { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } + } + + return obj; + }, + + // Use native String.trim function wherever possible + trim: trim && !trim.call("\uFEFF\xA0") ? + function( text ) { + return text == null ? + "" : + trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArraylike( Object(arr) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + var len; + + if ( arr ) { + if ( indexOf ) { + return indexOf.call( arr, elem, i ); + } + + len = arr.length; + i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; + + for ( ; i < len; i++ ) { + // Skip accessing in sparse arrays + if ( i in arr && arr[ i ] === elem ) { + return i; + } + } + } + + return -1; + }, + + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + while ( j < len ) { + first[ i++ ] = second[ j++ ]; + } + + // Support: IE<9 + // Workaround casting of .length to NaN on otherwise arraylike objects (e.g., NodeLists) + if ( len !== len ) { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, + i = 0, + length = elems.length, + isArray = isArraylike( elems ), + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var args, proxy, tmp; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + now: function() { + return +( new Date() ); + }, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +}); + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +function isArraylike( obj ) { + var length = obj.length, + type = jQuery.type( obj ); + + if ( type === "function" || jQuery.isWindow( obj ) ) { + return false; + } + + if ( obj.nodeType === 1 && length ) { + return true; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v1.10.16 + * http://sizzlejs.com/ + * + * Copyright 2013 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-13 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + compile, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + -(new Date()), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // General-purpose constants + strundefined = typeof undefined, + MAX_NEGATIVE = 1 << 31, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf if we can't use a native one + indexOf = arr.indexOf || function( elem ) { + var i = 0, + len = this.length; + for ( ; i < len; i++ ) { + if ( this[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + // http://www.w3.org/TR/css3-syntax/#characters + characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", + + // Loosely modeled on CSS identifier characters + // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors + // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = characterEncoding.replace( "w", "w#" ), + + // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + + "*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", + + // Prefer arguments quoted, + // then not containing pseudos/brackets, + // then attribute selectors/non-parenthetical expressions, + // then anything else + // These preferences are here to reduce the number of selectors + // needing tokenize in the PSEUDO preFilter + pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + characterEncoding + ")" ), + "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), + "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + rescape = /'|\\/g, + + // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }; + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var match, elem, m, nodeType, + // QSA vars + i, groups, old, nid, newContext, newSelector; + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + + context = context || document; + results = results || []; + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { + return []; + } + + if ( documentIsHTML && !seed ) { + + // Shortcuts + if ( (match = rquickExpr.exec( selector )) ) { + // Speed-up: Sizzle("#ID") + if ( (m = match[1]) ) { + if ( nodeType === 9 ) { + elem = context.getElementById( m ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document (jQuery #6963) + if ( elem && elem.parentNode ) { + // Handle the case where IE, Opera, and Webkit return items + // by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + } else { + // Context is not a document + if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && + contains( context, elem ) && elem.id === m ) { + results.push( elem ); + return results; + } + } + + // Speed-up: Sizzle("TAG") + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Speed-up: Sizzle(".CLASS") + } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) { + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // QSA path + if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + nid = old = expando; + newContext = context; + newSelector = nodeType === 9 && selector; + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + groups = tokenize( selector ); + + if ( (old = context.getAttribute("id")) ) { + nid = old.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", nid ); + } + nid = "[id='" + nid + "'] "; + + i = groups.length; + while ( i-- ) { + groups[i] = nid + toSelector( groups[i] ); + } + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context; + newSelector = groups.join(","); + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch(qsaError) { + } finally { + if ( !old ) { + context.removeAttribute("id"); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {Function(string, Object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created div and expects a boolean result + */ +function assert( fn ) { + var div = document.createElement("div"); + + try { + return !!fn( div ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( div.parentNode ) { + div.parentNode.removeChild( div ); + } + // release memory in IE + div = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = attrs.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + ( ~b.sourceIndex || MAX_NEGATIVE ) - + ( ~a.sourceIndex || MAX_NEGATIVE ); + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== strundefined && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, + doc = node ? node.ownerDocument || node : preferredDoc, + parent = doc.defaultView; + + // If no document and documentElement is available, return + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Set our document + document = doc; + docElem = doc.documentElement; + + // Support tests + documentIsHTML = !isXML( doc ); + + // Support: IE>8 + // If iframe document is assigned to "document" variable and if iframe has been reloaded, + // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936 + // IE6-8 do not support the defaultView property so parent will be undefined + if ( parent && parent !== parent.top ) { + // IE11 does not have attachEvent, so all must suffer + if ( parent.addEventListener ) { + parent.addEventListener( "unload", function() { + setDocument(); + }, false ); + } else if ( parent.attachEvent ) { + parent.attachEvent( "onunload", function() { + setDocument(); + }); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans) + support.attributes = assert(function( div ) { + div.className = "i"; + return !div.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( div ) { + div.appendChild( doc.createComment("") ); + return !div.getElementsByTagName("*").length; + }); + + // Check if getElementsByClassName can be trusted + support.getElementsByClassName = rnative.test( doc.getElementsByClassName ) && assert(function( div ) { + div.innerHTML = "
    "; + + // Support: Safari<4 + // Catch class over-caching + div.firstChild.className = "i"; + // Support: Opera<10 + // Catch gEBCN failure to find non-leading classes + return div.getElementsByClassName("i").length === 2; + }); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( div ) { + docElem.appendChild( div ).id = expando; + return !doc.getElementsByName || !doc.getElementsByName( expando ).length; + }); + + // ID find and filter + if ( support.getById ) { + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== strundefined && documentIsHTML ) { + var m = context.getElementById( id ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + }; + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + } else { + // Support: IE6/7 + // getElementById is not reliable as a find shortcut + delete Expr.find["ID"]; + + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== strundefined ) { + return context.getElementsByTagName( tag ); + } + } : + function( tag, context ) { + var elem, + tmp = [], + i = 0, + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See http://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + div.innerHTML = ""; + + // Support: IE8, Opera 10-12 + // Nothing should be selected when empty strings follow ^= or $= or *= + if ( div.querySelectorAll("[t^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + }); + + assert(function( div ) { + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = doc.createElement("input"); + input.setAttribute( "type", "hidden" ); + div.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( div.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + div.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( div, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully does not implement inclusive descendent + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === doc ? -1 : + b === doc ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return doc; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch(e) {} + } + + return Sizzle( expr, document, null, [elem] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[5] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] && match[4] !== undefined ) { + match[2] = match[4]; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, outerCache, node, diff, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + // Seek `elem` from a previously-cached index + outerCache = parent[ expando ] || (parent[ expando ] = {}); + cache = outerCache[ type ] || []; + nodeIndex = cache[0] === dirruns && cache[1]; + diff = cache[0] === dirruns && cache[2]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + outerCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + // Use previously-cached element index if available + } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { + diff = cache[1]; + + // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) + } else { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { + // Cache the index of each encountered element + if ( useCache ) { + (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf.call( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +function tokenize( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +} + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + if ( (oldCache = outerCache[ dir ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + outerCache[ dir ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf.call( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context !== document && context; + } + + // Add elements passing elementMatchers directly to results + // Keep `i` a string if there are no elements so `matchedCount` will be "00" below + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // Apply set filters to unmatched elements + matchedCount += i; + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !group ) { + group = tokenize( selector ); + } + i = group.length; + while ( i-- ) { + cached = matcherFromTokens( group[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + } + return cached; +}; + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function select( selector, context, results, seed ) { + var i, tokens, token, type, find, + match = tokenize( selector ); + + if ( !seed ) { + // Try to minimize operations if there is only one group + if ( match.length === 1 ) { + + // Take a shortcut and set the context if the root selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + support.getById && context.nodeType === 9 && documentIsHTML && + Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + } + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + } + + // Compile and execute a filtering function + // Provide `match` to avoid retokenization if we modified the selector above + compile( selector, match )( + seed, + context, + !documentIsHTML, + results, + rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +} + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome<14 +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( div1 ) { + // Should return 1, but returns 4 (following) + return div1.compareDocumentPosition( document.createElement("div") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( div ) { + div.innerHTML = ""; + return div.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( div ) { + div.innerHTML = ""; + div.firstChild.setAttribute( "value", "" ); + return div.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( div ) { + return div.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.pseudos; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + + +var rneedsContext = jQuery.expr.match.needsContext; + +var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); + + + +var risSimple = /^.[^:#\[\.,]*$/; + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + /* jshint -W018 */ + return !!qualifier.call( elem, i, elem ) !== not; + }); + + } + + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + }); + + } + + if ( typeof qualifier === "string" ) { + if ( risSimple.test( qualifier ) ) { + return jQuery.filter( qualifier, elements, not ); + } + + qualifier = jQuery.filter( qualifier, elements ); + } + + return jQuery.grep( elements, function( elem ) { + return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not; + }); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 && elem.nodeType === 1 ? + jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : + jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + })); +}; + +jQuery.fn.extend({ + find: function( selector ) { + var i, + ret = [], + self = this, + len = self.length; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }) ); + } + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + // Needed because $( selector, context ) becomes $( context ).find( selector ) + ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); + ret.selector = this.selector ? this.selector + " " + selector : selector; + return ret; + }, + filter: function( selector ) { + return this.pushStack( winnow(this, selector || [], false) ); + }, + not: function( selector ) { + return this.pushStack( winnow(this, selector || [], true) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +}); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // Use the correct document accordingly with window argument (sandbox) + document = window.document, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, + + init = jQuery.fn.init = function( selector, context ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + + // scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[1], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + // Properties of context are called as methods if possible + if ( jQuery.isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || rootjQuery ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return typeof rootjQuery.ready !== "undefined" ? + rootjQuery.ready( selector ) : + // Execute immediately if ready is not present + selector( jQuery ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.extend({ + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +jQuery.fn.extend({ + has: function( target ) { + var i, + targets = jQuery( target, this ), + len = targets.length; + + return this.filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) { + // Always skip document fragments + if ( cur.nodeType < 11 && (pos ? + pos.index(cur) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector(cur, selectors)) ) { + + matched.push( cur ); + break; + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return jQuery.inArray( this[0], jQuery( elem ) ); + } + + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.unique( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter(selector) + ); + } +}); + +function sibling( cur, dir ) { + do { + cur = cur[ dir ]; + } while ( cur && cur.nodeType !== 1 ); + + return cur; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + if ( this.length > 1 ) { + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + ret = jQuery.unique( ret ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + } + + return this.pushStack( ret ); + }; +}); +var rnotwhite = (/\S+/g); + + + +// String to Object options format cache +var optionsCache = {}; + +// Convert String-formatted options into Object-formatted ones and store in cache +function createOptions( options ) { + var object = optionsCache[ options ] = {}; + jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) { + object[ flag ] = true; + }); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + ( optionsCache[ options ] || createOptions( options ) ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + // Last fire value (for non-forgettable lists) + memory, + // Flag to know if list was already fired + fired, + // End of the loop when firing + firingLength, + // Index of currently firing callback (modified by remove if needed) + firingIndex, + // First callback to fire (used internally by add and fireWith) + firingStart, + // Actual callback list + list = [], + // Stack of fire calls for repeatable lists + stack = !options.once && [], + // Fire callbacks + fire = function( data ) { + memory = options.memory && data; + fired = true; + firingIndex = firingStart || 0; + firingStart = 0; + firingLength = list.length; + firing = true; + for ( ; list && firingIndex < firingLength; firingIndex++ ) { + if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { + memory = false; // To prevent further calls using add + break; + } + } + firing = false; + if ( list ) { + if ( stack ) { + if ( stack.length ) { + fire( stack.shift() ); + } + } else if ( memory ) { + list = []; + } else { + self.disable(); + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + // First, we save the current length + var start = list.length; + (function add( args ) { + jQuery.each( args, function( _, arg ) { + var type = jQuery.type( arg ); + if ( type === "function" ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && type !== "string" ) { + // Inspect recursively + add( arg ); + } + }); + })( arguments ); + // Do we need to add the callbacks to the + // current firing batch? + if ( firing ) { + firingLength = list.length; + // With memory, if we're not firing then + // we should call right away + } else if ( memory ) { + firingStart = start; + fire( memory ); + } + } + return this; + }, + // Remove a callback from the list + remove: function() { + if ( list ) { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + // Handle firing indexes + if ( firing ) { + if ( index <= firingLength ) { + firingLength--; + } + if ( index <= firingIndex ) { + firingIndex--; + } + } + } + }); + } + return this; + }, + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); + }, + // Remove all callbacks from the list + empty: function() { + list = []; + firingLength = 0; + return this; + }, + // Have the list do nothing anymore + disable: function() { + list = stack = memory = undefined; + return this; + }, + // Is it disabled? + disabled: function() { + return !list; + }, + // Lock the list in its current state + lock: function() { + stack = undefined; + if ( !memory ) { + self.disable(); + } + return this; + }, + // Is it locked? + locked: function() { + return !stack; + }, + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( list && ( !fired || stack ) ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + if ( firing ) { + stack.push( args ); + } else { + fire( args ); + } + } + return this; + }, + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +jQuery.extend({ + + Deferred: function( func ) { + var tuples = [ + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], + [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], + [ "notify", "progress", jQuery.Callbacks("memory") ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred(function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[1] ](function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .done( newDefer.resolve ) + .fail( newDefer.reject ) + .progress( newDefer.notify ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); + } + }); + }); + fns = null; + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[1] ] = list.add; + + // Handle state + if ( stateString ) { + list.add(function() { + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] + deferred[ tuple[0] ] = function() { + deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); + return this; + }; + deferred[ tuple[0] + "With" ] = list.fireWith; + }); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( values === progressValues ) { + deferred.notifyWith( contexts, values ); + + } else if ( !(--remaining) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ) + .progress( updateFunc( i, progressContexts, progressValues ) ); + } else { + --remaining; + } + } + } + + // if we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +}); + + +// The deferred used on DOM ready +var readyList; + +jQuery.fn.ready = function( fn ) { + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; +}; + +jQuery.extend({ + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger("ready").off("ready"); + } + } +}); + +/** + * Clean-up method for dom ready events + */ +function detach() { + if ( document.addEventListener ) { + document.removeEventListener( "DOMContentLoaded", completed, false ); + window.removeEventListener( "load", completed, false ); + + } else { + document.detachEvent( "onreadystatechange", completed ); + window.detachEvent( "onload", completed ); + } +} + +/** + * The ready event handler and self cleanup method + */ +function completed() { + // readyState === "complete" is good enough for us to call the dom ready in oldIE + if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { + detach(); + jQuery.ready(); + } +} + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called after the browser event has already occurred. + // we once tried to use readyState "interactive" here, but it caused issues like the one + // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + setTimeout( jQuery.ready ); + + // Standards-based browsers support DOMContentLoaded + } else if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed, false ); + + // If IE event model is used + } else { + // Ensure firing before onload, maybe late but safe also for iframes + document.attachEvent( "onreadystatechange", completed ); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", completed ); + + // If IE and not a frame + // continually check to see if the document is ready + var top = false; + + try { + top = window.frameElement == null && document.documentElement; + } catch(e) {} + + if ( top && top.doScroll ) { + (function doScrollCheck() { + if ( !jQuery.isReady ) { + + try { + // Use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + top.doScroll("left"); + } catch(e) { + return setTimeout( doScrollCheck, 50 ); + } + + // detach all dom ready events + detach(); + + // and execute any waiting functions + jQuery.ready(); + } + })(); + } + } + } + return readyList.promise( obj ); +}; + + +var strundefined = typeof undefined; + + + +// Support: IE<9 +// Iteration over object's inherited properties before its own +var i; +for ( i in jQuery( support ) ) { + break; +} +support.ownLast = i !== "0"; + +// Note: most support tests are defined in their respective modules. +// false until the test is run +support.inlineBlockNeedsLayout = false; + +jQuery(function() { + // We need to execute this one support test ASAP because we need to know + // if body.style.zoom needs to be set. + + var container, div, + body = document.getElementsByTagName("body")[0]; + + if ( !body ) { + // Return for frameset docs that don't have a body + return; + } + + // Setup + container = document.createElement( "div" ); + container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; + + div = document.createElement( "div" ); + body.appendChild( container ).appendChild( div ); + + if ( typeof div.style.zoom !== strundefined ) { + // Support: IE<8 + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + div.style.cssText = "border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1"; + + if ( (support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 )) ) { + // Prevent IE 6 from affecting layout for positioned elements #11048 + // Prevent IE from shrinking the body in IE 7 mode #12869 + // Support: IE<8 + body.style.zoom = 1; + } + } + + body.removeChild( container ); + + // Null elements to avoid leaks in IE + container = div = null; +}); + + + + +(function() { + var div = document.createElement( "div" ); + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +/** + * Determines whether an object can have data + */ +jQuery.acceptData = function( elem ) { + var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ], + nodeType = +elem.nodeType || 1; + + // Do not set data on non-element DOM nodes because it will not be cleared (#8335). + return nodeType !== 1 && nodeType !== 9 ? + false : + + // Nodes accept data unless otherwise specified; rejection can be conditional + !noData || noData !== true && elem.getAttribute("classid") === noData; +}; + + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /([A-Z])/g; + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + + var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + +// checks a cache object for emptiness +function isEmptyDataObject( obj ) { + var name; + for ( name in obj ) { + + // if the public data object is empty, the private is still empty + if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { + continue; + } + if ( name !== "toJSON" ) { + return false; + } + } + + return true; +} + +function internalData( elem, name, data, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var ret, thisCache, + internalKey = jQuery.expando, + + // We have to handle DOM nodes and JS objects differently because IE6-7 + // can't GC object references properly across the DOM-JS boundary + isNode = elem.nodeType, + + // Only DOM nodes need the global jQuery cache; JS object data is + // attached directly to the object so GC can occur automatically + cache = isNode ? jQuery.cache : elem, + + // Only defining an ID for JS objects if its cache already exists allows + // the code to shortcut on the same path as a DOM node with no cache + id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; + + // Avoid doing any more work than we need to when trying to get data on an + // object that has no data at all + if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) { + return; + } + + if ( !id ) { + // Only DOM nodes need a new unique ID for each element since their data + // ends up in the global cache + if ( isNode ) { + id = elem[ internalKey ] = deletedIds.pop() || jQuery.guid++; + } else { + id = internalKey; + } + } + + if ( !cache[ id ] ) { + // Avoid exposing jQuery metadata on plain JS objects when the object + // is serialized using JSON.stringify + cache[ id ] = isNode ? {} : { toJSON: jQuery.noop }; + } + + // An object can be passed to jQuery.data instead of a key/value pair; this gets + // shallow copied over onto the existing cache + if ( typeof name === "object" || typeof name === "function" ) { + if ( pvt ) { + cache[ id ] = jQuery.extend( cache[ id ], name ); + } else { + cache[ id ].data = jQuery.extend( cache[ id ].data, name ); + } + } + + thisCache = cache[ id ]; + + // jQuery data() is stored in a separate object inside the object's internal data + // cache in order to avoid key collisions between internal data and user-defined + // data. + if ( !pvt ) { + if ( !thisCache.data ) { + thisCache.data = {}; + } + + thisCache = thisCache.data; + } + + if ( data !== undefined ) { + thisCache[ jQuery.camelCase( name ) ] = data; + } + + // Check for both converted-to-camel and non-converted data property names + // If a data property was specified + if ( typeof name === "string" ) { + + // First Try to find as-is property data + ret = thisCache[ name ]; + + // Test for null|undefined property data + if ( ret == null ) { + + // Try to find the camelCased property + ret = thisCache[ jQuery.camelCase( name ) ]; + } + } else { + ret = thisCache; + } + + return ret; +} + +function internalRemoveData( elem, name, pvt ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, i, + isNode = elem.nodeType, + + // See jQuery.data for more information + cache = isNode ? jQuery.cache : elem, + id = isNode ? elem[ jQuery.expando ] : jQuery.expando; + + // If there is already no cache entry for this object, there is no + // purpose in continuing + if ( !cache[ id ] ) { + return; + } + + if ( name ) { + + thisCache = pvt ? cache[ id ] : cache[ id ].data; + + if ( thisCache ) { + + // Support array or space separated string names for data keys + if ( !jQuery.isArray( name ) ) { + + // try the string as a key before any manipulation + if ( name in thisCache ) { + name = [ name ]; + } else { + + // split the camel cased version by spaces unless a key with the spaces exists + name = jQuery.camelCase( name ); + if ( name in thisCache ) { + name = [ name ]; + } else { + name = name.split(" "); + } + } + } else { + // If "name" is an array of keys... + // When data is initially created, via ("key", "val") signature, + // keys will be converted to camelCase. + // Since there is no way to tell _how_ a key was added, remove + // both plain key and camelCase key. #12786 + // This will only penalize the array argument path. + name = name.concat( jQuery.map( name, jQuery.camelCase ) ); + } + + i = name.length; + while ( i-- ) { + delete thisCache[ name[i] ]; + } + + // If there is no data left in the cache, we want to continue + // and let the cache object itself get destroyed + if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) { + return; + } + } + } + + // See jQuery.data for more information + if ( !pvt ) { + delete cache[ id ].data; + + // Don't destroy the parent cache unless the internal data object + // had been the only thing left in it + if ( !isEmptyDataObject( cache[ id ] ) ) { + return; + } + } + + // Destroy the cache + if ( isNode ) { + jQuery.cleanData( [ elem ], true ); + + // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) + /* jshint eqeqeq: false */ + } else if ( support.deleteExpando || cache != cache.window ) { + /* jshint eqeqeq: true */ + delete cache[ id ]; + + // When all else fails, null + } else { + cache[ id ] = null; + } +} + +jQuery.extend({ + cache: {}, + + // The following elements (space-suffixed to avoid Object.prototype collisions) + // throw uncatchable exceptions if you attempt to set expando properties + noData: { + "applet ": true, + "embed ": true, + // ...but Flash objects (which have this classid) *can* handle expandos + "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" + }, + + hasData: function( elem ) { + elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; + return !!elem && !isEmptyDataObject( elem ); + }, + + data: function( elem, name, data ) { + return internalData( elem, name, data ); + }, + + removeData: function( elem, name ) { + return internalRemoveData( elem, name ); + }, + + // For internal use only. + _data: function( elem, name, data ) { + return internalData( elem, name, data, true ); + }, + + _removeData: function( elem, name ) { + return internalRemoveData( elem, name, true ); + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var i, name, data, + elem = this[0], + attrs = elem && elem.attributes; + + // Special expections of .data basically thwart jQuery.access, + // so implement the relevant behavior ourselves + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = jQuery.data( elem ); + + if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + name = attrs[i].name; + + if ( name.indexOf("data-") === 0 ) { + name = jQuery.camelCase( name.slice(5) ); + + dataAttr( elem, name, data[ name ] ); + } + } + jQuery._data( elem, "parsedAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + return arguments.length > 1 ? + + // Sets one value + this.each(function() { + jQuery.data( this, key, value ); + }) : + + // Gets one value + // Try to fetch any internally stored data first + elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : undefined; + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + + +jQuery.extend({ + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = jQuery._data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray(data) ) { + queue = jQuery._data( elem, type, jQuery.makeArray(data) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // not intended for public consumption - generates a queueHooks object, or returns the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return jQuery._data( elem, key ) || jQuery._data( elem, key, { + empty: jQuery.Callbacks("once memory").add(function() { + jQuery._removeData( elem, type + "queue" ); + jQuery._removeData( elem, key ); + }) + }); + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[0], type ); + } + + return data === undefined ? + this : + this.each(function() { + var queue = jQuery.queue( this, type, data ); + + // ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = jQuery._data( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +}); +var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var isHidden = function( elem, el ) { + // isHidden might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); + }; + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + length = elems.length, + bulk = key == null; + + // Sets many values + if ( jQuery.type( key ) === "object" ) { + chainable = true; + for ( i in key ) { + jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !jQuery.isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < length; i++ ) { + fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); + } + } + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + length ? fn( elems[0], key ) : emptyGet; +}; +var rcheckableType = (/^(?:checkbox|radio)$/i); + + + +(function() { + var fragment = document.createDocumentFragment(), + div = document.createElement("div"), + input = document.createElement("input"); + + // Setup + div.setAttribute( "className", "t" ); + div.innerHTML = "
    a"; + + // IE strips leading whitespace when .innerHTML is used + support.leadingWhitespace = div.firstChild.nodeType === 3; + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + support.tbody = !div.getElementsByTagName( "tbody" ).length; + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + support.htmlSerialize = !!div.getElementsByTagName( "link" ).length; + + // Makes sure cloning an html5 element does not cause problems + // Where outerHTML is undefined, this still works + support.html5Clone = + document.createElement( "nav" ).cloneNode( true ).outerHTML !== "<:nav>"; + + // Check if a disconnected checkbox will retain its checked + // value of true after appended to the DOM (IE6/7) + input.type = "checkbox"; + input.checked = true; + fragment.appendChild( input ); + support.appendChecked = input.checked; + + // Make sure textarea (and checkbox) defaultValue is properly cloned + // Support: IE6-IE11+ + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // #11217 - WebKit loses check when the name is after the checked attribute + fragment.appendChild( div ); + div.innerHTML = ""; + + // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3 + // old WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE<9 + // Opera does not clone events (and typeof div.attachEvent === undefined). + // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() + support.noCloneEvent = true; + if ( div.attachEvent ) { + div.attachEvent( "onclick", function() { + support.noCloneEvent = false; + }); + + div.cloneNode( true ).click(); + } + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + fragment = div = input = null; +})(); + + +(function() { + var i, eventName, + div = document.createElement( "div" ); + + // Support: IE<9 (lack submit/change bubble), Firefox 23+ (lack focusin event) + for ( i in { submit: true, change: true, focusin: true }) { + eventName = "on" + i; + + if ( !(support[ i + "Bubbles" ] = eventName in window) ) { + // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP) + div.setAttribute( eventName, "t" ); + support[ i + "Bubbles" ] = div.attributes[ eventName ].expando === false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +var rformElems = /^(?:input|select|textarea)$/i, + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|contextmenu)|click/, + rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + var tmp, events, t, handleObjIn, + special, eventHandle, handleObj, + handlers, type, namespaces, origType, + elemData = jQuery._data( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !(events = elemData.events) ) { + events = elemData.events = {}; + } + if ( !(eventHandle = elemData.handle) ) { + eventHandle = elemData.handle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== strundefined && (!e || jQuery.event.triggered !== e.type) ? + jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : + undefined; + }; + // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events + eventHandle.elem = elem; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend({ + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join(".") + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !(handlers = events[ type ]) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener/attachEvent if the special events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + var j, handleObj, tmp, + origCount, t, events, + special, handlers, type, + namespaces, origType, + elemData = jQuery.hasData( elem ) && jQuery._data( elem ); + + if ( !elemData || !(events = elemData.events) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + delete elemData.handle; + + // removeData also checks for emptiness and clears the expando if empty + // so use it instead of delete + jQuery._removeData( elem, "events" ); + } + }, + + trigger: function( event, data, elem, onlyHandlers ) { + var handle, ontype, cur, + bubbleType, special, tmp, i, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; + + cur = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf(".") >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf(":") < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join("."); + event.namespace_re = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === (elem.ownerDocument || document) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { + + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && jQuery.acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) && + jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Can't use an .isFunction() check here because IE6/7 fails that test. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + try { + elem[ type ](); + } catch ( e ) { + // IE<9 dies on focus/blur to hidden element (#1486,#12518) + // only reproducible on winXP IE8 native, not IE9 in IE8 mode + } + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event ); + + var i, ret, handleObj, matched, j, + handlerQueue = [], + args = slice.call( arguments ), + handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) + .apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( (event.result = ret) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var sel, handleObj, matches, i, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + // Black-hole SVG instance trees (#13180) + // Avoid non-left-click bubbling in Firefox (#3861) + if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { + + /* jshint eqeqeq: false */ + for ( ; cur != this; cur = cur.parentNode || this ) { + /* jshint eqeqeq: true */ + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matches[ sel ] === undefined ) { + matches[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) >= 0 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matches[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push({ elem: cur, handlers: matches }); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( delegateCount < handlers.length ) { + handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); + } + + return handlerQueue; + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, copy, + type = event.type, + originalEvent = event, + fixHook = this.fixHooks[ type ]; + + if ( !fixHook ) { + this.fixHooks[ type ] = fixHook = + rmouseEvent.test( type ) ? this.mouseHooks : + rkeyEvent.test( type ) ? this.keyHooks : + {}; + } + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = new jQuery.Event( originalEvent ); + + i = copy.length; + while ( i-- ) { + prop = copy[ i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Support: IE<9 + // Fix target property (#1925) + if ( !event.target ) { + event.target = originalEvent.srcElement || document; + } + + // Support: Chrome 23+, Safari? + // Target should not be a text node (#504, #13143) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // Support: IE<9 + // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) + event.metaKey = !!event.metaKey; + + return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split(" "), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function( event, original ) { + var body, eventDoc, doc, + button = original.button, + fromElement = original.fromElement; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && fromElement ) { + event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + special: { + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + try { + this.focus(); + return false; + } catch ( e ) { + // Support: IE<9 + // If we error on focus to hidden element (#1486, #12518), + // let .trigger() run the handlers + } + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return jQuery.nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Even when returnValue equals to undefined Firefox will still show alert + if ( event.result !== undefined ) { + event.originalEvent.returnValue = event.result; + } + } + } + }, + + simulate: function( type, elem, event, bubble ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true, + originalEvent: {} + } + ); + if ( bubble ) { + jQuery.event.trigger( e, null, elem ); + } else { + jQuery.event.dispatch.call( elem, e ); + } + if ( e.isDefaultPrevented() ) { + event.preventDefault(); + } + } +}; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + var name = "on" + type; + + if ( elem.detachEvent ) { + + // #8545, #7054, preventing memory leaks for custom events in IE6-8 + // detachEvent needed property on element, by name of that event, to properly expose it to GC + if ( typeof elem[ name ] === strundefined ) { + elem[ name ] = null; + } + + elem.detachEvent( name, handle ); + } + }; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !(this instanceof jQuery.Event) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && ( + // Support: IE < 9 + src.returnValue === false || + // Support: Android < 4.0 + src.getPreventDefault && src.getPreventDefault() ) ? + returnTrue : + returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + if ( !e ) { + return; + } + + // If preventDefault exists, run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // Support: IE + // Otherwise set the returnValue property of the original event to false + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + if ( !e ) { + return; + } + // If stopPropagation exists, run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + + // Support: IE + // Set the cancelBubble property of the original event to true + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + } +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mousenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || (related !== target && !jQuery.contains( target, related )) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +}); + +// IE submit delegation +if ( !support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Lazy-add a submit handler when a descendant form may potentially be submitted + jQuery.event.add( this, "click._submit keypress._submit", function( e ) { + // Node name check avoids a VML-related crash in IE (#9807) + var elem = e.target, + form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; + if ( form && !jQuery._data( form, "submitBubbles" ) ) { + jQuery.event.add( form, "submit._submit", function( event ) { + event._submit_bubble = true; + }); + jQuery._data( form, "submitBubbles", true ); + } + }); + // return undefined since we don't need an event listener + }, + + postDispatch: function( event ) { + // If form was submitted by the user, bubble the event up the tree + if ( event._submit_bubble ) { + delete event._submit_bubble; + if ( this.parentNode && !event.isTrigger ) { + jQuery.event.simulate( "submit", this.parentNode, event, true ); + } + } + }, + + teardown: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Remove delegated handlers; cleanData eventually reaps submit handlers attached above + jQuery.event.remove( this, "._submit" ); + } + }; +} + +// IE change delegation and checkbox/radio fix +if ( !support.changeBubbles ) { + + jQuery.event.special.change = { + + setup: function() { + + if ( rformElems.test( this.nodeName ) ) { + // IE doesn't fire change on a check/radio until blur; trigger it on click + // after a propertychange. Eat the blur-change in special.change.handle. + // This still fires onchange a second time for check/radio after blur. + if ( this.type === "checkbox" || this.type === "radio" ) { + jQuery.event.add( this, "propertychange._change", function( event ) { + if ( event.originalEvent.propertyName === "checked" ) { + this._just_changed = true; + } + }); + jQuery.event.add( this, "click._change", function( event ) { + if ( this._just_changed && !event.isTrigger ) { + this._just_changed = false; + } + // Allow triggered, simulated change events (#11500) + jQuery.event.simulate( "change", this, event, true ); + }); + } + return false; + } + // Delegated event; lazy-add a change handler on descendant inputs + jQuery.event.add( this, "beforeactivate._change", function( e ) { + var elem = e.target; + + if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { + jQuery.event.add( elem, "change._change", function( event ) { + if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { + jQuery.event.simulate( "change", this.parentNode, event, true ); + } + }); + jQuery._data( elem, "changeBubbles", true ); + } + }); + }, + + handle: function( event ) { + var elem = event.target; + + // Swallow native change events from checkbox/radio, we already triggered them above + if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { + return event.handleObj.handler.apply( this, arguments ); + } + }, + + teardown: function() { + jQuery.event.remove( this, "._change" ); + + return !rformElems.test( this.nodeName ); + } + }; +} + +// Create "bubbling" focus and blur events +if ( !support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + jQuery._data( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + jQuery._removeData( doc, fix ); + } else { + jQuery._data( doc, fix, attaches ); + } + } + }; + }); +} + +jQuery.fn.extend({ + + on: function( types, selector, data, fn, /*INTERNAL*/ one ) { + var type, origFn; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + this.on( type, selector, data, types[ type ], one ); + } + return this; + } + + if ( data == null && fn == null ) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return this; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return this.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + }); + }, + one: function( types, selector, data, fn ) { + return this.on( types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each(function() { + jQuery.event.remove( this, types, fn, selector ); + }); + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + triggerHandler: function( type, data ) { + var elem = this[0]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +}); + + +function createSafeFragment( document ) { + var list = nodeNames.split( "|" ), + safeFrag = document.createDocumentFragment(); + + if ( safeFrag.createElement ) { + while ( list.length ) { + safeFrag.createElement( + list.pop() + ); + } + } + return safeFrag; +} + +var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + + "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", + rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, + rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, + rtagName = /<([\w:]+)/, + rtbody = /\s*$/g, + + // We have to close these tags to support XHTML (#13200) + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "
    ", "
    " ], + area: [ 1, "", "" ], + param: [ 1, "", "" ], + thead: [ 1, "", "
    " ], + tr: [ 2, "", "
    " ], + col: [ 2, "", "
    " ], + td: [ 3, "", "
    " ], + + // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, + // unless wrapped in a div with non-breaking characters in front of it. + _default: support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X
    ", "
    " ] + }, + safeFragment = createSafeFragment( document ), + fragmentDiv = safeFragment.appendChild( document.createElement("div") ); + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +function getAll( context, tag ) { + var elems, elem, + i = 0, + found = typeof context.getElementsByTagName !== strundefined ? context.getElementsByTagName( tag || "*" ) : + typeof context.querySelectorAll !== strundefined ? context.querySelectorAll( tag || "*" ) : + undefined; + + if ( !found ) { + for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { + if ( !tag || jQuery.nodeName( elem, tag ) ) { + found.push( elem ); + } else { + jQuery.merge( found, getAll( elem, tag ) ); + } + } + } + + return tag === undefined || tag && jQuery.nodeName( context, tag ) ? + jQuery.merge( [ context ], found ) : + found; +} + +// Used in buildFragment, fixes the defaultChecked property +function fixDefaultChecked( elem ) { + if ( rcheckableType.test( elem.type ) ) { + elem.defaultChecked = elem.checked; + } +} + +// Support: IE<8 +// Manipulating tables requires a tbody +function manipulationTarget( elem, content ) { + return jQuery.nodeName( elem, "table" ) && + jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ? + + elem.getElementsByTagName("tbody")[0] || + elem.appendChild( elem.ownerDocument.createElement("tbody") ) : + elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + var match = rscriptTypeMasked.exec( elem.type ); + if ( match ) { + elem.type = match[1]; + } else { + elem.removeAttribute("type"); + } + return elem; +} + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var elem, + i = 0; + for ( ; (elem = elems[i]) != null; i++ ) { + jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); + } +} + +function cloneCopyEvent( src, dest ) { + + if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { + return; + } + + var type, i, l, + oldData = jQuery._data( src ), + curData = jQuery._data( dest, oldData ), + events = oldData.events; + + if ( events ) { + delete curData.handle; + curData.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + + // make the cloned public data object a copy from the original + if ( curData.data ) { + curData.data = jQuery.extend( {}, curData.data ); + } +} + +function fixCloneNodeIssues( src, dest ) { + var nodeName, e, data; + + // We do not need to do anything for non-Elements + if ( dest.nodeType !== 1 ) { + return; + } + + nodeName = dest.nodeName.toLowerCase(); + + // IE6-8 copies events bound via attachEvent when using cloneNode. + if ( !support.noCloneEvent && dest[ jQuery.expando ] ) { + data = jQuery._data( dest ); + + for ( e in data.events ) { + jQuery.removeEvent( dest, e, data.handle ); + } + + // Event data gets referenced instead of copied if the expando gets copied too + dest.removeAttribute( jQuery.expando ); + } + + // IE blanks contents when cloning scripts, and tries to evaluate newly-set text + if ( nodeName === "script" && dest.text !== src.text ) { + disableScript( dest ).text = src.text; + restoreScript( dest ); + + // IE6-10 improperly clones children of object elements using classid. + // IE10 throws NoModificationAllowedError if parent is null, #12132. + } else if ( nodeName === "object" ) { + if ( dest.parentNode ) { + dest.outerHTML = src.outerHTML; + } + + // This path appears unavoidable for IE9. When cloning an object + // element in IE9, the outerHTML strategy above is not sufficient. + // If the src has innerHTML and the destination does not, + // copy the src.innerHTML into the dest.innerHTML. #10324 + if ( support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { + dest.innerHTML = src.innerHTML; + } + + } else if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + // IE6-8 fails to persist the checked state of a cloned checkbox + // or radio button. Worse, IE6-7 fail to give the cloned element + // a checked appearance if the defaultChecked value isn't also set + + dest.defaultChecked = dest.checked = src.checked; + + // IE6-7 get confused and end up setting the value of a cloned + // checkbox/radio button to an empty string instead of "on" + if ( dest.value !== src.value ) { + dest.value = src.value; + } + + // IE6-8 fails to return the selected option to the default selected + // state when cloning options + } else if ( nodeName === "option" ) { + dest.defaultSelected = dest.selected = src.defaultSelected; + + // IE6-8 fails to set the defaultValue to the correct value when + // cloning other types of input fields + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +jQuery.extend({ + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var destElements, node, clone, i, srcElements, + inPage = jQuery.contains( elem.ownerDocument, elem ); + + if ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { + clone = elem.cloneNode( true ); + + // IE<=8 does not properly clone detached, unknown element nodes + } else { + fragmentDiv.innerHTML = elem.outerHTML; + fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); + } + + if ( (!support.noCloneEvent || !support.noCloneChecked) && + (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { + + // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + // Fix all IE cloning issues + for ( i = 0; (node = srcElements[i]) != null; ++i ) { + // Ensure that the destination node is not null; Fixes #9587 + if ( destElements[i] ) { + fixCloneNodeIssues( node, destElements[i] ); + } + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0; (node = srcElements[i]) != null; i++ ) { + cloneCopyEvent( node, destElements[i] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + destElements = srcElements = node = null; + + // Return the cloned set + return clone; + }, + + buildFragment: function( elems, context, scripts, selection ) { + var j, elem, contains, + tmp, tag, tbody, wrap, + l = elems.length, + + // Ensure a safe fragment + safe = createSafeFragment( context ), + + nodes = [], + i = 0; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( jQuery.type( elem ) === "object" ) { + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || safe.appendChild( context.createElement("div") ); + + // Deserialize a standard representation + tag = (rtagName.exec( elem ) || [ "", "" ])[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + + tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1>" ) + wrap[2]; + + // Descend through wrappers to the right content + j = wrap[0]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Manually add leading whitespace removed by IE + if ( !support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { + nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); + } + + // Remove IE's autoinserted from table fragments + if ( !support.tbody ) { + + // String was a , *may* have spurious + elem = tag === "table" && !rtbody.test( elem ) ? + tmp.firstChild : + + // String was a bare or + wrap[1] === "
    " && !rtbody.test( elem ) ? + tmp : + 0; + + j = elem && elem.childNodes.length; + while ( j-- ) { + if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { + elem.removeChild( tbody ); + } + } + } + + jQuery.merge( nodes, tmp.childNodes ); + + // Fix #12392 for WebKit and IE > 9 + tmp.textContent = ""; + + // Fix #12392 for oldIE + while ( tmp.firstChild ) { + tmp.removeChild( tmp.firstChild ); + } + + // Remember the top-level container for proper cleanup + tmp = safe.lastChild; + } + } + } + + // Fix #11356: Clear elements from fragment + if ( tmp ) { + safe.removeChild( tmp ); + } + + // Reset defaultChecked for any radios and checkboxes + // about to be appended to the DOM in IE 6/7 (#8060) + if ( !support.appendChecked ) { + jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); + } + + i = 0; + while ( (elem = nodes[ i++ ]) ) { + + // #4087 - If origin and destination elements are the same, and this is + // that element, do not do anything + if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( safe.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( (elem = tmp[ j++ ]) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + tmp = null; + + return safe; + }, + + cleanData: function( elems, /* internal */ acceptData ) { + var elem, type, id, data, + i = 0, + internalKey = jQuery.expando, + cache = jQuery.cache, + deleteExpando = support.deleteExpando, + special = jQuery.event.special; + + for ( ; (elem = elems[i]) != null; i++ ) { + if ( acceptData || jQuery.acceptData( elem ) ) { + + id = elem[ internalKey ]; + data = id && cache[ id ]; + + if ( data ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Remove cache only if it was not already removed by jQuery.event.remove + if ( cache[ id ] ) { + + delete cache[ id ]; + + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( deleteExpando ) { + delete elem[ internalKey ]; + + } else if ( typeof elem.removeAttribute !== strundefined ) { + elem.removeAttribute( internalKey ); + + } else { + elem[ internalKey ] = null; + } + + deletedIds.push( id ); + } + } + } + } + } +}); + +jQuery.fn.extend({ + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); + }, null, value, arguments.length ); + }, + + append: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + }); + }, + + prepend: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + }); + }, + + before: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + }); + }, + + after: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + }); + }, + + remove: function( selector, keepData /* Internal Use Only */ ) { + var elem, + elems = selector ? jQuery.filter( selector, this ) : this, + i = 0; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( !keepData && elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem ) ); + } + + if ( elem.parentNode ) { + if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { + setGlobalEval( getAll( elem, "script" ) ); + } + elem.parentNode.removeChild( elem ); + } + } + + return this; + }, + + empty: function() { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + } + + // Remove any remaining nodes + while ( elem.firstChild ) { + elem.removeChild( elem.firstChild ); + } + + // If this is a select, ensure that it displays empty (#12336) + // Support: IE<9 + if ( elem.options && jQuery.nodeName( elem, "select" ) ) { + elem.options.length = 0; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map(function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + }); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined ) { + return elem.nodeType === 1 ? + elem.innerHTML.replace( rinlinejQuery, "" ) : + undefined; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + ( support.htmlSerialize || !rnoshimcache.test( value ) ) && + ( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && + !wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) { + + value = value.replace( rxhtmlTag, "<$1>" ); + + try { + for (; i < l; i++ ) { + // Remove element nodes and prevent memory leaks + elem = this[i] || {}; + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch(e) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var arg = arguments[ 0 ]; + + // Make the changes, replacing each context element with the new content + this.domManip( arguments, function( elem ) { + arg = this.parentNode; + + jQuery.cleanData( getAll( this ) ); + + if ( arg ) { + arg.replaceChild( elem, this ); + } + }); + + // Force removal if there was no new content (e.g., from empty arguments) + return arg && (arg.length || arg.nodeType) ? this : this.remove(); + }, + + detach: function( selector ) { + return this.remove( selector, true ); + }, + + domManip: function( args, callback ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var first, node, hasScripts, + scripts, doc, fragment, + i = 0, + l = this.length, + set = this, + iNoClone = l - 1, + value = args[0], + isFunction = jQuery.isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( isFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return this.each(function( index ) { + var self = set.eq( index ); + if ( isFunction ) { + args[0] = value.call( this, index, self.html() ); + } + self.domManip( args, callback ); + }); + } + + if ( l ) { + fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + if ( first ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( this[i], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { + + if ( node.src ) { + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl ) { + jQuery._evalUrl( node.src ); + } + } else { + jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); + } + } + } + } + + // Fix #11809: Avoid leaking memory + fragment = first = null; + } + } + + return this; + } +}); + +jQuery.each({ + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + i = 0, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone(true); + jQuery( insert[i] )[ original ]( elems ); + + // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +}); + + +var iframe, + elemdisplay = {}; + +/** + * Retrieve the actual display of a element + * @param {String} name nodeName of the element + * @param {Object} doc Document object + */ +// Called only from within defaultDisplay +function actualDisplay( name, doc ) { + var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), + + // getDefaultComputedStyle might be reliably used only on attached element + display = window.getDefaultComputedStyle ? + + // Use of this method is a temporary fix (more like optmization) until something better comes along, + // since it was removed from specification and supported only in FF + window.getDefaultComputedStyle( elem[ 0 ] ).display : jQuery.css( elem[ 0 ], "display" ); + + // We don't have any data stored on the element, + // so use "detach" method as fast way to get rid of the element + elem.detach(); + + return display; +} + +/** + * Try to determine the default display value of an element + * @param {String} nodeName + */ +function defaultDisplay( nodeName ) { + var doc = document, + display = elemdisplay[ nodeName ]; + + if ( !display ) { + display = actualDisplay( nodeName, doc ); + + // If the simple way fails, read from inside an iframe + if ( display === "none" || !display ) { + + // Use the already-created iframe if possible + iframe = (iframe || jQuery( " diff --git a/dist/ontology/sections/references-en.html b/dist/ontology/sections/references-en.html new file mode 100644 index 0000000..2093dc4 --- /dev/null +++ b/dist/ontology/sections/references-en.html @@ -0,0 +1,5 @@ + +

    References back to ToC

    + +Add your references here. It is recommended to have them as a list. + diff --git a/dist/ontology/the Function Ontology_files/bootstrap-theme.min.css b/dist/ontology/the Function Ontology_files/bootstrap-theme.min.css new file mode 100644 index 0000000..c7b6d39 --- /dev/null +++ b/dist/ontology/the Function Ontology_files/bootstrap-theme.min.css @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +.btn-default,.btn-primary,.btn-success,.btn-info,.btn-warning,.btn-danger{text-shadow:0 -1px 0 rgba(0,0,0,0.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075)}.btn-default:active,.btn-primary:active,.btn-success:active,.btn-info:active,.btn-warning:active,.btn-danger:active,.btn-default.active,.btn-primary.active,.btn-success.active,.btn-info.active,.btn-warning.active,.btn-danger.active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn:active,.btn.active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);background-repeat:repeat-x;border-color:#dbdbdb;border-color:#ccc;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe0e0e0',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-default:hover,.btn-default:focus{background-color:#e0e0e0;background-position:0 -15px}.btn-default:active,.btn-default.active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-primary{background-image:-webkit-linear-gradient(top,#428bca 0,#2d6ca2 100%);background-image:linear-gradient(to bottom,#428bca 0,#2d6ca2 100%);background-repeat:repeat-x;border-color:#2b669a;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff2d6ca2',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary:hover,.btn-primary:focus{background-color:#2d6ca2;background-position:0 -15px}.btn-primary:active,.btn-primary.active{background-color:#2d6ca2;border-color:#2b669a}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);background-repeat:repeat-x;border-color:#3e8f3e;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c',endColorstr='#ff419641',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success:hover,.btn-success:focus{background-color:#419641;background-position:0 -15px}.btn-success:active,.btn-success.active{background-color:#419641;border-color:#3e8f3e}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);background-repeat:repeat-x;border-color:#e38d13;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e',endColorstr='#ffeb9316',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning:hover,.btn-warning:focus{background-color:#eb9316;background-position:0 -15px}.btn-warning:active,.btn-warning.active{background-color:#eb9316;border-color:#e38d13}.btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);background-repeat:repeat-x;border-color:#b92c28;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f',endColorstr='#ffc12e2a',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger:hover,.btn-danger:focus{background-color:#c12e2a;background-position:0 -15px}.btn-danger:active,.btn-danger.active{background-color:#c12e2a;border-color:#b92c28}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);background-repeat:repeat-x;border-color:#28a4c9;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff2aabd2',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info:hover,.btn-info:focus{background-color:#2aabd2;background-position:0 -15px}.btn-info:active,.btn-info.active{background-color:#2aabd2;border-color:#28a4c9}.thumbnail,.img-thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.075);box-shadow:0 1px 2px rgba(0,0,0,0.075)}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5',endColorstr='#ffe8e8e8',GradientType=0)}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{background-color:#357ebd;background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff357ebd',GradientType=0)}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);background-repeat:repeat-x;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#fff8f8f8',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 5px rgba(0,0,0,0.075);box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 5px rgba(0,0,0,0.075)}.navbar-default .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f3f3f3 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f3f3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb',endColorstr='#fff3f3f3',GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,0.075);box-shadow:inset 0 3px 9px rgba(0,0,0,0.075)}.navbar-brand,.navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,0.25)}.navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c',endColorstr='#ff222222',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.navbar-inverse .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#222 0,#282828 100%);background-image:linear-gradient(to bottom,#222 0,#282828 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222',endColorstr='#ff282828',GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,0.25);box-shadow:inset 0 3px 9px rgba(0,0,0,0.25)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.navbar-static-top,.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}.alert{text-shadow:0 1px 0 rgba(255,255,255,0.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.25),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 1px 0 rgba(255,255,255,0.25),0 1px 2px rgba(0,0,0,0.05)}.alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);background-repeat:repeat-x;border-color:#b2dba1;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8',endColorstr='#ffc8e5bc',GradientType=0)}.alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);background-repeat:repeat-x;border-color:#9acfea;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7',endColorstr='#ffb9def0',GradientType=0)}.alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);background-repeat:repeat-x;border-color:#f5e79e;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3',endColorstr='#fff8efc0',GradientType=0)}.alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);background-repeat:repeat-x;border-color:#dca7a7;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede',endColorstr='#ffe7c3c3',GradientType=0)}.progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb',endColorstr='#fff5f5f5',GradientType=0)}.progress-bar{background-image:-webkit-linear-gradient(top,#428bca 0,#3071a9 100%);background-image:linear-gradient(to bottom,#428bca 0,#3071a9 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff3071a9',GradientType=0)}.progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c',endColorstr='#ff449d44',GradientType=0)}.progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff31b0d5',GradientType=0)}.progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e',endColorstr='#ffec971f',GradientType=0)}.progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f',endColorstr='#ffc9302c',GradientType=0)}.list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.075);box-shadow:0 1px 2px rgba(0,0,0,0.075)}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{text-shadow:0 -1px 0 #3071a9;background-image:-webkit-linear-gradient(top,#428bca 0,#3278b3 100%);background-image:linear-gradient(to bottom,#428bca 0,#3278b3 100%);background-repeat:repeat-x;border-color:#3278b3;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff3278b3',GradientType=0)}.panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 2px rgba(0,0,0,0.05)}.panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5',endColorstr='#ffe8e8e8',GradientType=0)}.panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff357ebd',GradientType=0)}.panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8',endColorstr='#ffd0e9c6',GradientType=0)}.panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7',endColorstr='#ffc4e3f3',GradientType=0)}.panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3',endColorstr='#fffaf2cc',GradientType=0)}.panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede',endColorstr='#ffebcccc',GradientType=0)}.well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);background-repeat:repeat-x;border-color:#dcdcdc;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8',endColorstr='#fff5f5f5',GradientType=0);-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,0.05),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 3px rgba(0,0,0,0.05),0 1px 0 rgba(255,255,255,0.1)} \ No newline at end of file diff --git a/dist/ontology/the Function Ontology_files/bootstrap.min.css b/dist/ontology/the Function Ontology_files/bootstrap.min.css new file mode 100644 index 0000000..c547283 --- /dev/null +++ b/dist/ontology/the Function Ontology_files/bootstrap.min.css @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +/*! normalize.css v2.1.3 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a{background:transparent}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}@media print{*{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:2cm .5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.table td,.table th{background-color:#fff!important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}img{vertical-align:middle}.img-responsive{display:block;height:auto;max-width:100%}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:inherit}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:normal;line-height:1;color:#999}h1,h2,h3{margin-top:20px;margin-bottom:10px}h1 small,h2 small,h3 small,h1 .small,h2 .small,h3 .small{font-size:65%}h4,h5,h6{margin-top:10px;margin-bottom:10px}h4 small,h5 small,h6 small,h4 .small,h5 .small,h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media(min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}cite{font-style:normal}.text-muted{color:#999}.text-primary{color:#428bca}.text-primary:hover{color:#3071a9}.text-warning{color:#8a6d3b}.text-warning:hover{color:#66512c}.text-danger{color:#a94442}.text-danger:hover{color:#843534}.text-success{color:#3c763d}.text-success:hover{color:#2b542c}.text-info{color:#31708f}.text-info:hover{color:#245269}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}.list-inline>li:first-child{padding-left:0}dl{margin-top:0;margin-bottom:20px}dt,dd{line-height:1.428571429}dt{font-weight:bold}dd{margin-left:0}@media(min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}blockquote p{font-size:17.5px;font-weight:300;line-height:1.25}blockquote p:last-child{margin-bottom:0}blockquote small,blockquote .small{display:block;line-height:1.428571429;color:#999}blockquote small:before,blockquote .small:before{content:'\2014 \00A0'}blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}blockquote.pull-right p,blockquote.pull-right small,blockquote.pull-right .small{text-align:right}blockquote.pull-right small:before,blockquote.pull-right .small:before{content:''}blockquote.pull-right small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}blockquote:before,blockquote:after{content:""}address{margin-bottom:20px;font-style:normal;line-height:1.428571429}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}@media(min-width:768px){.container{width:750px}}@media(min-width:992px){.container{width:970px}}@media(min-width:1200px){.container{width:1170px}}.row{margin-right:-15px;margin-left:-15px}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666666666666%}.col-xs-10{width:83.33333333333334%}.col-xs-9{width:75%}.col-xs-8{width:66.66666666666666%}.col-xs-7{width:58.333333333333336%}.col-xs-6{width:50%}.col-xs-5{width:41.66666666666667%}.col-xs-4{width:33.33333333333333%}.col-xs-3{width:25%}.col-xs-2{width:16.666666666666664%}.col-xs-1{width:8.333333333333332%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666666666666%}.col-xs-pull-10{right:83.33333333333334%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666666666666%}.col-xs-pull-7{right:58.333333333333336%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666666666667%}.col-xs-pull-4{right:33.33333333333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.666666666666664%}.col-xs-pull-1{right:8.333333333333332%}.col-xs-pull-0{right:0}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666666666666%}.col-xs-push-10{left:83.33333333333334%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666666666666%}.col-xs-push-7{left:58.333333333333336%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666666666667%}.col-xs-push-4{left:33.33333333333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.666666666666664%}.col-xs-push-1{left:8.333333333333332%}.col-xs-push-0{left:0}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666666666666%}.col-xs-offset-10{margin-left:83.33333333333334%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666666666666%}.col-xs-offset-7{margin-left:58.333333333333336%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666666666667%}.col-xs-offset-4{margin-left:33.33333333333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.666666666666664%}.col-xs-offset-1{margin-left:8.333333333333332%}.col-xs-offset-0{margin-left:0}@media(min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666666666666%}.col-sm-10{width:83.33333333333334%}.col-sm-9{width:75%}.col-sm-8{width:66.66666666666666%}.col-sm-7{width:58.333333333333336%}.col-sm-6{width:50%}.col-sm-5{width:41.66666666666667%}.col-sm-4{width:33.33333333333333%}.col-sm-3{width:25%}.col-sm-2{width:16.666666666666664%}.col-sm-1{width:8.333333333333332%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666666666666%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666666666666%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-1{margin-left:8.333333333333332%}.col-sm-offset-0{margin-left:0}}@media(min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666666666666%}.col-md-10{width:83.33333333333334%}.col-md-9{width:75%}.col-md-8{width:66.66666666666666%}.col-md-7{width:58.333333333333336%}.col-md-6{width:50%}.col-md-5{width:41.66666666666667%}.col-md-4{width:33.33333333333333%}.col-md-3{width:25%}.col-md-2{width:16.666666666666664%}.col-md-1{width:8.333333333333332%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666666666666%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666666666666%}.col-md-push-10{left:83.33333333333334%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666666666666%}.col-md-push-7{left:58.333333333333336%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666666666667%}.col-md-push-4{left:33.33333333333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.666666666666664%}.col-md-push-1{left:8.333333333333332%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666666666666%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-0{margin-left:0}}@media(min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666666666666%}.col-lg-10{width:83.33333333333334%}.col-lg-9{width:75%}.col-lg-8{width:66.66666666666666%}.col-lg-7{width:58.333333333333336%}.col-lg-6{width:50%}.col-lg-5{width:41.66666666666667%}.col-lg-4{width:33.33333333333333%}.col-lg-3{width:25%}.col-lg-2{width:16.666666666666664%}.col-lg-1{width:8.333333333333332%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666666666666%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.666666666666664%}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666666666666%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666666666667%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-0{margin-left:0}}table{max-width:100%;background-color:transparent}th{text-align:left}.table{width:100%;margin-bottom:20px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*="col-"]{position:static;display:table-column;float:none}table td[class*="col-"],table th[class*="col-"]{display:table-cell;float:none}.table>thead>tr>.active,.table>tbody>tr>.active,.table>tfoot>tr>.active,.table>thead>.active>td,.table>tbody>.active>td,.table>tfoot>.active>td,.table>thead>.active>th,.table>tbody>.active>th,.table>tfoot>.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>.active:hover,.table-hover>tbody>.active:hover>td,.table-hover>tbody>.active:hover>th{background-color:#e8e8e8}.table>thead>tr>.success,.table>tbody>tr>.success,.table>tfoot>tr>.success,.table>thead>.success>td,.table>tbody>.success>td,.table>tfoot>.success>td,.table>thead>.success>th,.table>tbody>.success>th,.table>tfoot>.success>th{background-color:#dff0d8}.table-hover>tbody>tr>.success:hover,.table-hover>tbody>.success:hover>td,.table-hover>tbody>.success:hover>th{background-color:#d0e9c6}.table>thead>tr>.danger,.table>tbody>tr>.danger,.table>tfoot>tr>.danger,.table>thead>.danger>td,.table>tbody>.danger>td,.table>tfoot>.danger>td,.table>thead>.danger>th,.table>tbody>.danger>th,.table>tfoot>.danger>th{background-color:#f2dede}.table-hover>tbody>tr>.danger:hover,.table-hover>tbody>.danger:hover>td,.table-hover>tbody>.danger:hover>th{background-color:#ebcccc}.table>thead>tr>.warning,.table>tbody>tr>.warning,.table>tfoot>tr>.warning,.table>thead>.warning>td,.table>tbody>.warning>td,.table>tfoot>.warning>td,.table>thead>.warning>th,.table>tbody>.warning>th,.table>tfoot>.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>.warning:hover,.table-hover>tbody>.warning:hover>td,.table-hover>tbody>.warning:hover>th{background-color:#faf2cc}@media(max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block}select[multiple],select[size]{height:auto}select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button{height:auto}output{display:block;padding-top:7px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.form-control:-moz-placeholder{color:#999}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}textarea.form-control{height:auto}.form-group{margin-bottom:15px}.radio,.checkbox{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.radio label,.checkbox label{display:inline;margin-bottom:0;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{float:left;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:normal;vertical-align:middle;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="checkbox"][disabled],.radio[disabled],.radio-inline[disabled],.checkbox[disabled],.checkbox-inline[disabled],fieldset[disabled] input[type="radio"],fieldset[disabled] input[type="checkbox"],fieldset[disabled] .radio,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm{height:auto}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg{height:46px;line-height:46px}textarea.input-lg{height:auto}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.form-control-static{margin-bottom:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media(min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline select.form-control{width:auto}.form-inline .radio,.form-inline .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:none;margin-left:0}}.form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .radio,.form-horizontal .checkbox{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-control-static{padding-top:7px}@media(min-width:768px){.form-horizontal .control-label{text-align:right}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#fff}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-primary .badge{color:#428bca;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-link{font-weight:normal;color:#428bca;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#999;text-decoration:none}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%;padding-right:0;padding-left:0}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:normal;line-height:1;-moz-osx-font-smoothing:grayscale}.glyphicon:empty{width:1em}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.428571429;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;background-color:#428bca;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media(min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar:before,.btn-toolbar:after{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar:before,.btn-toolbar:after{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar .btn-group{float:left}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group,.btn-toolbar>.btn-group+.btn-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child>.btn:last-child,.btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}[data-toggle="buttons"]>.btn>input[type="radio"],[data-toggle="buttons"]>.btn>input[type="checkbox"]{display:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*="col-"]{float:none;padding-right:0;padding-left:0}.input-group .form-control{width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:normal;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;white-space:nowrap}.input-group-btn:first-child>.btn{margin-right:-1px}.input-group-btn:last-child>.btn{margin-left:-1px}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-4px}.input-group-btn>.btn:hover,.input-group-btn>.btn:active{z-index:2}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#999}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#428bca}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media(min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media(min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media(min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #ddd}@media(min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}@media(min-width:768px){.navbar{border-radius:4px}}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}@media(min-width:768px){.navbar-header{float:left}}.navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);-webkit-overflow-scrolling:touch}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse.in{overflow-y:auto}@media(min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-right:0;padding-left:0}}.container>.navbar-header,.container>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media(min-width:768px){.container>.navbar-header,.container>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media(min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}@media(min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media(min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media(min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media(max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media(min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media(min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}@media(min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form select.form-control{width:auto}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.navbar-form .radio input[type="radio"],.navbar-form .checkbox input[type="checkbox"]{float:none;margin-left:0}}@media(max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media(min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-nav.pull-right>li>.dropdown-menu,.navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media(min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{color:#555;background-color:#e7e7e7}@media(max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#999}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .navbar-nav>li>a{color:#999}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{color:#fff;background-color:#080808}@media(max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#999}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{background-color:#eee}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;cursor:default;background-color:#428bca;border-color:#428bca}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label[href]:hover,.label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#999}.label-default[href]:hover,.label-default[href]:focus{background-color:#808080}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#999;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.jumbotron h1,.jumbotron .h1{line-height:1;color:inherit}.jumbotron p{line-height:1.4}.container .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron h1,.jumbotron .h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img,.thumbnail a>img{display:block;height:auto;max-width:100%;margin-right:auto;margin-left:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#428bca}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:bold}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable{padding-right:35px}.alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.media,.media-body{overflow:hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{text-decoration:none;background-color:#f5f5f5}a.list-group-item.active,a.list-group-item.active:hover,a.list-group-item.active:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}a.list-group-item.active .list-group-item-heading,a.list-group-item.active:hover .list-group-item-heading,a.list-group-item.active:focus .list-group-item-heading{color:inherit}a.list-group-item.active .list-group-item-text,a.list-group-item.active:hover .list-group-item-text,a.list-group-item.active:focus .list-group-item-text{color:#e1edf7}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.panel-body{padding:15px}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0}.panel>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.panel>.list-group .list-group-item:last-child{border-bottom:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.panel>.table>tbody:first-child th,.panel>.table>tbody:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:last-child>th,.panel>.table-responsive>.table-bordered>thead>tr:last-child>th,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.panel>.table-bordered>thead>tr:last-child>td,.panel>.table-responsive>.table-bordered>thead>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:bold;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.modal-dialog{position:relative;z-index:1050;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);background-clip:padding-box}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.428571429}.modal-body{position:relative;padding:20px}.modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer:before,.modal-footer:after{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer:before,.modal-footer:after{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}}.tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#000;border-width:5px 5px 0}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#000;border-width:0 5px 5px}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);background-clip:padding-box}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover .arrow,.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover .arrow{border-width:11px}.popover .arrow:after{border-width:10px;content:""}.popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);border-bottom-width:0}.popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,0.25);border-left-width:0}.popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);border-top-width:0}.popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,0.25);border-right-width:0}.popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;height:auto;max-width:100%;line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6);opacity:.5;filter:alpha(opacity=50)}.carousel-control.left{background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.5) 0),color-stop(rgba(0,0,0,0.0001) 100%));background-image:linear-gradient(to right,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000',endColorstr='#00000000',GradientType=1)}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.0001) 0),color-stop(rgba(0,0,0,0.5) 100%));background-image:linear-gradient(to right,rgba(0,0,0,0.0001) 0,rgba(0,0,0,0.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#80000000',GradientType=1)}.carousel-control:hover,.carousel-control:focus{color:#fff;text-decoration:none;outline:0;opacity:.9;filter:alpha(opacity=90)}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicons-chevron-left,.carousel-control .glyphicons-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after{display:table;content:" "}.clearfix:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important;visibility:hidden!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs,tr.visible-xs,th.visible-xs,td.visible-xs{display:none!important}@media(max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}th.visible-xs,td.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-xs.visible-sm{display:block!important}table.visible-xs.visible-sm{display:table}tr.visible-xs.visible-sm{display:table-row!important}th.visible-xs.visible-sm,td.visible-xs.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-xs.visible-md{display:block!important}table.visible-xs.visible-md{display:table}tr.visible-xs.visible-md{display:table-row!important}th.visible-xs.visible-md,td.visible-xs.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-xs.visible-lg{display:block!important}table.visible-xs.visible-lg{display:table}tr.visible-xs.visible-lg{display:table-row!important}th.visible-xs.visible-lg,td.visible-xs.visible-lg{display:table-cell!important}}.visible-sm,tr.visible-sm,th.visible-sm,td.visible-sm{display:none!important}@media(max-width:767px){.visible-sm.visible-xs{display:block!important}table.visible-sm.visible-xs{display:table}tr.visible-sm.visible-xs{display:table-row!important}th.visible-sm.visible-xs,td.visible-sm.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}th.visible-sm,td.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-sm.visible-md{display:block!important}table.visible-sm.visible-md{display:table}tr.visible-sm.visible-md{display:table-row!important}th.visible-sm.visible-md,td.visible-sm.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-sm.visible-lg{display:block!important}table.visible-sm.visible-lg{display:table}tr.visible-sm.visible-lg{display:table-row!important}th.visible-sm.visible-lg,td.visible-sm.visible-lg{display:table-cell!important}}.visible-md,tr.visible-md,th.visible-md,td.visible-md{display:none!important}@media(max-width:767px){.visible-md.visible-xs{display:block!important}table.visible-md.visible-xs{display:table}tr.visible-md.visible-xs{display:table-row!important}th.visible-md.visible-xs,td.visible-md.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-md.visible-sm{display:block!important}table.visible-md.visible-sm{display:table}tr.visible-md.visible-sm{display:table-row!important}th.visible-md.visible-sm,td.visible-md.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}th.visible-md,td.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-md.visible-lg{display:block!important}table.visible-md.visible-lg{display:table}tr.visible-md.visible-lg{display:table-row!important}th.visible-md.visible-lg,td.visible-md.visible-lg{display:table-cell!important}}.visible-lg,tr.visible-lg,th.visible-lg,td.visible-lg{display:none!important}@media(max-width:767px){.visible-lg.visible-xs{display:block!important}table.visible-lg.visible-xs{display:table}tr.visible-lg.visible-xs{display:table-row!important}th.visible-lg.visible-xs,td.visible-lg.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-lg.visible-sm{display:block!important}table.visible-lg.visible-sm{display:table}tr.visible-lg.visible-sm{display:table-row!important}th.visible-lg.visible-sm,td.visible-lg.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-lg.visible-md{display:block!important}table.visible-lg.visible-md{display:table}tr.visible-lg.visible-md{display:table-row!important}th.visible-lg.visible-md,td.visible-lg.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}th.visible-lg,td.visible-lg{display:table-cell!important}}.hidden-xs{display:block!important}table.hidden-xs{display:table}tr.hidden-xs{display:table-row!important}th.hidden-xs,td.hidden-xs{display:table-cell!important}@media(max-width:767px){.hidden-xs,tr.hidden-xs,th.hidden-xs,td.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-xs.hidden-sm,tr.hidden-xs.hidden-sm,th.hidden-xs.hidden-sm,td.hidden-xs.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-xs.hidden-md,tr.hidden-xs.hidden-md,th.hidden-xs.hidden-md,td.hidden-xs.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-xs.hidden-lg,tr.hidden-xs.hidden-lg,th.hidden-xs.hidden-lg,td.hidden-xs.hidden-lg{display:none!important}}.hidden-sm{display:block!important}table.hidden-sm{display:table}tr.hidden-sm{display:table-row!important}th.hidden-sm,td.hidden-sm{display:table-cell!important}@media(max-width:767px){.hidden-sm.hidden-xs,tr.hidden-sm.hidden-xs,th.hidden-sm.hidden-xs,td.hidden-sm.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-sm,tr.hidden-sm,th.hidden-sm,td.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-sm.hidden-md,tr.hidden-sm.hidden-md,th.hidden-sm.hidden-md,td.hidden-sm.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-sm.hidden-lg,tr.hidden-sm.hidden-lg,th.hidden-sm.hidden-lg,td.hidden-sm.hidden-lg{display:none!important}}.hidden-md{display:block!important}table.hidden-md{display:table}tr.hidden-md{display:table-row!important}th.hidden-md,td.hidden-md{display:table-cell!important}@media(max-width:767px){.hidden-md.hidden-xs,tr.hidden-md.hidden-xs,th.hidden-md.hidden-xs,td.hidden-md.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-md.hidden-sm,tr.hidden-md.hidden-sm,th.hidden-md.hidden-sm,td.hidden-md.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-md,tr.hidden-md,th.hidden-md,td.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-md.hidden-lg,tr.hidden-md.hidden-lg,th.hidden-md.hidden-lg,td.hidden-md.hidden-lg{display:none!important}}.hidden-lg{display:block!important}table.hidden-lg{display:table}tr.hidden-lg{display:table-row!important}th.hidden-lg,td.hidden-lg{display:table-cell!important}@media(max-width:767px){.hidden-lg.hidden-xs,tr.hidden-lg.hidden-xs,th.hidden-lg.hidden-xs,td.hidden-lg.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-lg.hidden-sm,tr.hidden-lg.hidden-sm,th.hidden-lg.hidden-sm,td.hidden-lg.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-lg.hidden-md,tr.hidden-lg.hidden-md,th.hidden-lg.hidden-md,td.hidden-lg.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-lg,tr.hidden-lg,th.hidden-lg,td.hidden-lg{display:none!important}}.visible-print,tr.visible-print,th.visible-print,td.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table}tr.visible-print{display:table-row!important}th.visible-print,td.visible-print{display:table-cell!important}.hidden-print,tr.hidden-print,th.hidden-print,td.hidden-print{display:none!important}} \ No newline at end of file diff --git a/dist/ontology/the Function Ontology_files/bootstrap.min.js b/dist/ontology/the Function Ontology_files/bootstrap.min.js new file mode 100644 index 0000000..1a6258e --- /dev/null +++ b/dist/ontology/the Function Ontology_files/bootstrap.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +if("undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]'),b=!0;if(a.length){var c=this.$element.find("input");"radio"===c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?b=!1:a.find(".active").removeClass("active")),b&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}b&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery); \ No newline at end of file diff --git a/dist/ontology/the Function Ontology_files/jquery.min.js b/dist/ontology/the Function Ontology_files/jquery.min.js new file mode 100644 index 0000000..ab28a24 --- /dev/null +++ b/dist/ontology/the Function Ontology_files/jquery.min.js @@ -0,0 +1,4 @@ +/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.1",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="
    ",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h; +if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML="
    a",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function ab(){return!0}function bb(){return!1}function cb(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h]","i"),hb=/^\s+/,ib=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jb=/<([\w:]+)/,kb=/\s*$/g,rb={option:[1,""],legend:[1,"
    ","
    "],area:[1,"",""],param:[1,"",""],thead:[1,"","
    "],tr:[2,"","
    "],col:[2,"","
    "],td:[3,"","
    "],_default:k.htmlSerialize?[0,"",""]:[1,"X
    ","
    "]},sb=db(y),tb=sb.appendChild(y.createElement("div"));rb.optgroup=rb.option,rb.tbody=rb.tfoot=rb.colgroup=rb.caption=rb.thead,rb.th=rb.td;function ub(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ub(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function vb(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wb(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xb(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function yb(a){var b=pb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function zb(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Ab(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Bb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xb(b).text=a.text,yb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!gb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(tb.innerHTML=a.outerHTML,tb.removeChild(f=tb.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ub(f),h=ub(a),g=0;null!=(e=h[g]);++g)d[g]&&Bb(e,d[g]);if(b)if(c)for(h=h||ub(a),d=d||ub(f),g=0;null!=(e=h[g]);g++)Ab(e,d[g]);else Ab(a,f);return d=ub(f,"script"),d.length>0&&zb(d,!i&&ub(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=db(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(lb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(jb.exec(f)||["",""])[1].toLowerCase(),l=rb[i]||rb._default,h.innerHTML=l[1]+f.replace(ib,"<$1>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&hb.test(f)&&p.push(b.createTextNode(hb.exec(f)[0])),!k.tbody){f="table"!==i||kb.test(f)?""!==l[1]||kb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ub(p,"input"),vb),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ub(o.appendChild(f),"script"),g&&zb(h),c)){e=0;while(f=h[e++])ob.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ub(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&zb(ub(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ub(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fb,""):void 0;if(!("string"!=typeof a||mb.test(a)||!k.htmlSerialize&&gb.test(a)||!k.leadingWhitespace&&hb.test(a)||rb[(jb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ib,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ub(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ub(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&nb.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ub(i,"script"),xb),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ub(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,yb),j=0;f>j;j++)d=g[j],ob.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qb,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Cb,Db={};function Eb(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fb(a){var b=y,c=Db[a];return c||(c=Eb(a,b),"none"!==c&&c||(Cb=(Cb||m(" diff --git a/dist/vocabulary/implementation/0.1.0/sections/references-en.html b/dist/vocabulary/implementation/0.1.0/sections/references-en.html new file mode 100644 index 0000000..5501c97 --- /dev/null +++ b/dist/vocabulary/implementation/0.1.0/sections/references-en.html @@ -0,0 +1,6 @@ + +

    References back to ToC

    + +Add your references here. It is recommended to have them as a list. + + diff --git a/dist/vocabulary/implementation/0.1.0/webvowl/css/webvowl.app.css b/dist/vocabulary/implementation/0.1.0/webvowl/css/webvowl.app.css new file mode 100644 index 0000000..2ceaead --- /dev/null +++ b/dist/vocabulary/implementation/0.1.0/webvowl/css/webvowl.app.css @@ -0,0 +1,6 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans);html{-ms-content-zooming:none}#loading-progress{width:50%;margin:10px 0}#layoutLoadingProgressBarContainer{height:50px;text-align:left;line-height:1.5}#FPS_Statistics{padding-left:60px;padding-top:60px}#additionalInformationContainer{position:absolute;top:10px;right:50px}#modeOfOperationString{padding-left:34px}#close_directUploadBtn,#direct-text-input,#directUploadBtn{border:1px solid #34495e;width:100%;margin-top:5px;cursor:pointer}#di_controls>ul{list-style:none;margin:0;padding:5px 0 0 5px}#progressBarContext{border-radius:10px;background-color:#bdc3c7;height:25px;border:1px solid #000;margin:auto}#progressBarValue{border-radius:9px;width:0;background-color:#2980b9;height:25px;line-height:1.5;text-align:center}.dbEntry{background-color:#fff;color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntrySelected{color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntry:focus,.dbEntry:hover,.dbEntrySelected{background-color:#bdc3c7}.searchMenuEntry{background-color:#fff;bottom:0;font-size:14px;min-width:50px;margin:0;padding:0;z-index:99;border-radius:4px 4px 0 0;border:1px solid rgba(0,0,0,.15);-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;border-bottom:none;display:none;position:absolute;list-style:none}.searchInputText{background-color:#fff;color:#000;border:#000;text-decoration:none;max-width:150px;overflow:hidden;text-overflow:ellipsis;margin:0}iframe,img{border:none}.hidden{display:none!important}.clear{clear:both}a{color:#69c;text-decoration:none}a:hover{color:#3498db}#optionsArea a{color:#2980b9}#optionsArea a.highlighted{background-color:#d90}.toolTipMenu li.highlighted{background-color:#feb}#browserCheck{background-color:red;padding:5px 0;position:absolute;text-align:center;width:100%}#browserCheck a{color:#fff}#browserCheck a:hover{text-decoration:underline}@-webkit-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-o-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-webkit-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-o-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-moz-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-o-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-webkit-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-moz-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-o-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-webkit-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-moz-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-o-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-webkit-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-moz-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-o-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes msg_CollapseAnimation{0%{top:0}to{top:-400px}}@-webkit-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-moz-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-o-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-webkit-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-moz-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-o-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-webkit-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-o-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-o-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}body{background:#18202a;font-size:14px;font-family:Open Sans,Helvetica,Arial,sans-serif;line-height:1;overflow:hidden;position:fixed}body,main{height:100%;margin:0;padding:0;width:100%}#canvasArea,main{position:relative}#canvasArea{margin:0;padding:0;width:78%}#canvasArea #graph{margin:0 0 2px;background-color:#ecf0f1;width:100%}#canvasArea #graph,#canvasArea svg{box-sizing:border-box;overflow:hidden;padding:0}#canvasArea svg{margin:0}#logo{position:fixed;pointer-events:none}#logo h2{color:#3498db;margin:0;line-height:.7;text-align:center;font-size:24px}#logo h2 span{color:#34495e;font-size:16px}@media screen and (max-device-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-device-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}.checkboxContainer input,.checkboxContainer label{vertical-align:middle}.selected-ontology{background-color:#eee}#credits{border-top:1px solid #bdc3c7;font-size:.9em}.slideOption{position:relative;padding:8px 5px;outline:none}.slideOption .value{float:right;outline:none}.slideOption input[type=range]{box-sizing:border-box;margin:0;outline:none;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#eee}.slideOption input[type=range]::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]::-moz-range-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]:hover{outline:none}.slideOption input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none;margin-top:-3px}.slideOption input[type=range]::-moz-range-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none}.slideOption input[type=range]::-moz-range-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]::-webkit-slider-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]:active,.slideOption input[type=range]:focus{outline:none}.slideOption input[type=range]::-moz-range-thumb:active,.slideOption input[type=range]::-moz-range-thumb:focus{outline:none}.slideOption input[type=range]::-webkit-slider-thumb:active,.slideOption input[type=range]::-webkit-slider-thumb:focus{outline:none}.slideOption input[type=range]:disabled{box-sizing:border-box;margin:0;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#787878}.slideOption input[type=range]:disabled::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled::-moz-range-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled{outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{-webkit-appearance:none;background-color:#363636;border-radius:3px;border:1px solid #aaa;transition:all .5s ease;height:10px;width:30px;margin-top:-3px}.slideOption input[type=range]:disabled::-moz-range-thumb{-webkit-appearance:none;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;background-color:#aaa;outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{background-color:#aaa;outline:none}.slideOption input[type=range]:disabled:hover::-moz-range-thumb{background-color:#404040;outline:none}.slideOption input[type=range]:disabled:hover::-webkit-slider-thumb{background-color:#404040;outline:none}#detailsArea{top:0;right:0;bottom:0;color:#bdc3c7;height:100%;width:22%;overflow-y:auto;overflow-x:hidden;position:fixed;border-left:1px solid #34495e}#detailsArea h1{border-bottom:1px solid #34495e;color:#ecf0f1;display:block;font-weight:100;font-size:1.5em;margin:0;padding:10px 0;text-align:center}#generalDetails{width:auto;box-sizing:border-box;height:100%}#generalDetails span #about{border-bottom:1px solid #34495e;display:block;padding:10px;text-align:center;word-wrap:break-word;color:#69c}#generalDetails h4{background:#1b252e;color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 0;text-align:center}#detailsArea #generalDetails h5{border-bottom:1px solid #34495e;font-size:.9em;font-weight:100;margin:0;padding:5px;text-align:center}#description{text-align:justify}.accordion-container p{font-size:.9em;line-height:1.3;margin:5px 10px}.statisticDetails span{padding:10px}.statisticDetails div,.statisticDetails span{font-weight:100;font-style:italic;margin:10px 0}.statisticDetails div{padding:0 10px;display:inline}#selection-details .propDetails a{color:#69c}#selection-details .propDetails>span{font-weight:100;font-style:italic;padding:0 10px}#selection-details #classEquivUri span,#selection-details #disjointNodes span{padding:0}#selection-details .propDetails div{font-weight:100;font-style:italic;margin:10px 0;padding:0 10px;display:inline}#selection-details .propDetails div span{padding:0}.subclass{fill:#ecf0f1}.accordion-trigger{background:#24323e;cursor:pointer;padding:.5em}.accordion-trigger.accordion-trigger-active:before{padding-right:4px;content:"\25BC"}.accordion-trigger:not(.accordion-trigger-active):before{padding-right:4px;content:"\25BA"}.accordion-container.scrollable{max-height:40%;overflow:auto}.small-whitespace-separator{height:3px}#language{background:transparent;border:1px solid #34495e;color:#ecf0f1}#language option{background-color:#24323e}.converter-form:not(:first-child){margin-top:5px}.converter-form label{display:inline-block;line-height:normal}.converter-form input{box-sizing:border-box;height:20px;width:74%;border:1px solid #34495e}.converter-form button{float:right;padding:0;width:25%;background-color:#ecf0f1}#file-converter-label,.converter-form button{cursor:pointer;height:20px;border:1px solid #34495e}#file-converter-label{box-sizing:border-box;width:74%}#killWarning{cursor:pointer;color:#fff;font-weight:700}#copyBt{box-sizing:border-box;height:20px;width:31%;border:1px solid #34495e}#sidebarExpandButton{height:24px;width:24px;box-sizing:border-box;top:10px;color:#000;float:right;position:absolute;right:0;border:1px solid #000;text-align:center;font-size:1.5em;cursor:pointer}.dropdownMenuClass{height:20px;float:right;border:1px solid #34495e;background-color:#34495e;color:#fff;text-align:left;width:auto}#typeEditForm_datatype{padding-top:5px}#typeEditor,#typeEditor_datatype{width:165px}#leftSideBarCollapseButton{box-sizing:border-box;top:50px;color:#000;position:absolute;left:200px;border:1px solid #000;cursor:pointer;width:24px;height:24px;font-size:1.5em;text-align:center}#leftSideBarCollapseButton:hover,#sidebarExpandButton:hover{background-color:#d90}.spanForCharSelection{padding-left:25px}.nodeEditSpan{color:#000;background-color:#fff;text-align:center;border:none;padding-top:6px}.nodeEditSpan:focus{outline:none;border:none}.foreignelements{border:none}.foreignelements:focus{outline:none;border:none}#leftSideBarContent{color:#000;float:left;position:absolute;left:0;background-color:#18202a;width:100%;height:100%}#leftSideBarContent>h3{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0 0 5px;padding:10px 0;text-align:left}#generalDetailsEdit{color:#ecf0f1}#generalDetailsEdit>div{padding:5px}#generalDetailsEdit>h3{font-size:1.1em;margin:0 0 5px;padding:10px 0}#generalDetailsEdit>h3,.subAccordion{color:#ecf0f1;display:block;font-weight:100;text-align:left}.subAccordion{font-size:.8em;margin:0;padding:5px}.boxed,.subAccordionDescription{padding:0 5px}.separatorLineRight{border-right:1px solid red}.editPrefixButton:hover{color:#ff972d;cursor:pointer}.editPrefixIcon:hover{stroke:#ff972d;stroke-width:1px;cursor:pointer}.editPrefixIcon{stroke:#fffff;stroke-width:1px;cursor:pointer}.deletePrefixButton:hover{color:#ff972d;cursor:pointer}.deletePrefixButton{color:red;cursor:pointer}.invisiblePrefixButton{cursor:default;color:#18202a}#containerForAddPrefixButton{width:100%;margin-top:5px}.roundedButton{border:1px solid #000;border-radius:20px;padding:0 5px;background:#fff;cursor:pointer;color:#000;outline:none}.roundedButton:hover{background:#318638;cursor:pointer;color:#fff;outline:none}#prefixURL_Description{padding:5px 0 0}.prefixIRIElements{display:inline-block;padding:3px;border-bottom:1px solid #34495e;width:100%}.prefixInput{width:30px;display:inline-block;margin-right:5px}.prefixURL{width:100px;display:inline-block;paddig-left:5px}.selectedDefaultElement{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;max-width:200px}#editHeader,#leftHeader{color:#ecf0f1;background-color:#394f5a;display:block;font-size:1.1em;font-weight:100;text-align:center}#leftHeader{padding:10px 0;margin:0}.containerForDefaultSelection{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 20px;text-align:left}.defaultSelected{color:#a15d05;background-color:#283943}.containerForDefaultSelection:hover{color:#f19505;background-color:#394f5a;display:block;cursor:pointer}#containerForLeftSideBar{top:50px;float:left;position:absolute;background-color:#1b252e;left:0;width:200px;height:200px;overflow-y:auto;overflow-x:hidden}#leftSideBar{width:100%;background-color:#18202a}#loading-info{box-sizing:border-box;position:absolute;text-align:center;width:100%;height:80%;top:0}#loading-info>div{display:inline-block;color:#fff;background-color:#18202a;border-bottom-left-radius:2px;border-bottom-right-radius:2px}#loading-info>*>*{padding:5px}#loading-info{pointer-events:none}#loading-progress{pointer-events:auto;min-width:220px;border-radius:10px}#show-loadingInfo-button{font-size:12px;color:#fff;cursor:pointer;text-align:center}#loadingIndicator_closeButton:hover{color:#ff972d;cursor:pointer}#loadingIndicator_closeButton{color:#ffe30f;cursor:pointer;padding-bottom:5px;float:right}.busyProgressBar{background-color:#000;height:25px;position:relative;animation:busy 2s linear infinite}@-webkit-keyframes busy{0%{left:0}50%{left:80%}to{left:0}}#bulletPoint_container{padding-left:15px;margin-top:0;margin-bottom:0}#bulletPoint_container>div{margin-left:-15px}#loadingInfo-container{box-sizing:border-box;text-align:left;line-height:1.2;padding-top:5px;overflow:auto;height:120px;min-height:40px;background-color:#3c3c3c}#error-description-button{margin:5px 0 0;font-size:12px;color:#69c;cursor:pointer;text-align:center}#error-description-container{box-sizing:border-box;text-align:left}#error-description-container pre{background-color:#34495e;padding:2px;margin:0;white-space:pre-wrap;max-height:calc(100vh - 125px);max-width:75vw;overflow:auto}.spin{display:inline-block;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.truncate{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.color-mode-switch{float:right;width:90px;cursor:pointer;height:20px;padding:0;border:0;color:#555;background-color:#eceeef;box-shadow:0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.color-mode-switch:focus{outline-width:0}.color-mode-switch.active{color:#fff;background-color:#32cd32;box-shadow:inset 0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.filterMenuButtonHighlight{background-color:#d90}@-webkit-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-moz-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-o-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}.buttonPulse{-webkit-animation-name:buttonAnimation;-moz-animation-name:buttonAnimation;-o-animation-name:buttonAnimation;animation-name:buttonAnimation;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s;-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}#m_about{max-width:200px;width:200px;position:absolute}#m_modes{max-width:160px;width:160px;position:absolute}#m_filter{max-width:170px;width:170px;position:absolute}#m_gravity{max-width:180px;width:180px;position:absolute}#m_export{max-width:160px;width:160px;position:absolute}#exportedUrl{width:100px}#m_select{max-width:300px;width:300px;position:absolute}#m_config{max-width:240px;width:240px;position:absolute}#m_search{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#swipeBarContainer{position:fixed;width:77.8%;height:40px;margin:0;padding:0;bottom:0}#menuElementContainer{margin:0;padding:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;text-align:right;list-style-type:none}#menuElementContainer>li{display:inline-block;box-sizing:border-box;text-align:left;position:relative;height:40px;font-size:14px;color:#fff;padding:12px 0 0;margin-left:-4px}#menuElementContainer>li>a{color:#fff;padding:9px 12px 12px 30px}.menuElementSvgElement{height:20px;width:20px;display:block;position:absolute;top:10px;left:8px}.btn_shadowed{background-color:#fefefe;box-shadow:1px 1px 1px gray}.reloadCachedOntologyIcon{height:20px;width:108px;display:block;position:absolute;top:20px;left:3px;border:1px solid #000;border-radius:10px;cursor:pointer}.reloadCachedOntologyIcon:disabled{background:#f4f4f4;cursor:auto;border:1px solid #a9a9a9}.reloadCachedOntologyIcon:hover{background:#d90;cursor:pointer}.disabledReloadElement{cursor:auto;background:#f4f4f4;pointer-events:auto;border:1px solid #a9a9a9;color:#bbb}.disabledReloadElement:hover{cursor:auto;background:#eee;pointer-events:auto}#menuElementContainer>li>input{color:#000;padding:.1em .3em .1em 1.5em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:120px}#menuElementContainer>li>a:hover{box-sizing:border-box;background:#1b252e;color:#bdc3c7}#empty:hover{box-sizing:border-box;background:#e1e1e1;color:#2980b9}#empty.disabled,.disabled{pointer-events:none;cursor:default;color:#979797}.toolTipMenu{-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;background-color:#fff;border:1px solid rgba(0,0,0,.15);border-bottom:none;border-radius:4px 4px 0 0;bottom:0;display:none;font-size:14px;list-style:none;margin:0;padding:0;white-space:normal;position:absolute;z-index:99}.toolTipMenu>li:first-of-type{border:none}.toolTipMenu a{color:#2980b9}.toolTipMenu>li{border-top:1px solid #bdc3c7}.toolTipMenu li{color:#2980b9;display:block}#menuElementContainer>li:hover .toolTipMenu{display:block}#menuElementContainer li>ul.toolTipMenu li a:hover{background:#e1e1e1}#scrollLeftButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;left:0}#scrollLeftButton:focus{outline:none}#scrollLeftButton:before{content:"<"}#scrollRightButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;right:0}#scrollRightButton:focus{outline:none}#scrollLeftButton:hover,#scrollRightButton:hover{color:#bdc3c7}#scrollRightButton:before{content:">"}#centerGraphButton,#zoomInButton,#zoomOutButton{border:1px solid #000;text-align:center;margin:-1px 0 0;font-size:1.5em;padding:0;height:28px}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#zoomOutButton{line-height:22px}#centerGraphButton,#zoomInButton{line-height:25px}#zoomSlider>p:hover{background-color:#d90}#zoomSliderParagraph{color:#000;padding-top:5px;margin:-1px 0 0;border:1px solid #000;height:150px}p#zoomSliderParagraph:hover{background-color:#fff}#zoomSlider{width:28px;margin-top:-2px;padding:0;font-size:1.5em;cursor:pointer;position:absolute;right:20px;bottom:20px;color:#000;box-sizing:border-box}#menuElementContainer>li>a:before{font-size:1em;margin:0;padding:0 6px 0 0}#menuElementContainer a.highlighted{background-color:#d90} + /*!*padding: 0 0.2em;*!*/.inner-addon{position:relative}.gearIcon,.searchIcon{position:absolute;width:17px;height:17px;pointer-events:none}.gearIcon{left:-5px} + /*!*padding: 0 0.2em;*!*/ + /*!*color: black;*!*/ + /*!*content: "\2315";*!*/ + /*!*content: "\2315" or "\1F50D"*!;*/li#c_search{padding:0 5px;margin-left:5px;height:20px}li#c_locate{padding:0}#c_locate>a{font-size:2em;padding:0}a#pause-button{padding:12px}a#pause-button.paused:before{content:"\25BA"}a#pause-button.paused:hover{background-color:#d90;color:#fff}a#pause-button:not(.paused):before{content:"II"}.toolTipMenu li:hover{background-color:#e1e1e1}#emptyLiHover,#emptyLiHover:hover{background-color:#fff}.toggleOption li:hover{background-color:#e1e1e1}.toggleOption{padding:8px 5px}#converter-option:hover{background-color:#fff}.option,.toolTipMenu li a:only-child{display:block;float:none;padding:8px 5px}.customLocate{padding:0;background-color:#32cd32}a#locateSearchResult{padding-top:50px}#zoomSliderElement{color:#000;position:relative;padding-top:0;width:155px;height:24px;background-color:transparent;-webkit-transform-origin-x:73px;-webkit-transform-origin-y:73px;-webkit-transform:rotate(-90deg);-moz-transform-origin:73px 73px;transform:rotate(-90deg);transform-origin:73px 73px;-webkit-appearance:none;outline:none;margin:4px 0}#zoomSliderElement::-webkit-scrollbar{height:0}#zoomSliderElement:hover{cursor:crosshair}#zoomSliderElement::-webkit-slider-runnable-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-moz-range-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-webkit-slider-thumb{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#fff;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb{background:#fff}#zoomSliderElement::-ms-thumb,#zoomSliderElement::-ms-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb:hover{background:#d90}#zoomSliderElement::-webkit-slider-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#d90;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-moz-range-thumb,#zoomSliderElement::-moz-range-thumb:hover{border:1px solid #000;height:10px;width:30px;border-radius:3px;cursor:pointer;outline:none}#zoomSliderElement::-moz-range-thumb:hover{background:#d90}#zoomSliderElement::-moz-focus-outer{border:0}#locateSearchResult:focus{outline:none}a#locateSearchResult.highlighted:hover{background-color:#d90;color:red}a#locateSearchResult{outline:none;padding-bottom:0;padding-top:0;position:relative;top:5px}#editorHint{padding:5px;position:absolute;text-align:center;width:100%;pointer-events:none}#editorHint label{pointer-events:auto;float:right;padding:5px;color:#fd0}#editorHint label:hover{text-decoration:underline;cursor:pointer}#editorHint>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:5px}#WarningErrorMessagesContainer{position:absolute;text-align:center;top:0;pointer-events:none}#WarningErrorMessages{position:relative;width:50%;pointer-events:auto;margin:10px 0;padding-right:12px;overflow-y:auto;overflow-x:hidden}#WarningErrorMessages label{color:#fd0}#WarningErrorMessages label,#WarningErrorMessages span{pointer-events:auto;float:right;padding:5px}#WarningErrorMessages label:hover{text-decoration:underline;cursor:pointer}#WarningErrorMessages>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:10px;border:1px solid #ecf0f1;width:70%}#WarningErrorMessagesContent>ul{-webkit-padding-start:20px;padding:0 16px}#WarningErrorMessagesContent>ul>li{padding:5px}.textLineEditWithLabel{display:inline-block;width:100%;border-bottom:1px solid #34495e;padding:2px 0}.converter-form-Editor label{line-height:normal}.descriptionTextClass,.prefixIRIElements input{background-color:#34495e;color:#fff}.prefixIRIElements input{border:1px solid #34495e}.prefixIRIElements input:disabled{background-color:#18202a;border:1px solid #18202a;color:#fff}.converter-form-Editor input{float:right;border:1px solid #34495e;background-color:#34495e;color:#fff}.converter-form-Editor input:disabled{background-color:#545350;border:1px solid #34495e;color:#939798}.disabledLabelForSlider{color:gray} \ No newline at end of file diff --git a/dist/vocabulary/implementation/0.1.0/webvowl/css/webvowl.css b/dist/vocabulary/implementation/0.1.0/webvowl/css/webvowl.css new file mode 100644 index 0000000..335ea85 --- /dev/null +++ b/dist/vocabulary/implementation/0.1.0/webvowl/css/webvowl.css @@ -0,0 +1 @@ +.text{font-family:Helvetica,Arial,sans-serif;font-size:12px}.subtext{font-size:9px}.text.instance-count{fill:#666}.external+text .instance-count{fill:#aaa}.cardinality{font-size:10px}.embedded,.text{pointer-events:none}.allvaluesfromproperty,.class,.disjoint,.disjointwith,.equivalentproperty,.functionalproperty,.inversefunctionalproperty,.object,.objectproperty,.somevaluesfromproperty,.symmetricproperty,.transitiveproperty{fill:#acf}.datatypeproperty,.label .datatype{fill:#9c6}.rdf,.rdfproperty{fill:#c9c}.literal,.node .datatype{fill:#fc3}.deprecated,.deprecatedproperty{fill:#ccc}.nofill,path{fill:none}marker path{fill:#000}.class,.fineline,line,path{stroke:#000}.external+text,.subclass,.subclassproperty,.white{fill:#fff}.cardinality.focused,.cardinality.hovered,.class.hovered,.filled.focused,.filled.hovered,.hoveredForEditing,.property.hovered,.values-from.filled.hovered{fill:red!important;cursor:pointer}.feature{fill:red;cursor:pointer}@-webkit-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-moz-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-o-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}.searchResultA{-webkit-animation-name:pulseAnimation;-moz-animation-name:pulseAnimation;-o-animation-name:pulseAnimation;animation-name:pulseAnimation;-webkit-animation-duration:.8s;-moz-animation-duration:.8s;-o-animation-duration:.8s;animation-duration:.8s;-webkit-transform:translateZ(0);-o-transform:translateZ(0);-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}.searchResultA,.searchResultB{fill:none;stroke-width:5;stroke:red}.hovered-MathSymbol{fill:none}.focused,.hovered-MathSymbol,path.hovered{stroke:red!important}.feature:hover,.feature_hover,.indirect-highlighting{fill:#f90;cursor:pointer}.values-from{stroke:#69c}.symbol,.values-from.filled{fill:#69c}.class,line,path{stroke-width:2}.fineline{stroke-width:1}.anonymous,.dashed{stroke-dasharray:8}.dotted{stroke-dasharray:3}circle.focused,rect.focused{stroke-width:4px}.nostroke{stroke:none}.addDataPropertyElement{fill:#9c6!important;cursor:pointer;stroke-width:2;stroke:#000}.addDataPropertyElement:hover{fill:#f90!important;cursor:pointer;stroke-width:2;stroke:#000}.superHiddenElement{fill:rgba(255,153,0,.4);cursor:pointer;stroke-width:0;stroke:#000}.superOpacityElement{opacity:0}.deleteParentElement:hover{fill:#f90;cursor:pointer;stroke-width:2;stroke:#000}.deleteParentElement{fill:red;cursor:pointer;stroke-width:2;stroke:#000}.classDraggerNodeHovered,.classNodeDragPath{stroke:#000;stroke-width:2px}.classDraggerNodeHovered{fill:#f90;cursor:pointer}.classDraggerNode{fill:#acf;stroke:#000;stroke-width:2px}marker path{stroke-dasharray:100} \ No newline at end of file diff --git a/dist/vocabulary/implementation/0.1.0/webvowl/data/foaf.json b/dist/vocabulary/implementation/0.1.0/webvowl/data/foaf.json new file mode 100644 index 0000000..beaaffc --- /dev/null +++ b/dist/vocabulary/implementation/0.1.0/webvowl/data/foaf.json @@ -0,0 +1,2894 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.6), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "undefined" ], + "baseIris" : [ "http://schema.org", "http://www.w3.org/2000/01/rdf-schema", "http://www.w3.org/2003/01/geo/wgs84_pos", "http://purl.org/dc/terms", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "http://www.w3.org/2000/10/swap/pim/contact", "http://www.w3.org/2004/02/skos/core" ], + "prefixList" : { + "owl" : "http://www.w3.org/2002/07/owl#", + "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "wot" : "http://xmlns.com/wot/0.1/", + "xsd" : "http://www.w3.org/2001/XMLSchema#", + "dc" : "http://purl.org/dc/elements/1.1/", + "xml" : "http://www.w3.org/XML/1998/namespace", + "vs" : "http://www.w3.org/2003/06/sw-vocab-status/ns#", + "foaf" : "http://xmlns.com/foaf/0.1/", + "rdfs" : "http://www.w3.org/2000/01/rdf-schema#" + }, + "title" : { + "undefined" : "Friend of a Friend (FOAF) vocabulary" + }, + "iri" : "http://xmlns.com/foaf/0.1/", + "description" : { + "undefined" : "The Friend of a Friend (FOAF) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language." + }, + "other" : { + "title" : [ { + "identifier" : "title", + "language" : "undefined", + "value" : "Friend of a Friend (FOAF) vocabulary", + "type" : "label" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "3", + "type" : "owl:Thing" + }, { + "id" : "9", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:equivalentClass" + }, { + "id" : "18", + "type" : "owl:Thing" + }, { + "id" : "19", + "type" : "owl:Thing" + }, { + "id" : "5", + "type" : "owl:Thing" + }, { + "id" : "20", + "type" : "rdfs:Literal" + }, { + "id" : "8", + "type" : "rdfs:Literal" + }, { + "id" : "11", + "type" : "owl:Class" + }, { + "id" : "21", + "type" : "owl:Thing" + }, { + "id" : "22", + "type" : "rdfs:Literal" + }, { + "id" : "24", + "type" : "rdfs:Literal" + }, { + "id" : "26", + "type" : "rdfs:Literal" + }, { + "id" : "27", + "type" : "rdfs:Literal" + }, { + "id" : "37", + "type" : "owl:equivalentClass" + }, { + "id" : "45", + "type" : "rdfs:Literal" + }, { + "id" : "46", + "type" : "rdfs:Literal" + }, { + "id" : "53", + "type" : "rdfs:Literal" + }, { + "id" : "56", + "type" : "rdfs:Literal" + }, { + "id" : "59", + "type" : "rdfs:Literal" + }, { + "id" : "60", + "type" : "owl:Class" + }, { + "id" : "61", + "type" : "rdfs:Literal" + }, { + "id" : "6", + "type" : "rdfs:Literal" + }, { + "id" : "62", + "type" : "rdfs:Literal" + }, { + "id" : "12", + "type" : "owl:equivalentClass" + }, { + "id" : "55", + "type" : "rdfs:Literal" + }, { + "id" : "69", + "type" : "rdfs:Literal" + }, { + "id" : "71", + "type" : "owl:Class" + }, { + "id" : "36", + "type" : "owl:Class" + }, { + "id" : "86", + "type" : "owl:Class" + }, { + "id" : "83", + "type" : "owl:Class" + }, { + "id" : "94", + "type" : "owl:Class" + }, { + "id" : "73", + "type" : "rdfs:Literal" + }, { + "id" : "68", + "type" : "rdfs:Literal" + }, { + "id" : "93", + "type" : "rdfs:Literal" + }, { + "id" : "33", + "type" : "owl:Thing" + }, { + "id" : "49", + "type" : "rdfs:Literal" + }, { + "id" : "29", + "type" : "owl:Thing" + }, { + "id" : "101", + "type" : "rdfs:Literal" + }, { + "id" : "39", + "type" : "owl:Thing" + }, { + "id" : "63", + "type" : "owl:equivalentClass" + }, { + "id" : "64", + "type" : "owl:equivalentClass" + }, { + "id" : "102", + "type" : "owl:equivalentClass" + }, { + "id" : "78", + "type" : "owl:Class" + }, { + "id" : "77", + "type" : "owl:Class" + }, { + "id" : "13", + "type" : "owl:equivalentClass" + }, { + "id" : "58", + "type" : "rdfs:Literal" + }, { + "id" : "100", + "type" : "rdfs:Literal" + }, { + "id" : "106", + "type" : "rdfs:Literal" + }, { + "id" : "52", + "type" : "rdfs:Literal" + }, { + "id" : "88", + "type" : "rdfs:Literal" + }, { + "id" : "118", + "type" : "rdfs:Literal" + }, { + "id" : "126", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:equivalentClass" + }, { + "id" : "32", + "type" : "owl:equivalentClass" + }, { + "id" : "10", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "3", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2004/02/skos/core#Concept", + "baseIri" : "http://www.w3.org/2004/02/skos/core", + "instances" : 0, + "label" : { + "IRI-based" : "Concept", + "undefined" : "Concept" + }, + "attributes" : [ "external" ], + "id" : "9" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Agent", + "equivalent" : [ "13" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Agent", + "undefined" : "Agent" + }, + "subClasses" : [ "10", "11", "12" ], + "comment" : { + "undefined" : "An agent (eg. person, group, software or physical artifact)." + }, + "attributes" : [ "equivalent" ], + "id" : "1" + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "18", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "19", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "5", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "20", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "8", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Organization", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Organization", + "undefined" : "Organization" + }, + "comment" : { + "undefined" : "An organization." + }, + "id" : "11", + "superClasses" : [ "1" ] + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "21", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "22", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "24", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "26", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "27", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://schema.org/CreativeWork", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "CreativeWork" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "37" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "45", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "46", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "53", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "56", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "59", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Project", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Project", + "undefined" : "Project" + }, + "comment" : { + "undefined" : "A project (a collective endeavour of some kind)." + }, + "id" : "60" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "61", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "6", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "62", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "equivalent" : [ "63", "64" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Person", + "undefined" : "Person" + }, + "comment" : { + "undefined" : "A person." + }, + "attributes" : [ "equivalent" ], + "id" : "12", + "superClasses" : [ "1", "36" ] + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "55", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "69", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/PersonalProfileDocument", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "PersonalProfileDocument", + "undefined" : "PersonalProfileDocument" + }, + "comment" : { + "undefined" : "A personal profile RDF document." + }, + "id" : "71", + "superClasses" : [ "2" ] + }, { + "iri" : "http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing", + "baseIri" : "http://www.w3.org/2003/01/geo/wgs84_pos", + "instances" : 0, + "label" : { + "IRI-based" : "SpatialThing", + "undefined" : "Spatial Thing" + }, + "subClasses" : [ "12" ], + "attributes" : [ "external" ], + "id" : "36" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineChatAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineChatAccount", + "undefined" : "Online Chat Account" + }, + "comment" : { + "undefined" : "An online chat account." + }, + "id" : "86", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineGamingAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineGamingAccount", + "undefined" : "Online Gaming Account" + }, + "comment" : { + "undefined" : "An online gaming account." + }, + "id" : "83", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/LabelProperty", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "LabelProperty", + "undefined" : "Label Property" + }, + "comment" : { + "undefined" : "A foaf:LabelProperty is any RDF property with texual values that serve as labels." + }, + "id" : "94" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "73", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "68", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "93", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "33", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "49", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "29", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "101", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "39", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/10/swap/pim/contact#Person", + "baseIri" : "http://www.w3.org/2000/10/swap/pim/contact", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "63" + }, { + "iri" : "http://schema.org/Person", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "64" + }, { + "iri" : "http://schema.org/ImageObject", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "ImageObject" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "102" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineAccount", + "undefined" : "Online Account" + }, + "subClasses" : [ "77", "86", "83" ], + "comment" : { + "undefined" : "An online account." + }, + "id" : "78" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineEcommerceAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineEcommerceAccount", + "undefined" : "Online E-commerce Account" + }, + "comment" : { + "undefined" : "An online e-commerce account." + }, + "id" : "77", + "superClasses" : [ "78" ] + }, { + "iri" : "http://purl.org/dc/terms/Agent", + "baseIri" : "http://purl.org/dc/terms", + "instances" : 0, + "label" : { + "IRI-based" : "Agent" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "13" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "58", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "100", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "106", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "52", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "88", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "118", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Class", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "instances" : 0, + "label" : { + "IRI-based" : "Class" + }, + "attributes" : [ "external" ], + "id" : "126" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Document", + "equivalent" : [ "37" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Document", + "undefined" : "Document" + }, + "subClasses" : [ "71", "32" ], + "comment" : { + "undefined" : "A document." + }, + "attributes" : [ "equivalent" ], + "id" : "2" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Image", + "equivalent" : [ "102" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Image", + "undefined" : "Image" + }, + "comment" : { + "undefined" : "An image." + }, + "attributes" : [ "equivalent" ], + "id" : "32", + "superClasses" : [ "2" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/Group", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Group", + "undefined" : "Group" + }, + "comment" : { + "undefined" : "A class of Agents." + }, + "id" : "10", + "superClasses" : [ "1" ] + } ], + "property" : [ { + "id" : "0", + "type" : "owl:objectProperty" + }, { + "id" : "4", + "type" : "owl:datatypeProperty" + }, { + "id" : "7", + "type" : "owl:datatypeProperty" + }, { + "id" : "14", + "type" : "owl:objectProperty" + }, { + "id" : "16", + "type" : "owl:objectProperty" + }, { + "id" : "17", + "type" : "owl:objectProperty" + }, { + "id" : "23", + "type" : "owl:objectProperty" + }, { + "id" : "25", + "type" : "owl:objectProperty" + }, { + "id" : "28", + "type" : "owl:objectProperty" + }, { + "id" : "30", + "type" : "owl:objectProperty" + }, { + "id" : "31", + "type" : "owl:objectProperty" + }, { + "id" : "35", + "type" : "owl:objectProperty" + }, { + "id" : "38", + "type" : "owl:objectProperty" + }, { + "id" : "44", + "type" : "owl:datatypeProperty" + }, { + "id" : "47", + "type" : "owl:objectProperty" + }, { + "id" : "48", + "type" : "owl:datatypeProperty" + }, { + "id" : "50", + "type" : "owl:objectProperty" + }, { + "id" : "51", + "type" : "owl:datatypeProperty" + }, { + "id" : "54", + "type" : "owl:datatypeProperty" + }, { + "id" : "57", + "type" : "owl:datatypeProperty" + }, { + "id" : "65", + "type" : "owl:datatypeProperty" + }, { + "id" : "66", + "type" : "owl:datatypeProperty" + }, { + "id" : "67", + "type" : "owl:datatypeProperty" + }, { + "id" : "70", + "type" : "owl:datatypeProperty" + }, { + "id" : "72", + "type" : "owl:datatypeProperty" + }, { + "id" : "15", + "type" : "owl:objectProperty" + }, { + "id" : "74", + "type" : "rdfs:SubClassOf" + }, { + "id" : "75", + "type" : "rdfs:SubClassOf" + }, { + "id" : "76", + "type" : "rdfs:SubClassOf" + }, { + "id" : "79", + "type" : "rdfs:SubClassOf" + }, { + "id" : "80", + "type" : "owl:objectProperty" + }, { + "id" : "81", + "type" : "owl:objectProperty" + }, { + "id" : "82", + "type" : "rdfs:SubClassOf" + }, { + "id" : "34", + "type" : "owl:objectProperty" + }, { + "id" : "85", + "type" : "rdfs:SubClassOf" + }, { + "id" : "87", + "type" : "owl:datatypeProperty" + }, { + "id" : "89", + "type" : "rdfs:SubClassOf" + }, { + "id" : "90", + "type" : "rdfs:SubClassOf" + }, { + "id" : "91", + "type" : "owl:objectProperty" + }, { + "id" : "92", + "type" : "owl:datatypeProperty" + }, { + "id" : "95", + "type" : "owl:datatypeProperty" + }, { + "id" : "96", + "type" : "owl:objectProperty" + }, { + "id" : "97", + "type" : "owl:datatypeProperty" + }, { + "id" : "98", + "type" : "rdfs:SubClassOf" + }, { + "id" : "99", + "type" : "owl:datatypeProperty" + }, { + "id" : "43", + "type" : "owl:objectProperty" + }, { + "id" : "42", + "type" : "owl:objectProperty" + }, { + "id" : "103", + "type" : "owl:datatypeProperty" + }, { + "id" : "104", + "type" : "owl:objectProperty" + }, { + "id" : "105", + "type" : "owl:datatypeProperty" + }, { + "id" : "107", + "type" : "owl:objectProperty" + }, { + "id" : "108", + "type" : "owl:datatypeProperty" + }, { + "id" : "109", + "type" : "owl:objectProperty" + }, { + "id" : "110", + "type" : "owl:objectProperty" + }, { + "id" : "40", + "type" : "owl:objectProperty" + }, { + "id" : "41", + "type" : "owl:objectProperty" + }, { + "id" : "84", + "type" : "owl:objectProperty" + }, { + "id" : "111", + "type" : "owl:datatypeProperty" + }, { + "id" : "112", + "type" : "owl:datatypeProperty" + }, { + "id" : "113", + "type" : "owl:datatypeProperty" + }, { + "id" : "114", + "type" : "owl:objectProperty" + }, { + "id" : "116", + "type" : "owl:disjointWith" + }, { + "id" : "117", + "type" : "owl:disjointWith" + }, { + "id" : "119", + "type" : "owl:datatypeProperty" + }, { + "id" : "120", + "type" : "owl:disjointWith" + }, { + "id" : "121", + "type" : "owl:disjointWith" + }, { + "id" : "122", + "type" : "owl:objectProperty" + }, { + "id" : "123", + "type" : "owl:datatypeProperty" + }, { + "id" : "124", + "type" : "owl:objectProperty" + }, { + "id" : "125", + "type" : "owl:datatypeProperty" + }, { + "id" : "127", + "type" : "owl:datatypeProperty" + }, { + "id" : "115", + "type" : "owl:objectProperty" + }, { + "id" : "128", + "type" : "owl:objectProperty" + }, { + "id" : "129", + "type" : "owl:objectProperty" + } ], + "propertyAttribute" : [ { + "iri" : "http://xmlns.com/foaf/0.1/interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "interest", + "undefined" : "interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A page about a topic of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "0" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox_sha1sum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "6", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox_sha1sum", + "undefined" : "sha1sum of a personal mailbox URI name" + }, + "domain" : "5", + "comment" : { + "undefined" : "The sha1sum of the URI of an Internet mailbox associated with exactly one owner, the first owner of the mailbox." + }, + "attributes" : [ "datatype" ], + "id" : "4" + }, { + "iri" : "http://xmlns.com/foaf/0.1/nick", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "8", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "nick", + "undefined" : "nickname" + }, + "domain" : "5", + "comment" : { + "undefined" : "A short informal nickname characterising an agent (includes login identifiers, IRC and other chat nicknames)." + }, + "attributes" : [ "datatype" ], + "id" : "7" + }, { + "iri" : "http://xmlns.com/foaf/0.1/openid", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "openid", + "undefined" : "openid" + }, + "superproperty" : [ "15" ], + "domain" : "1", + "comment" : { + "undefined" : "An OpenID for an Agent." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "14" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workInfoHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workInfoHomepage", + "undefined" : "work info homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A work info homepage of some person; a page about their work for some organization." + }, + "attributes" : [ "object" ], + "id" : "16" + }, { + "iri" : "http://xmlns.com/foaf/0.1/pastProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "pastProject", + "undefined" : "past project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A project this person has previously worked on." + }, + "attributes" : [ "object" ], + "id" : "17" + }, { + "iri" : "http://xmlns.com/foaf/0.1/theme", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "theme", + "undefined" : "theme" + }, + "domain" : "19", + "comment" : { + "undefined" : "A theme." + }, + "attributes" : [ "object" ], + "id" : "23" + }, { + "iri" : "http://xmlns.com/foaf/0.1/knows", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "12", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "knows", + "undefined" : "knows" + }, + "domain" : "12", + "comment" : { + "undefined" : "A person known by this person (indicating some level of reciprocated interaction between the parties)." + }, + "attributes" : [ "object" ], + "id" : "25" + }, { + "iri" : "http://xmlns.com/foaf/0.1/focus", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "29", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "focus", + "undefined" : "focus" + }, + "domain" : "9", + "comment" : { + "undefined" : "The underlying or 'focal' entity associated with some SKOS-described concept." + }, + "attributes" : [ "object" ], + "id" : "28" + }, { + "iri" : "http://xmlns.com/foaf/0.1/phone", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "phone", + "undefined" : "phone" + }, + "domain" : "19", + "comment" : { + "undefined" : "A phone, specified using fully qualified tel: URI scheme (refs: http://www.w3.org/Addressing/schemes.html#tel)." + }, + "attributes" : [ "object" ], + "id" : "30" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depicts", + "inverse" : "34", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "33", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depicts", + "undefined" : "depicts" + }, + "domain" : "32", + "comment" : { + "undefined" : "A thing depicted in this representation." + }, + "attributes" : [ "object" ], + "id" : "31" + }, { + "iri" : "http://xmlns.com/foaf/0.1/based_near", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "36", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "based_near", + "undefined" : "based near" + }, + "domain" : "36", + "comment" : { + "undefined" : "A location that something is based near, for some broadly human notion of near." + }, + "attributes" : [ "object" ], + "id" : "35" + }, { + "iri" : "http://xmlns.com/foaf/0.1/page", + "inverse" : "40", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "page", + "undefined" : "page" + }, + "domain" : "39", + "subproperty" : [ "15", "41", "42", "43" ], + "comment" : { + "undefined" : "A page or document about this thing." + }, + "attributes" : [ "object" ], + "id" : "38" + }, { + "iri" : "http://xmlns.com/foaf/0.1/geekcode", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "26", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "geekcode", + "undefined" : "geekcode" + }, + "domain" : "12", + "comment" : { + "undefined" : "A textual geekcode for this person, see http://www.geekcode.com/geek.html" + }, + "attributes" : [ "datatype" ], + "id" : "44" + }, { + "iri" : "http://xmlns.com/foaf/0.1/primaryTopic", + "inverse" : "15", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "primaryTopic", + "undefined" : "primary topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "The primary topic of some page or document." + }, + "attributes" : [ "object", "functional" ], + "id" : "47" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "49", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenName", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "48" + }, { + "iri" : "http://xmlns.com/foaf/0.1/schoolHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "schoolHomepage", + "undefined" : "schoolHomepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A homepage of a school attended by the person." + }, + "attributes" : [ "object" ], + "id" : "50" + }, { + "iri" : "http://xmlns.com/foaf/0.1/gender", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "52", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "gender", + "undefined" : "gender" + }, + "domain" : "1", + "comment" : { + "undefined" : "The gender of this Agent (typically but not necessarily 'male' or 'female')." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "51" + }, { + "iri" : "http://xmlns.com/foaf/0.1/dnaChecksum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "55", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "dnaChecksum", + "undefined" : "DNA checksum" + }, + "domain" : "19", + "comment" : { + "undefined" : "A checksum for the DNA of some thing. Joke." + }, + "attributes" : [ "datatype" ], + "id" : "54" + }, { + "iri" : "http://xmlns.com/foaf/0.1/lastName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "58", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "lastName", + "undefined" : "lastName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The last name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "57" + }, { + "iri" : "http://xmlns.com/foaf/0.1/status", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "45", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "status", + "undefined" : "status" + }, + "domain" : "1", + "comment" : { + "undefined" : "A string expressing what the user is happy for the general public (normally) to know about their current activity." + }, + "attributes" : [ "datatype" ], + "id" : "65" + }, { + "iri" : "http://xmlns.com/foaf/0.1/yahooChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "46", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "yahooChatID", + "undefined" : "Yahoo chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A Yahoo chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "66" + }, { + "iri" : "http://xmlns.com/foaf/0.1/name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "68", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "name", + "undefined" : "name" + }, + "domain" : "19", + "comment" : { + "undefined" : "A name for some thing." + }, + "attributes" : [ "datatype" ], + "id" : "67" + }, { + "iri" : "http://xmlns.com/foaf/0.1/icqChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "53", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "icqChatID", + "undefined" : "ICQ chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An ICQ chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "70" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "73", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenname", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "72" + }, { + "iri" : "http://xmlns.com/foaf/0.1/isPrimaryTopicOf", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "isPrimaryTopicOf", + "undefined" : "is primary topic of" + }, + "superproperty" : [ "38" ], + "domain" : "39", + "subproperty" : [ "14", "43" ], + "comment" : { + "undefined" : "A document that this thing is the primary topic of." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "15" + }, { + "range" : "2", + "domain" : "32", + "attributes" : [ "anonymous", "object" ], + "id" : "74" + }, { + "range" : "2", + "domain" : "71", + "attributes" : [ "anonymous", "object" ], + "id" : "75" + }, { + "range" : "78", + "domain" : "77", + "attributes" : [ "anonymous", "object" ], + "id" : "76" + }, { + "range" : "36", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "79" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountServiceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountServiceHomepage", + "undefined" : "account service homepage" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates a homepage of the service provide for this online account." + }, + "attributes" : [ "object" ], + "id" : "80" + }, { + "iri" : "http://xmlns.com/foaf/0.1/logo", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "logo", + "undefined" : "logo" + }, + "domain" : "19", + "comment" : { + "undefined" : "A logo representing some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "81" + }, { + "range" : "78", + "domain" : "83", + "attributes" : [ "anonymous", "object" ], + "id" : "82" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depiction", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depiction", + "undefined" : "depiction" + }, + "domain" : "33", + "subproperty" : [ "84" ], + "comment" : { + "undefined" : "A depiction of some thing." + }, + "attributes" : [ "object" ], + "id" : "34" + }, { + "range" : "78", + "domain" : "86", + "attributes" : [ "anonymous", "object" ], + "id" : "85" + }, { + "iri" : "http://xmlns.com/foaf/0.1/family_name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "88", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "family_name", + "undefined" : "family_name" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "87" + }, { + "range" : "1", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "89" + }, { + "range" : "1", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "90" + }, { + "iri" : "http://xmlns.com/foaf/0.1/fundedBy", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "fundedBy", + "undefined" : "funded by" + }, + "domain" : "19", + "comment" : { + "undefined" : "An organization funding a project or person." + }, + "attributes" : [ "object" ], + "id" : "91" + }, { + "iri" : "http://xmlns.com/foaf/0.1/title", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "93", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "title", + "undefined" : "title" + }, + "domain" : "19", + "comment" : { + "undefined" : "Title (Mr, Mrs, Ms, Dr. etc)" + }, + "attributes" : [ "datatype" ], + "id" : "92" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "59", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountName", + "undefined" : "account name" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates the name (identifier) associated with this online account." + }, + "attributes" : [ "datatype" ], + "id" : "95" + }, { + "iri" : "http://xmlns.com/foaf/0.1/account", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "account", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "96" + }, { + "iri" : "http://xmlns.com/foaf/0.1/jabberID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "69", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "jabberID", + "undefined" : "jabber ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A jabber ID for something." + }, + "attributes" : [ "datatype" ], + "id" : "97" + }, { + "range" : "1", + "domain" : "10", + "attributes" : [ "anonymous", "object" ], + "id" : "98" + }, { + "iri" : "http://xmlns.com/foaf/0.1/age", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "100", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "age", + "undefined" : "age" + }, + "domain" : "1", + "comment" : { + "undefined" : "The age in years of some agent." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "99" + }, { + "iri" : "http://xmlns.com/foaf/0.1/homepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "homepage", + "undefined" : "homepage" + }, + "superproperty" : [ "15", "38" ], + "domain" : "39", + "comment" : { + "undefined" : "A homepage for some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "43" + }, { + "iri" : "http://xmlns.com/foaf/0.1/tipjar", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "tipjar", + "undefined" : "tipjar" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A tipjar document for this agent, describing means for payment and reward." + }, + "attributes" : [ "object" ], + "id" : "42" + }, { + "iri" : "http://xmlns.com/foaf/0.1/msnChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "61", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "msnChatID", + "undefined" : "MSN chat ID" + }, + "domain" : "5", + "comment" : { + "undefined" : "An MSN chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "103" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic_interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic_interest", + "undefined" : "topic_interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A thing of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "104" + }, { + "iri" : "http://xmlns.com/foaf/0.1/aimChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "106", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "aimChatID", + "undefined" : "AIM chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An AIM chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "105" + }, { + "iri" : "http://xmlns.com/foaf/0.1/currentProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "currentProject", + "undefined" : "current project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A current project this person works on." + }, + "attributes" : [ "object" ], + "id" : "107" + }, { + "iri" : "http://xmlns.com/foaf/0.1/skypeID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "20", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "skypeID", + "undefined" : "Skype ID" + }, + "domain" : "1", + "comment" : { + "undefined" : "A Skype ID" + }, + "attributes" : [ "datatype" ], + "id" : "108" + }, { + "iri" : "http://xmlns.com/foaf/0.1/holdsAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "holdsAccount", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "109" + }, { + "iri" : "http://xmlns.com/foaf/0.1/thumbnail", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "thumbnail", + "undefined" : "thumbnail" + }, + "domain" : "32", + "comment" : { + "undefined" : "A derived thumbnail image." + }, + "attributes" : [ "object" ], + "id" : "110" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic", + "undefined" : "topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "A topic of some page or document." + }, + "attributes" : [ "object" ], + "id" : "40" + }, { + "iri" : "http://xmlns.com/foaf/0.1/weblog", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "weblog", + "undefined" : "weblog" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A weblog of some thing (whether person, group, company etc.)." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "41" + }, { + "iri" : "http://xmlns.com/foaf/0.1/img", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "img", + "undefined" : "image" + }, + "superproperty" : [ "34" ], + "domain" : "12", + "comment" : { + "undefined" : "An image that can be used to represent some thing (ie. those depictions which are particularly representative of something, eg. one's photo on a homepage)." + }, + "attributes" : [ "object" ], + "id" : "84" + }, { + "iri" : "http://xmlns.com/foaf/0.1/birthday", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "56", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "birthday", + "undefined" : "birthday" + }, + "domain" : "1", + "comment" : { + "undefined" : "The birthday of this Agent, represented in mm-dd string form, eg. '12-31'." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "111" + }, { + "iri" : "http://xmlns.com/foaf/0.1/sha1", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "101", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "sha1", + "undefined" : "sha1sum (hex)" + }, + "domain" : "2", + "comment" : { + "undefined" : "A sha1sum hash, in hex." + }, + "attributes" : [ "datatype" ], + "id" : "112" + }, { + "iri" : "http://xmlns.com/foaf/0.1/firstName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "24", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "firstName", + "undefined" : "firstName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The first name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "113" + }, { + "iri" : "http://xmlns.com/foaf/0.1/made", + "inverse" : "115", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "made", + "undefined" : "made" + }, + "domain" : "1", + "comment" : { + "undefined" : "Something that was made by this agent." + }, + "attributes" : [ "object" ], + "id" : "114" + }, { + "range" : "60", + "domain" : "2", + "attributes" : [ "anonymous", "object" ], + "id" : "116" + }, { + "range" : "12", + "domain" : "60", + "attributes" : [ "anonymous", "object" ], + "id" : "117" + }, { + "iri" : "http://xmlns.com/foaf/0.1/familyName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "62", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "familyName", + "undefined" : "familyName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "119" + }, { + "range" : "2", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "120" + }, { + "range" : "12", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "121" + }, { + "iri" : "http://xmlns.com/foaf/0.1/member", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "member", + "undefined" : "member" + }, + "domain" : "10", + "comment" : { + "undefined" : "Indicates a member of a Group" + }, + "attributes" : [ "object" ], + "id" : "122" + }, { + "iri" : "http://xmlns.com/foaf/0.1/plan", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "27", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "plan", + "undefined" : "plan" + }, + "domain" : "12", + "comment" : { + "undefined" : "A .plan comment, in the tradition of finger and '.plan' files." + }, + "attributes" : [ "datatype" ], + "id" : "123" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox", + "undefined" : "personal mailbox" + }, + "domain" : "1", + "comment" : { + "undefined" : "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox. This is a 'static inverse functional property', in that there is (across time and change) at most one individual that ever has any particular value for foaf:mbox." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "124" + }, { + "iri" : "http://xmlns.com/foaf/0.1/surname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "118", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "surname", + "undefined" : "Surname" + }, + "domain" : "12", + "comment" : { + "undefined" : "The surname of some person." + }, + "attributes" : [ "datatype" ], + "id" : "125" + }, { + "iri" : "http://xmlns.com/foaf/0.1/myersBriggs", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "22", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "myersBriggs", + "undefined" : "myersBriggs" + }, + "domain" : "12", + "comment" : { + "undefined" : "A Myers Briggs (MBTI) personality classification." + }, + "attributes" : [ "datatype" ], + "id" : "127" + }, { + "iri" : "http://xmlns.com/foaf/0.1/maker", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "maker", + "undefined" : "maker" + }, + "domain" : "18", + "comment" : { + "undefined" : "An agent that made this thing." + }, + "attributes" : [ "object" ], + "id" : "115" + }, { + "iri" : "http://xmlns.com/foaf/0.1/publications", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "publications", + "undefined" : "publications" + }, + "domain" : "12", + "comment" : { + "undefined" : "A link to the publications of this person." + }, + "attributes" : [ "object" ], + "id" : "128" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workplaceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workplaceHomepage", + "undefined" : "workplace homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A workplace homepage of some person; the homepage of an organization they work for." + }, + "attributes" : [ "object" ], + "id" : "129" + } ] +} \ No newline at end of file diff --git a/dist/vocabulary/implementation/0.1.0/webvowl/data/ontology.json b/dist/vocabulary/implementation/0.1.0/webvowl/data/ontology.json new file mode 100644 index 0000000..b42a7db --- /dev/null +++ b/dist/vocabulary/implementation/0.1.0/webvowl/data/ontology.json @@ -0,0 +1,477 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.5), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "en", "undefined" ], + "baseIris" : [ "http://www.w3.org/1999/02/22-rdf-syntax-ns", "http://purl.org/vocommons/voaf", "http://www.w3.org/2000/01/rdf-schema", "https://w3id.org/function/vocabulary/implementation", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "https://w3id.org/function/ontology" ], + "title" : { + "en" : "The Function Ontologyy - Implementation vocabulary" + }, + "iri" : "https://w3id.org/function/vocabulary/implementation", + "version" : "0.1.0", + "author" : [ "https://ben.de-meester.org/#me" ], + "description" : { + "en" : "The Function Ontology Implementation vocabulary specifies terms relevant to structure fno:Implementations. The specification is online at https://w3id.org/function/spec" + }, + "labels" : { + "en" : "The Function Ontology - Implementation vocabulary" + }, + "comments" : { + "en" : "-Version 0.1.0: creation." + }, + "other" : { + "license" : [ { + "identifier" : "license", + "language" : "undefined", + "value" : "http://creativecommons.org/license/by/3.0/", + "type" : "iri" + } ], + "creator" : [ { + "identifier" : "creator", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + } ], + "primaryTopic" : [ { + "identifier" : "primaryTopic", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "rights" : [ { + "identifier" : "rights", + "language" : "en", + "value" : "Copyright Ghent University imec IDLab", + "type" : "label" + } ], + "preferredNamespacePrefix" : [ { + "identifier" : "preferredNamespacePrefix", + "language" : "undefined", + "value" : "fnoi", + "type" : "label" + } ], + "modified" : [ { + "identifier" : "modified", + "language" : "undefined", + "value" : "2019-05-21", + "type" : "label" + } ], + "publisher" : [ { + "identifier" : "publisher", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + } ], + "preferredNamespaceUri" : [ { + "identifier" : "preferredNamespaceUri", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation#", + "type" : "label" + } ], + "versionInfo" : [ { + "identifier" : "versionInfo", + "language" : "undefined", + "value" : "0.1.0", + "type" : "label" + } ], + "issued" : [ { + "identifier" : "issued", + "language" : "undefined", + "value" : "2019-05-21", + "type" : "label" + } ], + "title" : [ { + "identifier" : "title", + "language" : "en", + "value" : "The Function Ontologyy - Implementation vocabulary", + "type" : "label" + } ], + "seeAlso" : [ { + "identifier" : "seeAlso", + "language" : "undefined", + "value" : "https://w3id.org/function/spec", + "type" : "iri" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "0", + "type" : "owl:Class" + }, { + "id" : "13", + "type" : "owl:Class" + }, { + "id" : "3", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:Class" + }, { + "id" : "5", + "type" : "rdfs:Datatype" + }, { + "id" : "9", + "type" : "owl:Class" + }, { + "id" : "15", + "type" : "owl:Class" + }, { + "id" : "11", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:Class" + }, { + "id" : "17", + "type" : "owl:Class" + }, { + "id" : "18", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "https://w3id.org/function/vocabulary/implementation#JavaScriptImplementation", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "JavaScriptImplementation", + "en" : "JavaScript Implementation" + }, + "subClasses" : [ "2", "3" ], + "comment" : { + "en" : "A fno:Implementation, coded in JavaScript" + }, + "id" : "0", + "superClasses" : [ "1" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#JsonApi", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "JsonApi", + "en" : "JSON API" + }, + "comment" : { + "en" : "A fno:Implementation, distributed as a JSON (Hydra) API" + }, + "id" : "13", + "superClasses" : [ "9" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#NpmPackage", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "NpmPackage", + "en" : "NPM Package" + }, + "comment" : { + "en" : "A fno:Implementation, distributed as an NPM package" + }, + "id" : "3", + "superClasses" : [ "0" ] + }, { + "iri" : "https://w3id.org/function/ontology#Implementation", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "Implementation" + }, + "subClasses" : [ "0", "9", "11" ], + "attributes" : [ "external" ], + "id" : "1" + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#string", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "5", + "label" : { + "IRI-based" : "string" + } + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#WebApi", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "WebApi", + "en" : "Web API" + }, + "subClasses" : [ "13" ], + "comment" : { + "en" : "A fno:Implementation, distributed as a Web API" + }, + "id" : "9", + "superClasses" : [ "1" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#JavaClass", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "JavaClass", + "en" : "JAVA class" + }, + "comment" : { + "en" : "A fno:Implementation, distributed as a JAVA class snippet file" + }, + "id" : "15", + "superClasses" : [ "11" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#JavaImplementation", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "JavaImplementation", + "en" : "JAVA implementation" + }, + "subClasses" : [ "15" ], + "comment" : { + "en" : "A fno:Implementation, coded in JAVA" + }, + "id" : "11", + "superClasses" : [ "1" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#JavaScriptFunction", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "JavaScriptFunction", + "en" : "JavaScript function" + }, + "comment" : { + "en" : "A fno:Implementation, distributed as a JavaScript snippet" + }, + "id" : "2", + "superClasses" : [ "0" ] + }, { + "iri" : "http://purl.org/vocommons/voaf#Vocabulary", + "baseIri" : "http://purl.org/vocommons/voaf", + "instances" : 0, + "label" : { + "IRI-based" : "Vocabulary" + }, + "individuals" : [ { + "iri" : "https://w3id.org/function/vocabulary/implementation", + "baseIri" : "https://w3id.org/function/vocabulary", + "labels" : { + "IRI-based" : "implementation" + } + } ], + "attributes" : [ "external" ], + "id" : "17" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "individuals" : [ { + "iri" : "https://ben.de-meester.org/#me", + "baseIri" : "https://ben.de-meester.org/", + "annotations" : { + "name" : [ { + "identifier" : "name", + "language" : "en", + "value" : "Ben De Meester", + "type" : "label" + } ], + "mbox" : [ { + "identifier" : "mbox", + "language" : "undefined", + "value" : "mailto:Ben.DeMeester@UGent.be", + "type" : "label" + } ] + }, + "labels" : { + "IRI-based" : "me", + "en" : "Ben De Meester" + } + } ], + "attributes" : [ "external" ], + "id" : "18" + } ], + "property" : [ { + "id" : "4", + "type" : "owl:datatypeProperty" + }, { + "id" : "6", + "type" : "rdfs:SubClassOf" + }, { + "id" : "7", + "type" : "rdfs:SubClassOf" + }, { + "id" : "8", + "type" : "rdfs:SubClassOf" + }, { + "id" : "10", + "type" : "rdfs:SubClassOf" + }, { + "id" : "12", + "type" : "rdfs:SubClassOf" + }, { + "id" : "14", + "type" : "rdfs:SubClassOf" + }, { + "id" : "16", + "type" : "rdfs:SubClassOf" + } ], + "propertyAttribute" : [ { + "iri" : "https://w3id.org/function/vocabulary/implementation#class-name", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "range" : "5", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/vocabulary/implementation#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "class-name", + "en" : "class name" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a class name to an implemenation description." + }, + "attributes" : [ "datatype" ], + "id" : "4" + }, { + "range" : "0", + "domain" : "3", + "attributes" : [ "anonymous", "object" ], + "id" : "6" + }, { + "range" : "1", + "domain" : "0", + "attributes" : [ "anonymous", "object" ], + "id" : "7" + }, { + "range" : "1", + "domain" : "9", + "attributes" : [ "anonymous", "object" ], + "id" : "8" + }, { + "range" : "1", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "10" + }, { + "range" : "9", + "domain" : "13", + "attributes" : [ "anonymous", "object" ], + "id" : "12" + }, { + "range" : "11", + "domain" : "15", + "attributes" : [ "anonymous", "object" ], + "id" : "14" + }, { + "range" : "0", + "domain" : "2", + "attributes" : [ "anonymous", "object" ], + "id" : "16" + } ] +} \ No newline at end of file diff --git a/dist/vocabulary/implementation/0.1.0/webvowl/favicon.ico b/dist/vocabulary/implementation/0.1.0/webvowl/favicon.ico new file mode 100644 index 0000000..a857d51 Binary files /dev/null and b/dist/vocabulary/implementation/0.1.0/webvowl/favicon.ico differ diff --git a/dist/vocabulary/implementation/0.1.0/webvowl/index.html b/dist/vocabulary/implementation/0.1.0/webvowl/index.html new file mode 100644 index 0000000..09acde5 --- /dev/null +++ b/dist/vocabulary/implementation/0.1.0/webvowl/index.html @@ -0,0 +1,480 @@ + + + + + + + + + + + + + + + WebVOWL + + + +
    +
    + + + + + + +
    + + + + +
    +
    +
    + +
    +
    >
    + +
    + +
    + + +
    +
    +
    +

    +

    +

    +

    +

    -

    +
    +
    + + +
    +
    +
    +
    + + + +
    + + + + + + + \ No newline at end of file diff --git a/dist/vocabulary/implementation/0.1.0/webvowl/js/d3.min.js b/dist/vocabulary/implementation/0.1.0/webvowl/js/d3.min.js new file mode 100644 index 0000000..1664873 --- /dev/null +++ b/dist/vocabulary/implementation/0.1.0/webvowl/js/d3.min.js @@ -0,0 +1,5 @@ +!function(){function n(n){return n&&(n.ownerDocument||n.document||n).documentElement}function t(n){return n&&(n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView)}function e(n,t){return t>n?-1:n>t?1:n>=t?0:NaN}function r(n){return null===n?NaN:+n}function i(n){return!isNaN(n)}function u(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)<0?r=u+1:i=u}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)>0?i=u:r=u+1}return r}}}function o(n){return n.length}function a(n){for(var t=1;n*t%1;)t*=10;return t}function l(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function c(){this._=Object.create(null)}function f(n){return(n+="")===bo||n[0]===_o?_o+n:n}function s(n){return(n+="")[0]===_o?n.slice(1):n}function h(n){return f(n)in this._}function p(n){return(n=f(n))in this._&&delete this._[n]}function g(){var n=[];for(var t in this._)n.push(s(t));return n}function v(){var n=0;for(var t in this._)++n;return n}function d(){for(var n in this._)return!1;return!0}function y(){this._=Object.create(null)}function m(n){return n}function M(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function x(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e=0,r=wo.length;r>e;++e){var i=wo[e]+t;if(i in n)return i}}function b(){}function _(){}function w(n){function t(){for(var t,r=e,i=-1,u=r.length;++ie;e++)for(var i,u=n[e],o=0,a=u.length;a>o;o++)(i=u[o])&&t(i,o,e);return n}function Z(n){return ko(n,qo),n}function V(n){var t,e;return function(r,i,u){var o,a=n[u].update,l=a.length;for(u!=e&&(e=u,t=0),i>=t&&(t=i+1);!(o=a[t])&&++t0&&(n=n.slice(0,a));var c=To.get(n);return c&&(n=c,l=B),a?t?i:r:t?b:u}function $(n,t){return function(e){var r=ao.event;ao.event=e,t[0]=this.__data__;try{n.apply(this,t)}finally{ao.event=r}}}function B(n,t){var e=$(n,t);return function(n){var t=this,r=n.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||e.call(t,n)}}function W(e){var r=".dragsuppress-"+ ++Do,i="click"+r,u=ao.select(t(e)).on("touchmove"+r,S).on("dragstart"+r,S).on("selectstart"+r,S);if(null==Ro&&(Ro="onselectstart"in e?!1:x(e.style,"userSelect")),Ro){var o=n(e).style,a=o[Ro];o[Ro]="none"}return function(n){if(u.on(r,null),Ro&&(o[Ro]=a),n){var t=function(){u.on(i,null)};u.on(i,function(){S(),t()},!0),setTimeout(t,0)}}}function J(n,e){e.changedTouches&&(e=e.changedTouches[0]);var r=n.ownerSVGElement||n;if(r.createSVGPoint){var i=r.createSVGPoint();if(0>Po){var u=t(n);if(u.scrollX||u.scrollY){r=ao.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var o=r[0][0].getScreenCTM();Po=!(o.f||o.e),r.remove()}}return Po?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),i=i.matrixTransform(n.getScreenCTM().inverse()),[i.x,i.y]}var a=n.getBoundingClientRect();return[e.clientX-a.left-n.clientLeft,e.clientY-a.top-n.clientTop]}function G(){return ao.event.changedTouches[0].identifier}function K(n){return n>0?1:0>n?-1:0}function Q(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(t[1]-n[1])*(e[0]-n[0])}function nn(n){return n>1?0:-1>n?Fo:Math.acos(n)}function tn(n){return n>1?Io:-1>n?-Io:Math.asin(n)}function en(n){return((n=Math.exp(n))-1/n)/2}function rn(n){return((n=Math.exp(n))+1/n)/2}function un(n){return((n=Math.exp(2*n))-1)/(n+1)}function on(n){return(n=Math.sin(n/2))*n}function an(){}function ln(n,t,e){return this instanceof ln?(this.h=+n,this.s=+t,void(this.l=+e)):arguments.length<2?n instanceof ln?new ln(n.h,n.s,n.l):_n(""+n,wn,ln):new ln(n,t,e)}function cn(n,t,e){function r(n){return n>360?n-=360:0>n&&(n+=360),60>n?u+(o-u)*n/60:180>n?o:240>n?u+(o-u)*(240-n)/60:u}function i(n){return Math.round(255*r(n))}var u,o;return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:0>t?0:t>1?1:t,e=0>e?0:e>1?1:e,o=.5>=e?e*(1+t):e+t-e*t,u=2*e-o,new mn(i(n+120),i(n),i(n-120))}function fn(n,t,e){return this instanceof fn?(this.h=+n,this.c=+t,void(this.l=+e)):arguments.length<2?n instanceof fn?new fn(n.h,n.c,n.l):n instanceof hn?gn(n.l,n.a,n.b):gn((n=Sn((n=ao.rgb(n)).r,n.g,n.b)).l,n.a,n.b):new fn(n,t,e)}function sn(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new hn(e,Math.cos(n*=Yo)*t,Math.sin(n)*t)}function hn(n,t,e){return this instanceof hn?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof hn?new hn(n.l,n.a,n.b):n instanceof fn?sn(n.h,n.c,n.l):Sn((n=mn(n)).r,n.g,n.b):new hn(n,t,e)}function pn(n,t,e){var r=(n+16)/116,i=r+t/500,u=r-e/200;return i=vn(i)*na,r=vn(r)*ta,u=vn(u)*ea,new mn(yn(3.2404542*i-1.5371385*r-.4985314*u),yn(-.969266*i+1.8760108*r+.041556*u),yn(.0556434*i-.2040259*r+1.0572252*u))}function gn(n,t,e){return n>0?new fn(Math.atan2(e,t)*Zo,Math.sqrt(t*t+e*e),n):new fn(NaN,NaN,n)}function vn(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function dn(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function yn(n){return Math.round(255*(.00304>=n?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function mn(n,t,e){return this instanceof mn?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof mn?new mn(n.r,n.g,n.b):_n(""+n,mn,cn):new mn(n,t,e)}function Mn(n){return new mn(n>>16,n>>8&255,255&n)}function xn(n){return Mn(n)+""}function bn(n){return 16>n?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function _n(n,t,e){var r,i,u,o=0,a=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(Nn(i[0]),Nn(i[1]),Nn(i[2]))}return(u=ua.get(n))?t(u.r,u.g,u.b):(null==n||"#"!==n.charAt(0)||isNaN(u=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&u)>>4,o=o>>4|o,a=240&u,a=a>>4|a,l=15&u,l=l<<4|l):7===n.length&&(o=(16711680&u)>>16,a=(65280&u)>>8,l=255&u)),t(o,a,l))}function wn(n,t,e){var r,i,u=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-u,l=(o+u)/2;return a?(i=.5>l?a/(o+u):a/(2-o-u),r=n==o?(t-e)/a+(e>t?6:0):t==o?(e-n)/a+2:(n-t)/a+4,r*=60):(r=NaN,i=l>0&&1>l?0:r),new ln(r,i,l)}function Sn(n,t,e){n=kn(n),t=kn(t),e=kn(e);var r=dn((.4124564*n+.3575761*t+.1804375*e)/na),i=dn((.2126729*n+.7151522*t+.072175*e)/ta),u=dn((.0193339*n+.119192*t+.9503041*e)/ea);return hn(116*i-16,500*(r-i),200*(i-u))}function kn(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Nn(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}function En(n){return"function"==typeof n?n:function(){return n}}function An(n){return function(t,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=null),Cn(t,e,n,r)}}function Cn(n,t,e,r){function i(){var n,t=l.status;if(!t&&Ln(l)||t>=200&&300>t||304===t){try{n=e.call(u,l)}catch(r){return void o.error.call(u,r)}o.load.call(u,n)}else o.error.call(u,l)}var u={},o=ao.dispatch("beforesend","progress","load","error"),a={},l=new XMLHttpRequest,c=null;return!this.XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(n)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=i:l.onreadystatechange=function(){l.readyState>3&&i()},l.onprogress=function(n){var t=ao.event;ao.event=n;try{o.progress.call(u,l)}finally{ao.event=t}},u.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?a[n]:(null==t?delete a[n]:a[n]=t+"",u)},u.mimeType=function(n){return arguments.length?(t=null==n?null:n+"",u):t},u.responseType=function(n){return arguments.length?(c=n,u):c},u.response=function(n){return e=n,u},["get","post"].forEach(function(n){u[n]=function(){return u.send.apply(u,[n].concat(co(arguments)))}}),u.send=function(e,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),l.open(e,n,!0),null==t||"accept"in a||(a.accept=t+",*/*"),l.setRequestHeader)for(var f in a)l.setRequestHeader(f,a[f]);return null!=t&&l.overrideMimeType&&l.overrideMimeType(t),null!=c&&(l.responseType=c),null!=i&&u.on("error",i).on("load",function(n){i(null,n)}),o.beforesend.call(u,l),l.send(null==r?null:r),u},u.abort=function(){return l.abort(),u},ao.rebind(u,o,"on"),null==r?u:u.get(zn(r))}function zn(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}function Ln(n){var t=n.responseType;return t&&"text"!==t?n.response:n.responseText}function qn(n,t,e){var r=arguments.length;2>r&&(t=0),3>r&&(e=Date.now());var i=e+t,u={c:n,t:i,n:null};return aa?aa.n=u:oa=u,aa=u,la||(ca=clearTimeout(ca),la=1,fa(Tn)),u}function Tn(){var n=Rn(),t=Dn()-n;t>24?(isFinite(t)&&(clearTimeout(ca),ca=setTimeout(Tn,t)),la=0):(la=1,fa(Tn))}function Rn(){for(var n=Date.now(),t=oa;t;)n>=t.t&&t.c(n-t.t)&&(t.c=null),t=t.n;return n}function Dn(){for(var n,t=oa,e=1/0;t;)t.c?(t.t8?function(n){return n/e}:function(n){return n*e},symbol:n}}function jn(n){var t=n.decimal,e=n.thousands,r=n.grouping,i=n.currency,u=r&&e?function(n,t){for(var i=n.length,u=[],o=0,a=r[0],l=0;i>0&&a>0&&(l+a+1>t&&(a=Math.max(1,t-l)),u.push(n.substring(i-=a,i+a)),!((l+=a+1)>t));)a=r[o=(o+1)%r.length];return u.reverse().join(e)}:m;return function(n){var e=ha.exec(n),r=e[1]||" ",o=e[2]||">",a=e[3]||"-",l=e[4]||"",c=e[5],f=+e[6],s=e[7],h=e[8],p=e[9],g=1,v="",d="",y=!1,m=!0;switch(h&&(h=+h.substring(1)),(c||"0"===r&&"="===o)&&(c=r="0",o="="),p){case"n":s=!0,p="g";break;case"%":g=100,d="%",p="f";break;case"p":g=100,d="%",p="r";break;case"b":case"o":case"x":case"X":"#"===l&&(v="0"+p.toLowerCase());case"c":m=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===l&&(v=i[0],d=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=pa.get(p)||Fn;var M=c&&s;return function(n){var e=d;if(y&&n%1)return"";var i=0>n||0===n&&0>1/n?(n=-n,"-"):"-"===a?"":a;if(0>g){var l=ao.formatPrefix(n,h);n=l.scale(n),e=l.symbol+d}else n*=g;n=p(n,h);var x,b,_=n.lastIndexOf(".");if(0>_){var w=m?n.lastIndexOf("e"):-1;0>w?(x=n,b=""):(x=n.substring(0,w),b=n.substring(w))}else x=n.substring(0,_),b=t+n.substring(_+1);!c&&s&&(x=u(x,1/0));var S=v.length+x.length+b.length+(M?0:i.length),k=f>S?new Array(S=f-S+1).join(r):"";return M&&(x=u(k+x,k.length?f-b.length:1/0)),i+=v,n=x+b,("<"===o?i+n+k:">"===o?k+i+n:"^"===o?k.substring(0,S>>=1)+i+n+k.substring(S):i+(M?n:k+n))+e}}}function Fn(n){return n+""}function Hn(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function On(n,t,e){function r(t){var e=n(t),r=u(e,1);return r-t>t-e?e:r}function i(e){return t(e=n(new va(e-1)),1),e}function u(n,e){return t(n=new va(+n),e),n}function o(n,r,u){var o=i(n),a=[];if(u>1)for(;r>o;)e(o)%u||a.push(new Date(+o)),t(o,1);else for(;r>o;)a.push(new Date(+o)),t(o,1);return a}function a(n,t,e){try{va=Hn;var r=new Hn;return r._=n,o(r,t,e)}finally{va=Date}}n.floor=n,n.round=r,n.ceil=i,n.offset=u,n.range=o;var l=n.utc=In(n);return l.floor=l,l.round=In(r),l.ceil=In(i),l.offset=In(u),l.range=a,n}function In(n){return function(t,e){try{va=Hn;var r=new Hn;return r._=t,n(r,e)._}finally{va=Date}}}function Yn(n){function t(n){function t(t){for(var e,i,u,o=[],a=-1,l=0;++aa;){if(r>=c)return-1;if(i=t.charCodeAt(a++),37===i){if(o=t.charAt(a++),u=C[o in ya?t.charAt(a++):o],!u||(r=u(n,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function r(n,t,e){_.lastIndex=0;var r=_.exec(t.slice(e));return r?(n.w=w.get(r[0].toLowerCase()),e+r[0].length):-1}function i(n,t,e){x.lastIndex=0;var r=x.exec(t.slice(e));return r?(n.w=b.get(r[0].toLowerCase()),e+r[0].length):-1}function u(n,t,e){N.lastIndex=0;var r=N.exec(t.slice(e));return r?(n.m=E.get(r[0].toLowerCase()),e+r[0].length):-1}function o(n,t,e){S.lastIndex=0;var r=S.exec(t.slice(e));return r?(n.m=k.get(r[0].toLowerCase()),e+r[0].length):-1}function a(n,t,r){return e(n,A.c.toString(),t,r)}function l(n,t,r){return e(n,A.x.toString(),t,r)}function c(n,t,r){return e(n,A.X.toString(),t,r)}function f(n,t,e){var r=M.get(t.slice(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)}var s=n.dateTime,h=n.date,p=n.time,g=n.periods,v=n.days,d=n.shortDays,y=n.months,m=n.shortMonths;t.utc=function(n){function e(n){try{va=Hn;var t=new va;return t._=n,r(t)}finally{va=Date}}var r=t(n);return e.parse=function(n){try{va=Hn;var t=r.parse(n);return t&&t._}finally{va=Date}},e.toString=r.toString,e},t.multi=t.utc.multi=ct;var M=ao.map(),x=Vn(v),b=Xn(v),_=Vn(d),w=Xn(d),S=Vn(y),k=Xn(y),N=Vn(m),E=Xn(m);g.forEach(function(n,t){M.set(n.toLowerCase(),t)});var A={a:function(n){return d[n.getDay()]},A:function(n){return v[n.getDay()]},b:function(n){return m[n.getMonth()]},B:function(n){return y[n.getMonth()]},c:t(s),d:function(n,t){return Zn(n.getDate(),t,2)},e:function(n,t){return Zn(n.getDate(),t,2)},H:function(n,t){return Zn(n.getHours(),t,2)},I:function(n,t){return Zn(n.getHours()%12||12,t,2)},j:function(n,t){return Zn(1+ga.dayOfYear(n),t,3)},L:function(n,t){return Zn(n.getMilliseconds(),t,3)},m:function(n,t){return Zn(n.getMonth()+1,t,2)},M:function(n,t){return Zn(n.getMinutes(),t,2)},p:function(n){return g[+(n.getHours()>=12)]},S:function(n,t){return Zn(n.getSeconds(),t,2)},U:function(n,t){return Zn(ga.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return Zn(ga.mondayOfYear(n),t,2)},x:t(h),X:t(p),y:function(n,t){return Zn(n.getFullYear()%100,t,2)},Y:function(n,t){return Zn(n.getFullYear()%1e4,t,4)},Z:at,"%":function(){return"%"}},C={a:r,A:i,b:u,B:o,c:a,d:tt,e:tt,H:rt,I:rt,j:et,L:ot,m:nt,M:it,p:f,S:ut,U:Bn,w:$n,W:Wn,x:l,X:c,y:Gn,Y:Jn,Z:Kn,"%":lt};return t}function Zn(n,t,e){var r=0>n?"-":"",i=(r?-n:n)+"",u=i.length;return r+(e>u?new Array(e-u+1).join(t)+i:i)}function Vn(n){return new RegExp("^(?:"+n.map(ao.requote).join("|")+")","i")}function Xn(n){for(var t=new c,e=-1,r=n.length;++e68?1900:2e3)}function nt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function tt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function et(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function rt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function it(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function ut(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function ot(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function at(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=xo(t)/60|0,i=xo(t)%60;return e+Zn(r,"0",2)+Zn(i,"0",2)}function lt(n,t,e){Ma.lastIndex=0;var r=Ma.exec(t.slice(e,e+1));return r?e+r[0].length:-1}function ct(n){for(var t=n.length,e=-1;++e=0?1:-1,a=o*e,l=Math.cos(t),c=Math.sin(t),f=u*c,s=i*l+f*Math.cos(a),h=f*o*Math.sin(a);ka.add(Math.atan2(h,s)),r=n,i=l,u=c}var t,e,r,i,u;Na.point=function(o,a){Na.point=n,r=(t=o)*Yo,i=Math.cos(a=(e=a)*Yo/2+Fo/4),u=Math.sin(a)},Na.lineEnd=function(){n(t,e)}}function dt(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function yt(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function mt(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function Mt(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function xt(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function bt(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function _t(n){return[Math.atan2(n[1],n[0]),tn(n[2])]}function wt(n,t){return xo(n[0]-t[0])a;++a)i.point((e=n[a])[0],e[1]);return void i.lineEnd()}var l=new Tt(e,n,null,!0),c=new Tt(e,null,l,!1);l.o=c,u.push(l),o.push(c),l=new Tt(r,n,null,!1),c=new Tt(r,null,l,!0),l.o=c,u.push(l),o.push(c)}}),o.sort(t),qt(u),qt(o),u.length){for(var a=0,l=e,c=o.length;c>a;++a)o[a].e=l=!l;for(var f,s,h=u[0];;){for(var p=h,g=!0;p.v;)if((p=p.n)===h)return;f=p.z,i.lineStart();do{if(p.v=p.o.v=!0,p.e){if(g)for(var a=0,c=f.length;c>a;++a)i.point((s=f[a])[0],s[1]);else r(p.x,p.n.x,1,i);p=p.n}else{if(g){f=p.p.z;for(var a=f.length-1;a>=0;--a)i.point((s=f[a])[0],s[1])}else r(p.x,p.p.x,-1,i);p=p.p}p=p.o,f=p.z,g=!g}while(!p.v);i.lineEnd()}}}function qt(n){if(t=n.length){for(var t,e,r=0,i=n[0];++r0){for(b||(u.polygonStart(),b=!0),u.lineStart();++o1&&2&t&&e.push(e.pop().concat(e.shift())),p.push(e.filter(Dt))}var p,g,v,d=t(u),y=i.invert(r[0],r[1]),m={point:o,lineStart:l,lineEnd:c,polygonStart:function(){m.point=f,m.lineStart=s,m.lineEnd=h,p=[],g=[]},polygonEnd:function(){m.point=o,m.lineStart=l,m.lineEnd=c,p=ao.merge(p);var n=Ot(y,g);p.length?(b||(u.polygonStart(),b=!0),Lt(p,Ut,n,e,u)):n&&(b||(u.polygonStart(),b=!0),u.lineStart(),e(null,null,1,u),u.lineEnd()),b&&(u.polygonEnd(),b=!1),p=g=null},sphere:function(){u.polygonStart(),u.lineStart(),e(null,null,1,u),u.lineEnd(),u.polygonEnd()}},M=Pt(),x=t(M),b=!1;return m}}function Dt(n){return n.length>1}function Pt(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:b,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Ut(n,t){return((n=n.x)[0]<0?n[1]-Io-Uo:Io-n[1])-((t=t.x)[0]<0?t[1]-Io-Uo:Io-t[1])}function jt(n){var t,e=NaN,r=NaN,i=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(u,o){var a=u>0?Fo:-Fo,l=xo(u-e);xo(l-Fo)0?Io:-Io),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(a,r),n.point(u,r),t=0):i!==a&&l>=Fo&&(xo(e-i)Uo?Math.atan((Math.sin(t)*(u=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(t))*Math.sin(n))/(i*u*o)):(t+r)/2}function Ht(n,t,e,r){var i;if(null==n)i=e*Io,r.point(-Fo,i),r.point(0,i),r.point(Fo,i),r.point(Fo,0),r.point(Fo,-i),r.point(0,-i),r.point(-Fo,-i),r.point(-Fo,0),r.point(-Fo,i);else if(xo(n[0]-t[0])>Uo){var u=n[0]a;++a){var c=t[a],f=c.length;if(f)for(var s=c[0],h=s[0],p=s[1]/2+Fo/4,g=Math.sin(p),v=Math.cos(p),d=1;;){d===f&&(d=0),n=c[d];var y=n[0],m=n[1]/2+Fo/4,M=Math.sin(m),x=Math.cos(m),b=y-h,_=b>=0?1:-1,w=_*b,S=w>Fo,k=g*M;if(ka.add(Math.atan2(k*_*Math.sin(w),v*x+k*Math.cos(w))),u+=S?b+_*Ho:b,S^h>=e^y>=e){var N=mt(dt(s),dt(n));bt(N);var E=mt(i,N);bt(E);var A=(S^b>=0?-1:1)*tn(E[2]);(r>A||r===A&&(N[0]||N[1]))&&(o+=S^b>=0?1:-1)}if(!d++)break;h=y,g=M,v=x,s=n}}return(-Uo>u||Uo>u&&-Uo>ka)^1&o}function It(n){function t(n,t){return Math.cos(n)*Math.cos(t)>u}function e(n){var e,u,l,c,f;return{lineStart:function(){c=l=!1,f=1},point:function(s,h){var p,g=[s,h],v=t(s,h),d=o?v?0:i(s,h):v?i(s+(0>s?Fo:-Fo),h):0;if(!e&&(c=l=v)&&n.lineStart(),v!==l&&(p=r(e,g),(wt(e,p)||wt(g,p))&&(g[0]+=Uo,g[1]+=Uo,v=t(g[0],g[1]))),v!==l)f=0,v?(n.lineStart(),p=r(g,e),n.point(p[0],p[1])):(p=r(e,g),n.point(p[0],p[1]),n.lineEnd()),e=p;else if(a&&e&&o^v){var y;d&u||!(y=r(g,e,!0))||(f=0,o?(n.lineStart(),n.point(y[0][0],y[0][1]),n.point(y[1][0],y[1][1]),n.lineEnd()):(n.point(y[1][0],y[1][1]),n.lineEnd(),n.lineStart(),n.point(y[0][0],y[0][1])))}!v||e&&wt(e,g)||n.point(g[0],g[1]),e=g,l=v,u=d},lineEnd:function(){l&&n.lineEnd(),e=null},clean:function(){return f|(c&&l)<<1}}}function r(n,t,e){var r=dt(n),i=dt(t),o=[1,0,0],a=mt(r,i),l=yt(a,a),c=a[0],f=l-c*c;if(!f)return!e&&n;var s=u*l/f,h=-u*c/f,p=mt(o,a),g=xt(o,s),v=xt(a,h);Mt(g,v);var d=p,y=yt(g,d),m=yt(d,d),M=y*y-m*(yt(g,g)-1);if(!(0>M)){var x=Math.sqrt(M),b=xt(d,(-y-x)/m);if(Mt(b,g),b=_t(b),!e)return b;var _,w=n[0],S=t[0],k=n[1],N=t[1];w>S&&(_=w,w=S,S=_);var E=S-w,A=xo(E-Fo)E;if(!A&&k>N&&(_=k,k=N,N=_),C?A?k+N>0^b[1]<(xo(b[0]-w)Fo^(w<=b[0]&&b[0]<=S)){var z=xt(d,(-y+x)/m);return Mt(z,g),[b,_t(z)]}}}function i(t,e){var r=o?n:Fo-n,i=0;return-r>t?i|=1:t>r&&(i|=2),-r>e?i|=4:e>r&&(i|=8),i}var u=Math.cos(n),o=u>0,a=xo(u)>Uo,l=ve(n,6*Yo);return Rt(t,e,l,o?[0,-n]:[-Fo,n-Fo])}function Yt(n,t,e,r){return function(i){var u,o=i.a,a=i.b,l=o.x,c=o.y,f=a.x,s=a.y,h=0,p=1,g=f-l,v=s-c;if(u=n-l,g||!(u>0)){if(u/=g,0>g){if(h>u)return;p>u&&(p=u)}else if(g>0){if(u>p)return;u>h&&(h=u)}if(u=e-l,g||!(0>u)){if(u/=g,0>g){if(u>p)return;u>h&&(h=u)}else if(g>0){if(h>u)return;p>u&&(p=u)}if(u=t-c,v||!(u>0)){if(u/=v,0>v){if(h>u)return;p>u&&(p=u)}else if(v>0){if(u>p)return;u>h&&(h=u)}if(u=r-c,v||!(0>u)){if(u/=v,0>v){if(u>p)return;u>h&&(h=u)}else if(v>0){if(h>u)return;p>u&&(p=u)}return h>0&&(i.a={x:l+h*g,y:c+h*v}),1>p&&(i.b={x:l+p*g,y:c+p*v}),i}}}}}}function Zt(n,t,e,r){function i(r,i){return xo(r[0]-n)0?0:3:xo(r[0]-e)0?2:1:xo(r[1]-t)0?1:0:i>0?3:2}function u(n,t){return o(n.x,t.x)}function o(n,t){var e=i(n,1),r=i(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}return function(a){function l(n){for(var t=0,e=d.length,r=n[1],i=0;e>i;++i)for(var u,o=1,a=d[i],l=a.length,c=a[0];l>o;++o)u=a[o],c[1]<=r?u[1]>r&&Q(c,u,n)>0&&++t:u[1]<=r&&Q(c,u,n)<0&&--t,c=u;return 0!==t}function c(u,a,l,c){var f=0,s=0;if(null==u||(f=i(u,l))!==(s=i(a,l))||o(u,a)<0^l>0){do c.point(0===f||3===f?n:e,f>1?r:t);while((f=(f+l+4)%4)!==s)}else c.point(a[0],a[1])}function f(i,u){return i>=n&&e>=i&&u>=t&&r>=u}function s(n,t){f(n,t)&&a.point(n,t)}function h(){C.point=g,d&&d.push(y=[]),S=!0,w=!1,b=_=NaN}function p(){v&&(g(m,M),x&&w&&E.rejoin(),v.push(E.buffer())),C.point=s,w&&a.lineEnd()}function g(n,t){n=Math.max(-Ha,Math.min(Ha,n)),t=Math.max(-Ha,Math.min(Ha,t));var e=f(n,t);if(d&&y.push([n,t]),S)m=n,M=t,x=e,S=!1,e&&(a.lineStart(),a.point(n,t));else if(e&&w)a.point(n,t);else{var r={a:{x:b,y:_},b:{x:n,y:t}};A(r)?(w||(a.lineStart(),a.point(r.a.x,r.a.y)),a.point(r.b.x,r.b.y),e||a.lineEnd(),k=!1):e&&(a.lineStart(),a.point(n,t),k=!1)}b=n,_=t,w=e}var v,d,y,m,M,x,b,_,w,S,k,N=a,E=Pt(),A=Yt(n,t,e,r),C={point:s,lineStart:h,lineEnd:p,polygonStart:function(){a=E,v=[],d=[],k=!0},polygonEnd:function(){a=N,v=ao.merge(v);var t=l([n,r]),e=k&&t,i=v.length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),c(null,null,1,a),a.lineEnd()),i&&Lt(v,u,t,c,a),a.polygonEnd()),v=d=y=null}};return C}}function Vt(n){var t=0,e=Fo/3,r=ae(n),i=r(t,e);return i.parallels=function(n){return arguments.length?r(t=n[0]*Fo/180,e=n[1]*Fo/180):[t/Fo*180,e/Fo*180]},i}function Xt(n,t){function e(n,t){var e=Math.sqrt(u-2*i*Math.sin(t))/i;return[e*Math.sin(n*=i),o-e*Math.cos(n)]}var r=Math.sin(n),i=(r+Math.sin(t))/2,u=1+r*(2*i-r),o=Math.sqrt(u)/i;return e.invert=function(n,t){var e=o-t;return[Math.atan2(n,e)/i,tn((u-(n*n+e*e)*i*i)/(2*i))]},e}function $t(){function n(n,t){Ia+=i*n-r*t,r=n,i=t}var t,e,r,i;$a.point=function(u,o){$a.point=n,t=r=u,e=i=o},$a.lineEnd=function(){n(t,e)}}function Bt(n,t){Ya>n&&(Ya=n),n>Va&&(Va=n),Za>t&&(Za=t),t>Xa&&(Xa=t)}function Wt(){function n(n,t){o.push("M",n,",",t,u)}function t(n,t){o.push("M",n,",",t),a.point=e}function e(n,t){o.push("L",n,",",t)}function r(){a.point=n}function i(){o.push("Z")}var u=Jt(4.5),o=[],a={point:n,lineStart:function(){a.point=t},lineEnd:r,polygonStart:function(){a.lineEnd=i},polygonEnd:function(){a.lineEnd=r,a.point=n},pointRadius:function(n){return u=Jt(n),a},result:function(){if(o.length){var n=o.join("");return o=[],n}}};return a}function Jt(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function Gt(n,t){Ca+=n,za+=t,++La}function Kt(){function n(n,r){var i=n-t,u=r-e,o=Math.sqrt(i*i+u*u);qa+=o*(t+n)/2,Ta+=o*(e+r)/2,Ra+=o,Gt(t=n,e=r)}var t,e;Wa.point=function(r,i){Wa.point=n,Gt(t=r,e=i)}}function Qt(){Wa.point=Gt}function ne(){function n(n,t){var e=n-r,u=t-i,o=Math.sqrt(e*e+u*u);qa+=o*(r+n)/2,Ta+=o*(i+t)/2,Ra+=o,o=i*n-r*t,Da+=o*(r+n),Pa+=o*(i+t),Ua+=3*o,Gt(r=n,i=t)}var t,e,r,i;Wa.point=function(u,o){Wa.point=n,Gt(t=r=u,e=i=o)},Wa.lineEnd=function(){n(t,e)}}function te(n){function t(t,e){n.moveTo(t+o,e),n.arc(t,e,o,0,Ho)}function e(t,e){n.moveTo(t,e),a.point=r}function r(t,e){n.lineTo(t,e)}function i(){a.point=t}function u(){n.closePath()}var o=4.5,a={point:t,lineStart:function(){a.point=e},lineEnd:i,polygonStart:function(){a.lineEnd=u},polygonEnd:function(){a.lineEnd=i,a.point=t},pointRadius:function(n){return o=n,a},result:b};return a}function ee(n){function t(n){return(a?r:e)(n)}function e(t){return ue(t,function(e,r){e=n(e,r),t.point(e[0],e[1])})}function r(t){function e(e,r){e=n(e,r),t.point(e[0],e[1])}function r(){M=NaN,S.point=u,t.lineStart()}function u(e,r){var u=dt([e,r]),o=n(e,r);i(M,x,m,b,_,w,M=o[0],x=o[1],m=e,b=u[0],_=u[1],w=u[2],a,t),t.point(M,x)}function o(){S.point=e,t.lineEnd()}function l(){ +r(),S.point=c,S.lineEnd=f}function c(n,t){u(s=n,h=t),p=M,g=x,v=b,d=_,y=w,S.point=u}function f(){i(M,x,m,b,_,w,p,g,s,v,d,y,a,t),S.lineEnd=o,o()}var s,h,p,g,v,d,y,m,M,x,b,_,w,S={point:e,lineStart:r,lineEnd:o,polygonStart:function(){t.polygonStart(),S.lineStart=l},polygonEnd:function(){t.polygonEnd(),S.lineStart=r}};return S}function i(t,e,r,a,l,c,f,s,h,p,g,v,d,y){var m=f-t,M=s-e,x=m*m+M*M;if(x>4*u&&d--){var b=a+p,_=l+g,w=c+v,S=Math.sqrt(b*b+_*_+w*w),k=Math.asin(w/=S),N=xo(xo(w)-1)u||xo((m*z+M*L)/x-.5)>.3||o>a*p+l*g+c*v)&&(i(t,e,r,a,l,c,A,C,N,b/=S,_/=S,w,d,y),y.point(A,C),i(A,C,N,b,_,w,f,s,h,p,g,v,d,y))}}var u=.5,o=Math.cos(30*Yo),a=16;return t.precision=function(n){return arguments.length?(a=(u=n*n)>0&&16,t):Math.sqrt(u)},t}function re(n){var t=ee(function(t,e){return n([t*Zo,e*Zo])});return function(n){return le(t(n))}}function ie(n){this.stream=n}function ue(n,t){return{point:t,sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}function oe(n){return ae(function(){return n})()}function ae(n){function t(n){return n=a(n[0]*Yo,n[1]*Yo),[n[0]*h+l,c-n[1]*h]}function e(n){return n=a.invert((n[0]-l)/h,(c-n[1])/h),n&&[n[0]*Zo,n[1]*Zo]}function r(){a=Ct(o=se(y,M,x),u);var n=u(v,d);return l=p-n[0]*h,c=g+n[1]*h,i()}function i(){return f&&(f.valid=!1,f=null),t}var u,o,a,l,c,f,s=ee(function(n,t){return n=u(n,t),[n[0]*h+l,c-n[1]*h]}),h=150,p=480,g=250,v=0,d=0,y=0,M=0,x=0,b=Fa,_=m,w=null,S=null;return t.stream=function(n){return f&&(f.valid=!1),f=le(b(o,s(_(n)))),f.valid=!0,f},t.clipAngle=function(n){return arguments.length?(b=null==n?(w=n,Fa):It((w=+n)*Yo),i()):w},t.clipExtent=function(n){return arguments.length?(S=n,_=n?Zt(n[0][0],n[0][1],n[1][0],n[1][1]):m,i()):S},t.scale=function(n){return arguments.length?(h=+n,r()):h},t.translate=function(n){return arguments.length?(p=+n[0],g=+n[1],r()):[p,g]},t.center=function(n){return arguments.length?(v=n[0]%360*Yo,d=n[1]%360*Yo,r()):[v*Zo,d*Zo]},t.rotate=function(n){return arguments.length?(y=n[0]%360*Yo,M=n[1]%360*Yo,x=n.length>2?n[2]%360*Yo:0,r()):[y*Zo,M*Zo,x*Zo]},ao.rebind(t,s,"precision"),function(){return u=n.apply(this,arguments),t.invert=u.invert&&e,r()}}function le(n){return ue(n,function(t,e){n.point(t*Yo,e*Yo)})}function ce(n,t){return[n,t]}function fe(n,t){return[n>Fo?n-Ho:-Fo>n?n+Ho:n,t]}function se(n,t,e){return n?t||e?Ct(pe(n),ge(t,e)):pe(n):t||e?ge(t,e):fe}function he(n){return function(t,e){return t+=n,[t>Fo?t-Ho:-Fo>t?t+Ho:t,e]}}function pe(n){var t=he(n);return t.invert=he(-n),t}function ge(n,t){function e(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*r+a*i;return[Math.atan2(l*u-f*o,a*r-c*i),tn(f*u+l*o)]}var r=Math.cos(n),i=Math.sin(n),u=Math.cos(t),o=Math.sin(t);return e.invert=function(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*u-l*o;return[Math.atan2(l*u+c*o,a*r+f*i),tn(f*r-a*i)]},e}function ve(n,t){var e=Math.cos(n),r=Math.sin(n);return function(i,u,o,a){var l=o*t;null!=i?(i=de(e,i),u=de(e,u),(o>0?u>i:i>u)&&(i+=o*Ho)):(i=n+o*Ho,u=n-.5*l);for(var c,f=i;o>0?f>u:u>f;f-=l)a.point((c=_t([e,-r*Math.cos(f),-r*Math.sin(f)]))[0],c[1])}}function de(n,t){var e=dt(t);e[0]-=n,bt(e);var r=nn(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Uo)%(2*Math.PI)}function ye(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[n,t]})}}function me(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[t,n]})}}function Me(n){return n.source}function xe(n){return n.target}function be(n,t,e,r){var i=Math.cos(t),u=Math.sin(t),o=Math.cos(r),a=Math.sin(r),l=i*Math.cos(n),c=i*Math.sin(n),f=o*Math.cos(e),s=o*Math.sin(e),h=2*Math.asin(Math.sqrt(on(r-t)+i*o*on(e-n))),p=1/Math.sin(h),g=h?function(n){var t=Math.sin(n*=h)*p,e=Math.sin(h-n)*p,r=e*l+t*f,i=e*c+t*s,o=e*u+t*a;return[Math.atan2(i,r)*Zo,Math.atan2(o,Math.sqrt(r*r+i*i))*Zo]}:function(){return[n*Zo,t*Zo]};return g.distance=h,g}function _e(){function n(n,i){var u=Math.sin(i*=Yo),o=Math.cos(i),a=xo((n*=Yo)-t),l=Math.cos(a);Ja+=Math.atan2(Math.sqrt((a=o*Math.sin(a))*a+(a=r*u-e*o*l)*a),e*u+r*o*l),t=n,e=u,r=o}var t,e,r;Ga.point=function(i,u){t=i*Yo,e=Math.sin(u*=Yo),r=Math.cos(u),Ga.point=n},Ga.lineEnd=function(){Ga.point=Ga.lineEnd=b}}function we(n,t){function e(t,e){var r=Math.cos(t),i=Math.cos(e),u=n(r*i);return[u*i*Math.sin(t),u*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),i=t(r),u=Math.sin(i),o=Math.cos(i);return[Math.atan2(n*u,r*o),Math.asin(r&&e*u/r)]},e}function Se(n,t){function e(n,t){o>0?-Io+Uo>t&&(t=-Io+Uo):t>Io-Uo&&(t=Io-Uo);var e=o/Math.pow(i(t),u);return[e*Math.sin(u*n),o-e*Math.cos(u*n)]}var r=Math.cos(n),i=function(n){return Math.tan(Fo/4+n/2)},u=n===t?Math.sin(n):Math.log(r/Math.cos(t))/Math.log(i(t)/i(n)),o=r*Math.pow(i(n),u)/u;return u?(e.invert=function(n,t){var e=o-t,r=K(u)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/u,2*Math.atan(Math.pow(o/r,1/u))-Io]},e):Ne}function ke(n,t){function e(n,t){var e=u-t;return[e*Math.sin(i*n),u-e*Math.cos(i*n)]}var r=Math.cos(n),i=n===t?Math.sin(n):(r-Math.cos(t))/(t-n),u=r/i+n;return xo(i)i;i++){for(;r>1&&Q(n[e[r-2]],n[e[r-1]],n[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function qe(n,t){return n[0]-t[0]||n[1]-t[1]}function Te(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function Re(n,t,e,r){var i=n[0],u=e[0],o=t[0]-i,a=r[0]-u,l=n[1],c=e[1],f=t[1]-l,s=r[1]-c,h=(a*(l-c)-s*(i-u))/(s*o-a*f);return[i+h*o,l+h*f]}function De(n){var t=n[0],e=n[n.length-1];return!(t[0]-e[0]||t[1]-e[1])}function Pe(){rr(this),this.edge=this.site=this.circle=null}function Ue(n){var t=cl.pop()||new Pe;return t.site=n,t}function je(n){Be(n),ol.remove(n),cl.push(n),rr(n)}function Fe(n){var t=n.circle,e=t.x,r=t.cy,i={x:e,y:r},u=n.P,o=n.N,a=[n];je(n);for(var l=u;l.circle&&xo(e-l.circle.x)f;++f)c=a[f],l=a[f-1],nr(c.edge,l.site,c.site,i);l=a[0],c=a[s-1],c.edge=Ke(l.site,c.site,null,i),$e(l),$e(c)}function He(n){for(var t,e,r,i,u=n.x,o=n.y,a=ol._;a;)if(r=Oe(a,o)-u,r>Uo)a=a.L;else{if(i=u-Ie(a,o),!(i>Uo)){r>-Uo?(t=a.P,e=a):i>-Uo?(t=a,e=a.N):t=e=a;break}if(!a.R){t=a;break}a=a.R}var l=Ue(n);if(ol.insert(t,l),t||e){if(t===e)return Be(t),e=Ue(t.site),ol.insert(l,e),l.edge=e.edge=Ke(t.site,l.site),$e(t),void $e(e);if(!e)return void(l.edge=Ke(t.site,l.site));Be(t),Be(e);var c=t.site,f=c.x,s=c.y,h=n.x-f,p=n.y-s,g=e.site,v=g.x-f,d=g.y-s,y=2*(h*d-p*v),m=h*h+p*p,M=v*v+d*d,x={x:(d*m-p*M)/y+f,y:(h*M-v*m)/y+s};nr(e.edge,c,g,x),l.edge=Ke(c,n,null,x),e.edge=Ke(n,g,null,x),$e(t),$e(e)}}function Oe(n,t){var e=n.site,r=e.x,i=e.y,u=i-t;if(!u)return r;var o=n.P;if(!o)return-(1/0);e=o.site;var a=e.x,l=e.y,c=l-t;if(!c)return a;var f=a-r,s=1/u-1/c,h=f/c;return s?(-h+Math.sqrt(h*h-2*s*(f*f/(-2*c)-l+c/2+i-u/2)))/s+r:(r+a)/2}function Ie(n,t){var e=n.N;if(e)return Oe(e,t);var r=n.site;return r.y===t?r.x:1/0}function Ye(n){this.site=n,this.edges=[]}function Ze(n){for(var t,e,r,i,u,o,a,l,c,f,s=n[0][0],h=n[1][0],p=n[0][1],g=n[1][1],v=ul,d=v.length;d--;)if(u=v[d],u&&u.prepare())for(a=u.edges,l=a.length,o=0;l>o;)f=a[o].end(),r=f.x,i=f.y,c=a[++o%l].start(),t=c.x,e=c.y,(xo(r-t)>Uo||xo(i-e)>Uo)&&(a.splice(o,0,new tr(Qe(u.site,f,xo(r-s)Uo?{x:s,y:xo(t-s)Uo?{x:xo(e-g)Uo?{x:h,y:xo(t-h)Uo?{x:xo(e-p)=-jo)){var p=l*l+c*c,g=f*f+s*s,v=(s*p-c*g)/h,d=(l*g-f*p)/h,s=d+a,y=fl.pop()||new Xe;y.arc=n,y.site=i,y.x=v+o,y.y=s+Math.sqrt(v*v+d*d),y.cy=s,n.circle=y;for(var m=null,M=ll._;M;)if(y.yd||d>=a)return;if(h>g){if(u){if(u.y>=c)return}else u={x:d,y:l};e={x:d,y:c}}else{if(u){if(u.yr||r>1)if(h>g){if(u){if(u.y>=c)return}else u={x:(l-i)/r,y:l};e={x:(c-i)/r,y:c}}else{if(u){if(u.yp){if(u){if(u.x>=a)return}else u={x:o,y:r*o+i};e={x:a,y:r*a+i}}else{if(u){if(u.xu||s>o||r>h||i>p)){if(g=n.point){var g,v=t-n.x,d=e-n.y,y=v*v+d*d;if(l>y){var m=Math.sqrt(l=y);r=t-m,i=e-m,u=t+m,o=e+m,a=g}}for(var M=n.nodes,x=.5*(f+h),b=.5*(s+p),_=t>=x,w=e>=b,S=w<<1|_,k=S+4;k>S;++S)if(n=M[3&S])switch(3&S){case 0:c(n,f,s,x,b);break;case 1:c(n,x,s,h,b);break;case 2:c(n,f,b,x,p);break;case 3:c(n,x,b,h,p)}}}(n,r,i,u,o),a}function vr(n,t){n=ao.rgb(n),t=ao.rgb(t);var e=n.r,r=n.g,i=n.b,u=t.r-e,o=t.g-r,a=t.b-i;return function(n){return"#"+bn(Math.round(e+u*n))+bn(Math.round(r+o*n))+bn(Math.round(i+a*n))}}function dr(n,t){var e,r={},i={};for(e in n)e in t?r[e]=Mr(n[e],t[e]):i[e]=n[e];for(e in t)e in n||(i[e]=t[e]);return function(n){for(e in r)i[e]=r[e](n);return i}}function yr(n,t){return n=+n,t=+t,function(e){return n*(1-e)+t*e}}function mr(n,t){var e,r,i,u=hl.lastIndex=pl.lastIndex=0,o=-1,a=[],l=[];for(n+="",t+="";(e=hl.exec(n))&&(r=pl.exec(t));)(i=r.index)>u&&(i=t.slice(u,i),a[o]?a[o]+=i:a[++o]=i),(e=e[0])===(r=r[0])?a[o]?a[o]+=r:a[++o]=r:(a[++o]=null,l.push({i:o,x:yr(e,r)})),u=pl.lastIndex;return ur;++r)a[(e=l[r]).i]=e.x(n);return a.join("")})}function Mr(n,t){for(var e,r=ao.interpolators.length;--r>=0&&!(e=ao.interpolators[r](n,t)););return e}function xr(n,t){var e,r=[],i=[],u=n.length,o=t.length,a=Math.min(n.length,t.length);for(e=0;a>e;++e)r.push(Mr(n[e],t[e]));for(;u>e;++e)i[e]=n[e];for(;o>e;++e)i[e]=t[e];return function(n){for(e=0;a>e;++e)i[e]=r[e](n);return i}}function br(n){return function(t){return 0>=t?0:t>=1?1:n(t)}}function _r(n){return function(t){return 1-n(1-t)}}function wr(n){return function(t){return.5*(.5>t?n(2*t):2-n(2-2*t))}}function Sr(n){return n*n}function kr(n){return n*n*n}function Nr(n){if(0>=n)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(.5>n?e:3*(n-t)+e-.75)}function Er(n){return function(t){return Math.pow(t,n)}}function Ar(n){return 1-Math.cos(n*Io)}function Cr(n){return Math.pow(2,10*(n-1))}function zr(n){return 1-Math.sqrt(1-n*n)}function Lr(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/Ho*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,-10*r)*Math.sin((r-e)*Ho/t)}}function qr(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}}function Tr(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function Rr(n,t){n=ao.hcl(n),t=ao.hcl(t);var e=n.h,r=n.c,i=n.l,u=t.h-e,o=t.c-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.c:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return sn(e+u*n,r+o*n,i+a*n)+""}}function Dr(n,t){n=ao.hsl(n),t=ao.hsl(t);var e=n.h,r=n.s,i=n.l,u=t.h-e,o=t.s-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.s:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return cn(e+u*n,r+o*n,i+a*n)+""}}function Pr(n,t){n=ao.lab(n),t=ao.lab(t);var e=n.l,r=n.a,i=n.b,u=t.l-e,o=t.a-r,a=t.b-i;return function(n){return pn(e+u*n,r+o*n,i+a*n)+""}}function Ur(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function jr(n){var t=[n.a,n.b],e=[n.c,n.d],r=Hr(t),i=Fr(t,e),u=Hr(Or(e,t,-i))||0;t[0]*e[1]180?t+=360:t-n>180&&(n+=360),r.push({i:e.push(Ir(e)+"rotate(",null,")")-2,x:yr(n,t)})):t&&e.push(Ir(e)+"rotate("+t+")")}function Vr(n,t,e,r){n!==t?r.push({i:e.push(Ir(e)+"skewX(",null,")")-2,x:yr(n,t)}):t&&e.push(Ir(e)+"skewX("+t+")")}function Xr(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push(Ir(e)+"scale(",null,",",null,")");r.push({i:i-4,x:yr(n[0],t[0])},{i:i-2,x:yr(n[1],t[1])})}else 1===t[0]&&1===t[1]||e.push(Ir(e)+"scale("+t+")")}function $r(n,t){var e=[],r=[];return n=ao.transform(n),t=ao.transform(t),Yr(n.translate,t.translate,e,r),Zr(n.rotate,t.rotate,e,r),Vr(n.skew,t.skew,e,r),Xr(n.scale,t.scale,e,r),n=t=null,function(n){for(var t,i=-1,u=r.length;++i=0;)e.push(i[r])}function oi(n,t){for(var e=[n],r=[];null!=(n=e.pop());)if(r.push(n),(u=n.children)&&(i=u.length))for(var i,u,o=-1;++oe;++e)(t=n[e][1])>i&&(r=e,i=t);return r}function yi(n){return n.reduce(mi,0)}function mi(n,t){return n+t[1]}function Mi(n,t){return xi(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function xi(n,t){for(var e=-1,r=+n[0],i=(n[1]-r)/t,u=[];++e<=t;)u[e]=i*e+r;return u}function bi(n){return[ao.min(n),ao.max(n)]}function _i(n,t){return n.value-t.value}function wi(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function Si(n,t){n._pack_next=t,t._pack_prev=n}function ki(n,t){var e=t.x-n.x,r=t.y-n.y,i=n.r+t.r;return.999*i*i>e*e+r*r}function Ni(n){function t(n){f=Math.min(n.x-n.r,f),s=Math.max(n.x+n.r,s),h=Math.min(n.y-n.r,h),p=Math.max(n.y+n.r,p)}if((e=n.children)&&(c=e.length)){var e,r,i,u,o,a,l,c,f=1/0,s=-(1/0),h=1/0,p=-(1/0);if(e.forEach(Ei),r=e[0],r.x=-r.r,r.y=0,t(r),c>1&&(i=e[1],i.x=i.r,i.y=0,t(i),c>2))for(u=e[2],zi(r,i,u),t(u),wi(r,u),r._pack_prev=u,wi(u,i),i=r._pack_next,o=3;c>o;o++){zi(r,i,u=e[o]);var g=0,v=1,d=1;for(a=i._pack_next;a!==i;a=a._pack_next,v++)if(ki(a,u)){g=1;break}if(1==g)for(l=r._pack_prev;l!==a._pack_prev&&!ki(l,u);l=l._pack_prev,d++);g?(d>v||v==d&&i.ro;o++)u=e[o],u.x-=y,u.y-=m,M=Math.max(M,u.r+Math.sqrt(u.x*u.x+u.y*u.y));n.r=M,e.forEach(Ai)}}function Ei(n){n._pack_next=n._pack_prev=n}function Ai(n){delete n._pack_next,delete n._pack_prev}function Ci(n,t,e,r){var i=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,i)for(var u=-1,o=i.length;++u=0;)t=i[u],t.z+=e,t.m+=e,e+=t.s+(r+=t.c)}function Pi(n,t,e){return n.a.parent===t.parent?n.a:e}function Ui(n){return 1+ao.max(n,function(n){return n.y})}function ji(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}function Fi(n){var t=n.children;return t&&t.length?Fi(t[0]):n}function Hi(n){var t,e=n.children;return e&&(t=e.length)?Hi(e[t-1]):n}function Oi(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function Ii(n,t){var e=n.x+t[3],r=n.y+t[0],i=n.dx-t[1]-t[3],u=n.dy-t[0]-t[2];return 0>i&&(e+=i/2,i=0),0>u&&(r+=u/2,u=0),{x:e,y:r,dx:i,dy:u}}function Yi(n){var t=n[0],e=n[n.length-1];return e>t?[t,e]:[e,t]}function Zi(n){return n.rangeExtent?n.rangeExtent():Yi(n.range())}function Vi(n,t,e,r){var i=e(n[0],n[1]),u=r(t[0],t[1]);return function(n){return u(i(n))}}function Xi(n,t){var e,r=0,i=n.length-1,u=n[r],o=n[i];return u>o&&(e=r,r=i,i=e,e=u,u=o,o=e),n[r]=t.floor(u),n[i]=t.ceil(o),n}function $i(n){return n?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:Sl}function Bi(n,t,e,r){var i=[],u=[],o=0,a=Math.min(n.length,t.length)-1;for(n[a]2?Bi:Vi,l=r?Wr:Br;return o=i(n,t,l,e),a=i(t,n,l,Mr),u}function u(n){return o(n)}var o,a;return u.invert=function(n){return a(n)},u.domain=function(t){return arguments.length?(n=t.map(Number),i()):n},u.range=function(n){return arguments.length?(t=n,i()):t},u.rangeRound=function(n){return u.range(n).interpolate(Ur)},u.clamp=function(n){return arguments.length?(r=n,i()):r},u.interpolate=function(n){return arguments.length?(e=n,i()):e},u.ticks=function(t){return Qi(n,t)},u.tickFormat=function(t,e){return nu(n,t,e)},u.nice=function(t){return Gi(n,t),i()},u.copy=function(){return Wi(n,t,e,r)},i()}function Ji(n,t){return ao.rebind(n,t,"range","rangeRound","interpolate","clamp")}function Gi(n,t){return Xi(n,$i(Ki(n,t)[2])),Xi(n,$i(Ki(n,t)[2])),n}function Ki(n,t){null==t&&(t=10);var e=Yi(n),r=e[1]-e[0],i=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),u=t/r*i;return.15>=u?i*=10:.35>=u?i*=5:.75>=u&&(i*=2),e[0]=Math.ceil(e[0]/i)*i,e[1]=Math.floor(e[1]/i)*i+.5*i,e[2]=i,e}function Qi(n,t){return ao.range.apply(ao,Ki(n,t))}function nu(n,t,e){var r=Ki(n,t);if(e){var i=ha.exec(e);if(i.shift(),"s"===i[8]){var u=ao.formatPrefix(Math.max(xo(r[0]),xo(r[1])));return i[7]||(i[7]="."+tu(u.scale(r[2]))),i[8]="f",e=ao.format(i.join("")),function(n){return e(u.scale(n))+u.symbol}}i[7]||(i[7]="."+eu(i[8],r)),e=i.join("")}else e=",."+tu(r[2])+"f";return ao.format(e)}function tu(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}function eu(n,t){var e=tu(t[2]);return n in kl?Math.abs(e-tu(Math.max(xo(t[0]),xo(t[1]))))+ +("e"!==n):e-2*("%"===n)}function ru(n,t,e,r){function i(n){return(e?Math.log(0>n?0:n):-Math.log(n>0?0:-n))/Math.log(t)}function u(n){return e?Math.pow(t,n):-Math.pow(t,-n)}function o(t){return n(i(t))}return o.invert=function(t){return u(n.invert(t))},o.domain=function(t){return arguments.length?(e=t[0]>=0,n.domain((r=t.map(Number)).map(i)),o):r},o.base=function(e){return arguments.length?(t=+e,n.domain(r.map(i)),o):t},o.nice=function(){var t=Xi(r.map(i),e?Math:El);return n.domain(t),r=t.map(u),o},o.ticks=function(){var n=Yi(r),o=[],a=n[0],l=n[1],c=Math.floor(i(a)),f=Math.ceil(i(l)),s=t%1?2:t;if(isFinite(f-c)){if(e){for(;f>c;c++)for(var h=1;s>h;h++)o.push(u(c)*h);o.push(u(c))}else for(o.push(u(c));c++0;h--)o.push(u(c)*h);for(c=0;o[c]l;f--);o=o.slice(c,f)}return o},o.tickFormat=function(n,e){if(!arguments.length)return Nl;arguments.length<2?e=Nl:"function"!=typeof e&&(e=ao.format(e));var r=Math.max(1,t*n/o.ticks().length);return function(n){var o=n/u(Math.round(i(n)));return t-.5>o*t&&(o*=t),r>=o?e(n):""}},o.copy=function(){return ru(n.copy(),t,e,r)},Ji(o,n)}function iu(n,t,e){function r(t){return n(i(t))}var i=uu(t),u=uu(1/t);return r.invert=function(t){return u(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain((e=t.map(Number)).map(i)),r):e},r.ticks=function(n){return Qi(e,n)},r.tickFormat=function(n,t){return nu(e,n,t)},r.nice=function(n){return r.domain(Gi(e,n))},r.exponent=function(o){return arguments.length?(i=uu(t=o),u=uu(1/t),n.domain(e.map(i)),r):t},r.copy=function(){return iu(n.copy(),t,e)},Ji(r,n)}function uu(n){return function(t){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}}function ou(n,t){function e(e){return u[((i.get(e)||("range"===t.t?i.set(e,n.push(e)):NaN))-1)%u.length]}function r(t,e){return ao.range(n.length).map(function(n){return t+e*n})}var i,u,o;return e.domain=function(r){if(!arguments.length)return n;n=[],i=new c;for(var u,o=-1,a=r.length;++oe?[NaN,NaN]:[e>0?a[e-1]:n[0],et?NaN:t/u+n,[t,t+1/u]},r.copy=function(){return lu(n,t,e)},i()}function cu(n,t){function e(e){return e>=e?t[ao.bisect(n,e)]:void 0}return e.domain=function(t){return arguments.length?(n=t,e):n},e.range=function(n){return arguments.length?(t=n,e):t},e.invertExtent=function(e){return e=t.indexOf(e),[n[e-1],n[e]]},e.copy=function(){return cu(n,t)},e}function fu(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return Qi(n,t)},t.tickFormat=function(t,e){return nu(n,t,e)},t.copy=function(){return fu(n)},t}function su(){return 0}function hu(n){return n.innerRadius}function pu(n){return n.outerRadius}function gu(n){return n.startAngle}function vu(n){return n.endAngle}function du(n){return n&&n.padAngle}function yu(n,t,e,r){return(n-e)*t-(t-r)*n>0?0:1}function mu(n,t,e,r,i){var u=n[0]-t[0],o=n[1]-t[1],a=(i?r:-r)/Math.sqrt(u*u+o*o),l=a*o,c=-a*u,f=n[0]+l,s=n[1]+c,h=t[0]+l,p=t[1]+c,g=(f+h)/2,v=(s+p)/2,d=h-f,y=p-s,m=d*d+y*y,M=e-r,x=f*p-h*s,b=(0>y?-1:1)*Math.sqrt(Math.max(0,M*M*m-x*x)),_=(x*y-d*b)/m,w=(-x*d-y*b)/m,S=(x*y+d*b)/m,k=(-x*d+y*b)/m,N=_-g,E=w-v,A=S-g,C=k-v;return N*N+E*E>A*A+C*C&&(_=S,w=k),[[_-l,w-c],[_*e/M,w*e/M]]}function Mu(n){function t(t){function o(){c.push("M",u(n(f),a))}for(var l,c=[],f=[],s=-1,h=t.length,p=En(e),g=En(r);++s1?n.join("L"):n+"Z"}function bu(n){return n.join("L")+"Z"}function _u(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1&&i.push("H",r[0]),i.join("")}function wu(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1){a=t[1],u=n[l],l++,r+="C"+(i[0]+o[0])+","+(i[1]+o[1])+","+(u[0]-a[0])+","+(u[1]-a[1])+","+u[0]+","+u[1];for(var c=2;c9&&(i=3*t/Math.sqrt(i),o[a]=i*e,o[a+1]=i*r));for(a=-1;++a<=l;)i=(n[Math.min(l,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),u.push([i||0,o[a]*i||0]);return u}function Fu(n){return n.length<3?xu(n):n[0]+Au(n,ju(n))}function Hu(n){for(var t,e,r,i=-1,u=n.length;++i=t?o(n-t):void(f.c=o)}function o(e){var i=g.active,u=g[i];u&&(u.timer.c=null,u.timer.t=NaN,--g.count,delete g[i],u.event&&u.event.interrupt.call(n,n.__data__,u.index));for(var o in g)if(r>+o){var c=g[o];c.timer.c=null,c.timer.t=NaN,--g.count,delete g[o]}f.c=a,qn(function(){return f.c&&a(e||1)&&(f.c=null,f.t=NaN),1},0,l),g.active=r,v.event&&v.event.start.call(n,n.__data__,t),p=[],v.tween.forEach(function(e,r){(r=r.call(n,n.__data__,t))&&p.push(r)}),h=v.ease,s=v.duration}function a(i){for(var u=i/s,o=h(u),a=p.length;a>0;)p[--a].call(n,o);return u>=1?(v.event&&v.event.end.call(n,n.__data__,t),--g.count?delete g[r]:delete n[e],1):void 0}var l,f,s,h,p,g=n[e]||(n[e]={active:0,count:0}),v=g[r];v||(l=i.time,f=qn(u,0,l),v=g[r]={tween:new c,time:l,timer:f,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++g.count)}function no(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate("+(isFinite(r)?r:e(n))+",0)"})}function to(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate(0,"+(isFinite(r)?r:e(n))+")"})}function eo(n){return n.toISOString()}function ro(n,t,e){function r(t){return n(t)}function i(n,e){var r=n[1]-n[0],i=r/e,u=ao.bisect(Kl,i);return u==Kl.length?[t.year,Ki(n.map(function(n){return n/31536e6}),e)[2]]:u?t[i/Kl[u-1]1?{floor:function(t){for(;e(t=n.floor(t));)t=io(t-1);return t},ceil:function(t){for(;e(t=n.ceil(t));)t=io(+t+1);return t}}:n))},r.ticks=function(n,t){var e=Yi(r.domain()),u=null==n?i(e,10):"number"==typeof n?i(e,n):!n.range&&[{range:n},t];return u&&(n=u[0],t=u[1]),n.range(e[0],io(+e[1]+1),1>t?1:t)},r.tickFormat=function(){return e},r.copy=function(){return ro(n.copy(),t,e)},Ji(r,n)}function io(n){return new Date(n)}function uo(n){return JSON.parse(n.responseText)}function oo(n){var t=fo.createRange();return t.selectNode(fo.body),t.createContextualFragment(n.responseText)}var ao={version:"3.5.17"},lo=[].slice,co=function(n){return lo.call(n)},fo=this.document;if(fo)try{co(fo.documentElement.childNodes)[0].nodeType}catch(so){co=function(n){for(var t=n.length,e=new Array(t);t--;)e[t]=n[t];return e}}if(Date.now||(Date.now=function(){return+new Date}),fo)try{fo.createElement("DIV").style.setProperty("opacity",0,"")}catch(ho){var po=this.Element.prototype,go=po.setAttribute,vo=po.setAttributeNS,yo=this.CSSStyleDeclaration.prototype,mo=yo.setProperty;po.setAttribute=function(n,t){go.call(this,n,t+"")},po.setAttributeNS=function(n,t,e){vo.call(this,n,t,e+"")},yo.setProperty=function(n,t,e){mo.call(this,n,t+"",e)}}ao.ascending=e,ao.descending=function(n,t){return n>t?-1:t>n?1:t>=n?0:NaN},ao.min=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ir&&(e=r)}else{for(;++i=r){e=r;break}for(;++ir&&(e=r)}return e},ao.max=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ie&&(e=r)}else{for(;++i=r){e=r;break}for(;++ie&&(e=r)}return e},ao.extent=function(n,t){var e,r,i,u=-1,o=n.length;if(1===arguments.length){for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}else{for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}return[e,i]},ao.sum=function(n,t){var e,r=0,u=n.length,o=-1;if(1===arguments.length)for(;++o1?l/(f-1):void 0},ao.deviation=function(){var n=ao.variance.apply(this,arguments);return n?Math.sqrt(n):n};var Mo=u(e);ao.bisectLeft=Mo.left,ao.bisect=ao.bisectRight=Mo.right,ao.bisector=function(n){return u(1===n.length?function(t,r){return e(n(t),r)}:n)},ao.shuffle=function(n,t,e){(u=arguments.length)<3&&(e=n.length,2>u&&(t=0));for(var r,i,u=e-t;u;)i=Math.random()*u--|0,r=n[u+t],n[u+t]=n[i+t],n[i+t]=r;return n},ao.permute=function(n,t){for(var e=t.length,r=new Array(e);e--;)r[e]=n[t[e]];return r},ao.pairs=function(n){for(var t,e=0,r=n.length-1,i=n[0],u=new Array(0>r?0:r);r>e;)u[e]=[t=i,i=n[++e]];return u},ao.transpose=function(n){if(!(i=n.length))return[];for(var t=-1,e=ao.min(n,o),r=new Array(e);++t=0;)for(r=n[i],t=r.length;--t>=0;)e[--o]=r[t];return e};var xo=Math.abs;ao.range=function(n,t,e){if(arguments.length<3&&(e=1,arguments.length<2&&(t=n,n=0)),(t-n)/e===1/0)throw new Error("infinite range");var r,i=[],u=a(xo(e)),o=-1;if(n*=u,t*=u,e*=u,0>e)for(;(r=n+e*++o)>t;)i.push(r/u);else for(;(r=n+e*++o)=u.length)return r?r.call(i,o):e?o.sort(e):o;for(var l,f,s,h,p=-1,g=o.length,v=u[a++],d=new c;++p=u.length)return n;var r=[],i=o[e++];return n.forEach(function(n,i){r.push({key:n,values:t(i,e)})}),i?r.sort(function(n,t){return i(n.key,t.key)}):r}var e,r,i={},u=[],o=[];return i.map=function(t,e){return n(e,t,0)},i.entries=function(e){return t(n(ao.map,e,0),0)},i.key=function(n){return u.push(n),i},i.sortKeys=function(n){return o[u.length-1]=n,i},i.sortValues=function(n){return e=n,i},i.rollup=function(n){return r=n,i},i},ao.set=function(n){var t=new y;if(n)for(var e=0,r=n.length;r>e;++e)t.add(n[e]);return t},l(y,{has:h,add:function(n){return this._[f(n+="")]=!0,n},remove:p,values:g,size:v,empty:d,forEach:function(n){for(var t in this._)n.call(this,s(t))}}),ao.behavior={},ao.rebind=function(n,t){for(var e,r=1,i=arguments.length;++r=0&&(r=n.slice(e+1),n=n.slice(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},ao.event=null,ao.requote=function(n){return n.replace(So,"\\$&")};var So=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ko={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]},No=function(n,t){return t.querySelector(n)},Eo=function(n,t){return t.querySelectorAll(n)},Ao=function(n,t){var e=n.matches||n[x(n,"matchesSelector")];return(Ao=function(n,t){return e.call(n,t)})(n,t)};"function"==typeof Sizzle&&(No=function(n,t){return Sizzle(n,t)[0]||null},Eo=Sizzle,Ao=Sizzle.matchesSelector),ao.selection=function(){return ao.select(fo.documentElement)};var Co=ao.selection.prototype=[];Co.select=function(n){var t,e,r,i,u=[];n=A(n);for(var o=-1,a=this.length;++o=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),Lo.hasOwnProperty(e)?{space:Lo[e],local:n}:n}},Co.attr=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node();return n=ao.ns.qualify(n),n.local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(z(t,n[t]));return this}return this.each(z(n,t))},Co.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=T(n)).length,i=-1;if(t=e.classList){for(;++ii){if("string"!=typeof n){2>i&&(e="");for(r in n)this.each(P(r,n[r],e));return this}if(2>i){var u=this.node();return t(u).getComputedStyle(u,null).getPropertyValue(n)}r=""}return this.each(P(n,e,r))},Co.property=function(n,t){if(arguments.length<2){if("string"==typeof n)return this.node()[n];for(t in n)this.each(U(t,n[t]));return this}return this.each(U(n,t))},Co.text=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.textContent=null==t?"":t}:null==n?function(){this.textContent=""}:function(){this.textContent=n}):this.node().textContent},Co.html=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}:null==n?function(){this.innerHTML=""}:function(){this.innerHTML=n}):this.node().innerHTML},Co.append=function(n){return n=j(n),this.select(function(){return this.appendChild(n.apply(this,arguments))})},Co.insert=function(n,t){return n=j(n),t=A(t),this.select(function(){return this.insertBefore(n.apply(this,arguments),t.apply(this,arguments)||null)})},Co.remove=function(){return this.each(F)},Co.data=function(n,t){function e(n,e){var r,i,u,o=n.length,s=e.length,h=Math.min(o,s),p=new Array(s),g=new Array(s),v=new Array(o);if(t){var d,y=new c,m=new Array(o);for(r=-1;++rr;++r)g[r]=H(e[r]);for(;o>r;++r)v[r]=n[r]}g.update=p,g.parentNode=p.parentNode=v.parentNode=n.parentNode,a.push(g),l.push(p),f.push(v)}var r,i,u=-1,o=this.length;if(!arguments.length){for(n=new Array(o=(r=this[0]).length);++uu;u++){i.push(t=[]),t.parentNode=(e=this[u]).parentNode;for(var a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return E(i)},Co.order=function(){for(var n=-1,t=this.length;++n=0;)(e=r[i])&&(u&&u!==e.nextSibling&&u.parentNode.insertBefore(e,u),u=e);return this},Co.sort=function(n){n=I.apply(this,arguments);for(var t=-1,e=this.length;++tn;n++)for(var e=this[n],r=0,i=e.length;i>r;r++){var u=e[r];if(u)return u}return null},Co.size=function(){var n=0;return Y(this,function(){++n}),n};var qo=[];ao.selection.enter=Z,ao.selection.enter.prototype=qo,qo.append=Co.append,qo.empty=Co.empty,qo.node=Co.node,qo.call=Co.call,qo.size=Co.size,qo.select=function(n){for(var t,e,r,i,u,o=[],a=-1,l=this.length;++ar){if("string"!=typeof n){2>r&&(t=!1);for(e in n)this.each(X(e,n[e],t));return this}if(2>r)return(r=this.node()["__on"+n])&&r._;e=!1}return this.each(X(n,t,e))};var To=ao.map({mouseenter:"mouseover",mouseleave:"mouseout"});fo&&To.forEach(function(n){"on"+n in fo&&To.remove(n)});var Ro,Do=0;ao.mouse=function(n){return J(n,k())};var Po=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;ao.touch=function(n,t,e){if(arguments.length<3&&(e=t,t=k().changedTouches),t)for(var r,i=0,u=t.length;u>i;++i)if((r=t[i]).identifier===e)return J(n,r)},ao.behavior.drag=function(){function n(){this.on("mousedown.drag",u).on("touchstart.drag",o)}function e(n,t,e,u,o){return function(){function a(){var n,e,r=t(h,v);r&&(n=r[0]-M[0],e=r[1]-M[1],g|=n|e,M=r,p({type:"drag",x:r[0]+c[0],y:r[1]+c[1],dx:n,dy:e}))}function l(){t(h,v)&&(y.on(u+d,null).on(o+d,null),m(g),p({type:"dragend"}))}var c,f=this,s=ao.event.target.correspondingElement||ao.event.target,h=f.parentNode,p=r.of(f,arguments),g=0,v=n(),d=".drag"+(null==v?"":"-"+v),y=ao.select(e(s)).on(u+d,a).on(o+d,l),m=W(s),M=t(h,v);i?(c=i.apply(f,arguments),c=[c.x-M[0],c.y-M[1]]):c=[0,0],p({type:"dragstart"})}}var r=N(n,"drag","dragstart","dragend"),i=null,u=e(b,ao.mouse,t,"mousemove","mouseup"),o=e(G,ao.touch,m,"touchmove","touchend");return n.origin=function(t){return arguments.length?(i=t,n):i},ao.rebind(n,r,"on")},ao.touches=function(n,t){return arguments.length<2&&(t=k().touches),t?co(t).map(function(t){var e=J(n,t);return e.identifier=t.identifier,e}):[]};var Uo=1e-6,jo=Uo*Uo,Fo=Math.PI,Ho=2*Fo,Oo=Ho-Uo,Io=Fo/2,Yo=Fo/180,Zo=180/Fo,Vo=Math.SQRT2,Xo=2,$o=4;ao.interpolateZoom=function(n,t){var e,r,i=n[0],u=n[1],o=n[2],a=t[0],l=t[1],c=t[2],f=a-i,s=l-u,h=f*f+s*s;if(jo>h)r=Math.log(c/o)/Vo,e=function(n){return[i+n*f,u+n*s,o*Math.exp(Vo*n*r)]};else{var p=Math.sqrt(h),g=(c*c-o*o+$o*h)/(2*o*Xo*p),v=(c*c-o*o-$o*h)/(2*c*Xo*p),d=Math.log(Math.sqrt(g*g+1)-g),y=Math.log(Math.sqrt(v*v+1)-v);r=(y-d)/Vo,e=function(n){var t=n*r,e=rn(d),a=o/(Xo*p)*(e*un(Vo*t+d)-en(d));return[i+a*f,u+a*s,o*e/rn(Vo*t+d)]}}return e.duration=1e3*r,e},ao.behavior.zoom=function(){function n(n){n.on(L,s).on(Wo+".zoom",p).on("dblclick.zoom",g).on(R,h)}function e(n){return[(n[0]-k.x)/k.k,(n[1]-k.y)/k.k]}function r(n){return[n[0]*k.k+k.x,n[1]*k.k+k.y]}function i(n){k.k=Math.max(A[0],Math.min(A[1],n))}function u(n,t){t=r(t),k.x+=n[0]-t[0],k.y+=n[1]-t[1]}function o(t,e,r,o){t.__chart__={x:k.x,y:k.y,k:k.k},i(Math.pow(2,o)),u(d=e,r),t=ao.select(t),C>0&&(t=t.transition().duration(C)),t.call(n.event)}function a(){b&&b.domain(x.range().map(function(n){return(n-k.x)/k.k}).map(x.invert)),w&&w.domain(_.range().map(function(n){return(n-k.y)/k.k}).map(_.invert))}function l(n){z++||n({type:"zoomstart"})}function c(n){a(),n({type:"zoom",scale:k.k,translate:[k.x,k.y]})}function f(n){--z||(n({type:"zoomend"}),d=null)}function s(){function n(){a=1,u(ao.mouse(i),h),c(o)}function r(){s.on(q,null).on(T,null),p(a),f(o)}var i=this,o=D.of(i,arguments),a=0,s=ao.select(t(i)).on(q,n).on(T,r),h=e(ao.mouse(i)),p=W(i);Il.call(i),l(o)}function h(){function n(){var n=ao.touches(g);return p=k.k,n.forEach(function(n){n.identifier in d&&(d[n.identifier]=e(n))}),n}function t(){var t=ao.event.target;ao.select(t).on(x,r).on(b,a),_.push(t);for(var e=ao.event.changedTouches,i=0,u=e.length;u>i;++i)d[e[i].identifier]=null;var l=n(),c=Date.now();if(1===l.length){if(500>c-M){var f=l[0];o(g,f,d[f.identifier],Math.floor(Math.log(k.k)/Math.LN2)+1),S()}M=c}else if(l.length>1){var f=l[0],s=l[1],h=f[0]-s[0],p=f[1]-s[1];y=h*h+p*p}}function r(){var n,t,e,r,o=ao.touches(g);Il.call(g);for(var a=0,l=o.length;l>a;++a,r=null)if(e=o[a],r=d[e.identifier]){if(t)break;n=e,t=r}if(r){var f=(f=e[0]-n[0])*f+(f=e[1]-n[1])*f,s=y&&Math.sqrt(f/y);n=[(n[0]+e[0])/2,(n[1]+e[1])/2],t=[(t[0]+r[0])/2,(t[1]+r[1])/2],i(s*p)}M=null,u(n,t),c(v)}function a(){if(ao.event.touches.length){for(var t=ao.event.changedTouches,e=0,r=t.length;r>e;++e)delete d[t[e].identifier];for(var i in d)return void n()}ao.selectAll(_).on(m,null),w.on(L,s).on(R,h),N(),f(v)}var p,g=this,v=D.of(g,arguments),d={},y=0,m=".zoom-"+ao.event.changedTouches[0].identifier,x="touchmove"+m,b="touchend"+m,_=[],w=ao.select(g),N=W(g);t(),l(v),w.on(L,null).on(R,t)}function p(){var n=D.of(this,arguments);m?clearTimeout(m):(Il.call(this),v=e(d=y||ao.mouse(this)),l(n)),m=setTimeout(function(){m=null,f(n)},50),S(),i(Math.pow(2,.002*Bo())*k.k),u(d,v),c(n)}function g(){var n=ao.mouse(this),t=Math.log(k.k)/Math.LN2;o(this,n,e(n),ao.event.shiftKey?Math.ceil(t)-1:Math.floor(t)+1)}var v,d,y,m,M,x,b,_,w,k={x:0,y:0,k:1},E=[960,500],A=Jo,C=250,z=0,L="mousedown.zoom",q="mousemove.zoom",T="mouseup.zoom",R="touchstart.zoom",D=N(n,"zoomstart","zoom","zoomend");return Wo||(Wo="onwheel"in fo?(Bo=function(){return-ao.event.deltaY*(ao.event.deltaMode?120:1)},"wheel"):"onmousewheel"in fo?(Bo=function(){return ao.event.wheelDelta},"mousewheel"):(Bo=function(){return-ao.event.detail},"MozMousePixelScroll")),n.event=function(n){n.each(function(){var n=D.of(this,arguments),t=k;Hl?ao.select(this).transition().each("start.zoom",function(){k=this.__chart__||{x:0,y:0,k:1},l(n)}).tween("zoom:zoom",function(){var e=E[0],r=E[1],i=d?d[0]:e/2,u=d?d[1]:r/2,o=ao.interpolateZoom([(i-k.x)/k.k,(u-k.y)/k.k,e/k.k],[(i-t.x)/t.k,(u-t.y)/t.k,e/t.k]);return function(t){var r=o(t),a=e/r[2];this.__chart__=k={x:i-r[0]*a,y:u-r[1]*a,k:a},c(n)}}).each("interrupt.zoom",function(){f(n)}).each("end.zoom",function(){f(n)}):(this.__chart__=k,l(n),c(n),f(n))})},n.translate=function(t){return arguments.length?(k={x:+t[0],y:+t[1],k:k.k},a(),n):[k.x,k.y]},n.scale=function(t){return arguments.length?(k={x:k.x,y:k.y,k:null},i(+t),a(),n):k.k},n.scaleExtent=function(t){return arguments.length?(A=null==t?Jo:[+t[0],+t[1]],n):A},n.center=function(t){return arguments.length?(y=t&&[+t[0],+t[1]],n):y},n.size=function(t){return arguments.length?(E=t&&[+t[0],+t[1]],n):E},n.duration=function(t){return arguments.length?(C=+t,n):C},n.x=function(t){return arguments.length?(b=t,x=t.copy(),k={x:0,y:0,k:1},n):b},n.y=function(t){return arguments.length?(w=t,_=t.copy(),k={x:0,y:0,k:1},n):w},ao.rebind(n,D,"on")};var Bo,Wo,Jo=[0,1/0];ao.color=an,an.prototype.toString=function(){return this.rgb()+""},ao.hsl=ln;var Go=ln.prototype=new an;Go.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,this.l/n)},Go.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,n*this.l)},Go.rgb=function(){return cn(this.h,this.s,this.l)},ao.hcl=fn;var Ko=fn.prototype=new an;Ko.brighter=function(n){return new fn(this.h,this.c,Math.min(100,this.l+Qo*(arguments.length?n:1)))},Ko.darker=function(n){return new fn(this.h,this.c,Math.max(0,this.l-Qo*(arguments.length?n:1)))},Ko.rgb=function(){return sn(this.h,this.c,this.l).rgb()},ao.lab=hn;var Qo=18,na=.95047,ta=1,ea=1.08883,ra=hn.prototype=new an;ra.brighter=function(n){return new hn(Math.min(100,this.l+Qo*(arguments.length?n:1)),this.a,this.b)},ra.darker=function(n){return new hn(Math.max(0,this.l-Qo*(arguments.length?n:1)),this.a,this.b)},ra.rgb=function(){return pn(this.l,this.a,this.b)},ao.rgb=mn;var ia=mn.prototype=new an;ia.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,i=30;return t||e||r?(t&&i>t&&(t=i),e&&i>e&&(e=i),r&&i>r&&(r=i),new mn(Math.min(255,t/n),Math.min(255,e/n),Math.min(255,r/n))):new mn(i,i,i)},ia.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new mn(n*this.r,n*this.g,n*this.b)},ia.hsl=function(){return wn(this.r,this.g,this.b)},ia.toString=function(){return"#"+bn(this.r)+bn(this.g)+bn(this.b)};var ua=ao.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});ua.forEach(function(n,t){ua.set(n,Mn(t))}),ao.functor=En,ao.xhr=An(m),ao.dsv=function(n,t){function e(n,e,u){arguments.length<3&&(u=e,e=null);var o=Cn(n,t,null==e?r:i(e),u);return o.row=function(n){return arguments.length?o.response(null==(e=n)?r:i(n)):e},o}function r(n){return e.parse(n.responseText)}function i(n){return function(t){return e.parse(t.responseText,n)}}function u(t){return t.map(o).join(n)}function o(n){return a.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}var a=new RegExp('["'+n+"\n]"),l=n.charCodeAt(0);return e.parse=function(n,t){var r;return e.parseRows(n,function(n,e){if(r)return r(n,e-1);var i=new Function("d","return {"+n.map(function(n,t){return JSON.stringify(n)+": d["+t+"]"}).join(",")+"}");r=t?function(n,e){return t(i(n),e)}:i})},e.parseRows=function(n,t){function e(){if(f>=c)return o;if(i)return i=!1,u;var t=f;if(34===n.charCodeAt(t)){for(var e=t;e++f;){var r=n.charCodeAt(f++),a=1;if(10===r)i=!0;else if(13===r)i=!0,10===n.charCodeAt(f)&&(++f,++a);else if(r!==l)continue;return n.slice(t,f-a)}return n.slice(t)}for(var r,i,u={},o={},a=[],c=n.length,f=0,s=0;(r=e())!==o;){for(var h=[];r!==u&&r!==o;)h.push(r),r=e();t&&null==(h=t(h,s++))||a.push(h)}return a},e.format=function(t){if(Array.isArray(t[0]))return e.formatRows(t);var r=new y,i=[];return t.forEach(function(n){for(var t in n)r.has(t)||i.push(r.add(t))}),[i.map(o).join(n)].concat(t.map(function(t){return i.map(function(n){return o(t[n])}).join(n)})).join("\n")},e.formatRows=function(n){return n.map(u).join("\n")},e},ao.csv=ao.dsv(",","text/csv"),ao.tsv=ao.dsv(" ","text/tab-separated-values");var oa,aa,la,ca,fa=this[x(this,"requestAnimationFrame")]||function(n){setTimeout(n,17)};ao.timer=function(){qn.apply(this,arguments)},ao.timer.flush=function(){Rn(),Dn()},ao.round=function(n,t){return t?Math.round(n*(t=Math.pow(10,t)))/t:Math.round(n)};var sa=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"].map(Un);ao.formatPrefix=function(n,t){var e=0;return(n=+n)&&(0>n&&(n*=-1),t&&(n=ao.round(n,Pn(n,t))),e=1+Math.floor(1e-12+Math.log(n)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((e-1)/3)))),sa[8+e/3]};var ha=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,pa=ao.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,t){return(n=ao.round(n,Pn(n,t))).toFixed(Math.max(0,Math.min(20,Pn(n*(1+1e-15),t))))}}),ga=ao.time={},va=Date;Hn.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){da.setUTCDate.apply(this._,arguments)},setDay:function(){da.setUTCDay.apply(this._,arguments)},setFullYear:function(){da.setUTCFullYear.apply(this._,arguments)},setHours:function(){da.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){da.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){da.setUTCMinutes.apply(this._,arguments)},setMonth:function(){da.setUTCMonth.apply(this._,arguments)},setSeconds:function(){da.setUTCSeconds.apply(this._,arguments)},setTime:function(){da.setTime.apply(this._,arguments)}};var da=Date.prototype;ga.year=On(function(n){return n=ga.day(n),n.setMonth(0,1),n},function(n,t){n.setFullYear(n.getFullYear()+t)},function(n){return n.getFullYear()}),ga.years=ga.year.range,ga.years.utc=ga.year.utc.range,ga.day=On(function(n){var t=new va(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t},function(n,t){n.setDate(n.getDate()+t)},function(n){return n.getDate()-1}),ga.days=ga.day.range,ga.days.utc=ga.day.utc.range,ga.dayOfYear=function(n){var t=ga.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(n,t){t=7-t;var e=ga[n]=On(function(n){return(n=ga.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n},function(n,t){n.setDate(n.getDate()+7*Math.floor(t))},function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)-(e!==t)});ga[n+"s"]=e.range,ga[n+"s"].utc=e.utc.range,ga[n+"OfYear"]=function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)}}),ga.week=ga.sunday,ga.weeks=ga.sunday.range,ga.weeks.utc=ga.sunday.utc.range,ga.weekOfYear=ga.sundayOfYear;var ya={"-":"",_:" ",0:"0"},ma=/^\s*\d+/,Ma=/^%/;ao.locale=function(n){return{numberFormat:jn(n),timeFormat:Yn(n)}};var xa=ao.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"], +shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});ao.format=xa.numberFormat,ao.geo={},ft.prototype={s:0,t:0,add:function(n){st(n,this.t,ba),st(ba.s,this.s,this),this.s?this.t+=ba.t:this.s=ba.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var ba=new ft;ao.geo.stream=function(n,t){n&&_a.hasOwnProperty(n.type)?_a[n.type](n,t):ht(n,t)};var _a={Feature:function(n,t){ht(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,i=e.length;++rn?4*Fo+n:n,Na.lineStart=Na.lineEnd=Na.point=b}};ao.geo.bounds=function(){function n(n,t){M.push(x=[f=n,h=n]),s>t&&(s=t),t>p&&(p=t)}function t(t,e){var r=dt([t*Yo,e*Yo]);if(y){var i=mt(y,r),u=[i[1],-i[0],0],o=mt(u,i);bt(o),o=_t(o);var l=t-g,c=l>0?1:-1,v=o[0]*Zo*c,d=xo(l)>180;if(d^(v>c*g&&c*t>v)){var m=o[1]*Zo;m>p&&(p=m)}else if(v=(v+360)%360-180,d^(v>c*g&&c*t>v)){var m=-o[1]*Zo;s>m&&(s=m)}else s>e&&(s=e),e>p&&(p=e);d?g>t?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t):h>=f?(f>t&&(f=t),t>h&&(h=t)):t>g?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t)}else n(t,e);y=r,g=t}function e(){b.point=t}function r(){x[0]=f,x[1]=h,b.point=n,y=null}function i(n,e){if(y){var r=n-g;m+=xo(r)>180?r+(r>0?360:-360):r}else v=n,d=e;Na.point(n,e),t(n,e)}function u(){Na.lineStart()}function o(){i(v,d),Na.lineEnd(),xo(m)>Uo&&(f=-(h=180)),x[0]=f,x[1]=h,y=null}function a(n,t){return(t-=n)<0?t+360:t}function l(n,t){return n[0]-t[0]}function c(n,t){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nka?(f=-(h=180),s=-(p=90)):m>Uo?p=90:-Uo>m&&(s=-90),x[0]=f,x[1]=h}};return function(n){p=h=-(f=s=1/0),M=[],ao.geo.stream(n,b);var t=M.length;if(t){M.sort(l);for(var e,r=1,i=M[0],u=[i];t>r;++r)e=M[r],c(e[0],i)||c(e[1],i)?(a(i[0],e[1])>a(i[0],i[1])&&(i[1]=e[1]),a(e[0],i[1])>a(i[0],i[1])&&(i[0]=e[0])):u.push(i=e);for(var o,e,g=-(1/0),t=u.length-1,r=0,i=u[t];t>=r;i=e,++r)e=u[r],(o=a(i[1],e[0]))>g&&(g=o,f=e[0],h=i[1])}return M=x=null,f===1/0||s===1/0?[[NaN,NaN],[NaN,NaN]]:[[f,s],[h,p]]}}(),ao.geo.centroid=function(n){Ea=Aa=Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,ja);var t=Da,e=Pa,r=Ua,i=t*t+e*e+r*r;return jo>i&&(t=qa,e=Ta,r=Ra,Uo>Aa&&(t=Ca,e=za,r=La),i=t*t+e*e+r*r,jo>i)?[NaN,NaN]:[Math.atan2(e,t)*Zo,tn(r/Math.sqrt(i))*Zo]};var Ea,Aa,Ca,za,La,qa,Ta,Ra,Da,Pa,Ua,ja={sphere:b,point:St,lineStart:Nt,lineEnd:Et,polygonStart:function(){ja.lineStart=At},polygonEnd:function(){ja.lineStart=Nt}},Fa=Rt(zt,jt,Ht,[-Fo,-Fo/2]),Ha=1e9;ao.geo.clipExtent=function(){var n,t,e,r,i,u,o={stream:function(n){return i&&(i.valid=!1),i=u(n),i.valid=!0,i},extent:function(a){return arguments.length?(u=Zt(n=+a[0][0],t=+a[0][1],e=+a[1][0],r=+a[1][1]),i&&(i.valid=!1,i=null),o):[[n,t],[e,r]]}};return o.extent([[0,0],[960,500]])},(ao.geo.conicEqualArea=function(){return Vt(Xt)}).raw=Xt,ao.geo.albers=function(){return ao.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},ao.geo.albersUsa=function(){function n(n){var u=n[0],o=n[1];return t=null,e(u,o),t||(r(u,o),t)||i(u,o),t}var t,e,r,i,u=ao.geo.albers(),o=ao.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=ao.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(n,e){t=[n,e]}};return n.invert=function(n){var t=u.scale(),e=u.translate(),r=(n[0]-e[0])/t,i=(n[1]-e[1])/t;return(i>=.12&&.234>i&&r>=-.425&&-.214>r?o:i>=.166&&.234>i&&r>=-.214&&-.115>r?a:u).invert(n)},n.stream=function(n){var t=u.stream(n),e=o.stream(n),r=a.stream(n);return{point:function(n,i){t.point(n,i),e.point(n,i),r.point(n,i)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},n.precision=function(t){return arguments.length?(u.precision(t),o.precision(t),a.precision(t),n):u.precision()},n.scale=function(t){return arguments.length?(u.scale(t),o.scale(.35*t),a.scale(t),n.translate(u.translate())):u.scale()},n.translate=function(t){if(!arguments.length)return u.translate();var c=u.scale(),f=+t[0],s=+t[1];return e=u.translate(t).clipExtent([[f-.455*c,s-.238*c],[f+.455*c,s+.238*c]]).stream(l).point,r=o.translate([f-.307*c,s+.201*c]).clipExtent([[f-.425*c+Uo,s+.12*c+Uo],[f-.214*c-Uo,s+.234*c-Uo]]).stream(l).point,i=a.translate([f-.205*c,s+.212*c]).clipExtent([[f-.214*c+Uo,s+.166*c+Uo],[f-.115*c-Uo,s+.234*c-Uo]]).stream(l).point,n},n.scale(1070)};var Oa,Ia,Ya,Za,Va,Xa,$a={point:b,lineStart:b,lineEnd:b,polygonStart:function(){Ia=0,$a.lineStart=$t},polygonEnd:function(){$a.lineStart=$a.lineEnd=$a.point=b,Oa+=xo(Ia/2)}},Ba={point:Bt,lineStart:b,lineEnd:b,polygonStart:b,polygonEnd:b},Wa={point:Gt,lineStart:Kt,lineEnd:Qt,polygonStart:function(){Wa.lineStart=ne},polygonEnd:function(){Wa.point=Gt,Wa.lineStart=Kt,Wa.lineEnd=Qt}};ao.geo.path=function(){function n(n){return n&&("function"==typeof a&&u.pointRadius(+a.apply(this,arguments)),o&&o.valid||(o=i(u)),ao.geo.stream(n,o)),u.result()}function t(){return o=null,n}var e,r,i,u,o,a=4.5;return n.area=function(n){return Oa=0,ao.geo.stream(n,i($a)),Oa},n.centroid=function(n){return Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,i(Wa)),Ua?[Da/Ua,Pa/Ua]:Ra?[qa/Ra,Ta/Ra]:La?[Ca/La,za/La]:[NaN,NaN]},n.bounds=function(n){return Va=Xa=-(Ya=Za=1/0),ao.geo.stream(n,i(Ba)),[[Ya,Za],[Va,Xa]]},n.projection=function(n){return arguments.length?(i=(e=n)?n.stream||re(n):m,t()):e},n.context=function(n){return arguments.length?(u=null==(r=n)?new Wt:new te(n),"function"!=typeof a&&u.pointRadius(a),t()):r},n.pointRadius=function(t){return arguments.length?(a="function"==typeof t?t:(u.pointRadius(+t),+t),n):a},n.projection(ao.geo.albersUsa()).context(null)},ao.geo.transform=function(n){return{stream:function(t){var e=new ie(t);for(var r in n)e[r]=n[r];return e}}},ie.prototype={point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},ao.geo.projection=oe,ao.geo.projectionMutator=ae,(ao.geo.equirectangular=function(){return oe(ce)}).raw=ce.invert=ce,ao.geo.rotation=function(n){function t(t){return t=n(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t}return n=se(n[0]%360*Yo,n[1]*Yo,n.length>2?n[2]*Yo:0),t.invert=function(t){return t=n.invert(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t},t},fe.invert=ce,ao.geo.circle=function(){function n(){var n="function"==typeof r?r.apply(this,arguments):r,t=se(-n[0]*Yo,-n[1]*Yo,0).invert,i=[];return e(null,null,1,{point:function(n,e){i.push(n=t(n,e)),n[0]*=Zo,n[1]*=Zo}}),{type:"Polygon",coordinates:[i]}}var t,e,r=[0,0],i=6;return n.origin=function(t){return arguments.length?(r=t,n):r},n.angle=function(r){return arguments.length?(e=ve((t=+r)*Yo,i*Yo),n):t},n.precision=function(r){return arguments.length?(e=ve(t*Yo,(i=+r)*Yo),n):i},n.angle(90)},ao.geo.distance=function(n,t){var e,r=(t[0]-n[0])*Yo,i=n[1]*Yo,u=t[1]*Yo,o=Math.sin(r),a=Math.cos(r),l=Math.sin(i),c=Math.cos(i),f=Math.sin(u),s=Math.cos(u);return Math.atan2(Math.sqrt((e=s*o)*e+(e=c*f-l*s*a)*e),l*f+c*s*a)},ao.geo.graticule=function(){function n(){return{type:"MultiLineString",coordinates:t()}}function t(){return ao.range(Math.ceil(u/d)*d,i,d).map(h).concat(ao.range(Math.ceil(c/y)*y,l,y).map(p)).concat(ao.range(Math.ceil(r/g)*g,e,g).filter(function(n){return xo(n%d)>Uo}).map(f)).concat(ao.range(Math.ceil(a/v)*v,o,v).filter(function(n){return xo(n%y)>Uo}).map(s))}var e,r,i,u,o,a,l,c,f,s,h,p,g=10,v=g,d=90,y=360,m=2.5;return n.lines=function(){return t().map(function(n){return{type:"LineString",coordinates:n}})},n.outline=function(){return{type:"Polygon",coordinates:[h(u).concat(p(l).slice(1),h(i).reverse().slice(1),p(c).reverse().slice(1))]}},n.extent=function(t){return arguments.length?n.majorExtent(t).minorExtent(t):n.minorExtent()},n.majorExtent=function(t){return arguments.length?(u=+t[0][0],i=+t[1][0],c=+t[0][1],l=+t[1][1],u>i&&(t=u,u=i,i=t),c>l&&(t=c,c=l,l=t),n.precision(m)):[[u,c],[i,l]]},n.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],o=+t[1][1],r>e&&(t=r,r=e,e=t),a>o&&(t=a,a=o,o=t),n.precision(m)):[[r,a],[e,o]]},n.step=function(t){return arguments.length?n.majorStep(t).minorStep(t):n.minorStep()},n.majorStep=function(t){return arguments.length?(d=+t[0],y=+t[1],n):[d,y]},n.minorStep=function(t){return arguments.length?(g=+t[0],v=+t[1],n):[g,v]},n.precision=function(t){return arguments.length?(m=+t,f=ye(a,o,90),s=me(r,e,m),h=ye(c,l,90),p=me(u,i,m),n):m},n.majorExtent([[-180,-90+Uo],[180,90-Uo]]).minorExtent([[-180,-80-Uo],[180,80+Uo]])},ao.geo.greatArc=function(){function n(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),e||i.apply(this,arguments)]}}var t,e,r=Me,i=xe;return n.distance=function(){return ao.geo.distance(t||r.apply(this,arguments),e||i.apply(this,arguments))},n.source=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,n):r},n.target=function(t){return arguments.length?(i=t,e="function"==typeof t?null:t,n):i},n.precision=function(){return arguments.length?n:0},n},ao.geo.interpolate=function(n,t){return be(n[0]*Yo,n[1]*Yo,t[0]*Yo,t[1]*Yo)},ao.geo.length=function(n){return Ja=0,ao.geo.stream(n,Ga),Ja};var Ja,Ga={sphere:b,point:b,lineStart:_e,lineEnd:b,polygonStart:b,polygonEnd:b},Ka=we(function(n){return Math.sqrt(2/(1+n))},function(n){return 2*Math.asin(n/2)});(ao.geo.azimuthalEqualArea=function(){return oe(Ka)}).raw=Ka;var Qa=we(function(n){var t=Math.acos(n);return t&&t/Math.sin(t)},m);(ao.geo.azimuthalEquidistant=function(){return oe(Qa)}).raw=Qa,(ao.geo.conicConformal=function(){return Vt(Se)}).raw=Se,(ao.geo.conicEquidistant=function(){return Vt(ke)}).raw=ke;var nl=we(function(n){return 1/n},Math.atan);(ao.geo.gnomonic=function(){return oe(nl)}).raw=nl,Ne.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Io]},(ao.geo.mercator=function(){return Ee(Ne)}).raw=Ne;var tl=we(function(){return 1},Math.asin);(ao.geo.orthographic=function(){return oe(tl)}).raw=tl;var el=we(function(n){return 1/(1+n)},function(n){return 2*Math.atan(n)});(ao.geo.stereographic=function(){return oe(el)}).raw=el,Ae.invert=function(n,t){return[-t,2*Math.atan(Math.exp(n))-Io]},(ao.geo.transverseMercator=function(){var n=Ee(Ae),t=n.center,e=n.rotate;return n.center=function(n){return n?t([-n[1],n[0]]):(n=t(),[n[1],-n[0]])},n.rotate=function(n){return n?e([n[0],n[1],n.length>2?n[2]+90:90]):(n=e(),[n[0],n[1],n[2]-90])},e([0,0,90])}).raw=Ae,ao.geom={},ao.geom.hull=function(n){function t(n){if(n.length<3)return[];var t,i=En(e),u=En(r),o=n.length,a=[],l=[];for(t=0;o>t;t++)a.push([+i.call(this,n[t],t),+u.call(this,n[t],t),t]);for(a.sort(qe),t=0;o>t;t++)l.push([a[t][0],-a[t][1]]);var c=Le(a),f=Le(l),s=f[0]===c[0],h=f[f.length-1]===c[c.length-1],p=[];for(t=c.length-1;t>=0;--t)p.push(n[a[c[t]][2]]);for(t=+s;t=r&&c.x<=u&&c.y>=i&&c.y<=o?[[r,o],[u,o],[u,i],[r,i]]:[];f.point=n[a]}),t}function e(n){return n.map(function(n,t){return{x:Math.round(u(n,t)/Uo)*Uo,y:Math.round(o(n,t)/Uo)*Uo,i:t}})}var r=Ce,i=ze,u=r,o=i,a=sl;return n?t(n):(t.links=function(n){return ar(e(n)).edges.filter(function(n){return n.l&&n.r}).map(function(t){return{source:n[t.l.i],target:n[t.r.i]}})},t.triangles=function(n){var t=[];return ar(e(n)).cells.forEach(function(e,r){for(var i,u,o=e.site,a=e.edges.sort(Ve),l=-1,c=a.length,f=a[c-1].edge,s=f.l===o?f.r:f.l;++l=c,h=r>=f,p=h<<1|s;n.leaf=!1,n=n.nodes[p]||(n.nodes[p]=hr()),s?i=c:a=c,h?o=f:l=f,u(n,t,e,r,i,o,a,l)}var f,s,h,p,g,v,d,y,m,M=En(a),x=En(l);if(null!=t)v=t,d=e,y=r,m=i;else if(y=m=-(v=d=1/0),s=[],h=[],g=n.length,o)for(p=0;g>p;++p)f=n[p],f.xy&&(y=f.x),f.y>m&&(m=f.y),s.push(f.x),h.push(f.y);else for(p=0;g>p;++p){var b=+M(f=n[p],p),_=+x(f,p);v>b&&(v=b),d>_&&(d=_),b>y&&(y=b),_>m&&(m=_),s.push(b),h.push(_)}var w=y-v,S=m-d;w>S?m=d+w:y=v+S;var k=hr();if(k.add=function(n){u(k,n,+M(n,++p),+x(n,p),v,d,y,m)},k.visit=function(n){pr(n,k,v,d,y,m)},k.find=function(n){return gr(k,n[0],n[1],v,d,y,m)},p=-1,null==t){for(;++p=0?n.slice(0,t):n,r=t>=0?n.slice(t+1):"in";return e=vl.get(e)||gl,r=dl.get(r)||m,br(r(e.apply(null,lo.call(arguments,1))))},ao.interpolateHcl=Rr,ao.interpolateHsl=Dr,ao.interpolateLab=Pr,ao.interpolateRound=Ur,ao.transform=function(n){var t=fo.createElementNS(ao.ns.prefix.svg,"g");return(ao.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new jr(e?e.matrix:yl)})(n)},jr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var yl={a:1,b:0,c:0,d:1,e:0,f:0};ao.interpolateTransform=$r,ao.layout={},ao.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++ea*a/y){if(v>l){var c=t.charge/l;n.px-=u*c,n.py-=o*c}return!0}if(t.point&&l&&v>l){var c=t.pointCharge/l;n.px-=u*c,n.py-=o*c}}return!t.charge}}function t(n){n.px=ao.event.x,n.py=ao.event.y,l.resume()}var e,r,i,u,o,a,l={},c=ao.dispatch("start","tick","end"),f=[1,1],s=.9,h=ml,p=Ml,g=-30,v=xl,d=.1,y=.64,M=[],x=[];return l.tick=function(){if((i*=.99)<.005)return e=null,c.end({type:"end",alpha:i=0}),!0;var t,r,l,h,p,v,y,m,b,_=M.length,w=x.length;for(r=0;w>r;++r)l=x[r],h=l.source,p=l.target,m=p.x-h.x,b=p.y-h.y,(v=m*m+b*b)&&(v=i*o[r]*((v=Math.sqrt(v))-u[r])/v,m*=v,b*=v,p.x-=m*(y=h.weight+p.weight?h.weight/(h.weight+p.weight):.5),p.y-=b*y,h.x+=m*(y=1-y),h.y+=b*y);if((y=i*d)&&(m=f[0]/2,b=f[1]/2,r=-1,y))for(;++r<_;)l=M[r],l.x+=(m-l.x)*y,l.y+=(b-l.y)*y;if(g)for(ri(t=ao.geom.quadtree(M),i,a),r=-1;++r<_;)(l=M[r]).fixed||t.visit(n(l));for(r=-1;++r<_;)l=M[r],l.fixed?(l.x=l.px,l.y=l.py):(l.x-=(l.px-(l.px=l.x))*s,l.y-=(l.py-(l.py=l.y))*s);c.tick({type:"tick",alpha:i})},l.nodes=function(n){return arguments.length?(M=n,l):M},l.links=function(n){return arguments.length?(x=n,l):x},l.size=function(n){return arguments.length?(f=n,l):f},l.linkDistance=function(n){return arguments.length?(h="function"==typeof n?n:+n,l):h},l.distance=l.linkDistance,l.linkStrength=function(n){return arguments.length?(p="function"==typeof n?n:+n,l):p},l.friction=function(n){return arguments.length?(s=+n,l):s},l.charge=function(n){return arguments.length?(g="function"==typeof n?n:+n,l):g},l.chargeDistance=function(n){return arguments.length?(v=n*n,l):Math.sqrt(v)},l.gravity=function(n){return arguments.length?(d=+n,l):d},l.theta=function(n){return arguments.length?(y=n*n,l):Math.sqrt(y)},l.alpha=function(n){return arguments.length?(n=+n,i?n>0?i=n:(e.c=null,e.t=NaN,e=null,c.end({type:"end",alpha:i=0})):n>0&&(c.start({type:"start",alpha:i=n}),e=qn(l.tick)),l):i},l.start=function(){function n(n,r){if(!e){for(e=new Array(i),l=0;i>l;++l)e[l]=[];for(l=0;c>l;++l){var u=x[l];e[u.source.index].push(u.target),e[u.target.index].push(u.source)}}for(var o,a=e[t],l=-1,f=a.length;++lt;++t)(r=M[t]).index=t,r.weight=0;for(t=0;c>t;++t)r=x[t],"number"==typeof r.source&&(r.source=M[r.source]),"number"==typeof r.target&&(r.target=M[r.target]),++r.source.weight,++r.target.weight;for(t=0;i>t;++t)r=M[t],isNaN(r.x)&&(r.x=n("x",s)),isNaN(r.y)&&(r.y=n("y",v)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(u=[],"function"==typeof h)for(t=0;c>t;++t)u[t]=+h.call(this,x[t],t);else for(t=0;c>t;++t)u[t]=h;if(o=[],"function"==typeof p)for(t=0;c>t;++t)o[t]=+p.call(this,x[t],t);else for(t=0;c>t;++t)o[t]=p;if(a=[],"function"==typeof g)for(t=0;i>t;++t)a[t]=+g.call(this,M[t],t);else for(t=0;i>t;++t)a[t]=g;return l.resume()},l.resume=function(){return l.alpha(.1)},l.stop=function(){return l.alpha(0)},l.drag=function(){return r||(r=ao.behavior.drag().origin(m).on("dragstart.force",Qr).on("drag.force",t).on("dragend.force",ni)),arguments.length?void this.on("mouseover.force",ti).on("mouseout.force",ei).call(r):r},ao.rebind(l,c,"on")};var ml=20,Ml=1,xl=1/0;ao.layout.hierarchy=function(){function n(i){var u,o=[i],a=[];for(i.depth=0;null!=(u=o.pop());)if(a.push(u),(c=e.call(n,u,u.depth))&&(l=c.length)){for(var l,c,f;--l>=0;)o.push(f=c[l]),f.parent=u,f.depth=u.depth+1;r&&(u.value=0),u.children=c}else r&&(u.value=+r.call(n,u,u.depth)||0),delete u.children;return oi(i,function(n){var e,i;t&&(e=n.children)&&e.sort(t),r&&(i=n.parent)&&(i.value+=n.value)}),a}var t=ci,e=ai,r=li;return n.sort=function(e){return arguments.length?(t=e,n):t},n.children=function(t){return arguments.length?(e=t,n):e},n.value=function(t){return arguments.length?(r=t,n):r},n.revalue=function(t){return r&&(ui(t,function(n){n.children&&(n.value=0)}),oi(t,function(t){var e;t.children||(t.value=+r.call(n,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)})),t},n},ao.layout.partition=function(){function n(t,e,r,i){var u=t.children;if(t.x=e,t.y=t.depth*i,t.dx=r,t.dy=i,u&&(o=u.length)){var o,a,l,c=-1;for(r=t.value?r/t.value:0;++cs?-1:1),g=ao.sum(c),v=g?(s-l*p)/g:0,d=ao.range(l),y=[];return null!=e&&d.sort(e===bl?function(n,t){return c[t]-c[n]}:function(n,t){return e(o[n],o[t])}),d.forEach(function(n){y[n]={data:o[n],value:a=c[n],startAngle:f,endAngle:f+=a*v+p,padAngle:h}}),y}var t=Number,e=bl,r=0,i=Ho,u=0;return n.value=function(e){return arguments.length?(t=e,n):t},n.sort=function(t){return arguments.length?(e=t,n):e},n.startAngle=function(t){return arguments.length?(r=t,n):r},n.endAngle=function(t){return arguments.length?(i=t,n):i},n.padAngle=function(t){return arguments.length?(u=t,n):u},n};var bl={};ao.layout.stack=function(){function n(a,l){if(!(h=a.length))return a;var c=a.map(function(e,r){return t.call(n,e,r)}),f=c.map(function(t){return t.map(function(t,e){return[u.call(n,t,e),o.call(n,t,e)]})}),s=e.call(n,f,l);c=ao.permute(c,s),f=ao.permute(f,s);var h,p,g,v,d=r.call(n,f,l),y=c[0].length;for(g=0;y>g;++g)for(i.call(n,c[0][g],v=d[g],f[0][g][1]),p=1;h>p;++p)i.call(n,c[p][g],v+=f[p-1][g][1],f[p][g][1]);return a}var t=m,e=gi,r=vi,i=pi,u=si,o=hi;return n.values=function(e){return arguments.length?(t=e,n):t},n.order=function(t){return arguments.length?(e="function"==typeof t?t:_l.get(t)||gi,n):e},n.offset=function(t){return arguments.length?(r="function"==typeof t?t:wl.get(t)||vi,n):r},n.x=function(t){return arguments.length?(u=t,n):u},n.y=function(t){return arguments.length?(o=t,n):o},n.out=function(t){return arguments.length?(i=t,n):i},n};var _l=ao.map({"inside-out":function(n){var t,e,r=n.length,i=n.map(di),u=n.map(yi),o=ao.range(r).sort(function(n,t){return i[n]-i[t]}),a=0,l=0,c=[],f=[];for(t=0;r>t;++t)e=o[t],l>a?(a+=u[e],c.push(e)):(l+=u[e],f.push(e));return f.reverse().concat(c)},reverse:function(n){return ao.range(n.length).reverse()},"default":gi}),wl=ao.map({silhouette:function(n){var t,e,r,i=n.length,u=n[0].length,o=[],a=0,l=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];r>a&&(a=r),o.push(r)}for(e=0;u>e;++e)l[e]=(a-o[e])/2;return l},wiggle:function(n){var t,e,r,i,u,o,a,l,c,f=n.length,s=n[0],h=s.length,p=[];for(p[0]=l=c=0,e=1;h>e;++e){for(t=0,i=0;f>t;++t)i+=n[t][e][1];for(t=0,u=0,a=s[e][0]-s[e-1][0];f>t;++t){for(r=0,o=(n[t][e][1]-n[t][e-1][1])/(2*a);t>r;++r)o+=(n[r][e][1]-n[r][e-1][1])/a;u+=o*n[t][e][1]}p[e]=l-=i?u/i*a:0,c>l&&(c=l)}for(e=0;h>e;++e)p[e]-=c;return p},expand:function(n){var t,e,r,i=n.length,u=n[0].length,o=1/i,a=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];if(r)for(t=0;i>t;t++)n[t][e][1]/=r;else for(t=0;i>t;t++)n[t][e][1]=o}for(e=0;u>e;++e)a[e]=0;return a},zero:vi});ao.layout.histogram=function(){function n(n,u){for(var o,a,l=[],c=n.map(e,this),f=r.call(this,c,u),s=i.call(this,f,c,u),u=-1,h=c.length,p=s.length-1,g=t?1:1/h;++u0)for(u=-1;++u=f[0]&&a<=f[1]&&(o=l[ao.bisect(s,a,1,p)-1],o.y+=g,o.push(n[u]));return l}var t=!0,e=Number,r=bi,i=Mi;return n.value=function(t){return arguments.length?(e=t,n):e},n.range=function(t){return arguments.length?(r=En(t),n):r},n.bins=function(t){return arguments.length?(i="number"==typeof t?function(n){return xi(n,t)}:En(t),n):i},n.frequency=function(e){return arguments.length?(t=!!e,n):t},n},ao.layout.pack=function(){function n(n,u){var o=e.call(this,n,u),a=o[0],l=i[0],c=i[1],f=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(a.x=a.y=0,oi(a,function(n){n.r=+f(n.value)}),oi(a,Ni),r){var s=r*(t?1:Math.max(2*a.r/l,2*a.r/c))/2;oi(a,function(n){n.r+=s}),oi(a,Ni),oi(a,function(n){n.r-=s})}return Ci(a,l/2,c/2,t?1:1/Math.max(2*a.r/l,2*a.r/c)),o}var t,e=ao.layout.hierarchy().sort(_i),r=0,i=[1,1];return n.size=function(t){return arguments.length?(i=t,n):i},n.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,n):t},n.padding=function(t){return arguments.length?(r=+t,n):r},ii(n,e)},ao.layout.tree=function(){function n(n,i){var f=o.call(this,n,i),s=f[0],h=t(s);if(oi(h,e),h.parent.m=-h.z,ui(h,r),c)ui(s,u);else{var p=s,g=s,v=s;ui(s,function(n){n.xg.x&&(g=n),n.depth>v.depth&&(v=n)});var d=a(p,g)/2-p.x,y=l[0]/(g.x+a(g,p)/2+d),m=l[1]/(v.depth||1);ui(s,function(n){n.x=(n.x+d)*y,n.y=n.depth*m})}return f}function t(n){for(var t,e={A:null,children:[n]},r=[e];null!=(t=r.pop());)for(var i,u=t.children,o=0,a=u.length;a>o;++o)r.push((u[o]=i={_:u[o],parent:t,children:(i=u[o].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=i);return e.children[0]}function e(n){var t=n.children,e=n.parent.children,r=n.i?e[n.i-1]:null;if(t.length){Di(n);var u=(t[0].z+t[t.length-1].z)/2;r?(n.z=r.z+a(n._,r._),n.m=n.z-u):n.z=u}else r&&(n.z=r.z+a(n._,r._));n.parent.A=i(n,r,n.parent.A||e[0])}function r(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function i(n,t,e){if(t){for(var r,i=n,u=n,o=t,l=i.parent.children[0],c=i.m,f=u.m,s=o.m,h=l.m;o=Ti(o),i=qi(i),o&&i;)l=qi(l),u=Ti(u),u.a=n,r=o.z+s-i.z-c+a(o._,i._),r>0&&(Ri(Pi(o,n,e),n,r),c+=r,f+=r),s+=o.m,c+=i.m,h+=l.m,f+=u.m;o&&!Ti(u)&&(u.t=o,u.m+=s-f),i&&!qi(l)&&(l.t=i,l.m+=c-h,e=n)}return e}function u(n){n.x*=l[0],n.y=n.depth*l[1]}var o=ao.layout.hierarchy().sort(null).value(null),a=Li,l=[1,1],c=null;return n.separation=function(t){return arguments.length?(a=t,n):a},n.size=function(t){return arguments.length?(c=null==(l=t)?u:null,n):c?null:l},n.nodeSize=function(t){return arguments.length?(c=null==(l=t)?null:u,n):c?l:null},ii(n,o)},ao.layout.cluster=function(){function n(n,u){var o,a=t.call(this,n,u),l=a[0],c=0;oi(l,function(n){var t=n.children;t&&t.length?(n.x=ji(t),n.y=Ui(t)):(n.x=o?c+=e(n,o):0,n.y=0,o=n)});var f=Fi(l),s=Hi(l),h=f.x-e(f,s)/2,p=s.x+e(s,f)/2;return oi(l,i?function(n){n.x=(n.x-l.x)*r[0],n.y=(l.y-n.y)*r[1]}:function(n){n.x=(n.x-h)/(p-h)*r[0],n.y=(1-(l.y?n.y/l.y:1))*r[1]}),a}var t=ao.layout.hierarchy().sort(null).value(null),e=Li,r=[1,1],i=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(i=null==(r=t),n):i?null:r},n.nodeSize=function(t){return arguments.length?(i=null!=(r=t),n):i?r:null},ii(n,t)},ao.layout.treemap=function(){function n(n,t){for(var e,r,i=-1,u=n.length;++it?0:t),e.area=isNaN(r)||0>=r?0:r}function t(e){var u=e.children;if(u&&u.length){var o,a,l,c=s(e),f=[],h=u.slice(),g=1/0,v="slice"===p?c.dx:"dice"===p?c.dy:"slice-dice"===p?1&e.depth?c.dy:c.dx:Math.min(c.dx,c.dy);for(n(h,c.dx*c.dy/e.value),f.area=0;(l=h.length)>0;)f.push(o=h[l-1]),f.area+=o.area,"squarify"!==p||(a=r(f,v))<=g?(h.pop(),g=a):(f.area-=f.pop().area,i(f,v,c,!1),v=Math.min(c.dx,c.dy),f.length=f.area=0,g=1/0);f.length&&(i(f,v,c,!0),f.length=f.area=0),u.forEach(t)}}function e(t){var r=t.children;if(r&&r.length){var u,o=s(t),a=r.slice(),l=[];for(n(a,o.dx*o.dy/t.value),l.area=0;u=a.pop();)l.push(u),l.area+=u.area,null!=u.z&&(i(l,u.z?o.dx:o.dy,o,!a.length),l.length=l.area=0);r.forEach(e)}}function r(n,t){for(var e,r=n.area,i=0,u=1/0,o=-1,a=n.length;++oe&&(u=e),e>i&&(i=e));return r*=r,t*=t,r?Math.max(t*i*g/r,r/(t*u*g)):1/0}function i(n,t,e,r){var i,u=-1,o=n.length,a=e.x,c=e.y,f=t?l(n.area/t):0; +if(t==e.dx){for((r||f>e.dy)&&(f=e.dy);++ue.dx)&&(f=e.dx);++ue&&(t=1),1>e&&(n=0),function(){var e,r,i;do e=2*Math.random()-1,r=2*Math.random()-1,i=e*e+r*r;while(!i||i>1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var n=ao.random.normal.apply(ao,arguments);return function(){return Math.exp(n())}},bates:function(n){var t=ao.random.irwinHall(n);return function(){return t()/n}},irwinHall:function(n){return function(){for(var t=0,e=0;n>e;e++)t+=Math.random();return t}}},ao.scale={};var Sl={floor:m,ceil:m};ao.scale.linear=function(){return Wi([0,1],[0,1],Mr,!1)};var kl={s:1,g:1,p:1,r:1,e:1};ao.scale.log=function(){return ru(ao.scale.linear().domain([0,1]),10,!0,[1,10])};var Nl=ao.format(".0e"),El={floor:function(n){return-Math.ceil(-n)},ceil:function(n){return-Math.floor(-n)}};ao.scale.pow=function(){return iu(ao.scale.linear(),1,[0,1])},ao.scale.sqrt=function(){return ao.scale.pow().exponent(.5)},ao.scale.ordinal=function(){return ou([],{t:"range",a:[[]]})},ao.scale.category10=function(){return ao.scale.ordinal().range(Al)},ao.scale.category20=function(){return ao.scale.ordinal().range(Cl)},ao.scale.category20b=function(){return ao.scale.ordinal().range(zl)},ao.scale.category20c=function(){return ao.scale.ordinal().range(Ll)};var Al=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(xn),Cl=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(xn),zl=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(xn),Ll=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(xn);ao.scale.quantile=function(){return au([],[])},ao.scale.quantize=function(){return lu(0,1,[0,1])},ao.scale.threshold=function(){return cu([.5],[0,1])},ao.scale.identity=function(){return fu([0,1])},ao.svg={},ao.svg.arc=function(){function n(){var n=Math.max(0,+e.apply(this,arguments)),c=Math.max(0,+r.apply(this,arguments)),f=o.apply(this,arguments)-Io,s=a.apply(this,arguments)-Io,h=Math.abs(s-f),p=f>s?0:1;if(n>c&&(g=c,c=n,n=g),h>=Oo)return t(c,p)+(n?t(n,1-p):"")+"Z";var g,v,d,y,m,M,x,b,_,w,S,k,N=0,E=0,A=[];if((y=(+l.apply(this,arguments)||0)/2)&&(d=u===ql?Math.sqrt(n*n+c*c):+u.apply(this,arguments),p||(E*=-1),c&&(E=tn(d/c*Math.sin(y))),n&&(N=tn(d/n*Math.sin(y)))),c){m=c*Math.cos(f+E),M=c*Math.sin(f+E),x=c*Math.cos(s-E),b=c*Math.sin(s-E);var C=Math.abs(s-f-2*E)<=Fo?0:1;if(E&&yu(m,M,x,b)===p^C){var z=(f+s)/2;m=c*Math.cos(z),M=c*Math.sin(z),x=b=null}}else m=M=0;if(n){_=n*Math.cos(s-N),w=n*Math.sin(s-N),S=n*Math.cos(f+N),k=n*Math.sin(f+N);var L=Math.abs(f-s+2*N)<=Fo?0:1;if(N&&yu(_,w,S,k)===1-p^L){var q=(f+s)/2;_=n*Math.cos(q),w=n*Math.sin(q),S=k=null}}else _=w=0;if(h>Uo&&(g=Math.min(Math.abs(c-n)/2,+i.apply(this,arguments)))>.001){v=c>n^p?0:1;var T=g,R=g;if(Fo>h){var D=null==S?[_,w]:null==x?[m,M]:Re([m,M],[S,k],[x,b],[_,w]),P=m-D[0],U=M-D[1],j=x-D[0],F=b-D[1],H=1/Math.sin(Math.acos((P*j+U*F)/(Math.sqrt(P*P+U*U)*Math.sqrt(j*j+F*F)))/2),O=Math.sqrt(D[0]*D[0]+D[1]*D[1]);R=Math.min(g,(n-O)/(H-1)),T=Math.min(g,(c-O)/(H+1))}if(null!=x){var I=mu(null==S?[_,w]:[S,k],[m,M],c,T,p),Y=mu([x,b],[_,w],c,T,p);g===T?A.push("M",I[0],"A",T,",",T," 0 0,",v," ",I[1],"A",c,",",c," 0 ",1-p^yu(I[1][0],I[1][1],Y[1][0],Y[1][1]),",",p," ",Y[1],"A",T,",",T," 0 0,",v," ",Y[0]):A.push("M",I[0],"A",T,",",T," 0 1,",v," ",Y[0])}else A.push("M",m,",",M);if(null!=S){var Z=mu([m,M],[S,k],n,-R,p),V=mu([_,w],null==x?[m,M]:[x,b],n,-R,p);g===R?A.push("L",V[0],"A",R,",",R," 0 0,",v," ",V[1],"A",n,",",n," 0 ",p^yu(V[1][0],V[1][1],Z[1][0],Z[1][1]),",",1-p," ",Z[1],"A",R,",",R," 0 0,",v," ",Z[0]):A.push("L",V[0],"A",R,",",R," 0 0,",v," ",Z[0])}else A.push("L",_,",",w)}else A.push("M",m,",",M),null!=x&&A.push("A",c,",",c," 0 ",C,",",p," ",x,",",b),A.push("L",_,",",w),null!=S&&A.push("A",n,",",n," 0 ",L,",",1-p," ",S,",",k);return A.push("Z"),A.join("")}function t(n,t){return"M0,"+n+"A"+n+","+n+" 0 1,"+t+" 0,"+-n+"A"+n+","+n+" 0 1,"+t+" 0,"+n}var e=hu,r=pu,i=su,u=ql,o=gu,a=vu,l=du;return n.innerRadius=function(t){return arguments.length?(e=En(t),n):e},n.outerRadius=function(t){return arguments.length?(r=En(t),n):r},n.cornerRadius=function(t){return arguments.length?(i=En(t),n):i},n.padRadius=function(t){return arguments.length?(u=t==ql?ql:En(t),n):u},n.startAngle=function(t){return arguments.length?(o=En(t),n):o},n.endAngle=function(t){return arguments.length?(a=En(t),n):a},n.padAngle=function(t){return arguments.length?(l=En(t),n):l},n.centroid=function(){var n=(+e.apply(this,arguments)+ +r.apply(this,arguments))/2,t=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-Io;return[Math.cos(t)*n,Math.sin(t)*n]},n};var ql="auto";ao.svg.line=function(){return Mu(m)};var Tl=ao.map({linear:xu,"linear-closed":bu,step:_u,"step-before":wu,"step-after":Su,basis:zu,"basis-open":Lu,"basis-closed":qu,bundle:Tu,cardinal:Eu,"cardinal-open":ku,"cardinal-closed":Nu,monotone:Fu});Tl.forEach(function(n,t){t.key=n,t.closed=/-closed$/.test(n)});var Rl=[0,2/3,1/3,0],Dl=[0,1/3,2/3,0],Pl=[0,1/6,2/3,1/6];ao.svg.line.radial=function(){var n=Mu(Hu);return n.radius=n.x,delete n.x,n.angle=n.y,delete n.y,n},wu.reverse=Su,Su.reverse=wu,ao.svg.area=function(){return Ou(m)},ao.svg.area.radial=function(){var n=Ou(Hu);return n.radius=n.x,delete n.x,n.innerRadius=n.x0,delete n.x0,n.outerRadius=n.x1,delete n.x1,n.angle=n.y,delete n.y,n.startAngle=n.y0,delete n.y0,n.endAngle=n.y1,delete n.y1,n},ao.svg.chord=function(){function n(n,a){var l=t(this,u,n,a),c=t(this,o,n,a);return"M"+l.p0+r(l.r,l.p1,l.a1-l.a0)+(e(l,c)?i(l.r,l.p1,l.r,l.p0):i(l.r,l.p1,c.r,c.p0)+r(c.r,c.p1,c.a1-c.a0)+i(c.r,c.p1,l.r,l.p0))+"Z"}function t(n,t,e,r){var i=t.call(n,e,r),u=a.call(n,i,r),o=l.call(n,i,r)-Io,f=c.call(n,i,r)-Io;return{r:u,a0:o,a1:f,p0:[u*Math.cos(o),u*Math.sin(o)],p1:[u*Math.cos(f),u*Math.sin(f)]}}function e(n,t){return n.a0==t.a0&&n.a1==t.a1}function r(n,t,e){return"A"+n+","+n+" 0 "+ +(e>Fo)+",1 "+t}function i(n,t,e,r){return"Q 0,0 "+r}var u=Me,o=xe,a=Iu,l=gu,c=vu;return n.radius=function(t){return arguments.length?(a=En(t),n):a},n.source=function(t){return arguments.length?(u=En(t),n):u},n.target=function(t){return arguments.length?(o=En(t),n):o},n.startAngle=function(t){return arguments.length?(l=En(t),n):l},n.endAngle=function(t){return arguments.length?(c=En(t),n):c},n},ao.svg.diagonal=function(){function n(n,i){var u=t.call(this,n,i),o=e.call(this,n,i),a=(u.y+o.y)/2,l=[u,{x:u.x,y:a},{x:o.x,y:a},o];return l=l.map(r),"M"+l[0]+"C"+l[1]+" "+l[2]+" "+l[3]}var t=Me,e=xe,r=Yu;return n.source=function(e){return arguments.length?(t=En(e),n):t},n.target=function(t){return arguments.length?(e=En(t),n):e},n.projection=function(t){return arguments.length?(r=t,n):r},n},ao.svg.diagonal.radial=function(){var n=ao.svg.diagonal(),t=Yu,e=n.projection;return n.projection=function(n){return arguments.length?e(Zu(t=n)):t},n},ao.svg.symbol=function(){function n(n,r){return(Ul.get(t.call(this,n,r))||$u)(e.call(this,n,r))}var t=Xu,e=Vu;return n.type=function(e){return arguments.length?(t=En(e),n):t},n.size=function(t){return arguments.length?(e=En(t),n):e},n};var Ul=ao.map({circle:$u,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*Fl)),e=t*Fl;return"M0,"+-t+"L"+e+",0 0,"+t+" "+-e+",0Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}});ao.svg.symbolTypes=Ul.keys();var jl=Math.sqrt(3),Fl=Math.tan(30*Yo);Co.transition=function(n){for(var t,e,r=Hl||++Zl,i=Ku(n),u=[],o=Ol||{time:Date.now(),ease:Nr,delay:0,duration:250},a=-1,l=this.length;++au;u++){i.push(t=[]);for(var e=this[u],a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return Wu(i,this.namespace,this.id)},Yl.tween=function(n,t){var e=this.id,r=this.namespace;return arguments.length<2?this.node()[r][e].tween.get(n):Y(this,null==t?function(t){t[r][e].tween.remove(n)}:function(i){i[r][e].tween.set(n,t)})},Yl.attr=function(n,t){function e(){this.removeAttribute(a)}function r(){this.removeAttributeNS(a.space,a.local)}function i(n){return null==n?e:(n+="",function(){var t,e=this.getAttribute(a);return e!==n&&(t=o(e,n),function(n){this.setAttribute(a,t(n))})})}function u(n){return null==n?r:(n+="",function(){var t,e=this.getAttributeNS(a.space,a.local);return e!==n&&(t=o(e,n),function(n){this.setAttributeNS(a.space,a.local,t(n))})})}if(arguments.length<2){for(t in n)this.attr(t,n[t]);return this}var o="transform"==n?$r:Mr,a=ao.ns.qualify(n);return Ju(this,"attr."+n,t,a.local?u:i)},Yl.attrTween=function(n,t){function e(n,e){var r=t.call(this,n,e,this.getAttribute(i));return r&&function(n){this.setAttribute(i,r(n))}}function r(n,e){var r=t.call(this,n,e,this.getAttributeNS(i.space,i.local));return r&&function(n){this.setAttributeNS(i.space,i.local,r(n))}}var i=ao.ns.qualify(n);return this.tween("attr."+n,i.local?r:e)},Yl.style=function(n,e,r){function i(){this.style.removeProperty(n)}function u(e){return null==e?i:(e+="",function(){var i,u=t(this).getComputedStyle(this,null).getPropertyValue(n);return u!==e&&(i=Mr(u,e),function(t){this.style.setProperty(n,i(t),r)})})}var o=arguments.length;if(3>o){if("string"!=typeof n){2>o&&(e="");for(r in n)this.style(r,n[r],e);return this}r=""}return Ju(this,"style."+n,e,u)},Yl.styleTween=function(n,e,r){function i(i,u){var o=e.call(this,i,u,t(this).getComputedStyle(this,null).getPropertyValue(n));return o&&function(t){this.style.setProperty(n,o(t),r)}}return arguments.length<3&&(r=""),this.tween("style."+n,i)},Yl.text=function(n){return Ju(this,"text",n,Gu)},Yl.remove=function(){var n=this.namespace;return this.each("end.transition",function(){var t;this[n].count<2&&(t=this.parentNode)&&t.removeChild(this)})},Yl.ease=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].ease:("function"!=typeof n&&(n=ao.ease.apply(ao,arguments)),Y(this,function(r){r[e][t].ease=n}))},Yl.delay=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].delay:Y(this,"function"==typeof n?function(r,i,u){r[e][t].delay=+n.call(r,r.__data__,i,u)}:(n=+n,function(r){r[e][t].delay=n}))},Yl.duration=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].duration:Y(this,"function"==typeof n?function(r,i,u){r[e][t].duration=Math.max(1,n.call(r,r.__data__,i,u))}:(n=Math.max(1,n),function(r){r[e][t].duration=n}))},Yl.each=function(n,t){var e=this.id,r=this.namespace;if(arguments.length<2){var i=Ol,u=Hl;try{Hl=e,Y(this,function(t,i,u){Ol=t[r][e],n.call(t,t.__data__,i,u)})}finally{Ol=i,Hl=u}}else Y(this,function(i){var u=i[r][e];(u.event||(u.event=ao.dispatch("start","end","interrupt"))).on(n,t)});return this},Yl.transition=function(){for(var n,t,e,r,i=this.id,u=++Zl,o=this.namespace,a=[],l=0,c=this.length;c>l;l++){a.push(n=[]);for(var t=this[l],f=0,s=t.length;s>f;f++)(e=t[f])&&(r=e[o][i],Qu(e,f,o,u,{time:r.time,ease:r.ease,delay:r.delay+r.duration,duration:r.duration})),n.push(e)}return Wu(a,o,u)},ao.svg.axis=function(){function n(n){n.each(function(){var n,c=ao.select(this),f=this.__chart__||e,s=this.__chart__=e.copy(),h=null==l?s.ticks?s.ticks.apply(s,a):s.domain():l,p=null==t?s.tickFormat?s.tickFormat.apply(s,a):m:t,g=c.selectAll(".tick").data(h,s),v=g.enter().insert("g",".domain").attr("class","tick").style("opacity",Uo),d=ao.transition(g.exit()).style("opacity",Uo).remove(),y=ao.transition(g.order()).style("opacity",1),M=Math.max(i,0)+o,x=Zi(s),b=c.selectAll(".domain").data([0]),_=(b.enter().append("path").attr("class","domain"),ao.transition(b));v.append("line"),v.append("text");var w,S,k,N,E=v.select("line"),A=y.select("line"),C=g.select("text").text(p),z=v.select("text"),L=y.select("text"),q="top"===r||"left"===r?-1:1;if("bottom"===r||"top"===r?(n=no,w="x",k="y",S="x2",N="y2",C.attr("dy",0>q?"0em":".71em").style("text-anchor","middle"),_.attr("d","M"+x[0]+","+q*u+"V0H"+x[1]+"V"+q*u)):(n=to,w="y",k="x",S="y2",N="x2",C.attr("dy",".32em").style("text-anchor",0>q?"end":"start"),_.attr("d","M"+q*u+","+x[0]+"H0V"+x[1]+"H"+q*u)),E.attr(N,q*i),z.attr(k,q*M),A.attr(S,0).attr(N,q*i),L.attr(w,0).attr(k,q*M),s.rangeBand){var T=s,R=T.rangeBand()/2;f=s=function(n){return T(n)+R}}else f.rangeBand?f=s:d.call(n,s,f);v.call(n,f,s),y.call(n,s,s)})}var t,e=ao.scale.linear(),r=Vl,i=6,u=6,o=3,a=[10],l=null;return n.scale=function(t){return arguments.length?(e=t,n):e},n.orient=function(t){return arguments.length?(r=t in Xl?t+"":Vl,n):r},n.ticks=function(){return arguments.length?(a=co(arguments),n):a},n.tickValues=function(t){return arguments.length?(l=t,n):l},n.tickFormat=function(e){return arguments.length?(t=e,n):t},n.tickSize=function(t){var e=arguments.length;return e?(i=+t,u=+arguments[e-1],n):i},n.innerTickSize=function(t){return arguments.length?(i=+t,n):i},n.outerTickSize=function(t){return arguments.length?(u=+t,n):u},n.tickPadding=function(t){return arguments.length?(o=+t,n):o},n.tickSubdivide=function(){return arguments.length&&n},n};var Vl="bottom",Xl={top:1,right:1,bottom:1,left:1};ao.svg.brush=function(){function n(t){t.each(function(){var t=ao.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",u).on("touchstart.brush",u),o=t.selectAll(".background").data([0]);o.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),t.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var a=t.selectAll(".resize").data(v,m);a.exit().remove(),a.enter().append("g").attr("class",function(n){return"resize "+n}).style("cursor",function(n){return $l[n]}).append("rect").attr("x",function(n){return/[ew]$/.test(n)?-3:null}).attr("y",function(n){return/^[ns]/.test(n)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),a.style("display",n.empty()?"none":null);var l,s=ao.transition(t),h=ao.transition(o);c&&(l=Zi(c),h.attr("x",l[0]).attr("width",l[1]-l[0]),r(s)),f&&(l=Zi(f),h.attr("y",l[0]).attr("height",l[1]-l[0]),i(s)),e(s)})}function e(n){n.selectAll(".resize").attr("transform",function(n){return"translate("+s[+/e$/.test(n)]+","+h[+/^s/.test(n)]+")"})}function r(n){n.select(".extent").attr("x",s[0]),n.selectAll(".extent,.n>rect,.s>rect").attr("width",s[1]-s[0])}function i(n){n.select(".extent").attr("y",h[0]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",h[1]-h[0])}function u(){function u(){32==ao.event.keyCode&&(C||(M=null,L[0]-=s[1],L[1]-=h[1],C=2),S())}function v(){32==ao.event.keyCode&&2==C&&(L[0]+=s[1],L[1]+=h[1],C=0,S())}function d(){var n=ao.mouse(b),t=!1;x&&(n[0]+=x[0],n[1]+=x[1]),C||(ao.event.altKey?(M||(M=[(s[0]+s[1])/2,(h[0]+h[1])/2]),L[0]=s[+(n[0]f?(i=r,r=f):i=f),v[0]!=r||v[1]!=i?(e?a=null:o=null,v[0]=r,v[1]=i,!0):void 0}function m(){d(),k.style("pointer-events","all").selectAll(".resize").style("display",n.empty()?"none":null),ao.select("body").style("cursor",null),q.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),z(),w({type:"brushend"})}var M,x,b=this,_=ao.select(ao.event.target),w=l.of(b,arguments),k=ao.select(b),N=_.datum(),E=!/^(n|s)$/.test(N)&&c,A=!/^(e|w)$/.test(N)&&f,C=_.classed("extent"),z=W(b),L=ao.mouse(b),q=ao.select(t(b)).on("keydown.brush",u).on("keyup.brush",v);if(ao.event.changedTouches?q.on("touchmove.brush",d).on("touchend.brush",m):q.on("mousemove.brush",d).on("mouseup.brush",m),k.interrupt().selectAll("*").interrupt(),C)L[0]=s[0]-L[0],L[1]=h[0]-L[1];else if(N){var T=+/w$/.test(N),R=+/^n/.test(N);x=[s[1-T]-L[0],h[1-R]-L[1]],L[0]=s[T],L[1]=h[R]}else ao.event.altKey&&(M=L.slice());k.style("pointer-events","none").selectAll(".resize").style("display",null),ao.select("body").style("cursor",_.style("cursor")),w({type:"brushstart"}),d()}var o,a,l=N(n,"brushstart","brush","brushend"),c=null,f=null,s=[0,0],h=[0,0],p=!0,g=!0,v=Bl[0];return n.event=function(n){n.each(function(){var n=l.of(this,arguments),t={x:s,y:h,i:o,j:a},e=this.__chart__||t;this.__chart__=t,Hl?ao.select(this).transition().each("start.brush",function(){o=e.i,a=e.j,s=e.x,h=e.y,n({type:"brushstart"})}).tween("brush:brush",function(){var e=xr(s,t.x),r=xr(h,t.y);return o=a=null,function(i){s=t.x=e(i),h=t.y=r(i),n({type:"brush",mode:"resize"})}}).each("end.brush",function(){o=t.i,a=t.j,n({type:"brush",mode:"resize"}),n({type:"brushend"})}):(n({type:"brushstart"}),n({type:"brush",mode:"resize"}),n({type:"brushend"}))})},n.x=function(t){return arguments.length?(c=t,v=Bl[!c<<1|!f],n):c},n.y=function(t){return arguments.length?(f=t,v=Bl[!c<<1|!f],n):f},n.clamp=function(t){return arguments.length?(c&&f?(p=!!t[0],g=!!t[1]):c?p=!!t:f&&(g=!!t),n):c&&f?[p,g]:c?p:f?g:null},n.extent=function(t){var e,r,i,u,l;return arguments.length?(c&&(e=t[0],r=t[1],f&&(e=e[0],r=r[0]),o=[e,r],c.invert&&(e=c(e),r=c(r)),e>r&&(l=e,e=r,r=l),e==s[0]&&r==s[1]||(s=[e,r])),f&&(i=t[0],u=t[1],c&&(i=i[1],u=u[1]),a=[i,u],f.invert&&(i=f(i),u=f(u)),i>u&&(l=i,i=u,u=l),i==h[0]&&u==h[1]||(h=[i,u])),n):(c&&(o?(e=o[0],r=o[1]):(e=s[0],r=s[1],c.invert&&(e=c.invert(e),r=c.invert(r)),e>r&&(l=e,e=r,r=l))),f&&(a?(i=a[0],u=a[1]):(i=h[0],u=h[1],f.invert&&(i=f.invert(i),u=f.invert(u)),i>u&&(l=i,i=u,u=l))),c&&f?[[e,i],[r,u]]:c?[e,r]:f&&[i,u])},n.clear=function(){return n.empty()||(s=[0,0],h=[0,0],o=a=null),n},n.empty=function(){return!!c&&s[0]==s[1]||!!f&&h[0]==h[1]},ao.rebind(n,l,"on")};var $l={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Bl=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Wl=ga.format=xa.timeFormat,Jl=Wl.utc,Gl=Jl("%Y-%m-%dT%H:%M:%S.%LZ");Wl.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?eo:Gl,eo.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},eo.toString=Gl.toString,ga.second=On(function(n){return new va(1e3*Math.floor(n/1e3))},function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))},function(n){return n.getSeconds()}),ga.seconds=ga.second.range,ga.seconds.utc=ga.second.utc.range,ga.minute=On(function(n){return new va(6e4*Math.floor(n/6e4))},function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))},function(n){return n.getMinutes()}),ga.minutes=ga.minute.range,ga.minutes.utc=ga.minute.utc.range,ga.hour=On(function(n){var t=n.getTimezoneOffset()/60;return new va(36e5*(Math.floor(n/36e5-t)+t))},function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))},function(n){return n.getHours()}),ga.hours=ga.hour.range,ga.hours.utc=ga.hour.utc.range,ga.month=On(function(n){return n=ga.day(n),n.setDate(1),n},function(n,t){n.setMonth(n.getMonth()+t)},function(n){return n.getMonth()}),ga.months=ga.month.range,ga.months.utc=ga.month.utc.range;var Kl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Ql=[[ga.second,1],[ga.second,5],[ga.second,15],[ga.second,30],[ga.minute,1],[ga.minute,5],[ga.minute,15],[ga.minute,30],[ga.hour,1],[ga.hour,3],[ga.hour,6],[ga.hour,12],[ga.day,1],[ga.day,2],[ga.week,1],[ga.month,1],[ga.month,3],[ga.year,1]],nc=Wl.multi([[".%L",function(n){return n.getMilliseconds()}],[":%S",function(n){return n.getSeconds()}],["%I:%M",function(n){return n.getMinutes()}],["%I %p",function(n){return n.getHours()}],["%a %d",function(n){return n.getDay()&&1!=n.getDate()}],["%b %d",function(n){return 1!=n.getDate()}],["%B",function(n){return n.getMonth()}],["%Y",zt]]),tc={range:function(n,t,e){return ao.range(Math.ceil(n/e)*e,+t,e).map(io)},floor:m,ceil:m};Ql.year=ga.year,ga.scale=function(){return ro(ao.scale.linear(),Ql,nc)};var ec=Ql.map(function(n){return[n[0].utc,n[1]]}),rc=Jl.multi([[".%L",function(n){return n.getUTCMilliseconds()}],[":%S",function(n){return n.getUTCSeconds()}],["%I:%M",function(n){return n.getUTCMinutes()}],["%I %p",function(n){return n.getUTCHours()}],["%a %d",function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],["%b %d",function(n){return 1!=n.getUTCDate()}],["%B",function(n){return n.getUTCMonth()}],["%Y",zt]]);ec.year=ga.year.utc,ga.scale.utc=function(){return ro(ao.scale.linear(),ec,rc)},ao.text=An(function(n){return n.responseText}),ao.json=function(n,t){return Cn(n,"application/json",uo,t)},ao.html=function(n,t){return Cn(n,"text/html",oo,t)},ao.xml=An(function(n){return n.responseXML}),"function"==typeof define&&define.amd?(this.d3=ao,define(ao)):"object"==typeof module&&module.exports?module.exports=ao:this.d3=ao}(); \ No newline at end of file diff --git a/dist/vocabulary/implementation/0.1.0/webvowl/js/webvowl.app.js b/dist/vocabulary/implementation/0.1.0/webvowl/js/webvowl.app.js new file mode 100644 index 0000000..f3eba7c --- /dev/null +++ b/dist/vocabulary/implementation/0.1.0/webvowl/js/webvowl.app.js @@ -0,0 +1,5 @@ +webvowl.app=function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}({0:function(e,t,n){n(319),n(321),e.exports=n(322)},6:function(e,t){e.exports=d3},91:function(e,t,n){function o(e){return null==e?void 0===e?s:l:d&&d in Object(e)?r(e):a(e)}var i=n(92),r=n(95),a=n(96),l="[object Null]",s="[object Undefined]",d=i?i.toStringTag:void 0;e.exports=o},92:function(e,t,n){var o=n(93),i=o.Symbol;e.exports=i},93:function(e,t,n){var o=n(94),i="object"==typeof self&&self&&self.Object===Object&&self,r=o||i||Function("return this")();e.exports=r},94:function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},95:function(e,t,n){function o(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var o=!0}catch(e){}var i=l.call(e);return o&&(t?e[s]=n:delete e[s]),i}var i=n(92),r=Object.prototype,a=r.hasOwnProperty,l=r.toString,s=i?i.toStringTag:void 0;e.exports=o},96:function(e,t){function n(e){return i.call(e)}var o=Object.prototype,i=o.toString;e.exports=n},103:function(e,t,n){function o(e){return"symbol"==typeof e||r(e)&&i(e)==a}var i=n(91),r=n(104),a="[object Symbol]";e.exports=o},104:function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},112:function(e,t){var n=Array.isArray;e.exports=n},154:function(e,t){function n(e,t){for(var n=-1,o=null==e?0:e.length,i=Array(o);++n0?(g.classed("hidden",!1),h.classed("hidden",!1),k.updateScrollButtonVisibility()):(g.classed("hidden",!0),h.classed("hidden",!0)),_.updateElementWidth()}function i(){var e=window.innerHeight-40,n=e,o=e-30,i=150;if(n<150)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").classed("hidden",!0),t.select("#zoomInButton").classed("hidden",!0),void t.select("#centerGraphButton").classed("hidden",!0);t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").classed("hidden",!1),t.select("#zoomInButton").classed("hidden",!1),t.select("#centerGraphButton").classed("hidden",!1);var r=o-20,a=r-20;if(n<280)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),void t.select("#centerGraphButton").style("top",a+"px");var l=o-i;r=l-20,a=r-20,t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),t.select("#centerGraphButton").style("top",a+"px"),t.select("#zoomSliderParagraph").style("top",l+"px")}function r(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function a(){var e,t,n=-1,o=/(?:\b(MS)?IE\s+|\bTrident\/7\.0;.*\s+rv:|\bEdge\/)(\d+)/.test(navigator.userAgent);if(o)return n=parseInt("12");var i=/Trident.*rv[ :]*11\./.test(navigator.userAgent);return i?n=parseInt("11"):("Microsoft Internet Explorer"===navigator.appName?(e=navigator.userAgent,t=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))):"Netscape"===navigator.appName&&(e=navigator.userAgent,t=new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))),n)}var l=1,s={},d=webvowl.graph(),c=d.graphOptions(),p=webvowl.util.languageTools(),u="#graph",f=n(323)(d),h=n(325)(d),g=n(326)(d),v=n(327)(d),m=n(328)(d),y=n(329)(d),b=n(333)(d),x=n(334)(d),w=n(335)(d),k=n(336)(d),C=n(337)(d),L=n(338)(d),M=n(339)(d),_=n(340)(d),E=n(341)(d),O=n(342)(d),S=n(343)(d),F=n(344)(d),I=webvowl.modules.colorExternalsSwitch(d),T=webvowl.modules.compactNotationSwitch(d),A=webvowl.modules.datatypeFilter(),P=webvowl.modules.disjointFilter(),B=webvowl.modules.focuser(d),D=webvowl.modules.emptyLiteralFilter(),R=webvowl.modules.nodeDegreeFilter(h),W=webvowl.modules.nodeScalingSwitch(d),N=webvowl.modules.objectPropertyFilter(),H=webvowl.modules.pickAndPin(),j=webvowl.modules.selectionDetailsDisplayer(L.updateSelectionInformation),z=webvowl.modules.statistics(),V=webvowl.modules.subclassFilter(),U=webvowl.modules.setOperatorFilter();return s.getOptions=function(){return webvowl.opts},s.getGraph=function(){return webvowl.gr},s.initialize=function(){window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)},window.cancelAnimationFrame=window.cancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)},c.graphContainerSelector(u),c.selectionModules().push(B),c.selectionModules().push(j),c.selectionModules().push(H),c.filterModules().push(D),c.filterModules().push(z),c.filterModules().push(R),c.filterModules().push(A),c.filterModules().push(N),c.filterModules().push(V),c.filterModules().push(P),c.filterModules().push(U),c.filterModules().push(W),c.filterModules().push(T),c.filterModules().push(I),t.select(window).on("resize",o),f.setup(),g.setup(),h.setup(A,N,V,P,U,R),v.setup(H,W,T,I),b.setup(),L.setup(),O.setup(),M.setup(),_.setup(),m.setup();var n=a();if(n>0&&n<=11)console.log("Agent version "+n),console.log("This agent is not supported"),t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!0),t.select("#optionsArea").classed("hidden",!0),t.select("#logo").classed("hidden",!0);else{t.select("#logo").classed("hidden",!1),12===n?(t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!1)):t.select("#browserCheck").classed("hidden",!0),x.setup([g,h,v,B,j,b]),w.setup(),k.setup(),C.setup(),c.literalFilter(D),c.nodeDegreeFilter(R),c.loadingModule(O),c.filterMenu(h),c.modeMenu(v),c.gravityMenu(g),c.pausedMenu(b),c.pickAndPinModule(H),c.resetMenu(x),c.searchMenu(w),c.ontologyMenu(y),c.navigationMenu(k),c.sidebar(L),c.leftSidebar(M),c.editSidebar(_),c.exportMenu(f),c.graphObject(d),c.zoomSlider(C),c.warningModule(S),c.directInputModule(F),c.datatypeFilter(A),c.objectPropertyFilter(N),c.subclassFilter(V),c.setOperatorFilter(U),c.disjointPropertyFilter(P),c.focuserModule(B),c.colorExternalsModule(I),c.compactNotationModule(T),y.setup(e),E.setup(),M.showSidebar(0),M.hideCollapseButton(!0),d.start();var i=t.select("#modeOfOperationString");i.style("font-size","0.6em"),i.style("font-style","italic"),o();var r,l=d.options().width(),s=d.options().height();r=Math.min(l,s)/1e3;var p=!0;p===!1&&d.setForceTickFunctionWithFPS(),d.setDefaultZoom(r),t.selectAll(".debugOption").classed("hidden",p);var G=t.select("body");if(t.select(document).on("keydown",function(e){8===t.event.keyCode&&t.event.target===G.node()&&t.event.preventDefault(),t.event.ctrlKey&&t.event.shiftKey&&68===t.event.keyCode&&(d.options().executeHiddenDebugFeatuers(),t.event.preventDefault())}),t.select("#maxLabelWidthSliderOption")){var q=!d.options().dynamicLabelWidth();t.select("#maxLabelWidthSlider").node().disabled=q,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",q),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",q)}t.select("#blockGraphInteractions").style("position","absolute").style("top","0").style("background-color","#bdbdbd").style("opacity","0.5").style("pointer-events","auto").style("width",d.options().width()+"px").style("height",d.options().height()+"px").on("click",function(){t.event.preventDefault(),t.event.stopPropagation()}).on("dblclick",function(){t.event.preventDefault(),t.event.stopPropagation()}),t.select("#direct-text-input").on("click",function(){F.setDirectInputMode()}),t.select("#blockGraphInteractions").node().draggable=!1,c.prefixModule(webvowl.util.prefixTools(d)),o(),L.updateOntologyInformation(void 0,z),O.parseUrlAndLoadOntology(),c.debugMenu(m),m.updateSettings(),t.select("#reloadSvgIcon").on("click",function(){return t.select("#reloadSvgIcon").node().disabled===!0?void d.options().ontologyMenu().clearCachedVersion():(t.select("#reloadCachedOntology").classed("hidden",!0),void d.options().ontologyMenu().reloadCachedOntology())}),webvowl.opts=c,webvowl.gr=d}},s}}).call(t,n(6))},323:function(e,t,n){(function(t){e.exports=function(e){function o(){var n=M.requestExport(),o=M.resultingTTL_Content();if(console.log("Exporter was successful: "+n),n){var i="NewOntology",r="data:text/json;charset=utf-8,"+encodeURIComponent(o);x.attr("href",r).attr("download",i+".ttl")}else console.log("ShowWarning!"),e.options().warningModule().showExporterWarning(),console.log("Stay on the page! "+window.location.href),x.attr("href",window.location.href),t.event.preventDefault()}function i(){t.select("#exportedUrl").node().focus(),t.select("#exportedUrl").node().select(),document.execCommand("copy"),e.options().navigationMenu().hideAllMenus(),t.event.preventDefault()}function r(e,t){var n=0,o="opts=";for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],a=t[i];r!==a&&(o+=i+"="+a+";",n++)}return o+="",0===n?"":o}function a(){e.options().navigationMenu().hideAllMenus();var n,o,i,r=t.select(e.options().graphContainerSelector()).select("svg");s(),u(),n=r.attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML,n="\n"+n,o=l(n),i="data:image/svg+xml;base64,"+btoa(o),m.attr("href",i).attr("download",y+".svg"),f(),h(),e.lazyRefresh()}function l(e){var t,n,o,i=[],r=e.length;for(t=0;t0){var J=z.node().getPointAtLength(O-18),Y=J.x-10*j,X=J.y+10*H;X*=-1;var K="black";Z.indexOf("A")>-1&&(Z="$\\forall$"),Z.indexOf("E")>-1&&(Z="$\\exists$"),i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily },text="+K+"] at ("+Y+"pt, "+X+"pt) (cardinalityText"+a+") {"+Z+"};\n "}if(S.property().inverse()){z=S.pathObj(),O=Math.floor(z.node().getTotalLength());var Q=z.node().getPointAtLength(4),ee=z.node().getPointAtLength(0),te=z.node().getPointAtLength(6);D=Q.x,R=Q.y,W=ee.x,N=ee.y,H=W-D,j=N-R,_=Math.sqrt(H*H+j*j),H/=_,j/=_,E=-1*Math.atan2(j,H)*(180/Math.PI),E-=90,h=te.x,g=te.y,1!==S.layers().length||S.loops()?(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_marker"+a+") {};\n "):(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_single_marker"+a+") {};\n ")}}}for(l.each(function(e){u=e.x,f=-e.y,r=e.labelForCurrentLanguage(),void 0===r&&(r="");var t="owlClass";"owl:Thing"!==e.type()&&"owl:Nothing"!==e.type()||(t="owlThing"),"owl:equivalentClass"===e.type()&&(t="owlEquivalentClass");var n="";if(e.textBlock){var o=e.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===o&&(n=", text=black"),"rgb(255, 255, 255)"===o&&(n=", text=white");var l=e.textBlock()._textBlock().node().children;if(l[0]){r=l[0].innerHTML,e.individuals()&&e.individuals().length===parseInt(l[0].innerHTML)&&(r="{\\color{gray} "+l[0].innerHTML+" }");for(var s=1;s-1&&(i+="\\definecolor{Node"+a+"_COLOR}{HTML}{CCCCCC} \n ",d=", fill=Node"+a+"_COLOR ");var g=u-7,v=u+7,m=f+20;"owl:unionOf"===e.type()&&"owl:disjointUnionOf"===e.type()||(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:unionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[text=black] at ("+u+"pt, "+f+"pt) (unionText13) {$\\mathbf{\\cup}$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:disjointUnionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (disjointUnoinText"+a+") {1};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:complementOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+u+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{18pt}{18}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (unionText13) {$\\neg$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:intersectionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\filldraw[even odd rule,fill=owlClassColor,line width=1pt] ("+g+"pt, "+f+"pt) circle (12.5pt) ("+v+"pt, "+f+"pt) circle (12.5pt);\n ",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (intersectionText"+a+") {$\\cap$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),a++}),a=0;a-1?"\\\\ {\\small "+le[se].innerHTML+" }":"\\\\ "+le[se].innerHTML}}}if("setOperatorProperty"!==ne.type()){var ce="owlObjectProperty";"owl:DatatypeProperty"===ne.type()&&(ce="owlDatatypeProperty"),"rdfs:subClassOf"===ne.type()&&(ce="rdfsSubClassOf"),"rdf:Property"===ne.type()&&(ce="rdfProperty");var pe="";if(ne.backgroundColor()){var ue=ne.backgroundColor();ue.toUpperCase(),ue=ue.slice(1,ue.length),i+="\\definecolor{property"+a+"_COLOR}{HTML}{"+ue+"} \n ",pe=", fill=property"+a+"_COLOR "}ne.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{property"+a+"_COLOR}{HTML}{CCCCCC} \n ",pe=", fill=property"+a+"_COLOR ");var fe="",he=ne.textWidth();if(fe=",minimum width="+he+"pt","owl:disjointWith"!==ne.type())if(ne.inverse()){var ge=ne.inverse(),ve=ge.labelForCurrentLanguage();void 0===ve&&(ve="");var me="";if(ge.textBlock&&ge.textBlock()){var ye=ge.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===ye&&(me=", text=black"),"rgb(255, 255, 255)"===ye&&(me=", text=white");var be=ge.textBlock()._textBlock().node().children;if(be[0]){ve=be[0].innerHTML;for(var xe=1;xe-1?"\\\\ {\\small "+be[xe].innerHTML+" }":"\\\\ "+be[xe].innerHTML; +}}}var ke="owlObjectProperty",Ce="";if(ge.backgroundColor()){var Le=ge.backgroundColor();Le.toUpperCase(),Le=Le.slice(1,Le.length),i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{"+Le+"} \n ",Ce=", fill=inv_property"+a+"_COLOR "}ge.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{CCCCCC} \n ",Ce=", fill=inv_property"+a+"_COLOR ");var Me="",_e=ge.textWidth(),Ee=ie-14,Oe=ie+14;Me=",minimum width="+_e+"pt",i+="% Createing Inverse Property \n",i+="\\node["+ke+" "+Me+" "+Ce+" "+me+"] at ("+oe+"pt, "+Ee+"pt) (property"+a+") {"+ve.replaceAll("_","\\_ ")+"};\n",i+="% "+ke+" vs "+ce+"\n",i+="% "+Me+" vs "+fe+"\n",i+="% "+Ce+" vs "+pe+"\n",i+="% "+me+" vs "+re+"\n",i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+Oe+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"}else i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n";else{var Se=oe-12,Fe=oe+12,Ie=ie-20;i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (Node"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Se+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Fe+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+re+"] at ("+oe+"pt, "+Ie+"pt) (Node_text"+a+") {",e.options().compactNotation()===!1&&(i+="(disjoint)"),i+="};\n"}}}i+="\\end{tikzpicture}\n}\n \\end{center}\n";var Te="data:text/json;charset=utf-8,"+encodeURIComponent(i);w.attr("href",Te).attr("download",y+".tex")}var m,y,b,x,w,k,C,L={},M=n(324)(e);String.prototype.replaceAll=function(e,t){var n=this;return n.split(e).join(t)},L.setup=function(){m=t.select("#exportSvg").on("click",a),b=t.select("#exportJson").on("click",g),k=t.select("#copyBt").on("click",i),w=t.select("#exportTex").on("click",v),x=t.select("#exportTurtle").on("click",o);var n=t.select("#m_export");n.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries(),L.exportAsUrl()})},L.setFilename=function(e){y=e||"export"},L.setJsonText=function(e){C=e},L.exportAsUrl=function(){var n={};n.sidebar=e.options().sidebar().getSidebarVisibility();var o=e.options().filterMenu().getDefaultDegreeValue(),i=e.options().filterMenu().getDegreeSliderValue();parseInt(o)===parseInt(i)?n.doc=-1:n.doc=i,n.cd=e.options().classDistance(),n.dd=e.options().datatypeDistance(),e.editorMode()===!0?n.editorMode="true":n.editorMode="false",n.filter_datatypes=String(e.options().filterMenu().getCheckBoxValue("datatypeFilterCheckbox")),n.filter_sco=String(e.options().filterMenu().getCheckBoxValue("subclassFilterCheckbox")),n.filter_disjoint=String(e.options().filterMenu().getCheckBoxValue("disjointFilterCheckbox")),n.filter_setOperator=String(e.options().filterMenu().getCheckBoxValue("setoperatorFilterCheckbox")),n.filter_objectProperties=String(e.options().filterMenu().getCheckBoxValue("objectPropertyFilterCheckbox")),n.mode_dynamic=String(e.options().dynamicLabelWidth()),n.mode_scaling=String(e.options().modeMenu().getCheckBoxValue("nodescalingModuleCheckbox")),n.mode_compact=String(e.options().modeMenu().getCheckBoxValue("compactnotationModuleCheckbox")),n.mode_colorExt=String(e.options().modeMenu().getCheckBoxValue("colorexternalsModuleCheckbox")),n.mode_multiColor=String(e.options().modeMenu().colorModeState()),n.mode_pnp=String(e.options().modeMenu().getCheckBoxValue("pickandpinModuleCheckbox")),n.debugFeatures=String(!e.options().getHideDebugFeatures()),n.rect=0;var a,l=e.options().initialConfig(),s=r(l,n),d=String(location);if(0===s.length){var c=location.hash;d=d.split(c)[0];var p=c.lastIndexOf("#");if(p===-1)return a=t.select("#exportedUrl").node(),a.value=String(location),void(a.title=String(location));var u=c.slice(p,c.length);return a=t.select("#exportedUrl").node(),a.value=d+u,void(a.title=d+u)}var f,h=(d.match(/#/g)||[]).length;if(void 0!==h&&0!==h||(f=d+"#"+s),h>0){var g,v=d.split("#");for(v[1].indexOf("opts=")>=0?(v[1]=s,f=v[0]):(f=v[0]+"#",f+=s),g=1;g0&&(f+="#"+v[g])}a=t.select("#exportedUrl").node(),a.value=f,a.title=f},L.createJSON_exportObject=function(){var t,n,o,i=e.getUnfilteredData(),r=e.options().data()._comment,a=e.options().getGeneralMetaObject(),l=e.options().data().header;a.iri&&a.iri!==l.iri&&(l.iri=a.iri),a.title&&a.title!==l.title&&(l.title=a.title),a.version&&a.version!==l.version&&(l.version=a.version),a.author&&a.author!==l.author&&(l.author=a.author),a.description&&a.description!==l.description&&(l.description=a.description);var s={};s._comment=r,s.header=l,s.namespace=e.options().data().namespace,void 0===s.namespace&&(s.namespace=[]);var d=i.nodes,c=d.length,p=[],u=[];for(t=0;t0&&(h.attributes=d[t].attributes()),d[t].comment()&&(h.comment=d[t].comment()),d[t].annotations()&&(h.annotations=d[t].annotations()),d[t].description()&&(h.description=d[t].description()),d[t].individuals().length>0){var g=[],v=d[t].individuals();for(n=0;n0){y=[];var b=d[t].equivalents();for(n=0;n0&&(w.attributes=b[n].attributes()),b[n].comment()&&(w.comment=b[n].comment()),b[n].individuals().length>0&&(w.individuals=b[n].individuals()),b[n].annotations()&&(w.annotations=b[n].annotations()),b[n].description()&&(w.description=b[n].description()),b[n].individuals().length>0){var k=[],C=b[t].individuals();for(o=0;o0&&(h.equivalent=y),u.push(h)}var M=i.properties,_=M.length,E=[],O=[];for(t=0;t<_;t++){var S={},F={};if(S.id=M[t].id(),S.type=M[t].type(),E.push(S),F.id=M[t].id(),F.iri=M[t].iri(),F.baseIri=M[t].baseIri(),F.label=M[t].label(),M[t].attributes().length>0&&(F.attributes=M[t].attributes()),M[t].comment()&&(F.comment=M[t].comment()),M[t].annotations()&&(F.annotations=M[t].annotations()),M[t].maxCardinality()&&(F.maxCardinality=M[t].maxCardinality()),M[t].minCardinality()&&(F.minCardinality=M[t].minCardinality()),M[t].cardinality()&&(F.cardinality=M[t].cardinality()),M[t].description()&&(F.description=M[t].description()),F.domain=M[t].domain().id(),F.range=M[t].range().id(),M[t].subproperties()){var I=M[t].subproperties(),T=[];for(n=0;n":n[t].prefixRepresentation=i}for(t=0;t":o[t].prefixRepresentation=r}}function n(){if(0!==y.length){x+="### Property Definitions (Number of Property) "+y.length+" ###\r\n";for(var e=0;e=0}function r(t){var n=t.prefixRepresentation,o="rdf:type",r=t.type();"owl:equivalentClass"===t.type()&&(r="owl:Class"),"owl:disjointUnionOf"===t.type()&&(r="owl:Class"),"owl:unionOf"===t.type()&&(r="owl:Class");var a=[],s=[];if(t.union())for(var d=t.union(),c=0;c":b,g+=m+" owl:equivalentClass "+x+" ;\r\n"}if(t.commentForCurrentLanguage()&&(g+=m+' rdfs:comment "'+t.commentForCurrentLanguage()+'" ;\r\n'),t.annotations()){var k=t.annotations();for(var L in k)if(k.hasOwnProperty(L)){var M=k[L],_=M[0],E=_.identifier,O=_.value;"isDefinedBy"===E&&(g+=m+" rdfs:isDefinedBy <"+O+"> ;\r\n"),"term_status"===E&&(g+=m+' vs:term_status "'+O+'" ;\r\n')}}if(a.length>0){g+=m+" owl:disjointUnionOf (";for(var S=0;S":F,g+=m+m+I+" \n"}g+=") ;\r\n"}if(s.length>0){g+=m+" rdfs:subClassOf [ rdf:type owl:Class ; \r\n",g+=m+m+" owl:unionOf ( ";for(var T=0;T":A,g+=m+m+m+P+" \n"}g+=") ;\r\n"}var B,D=e.getUnfilteredData().properties,R=[];for(B=0;B ;\r\n"),"term_status"===x&&(a+=s+' vs:term_status "'+w+'" ;\r\n')}}if("owl:Thing"===c.type()&&"owl:Thing"===p.type()&&"object"!=typeof e.label()&&0===e.label().length&&(d=!0),d===!0){var k=a.substring(0,a.length-2);return a=k+" . \r\n"}var L;if("owl:Thing"===c.type()&&"owl:Thing"===p.type())L=v(s,e.label(),"rdfs:label",!0),a+=L;else{L=v(s,e.label(),"rdfs:label"),a+=L,"owl:Thing"!==c.type()&&(a+=s+" rdfs:domain "+c.prefixRepresentation+";\r\n"),"owl:Thing"!==p.type()&&(a+=s+" rdfs:range "+p.prefixRepresentation+";\r\n");var M=a,_=M.lastIndexOf(";");a=M.substring(0,_)+" . \r\n"}return a}function l(e){return void 0===e?"WHYEMPTYNAME?":new Array(e.length+1).join(" ")}function s(){x+="#################################################################\r\n",x+="### Generated with the experimental alpha version of the TTL exporter of WebVOWL (version 1.1.3) http://visualdataweb.de/webvowl/ ###\r\n",x+="#################################################################\r\n\r\n"}function d(){var t=e.options().getGeneralMetaObjectProperty("iri"),n=e.options().prefixList(),o=[];o.push("@prefix : \t\t<"+t+"> .");for(var i in n)n.hasOwnProperty(i)&&o.push("@prefix "+i+": \t\t<"+n[i]+"> .");o.push("@base \t\t\t<"+t+"> .\r\n");for(var r=0;r");x+="<"+t+"> rdf:type owl:Ontology ;\r\n"+p(n)+u(n)+h(n)+f(n);var o=x,i=o.lastIndexOf(";");x=o.substring(0,i)+" . \r\n"}function p(e){return g(e,"title","dc:title")}function u(e){return g(e,"description","dc:description")}function f(t){var n=e.options().getGeneralMetaObjectProperty("author");if(n){if("object"!=typeof n){if(0===n.length)return"";var o=t+' dc:creator "'+n+'";\r\n';return o}for(var i=t+' dc:creator "',r=0;r0&&(n=-1);var i=parseInt(s.attr("max")),r=parseInt(s.property("value")),a=r+n;r!==a&&a>=0&&a<=i&&(s.property("value",a),s.on("input")(),e.update()),t.event.preventDefault()}function r(e,t){e.property("value",t).on("input")()}function a(){p.node().addEventListener("animationend",function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!0)})}var l,s,d={},c=[],p=(t.select("#m_filter"),t.select("#c_filter a")),u=t.select("#nodeDegreeFilteringOption"),f=0;return d.setDefaultDegreeValue=function(e){f=e},d.getDefaultDegreeValue=function(){return f},d.getGraphObject=function(){return e},d.getCheckBoxContainer=function(){return c},d.getDegreeSliderValue=function(){return s.property("value")},d.setup=function(t,i,r,l,s,c){p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),p.on("mouseleave",function(){d.highlightForDegreeSlider(!1)}),n(t,"datatype","Datatype properties","#datatypeFilteringOption"),n(i,"objectProperty","Object properties","#objectPropertyFilteringOption"),n(r,"subclass","Solitary subclasses","#subclassFilteringOption"),n(l,"disjoint","Class disjointness","#disjointFilteringOption"),n(s,"setoperator","Set operators","#setOperatorFilteringOption"),o(c,u),a()},d.reset=function(){c.forEach(function(e){var t=e.checkbox,n=e.defaultState,o=t.property("checked");o!==n&&(t.property("checked",n),t.on("click")())}),r(s,0),s.on("change")()},d.killButtonAnimation=function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!1)},d.highlightForDegreeSlider=function(e){if(arguments.length||(e=!0),p.classed("highlighted",e),u.classed("highlighted",e),p.classed("buttonPulse")===!0&&e===!0){p.classed("buttonPulse",!1);var t=setTimeout(function(){p.classed("buttonPulse",e),clearTimeout(t)},100)}else p.classed("buttonPulse",e),p.classed("filterMenuButtonHighlight",e)},d.setCheckBoxValue=function(e,t){for(var n=0;n0?d.highlightForDegreeSlider(!0):d.highlightForDegreeSlider(!1),c.forEach(function(t){var n=t.checkbox;n.on("click")(e)}),s.on("input")(),s.on("change")()},d}}).call(t,n(6))},326:function(e,t,n){(function(t){e.exports=function(e){function n(n,i,a,l){var s,d,c=l();s=t.select(n).append("div").datum({distanceFunction:l}).classed("distanceSliderContainer",!0);var p=s.append("input").attr("id",i+"DistanceSlider").attr("type","range").attr("min",10).attr("max",600).attr("value",l()).attr("step",10);s.append("label").classed("description",!0).attr("for",i+"DistanceSlider").text(a),d=s.append("label").classed("value",!0).attr("for",i+"DistanceSlider").text(l()),r.push(p),p.on("focusout",function(){e.updateStyle()}),p.on("input",function(){var t=p.property("value");l(t),o(c),d.text(t),e.updateStyle()}),p.on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=10),n.deltaY>0&&(e=-10);var o=parseInt(p.property("value")),i=o+e;i!==o&&(p.property("value",i),l(i),p.on("input")()),t.event.preventDefault()})}function o(e){var t=Math.max(a.classDistance(),a.datatypeDistance()),n=t/e,o=l*n;a.charge(o)}var i={},r=[],a=e.graphOptions(),l=a.charge();return i.setup=function(){var o=t.select("#m_gravity");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("#classSliderOption","class","Class distance",a.classDistance),n("#datatypeSliderOption","datatype","Datatype distance",a.datatypeDistance)},i.reset=function(){r.forEach(function(e){e.property("value",function(e){return e.distanceFunction()}),e.on("input")()})},i}}).call(t,n(6))},327:function(e,t,n){(function(t){e.exports=function(e){function n(n,o,i,r,a){var l=t.select(i).append("div").classed("checkboxContainer",!0),s=l.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());s.on("click",function(n){var o=s.property("checked");r(o),t.select("#maxLabelWidthSlider").node().disabled=!o,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",!o),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",!o),a>0&&e.animateDynamicLabelWidth()}),l.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&l.append("label").attr("style","font-size:10px;padding-top:3px").text("(experimental)"),d=s}function o(n,o,i,r){var a=t.select(i).append("div").classed("checkboxContainer",!0),l=a.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());l.on("click",function(t){var n=l.property("checked");r(n),n===!0&&e.showEditorHintIfNeeded()}),a.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&a.append("label").attr("style","font-size:10px;padding-top:3px").text(" (experimental)")}function i(n,o,i,r,a){var l,s;return l=t.select(r).append("div").classed("checkboxContainer",!0).datum({module:n,defaultState:n.enabled()}),s=l.append("input").classed("moduleCheckbox",!0).attr("id",o+"ModuleCheckbox").attr("type","checkbox").property("checked",n.enabled()),f.push(s),s.on("click",function(t,n){var o=s.property("checked");t.module.enabled(o),a&&n!==!0&&(e.executeColorExternalsModule(),e.executeCompactNotationModule(),e.lazyRefresh())}),l.append("label").attr("for",o+"ModuleCheckbox").text(i),l}function r(t,n){var o=t.append("button").datum({active:!1}).classed("color-mode-switch",!0);return a(o,n),o.on("click",function(t){var i=o.datum();i.active=!i.active,a(o,n),n.enabled()&&t!==!0&&(e.executeColorExternalsModule(),e.lazyRefresh())}),o}function a(e,t){var n=e.datum().active,o=l(n);e.classed("active",n).text(o.text),t&&t.colorModeType(o.type)}function l(e){return e?p:c}var s,d,c={text:"Multicolor",type:"same"},p={text:"Multicolor",type:"gradient"},u={},f=[];return u.colorModeState=function(e){return arguments.length?(s.datum().active=e,u):s.datum().active},u.setDynamicLabelWidth=function(e){d.property("checked",e)},u.getCheckBoxContainer=function(){return f},u.colorModeSwitch=function(){return s},u.setup=function(a,l,d,c){var p=t.select("#m_modes");p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("labelWidth","Dynamic label width","#dynamicLabelWidth",e.options().dynamicLabelWidth,1),o("editorMode","Editing ","#editMode",e.editorMode),i(a,"pickandpin","Pick & pin","#pickAndPinOption",!1),i(l,"nodescaling","Node scaling","#nodeScalingOption",!0),i(d,"compactnotation","Compact notation","#compactNotationOption",!0);var u=i(c,"colorexternals","Color externals","#colorExternalsOption",!0);s=r(u,c)},u.reset=function(){f.forEach(function(e){var t=e.datum().defaultState,n=e.property("checked");n!==t&&(e.property("checked",t),e.on("click")(e.datum())),e.datum().module.reset()}),s.datum().active=!0,s.on("click")()},u.setCheckBoxValue=function(e,t){for(var n=0;n li > a").attr("href",location.hash||"#")}function i(e){var n=t.select("#bulletPoint_container"),o=n.append("div");o.node().innerHTML=e,E.scrollDownDetails()}function r(e){var n=t.select("#bulletPoint_container"),o=n.node().getElementsByTagName("LI"),i=o.length-1;if(i>=0){var r=o[i].innerHTML;o[i].innerHTML=r+e}E.scrollDownDetails()}function a(e){var n=t.select("#bulletPoint_container"),o=n.append("li");o.node().innerHTML=e,t.select("#currentLoadingStep").node().innerHTML=e,E.scrollDownDetails()}function l(){var e=t.select("#iri-converter-button"),n=t.select("#iri-converter-input");n.on("input",function(){x();var t=""===n.property("value");e.attr("disabled",t||void 0)}).on("click",function(){x()}),t.select("#iri-converter-form").on("submit",function(){for(var e=n.property("value"),o=e.replace(/%20/g," ");o.beginsWith(" ");)o=o.substr(1,o.length);for(;o.endsWith(" ");)o=o.substr(0,o.length-1);e=o;var i=e.toLowerCase();return i.endsWith(".json")?(location.hash="url="+e,n.property("value",""),n.on("input")()):(location.hash="iri="+e,n.property("value",""),n.on("input")()),t.event.preventDefault(),!1})}function s(){var n=t.select("#file-converter-input"),o=t.select("#file-converter-label"),i=t.select("#file-converter-button");n.on("change",function(){var t=n.property("files");t.length<=0?(o.text("Select ontology file"),i.property("disabled",!0)):(o.text(t[0].name),L=t[0].name,i.property("disabled",!1),i.node().click(),e.options().navigationMenu().hideAllMenus())}),i.on("click",function(){var e=n.property("files")[0];if(!e)return!1;var t="file="+e.name;location.hash==="#"+t?E.parseUrlAndLoadOntology():location.hash=t})}function d(e){var n=t.select("#o2vConverterContainer");if(!n.node()){var o=t.select("#bulletPoint_container"),i=o.append("div");n=i.append("ul"),n.attr("id","o2vConverterContainer"),n.style("margin-left","-25px")}for(var r=n.node().children,a=r.length,l=0;l0&&(s=n.append("li"),s.attr("type","disc"),s.node().innerHTML=p.replace(/\n/g,"
    "))}s&&(s.node().innerHTML+="
    "),E.scrollDownDetails()}function c(e,n){t.xhr("loadingStatus?sessionId="+_,"application/text",function(t,o){t&&(console.log("ontologyMenu getLoadingStatusOnceCallBacked throws error"),console.log("---------Error -----------"),console.log(t),console.log("---------Request -----------"),console.log(o)),d(o.responseText),e(n)})}function p(){t.xhr("loadingStatus?sessionId="+_,"application/text",function(e,t){e&&(console.log("ontologyMenu getLoadingStatusTimeLooped throws error"),console.log("---------Error -----------"),console.log(e),console.log("---------Request -----------"),console.log(t)),T===!1&&(d(t.responseText),u())})}function u(){clearTimeout(M),T===!1&&(M=setTimeout(function(){p()},1e3))}function f(e){t.xhr("loadingStatus","application/text",function(t,n){void 0!==n?d(n.responseText+"
    "+e):i(e)})}function h(e){var t=e[2];return t!==_?(console.log("The conversion process for file:"+e[1]+" has been canceled!"),void S.conversionFinished(t)):(E.loadFromOWL2VOWL(e[0],e[1]),void S.conversionFinished())}function g(e){var t=e[2];return t!==_?void console.log("The conversion process for file:"+e[1]+" has been canceled!"):void E.loadFromOWL2VOWL(e[0],e[1])}function v(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function m(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function y(e,t,n){T=!1,u();var o=new FormData;o.append("ontology",e),o.append("sessionId",n);var i=new XMLHttpRequest;i.open("POST","convert",!0),i.onload=function(){clearTimeout(M),T=!0,c(b,[i,t,n])},u(),i.send(o)}function b(t){var n=t[0],o=t[1],i=t[2];return i!==_?(console.log("The conversion process for file:"+o+" has been canceled!"),void S.conversionFinished(i)):void(200===n.status?(E.loadFromOWL2VOWL(n.responseText,o),S.conversionFinished()):(f('Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),e.handleOnLoadingError(),S.conversionFinished()))}function x(){function e(){n.style("display",void 0),clearTimeout(C),t.select(window).on("click",void 0).on("keydown",void 0),n.on("mouseover",void 0)}var n=t.select("#select .toolTipMenu");n.on("click",function(){t.event.stopPropagation()}).on("keydown",function(){t.event.stopPropagation()}),n.style("display","block"),clearTimeout(C),C=setTimeout(function(){e()},3e3),t.select(window).on("click",function(){e()}).on("keydown",function(){e()}),n.on("mouseover",function(){e()})}function w(){t.select("#layoutLoadingProgressBarContainer").classed("hidden",!1),F.classed("hidden",!1),I.classed("hidden",!1)}function k(){F.classed("hidden",!0)}var C,L,M,_,E,O,S={},F=t.select("#loading-info"),I=t.select("#loading-progress"),T=!1,A=!1,P={},B="";return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},S.getLoadingFunction=function(){return O},S.clearCachedVersion=function(){P[B]&&(P[B]=void 0)},S.reloadCachedOntology=function(){S.clearCachedVersion(),e.clearGraphData(),E.parseUrlAndLoadOntology(!1)},S.cachedOntology=function(n){if(B=n,P[n]){var o=String(location.hash);t.select("#reloadSvgIcon").node().disabled=!1,e.showReloadButtonAfterLayoutOptimization(!0),o.indexOf("#file")>-1?(t.select("#reloadSvgIcon").node().disabled=!0,t.select("#reloadCachedOntology").node().title="reloading original version not possible, please reload the file",t.select("#reloadSvgIcon").classed("disabledReloadElement",!0),t.select("#svgStringText").style("fill","gray"),t.select("#svgStringText").classed("noselect",!0)):(t.select("#reloadCachedOntology").node().title="generate new visualization and overwrite cached ontology",t.select("#reloadSvgIcon").classed("disabledReloadElement",!1),t.select("#svgStringText").style("fill","black"),t.select("#svgStringText").classed("noselect",!0))}else e.showReloadButtonAfterLayoutOptimization(!1);return P[n]},S.setCachedOntology=function(e,t){P[e]=t,B=e},S.getErrorStatus=function(){return A},S.setup=function(o){O=o,E=e.options().loadingModule();var i=t.select("#m_select");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),l(),s();var r=t.select("#error-description-button").datum({open:!1});r.on("click",function(e){var n=t.select("#error-description-container"),o=t.select(this);e.open=!e.open;var i=e.open;i?o.text("Hide error details"):o.text("Show error details"),n.classed("hidden",!i)}),n(),E.setOntologyMenu(S)},S.stopLoadingTimer=function(){T=!0,clearTimeout(M)},S.setIriText=function(e){t.select("#iri-converter-input").node().value=e,t.select("#iri-converter-button").attr("disabled",!1),t.select("#iri-converter-form").on("submit")()},S.clearDetailInformation=function(){for(var e=t.select("#bulletPoint_container"),n=e.node().children,o=n.length,i=0;i",""":'"',"'":"'"},r=o(i);e.exports=r},332:function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},333:function(e,t,n){(function(t){e.exports=function(e){function n(){o(),i()}function o(){r.classed("paused",function(e){return e.paused})}function i(){r.datum().paused?r.text("Resume"):r.text("Pause")}var r,a={};return a.setup=function(){var o=t.select("#pauseOption");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),r=t.select("#pause-button").datum({paused:!1}).on("click",function(t){e.paused(!t.paused),t.paused=!t.paused,n(),r.classed("highlighted",t.paused)}),n()},a.setPauseValue=function(t){r.datum().paused=t,e.paused(t),r.classed("highlighted",t),n()},a.reset=function(){a.setPauseValue(!1)},a}}).call(t,n(6))},334:function(e,t,n){(function(t){e.exports=function(e){function n(){e.resetSearchHighlight(),e.options().searchMenu().clearText(),r.classDistance(a.classDistance()),r.datatypeDistance(a.datatypeDistance()),r.charge(a.charge()),r.gravity(a.gravity()),r.linkStrength(a.linkStrength()),e.reset(),o.forEach(function(e){e.reset()}),e.updateStyle()}var o,i={},r=e.graphOptions(),a=webvowl.options();return i.setup=function(i){o=i,t.select("#reset-button").on("click",n);var r=t.select("#resetOption");r.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()})},i}}).call(t,n(6))},335:function(e,t,n){(function(t){e.exports=function(e){function n(){b=e.getUpdateDictionary(),M=!1,k=[],C=[];var t,n=[],o=[];for(t=0;t0)for(var r=b[t].equivalentsString(),a=r.split(", "),l=0;l=0&&s=a&&i[s].setAttribute("class","dbEntrySelected"),h>=0&&h=0&&i[s].setAttribute("class","dbEntry")))}function s(){for(var e=F.node().children,t=e.length,n=0;n-1&&(E.push(k[e]),O.push(e)))}}function c(e,n){n||(n="text");var o=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),i=document.getElementById("width-test").offsetWidth;return o.remove(),i}function p(e){for(var t,n,o,i=250,r="dbEntry",a=e;;){if(t=c(a,r),t<=i)break;if(n=t/i,o=Math.floor(a.length/n),a.length===o)break;a=a.substring(0,o)}return e.length>a.length?e.substring(0,a.length-6):e}function u(){var n,o,i,r=E,a=[],l=[],s=v.node().value.toLowerCase();for(n=E.length,n>L&&(n=L),o=0;o-1&&h<=d&&m<=c&&(u=f,d=h,c=m)}a.push(r[u]),l.push(O[u]),r[u]=""}n=E.length,n>L&&(n=L);var b=0;for(o=0;o1)for(var T=0;T1&&_===!1?k!==I&&(C+="... ("+I+"/"+k+")"):C+="...",x.title=a[o]):k>1&&_===!1&&(C+=k!==I?" ("+I+"/"+k+")":" ("+k+")");var P=t.select(x);1===k||_===!0?void 0===S[w[0]]&&(P.style("color","#979797"),x.title=a[o]+"\nElement is filtered out.",x.onclick=function(){},t.select(x).style("cursor","default"),b++):(I<1?(P.style("color","#979797"),x.onclick=function(){},x.title=a[o]+"\nAll elements are filtered out.",t.select(x).style("cursor","default"),b++):P.style("color",""),I1&&(x.title=a[o]+"\n"+I+"/"+k+" elements are visible.")),P.node().innerHTML=C,F.node().appendChild(x)}}function f(){s(),d(),u()}function h(){return S.classed("highlighted",!1),S.node().title="Nothing to locate",M&&n(),e.resetSearchHighlight(),0===k.length?void console.log("dictionary is empty"):(x=v.node().value,s(),0!==x.length&&(d(),u()),void w.showSearchEntries())}function g(t){return function(){var n=t,o=y[n],i=C[n];v.node().value=i,e.resetSearchHighlight(),e.highLightNodes(o),S.node().title="Locate search term",i!==x&&f(),w.hideSearchEntries()}}var v,m,y,b,x,w={},k=[],C=[],L=6,M=!0,_=!1,E=[],O=[],S=t.select("#locateSearchResult"),F=(t.select("#c_search"),t.select("#m_search"));return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},w.requestDictionaryUpdate=function(){M=!0;for(var e=F.node().children,t=e.length,n=0;n=h?void n():void(y=requestAnimationFrame(o))}function i(){return f-=5,x.scrollLeft=f,b.updateScrollButtonVisibility(),f<=0?void n():void(y=requestAnimationFrame(i))}function r(){M=[],_=[];var e,r=[],c=[],p=x.children,u=p.length;for(e=0;e-1?_[e]="m_"+r[e]:_[e]=void 0,t.select("#"+M[e]).on("mouseover",a),t.select("#"+M[e]).on("mouseout",l),t.select("#"+M[e]).on("click",s),t.select("#"+M[e]).on("touchstart",d);t.select("#menuElementContainer").on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=20),n.deltaY>0&&(e=-20),x.scrollLeft+=e,b.hideAllMenus(),b.updateScrollButtonVisibility()}),t.select("#scrollRightButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#scrollLeftButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#menuElementContainer").on("scroll",function(){b.updateScrollButtonVisibility(),b.hideAllMenus()})}function a(){b.hideAllMenus(),L||p(this.id)}function l(){c(this.id)}function s(){var e=_[M.indexOf(this.id)];if(e){var n=t.select("#"+e);n&&("block"===n.style("display")?n.style("display","none"):p(this.id))}}function d(){L=!0}function c(e){v=t.select("#"+e),"c_search"!==e&&(t.select("#"+e).select("path").style("stroke-width","0"),t.select("#"+e).select("path").style("fill","#fff"))}function p(n){v=t.select("#"+n).node();var o=_[M.indexOf(n)];o&&("c_search"!==n&&(t.select("#"+n).select("path").style("stroke-width","0"),t.select("#"+n).select("path").style("fill","#bdc3c7")),g=t.select("#"+o),g.style("display","block"),"m_export"===o&&e.options().exportMenu().exportAsUrl(),u())}function u(){if(v){var e=v.offsetLeft,t=x.scrollLeft,n=e-t,o=Math.max(0,n),i=x.getBoundingClientRect().width,r=g.node().getBoundingClientRect().width;o+r>i&&(o=i-r),o=Math.max(0,o),g.style("left",o+"px")}}var f,h,g,v,m,y,b={},x=t.select("#menuElementContainer").node(),w=t.select("#menuContainer").node(),k=t.select("#scrollLeftButton"),C=t.select("#scrollRightButton"),L=!1,M=[],_=[];return b.hideAllMenus=function(){t.selectAll(".toolTipMenu").style("display","none")},b.updateScrollButtonVisibility=function(){h=x.scrollWidth-x.clientWidth-2,0===x.scrollLeft?k.classed("hidden",!0):k.classed("hidden",!1),x.scrollLeft>h?C.classed("hidden",!0):C.classed("hidden",!1)},b.setup=function(){r(),t.select("#graph").on("mouseover",function(){b.hideAllMenus()}),t.select("#generalDetails").on("mouseover",function(){b.hideAllMenus()})},b}}).call(t,n(6))},337:function(e,t,n){(function(t){e.exports=function(e){function n(){cancelAnimationFrame(a),cancelAnimationFrame(l)}function o(){s*=.98,su&&(s=u),e.setSliderZoom(s),l=requestAnimationFrame(i)}var r,a,l,s,d,c={},p=e.options().minMagnification(),u=e.options().maxMagnification(),f=!0,h=e.options().width(),g=e.options().height();return r=Math.min(h,g)/1e3,c.setup=function(){d=t.select("#zoomSliderParagraph").append("input").datum({}).attr("id","zoomSliderElement").attr("type","range").attr("value",r).attr("min",p).attr("max",u).attr("step",(u-p)/40).attr("title","zoom factor").on("input",function(){c.zooming()}),t.select("#zoomOutButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom out"),t.select("#zoomInButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom in"),t.select("#centerGraphButton").on("click",function(){e.options().navigationMenu().hideAllMenus(),e.forceRelocationEvent()}).attr("title","center graph")},c.showSlider=function(e){return arguments.length?(t.select("#zoomSlider").classed("hidden",!e),void(f=e)):f},c.zooming=function(){e.options().navigationMenu().hideAllMenus();var t=d.property("value");d.attr("value",t),e.setSliderZoom(t)},c.updateZoomSliderValue=function(e){d&&(d.attr("value",e),d.property("value",e))},c}}).call(t,n(6))},338:function(e,t,n){(function(t){e.exports=function(e){function n(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");e(t.selectAll(".accordion-trigger:not(.accordion-trigger-active) + div")),o.on("click",function(){var o=t.select(this),i=t.selectAll(".accordion-trigger-active");o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(e(t.selectAll(".accordion-trigger-active + div")),i.classed("accordion-trigger-active",!1),n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0))})}function o(n){n=n||[],n.sort(function(e,t){return e===webvowl.util.constants().LANG_IRIBASED?-1:t===webvowl.util.constants().LANG_IRIBASED?1:e===webvowl.util.constants().LANG_UNDEFINED?-1:t===webvowl.util.constants().LANG_UNDEFINED?1:e.localeCompare(t)});var o=t.select("#language").on("change",function(){e.language(t.event.target.value),r(),C.updateSelectionInformation(k)});o.selectAll("option").remove(),o.selectAll("option").data(n).enter().append("option").attr("value",function(e){return e}).text(function(e){return e}),i(o,n,"en")||i(o,n,webvowl.util.constants().LANG_UNDEFINED)||i(o,n,webvowl.util.constants().LANG_IRIBASED)}function i(t,n,o){var i=n.indexOf(o);return i>=0&&(t.property("selectedIndex",i),e.language(o),!0)}function r(){var n=L.textInLanguage(w.title,e.language());t.select("#title").text(n||"No title available"),t.select("#about").attr("href",w.iri).attr("target","_blank").text(w.iri),t.select("#version").text(w.version||"--");var o=w.author;"string"==typeof o?t.select("#authors").text(o):o instanceof Array?t.select("#authors").text(o.join(", ")):t.select("#authors").text("--");var i=L.textInLanguage(w.description,e.language());t.select("#description").text(i||"No description available.")}function a(e,n){e=e||{},t.select("#classCount").text(e.classCount||n.classCount()),t.select("#objectPropertyCount").text(e.objectPropertyCount||n.objectPropertyCount()),t.select("#datatypePropertyCount").text(e.datatypePropertyCount||n.datatypePropertyCount()),t.select("#individualCount").text(e.totalIndividualCount||n.totalIndividualCount()),t.select("#nodeCount").text(n.nodeCount()),t.select("#edgeCount").text(n.edgeCount())}function l(e){var n=t.select("#ontology-metadata");n.selectAll("*").remove(),s(n,e),n.selectAll(".annotation").size()<=0&&n.append("p").text("No annotations available.")}function s(e,n){n=n||{};var o=[];for(var i in n)n.hasOwnProperty(i)&&o.push(n[i][0]);e.selectAll(".annotation").remove(),e.selectAll(".annotation").data(o).enter().append("p").classed("annotation",!0).classed("statisticDetails",!0).text(function(e){return e.identifier+":"}).append("span").each(function(e){h(t.select(this),e.value,"iri"===e.type?e.value:void 0)})}function d(){c(!1,!1,!0)}function c(e,n,o){t.select("#classSelectionInformation").classed("hidden",!e),t.select("#propertySelectionInformation").classed("hidden",!n),t.select("#noSelectionInformation").classed("hidden",!o)}function p(e){u(),f(t.select("#propname"),e.labelForCurrentLanguage(),e.iri()),t.select("#typeProp").text(e.type()),void 0!==e.inverse()?(t.select("#inverse").classed("hidden",!1),f(t.select("#inverse span"),e.inverse().labelForCurrentLanguage(),e.inverse().iri())):t.select("#inverse").classed("hidden",!0);var n=t.select("#propEquivUri");b(n,e.equivalents()),b(t.select("#subproperties"),e.subproperties()),b(t.select("#superproperties"),e.superproperties()),void 0!==e.minCardinality()?(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!1),t.select("#minCardinality span").text(e.minCardinality()),t.select("#maxCardinality").classed("hidden",!1),void 0!==e.maxCardinality()?t.select("#maxCardinality span").text(e.maxCardinality()):t.select("#maxCardinality span").text("*")):void 0!==e.cardinality()?(t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0),t.select("#infoCardinality").classed("hidden",!1),t.select("#infoCardinality span").text(e.cardinality())):(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0)),f(t.select("#domain"),e.domain().labelForCurrentLanguage(),e.domain().iri()),f(t.select("#range"),e.range().labelForCurrentLanguage(),e.range().iri()),g(e.attributes(),t.select("#propAttributes")),x(t.select("#propDescription"),e.descriptionForCurrentLanguage()),x(t.select("#propComment"),e.commentForCurrentLanguage()),s(t.select("#propertySelectionInformation"),e.annotations())}function u(){c(!1,!0,!1)}function f(e,n,o){var i=t.select(e.node().parentNode);n?(e.selectAll("*").remove(),h(e,n,o),i.classed("hidden",!1)):i.classed("hidden",!0)}function h(e,t,n){var o;o=n?e.append("a").attr("href",n).attr("title",n).attr("target","_blank"):e.append("span"),o.text(t)}function g(e,n){var o=t.select(n.node().parentNode);e&&e.length>0&&(v("object",e),v("datatype",e),v("rdf",e)),e&&e.length>0?(n.text(e.join(", ")),o.classed("hidden",!1)):o.classed("hidden",!0)}function v(e,t){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function m(e){y(),f(t.select("#name"),e.labelForCurrentLanguage(),e.iri());var n=t.select("#classEquivUri");b(n,e.equivalents()),t.select("#typeNode").text(e.type()),b(t.select("#individuals"),e.individuals());var o=t.select("#disjointNodes"),i=t.select(o.node().parentNode);void 0!==e.disjointWith()?(o.selectAll("*").remove(),e.disjointWith().forEach(function(e,t){t>0&&o.append("span").text(", "),h(o,e.labelForCurrentLanguage(),e.iri())}),i.classed("hidden",!1)):i.classed("hidden",!0),g(e.attributes(),t.select("#classAttributes")),x(t.select("#nodeDescription"),e.descriptionForCurrentLanguage()),x(t.select("#nodeComment"),e.commentForCurrentLanguage()),s(t.select("#classSelectionInformation"),e.annotations())}function y(){c(!0,!1,!1)}function b(e,n){var o=t.select(e.node().parentNode);n&&n.length?(e.selectAll("*").remove(),n.forEach(function(t,n){n>0&&e.append("span").text(", "),h(e,t.labelForCurrentLanguage(),t.iri())}),o.classed("hidden",!1)):o.classed("hidden",!0)}function x(e,n){var o=t.select(e.node().parentNode),i=!!n;n&&e.text(n),o.classed("hidden",!i)}var w,k,C={},L=webvowl.util.languageTools(),M=webvowl.util.elementTools(),_=1,E=t.select("#detailsArea"),O=t.select("#canvasArea"),S=t.select("#swipeBarContainer"),F=t.select("#sidebarExpandButton");return C.clearOntologyInformation=function(){t.select("#title").text("No title available"),t.select("#about").attr("href","#").attr("target","_blank").text("not given"),t.select("#version").text("--"),t.select("#authors").text("--"),t.select("#description").text("No description available.");var e=t.select("#ontology-metadata");e.selectAll("*").remove(),t.select("#classCount").text("0"),t.select("#objectPropertyCount").text("0"),t.select("#datatypePropertyCount").text("0"),t.select("#individualCount").text("0"),t.select("#nodeCount").text("0"),t.select("#edgeCount").text("0");var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");n&&t.select("#selection-details-trigger").node().click(),d()},C.updateOntologyInformation=function(e,t){e=e||{},w=e.header||{},r(),a(void 0,t),l(w.other),C.updateSelectionInformation(void 0),o(w.languages)},C.updateSelectionInformation=function(e){if(k=e,!t.event||!t.event.defaultPrevented){var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");if(e&&!n)t.select("#selection-details-trigger").node().click();else if(!e&&n)return void d();M.isProperty(e)?p(e):M.isNode(e)&&m(e)}},C.showSidebar=function(n,o){1===n&&(_=!0,F.node().innerHTML=">",E.classed("hidden",!0),o===!0?(E.classed("hidden",!_),O.style("width","78%"),O.style("-webkit-animation-name","none"),S.style("width","78%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","78%"),O.style("-webkit-animation-name","sbCollapseAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","78%"),S.style("-webkit-animation-name","sbCollapseAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_ExpandRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth-.22*window.innerWidth),e.options().navigationMenu().updateScrollButtonVisibility()),0===n&&(_=!1,E.classed("hidden",!0),F.node().innerHTML="<",o===!0?(O.style("width","100%"),O.style("-webkit-animation-name","none"),S.style("width","100%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","100%"),O.style("-webkit-animation-name","sbExpandAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","100%"),S.style("-webkit-animation-name","sbExpandAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_CollapseRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility())},C.isSidebarVisible=function(){return _},C.updateSideBarVis=function(e){var t=C.getSidebarVisibility();C.showSidebar(parseInt(t),e)},C.getSidebarVisibility=function(){var e=E.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},C.initSideBarAnimation=function(){O.node().addEventListener("animationend",function(){E.classed("hidden",!_),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility()})},C.setup=function(){n(),C.initSideBarAnimation(),F.on("click",function(){e.options().navigationMenu().hideAllMenus();var t=parseInt(C.getSidebarVisibility());1===t?C.showSidebar(0):C.showSidebar(1)})},C.updateShowedInformation=function(){var n=e.editorMode();t.select("#generalDetails").classed("hidden",n),t.select("#generalDetailsEdit").classed("hidden",!n),e.options().editSidebar().updateGeneralOntologyInfo(),e.options().sidebar().updateGeneralOntologyInfo()},C.updateGeneralOntologyInfo=function(){var n=e.options().getGeneralMetaObject(),o=e&&e.language?e.language():null;n.hasOwnProperty("title")&&("object"==typeof n.title?t.select("#title").node().value=L.textInLanguage(n.title,o):t.select("#title").node().innerHTML=n.title),n.hasOwnProperty("iri")&&(t.select("#about").node().innerHTML=n.iri),n.hasOwnProperty("iri")&&(t.select("#about").node().href=n.iri),n.hasOwnProperty("version")&&(t.select("#version").node().innerHTML=n.version),n.hasOwnProperty("author")&&(t.select("#authors").node().innerHTML=n.author),n.hasOwnProperty("description")&&("object"==typeof n.description?t.select("#description").node().innerHTML=L.textInLanguage(n.description,o):t.select("#description").node().innerHTML=n.description)},C}}).call(t,n(6))},339:function(e,t,n){(function(t){e.exports=function(e){function n(e){for(var t=0;t"),e.updateCanvasContainerSize(),void e.options().navigationMenu().updateScrollButtonVisibility()):(t.select("#leftSideBarCollapseButton").classed("hidden",!0),1===n&&(u=!0,i.node().innerHTML="<",g.style("-webkit-animation-name","l_sbExpandAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_ExpandLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s")),void(0===n&&(u=!1,h.classed("hidden",!0),i.node().innerHTML=">",g.style("-webkit-animation-name","l_sbCollapseAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_CollapseLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("left","0"))))},c.getSidebarVisibility=function(){var e=h.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},c}}).call(t,n(6))},340:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=t.select("#typeEditor_datatype").node(),n=["undefined","xsd:boolean","xsd:double","xsd:integer","xsd:string"],o=0;o0){var s=e.options().prefixList()[a];if(void 0===s)return console.log("ERROR __________________"),e.options().warningModule().showWarning("Invalid Element IRI","Could not resolve prefix '"+s+"'","Restoring previous IRI for Element"+n.iri(),1,!1),void(t.select("#element_iriEditor").node().value=n.iri());if(0===l.length)return e.options().warningModule().showWarning("Invalid Element IRI","Input IRI is EMPTY","Restoring previous IRI for Element"+n.iri(),1,!1),console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());o=s+l}else o=i+l}else{if(0===o.length)return console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());console.log("Tryig to use the input!"),o=i+o}}return o}function f(n){var o,i=u(n),r=e.options().getGeneralMetaObjectProperty("iri");if(F.isNode(n)){if(o=e.checkIfIriClassAlreadyExist(i),o!==!1)return e.options().warningModule().showWarning("Already seen this class","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),2,!1,o),void O.updateSelectionInformation(n);n.iri(i)}return F.isProperty(n)===!0&&(o=O.checkProperIriChange(n,i),o!==!1)?(e.options().warningModule().showWarning("Already seen this property","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),1,!1,o),void O.updateSelectionInformation(n)):(n.iri(i),c(r,i)===!0?(b(n,"external"),n.backgroundColor("#36C"),n.redrawElement(),n.redrawLabelText()):(x(n,"external"),n.backgroundColor(void 0),n.redrawElement(),n.redrawLabelText()),n.focused()&&(e.options().focuserModule().handle(n,!0),e.options().focuserModule().handle(n,!0)),t.select("#element_iriEditor").node().value=I.getPrefixRepresentationForFullURI(i),void O.updateSelectionInformation(n))}function h(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function g(e){e.label(t.select("#element_labelEditor").node().value),e.redrawLabelText()}function v(e){M=e;var n,o=t.select("#property_characteristics_Selection"),i=o.node().children;if(i)for(var r=i.length,a=0;a-1){var l=o.append("span");l.classed("spanForCharSelection",!0),l.node().innerHTML="external"}var s,d;if(F.isNode(e)===!0){var c=["deprecated"];for(n=0;n=0}function y(){var e=this.checked,t=this.getAttribute("characteristics");e===!0?b(M,t):x(M,t),M.redrawElement(),M.focused(!1),M.toggleFocus()}function b(e,t){if(e.attributes().indexOf(t)===-1){var n=e.attributes();n.push(t),e.attributes(n)}if(e.indications().indexOf(t)===-1){var o=e.indications();o.push(t),e.indications(o)}var i;if(e.visualAttributes().indexOf(t)===-1&&(i=e.visualAttributes(),i.push(t),e.visualAttributes(i)),m(e,"external")&&m(e,"deprecated")){i=e.visualAttributes();var r=i.indexOf("external");r>-1&&i.splice(r,1),e.visualAttributes(i)}}function x(e,t){var n=e.attributes(),o=e.indications(),i=e.visualAttributes(),r=n.indexOf(t);r>=0&&n.splice(r,1);var a=o.indexOf(t);a>-1&&o.splice(a,1);var l=i.indexOf(t);l>-1&&i.splice(l,1),e.attributes(n),e.indications(o),e.visualAttributes(i),"deprecated"===t&&("owl:Class"===e.type()&&e.styleClass("class"),"owl:DatatypeProperty"===e.type()&&e.styleClass("datatypeproperty"),"owl:ObjectProperty"===e.type()&&e.styleClass("objectproperty"),"owl:disjointWith"===e.type()&&e.styleClass("disjointwith"))}function w(e){return"owl:Thing"!==e.type()&&"rdfs:subClassOf"!==e.type()&&"rdfs:Literal"!==e.type()&&"rdfs:Datatype"!==e.type()&&"rdfs:disjointWith"!==e.type()}function k(t){F.isNode(t)&&e.changeNodeType(t)===!1&&(F.isDatatype(t)===!0,O.updateSelectionInformation(t)),F.isProperty(t)&&e.changePropertyType(t)===!1&&O.updateSelectionInformation(t)}function C(e){var t=[];return F.isProperty(e)?("owl:DatatypeProperty"===e.type()?t.push("owl:DatatypeProperty"):(t.push("owl:ObjectProperty"),e.domain()!==e.range()&&t.push("rdfs:subClassOf"),t.push("owl:disjointWith"),t.push("owl:allValuesFrom"),t.push("owl:someValuesFrom")),t):("rect"===e.renderType()?(t.push("rdfs:Literal"),t.push("rdfs:Datatype")):(t.push("owl:Class"),t.push("owl:Thing")),t)}function L(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");o.on("click",function(){var o=t.select(this);o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0)),O.updateElementWidth()})}var M,_,E,O={},S=webvowl.util.languageTools(),F=webvowl.util.elementTools(),I=webvowl.util.prefixTools(e),T=!1;return O.clearMetaObjectValue=function(){t.select("#titleEditor").node().value="",t.select("#iriEditor").node().value="",t.select("#versionEditor").node().value="",t.select("#authorsEditor").node().value="",t.select("#descriptionEditor").node().value=""},O.updatePrefixUi=function(){O.updateElementWidth();for(var e=t.select("#prefixURL_Container");e.node().firstChild;)e.node().removeChild(e.node().firstChild);a()},O.setup=function(){L(),a(),r(),n(),t.select("#titleEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value))}),t.select("#iriEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri"))}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri")))}),t.select("#versionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value))}),t.select("#authorsEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value))}),t.select("#descriptionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("description",t.select("#descriptionEditor").node().value)}),O.updateElementWidth()},O.updateEditDeleteButtonIds=function(e,n){t.select("#prefixInputFor_"+e).node().id="prefixInputFor_"+n,t.select("#prefixURLFor_"+e).node().id="prefixURLFor_"+n,t.select("#deleteButtonFor_"+e).node().id="deleteButtonFor_"+n,t.select("#editButtonFor_"+e).node().id="editButtonFor_"+n,t.select("#prefixContainerFor_"+e).node().id="prefixContainerFor_"+n},O.checkForExistingURL=function(t){var n,o=e.getUnfilteredData().properties;for(n=0;n0&&(e=-10);var o=parseInt(s.property("value")),i=o+e;i!==o&&(s.property("value",i),r(i),s.on("input")()),t.event.preventDefault()}})}function o(n,o,i,a,l){var s=t.select(i).append("div").classed("checkboxContainer",!0),d=s.append("input").classed("moduleCheckbox",!0).attr("id",n+"ConfigCheckbox").attr("type","checkbox").property("checked",a());d.on("click",function(t){var n=d.property("checked");a(n),t!==!0&&(1===l&&e.lazyRefresh(),2===l&&e.update(),3===l&&e.updateDraggerElements())}),r.push(d),s.append("label").attr("for",n+"ConfigCheckbox").text(o)}var i={},r=[];return i.setup=function(){var i=t.select("#m_modes");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),o("showZoomSlider","Zoom controls","#zoomSliderOption",e.options().zoomSlider().showSlider,0),n("#maxLabelWidthSliderOption","maxLabelWidth","Max label width",e.options().maxLabelWidth)},i.setCheckBoxValue=function(e,t){for(var n=0;nTrying to convert with other communication protocol."),e(t)}function i(e){f.append_message_toLastBulletPoint("
    Trying to convert with other communication protocol.");var t=e[0],n=e[1],o=new FormData;o.append("ontology",t);var i=new XMLHttpRequest;i.open("POST","convert",!0);var r="";i.onload=function(){200===i.status&&(r=i.responseText,f.setCachedOntology(n,r),h=n,L=!0,f.append_message_toLastBulletPoint("
    Success, but you are using a deprecated OWL2VOWL service!"),s(r))},i.onreadystatechange=function(){4===i.readyState&&0===i.status&&(f.append_message_toLastBulletPoint("
    Old protocol also failed to establish connection to OWL2VOWL service!"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage())},i.send(o)}function r(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){O.setBusyMode(),t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage()):(u=o.responseText,f.setConversionID(u),n[0]=n[0]+"&sessionId="+u,n.push(u),e(n))})}function a(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),i(n)):(u=o.responseText,f.setConversionID(u),console.log("Request Session ID:"+u),e(n[0],n[1],u))})}function l(n){var o;n.indexOf("new_ontology")!==-1&&(O.hideLoadingIndicator(),e.showEditorHintIfNeeded(),o="./data/new_ontology.json"),C=!1;var i="";if(f.cachedOntology(n))f.append_bulletPoint("Loading already cached ontology: "+n),i=f.cachedOntology(n),C=!0,O.showLoadingIndicator(),s(i);else{var r="./data/"+n+".json";o&&(r=o),t.xhr(r,"application/json",function(t,o){var r=!t;r?(i=o.responseText,s(i)):(f.append_bulletPoint("Failed to load: "+n),f.append_message_toLastBulletPoint(" ERROR STATUS: "+t.status),e.handleOnLoadingError(),O.setErrorMode())})}}function s(e){f.append_bulletPoint("Reading ontology graph ... ");var t=f.getLoadingFunction();t(e,h,"noAlternativeNameYet")}function d(e){var t=(e.match(/#/g)||[]).length,n=[];if(t>0)for(var o=e.split("#"),i=1;i=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else h=e[0],n()}function r(e){if(e[0].indexOf(a)>=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else n();h=e[1]}var a="opts=";switch(t.length){case 0:n();break;case 1:i(t);break;case 2:r(t);break;default:console.log("To many input parameters , loading default config"),n(),h="ERROR_TO_MANY_INPUT_PARAMETERS"}}function p(e){var t="iri=",n="url=",o="file=",i=-1;return i=e.substr(0,o.length)===o?v:e.substr(0,n.length)===n?m:e.substr(0,t.length)===t?y:g}var u,f,h,g=0,v=1,m=2,y=3,b=0,x=1,w=2,k=1,C=!1,L=!1,M=!1,_=!0,E="ontology",O={},S=t.select("#loading-info"),F=t.select("#loadingInfo-container"),I=t.select("#show-loadingInfo-button"),T=t.select("#loadingIndicator_closeButton");return O.checkForScreenSize=function(){var n=e.options().width(),o=e.options().height();n<270?t.select("#loading-info").classed("hidden",!0):_===!0?t.select("#loading-info").classed("hidden",!1):t.select("#loading-info").classed("hidden",!0),o<150?t.select("#loadingInfo_msgBox").classed("hidden",!0):t.select("#loadingInfo_msgBox").classed("hidden",!1),o<80?(t.select("#progressBarContext").classed("hidden",!0),t.select("#layoutLoadingProgressBarContainer").style("height","20px")):(t.select("#progressBarContext").classed("hidden",!1),t.select("#layoutLoadingProgressBarContainer").style("height","50px"))},O.getProgressBarMode=function(){return k},O.successfullyLoadedOntology=function(){return C},O.missingImportsWarning=function(){return L},O.setOntologyMenu=function(e){f=e},O.showErrorDetailsMessage=function(){O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!0),O.scrollDownDetails()},O.showWarningDetailsMessage=function(){t.select("#currentLoadingStep").style("color","#ff0"),O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!1),O.scrollDownDetails()},O.scrollDownDetails=function(){var e=t.select("#loadingInfo-container").node();e.scrollTop=e.scrollHeight},O.hideLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!0),_=!1},O.showLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!1),_=!0},O.setup=function(){F.classed("hidden",!M),I.on("click",function(){M=!M,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)}),T.on("click",function(){S.classed("hidden",!0)}),O.setBusyMode()},O.updateSize=function(){M=!F.classed("hidden"),F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.getDetailsState=function(){return M},O.expandDetails=function(){M=!0,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.collapseDetails=function(){M=!1,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.setBusyMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").style("width","20%"),t.select("#progressBarValue").classed("busyProgressBar",!0),k=x},O.setSuccessful=function(){t.select("#currentLoadingStep").style("color","#0f0")},O.setErrorMode=function(){t.select("#currentLoadingStep").style("color","#f00"),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="",k=b},O.setPercentMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="0%",t.select("#progressBarValue").style("width","0%"),k=w},O.setPercentValue=function(e){t.select("#progressBarValue").node().innherHTML=e},O.emptyGraphContentError=function(){e.clearGraphData(),f.append_message_toLastBulletPoint("failed"),f.append_message_toLastBulletPoint('
    Error: Received empty graph'),C=!1,e.handleOnLoadingError(),O.setErrorMode()},O.isThreadCanceled=function(){},O.initializeLoader=function(n){if(n===!0&&null!==e.getCachedJsonObj()){var o=JSON.stringify(e.getCachedJsonObj()),i=h;f.setCachedOntology(i,o)}u=-1e4,f.setConversionID(u),f.stopLoadingTimer(),e.clearGraphData(),O.setBusyMode(),O.showLoadingIndicator(),O.collapseDetails(),L=!1,t.select("#loadingIndicator_closeButton").classed("hidden",!0),f.clearDetailInformation()},O.parseUrlAndLoadOntology=function(n){var o=!0;n===!1&&(o=!1),e.clearAllGraphData(),O.initializeLoader(o);var i=String(location),r=d(i);h=E,c(r);var a=p(h);switch(t.select("#progressBarValue").node().innerHTML=" ",a){case 0:O.from_presetOntology(h);break;case 1:O.from_FileUpload(h);break;case 2:O.from_JSON_URL(h);break;case 3:O.from_IRI_URL(h);break;default:console.log("Could not identify loading method , or not IMPLEMENTED YET")}},O.from_JSON_URL=function(e){var t=decodeURIComponent(e.slice("url=".length));h=t;var o="";f.cachedOntology(t)?(f.append_bulletPoint("Loading already cached ontology: "+t),o=f.cachedOntology(t),C=!0,s(o)):(f.append_message("Retrieving ontology from JSON URL "+t),n(f.callbackLoad_JSON_FromURL,["read?json="+t,t]))},O.requestServerTimeStampForDirectInput=function(e,n){t.xhr("serverTimeStamp","application/text",function(o,i){o?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage(),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").text("0%")):(u=i.responseText,f.setConversionID(u),e(n,["conversionID"+u,u]))})},O.from_IRI_URL=function(e){var t=decodeURIComponent(e.slice("iri=".length));h=t;var n="";if(f.cachedOntology(t))f.append_bulletPoint("Loading already cached ontology: "+t),n=f.cachedOntology(t),C=!0,s(n);else{var o=encodeURIComponent(t);f.append_bulletPoint("Retrieving ontology from IRI: "+t),r(f.callbackLoad_Ontology_FromIRI,["convert?iri="+o,t])}},O.from_FileUpload=function(n){O.setBusyMode();var o=decodeURIComponent(n.slice("file=".length));h=o;var i="";if(f.cachedOntology(o))f.append_bulletPoint("Loading already cached ontology: "+o),i=f.cachedOntology(o),C=!0,s(i);else{f.append_bulletPoint("Retrieving ontology from file: "+o);var r=t.select("#file-converter-input").property("files")[0];if(!r||o&&o!==r.name)return f.append_message_toLastBulletPoint('
    No cached version of "'+o+'" was found.
    Please reupload the file.'),O.setErrorMode(),t.select("#progressBarValue").classed("busyProgressBar",!1),void e.handleOnLoadingError();if(o=r.name,o.match(/\.json$/)){f.setConversionID(-1e4);var l=new FileReader;l.readAsText(r),l.onload=function(){i=l.result,h=o,s(i)}}else{var d=[r,o];a(f.callbackLoadFromOntology,d)}}},O.directInput=function(e){f.clearDetailInformation(),s(e)},O.loadFromOWL2VOWL=function(e,n){C=!1;var o=t.select("#bulletPoint_container").node().innerHTML;o.indexOf("(with warnings)")!==-1&&(L=!0),f.cachedOntology(e)?(f.append_bulletPoint("Loading already cached ontology: "+n),s(e)):s(e)},O.from_presetOntology=function(e){f.append_bulletPoint("Retrieving ontology: "+e),l(e)},O.notValidJsonFile=function(){e.clearGraphData(),f.append_message_toLastBulletPoint(" failed"),f.append_message_toLastBulletPoint("
    Error: Received empty graph"),C=!1,e.handleOnLoadingError()},O.validJsonFile=function(){f.append_message_toLastBulletPoint("done"),C=!0},O}}).call(t,n(6))},343:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=document.styleSheets[1].cssRules,t=0;tYou can now modify an existing ontology or create a new one via the ontology menu.
    You can save any ontology using the export menu (and exporting it as TTL file).",o.style("padding","5px"),o.style("line-height","1.2em"),o.style("font-size","1.2em");var a=t.append("ul");a.append("li").node().innerHTML="Create a class with double click / tap on empty canvas area.",a.append("li").node().innerHTML="Edit names with double click / tap on element.",a.append("li").node().innerHTML="Selection of default constructors is provided in the left sidebar.",a.append("li").node().innerHTML="Additional editing functionality is provided in the right sidebar.";var d=t.append("label");d.node().id="killWarningErrorMessages_"+e,d.node().innerHTML="Got It",d.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showMessage=function(e){var t=l[e];t.classed("hidden",!1),t.style("-webkit-animation-name","warn_ExpandAnimation"),t.style("-webkit-animation-duration","0.5s")},r.closeMessage=function(e){var n;if(void 0===e){var o=this.id;n=o.split("_")[1]}else n=e;e&&e.indexOf("_")!==-1&&(n=e.split("_")[1]),d[n]=!1;var i=l[n];i.style("-webkit-animation-name","warn_CollapseAnimation"),i.style("-webkit-animation-duration","0.5s");for(var r=i.node().getBoundingClientRect().height,a=i.node().parentNode,s=[],c=a.children,u=c.length,f=i.node().id,h=!1,g=0;g0){var v=f.append("div");v.style("padding","5px");var m=v.append("div");m.style("display","inline-flex"),m.node().innerHTML="Warning:",m.style("padding-right","3px");var y=v.append("div");y.style("display","inline-flex"),y.style("max-width",g+"px"),y.node().innerHTML=n}if(o.length>0){var b=f.append("div");b.style("padding","5px");var x=b.append("div");x.style("display","inline-flex"),x.style("padding-right","3px"),x.node().innerHTML="Reason:";var w=b.append("div");w.style("display","inline-flex"),w.style("max-width",g+"px"),w.node().innerHTML=o}if(i.length>0){var k=f.append("div");k.style("padding","5px");var C=k.append("div");C.style("display","inline-flex"),C.style("padding-right","8px"),C.node().innerHTML="Action:";var L=k.append("div");L.style("display","inline-flex"),L.style("max-width",g+"px"),L.node().innerHTML=i}var M=f.append("label");M.node().id="killWarningErrorMessages_"+u,M.node().innerHTML="Continue",M.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0),a(c[0],c[1],c[2],c[3])}),f.append("span").node().innerHTML="|";var _=f.append("label");_.node().id="cancelButton_"+u,_.node().innerHTML="Cancel",_.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0)}),h.classed("hidden",!1),h.style("-webkit-animation-name","warn_ExpandAnimation"),h.style("-webkit-animation-duration","0.5s")},r.showFilterHint=function(){var e=r.addMessageBox(),t=s[e],n=l[e];d[e]=!0,o=e;var i=t.append("div");i.node().innerHTML="Collapsing filter activated.
    The number of visualized elements has been automatically reduced.
    Use the degree of collapsing slider in the filter menu to adjust the visualization.

    Note: A performance decrease could be experienced with a growing amount of visual elements in the graph.",i.style("padding","5px"),i.style("line-height","1.2em"),i.style("font-size","1.2em");var a=t.append("label");a.node().id="killFilterMessages_"+e,a.node().innerHTML="Got It",a.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showWarning=function(t,n,o,i,a,c){var p=r.addMessageBox(),u=s[p],f=l[p];d[p]=!0;var h=.5*e.options().width();if(t.length>0){var g=u.append("div");g.style("padding","5px");var v=g.append("div");v.style("display","inline-flex"),v.node().innerHTML="Warning:",v.style("padding-right","3px");var m=g.append("div");m.style("display","inline-flex"),m.style("max-width",h+"px"),m.node().innerHTML=t}if(n.length>0){var y=u.append("div");y.style("padding","5px");var b=y.append("div");b.style("display","inline-flex"),b.style("padding-right","3px"),b.node().innerHTML="Reason:";var x=y.append("div");x.style("display","inline-flex"),x.style("max-width",h+"px"),x.node().innerHTML=n}if(o.length>0){var w=u.append("div");w.style("padding","5px");var k=w.append("div");k.style("display","inline-flex"),k.style("padding-right","8px"),k.node().innerHTML="Action:";var C=w.append("div");C.style("display","inline-flex"),C.style("max-width",h+"px"),C.node().innerHTML=o}var L;if(1===i&&(L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage)),2===i){L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage),u.append("span").node().innerHTML="|";var M=u.append("label");M.node().id="zoomElementThing_"+p,M.node().innerHTML="Zoom to element ",M.on("click",function(){e.zoomToElementInGraph(c)}),u.append("span").node().innerHTML="|";var _=u.append("label");_.node().id="showElementThing_"+p,_.node().innerHTML="Indicate element",_.on("click",function(){c.halo()===!1?(c.drawHalo(),e.updatePulseIds([c.id()])):(c.removeHalo(),c.drawHalo(),e.updatePulseIds([c.id()]))})}f.classed("hidden",!1),f.style("-webkit-animation-name","warn_ExpandAnimation"),f.style("-webkit-animation-duration","0.5s"),f.classed("hidden",!1)},r}}).call(t,n(6))},344:function(e,t,n){(function(t){e.exports=function(e){var n={},o=t.select("#DirectInputContent");o.style("top","0"),o.style("position","absolute");var i=t.select("#directInputTextArea"),r=!1;return o.style("border","1px solid black"),o.style("padding","5px"),o.style("background","#fff"),n.handleDirectUpload=function(){var o,r=i.node().value;try{o=JSON.parse(r),e.options().loadingModule().directInput(r),o.class.length>0&&n.setDirectInputMode(!1)}catch(n){try{e.options().loadingModule().initializeLoader(),e.options().loadingModule().requestServerTimeStampForDirectInput(e.options().ontologyMenu().callbackLoad_Ontology_From_DirectInput,r)}catch(e){console.log("Error "+e),t.select("#Error_onLoad").classed("hidden",!1),t.select("#Error_onLoad").node().innerHTML="Failed to convert the input!"}}},n.handleCloseButton=function(){n.setDirectInputMode(!1)},n.updateLayout=function(){var t=e.options().width(),n=e.options().height();i.style("width",.4*t+"px"),i.style("height",.7*n+"px")},n.setDirectInputMode=function(e){r=e?e:!r,n.updateLayout(),t.select("#Error_onLoad").classed("hidden",!0),o.classed("hidden",!r)},t.select("#directUploadBtn").on("click",n.handleDirectUpload),t.select("#close_directUploadBtn").on("click",n.handleCloseButton),n}}).call(t,n(6))}}); diff --git a/dist/vocabulary/implementation/0.1.0/webvowl/js/webvowl.js b/dist/vocabulary/implementation/0.1.0/webvowl/js/webvowl.js new file mode 100644 index 0000000..fe3a381 --- /dev/null +++ b/dist/vocabulary/implementation/0.1.0/webvowl/js/webvowl.js @@ -0,0 +1,7 @@ +webvowl=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){function r(e,t){var n=t.key.replace(":","").toLowerCase();e[n]=t.value}n(1);var o=n(5)(),a=n(40)(),i={};i.graph=n(57),i.options=n(64),i.version="1.1.4",i.util={},i.util.constants=n(12),i.util.languageTools=n(11),i.util.elementTools=n(63),i.util.prefixTools=n(72),i.modules={},i.modules.colorExternalsSwitch=n(73),i.modules.compactNotationSwitch=n(74),i.modules.datatypeFilter=n(75),i.modules.disjointFilter=n(77),i.modules.focuser=n(78),i.modules.emptyLiteralFilter=n(79),i.modules.nodeDegreeFilter=n(80),i.modules.nodeScalingSwitch=n(81),i.modules.objectPropertyFilter=n(82),i.modules.pickAndPin=n(83),i.modules.selectionDetailsDisplayer=n(315),i.modules.setOperatorFilter=n(316),i.modules.statistics=n(317),i.modules.subclassFilter=n(318),i.nodes={},o.entries().forEach(function(e){r(i.nodes,e)}),i.properties={},a.entries().forEach(function(e){r(i.properties,e)}),e.exports=i},function(e,t){},,,,function(e,t,n){(function(t){var r=[];r.push(n(7)),r.push(n(18)),r.push(n(19)),r.push(n(26)),r.push(n(27)),r.push(n(28)),r.push(n(29)),r.push(n(30)),r.push(n(31)),r.push(n(32)),r.push(n(33)),r.push(n(34)),r.push(n(38)),r.push(n(39));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t){e.exports=d3},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["external"]).type("ExternalClass")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(9),o=n(14),a=n(17)();e.exports=function(){var e=function(e){function t(){var t=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(t=void 0);var n=new o(u.nodeElement(),t),r=u.equivalentsString(),a=r?",":"";return n.addText(u.labelForCurrentLanguage(),"",a),n.addEquivalents(r),e.options().compactNotation()||n.addSubText(u.indicationString()),n.addInstanceCount(u.individuals().length),n}r.apply(this,arguments);var n,i,s,l,u=this,c=!1,d=50,p=null,f=!1;this.setRectangularRepresentation=function(e){f=e},this.getRectangularRepresentation=function(){return f},this.getHalos=function(){return p},this.collapsible=function(e){return arguments.length?(c=e,this):c},this.textBlock=function(e){return arguments.length?(l=e,this):l},this.radius=function(e){return arguments.length?(d=e,this):d},this.setHoverHighlighting=function(e){u.nodeElement().selectAll("circle").classed("hovered",e)},this.textWidth=function(e){var t=2*this.actualRadius();if(e){var n=Math.abs(e)/this.actualRadius(),r=n<=1;t=r?Math.cos(n)*t:0}return t},this.toggleFocus=function(){u.focused(!u.focused()),u.nodeElement()&&u.nodeElement().select("circle").classed("focused",u.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.actualRadius=function(){if(!e.options().scaleNodesByIndividuals()||u.individuals().length<=0)return u.radius();var t=8,n=Math.log(u.individuals().length+1)*t+5;return u.radius()+n},this.distanceToBorder=function(){return u.actualRadius()},this.removeHalo=function(){u.halo()&&(u.halo(!1),p&&p.remove())},this.drawHalo=function(e){if(u.halo(!0),p=f===!0?a.drawRectHalo(u.nodeElement(),80,80,5):a.drawHalo(u.nodeElement(),u.actualRadius(),this.removeHalo),e===!1){var t=p.selectAll(".searchResultA");t.classed("searchResultA",!1),t.classed("searchResultB",!0),t.attr("animationRunning",!1)}},this.drawPin=function(){u.pinned(!0);var t=-.7*u.actualRadius(),n=-.7*u.actualRadius();i=a.drawPin(u.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){u.pinned(!1),i&&i.remove(),e.updateStyle()},this.drawCollapsingButton=function(){n=u.nodeElement().append("g").classed("hidden-in-export",!0).attr("transform",function(){var e=-.4*u.actualRadius(),t=.5*u.actualRadius();return"translate("+e+","+t+")"}),n.append("rect").classed("class pin feature",!0).attr("x",0).attr("y",0).attr("width",40).attr("height",24),n.append("line").attr("x1",13).attr("y1",12).attr("x2",27).attr("y2",12),n.append("line").attr("x1",20).attr("y1",6).attr("x2",20).attr("y2",18)},this.draw=function(e,t){var n=u.collectCssClasses();u.nodeElement(e);var r=u.backgroundColor();null===r&&(r=void 0),u.attributes().indexOf("deprecated")>-1&&(r=void 0),t instanceof Array&&(n=n.concat(t)),s=f===!0?a.appendRectangularClass(e,80,80,n,u.labelForCurrentLanguage(),r):a.appendCircularClass(e,u.actualRadius(),n,u.labelForCurrentLanguage(),r),u.postDrawActions(e)},this.redrawElement=function(){s.remove(),l.remove();var e=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(e=void 0);var t=u.collectCssClasses();s=f===!0?a.appendRectangularClass(u.nodeElement(),80,80,t,u.labelForCurrentLanguage(),e):a.appendCircularClass(u.nodeElement(),u.actualRadius(),t,u.labelForCurrentLanguage(),e),u.postDrawActions(u.nodeElement())},this.postDrawActions=function(){u.textBlock(t()),u.addMouseListeners(),u.pinned()&&u.drawPin(),u.halo()&&u.drawHalo(!1),u.collapsible()&&u.drawCollapsingButton()},this.redrawLabelText=function(){u.textBlock().remove(),u.textBlock(t()),s.select("title").text(u.labelForCurrentLanguage())},this.equivalentsString=function(){var e=u.equivalents();if(e)return e.map(function(e){return e.labelForCurrentLanguage()}).join(", ")}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(13)();e.exports=function(){var e=function(e){function n(){if(!g.mouseEntered()&&b!==!0){var t=g.nodeElement().node(),n=t.parentNode;g.animationProcess()===!1&&n.appendChild(t),e.isTouchDevice()===!1?(g.setHoverHighlighting(!0),g.mouseEntered(!0),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g)):e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g,!0)}}function a(){g.setHoverHighlighting(!1),g.mouseEntered(!1),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!1)}r.apply(this,arguments);var i,s,l,u,c,d,p,f,h,v,g=this,y=[],m="round",b=!1,x=[];g.editingTextElement=!1,this.isPropertyAssignedToThisElement=function(e){if(console.log("Element IRI :"+e.iri()),"rdfs:subClassOf"===e.type())for(var t=0;t0?this.LINE_DISTANCE:0;e.attr("dy",n+o+"px")},r.prototype.getTextBox=function(){return this._textBlock()},r.prototype._repositionTextBlock=function(){var e=this._lineCount();if(e<1)return void this._textBlock().attr("y",0);var t=this._textBlock().node().getBBox().height;this._textBlock().attr("y",.5*-t+"px")},r.prototype._lineCount=function(){return this._textBlock().property("childElementCount")}},function(e,t,n){(function(t){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}var r=4,o={};o.truncate=function(e,t,o,a){if(t-=isNaN(a)?r:a,isNaN(t)||t<=0)return e;for(var i,s,l,u=e;;){if(s=n(u,o),s<=t)break;if(l=s/t,i=Math.floor(u.length/l),u.length===i)break;u=u.substring(0,i)}return e.length>u.length?e.substring(0,u.length-3)+"...":e},e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){(function(t){function n(e,t){var n=e.append("text").classed("text",!0).style("fill",this._getTextColor(t)).attr("text-anchor","middle");this._textBlock=function(){return n}}function r(e){return.3*(e.r/255)+.59*(e.g/255)+.11*(e.b/255)}e.exports=n,n.prototype.LINE_DISTANCE=1,n.prototype.CSS_CLASSES={default:"text",subtext:"subtext",instanceCount:"instance-count"},n.prototype.DARK_TEXT_COLOR="#000",n.prototype.LIGHT_TEXT_COLOR="#fff",n.prototype.translation=function(e,t){return this._textBlock().attr("transform","translate("+e+", "+t+")"),this},n.prototype.remove=function(){return this._textBlock().remove(),this},n.prototype._applyPreAndPostFix=function(e,t,n){return t&&(e=t+e),n&&(e+=n),e},n.prototype._getTextColor=function(e){if(!e)return n.prototype.DARK_TEXT_COLOR;var o=t.rgb(e);return r(o)>.5?n.prototype.DARK_TEXT_COLOR:n.prototype.LIGHT_TEXT_COLOR}}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e,t){t instanceof Array&&t.forEach(function(t){e.classed(t,!0)})}function n(e,t){t&&e.append("title").text(t)}function r(e,t){t&&e.style("fill",t)}var o={};return o.appendCircularClass=function(t,o,a,i,s){var l=t.append("circle").classed("class",!0).attr("r",o);return e(l,a),n(l,i),r(l,s),l},o.appendRectangularClass=function(t,o,a,i,s,l){var u=t.append("rect").classed("class",!0).attr("x",-o/2).attr("y",-a/2).attr("width",o).attr("height",a);return e(u,i),n(u,s),r(u,l),u},o.drawPin=function(e,n,r,o,a,i){var s=e.append("g").classed("hidden-in-export",!0).attr("transform","translate("+n+","+r+")"),l=s.append("circle").classed("class pin feature",!0).attr("r",12).on("click",function(){o&&o(),t.event.stopPropagation()});return s.append("line").attr("x1",0).attr("x2",0).attr("y1",12).attr("y2",16),i===!0&&s.append("circle").attr("r",15).attr("cx",-7).attr("cy",-7).classed("superHiddenElement ",!0).classed("superOpacityElement",!a()).on("click",function(){o&&o(),t.event.stopPropagation()}).on("mouseover",function(){l.classed("feature_hover",!0)}).on("mouseout",function(){l.classed("feature_hover",!1)}),s},o.drawRectHalo=function(e,t,n,r){var o;if(o=e.nodeElement?e.nodeElement():e.labelElement()){var a=o.append("g").classed("hidden-in-export",!0);return a.append("rect").classed("searchResultA",!0).attr("x",(-t-r)/2).attr("y",(-r-n)/2).attr("width",t+r).attr("height",n+r),a.attr("animationRunning",!0),a.node().addEventListener("webkitAnimationEnd",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a.node().addEventListener("animationend",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a}},o.drawHalo=function(e,t){if(void 0===e)return null;var n=e.append("g").classed("hidden-in-export",!0);return n.append("circle",":first-child").classed("searchResultA",!0).attr("r",t+15),n.attr("animationRunning",!0),n.node().addEventListener("webkitAnimationEnd",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n.node().addEventListener("animationend",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n},function(){return o}}()}).call(t,n(6))},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.type("owl:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("complementof").type("owl:complementOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0);r.append("circle").attr("class","symbol").classed("fineline",!0).attr("r",10),r.append("path").attr("class","nofill").attr("d","m -7,-1.5 12,0 0,6").attr("transform","scale(.5)"),r.attr("transform","translate(-"+(t.radius()-15)/100+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(21),o=n(22),a=n(8),i=n(17)();e.exports=function(){var e=function(e){a.apply(this,arguments);var t=this,n=t.setHoverHighlighting,s=t.postDrawActions;this.setHoverHighlighting=function(e){n(e),t.links().filter(function(e){return e instanceof o}).filter(function(e){return e.domain().equals(t)}).forEach(function(t){t.property().setHighlighting(e)})},this.draw=function(e){t.nodeElement(e),i.appendCircularClass(e,t.actualRadius(),t.collectCssClasses().join(" "),t.labelForCurrentLanguage(),t.backgroundColor())},this.postDrawActions=function(){s(),t.textBlock().remove();var n=new r(t.nodeElement(),t.backgroundColor()),o=t.equivalentsString(),a=o?-30:-17,i=o?",":"";n.addText(t.labelForCurrentLanguage(),a,"",i),n.addEquivalents(o,-17),e.options().compactNotation()?n.addInstanceCount(t.individuals().length,17):t.indicationString().length>0?(n.addSubText(t.indicationString(),17),n.addInstanceCount(t.individuals().length,30)):n.addInstanceCount(t.individuals().length,17),t.textBlock(n)}};return e.prototype=Object.create(a.prototype),e.prototype.constructor=e,e}()},function(e,t,n){function r(e,t){a.apply(this,arguments)}var o=n(15)(),a=n(16);e.exports=r,r.prototype=Object.create(a.prototype),r.prototype.constructor=r,r.prototype.addText=function(e,t,n,r){e&&this.addTextline(e,this.CSS_CLASSES.default,t,n,r)},r.prototype.addSubText=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.subtext,t,"(",")")},r.prototype.addEquivalents=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.default,t)},r.prototype.addInstanceCount=function(e,t){e&&this.addTextline(e.toString(),this.CSS_CLASSES.instanceCount,t)},r.prototype.addTextline=function(e,t,n,r,a){var i=o.truncate(e,this._textBlock().datum().textWidth(n),t),s=this._textBlock().append("tspan").classed(this.CSS_CLASSES.default,!0).classed(t,!0).text(this._applyPreAndPostFix(i,r,a)).attr("x",0);this._repositionTextLine(s,n)},r.prototype._repositionTextLine=function(e,t){var n=window.getComputedStyle(e.node()).getPropertyValue("font-size"),r=parseFloat(n),o=1/3*r;e.attr("y",o+(t||0)+"px")}},function(e,t,n){function r(e,t,n){s.apply(this,arguments)}function o(e,t){var n=i(e,t);n.attr("refX",-8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function a(e,t){var n=i(e,t);n.attr("refX",8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function i(e,t){return e.append("marker").datum(t).attr("id",t.markerId()).attr("viewBox","-10 -10 20 20").attr("markerWidth",20).attr("markerHeight",20).attr("markerUnits","userSpaceOnUse").attr("orient","auto")}var s=n(23);e.exports=r,r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.draw=function(e,t){var n=this.label().property(),r=this.label().inverse();o(t,n),r&&a(t,r),s.prototype.draw.apply(this,arguments),e.attr("marker-start","url(#"+n.markerId()+")"),r&&e.attr("marker-end","url(#"+r.markerId()+")")}},function(e,t,n){function r(e,t,r){var a,i,s,l,u,c=new o(r,this),d=n(25)(e,c,this),p=n(25)(c,t,this);this.layers=function(e){return arguments.length?(a=e,this):a},this.layerIndex=function(e){return arguments.length?(i=e,this):i},this.loops=function(e){return arguments.length?(s=e,this):s},this.loopIndex=function(e){return arguments.length?(l=e,this):l},this.domain=function(){return e},this.label=function(){return c},this.linkParts=function(){return[p,d]},this.range=function(){return t},this.pathObj=function(e){return arguments.length?void(u=e):u}}var o=n(24);e.exports=r,r.prototype.draw=function(e){var t=this.label().property(),n=this.label().inverse();t.linkGroup(e),n&&n.linkGroup(e);var r=e.append("path");r.classed("link-path",!0).classed(this.domain().cssClassOfNode(),!0).classed(this.range().cssClassOfNode(),!0).classed(t.linkType(),!0),this.pathObj(r)},r.prototype.inverse=function(){return this.label().inverse()},r.prototype.isLoop=function(){return this.domain().equals(this.range())},r.prototype.property=function(){return this.label().property()}},function(e,t){function n(e,t){this.link=function(){return t},this.property=function(){return e},Object.defineProperty(this,"fixed",{get:function(){var t=!!e.inverse()&&e.inverse().fixed;return e.fixed||t},set:function(t){e.fixed=t,e.inverse()&&(e.inverse().fixed=t)}}),this.frozen=e.frozen,this.locked=e.locked,this.pinned=e.pinned}e.exports=n,n.prototype.actualRadius=function(){return this.property().actualRadius()},n.prototype.draw=function(e){return this.property().draw(e)},n.prototype.inverse=function(){return this.property().inverse()},n.prototype.equals=function(e){if(!e)return!1;var t=e instanceof n,r=this.property().equals(e.property()),o=!1;return this.inverse()?o=this.inverse().equals(e.inverse()):e.inverse()||(o=!0),t&&r&&o}},function(e,t){e.exports=function(e,t,n){var r={},o=e,a=n,i=t;return Object.defineProperties(r,{source:{value:o,writable:!0},target:{value:i,writable:!0}}),r.domain=function(){return o},r.link=function(){return a},r.range=function(){return i},r}},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).type("owl:DeprecatedClass").styleClass("deprecated").indications(["deprecated"])};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("disjointunionof").type("owl:disjointUnionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("text").attr("class","link").text("1").attr("transform","scale(.7)translate(3,5)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8),o=n(17)();e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n=4,a=this,i=a.actualRadius;this.styleClass("equivalentclass").type("owl:equivalentClass"),this.actualRadius=function(){return i()+n},this.redrawElement=function(){t.remove(),a.textBlock().remove();var e=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(e=void 0);var r=a.collectCssClasses();t=a.nodeElement().append("g"),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),e)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),console.log(r),console.log(a.attributes()),console.log("what is bgColor"+e),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),e)),a.postDrawActions(a.nodeElement())},this.draw=function(e){var r=a.collectCssClasses();a.nodeElement(e),t=e.append("g");var i=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(i=void 0),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),i)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),i)),a.postDrawActions()},a.setHoverHighlighting=function(e){a.nodeElement().selectAll("circle:last-of-type").classed("hovered",e)}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){function t(){var e=18,t=5,n=-(e/2),r=7,o=5,a=e-o,i="M"+t+","+n,s="c"+r+","+o+" "+r+","+a+" 0,"+e,l="c"+-r+","+-o+" "+-r+","+-a+" 0,"+-e;return i+s+l}r.apply(this,arguments);var n=this,o=n.draw,a=t();this.styleClass("intersectionof").type("owl:intersectionOf"),this.draw=function(e){o(e);var t=e.append("g").classed("embedded",!0),r=10;t.append("path").attr("class","nostroke").classed("symbol",!0).attr("d",a),t.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("circle").attr("cx",10).attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("path").attr("class","nofill").attr("d","m 9,5 c 0,-2 0,-4 0,-6 0,0 0,0 0,0 0,0 0,-1.8 -1,-2.3 -0.7,-0.6 -1.7,-0.8 -2.9,-0.8 -1.2,0 -2,0 -3,0.8 -0.7,0.5 -1,1.4 -1,2.3 0,2 0,4 0,6").attr("transform","scale(.5)translate(5,0)"),t.attr("transform","translate(-"+(n.radius()-15)/7+",-"+(n.radius()-15)/100+")"),n.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(31);e.exports=function(){var e=function(e){r.apply(this,arguments),this.label("Nothing").type("owl:Nothing").iri("http://www.w3.org/2002/07/owl#Nothing")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.label("Thing").type("owl:Thing").iri("http://www.w3.org/2002/07/owl#Thing").radius(30),this.draw=function(e){t(e,["white","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("unionof").type("owl:unionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("path").attr("class","link").attr("d","m 1,-3 c 0,2 0,4 0,6 0,0 0,0 0,0 0,2 2,3 4,3 2,0 4,-1 4,-3 0,-2 0,-4 0,-6").attr("transform","scale(.5)translate(5,0)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).type("rdfs:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t="undefined";this.attributes(["datatype"]).type("rdfs:Datatype").styleClass("datatype"),this.dType=function(e){return arguments.length?void(t=e):t}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(36);e.exports=function(){var e=function(e){r.apply(this,arguments)};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(9),o=n(14),a=n(17)(),i=n(37)();e.exports=function(){var e=function(e){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth; +return r.remove(),o}r.apply(this,arguments);var s,l,u,c,d=this,p=20,f=60,h=80,v=80,g=80,y=p/2;d.renderType("rect"),this.height=function(e){return arguments.length?(p=e,this):p},this.width=function(e){return arguments.length?(f=e,this):f},this.getHalos=function(){return l},this.actualRadius=function(){return y},this.distanceToBorder=function(e,t){return i.distanceToBorder(d,e,t)},this.setHoverHighlighting=function(e){d.nodeElement().selectAll("rect").classed("hovered",e);var t=d.getHalos();if(t){var n=t.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0)}},this.textWidth=function(){return h},this.width=function(){return h},this.getMyWidth=function(){var e=d.labelForCurrentLanguage();v=n(e,"text")+20;var t=d.indicationString(),r=n(t,"subtext")+20;return r>v&&(v=r),v},this.textWidth=function(){return d.width()},this.toggleFocus=function(){d.focused(!d.focused()),d.nodeElement().select("rect").classed("focused",d.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.draw=function(t,n){var r=d.collectCssClasses();d.nodeElement(t),n instanceof Array&&(r=r.concat(n)),h=e.options().dynamicLabelWidth()===!0?Math.min(d.getMyWidth(),e.options().maxLabelWidth()):g,f=h,u=a.appendRectangularClass(t,d.width(),d.height(),r,d.labelForCurrentLanguage(),d.backgroundColor()),c=new o(t,d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.addMouseListeners(),d.pinned()&&d.drawPin(),d.halo()&&d.drawHalo(!1)},this.drawPin=function(){d.pinned(!0);var t=-.5*h+5,n=-1.1*p;s=a.drawPin(d.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){d.pinned(!1),s&&s.remove(),e.updateStyle()},this.removeHalo=function(){d.halo(!1),l&&(l.remove(),l=null)},this.drawHalo=function(e){d.halo(!0);var t=0;if(l=a.drawRectHalo(d,this.width(),this.height(),t),e===!1){var n=l.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0),n.attr("animationRunning",!1)}if(d.pinned()){var r=s.node(),o=r.parentNode;o.appendChild(r)}},this.updateTextElement=function(){c.updateAllTextElements()},this.textBlock=function(){return c},this.redrawLabelText=function(){c.remove(),c=new o(d.nodeElement(),d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),u.select("title").text(d.labelForCurrentLanguage())},this.animateDynamicLabelWidth=function(t){d.removeHalo();var n=d.height();if(t===!0?(h=Math.min(d.getMyWidth(),e.options().maxLabelWidth()),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n}).each("end",function(){d.updateTextElement()})):(h=g,d.updateTextElement(),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n})),d.pinned()===!0&&s){var r=.5*h-10,o=-1.1*n;s.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}},this.addTextLabelElement=function(){var e=d.nodeElement();c=new o(e,this.backgroundColor()),c.addText(d.labelForCurrentLanguage())}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()}).call(t,n(6))},function(e,t){var n={};e.exports=function(){return n},n.distanceToBorder=function(e,t,n){var r,o=e.width(),a=e.height(),i=Math.abs(n/t),s=a/o;if(i<=s){var l=t/(o/2),u=n/l;r=Math.sqrt(Math.pow(o/2,2)+Math.pow(u,2))}else{var c=n/(a/2),d=t/c;r=Math.sqrt(Math.pow(a/2,2)+Math.pow(d,2))}return r}},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw,n=this.label;this.attributes(["datatype"]).label("Literal").styleClass("literal").type("rdfs:Literal").iri("http://www.w3.org/2000/01/rdf-schema#Literal"),this.draw=function(e){t(e,["dashed"])},this.label=function(e){return arguments.length?this:n()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.attributes(["rdf"]).label("Resource").radius(30).styleClass("rdfsresource").type("rdfs:Resource"),this.draw=function(e){t(e,["rdf","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=[];r.push(n(41)),r.push(n(44)),r.push(n(45)),r.push(n(46)),r.push(n(47)),r.push(n(48)),r.push(n(49)),r.push(n(50)),r.push(n(51)),r.push(n(52)),r.push(n(53)),r.push(n(54)),r.push(n(55)),r.push(n(56));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("allvaluesfromproperty").type("owl:allValuesFrom"),this.generateCardinalityText=function(){var e="A",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(14),a=n(17)(),i=n(13)(),s=n(37)();n(43)();e.exports=function(){var e=28,n=80,l=e/2,u=function(e){function n(){var e=[];return T.subproperties()&&(e=e.concat(T.subproperties())),T.superproperties()&&(e=e.concat(T.superproperties())),e}function l(){var e=n();e.forEach(function(e){e.foreground&&e.foreground()})}function u(){T.mouseEntered()||P===!0||(T.mouseEntered(!0),T.setHighlighting(!0),T.foreground(),l())}function c(){T.mouseEntered(!1),T.setHighlighting(!1)}function d(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}function p(t){if(e.ignoreOtherHoverEvents()===!1){var n=!1;T.inverse()&&(n=!0),t===!0&&e.activateHoverElementsForProperties(t,T,n)}}r.apply(this,arguments);var f,h,v,g,y,m,b,x,E,w,O,C,k,P,_,j,M,D,L,A,S,T=this,R="normal",I="filled",N=!0,F=80,H=80,B=[];this.existingPropertyIRI=function(t){return e.options().editSidebar().checkForExistingURL(t)},this.getHalos=function(){return M},this.getPin=function(){return j},this.labelObject=function(e,t){return arguments.length?(A=e,void(T.inverse()&&t!==!0&&T.inverse().labelObject(e,!0))):A},this.hide=function(e){T.labelElement().classed("hidden",e),T.linkGroup().classed("hidden",e),T.cardinalityElement()&&T.cardinalityElement().classed("hidden",e)},this.cardinality=function(e){return arguments.length?(f=e,this):f},this.cardinalityElement=function(e){return arguments.length?(w=e,this):w},this.domain=function(e){return arguments.length?(h=e,this):h},this.inverse=function(e){return arguments.length?(v=e,this):v},this.labelElement=function(e){return arguments.length?(O=e,this):O},this.labelVisible=function(e){return arguments.length?(N=e,this):N},this.link=function(e){return arguments.length?(g=e,this):g},this.linkGroup=function(e){return arguments.length?(C=e,this):C},this.linkType=function(e){return arguments.length?(R=e,this):R},this.markerElement=function(e){return arguments.length?(k=e,this):k},this.markerType=function(e){return arguments.length?(I=e,this):I},this.maxCardinality=function(e){return arguments.length?(m=e,this):m},this.minCardinality=function(e){return arguments.length?(y=e,this):y},this.range=function(e){return arguments.length?(b=e,this):b},this.redundantProperties=function(e){return arguments.length?(B=e,this):B},this.subproperties=function(e){return arguments.length?(x=e,this):x},this.superproperties=function(e){return arguments.length?(E=e,this):E},this.distanceToBorder=function(e,t){return s.distanceToBorder(T,e,t)},this.linkHasMarker=function(){return"dashed"!==R},this.markerId=function(){return"marker"+T.id()},this.toggleFocus=function(){T.focused(!T.focused()),O.select("rect").classed("focused",T.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.getShapeElement=function(){return D},this.textBlock=function(){return L},this.redrawElement=function(){D.remove(),L.remove(),T.drawLabel(T.labelElement()),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth())},this.draw=function(t){function n(e){var n=t.append("g").datum(e).classed("label",!0).attr("id",e.id());return e.drawLabel(n),n}if(T.labelVisible()){if(F=e.options().dynamicLabelWidth()===!0?Math.min(T.getMyWidth(),e.options().maxLabelWidth()):H,T.labelElement(n(T)),T.inverse()){var r=T.height()/2+1;T.inverse().labelElement(n(T.inverse())),T.labelElement().attr("transform","translate(0,-"+r+")"),T.inverse().labelElement().attr("transform","translate(0,"+r+")")}return T.pinned()?T.drawPin():T.inverse()&&T.inverse().pinned()&&T.inverse().drawPin(),T.halo()&&T.drawHalo(!1),T.labelElement()}},this.addRect=function(e){var t=e.append("rect").classed(T.styleClass(),!0).classed("property",!0).attr("x",-T.width()/2).attr("y",-T.height()/2).attr("width",T.width()).attr("height",T.height()).on("mouseover",function(){u()}).on("mouseout",function(){c()});t.append("title").text(T.labelForCurrentLanguage()),T.visualAttributes()&&t.classed(T.visualAttributes(),!0);var n=T.backgroundColor();return T.attributes().indexOf("deprecated")>-1?(n=void 0,t.classed("deprecatedproperty",!0)):t.classed("deprecatedproperty",!1),t.style("fill",n),t},this.drawLabel=function(e){D=this.addRect(e);var t=T.equivalentsString(),n=t?",":"",r=T.backgroundColor();T.attributes().indexOf("deprecated")>-1&&(r=void 0),L=new o(e,r),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.equivalentsString=function(){var e=T.equivalents();if(e)return e.map(function(e){return void 0===e||"string"==typeof e?"ERROR":e.labelForCurrentLanguage()}).join(", ")},this.drawCardinality=function(e){var t=this.generateCardinalityText();return!!t&&(T.cardinalityElement(e),0===t.indexOf("A")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -8.8832678,-11.303355 -7.97e-4,0 0.717374,1.833297 8.22987151,21.371761 8.66826659,-21.2123526 0.797082,-1.9927054 0.02471,0 -0.8218553,1.9927054 -2.2517565,5.4201577 -12.4444429,8e-6 -2.2019394,-5.5795821 z").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):0===t.indexOf("E")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -5.5788451,-8.0958763 10.8749368,0 0,8.34681523 -9.5707468,0.040132 9.5707468,-0.040132 0,8.42707237 -10.9150654,0").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):(e.append("text").classed("cardinality",!0).attr("text-anchor","middle").attr("dy","0.5ex").text(t),!0))},this.generateCardinalityText=function(){if(T.cardinality())return T.cardinality();if(T.minCardinality()||T.maxCardinality()){var e=T.minCardinality()||"*",t=T.maxCardinality()||"*";return e+".."+t}},T.setHighlighting=function(t){T.labelElement&&T.labelElement()&&T.labelElement().select("rect").classed("hovered",t),T.linkGroup().selectAll("path, text").classed("hovered",t),T.markerElement()&&(T.markerElement().select("path").classed("hovered",t),T.cardinalityElement()&&(T.cardinalityElement().selectAll("path").classed("hovered-MathSymbol",t),T.cardinalityElement().classed("hovered",t)));var r=n();r.forEach(function(e){e.labelElement&&e.labelElement()&&e.labelElement().select("rect").classed("indirect-highlighting",t)});var o=!1;e.ignoreOtherHoverEvents()===!1&&(T.inverse()&&(o=!0),e.isTouchDevice()===!1?e.activateHoverElementsForProperties(t,T,o):(T.labelElement().select("rect").classed("hovered",!1),T.linkGroup().selectAll("path, text").classed("hovered",!1),T.markerElement()&&(T.markerElement().select("path").classed("hovered",!1),T.cardinalityElement()&&T.cardinalityElement().classed("hovered",!1)),e.activateHoverElementsForProperties(t,T,o,!0)))},this.foreground=function(){if(T.labelElement()&&null!==T.labelElement().node().parentNode){var e=T.labelElement().node().parentNode,t=e.parentNode,n=T.linkGroup().node(),r=T.linkGroup().node().parentNode;T.animationProcess()===!1&&t.appendChild(e),r.appendChild(n)}},this.drawPin=function(){if(T.pinned(!0),F=e.options().dynamicLabelWidth()===!0?T.getMyWidth():H,T.inverse()){var t=T.labelElement().attr("transform"),n=T.inverse().labelElement().attr("transform"),r=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(t)[2],o=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(n)[2];j=rF&&(F=n),F},this.textWidth=function(){return F},this.width=function(){return F},this.animateDynamicLabelWidth=function(t){if(T.removeHalo(),void 0!==D){var n=T.height();if(t===!0?(F=Math.min(T.getMyWidth(),e.options().maxLabelWidth()),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n}).each("end",function(){T.updateTextElement()})):(F=H,T.updateTextElement(),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n})),T.pinned()===!0&&j){var r=-.5*F+10,o=-25;j.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}}},this.redrawLabelText=function(){L.remove(),T.addTextLabelElement(),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),D.select("title").text(T.labelForCurrentLanguage())},this.addTextLabelElement=function(){var e=T.labelElement(),t=T.equivalentsString(),n=t?",":"";L=new o(e,this.backgroundColor()),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.updateTextElement=function(){L.updateAllTextElements()},this.enableEditing=function(e){e!==!1&&T.raiseDoubleClickEdit(!0)},this.raiseDoubleClickEdit=function(n){if(t.selectAll(".foreignelements").remove(),void 0===T.labelElement()||"owl:disjointWith"===this.type()||"rdfs:subClassOf"===this.type())return void console.log("No Container found");void 0!==_&&T.labelElement().selectAll(".foreignelements").remove(),S=void 0,e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),T.editingTextElement=!0,P=!0,T.labelElement().selectAll("rect").classed("hoveredForEditing",!0),T.frozen(!0),e.killDelayedTimer(),e.ignoreOtherHoverEvents(!1),_=T.labelElement().append("foreignObject").attr("x",-.5*T.textWidth()).attr("y",-13).attr("height",25).attr("class","foreignelements").on("dragstart",function(){return!1}).attr("width",T.textWidth()-2);var r=_.append("xhtml:input").attr("class","nodeEditSpan").attr("id",T.id()).attr("align","center").attr("contentEditable","true").on("dragstart",function(){return!1}),o="#f00",a=T.textWidth()-2;r.style({align:"center",color:"black",width:a+"px","background-color":o,"border-bottom":"2px solid black"});var i=r.node();i.value=T.labelForCurrentLanguage(),i.focus(),i.select(),t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation(),r.on("click",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mouseout",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mousedown",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}).on("keydown",function(){13===t.event.keyCode&&(this.blur(),T.frozen(!1),T.locked(!1))}).on("keyup",function(){if(n){var o=r.node().value,a=o.replaceAll(" ","_"),i=T.baseIri()+a;S=i,t.select("#element_iriEditor").node().title=i,t.select("#element_iriEditor").node().value=e.options().prefixModule().getPrefixRepresentationForFullURI(i)}t.select("#element_labelEditor").node().value=r.node().value}).on("blur",function(){T.editingTextElement=!1,P=!1,T.labelElement().selectAll("rect").classed("hoveredForEditing",!1);var t=r.node().value;if(T.labelElement().selectAll(".foreignelements").remove(),T.label(t),T.backupLabel(t),T.redrawLabelText(),p(!0),e.showHoverElementsAfterAnimation(T,!1),e.ignoreOtherHoverEvents(!1),T.frozen(e.paused()),T.locked(e.paused()),T.domain().frozen(e.paused()),T.domain().locked(e.paused()),T.range().frozen(e.paused()),T.range().locked(e.paused()),e.removeEditElements(),S){var n=e.options().editSidebar().checkProperIriChange(T,S);n!==!1&&e.options().warningModule().showWarning("Already seen this property","Input IRI: "+S+" for element: "+T.labelForCurrentLanguage()+" already been set","Continuing with duplicate property!",1,!1,n),T.iri(S)}e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),e.updatePropertyDraggerElements(T)})},T.copyInformation=function(e){T.label(e.label()),T.iri(e.iri()),T.baseIri(e.baseIri()),"owl:ObjectProperty"!==e.type()&&"owl:DatatypeProperty"!==e.type()||T.backupLabel(e.label()),void 0!==e.backupLabel()&&T.backupLabel(e.backupLabel())},i.addTo(this)};return u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.height=function(){return e},u.prototype.width=function(){return n},u.prototype.actualRadius=function(){return l},u.prototype.textWidth=u.prototype.width,u}()}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e){return e%=360,e<0&&(e+=360),Math.PI*e/180}function n(e){return e*(180/Math.PI)}var r={},o=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal").tension(-1);return r.calculateNormalVector=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=-o,i=r,s=Math.sqrt(a*a+i*i),l=0!==s?n/s:0;return{x:a*l,y:i*l}},r.getLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i);o.increasedLoopAngle===!0&&(s=120);var l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,E]},r.calculateLoopPath=function(t){var r=t.domain(),a=t.label(),i=360/t.loops().length,s=.8*i,l=Math.min(60,s);a.increasedLoopAngle===!0&&(l=120);var u=a.x-r.x,c=a.y-r.y,d=Math.atan2(c,u),p=n(d),f=p-l/2,h=p+l/2,v=e(f),g=e(h),y=Math.cos(v)*r.actualRadius(),m=Math.sin(v)*r.actualRadius(),b=Math.cos(g)*r.actualRadius(),x=Math.sin(g)*r.actualRadius(),E={x:r.x+y,y:r.y+m},w={x:r.x+b,y:r.y+x};return o([E,t.label(),w])},r.calculateLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i),l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,t.label(),E]},r.calculateIntersection=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=Math.sqrt(r*r+o*o);if(0===a)return{x:e.x,y:e.y};var i=t.distanceToBorder(r,o),s=(a-(i+n))/a,l=r*s+e.x,u=o*s+e.y;return{x:l,y:u}},r.calculateCenter=function(e,t){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}},function(){return r}}()}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["datatype"]).styleClass("datatypeproperty").type("owl:DatatypeProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).styleClass("deprecatedproperty").type("owl:DeprecatedProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42),o=n(14);e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n="Disjoint With";this.label=function(e){return arguments.length?this:n},this.linkType("dashed").styleClass("disjointwith").type("owl:disjointWith"),this.drawLabel=function(n){t=this.addRect(n),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",-12.5).attr("r",10),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",12.5).attr("r",10);var r=new o(n,this.backgroundColor());e.options().compactNotation()||r.addSubText("disjoint"),r.translation(0,20)},this.getShapeElement=function(){return t},this.markerElement=function(){}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.styleClass("equivalentproperty").type("owl:equivalentProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["functional"]).styleClass("functionalproperty").type("owl:FunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["inverse functional"]).styleClass("inversefunctionalproperty").type("owl:InverseFunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["object"]).styleClass("objectproperty").type("owl:ObjectProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("somevaluesfromproperty").type("owl:someValuesFrom"),this.generateCardinalityText=function(){var e="E",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["symmetric"]).styleClass("symmetricproperty").type("owl:SymmetricProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["transitive"]).styleClass("transitiveproperty").type("owl:TransitiveProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).styleClass("rdfproperty").type("rdf:Property")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw,o="Subclass of";this.draw=function(r){return t.labelVisible(!e.options().compactNotation()),n(r)},this.label=function(e){return arguments.length?this:o},this.linkType("dotted").markerType("white").styleClass("subclass").type("rdfs:subClassOf"),t.baseIri("http://www.w3.org/2000/01/rdf-schema#"),t.iri("http://www.w3.org/2000/01/rdf-schema#subClassOf")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.labelVisible(!1).linkType("dashed").markerType("white").styleClass("setoperatorproperty").type("setOperatorProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(58),o=n(43)(),a=n(60)(),i=n(63)(),s=n(5)(),l=n(40)();e.exports=function(e){function u(){Te.graphContainerSelector(e);var n=!1;ye=t.layout.force().on("tick",c),me=t.behavior.drag().origin(function(e){return e}).on("dragstart",function(e){t.event.sourceEvent.stopPropagation(),De.ignoreOtherHoverEvents(!0),e.type&&"Class_dragger"===e.type()?(wt.mouseButtonPressed=!0,clearTimeout(Oe),wt.selectedViaTouch(!0),e.parentNode().locked(!0),at=!0):e.type&&"Range_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):e.type&&"Domain_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):(e.locked(!0),n=!1)}).on("drag",function(e){e.type&&"Class_dragger"===e.type()?(clearTimeout(Oe),wt.setPosition(t.event.x,t.event.y)):e.type&&"Range_dragger"===e.type()?(clearTimeout(Oe),Ot.setPosition(t.event.x,t.event.y),kt.setPosition(t.event.x,t.event.y),Ct.updateElementViaRangeDragger(t.event.x,t.event.y)):e.type&&"Domain_dragger"===e.type()?(clearTimeout(Oe),Ct.setPosition(t.event.x,t.event.y),kt.setPositionDomain(t.event.x,t.event.y),Ot.updateElementViaDomainDragger(t.event.x,t.event.y)):(e.px=t.event.x,e.py=t.event.y,ye.resume(),S(),n=!0,e.renderType&&"round"===e.renderType()&&wt.setParentNode(e))}).on("dragend",function(e){if(De.ignoreOtherHoverEvents(!1),e.type&&"Class_dragger"===e.type()){var t=wt.x,r=wt.y;clearTimeout(Oe),wt.mouseButtonPressed=!1,wt.selectedViaTouch(!1),e.setParentNode(e.parentNode());var o=[t,r],a=De.getTargetNode(o);a&&U(e.parentNode(),a,o),Ke===!1&&K(),at=!1}else if(e.type&&"Range_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var s=Ot.x,l=Ot.y,u=[s,l],c=De.getTargetNode(u);i.isDatatype(c)===!0&&(c=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),null===c?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateRange(c),De.update(),kt.hideParentProperty(!1))}else if(e.type&&"Domain_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var d=Ct.x,p=Ct.y,f=[d,p],h=De.getTargetNode(f);i.isDatatype(h)===!0&&(h=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),kt.hideClone(!0),null===h?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateDomain(h),De.update(),kt.hideParentProperty(!1))}else{e.locked(!1);var v=De.options().pickAndPinModule();v.enabled()===!0&&n===!0&&(e.id&&v.handle(e,!0),e.property&&v.handle(e.property(),!0))}}),Me=t.behavior.zoom().duration(150).scaleExtent([Te.minMagnification(),Te.maxMagnification()]).on("zoom",v),nt.push(wt),nt.push(Ot),nt.push(Ct),nt.push(kt),ye.stop()}function c(){if(ct=!1,De.options().loadingModule().successfullyLoadedOntology()===!1)return ye.stop(),t.select("#progressBarValue").node().innerHTML="",De.updateProgressBarMode(),De.options().loadingModule().showErrorDetailsMessage(c),void(yt&&mt===!1&&De.options().loadingModule().collapseDetails("hiddenRecalculatePositions"));if(He===!1){var e=1-10*ye.alpha(),n=parseInt(200*e)+"%";De.options().loadingModule().setPercentValue(n),t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,e>.49&&(He=!0,ne&&(ne.style("opacity","1"),n="100%",t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,De.options().ontologyMenu().append_message_toLastBulletPoint("done"),t.select("#reloadCachedOntology").classed("hidden",!bt),gt===!0&&vt===!1&&(De.options().warningModule().showFilterHint(),vt=!0)),Fe&&(De.paused()===!1&&ye.resume(),Fe=!1),ct=!0,ft===!0?(ye.on("tick",d),d()):(ye.on("tick",p),p()),We===!0&&ye.nodes().length>0&&(ye.nodes().length<10?De.forceRelocationEvent(!0):De.forceRelocationEvent(),We=!1),De.showEditorHintIfNeeded(),De.options().loadingModule().missingImportsWarning()===!1?(De.options().loadingModule().hideLoadingIndicator(),De.options().ontologyMenu().append_bulletPoint("Successfully loaded ontology"),De.options().loadingModule().setSuccessful()):(De.options().loadingModule().showWarningDetailsMessage(),De.options().ontologyMenu().append_bulletPoint("Loaded ontology with warnings")))}}function d(){p(),_e=Date.now();var e=_e-je,t=(1e3/e).toFixed(2);ut.node().innerHTML="FPS: "+t+"
    Nodes: "+ye.nodes().length+"
    Links: "+ye.links().length,je=Date.now()}function p(){return lt?(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1!==n.layers().length||n.loops())e.linkDomainIntersection=o.calculateIntersection(n.label(),n.domain(),0),e.linkRangeIntersection=o.calculateIntersection(n.label(),n.range(),0),n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement());else{var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y,e.linkRangeIntersection=a,e.linkDomainIntersection=r,n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement())}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop()){var t=o.getLoopPoints(e);return e.label().linkRangeIntersection=t[1],e.label().linkDomainIntersection=t[0],e.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement()),o.calculateLoopPath(e)}var n=e.label(),r=o.calculateIntersection(n,e.domain(),1),a=o.calculateIntersection(n,e.range(),1);return e.linkRangeIntersection=r,e.linkDomainIntersection=a,e.property().focused()!==!0&&void 0===ot||(Ct.updateElement(),Ot.updateElement()),Se([r,n,a])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),rt&&(ee(rt),Q(rt),at===!1&&wt.setParentNode(rt)),ot&&te(ot),void S()):(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1===n.layers().length&&!n.loops()){ +var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop())return o.calculateLoopPath(e);var t=e.label(),n=o.calculateIntersection(t,e.domain(),1),r=o.calculateIntersection(t,e.range(),1);return Se([n,t,r])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),void S())}function f(){function e(e){Te.selectionModules().forEach(function(t){t.handle(e)})}se.on("click",function(n){Ke===!0&&G()===!0?(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n))):e(n)}),se.on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))}),le.selectAll(".label").on("click",function(n){e(n),Ke===!0&&G()===!0&&(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n)))}),le.selectAll(".label").on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))})}function h(e){if(De.options().getGeneralMetaObject().iri){var t=De.options().getGeneralMetaObject().iri+e.id();return e.iri()===t}return!1}function v(){if(pt===!0)return Me.translate(Ve),void Me.scale(Be);var e=!1;if(t.event.sourceEvent&&t.event.sourceEvent.deltaY&&(e=!0),e===!1){if(ze===!0)return;return Be=t.event.scale,Ve=t.event.translate,ne.attr("transform","translate("+Ve+")scale("+Be+")"),S(),void De.options().zoomSlider().updateZoomSliderValue(Be)}Be=t.event.scale,Ve=t.event.translate,ne.transition().tween("attr.translate",function(){return function(e){ze=!0;var n=t.transform(ne.attr("transform"));Ve[0]=n.translate[0],Ve[1]=n.translate[1],Be=n.scale[0],S(),De.options().zoomSlider().updateZoomSliderValue(Be)}}).each("end",function(){ze=!1}).attr("transform","translate("+Ve+")scale("+Be+")").ease("linear").duration(250)}function g(){b(),ne=t.selectAll(Te.graphContainerSelector()).append("svg").classed("vowlGraph",!0).attr("width",Te.width()).attr("height",Te.height()).call(Me).append("g");var e=t.selectAll(".vowlGraph");Qe=e.on("dblclick.zoom"),et=e.on("touchstart"),e.on("touchstart",Z),lt===!0?e.on("dblclick.zoom",De.modified_dblClickFunction):e.on("dblclick.zoom",Qe)}function y(){Ee=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("addDataPropertyElement",!0).attr("transform","translate(0,0)"),Ee.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",-8).attr("y1",0).attr("x2",8).attr("y2",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",0).attr("y1",-8).attr("x2",0).attr("y2",8).append("title").text("Add Datatype Property"),De.options().useAccuracyHelper()&&Ee.append("circle").attr("r",15).attr("cx",-7).attr("cy",7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject()),xe=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("deleteParentElement",!0).attr("transform","translate(0,0)"),xe.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Delete This Node");var e=5;xe.append("line").attr("x1",-e).attr("y1",-e).attr("x2",e).attr("y2",e).append("title").text("Delete This Node"),xe.append("line").attr("x1",e).attr("y1",-e).attr("x2",-e).attr("y2",e).append("title").text("Delete This Node"),De.options().useAccuracyHelper()&&xe.append("circle").attr("r",15).attr("cx",7).attr("cy",-7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject())}function m(){var e;if(ne){ne.selectAll("*").remove(),ie=ne.append("g").classed("linkContainer",!0),ae=ne.append("g").classed("cardinalityContainer",!0),oe=ne.append("g").classed("labelContainer",!0),re=ne.append("g").classed("nodeContainer",!0);var n=ne.append("g").classed("linkContainer",!0);tt=ne.append("g").classed("editContainer",!0),we=ne.append("g").classed("editContainer",!0),n.classed("hidden-in-export",!0),we.classed("hidden-in-export",!0),tt.classed("hidden-in-export",!0),e=ie.append("defs");var r=tt.selectAll(".node").data(nt).enter().append("g").classed("node",!0).classed("hidden-in-export",!0).attr("id",function(e){return e.id()}).call(me);r.each(function(e){e.svgRoot(t.select(this)),e.svgPathLayer(n),"shadowClone"===e.type()?(e.drawClone(),e.hideClone(!0)):(e.drawNode(),e.hideDragger(!0))}),y(),e=ie.append("defs"),void 0===pe&&(pe=[]),se=re.selectAll(".node").data(pe).enter().append("g").classed("node",!0).attr("id",function(e){return e.id()}).call(me),se.each(function(e){e.draw(t.select(this))}),void 0===fe&&(fe=[]),le=oe.selectAll(".labelGroup").data(fe).enter().append("g").classed("labelGroup",!0).call(me),le.each(function(e){var n=e.draw(t.select(this));e.property().labelObject(e),n||t.select(this).remove()}),le.each(function(e){if(this.parentNode&&i.isRdfsSubClassOf(e.property())){var t=this.parentNode;t.insertBefore(this,t.firstChild)}}),void 0===ve&&(ve=[]),de=ae.selectAll(".cardinality").data(ve).enter().append("g").classed("cardinality",!0),de.each(function(e){var n=e.drawCardinality(t.select(this));n||t.select(this).remove()}),void 0===he&&(he=[]),ue=ie.selectAll(".link").data(he).enter().append("g").classed("link",!0),ue.each(function(n){n.draw(t.select(this),e)}),ce=ue.selectAll("path"),f()}}function b(){ne&&t.select(ne.node().parentNode).remove()}function x(){Ze=[];for(var e,t=0;t0)for(var r=0;r0?(ne.style("opacity","0"),ye.on("tick",c)):(ne.style("opacity","1"),ft===!0?ye.on("tick",d):ye.on("tick",p)),ye.start()):(ye.stop(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),n.setErrorMode()),De.options().clearMetaObject(),De.options().clearGeneralMetaObject(),De.options().editSidebar().clearMetaObjectValue(),void 0!==Te.data()){var a=Te.data().header;if(a){if(a.iri&&De.options().addOrUpdateGeneralObjectEntry("iri",a.iri),a.title&&De.options().addOrUpdateGeneralObjectEntry("title",a.title),a.author&&De.options().addOrUpdateGeneralObjectEntry("author",a.author),a.version&&De.options().addOrUpdateGeneralObjectEntry("version",a.version),a.description&&De.options().addOrUpdateGeneralObjectEntry("description",a.description),a.prefixList){var i=a.prefixList;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];De.options().addPrefix(s,l)}}if(a.other){var u=a.other;for(var f in u)if(u.hasOwnProperty(f)){var h=u[f];h.hasOwnProperty("identifier")&&h.hasOwnProperty("value")&&De.options().addOrUpdateMetaObjectEntry(h.identfier,h.value)}}}}var v=r.clone(ge);Te.filterModules().forEach(function(e){v=P(e,v,!0)}),w(ge),Re.parseSettings(),qe=Re.settingsImported(),We=!0,Re.settingsImportGraphZoomAndTranslation()===!0&&(We=!1),De.options().searchMenu().requestDictionaryUpdate(),De.options().editSidebar().updateGeneralOntologyInfo(),De.options().editSidebar().updatePrefixUi(),De.options().editSidebar().updateElementWidth()}function C(){he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function k(){var e=Te.literalFilter().enabled();De.executeEmptyLiteralFilter(),Te.literalFilter().enabled(e);var t=r.clone(ge);Te.filterModules().forEach(function(e){t=P(e,t)}),Te.focuserModule().handle(void 0,!0),pe=t.nodes,ve=t.properties,he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function P(e,t,n){return he=a.createLinks(t.properties),_(t.nodes,he),n&&e.initialize&&e.initialize(t.nodes,t.properties),e.filter(t.nodes,t.properties),{nodes:e.filteredNodes(),properties:e.filteredProperties()}}function _(e,t){for(var n=0,r=e.length;n0)for(var e=ye.nodes(),t=0;tr||f<0||f>o){p<0&&f<0?(v=0,g=0):p>0&&pr&&f<0?(v=r,g=0):p>r&&f>0&&fr&&f>o?(v=r,g=o):p>0&&po?(v=p,g=o):p<0&&f>o?(v=0,g=o):p<0&&f>0&&f2500&&(u=2500),ne.attr("transform",N(a,n,r)).transition().duration(u).attrTween("transform",function(){return function(e){return N(l(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S()})}function H(e,t,n,r){var o,a,i=r[0];return i?(o=(e-n[0])/i,a=(t-n[1])/i):(o=(e-n[0])/r,a=(t-n[1])/r),{x:o,y:a}}function B(e,t){var n=De.options().width(),r=De.options().height(),o=T(e.x,e.y,Ve,Be),a=o.x,i=o.y,s=!(a<0||a>n||i<0||i>r);return s}function W(){Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),wt.hideDragger(!0),Ee&&Ee.classed("hidden",!0),xe&&xe.classed("hidden",!0),rt&&rt.pinned()===!1&&(rt.locked(De.paused()),rt.frozen(De.paused())),ot&&ot.pinned()===!1&&(ot.locked(De.paused()),ot.frozen(De.paused()))}function z(e){return t.map(e.values(),function(e){return(new e).type().toLowerCase()})}function V(e){var n,r,o=!0,a=t.select("#defaultClass").node().title;r=xt.get(a.toLowerCase()),n=new r(De);var i=!1;"owl:Thing"===a?n.label("Thing"):(n.label("NewClass"),i=!0),n.x=e.x,n.y=e.y,n.px=n.x,n.py=n.y,n.id("Class"+st++),n.baseIri(t.select("#iriEditor").node().value),n.iri(n.baseIri()+n.id()),q(n,o),Te.focuserModule().handle(n,!0),n.frozen(De.paused()),n.locked(De.paused()),n.enableEditing(i)}function q(e){ge.nodes.push(e),pe.indexOf(e)===-1&&pe.push(e),w(ge),De.getUpdateDictionary(),De.fastUpdate()}function U(e,n,r){var o=t.select("#defaultProperty").node().title;if(De.sanityCheckProperty(e,n,o)===!1)return!1;var a=Et.get(o.toLowerCase()),i=new a(De);if(i.id("objectProperty"+it++),i.domain(e),i.range(n),i.label("newObjectProperty"),i.baseIri(t.select("#iriEditor").node().value),i.iri(i.baseIri()+i.id()),De.propertyCheckExistenceChecker(i,e,n)===!1)return!1;var s=!1;"owl:objectProperty"===o&&(s=!0);var l=.49*(e.x+n.x),u=.49*(e.y+n.y);if(e===n){var c=r[0]-e.x,d=r[1]-e.y,p=Math.sqrt(c*c+d*d),f=c/p,h=d/p;isNaN(p)&&(f=0,h=-1);var v=2*e.actualRadius()+50;l=e.x+v*f,u=e.y+v*h}e.addProperty(i),n.addProperty(i),ge.properties.push(i),ve.indexOf(i)===-1&&ve.push(i),De.fastUpdate(),i.labelObject().x=l,i.labelObject().px=l,i.labelObject().y=u,i.labelObject().py=u,i.frozen(De.paused()),i.locked(De.paused()),e.frozen(De.paused()),e.locked(De.paused()),n.frozen(De.paused()),n.locked(De.paused()),w(ge),De.getUpdateDictionary(),Te.focuserModule().handle(i),De.activateHoverElementsForProperties(!0,i,!1,Ke),i.labelObject().increasedLoopAngle=!0,i.enableEditing(s)}function G(){var e=t.event.timeStamp,n=1;return t.event&&t.event.touches&&t.event.touches.length&&(n=t.event.touches.length),e-be<300&&1===n&&(t.event.stopPropagation(),lt===!0)?(t.event.preventDefault(),t.event.stopPropagation(),be=e,!0):(be=e,!1)}function Z(){pt=!0;var e=t.event.timeStamp;return e-be<300&&1===t.event.touches.length?(t.event.stopPropagation(),void(lt===!0?(t.event.preventDefault(),t.event.stopPropagation(),Me.translate(Ve),Me.scale(Be),De.modified_dblTouchFunction()):(pt=!1,et&&et()))):(pt=!1,be=e,void(et&&et()))}function $(e){if(e!==!0){if(rt){if(rt.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&rt.editingTextElement===!1&&(rt.frozen(!1),rt.locked(!1))},1e3)}if(ot){if(ot.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),ot&&ot.focused()===!0&&De.options().drawPropertyDraggerOnHover()===!0&&(ot.labelObject().increasedLoopAngle=!1,p()),ot&&ot.pinned()===!1&&De.paused()===!1&&ot.editingTextElement===!1&&(ot.frozen(!1),ot.locked(!1))},1e3)}}}function X(){wt.nodeElement.classed("classDraggerNodeHovered",!0),wt.nodeElement.classed("classDraggerNode",!1),J()}function Y(){wt.nodeElement.classed("classDraggerNodeHovered",!1),wt.nodeElement.classed("classDraggerNode",!0),K()}function J(e){e!==!0&&clearTimeout(Oe)}function K(e){if(rt){if(De.ignoreOtherHoverEvents()===!0||e===!0||rt.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&(rt.frozen(!1),rt.locked(!1)))},1e3)}if(ot){if(De.ignoreOtherHoverEvents()===!0||e===!0||ot.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),ot&&ot.pinned()===!1&&De.paused()===!1&&(ot.frozen(!1),ot.locked(!1)))},1e3)}}function Q(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x-o,n=e.y+a,Ee.attr("transform","translate("+t+","+n+")")}}function ee(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x+o,n=e.y-a}else t=e.x+.5*e.width()+6,n=e.y-.5*e.height()-6;xe.attr("transform","translate("+t+","+n+")")}function te(e,t){if(e&&e.labelElement()){var n=[e.labelObject().x,e.labelObject().y],r=parseFloat(e.getShapeElement().attr("width")),o=parseFloat(e.getShapeElement().attr("height")),a=n[0]+.5*r+6,i=n[1]-.5*o-6;"translate(0,15)"===e.labelElement().attr("transform")&&(i+=15),"translate(0,-15)"===e.labelElement().attr("transform")&&(i-=15),xe.attr("transform","translate("+a+","+i+")")}else xe.classed("hidden",!0)}var ne,re,oe,ae,ie,se,le,ue,ce,de,pe,fe,he,ve,ge,ye,me,be,xe,Ee,we,Oe,Ce,ke,Pe,_e,je,Me,De={},Le=20,Ae=10,Se=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal"),Te=n(64)(),Re=n(65)(De),Ie="default",Ne=!1,Fe=!0,He=!1,Be=1,We=!1,ze=!1,Ve=[0,0],qe=!1,Ue=[],Ge=[],Ze=[],$e=0,Xe=1,Ye=.8,Je=-1,Ke=!1,Qe=null,et=null,tt=null,nt=[],rt=null,ot=null,at=!1,it=0,st=0,lt=!0,ut=t.select("#FPS_Statistics"),ct=!1,dt=!1,pt=!1,ft=!1,ht=!1,vt=!1,gt=!1,yt=!0,mt=!1,bt=!1,xt=z(s),Et=z(l),wt=n(68)(De),Ot=n(69)(De),Ct=n(70)(De),kt=n(71)(De);De.math=function(){return o},De.isEditorMode=function(){return lt},De.getGlobalDOF=function(){return Je},De.setGlobalDOF=function(e){Je=e},De.updateZoomSliderValueFromOutside=function(){De.options().zoomSlider().updateZoomSliderValue(Be)},De.setDefaultZoom=function(e){Xe=e,De.reset(),De.options().zoomSlider().updateZoomSliderValue(Xe)},De.setTargetZoom=function(e){Ye=e},De.graphOptions=function(){return Te},De.scaleFactor=function(){return Be},De.translation=function(){return Ve},De.graphNodeElements=function(){return se},De.graphLabelElements=function(){return fe},De.graphLinkElements=function(){return he},De.setSliderZoom=function(e){var n=.5*De.options().width(),r=.5*De.options().height(),o=H(n,r,Ve,Be),a=[o.x,o.y,De.options().height()/Be],i=[o.x,o.y,De.options().height()/e],s=t.interpolateZoom(a,i);ne.attr("transform",N(a,n,r)).transition().duration(1).attrTween("transform",function(){return function(e){return N(s(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be)})},De.setZoom=function(e){Me.scale(e)},De.setTranslation=function(e){Me.translate([e[0],e[1]])},De.options=function(){return Te},De.getUpdateDictionary=function(){return Re.getDictionary()},De.language=function(e){return arguments.length?(Ie!==e&&(Ie=e||"default",m(),p(),De.options().searchMenu().requestDictionaryUpdate(),De.resetSearchHighlight()),De):Ie},De.lazyRefresh=function(){m(),p()},De.adjustingGraphSize=function(e){mt=e},De.showReloadButtonAfterLayoutOptimization=function(e){bt=e},De.showEditorHintIfNeeded=function(){ht===!1&<===!0&&(ht=!0,De.options().warningModule().showEditorHint())},De.setForceTickFunctionWithFPS=function(){ft=!0,ye&&ct===!0&&ye.on("tick",d)},De.setDefaultForceTickFunction=function(){ft=!1,ye&&ct===!0&&ye.on("tick",p)},De.updatePropertyDraggerElements=function(e){"owl:DatatypeProperty"!==e.type()?(kt.setParentProperty(e),Ot.setParentProperty(e),Ot.hideDragger(!1),Ot.addMouseEvents(),Ct.setParentProperty(e),Ct.hideDragger(!1),Ct.addMouseEvents()):(Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0))},De.getUnfilteredData=function(){return ge},De.getClassDataForTtlExport=function(){for(var e=ge.nodes,t=[],n=0;nn&&(o=n);var a=.5*De.options().width(),i=.5*De.options().height(),s=H(a,i,Ve,Be),l=[s.x,s.y,De.options().height()/Be],u=[s.x,s.y,De.options().height()/o],c=t.interpolateZoom(l,u);ne.attr("transform",N(l,a,i)).transition().duration(250).attrTween("transform",function(){return function(e){return N(c(e),a,i)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S(),Te.zoomSlider().updateZoomSliderValue(Be)})};var Pt=null;De.clearAllGraphData=function(){Pt=De.graphNodeElements()&&De.graphNodeElements().length>0?De.options().exportMenu().createJSON_exportObject():null,ye.stop(),ge&&(ge.nodes=[],ge.properties=[])},De.getCachedJsonObj=function(){return Pt},De.clearGraphData=function(){ye.stop();var e=De.options().sidebar();e&&e.clearOntologyInformation(),ne&&g()},De.updateProgressBarMode=function(){var e=De.options().loadingModule(),t=e.getProgressBarMode();switch(t){case 0:e.setErrorMode();break;case 1:e.setBusyMode();break;case 2:e.setPercentMode();break;default:e.setPercentMode()}},De.setFilterWarning=function(e){gt=e},De.handleOnLoadingError=function(){ye.stop(),De.clearGraphData(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").classed("busyProgressBar",!1),De.options().loadingModule().setErrorMode(),De.options().loadingModule().showErrorDetailsMessage()},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0){if(ze===!0)return;var e=ye.nodes()[Ue[$e]];$e++,$e%=Ue.length,e.id&&e.foreground(),e.property&&e.property().foreground(),F(e)}},De.resetSearchHighlight=function(){Ue=[],Ge=[];var e,t=ge.nodes,n=ge.properties;for(e=0;e0?(t.select("#locateSearchResult").classed("highlighted",!0),t.select("#locateSearchResult").node().title="Locate search term"):(t.select("#locateSearchResult").classed("highlighted",!1),t.select("#locateSearchResult").node().title="Nothing to locate")},De.highLightNodes=function(e){if(0!==e.length){Ue=[],Ge=e;for(var n=[],r=0;rMe.scaleExtent()[1]&&(h=Me.scaleExtent()[1]),hMe.scaleExtent()[1]&&(g=Me.scaleExtent()[1]),g2500&&(w=2500),ne.attr("transform",N(b,f,h)).transition().duration(w).attrTween("transform",function(){return function(t){if(e){var n=_t(),r=n[0](t);return N(r,f,h)}return N(E(t),f,h)}}).each("end",function(){e||(ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be))})},De.isADraggerActive=function(){return wt.mouseButtonPressed===!0||Ct.mouseButtonPressed===!0||Ot.mouseButtonPressed===!0},De.changeNodeType=function(e){var n=t.select("#typeEditor").node().value;if(De.classesSanityCheck(e,n)===!1)return void De.options().editSidebar().updateSelectionInformation(e);var r=xt.get(n.toLowerCase()),o=new r(De);if(o.x=e.x,o.y=e.y,o.px=e.x,o.py=e.y,o.id(e.id()),o.copyInformation(e),"owl:Thing"===n?o.label("Thing"):i.isDatatype(e)===!1&&(void 0!==e.backupLabel()?o.label(e.backupLabel()):void 0!==o.backupLabel()?o.label(o.backupLabel()):o.label("NewClass")),"rdfs:Datatype"===n)if("undefined"===o.dType())o.label("undefined");else{var a=o.dType().split(":")[1];o.label(a)}var s;for(s=0;sa?null:"rect"===r.renderType()?null:r===rt&&o<=rt.actualRadius()?r:r===rt&&o>rt.actualRadius()?null:r}return o>r.actualRadius()+30?null:r},De.genericPropertySanityCheck=function(e,t,n,r,o){return e===t&&"rdfs:subClassOf"===n?(De.options().warningModule().showWarning(r,"rdfs:subClassOf can not be created as loops (domain == range)",o,1,!1),!1):e===t&&"owl:disjointWith"===n?(De.options().warningModule().showWarning(r,"owl:disjointWith can not be created as loops (domain == range)",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:someValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===t.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not be connected to owl:Thing",o,1,!1),!1):"owl:Thing"!==t.type()||"owl:someValuesFrom"!==n||(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not be connected to owl:Thing",o,1,!1),!1)},De.checkIfIriClassAlreadyExist=function(e){for(var t=ge.nodes,n=0;n2){var s="You are about to delete 1 class and "+n.length+" properties";0!==o&&(s="You are about to delete 1 class, "+o+" datatypes and "+n.length+" properties"),De.options().warningModule().responseWarning("Removing elements",s,"Awaiting response!",De.removeNodesViaResponse,[r,n],!1)}else{for(a=0;a1&&(Te.literalFilter().filter(ge.nodes,ge.properties),ge.nodes=Te.literalFilter().filteredNodes(),ge.properties=Te.literalFilter().filteredProperties())},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0&&n(l)?t>1?x(l,t-1,n,r,o):a(o,l):r||(o[o.length]=l)}return o}function E(e,t){return e&&$t(e,t,dn)}function w(e,t){return b(t,function(t){return Te(e[t])})}function O(e){return te(e)}function C(e,t){return e>t}function k(e){return Ne(e)&&O(e)==yt}function P(e,t,n,r,o){return e===t||(null==e||null==t||!Ne(e)&&!Ne(t)?e!==e&&t!==t:_(e,t,n,r,P,o))}function _(e,t,n,r,o,a){var i=nn(e),s=nn(t),l=i?ht:O(e),u=s?ht:O(t);l=l==ft?wt:l,u=u==ft?wt:u;var c=l==wt,d=u==wt,p=l==u;a||(a=[]);var f=Jt(a,function(t){return t[0]==e}),h=Jt(a,function(e){return e[0]==t});if(f&&h)return f[1]==t;if(a.push([e,t]),a.push([t,e]),p&&!c){var v=i?Z(e,t,n,r,o,a):$(e,t,l,n,r,o,a);return a.pop(),v}if(!(n&st)){var g=c&&Nt.call(e,"__wrapped__"),y=d&&Nt.call(t,"__wrapped__");if(g||y){var m=g?e.value():e,b=y?t.value():t,v=o(m,b,n,r,a);return a.pop(),v}}if(!p)return!1;var v=X(e,t,n,r,o,a);return a.pop(),v}function j(e){return Ne(e)&&O(e)==Ct}function M(e){return"function"==typeof e?e:null==e?Ye:("object"==typeof e?A:s)(e)}function D(e,t){return eo?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++rt||a&&i&&l&&!s&&!u||r&&i&&l||!n&&l||!o)return 1;if(!r&&!a&&!u&&e1?n[o-1]:ot;for(a=e.length>3&&"function"==typeof a?(o--,a):ot,t=Object(t);++r-1?o[a?t[i]:i]:ot}}function G(e,t,n,r){function o(){for(var t=-1,s=arguments.length,l=-1,u=r.length,c=Array(u+s),d=this&&this!==At&&this instanceof o?i:e;++ls))return!1;for(var u=-1,c=!0,d=n<?[]:ot;++u-1&&e%1==0&&e0&&(n=t.apply(this,arguments)),e<=1&&(t=ot),n}}function ke(e){if("function"!=typeof e)throw new TypeError(it);return function(){var t=arguments;return!e.apply(this,t)}}function Pe(e){return Ce(2,e)}function _e(e){return Ie(e)?nn(e)?I(e):B(e,qt(e)):e}function je(e,t){return e===t||e!==e&&t!==t}function Me(e){return null!=e&&Re(e.length)&&!Te(e)}function De(e){return e===!0||e===!1||Ne(e)&&O(e)==gt}function Le(e){return Me(e)&&(nn(e)||We(e)||Te(e.splice)||tn(e))?!e.length:!qt(e).length}function Ae(e,t){return P(e,t)}function Se(e){return"number"==typeof e&&Vt(e)}function Te(e){if(!Ie(e))return!1;var t=O(e);return t==bt||t==xt||t==vt||t==Ot}function Re(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=pt}function Ie(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ne(e){return null!=e&&"object"==typeof e}function Fe(e){return Be(e)&&e!=+e}function He(e){return null===e}function Be(e){return"number"==typeof e||Ne(e)&&O(e)==Et}function We(e){return"string"==typeof e||!nn(e)&&Ne(e)&&O(e)==kt}function ze(e){return e===ot}function Ve(e){return Me(e)?e.length?I(e):[]:$e(e)}function qe(e){return"string"==typeof e?e:null==e?"":e+""}function Ue(e,t){var n=Gt(e);return null==t?n:ln(n,t)}function Ge(e,t){return null!=e&&Nt.call(e,t)}function Ze(e,t,n){var r=null==e?ot:e[t];return r===ot&&(r=n),Te(r)?r.call(e):r}function $e(e){return null==e?[]:c(e,dn(e))}function Xe(e){return e=qe(e),e&&_t.test(e)?e.replace(Pt,Tt):e}function Ye(e){return e}function Je(e){return A(ln({},e))}function Ke(e,t,n){var r=dn(t),o=w(t,r);null!=n||Ie(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=w(t,dn(t)));var i=!(Ie(n)&&"chain"in n&&!n.chain),s=Te(e);return Zt(o,function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=I(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,a([this.value()],arguments))})}),e}function Qe(){return At._===this&&(At._=Bt),this}function et(){}function tt(e){var t=++Ft;return qe(e)+t}function nt(e){return e&&e.length?m(e,Ye,C):ot}function rt(e){return e&&e.length?m(e,Ye,D):ot}var ot,at="4.17.11",it="Expected a function",st=1,lt=2,ut=1,ct=32,dt=1/0,pt=9007199254740991,ft="[object Arguments]",ht="[object Array]",vt="[object AsyncFunction]",gt="[object Boolean]",yt="[object Date]",mt="[object Error]",bt="[object Function]",xt="[object GeneratorFunction]",Et="[object Number]",wt="[object Object]",Ot="[object Proxy]",Ct="[object RegExp]",kt="[object String]",Pt=/[&<>"']/g,_t=RegExp(Pt.source),jt=/^(?:0|[1-9]\d*)$/,Mt={"&":"&","<":"<",">":">",'"':""","'":"'"},Dt="object"==typeof e&&e&&e.Object===Object&&e,Lt="object"==typeof self&&self&&self.Object===Object&&self,At=Dt||Lt||Function("return this")(),St="object"==typeof t&&t&&!t.nodeType&&t,Tt=(St&&"object"==typeof o&&o&&!o.nodeType&&o,l(Mt)),Rt=Array.prototype,It=Object.prototype,Nt=It.hasOwnProperty,Ft=0,Ht=It.toString,Bt=At._,Wt=Object.create,zt=It.propertyIsEnumerable,Vt=At.isFinite,qt=d(Object.keys,Object),Ut=Math.max,Gt=function(){function e(){}return function(t){if(!Ie(t))return{};if(Wt)return Wt(t);e.prototype=t;var n=new e;return e.prototype=ot,n}}();f.prototype=Gt(p.prototype),f.prototype.constructor=f;var Zt=z(E),$t=V(),Xt=et,Yt=Ye,Jt=U(ae),Kt=T(function(e,t,n){return G(e,ut|ct,t,n)}),Qt=T(function(e,t){return g(e,1,t)}),en=T(function(e,t,n){return g(e,sn(t)||0,n)}),tn=Xt(function(){return arguments}())?Xt:function(e){return Ne(e)&&Nt.call(e,"callee")&&!zt.call(e,"callee")},nn=Array.isArray,rn=k,on=j,an=Number,sn=Number,ln=W(function(e,t){B(t,qt(t),e)}),un=W(function(e,t){B(t,ee(t),e)}),cn=T(function(e,t){e=Object(e);var n=-1,r=t.length,o=r>2?t[2]:ot;for(o&&Q(t[0],t[1],o)&&(r=1);++n=0){e.visualAttributes().push(o);break}}function n(e){var t,n,r;for(t=0,n=x.length;t=0&&e.indications().push(r)}function r(e){var t,n,r;for(t=0,n=E.length;t=0&&e.indications().push(r)}var o={},a="anonymous",i="datatype",s="deprecated",l="external",u="object",c="rdf",d="asymmetric",p="functional",f="inverse functional",h="irreflexive",v="key",g="reflexive",y="symmetric",m="transitive",b=[[s,i,u,c],[a]],x=[s,l],E=[d,p,f,h,v,g,y,m];return o.parseClassAttributes=function(t){t.attributes()instanceof Array&&(e(t),n(t))},o.parsePropertyAttributes=function(t){t.attributes()instanceof Array&&(e(t),r(t))},function(){return o}}()},function(e,t,n){(function(t){function r(e){return function(t){return e[t]}}function o(e,n){var r=a(e,n),o=t.set(r.keys());if(o.remove(v),o.remove(g),1===o.size()){var i=o.values()[0],s=r.get(i);if(1===s.length)return s[0]}}function a(e,n){var r=t.map();return e.forEach(function(e){if(void 0!==e){var t=n[e.range()],o=t.type();r.has(o)||r.set(o,[]),r.get(o).push(t)}}),r}function i(e,t){var n;return n=p.isDatatypeProperty(e)?new d(t):new c(t),n.id(h+e.id()),n}function s(e,t,n,r){var o=[];return e.forEach(function(e){if(void 0!==e&&void 0!==t){var a=e.range();e.range(t.id()),l(a,n)||o.push(a),r.add(e.id())}}),o}function l(e,t){for(var n=0;n-1?(p=void 0,d.classed("deprecatedproperty",!0)):d.classed("deprecatedproperty",!1),d.style("fill",p);var f=e.equivalentsString(),h=f?",":"",v=new r(t.rootNodeLayer,p);v.addText(e.labelForCurrentLanguage(),"",h),v.addEquivalents(f),v.addSubText(e.indicationString());var g=.5*(t.s_x+t.e_x),y=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+g+","+y+")"),t.rootNodeLayer.classed("hidden",!0),t.pathElement.classed("hidden",!0)},t.hideClone=function(e){t.rootNodeLayer&&t.rootNodeLayer.classed("hidden",e),t.pathElement&&t.pathElement.classed("hidden",e)},t.hideParentProperty=function(e){var n=t.parent.labelObject();n&&("translate(0,15)"!==t.parent.labelElement().attr("transform")&&"translate(0,-15)"!==t.parent.labelElement().attr("transform")||t.parent.inverse().hide(e)),t.parent.hide(e)},t.id=function(e){return arguments.length?void(t.nodeId=e):t.nodeId},t.svgPathLayer=function(e){t.pathLayer=e.append("g")},t.svgRoot=function(e){return arguments.length?(t.rootElement=e,void(t.rootNodeLayer=t.rootElement.append("g"))):t.rootElement},t.drawClone=function(){t.pathElement=t.pathLayer.append("line"),t.pathElement.attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",0)},t.updateElement=function(){t.pathElement.attr("x1",t.e_x).attr("y1",t.e_y).attr("x2",t.s_x).attr("y2",t.s_y);var e=.5*(t.s_x+t.e_x),n=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+e+","+n+")")},t.setInitialPosition=function(){var e=t.parent.labelObject();if(e.linkRangeIntersection&&e.linkDomainIntersection){var n=e.linkRangeIntersection,r=e.linkDomainIntersection;t.e_x=r.x,t.e_y=r.y,t.s_x=n.x,t.s_y=n.y}t.updateElement()},t.setPositionDomain=function(e,n){var r=t.parent.range().x,i=t.parent.range().y;if(o.isDatatype(t.parent.range())===!0){var s=a.calculateIntersection({x:e,y:n},t.parent.range(),0);t.s_x=s.x,t.s_y=s.y}else{var l=r-e,u=i-n,c=Math.sqrt(l*l+u*u),d=l/c,p=u/c;t.s_x=r-d*t.parent.range().actualRadius(),t.s_y=i-p*t.parent.range().actualRadius()}t.e_x=e,t.e_y=n,t.updateElement()},t.setPosition=function(e,n){t.s_x=e,t.s_y=n;var r=t.parent.domain().x,o=t.parent.domain().y,a=e-r,i=n-o,s=Math.sqrt(a*a+i*i),l=a/s,u=i/s;t.e_x=r+l*t.parent.domain().actualRadius(),t.e_y=o+u*t.parent.domain().actualRadius(),t.updateElement()},t}},function(e,t){e.exports=function(e){function t(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function n(t){var n={base:"",resource:""};if(void 0===t)return n={base:"ERROR",resource:"NOT FOUND"};var r,o;return t.indexOf("#")>-1?(r=t.substring(t.lastIndexOf("#")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r):(r=t.substring(t.lastIndexOf("/")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r),n}var r,o={};return o.updatePrefixModel=function(){r=e.options().prefixList()},o.validURL=function(e){return t(e)},o.getPrefixRepresentationForFullURI=function(e){o.updatePrefixModel();var t=n(e);for(var a in r)if(r.hasOwnProperty(a)&&r[a]===t.base)return a+":"+t.resource;return":"===t.base?":"+t.resource:e},o}},function(e,t,n){(function(t){var r=n(58);e.exports=function(){function e(e){return e.filter(function(e){return!(e.visualAttributes().indexOf("deprecated")>=0)&&e.attributes().indexOf("external")>=0})}function n(e){for(var n=o(e),i=n.entries(),s=t.scale.linear().domain([0,i.length-1]).range(r.find(p,{type:v}).range).interpolate(t.interpolateHsl),l=0;l=0&&s.splice(n,1)}}),{nodes:s,properties:l}},function(){return t}}()},function(e,t,n){var r=n(46);e.exports=function(){function e(){var e,t,o,a=[];for(e=0,t=n.length;e=0?n<=t?n:(e.getGraphObject().setGlobalDOF(t),t):e.getDefaultDegreeValue()}function a(e){for(var t=0,n=0,r=e.length;n=e}}var c,d,p,f,h,v,g,y,m={},b=!0,x=50;return m.initialize=function(r,o){g=-1;var i=a(r);h instanceof Function&&h(i),e.setDefaultDegreeValue(t(r,o,i));var s=n(i);y instanceof Function?(y(s),s>0&&(e.highlightForDegreeSlider(!0),e.getGraphObject().setFilterWarning(!0))):console.error("No degree setter function set.")},m.filter=function(e,t){c=e,d=t,this.enabled()&&(v instanceof Function?s(v()):console.error("No degree query function set.")),p=c,f=d,0===p.length&&(y(0),p=e,f=t),g=v()},m.setMaxDegreeSetter=function(e){h=e},m.setDegreeGetter=function(e){v=e},m.setDegreeSetter=function(e){y=e},m.enabled=function(e){return arguments.length?(b=e,m):b},m.filteredNodes=function(){return p},m.filteredProperties=function(){return f},m}},function(e,t){e.exports=function(e){var t,n,r,o,a=!0,i={},s=a;return i.filter=function(a,i){t=a,n=i,e.options().scaleNodesByIndividuals(s),r=t,o=n},i.enabled=function(e){return arguments.length?(s=e,i):s},i.reset=function(){s=a},i.filteredNodes=function(){return r},i.filteredProperties=function(){return o},i}},function(e,t,n){var r=n(63)();e.exports=function(){function e(){i=i.filter(t),a=a.filter(n)}function t(e){return!r.isObjectProperty(e)}function n(e){var t=!r.isThing(e),n=o(e,i);return t||n}function o(e,n){for(var r=0;ro?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e,t){var n=typeof e;return t=null==t?r:t,!!t&&("number"==n||"symbol"!=n&&o.test(e))&&e>-1&&e%1==0&&e0&&n(c)?t>1?r(c,t-1,n,i,s):o(s,c):i||(s[s.length]=c)}return s}var o=n(107),a=n(109);e.exports=r},function(e,t,n){function r(e){return i(e)||a(e)||!!(s&&e&&e[s])}var o=n(92),a=n(110),i=n(112),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){var r=n(111),o=n(104),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){function r(e){return a(e)&&o(e)==i}var o=n(91),a=n(104),i="[object Arguments]";e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=c&&(p=u,f=!1,t=new o(t));e:for(;++d-1}var o=n(135);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(135);e.exports=r},function(e,t,n){var r=n(122),o=n(93),a=r(o,"Map");e.exports=a},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(142);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(141);e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return!!n&&o(e,t,0)>-1}var o=n(149);e.exports=r},function(e,t,n){function r(e,t,n){return t===t?i(e,t,n):o(e,a,n)}var o=n(150),a=n(151),i=n(152);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,a=Date.now;e.exports=n},function(e,t,n){function r(e){return a(e)&&o(e)}var o=n(89),a=n(104);e.exports=r},function(e,t,n){var r=n(115),o=n(108),a=n(168),i=n(157),s=n(166),l=n(228),u=i(function(e,t){var n=l(t);return s(n)&&(n=void 0),s(e)?r(e,o(t,1,s,!0),a(n,2)):[]});e.exports=u},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?a(e[0],e[1]):o(e):l(e)}var o=n(169),a=n(211),i=n(158),s=n(112),l=n(225);e.exports=r},function(e,t,n){function r(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(170),a=n(208),i=n(210);e.exports=r},function(e,t,n){function r(e,t,n,r){var l=n.length,u=l,c=!r;if(null==e)return!u;for(e=Object(e);l--;){var d=n[l];if(c&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++lp))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var v=-1,g=!0,y=n&l?new o:void 0;for(c.set(e,t),c.set(t,e);++vi?0:i+n),r=void 0===r||r>i?i:o(r),r<0&&(r+=i),r=n>r?0:a(r);n=t?e:t)),e}e.exports=n},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var l=null==n?0:i(n);return l<0&&(l=s(r+l,0)),o(e,a(t,3),l)}var o=n(150),a=n(168),i=n(100),s=Math.max;e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var u=r-1;return void 0!==n&&(u=i(n),u=n<0?s(r+u,0):l(u,r-1)),o(e,a(t,3),u,!0)}var o=n(150),a=n(168),i=n(100),s=Math.max,l=Math.min;e.exports=r},function(e,t,n){e.exports=n(242)},function(e,t){function n(e){return e&&e.length?e[0]:void 0}e.exports=n},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,1):[]}var o=n(108);e.exports=r},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,a):[]}var o=n(108),a=1/0;e.exports=r},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return n?(t=void 0===t?1:a(t),o(e,t)):[]}var o=n(108),a=n(100);e.exports=r},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r={};++t=120&&y.length>=120)?new o(f&&y):void 0}y=e[0];var m=-1,b=h[0];e:for(;++m-1;)f!==e&&c.call(f,h,1),c.call(e,h,1);return e}var o=n(154),a=n(149),i=n(262),s=n(155),l=n(113),u=Array.prototype,c=u.splice;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=n-1,a=e.length;++ot||i&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!a)return 1;if(!r&&!i&&!c&&e>>1,c=e[u];null!==c&&!i(c)&&(n?c<=t:c>>1;e.exports=r},function(e,t,n){function r(e,t,n,r){t=n(t);for(var a=0,u=null==e?0:e.length,c=t!==t,d=null===t,p=o(t),f=void 0===t;a=c){var g=t?null:l(e);if(g)return u(g);f=!1,d=s,v=new o}else v=t?[]:h;e:for(;++r1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,o(e,n)});e.exports=a},function(e,t,n){(function(t){e.exports=function(e){var n,r={};return r.handle=function(r){if(!t.event.defaultPrevented){var o=!0;n===r&&(o=!1),e instanceof Function&&e(o?r:void 0),n=o?r:void 0}},r.reset=function(){n&&(e(void 0),n=void 0)},r}}).call(t,n(6))},function(e,t,n){var r=n(20);e.exports=function(){function e(){var e=c.filterNodesAndTidy(o,a,t);o=e.nodes,a=e.properties}function t(e){return!(e instanceof r)}var o,a,i,s,l={},u=!1,c=n(76)();return l.filter=function(t,n){o=t,a=n,this.enabled()&&e(),i=o,s=a},l.enabled=function(e){return arguments.length?(u=e,l):u},l.filteredNodes=function(){return i},l.filteredProperties=function(){return s},l}},function(e,t,n){(function(t){var r=n(20),o=n(31),a=n(30),i=n(63)();e.exports=function(){function e(){h=0,v=0,g=0,y=0,m=0,b=0,x=0,E=0}function s(e,t){h=e.length;var r,o,a,i=n(62)();for(r=0,o=t.length;r1)return!1}return!0}function i(e,t){var n,r,o,a=[];for(r=0,o=e.length;r + +406 Not Acceptable + + +

    Not Acceptable

    +

    An appropriate representation of the requested resource could not be found on this server.

    + Available variants: + + \ No newline at end of file diff --git a/dist/vocabulary/implementation/0.1.1/OOPSevaluation/evaluation/bootstrap.css b/dist/vocabulary/implementation/0.1.1/OOPSevaluation/evaluation/bootstrap.css new file mode 100644 index 0000000..b17ff4c --- /dev/null +++ b/dist/vocabulary/implementation/0.1.1/OOPSevaluation/evaluation/bootstrap.css @@ -0,0 +1,7155 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +audio, +canvas, +video { + display: inline-block; +} + +audio:not([controls]) { + display: none; + height: 0; +} + +[hidden], +template { + display: none; +} + +html { + font-family: sans-serif; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +body { + margin: 0; +} + +a { + background: transparent; +} + +a:focus { + outline: thin dotted; +} + +a:active, +a:hover { + outline: 0; +} + +h1 { + margin: 0.67em 0; + font-size: 2em; +} + +abbr[title] { + border-bottom: 1px dotted; +} + +b, +strong { + font-weight: bold; +} + +dfn { + font-style: italic; +} + +hr { + height: 0; + -moz-box-sizing: content-box; + box-sizing: content-box; +} + +mark { + color: #000; + background: #ff0; +} + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +pre { + white-space: pre-wrap; +} + +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} + +small { + font-size: 80%; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +img { + border: 0; +} + +svg:not(:root) { + overflow: hidden; +} + +figure { + margin: 0; +} + +fieldset { + padding: 0.35em 0.625em 0.75em; + margin: 0 2px; + border: 1px solid #c0c0c0; +} + +legend { + padding: 0; + border: 0; +} + +button, +input, +select, +textarea { + margin: 0; + font-family: inherit; + font-size: 100%; +} + +button, +input { + line-height: normal; +} + +button, +select { + text-transform: none; +} + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + cursor: pointer; + -webkit-appearance: button; +} + +button[disabled], +html input[disabled] { + cursor: default; +} + +input[type="checkbox"], +input[type="radio"] { + padding: 0; + box-sizing: border-box; +} + +input[type="search"] { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + -webkit-appearance: textfield; +} + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; +} + +textarea { + overflow: auto; + vertical-align: top; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +@media print { + * { + color: #000 !important; + text-shadow: none !important; + background: transparent !important; + box-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + a[href^="javascript:"]:after, + a[href^="#"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + @page { + margin: 2cm .5cm; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + select { + background: #fff !important; + } + .navbar { + display: none; + } + .table td, + .table th { + background-color: #fff !important; + } + .btn > .caret, + .dropup > .btn > .caret { + border-top-color: #000 !important; + } + .label { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #ddd !important; + } +} + +*, +*:before, +*:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +html { + font-size: 62.5%; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +body { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 1.428571429; + color: #333333; + background-color: #ffffff; +} + +input, +button, +select, +textarea { + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +a { + color: #428bca; + text-decoration: none; +} + +a:hover, +a:focus { + color: #2a6496; + text-decoration: underline; +} + +a:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +img { + vertical-align: middle; +} + +.img-responsive { + display: block; + height: auto; + max-width: 100%; +} + +.img-rounded { + border-radius: 6px; +} + +.img-thumbnail { + display: inline-block; + height: auto; + max-width: 100%; + padding: 4px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.img-circle { + border-radius: 50%; +} + +hr { + margin-top: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid #eeeeee; +} + +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} + +h1, +h2, +h3, +h4, +h5, +h6, +.h1, +.h2, +.h3, +.h4, +.h5, +.h6 { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 500; + line-height: 1.1; + color: inherit; +} + +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small, +.h1 small, +.h2 small, +.h3 small, +.h4 small, +.h5 small, +.h6 small, +h1 .small, +h2 .small, +h3 .small, +h4 .small, +h5 .small, +h6 .small, +.h1 .small, +.h2 .small, +.h3 .small, +.h4 .small, +.h5 .small, +.h6 .small { + font-weight: normal; + line-height: 1; + color: #999999; +} + +h1, +h2, +h3 { + margin-top: 20px; + margin-bottom: 10px; +} + +h1 small, +h2 small, +h3 small, +h1 .small, +h2 .small, +h3 .small { + font-size: 65%; +} + +h4, +h5, +h6 { + margin-top: 10px; + margin-bottom: 10px; +} + +h4 small, +h5 small, +h6 small, +h4 .small, +h5 .small, +h6 .small { + font-size: 75%; +} + +h1, +.h1 { + font-size: 36px; +} + +h2, +.h2 { + font-size: 30px; +} + +h3, +.h3 { + font-size: 24px; +} + +h4, +.h4 { + font-size: 18px; +} + +h5, +.h5 { + font-size: 14px; +} + +h6, +.h6 { + font-size: 12px; +} + +p { + margin: 0 0 10px; +} + +.lead { + margin-bottom: 20px; + font-size: 16px; + font-weight: 200; + line-height: 1.4; +} + +@media (min-width: 768px) { + .lead { + font-size: 21px; + } +} + +small, +.small { + font-size: 85%; +} + +cite { + font-style: normal; +} + +.text-muted { + color: #999999; +} + +.text-primary { + color: #428bca; +} + +.text-primary:hover { + color: #3071a9; +} + +.text-warning { + color: #8a6d3b; +} + +.text-warning:hover { + color: #66512c; +} + +.text-danger { + color: #a94442; +} + +.text-danger:hover { + color: #843534; +} + +.text-success { + color: #3c763d; +} + +.text-success:hover { + color: #2b542c; +} + +.text-info { + color: #31708f; +} + +.text-info:hover { + color: #245269; +} + +.text-left { + text-align: left; +} + +.text-right { + text-align: right; +} + +.text-center { + text-align: center; +} + +.page-header { + padding-bottom: 9px; + margin: 40px 0 20px; + border-bottom: 1px solid #eeeeee; +} + +ul, +ol { + margin-top: 0; + margin-bottom: 10px; +} + +ul ul, +ol ul, +ul ol, +ol ol { + margin-bottom: 0; +} + +.list-unstyled { + padding-left: 0; + list-style: none; +} + +.list-inline { + padding-left: 0; + list-style: none; +} + +.list-inline > li { + display: inline-block; + padding-right: 5px; + padding-left: 5px; +} + +.list-inline > li:first-child { + padding-left: 0; +} + +dl { + margin-top: 0; + margin-bottom: 20px; +} + +dt, +dd { + line-height: 1.428571429; +} + +dt { + font-weight: bold; +} + +dd { + margin-left: 0; +} + +@media (min-width: 768px) { + .dl-horizontal dt { + float: left; + width: 160px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; + } + .dl-horizontal dd { + margin-left: 180px; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } +} + +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #999999; +} + +.initialism { + font-size: 90%; + text-transform: uppercase; +} + +blockquote { + padding: 10px 20px; + margin: 0 0 20px; + border-left: 5px solid #eeeeee; +} + +blockquote p { + font-size: 17.5px; + font-weight: 300; + line-height: 1.25; +} + +blockquote p:last-child { + margin-bottom: 0; +} + +blockquote small, +blockquote .small { + display: block; + line-height: 1.428571429; + color: #999999; +} + +blockquote small:before, +blockquote .small:before { + content: '\2014 \00A0'; +} + +blockquote.pull-right { + padding-right: 15px; + padding-left: 0; + border-right: 5px solid #eeeeee; + border-left: 0; +} + +blockquote.pull-right p, +blockquote.pull-right small, +blockquote.pull-right .small { + text-align: right; +} + +blockquote.pull-right small:before, +blockquote.pull-right .small:before { + content: ''; +} + +blockquote.pull-right small:after, +blockquote.pull-right .small:after { + content: '\00A0 \2014'; +} + +blockquote:before, +blockquote:after { + content: ""; +} + +address { + margin-bottom: 20px; + font-style: normal; + line-height: 1.428571429; +} + +code, +kbd, +pre, +samp { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; +} + +code { + padding: 2px 4px; + font-size: 90%; + color: #c7254e; + white-space: nowrap; + background-color: #f9f2f4; + border-radius: 4px; +} + +pre { + display: block; + padding: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 1.428571429; + color: #333333; + word-break: break-all; + word-wrap: break-word; + background-color: #f5f5f5; + border: 1px solid #cccccc; + border-radius: 4px; +} + +pre code { + padding: 0; + font-size: inherit; + color: inherit; + white-space: pre-wrap; + background-color: transparent; + border-radius: 0; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +.container { + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +@media (min-width: 768px) { + .container { + width: 750px; + } +} + +@media (min-width: 992px) { + .container { + width: 970px; + } +} + +@media (min-width: 1200px) { + .container { + width: 1170px; + } +} + +.row { + margin-right: -15px; + margin-left: -15px; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.col-xs-1, +.col-sm-1, +.col-md-1, +.col-lg-1, +.col-xs-2, +.col-sm-2, +.col-md-2, +.col-lg-2, +.col-xs-3, +.col-sm-3, +.col-md-3, +.col-lg-3, +.col-xs-4, +.col-sm-4, +.col-md-4, +.col-lg-4, +.col-xs-5, +.col-sm-5, +.col-md-5, +.col-lg-5, +.col-xs-6, +.col-sm-6, +.col-md-6, +.col-lg-6, +.col-xs-7, +.col-sm-7, +.col-md-7, +.col-lg-7, +.col-xs-8, +.col-sm-8, +.col-md-8, +.col-lg-8, +.col-xs-9, +.col-sm-9, +.col-md-9, +.col-lg-9, +.col-xs-10, +.col-sm-10, +.col-md-10, +.col-lg-10, +.col-xs-11, +.col-sm-11, +.col-md-11, +.col-lg-11, +.col-xs-12, +.col-sm-12, +.col-md-12, +.col-lg-12 { + position: relative; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; +} + +.col-xs-1, +.col-xs-2, +.col-xs-3, +.col-xs-4, +.col-xs-5, +.col-xs-6, +.col-xs-7, +.col-xs-8, +.col-xs-9, +.col-xs-10, +.col-xs-11, +.col-xs-12 { + float: left; +} + +.col-xs-12 { + width: 100%; +} + +.col-xs-11 { + width: 91.66666666666666%; +} + +.col-xs-10 { + width: 83.33333333333334%; +} + +.col-xs-9 { + width: 75%; +} + +.col-xs-8 { + width: 66.66666666666666%; +} + +.col-xs-7 { + width: 58.333333333333336%; +} + +.col-xs-6 { + width: 50%; +} + +.col-xs-5 { + width: 41.66666666666667%; +} + +.col-xs-4 { + width: 33.33333333333333%; +} + +.col-xs-3 { + width: 25%; +} + +.col-xs-2 { + width: 16.666666666666664%; +} + +.col-xs-1 { + width: 8.333333333333332%; +} + +.col-xs-pull-12 { + right: 100%; +} + +.col-xs-pull-11 { + right: 91.66666666666666%; +} + +.col-xs-pull-10 { + right: 83.33333333333334%; +} + +.col-xs-pull-9 { + right: 75%; +} + +.col-xs-pull-8 { + right: 66.66666666666666%; +} + +.col-xs-pull-7 { + right: 58.333333333333336%; +} + +.col-xs-pull-6 { + right: 50%; +} + +.col-xs-pull-5 { + right: 41.66666666666667%; +} + +.col-xs-pull-4 { + right: 33.33333333333333%; +} + +.col-xs-pull-3 { + right: 25%; +} + +.col-xs-pull-2 { + right: 16.666666666666664%; +} + +.col-xs-pull-1 { + right: 8.333333333333332%; +} + +.col-xs-pull-0 { + right: 0; +} + +.col-xs-push-12 { + left: 100%; +} + +.col-xs-push-11 { + left: 91.66666666666666%; +} + +.col-xs-push-10 { + left: 83.33333333333334%; +} + +.col-xs-push-9 { + left: 75%; +} + +.col-xs-push-8 { + left: 66.66666666666666%; +} + +.col-xs-push-7 { + left: 58.333333333333336%; +} + +.col-xs-push-6 { + left: 50%; +} + +.col-xs-push-5 { + left: 41.66666666666667%; +} + +.col-xs-push-4 { + left: 33.33333333333333%; +} + +.col-xs-push-3 { + left: 25%; +} + +.col-xs-push-2 { + left: 16.666666666666664%; +} + +.col-xs-push-1 { + left: 8.333333333333332%; +} + +.col-xs-push-0 { + left: 0; +} + +.col-xs-offset-12 { + margin-left: 100%; +} + +.col-xs-offset-11 { + margin-left: 91.66666666666666%; +} + +.col-xs-offset-10 { + margin-left: 83.33333333333334%; +} + +.col-xs-offset-9 { + margin-left: 75%; +} + +.col-xs-offset-8 { + margin-left: 66.66666666666666%; +} + +.col-xs-offset-7 { + margin-left: 58.333333333333336%; +} + +.col-xs-offset-6 { + margin-left: 50%; +} + +.col-xs-offset-5 { + margin-left: 41.66666666666667%; +} + +.col-xs-offset-4 { + margin-left: 33.33333333333333%; +} + +.col-xs-offset-3 { + margin-left: 25%; +} + +.col-xs-offset-2 { + margin-left: 16.666666666666664%; +} + +.col-xs-offset-1 { + margin-left: 8.333333333333332%; +} + +.col-xs-offset-0 { + margin-left: 0; +} + +@media (min-width: 768px) { + .col-sm-1, + .col-sm-2, + .col-sm-3, + .col-sm-4, + .col-sm-5, + .col-sm-6, + .col-sm-7, + .col-sm-8, + .col-sm-9, + .col-sm-10, + .col-sm-11, + .col-sm-12 { + float: left; + } + .col-sm-12 { + width: 100%; + } + .col-sm-11 { + width: 91.66666666666666%; + } + .col-sm-10 { + width: 83.33333333333334%; + } + .col-sm-9 { + width: 75%; + } + .col-sm-8 { + width: 66.66666666666666%; + } + .col-sm-7 { + width: 58.333333333333336%; + } + .col-sm-6 { + width: 50%; + } + .col-sm-5 { + width: 41.66666666666667%; + } + .col-sm-4 { + width: 33.33333333333333%; + } + .col-sm-3 { + width: 25%; + } + .col-sm-2 { + width: 16.666666666666664%; + } + .col-sm-1 { + width: 8.333333333333332%; + } + .col-sm-pull-12 { + right: 100%; + } + .col-sm-pull-11 { + right: 91.66666666666666%; + } + .col-sm-pull-10 { + right: 83.33333333333334%; + } + .col-sm-pull-9 { + right: 75%; + } + .col-sm-pull-8 { + right: 66.66666666666666%; + } + .col-sm-pull-7 { + right: 58.333333333333336%; + } + .col-sm-pull-6 { + right: 50%; + } + .col-sm-pull-5 { + right: 41.66666666666667%; + } + .col-sm-pull-4 { + right: 33.33333333333333%; + } + .col-sm-pull-3 { + right: 25%; + } + .col-sm-pull-2 { + right: 16.666666666666664%; + } + .col-sm-pull-1 { + right: 8.333333333333332%; + } + .col-sm-pull-0 { + right: 0; + } + .col-sm-push-12 { + left: 100%; + } + .col-sm-push-11 { + left: 91.66666666666666%; + } + .col-sm-push-10 { + left: 83.33333333333334%; + } + .col-sm-push-9 { + left: 75%; + } + .col-sm-push-8 { + left: 66.66666666666666%; + } + .col-sm-push-7 { + left: 58.333333333333336%; + } + .col-sm-push-6 { + left: 50%; + } + .col-sm-push-5 { + left: 41.66666666666667%; + } + .col-sm-push-4 { + left: 33.33333333333333%; + } + .col-sm-push-3 { + left: 25%; + } + .col-sm-push-2 { + left: 16.666666666666664%; + } + .col-sm-push-1 { + left: 8.333333333333332%; + } + .col-sm-push-0 { + left: 0; + } + .col-sm-offset-12 { + margin-left: 100%; + } + .col-sm-offset-11 { + margin-left: 91.66666666666666%; + } + .col-sm-offset-10 { + margin-left: 83.33333333333334%; + } + .col-sm-offset-9 { + margin-left: 75%; + } + .col-sm-offset-8 { + margin-left: 66.66666666666666%; + } + .col-sm-offset-7 { + margin-left: 58.333333333333336%; + } + .col-sm-offset-6 { + margin-left: 50%; + } + .col-sm-offset-5 { + margin-left: 41.66666666666667%; + } + .col-sm-offset-4 { + margin-left: 33.33333333333333%; + } + .col-sm-offset-3 { + margin-left: 25%; + } + .col-sm-offset-2 { + margin-left: 16.666666666666664%; + } + .col-sm-offset-1 { + margin-left: 8.333333333333332%; + } + .col-sm-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 992px) { + .col-md-1, + .col-md-2, + .col-md-3, + .col-md-4, + .col-md-5, + .col-md-6, + .col-md-7, + .col-md-8, + .col-md-9, + .col-md-10, + .col-md-11, + .col-md-12 { + float: left; + } + .col-md-12 { + width: 100%; + } + .col-md-11 { + width: 91.66666666666666%; + } + .col-md-10 { + width: 83.33333333333334%; + } + .col-md-9 { + width: 75%; + } + .col-md-8 { + width: 66.66666666666666%; + } + .col-md-7 { + width: 58.333333333333336%; + } + .col-md-6 { + width: 50%; + } + .col-md-5 { + width: 41.66666666666667%; + } + .col-md-4 { + width: 33.33333333333333%; + } + .col-md-3 { + width: 25%; + } + .col-md-2 { + width: 16.666666666666664%; + } + .col-md-1 { + width: 8.333333333333332%; + } + .col-md-pull-12 { + right: 100%; + } + .col-md-pull-11 { + right: 91.66666666666666%; + } + .col-md-pull-10 { + right: 83.33333333333334%; + } + .col-md-pull-9 { + right: 75%; + } + .col-md-pull-8 { + right: 66.66666666666666%; + } + .col-md-pull-7 { + right: 58.333333333333336%; + } + .col-md-pull-6 { + right: 50%; + } + .col-md-pull-5 { + right: 41.66666666666667%; + } + .col-md-pull-4 { + right: 33.33333333333333%; + } + .col-md-pull-3 { + right: 25%; + } + .col-md-pull-2 { + right: 16.666666666666664%; + } + .col-md-pull-1 { + right: 8.333333333333332%; + } + .col-md-pull-0 { + right: 0; + } + .col-md-push-12 { + left: 100%; + } + .col-md-push-11 { + left: 91.66666666666666%; + } + .col-md-push-10 { + left: 83.33333333333334%; + } + .col-md-push-9 { + left: 75%; + } + .col-md-push-8 { + left: 66.66666666666666%; + } + .col-md-push-7 { + left: 58.333333333333336%; + } + .col-md-push-6 { + left: 50%; + } + .col-md-push-5 { + left: 41.66666666666667%; + } + .col-md-push-4 { + left: 33.33333333333333%; + } + .col-md-push-3 { + left: 25%; + } + .col-md-push-2 { + left: 16.666666666666664%; + } + .col-md-push-1 { + left: 8.333333333333332%; + } + .col-md-push-0 { + left: 0; + } + .col-md-offset-12 { + margin-left: 100%; + } + .col-md-offset-11 { + margin-left: 91.66666666666666%; + } + .col-md-offset-10 { + margin-left: 83.33333333333334%; + } + .col-md-offset-9 { + margin-left: 75%; + } + .col-md-offset-8 { + margin-left: 66.66666666666666%; + } + .col-md-offset-7 { + margin-left: 58.333333333333336%; + } + .col-md-offset-6 { + margin-left: 50%; + } + .col-md-offset-5 { + margin-left: 41.66666666666667%; + } + .col-md-offset-4 { + margin-left: 33.33333333333333%; + } + .col-md-offset-3 { + margin-left: 25%; + } + .col-md-offset-2 { + margin-left: 16.666666666666664%; + } + .col-md-offset-1 { + margin-left: 8.333333333333332%; + } + .col-md-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 1200px) { + .col-lg-1, + .col-lg-2, + .col-lg-3, + .col-lg-4, + .col-lg-5, + .col-lg-6, + .col-lg-7, + .col-lg-8, + .col-lg-9, + .col-lg-10, + .col-lg-11, + .col-lg-12 { + float: left; + } + .col-lg-12 { + width: 100%; + } + .col-lg-11 { + width: 91.66666666666666%; + } + .col-lg-10 { + width: 83.33333333333334%; + } + .col-lg-9 { + width: 75%; + } + .col-lg-8 { + width: 66.66666666666666%; + } + .col-lg-7 { + width: 58.333333333333336%; + } + .col-lg-6 { + width: 50%; + } + .col-lg-5 { + width: 41.66666666666667%; + } + .col-lg-4 { + width: 33.33333333333333%; + } + .col-lg-3 { + width: 25%; + } + .col-lg-2 { + width: 16.666666666666664%; + } + .col-lg-1 { + width: 8.333333333333332%; + } + .col-lg-pull-12 { + right: 100%; + } + .col-lg-pull-11 { + right: 91.66666666666666%; + } + .col-lg-pull-10 { + right: 83.33333333333334%; + } + .col-lg-pull-9 { + right: 75%; + } + .col-lg-pull-8 { + right: 66.66666666666666%; + } + .col-lg-pull-7 { + right: 58.333333333333336%; + } + .col-lg-pull-6 { + right: 50%; + } + .col-lg-pull-5 { + right: 41.66666666666667%; + } + .col-lg-pull-4 { + right: 33.33333333333333%; + } + .col-lg-pull-3 { + right: 25%; + } + .col-lg-pull-2 { + right: 16.666666666666664%; + } + .col-lg-pull-1 { + right: 8.333333333333332%; + } + .col-lg-pull-0 { + right: 0; + } + .col-lg-push-12 { + left: 100%; + } + .col-lg-push-11 { + left: 91.66666666666666%; + } + .col-lg-push-10 { + left: 83.33333333333334%; + } + .col-lg-push-9 { + left: 75%; + } + .col-lg-push-8 { + left: 66.66666666666666%; + } + .col-lg-push-7 { + left: 58.333333333333336%; + } + .col-lg-push-6 { + left: 50%; + } + .col-lg-push-5 { + left: 41.66666666666667%; + } + .col-lg-push-4 { + left: 33.33333333333333%; + } + .col-lg-push-3 { + left: 25%; + } + .col-lg-push-2 { + left: 16.666666666666664%; + } + .col-lg-push-1 { + left: 8.333333333333332%; + } + .col-lg-push-0 { + left: 0; + } + .col-lg-offset-12 { + margin-left: 100%; + } + .col-lg-offset-11 { + margin-left: 91.66666666666666%; + } + .col-lg-offset-10 { + margin-left: 83.33333333333334%; + } + .col-lg-offset-9 { + margin-left: 75%; + } + .col-lg-offset-8 { + margin-left: 66.66666666666666%; + } + .col-lg-offset-7 { + margin-left: 58.333333333333336%; + } + .col-lg-offset-6 { + margin-left: 50%; + } + .col-lg-offset-5 { + margin-left: 41.66666666666667%; + } + .col-lg-offset-4 { + margin-left: 33.33333333333333%; + } + .col-lg-offset-3 { + margin-left: 25%; + } + .col-lg-offset-2 { + margin-left: 16.666666666666664%; + } + .col-lg-offset-1 { + margin-left: 8.333333333333332%; + } + .col-lg-offset-0 { + margin-left: 0; + } +} + +table { + max-width: 100%; + background-color: transparent; +} + +th { + text-align: left; +} + +.table { + width: 100%; + margin-bottom: 20px; +} + +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + padding: 8px; + line-height: 1.428571429; + vertical-align: top; + border-top: 1px solid #dddddd; +} + +.table > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #dddddd; +} + +.table > caption + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > th, +.table > thead:first-child > tr:first-child > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > td { + border-top: 0; +} + +.table > tbody + tbody { + border-top: 2px solid #dddddd; +} + +.table .table { + background-color: #ffffff; +} + +.table-condensed > thead > tr > th, +.table-condensed > tbody > tr > th, +.table-condensed > tfoot > tr > th, +.table-condensed > thead > tr > td, +.table-condensed > tbody > tr > td, +.table-condensed > tfoot > tr > td { + padding: 5px; +} + +.table-bordered { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > tbody > tr > th, +.table-bordered > tfoot > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > td { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td { + border-bottom-width: 2px; +} + +.table-striped > tbody > tr:nth-child(odd) > td, +.table-striped > tbody > tr:nth-child(odd) > th { + background-color: #f9f9f9; +} + +.table-hover > tbody > tr:hover > td, +.table-hover > tbody > tr:hover > th { + background-color: #f5f5f5; +} + +table col[class*="col-"] { + position: static; + display: table-column; + float: none; +} + +table td[class*="col-"], +table th[class*="col-"] { + display: table-cell; + float: none; +} + +.table > thead > tr > .active, +.table > tbody > tr > .active, +.table > tfoot > tr > .active, +.table > thead > .active > td, +.table > tbody > .active > td, +.table > tfoot > .active > td, +.table > thead > .active > th, +.table > tbody > .active > th, +.table > tfoot > .active > th { + background-color: #f5f5f5; +} + +.table-hover > tbody > tr > .active:hover, +.table-hover > tbody > .active:hover > td, +.table-hover > tbody > .active:hover > th { + background-color: #e8e8e8; +} + +.table > thead > tr > .success, +.table > tbody > tr > .success, +.table > tfoot > tr > .success, +.table > thead > .success > td, +.table > tbody > .success > td, +.table > tfoot > .success > td, +.table > thead > .success > th, +.table > tbody > .success > th, +.table > tfoot > .success > th { + background-color: #dff0d8; +} + +.table-hover > tbody > tr > .success:hover, +.table-hover > tbody > .success:hover > td, +.table-hover > tbody > .success:hover > th { + background-color: #d0e9c6; +} + +.table > thead > tr > .danger, +.table > tbody > tr > .danger, +.table > tfoot > tr > .danger, +.table > thead > .danger > td, +.table > tbody > .danger > td, +.table > tfoot > .danger > td, +.table > thead > .danger > th, +.table > tbody > .danger > th, +.table > tfoot > .danger > th { + background-color: #f2dede; +} + +.table-hover > tbody > tr > .danger:hover, +.table-hover > tbody > .danger:hover > td, +.table-hover > tbody > .danger:hover > th { + background-color: #ebcccc; +} + +.table > thead > tr > .warning, +.table > tbody > tr > .warning, +.table > tfoot > tr > .warning, +.table > thead > .warning > td, +.table > tbody > .warning > td, +.table > tfoot > .warning > td, +.table > thead > .warning > th, +.table > tbody > .warning > th, +.table > tfoot > .warning > th { + background-color: #fcf8e3; +} + +.table-hover > tbody > tr > .warning:hover, +.table-hover > tbody > .warning:hover > td, +.table-hover > tbody > .warning:hover > th { + background-color: #faf2cc; +} + +@media (max-width: 767px) { + .table-responsive { + width: 100%; + margin-bottom: 15px; + overflow-x: scroll; + overflow-y: hidden; + border: 1px solid #dddddd; + -ms-overflow-style: -ms-autohiding-scrollbar; + -webkit-overflow-scrolling: touch; + } + .table-responsive > .table { + margin-bottom: 0; + } + .table-responsive > .table > thead > tr > th, + .table-responsive > .table > tbody > tr > th, + .table-responsive > .table > tfoot > tr > th, + .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > td { + white-space: nowrap; + } + .table-responsive > .table-bordered { + border: 0; + } + .table-responsive > .table-bordered > thead > tr > th:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, + .table-responsive > .table-bordered > tfoot > tr > th:first-child, + .table-responsive > .table-bordered > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; + } + .table-responsive > .table-bordered > thead > tr > th:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, + .table-responsive > .table-bordered > tfoot > tr > th:last-child, + .table-responsive > .table-bordered > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; + } + .table-responsive > .table-bordered > tbody > tr:last-child > th, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, + .table-responsive > .table-bordered > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; + } +} + +fieldset { + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: inherit; + color: #333333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} + +label { + display: inline-block; + margin-bottom: 5px; + font-weight: bold; +} + +input[type="search"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + /* IE8-9 */ + + line-height: normal; +} + +input[type="file"] { + display: block; +} + +select[multiple], +select[size] { + height: auto; +} + +select optgroup { + font-family: inherit; + font-size: inherit; + font-style: inherit; +} + +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +input[type="number"]::-webkit-outer-spin-button, +input[type="number"]::-webkit-inner-spin-button { + height: auto; +} + +output { + display: block; + padding-top: 7px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; +} + +.form-control { + display: block; + width: 100%; + height: 34px; + padding: 6px 12px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; + background-color: #ffffff; + background-image: none; + border: 1px solid #cccccc; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; +} + +.form-control:focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); +} + +.form-control:-moz-placeholder { + color: #999999; +} + +.form-control::-moz-placeholder { + color: #999999; + opacity: 1; +} + +.form-control:-ms-input-placeholder { + color: #999999; +} + +.form-control::-webkit-input-placeholder { + color: #999999; +} + +.form-control[disabled], +.form-control[readonly], +fieldset[disabled] .form-control { + cursor: not-allowed; + background-color: #eeeeee; +} + +textarea.form-control { + height: auto; +} + +.form-group { + margin-bottom: 15px; +} + +.radio, +.checkbox { + display: block; + min-height: 20px; + padding-left: 20px; + margin-top: 10px; + margin-bottom: 10px; + vertical-align: middle; +} + +.radio label, +.checkbox label { + display: inline; + margin-bottom: 0; + font-weight: normal; + cursor: pointer; +} + +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + float: left; + margin-left: -20px; +} + +.radio + .radio, +.checkbox + .checkbox { + margin-top: -5px; +} + +.radio-inline, +.checkbox-inline { + display: inline-block; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + vertical-align: middle; + cursor: pointer; +} + +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; +} + +input[type="radio"][disabled], +input[type="checkbox"][disabled], +.radio[disabled], +.radio-inline[disabled], +.checkbox[disabled], +.checkbox-inline[disabled], +fieldset[disabled] input[type="radio"], +fieldset[disabled] input[type="checkbox"], +fieldset[disabled] .radio, +fieldset[disabled] .radio-inline, +fieldset[disabled] .checkbox, +fieldset[disabled] .checkbox-inline { + cursor: not-allowed; +} + +.input-sm { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-sm { + height: 30px; + line-height: 30px; +} + +textarea.input-sm { + height: auto; +} + +.input-lg { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-lg { + height: 46px; + line-height: 46px; +} + +textarea.input-lg { + height: auto; +} + +.has-warning .help-block, +.has-warning .control-label, +.has-warning .radio, +.has-warning .checkbox, +.has-warning .radio-inline, +.has-warning .checkbox-inline { + color: #8a6d3b; +} + +.has-warning .form-control { + border-color: #8a6d3b; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-warning .form-control:focus { + border-color: #66512c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; +} + +.has-warning .input-group-addon { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #8a6d3b; +} + +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline { + color: #a94442; +} + +.has-error .form-control { + border-color: #a94442; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-error .form-control:focus { + border-color: #843534; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; +} + +.has-error .input-group-addon { + color: #a94442; + background-color: #f2dede; + border-color: #a94442; +} + +.has-success .help-block, +.has-success .control-label, +.has-success .radio, +.has-success .checkbox, +.has-success .radio-inline, +.has-success .checkbox-inline { + color: #3c763d; +} + +.has-success .form-control { + border-color: #3c763d; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-success .form-control:focus { + border-color: #2b542c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; +} + +.has-success .input-group-addon { + color: #3c763d; + background-color: #dff0d8; + border-color: #3c763d; +} + +.form-control-static { + margin-bottom: 0; +} + +.help-block { + display: block; + margin-top: 5px; + margin-bottom: 10px; + color: #737373; +} + +@media (min-width: 768px) { + .form-inline .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .form-control { + display: inline-block; + } + .form-inline select.form-control { + width: auto; + } + .form-inline .radio, + .form-inline .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .form-inline .radio input[type="radio"], + .form-inline .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +.form-horizontal .control-label, +.form-horizontal .radio, +.form-horizontal .checkbox, +.form-horizontal .radio-inline, +.form-horizontal .checkbox-inline { + padding-top: 7px; + margin-top: 0; + margin-bottom: 0; +} + +.form-horizontal .radio, +.form-horizontal .checkbox { + min-height: 27px; +} + +.form-horizontal .form-group { + margin-right: -15px; + margin-left: -15px; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-control-static { + padding-top: 7px; +} + +@media (min-width: 768px) { + .form-horizontal .control-label { + text-align: right; + } +} + +.btn { + display: inline-block; + padding: 6px 12px; + margin-bottom: 0; + font-size: 14px; + font-weight: normal; + line-height: 1.428571429; + text-align: center; + white-space: nowrap; + vertical-align: middle; + cursor: pointer; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; +} + +.btn:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +.btn:hover, +.btn:focus { + color: #333333; + text-decoration: none; +} + +.btn:active, +.btn.active { + background-image: none; + outline: 0; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn.disabled, +.btn[disabled], +fieldset[disabled] .btn { + pointer-events: none; + cursor: not-allowed; + opacity: 0.65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-default { + color: #333333; + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default:hover, +.btn-default:focus, +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + color: #333333; + background-color: #ebebeb; + border-color: #adadad; +} + +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + background-image: none; +} + +.btn-default.disabled, +.btn-default[disabled], +fieldset[disabled] .btn-default, +.btn-default.disabled:hover, +.btn-default[disabled]:hover, +fieldset[disabled] .btn-default:hover, +.btn-default.disabled:focus, +.btn-default[disabled]:focus, +fieldset[disabled] .btn-default:focus, +.btn-default.disabled:active, +.btn-default[disabled]:active, +fieldset[disabled] .btn-default:active, +.btn-default.disabled.active, +.btn-default[disabled].active, +fieldset[disabled] .btn-default.active { + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default .badge { + color: #ffffff; + background-color: #fff; +} + +.btn-primary { + color: #ffffff; + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary:hover, +.btn-primary:focus, +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + color: #ffffff; + background-color: #3276b1; + border-color: #285e8e; +} + +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + background-image: none; +} + +.btn-primary.disabled, +.btn-primary[disabled], +fieldset[disabled] .btn-primary, +.btn-primary.disabled:hover, +.btn-primary[disabled]:hover, +fieldset[disabled] .btn-primary:hover, +.btn-primary.disabled:focus, +.btn-primary[disabled]:focus, +fieldset[disabled] .btn-primary:focus, +.btn-primary.disabled:active, +.btn-primary[disabled]:active, +fieldset[disabled] .btn-primary:active, +.btn-primary.disabled.active, +.btn-primary[disabled].active, +fieldset[disabled] .btn-primary.active { + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary .badge { + color: #428bca; + background-color: #fff; +} + +.btn-warning { + color: #ffffff; + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning:hover, +.btn-warning:focus, +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + color: #ffffff; + background-color: #ed9c28; + border-color: #d58512; +} + +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + background-image: none; +} + +.btn-warning.disabled, +.btn-warning[disabled], +fieldset[disabled] .btn-warning, +.btn-warning.disabled:hover, +.btn-warning[disabled]:hover, +fieldset[disabled] .btn-warning:hover, +.btn-warning.disabled:focus, +.btn-warning[disabled]:focus, +fieldset[disabled] .btn-warning:focus, +.btn-warning.disabled:active, +.btn-warning[disabled]:active, +fieldset[disabled] .btn-warning:active, +.btn-warning.disabled.active, +.btn-warning[disabled].active, +fieldset[disabled] .btn-warning.active { + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning .badge { + color: #f0ad4e; + background-color: #fff; +} + +.btn-danger { + color: #ffffff; + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger:hover, +.btn-danger:focus, +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + color: #ffffff; + background-color: #d2322d; + border-color: #ac2925; +} + +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + background-image: none; +} + +.btn-danger.disabled, +.btn-danger[disabled], +fieldset[disabled] .btn-danger, +.btn-danger.disabled:hover, +.btn-danger[disabled]:hover, +fieldset[disabled] .btn-danger:hover, +.btn-danger.disabled:focus, +.btn-danger[disabled]:focus, +fieldset[disabled] .btn-danger:focus, +.btn-danger.disabled:active, +.btn-danger[disabled]:active, +fieldset[disabled] .btn-danger:active, +.btn-danger.disabled.active, +.btn-danger[disabled].active, +fieldset[disabled] .btn-danger.active { + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger .badge { + color: #d9534f; + background-color: #fff; +} + +.btn-success { + color: #ffffff; + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success:hover, +.btn-success:focus, +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + color: #ffffff; + background-color: #47a447; + border-color: #398439; +} + +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + background-image: none; +} + +.btn-success.disabled, +.btn-success[disabled], +fieldset[disabled] .btn-success, +.btn-success.disabled:hover, +.btn-success[disabled]:hover, +fieldset[disabled] .btn-success:hover, +.btn-success.disabled:focus, +.btn-success[disabled]:focus, +fieldset[disabled] .btn-success:focus, +.btn-success.disabled:active, +.btn-success[disabled]:active, +fieldset[disabled] .btn-success:active, +.btn-success.disabled.active, +.btn-success[disabled].active, +fieldset[disabled] .btn-success.active { + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success .badge { + color: #5cb85c; + background-color: #fff; +} + +.btn-info { + color: #ffffff; + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info:hover, +.btn-info:focus, +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + color: #ffffff; + background-color: #39b3d7; + border-color: #269abc; +} + +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + background-image: none; +} + +.btn-info.disabled, +.btn-info[disabled], +fieldset[disabled] .btn-info, +.btn-info.disabled:hover, +.btn-info[disabled]:hover, +fieldset[disabled] .btn-info:hover, +.btn-info.disabled:focus, +.btn-info[disabled]:focus, +fieldset[disabled] .btn-info:focus, +.btn-info.disabled:active, +.btn-info[disabled]:active, +fieldset[disabled] .btn-info:active, +.btn-info.disabled.active, +.btn-info[disabled].active, +fieldset[disabled] .btn-info.active { + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info .badge { + color: #5bc0de; + background-color: #fff; +} + +.btn-link { + font-weight: normal; + color: #428bca; + cursor: pointer; + border-radius: 0; +} + +.btn-link, +.btn-link:active, +.btn-link[disabled], +fieldset[disabled] .btn-link { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-link, +.btn-link:hover, +.btn-link:focus, +.btn-link:active { + border-color: transparent; +} + +.btn-link:hover, +.btn-link:focus { + color: #2a6496; + text-decoration: underline; + background-color: transparent; +} + +.btn-link[disabled]:hover, +fieldset[disabled] .btn-link:hover, +.btn-link[disabled]:focus, +fieldset[disabled] .btn-link:focus { + color: #999999; + text-decoration: none; +} + +.btn-lg { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-sm { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-xs { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-block { + display: block; + width: 100%; + padding-right: 0; + padding-left: 0; +} + +.btn-block + .btn-block { + margin-top: 5px; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.fade { + opacity: 0; + -webkit-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} + +.fade.in { + opacity: 1; +} + +.collapse { + display: none; +} + +.collapse.in { + display: block; +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition: height 0.35s ease; + transition: height 0.35s ease; +} + +@font-face { + font-family: 'Glyphicons Halflings'; + src: url('../fonts/glyphicons-halflings-regular.eot'); + src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg'); +} + +.glyphicon { + position: relative; + top: 1px; + display: inline-block; + font-family: 'Glyphicons Halflings'; + -webkit-font-smoothing: antialiased; + font-style: normal; + font-weight: normal; + line-height: 1; + -moz-osx-font-smoothing: grayscale; +} + +.glyphicon:empty { + width: 1em; +} + +.glyphicon-asterisk:before { + content: "\2a"; +} + +.glyphicon-plus:before { + content: "\2b"; +} + +.glyphicon-euro:before { + content: "\20ac"; +} + +.glyphicon-minus:before { + content: "\2212"; +} + +.glyphicon-cloud:before { + content: "\2601"; +} + +.glyphicon-envelope:before { + content: "\2709"; +} + +.glyphicon-pencil:before { + content: "\270f"; +} + +.glyphicon-glass:before { + content: "\e001"; +} + +.glyphicon-music:before { + content: "\e002"; +} + +.glyphicon-search:before { + content: "\e003"; +} + +.glyphicon-heart:before { + content: "\e005"; +} + +.glyphicon-star:before { + content: "\e006"; +} + +.glyphicon-star-empty:before { + content: "\e007"; +} + +.glyphicon-user:before { + content: "\e008"; +} + +.glyphicon-film:before { + content: "\e009"; +} + +.glyphicon-th-large:before { + content: "\e010"; +} + +.glyphicon-th:before { + content: "\e011"; +} + +.glyphicon-th-list:before { + content: "\e012"; +} + +.glyphicon-ok:before { + content: "\e013"; +} + +.glyphicon-remove:before { + content: "\e014"; +} + +.glyphicon-zoom-in:before { + content: "\e015"; +} + +.glyphicon-zoom-out:before { + content: "\e016"; +} + +.glyphicon-off:before { + content: "\e017"; +} + +.glyphicon-signal:before { + content: "\e018"; +} + +.glyphicon-cog:before { + content: "\e019"; +} + +.glyphicon-trash:before { + content: "\e020"; +} + +.glyphicon-home:before { + content: "\e021"; +} + +.glyphicon-file:before { + content: "\e022"; +} + +.glyphicon-time:before { + content: "\e023"; +} + +.glyphicon-road:before { + content: "\e024"; +} + +.glyphicon-download-alt:before { + content: "\e025"; +} + +.glyphicon-download:before { + content: "\e026"; +} + +.glyphicon-upload:before { + content: "\e027"; +} + +.glyphicon-inbox:before { + content: "\e028"; +} + +.glyphicon-play-circle:before { + content: "\e029"; +} + +.glyphicon-repeat:before { + content: "\e030"; +} + +.glyphicon-refresh:before { + content: "\e031"; +} + +.glyphicon-list-alt:before { + content: "\e032"; +} + +.glyphicon-lock:before { + content: "\e033"; +} + +.glyphicon-flag:before { + content: "\e034"; +} + +.glyphicon-headphones:before { + content: "\e035"; +} + +.glyphicon-volume-off:before { + content: "\e036"; +} + +.glyphicon-volume-down:before { + content: "\e037"; +} + +.glyphicon-volume-up:before { + content: "\e038"; +} + +.glyphicon-qrcode:before { + content: "\e039"; +} + +.glyphicon-barcode:before { + content: "\e040"; +} + +.glyphicon-tag:before { + content: "\e041"; +} + +.glyphicon-tags:before { + content: "\e042"; +} + +.glyphicon-book:before { + content: "\e043"; +} + +.glyphicon-bookmark:before { + content: "\e044"; +} + +.glyphicon-print:before { + content: "\e045"; +} + +.glyphicon-camera:before { + content: "\e046"; +} + +.glyphicon-font:before { + content: "\e047"; +} + +.glyphicon-bold:before { + content: "\e048"; +} + +.glyphicon-italic:before { + content: "\e049"; +} + +.glyphicon-text-height:before { + content: "\e050"; +} + +.glyphicon-text-width:before { + content: "\e051"; +} + +.glyphicon-align-left:before { + content: "\e052"; +} + +.glyphicon-align-center:before { + content: "\e053"; +} + +.glyphicon-align-right:before { + content: "\e054"; +} + +.glyphicon-align-justify:before { + content: "\e055"; +} + +.glyphicon-list:before { + content: "\e056"; +} + +.glyphicon-indent-left:before { + content: "\e057"; +} + +.glyphicon-indent-right:before { + content: "\e058"; +} + +.glyphicon-facetime-video:before { + content: "\e059"; +} + +.glyphicon-picture:before { + content: "\e060"; +} + +.glyphicon-map-marker:before { + content: "\e062"; +} + +.glyphicon-adjust:before { + content: "\e063"; +} + +.glyphicon-tint:before { + content: "\e064"; +} + +.glyphicon-edit:before { + content: "\e065"; +} + +.glyphicon-share:before { + content: "\e066"; +} + +.glyphicon-check:before { + content: "\e067"; +} + +.glyphicon-move:before { + content: "\e068"; +} + +.glyphicon-step-backward:before { + content: "\e069"; +} + +.glyphicon-fast-backward:before { + content: "\e070"; +} + +.glyphicon-backward:before { + content: "\e071"; +} + +.glyphicon-play:before { + content: "\e072"; +} + +.glyphicon-pause:before { + content: "\e073"; +} + +.glyphicon-stop:before { + content: "\e074"; +} + +.glyphicon-forward:before { + content: "\e075"; +} + +.glyphicon-fast-forward:before { + content: "\e076"; +} + +.glyphicon-step-forward:before { + content: "\e077"; +} + +.glyphicon-eject:before { + content: "\e078"; +} + +.glyphicon-chevron-left:before { + content: "\e079"; +} + +.glyphicon-chevron-right:before { + content: "\e080"; +} + +.glyphicon-plus-sign:before { + content: "\e081"; +} + +.glyphicon-minus-sign:before { + content: "\e082"; +} + +.glyphicon-remove-sign:before { + content: "\e083"; +} + +.glyphicon-ok-sign:before { + content: "\e084"; +} + +.glyphicon-question-sign:before { + content: "\e085"; +} + +.glyphicon-info-sign:before { + content: "\e086"; +} + +.glyphicon-screenshot:before { + content: "\e087"; +} + +.glyphicon-remove-circle:before { + content: "\e088"; +} + +.glyphicon-ok-circle:before { + content: "\e089"; +} + +.glyphicon-ban-circle:before { + content: "\e090"; +} + +.glyphicon-arrow-left:before { + content: "\e091"; +} + +.glyphicon-arrow-right:before { + content: "\e092"; +} + +.glyphicon-arrow-up:before { + content: "\e093"; +} + +.glyphicon-arrow-down:before { + content: "\e094"; +} + +.glyphicon-share-alt:before { + content: "\e095"; +} + +.glyphicon-resize-full:before { + content: "\e096"; +} + +.glyphicon-resize-small:before { + content: "\e097"; +} + +.glyphicon-exclamation-sign:before { + content: "\e101"; +} + +.glyphicon-gift:before { + content: "\e102"; +} + +.glyphicon-leaf:before { + content: "\e103"; +} + +.glyphicon-fire:before { + content: "\e104"; +} + +.glyphicon-eye-open:before { + content: "\e105"; +} + +.glyphicon-eye-close:before { + content: "\e106"; +} + +.glyphicon-warning-sign:before { + content: "\e107"; +} + +.glyphicon-plane:before { + content: "\e108"; +} + +.glyphicon-calendar:before { + content: "\e109"; +} + +.glyphicon-random:before { + content: "\e110"; +} + +.glyphicon-comment:before { + content: "\e111"; +} + +.glyphicon-magnet:before { + content: "\e112"; +} + +.glyphicon-chevron-up:before { + content: "\e113"; +} + +.glyphicon-chevron-down:before { + content: "\e114"; +} + +.glyphicon-retweet:before { + content: "\e115"; +} + +.glyphicon-shopping-cart:before { + content: "\e116"; +} + +.glyphicon-folder-close:before { + content: "\e117"; +} + +.glyphicon-folder-open:before { + content: "\e118"; +} + +.glyphicon-resize-vertical:before { + content: "\e119"; +} + +.glyphicon-resize-horizontal:before { + content: "\e120"; +} + +.glyphicon-hdd:before { + content: "\e121"; +} + +.glyphicon-bullhorn:before { + content: "\e122"; +} + +.glyphicon-bell:before { + content: "\e123"; +} + +.glyphicon-certificate:before { + content: "\e124"; +} + +.glyphicon-thumbs-up:before { + content: "\e125"; +} + +.glyphicon-thumbs-down:before { + content: "\e126"; +} + +.glyphicon-hand-right:before { + content: "\e127"; +} + +.glyphicon-hand-left:before { + content: "\e128"; +} + +.glyphicon-hand-up:before { + content: "\e129"; +} + +.glyphicon-hand-down:before { + content: "\e130"; +} + +.glyphicon-circle-arrow-right:before { + content: "\e131"; +} + +.glyphicon-circle-arrow-left:before { + content: "\e132"; +} + +.glyphicon-circle-arrow-up:before { + content: "\e133"; +} + +.glyphicon-circle-arrow-down:before { + content: "\e134"; +} + +.glyphicon-globe:before { + content: "\e135"; +} + +.glyphicon-wrench:before { + content: "\e136"; +} + +.glyphicon-tasks:before { + content: "\e137"; +} + +.glyphicon-filter:before { + content: "\e138"; +} + +.glyphicon-briefcase:before { + content: "\e139"; +} + +.glyphicon-fullscreen:before { + content: "\e140"; +} + +.glyphicon-dashboard:before { + content: "\e141"; +} + +.glyphicon-paperclip:before { + content: "\e142"; +} + +.glyphicon-heart-empty:before { + content: "\e143"; +} + +.glyphicon-link:before { + content: "\e144"; +} + +.glyphicon-phone:before { + content: "\e145"; +} + +.glyphicon-pushpin:before { + content: "\e146"; +} + +.glyphicon-usd:before { + content: "\e148"; +} + +.glyphicon-gbp:before { + content: "\e149"; +} + +.glyphicon-sort:before { + content: "\e150"; +} + +.glyphicon-sort-by-alphabet:before { + content: "\e151"; +} + +.glyphicon-sort-by-alphabet-alt:before { + content: "\e152"; +} + +.glyphicon-sort-by-order:before { + content: "\e153"; +} + +.glyphicon-sort-by-order-alt:before { + content: "\e154"; +} + +.glyphicon-sort-by-attributes:before { + content: "\e155"; +} + +.glyphicon-sort-by-attributes-alt:before { + content: "\e156"; +} + +.glyphicon-unchecked:before { + content: "\e157"; +} + +.glyphicon-expand:before { + content: "\e158"; +} + +.glyphicon-collapse-down:before { + content: "\e159"; +} + +.glyphicon-collapse-up:before { + content: "\e160"; +} + +.glyphicon-log-in:before { + content: "\e161"; +} + +.glyphicon-flash:before { + content: "\e162"; +} + +.glyphicon-log-out:before { + content: "\e163"; +} + +.glyphicon-new-window:before { + content: "\e164"; +} + +.glyphicon-record:before { + content: "\e165"; +} + +.glyphicon-save:before { + content: "\e166"; +} + +.glyphicon-open:before { + content: "\e167"; +} + +.glyphicon-saved:before { + content: "\e168"; +} + +.glyphicon-import:before { + content: "\e169"; +} + +.glyphicon-export:before { + content: "\e170"; +} + +.glyphicon-send:before { + content: "\e171"; +} + +.glyphicon-floppy-disk:before { + content: "\e172"; +} + +.glyphicon-floppy-saved:before { + content: "\e173"; +} + +.glyphicon-floppy-remove:before { + content: "\e174"; +} + +.glyphicon-floppy-save:before { + content: "\e175"; +} + +.glyphicon-floppy-open:before { + content: "\e176"; +} + +.glyphicon-credit-card:before { + content: "\e177"; +} + +.glyphicon-transfer:before { + content: "\e178"; +} + +.glyphicon-cutlery:before { + content: "\e179"; +} + +.glyphicon-header:before { + content: "\e180"; +} + +.glyphicon-compressed:before { + content: "\e181"; +} + +.glyphicon-earphone:before { + content: "\e182"; +} + +.glyphicon-phone-alt:before { + content: "\e183"; +} + +.glyphicon-tower:before { + content: "\e184"; +} + +.glyphicon-stats:before { + content: "\e185"; +} + +.glyphicon-sd-video:before { + content: "\e186"; +} + +.glyphicon-hd-video:before { + content: "\e187"; +} + +.glyphicon-subtitles:before { + content: "\e188"; +} + +.glyphicon-sound-stereo:before { + content: "\e189"; +} + +.glyphicon-sound-dolby:before { + content: "\e190"; +} + +.glyphicon-sound-5-1:before { + content: "\e191"; +} + +.glyphicon-sound-6-1:before { + content: "\e192"; +} + +.glyphicon-sound-7-1:before { + content: "\e193"; +} + +.glyphicon-copyright-mark:before { + content: "\e194"; +} + +.glyphicon-registration-mark:before { + content: "\e195"; +} + +.glyphicon-cloud-download:before { + content: "\e197"; +} + +.glyphicon-cloud-upload:before { + content: "\e198"; +} + +.glyphicon-tree-conifer:before { + content: "\e199"; +} + +.glyphicon-tree-deciduous:before { + content: "\e200"; +} + +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px solid; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} + +.dropdown { + position: relative; +} + +.dropdown-toggle:focus { + outline: 0; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + font-size: 14px; + list-style: none; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 4px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + background-clip: padding-box; +} + +.dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.dropdown-menu .divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.428571429; + color: #333333; + white-space: nowrap; +} + +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + color: #262626; + text-decoration: none; + background-color: #f5f5f5; +} + +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #ffffff; + text-decoration: none; + background-color: #428bca; + outline: 0; +} + +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #999999; +} + +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + cursor: not-allowed; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.open > .dropdown-menu { + display: block; +} + +.open > a { + outline: 0; +} + +.dropdown-header { + display: block; + padding: 3px 20px; + font-size: 12px; + line-height: 1.428571429; + color: #999999; +} + +.dropdown-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 990; +} + +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} + +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + border-top: 0; + border-bottom: 4px solid; + content: ""; +} + +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 1px; +} + +@media (min-width: 768px) { + .navbar-right .dropdown-menu { + right: 0; + left: auto; + } +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} + +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + float: left; +} + +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover, +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus, +.btn-group > .btn:active, +.btn-group-vertical > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn.active { + z-index: 2; +} + +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus { + outline: none; +} + +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group { + margin-left: -1px; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar .btn-group { + float: left; +} + +.btn-toolbar > .btn + .btn, +.btn-toolbar > .btn-group + .btn, +.btn-toolbar > .btn + .btn-group, +.btn-toolbar > .btn-group + .btn-group { + margin-left: 5px; +} + +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0; +} + +.btn-group > .btn:first-child { + margin-left: 0; +} + +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group > .btn-group { + float: left; +} + +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group > .btn-group:first-child > .btn:last-child, +.btn-group > .btn-group:first-child > .dropdown-toggle { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn-group:last-child > .btn:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} + +.btn-group-xs > .btn { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-sm > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-lg > .btn { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-group > .btn + .dropdown-toggle { + padding-right: 8px; + padding-left: 8px; +} + +.btn-group > .btn-lg + .dropdown-toggle { + padding-right: 12px; + padding-left: 12px; +} + +.btn-group.open .dropdown-toggle { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn-group.open .dropdown-toggle.btn-link { + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn .caret { + margin-left: 0; +} + +.btn-lg .caret { + border-width: 5px 5px 0; + border-bottom-width: 0; +} + +.dropup .btn-lg .caret { + border-width: 0 5px 5px; +} + +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group, +.btn-group-vertical > .btn-group > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group > .btn { + float: none; +} + +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} + +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-top-right-radius: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 0; +} + +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group-vertical > .btn-group:first-child > .btn:last-child, +.btn-group-vertical > .btn-group:first-child > .dropdown-toggle { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn-group:last-child > .btn:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.btn-group-justified { + display: table; + width: 100%; + border-collapse: separate; + table-layout: fixed; +} + +.btn-group-justified > .btn, +.btn-group-justified > .btn-group { + display: table-cell; + float: none; + width: 1%; +} + +.btn-group-justified > .btn-group .btn { + width: 100%; +} + +[data-toggle="buttons"] > .btn > input[type="radio"], +[data-toggle="buttons"] > .btn > input[type="checkbox"] { + display: none; +} + +.input-group { + position: relative; + display: table; + border-collapse: separate; +} + +.input-group[class*="col-"] { + float: none; + padding-right: 0; + padding-left: 0; +} + +.input-group .form-control { + width: 100%; + margin-bottom: 0; +} + +.input-group-lg > .form-control, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-group-lg > .form-control, +select.input-group-lg > .input-group-addon, +select.input-group-lg > .input-group-btn > .btn { + height: 46px; + line-height: 46px; +} + +textarea.input-group-lg > .form-control, +textarea.input-group-lg > .input-group-addon, +textarea.input-group-lg > .input-group-btn > .btn { + height: auto; +} + +.input-group-sm > .form-control, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-group-sm > .form-control, +select.input-group-sm > .input-group-addon, +select.input-group-sm > .input-group-btn > .btn { + height: 30px; + line-height: 30px; +} + +textarea.input-group-sm > .form-control, +textarea.input-group-sm > .input-group-addon, +textarea.input-group-sm > .input-group-btn > .btn { + height: auto; +} + +.input-group-addon, +.input-group-btn, +.input-group .form-control { + display: table-cell; +} + +.input-group-addon:not(:first-child):not(:last-child), +.input-group-btn:not(:first-child):not(:last-child), +.input-group .form-control:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.input-group-addon, +.input-group-btn { + width: 1%; + white-space: nowrap; + vertical-align: middle; +} + +.input-group-addon { + padding: 6px 12px; + font-size: 14px; + font-weight: normal; + line-height: 1; + color: #555555; + text-align: center; + background-color: #eeeeee; + border: 1px solid #cccccc; + border-radius: 4px; +} + +.input-group-addon.input-sm { + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; +} + +.input-group-addon.input-lg { + padding: 10px 16px; + font-size: 18px; + border-radius: 6px; +} + +.input-group-addon input[type="radio"], +.input-group-addon input[type="checkbox"] { + margin-top: 0; +} + +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group-addon:first-child { + border-right: 0; +} + +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.input-group-addon:last-child { + border-left: 0; +} + +.input-group-btn { + position: relative; + white-space: nowrap; +} + +.input-group-btn:first-child > .btn { + margin-right: -1px; +} + +.input-group-btn:last-child > .btn { + margin-left: -1px; +} + +.input-group-btn > .btn { + position: relative; +} + +.input-group-btn > .btn + .btn { + margin-left: -4px; +} + +.input-group-btn > .btn:hover, +.input-group-btn > .btn:active { + z-index: 2; +} + +.nav { + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav > li { + position: relative; + display: block; +} + +.nav > li > a { + position: relative; + display: block; + padding: 10px 15px; +} + +.nav > li > a:hover, +.nav > li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.nav > li.disabled > a { + color: #999999; +} + +.nav > li.disabled > a:hover, +.nav > li.disabled > a:focus { + color: #999999; + text-decoration: none; + cursor: not-allowed; + background-color: transparent; +} + +.nav .open > a, +.nav .open > a:hover, +.nav .open > a:focus { + background-color: #eeeeee; + border-color: #428bca; +} + +.nav .nav-divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.nav > li > a > img { + max-width: none; +} + +.nav-tabs { + border-bottom: 1px solid #dddddd; +} + +.nav-tabs > li { + float: left; + margin-bottom: -1px; +} + +.nav-tabs > li > a { + margin-right: 2px; + line-height: 1.428571429; + border: 1px solid transparent; + border-radius: 4px 4px 0 0; +} + +.nav-tabs > li > a:hover { + border-color: #eeeeee #eeeeee #dddddd; +} + +.nav-tabs > li.active > a, +.nav-tabs > li.active > a:hover, +.nav-tabs > li.active > a:focus { + color: #555555; + cursor: default; + background-color: #ffffff; + border: 1px solid #dddddd; + border-bottom-color: transparent; +} + +.nav-tabs.nav-justified { + width: 100%; + border-bottom: 0; +} + +.nav-tabs.nav-justified > li { + float: none; +} + +.nav-tabs.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-tabs.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-tabs.nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs.nav-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs.nav-justified > .active > a, +.nav-tabs.nav-justified > .active > a:hover, +.nav-tabs.nav-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs.nav-justified > .active > a, + .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs.nav-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.nav-pills > li { + float: left; +} + +.nav-pills > li > a { + border-radius: 4px; +} + +.nav-pills > li + li { + margin-left: 2px; +} + +.nav-pills > li.active > a, +.nav-pills > li.active > a:hover, +.nav-pills > li.active > a:focus { + color: #ffffff; + background-color: #428bca; +} + +.nav-stacked > li { + float: none; +} + +.nav-stacked > li + li { + margin-top: 2px; + margin-left: 0; +} + +.nav-justified { + width: 100%; +} + +.nav-justified > li { + float: none; +} + +.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs-justified { + border-bottom: 0; +} + +.nav-tabs-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs-justified > .active > a, +.nav-tabs-justified > .active > a:hover, +.nav-tabs-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs-justified > .active > a, + .nav-tabs-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.tab-content > .tab-pane { + display: none; +} + +.tab-content > .active { + display: block; +} + +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar { + position: relative; + min-height: 50px; + margin-bottom: 20px; + border: 1px solid transparent; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar { + border-radius: 4px; + } +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar-header { + float: left; + } +} + +.navbar-collapse { + max-height: 340px; + padding-right: 15px; + padding-left: 15px; + overflow-x: visible; + border-top: 1px solid transparent; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); + -webkit-overflow-scrolling: touch; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse.in { + overflow-y: auto; +} + +@media (min-width: 768px) { + .navbar-collapse { + width: auto; + border-top: 0; + box-shadow: none; + } + .navbar-collapse.collapse { + display: block !important; + height: auto !important; + padding-bottom: 0; + overflow: visible !important; + } + .navbar-collapse.in { + overflow-y: visible; + } + .navbar-fixed-top .navbar-collapse, + .navbar-static-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + padding-right: 0; + padding-left: 0; + } +} + +.container > .navbar-header, +.container > .navbar-collapse { + margin-right: -15px; + margin-left: -15px; +} + +@media (min-width: 768px) { + .container > .navbar-header, + .container > .navbar-collapse { + margin-right: 0; + margin-left: 0; + } +} + +.navbar-static-top { + z-index: 1000; + border-width: 0 0 1px; +} + +@media (min-width: 768px) { + .navbar-static-top { + border-radius: 0; + } +} + +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; +} + +@media (min-width: 768px) { + .navbar-fixed-top, + .navbar-fixed-bottom { + border-radius: 0; + } +} + +.navbar-fixed-top { + top: 0; + border-width: 0 0 1px; +} + +.navbar-fixed-bottom { + bottom: 0; + margin-bottom: 0; + border-width: 1px 0 0; +} + +.navbar-brand { + float: left; + padding: 15px 15px; + font-size: 18px; + line-height: 20px; +} + +.navbar-brand:hover, +.navbar-brand:focus { + text-decoration: none; +} + +@media (min-width: 768px) { + .navbar > .container .navbar-brand { + margin-left: -15px; + } +} + +.navbar-toggle { + position: relative; + float: right; + padding: 9px 10px; + margin-top: 8px; + margin-right: 15px; + margin-bottom: 8px; + background-color: transparent; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; +} + +.navbar-toggle .icon-bar { + display: block; + width: 22px; + height: 2px; + border-radius: 1px; +} + +.navbar-toggle .icon-bar + .icon-bar { + margin-top: 4px; +} + +@media (min-width: 768px) { + .navbar-toggle { + display: none; + } +} + +.navbar-nav { + margin: 7.5px -15px; +} + +.navbar-nav > li > a { + padding-top: 10px; + padding-bottom: 10px; + line-height: 20px; +} + +@media (max-width: 767px) { + .navbar-nav .open .dropdown-menu { + position: static; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + box-shadow: none; + } + .navbar-nav .open .dropdown-menu > li > a, + .navbar-nav .open .dropdown-menu .dropdown-header { + padding: 5px 15px 5px 25px; + } + .navbar-nav .open .dropdown-menu > li > a { + line-height: 20px; + } + .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-nav .open .dropdown-menu > li > a:focus { + background-image: none; + } +} + +@media (min-width: 768px) { + .navbar-nav { + float: left; + margin: 0; + } + .navbar-nav > li { + float: left; + } + .navbar-nav > li > a { + padding-top: 15px; + padding-bottom: 15px; + } + .navbar-nav.navbar-right:last-child { + margin-right: -15px; + } +} + +@media (min-width: 768px) { + .navbar-left { + float: left !important; + } + .navbar-right { + float: right !important; + } +} + +.navbar-form { + padding: 10px 15px; + margin-top: 8px; + margin-right: -15px; + margin-bottom: 8px; + margin-left: -15px; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); +} + +@media (min-width: 768px) { + .navbar-form .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .form-control { + display: inline-block; + } + .navbar-form select.form-control { + width: auto; + } + .navbar-form .radio, + .navbar-form .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .navbar-form .radio input[type="radio"], + .navbar-form .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +@media (max-width: 767px) { + .navbar-form .form-group { + margin-bottom: 5px; + } +} + +@media (min-width: 768px) { + .navbar-form { + width: auto; + padding-top: 0; + padding-bottom: 0; + margin-right: 0; + margin-left: 0; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .navbar-form.navbar-right:last-child { + margin-right: -15px; + } +} + +.navbar-nav > li > .dropdown-menu { + margin-top: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.navbar-nav.pull-right > li > .dropdown-menu, +.navbar-nav > li > .dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.navbar-btn { + margin-top: 8px; + margin-bottom: 8px; +} + +.navbar-btn.btn-sm { + margin-top: 10px; + margin-bottom: 10px; +} + +.navbar-btn.btn-xs { + margin-top: 14px; + margin-bottom: 14px; +} + +.navbar-text { + margin-top: 15px; + margin-bottom: 15px; +} + +@media (min-width: 768px) { + .navbar-text { + float: left; + margin-right: 15px; + margin-left: 15px; + } + .navbar-text.navbar-right:last-child { + margin-right: 0; + } +} + +.navbar-default { + background-color: #f8f8f8; + border-color: #e7e7e7; +} + +.navbar-default .navbar-brand { + color: #777777; +} + +.navbar-default .navbar-brand:hover, +.navbar-default .navbar-brand:focus { + color: #5e5e5e; + background-color: transparent; +} + +.navbar-default .navbar-text { + color: #777777; +} + +.navbar-default .navbar-nav > li > a { + color: #777777; +} + +.navbar-default .navbar-nav > li > a:hover, +.navbar-default .navbar-nav > li > a:focus { + color: #333333; + background-color: transparent; +} + +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .disabled > a, +.navbar-default .navbar-nav > .disabled > a:hover, +.navbar-default .navbar-nav > .disabled > a:focus { + color: #cccccc; + background-color: transparent; +} + +.navbar-default .navbar-toggle { + border-color: #dddddd; +} + +.navbar-default .navbar-toggle:hover, +.navbar-default .navbar-toggle:focus { + background-color: #dddddd; +} + +.navbar-default .navbar-toggle .icon-bar { + background-color: #cccccc; +} + +.navbar-default .navbar-collapse, +.navbar-default .navbar-form { + border-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .open > a, +.navbar-default .navbar-nav > .open > a:hover, +.navbar-default .navbar-nav > .open > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a { + color: #777777; + } + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + color: #333333; + background-color: transparent; + } + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #555555; + background-color: #e7e7e7; + } + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #cccccc; + background-color: transparent; + } +} + +.navbar-default .navbar-link { + color: #777777; +} + +.navbar-default .navbar-link:hover { + color: #333333; +} + +.navbar-inverse { + background-color: #222222; + border-color: #080808; +} + +.navbar-inverse .navbar-brand { + color: #999999; +} + +.navbar-inverse .navbar-brand:hover, +.navbar-inverse .navbar-brand:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-text { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a:hover, +.navbar-inverse .navbar-nav > li > a:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-nav > .active > a, +.navbar-inverse .navbar-nav > .active > a:hover, +.navbar-inverse .navbar-nav > .active > a:focus { + color: #ffffff; + background-color: #080808; +} + +.navbar-inverse .navbar-nav > .disabled > a, +.navbar-inverse .navbar-nav > .disabled > a:hover, +.navbar-inverse .navbar-nav > .disabled > a:focus { + color: #444444; + background-color: transparent; +} + +.navbar-inverse .navbar-toggle { + border-color: #333333; +} + +.navbar-inverse .navbar-toggle:hover, +.navbar-inverse .navbar-toggle:focus { + background-color: #333333; +} + +.navbar-inverse .navbar-toggle .icon-bar { + background-color: #ffffff; +} + +.navbar-inverse .navbar-collapse, +.navbar-inverse .navbar-form { + border-color: #101010; +} + +.navbar-inverse .navbar-nav > .open > a, +.navbar-inverse .navbar-nav > .open > a:hover, +.navbar-inverse .navbar-nav > .open > a:focus { + color: #ffffff; + background-color: #080808; +} + +@media (max-width: 767px) { + .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { + border-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu .divider { + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { + color: #999999; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + color: #ffffff; + background-color: transparent; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #ffffff; + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #444444; + background-color: transparent; + } +} + +.navbar-inverse .navbar-link { + color: #999999; +} + +.navbar-inverse .navbar-link:hover { + color: #ffffff; +} + +.breadcrumb { + padding: 8px 15px; + margin-bottom: 20px; + list-style: none; + background-color: #f5f5f5; + border-radius: 4px; +} + +.breadcrumb > li { + display: inline-block; +} + +.breadcrumb > li + li:before { + padding: 0 5px; + color: #cccccc; + content: "/\00a0"; +} + +.breadcrumb > .active { + color: #999999; +} + +.pagination { + display: inline-block; + padding-left: 0; + margin: 20px 0; + border-radius: 4px; +} + +.pagination > li { + display: inline; +} + +.pagination > li > a, +.pagination > li > span { + position: relative; + float: left; + padding: 6px 12px; + margin-left: -1px; + line-height: 1.428571429; + text-decoration: none; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.pagination > li:first-child > a, +.pagination > li:first-child > span { + margin-left: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} + +.pagination > li:last-child > a, +.pagination > li:last-child > span { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} + +.pagination > li > a:hover, +.pagination > li > span:hover, +.pagination > li > a:focus, +.pagination > li > span:focus { + background-color: #eeeeee; +} + +.pagination > .active > a, +.pagination > .active > span, +.pagination > .active > a:hover, +.pagination > .active > span:hover, +.pagination > .active > a:focus, +.pagination > .active > span:focus { + z-index: 2; + color: #ffffff; + cursor: default; + background-color: #428bca; + border-color: #428bca; +} + +.pagination > .disabled > span, +.pagination > .disabled > span:hover, +.pagination > .disabled > span:focus, +.pagination > .disabled > a, +.pagination > .disabled > a:hover, +.pagination > .disabled > a:focus { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; + border-color: #dddddd; +} + +.pagination-lg > li > a, +.pagination-lg > li > span { + padding: 10px 16px; + font-size: 18px; +} + +.pagination-lg > li:first-child > a, +.pagination-lg > li:first-child > span { + border-bottom-left-radius: 6px; + border-top-left-radius: 6px; +} + +.pagination-lg > li:last-child > a, +.pagination-lg > li:last-child > span { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; +} + +.pagination-sm > li > a, +.pagination-sm > li > span { + padding: 5px 10px; + font-size: 12px; +} + +.pagination-sm > li:first-child > a, +.pagination-sm > li:first-child > span { + border-bottom-left-radius: 3px; + border-top-left-radius: 3px; +} + +.pagination-sm > li:last-child > a, +.pagination-sm > li:last-child > span { + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} + +.pager { + padding-left: 0; + margin: 20px 0; + text-align: center; + list-style: none; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager li { + display: inline; +} + +.pager li > a, +.pager li > span { + display: inline-block; + padding: 5px 14px; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 15px; +} + +.pager li > a:hover, +.pager li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.pager .next > a, +.pager .next > span { + float: right; +} + +.pager .previous > a, +.pager .previous > span { + float: left; +} + +.pager .disabled > a, +.pager .disabled > a:hover, +.pager .disabled > a:focus, +.pager .disabled > span { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; +} + +.label { + display: inline; + padding: .2em .6em .3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25em; +} + +.label[href]:hover, +.label[href]:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +.label:empty { + display: none; +} + +.btn .label { + position: relative; + top: -1px; +} + +.label-default { + background-color: #999999; +} + +.label-default[href]:hover, +.label-default[href]:focus { + background-color: #808080; +} + +.label-primary { + background-color: #428bca; +} + +.label-primary[href]:hover, +.label-primary[href]:focus { + background-color: #3071a9; +} + +.label-success { + background-color: #5cb85c; +} + +.label-success[href]:hover, +.label-success[href]:focus { + background-color: #449d44; +} + +.label-info { + background-color: #5bc0de; +} + +.label-info[href]:hover, +.label-info[href]:focus { + background-color: #31b0d5; +} + +.label-warning { + background-color: #f0ad4e; +} + +.label-warning[href]:hover, +.label-warning[href]:focus { + background-color: #ec971f; +} + +.label-minor { + background-color: #fad664; +} +.label-minor[href]:hover, +.label-minor[href]:focus { + background-color: #f8c933; +} + +.label-danger { + background-color: #d9534f; +} + +.label-danger[href]:hover, +.label-danger[href]:focus { + background-color: #c9302c; +} + +.badge { + display: inline-block; + min-width: 10px; + padding: 3px 7px; + font-size: 12px; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + background-color: #999999; + border-radius: 10px; +} + +.badge:empty { + display: none; +} + +.btn .badge { + position: relative; + top: -1px; +} + +a.badge:hover, +a.badge:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +a.list-group-item.active > .badge, +.nav-pills > .active > a > .badge { + color: #428bca; + background-color: #ffffff; +} + +.nav-pills > li > a > .badge { + margin-left: 3px; +} + +/*.jumbotron { + padding: 30px; + margin-bottom: 30px; + font-size: 21px; + font-weight: 200; + line-height: 2.1428571435; + color: inherit; + background-color: #eeeeee; +} + +.jumbotron h1, +.jumbotron .h1 { + line-height: 1; + color: inherit; +} + +.jumbotron p { + line-height: 1.4; +} + +.container .jumbotron { + border-radius: 6px; +} + +.jumbotron .container { + max-width: 100%; +} + +@media screen and (min-width: 768px) { + .jumbotron { + padding-top: 48px; + padding-bottom: 48px; + } + .container .jumbotron { + padding-right: 60px; + padding-left: 60px; + } + .jumbotron h1, + .jumbotron .h1 { + font-size: 63px; + } +}*/ + +.thumbnail { + display: block; + padding: 4px; + margin-bottom: 20px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.thumbnail > img, +.thumbnail a > img { + display: block; + height: auto; + max-width: 100%; + margin-right: auto; + margin-left: auto; +} + +a.thumbnail:hover, +a.thumbnail:focus, +a.thumbnail.active { + border-color: #428bca; +} + +.thumbnail .caption { + padding: 9px; + color: #333333; +} + +.alert { + padding: 15px; + margin-bottom: 20px; + border: 1px solid transparent; + border-radius: 4px; +} + +.alert h4 { + margin-top: 0; + color: inherit; +} + +.alert .alert-link { + font-weight: bold; +} + +.alert > p, +.alert > ul { + margin-bottom: 0; +} + +.alert > p + p { + margin-top: 5px; +} + +.alert-dismissable { + padding-right: 35px; +} + +.alert-dismissable .close { + position: relative; + top: -2px; + right: -21px; + color: inherit; +} + +.alert-success { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.alert-success hr { + border-top-color: #c9e2b3; +} + +.alert-success .alert-link { + color: #2b542c; +} + +.alert-info { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.alert-info hr { + border-top-color: #a6e1ec; +} + +.alert-info .alert-link { + color: #245269; +} + +.alert-warning { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.alert-warning hr { + border-top-color: #f7e1b5; +} + +.alert-warning .alert-link { + color: #66512c; +} + +.alert-danger { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.alert-danger hr { + border-top-color: #e4b9c0; +} + +.alert-danger .alert-link { + color: #843534; +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +.progress { + height: 20px; + margin-bottom: 20px; + overflow: hidden; + background-color: #f5f5f5; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.progress-bar { + float: left; + width: 0; + height: 100%; + font-size: 12px; + line-height: 20px; + color: #ffffff; + text-align: center; + background-color: #428bca; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -webkit-transition: width 0.6s ease; + transition: width 0.6s ease; +} + +.progress-striped .progress-bar { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-size: 40px 40px; +} + +.progress.active .progress-bar { + -webkit-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} + +.progress-bar-success { + background-color: #5cb85c; +} + +.progress-striped .progress-bar-success { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-info { + background-color: #5bc0de; +} + +.progress-striped .progress-bar-info { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-warning { + background-color: #f0ad4e; +} + +.progress-striped .progress-bar-warning { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-danger { + background-color: #d9534f; +} + +.progress-striped .progress-bar-danger { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.media, +.media-body { + overflow: hidden; + zoom: 1; +} + +.media, +.media .media { + margin-top: 15px; +} + +.media:first-child { + margin-top: 0; +} + +.media-object { + display: block; +} + +.media-heading { + margin: 0 0 5px; +} + +.media > .pull-left { + margin-right: 10px; +} + +.media > .pull-right { + margin-left: 10px; +} + +.media-list { + padding-left: 0; + list-style: none; +} + +.list-group { + padding-left: 0; + margin-bottom: 20px; +} + +.list-group-item { + position: relative; + display: block; + padding: 10px 15px; + margin-bottom: -1px; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.list-group-item:first-child { + border-top-right-radius: 4px; + border-top-left-radius: 4px; +} + +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} + +.list-group-item > .badge { + float: right; +} + +.list-group-item > .badge + .badge { + margin-right: 5px; +} + +a.list-group-item { + color: #555555; +} + +a.list-group-item .list-group-item-heading { + color: #333333; +} + +a.list-group-item:hover, +a.list-group-item:focus { + text-decoration: none; + background-color: #f5f5f5; +} + +a.list-group-item.active, +a.list-group-item.active:hover, +a.list-group-item.active:focus { + z-index: 2; + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +a.list-group-item.active .list-group-item-heading, +a.list-group-item.active:hover .list-group-item-heading, +a.list-group-item.active:focus .list-group-item-heading { + color: inherit; +} + +a.list-group-item.active .list-group-item-text, +a.list-group-item.active:hover .list-group-item-text, +a.list-group-item.active:focus .list-group-item-text { + color: #e1edf7; +} + +.list-group-item-heading { + margin-top: 0; + margin-bottom: 5px; +} + +.list-group-item-text { + margin-bottom: 0; + line-height: 1.3; +} + +.panel { + margin-bottom: 20px; + background-color: #ffffff; + border: 1px solid transparent; + border-radius: 4px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.panel-body { + padding: 15px; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel > .list-group { + margin-bottom: 0; +} + +.panel > .list-group .list-group-item { + border-width: 1px 0; +} + +.panel > .list-group .list-group-item:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.panel > .list-group .list-group-item:last-child { + border-bottom: 0; +} + +.panel-heading + .list-group .list-group-item:first-child { + border-top-width: 0; +} + +.panel > .table, +.panel > .table-responsive > .table { + margin-bottom: 0; +} + +.panel > .panel-body + .table, +.panel > .panel-body + .table-responsive { + border-top: 1px solid #dddddd; +} + +.panel > .table > tbody:first-child th, +.panel > .table > tbody:first-child td { + border-top: 0; +} + +.panel > .table-bordered, +.panel > .table-responsive > .table-bordered { + border: 0; +} + +.panel > .table-bordered > thead > tr > th:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, +.panel > .table-bordered > tbody > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, +.panel > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-bordered > thead > tr > td:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, +.panel > .table-bordered > tbody > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, +.panel > .table-bordered > tfoot > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; +} + +.panel > .table-bordered > thead > tr > th:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, +.panel > .table-bordered > tbody > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, +.panel > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-bordered > thead > tr > td:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, +.panel > .table-bordered > tbody > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, +.panel > .table-bordered > tfoot > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; +} + +.panel > .table-bordered > thead > tr:last-child > th, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > th, +.panel > .table-bordered > tbody > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, +.panel > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-bordered > thead > tr:last-child > td, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > td, +.panel > .table-bordered > tbody > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, +.panel > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; +} + +.panel > .table-responsive { + margin-bottom: 0; + border: 0; +} + +.panel-heading { + padding: 10px 15px; + border-bottom: 1px solid transparent; + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} + +.panel-heading > .dropdown .dropdown-toggle { + color: inherit; +} + +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: 16px; + color: inherit; +} + +.panel-title > a { + color: inherit; +} + +.panel-footer { + padding: 10px 15px; + background-color: #f5f5f5; + border-top: 1px solid #dddddd; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} + +.panel-group .panel { + margin-bottom: 0; + overflow: hidden; + border-radius: 4px; +} + +.panel-group .panel + .panel { + margin-top: 5px; +} + +.panel-group .panel-heading { + border-bottom: 0; +} + +.panel-group .panel-heading + .panel-collapse .panel-body { + border-top: 1px solid #dddddd; +} + +.panel-group .panel-footer { + border-top: 0; +} + +.panel-group .panel-footer + .panel-collapse .panel-body { + border-bottom: 1px solid #dddddd; +} + +.panel-default { + border-color: #dddddd; +} + +.panel-default > .panel-heading { + color: #333333; + background-color: #f5f5f5; + border-color: #dddddd; +} + +.panel-default > .panel-heading + .panel-collapse .panel-body { + border-top-color: #dddddd; +} + +.panel-default > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #dddddd; +} + +.panel-primary { + border-color: #428bca; +} + +.panel-primary > .panel-heading { + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +.panel-primary > .panel-heading + .panel-collapse .panel-body { + border-top-color: #428bca; +} + +.panel-primary > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #428bca; +} + +.panel-success { + border-color: #d6e9c6; +} + +.panel-success > .panel-heading { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.panel-success > .panel-heading + .panel-collapse .panel-body { + border-top-color: #d6e9c6; +} + +.panel-success > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #d6e9c6; +} + +.panel-warning { + border-color: #faebcc; +} + +.panel-warning > .panel-heading { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.panel-warning > .panel-heading + .panel-collapse .panel-body { + border-top-color: #faebcc; +} + +.panel-warning > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #faebcc; +} + +.panel-danger { + border-color: #ebccd1; +} + +.panel-danger > .panel-heading { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.panel-danger > .panel-heading + .panel-collapse .panel-body { + border-top-color: #ebccd1; +} + +.panel-danger > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #ebccd1; +} + +.panel-info { + border-color: #bce8f1; +} + +.panel-info > .panel-heading { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.panel-info > .panel-heading + .panel-collapse .panel-body { + border-top-color: #bce8f1; +} + +.panel-info > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #bce8f1; +} + +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e3e3e3; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, 0.15); +} + +.well-lg { + padding: 24px; + border-radius: 6px; +} + +.well-sm { + padding: 9px; + border-radius: 3px; +} + +.close { + float: right; + font-size: 21px; + font-weight: bold; + line-height: 1; + color: #000000; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} + +.close:hover, +.close:focus { + color: #000000; + text-decoration: none; + cursor: pointer; + opacity: 0.5; + filter: alpha(opacity=50); +} + +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} + +.modal-open { + overflow: hidden; +} + +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + display: none; + overflow: auto; + overflow-y: scroll; +} + +.modal.fade .modal-dialog { + -webkit-transform: translate(0, -25%); + -ms-transform: translate(0, -25%); + transform: translate(0, -25%); + -webkit-transition: -webkit-transform 0.3s ease-out; + -moz-transition: -moz-transform 0.3s ease-out; + -o-transition: -o-transform 0.3s ease-out; + transition: transform 0.3s ease-out; +} + +.modal.in .modal-dialog { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); +} + +.modal-dialog { + position: relative; + z-index: 1050; + width: auto; + margin: 10px; +} + +.modal-content { + position: relative; + background-color: #ffffff; + border: 1px solid #999999; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + outline: none; + -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + background-clip: padding-box; +} + +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1030; + background-color: #000000; +} + +.modal-backdrop.fade { + opacity: 0; + filter: alpha(opacity=0); +} + +.modal-backdrop.in { + opacity: 0.5; + filter: alpha(opacity=50); +} + +.modal-header { + min-height: 16.428571429px; + padding: 15px; + border-bottom: 1px solid #e5e5e5; +} + +.modal-header .close { + margin-top: -2px; +} + +.modal-title { + margin: 0; + line-height: 1.428571429; +} + +.modal-body { + position: relative; + padding: 20px; +} + +.modal-footer { + padding: 19px 20px 20px; + margin-top: 15px; + text-align: right; + border-top: 1px solid #e5e5e5; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer .btn + .btn { + margin-bottom: 0; + margin-left: 5px; +} + +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} + +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} + +@media screen and (min-width: 768px) { + .modal-dialog { + width: 600px; + margin: 30px auto; + } + .modal-content { + -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + } +} + +.tooltip { + position: absolute; + z-index: 1030; + display: block; + font-size: 12px; + line-height: 1.4; + opacity: 0; + filter: alpha(opacity=0); + visibility: visible; +} + +.tooltip.in { + opacity: 0.9; + filter: alpha(opacity=90); +} + +.tooltip.top { + padding: 5px 0; + margin-top: -3px; +} + +.tooltip.right { + padding: 0 5px; + margin-left: 3px; +} + +.tooltip.bottom { + padding: 5px 0; + margin-top: 3px; +} + +.tooltip.left { + padding: 0 5px; + margin-left: -3px; +} + +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: #ffffff; + text-align: center; + text-decoration: none; + background-color: #000000; + border-radius: 4px; +} + +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-left .tooltip-arrow { + bottom: 0; + left: 5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-right .tooltip-arrow { + right: 5px; + bottom: 0; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-right-color: #000000; + border-width: 5px 5px 5px 0; +} + +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-left-color: #000000; + border-width: 5px 0 5px 5px; +} + +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-left .tooltip-arrow { + top: 0; + left: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-right .tooltip-arrow { + top: 0; + right: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1010; + display: none; + max-width: 276px; + padding: 1px; + text-align: left; + white-space: normal; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + background-clip: padding-box; +} + +.popover.top { + margin-top: -10px; +} + +.popover.right { + margin-left: 10px; +} + +.popover.bottom { + margin-top: 10px; +} + +.popover.left { + margin-left: -10px; +} + +.popover-title { + padding: 8px 14px; + margin: 0; + font-size: 14px; + font-weight: normal; + line-height: 18px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-radius: 5px 5px 0 0; +} + +.popover-content { + padding: 9px 14px; +} + +.popover .arrow, +.popover .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.popover .arrow { + border-width: 11px; +} + +.popover .arrow:after { + border-width: 10px; + content: ""; +} + +.popover.top .arrow { + bottom: -11px; + left: 50%; + margin-left: -11px; + border-top-color: #999999; + border-top-color: rgba(0, 0, 0, 0.25); + border-bottom-width: 0; +} + +.popover.top .arrow:after { + bottom: 1px; + margin-left: -10px; + border-top-color: #ffffff; + border-bottom-width: 0; + content: " "; +} + +.popover.right .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-right-color: #999999; + border-right-color: rgba(0, 0, 0, 0.25); + border-left-width: 0; +} + +.popover.right .arrow:after { + bottom: -10px; + left: 1px; + border-right-color: #ffffff; + border-left-width: 0; + content: " "; +} + +.popover.bottom .arrow { + top: -11px; + left: 50%; + margin-left: -11px; + border-bottom-color: #999999; + border-bottom-color: rgba(0, 0, 0, 0.25); + border-top-width: 0; +} + +.popover.bottom .arrow:after { + top: 1px; + margin-left: -10px; + border-bottom-color: #ffffff; + border-top-width: 0; + content: " "; +} + +.popover.left .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-left-color: #999999; + border-left-color: rgba(0, 0, 0, 0.25); + border-right-width: 0; +} + +.popover.left .arrow:after { + right: 1px; + bottom: -10px; + border-left-color: #ffffff; + border-right-width: 0; + content: " "; +} + +.carousel { + position: relative; +} + +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} + +.carousel-inner > .item { + position: relative; + display: none; + -webkit-transition: 0.6s ease-in-out left; + transition: 0.6s ease-in-out left; +} + +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + display: block; + height: auto; + max-width: 100%; + line-height: 1; +} + +.carousel-inner > .active, +.carousel-inner > .next, +.carousel-inner > .prev { + display: block; +} + +.carousel-inner > .active { + left: 0; +} + +.carousel-inner > .next, +.carousel-inner > .prev { + position: absolute; + top: 0; + width: 100%; +} + +.carousel-inner > .next { + left: 100%; +} + +.carousel-inner > .prev { + left: -100%; +} + +.carousel-inner > .next.left, +.carousel-inner > .prev.right { + left: 0; +} + +.carousel-inner > .active.left { + left: -100%; +} + +.carousel-inner > .active.right { + left: 100%; +} + +.carousel-control { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 15%; + font-size: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); + opacity: 0.5; + filter: alpha(opacity=50); +} + +.carousel-control.left { + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0), color-stop(rgba(0, 0, 0, 0.0001) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); +} + +.carousel-control.right { + right: 0; + left: auto; + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0), color-stop(rgba(0, 0, 0, 0.5) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); +} + +.carousel-control:hover, +.carousel-control:focus { + color: #ffffff; + text-decoration: none; + outline: none; + opacity: 0.9; + filter: alpha(opacity=90); +} + +.carousel-control .icon-prev, +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-left, +.carousel-control .glyphicon-chevron-right { + position: absolute; + top: 50%; + z-index: 5; + display: inline-block; +} + +.carousel-control .icon-prev, +.carousel-control .glyphicon-chevron-left { + left: 50%; +} + +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-right { + right: 50%; +} + +.carousel-control .icon-prev, +.carousel-control .icon-next { + width: 20px; + height: 20px; + margin-top: -10px; + margin-left: -10px; + font-family: serif; +} + +.carousel-control .icon-prev:before { + content: '\2039'; +} + +.carousel-control .icon-next:before { + content: '\203a'; +} + +.carousel-indicators { + position: absolute; + bottom: 10px; + left: 50%; + z-index: 15; + width: 60%; + padding-left: 0; + margin-left: -30%; + text-align: center; + list-style: none; +} + +.carousel-indicators li { + display: inline-block; + width: 10px; + height: 10px; + margin: 1px; + text-indent: -999px; + cursor: pointer; + background-color: #000 \9; + background-color: rgba(0, 0, 0, 0); + border: 1px solid #ffffff; + border-radius: 10px; +} + +.carousel-indicators .active { + width: 12px; + height: 12px; + margin: 0; + background-color: #ffffff; +} + +.carousel-caption { + position: absolute; + right: 15%; + bottom: 20px; + left: 15%; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); +} + +.carousel-caption .btn { + text-shadow: none; +} + +@media screen and (min-width: 768px) { + .carousel-control .glyphicons-chevron-left, + .carousel-control .glyphicons-chevron-right, + .carousel-control .icon-prev, + .carousel-control .icon-next { + width: 30px; + height: 30px; + margin-top: -15px; + margin-left: -15px; + font-size: 30px; + } + .carousel-caption { + right: 20%; + left: 20%; + padding-bottom: 30px; + } + .carousel-indicators { + bottom: 20px; + } +} + +.clearfix:before, +.clearfix:after { + display: table; + content: " "; +} + +.clearfix:after { + clear: both; +} + +.center-block { + display: block; + margin-right: auto; + margin-left: auto; +} + +.pull-right { + float: right !important; +} + +.pull-left { + float: left !important; +} + +.hide { + display: none !important; +} + +.show { + display: block !important; +} + +.invisible { + visibility: hidden; +} + +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.hidden { + display: none !important; + visibility: hidden !important; +} + +.affix { + position: fixed; +} + +@-ms-viewport { + width: device-width; +} + +.visible-xs, +tr.visible-xs, +th.visible-xs, +td.visible-xs { + display: none !important; +} + +@media (max-width: 767px) { + .visible-xs { + display: block !important; + } + table.visible-xs { + display: table; + } + tr.visible-xs { + display: table-row !important; + } + th.visible-xs, + td.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-xs.visible-sm { + display: block !important; + } + table.visible-xs.visible-sm { + display: table; + } + tr.visible-xs.visible-sm { + display: table-row !important; + } + th.visible-xs.visible-sm, + td.visible-xs.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-xs.visible-md { + display: block !important; + } + table.visible-xs.visible-md { + display: table; + } + tr.visible-xs.visible-md { + display: table-row !important; + } + th.visible-xs.visible-md, + td.visible-xs.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-xs.visible-lg { + display: block !important; + } + table.visible-xs.visible-lg { + display: table; + } + tr.visible-xs.visible-lg { + display: table-row !important; + } + th.visible-xs.visible-lg, + td.visible-xs.visible-lg { + display: table-cell !important; + } +} + +.visible-sm, +tr.visible-sm, +th.visible-sm, +td.visible-sm { + display: none !important; +} + +@media (max-width: 767px) { + .visible-sm.visible-xs { + display: block !important; + } + table.visible-sm.visible-xs { + display: table; + } + tr.visible-sm.visible-xs { + display: table-row !important; + } + th.visible-sm.visible-xs, + td.visible-sm.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm { + display: block !important; + } + table.visible-sm { + display: table; + } + tr.visible-sm { + display: table-row !important; + } + th.visible-sm, + td.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-sm.visible-md { + display: block !important; + } + table.visible-sm.visible-md { + display: table; + } + tr.visible-sm.visible-md { + display: table-row !important; + } + th.visible-sm.visible-md, + td.visible-sm.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-sm.visible-lg { + display: block !important; + } + table.visible-sm.visible-lg { + display: table; + } + tr.visible-sm.visible-lg { + display: table-row !important; + } + th.visible-sm.visible-lg, + td.visible-sm.visible-lg { + display: table-cell !important; + } +} + +.visible-md, +tr.visible-md, +th.visible-md, +td.visible-md { + display: none !important; +} + +@media (max-width: 767px) { + .visible-md.visible-xs { + display: block !important; + } + table.visible-md.visible-xs { + display: table; + } + tr.visible-md.visible-xs { + display: table-row !important; + } + th.visible-md.visible-xs, + td.visible-md.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-md.visible-sm { + display: block !important; + } + table.visible-md.visible-sm { + display: table; + } + tr.visible-md.visible-sm { + display: table-row !important; + } + th.visible-md.visible-sm, + td.visible-md.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md { + display: block !important; + } + table.visible-md { + display: table; + } + tr.visible-md { + display: table-row !important; + } + th.visible-md, + td.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-md.visible-lg { + display: block !important; + } + table.visible-md.visible-lg { + display: table; + } + tr.visible-md.visible-lg { + display: table-row !important; + } + th.visible-md.visible-lg, + td.visible-md.visible-lg { + display: table-cell !important; + } +} + +.visible-lg, +tr.visible-lg, +th.visible-lg, +td.visible-lg { + display: none !important; +} + +@media (max-width: 767px) { + .visible-lg.visible-xs { + display: block !important; + } + table.visible-lg.visible-xs { + display: table; + } + tr.visible-lg.visible-xs { + display: table-row !important; + } + th.visible-lg.visible-xs, + td.visible-lg.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-lg.visible-sm { + display: block !important; + } + table.visible-lg.visible-sm { + display: table; + } + tr.visible-lg.visible-sm { + display: table-row !important; + } + th.visible-lg.visible-sm, + td.visible-lg.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-lg.visible-md { + display: block !important; + } + table.visible-lg.visible-md { + display: table; + } + tr.visible-lg.visible-md { + display: table-row !important; + } + th.visible-lg.visible-md, + td.visible-lg.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-lg { + display: block !important; + } + table.visible-lg { + display: table; + } + tr.visible-lg { + display: table-row !important; + } + th.visible-lg, + td.visible-lg { + display: table-cell !important; + } +} + +.hidden-xs { + display: block !important; +} + +table.hidden-xs { + display: table; +} + +tr.hidden-xs { + display: table-row !important; +} + +th.hidden-xs, +td.hidden-xs { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-xs, + tr.hidden-xs, + th.hidden-xs, + td.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-xs.hidden-sm, + tr.hidden-xs.hidden-sm, + th.hidden-xs.hidden-sm, + td.hidden-xs.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-xs.hidden-md, + tr.hidden-xs.hidden-md, + th.hidden-xs.hidden-md, + td.hidden-xs.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-xs.hidden-lg, + tr.hidden-xs.hidden-lg, + th.hidden-xs.hidden-lg, + td.hidden-xs.hidden-lg { + display: none !important; + } +} + +.hidden-sm { + display: block !important; +} + +table.hidden-sm { + display: table; +} + +tr.hidden-sm { + display: table-row !important; +} + +th.hidden-sm, +td.hidden-sm { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-sm.hidden-xs, + tr.hidden-sm.hidden-xs, + th.hidden-sm.hidden-xs, + td.hidden-sm.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-sm, + tr.hidden-sm, + th.hidden-sm, + td.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-sm.hidden-md, + tr.hidden-sm.hidden-md, + th.hidden-sm.hidden-md, + td.hidden-sm.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-sm.hidden-lg, + tr.hidden-sm.hidden-lg, + th.hidden-sm.hidden-lg, + td.hidden-sm.hidden-lg { + display: none !important; + } +} + +.hidden-md { + display: block !important; +} + +table.hidden-md { + display: table; +} + +tr.hidden-md { + display: table-row !important; +} + +th.hidden-md, +td.hidden-md { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-md.hidden-xs, + tr.hidden-md.hidden-xs, + th.hidden-md.hidden-xs, + td.hidden-md.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-md.hidden-sm, + tr.hidden-md.hidden-sm, + th.hidden-md.hidden-sm, + td.hidden-md.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-md, + tr.hidden-md, + th.hidden-md, + td.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-md.hidden-lg, + tr.hidden-md.hidden-lg, + th.hidden-md.hidden-lg, + td.hidden-md.hidden-lg { + display: none !important; + } +} + +.hidden-lg { + display: block !important; +} + +table.hidden-lg { + display: table; +} + +tr.hidden-lg { + display: table-row !important; +} + +th.hidden-lg, +td.hidden-lg { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-lg.hidden-xs, + tr.hidden-lg.hidden-xs, + th.hidden-lg.hidden-xs, + td.hidden-lg.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-lg.hidden-sm, + tr.hidden-lg.hidden-sm, + th.hidden-lg.hidden-sm, + td.hidden-lg.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-lg.hidden-md, + tr.hidden-lg.hidden-md, + th.hidden-lg.hidden-md, + td.hidden-lg.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-lg, + tr.hidden-lg, + th.hidden-lg, + td.hidden-lg { + display: none !important; + } +} + +.visible-print, +tr.visible-print, +th.visible-print, +td.visible-print { + display: none !important; +} + +@media print { + .visible-print { + display: block !important; + } + table.visible-print { + display: table; + } + tr.visible-print { + display: table-row !important; + } + th.visible-print, + td.visible-print { + display: table-cell !important; + } + .hidden-print, + tr.hidden-print, + th.hidden-print, + td.hidden-print { + display: none !important; + } +} + + +/*Added by Maria*/ + + /* Main marketing message and sign up button */ + .jumbotron { + margin: 0px 0; + text-align: center; + } + .jumbotron h1 { + font-size: 80px; + line-height: 1; + } + .jumbotron .lead { + font-size: 20px; + line-height: 1.25; + } + .jumbotron .btn { + font-size: 21px; + padding: 14px 24px; + } + + /* Supporting marketing content */ + .marketing { + margin: 60px 0; + } + .marketing p + h4 { + margin-top: 28px; + } \ No newline at end of file diff --git a/dist/vocabulary/implementation/0.1.1/OOPSevaluation/evaluation/bootstrap.min.js b/dist/vocabulary/implementation/0.1.1/OOPSevaluation/evaluation/bootstrap.min.js new file mode 100644 index 0000000..1a6258e --- /dev/null +++ b/dist/vocabulary/implementation/0.1.1/OOPSevaluation/evaluation/bootstrap.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +if("undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]'),b=!0;if(a.length){var c=this.$element.find("input");"radio"===c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?b=!1:a.find(".active").removeClass("active")),b&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}b&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery); \ No newline at end of file diff --git a/dist/vocabulary/implementation/0.1.1/OOPSevaluation/evaluation/jquery-1.11.0.js b/dist/vocabulary/implementation/0.1.1/OOPSevaluation/evaluation/jquery-1.11.0.js new file mode 100644 index 0000000..3c88fa8 --- /dev/null +++ b/dist/vocabulary/implementation/0.1.1/OOPSevaluation/evaluation/jquery-1.11.0.js @@ -0,0 +1,10337 @@ +/*! + * jQuery JavaScript Library v1.11.0 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-23T21:02Z + */ + +(function( global, factory ) { + + if ( typeof module === "object" && typeof module.exports === "object" ) { + // For CommonJS and CommonJS-like environments where a proper window is present, + // execute the factory and get jQuery + // For environments that do not inherently posses a window with a document + // (such as Node.js), expose a jQuery-making factory as module.exports + // This accentuates the need for the creation of a real window + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Can't do this because several apps including ASP.NET trace +// the stack via arguments.caller.callee and Firefox dies if +// you try to trace through "use strict" call chains. (#13335) +// Support: Firefox 18+ +// + +var deletedIds = []; + +var slice = deletedIds.slice; + +var concat = deletedIds.concat; + +var push = deletedIds.push; + +var indexOf = deletedIds.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var trim = "".trim; + +var support = {}; + + + +var + version = "1.11.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }; + +jQuery.fn = jQuery.prototype = { + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // Start with an empty selector + selector: "", + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num != null ? + + // Return a 'clean' array + ( num < 0 ? this[ num + this.length ] : this[ num ] ) : + + // Return just the object + slice.call( this ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + ret.context = this.context; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: deletedIds.sort, + splice: deletedIds.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var src, copyIsArray, copy, name, options, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + isWindow: function( obj ) { + /* jshint eqeqeq: false */ + return obj != null && obj == obj.window; + }, + + isNumeric: function( obj ) { + // parseFloat NaNs numeric-cast false positives (null|true|false|"") + // ...but misinterprets leading-number strings, particularly hex literals ("0x...") + // subtraction forces infinities to NaN + return obj - parseFloat( obj ) >= 0; + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + isPlainObject: function( obj ) { + var key; + + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + try { + // Not own constructor property must be Object + if ( obj.constructor && + !hasOwn.call(obj, "constructor") && + !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + } catch ( e ) { + // IE8,9 Will throw exceptions on certain host objects #9897 + return false; + } + + // Support: IE<9 + // Handle iteration over inherited properties before own properties. + if ( support.ownLast ) { + for ( key in obj ) { + return hasOwn.call( obj, key ); + } + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + for ( key in obj ) {} + + return key === undefined || hasOwn.call( obj, key ); + }, + + type: function( obj ) { + if ( obj == null ) { + return obj + ""; + } + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call(obj) ] || "object" : + typeof obj; + }, + + // Evaluates a script in a global context + // Workarounds based on findings by Jim Driscoll + // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context + globalEval: function( data ) { + if ( data && jQuery.trim( data ) ) { + // We use execScript on Internet Explorer + // We use an anonymous function so that context is window + // rather than jQuery in Firefox + ( window.execScript || function( data ) { + window[ "eval" ].call( window, data ); + } )( data ); + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + // args is for internal usage only + each: function( obj, callback, args ) { + var value, + i = 0, + length = obj.length, + isArray = isArraylike( obj ); + + if ( args ) { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } + } + + return obj; + }, + + // Use native String.trim function wherever possible + trim: trim && !trim.call("\uFEFF\xA0") ? + function( text ) { + return text == null ? + "" : + trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArraylike( Object(arr) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + var len; + + if ( arr ) { + if ( indexOf ) { + return indexOf.call( arr, elem, i ); + } + + len = arr.length; + i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; + + for ( ; i < len; i++ ) { + // Skip accessing in sparse arrays + if ( i in arr && arr[ i ] === elem ) { + return i; + } + } + } + + return -1; + }, + + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + while ( j < len ) { + first[ i++ ] = second[ j++ ]; + } + + // Support: IE<9 + // Workaround casting of .length to NaN on otherwise arraylike objects (e.g., NodeLists) + if ( len !== len ) { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, + i = 0, + length = elems.length, + isArray = isArraylike( elems ), + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var args, proxy, tmp; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + now: function() { + return +( new Date() ); + }, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +}); + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +function isArraylike( obj ) { + var length = obj.length, + type = jQuery.type( obj ); + + if ( type === "function" || jQuery.isWindow( obj ) ) { + return false; + } + + if ( obj.nodeType === 1 && length ) { + return true; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v1.10.16 + * http://sizzlejs.com/ + * + * Copyright 2013 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-13 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + compile, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + -(new Date()), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // General-purpose constants + strundefined = typeof undefined, + MAX_NEGATIVE = 1 << 31, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf if we can't use a native one + indexOf = arr.indexOf || function( elem ) { + var i = 0, + len = this.length; + for ( ; i < len; i++ ) { + if ( this[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + // http://www.w3.org/TR/css3-syntax/#characters + characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", + + // Loosely modeled on CSS identifier characters + // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors + // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = characterEncoding.replace( "w", "w#" ), + + // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + + "*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", + + // Prefer arguments quoted, + // then not containing pseudos/brackets, + // then attribute selectors/non-parenthetical expressions, + // then anything else + // These preferences are here to reduce the number of selectors + // needing tokenize in the PSEUDO preFilter + pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + characterEncoding + ")" ), + "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), + "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + rescape = /'|\\/g, + + // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }; + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var match, elem, m, nodeType, + // QSA vars + i, groups, old, nid, newContext, newSelector; + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + + context = context || document; + results = results || []; + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { + return []; + } + + if ( documentIsHTML && !seed ) { + + // Shortcuts + if ( (match = rquickExpr.exec( selector )) ) { + // Speed-up: Sizzle("#ID") + if ( (m = match[1]) ) { + if ( nodeType === 9 ) { + elem = context.getElementById( m ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document (jQuery #6963) + if ( elem && elem.parentNode ) { + // Handle the case where IE, Opera, and Webkit return items + // by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + } else { + // Context is not a document + if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && + contains( context, elem ) && elem.id === m ) { + results.push( elem ); + return results; + } + } + + // Speed-up: Sizzle("TAG") + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Speed-up: Sizzle(".CLASS") + } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) { + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // QSA path + if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + nid = old = expando; + newContext = context; + newSelector = nodeType === 9 && selector; + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + groups = tokenize( selector ); + + if ( (old = context.getAttribute("id")) ) { + nid = old.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", nid ); + } + nid = "[id='" + nid + "'] "; + + i = groups.length; + while ( i-- ) { + groups[i] = nid + toSelector( groups[i] ); + } + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context; + newSelector = groups.join(","); + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch(qsaError) { + } finally { + if ( !old ) { + context.removeAttribute("id"); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {Function(string, Object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created div and expects a boolean result + */ +function assert( fn ) { + var div = document.createElement("div"); + + try { + return !!fn( div ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( div.parentNode ) { + div.parentNode.removeChild( div ); + } + // release memory in IE + div = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = attrs.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + ( ~b.sourceIndex || MAX_NEGATIVE ) - + ( ~a.sourceIndex || MAX_NEGATIVE ); + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== strundefined && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, + doc = node ? node.ownerDocument || node : preferredDoc, + parent = doc.defaultView; + + // If no document and documentElement is available, return + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Set our document + document = doc; + docElem = doc.documentElement; + + // Support tests + documentIsHTML = !isXML( doc ); + + // Support: IE>8 + // If iframe document is assigned to "document" variable and if iframe has been reloaded, + // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936 + // IE6-8 do not support the defaultView property so parent will be undefined + if ( parent && parent !== parent.top ) { + // IE11 does not have attachEvent, so all must suffer + if ( parent.addEventListener ) { + parent.addEventListener( "unload", function() { + setDocument(); + }, false ); + } else if ( parent.attachEvent ) { + parent.attachEvent( "onunload", function() { + setDocument(); + }); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans) + support.attributes = assert(function( div ) { + div.className = "i"; + return !div.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( div ) { + div.appendChild( doc.createComment("") ); + return !div.getElementsByTagName("*").length; + }); + + // Check if getElementsByClassName can be trusted + support.getElementsByClassName = rnative.test( doc.getElementsByClassName ) && assert(function( div ) { + div.innerHTML = "
    "; + + // Support: Safari<4 + // Catch class over-caching + div.firstChild.className = "i"; + // Support: Opera<10 + // Catch gEBCN failure to find non-leading classes + return div.getElementsByClassName("i").length === 2; + }); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( div ) { + docElem.appendChild( div ).id = expando; + return !doc.getElementsByName || !doc.getElementsByName( expando ).length; + }); + + // ID find and filter + if ( support.getById ) { + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== strundefined && documentIsHTML ) { + var m = context.getElementById( id ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + }; + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + } else { + // Support: IE6/7 + // getElementById is not reliable as a find shortcut + delete Expr.find["ID"]; + + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== strundefined ) { + return context.getElementsByTagName( tag ); + } + } : + function( tag, context ) { + var elem, + tmp = [], + i = 0, + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See http://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + div.innerHTML = ""; + + // Support: IE8, Opera 10-12 + // Nothing should be selected when empty strings follow ^= or $= or *= + if ( div.querySelectorAll("[t^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + }); + + assert(function( div ) { + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = doc.createElement("input"); + input.setAttribute( "type", "hidden" ); + div.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( div.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + div.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( div, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully does not implement inclusive descendent + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === doc ? -1 : + b === doc ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return doc; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch(e) {} + } + + return Sizzle( expr, document, null, [elem] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[5] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] && match[4] !== undefined ) { + match[2] = match[4]; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, outerCache, node, diff, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + // Seek `elem` from a previously-cached index + outerCache = parent[ expando ] || (parent[ expando ] = {}); + cache = outerCache[ type ] || []; + nodeIndex = cache[0] === dirruns && cache[1]; + diff = cache[0] === dirruns && cache[2]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + outerCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + // Use previously-cached element index if available + } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { + diff = cache[1]; + + // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) + } else { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { + // Cache the index of each encountered element + if ( useCache ) { + (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf.call( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +function tokenize( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +} + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + if ( (oldCache = outerCache[ dir ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + outerCache[ dir ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf.call( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context !== document && context; + } + + // Add elements passing elementMatchers directly to results + // Keep `i` a string if there are no elements so `matchedCount` will be "00" below + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // Apply set filters to unmatched elements + matchedCount += i; + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !group ) { + group = tokenize( selector ); + } + i = group.length; + while ( i-- ) { + cached = matcherFromTokens( group[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + } + return cached; +}; + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function select( selector, context, results, seed ) { + var i, tokens, token, type, find, + match = tokenize( selector ); + + if ( !seed ) { + // Try to minimize operations if there is only one group + if ( match.length === 1 ) { + + // Take a shortcut and set the context if the root selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + support.getById && context.nodeType === 9 && documentIsHTML && + Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + } + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + } + + // Compile and execute a filtering function + // Provide `match` to avoid retokenization if we modified the selector above + compile( selector, match )( + seed, + context, + !documentIsHTML, + results, + rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +} + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome<14 +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( div1 ) { + // Should return 1, but returns 4 (following) + return div1.compareDocumentPosition( document.createElement("div") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( div ) { + div.innerHTML = ""; + return div.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( div ) { + div.innerHTML = ""; + div.firstChild.setAttribute( "value", "" ); + return div.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( div ) { + return div.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.pseudos; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + + +var rneedsContext = jQuery.expr.match.needsContext; + +var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); + + + +var risSimple = /^.[^:#\[\.,]*$/; + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + /* jshint -W018 */ + return !!qualifier.call( elem, i, elem ) !== not; + }); + + } + + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + }); + + } + + if ( typeof qualifier === "string" ) { + if ( risSimple.test( qualifier ) ) { + return jQuery.filter( qualifier, elements, not ); + } + + qualifier = jQuery.filter( qualifier, elements ); + } + + return jQuery.grep( elements, function( elem ) { + return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not; + }); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 && elem.nodeType === 1 ? + jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : + jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + })); +}; + +jQuery.fn.extend({ + find: function( selector ) { + var i, + ret = [], + self = this, + len = self.length; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }) ); + } + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + // Needed because $( selector, context ) becomes $( context ).find( selector ) + ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); + ret.selector = this.selector ? this.selector + " " + selector : selector; + return ret; + }, + filter: function( selector ) { + return this.pushStack( winnow(this, selector || [], false) ); + }, + not: function( selector ) { + return this.pushStack( winnow(this, selector || [], true) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +}); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // Use the correct document accordingly with window argument (sandbox) + document = window.document, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, + + init = jQuery.fn.init = function( selector, context ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + + // scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[1], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + // Properties of context are called as methods if possible + if ( jQuery.isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || rootjQuery ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return typeof rootjQuery.ready !== "undefined" ? + rootjQuery.ready( selector ) : + // Execute immediately if ready is not present + selector( jQuery ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.extend({ + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +jQuery.fn.extend({ + has: function( target ) { + var i, + targets = jQuery( target, this ), + len = targets.length; + + return this.filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) { + // Always skip document fragments + if ( cur.nodeType < 11 && (pos ? + pos.index(cur) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector(cur, selectors)) ) { + + matched.push( cur ); + break; + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return jQuery.inArray( this[0], jQuery( elem ) ); + } + + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.unique( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter(selector) + ); + } +}); + +function sibling( cur, dir ) { + do { + cur = cur[ dir ]; + } while ( cur && cur.nodeType !== 1 ); + + return cur; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + if ( this.length > 1 ) { + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + ret = jQuery.unique( ret ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + } + + return this.pushStack( ret ); + }; +}); +var rnotwhite = (/\S+/g); + + + +// String to Object options format cache +var optionsCache = {}; + +// Convert String-formatted options into Object-formatted ones and store in cache +function createOptions( options ) { + var object = optionsCache[ options ] = {}; + jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) { + object[ flag ] = true; + }); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + ( optionsCache[ options ] || createOptions( options ) ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + // Last fire value (for non-forgettable lists) + memory, + // Flag to know if list was already fired + fired, + // End of the loop when firing + firingLength, + // Index of currently firing callback (modified by remove if needed) + firingIndex, + // First callback to fire (used internally by add and fireWith) + firingStart, + // Actual callback list + list = [], + // Stack of fire calls for repeatable lists + stack = !options.once && [], + // Fire callbacks + fire = function( data ) { + memory = options.memory && data; + fired = true; + firingIndex = firingStart || 0; + firingStart = 0; + firingLength = list.length; + firing = true; + for ( ; list && firingIndex < firingLength; firingIndex++ ) { + if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { + memory = false; // To prevent further calls using add + break; + } + } + firing = false; + if ( list ) { + if ( stack ) { + if ( stack.length ) { + fire( stack.shift() ); + } + } else if ( memory ) { + list = []; + } else { + self.disable(); + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + // First, we save the current length + var start = list.length; + (function add( args ) { + jQuery.each( args, function( _, arg ) { + var type = jQuery.type( arg ); + if ( type === "function" ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && type !== "string" ) { + // Inspect recursively + add( arg ); + } + }); + })( arguments ); + // Do we need to add the callbacks to the + // current firing batch? + if ( firing ) { + firingLength = list.length; + // With memory, if we're not firing then + // we should call right away + } else if ( memory ) { + firingStart = start; + fire( memory ); + } + } + return this; + }, + // Remove a callback from the list + remove: function() { + if ( list ) { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + // Handle firing indexes + if ( firing ) { + if ( index <= firingLength ) { + firingLength--; + } + if ( index <= firingIndex ) { + firingIndex--; + } + } + } + }); + } + return this; + }, + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); + }, + // Remove all callbacks from the list + empty: function() { + list = []; + firingLength = 0; + return this; + }, + // Have the list do nothing anymore + disable: function() { + list = stack = memory = undefined; + return this; + }, + // Is it disabled? + disabled: function() { + return !list; + }, + // Lock the list in its current state + lock: function() { + stack = undefined; + if ( !memory ) { + self.disable(); + } + return this; + }, + // Is it locked? + locked: function() { + return !stack; + }, + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( list && ( !fired || stack ) ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + if ( firing ) { + stack.push( args ); + } else { + fire( args ); + } + } + return this; + }, + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +jQuery.extend({ + + Deferred: function( func ) { + var tuples = [ + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], + [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], + [ "notify", "progress", jQuery.Callbacks("memory") ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred(function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[1] ](function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .done( newDefer.resolve ) + .fail( newDefer.reject ) + .progress( newDefer.notify ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); + } + }); + }); + fns = null; + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[1] ] = list.add; + + // Handle state + if ( stateString ) { + list.add(function() { + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] + deferred[ tuple[0] ] = function() { + deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); + return this; + }; + deferred[ tuple[0] + "With" ] = list.fireWith; + }); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( values === progressValues ) { + deferred.notifyWith( contexts, values ); + + } else if ( !(--remaining) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ) + .progress( updateFunc( i, progressContexts, progressValues ) ); + } else { + --remaining; + } + } + } + + // if we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +}); + + +// The deferred used on DOM ready +var readyList; + +jQuery.fn.ready = function( fn ) { + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; +}; + +jQuery.extend({ + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger("ready").off("ready"); + } + } +}); + +/** + * Clean-up method for dom ready events + */ +function detach() { + if ( document.addEventListener ) { + document.removeEventListener( "DOMContentLoaded", completed, false ); + window.removeEventListener( "load", completed, false ); + + } else { + document.detachEvent( "onreadystatechange", completed ); + window.detachEvent( "onload", completed ); + } +} + +/** + * The ready event handler and self cleanup method + */ +function completed() { + // readyState === "complete" is good enough for us to call the dom ready in oldIE + if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { + detach(); + jQuery.ready(); + } +} + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called after the browser event has already occurred. + // we once tried to use readyState "interactive" here, but it caused issues like the one + // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + setTimeout( jQuery.ready ); + + // Standards-based browsers support DOMContentLoaded + } else if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed, false ); + + // If IE event model is used + } else { + // Ensure firing before onload, maybe late but safe also for iframes + document.attachEvent( "onreadystatechange", completed ); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", completed ); + + // If IE and not a frame + // continually check to see if the document is ready + var top = false; + + try { + top = window.frameElement == null && document.documentElement; + } catch(e) {} + + if ( top && top.doScroll ) { + (function doScrollCheck() { + if ( !jQuery.isReady ) { + + try { + // Use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + top.doScroll("left"); + } catch(e) { + return setTimeout( doScrollCheck, 50 ); + } + + // detach all dom ready events + detach(); + + // and execute any waiting functions + jQuery.ready(); + } + })(); + } + } + } + return readyList.promise( obj ); +}; + + +var strundefined = typeof undefined; + + + +// Support: IE<9 +// Iteration over object's inherited properties before its own +var i; +for ( i in jQuery( support ) ) { + break; +} +support.ownLast = i !== "0"; + +// Note: most support tests are defined in their respective modules. +// false until the test is run +support.inlineBlockNeedsLayout = false; + +jQuery(function() { + // We need to execute this one support test ASAP because we need to know + // if body.style.zoom needs to be set. + + var container, div, + body = document.getElementsByTagName("body")[0]; + + if ( !body ) { + // Return for frameset docs that don't have a body + return; + } + + // Setup + container = document.createElement( "div" ); + container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; + + div = document.createElement( "div" ); + body.appendChild( container ).appendChild( div ); + + if ( typeof div.style.zoom !== strundefined ) { + // Support: IE<8 + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + div.style.cssText = "border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1"; + + if ( (support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 )) ) { + // Prevent IE 6 from affecting layout for positioned elements #11048 + // Prevent IE from shrinking the body in IE 7 mode #12869 + // Support: IE<8 + body.style.zoom = 1; + } + } + + body.removeChild( container ); + + // Null elements to avoid leaks in IE + container = div = null; +}); + + + + +(function() { + var div = document.createElement( "div" ); + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +/** + * Determines whether an object can have data + */ +jQuery.acceptData = function( elem ) { + var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ], + nodeType = +elem.nodeType || 1; + + // Do not set data on non-element DOM nodes because it will not be cleared (#8335). + return nodeType !== 1 && nodeType !== 9 ? + false : + + // Nodes accept data unless otherwise specified; rejection can be conditional + !noData || noData !== true && elem.getAttribute("classid") === noData; +}; + + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /([A-Z])/g; + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + + var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + +// checks a cache object for emptiness +function isEmptyDataObject( obj ) { + var name; + for ( name in obj ) { + + // if the public data object is empty, the private is still empty + if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { + continue; + } + if ( name !== "toJSON" ) { + return false; + } + } + + return true; +} + +function internalData( elem, name, data, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var ret, thisCache, + internalKey = jQuery.expando, + + // We have to handle DOM nodes and JS objects differently because IE6-7 + // can't GC object references properly across the DOM-JS boundary + isNode = elem.nodeType, + + // Only DOM nodes need the global jQuery cache; JS object data is + // attached directly to the object so GC can occur automatically + cache = isNode ? jQuery.cache : elem, + + // Only defining an ID for JS objects if its cache already exists allows + // the code to shortcut on the same path as a DOM node with no cache + id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; + + // Avoid doing any more work than we need to when trying to get data on an + // object that has no data at all + if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) { + return; + } + + if ( !id ) { + // Only DOM nodes need a new unique ID for each element since their data + // ends up in the global cache + if ( isNode ) { + id = elem[ internalKey ] = deletedIds.pop() || jQuery.guid++; + } else { + id = internalKey; + } + } + + if ( !cache[ id ] ) { + // Avoid exposing jQuery metadata on plain JS objects when the object + // is serialized using JSON.stringify + cache[ id ] = isNode ? {} : { toJSON: jQuery.noop }; + } + + // An object can be passed to jQuery.data instead of a key/value pair; this gets + // shallow copied over onto the existing cache + if ( typeof name === "object" || typeof name === "function" ) { + if ( pvt ) { + cache[ id ] = jQuery.extend( cache[ id ], name ); + } else { + cache[ id ].data = jQuery.extend( cache[ id ].data, name ); + } + } + + thisCache = cache[ id ]; + + // jQuery data() is stored in a separate object inside the object's internal data + // cache in order to avoid key collisions between internal data and user-defined + // data. + if ( !pvt ) { + if ( !thisCache.data ) { + thisCache.data = {}; + } + + thisCache = thisCache.data; + } + + if ( data !== undefined ) { + thisCache[ jQuery.camelCase( name ) ] = data; + } + + // Check for both converted-to-camel and non-converted data property names + // If a data property was specified + if ( typeof name === "string" ) { + + // First Try to find as-is property data + ret = thisCache[ name ]; + + // Test for null|undefined property data + if ( ret == null ) { + + // Try to find the camelCased property + ret = thisCache[ jQuery.camelCase( name ) ]; + } + } else { + ret = thisCache; + } + + return ret; +} + +function internalRemoveData( elem, name, pvt ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, i, + isNode = elem.nodeType, + + // See jQuery.data for more information + cache = isNode ? jQuery.cache : elem, + id = isNode ? elem[ jQuery.expando ] : jQuery.expando; + + // If there is already no cache entry for this object, there is no + // purpose in continuing + if ( !cache[ id ] ) { + return; + } + + if ( name ) { + + thisCache = pvt ? cache[ id ] : cache[ id ].data; + + if ( thisCache ) { + + // Support array or space separated string names for data keys + if ( !jQuery.isArray( name ) ) { + + // try the string as a key before any manipulation + if ( name in thisCache ) { + name = [ name ]; + } else { + + // split the camel cased version by spaces unless a key with the spaces exists + name = jQuery.camelCase( name ); + if ( name in thisCache ) { + name = [ name ]; + } else { + name = name.split(" "); + } + } + } else { + // If "name" is an array of keys... + // When data is initially created, via ("key", "val") signature, + // keys will be converted to camelCase. + // Since there is no way to tell _how_ a key was added, remove + // both plain key and camelCase key. #12786 + // This will only penalize the array argument path. + name = name.concat( jQuery.map( name, jQuery.camelCase ) ); + } + + i = name.length; + while ( i-- ) { + delete thisCache[ name[i] ]; + } + + // If there is no data left in the cache, we want to continue + // and let the cache object itself get destroyed + if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) { + return; + } + } + } + + // See jQuery.data for more information + if ( !pvt ) { + delete cache[ id ].data; + + // Don't destroy the parent cache unless the internal data object + // had been the only thing left in it + if ( !isEmptyDataObject( cache[ id ] ) ) { + return; + } + } + + // Destroy the cache + if ( isNode ) { + jQuery.cleanData( [ elem ], true ); + + // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) + /* jshint eqeqeq: false */ + } else if ( support.deleteExpando || cache != cache.window ) { + /* jshint eqeqeq: true */ + delete cache[ id ]; + + // When all else fails, null + } else { + cache[ id ] = null; + } +} + +jQuery.extend({ + cache: {}, + + // The following elements (space-suffixed to avoid Object.prototype collisions) + // throw uncatchable exceptions if you attempt to set expando properties + noData: { + "applet ": true, + "embed ": true, + // ...but Flash objects (which have this classid) *can* handle expandos + "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" + }, + + hasData: function( elem ) { + elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; + return !!elem && !isEmptyDataObject( elem ); + }, + + data: function( elem, name, data ) { + return internalData( elem, name, data ); + }, + + removeData: function( elem, name ) { + return internalRemoveData( elem, name ); + }, + + // For internal use only. + _data: function( elem, name, data ) { + return internalData( elem, name, data, true ); + }, + + _removeData: function( elem, name ) { + return internalRemoveData( elem, name, true ); + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var i, name, data, + elem = this[0], + attrs = elem && elem.attributes; + + // Special expections of .data basically thwart jQuery.access, + // so implement the relevant behavior ourselves + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = jQuery.data( elem ); + + if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + name = attrs[i].name; + + if ( name.indexOf("data-") === 0 ) { + name = jQuery.camelCase( name.slice(5) ); + + dataAttr( elem, name, data[ name ] ); + } + } + jQuery._data( elem, "parsedAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + return arguments.length > 1 ? + + // Sets one value + this.each(function() { + jQuery.data( this, key, value ); + }) : + + // Gets one value + // Try to fetch any internally stored data first + elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : undefined; + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + + +jQuery.extend({ + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = jQuery._data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray(data) ) { + queue = jQuery._data( elem, type, jQuery.makeArray(data) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // not intended for public consumption - generates a queueHooks object, or returns the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return jQuery._data( elem, key ) || jQuery._data( elem, key, { + empty: jQuery.Callbacks("once memory").add(function() { + jQuery._removeData( elem, type + "queue" ); + jQuery._removeData( elem, key ); + }) + }); + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[0], type ); + } + + return data === undefined ? + this : + this.each(function() { + var queue = jQuery.queue( this, type, data ); + + // ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = jQuery._data( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +}); +var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var isHidden = function( elem, el ) { + // isHidden might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); + }; + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + length = elems.length, + bulk = key == null; + + // Sets many values + if ( jQuery.type( key ) === "object" ) { + chainable = true; + for ( i in key ) { + jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !jQuery.isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < length; i++ ) { + fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); + } + } + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + length ? fn( elems[0], key ) : emptyGet; +}; +var rcheckableType = (/^(?:checkbox|radio)$/i); + + + +(function() { + var fragment = document.createDocumentFragment(), + div = document.createElement("div"), + input = document.createElement("input"); + + // Setup + div.setAttribute( "className", "t" ); + div.innerHTML = "
    a"; + + // IE strips leading whitespace when .innerHTML is used + support.leadingWhitespace = div.firstChild.nodeType === 3; + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + support.tbody = !div.getElementsByTagName( "tbody" ).length; + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + support.htmlSerialize = !!div.getElementsByTagName( "link" ).length; + + // Makes sure cloning an html5 element does not cause problems + // Where outerHTML is undefined, this still works + support.html5Clone = + document.createElement( "nav" ).cloneNode( true ).outerHTML !== "<:nav>"; + + // Check if a disconnected checkbox will retain its checked + // value of true after appended to the DOM (IE6/7) + input.type = "checkbox"; + input.checked = true; + fragment.appendChild( input ); + support.appendChecked = input.checked; + + // Make sure textarea (and checkbox) defaultValue is properly cloned + // Support: IE6-IE11+ + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // #11217 - WebKit loses check when the name is after the checked attribute + fragment.appendChild( div ); + div.innerHTML = ""; + + // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3 + // old WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE<9 + // Opera does not clone events (and typeof div.attachEvent === undefined). + // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() + support.noCloneEvent = true; + if ( div.attachEvent ) { + div.attachEvent( "onclick", function() { + support.noCloneEvent = false; + }); + + div.cloneNode( true ).click(); + } + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + fragment = div = input = null; +})(); + + +(function() { + var i, eventName, + div = document.createElement( "div" ); + + // Support: IE<9 (lack submit/change bubble), Firefox 23+ (lack focusin event) + for ( i in { submit: true, change: true, focusin: true }) { + eventName = "on" + i; + + if ( !(support[ i + "Bubbles" ] = eventName in window) ) { + // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP) + div.setAttribute( eventName, "t" ); + support[ i + "Bubbles" ] = div.attributes[ eventName ].expando === false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +var rformElems = /^(?:input|select|textarea)$/i, + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|contextmenu)|click/, + rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + var tmp, events, t, handleObjIn, + special, eventHandle, handleObj, + handlers, type, namespaces, origType, + elemData = jQuery._data( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !(events = elemData.events) ) { + events = elemData.events = {}; + } + if ( !(eventHandle = elemData.handle) ) { + eventHandle = elemData.handle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== strundefined && (!e || jQuery.event.triggered !== e.type) ? + jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : + undefined; + }; + // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events + eventHandle.elem = elem; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend({ + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join(".") + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !(handlers = events[ type ]) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener/attachEvent if the special events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + var j, handleObj, tmp, + origCount, t, events, + special, handlers, type, + namespaces, origType, + elemData = jQuery.hasData( elem ) && jQuery._data( elem ); + + if ( !elemData || !(events = elemData.events) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + delete elemData.handle; + + // removeData also checks for emptiness and clears the expando if empty + // so use it instead of delete + jQuery._removeData( elem, "events" ); + } + }, + + trigger: function( event, data, elem, onlyHandlers ) { + var handle, ontype, cur, + bubbleType, special, tmp, i, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; + + cur = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf(".") >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf(":") < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join("."); + event.namespace_re = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === (elem.ownerDocument || document) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { + + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && jQuery.acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) && + jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Can't use an .isFunction() check here because IE6/7 fails that test. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + try { + elem[ type ](); + } catch ( e ) { + // IE<9 dies on focus/blur to hidden element (#1486,#12518) + // only reproducible on winXP IE8 native, not IE9 in IE8 mode + } + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event ); + + var i, ret, handleObj, matched, j, + handlerQueue = [], + args = slice.call( arguments ), + handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) + .apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( (event.result = ret) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var sel, handleObj, matches, i, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + // Black-hole SVG instance trees (#13180) + // Avoid non-left-click bubbling in Firefox (#3861) + if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { + + /* jshint eqeqeq: false */ + for ( ; cur != this; cur = cur.parentNode || this ) { + /* jshint eqeqeq: true */ + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matches[ sel ] === undefined ) { + matches[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) >= 0 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matches[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push({ elem: cur, handlers: matches }); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( delegateCount < handlers.length ) { + handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); + } + + return handlerQueue; + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, copy, + type = event.type, + originalEvent = event, + fixHook = this.fixHooks[ type ]; + + if ( !fixHook ) { + this.fixHooks[ type ] = fixHook = + rmouseEvent.test( type ) ? this.mouseHooks : + rkeyEvent.test( type ) ? this.keyHooks : + {}; + } + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = new jQuery.Event( originalEvent ); + + i = copy.length; + while ( i-- ) { + prop = copy[ i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Support: IE<9 + // Fix target property (#1925) + if ( !event.target ) { + event.target = originalEvent.srcElement || document; + } + + // Support: Chrome 23+, Safari? + // Target should not be a text node (#504, #13143) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // Support: IE<9 + // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) + event.metaKey = !!event.metaKey; + + return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split(" "), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function( event, original ) { + var body, eventDoc, doc, + button = original.button, + fromElement = original.fromElement; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && fromElement ) { + event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + special: { + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + try { + this.focus(); + return false; + } catch ( e ) { + // Support: IE<9 + // If we error on focus to hidden element (#1486, #12518), + // let .trigger() run the handlers + } + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return jQuery.nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Even when returnValue equals to undefined Firefox will still show alert + if ( event.result !== undefined ) { + event.originalEvent.returnValue = event.result; + } + } + } + }, + + simulate: function( type, elem, event, bubble ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true, + originalEvent: {} + } + ); + if ( bubble ) { + jQuery.event.trigger( e, null, elem ); + } else { + jQuery.event.dispatch.call( elem, e ); + } + if ( e.isDefaultPrevented() ) { + event.preventDefault(); + } + } +}; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + var name = "on" + type; + + if ( elem.detachEvent ) { + + // #8545, #7054, preventing memory leaks for custom events in IE6-8 + // detachEvent needed property on element, by name of that event, to properly expose it to GC + if ( typeof elem[ name ] === strundefined ) { + elem[ name ] = null; + } + + elem.detachEvent( name, handle ); + } + }; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !(this instanceof jQuery.Event) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && ( + // Support: IE < 9 + src.returnValue === false || + // Support: Android < 4.0 + src.getPreventDefault && src.getPreventDefault() ) ? + returnTrue : + returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + if ( !e ) { + return; + } + + // If preventDefault exists, run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // Support: IE + // Otherwise set the returnValue property of the original event to false + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + if ( !e ) { + return; + } + // If stopPropagation exists, run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + + // Support: IE + // Set the cancelBubble property of the original event to true + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + } +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mousenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || (related !== target && !jQuery.contains( target, related )) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +}); + +// IE submit delegation +if ( !support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Lazy-add a submit handler when a descendant form may potentially be submitted + jQuery.event.add( this, "click._submit keypress._submit", function( e ) { + // Node name check avoids a VML-related crash in IE (#9807) + var elem = e.target, + form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; + if ( form && !jQuery._data( form, "submitBubbles" ) ) { + jQuery.event.add( form, "submit._submit", function( event ) { + event._submit_bubble = true; + }); + jQuery._data( form, "submitBubbles", true ); + } + }); + // return undefined since we don't need an event listener + }, + + postDispatch: function( event ) { + // If form was submitted by the user, bubble the event up the tree + if ( event._submit_bubble ) { + delete event._submit_bubble; + if ( this.parentNode && !event.isTrigger ) { + jQuery.event.simulate( "submit", this.parentNode, event, true ); + } + } + }, + + teardown: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Remove delegated handlers; cleanData eventually reaps submit handlers attached above + jQuery.event.remove( this, "._submit" ); + } + }; +} + +// IE change delegation and checkbox/radio fix +if ( !support.changeBubbles ) { + + jQuery.event.special.change = { + + setup: function() { + + if ( rformElems.test( this.nodeName ) ) { + // IE doesn't fire change on a check/radio until blur; trigger it on click + // after a propertychange. Eat the blur-change in special.change.handle. + // This still fires onchange a second time for check/radio after blur. + if ( this.type === "checkbox" || this.type === "radio" ) { + jQuery.event.add( this, "propertychange._change", function( event ) { + if ( event.originalEvent.propertyName === "checked" ) { + this._just_changed = true; + } + }); + jQuery.event.add( this, "click._change", function( event ) { + if ( this._just_changed && !event.isTrigger ) { + this._just_changed = false; + } + // Allow triggered, simulated change events (#11500) + jQuery.event.simulate( "change", this, event, true ); + }); + } + return false; + } + // Delegated event; lazy-add a change handler on descendant inputs + jQuery.event.add( this, "beforeactivate._change", function( e ) { + var elem = e.target; + + if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { + jQuery.event.add( elem, "change._change", function( event ) { + if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { + jQuery.event.simulate( "change", this.parentNode, event, true ); + } + }); + jQuery._data( elem, "changeBubbles", true ); + } + }); + }, + + handle: function( event ) { + var elem = event.target; + + // Swallow native change events from checkbox/radio, we already triggered them above + if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { + return event.handleObj.handler.apply( this, arguments ); + } + }, + + teardown: function() { + jQuery.event.remove( this, "._change" ); + + return !rformElems.test( this.nodeName ); + } + }; +} + +// Create "bubbling" focus and blur events +if ( !support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + jQuery._data( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + jQuery._removeData( doc, fix ); + } else { + jQuery._data( doc, fix, attaches ); + } + } + }; + }); +} + +jQuery.fn.extend({ + + on: function( types, selector, data, fn, /*INTERNAL*/ one ) { + var type, origFn; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + this.on( type, selector, data, types[ type ], one ); + } + return this; + } + + if ( data == null && fn == null ) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return this; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return this.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + }); + }, + one: function( types, selector, data, fn ) { + return this.on( types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each(function() { + jQuery.event.remove( this, types, fn, selector ); + }); + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + triggerHandler: function( type, data ) { + var elem = this[0]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +}); + + +function createSafeFragment( document ) { + var list = nodeNames.split( "|" ), + safeFrag = document.createDocumentFragment(); + + if ( safeFrag.createElement ) { + while ( list.length ) { + safeFrag.createElement( + list.pop() + ); + } + } + return safeFrag; +} + +var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + + "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", + rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, + rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, + rtagName = /<([\w:]+)/, + rtbody = /\s*$/g, + + // We have to close these tags to support XHTML (#13200) + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "
    ", "
    " ], + area: [ 1, "", "" ], + param: [ 1, "", "" ], + thead: [ 1, "", "
    " ], + tr: [ 2, "", "
    " ], + col: [ 2, "", "
    " ], + td: [ 3, "", "
    " ], + + // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, + // unless wrapped in a div with non-breaking characters in front of it. + _default: support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X
    ", "
    " ] + }, + safeFragment = createSafeFragment( document ), + fragmentDiv = safeFragment.appendChild( document.createElement("div") ); + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +function getAll( context, tag ) { + var elems, elem, + i = 0, + found = typeof context.getElementsByTagName !== strundefined ? context.getElementsByTagName( tag || "*" ) : + typeof context.querySelectorAll !== strundefined ? context.querySelectorAll( tag || "*" ) : + undefined; + + if ( !found ) { + for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { + if ( !tag || jQuery.nodeName( elem, tag ) ) { + found.push( elem ); + } else { + jQuery.merge( found, getAll( elem, tag ) ); + } + } + } + + return tag === undefined || tag && jQuery.nodeName( context, tag ) ? + jQuery.merge( [ context ], found ) : + found; +} + +// Used in buildFragment, fixes the defaultChecked property +function fixDefaultChecked( elem ) { + if ( rcheckableType.test( elem.type ) ) { + elem.defaultChecked = elem.checked; + } +} + +// Support: IE<8 +// Manipulating tables requires a tbody +function manipulationTarget( elem, content ) { + return jQuery.nodeName( elem, "table" ) && + jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ? + + elem.getElementsByTagName("tbody")[0] || + elem.appendChild( elem.ownerDocument.createElement("tbody") ) : + elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + var match = rscriptTypeMasked.exec( elem.type ); + if ( match ) { + elem.type = match[1]; + } else { + elem.removeAttribute("type"); + } + return elem; +} + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var elem, + i = 0; + for ( ; (elem = elems[i]) != null; i++ ) { + jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); + } +} + +function cloneCopyEvent( src, dest ) { + + if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { + return; + } + + var type, i, l, + oldData = jQuery._data( src ), + curData = jQuery._data( dest, oldData ), + events = oldData.events; + + if ( events ) { + delete curData.handle; + curData.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + + // make the cloned public data object a copy from the original + if ( curData.data ) { + curData.data = jQuery.extend( {}, curData.data ); + } +} + +function fixCloneNodeIssues( src, dest ) { + var nodeName, e, data; + + // We do not need to do anything for non-Elements + if ( dest.nodeType !== 1 ) { + return; + } + + nodeName = dest.nodeName.toLowerCase(); + + // IE6-8 copies events bound via attachEvent when using cloneNode. + if ( !support.noCloneEvent && dest[ jQuery.expando ] ) { + data = jQuery._data( dest ); + + for ( e in data.events ) { + jQuery.removeEvent( dest, e, data.handle ); + } + + // Event data gets referenced instead of copied if the expando gets copied too + dest.removeAttribute( jQuery.expando ); + } + + // IE blanks contents when cloning scripts, and tries to evaluate newly-set text + if ( nodeName === "script" && dest.text !== src.text ) { + disableScript( dest ).text = src.text; + restoreScript( dest ); + + // IE6-10 improperly clones children of object elements using classid. + // IE10 throws NoModificationAllowedError if parent is null, #12132. + } else if ( nodeName === "object" ) { + if ( dest.parentNode ) { + dest.outerHTML = src.outerHTML; + } + + // This path appears unavoidable for IE9. When cloning an object + // element in IE9, the outerHTML strategy above is not sufficient. + // If the src has innerHTML and the destination does not, + // copy the src.innerHTML into the dest.innerHTML. #10324 + if ( support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { + dest.innerHTML = src.innerHTML; + } + + } else if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + // IE6-8 fails to persist the checked state of a cloned checkbox + // or radio button. Worse, IE6-7 fail to give the cloned element + // a checked appearance if the defaultChecked value isn't also set + + dest.defaultChecked = dest.checked = src.checked; + + // IE6-7 get confused and end up setting the value of a cloned + // checkbox/radio button to an empty string instead of "on" + if ( dest.value !== src.value ) { + dest.value = src.value; + } + + // IE6-8 fails to return the selected option to the default selected + // state when cloning options + } else if ( nodeName === "option" ) { + dest.defaultSelected = dest.selected = src.defaultSelected; + + // IE6-8 fails to set the defaultValue to the correct value when + // cloning other types of input fields + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +jQuery.extend({ + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var destElements, node, clone, i, srcElements, + inPage = jQuery.contains( elem.ownerDocument, elem ); + + if ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { + clone = elem.cloneNode( true ); + + // IE<=8 does not properly clone detached, unknown element nodes + } else { + fragmentDiv.innerHTML = elem.outerHTML; + fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); + } + + if ( (!support.noCloneEvent || !support.noCloneChecked) && + (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { + + // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + // Fix all IE cloning issues + for ( i = 0; (node = srcElements[i]) != null; ++i ) { + // Ensure that the destination node is not null; Fixes #9587 + if ( destElements[i] ) { + fixCloneNodeIssues( node, destElements[i] ); + } + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0; (node = srcElements[i]) != null; i++ ) { + cloneCopyEvent( node, destElements[i] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + destElements = srcElements = node = null; + + // Return the cloned set + return clone; + }, + + buildFragment: function( elems, context, scripts, selection ) { + var j, elem, contains, + tmp, tag, tbody, wrap, + l = elems.length, + + // Ensure a safe fragment + safe = createSafeFragment( context ), + + nodes = [], + i = 0; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( jQuery.type( elem ) === "object" ) { + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || safe.appendChild( context.createElement("div") ); + + // Deserialize a standard representation + tag = (rtagName.exec( elem ) || [ "", "" ])[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + + tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1>" ) + wrap[2]; + + // Descend through wrappers to the right content + j = wrap[0]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Manually add leading whitespace removed by IE + if ( !support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { + nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); + } + + // Remove IE's autoinserted from table fragments + if ( !support.tbody ) { + + // String was a , *may* have spurious + elem = tag === "table" && !rtbody.test( elem ) ? + tmp.firstChild : + + // String was a bare or + wrap[1] === "
    " && !rtbody.test( elem ) ? + tmp : + 0; + + j = elem && elem.childNodes.length; + while ( j-- ) { + if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { + elem.removeChild( tbody ); + } + } + } + + jQuery.merge( nodes, tmp.childNodes ); + + // Fix #12392 for WebKit and IE > 9 + tmp.textContent = ""; + + // Fix #12392 for oldIE + while ( tmp.firstChild ) { + tmp.removeChild( tmp.firstChild ); + } + + // Remember the top-level container for proper cleanup + tmp = safe.lastChild; + } + } + } + + // Fix #11356: Clear elements from fragment + if ( tmp ) { + safe.removeChild( tmp ); + } + + // Reset defaultChecked for any radios and checkboxes + // about to be appended to the DOM in IE 6/7 (#8060) + if ( !support.appendChecked ) { + jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); + } + + i = 0; + while ( (elem = nodes[ i++ ]) ) { + + // #4087 - If origin and destination elements are the same, and this is + // that element, do not do anything + if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( safe.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( (elem = tmp[ j++ ]) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + tmp = null; + + return safe; + }, + + cleanData: function( elems, /* internal */ acceptData ) { + var elem, type, id, data, + i = 0, + internalKey = jQuery.expando, + cache = jQuery.cache, + deleteExpando = support.deleteExpando, + special = jQuery.event.special; + + for ( ; (elem = elems[i]) != null; i++ ) { + if ( acceptData || jQuery.acceptData( elem ) ) { + + id = elem[ internalKey ]; + data = id && cache[ id ]; + + if ( data ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Remove cache only if it was not already removed by jQuery.event.remove + if ( cache[ id ] ) { + + delete cache[ id ]; + + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( deleteExpando ) { + delete elem[ internalKey ]; + + } else if ( typeof elem.removeAttribute !== strundefined ) { + elem.removeAttribute( internalKey ); + + } else { + elem[ internalKey ] = null; + } + + deletedIds.push( id ); + } + } + } + } + } +}); + +jQuery.fn.extend({ + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); + }, null, value, arguments.length ); + }, + + append: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + }); + }, + + prepend: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + }); + }, + + before: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + }); + }, + + after: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + }); + }, + + remove: function( selector, keepData /* Internal Use Only */ ) { + var elem, + elems = selector ? jQuery.filter( selector, this ) : this, + i = 0; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( !keepData && elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem ) ); + } + + if ( elem.parentNode ) { + if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { + setGlobalEval( getAll( elem, "script" ) ); + } + elem.parentNode.removeChild( elem ); + } + } + + return this; + }, + + empty: function() { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + } + + // Remove any remaining nodes + while ( elem.firstChild ) { + elem.removeChild( elem.firstChild ); + } + + // If this is a select, ensure that it displays empty (#12336) + // Support: IE<9 + if ( elem.options && jQuery.nodeName( elem, "select" ) ) { + elem.options.length = 0; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map(function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + }); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined ) { + return elem.nodeType === 1 ? + elem.innerHTML.replace( rinlinejQuery, "" ) : + undefined; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + ( support.htmlSerialize || !rnoshimcache.test( value ) ) && + ( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && + !wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) { + + value = value.replace( rxhtmlTag, "<$1>" ); + + try { + for (; i < l; i++ ) { + // Remove element nodes and prevent memory leaks + elem = this[i] || {}; + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch(e) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var arg = arguments[ 0 ]; + + // Make the changes, replacing each context element with the new content + this.domManip( arguments, function( elem ) { + arg = this.parentNode; + + jQuery.cleanData( getAll( this ) ); + + if ( arg ) { + arg.replaceChild( elem, this ); + } + }); + + // Force removal if there was no new content (e.g., from empty arguments) + return arg && (arg.length || arg.nodeType) ? this : this.remove(); + }, + + detach: function( selector ) { + return this.remove( selector, true ); + }, + + domManip: function( args, callback ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var first, node, hasScripts, + scripts, doc, fragment, + i = 0, + l = this.length, + set = this, + iNoClone = l - 1, + value = args[0], + isFunction = jQuery.isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( isFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return this.each(function( index ) { + var self = set.eq( index ); + if ( isFunction ) { + args[0] = value.call( this, index, self.html() ); + } + self.domManip( args, callback ); + }); + } + + if ( l ) { + fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + if ( first ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( this[i], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { + + if ( node.src ) { + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl ) { + jQuery._evalUrl( node.src ); + } + } else { + jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); + } + } + } + } + + // Fix #11809: Avoid leaking memory + fragment = first = null; + } + } + + return this; + } +}); + +jQuery.each({ + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + i = 0, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone(true); + jQuery( insert[i] )[ original ]( elems ); + + // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +}); + + +var iframe, + elemdisplay = {}; + +/** + * Retrieve the actual display of a element + * @param {String} name nodeName of the element + * @param {Object} doc Document object + */ +// Called only from within defaultDisplay +function actualDisplay( name, doc ) { + var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), + + // getDefaultComputedStyle might be reliably used only on attached element + display = window.getDefaultComputedStyle ? + + // Use of this method is a temporary fix (more like optmization) until something better comes along, + // since it was removed from specification and supported only in FF + window.getDefaultComputedStyle( elem[ 0 ] ).display : jQuery.css( elem[ 0 ], "display" ); + + // We don't have any data stored on the element, + // so use "detach" method as fast way to get rid of the element + elem.detach(); + + return display; +} + +/** + * Try to determine the default display value of an element + * @param {String} nodeName + */ +function defaultDisplay( nodeName ) { + var doc = document, + display = elemdisplay[ nodeName ]; + + if ( !display ) { + display = actualDisplay( nodeName, doc ); + + // If the simple way fails, read from inside an iframe + if ( display === "none" || !display ) { + + // Use the already-created iframe if possible + iframe = (iframe || jQuery( " diff --git a/dist/vocabulary/implementation/0.1.1/sections/references-en.html b/dist/vocabulary/implementation/0.1.1/sections/references-en.html new file mode 100644 index 0000000..2093dc4 --- /dev/null +++ b/dist/vocabulary/implementation/0.1.1/sections/references-en.html @@ -0,0 +1,5 @@ + +

    References back to ToC

    + +Add your references here. It is recommended to have them as a list. + diff --git a/dist/vocabulary/implementation/0.1.1/webvowl/css/webvowl.app.css b/dist/vocabulary/implementation/0.1.1/webvowl/css/webvowl.app.css new file mode 100644 index 0000000..2ceaead --- /dev/null +++ b/dist/vocabulary/implementation/0.1.1/webvowl/css/webvowl.app.css @@ -0,0 +1,6 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans);html{-ms-content-zooming:none}#loading-progress{width:50%;margin:10px 0}#layoutLoadingProgressBarContainer{height:50px;text-align:left;line-height:1.5}#FPS_Statistics{padding-left:60px;padding-top:60px}#additionalInformationContainer{position:absolute;top:10px;right:50px}#modeOfOperationString{padding-left:34px}#close_directUploadBtn,#direct-text-input,#directUploadBtn{border:1px solid #34495e;width:100%;margin-top:5px;cursor:pointer}#di_controls>ul{list-style:none;margin:0;padding:5px 0 0 5px}#progressBarContext{border-radius:10px;background-color:#bdc3c7;height:25px;border:1px solid #000;margin:auto}#progressBarValue{border-radius:9px;width:0;background-color:#2980b9;height:25px;line-height:1.5;text-align:center}.dbEntry{background-color:#fff;color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntrySelected{color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntry:focus,.dbEntry:hover,.dbEntrySelected{background-color:#bdc3c7}.searchMenuEntry{background-color:#fff;bottom:0;font-size:14px;min-width:50px;margin:0;padding:0;z-index:99;border-radius:4px 4px 0 0;border:1px solid rgba(0,0,0,.15);-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;border-bottom:none;display:none;position:absolute;list-style:none}.searchInputText{background-color:#fff;color:#000;border:#000;text-decoration:none;max-width:150px;overflow:hidden;text-overflow:ellipsis;margin:0}iframe,img{border:none}.hidden{display:none!important}.clear{clear:both}a{color:#69c;text-decoration:none}a:hover{color:#3498db}#optionsArea a{color:#2980b9}#optionsArea a.highlighted{background-color:#d90}.toolTipMenu li.highlighted{background-color:#feb}#browserCheck{background-color:red;padding:5px 0;position:absolute;text-align:center;width:100%}#browserCheck a{color:#fff}#browserCheck a:hover{text-decoration:underline}@-webkit-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-o-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-webkit-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-o-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-moz-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-o-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-webkit-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-moz-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-o-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-webkit-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-moz-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-o-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-webkit-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-moz-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-o-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes msg_CollapseAnimation{0%{top:0}to{top:-400px}}@-webkit-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-moz-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-o-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-webkit-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-moz-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-o-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-webkit-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-o-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-o-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}body{background:#18202a;font-size:14px;font-family:Open Sans,Helvetica,Arial,sans-serif;line-height:1;overflow:hidden;position:fixed}body,main{height:100%;margin:0;padding:0;width:100%}#canvasArea,main{position:relative}#canvasArea{margin:0;padding:0;width:78%}#canvasArea #graph{margin:0 0 2px;background-color:#ecf0f1;width:100%}#canvasArea #graph,#canvasArea svg{box-sizing:border-box;overflow:hidden;padding:0}#canvasArea svg{margin:0}#logo{position:fixed;pointer-events:none}#logo h2{color:#3498db;margin:0;line-height:.7;text-align:center;font-size:24px}#logo h2 span{color:#34495e;font-size:16px}@media screen and (max-device-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-device-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}.checkboxContainer input,.checkboxContainer label{vertical-align:middle}.selected-ontology{background-color:#eee}#credits{border-top:1px solid #bdc3c7;font-size:.9em}.slideOption{position:relative;padding:8px 5px;outline:none}.slideOption .value{float:right;outline:none}.slideOption input[type=range]{box-sizing:border-box;margin:0;outline:none;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#eee}.slideOption input[type=range]::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]::-moz-range-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]:hover{outline:none}.slideOption input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none;margin-top:-3px}.slideOption input[type=range]::-moz-range-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none}.slideOption input[type=range]::-moz-range-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]::-webkit-slider-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]:active,.slideOption input[type=range]:focus{outline:none}.slideOption input[type=range]::-moz-range-thumb:active,.slideOption input[type=range]::-moz-range-thumb:focus{outline:none}.slideOption input[type=range]::-webkit-slider-thumb:active,.slideOption input[type=range]::-webkit-slider-thumb:focus{outline:none}.slideOption input[type=range]:disabled{box-sizing:border-box;margin:0;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#787878}.slideOption input[type=range]:disabled::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled::-moz-range-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled{outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{-webkit-appearance:none;background-color:#363636;border-radius:3px;border:1px solid #aaa;transition:all .5s ease;height:10px;width:30px;margin-top:-3px}.slideOption input[type=range]:disabled::-moz-range-thumb{-webkit-appearance:none;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;background-color:#aaa;outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{background-color:#aaa;outline:none}.slideOption input[type=range]:disabled:hover::-moz-range-thumb{background-color:#404040;outline:none}.slideOption input[type=range]:disabled:hover::-webkit-slider-thumb{background-color:#404040;outline:none}#detailsArea{top:0;right:0;bottom:0;color:#bdc3c7;height:100%;width:22%;overflow-y:auto;overflow-x:hidden;position:fixed;border-left:1px solid #34495e}#detailsArea h1{border-bottom:1px solid #34495e;color:#ecf0f1;display:block;font-weight:100;font-size:1.5em;margin:0;padding:10px 0;text-align:center}#generalDetails{width:auto;box-sizing:border-box;height:100%}#generalDetails span #about{border-bottom:1px solid #34495e;display:block;padding:10px;text-align:center;word-wrap:break-word;color:#69c}#generalDetails h4{background:#1b252e;color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 0;text-align:center}#detailsArea #generalDetails h5{border-bottom:1px solid #34495e;font-size:.9em;font-weight:100;margin:0;padding:5px;text-align:center}#description{text-align:justify}.accordion-container p{font-size:.9em;line-height:1.3;margin:5px 10px}.statisticDetails span{padding:10px}.statisticDetails div,.statisticDetails span{font-weight:100;font-style:italic;margin:10px 0}.statisticDetails div{padding:0 10px;display:inline}#selection-details .propDetails a{color:#69c}#selection-details .propDetails>span{font-weight:100;font-style:italic;padding:0 10px}#selection-details #classEquivUri span,#selection-details #disjointNodes span{padding:0}#selection-details .propDetails div{font-weight:100;font-style:italic;margin:10px 0;padding:0 10px;display:inline}#selection-details .propDetails div span{padding:0}.subclass{fill:#ecf0f1}.accordion-trigger{background:#24323e;cursor:pointer;padding:.5em}.accordion-trigger.accordion-trigger-active:before{padding-right:4px;content:"\25BC"}.accordion-trigger:not(.accordion-trigger-active):before{padding-right:4px;content:"\25BA"}.accordion-container.scrollable{max-height:40%;overflow:auto}.small-whitespace-separator{height:3px}#language{background:transparent;border:1px solid #34495e;color:#ecf0f1}#language option{background-color:#24323e}.converter-form:not(:first-child){margin-top:5px}.converter-form label{display:inline-block;line-height:normal}.converter-form input{box-sizing:border-box;height:20px;width:74%;border:1px solid #34495e}.converter-form button{float:right;padding:0;width:25%;background-color:#ecf0f1}#file-converter-label,.converter-form button{cursor:pointer;height:20px;border:1px solid #34495e}#file-converter-label{box-sizing:border-box;width:74%}#killWarning{cursor:pointer;color:#fff;font-weight:700}#copyBt{box-sizing:border-box;height:20px;width:31%;border:1px solid #34495e}#sidebarExpandButton{height:24px;width:24px;box-sizing:border-box;top:10px;color:#000;float:right;position:absolute;right:0;border:1px solid #000;text-align:center;font-size:1.5em;cursor:pointer}.dropdownMenuClass{height:20px;float:right;border:1px solid #34495e;background-color:#34495e;color:#fff;text-align:left;width:auto}#typeEditForm_datatype{padding-top:5px}#typeEditor,#typeEditor_datatype{width:165px}#leftSideBarCollapseButton{box-sizing:border-box;top:50px;color:#000;position:absolute;left:200px;border:1px solid #000;cursor:pointer;width:24px;height:24px;font-size:1.5em;text-align:center}#leftSideBarCollapseButton:hover,#sidebarExpandButton:hover{background-color:#d90}.spanForCharSelection{padding-left:25px}.nodeEditSpan{color:#000;background-color:#fff;text-align:center;border:none;padding-top:6px}.nodeEditSpan:focus{outline:none;border:none}.foreignelements{border:none}.foreignelements:focus{outline:none;border:none}#leftSideBarContent{color:#000;float:left;position:absolute;left:0;background-color:#18202a;width:100%;height:100%}#leftSideBarContent>h3{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0 0 5px;padding:10px 0;text-align:left}#generalDetailsEdit{color:#ecf0f1}#generalDetailsEdit>div{padding:5px}#generalDetailsEdit>h3{font-size:1.1em;margin:0 0 5px;padding:10px 0}#generalDetailsEdit>h3,.subAccordion{color:#ecf0f1;display:block;font-weight:100;text-align:left}.subAccordion{font-size:.8em;margin:0;padding:5px}.boxed,.subAccordionDescription{padding:0 5px}.separatorLineRight{border-right:1px solid red}.editPrefixButton:hover{color:#ff972d;cursor:pointer}.editPrefixIcon:hover{stroke:#ff972d;stroke-width:1px;cursor:pointer}.editPrefixIcon{stroke:#fffff;stroke-width:1px;cursor:pointer}.deletePrefixButton:hover{color:#ff972d;cursor:pointer}.deletePrefixButton{color:red;cursor:pointer}.invisiblePrefixButton{cursor:default;color:#18202a}#containerForAddPrefixButton{width:100%;margin-top:5px}.roundedButton{border:1px solid #000;border-radius:20px;padding:0 5px;background:#fff;cursor:pointer;color:#000;outline:none}.roundedButton:hover{background:#318638;cursor:pointer;color:#fff;outline:none}#prefixURL_Description{padding:5px 0 0}.prefixIRIElements{display:inline-block;padding:3px;border-bottom:1px solid #34495e;width:100%}.prefixInput{width:30px;display:inline-block;margin-right:5px}.prefixURL{width:100px;display:inline-block;paddig-left:5px}.selectedDefaultElement{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;max-width:200px}#editHeader,#leftHeader{color:#ecf0f1;background-color:#394f5a;display:block;font-size:1.1em;font-weight:100;text-align:center}#leftHeader{padding:10px 0;margin:0}.containerForDefaultSelection{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 20px;text-align:left}.defaultSelected{color:#a15d05;background-color:#283943}.containerForDefaultSelection:hover{color:#f19505;background-color:#394f5a;display:block;cursor:pointer}#containerForLeftSideBar{top:50px;float:left;position:absolute;background-color:#1b252e;left:0;width:200px;height:200px;overflow-y:auto;overflow-x:hidden}#leftSideBar{width:100%;background-color:#18202a}#loading-info{box-sizing:border-box;position:absolute;text-align:center;width:100%;height:80%;top:0}#loading-info>div{display:inline-block;color:#fff;background-color:#18202a;border-bottom-left-radius:2px;border-bottom-right-radius:2px}#loading-info>*>*{padding:5px}#loading-info{pointer-events:none}#loading-progress{pointer-events:auto;min-width:220px;border-radius:10px}#show-loadingInfo-button{font-size:12px;color:#fff;cursor:pointer;text-align:center}#loadingIndicator_closeButton:hover{color:#ff972d;cursor:pointer}#loadingIndicator_closeButton{color:#ffe30f;cursor:pointer;padding-bottom:5px;float:right}.busyProgressBar{background-color:#000;height:25px;position:relative;animation:busy 2s linear infinite}@-webkit-keyframes busy{0%{left:0}50%{left:80%}to{left:0}}#bulletPoint_container{padding-left:15px;margin-top:0;margin-bottom:0}#bulletPoint_container>div{margin-left:-15px}#loadingInfo-container{box-sizing:border-box;text-align:left;line-height:1.2;padding-top:5px;overflow:auto;height:120px;min-height:40px;background-color:#3c3c3c}#error-description-button{margin:5px 0 0;font-size:12px;color:#69c;cursor:pointer;text-align:center}#error-description-container{box-sizing:border-box;text-align:left}#error-description-container pre{background-color:#34495e;padding:2px;margin:0;white-space:pre-wrap;max-height:calc(100vh - 125px);max-width:75vw;overflow:auto}.spin{display:inline-block;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.truncate{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.color-mode-switch{float:right;width:90px;cursor:pointer;height:20px;padding:0;border:0;color:#555;background-color:#eceeef;box-shadow:0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.color-mode-switch:focus{outline-width:0}.color-mode-switch.active{color:#fff;background-color:#32cd32;box-shadow:inset 0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.filterMenuButtonHighlight{background-color:#d90}@-webkit-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-moz-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-o-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}.buttonPulse{-webkit-animation-name:buttonAnimation;-moz-animation-name:buttonAnimation;-o-animation-name:buttonAnimation;animation-name:buttonAnimation;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s;-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}#m_about{max-width:200px;width:200px;position:absolute}#m_modes{max-width:160px;width:160px;position:absolute}#m_filter{max-width:170px;width:170px;position:absolute}#m_gravity{max-width:180px;width:180px;position:absolute}#m_export{max-width:160px;width:160px;position:absolute}#exportedUrl{width:100px}#m_select{max-width:300px;width:300px;position:absolute}#m_config{max-width:240px;width:240px;position:absolute}#m_search{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#swipeBarContainer{position:fixed;width:77.8%;height:40px;margin:0;padding:0;bottom:0}#menuElementContainer{margin:0;padding:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;text-align:right;list-style-type:none}#menuElementContainer>li{display:inline-block;box-sizing:border-box;text-align:left;position:relative;height:40px;font-size:14px;color:#fff;padding:12px 0 0;margin-left:-4px}#menuElementContainer>li>a{color:#fff;padding:9px 12px 12px 30px}.menuElementSvgElement{height:20px;width:20px;display:block;position:absolute;top:10px;left:8px}.btn_shadowed{background-color:#fefefe;box-shadow:1px 1px 1px gray}.reloadCachedOntologyIcon{height:20px;width:108px;display:block;position:absolute;top:20px;left:3px;border:1px solid #000;border-radius:10px;cursor:pointer}.reloadCachedOntologyIcon:disabled{background:#f4f4f4;cursor:auto;border:1px solid #a9a9a9}.reloadCachedOntologyIcon:hover{background:#d90;cursor:pointer}.disabledReloadElement{cursor:auto;background:#f4f4f4;pointer-events:auto;border:1px solid #a9a9a9;color:#bbb}.disabledReloadElement:hover{cursor:auto;background:#eee;pointer-events:auto}#menuElementContainer>li>input{color:#000;padding:.1em .3em .1em 1.5em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:120px}#menuElementContainer>li>a:hover{box-sizing:border-box;background:#1b252e;color:#bdc3c7}#empty:hover{box-sizing:border-box;background:#e1e1e1;color:#2980b9}#empty.disabled,.disabled{pointer-events:none;cursor:default;color:#979797}.toolTipMenu{-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;background-color:#fff;border:1px solid rgba(0,0,0,.15);border-bottom:none;border-radius:4px 4px 0 0;bottom:0;display:none;font-size:14px;list-style:none;margin:0;padding:0;white-space:normal;position:absolute;z-index:99}.toolTipMenu>li:first-of-type{border:none}.toolTipMenu a{color:#2980b9}.toolTipMenu>li{border-top:1px solid #bdc3c7}.toolTipMenu li{color:#2980b9;display:block}#menuElementContainer>li:hover .toolTipMenu{display:block}#menuElementContainer li>ul.toolTipMenu li a:hover{background:#e1e1e1}#scrollLeftButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;left:0}#scrollLeftButton:focus{outline:none}#scrollLeftButton:before{content:"<"}#scrollRightButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;right:0}#scrollRightButton:focus{outline:none}#scrollLeftButton:hover,#scrollRightButton:hover{color:#bdc3c7}#scrollRightButton:before{content:">"}#centerGraphButton,#zoomInButton,#zoomOutButton{border:1px solid #000;text-align:center;margin:-1px 0 0;font-size:1.5em;padding:0;height:28px}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#zoomOutButton{line-height:22px}#centerGraphButton,#zoomInButton{line-height:25px}#zoomSlider>p:hover{background-color:#d90}#zoomSliderParagraph{color:#000;padding-top:5px;margin:-1px 0 0;border:1px solid #000;height:150px}p#zoomSliderParagraph:hover{background-color:#fff}#zoomSlider{width:28px;margin-top:-2px;padding:0;font-size:1.5em;cursor:pointer;position:absolute;right:20px;bottom:20px;color:#000;box-sizing:border-box}#menuElementContainer>li>a:before{font-size:1em;margin:0;padding:0 6px 0 0}#menuElementContainer a.highlighted{background-color:#d90} + /*!*padding: 0 0.2em;*!*/.inner-addon{position:relative}.gearIcon,.searchIcon{position:absolute;width:17px;height:17px;pointer-events:none}.gearIcon{left:-5px} + /*!*padding: 0 0.2em;*!*/ + /*!*color: black;*!*/ + /*!*content: "\2315";*!*/ + /*!*content: "\2315" or "\1F50D"*!;*/li#c_search{padding:0 5px;margin-left:5px;height:20px}li#c_locate{padding:0}#c_locate>a{font-size:2em;padding:0}a#pause-button{padding:12px}a#pause-button.paused:before{content:"\25BA"}a#pause-button.paused:hover{background-color:#d90;color:#fff}a#pause-button:not(.paused):before{content:"II"}.toolTipMenu li:hover{background-color:#e1e1e1}#emptyLiHover,#emptyLiHover:hover{background-color:#fff}.toggleOption li:hover{background-color:#e1e1e1}.toggleOption{padding:8px 5px}#converter-option:hover{background-color:#fff}.option,.toolTipMenu li a:only-child{display:block;float:none;padding:8px 5px}.customLocate{padding:0;background-color:#32cd32}a#locateSearchResult{padding-top:50px}#zoomSliderElement{color:#000;position:relative;padding-top:0;width:155px;height:24px;background-color:transparent;-webkit-transform-origin-x:73px;-webkit-transform-origin-y:73px;-webkit-transform:rotate(-90deg);-moz-transform-origin:73px 73px;transform:rotate(-90deg);transform-origin:73px 73px;-webkit-appearance:none;outline:none;margin:4px 0}#zoomSliderElement::-webkit-scrollbar{height:0}#zoomSliderElement:hover{cursor:crosshair}#zoomSliderElement::-webkit-slider-runnable-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-moz-range-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-webkit-slider-thumb{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#fff;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb{background:#fff}#zoomSliderElement::-ms-thumb,#zoomSliderElement::-ms-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb:hover{background:#d90}#zoomSliderElement::-webkit-slider-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#d90;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-moz-range-thumb,#zoomSliderElement::-moz-range-thumb:hover{border:1px solid #000;height:10px;width:30px;border-radius:3px;cursor:pointer;outline:none}#zoomSliderElement::-moz-range-thumb:hover{background:#d90}#zoomSliderElement::-moz-focus-outer{border:0}#locateSearchResult:focus{outline:none}a#locateSearchResult.highlighted:hover{background-color:#d90;color:red}a#locateSearchResult{outline:none;padding-bottom:0;padding-top:0;position:relative;top:5px}#editorHint{padding:5px;position:absolute;text-align:center;width:100%;pointer-events:none}#editorHint label{pointer-events:auto;float:right;padding:5px;color:#fd0}#editorHint label:hover{text-decoration:underline;cursor:pointer}#editorHint>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:5px}#WarningErrorMessagesContainer{position:absolute;text-align:center;top:0;pointer-events:none}#WarningErrorMessages{position:relative;width:50%;pointer-events:auto;margin:10px 0;padding-right:12px;overflow-y:auto;overflow-x:hidden}#WarningErrorMessages label{color:#fd0}#WarningErrorMessages label,#WarningErrorMessages span{pointer-events:auto;float:right;padding:5px}#WarningErrorMessages label:hover{text-decoration:underline;cursor:pointer}#WarningErrorMessages>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:10px;border:1px solid #ecf0f1;width:70%}#WarningErrorMessagesContent>ul{-webkit-padding-start:20px;padding:0 16px}#WarningErrorMessagesContent>ul>li{padding:5px}.textLineEditWithLabel{display:inline-block;width:100%;border-bottom:1px solid #34495e;padding:2px 0}.converter-form-Editor label{line-height:normal}.descriptionTextClass,.prefixIRIElements input{background-color:#34495e;color:#fff}.prefixIRIElements input{border:1px solid #34495e}.prefixIRIElements input:disabled{background-color:#18202a;border:1px solid #18202a;color:#fff}.converter-form-Editor input{float:right;border:1px solid #34495e;background-color:#34495e;color:#fff}.converter-form-Editor input:disabled{background-color:#545350;border:1px solid #34495e;color:#939798}.disabledLabelForSlider{color:gray} \ No newline at end of file diff --git a/dist/vocabulary/implementation/0.1.1/webvowl/css/webvowl.css b/dist/vocabulary/implementation/0.1.1/webvowl/css/webvowl.css new file mode 100644 index 0000000..335ea85 --- /dev/null +++ b/dist/vocabulary/implementation/0.1.1/webvowl/css/webvowl.css @@ -0,0 +1 @@ +.text{font-family:Helvetica,Arial,sans-serif;font-size:12px}.subtext{font-size:9px}.text.instance-count{fill:#666}.external+text .instance-count{fill:#aaa}.cardinality{font-size:10px}.embedded,.text{pointer-events:none}.allvaluesfromproperty,.class,.disjoint,.disjointwith,.equivalentproperty,.functionalproperty,.inversefunctionalproperty,.object,.objectproperty,.somevaluesfromproperty,.symmetricproperty,.transitiveproperty{fill:#acf}.datatypeproperty,.label .datatype{fill:#9c6}.rdf,.rdfproperty{fill:#c9c}.literal,.node .datatype{fill:#fc3}.deprecated,.deprecatedproperty{fill:#ccc}.nofill,path{fill:none}marker path{fill:#000}.class,.fineline,line,path{stroke:#000}.external+text,.subclass,.subclassproperty,.white{fill:#fff}.cardinality.focused,.cardinality.hovered,.class.hovered,.filled.focused,.filled.hovered,.hoveredForEditing,.property.hovered,.values-from.filled.hovered{fill:red!important;cursor:pointer}.feature{fill:red;cursor:pointer}@-webkit-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-moz-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-o-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}.searchResultA{-webkit-animation-name:pulseAnimation;-moz-animation-name:pulseAnimation;-o-animation-name:pulseAnimation;animation-name:pulseAnimation;-webkit-animation-duration:.8s;-moz-animation-duration:.8s;-o-animation-duration:.8s;animation-duration:.8s;-webkit-transform:translateZ(0);-o-transform:translateZ(0);-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}.searchResultA,.searchResultB{fill:none;stroke-width:5;stroke:red}.hovered-MathSymbol{fill:none}.focused,.hovered-MathSymbol,path.hovered{stroke:red!important}.feature:hover,.feature_hover,.indirect-highlighting{fill:#f90;cursor:pointer}.values-from{stroke:#69c}.symbol,.values-from.filled{fill:#69c}.class,line,path{stroke-width:2}.fineline{stroke-width:1}.anonymous,.dashed{stroke-dasharray:8}.dotted{stroke-dasharray:3}circle.focused,rect.focused{stroke-width:4px}.nostroke{stroke:none}.addDataPropertyElement{fill:#9c6!important;cursor:pointer;stroke-width:2;stroke:#000}.addDataPropertyElement:hover{fill:#f90!important;cursor:pointer;stroke-width:2;stroke:#000}.superHiddenElement{fill:rgba(255,153,0,.4);cursor:pointer;stroke-width:0;stroke:#000}.superOpacityElement{opacity:0}.deleteParentElement:hover{fill:#f90;cursor:pointer;stroke-width:2;stroke:#000}.deleteParentElement{fill:red;cursor:pointer;stroke-width:2;stroke:#000}.classDraggerNodeHovered,.classNodeDragPath{stroke:#000;stroke-width:2px}.classDraggerNodeHovered{fill:#f90;cursor:pointer}.classDraggerNode{fill:#acf;stroke:#000;stroke-width:2px}marker path{stroke-dasharray:100} \ No newline at end of file diff --git a/dist/vocabulary/implementation/0.1.1/webvowl/data/foaf.json b/dist/vocabulary/implementation/0.1.1/webvowl/data/foaf.json new file mode 100644 index 0000000..beaaffc --- /dev/null +++ b/dist/vocabulary/implementation/0.1.1/webvowl/data/foaf.json @@ -0,0 +1,2894 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.6), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "undefined" ], + "baseIris" : [ "http://schema.org", "http://www.w3.org/2000/01/rdf-schema", "http://www.w3.org/2003/01/geo/wgs84_pos", "http://purl.org/dc/terms", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "http://www.w3.org/2000/10/swap/pim/contact", "http://www.w3.org/2004/02/skos/core" ], + "prefixList" : { + "owl" : "http://www.w3.org/2002/07/owl#", + "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "wot" : "http://xmlns.com/wot/0.1/", + "xsd" : "http://www.w3.org/2001/XMLSchema#", + "dc" : "http://purl.org/dc/elements/1.1/", + "xml" : "http://www.w3.org/XML/1998/namespace", + "vs" : "http://www.w3.org/2003/06/sw-vocab-status/ns#", + "foaf" : "http://xmlns.com/foaf/0.1/", + "rdfs" : "http://www.w3.org/2000/01/rdf-schema#" + }, + "title" : { + "undefined" : "Friend of a Friend (FOAF) vocabulary" + }, + "iri" : "http://xmlns.com/foaf/0.1/", + "description" : { + "undefined" : "The Friend of a Friend (FOAF) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language." + }, + "other" : { + "title" : [ { + "identifier" : "title", + "language" : "undefined", + "value" : "Friend of a Friend (FOAF) vocabulary", + "type" : "label" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "3", + "type" : "owl:Thing" + }, { + "id" : "9", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:equivalentClass" + }, { + "id" : "18", + "type" : "owl:Thing" + }, { + "id" : "19", + "type" : "owl:Thing" + }, { + "id" : "5", + "type" : "owl:Thing" + }, { + "id" : "20", + "type" : "rdfs:Literal" + }, { + "id" : "8", + "type" : "rdfs:Literal" + }, { + "id" : "11", + "type" : "owl:Class" + }, { + "id" : "21", + "type" : "owl:Thing" + }, { + "id" : "22", + "type" : "rdfs:Literal" + }, { + "id" : "24", + "type" : "rdfs:Literal" + }, { + "id" : "26", + "type" : "rdfs:Literal" + }, { + "id" : "27", + "type" : "rdfs:Literal" + }, { + "id" : "37", + "type" : "owl:equivalentClass" + }, { + "id" : "45", + "type" : "rdfs:Literal" + }, { + "id" : "46", + "type" : "rdfs:Literal" + }, { + "id" : "53", + "type" : "rdfs:Literal" + }, { + "id" : "56", + "type" : "rdfs:Literal" + }, { + "id" : "59", + "type" : "rdfs:Literal" + }, { + "id" : "60", + "type" : "owl:Class" + }, { + "id" : "61", + "type" : "rdfs:Literal" + }, { + "id" : "6", + "type" : "rdfs:Literal" + }, { + "id" : "62", + "type" : "rdfs:Literal" + }, { + "id" : "12", + "type" : "owl:equivalentClass" + }, { + "id" : "55", + "type" : "rdfs:Literal" + }, { + "id" : "69", + "type" : "rdfs:Literal" + }, { + "id" : "71", + "type" : "owl:Class" + }, { + "id" : "36", + "type" : "owl:Class" + }, { + "id" : "86", + "type" : "owl:Class" + }, { + "id" : "83", + "type" : "owl:Class" + }, { + "id" : "94", + "type" : "owl:Class" + }, { + "id" : "73", + "type" : "rdfs:Literal" + }, { + "id" : "68", + "type" : "rdfs:Literal" + }, { + "id" : "93", + "type" : "rdfs:Literal" + }, { + "id" : "33", + "type" : "owl:Thing" + }, { + "id" : "49", + "type" : "rdfs:Literal" + }, { + "id" : "29", + "type" : "owl:Thing" + }, { + "id" : "101", + "type" : "rdfs:Literal" + }, { + "id" : "39", + "type" : "owl:Thing" + }, { + "id" : "63", + "type" : "owl:equivalentClass" + }, { + "id" : "64", + "type" : "owl:equivalentClass" + }, { + "id" : "102", + "type" : "owl:equivalentClass" + }, { + "id" : "78", + "type" : "owl:Class" + }, { + "id" : "77", + "type" : "owl:Class" + }, { + "id" : "13", + "type" : "owl:equivalentClass" + }, { + "id" : "58", + "type" : "rdfs:Literal" + }, { + "id" : "100", + "type" : "rdfs:Literal" + }, { + "id" : "106", + "type" : "rdfs:Literal" + }, { + "id" : "52", + "type" : "rdfs:Literal" + }, { + "id" : "88", + "type" : "rdfs:Literal" + }, { + "id" : "118", + "type" : "rdfs:Literal" + }, { + "id" : "126", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:equivalentClass" + }, { + "id" : "32", + "type" : "owl:equivalentClass" + }, { + "id" : "10", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "3", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2004/02/skos/core#Concept", + "baseIri" : "http://www.w3.org/2004/02/skos/core", + "instances" : 0, + "label" : { + "IRI-based" : "Concept", + "undefined" : "Concept" + }, + "attributes" : [ "external" ], + "id" : "9" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Agent", + "equivalent" : [ "13" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Agent", + "undefined" : "Agent" + }, + "subClasses" : [ "10", "11", "12" ], + "comment" : { + "undefined" : "An agent (eg. person, group, software or physical artifact)." + }, + "attributes" : [ "equivalent" ], + "id" : "1" + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "18", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "19", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "5", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "20", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "8", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Organization", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Organization", + "undefined" : "Organization" + }, + "comment" : { + "undefined" : "An organization." + }, + "id" : "11", + "superClasses" : [ "1" ] + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "21", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "22", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "24", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "26", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "27", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://schema.org/CreativeWork", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "CreativeWork" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "37" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "45", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "46", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "53", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "56", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "59", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Project", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Project", + "undefined" : "Project" + }, + "comment" : { + "undefined" : "A project (a collective endeavour of some kind)." + }, + "id" : "60" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "61", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "6", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "62", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "equivalent" : [ "63", "64" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Person", + "undefined" : "Person" + }, + "comment" : { + "undefined" : "A person." + }, + "attributes" : [ "equivalent" ], + "id" : "12", + "superClasses" : [ "1", "36" ] + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "55", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "69", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/PersonalProfileDocument", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "PersonalProfileDocument", + "undefined" : "PersonalProfileDocument" + }, + "comment" : { + "undefined" : "A personal profile RDF document." + }, + "id" : "71", + "superClasses" : [ "2" ] + }, { + "iri" : "http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing", + "baseIri" : "http://www.w3.org/2003/01/geo/wgs84_pos", + "instances" : 0, + "label" : { + "IRI-based" : "SpatialThing", + "undefined" : "Spatial Thing" + }, + "subClasses" : [ "12" ], + "attributes" : [ "external" ], + "id" : "36" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineChatAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineChatAccount", + "undefined" : "Online Chat Account" + }, + "comment" : { + "undefined" : "An online chat account." + }, + "id" : "86", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineGamingAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineGamingAccount", + "undefined" : "Online Gaming Account" + }, + "comment" : { + "undefined" : "An online gaming account." + }, + "id" : "83", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/LabelProperty", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "LabelProperty", + "undefined" : "Label Property" + }, + "comment" : { + "undefined" : "A foaf:LabelProperty is any RDF property with texual values that serve as labels." + }, + "id" : "94" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "73", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "68", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "93", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "33", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "49", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "29", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "101", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "39", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/10/swap/pim/contact#Person", + "baseIri" : "http://www.w3.org/2000/10/swap/pim/contact", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "63" + }, { + "iri" : "http://schema.org/Person", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "64" + }, { + "iri" : "http://schema.org/ImageObject", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "ImageObject" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "102" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineAccount", + "undefined" : "Online Account" + }, + "subClasses" : [ "77", "86", "83" ], + "comment" : { + "undefined" : "An online account." + }, + "id" : "78" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineEcommerceAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineEcommerceAccount", + "undefined" : "Online E-commerce Account" + }, + "comment" : { + "undefined" : "An online e-commerce account." + }, + "id" : "77", + "superClasses" : [ "78" ] + }, { + "iri" : "http://purl.org/dc/terms/Agent", + "baseIri" : "http://purl.org/dc/terms", + "instances" : 0, + "label" : { + "IRI-based" : "Agent" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "13" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "58", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "100", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "106", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "52", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "88", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "118", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Class", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "instances" : 0, + "label" : { + "IRI-based" : "Class" + }, + "attributes" : [ "external" ], + "id" : "126" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Document", + "equivalent" : [ "37" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Document", + "undefined" : "Document" + }, + "subClasses" : [ "71", "32" ], + "comment" : { + "undefined" : "A document." + }, + "attributes" : [ "equivalent" ], + "id" : "2" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Image", + "equivalent" : [ "102" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Image", + "undefined" : "Image" + }, + "comment" : { + "undefined" : "An image." + }, + "attributes" : [ "equivalent" ], + "id" : "32", + "superClasses" : [ "2" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/Group", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Group", + "undefined" : "Group" + }, + "comment" : { + "undefined" : "A class of Agents." + }, + "id" : "10", + "superClasses" : [ "1" ] + } ], + "property" : [ { + "id" : "0", + "type" : "owl:objectProperty" + }, { + "id" : "4", + "type" : "owl:datatypeProperty" + }, { + "id" : "7", + "type" : "owl:datatypeProperty" + }, { + "id" : "14", + "type" : "owl:objectProperty" + }, { + "id" : "16", + "type" : "owl:objectProperty" + }, { + "id" : "17", + "type" : "owl:objectProperty" + }, { + "id" : "23", + "type" : "owl:objectProperty" + }, { + "id" : "25", + "type" : "owl:objectProperty" + }, { + "id" : "28", + "type" : "owl:objectProperty" + }, { + "id" : "30", + "type" : "owl:objectProperty" + }, { + "id" : "31", + "type" : "owl:objectProperty" + }, { + "id" : "35", + "type" : "owl:objectProperty" + }, { + "id" : "38", + "type" : "owl:objectProperty" + }, { + "id" : "44", + "type" : "owl:datatypeProperty" + }, { + "id" : "47", + "type" : "owl:objectProperty" + }, { + "id" : "48", + "type" : "owl:datatypeProperty" + }, { + "id" : "50", + "type" : "owl:objectProperty" + }, { + "id" : "51", + "type" : "owl:datatypeProperty" + }, { + "id" : "54", + "type" : "owl:datatypeProperty" + }, { + "id" : "57", + "type" : "owl:datatypeProperty" + }, { + "id" : "65", + "type" : "owl:datatypeProperty" + }, { + "id" : "66", + "type" : "owl:datatypeProperty" + }, { + "id" : "67", + "type" : "owl:datatypeProperty" + }, { + "id" : "70", + "type" : "owl:datatypeProperty" + }, { + "id" : "72", + "type" : "owl:datatypeProperty" + }, { + "id" : "15", + "type" : "owl:objectProperty" + }, { + "id" : "74", + "type" : "rdfs:SubClassOf" + }, { + "id" : "75", + "type" : "rdfs:SubClassOf" + }, { + "id" : "76", + "type" : "rdfs:SubClassOf" + }, { + "id" : "79", + "type" : "rdfs:SubClassOf" + }, { + "id" : "80", + "type" : "owl:objectProperty" + }, { + "id" : "81", + "type" : "owl:objectProperty" + }, { + "id" : "82", + "type" : "rdfs:SubClassOf" + }, { + "id" : "34", + "type" : "owl:objectProperty" + }, { + "id" : "85", + "type" : "rdfs:SubClassOf" + }, { + "id" : "87", + "type" : "owl:datatypeProperty" + }, { + "id" : "89", + "type" : "rdfs:SubClassOf" + }, { + "id" : "90", + "type" : "rdfs:SubClassOf" + }, { + "id" : "91", + "type" : "owl:objectProperty" + }, { + "id" : "92", + "type" : "owl:datatypeProperty" + }, { + "id" : "95", + "type" : "owl:datatypeProperty" + }, { + "id" : "96", + "type" : "owl:objectProperty" + }, { + "id" : "97", + "type" : "owl:datatypeProperty" + }, { + "id" : "98", + "type" : "rdfs:SubClassOf" + }, { + "id" : "99", + "type" : "owl:datatypeProperty" + }, { + "id" : "43", + "type" : "owl:objectProperty" + }, { + "id" : "42", + "type" : "owl:objectProperty" + }, { + "id" : "103", + "type" : "owl:datatypeProperty" + }, { + "id" : "104", + "type" : "owl:objectProperty" + }, { + "id" : "105", + "type" : "owl:datatypeProperty" + }, { + "id" : "107", + "type" : "owl:objectProperty" + }, { + "id" : "108", + "type" : "owl:datatypeProperty" + }, { + "id" : "109", + "type" : "owl:objectProperty" + }, { + "id" : "110", + "type" : "owl:objectProperty" + }, { + "id" : "40", + "type" : "owl:objectProperty" + }, { + "id" : "41", + "type" : "owl:objectProperty" + }, { + "id" : "84", + "type" : "owl:objectProperty" + }, { + "id" : "111", + "type" : "owl:datatypeProperty" + }, { + "id" : "112", + "type" : "owl:datatypeProperty" + }, { + "id" : "113", + "type" : "owl:datatypeProperty" + }, { + "id" : "114", + "type" : "owl:objectProperty" + }, { + "id" : "116", + "type" : "owl:disjointWith" + }, { + "id" : "117", + "type" : "owl:disjointWith" + }, { + "id" : "119", + "type" : "owl:datatypeProperty" + }, { + "id" : "120", + "type" : "owl:disjointWith" + }, { + "id" : "121", + "type" : "owl:disjointWith" + }, { + "id" : "122", + "type" : "owl:objectProperty" + }, { + "id" : "123", + "type" : "owl:datatypeProperty" + }, { + "id" : "124", + "type" : "owl:objectProperty" + }, { + "id" : "125", + "type" : "owl:datatypeProperty" + }, { + "id" : "127", + "type" : "owl:datatypeProperty" + }, { + "id" : "115", + "type" : "owl:objectProperty" + }, { + "id" : "128", + "type" : "owl:objectProperty" + }, { + "id" : "129", + "type" : "owl:objectProperty" + } ], + "propertyAttribute" : [ { + "iri" : "http://xmlns.com/foaf/0.1/interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "interest", + "undefined" : "interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A page about a topic of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "0" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox_sha1sum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "6", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox_sha1sum", + "undefined" : "sha1sum of a personal mailbox URI name" + }, + "domain" : "5", + "comment" : { + "undefined" : "The sha1sum of the URI of an Internet mailbox associated with exactly one owner, the first owner of the mailbox." + }, + "attributes" : [ "datatype" ], + "id" : "4" + }, { + "iri" : "http://xmlns.com/foaf/0.1/nick", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "8", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "nick", + "undefined" : "nickname" + }, + "domain" : "5", + "comment" : { + "undefined" : "A short informal nickname characterising an agent (includes login identifiers, IRC and other chat nicknames)." + }, + "attributes" : [ "datatype" ], + "id" : "7" + }, { + "iri" : "http://xmlns.com/foaf/0.1/openid", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "openid", + "undefined" : "openid" + }, + "superproperty" : [ "15" ], + "domain" : "1", + "comment" : { + "undefined" : "An OpenID for an Agent." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "14" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workInfoHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workInfoHomepage", + "undefined" : "work info homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A work info homepage of some person; a page about their work for some organization." + }, + "attributes" : [ "object" ], + "id" : "16" + }, { + "iri" : "http://xmlns.com/foaf/0.1/pastProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "pastProject", + "undefined" : "past project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A project this person has previously worked on." + }, + "attributes" : [ "object" ], + "id" : "17" + }, { + "iri" : "http://xmlns.com/foaf/0.1/theme", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "theme", + "undefined" : "theme" + }, + "domain" : "19", + "comment" : { + "undefined" : "A theme." + }, + "attributes" : [ "object" ], + "id" : "23" + }, { + "iri" : "http://xmlns.com/foaf/0.1/knows", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "12", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "knows", + "undefined" : "knows" + }, + "domain" : "12", + "comment" : { + "undefined" : "A person known by this person (indicating some level of reciprocated interaction between the parties)." + }, + "attributes" : [ "object" ], + "id" : "25" + }, { + "iri" : "http://xmlns.com/foaf/0.1/focus", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "29", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "focus", + "undefined" : "focus" + }, + "domain" : "9", + "comment" : { + "undefined" : "The underlying or 'focal' entity associated with some SKOS-described concept." + }, + "attributes" : [ "object" ], + "id" : "28" + }, { + "iri" : "http://xmlns.com/foaf/0.1/phone", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "phone", + "undefined" : "phone" + }, + "domain" : "19", + "comment" : { + "undefined" : "A phone, specified using fully qualified tel: URI scheme (refs: http://www.w3.org/Addressing/schemes.html#tel)." + }, + "attributes" : [ "object" ], + "id" : "30" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depicts", + "inverse" : "34", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "33", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depicts", + "undefined" : "depicts" + }, + "domain" : "32", + "comment" : { + "undefined" : "A thing depicted in this representation." + }, + "attributes" : [ "object" ], + "id" : "31" + }, { + "iri" : "http://xmlns.com/foaf/0.1/based_near", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "36", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "based_near", + "undefined" : "based near" + }, + "domain" : "36", + "comment" : { + "undefined" : "A location that something is based near, for some broadly human notion of near." + }, + "attributes" : [ "object" ], + "id" : "35" + }, { + "iri" : "http://xmlns.com/foaf/0.1/page", + "inverse" : "40", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "page", + "undefined" : "page" + }, + "domain" : "39", + "subproperty" : [ "15", "41", "42", "43" ], + "comment" : { + "undefined" : "A page or document about this thing." + }, + "attributes" : [ "object" ], + "id" : "38" + }, { + "iri" : "http://xmlns.com/foaf/0.1/geekcode", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "26", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "geekcode", + "undefined" : "geekcode" + }, + "domain" : "12", + "comment" : { + "undefined" : "A textual geekcode for this person, see http://www.geekcode.com/geek.html" + }, + "attributes" : [ "datatype" ], + "id" : "44" + }, { + "iri" : "http://xmlns.com/foaf/0.1/primaryTopic", + "inverse" : "15", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "primaryTopic", + "undefined" : "primary topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "The primary topic of some page or document." + }, + "attributes" : [ "object", "functional" ], + "id" : "47" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "49", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenName", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "48" + }, { + "iri" : "http://xmlns.com/foaf/0.1/schoolHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "schoolHomepage", + "undefined" : "schoolHomepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A homepage of a school attended by the person." + }, + "attributes" : [ "object" ], + "id" : "50" + }, { + "iri" : "http://xmlns.com/foaf/0.1/gender", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "52", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "gender", + "undefined" : "gender" + }, + "domain" : "1", + "comment" : { + "undefined" : "The gender of this Agent (typically but not necessarily 'male' or 'female')." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "51" + }, { + "iri" : "http://xmlns.com/foaf/0.1/dnaChecksum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "55", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "dnaChecksum", + "undefined" : "DNA checksum" + }, + "domain" : "19", + "comment" : { + "undefined" : "A checksum for the DNA of some thing. Joke." + }, + "attributes" : [ "datatype" ], + "id" : "54" + }, { + "iri" : "http://xmlns.com/foaf/0.1/lastName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "58", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "lastName", + "undefined" : "lastName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The last name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "57" + }, { + "iri" : "http://xmlns.com/foaf/0.1/status", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "45", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "status", + "undefined" : "status" + }, + "domain" : "1", + "comment" : { + "undefined" : "A string expressing what the user is happy for the general public (normally) to know about their current activity." + }, + "attributes" : [ "datatype" ], + "id" : "65" + }, { + "iri" : "http://xmlns.com/foaf/0.1/yahooChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "46", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "yahooChatID", + "undefined" : "Yahoo chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A Yahoo chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "66" + }, { + "iri" : "http://xmlns.com/foaf/0.1/name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "68", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "name", + "undefined" : "name" + }, + "domain" : "19", + "comment" : { + "undefined" : "A name for some thing." + }, + "attributes" : [ "datatype" ], + "id" : "67" + }, { + "iri" : "http://xmlns.com/foaf/0.1/icqChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "53", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "icqChatID", + "undefined" : "ICQ chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An ICQ chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "70" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "73", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenname", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "72" + }, { + "iri" : "http://xmlns.com/foaf/0.1/isPrimaryTopicOf", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "isPrimaryTopicOf", + "undefined" : "is primary topic of" + }, + "superproperty" : [ "38" ], + "domain" : "39", + "subproperty" : [ "14", "43" ], + "comment" : { + "undefined" : "A document that this thing is the primary topic of." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "15" + }, { + "range" : "2", + "domain" : "32", + "attributes" : [ "anonymous", "object" ], + "id" : "74" + }, { + "range" : "2", + "domain" : "71", + "attributes" : [ "anonymous", "object" ], + "id" : "75" + }, { + "range" : "78", + "domain" : "77", + "attributes" : [ "anonymous", "object" ], + "id" : "76" + }, { + "range" : "36", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "79" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountServiceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountServiceHomepage", + "undefined" : "account service homepage" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates a homepage of the service provide for this online account." + }, + "attributes" : [ "object" ], + "id" : "80" + }, { + "iri" : "http://xmlns.com/foaf/0.1/logo", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "logo", + "undefined" : "logo" + }, + "domain" : "19", + "comment" : { + "undefined" : "A logo representing some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "81" + }, { + "range" : "78", + "domain" : "83", + "attributes" : [ "anonymous", "object" ], + "id" : "82" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depiction", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depiction", + "undefined" : "depiction" + }, + "domain" : "33", + "subproperty" : [ "84" ], + "comment" : { + "undefined" : "A depiction of some thing." + }, + "attributes" : [ "object" ], + "id" : "34" + }, { + "range" : "78", + "domain" : "86", + "attributes" : [ "anonymous", "object" ], + "id" : "85" + }, { + "iri" : "http://xmlns.com/foaf/0.1/family_name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "88", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "family_name", + "undefined" : "family_name" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "87" + }, { + "range" : "1", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "89" + }, { + "range" : "1", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "90" + }, { + "iri" : "http://xmlns.com/foaf/0.1/fundedBy", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "fundedBy", + "undefined" : "funded by" + }, + "domain" : "19", + "comment" : { + "undefined" : "An organization funding a project or person." + }, + "attributes" : [ "object" ], + "id" : "91" + }, { + "iri" : "http://xmlns.com/foaf/0.1/title", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "93", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "title", + "undefined" : "title" + }, + "domain" : "19", + "comment" : { + "undefined" : "Title (Mr, Mrs, Ms, Dr. etc)" + }, + "attributes" : [ "datatype" ], + "id" : "92" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "59", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountName", + "undefined" : "account name" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates the name (identifier) associated with this online account." + }, + "attributes" : [ "datatype" ], + "id" : "95" + }, { + "iri" : "http://xmlns.com/foaf/0.1/account", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "account", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "96" + }, { + "iri" : "http://xmlns.com/foaf/0.1/jabberID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "69", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "jabberID", + "undefined" : "jabber ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A jabber ID for something." + }, + "attributes" : [ "datatype" ], + "id" : "97" + }, { + "range" : "1", + "domain" : "10", + "attributes" : [ "anonymous", "object" ], + "id" : "98" + }, { + "iri" : "http://xmlns.com/foaf/0.1/age", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "100", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "age", + "undefined" : "age" + }, + "domain" : "1", + "comment" : { + "undefined" : "The age in years of some agent." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "99" + }, { + "iri" : "http://xmlns.com/foaf/0.1/homepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "homepage", + "undefined" : "homepage" + }, + "superproperty" : [ "15", "38" ], + "domain" : "39", + "comment" : { + "undefined" : "A homepage for some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "43" + }, { + "iri" : "http://xmlns.com/foaf/0.1/tipjar", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "tipjar", + "undefined" : "tipjar" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A tipjar document for this agent, describing means for payment and reward." + }, + "attributes" : [ "object" ], + "id" : "42" + }, { + "iri" : "http://xmlns.com/foaf/0.1/msnChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "61", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "msnChatID", + "undefined" : "MSN chat ID" + }, + "domain" : "5", + "comment" : { + "undefined" : "An MSN chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "103" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic_interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic_interest", + "undefined" : "topic_interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A thing of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "104" + }, { + "iri" : "http://xmlns.com/foaf/0.1/aimChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "106", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "aimChatID", + "undefined" : "AIM chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An AIM chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "105" + }, { + "iri" : "http://xmlns.com/foaf/0.1/currentProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "currentProject", + "undefined" : "current project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A current project this person works on." + }, + "attributes" : [ "object" ], + "id" : "107" + }, { + "iri" : "http://xmlns.com/foaf/0.1/skypeID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "20", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "skypeID", + "undefined" : "Skype ID" + }, + "domain" : "1", + "comment" : { + "undefined" : "A Skype ID" + }, + "attributes" : [ "datatype" ], + "id" : "108" + }, { + "iri" : "http://xmlns.com/foaf/0.1/holdsAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "holdsAccount", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "109" + }, { + "iri" : "http://xmlns.com/foaf/0.1/thumbnail", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "thumbnail", + "undefined" : "thumbnail" + }, + "domain" : "32", + "comment" : { + "undefined" : "A derived thumbnail image." + }, + "attributes" : [ "object" ], + "id" : "110" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic", + "undefined" : "topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "A topic of some page or document." + }, + "attributes" : [ "object" ], + "id" : "40" + }, { + "iri" : "http://xmlns.com/foaf/0.1/weblog", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "weblog", + "undefined" : "weblog" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A weblog of some thing (whether person, group, company etc.)." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "41" + }, { + "iri" : "http://xmlns.com/foaf/0.1/img", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "img", + "undefined" : "image" + }, + "superproperty" : [ "34" ], + "domain" : "12", + "comment" : { + "undefined" : "An image that can be used to represent some thing (ie. those depictions which are particularly representative of something, eg. one's photo on a homepage)." + }, + "attributes" : [ "object" ], + "id" : "84" + }, { + "iri" : "http://xmlns.com/foaf/0.1/birthday", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "56", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "birthday", + "undefined" : "birthday" + }, + "domain" : "1", + "comment" : { + "undefined" : "The birthday of this Agent, represented in mm-dd string form, eg. '12-31'." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "111" + }, { + "iri" : "http://xmlns.com/foaf/0.1/sha1", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "101", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "sha1", + "undefined" : "sha1sum (hex)" + }, + "domain" : "2", + "comment" : { + "undefined" : "A sha1sum hash, in hex." + }, + "attributes" : [ "datatype" ], + "id" : "112" + }, { + "iri" : "http://xmlns.com/foaf/0.1/firstName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "24", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "firstName", + "undefined" : "firstName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The first name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "113" + }, { + "iri" : "http://xmlns.com/foaf/0.1/made", + "inverse" : "115", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "made", + "undefined" : "made" + }, + "domain" : "1", + "comment" : { + "undefined" : "Something that was made by this agent." + }, + "attributes" : [ "object" ], + "id" : "114" + }, { + "range" : "60", + "domain" : "2", + "attributes" : [ "anonymous", "object" ], + "id" : "116" + }, { + "range" : "12", + "domain" : "60", + "attributes" : [ "anonymous", "object" ], + "id" : "117" + }, { + "iri" : "http://xmlns.com/foaf/0.1/familyName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "62", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "familyName", + "undefined" : "familyName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "119" + }, { + "range" : "2", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "120" + }, { + "range" : "12", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "121" + }, { + "iri" : "http://xmlns.com/foaf/0.1/member", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "member", + "undefined" : "member" + }, + "domain" : "10", + "comment" : { + "undefined" : "Indicates a member of a Group" + }, + "attributes" : [ "object" ], + "id" : "122" + }, { + "iri" : "http://xmlns.com/foaf/0.1/plan", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "27", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "plan", + "undefined" : "plan" + }, + "domain" : "12", + "comment" : { + "undefined" : "A .plan comment, in the tradition of finger and '.plan' files." + }, + "attributes" : [ "datatype" ], + "id" : "123" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox", + "undefined" : "personal mailbox" + }, + "domain" : "1", + "comment" : { + "undefined" : "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox. This is a 'static inverse functional property', in that there is (across time and change) at most one individual that ever has any particular value for foaf:mbox." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "124" + }, { + "iri" : "http://xmlns.com/foaf/0.1/surname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "118", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "surname", + "undefined" : "Surname" + }, + "domain" : "12", + "comment" : { + "undefined" : "The surname of some person." + }, + "attributes" : [ "datatype" ], + "id" : "125" + }, { + "iri" : "http://xmlns.com/foaf/0.1/myersBriggs", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "22", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "myersBriggs", + "undefined" : "myersBriggs" + }, + "domain" : "12", + "comment" : { + "undefined" : "A Myers Briggs (MBTI) personality classification." + }, + "attributes" : [ "datatype" ], + "id" : "127" + }, { + "iri" : "http://xmlns.com/foaf/0.1/maker", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "maker", + "undefined" : "maker" + }, + "domain" : "18", + "comment" : { + "undefined" : "An agent that made this thing." + }, + "attributes" : [ "object" ], + "id" : "115" + }, { + "iri" : "http://xmlns.com/foaf/0.1/publications", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "publications", + "undefined" : "publications" + }, + "domain" : "12", + "comment" : { + "undefined" : "A link to the publications of this person." + }, + "attributes" : [ "object" ], + "id" : "128" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workplaceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workplaceHomepage", + "undefined" : "workplace homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A workplace homepage of some person; the homepage of an organization they work for." + }, + "attributes" : [ "object" ], + "id" : "129" + } ] +} \ No newline at end of file diff --git a/dist/vocabulary/implementation/0.1.1/webvowl/data/ontology.json b/dist/vocabulary/implementation/0.1.1/webvowl/data/ontology.json new file mode 100644 index 0000000..26cc569 --- /dev/null +++ b/dist/vocabulary/implementation/0.1.1/webvowl/data/ontology.json @@ -0,0 +1,683 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.5), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "en", "undefined" ], + "baseIris" : [ "http://www.w3.org/1999/02/22-rdf-syntax-ns", "http://purl.org/vocommons/voaf", "http://www.w3.org/2000/01/rdf-schema", "https://w3id.org/function/vocabulary/implementation", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "https://w3id.org/function/ontology" ], + "title" : { + "en" : "The Function Ontology - Implementation vocabulary" + }, + "iri" : "https://w3id.org/function/vocabulary/implementation", + "version" : "0.1.1", + "author" : [ "https://ben.de-meester.org/#me" ], + "description" : { + "en" : "The Function Ontology Implementation vocabulary specifies terms relevant to structure fno:Implementations. The specification is online at https://w3id.org/function/spec" + }, + "labels" : { + "en" : "The Function Ontology - Implementation vocabulary" + }, + "comments" : { + "en" : "- Version 0.1.1: updated metadata\r\n- Version 0.1.0: creation." + }, + "other" : { + "priorVersion" : [ { + "identifier" : "priorVersion", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation/0.1.0", + "type" : "iri" + } ], + "creator" : [ { + "identifier" : "creator", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + } ], + "created" : [ { + "identifier" : "created", + "language" : "undefined", + "value" : "2019-05-21", + "type" : "label" + } ], + "versionInfo" : [ { + "identifier" : "versionInfo", + "language" : "undefined", + "value" : "0.1.1", + "type" : "label" + } ], + "source" : [ { + "identifier" : "source", + "language" : "undefined", + "value" : "https://w3id.org/function/spec", + "type" : "iri" + } ], + "title" : [ { + "identifier" : "title", + "language" : "en", + "value" : "The Function Ontology - Implementation vocabulary", + "type" : "label" + } ], + "backwardCompatibleWith" : [ { + "identifier" : "backwardCompatibleWith", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation/0.1.0", + "type" : "iri" + } ], + "seeAlso" : [ { + "identifier" : "seeAlso", + "language" : "undefined", + "value" : "https://w3id.org/function/spec", + "type" : "iri" + } ], + "license" : [ { + "identifier" : "license", + "language" : "undefined", + "value" : "http://creativecommons.org/license/by/3.0/", + "type" : "iri" + } ], + "primaryTopic" : [ { + "identifier" : "primaryTopic", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "preferredNamespacePrefix" : [ { + "identifier" : "preferredNamespacePrefix", + "language" : "undefined", + "value" : "fnoi", + "type" : "label" + } ], + "rights" : [ { + "identifier" : "rights", + "language" : "en", + "value" : "Copyright Ghent University imec IDLab", + "type" : "label" + } ], + "publisher" : [ { + "identifier" : "publisher", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + } ], + "modified" : [ { + "identifier" : "modified", + "language" : "undefined", + "value" : "2020-12-23", + "type" : "label" + } ], + "logo" : [ { + "identifier" : "logo", + "language" : "undefined", + "value" : "https://w3id.org/function/img/fno_favicon.png", + "type" : "iri" + } ], + "preferredNamespaceUri" : [ { + "identifier" : "preferredNamespaceUri", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation#", + "type" : "label" + } ], + "bibliographicCitation" : [ { + "identifier" : "bibliographicCitation", + "language" : "undefined", + "value" : "De Meester, B.; Seymoens, T.; Dimou, A. & Verborgh, R. Implementation-independent Function Reuse. Future Generation Computer Systems, Elsevier BV, 2020, 110, 946-959 ", + "type" : "label" + } ], + "issued" : [ { + "identifier" : "issued", + "language" : "undefined", + "value" : "2019-05-21", + "type" : "label" + } ], + "status" : [ { + "identifier" : "status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "doi" : [ { + "identifier" : "doi", + "language" : "undefined", + "value" : "10.5281/zenodo.595382", + "type" : "label" + } ], + "depiction" : [ { + "identifier" : "depiction", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/resources/images/fno-full.png", + "type" : "iri" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "9", + "type" : "owl:Class" + }, { + "id" : "10", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:Class" + }, { + "id" : "4", + "type" : "owl:Class" + }, { + "id" : "17", + "type" : "rdfs:Datatype" + }, { + "id" : "19", + "type" : "owl:Class" + }, { + "id" : "14", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:Class" + }, { + "id" : "8", + "type" : "owl:Class" + }, { + "id" : "22", + "type" : "owl:Class" + }, { + "id" : "20", + "type" : "owl:Class" + }, { + "id" : "6", + "type" : "owl:Class" + }, { + "id" : "24", + "type" : "owl:Class" + }, { + "id" : "25", + "type" : "owl:Class" + }, { + "id" : "16", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "https://w3id.org/function/vocabulary/implementation#SPARQLImplementation", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "SPARQLImplementation", + "en" : "SPARQL Function" + }, + "comment" : { + "en" : "A fno:Implementation, as used in a SPARQL query" + }, + "id" : "9", + "superClasses" : [ "4" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#OpenRefineImplementation", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OpenRefineImplementation", + "en" : "Openrefine Function" + }, + "comment" : { + "en" : "A fno:Implementation, as used in OpenRefine" + }, + "id" : "10", + "superClasses" : [ "4" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#NpmPackage", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "NpmPackage", + "en" : "NPM Package" + }, + "comment" : { + "en" : "A fno:Implementation, distributed as an NPM package" + }, + "id" : "1", + "superClasses" : [ "2" ] + }, { + "iri" : "https://w3id.org/function/ontology#Implementation", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "Implementation" + }, + "subClasses" : [ "2", "6", "8", "10", "9", "14", "16" ], + "attributes" : [ "external" ], + "id" : "4" + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#string", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "17", + "label" : { + "IRI-based" : "string" + } + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#JavaScriptFunction", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "JavaScriptFunction", + "en" : "JavaScript function" + }, + "comment" : { + "en" : "A fno:Implementation, distributed as a JavaScript snippet" + }, + "id" : "19", + "superClasses" : [ "2" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#JavaImplementation", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "JavaImplementation", + "en" : "JAVA implementation" + }, + "subClasses" : [ "20" ], + "comment" : { + "en" : "A fno:Implementation, coded in JAVA" + }, + "id" : "14", + "superClasses" : [ "4" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#JavaScriptImplementation", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "JavaScriptImplementation", + "en" : "JavaScript Function" + }, + "subClasses" : [ "19", "1" ], + "comment" : { + "en" : "A fno:Implementation, coded in JavaScript" + }, + "id" : "2", + "superClasses" : [ "4" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#XPATHImplementation", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "XPATHImplementation", + "en" : "XPath Function" + }, + "comment" : { + "en" : "A fno:Implementation, as used in an XPath expression" + }, + "id" : "8", + "superClasses" : [ "4" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#JsonApi", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "JsonApi", + "en" : "JSON API" + }, + "comment" : { + "en" : "A fno:Implementation, distributed as a JSON (Hydra) API" + }, + "id" : "22", + "superClasses" : [ "6" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#JavaClass", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "JavaClass", + "en" : "JAVA class" + }, + "comment" : { + "en" : "A fno:Implementation, distributed as a JAVA class snippet file" + }, + "id" : "20", + "superClasses" : [ "14" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#WebApi", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "WebApi", + "en" : "Web API" + }, + "subClasses" : [ "22" ], + "comment" : { + "en" : "A fno:Implementation, distributed as a Web API" + }, + "id" : "6", + "superClasses" : [ "4" ] + }, { + "iri" : "http://purl.org/vocommons/voaf#Vocabulary", + "baseIri" : "http://purl.org/vocommons/voaf", + "instances" : 0, + "label" : { + "IRI-based" : "Vocabulary" + }, + "individuals" : [ { + "iri" : "https://w3id.org/function/vocabulary/implementation", + "baseIri" : "https://w3id.org/function/vocabulary", + "labels" : { + "IRI-based" : "implementation" + } + } ], + "attributes" : [ "external" ], + "id" : "24" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "individuals" : [ { + "iri" : "https://ben.de-meester.org/#me", + "baseIri" : "https://ben.de-meester.org/", + "annotations" : { + "name" : [ { + "identifier" : "name", + "language" : "en", + "value" : "Ben De Meester", + "type" : "label" + } ], + "mbox" : [ { + "identifier" : "mbox", + "language" : "undefined", + "value" : "mailto:Ben.DeMeester@UGent.be", + "type" : "label" + } ] + }, + "labels" : { + "IRI-based" : "me", + "en" : "Ben De Meester" + } + } ], + "attributes" : [ "external" ], + "id" : "25" + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#SQLImplementation", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "SQLImplementation", + "en" : "SQL Function" + }, + "comment" : { + "en" : "A fno:Implementation, as used in a SQL query" + }, + "id" : "16", + "superClasses" : [ "4" ] + } ], + "property" : [ { + "id" : "0", + "type" : "rdfs:SubClassOf" + }, { + "id" : "3", + "type" : "rdfs:SubClassOf" + }, { + "id" : "5", + "type" : "rdfs:SubClassOf" + }, { + "id" : "7", + "type" : "rdfs:SubClassOf" + }, { + "id" : "11", + "type" : "rdfs:SubClassOf" + }, { + "id" : "12", + "type" : "rdfs:SubClassOf" + }, { + "id" : "13", + "type" : "rdfs:SubClassOf" + }, { + "id" : "15", + "type" : "rdfs:SubClassOf" + }, { + "id" : "18", + "type" : "rdfs:SubClassOf" + }, { + "id" : "21", + "type" : "owl:datatypeProperty" + }, { + "id" : "23", + "type" : "rdfs:SubClassOf" + }, { + "id" : "26", + "type" : "rdfs:SubClassOf" + } ], + "propertyAttribute" : [ { + "range" : "2", + "domain" : "1", + "attributes" : [ "object", "anonymous" ], + "id" : "0" + }, { + "range" : "4", + "domain" : "2", + "attributes" : [ "object", "anonymous" ], + "id" : "3" + }, { + "range" : "4", + "domain" : "6", + "attributes" : [ "object", "anonymous" ], + "id" : "5" + }, { + "range" : "4", + "domain" : "8", + "attributes" : [ "object", "anonymous" ], + "id" : "7" + }, { + "range" : "4", + "domain" : "10", + "attributes" : [ "object", "anonymous" ], + "id" : "11" + }, { + "range" : "4", + "domain" : "9", + "attributes" : [ "object", "anonymous" ], + "id" : "12" + }, { + "range" : "4", + "domain" : "14", + "attributes" : [ "object", "anonymous" ], + "id" : "13" + }, { + "range" : "4", + "domain" : "16", + "attributes" : [ "object", "anonymous" ], + "id" : "15" + }, { + "range" : "2", + "domain" : "19", + "attributes" : [ "object", "anonymous" ], + "id" : "18" + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#class-name", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "range" : "17", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "class-name", + "en" : "class name" + }, + "domain" : "4", + "comment" : { + "en" : "Connects a class name to an implemenation description." + }, + "attributes" : [ "datatype" ], + "id" : "21" + }, { + "range" : "6", + "domain" : "22", + "attributes" : [ "object", "anonymous" ], + "id" : "23" + }, { + "range" : "14", + "domain" : "20", + "attributes" : [ "object", "anonymous" ], + "id" : "26" + } ] +} \ No newline at end of file diff --git a/dist/vocabulary/implementation/0.1.1/webvowl/favicon.ico b/dist/vocabulary/implementation/0.1.1/webvowl/favicon.ico new file mode 100644 index 0000000..a857d51 Binary files /dev/null and b/dist/vocabulary/implementation/0.1.1/webvowl/favicon.ico differ diff --git a/dist/vocabulary/implementation/0.1.1/webvowl/index.html b/dist/vocabulary/implementation/0.1.1/webvowl/index.html new file mode 100644 index 0000000..09acde5 --- /dev/null +++ b/dist/vocabulary/implementation/0.1.1/webvowl/index.html @@ -0,0 +1,480 @@ + + + + + + + + + + + + + + + WebVOWL + + + +
    +
    + + + + + + +
    + + + + +
    +
    +
    + +
    +
    >
    + +
    + +
    + + +
    +
    +
    +

    +

    +

    +

    +

    -

    +
    +
    + + +
    +
    +
    +
    + + + +
    + + + + + + + \ No newline at end of file diff --git a/dist/vocabulary/implementation/0.1.1/webvowl/js/d3.min.js b/dist/vocabulary/implementation/0.1.1/webvowl/js/d3.min.js new file mode 100644 index 0000000..1664873 --- /dev/null +++ b/dist/vocabulary/implementation/0.1.1/webvowl/js/d3.min.js @@ -0,0 +1,5 @@ +!function(){function n(n){return n&&(n.ownerDocument||n.document||n).documentElement}function t(n){return n&&(n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView)}function e(n,t){return t>n?-1:n>t?1:n>=t?0:NaN}function r(n){return null===n?NaN:+n}function i(n){return!isNaN(n)}function u(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)<0?r=u+1:i=u}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)>0?i=u:r=u+1}return r}}}function o(n){return n.length}function a(n){for(var t=1;n*t%1;)t*=10;return t}function l(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function c(){this._=Object.create(null)}function f(n){return(n+="")===bo||n[0]===_o?_o+n:n}function s(n){return(n+="")[0]===_o?n.slice(1):n}function h(n){return f(n)in this._}function p(n){return(n=f(n))in this._&&delete this._[n]}function g(){var n=[];for(var t in this._)n.push(s(t));return n}function v(){var n=0;for(var t in this._)++n;return n}function d(){for(var n in this._)return!1;return!0}function y(){this._=Object.create(null)}function m(n){return n}function M(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function x(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e=0,r=wo.length;r>e;++e){var i=wo[e]+t;if(i in n)return i}}function b(){}function _(){}function w(n){function t(){for(var t,r=e,i=-1,u=r.length;++ie;e++)for(var i,u=n[e],o=0,a=u.length;a>o;o++)(i=u[o])&&t(i,o,e);return n}function Z(n){return ko(n,qo),n}function V(n){var t,e;return function(r,i,u){var o,a=n[u].update,l=a.length;for(u!=e&&(e=u,t=0),i>=t&&(t=i+1);!(o=a[t])&&++t0&&(n=n.slice(0,a));var c=To.get(n);return c&&(n=c,l=B),a?t?i:r:t?b:u}function $(n,t){return function(e){var r=ao.event;ao.event=e,t[0]=this.__data__;try{n.apply(this,t)}finally{ao.event=r}}}function B(n,t){var e=$(n,t);return function(n){var t=this,r=n.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||e.call(t,n)}}function W(e){var r=".dragsuppress-"+ ++Do,i="click"+r,u=ao.select(t(e)).on("touchmove"+r,S).on("dragstart"+r,S).on("selectstart"+r,S);if(null==Ro&&(Ro="onselectstart"in e?!1:x(e.style,"userSelect")),Ro){var o=n(e).style,a=o[Ro];o[Ro]="none"}return function(n){if(u.on(r,null),Ro&&(o[Ro]=a),n){var t=function(){u.on(i,null)};u.on(i,function(){S(),t()},!0),setTimeout(t,0)}}}function J(n,e){e.changedTouches&&(e=e.changedTouches[0]);var r=n.ownerSVGElement||n;if(r.createSVGPoint){var i=r.createSVGPoint();if(0>Po){var u=t(n);if(u.scrollX||u.scrollY){r=ao.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var o=r[0][0].getScreenCTM();Po=!(o.f||o.e),r.remove()}}return Po?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),i=i.matrixTransform(n.getScreenCTM().inverse()),[i.x,i.y]}var a=n.getBoundingClientRect();return[e.clientX-a.left-n.clientLeft,e.clientY-a.top-n.clientTop]}function G(){return ao.event.changedTouches[0].identifier}function K(n){return n>0?1:0>n?-1:0}function Q(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(t[1]-n[1])*(e[0]-n[0])}function nn(n){return n>1?0:-1>n?Fo:Math.acos(n)}function tn(n){return n>1?Io:-1>n?-Io:Math.asin(n)}function en(n){return((n=Math.exp(n))-1/n)/2}function rn(n){return((n=Math.exp(n))+1/n)/2}function un(n){return((n=Math.exp(2*n))-1)/(n+1)}function on(n){return(n=Math.sin(n/2))*n}function an(){}function ln(n,t,e){return this instanceof ln?(this.h=+n,this.s=+t,void(this.l=+e)):arguments.length<2?n instanceof ln?new ln(n.h,n.s,n.l):_n(""+n,wn,ln):new ln(n,t,e)}function cn(n,t,e){function r(n){return n>360?n-=360:0>n&&(n+=360),60>n?u+(o-u)*n/60:180>n?o:240>n?u+(o-u)*(240-n)/60:u}function i(n){return Math.round(255*r(n))}var u,o;return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:0>t?0:t>1?1:t,e=0>e?0:e>1?1:e,o=.5>=e?e*(1+t):e+t-e*t,u=2*e-o,new mn(i(n+120),i(n),i(n-120))}function fn(n,t,e){return this instanceof fn?(this.h=+n,this.c=+t,void(this.l=+e)):arguments.length<2?n instanceof fn?new fn(n.h,n.c,n.l):n instanceof hn?gn(n.l,n.a,n.b):gn((n=Sn((n=ao.rgb(n)).r,n.g,n.b)).l,n.a,n.b):new fn(n,t,e)}function sn(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new hn(e,Math.cos(n*=Yo)*t,Math.sin(n)*t)}function hn(n,t,e){return this instanceof hn?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof hn?new hn(n.l,n.a,n.b):n instanceof fn?sn(n.h,n.c,n.l):Sn((n=mn(n)).r,n.g,n.b):new hn(n,t,e)}function pn(n,t,e){var r=(n+16)/116,i=r+t/500,u=r-e/200;return i=vn(i)*na,r=vn(r)*ta,u=vn(u)*ea,new mn(yn(3.2404542*i-1.5371385*r-.4985314*u),yn(-.969266*i+1.8760108*r+.041556*u),yn(.0556434*i-.2040259*r+1.0572252*u))}function gn(n,t,e){return n>0?new fn(Math.atan2(e,t)*Zo,Math.sqrt(t*t+e*e),n):new fn(NaN,NaN,n)}function vn(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function dn(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function yn(n){return Math.round(255*(.00304>=n?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function mn(n,t,e){return this instanceof mn?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof mn?new mn(n.r,n.g,n.b):_n(""+n,mn,cn):new mn(n,t,e)}function Mn(n){return new mn(n>>16,n>>8&255,255&n)}function xn(n){return Mn(n)+""}function bn(n){return 16>n?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function _n(n,t,e){var r,i,u,o=0,a=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(Nn(i[0]),Nn(i[1]),Nn(i[2]))}return(u=ua.get(n))?t(u.r,u.g,u.b):(null==n||"#"!==n.charAt(0)||isNaN(u=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&u)>>4,o=o>>4|o,a=240&u,a=a>>4|a,l=15&u,l=l<<4|l):7===n.length&&(o=(16711680&u)>>16,a=(65280&u)>>8,l=255&u)),t(o,a,l))}function wn(n,t,e){var r,i,u=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-u,l=(o+u)/2;return a?(i=.5>l?a/(o+u):a/(2-o-u),r=n==o?(t-e)/a+(e>t?6:0):t==o?(e-n)/a+2:(n-t)/a+4,r*=60):(r=NaN,i=l>0&&1>l?0:r),new ln(r,i,l)}function Sn(n,t,e){n=kn(n),t=kn(t),e=kn(e);var r=dn((.4124564*n+.3575761*t+.1804375*e)/na),i=dn((.2126729*n+.7151522*t+.072175*e)/ta),u=dn((.0193339*n+.119192*t+.9503041*e)/ea);return hn(116*i-16,500*(r-i),200*(i-u))}function kn(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Nn(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}function En(n){return"function"==typeof n?n:function(){return n}}function An(n){return function(t,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=null),Cn(t,e,n,r)}}function Cn(n,t,e,r){function i(){var n,t=l.status;if(!t&&Ln(l)||t>=200&&300>t||304===t){try{n=e.call(u,l)}catch(r){return void o.error.call(u,r)}o.load.call(u,n)}else o.error.call(u,l)}var u={},o=ao.dispatch("beforesend","progress","load","error"),a={},l=new XMLHttpRequest,c=null;return!this.XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(n)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=i:l.onreadystatechange=function(){l.readyState>3&&i()},l.onprogress=function(n){var t=ao.event;ao.event=n;try{o.progress.call(u,l)}finally{ao.event=t}},u.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?a[n]:(null==t?delete a[n]:a[n]=t+"",u)},u.mimeType=function(n){return arguments.length?(t=null==n?null:n+"",u):t},u.responseType=function(n){return arguments.length?(c=n,u):c},u.response=function(n){return e=n,u},["get","post"].forEach(function(n){u[n]=function(){return u.send.apply(u,[n].concat(co(arguments)))}}),u.send=function(e,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),l.open(e,n,!0),null==t||"accept"in a||(a.accept=t+",*/*"),l.setRequestHeader)for(var f in a)l.setRequestHeader(f,a[f]);return null!=t&&l.overrideMimeType&&l.overrideMimeType(t),null!=c&&(l.responseType=c),null!=i&&u.on("error",i).on("load",function(n){i(null,n)}),o.beforesend.call(u,l),l.send(null==r?null:r),u},u.abort=function(){return l.abort(),u},ao.rebind(u,o,"on"),null==r?u:u.get(zn(r))}function zn(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}function Ln(n){var t=n.responseType;return t&&"text"!==t?n.response:n.responseText}function qn(n,t,e){var r=arguments.length;2>r&&(t=0),3>r&&(e=Date.now());var i=e+t,u={c:n,t:i,n:null};return aa?aa.n=u:oa=u,aa=u,la||(ca=clearTimeout(ca),la=1,fa(Tn)),u}function Tn(){var n=Rn(),t=Dn()-n;t>24?(isFinite(t)&&(clearTimeout(ca),ca=setTimeout(Tn,t)),la=0):(la=1,fa(Tn))}function Rn(){for(var n=Date.now(),t=oa;t;)n>=t.t&&t.c(n-t.t)&&(t.c=null),t=t.n;return n}function Dn(){for(var n,t=oa,e=1/0;t;)t.c?(t.t8?function(n){return n/e}:function(n){return n*e},symbol:n}}function jn(n){var t=n.decimal,e=n.thousands,r=n.grouping,i=n.currency,u=r&&e?function(n,t){for(var i=n.length,u=[],o=0,a=r[0],l=0;i>0&&a>0&&(l+a+1>t&&(a=Math.max(1,t-l)),u.push(n.substring(i-=a,i+a)),!((l+=a+1)>t));)a=r[o=(o+1)%r.length];return u.reverse().join(e)}:m;return function(n){var e=ha.exec(n),r=e[1]||" ",o=e[2]||">",a=e[3]||"-",l=e[4]||"",c=e[5],f=+e[6],s=e[7],h=e[8],p=e[9],g=1,v="",d="",y=!1,m=!0;switch(h&&(h=+h.substring(1)),(c||"0"===r&&"="===o)&&(c=r="0",o="="),p){case"n":s=!0,p="g";break;case"%":g=100,d="%",p="f";break;case"p":g=100,d="%",p="r";break;case"b":case"o":case"x":case"X":"#"===l&&(v="0"+p.toLowerCase());case"c":m=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===l&&(v=i[0],d=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=pa.get(p)||Fn;var M=c&&s;return function(n){var e=d;if(y&&n%1)return"";var i=0>n||0===n&&0>1/n?(n=-n,"-"):"-"===a?"":a;if(0>g){var l=ao.formatPrefix(n,h);n=l.scale(n),e=l.symbol+d}else n*=g;n=p(n,h);var x,b,_=n.lastIndexOf(".");if(0>_){var w=m?n.lastIndexOf("e"):-1;0>w?(x=n,b=""):(x=n.substring(0,w),b=n.substring(w))}else x=n.substring(0,_),b=t+n.substring(_+1);!c&&s&&(x=u(x,1/0));var S=v.length+x.length+b.length+(M?0:i.length),k=f>S?new Array(S=f-S+1).join(r):"";return M&&(x=u(k+x,k.length?f-b.length:1/0)),i+=v,n=x+b,("<"===o?i+n+k:">"===o?k+i+n:"^"===o?k.substring(0,S>>=1)+i+n+k.substring(S):i+(M?n:k+n))+e}}}function Fn(n){return n+""}function Hn(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function On(n,t,e){function r(t){var e=n(t),r=u(e,1);return r-t>t-e?e:r}function i(e){return t(e=n(new va(e-1)),1),e}function u(n,e){return t(n=new va(+n),e),n}function o(n,r,u){var o=i(n),a=[];if(u>1)for(;r>o;)e(o)%u||a.push(new Date(+o)),t(o,1);else for(;r>o;)a.push(new Date(+o)),t(o,1);return a}function a(n,t,e){try{va=Hn;var r=new Hn;return r._=n,o(r,t,e)}finally{va=Date}}n.floor=n,n.round=r,n.ceil=i,n.offset=u,n.range=o;var l=n.utc=In(n);return l.floor=l,l.round=In(r),l.ceil=In(i),l.offset=In(u),l.range=a,n}function In(n){return function(t,e){try{va=Hn;var r=new Hn;return r._=t,n(r,e)._}finally{va=Date}}}function Yn(n){function t(n){function t(t){for(var e,i,u,o=[],a=-1,l=0;++aa;){if(r>=c)return-1;if(i=t.charCodeAt(a++),37===i){if(o=t.charAt(a++),u=C[o in ya?t.charAt(a++):o],!u||(r=u(n,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function r(n,t,e){_.lastIndex=0;var r=_.exec(t.slice(e));return r?(n.w=w.get(r[0].toLowerCase()),e+r[0].length):-1}function i(n,t,e){x.lastIndex=0;var r=x.exec(t.slice(e));return r?(n.w=b.get(r[0].toLowerCase()),e+r[0].length):-1}function u(n,t,e){N.lastIndex=0;var r=N.exec(t.slice(e));return r?(n.m=E.get(r[0].toLowerCase()),e+r[0].length):-1}function o(n,t,e){S.lastIndex=0;var r=S.exec(t.slice(e));return r?(n.m=k.get(r[0].toLowerCase()),e+r[0].length):-1}function a(n,t,r){return e(n,A.c.toString(),t,r)}function l(n,t,r){return e(n,A.x.toString(),t,r)}function c(n,t,r){return e(n,A.X.toString(),t,r)}function f(n,t,e){var r=M.get(t.slice(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)}var s=n.dateTime,h=n.date,p=n.time,g=n.periods,v=n.days,d=n.shortDays,y=n.months,m=n.shortMonths;t.utc=function(n){function e(n){try{va=Hn;var t=new va;return t._=n,r(t)}finally{va=Date}}var r=t(n);return e.parse=function(n){try{va=Hn;var t=r.parse(n);return t&&t._}finally{va=Date}},e.toString=r.toString,e},t.multi=t.utc.multi=ct;var M=ao.map(),x=Vn(v),b=Xn(v),_=Vn(d),w=Xn(d),S=Vn(y),k=Xn(y),N=Vn(m),E=Xn(m);g.forEach(function(n,t){M.set(n.toLowerCase(),t)});var A={a:function(n){return d[n.getDay()]},A:function(n){return v[n.getDay()]},b:function(n){return m[n.getMonth()]},B:function(n){return y[n.getMonth()]},c:t(s),d:function(n,t){return Zn(n.getDate(),t,2)},e:function(n,t){return Zn(n.getDate(),t,2)},H:function(n,t){return Zn(n.getHours(),t,2)},I:function(n,t){return Zn(n.getHours()%12||12,t,2)},j:function(n,t){return Zn(1+ga.dayOfYear(n),t,3)},L:function(n,t){return Zn(n.getMilliseconds(),t,3)},m:function(n,t){return Zn(n.getMonth()+1,t,2)},M:function(n,t){return Zn(n.getMinutes(),t,2)},p:function(n){return g[+(n.getHours()>=12)]},S:function(n,t){return Zn(n.getSeconds(),t,2)},U:function(n,t){return Zn(ga.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return Zn(ga.mondayOfYear(n),t,2)},x:t(h),X:t(p),y:function(n,t){return Zn(n.getFullYear()%100,t,2)},Y:function(n,t){return Zn(n.getFullYear()%1e4,t,4)},Z:at,"%":function(){return"%"}},C={a:r,A:i,b:u,B:o,c:a,d:tt,e:tt,H:rt,I:rt,j:et,L:ot,m:nt,M:it,p:f,S:ut,U:Bn,w:$n,W:Wn,x:l,X:c,y:Gn,Y:Jn,Z:Kn,"%":lt};return t}function Zn(n,t,e){var r=0>n?"-":"",i=(r?-n:n)+"",u=i.length;return r+(e>u?new Array(e-u+1).join(t)+i:i)}function Vn(n){return new RegExp("^(?:"+n.map(ao.requote).join("|")+")","i")}function Xn(n){for(var t=new c,e=-1,r=n.length;++e68?1900:2e3)}function nt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function tt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function et(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function rt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function it(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function ut(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function ot(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function at(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=xo(t)/60|0,i=xo(t)%60;return e+Zn(r,"0",2)+Zn(i,"0",2)}function lt(n,t,e){Ma.lastIndex=0;var r=Ma.exec(t.slice(e,e+1));return r?e+r[0].length:-1}function ct(n){for(var t=n.length,e=-1;++e=0?1:-1,a=o*e,l=Math.cos(t),c=Math.sin(t),f=u*c,s=i*l+f*Math.cos(a),h=f*o*Math.sin(a);ka.add(Math.atan2(h,s)),r=n,i=l,u=c}var t,e,r,i,u;Na.point=function(o,a){Na.point=n,r=(t=o)*Yo,i=Math.cos(a=(e=a)*Yo/2+Fo/4),u=Math.sin(a)},Na.lineEnd=function(){n(t,e)}}function dt(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function yt(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function mt(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function Mt(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function xt(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function bt(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function _t(n){return[Math.atan2(n[1],n[0]),tn(n[2])]}function wt(n,t){return xo(n[0]-t[0])a;++a)i.point((e=n[a])[0],e[1]);return void i.lineEnd()}var l=new Tt(e,n,null,!0),c=new Tt(e,null,l,!1);l.o=c,u.push(l),o.push(c),l=new Tt(r,n,null,!1),c=new Tt(r,null,l,!0),l.o=c,u.push(l),o.push(c)}}),o.sort(t),qt(u),qt(o),u.length){for(var a=0,l=e,c=o.length;c>a;++a)o[a].e=l=!l;for(var f,s,h=u[0];;){for(var p=h,g=!0;p.v;)if((p=p.n)===h)return;f=p.z,i.lineStart();do{if(p.v=p.o.v=!0,p.e){if(g)for(var a=0,c=f.length;c>a;++a)i.point((s=f[a])[0],s[1]);else r(p.x,p.n.x,1,i);p=p.n}else{if(g){f=p.p.z;for(var a=f.length-1;a>=0;--a)i.point((s=f[a])[0],s[1])}else r(p.x,p.p.x,-1,i);p=p.p}p=p.o,f=p.z,g=!g}while(!p.v);i.lineEnd()}}}function qt(n){if(t=n.length){for(var t,e,r=0,i=n[0];++r0){for(b||(u.polygonStart(),b=!0),u.lineStart();++o1&&2&t&&e.push(e.pop().concat(e.shift())),p.push(e.filter(Dt))}var p,g,v,d=t(u),y=i.invert(r[0],r[1]),m={point:o,lineStart:l,lineEnd:c,polygonStart:function(){m.point=f,m.lineStart=s,m.lineEnd=h,p=[],g=[]},polygonEnd:function(){m.point=o,m.lineStart=l,m.lineEnd=c,p=ao.merge(p);var n=Ot(y,g);p.length?(b||(u.polygonStart(),b=!0),Lt(p,Ut,n,e,u)):n&&(b||(u.polygonStart(),b=!0),u.lineStart(),e(null,null,1,u),u.lineEnd()),b&&(u.polygonEnd(),b=!1),p=g=null},sphere:function(){u.polygonStart(),u.lineStart(),e(null,null,1,u),u.lineEnd(),u.polygonEnd()}},M=Pt(),x=t(M),b=!1;return m}}function Dt(n){return n.length>1}function Pt(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:b,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Ut(n,t){return((n=n.x)[0]<0?n[1]-Io-Uo:Io-n[1])-((t=t.x)[0]<0?t[1]-Io-Uo:Io-t[1])}function jt(n){var t,e=NaN,r=NaN,i=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(u,o){var a=u>0?Fo:-Fo,l=xo(u-e);xo(l-Fo)0?Io:-Io),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(a,r),n.point(u,r),t=0):i!==a&&l>=Fo&&(xo(e-i)Uo?Math.atan((Math.sin(t)*(u=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(t))*Math.sin(n))/(i*u*o)):(t+r)/2}function Ht(n,t,e,r){var i;if(null==n)i=e*Io,r.point(-Fo,i),r.point(0,i),r.point(Fo,i),r.point(Fo,0),r.point(Fo,-i),r.point(0,-i),r.point(-Fo,-i),r.point(-Fo,0),r.point(-Fo,i);else if(xo(n[0]-t[0])>Uo){var u=n[0]a;++a){var c=t[a],f=c.length;if(f)for(var s=c[0],h=s[0],p=s[1]/2+Fo/4,g=Math.sin(p),v=Math.cos(p),d=1;;){d===f&&(d=0),n=c[d];var y=n[0],m=n[1]/2+Fo/4,M=Math.sin(m),x=Math.cos(m),b=y-h,_=b>=0?1:-1,w=_*b,S=w>Fo,k=g*M;if(ka.add(Math.atan2(k*_*Math.sin(w),v*x+k*Math.cos(w))),u+=S?b+_*Ho:b,S^h>=e^y>=e){var N=mt(dt(s),dt(n));bt(N);var E=mt(i,N);bt(E);var A=(S^b>=0?-1:1)*tn(E[2]);(r>A||r===A&&(N[0]||N[1]))&&(o+=S^b>=0?1:-1)}if(!d++)break;h=y,g=M,v=x,s=n}}return(-Uo>u||Uo>u&&-Uo>ka)^1&o}function It(n){function t(n,t){return Math.cos(n)*Math.cos(t)>u}function e(n){var e,u,l,c,f;return{lineStart:function(){c=l=!1,f=1},point:function(s,h){var p,g=[s,h],v=t(s,h),d=o?v?0:i(s,h):v?i(s+(0>s?Fo:-Fo),h):0;if(!e&&(c=l=v)&&n.lineStart(),v!==l&&(p=r(e,g),(wt(e,p)||wt(g,p))&&(g[0]+=Uo,g[1]+=Uo,v=t(g[0],g[1]))),v!==l)f=0,v?(n.lineStart(),p=r(g,e),n.point(p[0],p[1])):(p=r(e,g),n.point(p[0],p[1]),n.lineEnd()),e=p;else if(a&&e&&o^v){var y;d&u||!(y=r(g,e,!0))||(f=0,o?(n.lineStart(),n.point(y[0][0],y[0][1]),n.point(y[1][0],y[1][1]),n.lineEnd()):(n.point(y[1][0],y[1][1]),n.lineEnd(),n.lineStart(),n.point(y[0][0],y[0][1])))}!v||e&&wt(e,g)||n.point(g[0],g[1]),e=g,l=v,u=d},lineEnd:function(){l&&n.lineEnd(),e=null},clean:function(){return f|(c&&l)<<1}}}function r(n,t,e){var r=dt(n),i=dt(t),o=[1,0,0],a=mt(r,i),l=yt(a,a),c=a[0],f=l-c*c;if(!f)return!e&&n;var s=u*l/f,h=-u*c/f,p=mt(o,a),g=xt(o,s),v=xt(a,h);Mt(g,v);var d=p,y=yt(g,d),m=yt(d,d),M=y*y-m*(yt(g,g)-1);if(!(0>M)){var x=Math.sqrt(M),b=xt(d,(-y-x)/m);if(Mt(b,g),b=_t(b),!e)return b;var _,w=n[0],S=t[0],k=n[1],N=t[1];w>S&&(_=w,w=S,S=_);var E=S-w,A=xo(E-Fo)E;if(!A&&k>N&&(_=k,k=N,N=_),C?A?k+N>0^b[1]<(xo(b[0]-w)Fo^(w<=b[0]&&b[0]<=S)){var z=xt(d,(-y+x)/m);return Mt(z,g),[b,_t(z)]}}}function i(t,e){var r=o?n:Fo-n,i=0;return-r>t?i|=1:t>r&&(i|=2),-r>e?i|=4:e>r&&(i|=8),i}var u=Math.cos(n),o=u>0,a=xo(u)>Uo,l=ve(n,6*Yo);return Rt(t,e,l,o?[0,-n]:[-Fo,n-Fo])}function Yt(n,t,e,r){return function(i){var u,o=i.a,a=i.b,l=o.x,c=o.y,f=a.x,s=a.y,h=0,p=1,g=f-l,v=s-c;if(u=n-l,g||!(u>0)){if(u/=g,0>g){if(h>u)return;p>u&&(p=u)}else if(g>0){if(u>p)return;u>h&&(h=u)}if(u=e-l,g||!(0>u)){if(u/=g,0>g){if(u>p)return;u>h&&(h=u)}else if(g>0){if(h>u)return;p>u&&(p=u)}if(u=t-c,v||!(u>0)){if(u/=v,0>v){if(h>u)return;p>u&&(p=u)}else if(v>0){if(u>p)return;u>h&&(h=u)}if(u=r-c,v||!(0>u)){if(u/=v,0>v){if(u>p)return;u>h&&(h=u)}else if(v>0){if(h>u)return;p>u&&(p=u)}return h>0&&(i.a={x:l+h*g,y:c+h*v}),1>p&&(i.b={x:l+p*g,y:c+p*v}),i}}}}}}function Zt(n,t,e,r){function i(r,i){return xo(r[0]-n)0?0:3:xo(r[0]-e)0?2:1:xo(r[1]-t)0?1:0:i>0?3:2}function u(n,t){return o(n.x,t.x)}function o(n,t){var e=i(n,1),r=i(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}return function(a){function l(n){for(var t=0,e=d.length,r=n[1],i=0;e>i;++i)for(var u,o=1,a=d[i],l=a.length,c=a[0];l>o;++o)u=a[o],c[1]<=r?u[1]>r&&Q(c,u,n)>0&&++t:u[1]<=r&&Q(c,u,n)<0&&--t,c=u;return 0!==t}function c(u,a,l,c){var f=0,s=0;if(null==u||(f=i(u,l))!==(s=i(a,l))||o(u,a)<0^l>0){do c.point(0===f||3===f?n:e,f>1?r:t);while((f=(f+l+4)%4)!==s)}else c.point(a[0],a[1])}function f(i,u){return i>=n&&e>=i&&u>=t&&r>=u}function s(n,t){f(n,t)&&a.point(n,t)}function h(){C.point=g,d&&d.push(y=[]),S=!0,w=!1,b=_=NaN}function p(){v&&(g(m,M),x&&w&&E.rejoin(),v.push(E.buffer())),C.point=s,w&&a.lineEnd()}function g(n,t){n=Math.max(-Ha,Math.min(Ha,n)),t=Math.max(-Ha,Math.min(Ha,t));var e=f(n,t);if(d&&y.push([n,t]),S)m=n,M=t,x=e,S=!1,e&&(a.lineStart(),a.point(n,t));else if(e&&w)a.point(n,t);else{var r={a:{x:b,y:_},b:{x:n,y:t}};A(r)?(w||(a.lineStart(),a.point(r.a.x,r.a.y)),a.point(r.b.x,r.b.y),e||a.lineEnd(),k=!1):e&&(a.lineStart(),a.point(n,t),k=!1)}b=n,_=t,w=e}var v,d,y,m,M,x,b,_,w,S,k,N=a,E=Pt(),A=Yt(n,t,e,r),C={point:s,lineStart:h,lineEnd:p,polygonStart:function(){a=E,v=[],d=[],k=!0},polygonEnd:function(){a=N,v=ao.merge(v);var t=l([n,r]),e=k&&t,i=v.length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),c(null,null,1,a),a.lineEnd()),i&&Lt(v,u,t,c,a),a.polygonEnd()),v=d=y=null}};return C}}function Vt(n){var t=0,e=Fo/3,r=ae(n),i=r(t,e);return i.parallels=function(n){return arguments.length?r(t=n[0]*Fo/180,e=n[1]*Fo/180):[t/Fo*180,e/Fo*180]},i}function Xt(n,t){function e(n,t){var e=Math.sqrt(u-2*i*Math.sin(t))/i;return[e*Math.sin(n*=i),o-e*Math.cos(n)]}var r=Math.sin(n),i=(r+Math.sin(t))/2,u=1+r*(2*i-r),o=Math.sqrt(u)/i;return e.invert=function(n,t){var e=o-t;return[Math.atan2(n,e)/i,tn((u-(n*n+e*e)*i*i)/(2*i))]},e}function $t(){function n(n,t){Ia+=i*n-r*t,r=n,i=t}var t,e,r,i;$a.point=function(u,o){$a.point=n,t=r=u,e=i=o},$a.lineEnd=function(){n(t,e)}}function Bt(n,t){Ya>n&&(Ya=n),n>Va&&(Va=n),Za>t&&(Za=t),t>Xa&&(Xa=t)}function Wt(){function n(n,t){o.push("M",n,",",t,u)}function t(n,t){o.push("M",n,",",t),a.point=e}function e(n,t){o.push("L",n,",",t)}function r(){a.point=n}function i(){o.push("Z")}var u=Jt(4.5),o=[],a={point:n,lineStart:function(){a.point=t},lineEnd:r,polygonStart:function(){a.lineEnd=i},polygonEnd:function(){a.lineEnd=r,a.point=n},pointRadius:function(n){return u=Jt(n),a},result:function(){if(o.length){var n=o.join("");return o=[],n}}};return a}function Jt(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function Gt(n,t){Ca+=n,za+=t,++La}function Kt(){function n(n,r){var i=n-t,u=r-e,o=Math.sqrt(i*i+u*u);qa+=o*(t+n)/2,Ta+=o*(e+r)/2,Ra+=o,Gt(t=n,e=r)}var t,e;Wa.point=function(r,i){Wa.point=n,Gt(t=r,e=i)}}function Qt(){Wa.point=Gt}function ne(){function n(n,t){var e=n-r,u=t-i,o=Math.sqrt(e*e+u*u);qa+=o*(r+n)/2,Ta+=o*(i+t)/2,Ra+=o,o=i*n-r*t,Da+=o*(r+n),Pa+=o*(i+t),Ua+=3*o,Gt(r=n,i=t)}var t,e,r,i;Wa.point=function(u,o){Wa.point=n,Gt(t=r=u,e=i=o)},Wa.lineEnd=function(){n(t,e)}}function te(n){function t(t,e){n.moveTo(t+o,e),n.arc(t,e,o,0,Ho)}function e(t,e){n.moveTo(t,e),a.point=r}function r(t,e){n.lineTo(t,e)}function i(){a.point=t}function u(){n.closePath()}var o=4.5,a={point:t,lineStart:function(){a.point=e},lineEnd:i,polygonStart:function(){a.lineEnd=u},polygonEnd:function(){a.lineEnd=i,a.point=t},pointRadius:function(n){return o=n,a},result:b};return a}function ee(n){function t(n){return(a?r:e)(n)}function e(t){return ue(t,function(e,r){e=n(e,r),t.point(e[0],e[1])})}function r(t){function e(e,r){e=n(e,r),t.point(e[0],e[1])}function r(){M=NaN,S.point=u,t.lineStart()}function u(e,r){var u=dt([e,r]),o=n(e,r);i(M,x,m,b,_,w,M=o[0],x=o[1],m=e,b=u[0],_=u[1],w=u[2],a,t),t.point(M,x)}function o(){S.point=e,t.lineEnd()}function l(){ +r(),S.point=c,S.lineEnd=f}function c(n,t){u(s=n,h=t),p=M,g=x,v=b,d=_,y=w,S.point=u}function f(){i(M,x,m,b,_,w,p,g,s,v,d,y,a,t),S.lineEnd=o,o()}var s,h,p,g,v,d,y,m,M,x,b,_,w,S={point:e,lineStart:r,lineEnd:o,polygonStart:function(){t.polygonStart(),S.lineStart=l},polygonEnd:function(){t.polygonEnd(),S.lineStart=r}};return S}function i(t,e,r,a,l,c,f,s,h,p,g,v,d,y){var m=f-t,M=s-e,x=m*m+M*M;if(x>4*u&&d--){var b=a+p,_=l+g,w=c+v,S=Math.sqrt(b*b+_*_+w*w),k=Math.asin(w/=S),N=xo(xo(w)-1)u||xo((m*z+M*L)/x-.5)>.3||o>a*p+l*g+c*v)&&(i(t,e,r,a,l,c,A,C,N,b/=S,_/=S,w,d,y),y.point(A,C),i(A,C,N,b,_,w,f,s,h,p,g,v,d,y))}}var u=.5,o=Math.cos(30*Yo),a=16;return t.precision=function(n){return arguments.length?(a=(u=n*n)>0&&16,t):Math.sqrt(u)},t}function re(n){var t=ee(function(t,e){return n([t*Zo,e*Zo])});return function(n){return le(t(n))}}function ie(n){this.stream=n}function ue(n,t){return{point:t,sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}function oe(n){return ae(function(){return n})()}function ae(n){function t(n){return n=a(n[0]*Yo,n[1]*Yo),[n[0]*h+l,c-n[1]*h]}function e(n){return n=a.invert((n[0]-l)/h,(c-n[1])/h),n&&[n[0]*Zo,n[1]*Zo]}function r(){a=Ct(o=se(y,M,x),u);var n=u(v,d);return l=p-n[0]*h,c=g+n[1]*h,i()}function i(){return f&&(f.valid=!1,f=null),t}var u,o,a,l,c,f,s=ee(function(n,t){return n=u(n,t),[n[0]*h+l,c-n[1]*h]}),h=150,p=480,g=250,v=0,d=0,y=0,M=0,x=0,b=Fa,_=m,w=null,S=null;return t.stream=function(n){return f&&(f.valid=!1),f=le(b(o,s(_(n)))),f.valid=!0,f},t.clipAngle=function(n){return arguments.length?(b=null==n?(w=n,Fa):It((w=+n)*Yo),i()):w},t.clipExtent=function(n){return arguments.length?(S=n,_=n?Zt(n[0][0],n[0][1],n[1][0],n[1][1]):m,i()):S},t.scale=function(n){return arguments.length?(h=+n,r()):h},t.translate=function(n){return arguments.length?(p=+n[0],g=+n[1],r()):[p,g]},t.center=function(n){return arguments.length?(v=n[0]%360*Yo,d=n[1]%360*Yo,r()):[v*Zo,d*Zo]},t.rotate=function(n){return arguments.length?(y=n[0]%360*Yo,M=n[1]%360*Yo,x=n.length>2?n[2]%360*Yo:0,r()):[y*Zo,M*Zo,x*Zo]},ao.rebind(t,s,"precision"),function(){return u=n.apply(this,arguments),t.invert=u.invert&&e,r()}}function le(n){return ue(n,function(t,e){n.point(t*Yo,e*Yo)})}function ce(n,t){return[n,t]}function fe(n,t){return[n>Fo?n-Ho:-Fo>n?n+Ho:n,t]}function se(n,t,e){return n?t||e?Ct(pe(n),ge(t,e)):pe(n):t||e?ge(t,e):fe}function he(n){return function(t,e){return t+=n,[t>Fo?t-Ho:-Fo>t?t+Ho:t,e]}}function pe(n){var t=he(n);return t.invert=he(-n),t}function ge(n,t){function e(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*r+a*i;return[Math.atan2(l*u-f*o,a*r-c*i),tn(f*u+l*o)]}var r=Math.cos(n),i=Math.sin(n),u=Math.cos(t),o=Math.sin(t);return e.invert=function(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*u-l*o;return[Math.atan2(l*u+c*o,a*r+f*i),tn(f*r-a*i)]},e}function ve(n,t){var e=Math.cos(n),r=Math.sin(n);return function(i,u,o,a){var l=o*t;null!=i?(i=de(e,i),u=de(e,u),(o>0?u>i:i>u)&&(i+=o*Ho)):(i=n+o*Ho,u=n-.5*l);for(var c,f=i;o>0?f>u:u>f;f-=l)a.point((c=_t([e,-r*Math.cos(f),-r*Math.sin(f)]))[0],c[1])}}function de(n,t){var e=dt(t);e[0]-=n,bt(e);var r=nn(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Uo)%(2*Math.PI)}function ye(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[n,t]})}}function me(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[t,n]})}}function Me(n){return n.source}function xe(n){return n.target}function be(n,t,e,r){var i=Math.cos(t),u=Math.sin(t),o=Math.cos(r),a=Math.sin(r),l=i*Math.cos(n),c=i*Math.sin(n),f=o*Math.cos(e),s=o*Math.sin(e),h=2*Math.asin(Math.sqrt(on(r-t)+i*o*on(e-n))),p=1/Math.sin(h),g=h?function(n){var t=Math.sin(n*=h)*p,e=Math.sin(h-n)*p,r=e*l+t*f,i=e*c+t*s,o=e*u+t*a;return[Math.atan2(i,r)*Zo,Math.atan2(o,Math.sqrt(r*r+i*i))*Zo]}:function(){return[n*Zo,t*Zo]};return g.distance=h,g}function _e(){function n(n,i){var u=Math.sin(i*=Yo),o=Math.cos(i),a=xo((n*=Yo)-t),l=Math.cos(a);Ja+=Math.atan2(Math.sqrt((a=o*Math.sin(a))*a+(a=r*u-e*o*l)*a),e*u+r*o*l),t=n,e=u,r=o}var t,e,r;Ga.point=function(i,u){t=i*Yo,e=Math.sin(u*=Yo),r=Math.cos(u),Ga.point=n},Ga.lineEnd=function(){Ga.point=Ga.lineEnd=b}}function we(n,t){function e(t,e){var r=Math.cos(t),i=Math.cos(e),u=n(r*i);return[u*i*Math.sin(t),u*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),i=t(r),u=Math.sin(i),o=Math.cos(i);return[Math.atan2(n*u,r*o),Math.asin(r&&e*u/r)]},e}function Se(n,t){function e(n,t){o>0?-Io+Uo>t&&(t=-Io+Uo):t>Io-Uo&&(t=Io-Uo);var e=o/Math.pow(i(t),u);return[e*Math.sin(u*n),o-e*Math.cos(u*n)]}var r=Math.cos(n),i=function(n){return Math.tan(Fo/4+n/2)},u=n===t?Math.sin(n):Math.log(r/Math.cos(t))/Math.log(i(t)/i(n)),o=r*Math.pow(i(n),u)/u;return u?(e.invert=function(n,t){var e=o-t,r=K(u)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/u,2*Math.atan(Math.pow(o/r,1/u))-Io]},e):Ne}function ke(n,t){function e(n,t){var e=u-t;return[e*Math.sin(i*n),u-e*Math.cos(i*n)]}var r=Math.cos(n),i=n===t?Math.sin(n):(r-Math.cos(t))/(t-n),u=r/i+n;return xo(i)i;i++){for(;r>1&&Q(n[e[r-2]],n[e[r-1]],n[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function qe(n,t){return n[0]-t[0]||n[1]-t[1]}function Te(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function Re(n,t,e,r){var i=n[0],u=e[0],o=t[0]-i,a=r[0]-u,l=n[1],c=e[1],f=t[1]-l,s=r[1]-c,h=(a*(l-c)-s*(i-u))/(s*o-a*f);return[i+h*o,l+h*f]}function De(n){var t=n[0],e=n[n.length-1];return!(t[0]-e[0]||t[1]-e[1])}function Pe(){rr(this),this.edge=this.site=this.circle=null}function Ue(n){var t=cl.pop()||new Pe;return t.site=n,t}function je(n){Be(n),ol.remove(n),cl.push(n),rr(n)}function Fe(n){var t=n.circle,e=t.x,r=t.cy,i={x:e,y:r},u=n.P,o=n.N,a=[n];je(n);for(var l=u;l.circle&&xo(e-l.circle.x)f;++f)c=a[f],l=a[f-1],nr(c.edge,l.site,c.site,i);l=a[0],c=a[s-1],c.edge=Ke(l.site,c.site,null,i),$e(l),$e(c)}function He(n){for(var t,e,r,i,u=n.x,o=n.y,a=ol._;a;)if(r=Oe(a,o)-u,r>Uo)a=a.L;else{if(i=u-Ie(a,o),!(i>Uo)){r>-Uo?(t=a.P,e=a):i>-Uo?(t=a,e=a.N):t=e=a;break}if(!a.R){t=a;break}a=a.R}var l=Ue(n);if(ol.insert(t,l),t||e){if(t===e)return Be(t),e=Ue(t.site),ol.insert(l,e),l.edge=e.edge=Ke(t.site,l.site),$e(t),void $e(e);if(!e)return void(l.edge=Ke(t.site,l.site));Be(t),Be(e);var c=t.site,f=c.x,s=c.y,h=n.x-f,p=n.y-s,g=e.site,v=g.x-f,d=g.y-s,y=2*(h*d-p*v),m=h*h+p*p,M=v*v+d*d,x={x:(d*m-p*M)/y+f,y:(h*M-v*m)/y+s};nr(e.edge,c,g,x),l.edge=Ke(c,n,null,x),e.edge=Ke(n,g,null,x),$e(t),$e(e)}}function Oe(n,t){var e=n.site,r=e.x,i=e.y,u=i-t;if(!u)return r;var o=n.P;if(!o)return-(1/0);e=o.site;var a=e.x,l=e.y,c=l-t;if(!c)return a;var f=a-r,s=1/u-1/c,h=f/c;return s?(-h+Math.sqrt(h*h-2*s*(f*f/(-2*c)-l+c/2+i-u/2)))/s+r:(r+a)/2}function Ie(n,t){var e=n.N;if(e)return Oe(e,t);var r=n.site;return r.y===t?r.x:1/0}function Ye(n){this.site=n,this.edges=[]}function Ze(n){for(var t,e,r,i,u,o,a,l,c,f,s=n[0][0],h=n[1][0],p=n[0][1],g=n[1][1],v=ul,d=v.length;d--;)if(u=v[d],u&&u.prepare())for(a=u.edges,l=a.length,o=0;l>o;)f=a[o].end(),r=f.x,i=f.y,c=a[++o%l].start(),t=c.x,e=c.y,(xo(r-t)>Uo||xo(i-e)>Uo)&&(a.splice(o,0,new tr(Qe(u.site,f,xo(r-s)Uo?{x:s,y:xo(t-s)Uo?{x:xo(e-g)Uo?{x:h,y:xo(t-h)Uo?{x:xo(e-p)=-jo)){var p=l*l+c*c,g=f*f+s*s,v=(s*p-c*g)/h,d=(l*g-f*p)/h,s=d+a,y=fl.pop()||new Xe;y.arc=n,y.site=i,y.x=v+o,y.y=s+Math.sqrt(v*v+d*d),y.cy=s,n.circle=y;for(var m=null,M=ll._;M;)if(y.yd||d>=a)return;if(h>g){if(u){if(u.y>=c)return}else u={x:d,y:l};e={x:d,y:c}}else{if(u){if(u.yr||r>1)if(h>g){if(u){if(u.y>=c)return}else u={x:(l-i)/r,y:l};e={x:(c-i)/r,y:c}}else{if(u){if(u.yp){if(u){if(u.x>=a)return}else u={x:o,y:r*o+i};e={x:a,y:r*a+i}}else{if(u){if(u.xu||s>o||r>h||i>p)){if(g=n.point){var g,v=t-n.x,d=e-n.y,y=v*v+d*d;if(l>y){var m=Math.sqrt(l=y);r=t-m,i=e-m,u=t+m,o=e+m,a=g}}for(var M=n.nodes,x=.5*(f+h),b=.5*(s+p),_=t>=x,w=e>=b,S=w<<1|_,k=S+4;k>S;++S)if(n=M[3&S])switch(3&S){case 0:c(n,f,s,x,b);break;case 1:c(n,x,s,h,b);break;case 2:c(n,f,b,x,p);break;case 3:c(n,x,b,h,p)}}}(n,r,i,u,o),a}function vr(n,t){n=ao.rgb(n),t=ao.rgb(t);var e=n.r,r=n.g,i=n.b,u=t.r-e,o=t.g-r,a=t.b-i;return function(n){return"#"+bn(Math.round(e+u*n))+bn(Math.round(r+o*n))+bn(Math.round(i+a*n))}}function dr(n,t){var e,r={},i={};for(e in n)e in t?r[e]=Mr(n[e],t[e]):i[e]=n[e];for(e in t)e in n||(i[e]=t[e]);return function(n){for(e in r)i[e]=r[e](n);return i}}function yr(n,t){return n=+n,t=+t,function(e){return n*(1-e)+t*e}}function mr(n,t){var e,r,i,u=hl.lastIndex=pl.lastIndex=0,o=-1,a=[],l=[];for(n+="",t+="";(e=hl.exec(n))&&(r=pl.exec(t));)(i=r.index)>u&&(i=t.slice(u,i),a[o]?a[o]+=i:a[++o]=i),(e=e[0])===(r=r[0])?a[o]?a[o]+=r:a[++o]=r:(a[++o]=null,l.push({i:o,x:yr(e,r)})),u=pl.lastIndex;return ur;++r)a[(e=l[r]).i]=e.x(n);return a.join("")})}function Mr(n,t){for(var e,r=ao.interpolators.length;--r>=0&&!(e=ao.interpolators[r](n,t)););return e}function xr(n,t){var e,r=[],i=[],u=n.length,o=t.length,a=Math.min(n.length,t.length);for(e=0;a>e;++e)r.push(Mr(n[e],t[e]));for(;u>e;++e)i[e]=n[e];for(;o>e;++e)i[e]=t[e];return function(n){for(e=0;a>e;++e)i[e]=r[e](n);return i}}function br(n){return function(t){return 0>=t?0:t>=1?1:n(t)}}function _r(n){return function(t){return 1-n(1-t)}}function wr(n){return function(t){return.5*(.5>t?n(2*t):2-n(2-2*t))}}function Sr(n){return n*n}function kr(n){return n*n*n}function Nr(n){if(0>=n)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(.5>n?e:3*(n-t)+e-.75)}function Er(n){return function(t){return Math.pow(t,n)}}function Ar(n){return 1-Math.cos(n*Io)}function Cr(n){return Math.pow(2,10*(n-1))}function zr(n){return 1-Math.sqrt(1-n*n)}function Lr(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/Ho*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,-10*r)*Math.sin((r-e)*Ho/t)}}function qr(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}}function Tr(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function Rr(n,t){n=ao.hcl(n),t=ao.hcl(t);var e=n.h,r=n.c,i=n.l,u=t.h-e,o=t.c-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.c:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return sn(e+u*n,r+o*n,i+a*n)+""}}function Dr(n,t){n=ao.hsl(n),t=ao.hsl(t);var e=n.h,r=n.s,i=n.l,u=t.h-e,o=t.s-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.s:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return cn(e+u*n,r+o*n,i+a*n)+""}}function Pr(n,t){n=ao.lab(n),t=ao.lab(t);var e=n.l,r=n.a,i=n.b,u=t.l-e,o=t.a-r,a=t.b-i;return function(n){return pn(e+u*n,r+o*n,i+a*n)+""}}function Ur(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function jr(n){var t=[n.a,n.b],e=[n.c,n.d],r=Hr(t),i=Fr(t,e),u=Hr(Or(e,t,-i))||0;t[0]*e[1]180?t+=360:t-n>180&&(n+=360),r.push({i:e.push(Ir(e)+"rotate(",null,")")-2,x:yr(n,t)})):t&&e.push(Ir(e)+"rotate("+t+")")}function Vr(n,t,e,r){n!==t?r.push({i:e.push(Ir(e)+"skewX(",null,")")-2,x:yr(n,t)}):t&&e.push(Ir(e)+"skewX("+t+")")}function Xr(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push(Ir(e)+"scale(",null,",",null,")");r.push({i:i-4,x:yr(n[0],t[0])},{i:i-2,x:yr(n[1],t[1])})}else 1===t[0]&&1===t[1]||e.push(Ir(e)+"scale("+t+")")}function $r(n,t){var e=[],r=[];return n=ao.transform(n),t=ao.transform(t),Yr(n.translate,t.translate,e,r),Zr(n.rotate,t.rotate,e,r),Vr(n.skew,t.skew,e,r),Xr(n.scale,t.scale,e,r),n=t=null,function(n){for(var t,i=-1,u=r.length;++i=0;)e.push(i[r])}function oi(n,t){for(var e=[n],r=[];null!=(n=e.pop());)if(r.push(n),(u=n.children)&&(i=u.length))for(var i,u,o=-1;++oe;++e)(t=n[e][1])>i&&(r=e,i=t);return r}function yi(n){return n.reduce(mi,0)}function mi(n,t){return n+t[1]}function Mi(n,t){return xi(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function xi(n,t){for(var e=-1,r=+n[0],i=(n[1]-r)/t,u=[];++e<=t;)u[e]=i*e+r;return u}function bi(n){return[ao.min(n),ao.max(n)]}function _i(n,t){return n.value-t.value}function wi(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function Si(n,t){n._pack_next=t,t._pack_prev=n}function ki(n,t){var e=t.x-n.x,r=t.y-n.y,i=n.r+t.r;return.999*i*i>e*e+r*r}function Ni(n){function t(n){f=Math.min(n.x-n.r,f),s=Math.max(n.x+n.r,s),h=Math.min(n.y-n.r,h),p=Math.max(n.y+n.r,p)}if((e=n.children)&&(c=e.length)){var e,r,i,u,o,a,l,c,f=1/0,s=-(1/0),h=1/0,p=-(1/0);if(e.forEach(Ei),r=e[0],r.x=-r.r,r.y=0,t(r),c>1&&(i=e[1],i.x=i.r,i.y=0,t(i),c>2))for(u=e[2],zi(r,i,u),t(u),wi(r,u),r._pack_prev=u,wi(u,i),i=r._pack_next,o=3;c>o;o++){zi(r,i,u=e[o]);var g=0,v=1,d=1;for(a=i._pack_next;a!==i;a=a._pack_next,v++)if(ki(a,u)){g=1;break}if(1==g)for(l=r._pack_prev;l!==a._pack_prev&&!ki(l,u);l=l._pack_prev,d++);g?(d>v||v==d&&i.ro;o++)u=e[o],u.x-=y,u.y-=m,M=Math.max(M,u.r+Math.sqrt(u.x*u.x+u.y*u.y));n.r=M,e.forEach(Ai)}}function Ei(n){n._pack_next=n._pack_prev=n}function Ai(n){delete n._pack_next,delete n._pack_prev}function Ci(n,t,e,r){var i=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,i)for(var u=-1,o=i.length;++u=0;)t=i[u],t.z+=e,t.m+=e,e+=t.s+(r+=t.c)}function Pi(n,t,e){return n.a.parent===t.parent?n.a:e}function Ui(n){return 1+ao.max(n,function(n){return n.y})}function ji(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}function Fi(n){var t=n.children;return t&&t.length?Fi(t[0]):n}function Hi(n){var t,e=n.children;return e&&(t=e.length)?Hi(e[t-1]):n}function Oi(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function Ii(n,t){var e=n.x+t[3],r=n.y+t[0],i=n.dx-t[1]-t[3],u=n.dy-t[0]-t[2];return 0>i&&(e+=i/2,i=0),0>u&&(r+=u/2,u=0),{x:e,y:r,dx:i,dy:u}}function Yi(n){var t=n[0],e=n[n.length-1];return e>t?[t,e]:[e,t]}function Zi(n){return n.rangeExtent?n.rangeExtent():Yi(n.range())}function Vi(n,t,e,r){var i=e(n[0],n[1]),u=r(t[0],t[1]);return function(n){return u(i(n))}}function Xi(n,t){var e,r=0,i=n.length-1,u=n[r],o=n[i];return u>o&&(e=r,r=i,i=e,e=u,u=o,o=e),n[r]=t.floor(u),n[i]=t.ceil(o),n}function $i(n){return n?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:Sl}function Bi(n,t,e,r){var i=[],u=[],o=0,a=Math.min(n.length,t.length)-1;for(n[a]2?Bi:Vi,l=r?Wr:Br;return o=i(n,t,l,e),a=i(t,n,l,Mr),u}function u(n){return o(n)}var o,a;return u.invert=function(n){return a(n)},u.domain=function(t){return arguments.length?(n=t.map(Number),i()):n},u.range=function(n){return arguments.length?(t=n,i()):t},u.rangeRound=function(n){return u.range(n).interpolate(Ur)},u.clamp=function(n){return arguments.length?(r=n,i()):r},u.interpolate=function(n){return arguments.length?(e=n,i()):e},u.ticks=function(t){return Qi(n,t)},u.tickFormat=function(t,e){return nu(n,t,e)},u.nice=function(t){return Gi(n,t),i()},u.copy=function(){return Wi(n,t,e,r)},i()}function Ji(n,t){return ao.rebind(n,t,"range","rangeRound","interpolate","clamp")}function Gi(n,t){return Xi(n,$i(Ki(n,t)[2])),Xi(n,$i(Ki(n,t)[2])),n}function Ki(n,t){null==t&&(t=10);var e=Yi(n),r=e[1]-e[0],i=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),u=t/r*i;return.15>=u?i*=10:.35>=u?i*=5:.75>=u&&(i*=2),e[0]=Math.ceil(e[0]/i)*i,e[1]=Math.floor(e[1]/i)*i+.5*i,e[2]=i,e}function Qi(n,t){return ao.range.apply(ao,Ki(n,t))}function nu(n,t,e){var r=Ki(n,t);if(e){var i=ha.exec(e);if(i.shift(),"s"===i[8]){var u=ao.formatPrefix(Math.max(xo(r[0]),xo(r[1])));return i[7]||(i[7]="."+tu(u.scale(r[2]))),i[8]="f",e=ao.format(i.join("")),function(n){return e(u.scale(n))+u.symbol}}i[7]||(i[7]="."+eu(i[8],r)),e=i.join("")}else e=",."+tu(r[2])+"f";return ao.format(e)}function tu(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}function eu(n,t){var e=tu(t[2]);return n in kl?Math.abs(e-tu(Math.max(xo(t[0]),xo(t[1]))))+ +("e"!==n):e-2*("%"===n)}function ru(n,t,e,r){function i(n){return(e?Math.log(0>n?0:n):-Math.log(n>0?0:-n))/Math.log(t)}function u(n){return e?Math.pow(t,n):-Math.pow(t,-n)}function o(t){return n(i(t))}return o.invert=function(t){return u(n.invert(t))},o.domain=function(t){return arguments.length?(e=t[0]>=0,n.domain((r=t.map(Number)).map(i)),o):r},o.base=function(e){return arguments.length?(t=+e,n.domain(r.map(i)),o):t},o.nice=function(){var t=Xi(r.map(i),e?Math:El);return n.domain(t),r=t.map(u),o},o.ticks=function(){var n=Yi(r),o=[],a=n[0],l=n[1],c=Math.floor(i(a)),f=Math.ceil(i(l)),s=t%1?2:t;if(isFinite(f-c)){if(e){for(;f>c;c++)for(var h=1;s>h;h++)o.push(u(c)*h);o.push(u(c))}else for(o.push(u(c));c++0;h--)o.push(u(c)*h);for(c=0;o[c]l;f--);o=o.slice(c,f)}return o},o.tickFormat=function(n,e){if(!arguments.length)return Nl;arguments.length<2?e=Nl:"function"!=typeof e&&(e=ao.format(e));var r=Math.max(1,t*n/o.ticks().length);return function(n){var o=n/u(Math.round(i(n)));return t-.5>o*t&&(o*=t),r>=o?e(n):""}},o.copy=function(){return ru(n.copy(),t,e,r)},Ji(o,n)}function iu(n,t,e){function r(t){return n(i(t))}var i=uu(t),u=uu(1/t);return r.invert=function(t){return u(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain((e=t.map(Number)).map(i)),r):e},r.ticks=function(n){return Qi(e,n)},r.tickFormat=function(n,t){return nu(e,n,t)},r.nice=function(n){return r.domain(Gi(e,n))},r.exponent=function(o){return arguments.length?(i=uu(t=o),u=uu(1/t),n.domain(e.map(i)),r):t},r.copy=function(){return iu(n.copy(),t,e)},Ji(r,n)}function uu(n){return function(t){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}}function ou(n,t){function e(e){return u[((i.get(e)||("range"===t.t?i.set(e,n.push(e)):NaN))-1)%u.length]}function r(t,e){return ao.range(n.length).map(function(n){return t+e*n})}var i,u,o;return e.domain=function(r){if(!arguments.length)return n;n=[],i=new c;for(var u,o=-1,a=r.length;++oe?[NaN,NaN]:[e>0?a[e-1]:n[0],et?NaN:t/u+n,[t,t+1/u]},r.copy=function(){return lu(n,t,e)},i()}function cu(n,t){function e(e){return e>=e?t[ao.bisect(n,e)]:void 0}return e.domain=function(t){return arguments.length?(n=t,e):n},e.range=function(n){return arguments.length?(t=n,e):t},e.invertExtent=function(e){return e=t.indexOf(e),[n[e-1],n[e]]},e.copy=function(){return cu(n,t)},e}function fu(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return Qi(n,t)},t.tickFormat=function(t,e){return nu(n,t,e)},t.copy=function(){return fu(n)},t}function su(){return 0}function hu(n){return n.innerRadius}function pu(n){return n.outerRadius}function gu(n){return n.startAngle}function vu(n){return n.endAngle}function du(n){return n&&n.padAngle}function yu(n,t,e,r){return(n-e)*t-(t-r)*n>0?0:1}function mu(n,t,e,r,i){var u=n[0]-t[0],o=n[1]-t[1],a=(i?r:-r)/Math.sqrt(u*u+o*o),l=a*o,c=-a*u,f=n[0]+l,s=n[1]+c,h=t[0]+l,p=t[1]+c,g=(f+h)/2,v=(s+p)/2,d=h-f,y=p-s,m=d*d+y*y,M=e-r,x=f*p-h*s,b=(0>y?-1:1)*Math.sqrt(Math.max(0,M*M*m-x*x)),_=(x*y-d*b)/m,w=(-x*d-y*b)/m,S=(x*y+d*b)/m,k=(-x*d+y*b)/m,N=_-g,E=w-v,A=S-g,C=k-v;return N*N+E*E>A*A+C*C&&(_=S,w=k),[[_-l,w-c],[_*e/M,w*e/M]]}function Mu(n){function t(t){function o(){c.push("M",u(n(f),a))}for(var l,c=[],f=[],s=-1,h=t.length,p=En(e),g=En(r);++s1?n.join("L"):n+"Z"}function bu(n){return n.join("L")+"Z"}function _u(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1&&i.push("H",r[0]),i.join("")}function wu(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1){a=t[1],u=n[l],l++,r+="C"+(i[0]+o[0])+","+(i[1]+o[1])+","+(u[0]-a[0])+","+(u[1]-a[1])+","+u[0]+","+u[1];for(var c=2;c9&&(i=3*t/Math.sqrt(i),o[a]=i*e,o[a+1]=i*r));for(a=-1;++a<=l;)i=(n[Math.min(l,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),u.push([i||0,o[a]*i||0]);return u}function Fu(n){return n.length<3?xu(n):n[0]+Au(n,ju(n))}function Hu(n){for(var t,e,r,i=-1,u=n.length;++i=t?o(n-t):void(f.c=o)}function o(e){var i=g.active,u=g[i];u&&(u.timer.c=null,u.timer.t=NaN,--g.count,delete g[i],u.event&&u.event.interrupt.call(n,n.__data__,u.index));for(var o in g)if(r>+o){var c=g[o];c.timer.c=null,c.timer.t=NaN,--g.count,delete g[o]}f.c=a,qn(function(){return f.c&&a(e||1)&&(f.c=null,f.t=NaN),1},0,l),g.active=r,v.event&&v.event.start.call(n,n.__data__,t),p=[],v.tween.forEach(function(e,r){(r=r.call(n,n.__data__,t))&&p.push(r)}),h=v.ease,s=v.duration}function a(i){for(var u=i/s,o=h(u),a=p.length;a>0;)p[--a].call(n,o);return u>=1?(v.event&&v.event.end.call(n,n.__data__,t),--g.count?delete g[r]:delete n[e],1):void 0}var l,f,s,h,p,g=n[e]||(n[e]={active:0,count:0}),v=g[r];v||(l=i.time,f=qn(u,0,l),v=g[r]={tween:new c,time:l,timer:f,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++g.count)}function no(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate("+(isFinite(r)?r:e(n))+",0)"})}function to(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate(0,"+(isFinite(r)?r:e(n))+")"})}function eo(n){return n.toISOString()}function ro(n,t,e){function r(t){return n(t)}function i(n,e){var r=n[1]-n[0],i=r/e,u=ao.bisect(Kl,i);return u==Kl.length?[t.year,Ki(n.map(function(n){return n/31536e6}),e)[2]]:u?t[i/Kl[u-1]1?{floor:function(t){for(;e(t=n.floor(t));)t=io(t-1);return t},ceil:function(t){for(;e(t=n.ceil(t));)t=io(+t+1);return t}}:n))},r.ticks=function(n,t){var e=Yi(r.domain()),u=null==n?i(e,10):"number"==typeof n?i(e,n):!n.range&&[{range:n},t];return u&&(n=u[0],t=u[1]),n.range(e[0],io(+e[1]+1),1>t?1:t)},r.tickFormat=function(){return e},r.copy=function(){return ro(n.copy(),t,e)},Ji(r,n)}function io(n){return new Date(n)}function uo(n){return JSON.parse(n.responseText)}function oo(n){var t=fo.createRange();return t.selectNode(fo.body),t.createContextualFragment(n.responseText)}var ao={version:"3.5.17"},lo=[].slice,co=function(n){return lo.call(n)},fo=this.document;if(fo)try{co(fo.documentElement.childNodes)[0].nodeType}catch(so){co=function(n){for(var t=n.length,e=new Array(t);t--;)e[t]=n[t];return e}}if(Date.now||(Date.now=function(){return+new Date}),fo)try{fo.createElement("DIV").style.setProperty("opacity",0,"")}catch(ho){var po=this.Element.prototype,go=po.setAttribute,vo=po.setAttributeNS,yo=this.CSSStyleDeclaration.prototype,mo=yo.setProperty;po.setAttribute=function(n,t){go.call(this,n,t+"")},po.setAttributeNS=function(n,t,e){vo.call(this,n,t,e+"")},yo.setProperty=function(n,t,e){mo.call(this,n,t+"",e)}}ao.ascending=e,ao.descending=function(n,t){return n>t?-1:t>n?1:t>=n?0:NaN},ao.min=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ir&&(e=r)}else{for(;++i=r){e=r;break}for(;++ir&&(e=r)}return e},ao.max=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ie&&(e=r)}else{for(;++i=r){e=r;break}for(;++ie&&(e=r)}return e},ao.extent=function(n,t){var e,r,i,u=-1,o=n.length;if(1===arguments.length){for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}else{for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}return[e,i]},ao.sum=function(n,t){var e,r=0,u=n.length,o=-1;if(1===arguments.length)for(;++o1?l/(f-1):void 0},ao.deviation=function(){var n=ao.variance.apply(this,arguments);return n?Math.sqrt(n):n};var Mo=u(e);ao.bisectLeft=Mo.left,ao.bisect=ao.bisectRight=Mo.right,ao.bisector=function(n){return u(1===n.length?function(t,r){return e(n(t),r)}:n)},ao.shuffle=function(n,t,e){(u=arguments.length)<3&&(e=n.length,2>u&&(t=0));for(var r,i,u=e-t;u;)i=Math.random()*u--|0,r=n[u+t],n[u+t]=n[i+t],n[i+t]=r;return n},ao.permute=function(n,t){for(var e=t.length,r=new Array(e);e--;)r[e]=n[t[e]];return r},ao.pairs=function(n){for(var t,e=0,r=n.length-1,i=n[0],u=new Array(0>r?0:r);r>e;)u[e]=[t=i,i=n[++e]];return u},ao.transpose=function(n){if(!(i=n.length))return[];for(var t=-1,e=ao.min(n,o),r=new Array(e);++t=0;)for(r=n[i],t=r.length;--t>=0;)e[--o]=r[t];return e};var xo=Math.abs;ao.range=function(n,t,e){if(arguments.length<3&&(e=1,arguments.length<2&&(t=n,n=0)),(t-n)/e===1/0)throw new Error("infinite range");var r,i=[],u=a(xo(e)),o=-1;if(n*=u,t*=u,e*=u,0>e)for(;(r=n+e*++o)>t;)i.push(r/u);else for(;(r=n+e*++o)=u.length)return r?r.call(i,o):e?o.sort(e):o;for(var l,f,s,h,p=-1,g=o.length,v=u[a++],d=new c;++p=u.length)return n;var r=[],i=o[e++];return n.forEach(function(n,i){r.push({key:n,values:t(i,e)})}),i?r.sort(function(n,t){return i(n.key,t.key)}):r}var e,r,i={},u=[],o=[];return i.map=function(t,e){return n(e,t,0)},i.entries=function(e){return t(n(ao.map,e,0),0)},i.key=function(n){return u.push(n),i},i.sortKeys=function(n){return o[u.length-1]=n,i},i.sortValues=function(n){return e=n,i},i.rollup=function(n){return r=n,i},i},ao.set=function(n){var t=new y;if(n)for(var e=0,r=n.length;r>e;++e)t.add(n[e]);return t},l(y,{has:h,add:function(n){return this._[f(n+="")]=!0,n},remove:p,values:g,size:v,empty:d,forEach:function(n){for(var t in this._)n.call(this,s(t))}}),ao.behavior={},ao.rebind=function(n,t){for(var e,r=1,i=arguments.length;++r=0&&(r=n.slice(e+1),n=n.slice(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},ao.event=null,ao.requote=function(n){return n.replace(So,"\\$&")};var So=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ko={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]},No=function(n,t){return t.querySelector(n)},Eo=function(n,t){return t.querySelectorAll(n)},Ao=function(n,t){var e=n.matches||n[x(n,"matchesSelector")];return(Ao=function(n,t){return e.call(n,t)})(n,t)};"function"==typeof Sizzle&&(No=function(n,t){return Sizzle(n,t)[0]||null},Eo=Sizzle,Ao=Sizzle.matchesSelector),ao.selection=function(){return ao.select(fo.documentElement)};var Co=ao.selection.prototype=[];Co.select=function(n){var t,e,r,i,u=[];n=A(n);for(var o=-1,a=this.length;++o=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),Lo.hasOwnProperty(e)?{space:Lo[e],local:n}:n}},Co.attr=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node();return n=ao.ns.qualify(n),n.local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(z(t,n[t]));return this}return this.each(z(n,t))},Co.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=T(n)).length,i=-1;if(t=e.classList){for(;++ii){if("string"!=typeof n){2>i&&(e="");for(r in n)this.each(P(r,n[r],e));return this}if(2>i){var u=this.node();return t(u).getComputedStyle(u,null).getPropertyValue(n)}r=""}return this.each(P(n,e,r))},Co.property=function(n,t){if(arguments.length<2){if("string"==typeof n)return this.node()[n];for(t in n)this.each(U(t,n[t]));return this}return this.each(U(n,t))},Co.text=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.textContent=null==t?"":t}:null==n?function(){this.textContent=""}:function(){this.textContent=n}):this.node().textContent},Co.html=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}:null==n?function(){this.innerHTML=""}:function(){this.innerHTML=n}):this.node().innerHTML},Co.append=function(n){return n=j(n),this.select(function(){return this.appendChild(n.apply(this,arguments))})},Co.insert=function(n,t){return n=j(n),t=A(t),this.select(function(){return this.insertBefore(n.apply(this,arguments),t.apply(this,arguments)||null)})},Co.remove=function(){return this.each(F)},Co.data=function(n,t){function e(n,e){var r,i,u,o=n.length,s=e.length,h=Math.min(o,s),p=new Array(s),g=new Array(s),v=new Array(o);if(t){var d,y=new c,m=new Array(o);for(r=-1;++rr;++r)g[r]=H(e[r]);for(;o>r;++r)v[r]=n[r]}g.update=p,g.parentNode=p.parentNode=v.parentNode=n.parentNode,a.push(g),l.push(p),f.push(v)}var r,i,u=-1,o=this.length;if(!arguments.length){for(n=new Array(o=(r=this[0]).length);++uu;u++){i.push(t=[]),t.parentNode=(e=this[u]).parentNode;for(var a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return E(i)},Co.order=function(){for(var n=-1,t=this.length;++n=0;)(e=r[i])&&(u&&u!==e.nextSibling&&u.parentNode.insertBefore(e,u),u=e);return this},Co.sort=function(n){n=I.apply(this,arguments);for(var t=-1,e=this.length;++tn;n++)for(var e=this[n],r=0,i=e.length;i>r;r++){var u=e[r];if(u)return u}return null},Co.size=function(){var n=0;return Y(this,function(){++n}),n};var qo=[];ao.selection.enter=Z,ao.selection.enter.prototype=qo,qo.append=Co.append,qo.empty=Co.empty,qo.node=Co.node,qo.call=Co.call,qo.size=Co.size,qo.select=function(n){for(var t,e,r,i,u,o=[],a=-1,l=this.length;++ar){if("string"!=typeof n){2>r&&(t=!1);for(e in n)this.each(X(e,n[e],t));return this}if(2>r)return(r=this.node()["__on"+n])&&r._;e=!1}return this.each(X(n,t,e))};var To=ao.map({mouseenter:"mouseover",mouseleave:"mouseout"});fo&&To.forEach(function(n){"on"+n in fo&&To.remove(n)});var Ro,Do=0;ao.mouse=function(n){return J(n,k())};var Po=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;ao.touch=function(n,t,e){if(arguments.length<3&&(e=t,t=k().changedTouches),t)for(var r,i=0,u=t.length;u>i;++i)if((r=t[i]).identifier===e)return J(n,r)},ao.behavior.drag=function(){function n(){this.on("mousedown.drag",u).on("touchstart.drag",o)}function e(n,t,e,u,o){return function(){function a(){var n,e,r=t(h,v);r&&(n=r[0]-M[0],e=r[1]-M[1],g|=n|e,M=r,p({type:"drag",x:r[0]+c[0],y:r[1]+c[1],dx:n,dy:e}))}function l(){t(h,v)&&(y.on(u+d,null).on(o+d,null),m(g),p({type:"dragend"}))}var c,f=this,s=ao.event.target.correspondingElement||ao.event.target,h=f.parentNode,p=r.of(f,arguments),g=0,v=n(),d=".drag"+(null==v?"":"-"+v),y=ao.select(e(s)).on(u+d,a).on(o+d,l),m=W(s),M=t(h,v);i?(c=i.apply(f,arguments),c=[c.x-M[0],c.y-M[1]]):c=[0,0],p({type:"dragstart"})}}var r=N(n,"drag","dragstart","dragend"),i=null,u=e(b,ao.mouse,t,"mousemove","mouseup"),o=e(G,ao.touch,m,"touchmove","touchend");return n.origin=function(t){return arguments.length?(i=t,n):i},ao.rebind(n,r,"on")},ao.touches=function(n,t){return arguments.length<2&&(t=k().touches),t?co(t).map(function(t){var e=J(n,t);return e.identifier=t.identifier,e}):[]};var Uo=1e-6,jo=Uo*Uo,Fo=Math.PI,Ho=2*Fo,Oo=Ho-Uo,Io=Fo/2,Yo=Fo/180,Zo=180/Fo,Vo=Math.SQRT2,Xo=2,$o=4;ao.interpolateZoom=function(n,t){var e,r,i=n[0],u=n[1],o=n[2],a=t[0],l=t[1],c=t[2],f=a-i,s=l-u,h=f*f+s*s;if(jo>h)r=Math.log(c/o)/Vo,e=function(n){return[i+n*f,u+n*s,o*Math.exp(Vo*n*r)]};else{var p=Math.sqrt(h),g=(c*c-o*o+$o*h)/(2*o*Xo*p),v=(c*c-o*o-$o*h)/(2*c*Xo*p),d=Math.log(Math.sqrt(g*g+1)-g),y=Math.log(Math.sqrt(v*v+1)-v);r=(y-d)/Vo,e=function(n){var t=n*r,e=rn(d),a=o/(Xo*p)*(e*un(Vo*t+d)-en(d));return[i+a*f,u+a*s,o*e/rn(Vo*t+d)]}}return e.duration=1e3*r,e},ao.behavior.zoom=function(){function n(n){n.on(L,s).on(Wo+".zoom",p).on("dblclick.zoom",g).on(R,h)}function e(n){return[(n[0]-k.x)/k.k,(n[1]-k.y)/k.k]}function r(n){return[n[0]*k.k+k.x,n[1]*k.k+k.y]}function i(n){k.k=Math.max(A[0],Math.min(A[1],n))}function u(n,t){t=r(t),k.x+=n[0]-t[0],k.y+=n[1]-t[1]}function o(t,e,r,o){t.__chart__={x:k.x,y:k.y,k:k.k},i(Math.pow(2,o)),u(d=e,r),t=ao.select(t),C>0&&(t=t.transition().duration(C)),t.call(n.event)}function a(){b&&b.domain(x.range().map(function(n){return(n-k.x)/k.k}).map(x.invert)),w&&w.domain(_.range().map(function(n){return(n-k.y)/k.k}).map(_.invert))}function l(n){z++||n({type:"zoomstart"})}function c(n){a(),n({type:"zoom",scale:k.k,translate:[k.x,k.y]})}function f(n){--z||(n({type:"zoomend"}),d=null)}function s(){function n(){a=1,u(ao.mouse(i),h),c(o)}function r(){s.on(q,null).on(T,null),p(a),f(o)}var i=this,o=D.of(i,arguments),a=0,s=ao.select(t(i)).on(q,n).on(T,r),h=e(ao.mouse(i)),p=W(i);Il.call(i),l(o)}function h(){function n(){var n=ao.touches(g);return p=k.k,n.forEach(function(n){n.identifier in d&&(d[n.identifier]=e(n))}),n}function t(){var t=ao.event.target;ao.select(t).on(x,r).on(b,a),_.push(t);for(var e=ao.event.changedTouches,i=0,u=e.length;u>i;++i)d[e[i].identifier]=null;var l=n(),c=Date.now();if(1===l.length){if(500>c-M){var f=l[0];o(g,f,d[f.identifier],Math.floor(Math.log(k.k)/Math.LN2)+1),S()}M=c}else if(l.length>1){var f=l[0],s=l[1],h=f[0]-s[0],p=f[1]-s[1];y=h*h+p*p}}function r(){var n,t,e,r,o=ao.touches(g);Il.call(g);for(var a=0,l=o.length;l>a;++a,r=null)if(e=o[a],r=d[e.identifier]){if(t)break;n=e,t=r}if(r){var f=(f=e[0]-n[0])*f+(f=e[1]-n[1])*f,s=y&&Math.sqrt(f/y);n=[(n[0]+e[0])/2,(n[1]+e[1])/2],t=[(t[0]+r[0])/2,(t[1]+r[1])/2],i(s*p)}M=null,u(n,t),c(v)}function a(){if(ao.event.touches.length){for(var t=ao.event.changedTouches,e=0,r=t.length;r>e;++e)delete d[t[e].identifier];for(var i in d)return void n()}ao.selectAll(_).on(m,null),w.on(L,s).on(R,h),N(),f(v)}var p,g=this,v=D.of(g,arguments),d={},y=0,m=".zoom-"+ao.event.changedTouches[0].identifier,x="touchmove"+m,b="touchend"+m,_=[],w=ao.select(g),N=W(g);t(),l(v),w.on(L,null).on(R,t)}function p(){var n=D.of(this,arguments);m?clearTimeout(m):(Il.call(this),v=e(d=y||ao.mouse(this)),l(n)),m=setTimeout(function(){m=null,f(n)},50),S(),i(Math.pow(2,.002*Bo())*k.k),u(d,v),c(n)}function g(){var n=ao.mouse(this),t=Math.log(k.k)/Math.LN2;o(this,n,e(n),ao.event.shiftKey?Math.ceil(t)-1:Math.floor(t)+1)}var v,d,y,m,M,x,b,_,w,k={x:0,y:0,k:1},E=[960,500],A=Jo,C=250,z=0,L="mousedown.zoom",q="mousemove.zoom",T="mouseup.zoom",R="touchstart.zoom",D=N(n,"zoomstart","zoom","zoomend");return Wo||(Wo="onwheel"in fo?(Bo=function(){return-ao.event.deltaY*(ao.event.deltaMode?120:1)},"wheel"):"onmousewheel"in fo?(Bo=function(){return ao.event.wheelDelta},"mousewheel"):(Bo=function(){return-ao.event.detail},"MozMousePixelScroll")),n.event=function(n){n.each(function(){var n=D.of(this,arguments),t=k;Hl?ao.select(this).transition().each("start.zoom",function(){k=this.__chart__||{x:0,y:0,k:1},l(n)}).tween("zoom:zoom",function(){var e=E[0],r=E[1],i=d?d[0]:e/2,u=d?d[1]:r/2,o=ao.interpolateZoom([(i-k.x)/k.k,(u-k.y)/k.k,e/k.k],[(i-t.x)/t.k,(u-t.y)/t.k,e/t.k]);return function(t){var r=o(t),a=e/r[2];this.__chart__=k={x:i-r[0]*a,y:u-r[1]*a,k:a},c(n)}}).each("interrupt.zoom",function(){f(n)}).each("end.zoom",function(){f(n)}):(this.__chart__=k,l(n),c(n),f(n))})},n.translate=function(t){return arguments.length?(k={x:+t[0],y:+t[1],k:k.k},a(),n):[k.x,k.y]},n.scale=function(t){return arguments.length?(k={x:k.x,y:k.y,k:null},i(+t),a(),n):k.k},n.scaleExtent=function(t){return arguments.length?(A=null==t?Jo:[+t[0],+t[1]],n):A},n.center=function(t){return arguments.length?(y=t&&[+t[0],+t[1]],n):y},n.size=function(t){return arguments.length?(E=t&&[+t[0],+t[1]],n):E},n.duration=function(t){return arguments.length?(C=+t,n):C},n.x=function(t){return arguments.length?(b=t,x=t.copy(),k={x:0,y:0,k:1},n):b},n.y=function(t){return arguments.length?(w=t,_=t.copy(),k={x:0,y:0,k:1},n):w},ao.rebind(n,D,"on")};var Bo,Wo,Jo=[0,1/0];ao.color=an,an.prototype.toString=function(){return this.rgb()+""},ao.hsl=ln;var Go=ln.prototype=new an;Go.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,this.l/n)},Go.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,n*this.l)},Go.rgb=function(){return cn(this.h,this.s,this.l)},ao.hcl=fn;var Ko=fn.prototype=new an;Ko.brighter=function(n){return new fn(this.h,this.c,Math.min(100,this.l+Qo*(arguments.length?n:1)))},Ko.darker=function(n){return new fn(this.h,this.c,Math.max(0,this.l-Qo*(arguments.length?n:1)))},Ko.rgb=function(){return sn(this.h,this.c,this.l).rgb()},ao.lab=hn;var Qo=18,na=.95047,ta=1,ea=1.08883,ra=hn.prototype=new an;ra.brighter=function(n){return new hn(Math.min(100,this.l+Qo*(arguments.length?n:1)),this.a,this.b)},ra.darker=function(n){return new hn(Math.max(0,this.l-Qo*(arguments.length?n:1)),this.a,this.b)},ra.rgb=function(){return pn(this.l,this.a,this.b)},ao.rgb=mn;var ia=mn.prototype=new an;ia.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,i=30;return t||e||r?(t&&i>t&&(t=i),e&&i>e&&(e=i),r&&i>r&&(r=i),new mn(Math.min(255,t/n),Math.min(255,e/n),Math.min(255,r/n))):new mn(i,i,i)},ia.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new mn(n*this.r,n*this.g,n*this.b)},ia.hsl=function(){return wn(this.r,this.g,this.b)},ia.toString=function(){return"#"+bn(this.r)+bn(this.g)+bn(this.b)};var ua=ao.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});ua.forEach(function(n,t){ua.set(n,Mn(t))}),ao.functor=En,ao.xhr=An(m),ao.dsv=function(n,t){function e(n,e,u){arguments.length<3&&(u=e,e=null);var o=Cn(n,t,null==e?r:i(e),u);return o.row=function(n){return arguments.length?o.response(null==(e=n)?r:i(n)):e},o}function r(n){return e.parse(n.responseText)}function i(n){return function(t){return e.parse(t.responseText,n)}}function u(t){return t.map(o).join(n)}function o(n){return a.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}var a=new RegExp('["'+n+"\n]"),l=n.charCodeAt(0);return e.parse=function(n,t){var r;return e.parseRows(n,function(n,e){if(r)return r(n,e-1);var i=new Function("d","return {"+n.map(function(n,t){return JSON.stringify(n)+": d["+t+"]"}).join(",")+"}");r=t?function(n,e){return t(i(n),e)}:i})},e.parseRows=function(n,t){function e(){if(f>=c)return o;if(i)return i=!1,u;var t=f;if(34===n.charCodeAt(t)){for(var e=t;e++f;){var r=n.charCodeAt(f++),a=1;if(10===r)i=!0;else if(13===r)i=!0,10===n.charCodeAt(f)&&(++f,++a);else if(r!==l)continue;return n.slice(t,f-a)}return n.slice(t)}for(var r,i,u={},o={},a=[],c=n.length,f=0,s=0;(r=e())!==o;){for(var h=[];r!==u&&r!==o;)h.push(r),r=e();t&&null==(h=t(h,s++))||a.push(h)}return a},e.format=function(t){if(Array.isArray(t[0]))return e.formatRows(t);var r=new y,i=[];return t.forEach(function(n){for(var t in n)r.has(t)||i.push(r.add(t))}),[i.map(o).join(n)].concat(t.map(function(t){return i.map(function(n){return o(t[n])}).join(n)})).join("\n")},e.formatRows=function(n){return n.map(u).join("\n")},e},ao.csv=ao.dsv(",","text/csv"),ao.tsv=ao.dsv(" ","text/tab-separated-values");var oa,aa,la,ca,fa=this[x(this,"requestAnimationFrame")]||function(n){setTimeout(n,17)};ao.timer=function(){qn.apply(this,arguments)},ao.timer.flush=function(){Rn(),Dn()},ao.round=function(n,t){return t?Math.round(n*(t=Math.pow(10,t)))/t:Math.round(n)};var sa=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"].map(Un);ao.formatPrefix=function(n,t){var e=0;return(n=+n)&&(0>n&&(n*=-1),t&&(n=ao.round(n,Pn(n,t))),e=1+Math.floor(1e-12+Math.log(n)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((e-1)/3)))),sa[8+e/3]};var ha=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,pa=ao.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,t){return(n=ao.round(n,Pn(n,t))).toFixed(Math.max(0,Math.min(20,Pn(n*(1+1e-15),t))))}}),ga=ao.time={},va=Date;Hn.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){da.setUTCDate.apply(this._,arguments)},setDay:function(){da.setUTCDay.apply(this._,arguments)},setFullYear:function(){da.setUTCFullYear.apply(this._,arguments)},setHours:function(){da.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){da.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){da.setUTCMinutes.apply(this._,arguments)},setMonth:function(){da.setUTCMonth.apply(this._,arguments)},setSeconds:function(){da.setUTCSeconds.apply(this._,arguments)},setTime:function(){da.setTime.apply(this._,arguments)}};var da=Date.prototype;ga.year=On(function(n){return n=ga.day(n),n.setMonth(0,1),n},function(n,t){n.setFullYear(n.getFullYear()+t)},function(n){return n.getFullYear()}),ga.years=ga.year.range,ga.years.utc=ga.year.utc.range,ga.day=On(function(n){var t=new va(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t},function(n,t){n.setDate(n.getDate()+t)},function(n){return n.getDate()-1}),ga.days=ga.day.range,ga.days.utc=ga.day.utc.range,ga.dayOfYear=function(n){var t=ga.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(n,t){t=7-t;var e=ga[n]=On(function(n){return(n=ga.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n},function(n,t){n.setDate(n.getDate()+7*Math.floor(t))},function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)-(e!==t)});ga[n+"s"]=e.range,ga[n+"s"].utc=e.utc.range,ga[n+"OfYear"]=function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)}}),ga.week=ga.sunday,ga.weeks=ga.sunday.range,ga.weeks.utc=ga.sunday.utc.range,ga.weekOfYear=ga.sundayOfYear;var ya={"-":"",_:" ",0:"0"},ma=/^\s*\d+/,Ma=/^%/;ao.locale=function(n){return{numberFormat:jn(n),timeFormat:Yn(n)}};var xa=ao.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"], +shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});ao.format=xa.numberFormat,ao.geo={},ft.prototype={s:0,t:0,add:function(n){st(n,this.t,ba),st(ba.s,this.s,this),this.s?this.t+=ba.t:this.s=ba.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var ba=new ft;ao.geo.stream=function(n,t){n&&_a.hasOwnProperty(n.type)?_a[n.type](n,t):ht(n,t)};var _a={Feature:function(n,t){ht(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,i=e.length;++rn?4*Fo+n:n,Na.lineStart=Na.lineEnd=Na.point=b}};ao.geo.bounds=function(){function n(n,t){M.push(x=[f=n,h=n]),s>t&&(s=t),t>p&&(p=t)}function t(t,e){var r=dt([t*Yo,e*Yo]);if(y){var i=mt(y,r),u=[i[1],-i[0],0],o=mt(u,i);bt(o),o=_t(o);var l=t-g,c=l>0?1:-1,v=o[0]*Zo*c,d=xo(l)>180;if(d^(v>c*g&&c*t>v)){var m=o[1]*Zo;m>p&&(p=m)}else if(v=(v+360)%360-180,d^(v>c*g&&c*t>v)){var m=-o[1]*Zo;s>m&&(s=m)}else s>e&&(s=e),e>p&&(p=e);d?g>t?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t):h>=f?(f>t&&(f=t),t>h&&(h=t)):t>g?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t)}else n(t,e);y=r,g=t}function e(){b.point=t}function r(){x[0]=f,x[1]=h,b.point=n,y=null}function i(n,e){if(y){var r=n-g;m+=xo(r)>180?r+(r>0?360:-360):r}else v=n,d=e;Na.point(n,e),t(n,e)}function u(){Na.lineStart()}function o(){i(v,d),Na.lineEnd(),xo(m)>Uo&&(f=-(h=180)),x[0]=f,x[1]=h,y=null}function a(n,t){return(t-=n)<0?t+360:t}function l(n,t){return n[0]-t[0]}function c(n,t){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nka?(f=-(h=180),s=-(p=90)):m>Uo?p=90:-Uo>m&&(s=-90),x[0]=f,x[1]=h}};return function(n){p=h=-(f=s=1/0),M=[],ao.geo.stream(n,b);var t=M.length;if(t){M.sort(l);for(var e,r=1,i=M[0],u=[i];t>r;++r)e=M[r],c(e[0],i)||c(e[1],i)?(a(i[0],e[1])>a(i[0],i[1])&&(i[1]=e[1]),a(e[0],i[1])>a(i[0],i[1])&&(i[0]=e[0])):u.push(i=e);for(var o,e,g=-(1/0),t=u.length-1,r=0,i=u[t];t>=r;i=e,++r)e=u[r],(o=a(i[1],e[0]))>g&&(g=o,f=e[0],h=i[1])}return M=x=null,f===1/0||s===1/0?[[NaN,NaN],[NaN,NaN]]:[[f,s],[h,p]]}}(),ao.geo.centroid=function(n){Ea=Aa=Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,ja);var t=Da,e=Pa,r=Ua,i=t*t+e*e+r*r;return jo>i&&(t=qa,e=Ta,r=Ra,Uo>Aa&&(t=Ca,e=za,r=La),i=t*t+e*e+r*r,jo>i)?[NaN,NaN]:[Math.atan2(e,t)*Zo,tn(r/Math.sqrt(i))*Zo]};var Ea,Aa,Ca,za,La,qa,Ta,Ra,Da,Pa,Ua,ja={sphere:b,point:St,lineStart:Nt,lineEnd:Et,polygonStart:function(){ja.lineStart=At},polygonEnd:function(){ja.lineStart=Nt}},Fa=Rt(zt,jt,Ht,[-Fo,-Fo/2]),Ha=1e9;ao.geo.clipExtent=function(){var n,t,e,r,i,u,o={stream:function(n){return i&&(i.valid=!1),i=u(n),i.valid=!0,i},extent:function(a){return arguments.length?(u=Zt(n=+a[0][0],t=+a[0][1],e=+a[1][0],r=+a[1][1]),i&&(i.valid=!1,i=null),o):[[n,t],[e,r]]}};return o.extent([[0,0],[960,500]])},(ao.geo.conicEqualArea=function(){return Vt(Xt)}).raw=Xt,ao.geo.albers=function(){return ao.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},ao.geo.albersUsa=function(){function n(n){var u=n[0],o=n[1];return t=null,e(u,o),t||(r(u,o),t)||i(u,o),t}var t,e,r,i,u=ao.geo.albers(),o=ao.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=ao.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(n,e){t=[n,e]}};return n.invert=function(n){var t=u.scale(),e=u.translate(),r=(n[0]-e[0])/t,i=(n[1]-e[1])/t;return(i>=.12&&.234>i&&r>=-.425&&-.214>r?o:i>=.166&&.234>i&&r>=-.214&&-.115>r?a:u).invert(n)},n.stream=function(n){var t=u.stream(n),e=o.stream(n),r=a.stream(n);return{point:function(n,i){t.point(n,i),e.point(n,i),r.point(n,i)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},n.precision=function(t){return arguments.length?(u.precision(t),o.precision(t),a.precision(t),n):u.precision()},n.scale=function(t){return arguments.length?(u.scale(t),o.scale(.35*t),a.scale(t),n.translate(u.translate())):u.scale()},n.translate=function(t){if(!arguments.length)return u.translate();var c=u.scale(),f=+t[0],s=+t[1];return e=u.translate(t).clipExtent([[f-.455*c,s-.238*c],[f+.455*c,s+.238*c]]).stream(l).point,r=o.translate([f-.307*c,s+.201*c]).clipExtent([[f-.425*c+Uo,s+.12*c+Uo],[f-.214*c-Uo,s+.234*c-Uo]]).stream(l).point,i=a.translate([f-.205*c,s+.212*c]).clipExtent([[f-.214*c+Uo,s+.166*c+Uo],[f-.115*c-Uo,s+.234*c-Uo]]).stream(l).point,n},n.scale(1070)};var Oa,Ia,Ya,Za,Va,Xa,$a={point:b,lineStart:b,lineEnd:b,polygonStart:function(){Ia=0,$a.lineStart=$t},polygonEnd:function(){$a.lineStart=$a.lineEnd=$a.point=b,Oa+=xo(Ia/2)}},Ba={point:Bt,lineStart:b,lineEnd:b,polygonStart:b,polygonEnd:b},Wa={point:Gt,lineStart:Kt,lineEnd:Qt,polygonStart:function(){Wa.lineStart=ne},polygonEnd:function(){Wa.point=Gt,Wa.lineStart=Kt,Wa.lineEnd=Qt}};ao.geo.path=function(){function n(n){return n&&("function"==typeof a&&u.pointRadius(+a.apply(this,arguments)),o&&o.valid||(o=i(u)),ao.geo.stream(n,o)),u.result()}function t(){return o=null,n}var e,r,i,u,o,a=4.5;return n.area=function(n){return Oa=0,ao.geo.stream(n,i($a)),Oa},n.centroid=function(n){return Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,i(Wa)),Ua?[Da/Ua,Pa/Ua]:Ra?[qa/Ra,Ta/Ra]:La?[Ca/La,za/La]:[NaN,NaN]},n.bounds=function(n){return Va=Xa=-(Ya=Za=1/0),ao.geo.stream(n,i(Ba)),[[Ya,Za],[Va,Xa]]},n.projection=function(n){return arguments.length?(i=(e=n)?n.stream||re(n):m,t()):e},n.context=function(n){return arguments.length?(u=null==(r=n)?new Wt:new te(n),"function"!=typeof a&&u.pointRadius(a),t()):r},n.pointRadius=function(t){return arguments.length?(a="function"==typeof t?t:(u.pointRadius(+t),+t),n):a},n.projection(ao.geo.albersUsa()).context(null)},ao.geo.transform=function(n){return{stream:function(t){var e=new ie(t);for(var r in n)e[r]=n[r];return e}}},ie.prototype={point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},ao.geo.projection=oe,ao.geo.projectionMutator=ae,(ao.geo.equirectangular=function(){return oe(ce)}).raw=ce.invert=ce,ao.geo.rotation=function(n){function t(t){return t=n(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t}return n=se(n[0]%360*Yo,n[1]*Yo,n.length>2?n[2]*Yo:0),t.invert=function(t){return t=n.invert(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t},t},fe.invert=ce,ao.geo.circle=function(){function n(){var n="function"==typeof r?r.apply(this,arguments):r,t=se(-n[0]*Yo,-n[1]*Yo,0).invert,i=[];return e(null,null,1,{point:function(n,e){i.push(n=t(n,e)),n[0]*=Zo,n[1]*=Zo}}),{type:"Polygon",coordinates:[i]}}var t,e,r=[0,0],i=6;return n.origin=function(t){return arguments.length?(r=t,n):r},n.angle=function(r){return arguments.length?(e=ve((t=+r)*Yo,i*Yo),n):t},n.precision=function(r){return arguments.length?(e=ve(t*Yo,(i=+r)*Yo),n):i},n.angle(90)},ao.geo.distance=function(n,t){var e,r=(t[0]-n[0])*Yo,i=n[1]*Yo,u=t[1]*Yo,o=Math.sin(r),a=Math.cos(r),l=Math.sin(i),c=Math.cos(i),f=Math.sin(u),s=Math.cos(u);return Math.atan2(Math.sqrt((e=s*o)*e+(e=c*f-l*s*a)*e),l*f+c*s*a)},ao.geo.graticule=function(){function n(){return{type:"MultiLineString",coordinates:t()}}function t(){return ao.range(Math.ceil(u/d)*d,i,d).map(h).concat(ao.range(Math.ceil(c/y)*y,l,y).map(p)).concat(ao.range(Math.ceil(r/g)*g,e,g).filter(function(n){return xo(n%d)>Uo}).map(f)).concat(ao.range(Math.ceil(a/v)*v,o,v).filter(function(n){return xo(n%y)>Uo}).map(s))}var e,r,i,u,o,a,l,c,f,s,h,p,g=10,v=g,d=90,y=360,m=2.5;return n.lines=function(){return t().map(function(n){return{type:"LineString",coordinates:n}})},n.outline=function(){return{type:"Polygon",coordinates:[h(u).concat(p(l).slice(1),h(i).reverse().slice(1),p(c).reverse().slice(1))]}},n.extent=function(t){return arguments.length?n.majorExtent(t).minorExtent(t):n.minorExtent()},n.majorExtent=function(t){return arguments.length?(u=+t[0][0],i=+t[1][0],c=+t[0][1],l=+t[1][1],u>i&&(t=u,u=i,i=t),c>l&&(t=c,c=l,l=t),n.precision(m)):[[u,c],[i,l]]},n.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],o=+t[1][1],r>e&&(t=r,r=e,e=t),a>o&&(t=a,a=o,o=t),n.precision(m)):[[r,a],[e,o]]},n.step=function(t){return arguments.length?n.majorStep(t).minorStep(t):n.minorStep()},n.majorStep=function(t){return arguments.length?(d=+t[0],y=+t[1],n):[d,y]},n.minorStep=function(t){return arguments.length?(g=+t[0],v=+t[1],n):[g,v]},n.precision=function(t){return arguments.length?(m=+t,f=ye(a,o,90),s=me(r,e,m),h=ye(c,l,90),p=me(u,i,m),n):m},n.majorExtent([[-180,-90+Uo],[180,90-Uo]]).minorExtent([[-180,-80-Uo],[180,80+Uo]])},ao.geo.greatArc=function(){function n(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),e||i.apply(this,arguments)]}}var t,e,r=Me,i=xe;return n.distance=function(){return ao.geo.distance(t||r.apply(this,arguments),e||i.apply(this,arguments))},n.source=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,n):r},n.target=function(t){return arguments.length?(i=t,e="function"==typeof t?null:t,n):i},n.precision=function(){return arguments.length?n:0},n},ao.geo.interpolate=function(n,t){return be(n[0]*Yo,n[1]*Yo,t[0]*Yo,t[1]*Yo)},ao.geo.length=function(n){return Ja=0,ao.geo.stream(n,Ga),Ja};var Ja,Ga={sphere:b,point:b,lineStart:_e,lineEnd:b,polygonStart:b,polygonEnd:b},Ka=we(function(n){return Math.sqrt(2/(1+n))},function(n){return 2*Math.asin(n/2)});(ao.geo.azimuthalEqualArea=function(){return oe(Ka)}).raw=Ka;var Qa=we(function(n){var t=Math.acos(n);return t&&t/Math.sin(t)},m);(ao.geo.azimuthalEquidistant=function(){return oe(Qa)}).raw=Qa,(ao.geo.conicConformal=function(){return Vt(Se)}).raw=Se,(ao.geo.conicEquidistant=function(){return Vt(ke)}).raw=ke;var nl=we(function(n){return 1/n},Math.atan);(ao.geo.gnomonic=function(){return oe(nl)}).raw=nl,Ne.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Io]},(ao.geo.mercator=function(){return Ee(Ne)}).raw=Ne;var tl=we(function(){return 1},Math.asin);(ao.geo.orthographic=function(){return oe(tl)}).raw=tl;var el=we(function(n){return 1/(1+n)},function(n){return 2*Math.atan(n)});(ao.geo.stereographic=function(){return oe(el)}).raw=el,Ae.invert=function(n,t){return[-t,2*Math.atan(Math.exp(n))-Io]},(ao.geo.transverseMercator=function(){var n=Ee(Ae),t=n.center,e=n.rotate;return n.center=function(n){return n?t([-n[1],n[0]]):(n=t(),[n[1],-n[0]])},n.rotate=function(n){return n?e([n[0],n[1],n.length>2?n[2]+90:90]):(n=e(),[n[0],n[1],n[2]-90])},e([0,0,90])}).raw=Ae,ao.geom={},ao.geom.hull=function(n){function t(n){if(n.length<3)return[];var t,i=En(e),u=En(r),o=n.length,a=[],l=[];for(t=0;o>t;t++)a.push([+i.call(this,n[t],t),+u.call(this,n[t],t),t]);for(a.sort(qe),t=0;o>t;t++)l.push([a[t][0],-a[t][1]]);var c=Le(a),f=Le(l),s=f[0]===c[0],h=f[f.length-1]===c[c.length-1],p=[];for(t=c.length-1;t>=0;--t)p.push(n[a[c[t]][2]]);for(t=+s;t=r&&c.x<=u&&c.y>=i&&c.y<=o?[[r,o],[u,o],[u,i],[r,i]]:[];f.point=n[a]}),t}function e(n){return n.map(function(n,t){return{x:Math.round(u(n,t)/Uo)*Uo,y:Math.round(o(n,t)/Uo)*Uo,i:t}})}var r=Ce,i=ze,u=r,o=i,a=sl;return n?t(n):(t.links=function(n){return ar(e(n)).edges.filter(function(n){return n.l&&n.r}).map(function(t){return{source:n[t.l.i],target:n[t.r.i]}})},t.triangles=function(n){var t=[];return ar(e(n)).cells.forEach(function(e,r){for(var i,u,o=e.site,a=e.edges.sort(Ve),l=-1,c=a.length,f=a[c-1].edge,s=f.l===o?f.r:f.l;++l=c,h=r>=f,p=h<<1|s;n.leaf=!1,n=n.nodes[p]||(n.nodes[p]=hr()),s?i=c:a=c,h?o=f:l=f,u(n,t,e,r,i,o,a,l)}var f,s,h,p,g,v,d,y,m,M=En(a),x=En(l);if(null!=t)v=t,d=e,y=r,m=i;else if(y=m=-(v=d=1/0),s=[],h=[],g=n.length,o)for(p=0;g>p;++p)f=n[p],f.xy&&(y=f.x),f.y>m&&(m=f.y),s.push(f.x),h.push(f.y);else for(p=0;g>p;++p){var b=+M(f=n[p],p),_=+x(f,p);v>b&&(v=b),d>_&&(d=_),b>y&&(y=b),_>m&&(m=_),s.push(b),h.push(_)}var w=y-v,S=m-d;w>S?m=d+w:y=v+S;var k=hr();if(k.add=function(n){u(k,n,+M(n,++p),+x(n,p),v,d,y,m)},k.visit=function(n){pr(n,k,v,d,y,m)},k.find=function(n){return gr(k,n[0],n[1],v,d,y,m)},p=-1,null==t){for(;++p=0?n.slice(0,t):n,r=t>=0?n.slice(t+1):"in";return e=vl.get(e)||gl,r=dl.get(r)||m,br(r(e.apply(null,lo.call(arguments,1))))},ao.interpolateHcl=Rr,ao.interpolateHsl=Dr,ao.interpolateLab=Pr,ao.interpolateRound=Ur,ao.transform=function(n){var t=fo.createElementNS(ao.ns.prefix.svg,"g");return(ao.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new jr(e?e.matrix:yl)})(n)},jr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var yl={a:1,b:0,c:0,d:1,e:0,f:0};ao.interpolateTransform=$r,ao.layout={},ao.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++ea*a/y){if(v>l){var c=t.charge/l;n.px-=u*c,n.py-=o*c}return!0}if(t.point&&l&&v>l){var c=t.pointCharge/l;n.px-=u*c,n.py-=o*c}}return!t.charge}}function t(n){n.px=ao.event.x,n.py=ao.event.y,l.resume()}var e,r,i,u,o,a,l={},c=ao.dispatch("start","tick","end"),f=[1,1],s=.9,h=ml,p=Ml,g=-30,v=xl,d=.1,y=.64,M=[],x=[];return l.tick=function(){if((i*=.99)<.005)return e=null,c.end({type:"end",alpha:i=0}),!0;var t,r,l,h,p,v,y,m,b,_=M.length,w=x.length;for(r=0;w>r;++r)l=x[r],h=l.source,p=l.target,m=p.x-h.x,b=p.y-h.y,(v=m*m+b*b)&&(v=i*o[r]*((v=Math.sqrt(v))-u[r])/v,m*=v,b*=v,p.x-=m*(y=h.weight+p.weight?h.weight/(h.weight+p.weight):.5),p.y-=b*y,h.x+=m*(y=1-y),h.y+=b*y);if((y=i*d)&&(m=f[0]/2,b=f[1]/2,r=-1,y))for(;++r<_;)l=M[r],l.x+=(m-l.x)*y,l.y+=(b-l.y)*y;if(g)for(ri(t=ao.geom.quadtree(M),i,a),r=-1;++r<_;)(l=M[r]).fixed||t.visit(n(l));for(r=-1;++r<_;)l=M[r],l.fixed?(l.x=l.px,l.y=l.py):(l.x-=(l.px-(l.px=l.x))*s,l.y-=(l.py-(l.py=l.y))*s);c.tick({type:"tick",alpha:i})},l.nodes=function(n){return arguments.length?(M=n,l):M},l.links=function(n){return arguments.length?(x=n,l):x},l.size=function(n){return arguments.length?(f=n,l):f},l.linkDistance=function(n){return arguments.length?(h="function"==typeof n?n:+n,l):h},l.distance=l.linkDistance,l.linkStrength=function(n){return arguments.length?(p="function"==typeof n?n:+n,l):p},l.friction=function(n){return arguments.length?(s=+n,l):s},l.charge=function(n){return arguments.length?(g="function"==typeof n?n:+n,l):g},l.chargeDistance=function(n){return arguments.length?(v=n*n,l):Math.sqrt(v)},l.gravity=function(n){return arguments.length?(d=+n,l):d},l.theta=function(n){return arguments.length?(y=n*n,l):Math.sqrt(y)},l.alpha=function(n){return arguments.length?(n=+n,i?n>0?i=n:(e.c=null,e.t=NaN,e=null,c.end({type:"end",alpha:i=0})):n>0&&(c.start({type:"start",alpha:i=n}),e=qn(l.tick)),l):i},l.start=function(){function n(n,r){if(!e){for(e=new Array(i),l=0;i>l;++l)e[l]=[];for(l=0;c>l;++l){var u=x[l];e[u.source.index].push(u.target),e[u.target.index].push(u.source)}}for(var o,a=e[t],l=-1,f=a.length;++lt;++t)(r=M[t]).index=t,r.weight=0;for(t=0;c>t;++t)r=x[t],"number"==typeof r.source&&(r.source=M[r.source]),"number"==typeof r.target&&(r.target=M[r.target]),++r.source.weight,++r.target.weight;for(t=0;i>t;++t)r=M[t],isNaN(r.x)&&(r.x=n("x",s)),isNaN(r.y)&&(r.y=n("y",v)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(u=[],"function"==typeof h)for(t=0;c>t;++t)u[t]=+h.call(this,x[t],t);else for(t=0;c>t;++t)u[t]=h;if(o=[],"function"==typeof p)for(t=0;c>t;++t)o[t]=+p.call(this,x[t],t);else for(t=0;c>t;++t)o[t]=p;if(a=[],"function"==typeof g)for(t=0;i>t;++t)a[t]=+g.call(this,M[t],t);else for(t=0;i>t;++t)a[t]=g;return l.resume()},l.resume=function(){return l.alpha(.1)},l.stop=function(){return l.alpha(0)},l.drag=function(){return r||(r=ao.behavior.drag().origin(m).on("dragstart.force",Qr).on("drag.force",t).on("dragend.force",ni)),arguments.length?void this.on("mouseover.force",ti).on("mouseout.force",ei).call(r):r},ao.rebind(l,c,"on")};var ml=20,Ml=1,xl=1/0;ao.layout.hierarchy=function(){function n(i){var u,o=[i],a=[];for(i.depth=0;null!=(u=o.pop());)if(a.push(u),(c=e.call(n,u,u.depth))&&(l=c.length)){for(var l,c,f;--l>=0;)o.push(f=c[l]),f.parent=u,f.depth=u.depth+1;r&&(u.value=0),u.children=c}else r&&(u.value=+r.call(n,u,u.depth)||0),delete u.children;return oi(i,function(n){var e,i;t&&(e=n.children)&&e.sort(t),r&&(i=n.parent)&&(i.value+=n.value)}),a}var t=ci,e=ai,r=li;return n.sort=function(e){return arguments.length?(t=e,n):t},n.children=function(t){return arguments.length?(e=t,n):e},n.value=function(t){return arguments.length?(r=t,n):r},n.revalue=function(t){return r&&(ui(t,function(n){n.children&&(n.value=0)}),oi(t,function(t){var e;t.children||(t.value=+r.call(n,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)})),t},n},ao.layout.partition=function(){function n(t,e,r,i){var u=t.children;if(t.x=e,t.y=t.depth*i,t.dx=r,t.dy=i,u&&(o=u.length)){var o,a,l,c=-1;for(r=t.value?r/t.value:0;++cs?-1:1),g=ao.sum(c),v=g?(s-l*p)/g:0,d=ao.range(l),y=[];return null!=e&&d.sort(e===bl?function(n,t){return c[t]-c[n]}:function(n,t){return e(o[n],o[t])}),d.forEach(function(n){y[n]={data:o[n],value:a=c[n],startAngle:f,endAngle:f+=a*v+p,padAngle:h}}),y}var t=Number,e=bl,r=0,i=Ho,u=0;return n.value=function(e){return arguments.length?(t=e,n):t},n.sort=function(t){return arguments.length?(e=t,n):e},n.startAngle=function(t){return arguments.length?(r=t,n):r},n.endAngle=function(t){return arguments.length?(i=t,n):i},n.padAngle=function(t){return arguments.length?(u=t,n):u},n};var bl={};ao.layout.stack=function(){function n(a,l){if(!(h=a.length))return a;var c=a.map(function(e,r){return t.call(n,e,r)}),f=c.map(function(t){return t.map(function(t,e){return[u.call(n,t,e),o.call(n,t,e)]})}),s=e.call(n,f,l);c=ao.permute(c,s),f=ao.permute(f,s);var h,p,g,v,d=r.call(n,f,l),y=c[0].length;for(g=0;y>g;++g)for(i.call(n,c[0][g],v=d[g],f[0][g][1]),p=1;h>p;++p)i.call(n,c[p][g],v+=f[p-1][g][1],f[p][g][1]);return a}var t=m,e=gi,r=vi,i=pi,u=si,o=hi;return n.values=function(e){return arguments.length?(t=e,n):t},n.order=function(t){return arguments.length?(e="function"==typeof t?t:_l.get(t)||gi,n):e},n.offset=function(t){return arguments.length?(r="function"==typeof t?t:wl.get(t)||vi,n):r},n.x=function(t){return arguments.length?(u=t,n):u},n.y=function(t){return arguments.length?(o=t,n):o},n.out=function(t){return arguments.length?(i=t,n):i},n};var _l=ao.map({"inside-out":function(n){var t,e,r=n.length,i=n.map(di),u=n.map(yi),o=ao.range(r).sort(function(n,t){return i[n]-i[t]}),a=0,l=0,c=[],f=[];for(t=0;r>t;++t)e=o[t],l>a?(a+=u[e],c.push(e)):(l+=u[e],f.push(e));return f.reverse().concat(c)},reverse:function(n){return ao.range(n.length).reverse()},"default":gi}),wl=ao.map({silhouette:function(n){var t,e,r,i=n.length,u=n[0].length,o=[],a=0,l=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];r>a&&(a=r),o.push(r)}for(e=0;u>e;++e)l[e]=(a-o[e])/2;return l},wiggle:function(n){var t,e,r,i,u,o,a,l,c,f=n.length,s=n[0],h=s.length,p=[];for(p[0]=l=c=0,e=1;h>e;++e){for(t=0,i=0;f>t;++t)i+=n[t][e][1];for(t=0,u=0,a=s[e][0]-s[e-1][0];f>t;++t){for(r=0,o=(n[t][e][1]-n[t][e-1][1])/(2*a);t>r;++r)o+=(n[r][e][1]-n[r][e-1][1])/a;u+=o*n[t][e][1]}p[e]=l-=i?u/i*a:0,c>l&&(c=l)}for(e=0;h>e;++e)p[e]-=c;return p},expand:function(n){var t,e,r,i=n.length,u=n[0].length,o=1/i,a=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];if(r)for(t=0;i>t;t++)n[t][e][1]/=r;else for(t=0;i>t;t++)n[t][e][1]=o}for(e=0;u>e;++e)a[e]=0;return a},zero:vi});ao.layout.histogram=function(){function n(n,u){for(var o,a,l=[],c=n.map(e,this),f=r.call(this,c,u),s=i.call(this,f,c,u),u=-1,h=c.length,p=s.length-1,g=t?1:1/h;++u0)for(u=-1;++u=f[0]&&a<=f[1]&&(o=l[ao.bisect(s,a,1,p)-1],o.y+=g,o.push(n[u]));return l}var t=!0,e=Number,r=bi,i=Mi;return n.value=function(t){return arguments.length?(e=t,n):e},n.range=function(t){return arguments.length?(r=En(t),n):r},n.bins=function(t){return arguments.length?(i="number"==typeof t?function(n){return xi(n,t)}:En(t),n):i},n.frequency=function(e){return arguments.length?(t=!!e,n):t},n},ao.layout.pack=function(){function n(n,u){var o=e.call(this,n,u),a=o[0],l=i[0],c=i[1],f=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(a.x=a.y=0,oi(a,function(n){n.r=+f(n.value)}),oi(a,Ni),r){var s=r*(t?1:Math.max(2*a.r/l,2*a.r/c))/2;oi(a,function(n){n.r+=s}),oi(a,Ni),oi(a,function(n){n.r-=s})}return Ci(a,l/2,c/2,t?1:1/Math.max(2*a.r/l,2*a.r/c)),o}var t,e=ao.layout.hierarchy().sort(_i),r=0,i=[1,1];return n.size=function(t){return arguments.length?(i=t,n):i},n.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,n):t},n.padding=function(t){return arguments.length?(r=+t,n):r},ii(n,e)},ao.layout.tree=function(){function n(n,i){var f=o.call(this,n,i),s=f[0],h=t(s);if(oi(h,e),h.parent.m=-h.z,ui(h,r),c)ui(s,u);else{var p=s,g=s,v=s;ui(s,function(n){n.xg.x&&(g=n),n.depth>v.depth&&(v=n)});var d=a(p,g)/2-p.x,y=l[0]/(g.x+a(g,p)/2+d),m=l[1]/(v.depth||1);ui(s,function(n){n.x=(n.x+d)*y,n.y=n.depth*m})}return f}function t(n){for(var t,e={A:null,children:[n]},r=[e];null!=(t=r.pop());)for(var i,u=t.children,o=0,a=u.length;a>o;++o)r.push((u[o]=i={_:u[o],parent:t,children:(i=u[o].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=i);return e.children[0]}function e(n){var t=n.children,e=n.parent.children,r=n.i?e[n.i-1]:null;if(t.length){Di(n);var u=(t[0].z+t[t.length-1].z)/2;r?(n.z=r.z+a(n._,r._),n.m=n.z-u):n.z=u}else r&&(n.z=r.z+a(n._,r._));n.parent.A=i(n,r,n.parent.A||e[0])}function r(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function i(n,t,e){if(t){for(var r,i=n,u=n,o=t,l=i.parent.children[0],c=i.m,f=u.m,s=o.m,h=l.m;o=Ti(o),i=qi(i),o&&i;)l=qi(l),u=Ti(u),u.a=n,r=o.z+s-i.z-c+a(o._,i._),r>0&&(Ri(Pi(o,n,e),n,r),c+=r,f+=r),s+=o.m,c+=i.m,h+=l.m,f+=u.m;o&&!Ti(u)&&(u.t=o,u.m+=s-f),i&&!qi(l)&&(l.t=i,l.m+=c-h,e=n)}return e}function u(n){n.x*=l[0],n.y=n.depth*l[1]}var o=ao.layout.hierarchy().sort(null).value(null),a=Li,l=[1,1],c=null;return n.separation=function(t){return arguments.length?(a=t,n):a},n.size=function(t){return arguments.length?(c=null==(l=t)?u:null,n):c?null:l},n.nodeSize=function(t){return arguments.length?(c=null==(l=t)?null:u,n):c?l:null},ii(n,o)},ao.layout.cluster=function(){function n(n,u){var o,a=t.call(this,n,u),l=a[0],c=0;oi(l,function(n){var t=n.children;t&&t.length?(n.x=ji(t),n.y=Ui(t)):(n.x=o?c+=e(n,o):0,n.y=0,o=n)});var f=Fi(l),s=Hi(l),h=f.x-e(f,s)/2,p=s.x+e(s,f)/2;return oi(l,i?function(n){n.x=(n.x-l.x)*r[0],n.y=(l.y-n.y)*r[1]}:function(n){n.x=(n.x-h)/(p-h)*r[0],n.y=(1-(l.y?n.y/l.y:1))*r[1]}),a}var t=ao.layout.hierarchy().sort(null).value(null),e=Li,r=[1,1],i=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(i=null==(r=t),n):i?null:r},n.nodeSize=function(t){return arguments.length?(i=null!=(r=t),n):i?r:null},ii(n,t)},ao.layout.treemap=function(){function n(n,t){for(var e,r,i=-1,u=n.length;++it?0:t),e.area=isNaN(r)||0>=r?0:r}function t(e){var u=e.children;if(u&&u.length){var o,a,l,c=s(e),f=[],h=u.slice(),g=1/0,v="slice"===p?c.dx:"dice"===p?c.dy:"slice-dice"===p?1&e.depth?c.dy:c.dx:Math.min(c.dx,c.dy);for(n(h,c.dx*c.dy/e.value),f.area=0;(l=h.length)>0;)f.push(o=h[l-1]),f.area+=o.area,"squarify"!==p||(a=r(f,v))<=g?(h.pop(),g=a):(f.area-=f.pop().area,i(f,v,c,!1),v=Math.min(c.dx,c.dy),f.length=f.area=0,g=1/0);f.length&&(i(f,v,c,!0),f.length=f.area=0),u.forEach(t)}}function e(t){var r=t.children;if(r&&r.length){var u,o=s(t),a=r.slice(),l=[];for(n(a,o.dx*o.dy/t.value),l.area=0;u=a.pop();)l.push(u),l.area+=u.area,null!=u.z&&(i(l,u.z?o.dx:o.dy,o,!a.length),l.length=l.area=0);r.forEach(e)}}function r(n,t){for(var e,r=n.area,i=0,u=1/0,o=-1,a=n.length;++oe&&(u=e),e>i&&(i=e));return r*=r,t*=t,r?Math.max(t*i*g/r,r/(t*u*g)):1/0}function i(n,t,e,r){var i,u=-1,o=n.length,a=e.x,c=e.y,f=t?l(n.area/t):0; +if(t==e.dx){for((r||f>e.dy)&&(f=e.dy);++ue.dx)&&(f=e.dx);++ue&&(t=1),1>e&&(n=0),function(){var e,r,i;do e=2*Math.random()-1,r=2*Math.random()-1,i=e*e+r*r;while(!i||i>1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var n=ao.random.normal.apply(ao,arguments);return function(){return Math.exp(n())}},bates:function(n){var t=ao.random.irwinHall(n);return function(){return t()/n}},irwinHall:function(n){return function(){for(var t=0,e=0;n>e;e++)t+=Math.random();return t}}},ao.scale={};var Sl={floor:m,ceil:m};ao.scale.linear=function(){return Wi([0,1],[0,1],Mr,!1)};var kl={s:1,g:1,p:1,r:1,e:1};ao.scale.log=function(){return ru(ao.scale.linear().domain([0,1]),10,!0,[1,10])};var Nl=ao.format(".0e"),El={floor:function(n){return-Math.ceil(-n)},ceil:function(n){return-Math.floor(-n)}};ao.scale.pow=function(){return iu(ao.scale.linear(),1,[0,1])},ao.scale.sqrt=function(){return ao.scale.pow().exponent(.5)},ao.scale.ordinal=function(){return ou([],{t:"range",a:[[]]})},ao.scale.category10=function(){return ao.scale.ordinal().range(Al)},ao.scale.category20=function(){return ao.scale.ordinal().range(Cl)},ao.scale.category20b=function(){return ao.scale.ordinal().range(zl)},ao.scale.category20c=function(){return ao.scale.ordinal().range(Ll)};var Al=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(xn),Cl=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(xn),zl=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(xn),Ll=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(xn);ao.scale.quantile=function(){return au([],[])},ao.scale.quantize=function(){return lu(0,1,[0,1])},ao.scale.threshold=function(){return cu([.5],[0,1])},ao.scale.identity=function(){return fu([0,1])},ao.svg={},ao.svg.arc=function(){function n(){var n=Math.max(0,+e.apply(this,arguments)),c=Math.max(0,+r.apply(this,arguments)),f=o.apply(this,arguments)-Io,s=a.apply(this,arguments)-Io,h=Math.abs(s-f),p=f>s?0:1;if(n>c&&(g=c,c=n,n=g),h>=Oo)return t(c,p)+(n?t(n,1-p):"")+"Z";var g,v,d,y,m,M,x,b,_,w,S,k,N=0,E=0,A=[];if((y=(+l.apply(this,arguments)||0)/2)&&(d=u===ql?Math.sqrt(n*n+c*c):+u.apply(this,arguments),p||(E*=-1),c&&(E=tn(d/c*Math.sin(y))),n&&(N=tn(d/n*Math.sin(y)))),c){m=c*Math.cos(f+E),M=c*Math.sin(f+E),x=c*Math.cos(s-E),b=c*Math.sin(s-E);var C=Math.abs(s-f-2*E)<=Fo?0:1;if(E&&yu(m,M,x,b)===p^C){var z=(f+s)/2;m=c*Math.cos(z),M=c*Math.sin(z),x=b=null}}else m=M=0;if(n){_=n*Math.cos(s-N),w=n*Math.sin(s-N),S=n*Math.cos(f+N),k=n*Math.sin(f+N);var L=Math.abs(f-s+2*N)<=Fo?0:1;if(N&&yu(_,w,S,k)===1-p^L){var q=(f+s)/2;_=n*Math.cos(q),w=n*Math.sin(q),S=k=null}}else _=w=0;if(h>Uo&&(g=Math.min(Math.abs(c-n)/2,+i.apply(this,arguments)))>.001){v=c>n^p?0:1;var T=g,R=g;if(Fo>h){var D=null==S?[_,w]:null==x?[m,M]:Re([m,M],[S,k],[x,b],[_,w]),P=m-D[0],U=M-D[1],j=x-D[0],F=b-D[1],H=1/Math.sin(Math.acos((P*j+U*F)/(Math.sqrt(P*P+U*U)*Math.sqrt(j*j+F*F)))/2),O=Math.sqrt(D[0]*D[0]+D[1]*D[1]);R=Math.min(g,(n-O)/(H-1)),T=Math.min(g,(c-O)/(H+1))}if(null!=x){var I=mu(null==S?[_,w]:[S,k],[m,M],c,T,p),Y=mu([x,b],[_,w],c,T,p);g===T?A.push("M",I[0],"A",T,",",T," 0 0,",v," ",I[1],"A",c,",",c," 0 ",1-p^yu(I[1][0],I[1][1],Y[1][0],Y[1][1]),",",p," ",Y[1],"A",T,",",T," 0 0,",v," ",Y[0]):A.push("M",I[0],"A",T,",",T," 0 1,",v," ",Y[0])}else A.push("M",m,",",M);if(null!=S){var Z=mu([m,M],[S,k],n,-R,p),V=mu([_,w],null==x?[m,M]:[x,b],n,-R,p);g===R?A.push("L",V[0],"A",R,",",R," 0 0,",v," ",V[1],"A",n,",",n," 0 ",p^yu(V[1][0],V[1][1],Z[1][0],Z[1][1]),",",1-p," ",Z[1],"A",R,",",R," 0 0,",v," ",Z[0]):A.push("L",V[0],"A",R,",",R," 0 0,",v," ",Z[0])}else A.push("L",_,",",w)}else A.push("M",m,",",M),null!=x&&A.push("A",c,",",c," 0 ",C,",",p," ",x,",",b),A.push("L",_,",",w),null!=S&&A.push("A",n,",",n," 0 ",L,",",1-p," ",S,",",k);return A.push("Z"),A.join("")}function t(n,t){return"M0,"+n+"A"+n+","+n+" 0 1,"+t+" 0,"+-n+"A"+n+","+n+" 0 1,"+t+" 0,"+n}var e=hu,r=pu,i=su,u=ql,o=gu,a=vu,l=du;return n.innerRadius=function(t){return arguments.length?(e=En(t),n):e},n.outerRadius=function(t){return arguments.length?(r=En(t),n):r},n.cornerRadius=function(t){return arguments.length?(i=En(t),n):i},n.padRadius=function(t){return arguments.length?(u=t==ql?ql:En(t),n):u},n.startAngle=function(t){return arguments.length?(o=En(t),n):o},n.endAngle=function(t){return arguments.length?(a=En(t),n):a},n.padAngle=function(t){return arguments.length?(l=En(t),n):l},n.centroid=function(){var n=(+e.apply(this,arguments)+ +r.apply(this,arguments))/2,t=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-Io;return[Math.cos(t)*n,Math.sin(t)*n]},n};var ql="auto";ao.svg.line=function(){return Mu(m)};var Tl=ao.map({linear:xu,"linear-closed":bu,step:_u,"step-before":wu,"step-after":Su,basis:zu,"basis-open":Lu,"basis-closed":qu,bundle:Tu,cardinal:Eu,"cardinal-open":ku,"cardinal-closed":Nu,monotone:Fu});Tl.forEach(function(n,t){t.key=n,t.closed=/-closed$/.test(n)});var Rl=[0,2/3,1/3,0],Dl=[0,1/3,2/3,0],Pl=[0,1/6,2/3,1/6];ao.svg.line.radial=function(){var n=Mu(Hu);return n.radius=n.x,delete n.x,n.angle=n.y,delete n.y,n},wu.reverse=Su,Su.reverse=wu,ao.svg.area=function(){return Ou(m)},ao.svg.area.radial=function(){var n=Ou(Hu);return n.radius=n.x,delete n.x,n.innerRadius=n.x0,delete n.x0,n.outerRadius=n.x1,delete n.x1,n.angle=n.y,delete n.y,n.startAngle=n.y0,delete n.y0,n.endAngle=n.y1,delete n.y1,n},ao.svg.chord=function(){function n(n,a){var l=t(this,u,n,a),c=t(this,o,n,a);return"M"+l.p0+r(l.r,l.p1,l.a1-l.a0)+(e(l,c)?i(l.r,l.p1,l.r,l.p0):i(l.r,l.p1,c.r,c.p0)+r(c.r,c.p1,c.a1-c.a0)+i(c.r,c.p1,l.r,l.p0))+"Z"}function t(n,t,e,r){var i=t.call(n,e,r),u=a.call(n,i,r),o=l.call(n,i,r)-Io,f=c.call(n,i,r)-Io;return{r:u,a0:o,a1:f,p0:[u*Math.cos(o),u*Math.sin(o)],p1:[u*Math.cos(f),u*Math.sin(f)]}}function e(n,t){return n.a0==t.a0&&n.a1==t.a1}function r(n,t,e){return"A"+n+","+n+" 0 "+ +(e>Fo)+",1 "+t}function i(n,t,e,r){return"Q 0,0 "+r}var u=Me,o=xe,a=Iu,l=gu,c=vu;return n.radius=function(t){return arguments.length?(a=En(t),n):a},n.source=function(t){return arguments.length?(u=En(t),n):u},n.target=function(t){return arguments.length?(o=En(t),n):o},n.startAngle=function(t){return arguments.length?(l=En(t),n):l},n.endAngle=function(t){return arguments.length?(c=En(t),n):c},n},ao.svg.diagonal=function(){function n(n,i){var u=t.call(this,n,i),o=e.call(this,n,i),a=(u.y+o.y)/2,l=[u,{x:u.x,y:a},{x:o.x,y:a},o];return l=l.map(r),"M"+l[0]+"C"+l[1]+" "+l[2]+" "+l[3]}var t=Me,e=xe,r=Yu;return n.source=function(e){return arguments.length?(t=En(e),n):t},n.target=function(t){return arguments.length?(e=En(t),n):e},n.projection=function(t){return arguments.length?(r=t,n):r},n},ao.svg.diagonal.radial=function(){var n=ao.svg.diagonal(),t=Yu,e=n.projection;return n.projection=function(n){return arguments.length?e(Zu(t=n)):t},n},ao.svg.symbol=function(){function n(n,r){return(Ul.get(t.call(this,n,r))||$u)(e.call(this,n,r))}var t=Xu,e=Vu;return n.type=function(e){return arguments.length?(t=En(e),n):t},n.size=function(t){return arguments.length?(e=En(t),n):e},n};var Ul=ao.map({circle:$u,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*Fl)),e=t*Fl;return"M0,"+-t+"L"+e+",0 0,"+t+" "+-e+",0Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}});ao.svg.symbolTypes=Ul.keys();var jl=Math.sqrt(3),Fl=Math.tan(30*Yo);Co.transition=function(n){for(var t,e,r=Hl||++Zl,i=Ku(n),u=[],o=Ol||{time:Date.now(),ease:Nr,delay:0,duration:250},a=-1,l=this.length;++au;u++){i.push(t=[]);for(var e=this[u],a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return Wu(i,this.namespace,this.id)},Yl.tween=function(n,t){var e=this.id,r=this.namespace;return arguments.length<2?this.node()[r][e].tween.get(n):Y(this,null==t?function(t){t[r][e].tween.remove(n)}:function(i){i[r][e].tween.set(n,t)})},Yl.attr=function(n,t){function e(){this.removeAttribute(a)}function r(){this.removeAttributeNS(a.space,a.local)}function i(n){return null==n?e:(n+="",function(){var t,e=this.getAttribute(a);return e!==n&&(t=o(e,n),function(n){this.setAttribute(a,t(n))})})}function u(n){return null==n?r:(n+="",function(){var t,e=this.getAttributeNS(a.space,a.local);return e!==n&&(t=o(e,n),function(n){this.setAttributeNS(a.space,a.local,t(n))})})}if(arguments.length<2){for(t in n)this.attr(t,n[t]);return this}var o="transform"==n?$r:Mr,a=ao.ns.qualify(n);return Ju(this,"attr."+n,t,a.local?u:i)},Yl.attrTween=function(n,t){function e(n,e){var r=t.call(this,n,e,this.getAttribute(i));return r&&function(n){this.setAttribute(i,r(n))}}function r(n,e){var r=t.call(this,n,e,this.getAttributeNS(i.space,i.local));return r&&function(n){this.setAttributeNS(i.space,i.local,r(n))}}var i=ao.ns.qualify(n);return this.tween("attr."+n,i.local?r:e)},Yl.style=function(n,e,r){function i(){this.style.removeProperty(n)}function u(e){return null==e?i:(e+="",function(){var i,u=t(this).getComputedStyle(this,null).getPropertyValue(n);return u!==e&&(i=Mr(u,e),function(t){this.style.setProperty(n,i(t),r)})})}var o=arguments.length;if(3>o){if("string"!=typeof n){2>o&&(e="");for(r in n)this.style(r,n[r],e);return this}r=""}return Ju(this,"style."+n,e,u)},Yl.styleTween=function(n,e,r){function i(i,u){var o=e.call(this,i,u,t(this).getComputedStyle(this,null).getPropertyValue(n));return o&&function(t){this.style.setProperty(n,o(t),r)}}return arguments.length<3&&(r=""),this.tween("style."+n,i)},Yl.text=function(n){return Ju(this,"text",n,Gu)},Yl.remove=function(){var n=this.namespace;return this.each("end.transition",function(){var t;this[n].count<2&&(t=this.parentNode)&&t.removeChild(this)})},Yl.ease=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].ease:("function"!=typeof n&&(n=ao.ease.apply(ao,arguments)),Y(this,function(r){r[e][t].ease=n}))},Yl.delay=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].delay:Y(this,"function"==typeof n?function(r,i,u){r[e][t].delay=+n.call(r,r.__data__,i,u)}:(n=+n,function(r){r[e][t].delay=n}))},Yl.duration=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].duration:Y(this,"function"==typeof n?function(r,i,u){r[e][t].duration=Math.max(1,n.call(r,r.__data__,i,u))}:(n=Math.max(1,n),function(r){r[e][t].duration=n}))},Yl.each=function(n,t){var e=this.id,r=this.namespace;if(arguments.length<2){var i=Ol,u=Hl;try{Hl=e,Y(this,function(t,i,u){Ol=t[r][e],n.call(t,t.__data__,i,u)})}finally{Ol=i,Hl=u}}else Y(this,function(i){var u=i[r][e];(u.event||(u.event=ao.dispatch("start","end","interrupt"))).on(n,t)});return this},Yl.transition=function(){for(var n,t,e,r,i=this.id,u=++Zl,o=this.namespace,a=[],l=0,c=this.length;c>l;l++){a.push(n=[]);for(var t=this[l],f=0,s=t.length;s>f;f++)(e=t[f])&&(r=e[o][i],Qu(e,f,o,u,{time:r.time,ease:r.ease,delay:r.delay+r.duration,duration:r.duration})),n.push(e)}return Wu(a,o,u)},ao.svg.axis=function(){function n(n){n.each(function(){var n,c=ao.select(this),f=this.__chart__||e,s=this.__chart__=e.copy(),h=null==l?s.ticks?s.ticks.apply(s,a):s.domain():l,p=null==t?s.tickFormat?s.tickFormat.apply(s,a):m:t,g=c.selectAll(".tick").data(h,s),v=g.enter().insert("g",".domain").attr("class","tick").style("opacity",Uo),d=ao.transition(g.exit()).style("opacity",Uo).remove(),y=ao.transition(g.order()).style("opacity",1),M=Math.max(i,0)+o,x=Zi(s),b=c.selectAll(".domain").data([0]),_=(b.enter().append("path").attr("class","domain"),ao.transition(b));v.append("line"),v.append("text");var w,S,k,N,E=v.select("line"),A=y.select("line"),C=g.select("text").text(p),z=v.select("text"),L=y.select("text"),q="top"===r||"left"===r?-1:1;if("bottom"===r||"top"===r?(n=no,w="x",k="y",S="x2",N="y2",C.attr("dy",0>q?"0em":".71em").style("text-anchor","middle"),_.attr("d","M"+x[0]+","+q*u+"V0H"+x[1]+"V"+q*u)):(n=to,w="y",k="x",S="y2",N="x2",C.attr("dy",".32em").style("text-anchor",0>q?"end":"start"),_.attr("d","M"+q*u+","+x[0]+"H0V"+x[1]+"H"+q*u)),E.attr(N,q*i),z.attr(k,q*M),A.attr(S,0).attr(N,q*i),L.attr(w,0).attr(k,q*M),s.rangeBand){var T=s,R=T.rangeBand()/2;f=s=function(n){return T(n)+R}}else f.rangeBand?f=s:d.call(n,s,f);v.call(n,f,s),y.call(n,s,s)})}var t,e=ao.scale.linear(),r=Vl,i=6,u=6,o=3,a=[10],l=null;return n.scale=function(t){return arguments.length?(e=t,n):e},n.orient=function(t){return arguments.length?(r=t in Xl?t+"":Vl,n):r},n.ticks=function(){return arguments.length?(a=co(arguments),n):a},n.tickValues=function(t){return arguments.length?(l=t,n):l},n.tickFormat=function(e){return arguments.length?(t=e,n):t},n.tickSize=function(t){var e=arguments.length;return e?(i=+t,u=+arguments[e-1],n):i},n.innerTickSize=function(t){return arguments.length?(i=+t,n):i},n.outerTickSize=function(t){return arguments.length?(u=+t,n):u},n.tickPadding=function(t){return arguments.length?(o=+t,n):o},n.tickSubdivide=function(){return arguments.length&&n},n};var Vl="bottom",Xl={top:1,right:1,bottom:1,left:1};ao.svg.brush=function(){function n(t){t.each(function(){var t=ao.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",u).on("touchstart.brush",u),o=t.selectAll(".background").data([0]);o.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),t.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var a=t.selectAll(".resize").data(v,m);a.exit().remove(),a.enter().append("g").attr("class",function(n){return"resize "+n}).style("cursor",function(n){return $l[n]}).append("rect").attr("x",function(n){return/[ew]$/.test(n)?-3:null}).attr("y",function(n){return/^[ns]/.test(n)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),a.style("display",n.empty()?"none":null);var l,s=ao.transition(t),h=ao.transition(o);c&&(l=Zi(c),h.attr("x",l[0]).attr("width",l[1]-l[0]),r(s)),f&&(l=Zi(f),h.attr("y",l[0]).attr("height",l[1]-l[0]),i(s)),e(s)})}function e(n){n.selectAll(".resize").attr("transform",function(n){return"translate("+s[+/e$/.test(n)]+","+h[+/^s/.test(n)]+")"})}function r(n){n.select(".extent").attr("x",s[0]),n.selectAll(".extent,.n>rect,.s>rect").attr("width",s[1]-s[0])}function i(n){n.select(".extent").attr("y",h[0]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",h[1]-h[0])}function u(){function u(){32==ao.event.keyCode&&(C||(M=null,L[0]-=s[1],L[1]-=h[1],C=2),S())}function v(){32==ao.event.keyCode&&2==C&&(L[0]+=s[1],L[1]+=h[1],C=0,S())}function d(){var n=ao.mouse(b),t=!1;x&&(n[0]+=x[0],n[1]+=x[1]),C||(ao.event.altKey?(M||(M=[(s[0]+s[1])/2,(h[0]+h[1])/2]),L[0]=s[+(n[0]f?(i=r,r=f):i=f),v[0]!=r||v[1]!=i?(e?a=null:o=null,v[0]=r,v[1]=i,!0):void 0}function m(){d(),k.style("pointer-events","all").selectAll(".resize").style("display",n.empty()?"none":null),ao.select("body").style("cursor",null),q.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),z(),w({type:"brushend"})}var M,x,b=this,_=ao.select(ao.event.target),w=l.of(b,arguments),k=ao.select(b),N=_.datum(),E=!/^(n|s)$/.test(N)&&c,A=!/^(e|w)$/.test(N)&&f,C=_.classed("extent"),z=W(b),L=ao.mouse(b),q=ao.select(t(b)).on("keydown.brush",u).on("keyup.brush",v);if(ao.event.changedTouches?q.on("touchmove.brush",d).on("touchend.brush",m):q.on("mousemove.brush",d).on("mouseup.brush",m),k.interrupt().selectAll("*").interrupt(),C)L[0]=s[0]-L[0],L[1]=h[0]-L[1];else if(N){var T=+/w$/.test(N),R=+/^n/.test(N);x=[s[1-T]-L[0],h[1-R]-L[1]],L[0]=s[T],L[1]=h[R]}else ao.event.altKey&&(M=L.slice());k.style("pointer-events","none").selectAll(".resize").style("display",null),ao.select("body").style("cursor",_.style("cursor")),w({type:"brushstart"}),d()}var o,a,l=N(n,"brushstart","brush","brushend"),c=null,f=null,s=[0,0],h=[0,0],p=!0,g=!0,v=Bl[0];return n.event=function(n){n.each(function(){var n=l.of(this,arguments),t={x:s,y:h,i:o,j:a},e=this.__chart__||t;this.__chart__=t,Hl?ao.select(this).transition().each("start.brush",function(){o=e.i,a=e.j,s=e.x,h=e.y,n({type:"brushstart"})}).tween("brush:brush",function(){var e=xr(s,t.x),r=xr(h,t.y);return o=a=null,function(i){s=t.x=e(i),h=t.y=r(i),n({type:"brush",mode:"resize"})}}).each("end.brush",function(){o=t.i,a=t.j,n({type:"brush",mode:"resize"}),n({type:"brushend"})}):(n({type:"brushstart"}),n({type:"brush",mode:"resize"}),n({type:"brushend"}))})},n.x=function(t){return arguments.length?(c=t,v=Bl[!c<<1|!f],n):c},n.y=function(t){return arguments.length?(f=t,v=Bl[!c<<1|!f],n):f},n.clamp=function(t){return arguments.length?(c&&f?(p=!!t[0],g=!!t[1]):c?p=!!t:f&&(g=!!t),n):c&&f?[p,g]:c?p:f?g:null},n.extent=function(t){var e,r,i,u,l;return arguments.length?(c&&(e=t[0],r=t[1],f&&(e=e[0],r=r[0]),o=[e,r],c.invert&&(e=c(e),r=c(r)),e>r&&(l=e,e=r,r=l),e==s[0]&&r==s[1]||(s=[e,r])),f&&(i=t[0],u=t[1],c&&(i=i[1],u=u[1]),a=[i,u],f.invert&&(i=f(i),u=f(u)),i>u&&(l=i,i=u,u=l),i==h[0]&&u==h[1]||(h=[i,u])),n):(c&&(o?(e=o[0],r=o[1]):(e=s[0],r=s[1],c.invert&&(e=c.invert(e),r=c.invert(r)),e>r&&(l=e,e=r,r=l))),f&&(a?(i=a[0],u=a[1]):(i=h[0],u=h[1],f.invert&&(i=f.invert(i),u=f.invert(u)),i>u&&(l=i,i=u,u=l))),c&&f?[[e,i],[r,u]]:c?[e,r]:f&&[i,u])},n.clear=function(){return n.empty()||(s=[0,0],h=[0,0],o=a=null),n},n.empty=function(){return!!c&&s[0]==s[1]||!!f&&h[0]==h[1]},ao.rebind(n,l,"on")};var $l={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Bl=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Wl=ga.format=xa.timeFormat,Jl=Wl.utc,Gl=Jl("%Y-%m-%dT%H:%M:%S.%LZ");Wl.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?eo:Gl,eo.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},eo.toString=Gl.toString,ga.second=On(function(n){return new va(1e3*Math.floor(n/1e3))},function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))},function(n){return n.getSeconds()}),ga.seconds=ga.second.range,ga.seconds.utc=ga.second.utc.range,ga.minute=On(function(n){return new va(6e4*Math.floor(n/6e4))},function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))},function(n){return n.getMinutes()}),ga.minutes=ga.minute.range,ga.minutes.utc=ga.minute.utc.range,ga.hour=On(function(n){var t=n.getTimezoneOffset()/60;return new va(36e5*(Math.floor(n/36e5-t)+t))},function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))},function(n){return n.getHours()}),ga.hours=ga.hour.range,ga.hours.utc=ga.hour.utc.range,ga.month=On(function(n){return n=ga.day(n),n.setDate(1),n},function(n,t){n.setMonth(n.getMonth()+t)},function(n){return n.getMonth()}),ga.months=ga.month.range,ga.months.utc=ga.month.utc.range;var Kl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Ql=[[ga.second,1],[ga.second,5],[ga.second,15],[ga.second,30],[ga.minute,1],[ga.minute,5],[ga.minute,15],[ga.minute,30],[ga.hour,1],[ga.hour,3],[ga.hour,6],[ga.hour,12],[ga.day,1],[ga.day,2],[ga.week,1],[ga.month,1],[ga.month,3],[ga.year,1]],nc=Wl.multi([[".%L",function(n){return n.getMilliseconds()}],[":%S",function(n){return n.getSeconds()}],["%I:%M",function(n){return n.getMinutes()}],["%I %p",function(n){return n.getHours()}],["%a %d",function(n){return n.getDay()&&1!=n.getDate()}],["%b %d",function(n){return 1!=n.getDate()}],["%B",function(n){return n.getMonth()}],["%Y",zt]]),tc={range:function(n,t,e){return ao.range(Math.ceil(n/e)*e,+t,e).map(io)},floor:m,ceil:m};Ql.year=ga.year,ga.scale=function(){return ro(ao.scale.linear(),Ql,nc)};var ec=Ql.map(function(n){return[n[0].utc,n[1]]}),rc=Jl.multi([[".%L",function(n){return n.getUTCMilliseconds()}],[":%S",function(n){return n.getUTCSeconds()}],["%I:%M",function(n){return n.getUTCMinutes()}],["%I %p",function(n){return n.getUTCHours()}],["%a %d",function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],["%b %d",function(n){return 1!=n.getUTCDate()}],["%B",function(n){return n.getUTCMonth()}],["%Y",zt]]);ec.year=ga.year.utc,ga.scale.utc=function(){return ro(ao.scale.linear(),ec,rc)},ao.text=An(function(n){return n.responseText}),ao.json=function(n,t){return Cn(n,"application/json",uo,t)},ao.html=function(n,t){return Cn(n,"text/html",oo,t)},ao.xml=An(function(n){return n.responseXML}),"function"==typeof define&&define.amd?(this.d3=ao,define(ao)):"object"==typeof module&&module.exports?module.exports=ao:this.d3=ao}(); \ No newline at end of file diff --git a/dist/vocabulary/implementation/0.1.1/webvowl/js/webvowl.app.js b/dist/vocabulary/implementation/0.1.1/webvowl/js/webvowl.app.js new file mode 100644 index 0000000..f3eba7c --- /dev/null +++ b/dist/vocabulary/implementation/0.1.1/webvowl/js/webvowl.app.js @@ -0,0 +1,5 @@ +webvowl.app=function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}({0:function(e,t,n){n(319),n(321),e.exports=n(322)},6:function(e,t){e.exports=d3},91:function(e,t,n){function o(e){return null==e?void 0===e?s:l:d&&d in Object(e)?r(e):a(e)}var i=n(92),r=n(95),a=n(96),l="[object Null]",s="[object Undefined]",d=i?i.toStringTag:void 0;e.exports=o},92:function(e,t,n){var o=n(93),i=o.Symbol;e.exports=i},93:function(e,t,n){var o=n(94),i="object"==typeof self&&self&&self.Object===Object&&self,r=o||i||Function("return this")();e.exports=r},94:function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},95:function(e,t,n){function o(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var o=!0}catch(e){}var i=l.call(e);return o&&(t?e[s]=n:delete e[s]),i}var i=n(92),r=Object.prototype,a=r.hasOwnProperty,l=r.toString,s=i?i.toStringTag:void 0;e.exports=o},96:function(e,t){function n(e){return i.call(e)}var o=Object.prototype,i=o.toString;e.exports=n},103:function(e,t,n){function o(e){return"symbol"==typeof e||r(e)&&i(e)==a}var i=n(91),r=n(104),a="[object Symbol]";e.exports=o},104:function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},112:function(e,t){var n=Array.isArray;e.exports=n},154:function(e,t){function n(e,t){for(var n=-1,o=null==e?0:e.length,i=Array(o);++n0?(g.classed("hidden",!1),h.classed("hidden",!1),k.updateScrollButtonVisibility()):(g.classed("hidden",!0),h.classed("hidden",!0)),_.updateElementWidth()}function i(){var e=window.innerHeight-40,n=e,o=e-30,i=150;if(n<150)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").classed("hidden",!0),t.select("#zoomInButton").classed("hidden",!0),void t.select("#centerGraphButton").classed("hidden",!0);t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").classed("hidden",!1),t.select("#zoomInButton").classed("hidden",!1),t.select("#centerGraphButton").classed("hidden",!1);var r=o-20,a=r-20;if(n<280)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),void t.select("#centerGraphButton").style("top",a+"px");var l=o-i;r=l-20,a=r-20,t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),t.select("#centerGraphButton").style("top",a+"px"),t.select("#zoomSliderParagraph").style("top",l+"px")}function r(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function a(){var e,t,n=-1,o=/(?:\b(MS)?IE\s+|\bTrident\/7\.0;.*\s+rv:|\bEdge\/)(\d+)/.test(navigator.userAgent);if(o)return n=parseInt("12");var i=/Trident.*rv[ :]*11\./.test(navigator.userAgent);return i?n=parseInt("11"):("Microsoft Internet Explorer"===navigator.appName?(e=navigator.userAgent,t=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))):"Netscape"===navigator.appName&&(e=navigator.userAgent,t=new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))),n)}var l=1,s={},d=webvowl.graph(),c=d.graphOptions(),p=webvowl.util.languageTools(),u="#graph",f=n(323)(d),h=n(325)(d),g=n(326)(d),v=n(327)(d),m=n(328)(d),y=n(329)(d),b=n(333)(d),x=n(334)(d),w=n(335)(d),k=n(336)(d),C=n(337)(d),L=n(338)(d),M=n(339)(d),_=n(340)(d),E=n(341)(d),O=n(342)(d),S=n(343)(d),F=n(344)(d),I=webvowl.modules.colorExternalsSwitch(d),T=webvowl.modules.compactNotationSwitch(d),A=webvowl.modules.datatypeFilter(),P=webvowl.modules.disjointFilter(),B=webvowl.modules.focuser(d),D=webvowl.modules.emptyLiteralFilter(),R=webvowl.modules.nodeDegreeFilter(h),W=webvowl.modules.nodeScalingSwitch(d),N=webvowl.modules.objectPropertyFilter(),H=webvowl.modules.pickAndPin(),j=webvowl.modules.selectionDetailsDisplayer(L.updateSelectionInformation),z=webvowl.modules.statistics(),V=webvowl.modules.subclassFilter(),U=webvowl.modules.setOperatorFilter();return s.getOptions=function(){return webvowl.opts},s.getGraph=function(){return webvowl.gr},s.initialize=function(){window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)},window.cancelAnimationFrame=window.cancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)},c.graphContainerSelector(u),c.selectionModules().push(B),c.selectionModules().push(j),c.selectionModules().push(H),c.filterModules().push(D),c.filterModules().push(z),c.filterModules().push(R),c.filterModules().push(A),c.filterModules().push(N),c.filterModules().push(V),c.filterModules().push(P),c.filterModules().push(U),c.filterModules().push(W),c.filterModules().push(T),c.filterModules().push(I),t.select(window).on("resize",o),f.setup(),g.setup(),h.setup(A,N,V,P,U,R),v.setup(H,W,T,I),b.setup(),L.setup(),O.setup(),M.setup(),_.setup(),m.setup();var n=a();if(n>0&&n<=11)console.log("Agent version "+n),console.log("This agent is not supported"),t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!0),t.select("#optionsArea").classed("hidden",!0),t.select("#logo").classed("hidden",!0);else{t.select("#logo").classed("hidden",!1),12===n?(t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!1)):t.select("#browserCheck").classed("hidden",!0),x.setup([g,h,v,B,j,b]),w.setup(),k.setup(),C.setup(),c.literalFilter(D),c.nodeDegreeFilter(R),c.loadingModule(O),c.filterMenu(h),c.modeMenu(v),c.gravityMenu(g),c.pausedMenu(b),c.pickAndPinModule(H),c.resetMenu(x),c.searchMenu(w),c.ontologyMenu(y),c.navigationMenu(k),c.sidebar(L),c.leftSidebar(M),c.editSidebar(_),c.exportMenu(f),c.graphObject(d),c.zoomSlider(C),c.warningModule(S),c.directInputModule(F),c.datatypeFilter(A),c.objectPropertyFilter(N),c.subclassFilter(V),c.setOperatorFilter(U),c.disjointPropertyFilter(P),c.focuserModule(B),c.colorExternalsModule(I),c.compactNotationModule(T),y.setup(e),E.setup(),M.showSidebar(0),M.hideCollapseButton(!0),d.start();var i=t.select("#modeOfOperationString");i.style("font-size","0.6em"),i.style("font-style","italic"),o();var r,l=d.options().width(),s=d.options().height();r=Math.min(l,s)/1e3;var p=!0;p===!1&&d.setForceTickFunctionWithFPS(),d.setDefaultZoom(r),t.selectAll(".debugOption").classed("hidden",p);var G=t.select("body");if(t.select(document).on("keydown",function(e){8===t.event.keyCode&&t.event.target===G.node()&&t.event.preventDefault(),t.event.ctrlKey&&t.event.shiftKey&&68===t.event.keyCode&&(d.options().executeHiddenDebugFeatuers(),t.event.preventDefault())}),t.select("#maxLabelWidthSliderOption")){var q=!d.options().dynamicLabelWidth();t.select("#maxLabelWidthSlider").node().disabled=q,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",q),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",q)}t.select("#blockGraphInteractions").style("position","absolute").style("top","0").style("background-color","#bdbdbd").style("opacity","0.5").style("pointer-events","auto").style("width",d.options().width()+"px").style("height",d.options().height()+"px").on("click",function(){t.event.preventDefault(),t.event.stopPropagation()}).on("dblclick",function(){t.event.preventDefault(),t.event.stopPropagation()}),t.select("#direct-text-input").on("click",function(){F.setDirectInputMode()}),t.select("#blockGraphInteractions").node().draggable=!1,c.prefixModule(webvowl.util.prefixTools(d)),o(),L.updateOntologyInformation(void 0,z),O.parseUrlAndLoadOntology(),c.debugMenu(m),m.updateSettings(),t.select("#reloadSvgIcon").on("click",function(){return t.select("#reloadSvgIcon").node().disabled===!0?void d.options().ontologyMenu().clearCachedVersion():(t.select("#reloadCachedOntology").classed("hidden",!0),void d.options().ontologyMenu().reloadCachedOntology())}),webvowl.opts=c,webvowl.gr=d}},s}}).call(t,n(6))},323:function(e,t,n){(function(t){e.exports=function(e){function o(){var n=M.requestExport(),o=M.resultingTTL_Content();if(console.log("Exporter was successful: "+n),n){var i="NewOntology",r="data:text/json;charset=utf-8,"+encodeURIComponent(o);x.attr("href",r).attr("download",i+".ttl")}else console.log("ShowWarning!"),e.options().warningModule().showExporterWarning(),console.log("Stay on the page! "+window.location.href),x.attr("href",window.location.href),t.event.preventDefault()}function i(){t.select("#exportedUrl").node().focus(),t.select("#exportedUrl").node().select(),document.execCommand("copy"),e.options().navigationMenu().hideAllMenus(),t.event.preventDefault()}function r(e,t){var n=0,o="opts=";for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],a=t[i];r!==a&&(o+=i+"="+a+";",n++)}return o+="",0===n?"":o}function a(){e.options().navigationMenu().hideAllMenus();var n,o,i,r=t.select(e.options().graphContainerSelector()).select("svg");s(),u(),n=r.attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML,n="\n"+n,o=l(n),i="data:image/svg+xml;base64,"+btoa(o),m.attr("href",i).attr("download",y+".svg"),f(),h(),e.lazyRefresh()}function l(e){var t,n,o,i=[],r=e.length;for(t=0;t0){var J=z.node().getPointAtLength(O-18),Y=J.x-10*j,X=J.y+10*H;X*=-1;var K="black";Z.indexOf("A")>-1&&(Z="$\\forall$"),Z.indexOf("E")>-1&&(Z="$\\exists$"),i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily },text="+K+"] at ("+Y+"pt, "+X+"pt) (cardinalityText"+a+") {"+Z+"};\n "}if(S.property().inverse()){z=S.pathObj(),O=Math.floor(z.node().getTotalLength());var Q=z.node().getPointAtLength(4),ee=z.node().getPointAtLength(0),te=z.node().getPointAtLength(6);D=Q.x,R=Q.y,W=ee.x,N=ee.y,H=W-D,j=N-R,_=Math.sqrt(H*H+j*j),H/=_,j/=_,E=-1*Math.atan2(j,H)*(180/Math.PI),E-=90,h=te.x,g=te.y,1!==S.layers().length||S.loops()?(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_marker"+a+") {};\n "):(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_single_marker"+a+") {};\n ")}}}for(l.each(function(e){u=e.x,f=-e.y,r=e.labelForCurrentLanguage(),void 0===r&&(r="");var t="owlClass";"owl:Thing"!==e.type()&&"owl:Nothing"!==e.type()||(t="owlThing"),"owl:equivalentClass"===e.type()&&(t="owlEquivalentClass");var n="";if(e.textBlock){var o=e.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===o&&(n=", text=black"),"rgb(255, 255, 255)"===o&&(n=", text=white");var l=e.textBlock()._textBlock().node().children;if(l[0]){r=l[0].innerHTML,e.individuals()&&e.individuals().length===parseInt(l[0].innerHTML)&&(r="{\\color{gray} "+l[0].innerHTML+" }");for(var s=1;s-1&&(i+="\\definecolor{Node"+a+"_COLOR}{HTML}{CCCCCC} \n ",d=", fill=Node"+a+"_COLOR ");var g=u-7,v=u+7,m=f+20;"owl:unionOf"===e.type()&&"owl:disjointUnionOf"===e.type()||(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:unionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[text=black] at ("+u+"pt, "+f+"pt) (unionText13) {$\\mathbf{\\cup}$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:disjointUnionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (disjointUnoinText"+a+") {1};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:complementOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+u+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{18pt}{18}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (unionText13) {$\\neg$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:intersectionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\filldraw[even odd rule,fill=owlClassColor,line width=1pt] ("+g+"pt, "+f+"pt) circle (12.5pt) ("+v+"pt, "+f+"pt) circle (12.5pt);\n ",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (intersectionText"+a+") {$\\cap$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),a++}),a=0;a-1?"\\\\ {\\small "+le[se].innerHTML+" }":"\\\\ "+le[se].innerHTML}}}if("setOperatorProperty"!==ne.type()){var ce="owlObjectProperty";"owl:DatatypeProperty"===ne.type()&&(ce="owlDatatypeProperty"),"rdfs:subClassOf"===ne.type()&&(ce="rdfsSubClassOf"),"rdf:Property"===ne.type()&&(ce="rdfProperty");var pe="";if(ne.backgroundColor()){var ue=ne.backgroundColor();ue.toUpperCase(),ue=ue.slice(1,ue.length),i+="\\definecolor{property"+a+"_COLOR}{HTML}{"+ue+"} \n ",pe=", fill=property"+a+"_COLOR "}ne.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{property"+a+"_COLOR}{HTML}{CCCCCC} \n ",pe=", fill=property"+a+"_COLOR ");var fe="",he=ne.textWidth();if(fe=",minimum width="+he+"pt","owl:disjointWith"!==ne.type())if(ne.inverse()){var ge=ne.inverse(),ve=ge.labelForCurrentLanguage();void 0===ve&&(ve="");var me="";if(ge.textBlock&&ge.textBlock()){var ye=ge.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===ye&&(me=", text=black"),"rgb(255, 255, 255)"===ye&&(me=", text=white");var be=ge.textBlock()._textBlock().node().children;if(be[0]){ve=be[0].innerHTML;for(var xe=1;xe-1?"\\\\ {\\small "+be[xe].innerHTML+" }":"\\\\ "+be[xe].innerHTML; +}}}var ke="owlObjectProperty",Ce="";if(ge.backgroundColor()){var Le=ge.backgroundColor();Le.toUpperCase(),Le=Le.slice(1,Le.length),i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{"+Le+"} \n ",Ce=", fill=inv_property"+a+"_COLOR "}ge.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{CCCCCC} \n ",Ce=", fill=inv_property"+a+"_COLOR ");var Me="",_e=ge.textWidth(),Ee=ie-14,Oe=ie+14;Me=",minimum width="+_e+"pt",i+="% Createing Inverse Property \n",i+="\\node["+ke+" "+Me+" "+Ce+" "+me+"] at ("+oe+"pt, "+Ee+"pt) (property"+a+") {"+ve.replaceAll("_","\\_ ")+"};\n",i+="% "+ke+" vs "+ce+"\n",i+="% "+Me+" vs "+fe+"\n",i+="% "+Ce+" vs "+pe+"\n",i+="% "+me+" vs "+re+"\n",i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+Oe+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"}else i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n";else{var Se=oe-12,Fe=oe+12,Ie=ie-20;i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (Node"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Se+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Fe+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+re+"] at ("+oe+"pt, "+Ie+"pt) (Node_text"+a+") {",e.options().compactNotation()===!1&&(i+="(disjoint)"),i+="};\n"}}}i+="\\end{tikzpicture}\n}\n \\end{center}\n";var Te="data:text/json;charset=utf-8,"+encodeURIComponent(i);w.attr("href",Te).attr("download",y+".tex")}var m,y,b,x,w,k,C,L={},M=n(324)(e);String.prototype.replaceAll=function(e,t){var n=this;return n.split(e).join(t)},L.setup=function(){m=t.select("#exportSvg").on("click",a),b=t.select("#exportJson").on("click",g),k=t.select("#copyBt").on("click",i),w=t.select("#exportTex").on("click",v),x=t.select("#exportTurtle").on("click",o);var n=t.select("#m_export");n.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries(),L.exportAsUrl()})},L.setFilename=function(e){y=e||"export"},L.setJsonText=function(e){C=e},L.exportAsUrl=function(){var n={};n.sidebar=e.options().sidebar().getSidebarVisibility();var o=e.options().filterMenu().getDefaultDegreeValue(),i=e.options().filterMenu().getDegreeSliderValue();parseInt(o)===parseInt(i)?n.doc=-1:n.doc=i,n.cd=e.options().classDistance(),n.dd=e.options().datatypeDistance(),e.editorMode()===!0?n.editorMode="true":n.editorMode="false",n.filter_datatypes=String(e.options().filterMenu().getCheckBoxValue("datatypeFilterCheckbox")),n.filter_sco=String(e.options().filterMenu().getCheckBoxValue("subclassFilterCheckbox")),n.filter_disjoint=String(e.options().filterMenu().getCheckBoxValue("disjointFilterCheckbox")),n.filter_setOperator=String(e.options().filterMenu().getCheckBoxValue("setoperatorFilterCheckbox")),n.filter_objectProperties=String(e.options().filterMenu().getCheckBoxValue("objectPropertyFilterCheckbox")),n.mode_dynamic=String(e.options().dynamicLabelWidth()),n.mode_scaling=String(e.options().modeMenu().getCheckBoxValue("nodescalingModuleCheckbox")),n.mode_compact=String(e.options().modeMenu().getCheckBoxValue("compactnotationModuleCheckbox")),n.mode_colorExt=String(e.options().modeMenu().getCheckBoxValue("colorexternalsModuleCheckbox")),n.mode_multiColor=String(e.options().modeMenu().colorModeState()),n.mode_pnp=String(e.options().modeMenu().getCheckBoxValue("pickandpinModuleCheckbox")),n.debugFeatures=String(!e.options().getHideDebugFeatures()),n.rect=0;var a,l=e.options().initialConfig(),s=r(l,n),d=String(location);if(0===s.length){var c=location.hash;d=d.split(c)[0];var p=c.lastIndexOf("#");if(p===-1)return a=t.select("#exportedUrl").node(),a.value=String(location),void(a.title=String(location));var u=c.slice(p,c.length);return a=t.select("#exportedUrl").node(),a.value=d+u,void(a.title=d+u)}var f,h=(d.match(/#/g)||[]).length;if(void 0!==h&&0!==h||(f=d+"#"+s),h>0){var g,v=d.split("#");for(v[1].indexOf("opts=")>=0?(v[1]=s,f=v[0]):(f=v[0]+"#",f+=s),g=1;g0&&(f+="#"+v[g])}a=t.select("#exportedUrl").node(),a.value=f,a.title=f},L.createJSON_exportObject=function(){var t,n,o,i=e.getUnfilteredData(),r=e.options().data()._comment,a=e.options().getGeneralMetaObject(),l=e.options().data().header;a.iri&&a.iri!==l.iri&&(l.iri=a.iri),a.title&&a.title!==l.title&&(l.title=a.title),a.version&&a.version!==l.version&&(l.version=a.version),a.author&&a.author!==l.author&&(l.author=a.author),a.description&&a.description!==l.description&&(l.description=a.description);var s={};s._comment=r,s.header=l,s.namespace=e.options().data().namespace,void 0===s.namespace&&(s.namespace=[]);var d=i.nodes,c=d.length,p=[],u=[];for(t=0;t0&&(h.attributes=d[t].attributes()),d[t].comment()&&(h.comment=d[t].comment()),d[t].annotations()&&(h.annotations=d[t].annotations()),d[t].description()&&(h.description=d[t].description()),d[t].individuals().length>0){var g=[],v=d[t].individuals();for(n=0;n0){y=[];var b=d[t].equivalents();for(n=0;n0&&(w.attributes=b[n].attributes()),b[n].comment()&&(w.comment=b[n].comment()),b[n].individuals().length>0&&(w.individuals=b[n].individuals()),b[n].annotations()&&(w.annotations=b[n].annotations()),b[n].description()&&(w.description=b[n].description()),b[n].individuals().length>0){var k=[],C=b[t].individuals();for(o=0;o0&&(h.equivalent=y),u.push(h)}var M=i.properties,_=M.length,E=[],O=[];for(t=0;t<_;t++){var S={},F={};if(S.id=M[t].id(),S.type=M[t].type(),E.push(S),F.id=M[t].id(),F.iri=M[t].iri(),F.baseIri=M[t].baseIri(),F.label=M[t].label(),M[t].attributes().length>0&&(F.attributes=M[t].attributes()),M[t].comment()&&(F.comment=M[t].comment()),M[t].annotations()&&(F.annotations=M[t].annotations()),M[t].maxCardinality()&&(F.maxCardinality=M[t].maxCardinality()),M[t].minCardinality()&&(F.minCardinality=M[t].minCardinality()),M[t].cardinality()&&(F.cardinality=M[t].cardinality()),M[t].description()&&(F.description=M[t].description()),F.domain=M[t].domain().id(),F.range=M[t].range().id(),M[t].subproperties()){var I=M[t].subproperties(),T=[];for(n=0;n":n[t].prefixRepresentation=i}for(t=0;t":o[t].prefixRepresentation=r}}function n(){if(0!==y.length){x+="### Property Definitions (Number of Property) "+y.length+" ###\r\n";for(var e=0;e=0}function r(t){var n=t.prefixRepresentation,o="rdf:type",r=t.type();"owl:equivalentClass"===t.type()&&(r="owl:Class"),"owl:disjointUnionOf"===t.type()&&(r="owl:Class"),"owl:unionOf"===t.type()&&(r="owl:Class");var a=[],s=[];if(t.union())for(var d=t.union(),c=0;c":b,g+=m+" owl:equivalentClass "+x+" ;\r\n"}if(t.commentForCurrentLanguage()&&(g+=m+' rdfs:comment "'+t.commentForCurrentLanguage()+'" ;\r\n'),t.annotations()){var k=t.annotations();for(var L in k)if(k.hasOwnProperty(L)){var M=k[L],_=M[0],E=_.identifier,O=_.value;"isDefinedBy"===E&&(g+=m+" rdfs:isDefinedBy <"+O+"> ;\r\n"),"term_status"===E&&(g+=m+' vs:term_status "'+O+'" ;\r\n')}}if(a.length>0){g+=m+" owl:disjointUnionOf (";for(var S=0;S":F,g+=m+m+I+" \n"}g+=") ;\r\n"}if(s.length>0){g+=m+" rdfs:subClassOf [ rdf:type owl:Class ; \r\n",g+=m+m+" owl:unionOf ( ";for(var T=0;T":A,g+=m+m+m+P+" \n"}g+=") ;\r\n"}var B,D=e.getUnfilteredData().properties,R=[];for(B=0;B ;\r\n"),"term_status"===x&&(a+=s+' vs:term_status "'+w+'" ;\r\n')}}if("owl:Thing"===c.type()&&"owl:Thing"===p.type()&&"object"!=typeof e.label()&&0===e.label().length&&(d=!0),d===!0){var k=a.substring(0,a.length-2);return a=k+" . \r\n"}var L;if("owl:Thing"===c.type()&&"owl:Thing"===p.type())L=v(s,e.label(),"rdfs:label",!0),a+=L;else{L=v(s,e.label(),"rdfs:label"),a+=L,"owl:Thing"!==c.type()&&(a+=s+" rdfs:domain "+c.prefixRepresentation+";\r\n"),"owl:Thing"!==p.type()&&(a+=s+" rdfs:range "+p.prefixRepresentation+";\r\n");var M=a,_=M.lastIndexOf(";");a=M.substring(0,_)+" . \r\n"}return a}function l(e){return void 0===e?"WHYEMPTYNAME?":new Array(e.length+1).join(" ")}function s(){x+="#################################################################\r\n",x+="### Generated with the experimental alpha version of the TTL exporter of WebVOWL (version 1.1.3) http://visualdataweb.de/webvowl/ ###\r\n",x+="#################################################################\r\n\r\n"}function d(){var t=e.options().getGeneralMetaObjectProperty("iri"),n=e.options().prefixList(),o=[];o.push("@prefix : \t\t<"+t+"> .");for(var i in n)n.hasOwnProperty(i)&&o.push("@prefix "+i+": \t\t<"+n[i]+"> .");o.push("@base \t\t\t<"+t+"> .\r\n");for(var r=0;r");x+="<"+t+"> rdf:type owl:Ontology ;\r\n"+p(n)+u(n)+h(n)+f(n);var o=x,i=o.lastIndexOf(";");x=o.substring(0,i)+" . \r\n"}function p(e){return g(e,"title","dc:title")}function u(e){return g(e,"description","dc:description")}function f(t){var n=e.options().getGeneralMetaObjectProperty("author");if(n){if("object"!=typeof n){if(0===n.length)return"";var o=t+' dc:creator "'+n+'";\r\n';return o}for(var i=t+' dc:creator "',r=0;r0&&(n=-1);var i=parseInt(s.attr("max")),r=parseInt(s.property("value")),a=r+n;r!==a&&a>=0&&a<=i&&(s.property("value",a),s.on("input")(),e.update()),t.event.preventDefault()}function r(e,t){e.property("value",t).on("input")()}function a(){p.node().addEventListener("animationend",function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!0)})}var l,s,d={},c=[],p=(t.select("#m_filter"),t.select("#c_filter a")),u=t.select("#nodeDegreeFilteringOption"),f=0;return d.setDefaultDegreeValue=function(e){f=e},d.getDefaultDegreeValue=function(){return f},d.getGraphObject=function(){return e},d.getCheckBoxContainer=function(){return c},d.getDegreeSliderValue=function(){return s.property("value")},d.setup=function(t,i,r,l,s,c){p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),p.on("mouseleave",function(){d.highlightForDegreeSlider(!1)}),n(t,"datatype","Datatype properties","#datatypeFilteringOption"),n(i,"objectProperty","Object properties","#objectPropertyFilteringOption"),n(r,"subclass","Solitary subclasses","#subclassFilteringOption"),n(l,"disjoint","Class disjointness","#disjointFilteringOption"),n(s,"setoperator","Set operators","#setOperatorFilteringOption"),o(c,u),a()},d.reset=function(){c.forEach(function(e){var t=e.checkbox,n=e.defaultState,o=t.property("checked");o!==n&&(t.property("checked",n),t.on("click")())}),r(s,0),s.on("change")()},d.killButtonAnimation=function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!1)},d.highlightForDegreeSlider=function(e){if(arguments.length||(e=!0),p.classed("highlighted",e),u.classed("highlighted",e),p.classed("buttonPulse")===!0&&e===!0){p.classed("buttonPulse",!1);var t=setTimeout(function(){p.classed("buttonPulse",e),clearTimeout(t)},100)}else p.classed("buttonPulse",e),p.classed("filterMenuButtonHighlight",e)},d.setCheckBoxValue=function(e,t){for(var n=0;n0?d.highlightForDegreeSlider(!0):d.highlightForDegreeSlider(!1),c.forEach(function(t){var n=t.checkbox;n.on("click")(e)}),s.on("input")(),s.on("change")()},d}}).call(t,n(6))},326:function(e,t,n){(function(t){e.exports=function(e){function n(n,i,a,l){var s,d,c=l();s=t.select(n).append("div").datum({distanceFunction:l}).classed("distanceSliderContainer",!0);var p=s.append("input").attr("id",i+"DistanceSlider").attr("type","range").attr("min",10).attr("max",600).attr("value",l()).attr("step",10);s.append("label").classed("description",!0).attr("for",i+"DistanceSlider").text(a),d=s.append("label").classed("value",!0).attr("for",i+"DistanceSlider").text(l()),r.push(p),p.on("focusout",function(){e.updateStyle()}),p.on("input",function(){var t=p.property("value");l(t),o(c),d.text(t),e.updateStyle()}),p.on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=10),n.deltaY>0&&(e=-10);var o=parseInt(p.property("value")),i=o+e;i!==o&&(p.property("value",i),l(i),p.on("input")()),t.event.preventDefault()})}function o(e){var t=Math.max(a.classDistance(),a.datatypeDistance()),n=t/e,o=l*n;a.charge(o)}var i={},r=[],a=e.graphOptions(),l=a.charge();return i.setup=function(){var o=t.select("#m_gravity");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("#classSliderOption","class","Class distance",a.classDistance),n("#datatypeSliderOption","datatype","Datatype distance",a.datatypeDistance)},i.reset=function(){r.forEach(function(e){e.property("value",function(e){return e.distanceFunction()}),e.on("input")()})},i}}).call(t,n(6))},327:function(e,t,n){(function(t){e.exports=function(e){function n(n,o,i,r,a){var l=t.select(i).append("div").classed("checkboxContainer",!0),s=l.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());s.on("click",function(n){var o=s.property("checked");r(o),t.select("#maxLabelWidthSlider").node().disabled=!o,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",!o),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",!o),a>0&&e.animateDynamicLabelWidth()}),l.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&l.append("label").attr("style","font-size:10px;padding-top:3px").text("(experimental)"),d=s}function o(n,o,i,r){var a=t.select(i).append("div").classed("checkboxContainer",!0),l=a.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());l.on("click",function(t){var n=l.property("checked");r(n),n===!0&&e.showEditorHintIfNeeded()}),a.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&a.append("label").attr("style","font-size:10px;padding-top:3px").text(" (experimental)")}function i(n,o,i,r,a){var l,s;return l=t.select(r).append("div").classed("checkboxContainer",!0).datum({module:n,defaultState:n.enabled()}),s=l.append("input").classed("moduleCheckbox",!0).attr("id",o+"ModuleCheckbox").attr("type","checkbox").property("checked",n.enabled()),f.push(s),s.on("click",function(t,n){var o=s.property("checked");t.module.enabled(o),a&&n!==!0&&(e.executeColorExternalsModule(),e.executeCompactNotationModule(),e.lazyRefresh())}),l.append("label").attr("for",o+"ModuleCheckbox").text(i),l}function r(t,n){var o=t.append("button").datum({active:!1}).classed("color-mode-switch",!0);return a(o,n),o.on("click",function(t){var i=o.datum();i.active=!i.active,a(o,n),n.enabled()&&t!==!0&&(e.executeColorExternalsModule(),e.lazyRefresh())}),o}function a(e,t){var n=e.datum().active,o=l(n);e.classed("active",n).text(o.text),t&&t.colorModeType(o.type)}function l(e){return e?p:c}var s,d,c={text:"Multicolor",type:"same"},p={text:"Multicolor",type:"gradient"},u={},f=[];return u.colorModeState=function(e){return arguments.length?(s.datum().active=e,u):s.datum().active},u.setDynamicLabelWidth=function(e){d.property("checked",e)},u.getCheckBoxContainer=function(){return f},u.colorModeSwitch=function(){return s},u.setup=function(a,l,d,c){var p=t.select("#m_modes");p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("labelWidth","Dynamic label width","#dynamicLabelWidth",e.options().dynamicLabelWidth,1),o("editorMode","Editing ","#editMode",e.editorMode),i(a,"pickandpin","Pick & pin","#pickAndPinOption",!1),i(l,"nodescaling","Node scaling","#nodeScalingOption",!0),i(d,"compactnotation","Compact notation","#compactNotationOption",!0);var u=i(c,"colorexternals","Color externals","#colorExternalsOption",!0);s=r(u,c)},u.reset=function(){f.forEach(function(e){var t=e.datum().defaultState,n=e.property("checked");n!==t&&(e.property("checked",t),e.on("click")(e.datum())),e.datum().module.reset()}),s.datum().active=!0,s.on("click")()},u.setCheckBoxValue=function(e,t){for(var n=0;n li > a").attr("href",location.hash||"#")}function i(e){var n=t.select("#bulletPoint_container"),o=n.append("div");o.node().innerHTML=e,E.scrollDownDetails()}function r(e){var n=t.select("#bulletPoint_container"),o=n.node().getElementsByTagName("LI"),i=o.length-1;if(i>=0){var r=o[i].innerHTML;o[i].innerHTML=r+e}E.scrollDownDetails()}function a(e){var n=t.select("#bulletPoint_container"),o=n.append("li");o.node().innerHTML=e,t.select("#currentLoadingStep").node().innerHTML=e,E.scrollDownDetails()}function l(){var e=t.select("#iri-converter-button"),n=t.select("#iri-converter-input");n.on("input",function(){x();var t=""===n.property("value");e.attr("disabled",t||void 0)}).on("click",function(){x()}),t.select("#iri-converter-form").on("submit",function(){for(var e=n.property("value"),o=e.replace(/%20/g," ");o.beginsWith(" ");)o=o.substr(1,o.length);for(;o.endsWith(" ");)o=o.substr(0,o.length-1);e=o;var i=e.toLowerCase();return i.endsWith(".json")?(location.hash="url="+e,n.property("value",""),n.on("input")()):(location.hash="iri="+e,n.property("value",""),n.on("input")()),t.event.preventDefault(),!1})}function s(){var n=t.select("#file-converter-input"),o=t.select("#file-converter-label"),i=t.select("#file-converter-button");n.on("change",function(){var t=n.property("files");t.length<=0?(o.text("Select ontology file"),i.property("disabled",!0)):(o.text(t[0].name),L=t[0].name,i.property("disabled",!1),i.node().click(),e.options().navigationMenu().hideAllMenus())}),i.on("click",function(){var e=n.property("files")[0];if(!e)return!1;var t="file="+e.name;location.hash==="#"+t?E.parseUrlAndLoadOntology():location.hash=t})}function d(e){var n=t.select("#o2vConverterContainer");if(!n.node()){var o=t.select("#bulletPoint_container"),i=o.append("div");n=i.append("ul"),n.attr("id","o2vConverterContainer"),n.style("margin-left","-25px")}for(var r=n.node().children,a=r.length,l=0;l0&&(s=n.append("li"),s.attr("type","disc"),s.node().innerHTML=p.replace(/\n/g,"
    "))}s&&(s.node().innerHTML+="
    "),E.scrollDownDetails()}function c(e,n){t.xhr("loadingStatus?sessionId="+_,"application/text",function(t,o){t&&(console.log("ontologyMenu getLoadingStatusOnceCallBacked throws error"),console.log("---------Error -----------"),console.log(t),console.log("---------Request -----------"),console.log(o)),d(o.responseText),e(n)})}function p(){t.xhr("loadingStatus?sessionId="+_,"application/text",function(e,t){e&&(console.log("ontologyMenu getLoadingStatusTimeLooped throws error"),console.log("---------Error -----------"),console.log(e),console.log("---------Request -----------"),console.log(t)),T===!1&&(d(t.responseText),u())})}function u(){clearTimeout(M),T===!1&&(M=setTimeout(function(){p()},1e3))}function f(e){t.xhr("loadingStatus","application/text",function(t,n){void 0!==n?d(n.responseText+"
    "+e):i(e)})}function h(e){var t=e[2];return t!==_?(console.log("The conversion process for file:"+e[1]+" has been canceled!"),void S.conversionFinished(t)):(E.loadFromOWL2VOWL(e[0],e[1]),void S.conversionFinished())}function g(e){var t=e[2];return t!==_?void console.log("The conversion process for file:"+e[1]+" has been canceled!"):void E.loadFromOWL2VOWL(e[0],e[1])}function v(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function m(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function y(e,t,n){T=!1,u();var o=new FormData;o.append("ontology",e),o.append("sessionId",n);var i=new XMLHttpRequest;i.open("POST","convert",!0),i.onload=function(){clearTimeout(M),T=!0,c(b,[i,t,n])},u(),i.send(o)}function b(t){var n=t[0],o=t[1],i=t[2];return i!==_?(console.log("The conversion process for file:"+o+" has been canceled!"),void S.conversionFinished(i)):void(200===n.status?(E.loadFromOWL2VOWL(n.responseText,o),S.conversionFinished()):(f('Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),e.handleOnLoadingError(),S.conversionFinished()))}function x(){function e(){n.style("display",void 0),clearTimeout(C),t.select(window).on("click",void 0).on("keydown",void 0),n.on("mouseover",void 0)}var n=t.select("#select .toolTipMenu");n.on("click",function(){t.event.stopPropagation()}).on("keydown",function(){t.event.stopPropagation()}),n.style("display","block"),clearTimeout(C),C=setTimeout(function(){e()},3e3),t.select(window).on("click",function(){e()}).on("keydown",function(){e()}),n.on("mouseover",function(){e()})}function w(){t.select("#layoutLoadingProgressBarContainer").classed("hidden",!1),F.classed("hidden",!1),I.classed("hidden",!1)}function k(){F.classed("hidden",!0)}var C,L,M,_,E,O,S={},F=t.select("#loading-info"),I=t.select("#loading-progress"),T=!1,A=!1,P={},B="";return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},S.getLoadingFunction=function(){return O},S.clearCachedVersion=function(){P[B]&&(P[B]=void 0)},S.reloadCachedOntology=function(){S.clearCachedVersion(),e.clearGraphData(),E.parseUrlAndLoadOntology(!1)},S.cachedOntology=function(n){if(B=n,P[n]){var o=String(location.hash);t.select("#reloadSvgIcon").node().disabled=!1,e.showReloadButtonAfterLayoutOptimization(!0),o.indexOf("#file")>-1?(t.select("#reloadSvgIcon").node().disabled=!0,t.select("#reloadCachedOntology").node().title="reloading original version not possible, please reload the file",t.select("#reloadSvgIcon").classed("disabledReloadElement",!0),t.select("#svgStringText").style("fill","gray"),t.select("#svgStringText").classed("noselect",!0)):(t.select("#reloadCachedOntology").node().title="generate new visualization and overwrite cached ontology",t.select("#reloadSvgIcon").classed("disabledReloadElement",!1),t.select("#svgStringText").style("fill","black"),t.select("#svgStringText").classed("noselect",!0))}else e.showReloadButtonAfterLayoutOptimization(!1);return P[n]},S.setCachedOntology=function(e,t){P[e]=t,B=e},S.getErrorStatus=function(){return A},S.setup=function(o){O=o,E=e.options().loadingModule();var i=t.select("#m_select");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),l(),s();var r=t.select("#error-description-button").datum({open:!1});r.on("click",function(e){var n=t.select("#error-description-container"),o=t.select(this);e.open=!e.open;var i=e.open;i?o.text("Hide error details"):o.text("Show error details"),n.classed("hidden",!i)}),n(),E.setOntologyMenu(S)},S.stopLoadingTimer=function(){T=!0,clearTimeout(M)},S.setIriText=function(e){t.select("#iri-converter-input").node().value=e,t.select("#iri-converter-button").attr("disabled",!1),t.select("#iri-converter-form").on("submit")()},S.clearDetailInformation=function(){for(var e=t.select("#bulletPoint_container"),n=e.node().children,o=n.length,i=0;i",""":'"',"'":"'"},r=o(i);e.exports=r},332:function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},333:function(e,t,n){(function(t){e.exports=function(e){function n(){o(),i()}function o(){r.classed("paused",function(e){return e.paused})}function i(){r.datum().paused?r.text("Resume"):r.text("Pause")}var r,a={};return a.setup=function(){var o=t.select("#pauseOption");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),r=t.select("#pause-button").datum({paused:!1}).on("click",function(t){e.paused(!t.paused),t.paused=!t.paused,n(),r.classed("highlighted",t.paused)}),n()},a.setPauseValue=function(t){r.datum().paused=t,e.paused(t),r.classed("highlighted",t),n()},a.reset=function(){a.setPauseValue(!1)},a}}).call(t,n(6))},334:function(e,t,n){(function(t){e.exports=function(e){function n(){e.resetSearchHighlight(),e.options().searchMenu().clearText(),r.classDistance(a.classDistance()),r.datatypeDistance(a.datatypeDistance()),r.charge(a.charge()),r.gravity(a.gravity()),r.linkStrength(a.linkStrength()),e.reset(),o.forEach(function(e){e.reset()}),e.updateStyle()}var o,i={},r=e.graphOptions(),a=webvowl.options();return i.setup=function(i){o=i,t.select("#reset-button").on("click",n);var r=t.select("#resetOption");r.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()})},i}}).call(t,n(6))},335:function(e,t,n){(function(t){e.exports=function(e){function n(){b=e.getUpdateDictionary(),M=!1,k=[],C=[];var t,n=[],o=[];for(t=0;t0)for(var r=b[t].equivalentsString(),a=r.split(", "),l=0;l=0&&s=a&&i[s].setAttribute("class","dbEntrySelected"),h>=0&&h=0&&i[s].setAttribute("class","dbEntry")))}function s(){for(var e=F.node().children,t=e.length,n=0;n-1&&(E.push(k[e]),O.push(e)))}}function c(e,n){n||(n="text");var o=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),i=document.getElementById("width-test").offsetWidth;return o.remove(),i}function p(e){for(var t,n,o,i=250,r="dbEntry",a=e;;){if(t=c(a,r),t<=i)break;if(n=t/i,o=Math.floor(a.length/n),a.length===o)break;a=a.substring(0,o)}return e.length>a.length?e.substring(0,a.length-6):e}function u(){var n,o,i,r=E,a=[],l=[],s=v.node().value.toLowerCase();for(n=E.length,n>L&&(n=L),o=0;o-1&&h<=d&&m<=c&&(u=f,d=h,c=m)}a.push(r[u]),l.push(O[u]),r[u]=""}n=E.length,n>L&&(n=L);var b=0;for(o=0;o1)for(var T=0;T1&&_===!1?k!==I&&(C+="... ("+I+"/"+k+")"):C+="...",x.title=a[o]):k>1&&_===!1&&(C+=k!==I?" ("+I+"/"+k+")":" ("+k+")");var P=t.select(x);1===k||_===!0?void 0===S[w[0]]&&(P.style("color","#979797"),x.title=a[o]+"\nElement is filtered out.",x.onclick=function(){},t.select(x).style("cursor","default"),b++):(I<1?(P.style("color","#979797"),x.onclick=function(){},x.title=a[o]+"\nAll elements are filtered out.",t.select(x).style("cursor","default"),b++):P.style("color",""),I1&&(x.title=a[o]+"\n"+I+"/"+k+" elements are visible.")),P.node().innerHTML=C,F.node().appendChild(x)}}function f(){s(),d(),u()}function h(){return S.classed("highlighted",!1),S.node().title="Nothing to locate",M&&n(),e.resetSearchHighlight(),0===k.length?void console.log("dictionary is empty"):(x=v.node().value,s(),0!==x.length&&(d(),u()),void w.showSearchEntries())}function g(t){return function(){var n=t,o=y[n],i=C[n];v.node().value=i,e.resetSearchHighlight(),e.highLightNodes(o),S.node().title="Locate search term",i!==x&&f(),w.hideSearchEntries()}}var v,m,y,b,x,w={},k=[],C=[],L=6,M=!0,_=!1,E=[],O=[],S=t.select("#locateSearchResult"),F=(t.select("#c_search"),t.select("#m_search"));return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},w.requestDictionaryUpdate=function(){M=!0;for(var e=F.node().children,t=e.length,n=0;n=h?void n():void(y=requestAnimationFrame(o))}function i(){return f-=5,x.scrollLeft=f,b.updateScrollButtonVisibility(),f<=0?void n():void(y=requestAnimationFrame(i))}function r(){M=[],_=[];var e,r=[],c=[],p=x.children,u=p.length;for(e=0;e-1?_[e]="m_"+r[e]:_[e]=void 0,t.select("#"+M[e]).on("mouseover",a),t.select("#"+M[e]).on("mouseout",l),t.select("#"+M[e]).on("click",s),t.select("#"+M[e]).on("touchstart",d);t.select("#menuElementContainer").on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=20),n.deltaY>0&&(e=-20),x.scrollLeft+=e,b.hideAllMenus(),b.updateScrollButtonVisibility()}),t.select("#scrollRightButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#scrollLeftButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#menuElementContainer").on("scroll",function(){b.updateScrollButtonVisibility(),b.hideAllMenus()})}function a(){b.hideAllMenus(),L||p(this.id)}function l(){c(this.id)}function s(){var e=_[M.indexOf(this.id)];if(e){var n=t.select("#"+e);n&&("block"===n.style("display")?n.style("display","none"):p(this.id))}}function d(){L=!0}function c(e){v=t.select("#"+e),"c_search"!==e&&(t.select("#"+e).select("path").style("stroke-width","0"),t.select("#"+e).select("path").style("fill","#fff"))}function p(n){v=t.select("#"+n).node();var o=_[M.indexOf(n)];o&&("c_search"!==n&&(t.select("#"+n).select("path").style("stroke-width","0"),t.select("#"+n).select("path").style("fill","#bdc3c7")),g=t.select("#"+o),g.style("display","block"),"m_export"===o&&e.options().exportMenu().exportAsUrl(),u())}function u(){if(v){var e=v.offsetLeft,t=x.scrollLeft,n=e-t,o=Math.max(0,n),i=x.getBoundingClientRect().width,r=g.node().getBoundingClientRect().width;o+r>i&&(o=i-r),o=Math.max(0,o),g.style("left",o+"px")}}var f,h,g,v,m,y,b={},x=t.select("#menuElementContainer").node(),w=t.select("#menuContainer").node(),k=t.select("#scrollLeftButton"),C=t.select("#scrollRightButton"),L=!1,M=[],_=[];return b.hideAllMenus=function(){t.selectAll(".toolTipMenu").style("display","none")},b.updateScrollButtonVisibility=function(){h=x.scrollWidth-x.clientWidth-2,0===x.scrollLeft?k.classed("hidden",!0):k.classed("hidden",!1),x.scrollLeft>h?C.classed("hidden",!0):C.classed("hidden",!1)},b.setup=function(){r(),t.select("#graph").on("mouseover",function(){b.hideAllMenus()}),t.select("#generalDetails").on("mouseover",function(){b.hideAllMenus()})},b}}).call(t,n(6))},337:function(e,t,n){(function(t){e.exports=function(e){function n(){cancelAnimationFrame(a),cancelAnimationFrame(l)}function o(){s*=.98,su&&(s=u),e.setSliderZoom(s),l=requestAnimationFrame(i)}var r,a,l,s,d,c={},p=e.options().minMagnification(),u=e.options().maxMagnification(),f=!0,h=e.options().width(),g=e.options().height();return r=Math.min(h,g)/1e3,c.setup=function(){d=t.select("#zoomSliderParagraph").append("input").datum({}).attr("id","zoomSliderElement").attr("type","range").attr("value",r).attr("min",p).attr("max",u).attr("step",(u-p)/40).attr("title","zoom factor").on("input",function(){c.zooming()}),t.select("#zoomOutButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom out"),t.select("#zoomInButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom in"),t.select("#centerGraphButton").on("click",function(){e.options().navigationMenu().hideAllMenus(),e.forceRelocationEvent()}).attr("title","center graph")},c.showSlider=function(e){return arguments.length?(t.select("#zoomSlider").classed("hidden",!e),void(f=e)):f},c.zooming=function(){e.options().navigationMenu().hideAllMenus();var t=d.property("value");d.attr("value",t),e.setSliderZoom(t)},c.updateZoomSliderValue=function(e){d&&(d.attr("value",e),d.property("value",e))},c}}).call(t,n(6))},338:function(e,t,n){(function(t){e.exports=function(e){function n(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");e(t.selectAll(".accordion-trigger:not(.accordion-trigger-active) + div")),o.on("click",function(){var o=t.select(this),i=t.selectAll(".accordion-trigger-active");o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(e(t.selectAll(".accordion-trigger-active + div")),i.classed("accordion-trigger-active",!1),n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0))})}function o(n){n=n||[],n.sort(function(e,t){return e===webvowl.util.constants().LANG_IRIBASED?-1:t===webvowl.util.constants().LANG_IRIBASED?1:e===webvowl.util.constants().LANG_UNDEFINED?-1:t===webvowl.util.constants().LANG_UNDEFINED?1:e.localeCompare(t)});var o=t.select("#language").on("change",function(){e.language(t.event.target.value),r(),C.updateSelectionInformation(k)});o.selectAll("option").remove(),o.selectAll("option").data(n).enter().append("option").attr("value",function(e){return e}).text(function(e){return e}),i(o,n,"en")||i(o,n,webvowl.util.constants().LANG_UNDEFINED)||i(o,n,webvowl.util.constants().LANG_IRIBASED)}function i(t,n,o){var i=n.indexOf(o);return i>=0&&(t.property("selectedIndex",i),e.language(o),!0)}function r(){var n=L.textInLanguage(w.title,e.language());t.select("#title").text(n||"No title available"),t.select("#about").attr("href",w.iri).attr("target","_blank").text(w.iri),t.select("#version").text(w.version||"--");var o=w.author;"string"==typeof o?t.select("#authors").text(o):o instanceof Array?t.select("#authors").text(o.join(", ")):t.select("#authors").text("--");var i=L.textInLanguage(w.description,e.language());t.select("#description").text(i||"No description available.")}function a(e,n){e=e||{},t.select("#classCount").text(e.classCount||n.classCount()),t.select("#objectPropertyCount").text(e.objectPropertyCount||n.objectPropertyCount()),t.select("#datatypePropertyCount").text(e.datatypePropertyCount||n.datatypePropertyCount()),t.select("#individualCount").text(e.totalIndividualCount||n.totalIndividualCount()),t.select("#nodeCount").text(n.nodeCount()),t.select("#edgeCount").text(n.edgeCount())}function l(e){var n=t.select("#ontology-metadata");n.selectAll("*").remove(),s(n,e),n.selectAll(".annotation").size()<=0&&n.append("p").text("No annotations available.")}function s(e,n){n=n||{};var o=[];for(var i in n)n.hasOwnProperty(i)&&o.push(n[i][0]);e.selectAll(".annotation").remove(),e.selectAll(".annotation").data(o).enter().append("p").classed("annotation",!0).classed("statisticDetails",!0).text(function(e){return e.identifier+":"}).append("span").each(function(e){h(t.select(this),e.value,"iri"===e.type?e.value:void 0)})}function d(){c(!1,!1,!0)}function c(e,n,o){t.select("#classSelectionInformation").classed("hidden",!e),t.select("#propertySelectionInformation").classed("hidden",!n),t.select("#noSelectionInformation").classed("hidden",!o)}function p(e){u(),f(t.select("#propname"),e.labelForCurrentLanguage(),e.iri()),t.select("#typeProp").text(e.type()),void 0!==e.inverse()?(t.select("#inverse").classed("hidden",!1),f(t.select("#inverse span"),e.inverse().labelForCurrentLanguage(),e.inverse().iri())):t.select("#inverse").classed("hidden",!0);var n=t.select("#propEquivUri");b(n,e.equivalents()),b(t.select("#subproperties"),e.subproperties()),b(t.select("#superproperties"),e.superproperties()),void 0!==e.minCardinality()?(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!1),t.select("#minCardinality span").text(e.minCardinality()),t.select("#maxCardinality").classed("hidden",!1),void 0!==e.maxCardinality()?t.select("#maxCardinality span").text(e.maxCardinality()):t.select("#maxCardinality span").text("*")):void 0!==e.cardinality()?(t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0),t.select("#infoCardinality").classed("hidden",!1),t.select("#infoCardinality span").text(e.cardinality())):(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0)),f(t.select("#domain"),e.domain().labelForCurrentLanguage(),e.domain().iri()),f(t.select("#range"),e.range().labelForCurrentLanguage(),e.range().iri()),g(e.attributes(),t.select("#propAttributes")),x(t.select("#propDescription"),e.descriptionForCurrentLanguage()),x(t.select("#propComment"),e.commentForCurrentLanguage()),s(t.select("#propertySelectionInformation"),e.annotations())}function u(){c(!1,!0,!1)}function f(e,n,o){var i=t.select(e.node().parentNode);n?(e.selectAll("*").remove(),h(e,n,o),i.classed("hidden",!1)):i.classed("hidden",!0)}function h(e,t,n){var o;o=n?e.append("a").attr("href",n).attr("title",n).attr("target","_blank"):e.append("span"),o.text(t)}function g(e,n){var o=t.select(n.node().parentNode);e&&e.length>0&&(v("object",e),v("datatype",e),v("rdf",e)),e&&e.length>0?(n.text(e.join(", ")),o.classed("hidden",!1)):o.classed("hidden",!0)}function v(e,t){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function m(e){y(),f(t.select("#name"),e.labelForCurrentLanguage(),e.iri());var n=t.select("#classEquivUri");b(n,e.equivalents()),t.select("#typeNode").text(e.type()),b(t.select("#individuals"),e.individuals());var o=t.select("#disjointNodes"),i=t.select(o.node().parentNode);void 0!==e.disjointWith()?(o.selectAll("*").remove(),e.disjointWith().forEach(function(e,t){t>0&&o.append("span").text(", "),h(o,e.labelForCurrentLanguage(),e.iri())}),i.classed("hidden",!1)):i.classed("hidden",!0),g(e.attributes(),t.select("#classAttributes")),x(t.select("#nodeDescription"),e.descriptionForCurrentLanguage()),x(t.select("#nodeComment"),e.commentForCurrentLanguage()),s(t.select("#classSelectionInformation"),e.annotations())}function y(){c(!0,!1,!1)}function b(e,n){var o=t.select(e.node().parentNode);n&&n.length?(e.selectAll("*").remove(),n.forEach(function(t,n){n>0&&e.append("span").text(", "),h(e,t.labelForCurrentLanguage(),t.iri())}),o.classed("hidden",!1)):o.classed("hidden",!0)}function x(e,n){var o=t.select(e.node().parentNode),i=!!n;n&&e.text(n),o.classed("hidden",!i)}var w,k,C={},L=webvowl.util.languageTools(),M=webvowl.util.elementTools(),_=1,E=t.select("#detailsArea"),O=t.select("#canvasArea"),S=t.select("#swipeBarContainer"),F=t.select("#sidebarExpandButton");return C.clearOntologyInformation=function(){t.select("#title").text("No title available"),t.select("#about").attr("href","#").attr("target","_blank").text("not given"),t.select("#version").text("--"),t.select("#authors").text("--"),t.select("#description").text("No description available.");var e=t.select("#ontology-metadata");e.selectAll("*").remove(),t.select("#classCount").text("0"),t.select("#objectPropertyCount").text("0"),t.select("#datatypePropertyCount").text("0"),t.select("#individualCount").text("0"),t.select("#nodeCount").text("0"),t.select("#edgeCount").text("0");var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");n&&t.select("#selection-details-trigger").node().click(),d()},C.updateOntologyInformation=function(e,t){e=e||{},w=e.header||{},r(),a(void 0,t),l(w.other),C.updateSelectionInformation(void 0),o(w.languages)},C.updateSelectionInformation=function(e){if(k=e,!t.event||!t.event.defaultPrevented){var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");if(e&&!n)t.select("#selection-details-trigger").node().click();else if(!e&&n)return void d();M.isProperty(e)?p(e):M.isNode(e)&&m(e)}},C.showSidebar=function(n,o){1===n&&(_=!0,F.node().innerHTML=">",E.classed("hidden",!0),o===!0?(E.classed("hidden",!_),O.style("width","78%"),O.style("-webkit-animation-name","none"),S.style("width","78%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","78%"),O.style("-webkit-animation-name","sbCollapseAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","78%"),S.style("-webkit-animation-name","sbCollapseAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_ExpandRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth-.22*window.innerWidth),e.options().navigationMenu().updateScrollButtonVisibility()),0===n&&(_=!1,E.classed("hidden",!0),F.node().innerHTML="<",o===!0?(O.style("width","100%"),O.style("-webkit-animation-name","none"),S.style("width","100%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","100%"),O.style("-webkit-animation-name","sbExpandAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","100%"),S.style("-webkit-animation-name","sbExpandAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_CollapseRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility())},C.isSidebarVisible=function(){return _},C.updateSideBarVis=function(e){var t=C.getSidebarVisibility();C.showSidebar(parseInt(t),e)},C.getSidebarVisibility=function(){var e=E.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},C.initSideBarAnimation=function(){O.node().addEventListener("animationend",function(){E.classed("hidden",!_),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility()})},C.setup=function(){n(),C.initSideBarAnimation(),F.on("click",function(){e.options().navigationMenu().hideAllMenus();var t=parseInt(C.getSidebarVisibility());1===t?C.showSidebar(0):C.showSidebar(1)})},C.updateShowedInformation=function(){var n=e.editorMode();t.select("#generalDetails").classed("hidden",n),t.select("#generalDetailsEdit").classed("hidden",!n),e.options().editSidebar().updateGeneralOntologyInfo(),e.options().sidebar().updateGeneralOntologyInfo()},C.updateGeneralOntologyInfo=function(){var n=e.options().getGeneralMetaObject(),o=e&&e.language?e.language():null;n.hasOwnProperty("title")&&("object"==typeof n.title?t.select("#title").node().value=L.textInLanguage(n.title,o):t.select("#title").node().innerHTML=n.title),n.hasOwnProperty("iri")&&(t.select("#about").node().innerHTML=n.iri),n.hasOwnProperty("iri")&&(t.select("#about").node().href=n.iri),n.hasOwnProperty("version")&&(t.select("#version").node().innerHTML=n.version),n.hasOwnProperty("author")&&(t.select("#authors").node().innerHTML=n.author),n.hasOwnProperty("description")&&("object"==typeof n.description?t.select("#description").node().innerHTML=L.textInLanguage(n.description,o):t.select("#description").node().innerHTML=n.description)},C}}).call(t,n(6))},339:function(e,t,n){(function(t){e.exports=function(e){function n(e){for(var t=0;t"),e.updateCanvasContainerSize(),void e.options().navigationMenu().updateScrollButtonVisibility()):(t.select("#leftSideBarCollapseButton").classed("hidden",!0),1===n&&(u=!0,i.node().innerHTML="<",g.style("-webkit-animation-name","l_sbExpandAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_ExpandLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s")),void(0===n&&(u=!1,h.classed("hidden",!0),i.node().innerHTML=">",g.style("-webkit-animation-name","l_sbCollapseAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_CollapseLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("left","0"))))},c.getSidebarVisibility=function(){var e=h.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},c}}).call(t,n(6))},340:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=t.select("#typeEditor_datatype").node(),n=["undefined","xsd:boolean","xsd:double","xsd:integer","xsd:string"],o=0;o0){var s=e.options().prefixList()[a];if(void 0===s)return console.log("ERROR __________________"),e.options().warningModule().showWarning("Invalid Element IRI","Could not resolve prefix '"+s+"'","Restoring previous IRI for Element"+n.iri(),1,!1),void(t.select("#element_iriEditor").node().value=n.iri());if(0===l.length)return e.options().warningModule().showWarning("Invalid Element IRI","Input IRI is EMPTY","Restoring previous IRI for Element"+n.iri(),1,!1),console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());o=s+l}else o=i+l}else{if(0===o.length)return console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());console.log("Tryig to use the input!"),o=i+o}}return o}function f(n){var o,i=u(n),r=e.options().getGeneralMetaObjectProperty("iri");if(F.isNode(n)){if(o=e.checkIfIriClassAlreadyExist(i),o!==!1)return e.options().warningModule().showWarning("Already seen this class","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),2,!1,o),void O.updateSelectionInformation(n);n.iri(i)}return F.isProperty(n)===!0&&(o=O.checkProperIriChange(n,i),o!==!1)?(e.options().warningModule().showWarning("Already seen this property","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),1,!1,o),void O.updateSelectionInformation(n)):(n.iri(i),c(r,i)===!0?(b(n,"external"),n.backgroundColor("#36C"),n.redrawElement(),n.redrawLabelText()):(x(n,"external"),n.backgroundColor(void 0),n.redrawElement(),n.redrawLabelText()),n.focused()&&(e.options().focuserModule().handle(n,!0),e.options().focuserModule().handle(n,!0)),t.select("#element_iriEditor").node().value=I.getPrefixRepresentationForFullURI(i),void O.updateSelectionInformation(n))}function h(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function g(e){e.label(t.select("#element_labelEditor").node().value),e.redrawLabelText()}function v(e){M=e;var n,o=t.select("#property_characteristics_Selection"),i=o.node().children;if(i)for(var r=i.length,a=0;a-1){var l=o.append("span");l.classed("spanForCharSelection",!0),l.node().innerHTML="external"}var s,d;if(F.isNode(e)===!0){var c=["deprecated"];for(n=0;n=0}function y(){var e=this.checked,t=this.getAttribute("characteristics");e===!0?b(M,t):x(M,t),M.redrawElement(),M.focused(!1),M.toggleFocus()}function b(e,t){if(e.attributes().indexOf(t)===-1){var n=e.attributes();n.push(t),e.attributes(n)}if(e.indications().indexOf(t)===-1){var o=e.indications();o.push(t),e.indications(o)}var i;if(e.visualAttributes().indexOf(t)===-1&&(i=e.visualAttributes(),i.push(t),e.visualAttributes(i)),m(e,"external")&&m(e,"deprecated")){i=e.visualAttributes();var r=i.indexOf("external");r>-1&&i.splice(r,1),e.visualAttributes(i)}}function x(e,t){var n=e.attributes(),o=e.indications(),i=e.visualAttributes(),r=n.indexOf(t);r>=0&&n.splice(r,1);var a=o.indexOf(t);a>-1&&o.splice(a,1);var l=i.indexOf(t);l>-1&&i.splice(l,1),e.attributes(n),e.indications(o),e.visualAttributes(i),"deprecated"===t&&("owl:Class"===e.type()&&e.styleClass("class"),"owl:DatatypeProperty"===e.type()&&e.styleClass("datatypeproperty"),"owl:ObjectProperty"===e.type()&&e.styleClass("objectproperty"),"owl:disjointWith"===e.type()&&e.styleClass("disjointwith"))}function w(e){return"owl:Thing"!==e.type()&&"rdfs:subClassOf"!==e.type()&&"rdfs:Literal"!==e.type()&&"rdfs:Datatype"!==e.type()&&"rdfs:disjointWith"!==e.type()}function k(t){F.isNode(t)&&e.changeNodeType(t)===!1&&(F.isDatatype(t)===!0,O.updateSelectionInformation(t)),F.isProperty(t)&&e.changePropertyType(t)===!1&&O.updateSelectionInformation(t)}function C(e){var t=[];return F.isProperty(e)?("owl:DatatypeProperty"===e.type()?t.push("owl:DatatypeProperty"):(t.push("owl:ObjectProperty"),e.domain()!==e.range()&&t.push("rdfs:subClassOf"),t.push("owl:disjointWith"),t.push("owl:allValuesFrom"),t.push("owl:someValuesFrom")),t):("rect"===e.renderType()?(t.push("rdfs:Literal"),t.push("rdfs:Datatype")):(t.push("owl:Class"),t.push("owl:Thing")),t)}function L(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");o.on("click",function(){var o=t.select(this);o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0)),O.updateElementWidth()})}var M,_,E,O={},S=webvowl.util.languageTools(),F=webvowl.util.elementTools(),I=webvowl.util.prefixTools(e),T=!1;return O.clearMetaObjectValue=function(){t.select("#titleEditor").node().value="",t.select("#iriEditor").node().value="",t.select("#versionEditor").node().value="",t.select("#authorsEditor").node().value="",t.select("#descriptionEditor").node().value=""},O.updatePrefixUi=function(){O.updateElementWidth();for(var e=t.select("#prefixURL_Container");e.node().firstChild;)e.node().removeChild(e.node().firstChild);a()},O.setup=function(){L(),a(),r(),n(),t.select("#titleEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value))}),t.select("#iriEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri"))}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri")))}),t.select("#versionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value))}),t.select("#authorsEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value))}),t.select("#descriptionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("description",t.select("#descriptionEditor").node().value)}),O.updateElementWidth()},O.updateEditDeleteButtonIds=function(e,n){t.select("#prefixInputFor_"+e).node().id="prefixInputFor_"+n,t.select("#prefixURLFor_"+e).node().id="prefixURLFor_"+n,t.select("#deleteButtonFor_"+e).node().id="deleteButtonFor_"+n,t.select("#editButtonFor_"+e).node().id="editButtonFor_"+n,t.select("#prefixContainerFor_"+e).node().id="prefixContainerFor_"+n},O.checkForExistingURL=function(t){var n,o=e.getUnfilteredData().properties;for(n=0;n0&&(e=-10);var o=parseInt(s.property("value")),i=o+e;i!==o&&(s.property("value",i),r(i),s.on("input")()),t.event.preventDefault()}})}function o(n,o,i,a,l){var s=t.select(i).append("div").classed("checkboxContainer",!0),d=s.append("input").classed("moduleCheckbox",!0).attr("id",n+"ConfigCheckbox").attr("type","checkbox").property("checked",a());d.on("click",function(t){var n=d.property("checked");a(n),t!==!0&&(1===l&&e.lazyRefresh(),2===l&&e.update(),3===l&&e.updateDraggerElements())}),r.push(d),s.append("label").attr("for",n+"ConfigCheckbox").text(o)}var i={},r=[];return i.setup=function(){var i=t.select("#m_modes");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),o("showZoomSlider","Zoom controls","#zoomSliderOption",e.options().zoomSlider().showSlider,0),n("#maxLabelWidthSliderOption","maxLabelWidth","Max label width",e.options().maxLabelWidth)},i.setCheckBoxValue=function(e,t){for(var n=0;nTrying to convert with other communication protocol."),e(t)}function i(e){f.append_message_toLastBulletPoint("
    Trying to convert with other communication protocol.");var t=e[0],n=e[1],o=new FormData;o.append("ontology",t);var i=new XMLHttpRequest;i.open("POST","convert",!0);var r="";i.onload=function(){200===i.status&&(r=i.responseText,f.setCachedOntology(n,r),h=n,L=!0,f.append_message_toLastBulletPoint("
    Success, but you are using a deprecated OWL2VOWL service!"),s(r))},i.onreadystatechange=function(){4===i.readyState&&0===i.status&&(f.append_message_toLastBulletPoint("
    Old protocol also failed to establish connection to OWL2VOWL service!"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage())},i.send(o)}function r(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){O.setBusyMode(),t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage()):(u=o.responseText,f.setConversionID(u),n[0]=n[0]+"&sessionId="+u,n.push(u),e(n))})}function a(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),i(n)):(u=o.responseText,f.setConversionID(u),console.log("Request Session ID:"+u),e(n[0],n[1],u))})}function l(n){var o;n.indexOf("new_ontology")!==-1&&(O.hideLoadingIndicator(),e.showEditorHintIfNeeded(),o="./data/new_ontology.json"),C=!1;var i="";if(f.cachedOntology(n))f.append_bulletPoint("Loading already cached ontology: "+n),i=f.cachedOntology(n),C=!0,O.showLoadingIndicator(),s(i);else{var r="./data/"+n+".json";o&&(r=o),t.xhr(r,"application/json",function(t,o){var r=!t;r?(i=o.responseText,s(i)):(f.append_bulletPoint("Failed to load: "+n),f.append_message_toLastBulletPoint(" ERROR STATUS: "+t.status),e.handleOnLoadingError(),O.setErrorMode())})}}function s(e){f.append_bulletPoint("Reading ontology graph ... ");var t=f.getLoadingFunction();t(e,h,"noAlternativeNameYet")}function d(e){var t=(e.match(/#/g)||[]).length,n=[];if(t>0)for(var o=e.split("#"),i=1;i=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else h=e[0],n()}function r(e){if(e[0].indexOf(a)>=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else n();h=e[1]}var a="opts=";switch(t.length){case 0:n();break;case 1:i(t);break;case 2:r(t);break;default:console.log("To many input parameters , loading default config"),n(),h="ERROR_TO_MANY_INPUT_PARAMETERS"}}function p(e){var t="iri=",n="url=",o="file=",i=-1;return i=e.substr(0,o.length)===o?v:e.substr(0,n.length)===n?m:e.substr(0,t.length)===t?y:g}var u,f,h,g=0,v=1,m=2,y=3,b=0,x=1,w=2,k=1,C=!1,L=!1,M=!1,_=!0,E="ontology",O={},S=t.select("#loading-info"),F=t.select("#loadingInfo-container"),I=t.select("#show-loadingInfo-button"),T=t.select("#loadingIndicator_closeButton");return O.checkForScreenSize=function(){var n=e.options().width(),o=e.options().height();n<270?t.select("#loading-info").classed("hidden",!0):_===!0?t.select("#loading-info").classed("hidden",!1):t.select("#loading-info").classed("hidden",!0),o<150?t.select("#loadingInfo_msgBox").classed("hidden",!0):t.select("#loadingInfo_msgBox").classed("hidden",!1),o<80?(t.select("#progressBarContext").classed("hidden",!0),t.select("#layoutLoadingProgressBarContainer").style("height","20px")):(t.select("#progressBarContext").classed("hidden",!1),t.select("#layoutLoadingProgressBarContainer").style("height","50px"))},O.getProgressBarMode=function(){return k},O.successfullyLoadedOntology=function(){return C},O.missingImportsWarning=function(){return L},O.setOntologyMenu=function(e){f=e},O.showErrorDetailsMessage=function(){O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!0),O.scrollDownDetails()},O.showWarningDetailsMessage=function(){t.select("#currentLoadingStep").style("color","#ff0"),O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!1),O.scrollDownDetails()},O.scrollDownDetails=function(){var e=t.select("#loadingInfo-container").node();e.scrollTop=e.scrollHeight},O.hideLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!0),_=!1},O.showLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!1),_=!0},O.setup=function(){F.classed("hidden",!M),I.on("click",function(){M=!M,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)}),T.on("click",function(){S.classed("hidden",!0)}),O.setBusyMode()},O.updateSize=function(){M=!F.classed("hidden"),F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.getDetailsState=function(){return M},O.expandDetails=function(){M=!0,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.collapseDetails=function(){M=!1,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.setBusyMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").style("width","20%"),t.select("#progressBarValue").classed("busyProgressBar",!0),k=x},O.setSuccessful=function(){t.select("#currentLoadingStep").style("color","#0f0")},O.setErrorMode=function(){t.select("#currentLoadingStep").style("color","#f00"),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="",k=b},O.setPercentMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="0%",t.select("#progressBarValue").style("width","0%"),k=w},O.setPercentValue=function(e){t.select("#progressBarValue").node().innherHTML=e},O.emptyGraphContentError=function(){e.clearGraphData(),f.append_message_toLastBulletPoint("failed"),f.append_message_toLastBulletPoint('
    Error: Received empty graph'),C=!1,e.handleOnLoadingError(),O.setErrorMode()},O.isThreadCanceled=function(){},O.initializeLoader=function(n){if(n===!0&&null!==e.getCachedJsonObj()){var o=JSON.stringify(e.getCachedJsonObj()),i=h;f.setCachedOntology(i,o)}u=-1e4,f.setConversionID(u),f.stopLoadingTimer(),e.clearGraphData(),O.setBusyMode(),O.showLoadingIndicator(),O.collapseDetails(),L=!1,t.select("#loadingIndicator_closeButton").classed("hidden",!0),f.clearDetailInformation()},O.parseUrlAndLoadOntology=function(n){var o=!0;n===!1&&(o=!1),e.clearAllGraphData(),O.initializeLoader(o);var i=String(location),r=d(i);h=E,c(r);var a=p(h);switch(t.select("#progressBarValue").node().innerHTML=" ",a){case 0:O.from_presetOntology(h);break;case 1:O.from_FileUpload(h);break;case 2:O.from_JSON_URL(h);break;case 3:O.from_IRI_URL(h);break;default:console.log("Could not identify loading method , or not IMPLEMENTED YET")}},O.from_JSON_URL=function(e){var t=decodeURIComponent(e.slice("url=".length));h=t;var o="";f.cachedOntology(t)?(f.append_bulletPoint("Loading already cached ontology: "+t),o=f.cachedOntology(t),C=!0,s(o)):(f.append_message("Retrieving ontology from JSON URL "+t),n(f.callbackLoad_JSON_FromURL,["read?json="+t,t]))},O.requestServerTimeStampForDirectInput=function(e,n){t.xhr("serverTimeStamp","application/text",function(o,i){o?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage(),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").text("0%")):(u=i.responseText,f.setConversionID(u),e(n,["conversionID"+u,u]))})},O.from_IRI_URL=function(e){var t=decodeURIComponent(e.slice("iri=".length));h=t;var n="";if(f.cachedOntology(t))f.append_bulletPoint("Loading already cached ontology: "+t),n=f.cachedOntology(t),C=!0,s(n);else{var o=encodeURIComponent(t);f.append_bulletPoint("Retrieving ontology from IRI: "+t),r(f.callbackLoad_Ontology_FromIRI,["convert?iri="+o,t])}},O.from_FileUpload=function(n){O.setBusyMode();var o=decodeURIComponent(n.slice("file=".length));h=o;var i="";if(f.cachedOntology(o))f.append_bulletPoint("Loading already cached ontology: "+o),i=f.cachedOntology(o),C=!0,s(i);else{f.append_bulletPoint("Retrieving ontology from file: "+o);var r=t.select("#file-converter-input").property("files")[0];if(!r||o&&o!==r.name)return f.append_message_toLastBulletPoint('
    No cached version of "'+o+'" was found.
    Please reupload the file.'),O.setErrorMode(),t.select("#progressBarValue").classed("busyProgressBar",!1),void e.handleOnLoadingError();if(o=r.name,o.match(/\.json$/)){f.setConversionID(-1e4);var l=new FileReader;l.readAsText(r),l.onload=function(){i=l.result,h=o,s(i)}}else{var d=[r,o];a(f.callbackLoadFromOntology,d)}}},O.directInput=function(e){f.clearDetailInformation(),s(e)},O.loadFromOWL2VOWL=function(e,n){C=!1;var o=t.select("#bulletPoint_container").node().innerHTML;o.indexOf("(with warnings)")!==-1&&(L=!0),f.cachedOntology(e)?(f.append_bulletPoint("Loading already cached ontology: "+n),s(e)):s(e)},O.from_presetOntology=function(e){f.append_bulletPoint("Retrieving ontology: "+e),l(e)},O.notValidJsonFile=function(){e.clearGraphData(),f.append_message_toLastBulletPoint(" failed"),f.append_message_toLastBulletPoint("
    Error: Received empty graph"),C=!1,e.handleOnLoadingError()},O.validJsonFile=function(){f.append_message_toLastBulletPoint("done"),C=!0},O}}).call(t,n(6))},343:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=document.styleSheets[1].cssRules,t=0;tYou can now modify an existing ontology or create a new one via the ontology menu.
    You can save any ontology using the export menu (and exporting it as TTL file).",o.style("padding","5px"),o.style("line-height","1.2em"),o.style("font-size","1.2em");var a=t.append("ul");a.append("li").node().innerHTML="Create a class with double click / tap on empty canvas area.",a.append("li").node().innerHTML="Edit names with double click / tap on element.",a.append("li").node().innerHTML="Selection of default constructors is provided in the left sidebar.",a.append("li").node().innerHTML="Additional editing functionality is provided in the right sidebar.";var d=t.append("label");d.node().id="killWarningErrorMessages_"+e,d.node().innerHTML="Got It",d.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showMessage=function(e){var t=l[e];t.classed("hidden",!1),t.style("-webkit-animation-name","warn_ExpandAnimation"),t.style("-webkit-animation-duration","0.5s")},r.closeMessage=function(e){var n;if(void 0===e){var o=this.id;n=o.split("_")[1]}else n=e;e&&e.indexOf("_")!==-1&&(n=e.split("_")[1]),d[n]=!1;var i=l[n];i.style("-webkit-animation-name","warn_CollapseAnimation"),i.style("-webkit-animation-duration","0.5s");for(var r=i.node().getBoundingClientRect().height,a=i.node().parentNode,s=[],c=a.children,u=c.length,f=i.node().id,h=!1,g=0;g0){var v=f.append("div");v.style("padding","5px");var m=v.append("div");m.style("display","inline-flex"),m.node().innerHTML="Warning:",m.style("padding-right","3px");var y=v.append("div");y.style("display","inline-flex"),y.style("max-width",g+"px"),y.node().innerHTML=n}if(o.length>0){var b=f.append("div");b.style("padding","5px");var x=b.append("div");x.style("display","inline-flex"),x.style("padding-right","3px"),x.node().innerHTML="Reason:";var w=b.append("div");w.style("display","inline-flex"),w.style("max-width",g+"px"),w.node().innerHTML=o}if(i.length>0){var k=f.append("div");k.style("padding","5px");var C=k.append("div");C.style("display","inline-flex"),C.style("padding-right","8px"),C.node().innerHTML="Action:";var L=k.append("div");L.style("display","inline-flex"),L.style("max-width",g+"px"),L.node().innerHTML=i}var M=f.append("label");M.node().id="killWarningErrorMessages_"+u,M.node().innerHTML="Continue",M.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0),a(c[0],c[1],c[2],c[3])}),f.append("span").node().innerHTML="|";var _=f.append("label");_.node().id="cancelButton_"+u,_.node().innerHTML="Cancel",_.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0)}),h.classed("hidden",!1),h.style("-webkit-animation-name","warn_ExpandAnimation"),h.style("-webkit-animation-duration","0.5s")},r.showFilterHint=function(){var e=r.addMessageBox(),t=s[e],n=l[e];d[e]=!0,o=e;var i=t.append("div");i.node().innerHTML="Collapsing filter activated.
    The number of visualized elements has been automatically reduced.
    Use the degree of collapsing slider in the filter menu to adjust the visualization.

    Note: A performance decrease could be experienced with a growing amount of visual elements in the graph.",i.style("padding","5px"),i.style("line-height","1.2em"),i.style("font-size","1.2em");var a=t.append("label");a.node().id="killFilterMessages_"+e,a.node().innerHTML="Got It",a.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showWarning=function(t,n,o,i,a,c){var p=r.addMessageBox(),u=s[p],f=l[p];d[p]=!0;var h=.5*e.options().width();if(t.length>0){var g=u.append("div");g.style("padding","5px");var v=g.append("div");v.style("display","inline-flex"),v.node().innerHTML="Warning:",v.style("padding-right","3px");var m=g.append("div");m.style("display","inline-flex"),m.style("max-width",h+"px"),m.node().innerHTML=t}if(n.length>0){var y=u.append("div");y.style("padding","5px");var b=y.append("div");b.style("display","inline-flex"),b.style("padding-right","3px"),b.node().innerHTML="Reason:";var x=y.append("div");x.style("display","inline-flex"),x.style("max-width",h+"px"),x.node().innerHTML=n}if(o.length>0){var w=u.append("div");w.style("padding","5px");var k=w.append("div");k.style("display","inline-flex"),k.style("padding-right","8px"),k.node().innerHTML="Action:";var C=w.append("div");C.style("display","inline-flex"),C.style("max-width",h+"px"),C.node().innerHTML=o}var L;if(1===i&&(L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage)),2===i){L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage),u.append("span").node().innerHTML="|";var M=u.append("label");M.node().id="zoomElementThing_"+p,M.node().innerHTML="Zoom to element ",M.on("click",function(){e.zoomToElementInGraph(c)}),u.append("span").node().innerHTML="|";var _=u.append("label");_.node().id="showElementThing_"+p,_.node().innerHTML="Indicate element",_.on("click",function(){c.halo()===!1?(c.drawHalo(),e.updatePulseIds([c.id()])):(c.removeHalo(),c.drawHalo(),e.updatePulseIds([c.id()]))})}f.classed("hidden",!1),f.style("-webkit-animation-name","warn_ExpandAnimation"),f.style("-webkit-animation-duration","0.5s"),f.classed("hidden",!1)},r}}).call(t,n(6))},344:function(e,t,n){(function(t){e.exports=function(e){var n={},o=t.select("#DirectInputContent");o.style("top","0"),o.style("position","absolute");var i=t.select("#directInputTextArea"),r=!1;return o.style("border","1px solid black"),o.style("padding","5px"),o.style("background","#fff"),n.handleDirectUpload=function(){var o,r=i.node().value;try{o=JSON.parse(r),e.options().loadingModule().directInput(r),o.class.length>0&&n.setDirectInputMode(!1)}catch(n){try{e.options().loadingModule().initializeLoader(),e.options().loadingModule().requestServerTimeStampForDirectInput(e.options().ontologyMenu().callbackLoad_Ontology_From_DirectInput,r)}catch(e){console.log("Error "+e),t.select("#Error_onLoad").classed("hidden",!1),t.select("#Error_onLoad").node().innerHTML="Failed to convert the input!"}}},n.handleCloseButton=function(){n.setDirectInputMode(!1)},n.updateLayout=function(){var t=e.options().width(),n=e.options().height();i.style("width",.4*t+"px"),i.style("height",.7*n+"px")},n.setDirectInputMode=function(e){r=e?e:!r,n.updateLayout(),t.select("#Error_onLoad").classed("hidden",!0),o.classed("hidden",!r)},t.select("#directUploadBtn").on("click",n.handleDirectUpload),t.select("#close_directUploadBtn").on("click",n.handleCloseButton),n}}).call(t,n(6))}}); diff --git a/dist/vocabulary/implementation/0.1.1/webvowl/js/webvowl.js b/dist/vocabulary/implementation/0.1.1/webvowl/js/webvowl.js new file mode 100644 index 0000000..fe3a381 --- /dev/null +++ b/dist/vocabulary/implementation/0.1.1/webvowl/js/webvowl.js @@ -0,0 +1,7 @@ +webvowl=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){function r(e,t){var n=t.key.replace(":","").toLowerCase();e[n]=t.value}n(1);var o=n(5)(),a=n(40)(),i={};i.graph=n(57),i.options=n(64),i.version="1.1.4",i.util={},i.util.constants=n(12),i.util.languageTools=n(11),i.util.elementTools=n(63),i.util.prefixTools=n(72),i.modules={},i.modules.colorExternalsSwitch=n(73),i.modules.compactNotationSwitch=n(74),i.modules.datatypeFilter=n(75),i.modules.disjointFilter=n(77),i.modules.focuser=n(78),i.modules.emptyLiteralFilter=n(79),i.modules.nodeDegreeFilter=n(80),i.modules.nodeScalingSwitch=n(81),i.modules.objectPropertyFilter=n(82),i.modules.pickAndPin=n(83),i.modules.selectionDetailsDisplayer=n(315),i.modules.setOperatorFilter=n(316),i.modules.statistics=n(317),i.modules.subclassFilter=n(318),i.nodes={},o.entries().forEach(function(e){r(i.nodes,e)}),i.properties={},a.entries().forEach(function(e){r(i.properties,e)}),e.exports=i},function(e,t){},,,,function(e,t,n){(function(t){var r=[];r.push(n(7)),r.push(n(18)),r.push(n(19)),r.push(n(26)),r.push(n(27)),r.push(n(28)),r.push(n(29)),r.push(n(30)),r.push(n(31)),r.push(n(32)),r.push(n(33)),r.push(n(34)),r.push(n(38)),r.push(n(39));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t){e.exports=d3},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["external"]).type("ExternalClass")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(9),o=n(14),a=n(17)();e.exports=function(){var e=function(e){function t(){var t=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(t=void 0);var n=new o(u.nodeElement(),t),r=u.equivalentsString(),a=r?",":"";return n.addText(u.labelForCurrentLanguage(),"",a),n.addEquivalents(r),e.options().compactNotation()||n.addSubText(u.indicationString()),n.addInstanceCount(u.individuals().length),n}r.apply(this,arguments);var n,i,s,l,u=this,c=!1,d=50,p=null,f=!1;this.setRectangularRepresentation=function(e){f=e},this.getRectangularRepresentation=function(){return f},this.getHalos=function(){return p},this.collapsible=function(e){return arguments.length?(c=e,this):c},this.textBlock=function(e){return arguments.length?(l=e,this):l},this.radius=function(e){return arguments.length?(d=e,this):d},this.setHoverHighlighting=function(e){u.nodeElement().selectAll("circle").classed("hovered",e)},this.textWidth=function(e){var t=2*this.actualRadius();if(e){var n=Math.abs(e)/this.actualRadius(),r=n<=1;t=r?Math.cos(n)*t:0}return t},this.toggleFocus=function(){u.focused(!u.focused()),u.nodeElement()&&u.nodeElement().select("circle").classed("focused",u.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.actualRadius=function(){if(!e.options().scaleNodesByIndividuals()||u.individuals().length<=0)return u.radius();var t=8,n=Math.log(u.individuals().length+1)*t+5;return u.radius()+n},this.distanceToBorder=function(){return u.actualRadius()},this.removeHalo=function(){u.halo()&&(u.halo(!1),p&&p.remove())},this.drawHalo=function(e){if(u.halo(!0),p=f===!0?a.drawRectHalo(u.nodeElement(),80,80,5):a.drawHalo(u.nodeElement(),u.actualRadius(),this.removeHalo),e===!1){var t=p.selectAll(".searchResultA");t.classed("searchResultA",!1),t.classed("searchResultB",!0),t.attr("animationRunning",!1)}},this.drawPin=function(){u.pinned(!0);var t=-.7*u.actualRadius(),n=-.7*u.actualRadius();i=a.drawPin(u.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){u.pinned(!1),i&&i.remove(),e.updateStyle()},this.drawCollapsingButton=function(){n=u.nodeElement().append("g").classed("hidden-in-export",!0).attr("transform",function(){var e=-.4*u.actualRadius(),t=.5*u.actualRadius();return"translate("+e+","+t+")"}),n.append("rect").classed("class pin feature",!0).attr("x",0).attr("y",0).attr("width",40).attr("height",24),n.append("line").attr("x1",13).attr("y1",12).attr("x2",27).attr("y2",12),n.append("line").attr("x1",20).attr("y1",6).attr("x2",20).attr("y2",18)},this.draw=function(e,t){var n=u.collectCssClasses();u.nodeElement(e);var r=u.backgroundColor();null===r&&(r=void 0),u.attributes().indexOf("deprecated")>-1&&(r=void 0),t instanceof Array&&(n=n.concat(t)),s=f===!0?a.appendRectangularClass(e,80,80,n,u.labelForCurrentLanguage(),r):a.appendCircularClass(e,u.actualRadius(),n,u.labelForCurrentLanguage(),r),u.postDrawActions(e)},this.redrawElement=function(){s.remove(),l.remove();var e=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(e=void 0);var t=u.collectCssClasses();s=f===!0?a.appendRectangularClass(u.nodeElement(),80,80,t,u.labelForCurrentLanguage(),e):a.appendCircularClass(u.nodeElement(),u.actualRadius(),t,u.labelForCurrentLanguage(),e),u.postDrawActions(u.nodeElement())},this.postDrawActions=function(){u.textBlock(t()),u.addMouseListeners(),u.pinned()&&u.drawPin(),u.halo()&&u.drawHalo(!1),u.collapsible()&&u.drawCollapsingButton()},this.redrawLabelText=function(){u.textBlock().remove(),u.textBlock(t()),s.select("title").text(u.labelForCurrentLanguage())},this.equivalentsString=function(){var e=u.equivalents();if(e)return e.map(function(e){return e.labelForCurrentLanguage()}).join(", ")}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(13)();e.exports=function(){var e=function(e){function n(){if(!g.mouseEntered()&&b!==!0){var t=g.nodeElement().node(),n=t.parentNode;g.animationProcess()===!1&&n.appendChild(t),e.isTouchDevice()===!1?(g.setHoverHighlighting(!0),g.mouseEntered(!0),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g)):e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g,!0)}}function a(){g.setHoverHighlighting(!1),g.mouseEntered(!1),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!1)}r.apply(this,arguments);var i,s,l,u,c,d,p,f,h,v,g=this,y=[],m="round",b=!1,x=[];g.editingTextElement=!1,this.isPropertyAssignedToThisElement=function(e){if(console.log("Element IRI :"+e.iri()),"rdfs:subClassOf"===e.type())for(var t=0;t0?this.LINE_DISTANCE:0;e.attr("dy",n+o+"px")},r.prototype.getTextBox=function(){return this._textBlock()},r.prototype._repositionTextBlock=function(){var e=this._lineCount();if(e<1)return void this._textBlock().attr("y",0);var t=this._textBlock().node().getBBox().height;this._textBlock().attr("y",.5*-t+"px")},r.prototype._lineCount=function(){return this._textBlock().property("childElementCount")}},function(e,t,n){(function(t){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}var r=4,o={};o.truncate=function(e,t,o,a){if(t-=isNaN(a)?r:a,isNaN(t)||t<=0)return e;for(var i,s,l,u=e;;){if(s=n(u,o),s<=t)break;if(l=s/t,i=Math.floor(u.length/l),u.length===i)break;u=u.substring(0,i)}return e.length>u.length?e.substring(0,u.length-3)+"...":e},e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){(function(t){function n(e,t){var n=e.append("text").classed("text",!0).style("fill",this._getTextColor(t)).attr("text-anchor","middle");this._textBlock=function(){return n}}function r(e){return.3*(e.r/255)+.59*(e.g/255)+.11*(e.b/255)}e.exports=n,n.prototype.LINE_DISTANCE=1,n.prototype.CSS_CLASSES={default:"text",subtext:"subtext",instanceCount:"instance-count"},n.prototype.DARK_TEXT_COLOR="#000",n.prototype.LIGHT_TEXT_COLOR="#fff",n.prototype.translation=function(e,t){return this._textBlock().attr("transform","translate("+e+", "+t+")"),this},n.prototype.remove=function(){return this._textBlock().remove(),this},n.prototype._applyPreAndPostFix=function(e,t,n){return t&&(e=t+e),n&&(e+=n),e},n.prototype._getTextColor=function(e){if(!e)return n.prototype.DARK_TEXT_COLOR;var o=t.rgb(e);return r(o)>.5?n.prototype.DARK_TEXT_COLOR:n.prototype.LIGHT_TEXT_COLOR}}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e,t){t instanceof Array&&t.forEach(function(t){e.classed(t,!0)})}function n(e,t){t&&e.append("title").text(t)}function r(e,t){t&&e.style("fill",t)}var o={};return o.appendCircularClass=function(t,o,a,i,s){var l=t.append("circle").classed("class",!0).attr("r",o);return e(l,a),n(l,i),r(l,s),l},o.appendRectangularClass=function(t,o,a,i,s,l){var u=t.append("rect").classed("class",!0).attr("x",-o/2).attr("y",-a/2).attr("width",o).attr("height",a);return e(u,i),n(u,s),r(u,l),u},o.drawPin=function(e,n,r,o,a,i){var s=e.append("g").classed("hidden-in-export",!0).attr("transform","translate("+n+","+r+")"),l=s.append("circle").classed("class pin feature",!0).attr("r",12).on("click",function(){o&&o(),t.event.stopPropagation()});return s.append("line").attr("x1",0).attr("x2",0).attr("y1",12).attr("y2",16),i===!0&&s.append("circle").attr("r",15).attr("cx",-7).attr("cy",-7).classed("superHiddenElement ",!0).classed("superOpacityElement",!a()).on("click",function(){o&&o(),t.event.stopPropagation()}).on("mouseover",function(){l.classed("feature_hover",!0)}).on("mouseout",function(){l.classed("feature_hover",!1)}),s},o.drawRectHalo=function(e,t,n,r){var o;if(o=e.nodeElement?e.nodeElement():e.labelElement()){var a=o.append("g").classed("hidden-in-export",!0);return a.append("rect").classed("searchResultA",!0).attr("x",(-t-r)/2).attr("y",(-r-n)/2).attr("width",t+r).attr("height",n+r),a.attr("animationRunning",!0),a.node().addEventListener("webkitAnimationEnd",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a.node().addEventListener("animationend",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a}},o.drawHalo=function(e,t){if(void 0===e)return null;var n=e.append("g").classed("hidden-in-export",!0);return n.append("circle",":first-child").classed("searchResultA",!0).attr("r",t+15),n.attr("animationRunning",!0),n.node().addEventListener("webkitAnimationEnd",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n.node().addEventListener("animationend",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n},function(){return o}}()}).call(t,n(6))},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.type("owl:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("complementof").type("owl:complementOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0);r.append("circle").attr("class","symbol").classed("fineline",!0).attr("r",10),r.append("path").attr("class","nofill").attr("d","m -7,-1.5 12,0 0,6").attr("transform","scale(.5)"),r.attr("transform","translate(-"+(t.radius()-15)/100+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(21),o=n(22),a=n(8),i=n(17)();e.exports=function(){var e=function(e){a.apply(this,arguments);var t=this,n=t.setHoverHighlighting,s=t.postDrawActions;this.setHoverHighlighting=function(e){n(e),t.links().filter(function(e){return e instanceof o}).filter(function(e){return e.domain().equals(t)}).forEach(function(t){t.property().setHighlighting(e)})},this.draw=function(e){t.nodeElement(e),i.appendCircularClass(e,t.actualRadius(),t.collectCssClasses().join(" "),t.labelForCurrentLanguage(),t.backgroundColor())},this.postDrawActions=function(){s(),t.textBlock().remove();var n=new r(t.nodeElement(),t.backgroundColor()),o=t.equivalentsString(),a=o?-30:-17,i=o?",":"";n.addText(t.labelForCurrentLanguage(),a,"",i),n.addEquivalents(o,-17),e.options().compactNotation()?n.addInstanceCount(t.individuals().length,17):t.indicationString().length>0?(n.addSubText(t.indicationString(),17),n.addInstanceCount(t.individuals().length,30)):n.addInstanceCount(t.individuals().length,17),t.textBlock(n)}};return e.prototype=Object.create(a.prototype),e.prototype.constructor=e,e}()},function(e,t,n){function r(e,t){a.apply(this,arguments)}var o=n(15)(),a=n(16);e.exports=r,r.prototype=Object.create(a.prototype),r.prototype.constructor=r,r.prototype.addText=function(e,t,n,r){e&&this.addTextline(e,this.CSS_CLASSES.default,t,n,r)},r.prototype.addSubText=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.subtext,t,"(",")")},r.prototype.addEquivalents=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.default,t)},r.prototype.addInstanceCount=function(e,t){e&&this.addTextline(e.toString(),this.CSS_CLASSES.instanceCount,t)},r.prototype.addTextline=function(e,t,n,r,a){var i=o.truncate(e,this._textBlock().datum().textWidth(n),t),s=this._textBlock().append("tspan").classed(this.CSS_CLASSES.default,!0).classed(t,!0).text(this._applyPreAndPostFix(i,r,a)).attr("x",0);this._repositionTextLine(s,n)},r.prototype._repositionTextLine=function(e,t){var n=window.getComputedStyle(e.node()).getPropertyValue("font-size"),r=parseFloat(n),o=1/3*r;e.attr("y",o+(t||0)+"px")}},function(e,t,n){function r(e,t,n){s.apply(this,arguments)}function o(e,t){var n=i(e,t);n.attr("refX",-8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function a(e,t){var n=i(e,t);n.attr("refX",8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function i(e,t){return e.append("marker").datum(t).attr("id",t.markerId()).attr("viewBox","-10 -10 20 20").attr("markerWidth",20).attr("markerHeight",20).attr("markerUnits","userSpaceOnUse").attr("orient","auto")}var s=n(23);e.exports=r,r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.draw=function(e,t){var n=this.label().property(),r=this.label().inverse();o(t,n),r&&a(t,r),s.prototype.draw.apply(this,arguments),e.attr("marker-start","url(#"+n.markerId()+")"),r&&e.attr("marker-end","url(#"+r.markerId()+")")}},function(e,t,n){function r(e,t,r){var a,i,s,l,u,c=new o(r,this),d=n(25)(e,c,this),p=n(25)(c,t,this);this.layers=function(e){return arguments.length?(a=e,this):a},this.layerIndex=function(e){return arguments.length?(i=e,this):i},this.loops=function(e){return arguments.length?(s=e,this):s},this.loopIndex=function(e){return arguments.length?(l=e,this):l},this.domain=function(){return e},this.label=function(){return c},this.linkParts=function(){return[p,d]},this.range=function(){return t},this.pathObj=function(e){return arguments.length?void(u=e):u}}var o=n(24);e.exports=r,r.prototype.draw=function(e){var t=this.label().property(),n=this.label().inverse();t.linkGroup(e),n&&n.linkGroup(e);var r=e.append("path");r.classed("link-path",!0).classed(this.domain().cssClassOfNode(),!0).classed(this.range().cssClassOfNode(),!0).classed(t.linkType(),!0),this.pathObj(r)},r.prototype.inverse=function(){return this.label().inverse()},r.prototype.isLoop=function(){return this.domain().equals(this.range())},r.prototype.property=function(){return this.label().property()}},function(e,t){function n(e,t){this.link=function(){return t},this.property=function(){return e},Object.defineProperty(this,"fixed",{get:function(){var t=!!e.inverse()&&e.inverse().fixed;return e.fixed||t},set:function(t){e.fixed=t,e.inverse()&&(e.inverse().fixed=t)}}),this.frozen=e.frozen,this.locked=e.locked,this.pinned=e.pinned}e.exports=n,n.prototype.actualRadius=function(){return this.property().actualRadius()},n.prototype.draw=function(e){return this.property().draw(e)},n.prototype.inverse=function(){return this.property().inverse()},n.prototype.equals=function(e){if(!e)return!1;var t=e instanceof n,r=this.property().equals(e.property()),o=!1;return this.inverse()?o=this.inverse().equals(e.inverse()):e.inverse()||(o=!0),t&&r&&o}},function(e,t){e.exports=function(e,t,n){var r={},o=e,a=n,i=t;return Object.defineProperties(r,{source:{value:o,writable:!0},target:{value:i,writable:!0}}),r.domain=function(){return o},r.link=function(){return a},r.range=function(){return i},r}},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).type("owl:DeprecatedClass").styleClass("deprecated").indications(["deprecated"])};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("disjointunionof").type("owl:disjointUnionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("text").attr("class","link").text("1").attr("transform","scale(.7)translate(3,5)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8),o=n(17)();e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n=4,a=this,i=a.actualRadius;this.styleClass("equivalentclass").type("owl:equivalentClass"),this.actualRadius=function(){return i()+n},this.redrawElement=function(){t.remove(),a.textBlock().remove();var e=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(e=void 0);var r=a.collectCssClasses();t=a.nodeElement().append("g"),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),e)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),console.log(r),console.log(a.attributes()),console.log("what is bgColor"+e),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),e)),a.postDrawActions(a.nodeElement())},this.draw=function(e){var r=a.collectCssClasses();a.nodeElement(e),t=e.append("g");var i=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(i=void 0),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),i)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),i)),a.postDrawActions()},a.setHoverHighlighting=function(e){a.nodeElement().selectAll("circle:last-of-type").classed("hovered",e)}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){function t(){var e=18,t=5,n=-(e/2),r=7,o=5,a=e-o,i="M"+t+","+n,s="c"+r+","+o+" "+r+","+a+" 0,"+e,l="c"+-r+","+-o+" "+-r+","+-a+" 0,"+-e;return i+s+l}r.apply(this,arguments);var n=this,o=n.draw,a=t();this.styleClass("intersectionof").type("owl:intersectionOf"),this.draw=function(e){o(e);var t=e.append("g").classed("embedded",!0),r=10;t.append("path").attr("class","nostroke").classed("symbol",!0).attr("d",a),t.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("circle").attr("cx",10).attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("path").attr("class","nofill").attr("d","m 9,5 c 0,-2 0,-4 0,-6 0,0 0,0 0,0 0,0 0,-1.8 -1,-2.3 -0.7,-0.6 -1.7,-0.8 -2.9,-0.8 -1.2,0 -2,0 -3,0.8 -0.7,0.5 -1,1.4 -1,2.3 0,2 0,4 0,6").attr("transform","scale(.5)translate(5,0)"),t.attr("transform","translate(-"+(n.radius()-15)/7+",-"+(n.radius()-15)/100+")"),n.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(31);e.exports=function(){var e=function(e){r.apply(this,arguments),this.label("Nothing").type("owl:Nothing").iri("http://www.w3.org/2002/07/owl#Nothing")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.label("Thing").type("owl:Thing").iri("http://www.w3.org/2002/07/owl#Thing").radius(30),this.draw=function(e){t(e,["white","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("unionof").type("owl:unionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("path").attr("class","link").attr("d","m 1,-3 c 0,2 0,4 0,6 0,0 0,0 0,0 0,2 2,3 4,3 2,0 4,-1 4,-3 0,-2 0,-4 0,-6").attr("transform","scale(.5)translate(5,0)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).type("rdfs:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t="undefined";this.attributes(["datatype"]).type("rdfs:Datatype").styleClass("datatype"),this.dType=function(e){return arguments.length?void(t=e):t}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(36);e.exports=function(){var e=function(e){r.apply(this,arguments)};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(9),o=n(14),a=n(17)(),i=n(37)();e.exports=function(){var e=function(e){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth; +return r.remove(),o}r.apply(this,arguments);var s,l,u,c,d=this,p=20,f=60,h=80,v=80,g=80,y=p/2;d.renderType("rect"),this.height=function(e){return arguments.length?(p=e,this):p},this.width=function(e){return arguments.length?(f=e,this):f},this.getHalos=function(){return l},this.actualRadius=function(){return y},this.distanceToBorder=function(e,t){return i.distanceToBorder(d,e,t)},this.setHoverHighlighting=function(e){d.nodeElement().selectAll("rect").classed("hovered",e);var t=d.getHalos();if(t){var n=t.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0)}},this.textWidth=function(){return h},this.width=function(){return h},this.getMyWidth=function(){var e=d.labelForCurrentLanguage();v=n(e,"text")+20;var t=d.indicationString(),r=n(t,"subtext")+20;return r>v&&(v=r),v},this.textWidth=function(){return d.width()},this.toggleFocus=function(){d.focused(!d.focused()),d.nodeElement().select("rect").classed("focused",d.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.draw=function(t,n){var r=d.collectCssClasses();d.nodeElement(t),n instanceof Array&&(r=r.concat(n)),h=e.options().dynamicLabelWidth()===!0?Math.min(d.getMyWidth(),e.options().maxLabelWidth()):g,f=h,u=a.appendRectangularClass(t,d.width(),d.height(),r,d.labelForCurrentLanguage(),d.backgroundColor()),c=new o(t,d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.addMouseListeners(),d.pinned()&&d.drawPin(),d.halo()&&d.drawHalo(!1)},this.drawPin=function(){d.pinned(!0);var t=-.5*h+5,n=-1.1*p;s=a.drawPin(d.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){d.pinned(!1),s&&s.remove(),e.updateStyle()},this.removeHalo=function(){d.halo(!1),l&&(l.remove(),l=null)},this.drawHalo=function(e){d.halo(!0);var t=0;if(l=a.drawRectHalo(d,this.width(),this.height(),t),e===!1){var n=l.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0),n.attr("animationRunning",!1)}if(d.pinned()){var r=s.node(),o=r.parentNode;o.appendChild(r)}},this.updateTextElement=function(){c.updateAllTextElements()},this.textBlock=function(){return c},this.redrawLabelText=function(){c.remove(),c=new o(d.nodeElement(),d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),u.select("title").text(d.labelForCurrentLanguage())},this.animateDynamicLabelWidth=function(t){d.removeHalo();var n=d.height();if(t===!0?(h=Math.min(d.getMyWidth(),e.options().maxLabelWidth()),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n}).each("end",function(){d.updateTextElement()})):(h=g,d.updateTextElement(),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n})),d.pinned()===!0&&s){var r=.5*h-10,o=-1.1*n;s.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}},this.addTextLabelElement=function(){var e=d.nodeElement();c=new o(e,this.backgroundColor()),c.addText(d.labelForCurrentLanguage())}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()}).call(t,n(6))},function(e,t){var n={};e.exports=function(){return n},n.distanceToBorder=function(e,t,n){var r,o=e.width(),a=e.height(),i=Math.abs(n/t),s=a/o;if(i<=s){var l=t/(o/2),u=n/l;r=Math.sqrt(Math.pow(o/2,2)+Math.pow(u,2))}else{var c=n/(a/2),d=t/c;r=Math.sqrt(Math.pow(a/2,2)+Math.pow(d,2))}return r}},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw,n=this.label;this.attributes(["datatype"]).label("Literal").styleClass("literal").type("rdfs:Literal").iri("http://www.w3.org/2000/01/rdf-schema#Literal"),this.draw=function(e){t(e,["dashed"])},this.label=function(e){return arguments.length?this:n()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.attributes(["rdf"]).label("Resource").radius(30).styleClass("rdfsresource").type("rdfs:Resource"),this.draw=function(e){t(e,["rdf","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=[];r.push(n(41)),r.push(n(44)),r.push(n(45)),r.push(n(46)),r.push(n(47)),r.push(n(48)),r.push(n(49)),r.push(n(50)),r.push(n(51)),r.push(n(52)),r.push(n(53)),r.push(n(54)),r.push(n(55)),r.push(n(56));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("allvaluesfromproperty").type("owl:allValuesFrom"),this.generateCardinalityText=function(){var e="A",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(14),a=n(17)(),i=n(13)(),s=n(37)();n(43)();e.exports=function(){var e=28,n=80,l=e/2,u=function(e){function n(){var e=[];return T.subproperties()&&(e=e.concat(T.subproperties())),T.superproperties()&&(e=e.concat(T.superproperties())),e}function l(){var e=n();e.forEach(function(e){e.foreground&&e.foreground()})}function u(){T.mouseEntered()||P===!0||(T.mouseEntered(!0),T.setHighlighting(!0),T.foreground(),l())}function c(){T.mouseEntered(!1),T.setHighlighting(!1)}function d(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}function p(t){if(e.ignoreOtherHoverEvents()===!1){var n=!1;T.inverse()&&(n=!0),t===!0&&e.activateHoverElementsForProperties(t,T,n)}}r.apply(this,arguments);var f,h,v,g,y,m,b,x,E,w,O,C,k,P,_,j,M,D,L,A,S,T=this,R="normal",I="filled",N=!0,F=80,H=80,B=[];this.existingPropertyIRI=function(t){return e.options().editSidebar().checkForExistingURL(t)},this.getHalos=function(){return M},this.getPin=function(){return j},this.labelObject=function(e,t){return arguments.length?(A=e,void(T.inverse()&&t!==!0&&T.inverse().labelObject(e,!0))):A},this.hide=function(e){T.labelElement().classed("hidden",e),T.linkGroup().classed("hidden",e),T.cardinalityElement()&&T.cardinalityElement().classed("hidden",e)},this.cardinality=function(e){return arguments.length?(f=e,this):f},this.cardinalityElement=function(e){return arguments.length?(w=e,this):w},this.domain=function(e){return arguments.length?(h=e,this):h},this.inverse=function(e){return arguments.length?(v=e,this):v},this.labelElement=function(e){return arguments.length?(O=e,this):O},this.labelVisible=function(e){return arguments.length?(N=e,this):N},this.link=function(e){return arguments.length?(g=e,this):g},this.linkGroup=function(e){return arguments.length?(C=e,this):C},this.linkType=function(e){return arguments.length?(R=e,this):R},this.markerElement=function(e){return arguments.length?(k=e,this):k},this.markerType=function(e){return arguments.length?(I=e,this):I},this.maxCardinality=function(e){return arguments.length?(m=e,this):m},this.minCardinality=function(e){return arguments.length?(y=e,this):y},this.range=function(e){return arguments.length?(b=e,this):b},this.redundantProperties=function(e){return arguments.length?(B=e,this):B},this.subproperties=function(e){return arguments.length?(x=e,this):x},this.superproperties=function(e){return arguments.length?(E=e,this):E},this.distanceToBorder=function(e,t){return s.distanceToBorder(T,e,t)},this.linkHasMarker=function(){return"dashed"!==R},this.markerId=function(){return"marker"+T.id()},this.toggleFocus=function(){T.focused(!T.focused()),O.select("rect").classed("focused",T.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.getShapeElement=function(){return D},this.textBlock=function(){return L},this.redrawElement=function(){D.remove(),L.remove(),T.drawLabel(T.labelElement()),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth())},this.draw=function(t){function n(e){var n=t.append("g").datum(e).classed("label",!0).attr("id",e.id());return e.drawLabel(n),n}if(T.labelVisible()){if(F=e.options().dynamicLabelWidth()===!0?Math.min(T.getMyWidth(),e.options().maxLabelWidth()):H,T.labelElement(n(T)),T.inverse()){var r=T.height()/2+1;T.inverse().labelElement(n(T.inverse())),T.labelElement().attr("transform","translate(0,-"+r+")"),T.inverse().labelElement().attr("transform","translate(0,"+r+")")}return T.pinned()?T.drawPin():T.inverse()&&T.inverse().pinned()&&T.inverse().drawPin(),T.halo()&&T.drawHalo(!1),T.labelElement()}},this.addRect=function(e){var t=e.append("rect").classed(T.styleClass(),!0).classed("property",!0).attr("x",-T.width()/2).attr("y",-T.height()/2).attr("width",T.width()).attr("height",T.height()).on("mouseover",function(){u()}).on("mouseout",function(){c()});t.append("title").text(T.labelForCurrentLanguage()),T.visualAttributes()&&t.classed(T.visualAttributes(),!0);var n=T.backgroundColor();return T.attributes().indexOf("deprecated")>-1?(n=void 0,t.classed("deprecatedproperty",!0)):t.classed("deprecatedproperty",!1),t.style("fill",n),t},this.drawLabel=function(e){D=this.addRect(e);var t=T.equivalentsString(),n=t?",":"",r=T.backgroundColor();T.attributes().indexOf("deprecated")>-1&&(r=void 0),L=new o(e,r),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.equivalentsString=function(){var e=T.equivalents();if(e)return e.map(function(e){return void 0===e||"string"==typeof e?"ERROR":e.labelForCurrentLanguage()}).join(", ")},this.drawCardinality=function(e){var t=this.generateCardinalityText();return!!t&&(T.cardinalityElement(e),0===t.indexOf("A")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -8.8832678,-11.303355 -7.97e-4,0 0.717374,1.833297 8.22987151,21.371761 8.66826659,-21.2123526 0.797082,-1.9927054 0.02471,0 -0.8218553,1.9927054 -2.2517565,5.4201577 -12.4444429,8e-6 -2.2019394,-5.5795821 z").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):0===t.indexOf("E")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -5.5788451,-8.0958763 10.8749368,0 0,8.34681523 -9.5707468,0.040132 9.5707468,-0.040132 0,8.42707237 -10.9150654,0").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):(e.append("text").classed("cardinality",!0).attr("text-anchor","middle").attr("dy","0.5ex").text(t),!0))},this.generateCardinalityText=function(){if(T.cardinality())return T.cardinality();if(T.minCardinality()||T.maxCardinality()){var e=T.minCardinality()||"*",t=T.maxCardinality()||"*";return e+".."+t}},T.setHighlighting=function(t){T.labelElement&&T.labelElement()&&T.labelElement().select("rect").classed("hovered",t),T.linkGroup().selectAll("path, text").classed("hovered",t),T.markerElement()&&(T.markerElement().select("path").classed("hovered",t),T.cardinalityElement()&&(T.cardinalityElement().selectAll("path").classed("hovered-MathSymbol",t),T.cardinalityElement().classed("hovered",t)));var r=n();r.forEach(function(e){e.labelElement&&e.labelElement()&&e.labelElement().select("rect").classed("indirect-highlighting",t)});var o=!1;e.ignoreOtherHoverEvents()===!1&&(T.inverse()&&(o=!0),e.isTouchDevice()===!1?e.activateHoverElementsForProperties(t,T,o):(T.labelElement().select("rect").classed("hovered",!1),T.linkGroup().selectAll("path, text").classed("hovered",!1),T.markerElement()&&(T.markerElement().select("path").classed("hovered",!1),T.cardinalityElement()&&T.cardinalityElement().classed("hovered",!1)),e.activateHoverElementsForProperties(t,T,o,!0)))},this.foreground=function(){if(T.labelElement()&&null!==T.labelElement().node().parentNode){var e=T.labelElement().node().parentNode,t=e.parentNode,n=T.linkGroup().node(),r=T.linkGroup().node().parentNode;T.animationProcess()===!1&&t.appendChild(e),r.appendChild(n)}},this.drawPin=function(){if(T.pinned(!0),F=e.options().dynamicLabelWidth()===!0?T.getMyWidth():H,T.inverse()){var t=T.labelElement().attr("transform"),n=T.inverse().labelElement().attr("transform"),r=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(t)[2],o=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(n)[2];j=rF&&(F=n),F},this.textWidth=function(){return F},this.width=function(){return F},this.animateDynamicLabelWidth=function(t){if(T.removeHalo(),void 0!==D){var n=T.height();if(t===!0?(F=Math.min(T.getMyWidth(),e.options().maxLabelWidth()),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n}).each("end",function(){T.updateTextElement()})):(F=H,T.updateTextElement(),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n})),T.pinned()===!0&&j){var r=-.5*F+10,o=-25;j.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}}},this.redrawLabelText=function(){L.remove(),T.addTextLabelElement(),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),D.select("title").text(T.labelForCurrentLanguage())},this.addTextLabelElement=function(){var e=T.labelElement(),t=T.equivalentsString(),n=t?",":"";L=new o(e,this.backgroundColor()),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.updateTextElement=function(){L.updateAllTextElements()},this.enableEditing=function(e){e!==!1&&T.raiseDoubleClickEdit(!0)},this.raiseDoubleClickEdit=function(n){if(t.selectAll(".foreignelements").remove(),void 0===T.labelElement()||"owl:disjointWith"===this.type()||"rdfs:subClassOf"===this.type())return void console.log("No Container found");void 0!==_&&T.labelElement().selectAll(".foreignelements").remove(),S=void 0,e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),T.editingTextElement=!0,P=!0,T.labelElement().selectAll("rect").classed("hoveredForEditing",!0),T.frozen(!0),e.killDelayedTimer(),e.ignoreOtherHoverEvents(!1),_=T.labelElement().append("foreignObject").attr("x",-.5*T.textWidth()).attr("y",-13).attr("height",25).attr("class","foreignelements").on("dragstart",function(){return!1}).attr("width",T.textWidth()-2);var r=_.append("xhtml:input").attr("class","nodeEditSpan").attr("id",T.id()).attr("align","center").attr("contentEditable","true").on("dragstart",function(){return!1}),o="#f00",a=T.textWidth()-2;r.style({align:"center",color:"black",width:a+"px","background-color":o,"border-bottom":"2px solid black"});var i=r.node();i.value=T.labelForCurrentLanguage(),i.focus(),i.select(),t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation(),r.on("click",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mouseout",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mousedown",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}).on("keydown",function(){13===t.event.keyCode&&(this.blur(),T.frozen(!1),T.locked(!1))}).on("keyup",function(){if(n){var o=r.node().value,a=o.replaceAll(" ","_"),i=T.baseIri()+a;S=i,t.select("#element_iriEditor").node().title=i,t.select("#element_iriEditor").node().value=e.options().prefixModule().getPrefixRepresentationForFullURI(i)}t.select("#element_labelEditor").node().value=r.node().value}).on("blur",function(){T.editingTextElement=!1,P=!1,T.labelElement().selectAll("rect").classed("hoveredForEditing",!1);var t=r.node().value;if(T.labelElement().selectAll(".foreignelements").remove(),T.label(t),T.backupLabel(t),T.redrawLabelText(),p(!0),e.showHoverElementsAfterAnimation(T,!1),e.ignoreOtherHoverEvents(!1),T.frozen(e.paused()),T.locked(e.paused()),T.domain().frozen(e.paused()),T.domain().locked(e.paused()),T.range().frozen(e.paused()),T.range().locked(e.paused()),e.removeEditElements(),S){var n=e.options().editSidebar().checkProperIriChange(T,S);n!==!1&&e.options().warningModule().showWarning("Already seen this property","Input IRI: "+S+" for element: "+T.labelForCurrentLanguage()+" already been set","Continuing with duplicate property!",1,!1,n),T.iri(S)}e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),e.updatePropertyDraggerElements(T)})},T.copyInformation=function(e){T.label(e.label()),T.iri(e.iri()),T.baseIri(e.baseIri()),"owl:ObjectProperty"!==e.type()&&"owl:DatatypeProperty"!==e.type()||T.backupLabel(e.label()),void 0!==e.backupLabel()&&T.backupLabel(e.backupLabel())},i.addTo(this)};return u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.height=function(){return e},u.prototype.width=function(){return n},u.prototype.actualRadius=function(){return l},u.prototype.textWidth=u.prototype.width,u}()}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e){return e%=360,e<0&&(e+=360),Math.PI*e/180}function n(e){return e*(180/Math.PI)}var r={},o=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal").tension(-1);return r.calculateNormalVector=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=-o,i=r,s=Math.sqrt(a*a+i*i),l=0!==s?n/s:0;return{x:a*l,y:i*l}},r.getLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i);o.increasedLoopAngle===!0&&(s=120);var l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,E]},r.calculateLoopPath=function(t){var r=t.domain(),a=t.label(),i=360/t.loops().length,s=.8*i,l=Math.min(60,s);a.increasedLoopAngle===!0&&(l=120);var u=a.x-r.x,c=a.y-r.y,d=Math.atan2(c,u),p=n(d),f=p-l/2,h=p+l/2,v=e(f),g=e(h),y=Math.cos(v)*r.actualRadius(),m=Math.sin(v)*r.actualRadius(),b=Math.cos(g)*r.actualRadius(),x=Math.sin(g)*r.actualRadius(),E={x:r.x+y,y:r.y+m},w={x:r.x+b,y:r.y+x};return o([E,t.label(),w])},r.calculateLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i),l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,t.label(),E]},r.calculateIntersection=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=Math.sqrt(r*r+o*o);if(0===a)return{x:e.x,y:e.y};var i=t.distanceToBorder(r,o),s=(a-(i+n))/a,l=r*s+e.x,u=o*s+e.y;return{x:l,y:u}},r.calculateCenter=function(e,t){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}},function(){return r}}()}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["datatype"]).styleClass("datatypeproperty").type("owl:DatatypeProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).styleClass("deprecatedproperty").type("owl:DeprecatedProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42),o=n(14);e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n="Disjoint With";this.label=function(e){return arguments.length?this:n},this.linkType("dashed").styleClass("disjointwith").type("owl:disjointWith"),this.drawLabel=function(n){t=this.addRect(n),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",-12.5).attr("r",10),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",12.5).attr("r",10);var r=new o(n,this.backgroundColor());e.options().compactNotation()||r.addSubText("disjoint"),r.translation(0,20)},this.getShapeElement=function(){return t},this.markerElement=function(){}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.styleClass("equivalentproperty").type("owl:equivalentProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["functional"]).styleClass("functionalproperty").type("owl:FunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["inverse functional"]).styleClass("inversefunctionalproperty").type("owl:InverseFunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["object"]).styleClass("objectproperty").type("owl:ObjectProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("somevaluesfromproperty").type("owl:someValuesFrom"),this.generateCardinalityText=function(){var e="E",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["symmetric"]).styleClass("symmetricproperty").type("owl:SymmetricProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["transitive"]).styleClass("transitiveproperty").type("owl:TransitiveProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).styleClass("rdfproperty").type("rdf:Property")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw,o="Subclass of";this.draw=function(r){return t.labelVisible(!e.options().compactNotation()),n(r)},this.label=function(e){return arguments.length?this:o},this.linkType("dotted").markerType("white").styleClass("subclass").type("rdfs:subClassOf"),t.baseIri("http://www.w3.org/2000/01/rdf-schema#"),t.iri("http://www.w3.org/2000/01/rdf-schema#subClassOf")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.labelVisible(!1).linkType("dashed").markerType("white").styleClass("setoperatorproperty").type("setOperatorProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(58),o=n(43)(),a=n(60)(),i=n(63)(),s=n(5)(),l=n(40)();e.exports=function(e){function u(){Te.graphContainerSelector(e);var n=!1;ye=t.layout.force().on("tick",c),me=t.behavior.drag().origin(function(e){return e}).on("dragstart",function(e){t.event.sourceEvent.stopPropagation(),De.ignoreOtherHoverEvents(!0),e.type&&"Class_dragger"===e.type()?(wt.mouseButtonPressed=!0,clearTimeout(Oe),wt.selectedViaTouch(!0),e.parentNode().locked(!0),at=!0):e.type&&"Range_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):e.type&&"Domain_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):(e.locked(!0),n=!1)}).on("drag",function(e){e.type&&"Class_dragger"===e.type()?(clearTimeout(Oe),wt.setPosition(t.event.x,t.event.y)):e.type&&"Range_dragger"===e.type()?(clearTimeout(Oe),Ot.setPosition(t.event.x,t.event.y),kt.setPosition(t.event.x,t.event.y),Ct.updateElementViaRangeDragger(t.event.x,t.event.y)):e.type&&"Domain_dragger"===e.type()?(clearTimeout(Oe),Ct.setPosition(t.event.x,t.event.y),kt.setPositionDomain(t.event.x,t.event.y),Ot.updateElementViaDomainDragger(t.event.x,t.event.y)):(e.px=t.event.x,e.py=t.event.y,ye.resume(),S(),n=!0,e.renderType&&"round"===e.renderType()&&wt.setParentNode(e))}).on("dragend",function(e){if(De.ignoreOtherHoverEvents(!1),e.type&&"Class_dragger"===e.type()){var t=wt.x,r=wt.y;clearTimeout(Oe),wt.mouseButtonPressed=!1,wt.selectedViaTouch(!1),e.setParentNode(e.parentNode());var o=[t,r],a=De.getTargetNode(o);a&&U(e.parentNode(),a,o),Ke===!1&&K(),at=!1}else if(e.type&&"Range_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var s=Ot.x,l=Ot.y,u=[s,l],c=De.getTargetNode(u);i.isDatatype(c)===!0&&(c=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),null===c?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateRange(c),De.update(),kt.hideParentProperty(!1))}else if(e.type&&"Domain_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var d=Ct.x,p=Ct.y,f=[d,p],h=De.getTargetNode(f);i.isDatatype(h)===!0&&(h=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),kt.hideClone(!0),null===h?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateDomain(h),De.update(),kt.hideParentProperty(!1))}else{e.locked(!1);var v=De.options().pickAndPinModule();v.enabled()===!0&&n===!0&&(e.id&&v.handle(e,!0),e.property&&v.handle(e.property(),!0))}}),Me=t.behavior.zoom().duration(150).scaleExtent([Te.minMagnification(),Te.maxMagnification()]).on("zoom",v),nt.push(wt),nt.push(Ot),nt.push(Ct),nt.push(kt),ye.stop()}function c(){if(ct=!1,De.options().loadingModule().successfullyLoadedOntology()===!1)return ye.stop(),t.select("#progressBarValue").node().innerHTML="",De.updateProgressBarMode(),De.options().loadingModule().showErrorDetailsMessage(c),void(yt&&mt===!1&&De.options().loadingModule().collapseDetails("hiddenRecalculatePositions"));if(He===!1){var e=1-10*ye.alpha(),n=parseInt(200*e)+"%";De.options().loadingModule().setPercentValue(n),t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,e>.49&&(He=!0,ne&&(ne.style("opacity","1"),n="100%",t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,De.options().ontologyMenu().append_message_toLastBulletPoint("done"),t.select("#reloadCachedOntology").classed("hidden",!bt),gt===!0&&vt===!1&&(De.options().warningModule().showFilterHint(),vt=!0)),Fe&&(De.paused()===!1&&ye.resume(),Fe=!1),ct=!0,ft===!0?(ye.on("tick",d),d()):(ye.on("tick",p),p()),We===!0&&ye.nodes().length>0&&(ye.nodes().length<10?De.forceRelocationEvent(!0):De.forceRelocationEvent(),We=!1),De.showEditorHintIfNeeded(),De.options().loadingModule().missingImportsWarning()===!1?(De.options().loadingModule().hideLoadingIndicator(),De.options().ontologyMenu().append_bulletPoint("Successfully loaded ontology"),De.options().loadingModule().setSuccessful()):(De.options().loadingModule().showWarningDetailsMessage(),De.options().ontologyMenu().append_bulletPoint("Loaded ontology with warnings")))}}function d(){p(),_e=Date.now();var e=_e-je,t=(1e3/e).toFixed(2);ut.node().innerHTML="FPS: "+t+"
    Nodes: "+ye.nodes().length+"
    Links: "+ye.links().length,je=Date.now()}function p(){return lt?(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1!==n.layers().length||n.loops())e.linkDomainIntersection=o.calculateIntersection(n.label(),n.domain(),0),e.linkRangeIntersection=o.calculateIntersection(n.label(),n.range(),0),n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement());else{var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y,e.linkRangeIntersection=a,e.linkDomainIntersection=r,n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement())}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop()){var t=o.getLoopPoints(e);return e.label().linkRangeIntersection=t[1],e.label().linkDomainIntersection=t[0],e.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement()),o.calculateLoopPath(e)}var n=e.label(),r=o.calculateIntersection(n,e.domain(),1),a=o.calculateIntersection(n,e.range(),1);return e.linkRangeIntersection=r,e.linkDomainIntersection=a,e.property().focused()!==!0&&void 0===ot||(Ct.updateElement(),Ot.updateElement()),Se([r,n,a])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),rt&&(ee(rt),Q(rt),at===!1&&wt.setParentNode(rt)),ot&&te(ot),void S()):(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1===n.layers().length&&!n.loops()){ +var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop())return o.calculateLoopPath(e);var t=e.label(),n=o.calculateIntersection(t,e.domain(),1),r=o.calculateIntersection(t,e.range(),1);return Se([n,t,r])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),void S())}function f(){function e(e){Te.selectionModules().forEach(function(t){t.handle(e)})}se.on("click",function(n){Ke===!0&&G()===!0?(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n))):e(n)}),se.on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))}),le.selectAll(".label").on("click",function(n){e(n),Ke===!0&&G()===!0&&(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n)))}),le.selectAll(".label").on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))})}function h(e){if(De.options().getGeneralMetaObject().iri){var t=De.options().getGeneralMetaObject().iri+e.id();return e.iri()===t}return!1}function v(){if(pt===!0)return Me.translate(Ve),void Me.scale(Be);var e=!1;if(t.event.sourceEvent&&t.event.sourceEvent.deltaY&&(e=!0),e===!1){if(ze===!0)return;return Be=t.event.scale,Ve=t.event.translate,ne.attr("transform","translate("+Ve+")scale("+Be+")"),S(),void De.options().zoomSlider().updateZoomSliderValue(Be)}Be=t.event.scale,Ve=t.event.translate,ne.transition().tween("attr.translate",function(){return function(e){ze=!0;var n=t.transform(ne.attr("transform"));Ve[0]=n.translate[0],Ve[1]=n.translate[1],Be=n.scale[0],S(),De.options().zoomSlider().updateZoomSliderValue(Be)}}).each("end",function(){ze=!1}).attr("transform","translate("+Ve+")scale("+Be+")").ease("linear").duration(250)}function g(){b(),ne=t.selectAll(Te.graphContainerSelector()).append("svg").classed("vowlGraph",!0).attr("width",Te.width()).attr("height",Te.height()).call(Me).append("g");var e=t.selectAll(".vowlGraph");Qe=e.on("dblclick.zoom"),et=e.on("touchstart"),e.on("touchstart",Z),lt===!0?e.on("dblclick.zoom",De.modified_dblClickFunction):e.on("dblclick.zoom",Qe)}function y(){Ee=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("addDataPropertyElement",!0).attr("transform","translate(0,0)"),Ee.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",-8).attr("y1",0).attr("x2",8).attr("y2",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",0).attr("y1",-8).attr("x2",0).attr("y2",8).append("title").text("Add Datatype Property"),De.options().useAccuracyHelper()&&Ee.append("circle").attr("r",15).attr("cx",-7).attr("cy",7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject()),xe=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("deleteParentElement",!0).attr("transform","translate(0,0)"),xe.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Delete This Node");var e=5;xe.append("line").attr("x1",-e).attr("y1",-e).attr("x2",e).attr("y2",e).append("title").text("Delete This Node"),xe.append("line").attr("x1",e).attr("y1",-e).attr("x2",-e).attr("y2",e).append("title").text("Delete This Node"),De.options().useAccuracyHelper()&&xe.append("circle").attr("r",15).attr("cx",7).attr("cy",-7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject())}function m(){var e;if(ne){ne.selectAll("*").remove(),ie=ne.append("g").classed("linkContainer",!0),ae=ne.append("g").classed("cardinalityContainer",!0),oe=ne.append("g").classed("labelContainer",!0),re=ne.append("g").classed("nodeContainer",!0);var n=ne.append("g").classed("linkContainer",!0);tt=ne.append("g").classed("editContainer",!0),we=ne.append("g").classed("editContainer",!0),n.classed("hidden-in-export",!0),we.classed("hidden-in-export",!0),tt.classed("hidden-in-export",!0),e=ie.append("defs");var r=tt.selectAll(".node").data(nt).enter().append("g").classed("node",!0).classed("hidden-in-export",!0).attr("id",function(e){return e.id()}).call(me);r.each(function(e){e.svgRoot(t.select(this)),e.svgPathLayer(n),"shadowClone"===e.type()?(e.drawClone(),e.hideClone(!0)):(e.drawNode(),e.hideDragger(!0))}),y(),e=ie.append("defs"),void 0===pe&&(pe=[]),se=re.selectAll(".node").data(pe).enter().append("g").classed("node",!0).attr("id",function(e){return e.id()}).call(me),se.each(function(e){e.draw(t.select(this))}),void 0===fe&&(fe=[]),le=oe.selectAll(".labelGroup").data(fe).enter().append("g").classed("labelGroup",!0).call(me),le.each(function(e){var n=e.draw(t.select(this));e.property().labelObject(e),n||t.select(this).remove()}),le.each(function(e){if(this.parentNode&&i.isRdfsSubClassOf(e.property())){var t=this.parentNode;t.insertBefore(this,t.firstChild)}}),void 0===ve&&(ve=[]),de=ae.selectAll(".cardinality").data(ve).enter().append("g").classed("cardinality",!0),de.each(function(e){var n=e.drawCardinality(t.select(this));n||t.select(this).remove()}),void 0===he&&(he=[]),ue=ie.selectAll(".link").data(he).enter().append("g").classed("link",!0),ue.each(function(n){n.draw(t.select(this),e)}),ce=ue.selectAll("path"),f()}}function b(){ne&&t.select(ne.node().parentNode).remove()}function x(){Ze=[];for(var e,t=0;t0)for(var r=0;r0?(ne.style("opacity","0"),ye.on("tick",c)):(ne.style("opacity","1"),ft===!0?ye.on("tick",d):ye.on("tick",p)),ye.start()):(ye.stop(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),n.setErrorMode()),De.options().clearMetaObject(),De.options().clearGeneralMetaObject(),De.options().editSidebar().clearMetaObjectValue(),void 0!==Te.data()){var a=Te.data().header;if(a){if(a.iri&&De.options().addOrUpdateGeneralObjectEntry("iri",a.iri),a.title&&De.options().addOrUpdateGeneralObjectEntry("title",a.title),a.author&&De.options().addOrUpdateGeneralObjectEntry("author",a.author),a.version&&De.options().addOrUpdateGeneralObjectEntry("version",a.version),a.description&&De.options().addOrUpdateGeneralObjectEntry("description",a.description),a.prefixList){var i=a.prefixList;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];De.options().addPrefix(s,l)}}if(a.other){var u=a.other;for(var f in u)if(u.hasOwnProperty(f)){var h=u[f];h.hasOwnProperty("identifier")&&h.hasOwnProperty("value")&&De.options().addOrUpdateMetaObjectEntry(h.identfier,h.value)}}}}var v=r.clone(ge);Te.filterModules().forEach(function(e){v=P(e,v,!0)}),w(ge),Re.parseSettings(),qe=Re.settingsImported(),We=!0,Re.settingsImportGraphZoomAndTranslation()===!0&&(We=!1),De.options().searchMenu().requestDictionaryUpdate(),De.options().editSidebar().updateGeneralOntologyInfo(),De.options().editSidebar().updatePrefixUi(),De.options().editSidebar().updateElementWidth()}function C(){he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function k(){var e=Te.literalFilter().enabled();De.executeEmptyLiteralFilter(),Te.literalFilter().enabled(e);var t=r.clone(ge);Te.filterModules().forEach(function(e){t=P(e,t)}),Te.focuserModule().handle(void 0,!0),pe=t.nodes,ve=t.properties,he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function P(e,t,n){return he=a.createLinks(t.properties),_(t.nodes,he),n&&e.initialize&&e.initialize(t.nodes,t.properties),e.filter(t.nodes,t.properties),{nodes:e.filteredNodes(),properties:e.filteredProperties()}}function _(e,t){for(var n=0,r=e.length;n0)for(var e=ye.nodes(),t=0;tr||f<0||f>o){p<0&&f<0?(v=0,g=0):p>0&&pr&&f<0?(v=r,g=0):p>r&&f>0&&fr&&f>o?(v=r,g=o):p>0&&po?(v=p,g=o):p<0&&f>o?(v=0,g=o):p<0&&f>0&&f2500&&(u=2500),ne.attr("transform",N(a,n,r)).transition().duration(u).attrTween("transform",function(){return function(e){return N(l(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S()})}function H(e,t,n,r){var o,a,i=r[0];return i?(o=(e-n[0])/i,a=(t-n[1])/i):(o=(e-n[0])/r,a=(t-n[1])/r),{x:o,y:a}}function B(e,t){var n=De.options().width(),r=De.options().height(),o=T(e.x,e.y,Ve,Be),a=o.x,i=o.y,s=!(a<0||a>n||i<0||i>r);return s}function W(){Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),wt.hideDragger(!0),Ee&&Ee.classed("hidden",!0),xe&&xe.classed("hidden",!0),rt&&rt.pinned()===!1&&(rt.locked(De.paused()),rt.frozen(De.paused())),ot&&ot.pinned()===!1&&(ot.locked(De.paused()),ot.frozen(De.paused()))}function z(e){return t.map(e.values(),function(e){return(new e).type().toLowerCase()})}function V(e){var n,r,o=!0,a=t.select("#defaultClass").node().title;r=xt.get(a.toLowerCase()),n=new r(De);var i=!1;"owl:Thing"===a?n.label("Thing"):(n.label("NewClass"),i=!0),n.x=e.x,n.y=e.y,n.px=n.x,n.py=n.y,n.id("Class"+st++),n.baseIri(t.select("#iriEditor").node().value),n.iri(n.baseIri()+n.id()),q(n,o),Te.focuserModule().handle(n,!0),n.frozen(De.paused()),n.locked(De.paused()),n.enableEditing(i)}function q(e){ge.nodes.push(e),pe.indexOf(e)===-1&&pe.push(e),w(ge),De.getUpdateDictionary(),De.fastUpdate()}function U(e,n,r){var o=t.select("#defaultProperty").node().title;if(De.sanityCheckProperty(e,n,o)===!1)return!1;var a=Et.get(o.toLowerCase()),i=new a(De);if(i.id("objectProperty"+it++),i.domain(e),i.range(n),i.label("newObjectProperty"),i.baseIri(t.select("#iriEditor").node().value),i.iri(i.baseIri()+i.id()),De.propertyCheckExistenceChecker(i,e,n)===!1)return!1;var s=!1;"owl:objectProperty"===o&&(s=!0);var l=.49*(e.x+n.x),u=.49*(e.y+n.y);if(e===n){var c=r[0]-e.x,d=r[1]-e.y,p=Math.sqrt(c*c+d*d),f=c/p,h=d/p;isNaN(p)&&(f=0,h=-1);var v=2*e.actualRadius()+50;l=e.x+v*f,u=e.y+v*h}e.addProperty(i),n.addProperty(i),ge.properties.push(i),ve.indexOf(i)===-1&&ve.push(i),De.fastUpdate(),i.labelObject().x=l,i.labelObject().px=l,i.labelObject().y=u,i.labelObject().py=u,i.frozen(De.paused()),i.locked(De.paused()),e.frozen(De.paused()),e.locked(De.paused()),n.frozen(De.paused()),n.locked(De.paused()),w(ge),De.getUpdateDictionary(),Te.focuserModule().handle(i),De.activateHoverElementsForProperties(!0,i,!1,Ke),i.labelObject().increasedLoopAngle=!0,i.enableEditing(s)}function G(){var e=t.event.timeStamp,n=1;return t.event&&t.event.touches&&t.event.touches.length&&(n=t.event.touches.length),e-be<300&&1===n&&(t.event.stopPropagation(),lt===!0)?(t.event.preventDefault(),t.event.stopPropagation(),be=e,!0):(be=e,!1)}function Z(){pt=!0;var e=t.event.timeStamp;return e-be<300&&1===t.event.touches.length?(t.event.stopPropagation(),void(lt===!0?(t.event.preventDefault(),t.event.stopPropagation(),Me.translate(Ve),Me.scale(Be),De.modified_dblTouchFunction()):(pt=!1,et&&et()))):(pt=!1,be=e,void(et&&et()))}function $(e){if(e!==!0){if(rt){if(rt.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&rt.editingTextElement===!1&&(rt.frozen(!1),rt.locked(!1))},1e3)}if(ot){if(ot.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),ot&&ot.focused()===!0&&De.options().drawPropertyDraggerOnHover()===!0&&(ot.labelObject().increasedLoopAngle=!1,p()),ot&&ot.pinned()===!1&&De.paused()===!1&&ot.editingTextElement===!1&&(ot.frozen(!1),ot.locked(!1))},1e3)}}}function X(){wt.nodeElement.classed("classDraggerNodeHovered",!0),wt.nodeElement.classed("classDraggerNode",!1),J()}function Y(){wt.nodeElement.classed("classDraggerNodeHovered",!1),wt.nodeElement.classed("classDraggerNode",!0),K()}function J(e){e!==!0&&clearTimeout(Oe)}function K(e){if(rt){if(De.ignoreOtherHoverEvents()===!0||e===!0||rt.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&(rt.frozen(!1),rt.locked(!1)))},1e3)}if(ot){if(De.ignoreOtherHoverEvents()===!0||e===!0||ot.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),ot&&ot.pinned()===!1&&De.paused()===!1&&(ot.frozen(!1),ot.locked(!1)))},1e3)}}function Q(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x-o,n=e.y+a,Ee.attr("transform","translate("+t+","+n+")")}}function ee(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x+o,n=e.y-a}else t=e.x+.5*e.width()+6,n=e.y-.5*e.height()-6;xe.attr("transform","translate("+t+","+n+")")}function te(e,t){if(e&&e.labelElement()){var n=[e.labelObject().x,e.labelObject().y],r=parseFloat(e.getShapeElement().attr("width")),o=parseFloat(e.getShapeElement().attr("height")),a=n[0]+.5*r+6,i=n[1]-.5*o-6;"translate(0,15)"===e.labelElement().attr("transform")&&(i+=15),"translate(0,-15)"===e.labelElement().attr("transform")&&(i-=15),xe.attr("transform","translate("+a+","+i+")")}else xe.classed("hidden",!0)}var ne,re,oe,ae,ie,se,le,ue,ce,de,pe,fe,he,ve,ge,ye,me,be,xe,Ee,we,Oe,Ce,ke,Pe,_e,je,Me,De={},Le=20,Ae=10,Se=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal"),Te=n(64)(),Re=n(65)(De),Ie="default",Ne=!1,Fe=!0,He=!1,Be=1,We=!1,ze=!1,Ve=[0,0],qe=!1,Ue=[],Ge=[],Ze=[],$e=0,Xe=1,Ye=.8,Je=-1,Ke=!1,Qe=null,et=null,tt=null,nt=[],rt=null,ot=null,at=!1,it=0,st=0,lt=!0,ut=t.select("#FPS_Statistics"),ct=!1,dt=!1,pt=!1,ft=!1,ht=!1,vt=!1,gt=!1,yt=!0,mt=!1,bt=!1,xt=z(s),Et=z(l),wt=n(68)(De),Ot=n(69)(De),Ct=n(70)(De),kt=n(71)(De);De.math=function(){return o},De.isEditorMode=function(){return lt},De.getGlobalDOF=function(){return Je},De.setGlobalDOF=function(e){Je=e},De.updateZoomSliderValueFromOutside=function(){De.options().zoomSlider().updateZoomSliderValue(Be)},De.setDefaultZoom=function(e){Xe=e,De.reset(),De.options().zoomSlider().updateZoomSliderValue(Xe)},De.setTargetZoom=function(e){Ye=e},De.graphOptions=function(){return Te},De.scaleFactor=function(){return Be},De.translation=function(){return Ve},De.graphNodeElements=function(){return se},De.graphLabelElements=function(){return fe},De.graphLinkElements=function(){return he},De.setSliderZoom=function(e){var n=.5*De.options().width(),r=.5*De.options().height(),o=H(n,r,Ve,Be),a=[o.x,o.y,De.options().height()/Be],i=[o.x,o.y,De.options().height()/e],s=t.interpolateZoom(a,i);ne.attr("transform",N(a,n,r)).transition().duration(1).attrTween("transform",function(){return function(e){return N(s(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be)})},De.setZoom=function(e){Me.scale(e)},De.setTranslation=function(e){Me.translate([e[0],e[1]])},De.options=function(){return Te},De.getUpdateDictionary=function(){return Re.getDictionary()},De.language=function(e){return arguments.length?(Ie!==e&&(Ie=e||"default",m(),p(),De.options().searchMenu().requestDictionaryUpdate(),De.resetSearchHighlight()),De):Ie},De.lazyRefresh=function(){m(),p()},De.adjustingGraphSize=function(e){mt=e},De.showReloadButtonAfterLayoutOptimization=function(e){bt=e},De.showEditorHintIfNeeded=function(){ht===!1&<===!0&&(ht=!0,De.options().warningModule().showEditorHint())},De.setForceTickFunctionWithFPS=function(){ft=!0,ye&&ct===!0&&ye.on("tick",d)},De.setDefaultForceTickFunction=function(){ft=!1,ye&&ct===!0&&ye.on("tick",p)},De.updatePropertyDraggerElements=function(e){"owl:DatatypeProperty"!==e.type()?(kt.setParentProperty(e),Ot.setParentProperty(e),Ot.hideDragger(!1),Ot.addMouseEvents(),Ct.setParentProperty(e),Ct.hideDragger(!1),Ct.addMouseEvents()):(Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0))},De.getUnfilteredData=function(){return ge},De.getClassDataForTtlExport=function(){for(var e=ge.nodes,t=[],n=0;nn&&(o=n);var a=.5*De.options().width(),i=.5*De.options().height(),s=H(a,i,Ve,Be),l=[s.x,s.y,De.options().height()/Be],u=[s.x,s.y,De.options().height()/o],c=t.interpolateZoom(l,u);ne.attr("transform",N(l,a,i)).transition().duration(250).attrTween("transform",function(){return function(e){return N(c(e),a,i)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S(),Te.zoomSlider().updateZoomSliderValue(Be)})};var Pt=null;De.clearAllGraphData=function(){Pt=De.graphNodeElements()&&De.graphNodeElements().length>0?De.options().exportMenu().createJSON_exportObject():null,ye.stop(),ge&&(ge.nodes=[],ge.properties=[])},De.getCachedJsonObj=function(){return Pt},De.clearGraphData=function(){ye.stop();var e=De.options().sidebar();e&&e.clearOntologyInformation(),ne&&g()},De.updateProgressBarMode=function(){var e=De.options().loadingModule(),t=e.getProgressBarMode();switch(t){case 0:e.setErrorMode();break;case 1:e.setBusyMode();break;case 2:e.setPercentMode();break;default:e.setPercentMode()}},De.setFilterWarning=function(e){gt=e},De.handleOnLoadingError=function(){ye.stop(),De.clearGraphData(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").classed("busyProgressBar",!1),De.options().loadingModule().setErrorMode(),De.options().loadingModule().showErrorDetailsMessage()},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0){if(ze===!0)return;var e=ye.nodes()[Ue[$e]];$e++,$e%=Ue.length,e.id&&e.foreground(),e.property&&e.property().foreground(),F(e)}},De.resetSearchHighlight=function(){Ue=[],Ge=[];var e,t=ge.nodes,n=ge.properties;for(e=0;e0?(t.select("#locateSearchResult").classed("highlighted",!0),t.select("#locateSearchResult").node().title="Locate search term"):(t.select("#locateSearchResult").classed("highlighted",!1),t.select("#locateSearchResult").node().title="Nothing to locate")},De.highLightNodes=function(e){if(0!==e.length){Ue=[],Ge=e;for(var n=[],r=0;rMe.scaleExtent()[1]&&(h=Me.scaleExtent()[1]),hMe.scaleExtent()[1]&&(g=Me.scaleExtent()[1]),g2500&&(w=2500),ne.attr("transform",N(b,f,h)).transition().duration(w).attrTween("transform",function(){return function(t){if(e){var n=_t(),r=n[0](t);return N(r,f,h)}return N(E(t),f,h)}}).each("end",function(){e||(ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be))})},De.isADraggerActive=function(){return wt.mouseButtonPressed===!0||Ct.mouseButtonPressed===!0||Ot.mouseButtonPressed===!0},De.changeNodeType=function(e){var n=t.select("#typeEditor").node().value;if(De.classesSanityCheck(e,n)===!1)return void De.options().editSidebar().updateSelectionInformation(e);var r=xt.get(n.toLowerCase()),o=new r(De);if(o.x=e.x,o.y=e.y,o.px=e.x,o.py=e.y,o.id(e.id()),o.copyInformation(e),"owl:Thing"===n?o.label("Thing"):i.isDatatype(e)===!1&&(void 0!==e.backupLabel()?o.label(e.backupLabel()):void 0!==o.backupLabel()?o.label(o.backupLabel()):o.label("NewClass")),"rdfs:Datatype"===n)if("undefined"===o.dType())o.label("undefined");else{var a=o.dType().split(":")[1];o.label(a)}var s;for(s=0;sa?null:"rect"===r.renderType()?null:r===rt&&o<=rt.actualRadius()?r:r===rt&&o>rt.actualRadius()?null:r}return o>r.actualRadius()+30?null:r},De.genericPropertySanityCheck=function(e,t,n,r,o){return e===t&&"rdfs:subClassOf"===n?(De.options().warningModule().showWarning(r,"rdfs:subClassOf can not be created as loops (domain == range)",o,1,!1),!1):e===t&&"owl:disjointWith"===n?(De.options().warningModule().showWarning(r,"owl:disjointWith can not be created as loops (domain == range)",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:someValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===t.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not be connected to owl:Thing",o,1,!1),!1):"owl:Thing"!==t.type()||"owl:someValuesFrom"!==n||(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not be connected to owl:Thing",o,1,!1),!1)},De.checkIfIriClassAlreadyExist=function(e){for(var t=ge.nodes,n=0;n2){var s="You are about to delete 1 class and "+n.length+" properties";0!==o&&(s="You are about to delete 1 class, "+o+" datatypes and "+n.length+" properties"),De.options().warningModule().responseWarning("Removing elements",s,"Awaiting response!",De.removeNodesViaResponse,[r,n],!1)}else{for(a=0;a1&&(Te.literalFilter().filter(ge.nodes,ge.properties),ge.nodes=Te.literalFilter().filteredNodes(),ge.properties=Te.literalFilter().filteredProperties())},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0&&n(l)?t>1?x(l,t-1,n,r,o):a(o,l):r||(o[o.length]=l)}return o}function E(e,t){return e&&$t(e,t,dn)}function w(e,t){return b(t,function(t){return Te(e[t])})}function O(e){return te(e)}function C(e,t){return e>t}function k(e){return Ne(e)&&O(e)==yt}function P(e,t,n,r,o){return e===t||(null==e||null==t||!Ne(e)&&!Ne(t)?e!==e&&t!==t:_(e,t,n,r,P,o))}function _(e,t,n,r,o,a){var i=nn(e),s=nn(t),l=i?ht:O(e),u=s?ht:O(t);l=l==ft?wt:l,u=u==ft?wt:u;var c=l==wt,d=u==wt,p=l==u;a||(a=[]);var f=Jt(a,function(t){return t[0]==e}),h=Jt(a,function(e){return e[0]==t});if(f&&h)return f[1]==t;if(a.push([e,t]),a.push([t,e]),p&&!c){var v=i?Z(e,t,n,r,o,a):$(e,t,l,n,r,o,a);return a.pop(),v}if(!(n&st)){var g=c&&Nt.call(e,"__wrapped__"),y=d&&Nt.call(t,"__wrapped__");if(g||y){var m=g?e.value():e,b=y?t.value():t,v=o(m,b,n,r,a);return a.pop(),v}}if(!p)return!1;var v=X(e,t,n,r,o,a);return a.pop(),v}function j(e){return Ne(e)&&O(e)==Ct}function M(e){return"function"==typeof e?e:null==e?Ye:("object"==typeof e?A:s)(e)}function D(e,t){return eo?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++rt||a&&i&&l&&!s&&!u||r&&i&&l||!n&&l||!o)return 1;if(!r&&!a&&!u&&e1?n[o-1]:ot;for(a=e.length>3&&"function"==typeof a?(o--,a):ot,t=Object(t);++r-1?o[a?t[i]:i]:ot}}function G(e,t,n,r){function o(){for(var t=-1,s=arguments.length,l=-1,u=r.length,c=Array(u+s),d=this&&this!==At&&this instanceof o?i:e;++ls))return!1;for(var u=-1,c=!0,d=n<?[]:ot;++u-1&&e%1==0&&e0&&(n=t.apply(this,arguments)),e<=1&&(t=ot),n}}function ke(e){if("function"!=typeof e)throw new TypeError(it);return function(){var t=arguments;return!e.apply(this,t)}}function Pe(e){return Ce(2,e)}function _e(e){return Ie(e)?nn(e)?I(e):B(e,qt(e)):e}function je(e,t){return e===t||e!==e&&t!==t}function Me(e){return null!=e&&Re(e.length)&&!Te(e)}function De(e){return e===!0||e===!1||Ne(e)&&O(e)==gt}function Le(e){return Me(e)&&(nn(e)||We(e)||Te(e.splice)||tn(e))?!e.length:!qt(e).length}function Ae(e,t){return P(e,t)}function Se(e){return"number"==typeof e&&Vt(e)}function Te(e){if(!Ie(e))return!1;var t=O(e);return t==bt||t==xt||t==vt||t==Ot}function Re(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=pt}function Ie(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ne(e){return null!=e&&"object"==typeof e}function Fe(e){return Be(e)&&e!=+e}function He(e){return null===e}function Be(e){return"number"==typeof e||Ne(e)&&O(e)==Et}function We(e){return"string"==typeof e||!nn(e)&&Ne(e)&&O(e)==kt}function ze(e){return e===ot}function Ve(e){return Me(e)?e.length?I(e):[]:$e(e)}function qe(e){return"string"==typeof e?e:null==e?"":e+""}function Ue(e,t){var n=Gt(e);return null==t?n:ln(n,t)}function Ge(e,t){return null!=e&&Nt.call(e,t)}function Ze(e,t,n){var r=null==e?ot:e[t];return r===ot&&(r=n),Te(r)?r.call(e):r}function $e(e){return null==e?[]:c(e,dn(e))}function Xe(e){return e=qe(e),e&&_t.test(e)?e.replace(Pt,Tt):e}function Ye(e){return e}function Je(e){return A(ln({},e))}function Ke(e,t,n){var r=dn(t),o=w(t,r);null!=n||Ie(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=w(t,dn(t)));var i=!(Ie(n)&&"chain"in n&&!n.chain),s=Te(e);return Zt(o,function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=I(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,a([this.value()],arguments))})}),e}function Qe(){return At._===this&&(At._=Bt),this}function et(){}function tt(e){var t=++Ft;return qe(e)+t}function nt(e){return e&&e.length?m(e,Ye,C):ot}function rt(e){return e&&e.length?m(e,Ye,D):ot}var ot,at="4.17.11",it="Expected a function",st=1,lt=2,ut=1,ct=32,dt=1/0,pt=9007199254740991,ft="[object Arguments]",ht="[object Array]",vt="[object AsyncFunction]",gt="[object Boolean]",yt="[object Date]",mt="[object Error]",bt="[object Function]",xt="[object GeneratorFunction]",Et="[object Number]",wt="[object Object]",Ot="[object Proxy]",Ct="[object RegExp]",kt="[object String]",Pt=/[&<>"']/g,_t=RegExp(Pt.source),jt=/^(?:0|[1-9]\d*)$/,Mt={"&":"&","<":"<",">":">",'"':""","'":"'"},Dt="object"==typeof e&&e&&e.Object===Object&&e,Lt="object"==typeof self&&self&&self.Object===Object&&self,At=Dt||Lt||Function("return this")(),St="object"==typeof t&&t&&!t.nodeType&&t,Tt=(St&&"object"==typeof o&&o&&!o.nodeType&&o,l(Mt)),Rt=Array.prototype,It=Object.prototype,Nt=It.hasOwnProperty,Ft=0,Ht=It.toString,Bt=At._,Wt=Object.create,zt=It.propertyIsEnumerable,Vt=At.isFinite,qt=d(Object.keys,Object),Ut=Math.max,Gt=function(){function e(){}return function(t){if(!Ie(t))return{};if(Wt)return Wt(t);e.prototype=t;var n=new e;return e.prototype=ot,n}}();f.prototype=Gt(p.prototype),f.prototype.constructor=f;var Zt=z(E),$t=V(),Xt=et,Yt=Ye,Jt=U(ae),Kt=T(function(e,t,n){return G(e,ut|ct,t,n)}),Qt=T(function(e,t){return g(e,1,t)}),en=T(function(e,t,n){return g(e,sn(t)||0,n)}),tn=Xt(function(){return arguments}())?Xt:function(e){return Ne(e)&&Nt.call(e,"callee")&&!zt.call(e,"callee")},nn=Array.isArray,rn=k,on=j,an=Number,sn=Number,ln=W(function(e,t){B(t,qt(t),e)}),un=W(function(e,t){B(t,ee(t),e)}),cn=T(function(e,t){e=Object(e);var n=-1,r=t.length,o=r>2?t[2]:ot;for(o&&Q(t[0],t[1],o)&&(r=1);++n=0){e.visualAttributes().push(o);break}}function n(e){var t,n,r;for(t=0,n=x.length;t=0&&e.indications().push(r)}function r(e){var t,n,r;for(t=0,n=E.length;t=0&&e.indications().push(r)}var o={},a="anonymous",i="datatype",s="deprecated",l="external",u="object",c="rdf",d="asymmetric",p="functional",f="inverse functional",h="irreflexive",v="key",g="reflexive",y="symmetric",m="transitive",b=[[s,i,u,c],[a]],x=[s,l],E=[d,p,f,h,v,g,y,m];return o.parseClassAttributes=function(t){t.attributes()instanceof Array&&(e(t),n(t))},o.parsePropertyAttributes=function(t){t.attributes()instanceof Array&&(e(t),r(t))},function(){return o}}()},function(e,t,n){(function(t){function r(e){return function(t){return e[t]}}function o(e,n){var r=a(e,n),o=t.set(r.keys());if(o.remove(v),o.remove(g),1===o.size()){var i=o.values()[0],s=r.get(i);if(1===s.length)return s[0]}}function a(e,n){var r=t.map();return e.forEach(function(e){if(void 0!==e){var t=n[e.range()],o=t.type();r.has(o)||r.set(o,[]),r.get(o).push(t)}}),r}function i(e,t){var n;return n=p.isDatatypeProperty(e)?new d(t):new c(t),n.id(h+e.id()),n}function s(e,t,n,r){var o=[];return e.forEach(function(e){if(void 0!==e&&void 0!==t){var a=e.range();e.range(t.id()),l(a,n)||o.push(a),r.add(e.id())}}),o}function l(e,t){for(var n=0;n-1?(p=void 0,d.classed("deprecatedproperty",!0)):d.classed("deprecatedproperty",!1),d.style("fill",p);var f=e.equivalentsString(),h=f?",":"",v=new r(t.rootNodeLayer,p);v.addText(e.labelForCurrentLanguage(),"",h),v.addEquivalents(f),v.addSubText(e.indicationString());var g=.5*(t.s_x+t.e_x),y=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+g+","+y+")"),t.rootNodeLayer.classed("hidden",!0),t.pathElement.classed("hidden",!0)},t.hideClone=function(e){t.rootNodeLayer&&t.rootNodeLayer.classed("hidden",e),t.pathElement&&t.pathElement.classed("hidden",e)},t.hideParentProperty=function(e){var n=t.parent.labelObject();n&&("translate(0,15)"!==t.parent.labelElement().attr("transform")&&"translate(0,-15)"!==t.parent.labelElement().attr("transform")||t.parent.inverse().hide(e)),t.parent.hide(e)},t.id=function(e){return arguments.length?void(t.nodeId=e):t.nodeId},t.svgPathLayer=function(e){t.pathLayer=e.append("g")},t.svgRoot=function(e){return arguments.length?(t.rootElement=e,void(t.rootNodeLayer=t.rootElement.append("g"))):t.rootElement},t.drawClone=function(){t.pathElement=t.pathLayer.append("line"),t.pathElement.attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",0)},t.updateElement=function(){t.pathElement.attr("x1",t.e_x).attr("y1",t.e_y).attr("x2",t.s_x).attr("y2",t.s_y);var e=.5*(t.s_x+t.e_x),n=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+e+","+n+")")},t.setInitialPosition=function(){var e=t.parent.labelObject();if(e.linkRangeIntersection&&e.linkDomainIntersection){var n=e.linkRangeIntersection,r=e.linkDomainIntersection;t.e_x=r.x,t.e_y=r.y,t.s_x=n.x,t.s_y=n.y}t.updateElement()},t.setPositionDomain=function(e,n){var r=t.parent.range().x,i=t.parent.range().y;if(o.isDatatype(t.parent.range())===!0){var s=a.calculateIntersection({x:e,y:n},t.parent.range(),0);t.s_x=s.x,t.s_y=s.y}else{var l=r-e,u=i-n,c=Math.sqrt(l*l+u*u),d=l/c,p=u/c;t.s_x=r-d*t.parent.range().actualRadius(),t.s_y=i-p*t.parent.range().actualRadius()}t.e_x=e,t.e_y=n,t.updateElement()},t.setPosition=function(e,n){t.s_x=e,t.s_y=n;var r=t.parent.domain().x,o=t.parent.domain().y,a=e-r,i=n-o,s=Math.sqrt(a*a+i*i),l=a/s,u=i/s;t.e_x=r+l*t.parent.domain().actualRadius(),t.e_y=o+u*t.parent.domain().actualRadius(),t.updateElement()},t}},function(e,t){e.exports=function(e){function t(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function n(t){var n={base:"",resource:""};if(void 0===t)return n={base:"ERROR",resource:"NOT FOUND"};var r,o;return t.indexOf("#")>-1?(r=t.substring(t.lastIndexOf("#")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r):(r=t.substring(t.lastIndexOf("/")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r),n}var r,o={};return o.updatePrefixModel=function(){r=e.options().prefixList()},o.validURL=function(e){return t(e)},o.getPrefixRepresentationForFullURI=function(e){o.updatePrefixModel();var t=n(e);for(var a in r)if(r.hasOwnProperty(a)&&r[a]===t.base)return a+":"+t.resource;return":"===t.base?":"+t.resource:e},o}},function(e,t,n){(function(t){var r=n(58);e.exports=function(){function e(e){return e.filter(function(e){return!(e.visualAttributes().indexOf("deprecated")>=0)&&e.attributes().indexOf("external")>=0})}function n(e){for(var n=o(e),i=n.entries(),s=t.scale.linear().domain([0,i.length-1]).range(r.find(p,{type:v}).range).interpolate(t.interpolateHsl),l=0;l=0&&s.splice(n,1)}}),{nodes:s,properties:l}},function(){return t}}()},function(e,t,n){var r=n(46);e.exports=function(){function e(){var e,t,o,a=[];for(e=0,t=n.length;e=0?n<=t?n:(e.getGraphObject().setGlobalDOF(t),t):e.getDefaultDegreeValue()}function a(e){for(var t=0,n=0,r=e.length;n=e}}var c,d,p,f,h,v,g,y,m={},b=!0,x=50;return m.initialize=function(r,o){g=-1;var i=a(r);h instanceof Function&&h(i),e.setDefaultDegreeValue(t(r,o,i));var s=n(i);y instanceof Function?(y(s),s>0&&(e.highlightForDegreeSlider(!0),e.getGraphObject().setFilterWarning(!0))):console.error("No degree setter function set.")},m.filter=function(e,t){c=e,d=t,this.enabled()&&(v instanceof Function?s(v()):console.error("No degree query function set.")),p=c,f=d,0===p.length&&(y(0),p=e,f=t),g=v()},m.setMaxDegreeSetter=function(e){h=e},m.setDegreeGetter=function(e){v=e},m.setDegreeSetter=function(e){y=e},m.enabled=function(e){return arguments.length?(b=e,m):b},m.filteredNodes=function(){return p},m.filteredProperties=function(){return f},m}},function(e,t){e.exports=function(e){var t,n,r,o,a=!0,i={},s=a;return i.filter=function(a,i){t=a,n=i,e.options().scaleNodesByIndividuals(s),r=t,o=n},i.enabled=function(e){return arguments.length?(s=e,i):s},i.reset=function(){s=a},i.filteredNodes=function(){return r},i.filteredProperties=function(){return o},i}},function(e,t,n){var r=n(63)();e.exports=function(){function e(){i=i.filter(t),a=a.filter(n)}function t(e){return!r.isObjectProperty(e)}function n(e){var t=!r.isThing(e),n=o(e,i);return t||n}function o(e,n){for(var r=0;ro?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e,t){var n=typeof e;return t=null==t?r:t,!!t&&("number"==n||"symbol"!=n&&o.test(e))&&e>-1&&e%1==0&&e0&&n(c)?t>1?r(c,t-1,n,i,s):o(s,c):i||(s[s.length]=c)}return s}var o=n(107),a=n(109);e.exports=r},function(e,t,n){function r(e){return i(e)||a(e)||!!(s&&e&&e[s])}var o=n(92),a=n(110),i=n(112),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){var r=n(111),o=n(104),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){function r(e){return a(e)&&o(e)==i}var o=n(91),a=n(104),i="[object Arguments]";e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=c&&(p=u,f=!1,t=new o(t));e:for(;++d-1}var o=n(135);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(135);e.exports=r},function(e,t,n){var r=n(122),o=n(93),a=r(o,"Map");e.exports=a},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(142);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(141);e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return!!n&&o(e,t,0)>-1}var o=n(149);e.exports=r},function(e,t,n){function r(e,t,n){return t===t?i(e,t,n):o(e,a,n)}var o=n(150),a=n(151),i=n(152);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,a=Date.now;e.exports=n},function(e,t,n){function r(e){return a(e)&&o(e)}var o=n(89),a=n(104);e.exports=r},function(e,t,n){var r=n(115),o=n(108),a=n(168),i=n(157),s=n(166),l=n(228),u=i(function(e,t){var n=l(t);return s(n)&&(n=void 0),s(e)?r(e,o(t,1,s,!0),a(n,2)):[]});e.exports=u},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?a(e[0],e[1]):o(e):l(e)}var o=n(169),a=n(211),i=n(158),s=n(112),l=n(225);e.exports=r},function(e,t,n){function r(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(170),a=n(208),i=n(210);e.exports=r},function(e,t,n){function r(e,t,n,r){var l=n.length,u=l,c=!r;if(null==e)return!u;for(e=Object(e);l--;){var d=n[l];if(c&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++lp))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var v=-1,g=!0,y=n&l?new o:void 0;for(c.set(e,t),c.set(t,e);++vi?0:i+n),r=void 0===r||r>i?i:o(r),r<0&&(r+=i),r=n>r?0:a(r);n=t?e:t)),e}e.exports=n},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var l=null==n?0:i(n);return l<0&&(l=s(r+l,0)),o(e,a(t,3),l)}var o=n(150),a=n(168),i=n(100),s=Math.max;e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var u=r-1;return void 0!==n&&(u=i(n),u=n<0?s(r+u,0):l(u,r-1)),o(e,a(t,3),u,!0)}var o=n(150),a=n(168),i=n(100),s=Math.max,l=Math.min;e.exports=r},function(e,t,n){e.exports=n(242)},function(e,t){function n(e){return e&&e.length?e[0]:void 0}e.exports=n},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,1):[]}var o=n(108);e.exports=r},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,a):[]}var o=n(108),a=1/0;e.exports=r},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return n?(t=void 0===t?1:a(t),o(e,t)):[]}var o=n(108),a=n(100);e.exports=r},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r={};++t=120&&y.length>=120)?new o(f&&y):void 0}y=e[0];var m=-1,b=h[0];e:for(;++m-1;)f!==e&&c.call(f,h,1),c.call(e,h,1);return e}var o=n(154),a=n(149),i=n(262),s=n(155),l=n(113),u=Array.prototype,c=u.splice;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=n-1,a=e.length;++ot||i&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!a)return 1;if(!r&&!i&&!c&&e>>1,c=e[u];null!==c&&!i(c)&&(n?c<=t:c>>1;e.exports=r},function(e,t,n){function r(e,t,n,r){t=n(t);for(var a=0,u=null==e?0:e.length,c=t!==t,d=null===t,p=o(t),f=void 0===t;a=c){var g=t?null:l(e);if(g)return u(g);f=!1,d=s,v=new o}else v=t?[]:h;e:for(;++r1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,o(e,n)});e.exports=a},function(e,t,n){(function(t){e.exports=function(e){var n,r={};return r.handle=function(r){if(!t.event.defaultPrevented){var o=!0;n===r&&(o=!1),e instanceof Function&&e(o?r:void 0),n=o?r:void 0}},r.reset=function(){n&&(e(void 0),n=void 0)},r}}).call(t,n(6))},function(e,t,n){var r=n(20);e.exports=function(){function e(){var e=c.filterNodesAndTidy(o,a,t);o=e.nodes,a=e.properties}function t(e){return!(e instanceof r)}var o,a,i,s,l={},u=!1,c=n(76)();return l.filter=function(t,n){o=t,a=n,this.enabled()&&e(),i=o,s=a},l.enabled=function(e){return arguments.length?(u=e,l):u},l.filteredNodes=function(){return i},l.filteredProperties=function(){return s},l}},function(e,t,n){(function(t){var r=n(20),o=n(31),a=n(30),i=n(63)();e.exports=function(){function e(){h=0,v=0,g=0,y=0,m=0,b=0,x=0,E=0}function s(e,t){h=e.length;var r,o,a,i=n(62)();for(r=0,o=t.length;r1)return!1}return!0}function i(e,t){var n,r,o,a=[];for(r=0,o=e.length;r + +406 Not Acceptable + + +

    Not Acceptable

    +

    An appropriate representation of the requested resource could not be found on this server.

    + Available variants: + + \ No newline at end of file diff --git a/dist/vocabulary/implementation/OOPSevaluation/evaluation/bootstrap.css b/dist/vocabulary/implementation/OOPSevaluation/evaluation/bootstrap.css new file mode 100644 index 0000000..b17ff4c --- /dev/null +++ b/dist/vocabulary/implementation/OOPSevaluation/evaluation/bootstrap.css @@ -0,0 +1,7155 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +audio, +canvas, +video { + display: inline-block; +} + +audio:not([controls]) { + display: none; + height: 0; +} + +[hidden], +template { + display: none; +} + +html { + font-family: sans-serif; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +body { + margin: 0; +} + +a { + background: transparent; +} + +a:focus { + outline: thin dotted; +} + +a:active, +a:hover { + outline: 0; +} + +h1 { + margin: 0.67em 0; + font-size: 2em; +} + +abbr[title] { + border-bottom: 1px dotted; +} + +b, +strong { + font-weight: bold; +} + +dfn { + font-style: italic; +} + +hr { + height: 0; + -moz-box-sizing: content-box; + box-sizing: content-box; +} + +mark { + color: #000; + background: #ff0; +} + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +pre { + white-space: pre-wrap; +} + +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} + +small { + font-size: 80%; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +img { + border: 0; +} + +svg:not(:root) { + overflow: hidden; +} + +figure { + margin: 0; +} + +fieldset { + padding: 0.35em 0.625em 0.75em; + margin: 0 2px; + border: 1px solid #c0c0c0; +} + +legend { + padding: 0; + border: 0; +} + +button, +input, +select, +textarea { + margin: 0; + font-family: inherit; + font-size: 100%; +} + +button, +input { + line-height: normal; +} + +button, +select { + text-transform: none; +} + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + cursor: pointer; + -webkit-appearance: button; +} + +button[disabled], +html input[disabled] { + cursor: default; +} + +input[type="checkbox"], +input[type="radio"] { + padding: 0; + box-sizing: border-box; +} + +input[type="search"] { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + -webkit-appearance: textfield; +} + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; +} + +textarea { + overflow: auto; + vertical-align: top; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +@media print { + * { + color: #000 !important; + text-shadow: none !important; + background: transparent !important; + box-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + a[href^="javascript:"]:after, + a[href^="#"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + @page { + margin: 2cm .5cm; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + select { + background: #fff !important; + } + .navbar { + display: none; + } + .table td, + .table th { + background-color: #fff !important; + } + .btn > .caret, + .dropup > .btn > .caret { + border-top-color: #000 !important; + } + .label { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #ddd !important; + } +} + +*, +*:before, +*:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +html { + font-size: 62.5%; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +body { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 1.428571429; + color: #333333; + background-color: #ffffff; +} + +input, +button, +select, +textarea { + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +a { + color: #428bca; + text-decoration: none; +} + +a:hover, +a:focus { + color: #2a6496; + text-decoration: underline; +} + +a:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +img { + vertical-align: middle; +} + +.img-responsive { + display: block; + height: auto; + max-width: 100%; +} + +.img-rounded { + border-radius: 6px; +} + +.img-thumbnail { + display: inline-block; + height: auto; + max-width: 100%; + padding: 4px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.img-circle { + border-radius: 50%; +} + +hr { + margin-top: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid #eeeeee; +} + +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} + +h1, +h2, +h3, +h4, +h5, +h6, +.h1, +.h2, +.h3, +.h4, +.h5, +.h6 { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 500; + line-height: 1.1; + color: inherit; +} + +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small, +.h1 small, +.h2 small, +.h3 small, +.h4 small, +.h5 small, +.h6 small, +h1 .small, +h2 .small, +h3 .small, +h4 .small, +h5 .small, +h6 .small, +.h1 .small, +.h2 .small, +.h3 .small, +.h4 .small, +.h5 .small, +.h6 .small { + font-weight: normal; + line-height: 1; + color: #999999; +} + +h1, +h2, +h3 { + margin-top: 20px; + margin-bottom: 10px; +} + +h1 small, +h2 small, +h3 small, +h1 .small, +h2 .small, +h3 .small { + font-size: 65%; +} + +h4, +h5, +h6 { + margin-top: 10px; + margin-bottom: 10px; +} + +h4 small, +h5 small, +h6 small, +h4 .small, +h5 .small, +h6 .small { + font-size: 75%; +} + +h1, +.h1 { + font-size: 36px; +} + +h2, +.h2 { + font-size: 30px; +} + +h3, +.h3 { + font-size: 24px; +} + +h4, +.h4 { + font-size: 18px; +} + +h5, +.h5 { + font-size: 14px; +} + +h6, +.h6 { + font-size: 12px; +} + +p { + margin: 0 0 10px; +} + +.lead { + margin-bottom: 20px; + font-size: 16px; + font-weight: 200; + line-height: 1.4; +} + +@media (min-width: 768px) { + .lead { + font-size: 21px; + } +} + +small, +.small { + font-size: 85%; +} + +cite { + font-style: normal; +} + +.text-muted { + color: #999999; +} + +.text-primary { + color: #428bca; +} + +.text-primary:hover { + color: #3071a9; +} + +.text-warning { + color: #8a6d3b; +} + +.text-warning:hover { + color: #66512c; +} + +.text-danger { + color: #a94442; +} + +.text-danger:hover { + color: #843534; +} + +.text-success { + color: #3c763d; +} + +.text-success:hover { + color: #2b542c; +} + +.text-info { + color: #31708f; +} + +.text-info:hover { + color: #245269; +} + +.text-left { + text-align: left; +} + +.text-right { + text-align: right; +} + +.text-center { + text-align: center; +} + +.page-header { + padding-bottom: 9px; + margin: 40px 0 20px; + border-bottom: 1px solid #eeeeee; +} + +ul, +ol { + margin-top: 0; + margin-bottom: 10px; +} + +ul ul, +ol ul, +ul ol, +ol ol { + margin-bottom: 0; +} + +.list-unstyled { + padding-left: 0; + list-style: none; +} + +.list-inline { + padding-left: 0; + list-style: none; +} + +.list-inline > li { + display: inline-block; + padding-right: 5px; + padding-left: 5px; +} + +.list-inline > li:first-child { + padding-left: 0; +} + +dl { + margin-top: 0; + margin-bottom: 20px; +} + +dt, +dd { + line-height: 1.428571429; +} + +dt { + font-weight: bold; +} + +dd { + margin-left: 0; +} + +@media (min-width: 768px) { + .dl-horizontal dt { + float: left; + width: 160px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; + } + .dl-horizontal dd { + margin-left: 180px; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } +} + +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #999999; +} + +.initialism { + font-size: 90%; + text-transform: uppercase; +} + +blockquote { + padding: 10px 20px; + margin: 0 0 20px; + border-left: 5px solid #eeeeee; +} + +blockquote p { + font-size: 17.5px; + font-weight: 300; + line-height: 1.25; +} + +blockquote p:last-child { + margin-bottom: 0; +} + +blockquote small, +blockquote .small { + display: block; + line-height: 1.428571429; + color: #999999; +} + +blockquote small:before, +blockquote .small:before { + content: '\2014 \00A0'; +} + +blockquote.pull-right { + padding-right: 15px; + padding-left: 0; + border-right: 5px solid #eeeeee; + border-left: 0; +} + +blockquote.pull-right p, +blockquote.pull-right small, +blockquote.pull-right .small { + text-align: right; +} + +blockquote.pull-right small:before, +blockquote.pull-right .small:before { + content: ''; +} + +blockquote.pull-right small:after, +blockquote.pull-right .small:after { + content: '\00A0 \2014'; +} + +blockquote:before, +blockquote:after { + content: ""; +} + +address { + margin-bottom: 20px; + font-style: normal; + line-height: 1.428571429; +} + +code, +kbd, +pre, +samp { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; +} + +code { + padding: 2px 4px; + font-size: 90%; + color: #c7254e; + white-space: nowrap; + background-color: #f9f2f4; + border-radius: 4px; +} + +pre { + display: block; + padding: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 1.428571429; + color: #333333; + word-break: break-all; + word-wrap: break-word; + background-color: #f5f5f5; + border: 1px solid #cccccc; + border-radius: 4px; +} + +pre code { + padding: 0; + font-size: inherit; + color: inherit; + white-space: pre-wrap; + background-color: transparent; + border-radius: 0; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +.container { + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +@media (min-width: 768px) { + .container { + width: 750px; + } +} + +@media (min-width: 992px) { + .container { + width: 970px; + } +} + +@media (min-width: 1200px) { + .container { + width: 1170px; + } +} + +.row { + margin-right: -15px; + margin-left: -15px; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.col-xs-1, +.col-sm-1, +.col-md-1, +.col-lg-1, +.col-xs-2, +.col-sm-2, +.col-md-2, +.col-lg-2, +.col-xs-3, +.col-sm-3, +.col-md-3, +.col-lg-3, +.col-xs-4, +.col-sm-4, +.col-md-4, +.col-lg-4, +.col-xs-5, +.col-sm-5, +.col-md-5, +.col-lg-5, +.col-xs-6, +.col-sm-6, +.col-md-6, +.col-lg-6, +.col-xs-7, +.col-sm-7, +.col-md-7, +.col-lg-7, +.col-xs-8, +.col-sm-8, +.col-md-8, +.col-lg-8, +.col-xs-9, +.col-sm-9, +.col-md-9, +.col-lg-9, +.col-xs-10, +.col-sm-10, +.col-md-10, +.col-lg-10, +.col-xs-11, +.col-sm-11, +.col-md-11, +.col-lg-11, +.col-xs-12, +.col-sm-12, +.col-md-12, +.col-lg-12 { + position: relative; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; +} + +.col-xs-1, +.col-xs-2, +.col-xs-3, +.col-xs-4, +.col-xs-5, +.col-xs-6, +.col-xs-7, +.col-xs-8, +.col-xs-9, +.col-xs-10, +.col-xs-11, +.col-xs-12 { + float: left; +} + +.col-xs-12 { + width: 100%; +} + +.col-xs-11 { + width: 91.66666666666666%; +} + +.col-xs-10 { + width: 83.33333333333334%; +} + +.col-xs-9 { + width: 75%; +} + +.col-xs-8 { + width: 66.66666666666666%; +} + +.col-xs-7 { + width: 58.333333333333336%; +} + +.col-xs-6 { + width: 50%; +} + +.col-xs-5 { + width: 41.66666666666667%; +} + +.col-xs-4 { + width: 33.33333333333333%; +} + +.col-xs-3 { + width: 25%; +} + +.col-xs-2 { + width: 16.666666666666664%; +} + +.col-xs-1 { + width: 8.333333333333332%; +} + +.col-xs-pull-12 { + right: 100%; +} + +.col-xs-pull-11 { + right: 91.66666666666666%; +} + +.col-xs-pull-10 { + right: 83.33333333333334%; +} + +.col-xs-pull-9 { + right: 75%; +} + +.col-xs-pull-8 { + right: 66.66666666666666%; +} + +.col-xs-pull-7 { + right: 58.333333333333336%; +} + +.col-xs-pull-6 { + right: 50%; +} + +.col-xs-pull-5 { + right: 41.66666666666667%; +} + +.col-xs-pull-4 { + right: 33.33333333333333%; +} + +.col-xs-pull-3 { + right: 25%; +} + +.col-xs-pull-2 { + right: 16.666666666666664%; +} + +.col-xs-pull-1 { + right: 8.333333333333332%; +} + +.col-xs-pull-0 { + right: 0; +} + +.col-xs-push-12 { + left: 100%; +} + +.col-xs-push-11 { + left: 91.66666666666666%; +} + +.col-xs-push-10 { + left: 83.33333333333334%; +} + +.col-xs-push-9 { + left: 75%; +} + +.col-xs-push-8 { + left: 66.66666666666666%; +} + +.col-xs-push-7 { + left: 58.333333333333336%; +} + +.col-xs-push-6 { + left: 50%; +} + +.col-xs-push-5 { + left: 41.66666666666667%; +} + +.col-xs-push-4 { + left: 33.33333333333333%; +} + +.col-xs-push-3 { + left: 25%; +} + +.col-xs-push-2 { + left: 16.666666666666664%; +} + +.col-xs-push-1 { + left: 8.333333333333332%; +} + +.col-xs-push-0 { + left: 0; +} + +.col-xs-offset-12 { + margin-left: 100%; +} + +.col-xs-offset-11 { + margin-left: 91.66666666666666%; +} + +.col-xs-offset-10 { + margin-left: 83.33333333333334%; +} + +.col-xs-offset-9 { + margin-left: 75%; +} + +.col-xs-offset-8 { + margin-left: 66.66666666666666%; +} + +.col-xs-offset-7 { + margin-left: 58.333333333333336%; +} + +.col-xs-offset-6 { + margin-left: 50%; +} + +.col-xs-offset-5 { + margin-left: 41.66666666666667%; +} + +.col-xs-offset-4 { + margin-left: 33.33333333333333%; +} + +.col-xs-offset-3 { + margin-left: 25%; +} + +.col-xs-offset-2 { + margin-left: 16.666666666666664%; +} + +.col-xs-offset-1 { + margin-left: 8.333333333333332%; +} + +.col-xs-offset-0 { + margin-left: 0; +} + +@media (min-width: 768px) { + .col-sm-1, + .col-sm-2, + .col-sm-3, + .col-sm-4, + .col-sm-5, + .col-sm-6, + .col-sm-7, + .col-sm-8, + .col-sm-9, + .col-sm-10, + .col-sm-11, + .col-sm-12 { + float: left; + } + .col-sm-12 { + width: 100%; + } + .col-sm-11 { + width: 91.66666666666666%; + } + .col-sm-10 { + width: 83.33333333333334%; + } + .col-sm-9 { + width: 75%; + } + .col-sm-8 { + width: 66.66666666666666%; + } + .col-sm-7 { + width: 58.333333333333336%; + } + .col-sm-6 { + width: 50%; + } + .col-sm-5 { + width: 41.66666666666667%; + } + .col-sm-4 { + width: 33.33333333333333%; + } + .col-sm-3 { + width: 25%; + } + .col-sm-2 { + width: 16.666666666666664%; + } + .col-sm-1 { + width: 8.333333333333332%; + } + .col-sm-pull-12 { + right: 100%; + } + .col-sm-pull-11 { + right: 91.66666666666666%; + } + .col-sm-pull-10 { + right: 83.33333333333334%; + } + .col-sm-pull-9 { + right: 75%; + } + .col-sm-pull-8 { + right: 66.66666666666666%; + } + .col-sm-pull-7 { + right: 58.333333333333336%; + } + .col-sm-pull-6 { + right: 50%; + } + .col-sm-pull-5 { + right: 41.66666666666667%; + } + .col-sm-pull-4 { + right: 33.33333333333333%; + } + .col-sm-pull-3 { + right: 25%; + } + .col-sm-pull-2 { + right: 16.666666666666664%; + } + .col-sm-pull-1 { + right: 8.333333333333332%; + } + .col-sm-pull-0 { + right: 0; + } + .col-sm-push-12 { + left: 100%; + } + .col-sm-push-11 { + left: 91.66666666666666%; + } + .col-sm-push-10 { + left: 83.33333333333334%; + } + .col-sm-push-9 { + left: 75%; + } + .col-sm-push-8 { + left: 66.66666666666666%; + } + .col-sm-push-7 { + left: 58.333333333333336%; + } + .col-sm-push-6 { + left: 50%; + } + .col-sm-push-5 { + left: 41.66666666666667%; + } + .col-sm-push-4 { + left: 33.33333333333333%; + } + .col-sm-push-3 { + left: 25%; + } + .col-sm-push-2 { + left: 16.666666666666664%; + } + .col-sm-push-1 { + left: 8.333333333333332%; + } + .col-sm-push-0 { + left: 0; + } + .col-sm-offset-12 { + margin-left: 100%; + } + .col-sm-offset-11 { + margin-left: 91.66666666666666%; + } + .col-sm-offset-10 { + margin-left: 83.33333333333334%; + } + .col-sm-offset-9 { + margin-left: 75%; + } + .col-sm-offset-8 { + margin-left: 66.66666666666666%; + } + .col-sm-offset-7 { + margin-left: 58.333333333333336%; + } + .col-sm-offset-6 { + margin-left: 50%; + } + .col-sm-offset-5 { + margin-left: 41.66666666666667%; + } + .col-sm-offset-4 { + margin-left: 33.33333333333333%; + } + .col-sm-offset-3 { + margin-left: 25%; + } + .col-sm-offset-2 { + margin-left: 16.666666666666664%; + } + .col-sm-offset-1 { + margin-left: 8.333333333333332%; + } + .col-sm-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 992px) { + .col-md-1, + .col-md-2, + .col-md-3, + .col-md-4, + .col-md-5, + .col-md-6, + .col-md-7, + .col-md-8, + .col-md-9, + .col-md-10, + .col-md-11, + .col-md-12 { + float: left; + } + .col-md-12 { + width: 100%; + } + .col-md-11 { + width: 91.66666666666666%; + } + .col-md-10 { + width: 83.33333333333334%; + } + .col-md-9 { + width: 75%; + } + .col-md-8 { + width: 66.66666666666666%; + } + .col-md-7 { + width: 58.333333333333336%; + } + .col-md-6 { + width: 50%; + } + .col-md-5 { + width: 41.66666666666667%; + } + .col-md-4 { + width: 33.33333333333333%; + } + .col-md-3 { + width: 25%; + } + .col-md-2 { + width: 16.666666666666664%; + } + .col-md-1 { + width: 8.333333333333332%; + } + .col-md-pull-12 { + right: 100%; + } + .col-md-pull-11 { + right: 91.66666666666666%; + } + .col-md-pull-10 { + right: 83.33333333333334%; + } + .col-md-pull-9 { + right: 75%; + } + .col-md-pull-8 { + right: 66.66666666666666%; + } + .col-md-pull-7 { + right: 58.333333333333336%; + } + .col-md-pull-6 { + right: 50%; + } + .col-md-pull-5 { + right: 41.66666666666667%; + } + .col-md-pull-4 { + right: 33.33333333333333%; + } + .col-md-pull-3 { + right: 25%; + } + .col-md-pull-2 { + right: 16.666666666666664%; + } + .col-md-pull-1 { + right: 8.333333333333332%; + } + .col-md-pull-0 { + right: 0; + } + .col-md-push-12 { + left: 100%; + } + .col-md-push-11 { + left: 91.66666666666666%; + } + .col-md-push-10 { + left: 83.33333333333334%; + } + .col-md-push-9 { + left: 75%; + } + .col-md-push-8 { + left: 66.66666666666666%; + } + .col-md-push-7 { + left: 58.333333333333336%; + } + .col-md-push-6 { + left: 50%; + } + .col-md-push-5 { + left: 41.66666666666667%; + } + .col-md-push-4 { + left: 33.33333333333333%; + } + .col-md-push-3 { + left: 25%; + } + .col-md-push-2 { + left: 16.666666666666664%; + } + .col-md-push-1 { + left: 8.333333333333332%; + } + .col-md-push-0 { + left: 0; + } + .col-md-offset-12 { + margin-left: 100%; + } + .col-md-offset-11 { + margin-left: 91.66666666666666%; + } + .col-md-offset-10 { + margin-left: 83.33333333333334%; + } + .col-md-offset-9 { + margin-left: 75%; + } + .col-md-offset-8 { + margin-left: 66.66666666666666%; + } + .col-md-offset-7 { + margin-left: 58.333333333333336%; + } + .col-md-offset-6 { + margin-left: 50%; + } + .col-md-offset-5 { + margin-left: 41.66666666666667%; + } + .col-md-offset-4 { + margin-left: 33.33333333333333%; + } + .col-md-offset-3 { + margin-left: 25%; + } + .col-md-offset-2 { + margin-left: 16.666666666666664%; + } + .col-md-offset-1 { + margin-left: 8.333333333333332%; + } + .col-md-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 1200px) { + .col-lg-1, + .col-lg-2, + .col-lg-3, + .col-lg-4, + .col-lg-5, + .col-lg-6, + .col-lg-7, + .col-lg-8, + .col-lg-9, + .col-lg-10, + .col-lg-11, + .col-lg-12 { + float: left; + } + .col-lg-12 { + width: 100%; + } + .col-lg-11 { + width: 91.66666666666666%; + } + .col-lg-10 { + width: 83.33333333333334%; + } + .col-lg-9 { + width: 75%; + } + .col-lg-8 { + width: 66.66666666666666%; + } + .col-lg-7 { + width: 58.333333333333336%; + } + .col-lg-6 { + width: 50%; + } + .col-lg-5 { + width: 41.66666666666667%; + } + .col-lg-4 { + width: 33.33333333333333%; + } + .col-lg-3 { + width: 25%; + } + .col-lg-2 { + width: 16.666666666666664%; + } + .col-lg-1 { + width: 8.333333333333332%; + } + .col-lg-pull-12 { + right: 100%; + } + .col-lg-pull-11 { + right: 91.66666666666666%; + } + .col-lg-pull-10 { + right: 83.33333333333334%; + } + .col-lg-pull-9 { + right: 75%; + } + .col-lg-pull-8 { + right: 66.66666666666666%; + } + .col-lg-pull-7 { + right: 58.333333333333336%; + } + .col-lg-pull-6 { + right: 50%; + } + .col-lg-pull-5 { + right: 41.66666666666667%; + } + .col-lg-pull-4 { + right: 33.33333333333333%; + } + .col-lg-pull-3 { + right: 25%; + } + .col-lg-pull-2 { + right: 16.666666666666664%; + } + .col-lg-pull-1 { + right: 8.333333333333332%; + } + .col-lg-pull-0 { + right: 0; + } + .col-lg-push-12 { + left: 100%; + } + .col-lg-push-11 { + left: 91.66666666666666%; + } + .col-lg-push-10 { + left: 83.33333333333334%; + } + .col-lg-push-9 { + left: 75%; + } + .col-lg-push-8 { + left: 66.66666666666666%; + } + .col-lg-push-7 { + left: 58.333333333333336%; + } + .col-lg-push-6 { + left: 50%; + } + .col-lg-push-5 { + left: 41.66666666666667%; + } + .col-lg-push-4 { + left: 33.33333333333333%; + } + .col-lg-push-3 { + left: 25%; + } + .col-lg-push-2 { + left: 16.666666666666664%; + } + .col-lg-push-1 { + left: 8.333333333333332%; + } + .col-lg-push-0 { + left: 0; + } + .col-lg-offset-12 { + margin-left: 100%; + } + .col-lg-offset-11 { + margin-left: 91.66666666666666%; + } + .col-lg-offset-10 { + margin-left: 83.33333333333334%; + } + .col-lg-offset-9 { + margin-left: 75%; + } + .col-lg-offset-8 { + margin-left: 66.66666666666666%; + } + .col-lg-offset-7 { + margin-left: 58.333333333333336%; + } + .col-lg-offset-6 { + margin-left: 50%; + } + .col-lg-offset-5 { + margin-left: 41.66666666666667%; + } + .col-lg-offset-4 { + margin-left: 33.33333333333333%; + } + .col-lg-offset-3 { + margin-left: 25%; + } + .col-lg-offset-2 { + margin-left: 16.666666666666664%; + } + .col-lg-offset-1 { + margin-left: 8.333333333333332%; + } + .col-lg-offset-0 { + margin-left: 0; + } +} + +table { + max-width: 100%; + background-color: transparent; +} + +th { + text-align: left; +} + +.table { + width: 100%; + margin-bottom: 20px; +} + +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + padding: 8px; + line-height: 1.428571429; + vertical-align: top; + border-top: 1px solid #dddddd; +} + +.table > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #dddddd; +} + +.table > caption + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > th, +.table > thead:first-child > tr:first-child > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > td { + border-top: 0; +} + +.table > tbody + tbody { + border-top: 2px solid #dddddd; +} + +.table .table { + background-color: #ffffff; +} + +.table-condensed > thead > tr > th, +.table-condensed > tbody > tr > th, +.table-condensed > tfoot > tr > th, +.table-condensed > thead > tr > td, +.table-condensed > tbody > tr > td, +.table-condensed > tfoot > tr > td { + padding: 5px; +} + +.table-bordered { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > tbody > tr > th, +.table-bordered > tfoot > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > td { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td { + border-bottom-width: 2px; +} + +.table-striped > tbody > tr:nth-child(odd) > td, +.table-striped > tbody > tr:nth-child(odd) > th { + background-color: #f9f9f9; +} + +.table-hover > tbody > tr:hover > td, +.table-hover > tbody > tr:hover > th { + background-color: #f5f5f5; +} + +table col[class*="col-"] { + position: static; + display: table-column; + float: none; +} + +table td[class*="col-"], +table th[class*="col-"] { + display: table-cell; + float: none; +} + +.table > thead > tr > .active, +.table > tbody > tr > .active, +.table > tfoot > tr > .active, +.table > thead > .active > td, +.table > tbody > .active > td, +.table > tfoot > .active > td, +.table > thead > .active > th, +.table > tbody > .active > th, +.table > tfoot > .active > th { + background-color: #f5f5f5; +} + +.table-hover > tbody > tr > .active:hover, +.table-hover > tbody > .active:hover > td, +.table-hover > tbody > .active:hover > th { + background-color: #e8e8e8; +} + +.table > thead > tr > .success, +.table > tbody > tr > .success, +.table > tfoot > tr > .success, +.table > thead > .success > td, +.table > tbody > .success > td, +.table > tfoot > .success > td, +.table > thead > .success > th, +.table > tbody > .success > th, +.table > tfoot > .success > th { + background-color: #dff0d8; +} + +.table-hover > tbody > tr > .success:hover, +.table-hover > tbody > .success:hover > td, +.table-hover > tbody > .success:hover > th { + background-color: #d0e9c6; +} + +.table > thead > tr > .danger, +.table > tbody > tr > .danger, +.table > tfoot > tr > .danger, +.table > thead > .danger > td, +.table > tbody > .danger > td, +.table > tfoot > .danger > td, +.table > thead > .danger > th, +.table > tbody > .danger > th, +.table > tfoot > .danger > th { + background-color: #f2dede; +} + +.table-hover > tbody > tr > .danger:hover, +.table-hover > tbody > .danger:hover > td, +.table-hover > tbody > .danger:hover > th { + background-color: #ebcccc; +} + +.table > thead > tr > .warning, +.table > tbody > tr > .warning, +.table > tfoot > tr > .warning, +.table > thead > .warning > td, +.table > tbody > .warning > td, +.table > tfoot > .warning > td, +.table > thead > .warning > th, +.table > tbody > .warning > th, +.table > tfoot > .warning > th { + background-color: #fcf8e3; +} + +.table-hover > tbody > tr > .warning:hover, +.table-hover > tbody > .warning:hover > td, +.table-hover > tbody > .warning:hover > th { + background-color: #faf2cc; +} + +@media (max-width: 767px) { + .table-responsive { + width: 100%; + margin-bottom: 15px; + overflow-x: scroll; + overflow-y: hidden; + border: 1px solid #dddddd; + -ms-overflow-style: -ms-autohiding-scrollbar; + -webkit-overflow-scrolling: touch; + } + .table-responsive > .table { + margin-bottom: 0; + } + .table-responsive > .table > thead > tr > th, + .table-responsive > .table > tbody > tr > th, + .table-responsive > .table > tfoot > tr > th, + .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > td { + white-space: nowrap; + } + .table-responsive > .table-bordered { + border: 0; + } + .table-responsive > .table-bordered > thead > tr > th:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, + .table-responsive > .table-bordered > tfoot > tr > th:first-child, + .table-responsive > .table-bordered > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; + } + .table-responsive > .table-bordered > thead > tr > th:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, + .table-responsive > .table-bordered > tfoot > tr > th:last-child, + .table-responsive > .table-bordered > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; + } + .table-responsive > .table-bordered > tbody > tr:last-child > th, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, + .table-responsive > .table-bordered > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; + } +} + +fieldset { + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: inherit; + color: #333333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} + +label { + display: inline-block; + margin-bottom: 5px; + font-weight: bold; +} + +input[type="search"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + /* IE8-9 */ + + line-height: normal; +} + +input[type="file"] { + display: block; +} + +select[multiple], +select[size] { + height: auto; +} + +select optgroup { + font-family: inherit; + font-size: inherit; + font-style: inherit; +} + +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +input[type="number"]::-webkit-outer-spin-button, +input[type="number"]::-webkit-inner-spin-button { + height: auto; +} + +output { + display: block; + padding-top: 7px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; +} + +.form-control { + display: block; + width: 100%; + height: 34px; + padding: 6px 12px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; + background-color: #ffffff; + background-image: none; + border: 1px solid #cccccc; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; +} + +.form-control:focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); +} + +.form-control:-moz-placeholder { + color: #999999; +} + +.form-control::-moz-placeholder { + color: #999999; + opacity: 1; +} + +.form-control:-ms-input-placeholder { + color: #999999; +} + +.form-control::-webkit-input-placeholder { + color: #999999; +} + +.form-control[disabled], +.form-control[readonly], +fieldset[disabled] .form-control { + cursor: not-allowed; + background-color: #eeeeee; +} + +textarea.form-control { + height: auto; +} + +.form-group { + margin-bottom: 15px; +} + +.radio, +.checkbox { + display: block; + min-height: 20px; + padding-left: 20px; + margin-top: 10px; + margin-bottom: 10px; + vertical-align: middle; +} + +.radio label, +.checkbox label { + display: inline; + margin-bottom: 0; + font-weight: normal; + cursor: pointer; +} + +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + float: left; + margin-left: -20px; +} + +.radio + .radio, +.checkbox + .checkbox { + margin-top: -5px; +} + +.radio-inline, +.checkbox-inline { + display: inline-block; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + vertical-align: middle; + cursor: pointer; +} + +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; +} + +input[type="radio"][disabled], +input[type="checkbox"][disabled], +.radio[disabled], +.radio-inline[disabled], +.checkbox[disabled], +.checkbox-inline[disabled], +fieldset[disabled] input[type="radio"], +fieldset[disabled] input[type="checkbox"], +fieldset[disabled] .radio, +fieldset[disabled] .radio-inline, +fieldset[disabled] .checkbox, +fieldset[disabled] .checkbox-inline { + cursor: not-allowed; +} + +.input-sm { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-sm { + height: 30px; + line-height: 30px; +} + +textarea.input-sm { + height: auto; +} + +.input-lg { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-lg { + height: 46px; + line-height: 46px; +} + +textarea.input-lg { + height: auto; +} + +.has-warning .help-block, +.has-warning .control-label, +.has-warning .radio, +.has-warning .checkbox, +.has-warning .radio-inline, +.has-warning .checkbox-inline { + color: #8a6d3b; +} + +.has-warning .form-control { + border-color: #8a6d3b; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-warning .form-control:focus { + border-color: #66512c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; +} + +.has-warning .input-group-addon { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #8a6d3b; +} + +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline { + color: #a94442; +} + +.has-error .form-control { + border-color: #a94442; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-error .form-control:focus { + border-color: #843534; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; +} + +.has-error .input-group-addon { + color: #a94442; + background-color: #f2dede; + border-color: #a94442; +} + +.has-success .help-block, +.has-success .control-label, +.has-success .radio, +.has-success .checkbox, +.has-success .radio-inline, +.has-success .checkbox-inline { + color: #3c763d; +} + +.has-success .form-control { + border-color: #3c763d; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-success .form-control:focus { + border-color: #2b542c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; +} + +.has-success .input-group-addon { + color: #3c763d; + background-color: #dff0d8; + border-color: #3c763d; +} + +.form-control-static { + margin-bottom: 0; +} + +.help-block { + display: block; + margin-top: 5px; + margin-bottom: 10px; + color: #737373; +} + +@media (min-width: 768px) { + .form-inline .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .form-control { + display: inline-block; + } + .form-inline select.form-control { + width: auto; + } + .form-inline .radio, + .form-inline .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .form-inline .radio input[type="radio"], + .form-inline .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +.form-horizontal .control-label, +.form-horizontal .radio, +.form-horizontal .checkbox, +.form-horizontal .radio-inline, +.form-horizontal .checkbox-inline { + padding-top: 7px; + margin-top: 0; + margin-bottom: 0; +} + +.form-horizontal .radio, +.form-horizontal .checkbox { + min-height: 27px; +} + +.form-horizontal .form-group { + margin-right: -15px; + margin-left: -15px; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-control-static { + padding-top: 7px; +} + +@media (min-width: 768px) { + .form-horizontal .control-label { + text-align: right; + } +} + +.btn { + display: inline-block; + padding: 6px 12px; + margin-bottom: 0; + font-size: 14px; + font-weight: normal; + line-height: 1.428571429; + text-align: center; + white-space: nowrap; + vertical-align: middle; + cursor: pointer; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; +} + +.btn:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +.btn:hover, +.btn:focus { + color: #333333; + text-decoration: none; +} + +.btn:active, +.btn.active { + background-image: none; + outline: 0; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn.disabled, +.btn[disabled], +fieldset[disabled] .btn { + pointer-events: none; + cursor: not-allowed; + opacity: 0.65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-default { + color: #333333; + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default:hover, +.btn-default:focus, +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + color: #333333; + background-color: #ebebeb; + border-color: #adadad; +} + +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + background-image: none; +} + +.btn-default.disabled, +.btn-default[disabled], +fieldset[disabled] .btn-default, +.btn-default.disabled:hover, +.btn-default[disabled]:hover, +fieldset[disabled] .btn-default:hover, +.btn-default.disabled:focus, +.btn-default[disabled]:focus, +fieldset[disabled] .btn-default:focus, +.btn-default.disabled:active, +.btn-default[disabled]:active, +fieldset[disabled] .btn-default:active, +.btn-default.disabled.active, +.btn-default[disabled].active, +fieldset[disabled] .btn-default.active { + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default .badge { + color: #ffffff; + background-color: #fff; +} + +.btn-primary { + color: #ffffff; + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary:hover, +.btn-primary:focus, +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + color: #ffffff; + background-color: #3276b1; + border-color: #285e8e; +} + +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + background-image: none; +} + +.btn-primary.disabled, +.btn-primary[disabled], +fieldset[disabled] .btn-primary, +.btn-primary.disabled:hover, +.btn-primary[disabled]:hover, +fieldset[disabled] .btn-primary:hover, +.btn-primary.disabled:focus, +.btn-primary[disabled]:focus, +fieldset[disabled] .btn-primary:focus, +.btn-primary.disabled:active, +.btn-primary[disabled]:active, +fieldset[disabled] .btn-primary:active, +.btn-primary.disabled.active, +.btn-primary[disabled].active, +fieldset[disabled] .btn-primary.active { + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary .badge { + color: #428bca; + background-color: #fff; +} + +.btn-warning { + color: #ffffff; + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning:hover, +.btn-warning:focus, +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + color: #ffffff; + background-color: #ed9c28; + border-color: #d58512; +} + +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + background-image: none; +} + +.btn-warning.disabled, +.btn-warning[disabled], +fieldset[disabled] .btn-warning, +.btn-warning.disabled:hover, +.btn-warning[disabled]:hover, +fieldset[disabled] .btn-warning:hover, +.btn-warning.disabled:focus, +.btn-warning[disabled]:focus, +fieldset[disabled] .btn-warning:focus, +.btn-warning.disabled:active, +.btn-warning[disabled]:active, +fieldset[disabled] .btn-warning:active, +.btn-warning.disabled.active, +.btn-warning[disabled].active, +fieldset[disabled] .btn-warning.active { + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning .badge { + color: #f0ad4e; + background-color: #fff; +} + +.btn-danger { + color: #ffffff; + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger:hover, +.btn-danger:focus, +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + color: #ffffff; + background-color: #d2322d; + border-color: #ac2925; +} + +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + background-image: none; +} + +.btn-danger.disabled, +.btn-danger[disabled], +fieldset[disabled] .btn-danger, +.btn-danger.disabled:hover, +.btn-danger[disabled]:hover, +fieldset[disabled] .btn-danger:hover, +.btn-danger.disabled:focus, +.btn-danger[disabled]:focus, +fieldset[disabled] .btn-danger:focus, +.btn-danger.disabled:active, +.btn-danger[disabled]:active, +fieldset[disabled] .btn-danger:active, +.btn-danger.disabled.active, +.btn-danger[disabled].active, +fieldset[disabled] .btn-danger.active { + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger .badge { + color: #d9534f; + background-color: #fff; +} + +.btn-success { + color: #ffffff; + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success:hover, +.btn-success:focus, +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + color: #ffffff; + background-color: #47a447; + border-color: #398439; +} + +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + background-image: none; +} + +.btn-success.disabled, +.btn-success[disabled], +fieldset[disabled] .btn-success, +.btn-success.disabled:hover, +.btn-success[disabled]:hover, +fieldset[disabled] .btn-success:hover, +.btn-success.disabled:focus, +.btn-success[disabled]:focus, +fieldset[disabled] .btn-success:focus, +.btn-success.disabled:active, +.btn-success[disabled]:active, +fieldset[disabled] .btn-success:active, +.btn-success.disabled.active, +.btn-success[disabled].active, +fieldset[disabled] .btn-success.active { + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success .badge { + color: #5cb85c; + background-color: #fff; +} + +.btn-info { + color: #ffffff; + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info:hover, +.btn-info:focus, +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + color: #ffffff; + background-color: #39b3d7; + border-color: #269abc; +} + +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + background-image: none; +} + +.btn-info.disabled, +.btn-info[disabled], +fieldset[disabled] .btn-info, +.btn-info.disabled:hover, +.btn-info[disabled]:hover, +fieldset[disabled] .btn-info:hover, +.btn-info.disabled:focus, +.btn-info[disabled]:focus, +fieldset[disabled] .btn-info:focus, +.btn-info.disabled:active, +.btn-info[disabled]:active, +fieldset[disabled] .btn-info:active, +.btn-info.disabled.active, +.btn-info[disabled].active, +fieldset[disabled] .btn-info.active { + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info .badge { + color: #5bc0de; + background-color: #fff; +} + +.btn-link { + font-weight: normal; + color: #428bca; + cursor: pointer; + border-radius: 0; +} + +.btn-link, +.btn-link:active, +.btn-link[disabled], +fieldset[disabled] .btn-link { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-link, +.btn-link:hover, +.btn-link:focus, +.btn-link:active { + border-color: transparent; +} + +.btn-link:hover, +.btn-link:focus { + color: #2a6496; + text-decoration: underline; + background-color: transparent; +} + +.btn-link[disabled]:hover, +fieldset[disabled] .btn-link:hover, +.btn-link[disabled]:focus, +fieldset[disabled] .btn-link:focus { + color: #999999; + text-decoration: none; +} + +.btn-lg { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-sm { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-xs { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-block { + display: block; + width: 100%; + padding-right: 0; + padding-left: 0; +} + +.btn-block + .btn-block { + margin-top: 5px; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.fade { + opacity: 0; + -webkit-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} + +.fade.in { + opacity: 1; +} + +.collapse { + display: none; +} + +.collapse.in { + display: block; +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition: height 0.35s ease; + transition: height 0.35s ease; +} + +@font-face { + font-family: 'Glyphicons Halflings'; + src: url('../fonts/glyphicons-halflings-regular.eot'); + src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg'); +} + +.glyphicon { + position: relative; + top: 1px; + display: inline-block; + font-family: 'Glyphicons Halflings'; + -webkit-font-smoothing: antialiased; + font-style: normal; + font-weight: normal; + line-height: 1; + -moz-osx-font-smoothing: grayscale; +} + +.glyphicon:empty { + width: 1em; +} + +.glyphicon-asterisk:before { + content: "\2a"; +} + +.glyphicon-plus:before { + content: "\2b"; +} + +.glyphicon-euro:before { + content: "\20ac"; +} + +.glyphicon-minus:before { + content: "\2212"; +} + +.glyphicon-cloud:before { + content: "\2601"; +} + +.glyphicon-envelope:before { + content: "\2709"; +} + +.glyphicon-pencil:before { + content: "\270f"; +} + +.glyphicon-glass:before { + content: "\e001"; +} + +.glyphicon-music:before { + content: "\e002"; +} + +.glyphicon-search:before { + content: "\e003"; +} + +.glyphicon-heart:before { + content: "\e005"; +} + +.glyphicon-star:before { + content: "\e006"; +} + +.glyphicon-star-empty:before { + content: "\e007"; +} + +.glyphicon-user:before { + content: "\e008"; +} + +.glyphicon-film:before { + content: "\e009"; +} + +.glyphicon-th-large:before { + content: "\e010"; +} + +.glyphicon-th:before { + content: "\e011"; +} + +.glyphicon-th-list:before { + content: "\e012"; +} + +.glyphicon-ok:before { + content: "\e013"; +} + +.glyphicon-remove:before { + content: "\e014"; +} + +.glyphicon-zoom-in:before { + content: "\e015"; +} + +.glyphicon-zoom-out:before { + content: "\e016"; +} + +.glyphicon-off:before { + content: "\e017"; +} + +.glyphicon-signal:before { + content: "\e018"; +} + +.glyphicon-cog:before { + content: "\e019"; +} + +.glyphicon-trash:before { + content: "\e020"; +} + +.glyphicon-home:before { + content: "\e021"; +} + +.glyphicon-file:before { + content: "\e022"; +} + +.glyphicon-time:before { + content: "\e023"; +} + +.glyphicon-road:before { + content: "\e024"; +} + +.glyphicon-download-alt:before { + content: "\e025"; +} + +.glyphicon-download:before { + content: "\e026"; +} + +.glyphicon-upload:before { + content: "\e027"; +} + +.glyphicon-inbox:before { + content: "\e028"; +} + +.glyphicon-play-circle:before { + content: "\e029"; +} + +.glyphicon-repeat:before { + content: "\e030"; +} + +.glyphicon-refresh:before { + content: "\e031"; +} + +.glyphicon-list-alt:before { + content: "\e032"; +} + +.glyphicon-lock:before { + content: "\e033"; +} + +.glyphicon-flag:before { + content: "\e034"; +} + +.glyphicon-headphones:before { + content: "\e035"; +} + +.glyphicon-volume-off:before { + content: "\e036"; +} + +.glyphicon-volume-down:before { + content: "\e037"; +} + +.glyphicon-volume-up:before { + content: "\e038"; +} + +.glyphicon-qrcode:before { + content: "\e039"; +} + +.glyphicon-barcode:before { + content: "\e040"; +} + +.glyphicon-tag:before { + content: "\e041"; +} + +.glyphicon-tags:before { + content: "\e042"; +} + +.glyphicon-book:before { + content: "\e043"; +} + +.glyphicon-bookmark:before { + content: "\e044"; +} + +.glyphicon-print:before { + content: "\e045"; +} + +.glyphicon-camera:before { + content: "\e046"; +} + +.glyphicon-font:before { + content: "\e047"; +} + +.glyphicon-bold:before { + content: "\e048"; +} + +.glyphicon-italic:before { + content: "\e049"; +} + +.glyphicon-text-height:before { + content: "\e050"; +} + +.glyphicon-text-width:before { + content: "\e051"; +} + +.glyphicon-align-left:before { + content: "\e052"; +} + +.glyphicon-align-center:before { + content: "\e053"; +} + +.glyphicon-align-right:before { + content: "\e054"; +} + +.glyphicon-align-justify:before { + content: "\e055"; +} + +.glyphicon-list:before { + content: "\e056"; +} + +.glyphicon-indent-left:before { + content: "\e057"; +} + +.glyphicon-indent-right:before { + content: "\e058"; +} + +.glyphicon-facetime-video:before { + content: "\e059"; +} + +.glyphicon-picture:before { + content: "\e060"; +} + +.glyphicon-map-marker:before { + content: "\e062"; +} + +.glyphicon-adjust:before { + content: "\e063"; +} + +.glyphicon-tint:before { + content: "\e064"; +} + +.glyphicon-edit:before { + content: "\e065"; +} + +.glyphicon-share:before { + content: "\e066"; +} + +.glyphicon-check:before { + content: "\e067"; +} + +.glyphicon-move:before { + content: "\e068"; +} + +.glyphicon-step-backward:before { + content: "\e069"; +} + +.glyphicon-fast-backward:before { + content: "\e070"; +} + +.glyphicon-backward:before { + content: "\e071"; +} + +.glyphicon-play:before { + content: "\e072"; +} + +.glyphicon-pause:before { + content: "\e073"; +} + +.glyphicon-stop:before { + content: "\e074"; +} + +.glyphicon-forward:before { + content: "\e075"; +} + +.glyphicon-fast-forward:before { + content: "\e076"; +} + +.glyphicon-step-forward:before { + content: "\e077"; +} + +.glyphicon-eject:before { + content: "\e078"; +} + +.glyphicon-chevron-left:before { + content: "\e079"; +} + +.glyphicon-chevron-right:before { + content: "\e080"; +} + +.glyphicon-plus-sign:before { + content: "\e081"; +} + +.glyphicon-minus-sign:before { + content: "\e082"; +} + +.glyphicon-remove-sign:before { + content: "\e083"; +} + +.glyphicon-ok-sign:before { + content: "\e084"; +} + +.glyphicon-question-sign:before { + content: "\e085"; +} + +.glyphicon-info-sign:before { + content: "\e086"; +} + +.glyphicon-screenshot:before { + content: "\e087"; +} + +.glyphicon-remove-circle:before { + content: "\e088"; +} + +.glyphicon-ok-circle:before { + content: "\e089"; +} + +.glyphicon-ban-circle:before { + content: "\e090"; +} + +.glyphicon-arrow-left:before { + content: "\e091"; +} + +.glyphicon-arrow-right:before { + content: "\e092"; +} + +.glyphicon-arrow-up:before { + content: "\e093"; +} + +.glyphicon-arrow-down:before { + content: "\e094"; +} + +.glyphicon-share-alt:before { + content: "\e095"; +} + +.glyphicon-resize-full:before { + content: "\e096"; +} + +.glyphicon-resize-small:before { + content: "\e097"; +} + +.glyphicon-exclamation-sign:before { + content: "\e101"; +} + +.glyphicon-gift:before { + content: "\e102"; +} + +.glyphicon-leaf:before { + content: "\e103"; +} + +.glyphicon-fire:before { + content: "\e104"; +} + +.glyphicon-eye-open:before { + content: "\e105"; +} + +.glyphicon-eye-close:before { + content: "\e106"; +} + +.glyphicon-warning-sign:before { + content: "\e107"; +} + +.glyphicon-plane:before { + content: "\e108"; +} + +.glyphicon-calendar:before { + content: "\e109"; +} + +.glyphicon-random:before { + content: "\e110"; +} + +.glyphicon-comment:before { + content: "\e111"; +} + +.glyphicon-magnet:before { + content: "\e112"; +} + +.glyphicon-chevron-up:before { + content: "\e113"; +} + +.glyphicon-chevron-down:before { + content: "\e114"; +} + +.glyphicon-retweet:before { + content: "\e115"; +} + +.glyphicon-shopping-cart:before { + content: "\e116"; +} + +.glyphicon-folder-close:before { + content: "\e117"; +} + +.glyphicon-folder-open:before { + content: "\e118"; +} + +.glyphicon-resize-vertical:before { + content: "\e119"; +} + +.glyphicon-resize-horizontal:before { + content: "\e120"; +} + +.glyphicon-hdd:before { + content: "\e121"; +} + +.glyphicon-bullhorn:before { + content: "\e122"; +} + +.glyphicon-bell:before { + content: "\e123"; +} + +.glyphicon-certificate:before { + content: "\e124"; +} + +.glyphicon-thumbs-up:before { + content: "\e125"; +} + +.glyphicon-thumbs-down:before { + content: "\e126"; +} + +.glyphicon-hand-right:before { + content: "\e127"; +} + +.glyphicon-hand-left:before { + content: "\e128"; +} + +.glyphicon-hand-up:before { + content: "\e129"; +} + +.glyphicon-hand-down:before { + content: "\e130"; +} + +.glyphicon-circle-arrow-right:before { + content: "\e131"; +} + +.glyphicon-circle-arrow-left:before { + content: "\e132"; +} + +.glyphicon-circle-arrow-up:before { + content: "\e133"; +} + +.glyphicon-circle-arrow-down:before { + content: "\e134"; +} + +.glyphicon-globe:before { + content: "\e135"; +} + +.glyphicon-wrench:before { + content: "\e136"; +} + +.glyphicon-tasks:before { + content: "\e137"; +} + +.glyphicon-filter:before { + content: "\e138"; +} + +.glyphicon-briefcase:before { + content: "\e139"; +} + +.glyphicon-fullscreen:before { + content: "\e140"; +} + +.glyphicon-dashboard:before { + content: "\e141"; +} + +.glyphicon-paperclip:before { + content: "\e142"; +} + +.glyphicon-heart-empty:before { + content: "\e143"; +} + +.glyphicon-link:before { + content: "\e144"; +} + +.glyphicon-phone:before { + content: "\e145"; +} + +.glyphicon-pushpin:before { + content: "\e146"; +} + +.glyphicon-usd:before { + content: "\e148"; +} + +.glyphicon-gbp:before { + content: "\e149"; +} + +.glyphicon-sort:before { + content: "\e150"; +} + +.glyphicon-sort-by-alphabet:before { + content: "\e151"; +} + +.glyphicon-sort-by-alphabet-alt:before { + content: "\e152"; +} + +.glyphicon-sort-by-order:before { + content: "\e153"; +} + +.glyphicon-sort-by-order-alt:before { + content: "\e154"; +} + +.glyphicon-sort-by-attributes:before { + content: "\e155"; +} + +.glyphicon-sort-by-attributes-alt:before { + content: "\e156"; +} + +.glyphicon-unchecked:before { + content: "\e157"; +} + +.glyphicon-expand:before { + content: "\e158"; +} + +.glyphicon-collapse-down:before { + content: "\e159"; +} + +.glyphicon-collapse-up:before { + content: "\e160"; +} + +.glyphicon-log-in:before { + content: "\e161"; +} + +.glyphicon-flash:before { + content: "\e162"; +} + +.glyphicon-log-out:before { + content: "\e163"; +} + +.glyphicon-new-window:before { + content: "\e164"; +} + +.glyphicon-record:before { + content: "\e165"; +} + +.glyphicon-save:before { + content: "\e166"; +} + +.glyphicon-open:before { + content: "\e167"; +} + +.glyphicon-saved:before { + content: "\e168"; +} + +.glyphicon-import:before { + content: "\e169"; +} + +.glyphicon-export:before { + content: "\e170"; +} + +.glyphicon-send:before { + content: "\e171"; +} + +.glyphicon-floppy-disk:before { + content: "\e172"; +} + +.glyphicon-floppy-saved:before { + content: "\e173"; +} + +.glyphicon-floppy-remove:before { + content: "\e174"; +} + +.glyphicon-floppy-save:before { + content: "\e175"; +} + +.glyphicon-floppy-open:before { + content: "\e176"; +} + +.glyphicon-credit-card:before { + content: "\e177"; +} + +.glyphicon-transfer:before { + content: "\e178"; +} + +.glyphicon-cutlery:before { + content: "\e179"; +} + +.glyphicon-header:before { + content: "\e180"; +} + +.glyphicon-compressed:before { + content: "\e181"; +} + +.glyphicon-earphone:before { + content: "\e182"; +} + +.glyphicon-phone-alt:before { + content: "\e183"; +} + +.glyphicon-tower:before { + content: "\e184"; +} + +.glyphicon-stats:before { + content: "\e185"; +} + +.glyphicon-sd-video:before { + content: "\e186"; +} + +.glyphicon-hd-video:before { + content: "\e187"; +} + +.glyphicon-subtitles:before { + content: "\e188"; +} + +.glyphicon-sound-stereo:before { + content: "\e189"; +} + +.glyphicon-sound-dolby:before { + content: "\e190"; +} + +.glyphicon-sound-5-1:before { + content: "\e191"; +} + +.glyphicon-sound-6-1:before { + content: "\e192"; +} + +.glyphicon-sound-7-1:before { + content: "\e193"; +} + +.glyphicon-copyright-mark:before { + content: "\e194"; +} + +.glyphicon-registration-mark:before { + content: "\e195"; +} + +.glyphicon-cloud-download:before { + content: "\e197"; +} + +.glyphicon-cloud-upload:before { + content: "\e198"; +} + +.glyphicon-tree-conifer:before { + content: "\e199"; +} + +.glyphicon-tree-deciduous:before { + content: "\e200"; +} + +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px solid; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} + +.dropdown { + position: relative; +} + +.dropdown-toggle:focus { + outline: 0; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + font-size: 14px; + list-style: none; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 4px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + background-clip: padding-box; +} + +.dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.dropdown-menu .divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.428571429; + color: #333333; + white-space: nowrap; +} + +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + color: #262626; + text-decoration: none; + background-color: #f5f5f5; +} + +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #ffffff; + text-decoration: none; + background-color: #428bca; + outline: 0; +} + +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #999999; +} + +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + cursor: not-allowed; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.open > .dropdown-menu { + display: block; +} + +.open > a { + outline: 0; +} + +.dropdown-header { + display: block; + padding: 3px 20px; + font-size: 12px; + line-height: 1.428571429; + color: #999999; +} + +.dropdown-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 990; +} + +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} + +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + border-top: 0; + border-bottom: 4px solid; + content: ""; +} + +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 1px; +} + +@media (min-width: 768px) { + .navbar-right .dropdown-menu { + right: 0; + left: auto; + } +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} + +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + float: left; +} + +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover, +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus, +.btn-group > .btn:active, +.btn-group-vertical > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn.active { + z-index: 2; +} + +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus { + outline: none; +} + +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group { + margin-left: -1px; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar .btn-group { + float: left; +} + +.btn-toolbar > .btn + .btn, +.btn-toolbar > .btn-group + .btn, +.btn-toolbar > .btn + .btn-group, +.btn-toolbar > .btn-group + .btn-group { + margin-left: 5px; +} + +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0; +} + +.btn-group > .btn:first-child { + margin-left: 0; +} + +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group > .btn-group { + float: left; +} + +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group > .btn-group:first-child > .btn:last-child, +.btn-group > .btn-group:first-child > .dropdown-toggle { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn-group:last-child > .btn:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} + +.btn-group-xs > .btn { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-sm > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-lg > .btn { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-group > .btn + .dropdown-toggle { + padding-right: 8px; + padding-left: 8px; +} + +.btn-group > .btn-lg + .dropdown-toggle { + padding-right: 12px; + padding-left: 12px; +} + +.btn-group.open .dropdown-toggle { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn-group.open .dropdown-toggle.btn-link { + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn .caret { + margin-left: 0; +} + +.btn-lg .caret { + border-width: 5px 5px 0; + border-bottom-width: 0; +} + +.dropup .btn-lg .caret { + border-width: 0 5px 5px; +} + +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group, +.btn-group-vertical > .btn-group > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group > .btn { + float: none; +} + +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} + +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-top-right-radius: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 0; +} + +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group-vertical > .btn-group:first-child > .btn:last-child, +.btn-group-vertical > .btn-group:first-child > .dropdown-toggle { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn-group:last-child > .btn:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.btn-group-justified { + display: table; + width: 100%; + border-collapse: separate; + table-layout: fixed; +} + +.btn-group-justified > .btn, +.btn-group-justified > .btn-group { + display: table-cell; + float: none; + width: 1%; +} + +.btn-group-justified > .btn-group .btn { + width: 100%; +} + +[data-toggle="buttons"] > .btn > input[type="radio"], +[data-toggle="buttons"] > .btn > input[type="checkbox"] { + display: none; +} + +.input-group { + position: relative; + display: table; + border-collapse: separate; +} + +.input-group[class*="col-"] { + float: none; + padding-right: 0; + padding-left: 0; +} + +.input-group .form-control { + width: 100%; + margin-bottom: 0; +} + +.input-group-lg > .form-control, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-group-lg > .form-control, +select.input-group-lg > .input-group-addon, +select.input-group-lg > .input-group-btn > .btn { + height: 46px; + line-height: 46px; +} + +textarea.input-group-lg > .form-control, +textarea.input-group-lg > .input-group-addon, +textarea.input-group-lg > .input-group-btn > .btn { + height: auto; +} + +.input-group-sm > .form-control, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-group-sm > .form-control, +select.input-group-sm > .input-group-addon, +select.input-group-sm > .input-group-btn > .btn { + height: 30px; + line-height: 30px; +} + +textarea.input-group-sm > .form-control, +textarea.input-group-sm > .input-group-addon, +textarea.input-group-sm > .input-group-btn > .btn { + height: auto; +} + +.input-group-addon, +.input-group-btn, +.input-group .form-control { + display: table-cell; +} + +.input-group-addon:not(:first-child):not(:last-child), +.input-group-btn:not(:first-child):not(:last-child), +.input-group .form-control:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.input-group-addon, +.input-group-btn { + width: 1%; + white-space: nowrap; + vertical-align: middle; +} + +.input-group-addon { + padding: 6px 12px; + font-size: 14px; + font-weight: normal; + line-height: 1; + color: #555555; + text-align: center; + background-color: #eeeeee; + border: 1px solid #cccccc; + border-radius: 4px; +} + +.input-group-addon.input-sm { + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; +} + +.input-group-addon.input-lg { + padding: 10px 16px; + font-size: 18px; + border-radius: 6px; +} + +.input-group-addon input[type="radio"], +.input-group-addon input[type="checkbox"] { + margin-top: 0; +} + +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group-addon:first-child { + border-right: 0; +} + +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.input-group-addon:last-child { + border-left: 0; +} + +.input-group-btn { + position: relative; + white-space: nowrap; +} + +.input-group-btn:first-child > .btn { + margin-right: -1px; +} + +.input-group-btn:last-child > .btn { + margin-left: -1px; +} + +.input-group-btn > .btn { + position: relative; +} + +.input-group-btn > .btn + .btn { + margin-left: -4px; +} + +.input-group-btn > .btn:hover, +.input-group-btn > .btn:active { + z-index: 2; +} + +.nav { + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav > li { + position: relative; + display: block; +} + +.nav > li > a { + position: relative; + display: block; + padding: 10px 15px; +} + +.nav > li > a:hover, +.nav > li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.nav > li.disabled > a { + color: #999999; +} + +.nav > li.disabled > a:hover, +.nav > li.disabled > a:focus { + color: #999999; + text-decoration: none; + cursor: not-allowed; + background-color: transparent; +} + +.nav .open > a, +.nav .open > a:hover, +.nav .open > a:focus { + background-color: #eeeeee; + border-color: #428bca; +} + +.nav .nav-divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.nav > li > a > img { + max-width: none; +} + +.nav-tabs { + border-bottom: 1px solid #dddddd; +} + +.nav-tabs > li { + float: left; + margin-bottom: -1px; +} + +.nav-tabs > li > a { + margin-right: 2px; + line-height: 1.428571429; + border: 1px solid transparent; + border-radius: 4px 4px 0 0; +} + +.nav-tabs > li > a:hover { + border-color: #eeeeee #eeeeee #dddddd; +} + +.nav-tabs > li.active > a, +.nav-tabs > li.active > a:hover, +.nav-tabs > li.active > a:focus { + color: #555555; + cursor: default; + background-color: #ffffff; + border: 1px solid #dddddd; + border-bottom-color: transparent; +} + +.nav-tabs.nav-justified { + width: 100%; + border-bottom: 0; +} + +.nav-tabs.nav-justified > li { + float: none; +} + +.nav-tabs.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-tabs.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-tabs.nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs.nav-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs.nav-justified > .active > a, +.nav-tabs.nav-justified > .active > a:hover, +.nav-tabs.nav-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs.nav-justified > .active > a, + .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs.nav-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.nav-pills > li { + float: left; +} + +.nav-pills > li > a { + border-radius: 4px; +} + +.nav-pills > li + li { + margin-left: 2px; +} + +.nav-pills > li.active > a, +.nav-pills > li.active > a:hover, +.nav-pills > li.active > a:focus { + color: #ffffff; + background-color: #428bca; +} + +.nav-stacked > li { + float: none; +} + +.nav-stacked > li + li { + margin-top: 2px; + margin-left: 0; +} + +.nav-justified { + width: 100%; +} + +.nav-justified > li { + float: none; +} + +.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs-justified { + border-bottom: 0; +} + +.nav-tabs-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs-justified > .active > a, +.nav-tabs-justified > .active > a:hover, +.nav-tabs-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs-justified > .active > a, + .nav-tabs-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.tab-content > .tab-pane { + display: none; +} + +.tab-content > .active { + display: block; +} + +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar { + position: relative; + min-height: 50px; + margin-bottom: 20px; + border: 1px solid transparent; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar { + border-radius: 4px; + } +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar-header { + float: left; + } +} + +.navbar-collapse { + max-height: 340px; + padding-right: 15px; + padding-left: 15px; + overflow-x: visible; + border-top: 1px solid transparent; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); + -webkit-overflow-scrolling: touch; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse.in { + overflow-y: auto; +} + +@media (min-width: 768px) { + .navbar-collapse { + width: auto; + border-top: 0; + box-shadow: none; + } + .navbar-collapse.collapse { + display: block !important; + height: auto !important; + padding-bottom: 0; + overflow: visible !important; + } + .navbar-collapse.in { + overflow-y: visible; + } + .navbar-fixed-top .navbar-collapse, + .navbar-static-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + padding-right: 0; + padding-left: 0; + } +} + +.container > .navbar-header, +.container > .navbar-collapse { + margin-right: -15px; + margin-left: -15px; +} + +@media (min-width: 768px) { + .container > .navbar-header, + .container > .navbar-collapse { + margin-right: 0; + margin-left: 0; + } +} + +.navbar-static-top { + z-index: 1000; + border-width: 0 0 1px; +} + +@media (min-width: 768px) { + .navbar-static-top { + border-radius: 0; + } +} + +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; +} + +@media (min-width: 768px) { + .navbar-fixed-top, + .navbar-fixed-bottom { + border-radius: 0; + } +} + +.navbar-fixed-top { + top: 0; + border-width: 0 0 1px; +} + +.navbar-fixed-bottom { + bottom: 0; + margin-bottom: 0; + border-width: 1px 0 0; +} + +.navbar-brand { + float: left; + padding: 15px 15px; + font-size: 18px; + line-height: 20px; +} + +.navbar-brand:hover, +.navbar-brand:focus { + text-decoration: none; +} + +@media (min-width: 768px) { + .navbar > .container .navbar-brand { + margin-left: -15px; + } +} + +.navbar-toggle { + position: relative; + float: right; + padding: 9px 10px; + margin-top: 8px; + margin-right: 15px; + margin-bottom: 8px; + background-color: transparent; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; +} + +.navbar-toggle .icon-bar { + display: block; + width: 22px; + height: 2px; + border-radius: 1px; +} + +.navbar-toggle .icon-bar + .icon-bar { + margin-top: 4px; +} + +@media (min-width: 768px) { + .navbar-toggle { + display: none; + } +} + +.navbar-nav { + margin: 7.5px -15px; +} + +.navbar-nav > li > a { + padding-top: 10px; + padding-bottom: 10px; + line-height: 20px; +} + +@media (max-width: 767px) { + .navbar-nav .open .dropdown-menu { + position: static; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + box-shadow: none; + } + .navbar-nav .open .dropdown-menu > li > a, + .navbar-nav .open .dropdown-menu .dropdown-header { + padding: 5px 15px 5px 25px; + } + .navbar-nav .open .dropdown-menu > li > a { + line-height: 20px; + } + .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-nav .open .dropdown-menu > li > a:focus { + background-image: none; + } +} + +@media (min-width: 768px) { + .navbar-nav { + float: left; + margin: 0; + } + .navbar-nav > li { + float: left; + } + .navbar-nav > li > a { + padding-top: 15px; + padding-bottom: 15px; + } + .navbar-nav.navbar-right:last-child { + margin-right: -15px; + } +} + +@media (min-width: 768px) { + .navbar-left { + float: left !important; + } + .navbar-right { + float: right !important; + } +} + +.navbar-form { + padding: 10px 15px; + margin-top: 8px; + margin-right: -15px; + margin-bottom: 8px; + margin-left: -15px; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); +} + +@media (min-width: 768px) { + .navbar-form .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .form-control { + display: inline-block; + } + .navbar-form select.form-control { + width: auto; + } + .navbar-form .radio, + .navbar-form .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .navbar-form .radio input[type="radio"], + .navbar-form .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +@media (max-width: 767px) { + .navbar-form .form-group { + margin-bottom: 5px; + } +} + +@media (min-width: 768px) { + .navbar-form { + width: auto; + padding-top: 0; + padding-bottom: 0; + margin-right: 0; + margin-left: 0; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .navbar-form.navbar-right:last-child { + margin-right: -15px; + } +} + +.navbar-nav > li > .dropdown-menu { + margin-top: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.navbar-nav.pull-right > li > .dropdown-menu, +.navbar-nav > li > .dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.navbar-btn { + margin-top: 8px; + margin-bottom: 8px; +} + +.navbar-btn.btn-sm { + margin-top: 10px; + margin-bottom: 10px; +} + +.navbar-btn.btn-xs { + margin-top: 14px; + margin-bottom: 14px; +} + +.navbar-text { + margin-top: 15px; + margin-bottom: 15px; +} + +@media (min-width: 768px) { + .navbar-text { + float: left; + margin-right: 15px; + margin-left: 15px; + } + .navbar-text.navbar-right:last-child { + margin-right: 0; + } +} + +.navbar-default { + background-color: #f8f8f8; + border-color: #e7e7e7; +} + +.navbar-default .navbar-brand { + color: #777777; +} + +.navbar-default .navbar-brand:hover, +.navbar-default .navbar-brand:focus { + color: #5e5e5e; + background-color: transparent; +} + +.navbar-default .navbar-text { + color: #777777; +} + +.navbar-default .navbar-nav > li > a { + color: #777777; +} + +.navbar-default .navbar-nav > li > a:hover, +.navbar-default .navbar-nav > li > a:focus { + color: #333333; + background-color: transparent; +} + +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .disabled > a, +.navbar-default .navbar-nav > .disabled > a:hover, +.navbar-default .navbar-nav > .disabled > a:focus { + color: #cccccc; + background-color: transparent; +} + +.navbar-default .navbar-toggle { + border-color: #dddddd; +} + +.navbar-default .navbar-toggle:hover, +.navbar-default .navbar-toggle:focus { + background-color: #dddddd; +} + +.navbar-default .navbar-toggle .icon-bar { + background-color: #cccccc; +} + +.navbar-default .navbar-collapse, +.navbar-default .navbar-form { + border-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .open > a, +.navbar-default .navbar-nav > .open > a:hover, +.navbar-default .navbar-nav > .open > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a { + color: #777777; + } + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + color: #333333; + background-color: transparent; + } + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #555555; + background-color: #e7e7e7; + } + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #cccccc; + background-color: transparent; + } +} + +.navbar-default .navbar-link { + color: #777777; +} + +.navbar-default .navbar-link:hover { + color: #333333; +} + +.navbar-inverse { + background-color: #222222; + border-color: #080808; +} + +.navbar-inverse .navbar-brand { + color: #999999; +} + +.navbar-inverse .navbar-brand:hover, +.navbar-inverse .navbar-brand:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-text { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a:hover, +.navbar-inverse .navbar-nav > li > a:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-nav > .active > a, +.navbar-inverse .navbar-nav > .active > a:hover, +.navbar-inverse .navbar-nav > .active > a:focus { + color: #ffffff; + background-color: #080808; +} + +.navbar-inverse .navbar-nav > .disabled > a, +.navbar-inverse .navbar-nav > .disabled > a:hover, +.navbar-inverse .navbar-nav > .disabled > a:focus { + color: #444444; + background-color: transparent; +} + +.navbar-inverse .navbar-toggle { + border-color: #333333; +} + +.navbar-inverse .navbar-toggle:hover, +.navbar-inverse .navbar-toggle:focus { + background-color: #333333; +} + +.navbar-inverse .navbar-toggle .icon-bar { + background-color: #ffffff; +} + +.navbar-inverse .navbar-collapse, +.navbar-inverse .navbar-form { + border-color: #101010; +} + +.navbar-inverse .navbar-nav > .open > a, +.navbar-inverse .navbar-nav > .open > a:hover, +.navbar-inverse .navbar-nav > .open > a:focus { + color: #ffffff; + background-color: #080808; +} + +@media (max-width: 767px) { + .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { + border-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu .divider { + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { + color: #999999; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + color: #ffffff; + background-color: transparent; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #ffffff; + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #444444; + background-color: transparent; + } +} + +.navbar-inverse .navbar-link { + color: #999999; +} + +.navbar-inverse .navbar-link:hover { + color: #ffffff; +} + +.breadcrumb { + padding: 8px 15px; + margin-bottom: 20px; + list-style: none; + background-color: #f5f5f5; + border-radius: 4px; +} + +.breadcrumb > li { + display: inline-block; +} + +.breadcrumb > li + li:before { + padding: 0 5px; + color: #cccccc; + content: "/\00a0"; +} + +.breadcrumb > .active { + color: #999999; +} + +.pagination { + display: inline-block; + padding-left: 0; + margin: 20px 0; + border-radius: 4px; +} + +.pagination > li { + display: inline; +} + +.pagination > li > a, +.pagination > li > span { + position: relative; + float: left; + padding: 6px 12px; + margin-left: -1px; + line-height: 1.428571429; + text-decoration: none; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.pagination > li:first-child > a, +.pagination > li:first-child > span { + margin-left: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} + +.pagination > li:last-child > a, +.pagination > li:last-child > span { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} + +.pagination > li > a:hover, +.pagination > li > span:hover, +.pagination > li > a:focus, +.pagination > li > span:focus { + background-color: #eeeeee; +} + +.pagination > .active > a, +.pagination > .active > span, +.pagination > .active > a:hover, +.pagination > .active > span:hover, +.pagination > .active > a:focus, +.pagination > .active > span:focus { + z-index: 2; + color: #ffffff; + cursor: default; + background-color: #428bca; + border-color: #428bca; +} + +.pagination > .disabled > span, +.pagination > .disabled > span:hover, +.pagination > .disabled > span:focus, +.pagination > .disabled > a, +.pagination > .disabled > a:hover, +.pagination > .disabled > a:focus { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; + border-color: #dddddd; +} + +.pagination-lg > li > a, +.pagination-lg > li > span { + padding: 10px 16px; + font-size: 18px; +} + +.pagination-lg > li:first-child > a, +.pagination-lg > li:first-child > span { + border-bottom-left-radius: 6px; + border-top-left-radius: 6px; +} + +.pagination-lg > li:last-child > a, +.pagination-lg > li:last-child > span { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; +} + +.pagination-sm > li > a, +.pagination-sm > li > span { + padding: 5px 10px; + font-size: 12px; +} + +.pagination-sm > li:first-child > a, +.pagination-sm > li:first-child > span { + border-bottom-left-radius: 3px; + border-top-left-radius: 3px; +} + +.pagination-sm > li:last-child > a, +.pagination-sm > li:last-child > span { + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} + +.pager { + padding-left: 0; + margin: 20px 0; + text-align: center; + list-style: none; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager li { + display: inline; +} + +.pager li > a, +.pager li > span { + display: inline-block; + padding: 5px 14px; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 15px; +} + +.pager li > a:hover, +.pager li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.pager .next > a, +.pager .next > span { + float: right; +} + +.pager .previous > a, +.pager .previous > span { + float: left; +} + +.pager .disabled > a, +.pager .disabled > a:hover, +.pager .disabled > a:focus, +.pager .disabled > span { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; +} + +.label { + display: inline; + padding: .2em .6em .3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25em; +} + +.label[href]:hover, +.label[href]:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +.label:empty { + display: none; +} + +.btn .label { + position: relative; + top: -1px; +} + +.label-default { + background-color: #999999; +} + +.label-default[href]:hover, +.label-default[href]:focus { + background-color: #808080; +} + +.label-primary { + background-color: #428bca; +} + +.label-primary[href]:hover, +.label-primary[href]:focus { + background-color: #3071a9; +} + +.label-success { + background-color: #5cb85c; +} + +.label-success[href]:hover, +.label-success[href]:focus { + background-color: #449d44; +} + +.label-info { + background-color: #5bc0de; +} + +.label-info[href]:hover, +.label-info[href]:focus { + background-color: #31b0d5; +} + +.label-warning { + background-color: #f0ad4e; +} + +.label-warning[href]:hover, +.label-warning[href]:focus { + background-color: #ec971f; +} + +.label-minor { + background-color: #fad664; +} +.label-minor[href]:hover, +.label-minor[href]:focus { + background-color: #f8c933; +} + +.label-danger { + background-color: #d9534f; +} + +.label-danger[href]:hover, +.label-danger[href]:focus { + background-color: #c9302c; +} + +.badge { + display: inline-block; + min-width: 10px; + padding: 3px 7px; + font-size: 12px; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + background-color: #999999; + border-radius: 10px; +} + +.badge:empty { + display: none; +} + +.btn .badge { + position: relative; + top: -1px; +} + +a.badge:hover, +a.badge:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +a.list-group-item.active > .badge, +.nav-pills > .active > a > .badge { + color: #428bca; + background-color: #ffffff; +} + +.nav-pills > li > a > .badge { + margin-left: 3px; +} + +/*.jumbotron { + padding: 30px; + margin-bottom: 30px; + font-size: 21px; + font-weight: 200; + line-height: 2.1428571435; + color: inherit; + background-color: #eeeeee; +} + +.jumbotron h1, +.jumbotron .h1 { + line-height: 1; + color: inherit; +} + +.jumbotron p { + line-height: 1.4; +} + +.container .jumbotron { + border-radius: 6px; +} + +.jumbotron .container { + max-width: 100%; +} + +@media screen and (min-width: 768px) { + .jumbotron { + padding-top: 48px; + padding-bottom: 48px; + } + .container .jumbotron { + padding-right: 60px; + padding-left: 60px; + } + .jumbotron h1, + .jumbotron .h1 { + font-size: 63px; + } +}*/ + +.thumbnail { + display: block; + padding: 4px; + margin-bottom: 20px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.thumbnail > img, +.thumbnail a > img { + display: block; + height: auto; + max-width: 100%; + margin-right: auto; + margin-left: auto; +} + +a.thumbnail:hover, +a.thumbnail:focus, +a.thumbnail.active { + border-color: #428bca; +} + +.thumbnail .caption { + padding: 9px; + color: #333333; +} + +.alert { + padding: 15px; + margin-bottom: 20px; + border: 1px solid transparent; + border-radius: 4px; +} + +.alert h4 { + margin-top: 0; + color: inherit; +} + +.alert .alert-link { + font-weight: bold; +} + +.alert > p, +.alert > ul { + margin-bottom: 0; +} + +.alert > p + p { + margin-top: 5px; +} + +.alert-dismissable { + padding-right: 35px; +} + +.alert-dismissable .close { + position: relative; + top: -2px; + right: -21px; + color: inherit; +} + +.alert-success { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.alert-success hr { + border-top-color: #c9e2b3; +} + +.alert-success .alert-link { + color: #2b542c; +} + +.alert-info { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.alert-info hr { + border-top-color: #a6e1ec; +} + +.alert-info .alert-link { + color: #245269; +} + +.alert-warning { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.alert-warning hr { + border-top-color: #f7e1b5; +} + +.alert-warning .alert-link { + color: #66512c; +} + +.alert-danger { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.alert-danger hr { + border-top-color: #e4b9c0; +} + +.alert-danger .alert-link { + color: #843534; +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +.progress { + height: 20px; + margin-bottom: 20px; + overflow: hidden; + background-color: #f5f5f5; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.progress-bar { + float: left; + width: 0; + height: 100%; + font-size: 12px; + line-height: 20px; + color: #ffffff; + text-align: center; + background-color: #428bca; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -webkit-transition: width 0.6s ease; + transition: width 0.6s ease; +} + +.progress-striped .progress-bar { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-size: 40px 40px; +} + +.progress.active .progress-bar { + -webkit-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} + +.progress-bar-success { + background-color: #5cb85c; +} + +.progress-striped .progress-bar-success { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-info { + background-color: #5bc0de; +} + +.progress-striped .progress-bar-info { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-warning { + background-color: #f0ad4e; +} + +.progress-striped .progress-bar-warning { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-danger { + background-color: #d9534f; +} + +.progress-striped .progress-bar-danger { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.media, +.media-body { + overflow: hidden; + zoom: 1; +} + +.media, +.media .media { + margin-top: 15px; +} + +.media:first-child { + margin-top: 0; +} + +.media-object { + display: block; +} + +.media-heading { + margin: 0 0 5px; +} + +.media > .pull-left { + margin-right: 10px; +} + +.media > .pull-right { + margin-left: 10px; +} + +.media-list { + padding-left: 0; + list-style: none; +} + +.list-group { + padding-left: 0; + margin-bottom: 20px; +} + +.list-group-item { + position: relative; + display: block; + padding: 10px 15px; + margin-bottom: -1px; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.list-group-item:first-child { + border-top-right-radius: 4px; + border-top-left-radius: 4px; +} + +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} + +.list-group-item > .badge { + float: right; +} + +.list-group-item > .badge + .badge { + margin-right: 5px; +} + +a.list-group-item { + color: #555555; +} + +a.list-group-item .list-group-item-heading { + color: #333333; +} + +a.list-group-item:hover, +a.list-group-item:focus { + text-decoration: none; + background-color: #f5f5f5; +} + +a.list-group-item.active, +a.list-group-item.active:hover, +a.list-group-item.active:focus { + z-index: 2; + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +a.list-group-item.active .list-group-item-heading, +a.list-group-item.active:hover .list-group-item-heading, +a.list-group-item.active:focus .list-group-item-heading { + color: inherit; +} + +a.list-group-item.active .list-group-item-text, +a.list-group-item.active:hover .list-group-item-text, +a.list-group-item.active:focus .list-group-item-text { + color: #e1edf7; +} + +.list-group-item-heading { + margin-top: 0; + margin-bottom: 5px; +} + +.list-group-item-text { + margin-bottom: 0; + line-height: 1.3; +} + +.panel { + margin-bottom: 20px; + background-color: #ffffff; + border: 1px solid transparent; + border-radius: 4px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.panel-body { + padding: 15px; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel > .list-group { + margin-bottom: 0; +} + +.panel > .list-group .list-group-item { + border-width: 1px 0; +} + +.panel > .list-group .list-group-item:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.panel > .list-group .list-group-item:last-child { + border-bottom: 0; +} + +.panel-heading + .list-group .list-group-item:first-child { + border-top-width: 0; +} + +.panel > .table, +.panel > .table-responsive > .table { + margin-bottom: 0; +} + +.panel > .panel-body + .table, +.panel > .panel-body + .table-responsive { + border-top: 1px solid #dddddd; +} + +.panel > .table > tbody:first-child th, +.panel > .table > tbody:first-child td { + border-top: 0; +} + +.panel > .table-bordered, +.panel > .table-responsive > .table-bordered { + border: 0; +} + +.panel > .table-bordered > thead > tr > th:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, +.panel > .table-bordered > tbody > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, +.panel > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-bordered > thead > tr > td:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, +.panel > .table-bordered > tbody > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, +.panel > .table-bordered > tfoot > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; +} + +.panel > .table-bordered > thead > tr > th:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, +.panel > .table-bordered > tbody > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, +.panel > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-bordered > thead > tr > td:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, +.panel > .table-bordered > tbody > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, +.panel > .table-bordered > tfoot > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; +} + +.panel > .table-bordered > thead > tr:last-child > th, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > th, +.panel > .table-bordered > tbody > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, +.panel > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-bordered > thead > tr:last-child > td, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > td, +.panel > .table-bordered > tbody > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, +.panel > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; +} + +.panel > .table-responsive { + margin-bottom: 0; + border: 0; +} + +.panel-heading { + padding: 10px 15px; + border-bottom: 1px solid transparent; + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} + +.panel-heading > .dropdown .dropdown-toggle { + color: inherit; +} + +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: 16px; + color: inherit; +} + +.panel-title > a { + color: inherit; +} + +.panel-footer { + padding: 10px 15px; + background-color: #f5f5f5; + border-top: 1px solid #dddddd; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} + +.panel-group .panel { + margin-bottom: 0; + overflow: hidden; + border-radius: 4px; +} + +.panel-group .panel + .panel { + margin-top: 5px; +} + +.panel-group .panel-heading { + border-bottom: 0; +} + +.panel-group .panel-heading + .panel-collapse .panel-body { + border-top: 1px solid #dddddd; +} + +.panel-group .panel-footer { + border-top: 0; +} + +.panel-group .panel-footer + .panel-collapse .panel-body { + border-bottom: 1px solid #dddddd; +} + +.panel-default { + border-color: #dddddd; +} + +.panel-default > .panel-heading { + color: #333333; + background-color: #f5f5f5; + border-color: #dddddd; +} + +.panel-default > .panel-heading + .panel-collapse .panel-body { + border-top-color: #dddddd; +} + +.panel-default > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #dddddd; +} + +.panel-primary { + border-color: #428bca; +} + +.panel-primary > .panel-heading { + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +.panel-primary > .panel-heading + .panel-collapse .panel-body { + border-top-color: #428bca; +} + +.panel-primary > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #428bca; +} + +.panel-success { + border-color: #d6e9c6; +} + +.panel-success > .panel-heading { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.panel-success > .panel-heading + .panel-collapse .panel-body { + border-top-color: #d6e9c6; +} + +.panel-success > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #d6e9c6; +} + +.panel-warning { + border-color: #faebcc; +} + +.panel-warning > .panel-heading { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.panel-warning > .panel-heading + .panel-collapse .panel-body { + border-top-color: #faebcc; +} + +.panel-warning > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #faebcc; +} + +.panel-danger { + border-color: #ebccd1; +} + +.panel-danger > .panel-heading { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.panel-danger > .panel-heading + .panel-collapse .panel-body { + border-top-color: #ebccd1; +} + +.panel-danger > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #ebccd1; +} + +.panel-info { + border-color: #bce8f1; +} + +.panel-info > .panel-heading { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.panel-info > .panel-heading + .panel-collapse .panel-body { + border-top-color: #bce8f1; +} + +.panel-info > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #bce8f1; +} + +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e3e3e3; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, 0.15); +} + +.well-lg { + padding: 24px; + border-radius: 6px; +} + +.well-sm { + padding: 9px; + border-radius: 3px; +} + +.close { + float: right; + font-size: 21px; + font-weight: bold; + line-height: 1; + color: #000000; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} + +.close:hover, +.close:focus { + color: #000000; + text-decoration: none; + cursor: pointer; + opacity: 0.5; + filter: alpha(opacity=50); +} + +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} + +.modal-open { + overflow: hidden; +} + +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + display: none; + overflow: auto; + overflow-y: scroll; +} + +.modal.fade .modal-dialog { + -webkit-transform: translate(0, -25%); + -ms-transform: translate(0, -25%); + transform: translate(0, -25%); + -webkit-transition: -webkit-transform 0.3s ease-out; + -moz-transition: -moz-transform 0.3s ease-out; + -o-transition: -o-transform 0.3s ease-out; + transition: transform 0.3s ease-out; +} + +.modal.in .modal-dialog { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); +} + +.modal-dialog { + position: relative; + z-index: 1050; + width: auto; + margin: 10px; +} + +.modal-content { + position: relative; + background-color: #ffffff; + border: 1px solid #999999; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + outline: none; + -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + background-clip: padding-box; +} + +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1030; + background-color: #000000; +} + +.modal-backdrop.fade { + opacity: 0; + filter: alpha(opacity=0); +} + +.modal-backdrop.in { + opacity: 0.5; + filter: alpha(opacity=50); +} + +.modal-header { + min-height: 16.428571429px; + padding: 15px; + border-bottom: 1px solid #e5e5e5; +} + +.modal-header .close { + margin-top: -2px; +} + +.modal-title { + margin: 0; + line-height: 1.428571429; +} + +.modal-body { + position: relative; + padding: 20px; +} + +.modal-footer { + padding: 19px 20px 20px; + margin-top: 15px; + text-align: right; + border-top: 1px solid #e5e5e5; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer .btn + .btn { + margin-bottom: 0; + margin-left: 5px; +} + +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} + +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} + +@media screen and (min-width: 768px) { + .modal-dialog { + width: 600px; + margin: 30px auto; + } + .modal-content { + -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + } +} + +.tooltip { + position: absolute; + z-index: 1030; + display: block; + font-size: 12px; + line-height: 1.4; + opacity: 0; + filter: alpha(opacity=0); + visibility: visible; +} + +.tooltip.in { + opacity: 0.9; + filter: alpha(opacity=90); +} + +.tooltip.top { + padding: 5px 0; + margin-top: -3px; +} + +.tooltip.right { + padding: 0 5px; + margin-left: 3px; +} + +.tooltip.bottom { + padding: 5px 0; + margin-top: 3px; +} + +.tooltip.left { + padding: 0 5px; + margin-left: -3px; +} + +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: #ffffff; + text-align: center; + text-decoration: none; + background-color: #000000; + border-radius: 4px; +} + +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-left .tooltip-arrow { + bottom: 0; + left: 5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-right .tooltip-arrow { + right: 5px; + bottom: 0; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-right-color: #000000; + border-width: 5px 5px 5px 0; +} + +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-left-color: #000000; + border-width: 5px 0 5px 5px; +} + +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-left .tooltip-arrow { + top: 0; + left: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-right .tooltip-arrow { + top: 0; + right: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1010; + display: none; + max-width: 276px; + padding: 1px; + text-align: left; + white-space: normal; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + background-clip: padding-box; +} + +.popover.top { + margin-top: -10px; +} + +.popover.right { + margin-left: 10px; +} + +.popover.bottom { + margin-top: 10px; +} + +.popover.left { + margin-left: -10px; +} + +.popover-title { + padding: 8px 14px; + margin: 0; + font-size: 14px; + font-weight: normal; + line-height: 18px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-radius: 5px 5px 0 0; +} + +.popover-content { + padding: 9px 14px; +} + +.popover .arrow, +.popover .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.popover .arrow { + border-width: 11px; +} + +.popover .arrow:after { + border-width: 10px; + content: ""; +} + +.popover.top .arrow { + bottom: -11px; + left: 50%; + margin-left: -11px; + border-top-color: #999999; + border-top-color: rgba(0, 0, 0, 0.25); + border-bottom-width: 0; +} + +.popover.top .arrow:after { + bottom: 1px; + margin-left: -10px; + border-top-color: #ffffff; + border-bottom-width: 0; + content: " "; +} + +.popover.right .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-right-color: #999999; + border-right-color: rgba(0, 0, 0, 0.25); + border-left-width: 0; +} + +.popover.right .arrow:after { + bottom: -10px; + left: 1px; + border-right-color: #ffffff; + border-left-width: 0; + content: " "; +} + +.popover.bottom .arrow { + top: -11px; + left: 50%; + margin-left: -11px; + border-bottom-color: #999999; + border-bottom-color: rgba(0, 0, 0, 0.25); + border-top-width: 0; +} + +.popover.bottom .arrow:after { + top: 1px; + margin-left: -10px; + border-bottom-color: #ffffff; + border-top-width: 0; + content: " "; +} + +.popover.left .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-left-color: #999999; + border-left-color: rgba(0, 0, 0, 0.25); + border-right-width: 0; +} + +.popover.left .arrow:after { + right: 1px; + bottom: -10px; + border-left-color: #ffffff; + border-right-width: 0; + content: " "; +} + +.carousel { + position: relative; +} + +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} + +.carousel-inner > .item { + position: relative; + display: none; + -webkit-transition: 0.6s ease-in-out left; + transition: 0.6s ease-in-out left; +} + +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + display: block; + height: auto; + max-width: 100%; + line-height: 1; +} + +.carousel-inner > .active, +.carousel-inner > .next, +.carousel-inner > .prev { + display: block; +} + +.carousel-inner > .active { + left: 0; +} + +.carousel-inner > .next, +.carousel-inner > .prev { + position: absolute; + top: 0; + width: 100%; +} + +.carousel-inner > .next { + left: 100%; +} + +.carousel-inner > .prev { + left: -100%; +} + +.carousel-inner > .next.left, +.carousel-inner > .prev.right { + left: 0; +} + +.carousel-inner > .active.left { + left: -100%; +} + +.carousel-inner > .active.right { + left: 100%; +} + +.carousel-control { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 15%; + font-size: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); + opacity: 0.5; + filter: alpha(opacity=50); +} + +.carousel-control.left { + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0), color-stop(rgba(0, 0, 0, 0.0001) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); +} + +.carousel-control.right { + right: 0; + left: auto; + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0), color-stop(rgba(0, 0, 0, 0.5) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); +} + +.carousel-control:hover, +.carousel-control:focus { + color: #ffffff; + text-decoration: none; + outline: none; + opacity: 0.9; + filter: alpha(opacity=90); +} + +.carousel-control .icon-prev, +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-left, +.carousel-control .glyphicon-chevron-right { + position: absolute; + top: 50%; + z-index: 5; + display: inline-block; +} + +.carousel-control .icon-prev, +.carousel-control .glyphicon-chevron-left { + left: 50%; +} + +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-right { + right: 50%; +} + +.carousel-control .icon-prev, +.carousel-control .icon-next { + width: 20px; + height: 20px; + margin-top: -10px; + margin-left: -10px; + font-family: serif; +} + +.carousel-control .icon-prev:before { + content: '\2039'; +} + +.carousel-control .icon-next:before { + content: '\203a'; +} + +.carousel-indicators { + position: absolute; + bottom: 10px; + left: 50%; + z-index: 15; + width: 60%; + padding-left: 0; + margin-left: -30%; + text-align: center; + list-style: none; +} + +.carousel-indicators li { + display: inline-block; + width: 10px; + height: 10px; + margin: 1px; + text-indent: -999px; + cursor: pointer; + background-color: #000 \9; + background-color: rgba(0, 0, 0, 0); + border: 1px solid #ffffff; + border-radius: 10px; +} + +.carousel-indicators .active { + width: 12px; + height: 12px; + margin: 0; + background-color: #ffffff; +} + +.carousel-caption { + position: absolute; + right: 15%; + bottom: 20px; + left: 15%; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); +} + +.carousel-caption .btn { + text-shadow: none; +} + +@media screen and (min-width: 768px) { + .carousel-control .glyphicons-chevron-left, + .carousel-control .glyphicons-chevron-right, + .carousel-control .icon-prev, + .carousel-control .icon-next { + width: 30px; + height: 30px; + margin-top: -15px; + margin-left: -15px; + font-size: 30px; + } + .carousel-caption { + right: 20%; + left: 20%; + padding-bottom: 30px; + } + .carousel-indicators { + bottom: 20px; + } +} + +.clearfix:before, +.clearfix:after { + display: table; + content: " "; +} + +.clearfix:after { + clear: both; +} + +.center-block { + display: block; + margin-right: auto; + margin-left: auto; +} + +.pull-right { + float: right !important; +} + +.pull-left { + float: left !important; +} + +.hide { + display: none !important; +} + +.show { + display: block !important; +} + +.invisible { + visibility: hidden; +} + +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.hidden { + display: none !important; + visibility: hidden !important; +} + +.affix { + position: fixed; +} + +@-ms-viewport { + width: device-width; +} + +.visible-xs, +tr.visible-xs, +th.visible-xs, +td.visible-xs { + display: none !important; +} + +@media (max-width: 767px) { + .visible-xs { + display: block !important; + } + table.visible-xs { + display: table; + } + tr.visible-xs { + display: table-row !important; + } + th.visible-xs, + td.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-xs.visible-sm { + display: block !important; + } + table.visible-xs.visible-sm { + display: table; + } + tr.visible-xs.visible-sm { + display: table-row !important; + } + th.visible-xs.visible-sm, + td.visible-xs.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-xs.visible-md { + display: block !important; + } + table.visible-xs.visible-md { + display: table; + } + tr.visible-xs.visible-md { + display: table-row !important; + } + th.visible-xs.visible-md, + td.visible-xs.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-xs.visible-lg { + display: block !important; + } + table.visible-xs.visible-lg { + display: table; + } + tr.visible-xs.visible-lg { + display: table-row !important; + } + th.visible-xs.visible-lg, + td.visible-xs.visible-lg { + display: table-cell !important; + } +} + +.visible-sm, +tr.visible-sm, +th.visible-sm, +td.visible-sm { + display: none !important; +} + +@media (max-width: 767px) { + .visible-sm.visible-xs { + display: block !important; + } + table.visible-sm.visible-xs { + display: table; + } + tr.visible-sm.visible-xs { + display: table-row !important; + } + th.visible-sm.visible-xs, + td.visible-sm.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm { + display: block !important; + } + table.visible-sm { + display: table; + } + tr.visible-sm { + display: table-row !important; + } + th.visible-sm, + td.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-sm.visible-md { + display: block !important; + } + table.visible-sm.visible-md { + display: table; + } + tr.visible-sm.visible-md { + display: table-row !important; + } + th.visible-sm.visible-md, + td.visible-sm.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-sm.visible-lg { + display: block !important; + } + table.visible-sm.visible-lg { + display: table; + } + tr.visible-sm.visible-lg { + display: table-row !important; + } + th.visible-sm.visible-lg, + td.visible-sm.visible-lg { + display: table-cell !important; + } +} + +.visible-md, +tr.visible-md, +th.visible-md, +td.visible-md { + display: none !important; +} + +@media (max-width: 767px) { + .visible-md.visible-xs { + display: block !important; + } + table.visible-md.visible-xs { + display: table; + } + tr.visible-md.visible-xs { + display: table-row !important; + } + th.visible-md.visible-xs, + td.visible-md.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-md.visible-sm { + display: block !important; + } + table.visible-md.visible-sm { + display: table; + } + tr.visible-md.visible-sm { + display: table-row !important; + } + th.visible-md.visible-sm, + td.visible-md.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md { + display: block !important; + } + table.visible-md { + display: table; + } + tr.visible-md { + display: table-row !important; + } + th.visible-md, + td.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-md.visible-lg { + display: block !important; + } + table.visible-md.visible-lg { + display: table; + } + tr.visible-md.visible-lg { + display: table-row !important; + } + th.visible-md.visible-lg, + td.visible-md.visible-lg { + display: table-cell !important; + } +} + +.visible-lg, +tr.visible-lg, +th.visible-lg, +td.visible-lg { + display: none !important; +} + +@media (max-width: 767px) { + .visible-lg.visible-xs { + display: block !important; + } + table.visible-lg.visible-xs { + display: table; + } + tr.visible-lg.visible-xs { + display: table-row !important; + } + th.visible-lg.visible-xs, + td.visible-lg.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-lg.visible-sm { + display: block !important; + } + table.visible-lg.visible-sm { + display: table; + } + tr.visible-lg.visible-sm { + display: table-row !important; + } + th.visible-lg.visible-sm, + td.visible-lg.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-lg.visible-md { + display: block !important; + } + table.visible-lg.visible-md { + display: table; + } + tr.visible-lg.visible-md { + display: table-row !important; + } + th.visible-lg.visible-md, + td.visible-lg.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-lg { + display: block !important; + } + table.visible-lg { + display: table; + } + tr.visible-lg { + display: table-row !important; + } + th.visible-lg, + td.visible-lg { + display: table-cell !important; + } +} + +.hidden-xs { + display: block !important; +} + +table.hidden-xs { + display: table; +} + +tr.hidden-xs { + display: table-row !important; +} + +th.hidden-xs, +td.hidden-xs { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-xs, + tr.hidden-xs, + th.hidden-xs, + td.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-xs.hidden-sm, + tr.hidden-xs.hidden-sm, + th.hidden-xs.hidden-sm, + td.hidden-xs.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-xs.hidden-md, + tr.hidden-xs.hidden-md, + th.hidden-xs.hidden-md, + td.hidden-xs.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-xs.hidden-lg, + tr.hidden-xs.hidden-lg, + th.hidden-xs.hidden-lg, + td.hidden-xs.hidden-lg { + display: none !important; + } +} + +.hidden-sm { + display: block !important; +} + +table.hidden-sm { + display: table; +} + +tr.hidden-sm { + display: table-row !important; +} + +th.hidden-sm, +td.hidden-sm { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-sm.hidden-xs, + tr.hidden-sm.hidden-xs, + th.hidden-sm.hidden-xs, + td.hidden-sm.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-sm, + tr.hidden-sm, + th.hidden-sm, + td.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-sm.hidden-md, + tr.hidden-sm.hidden-md, + th.hidden-sm.hidden-md, + td.hidden-sm.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-sm.hidden-lg, + tr.hidden-sm.hidden-lg, + th.hidden-sm.hidden-lg, + td.hidden-sm.hidden-lg { + display: none !important; + } +} + +.hidden-md { + display: block !important; +} + +table.hidden-md { + display: table; +} + +tr.hidden-md { + display: table-row !important; +} + +th.hidden-md, +td.hidden-md { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-md.hidden-xs, + tr.hidden-md.hidden-xs, + th.hidden-md.hidden-xs, + td.hidden-md.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-md.hidden-sm, + tr.hidden-md.hidden-sm, + th.hidden-md.hidden-sm, + td.hidden-md.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-md, + tr.hidden-md, + th.hidden-md, + td.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-md.hidden-lg, + tr.hidden-md.hidden-lg, + th.hidden-md.hidden-lg, + td.hidden-md.hidden-lg { + display: none !important; + } +} + +.hidden-lg { + display: block !important; +} + +table.hidden-lg { + display: table; +} + +tr.hidden-lg { + display: table-row !important; +} + +th.hidden-lg, +td.hidden-lg { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-lg.hidden-xs, + tr.hidden-lg.hidden-xs, + th.hidden-lg.hidden-xs, + td.hidden-lg.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-lg.hidden-sm, + tr.hidden-lg.hidden-sm, + th.hidden-lg.hidden-sm, + td.hidden-lg.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-lg.hidden-md, + tr.hidden-lg.hidden-md, + th.hidden-lg.hidden-md, + td.hidden-lg.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-lg, + tr.hidden-lg, + th.hidden-lg, + td.hidden-lg { + display: none !important; + } +} + +.visible-print, +tr.visible-print, +th.visible-print, +td.visible-print { + display: none !important; +} + +@media print { + .visible-print { + display: block !important; + } + table.visible-print { + display: table; + } + tr.visible-print { + display: table-row !important; + } + th.visible-print, + td.visible-print { + display: table-cell !important; + } + .hidden-print, + tr.hidden-print, + th.hidden-print, + td.hidden-print { + display: none !important; + } +} + + +/*Added by Maria*/ + + /* Main marketing message and sign up button */ + .jumbotron { + margin: 0px 0; + text-align: center; + } + .jumbotron h1 { + font-size: 80px; + line-height: 1; + } + .jumbotron .lead { + font-size: 20px; + line-height: 1.25; + } + .jumbotron .btn { + font-size: 21px; + padding: 14px 24px; + } + + /* Supporting marketing content */ + .marketing { + margin: 60px 0; + } + .marketing p + h4 { + margin-top: 28px; + } \ No newline at end of file diff --git a/dist/vocabulary/implementation/OOPSevaluation/evaluation/bootstrap.min.js b/dist/vocabulary/implementation/OOPSevaluation/evaluation/bootstrap.min.js new file mode 100644 index 0000000..1a6258e --- /dev/null +++ b/dist/vocabulary/implementation/OOPSevaluation/evaluation/bootstrap.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +if("undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]'),b=!0;if(a.length){var c=this.$element.find("input");"radio"===c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?b=!1:a.find(".active").removeClass("active")),b&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}b&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery); \ No newline at end of file diff --git a/dist/vocabulary/implementation/OOPSevaluation/evaluation/jquery-1.11.0.js b/dist/vocabulary/implementation/OOPSevaluation/evaluation/jquery-1.11.0.js new file mode 100644 index 0000000..3c88fa8 --- /dev/null +++ b/dist/vocabulary/implementation/OOPSevaluation/evaluation/jquery-1.11.0.js @@ -0,0 +1,10337 @@ +/*! + * jQuery JavaScript Library v1.11.0 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-23T21:02Z + */ + +(function( global, factory ) { + + if ( typeof module === "object" && typeof module.exports === "object" ) { + // For CommonJS and CommonJS-like environments where a proper window is present, + // execute the factory and get jQuery + // For environments that do not inherently posses a window with a document + // (such as Node.js), expose a jQuery-making factory as module.exports + // This accentuates the need for the creation of a real window + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Can't do this because several apps including ASP.NET trace +// the stack via arguments.caller.callee and Firefox dies if +// you try to trace through "use strict" call chains. (#13335) +// Support: Firefox 18+ +// + +var deletedIds = []; + +var slice = deletedIds.slice; + +var concat = deletedIds.concat; + +var push = deletedIds.push; + +var indexOf = deletedIds.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var trim = "".trim; + +var support = {}; + + + +var + version = "1.11.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }; + +jQuery.fn = jQuery.prototype = { + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // Start with an empty selector + selector: "", + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num != null ? + + // Return a 'clean' array + ( num < 0 ? this[ num + this.length ] : this[ num ] ) : + + // Return just the object + slice.call( this ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + ret.context = this.context; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: deletedIds.sort, + splice: deletedIds.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var src, copyIsArray, copy, name, options, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + isWindow: function( obj ) { + /* jshint eqeqeq: false */ + return obj != null && obj == obj.window; + }, + + isNumeric: function( obj ) { + // parseFloat NaNs numeric-cast false positives (null|true|false|"") + // ...but misinterprets leading-number strings, particularly hex literals ("0x...") + // subtraction forces infinities to NaN + return obj - parseFloat( obj ) >= 0; + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + isPlainObject: function( obj ) { + var key; + + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + try { + // Not own constructor property must be Object + if ( obj.constructor && + !hasOwn.call(obj, "constructor") && + !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + } catch ( e ) { + // IE8,9 Will throw exceptions on certain host objects #9897 + return false; + } + + // Support: IE<9 + // Handle iteration over inherited properties before own properties. + if ( support.ownLast ) { + for ( key in obj ) { + return hasOwn.call( obj, key ); + } + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + for ( key in obj ) {} + + return key === undefined || hasOwn.call( obj, key ); + }, + + type: function( obj ) { + if ( obj == null ) { + return obj + ""; + } + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call(obj) ] || "object" : + typeof obj; + }, + + // Evaluates a script in a global context + // Workarounds based on findings by Jim Driscoll + // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context + globalEval: function( data ) { + if ( data && jQuery.trim( data ) ) { + // We use execScript on Internet Explorer + // We use an anonymous function so that context is window + // rather than jQuery in Firefox + ( window.execScript || function( data ) { + window[ "eval" ].call( window, data ); + } )( data ); + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + // args is for internal usage only + each: function( obj, callback, args ) { + var value, + i = 0, + length = obj.length, + isArray = isArraylike( obj ); + + if ( args ) { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } + } + + return obj; + }, + + // Use native String.trim function wherever possible + trim: trim && !trim.call("\uFEFF\xA0") ? + function( text ) { + return text == null ? + "" : + trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArraylike( Object(arr) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + var len; + + if ( arr ) { + if ( indexOf ) { + return indexOf.call( arr, elem, i ); + } + + len = arr.length; + i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; + + for ( ; i < len; i++ ) { + // Skip accessing in sparse arrays + if ( i in arr && arr[ i ] === elem ) { + return i; + } + } + } + + return -1; + }, + + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + while ( j < len ) { + first[ i++ ] = second[ j++ ]; + } + + // Support: IE<9 + // Workaround casting of .length to NaN on otherwise arraylike objects (e.g., NodeLists) + if ( len !== len ) { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, + i = 0, + length = elems.length, + isArray = isArraylike( elems ), + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var args, proxy, tmp; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + now: function() { + return +( new Date() ); + }, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +}); + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +function isArraylike( obj ) { + var length = obj.length, + type = jQuery.type( obj ); + + if ( type === "function" || jQuery.isWindow( obj ) ) { + return false; + } + + if ( obj.nodeType === 1 && length ) { + return true; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v1.10.16 + * http://sizzlejs.com/ + * + * Copyright 2013 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-13 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + compile, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + -(new Date()), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // General-purpose constants + strundefined = typeof undefined, + MAX_NEGATIVE = 1 << 31, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf if we can't use a native one + indexOf = arr.indexOf || function( elem ) { + var i = 0, + len = this.length; + for ( ; i < len; i++ ) { + if ( this[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + // http://www.w3.org/TR/css3-syntax/#characters + characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", + + // Loosely modeled on CSS identifier characters + // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors + // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = characterEncoding.replace( "w", "w#" ), + + // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + + "*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", + + // Prefer arguments quoted, + // then not containing pseudos/brackets, + // then attribute selectors/non-parenthetical expressions, + // then anything else + // These preferences are here to reduce the number of selectors + // needing tokenize in the PSEUDO preFilter + pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + characterEncoding + ")" ), + "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), + "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + rescape = /'|\\/g, + + // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }; + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var match, elem, m, nodeType, + // QSA vars + i, groups, old, nid, newContext, newSelector; + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + + context = context || document; + results = results || []; + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { + return []; + } + + if ( documentIsHTML && !seed ) { + + // Shortcuts + if ( (match = rquickExpr.exec( selector )) ) { + // Speed-up: Sizzle("#ID") + if ( (m = match[1]) ) { + if ( nodeType === 9 ) { + elem = context.getElementById( m ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document (jQuery #6963) + if ( elem && elem.parentNode ) { + // Handle the case where IE, Opera, and Webkit return items + // by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + } else { + // Context is not a document + if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && + contains( context, elem ) && elem.id === m ) { + results.push( elem ); + return results; + } + } + + // Speed-up: Sizzle("TAG") + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Speed-up: Sizzle(".CLASS") + } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) { + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // QSA path + if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + nid = old = expando; + newContext = context; + newSelector = nodeType === 9 && selector; + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + groups = tokenize( selector ); + + if ( (old = context.getAttribute("id")) ) { + nid = old.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", nid ); + } + nid = "[id='" + nid + "'] "; + + i = groups.length; + while ( i-- ) { + groups[i] = nid + toSelector( groups[i] ); + } + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context; + newSelector = groups.join(","); + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch(qsaError) { + } finally { + if ( !old ) { + context.removeAttribute("id"); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {Function(string, Object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created div and expects a boolean result + */ +function assert( fn ) { + var div = document.createElement("div"); + + try { + return !!fn( div ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( div.parentNode ) { + div.parentNode.removeChild( div ); + } + // release memory in IE + div = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = attrs.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + ( ~b.sourceIndex || MAX_NEGATIVE ) - + ( ~a.sourceIndex || MAX_NEGATIVE ); + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== strundefined && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, + doc = node ? node.ownerDocument || node : preferredDoc, + parent = doc.defaultView; + + // If no document and documentElement is available, return + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Set our document + document = doc; + docElem = doc.documentElement; + + // Support tests + documentIsHTML = !isXML( doc ); + + // Support: IE>8 + // If iframe document is assigned to "document" variable and if iframe has been reloaded, + // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936 + // IE6-8 do not support the defaultView property so parent will be undefined + if ( parent && parent !== parent.top ) { + // IE11 does not have attachEvent, so all must suffer + if ( parent.addEventListener ) { + parent.addEventListener( "unload", function() { + setDocument(); + }, false ); + } else if ( parent.attachEvent ) { + parent.attachEvent( "onunload", function() { + setDocument(); + }); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans) + support.attributes = assert(function( div ) { + div.className = "i"; + return !div.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( div ) { + div.appendChild( doc.createComment("") ); + return !div.getElementsByTagName("*").length; + }); + + // Check if getElementsByClassName can be trusted + support.getElementsByClassName = rnative.test( doc.getElementsByClassName ) && assert(function( div ) { + div.innerHTML = "
    "; + + // Support: Safari<4 + // Catch class over-caching + div.firstChild.className = "i"; + // Support: Opera<10 + // Catch gEBCN failure to find non-leading classes + return div.getElementsByClassName("i").length === 2; + }); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( div ) { + docElem.appendChild( div ).id = expando; + return !doc.getElementsByName || !doc.getElementsByName( expando ).length; + }); + + // ID find and filter + if ( support.getById ) { + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== strundefined && documentIsHTML ) { + var m = context.getElementById( id ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + }; + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + } else { + // Support: IE6/7 + // getElementById is not reliable as a find shortcut + delete Expr.find["ID"]; + + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== strundefined ) { + return context.getElementsByTagName( tag ); + } + } : + function( tag, context ) { + var elem, + tmp = [], + i = 0, + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See http://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + div.innerHTML = ""; + + // Support: IE8, Opera 10-12 + // Nothing should be selected when empty strings follow ^= or $= or *= + if ( div.querySelectorAll("[t^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + }); + + assert(function( div ) { + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = doc.createElement("input"); + input.setAttribute( "type", "hidden" ); + div.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( div.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + div.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( div, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully does not implement inclusive descendent + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === doc ? -1 : + b === doc ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return doc; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch(e) {} + } + + return Sizzle( expr, document, null, [elem] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[5] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] && match[4] !== undefined ) { + match[2] = match[4]; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, outerCache, node, diff, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + // Seek `elem` from a previously-cached index + outerCache = parent[ expando ] || (parent[ expando ] = {}); + cache = outerCache[ type ] || []; + nodeIndex = cache[0] === dirruns && cache[1]; + diff = cache[0] === dirruns && cache[2]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + outerCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + // Use previously-cached element index if available + } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { + diff = cache[1]; + + // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) + } else { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { + // Cache the index of each encountered element + if ( useCache ) { + (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf.call( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +function tokenize( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +} + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + if ( (oldCache = outerCache[ dir ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + outerCache[ dir ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf.call( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context !== document && context; + } + + // Add elements passing elementMatchers directly to results + // Keep `i` a string if there are no elements so `matchedCount` will be "00" below + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // Apply set filters to unmatched elements + matchedCount += i; + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !group ) { + group = tokenize( selector ); + } + i = group.length; + while ( i-- ) { + cached = matcherFromTokens( group[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + } + return cached; +}; + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function select( selector, context, results, seed ) { + var i, tokens, token, type, find, + match = tokenize( selector ); + + if ( !seed ) { + // Try to minimize operations if there is only one group + if ( match.length === 1 ) { + + // Take a shortcut and set the context if the root selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + support.getById && context.nodeType === 9 && documentIsHTML && + Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + } + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + } + + // Compile and execute a filtering function + // Provide `match` to avoid retokenization if we modified the selector above + compile( selector, match )( + seed, + context, + !documentIsHTML, + results, + rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +} + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome<14 +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( div1 ) { + // Should return 1, but returns 4 (following) + return div1.compareDocumentPosition( document.createElement("div") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( div ) { + div.innerHTML = ""; + return div.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( div ) { + div.innerHTML = ""; + div.firstChild.setAttribute( "value", "" ); + return div.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( div ) { + return div.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.pseudos; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + + +var rneedsContext = jQuery.expr.match.needsContext; + +var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); + + + +var risSimple = /^.[^:#\[\.,]*$/; + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + /* jshint -W018 */ + return !!qualifier.call( elem, i, elem ) !== not; + }); + + } + + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + }); + + } + + if ( typeof qualifier === "string" ) { + if ( risSimple.test( qualifier ) ) { + return jQuery.filter( qualifier, elements, not ); + } + + qualifier = jQuery.filter( qualifier, elements ); + } + + return jQuery.grep( elements, function( elem ) { + return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not; + }); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 && elem.nodeType === 1 ? + jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : + jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + })); +}; + +jQuery.fn.extend({ + find: function( selector ) { + var i, + ret = [], + self = this, + len = self.length; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }) ); + } + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + // Needed because $( selector, context ) becomes $( context ).find( selector ) + ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); + ret.selector = this.selector ? this.selector + " " + selector : selector; + return ret; + }, + filter: function( selector ) { + return this.pushStack( winnow(this, selector || [], false) ); + }, + not: function( selector ) { + return this.pushStack( winnow(this, selector || [], true) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +}); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // Use the correct document accordingly with window argument (sandbox) + document = window.document, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, + + init = jQuery.fn.init = function( selector, context ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + + // scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[1], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + // Properties of context are called as methods if possible + if ( jQuery.isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || rootjQuery ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return typeof rootjQuery.ready !== "undefined" ? + rootjQuery.ready( selector ) : + // Execute immediately if ready is not present + selector( jQuery ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.extend({ + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +jQuery.fn.extend({ + has: function( target ) { + var i, + targets = jQuery( target, this ), + len = targets.length; + + return this.filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) { + // Always skip document fragments + if ( cur.nodeType < 11 && (pos ? + pos.index(cur) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector(cur, selectors)) ) { + + matched.push( cur ); + break; + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return jQuery.inArray( this[0], jQuery( elem ) ); + } + + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.unique( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter(selector) + ); + } +}); + +function sibling( cur, dir ) { + do { + cur = cur[ dir ]; + } while ( cur && cur.nodeType !== 1 ); + + return cur; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + if ( this.length > 1 ) { + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + ret = jQuery.unique( ret ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + } + + return this.pushStack( ret ); + }; +}); +var rnotwhite = (/\S+/g); + + + +// String to Object options format cache +var optionsCache = {}; + +// Convert String-formatted options into Object-formatted ones and store in cache +function createOptions( options ) { + var object = optionsCache[ options ] = {}; + jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) { + object[ flag ] = true; + }); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + ( optionsCache[ options ] || createOptions( options ) ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + // Last fire value (for non-forgettable lists) + memory, + // Flag to know if list was already fired + fired, + // End of the loop when firing + firingLength, + // Index of currently firing callback (modified by remove if needed) + firingIndex, + // First callback to fire (used internally by add and fireWith) + firingStart, + // Actual callback list + list = [], + // Stack of fire calls for repeatable lists + stack = !options.once && [], + // Fire callbacks + fire = function( data ) { + memory = options.memory && data; + fired = true; + firingIndex = firingStart || 0; + firingStart = 0; + firingLength = list.length; + firing = true; + for ( ; list && firingIndex < firingLength; firingIndex++ ) { + if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { + memory = false; // To prevent further calls using add + break; + } + } + firing = false; + if ( list ) { + if ( stack ) { + if ( stack.length ) { + fire( stack.shift() ); + } + } else if ( memory ) { + list = []; + } else { + self.disable(); + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + // First, we save the current length + var start = list.length; + (function add( args ) { + jQuery.each( args, function( _, arg ) { + var type = jQuery.type( arg ); + if ( type === "function" ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && type !== "string" ) { + // Inspect recursively + add( arg ); + } + }); + })( arguments ); + // Do we need to add the callbacks to the + // current firing batch? + if ( firing ) { + firingLength = list.length; + // With memory, if we're not firing then + // we should call right away + } else if ( memory ) { + firingStart = start; + fire( memory ); + } + } + return this; + }, + // Remove a callback from the list + remove: function() { + if ( list ) { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + // Handle firing indexes + if ( firing ) { + if ( index <= firingLength ) { + firingLength--; + } + if ( index <= firingIndex ) { + firingIndex--; + } + } + } + }); + } + return this; + }, + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); + }, + // Remove all callbacks from the list + empty: function() { + list = []; + firingLength = 0; + return this; + }, + // Have the list do nothing anymore + disable: function() { + list = stack = memory = undefined; + return this; + }, + // Is it disabled? + disabled: function() { + return !list; + }, + // Lock the list in its current state + lock: function() { + stack = undefined; + if ( !memory ) { + self.disable(); + } + return this; + }, + // Is it locked? + locked: function() { + return !stack; + }, + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( list && ( !fired || stack ) ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + if ( firing ) { + stack.push( args ); + } else { + fire( args ); + } + } + return this; + }, + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +jQuery.extend({ + + Deferred: function( func ) { + var tuples = [ + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], + [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], + [ "notify", "progress", jQuery.Callbacks("memory") ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred(function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[1] ](function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .done( newDefer.resolve ) + .fail( newDefer.reject ) + .progress( newDefer.notify ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); + } + }); + }); + fns = null; + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[1] ] = list.add; + + // Handle state + if ( stateString ) { + list.add(function() { + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] + deferred[ tuple[0] ] = function() { + deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); + return this; + }; + deferred[ tuple[0] + "With" ] = list.fireWith; + }); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( values === progressValues ) { + deferred.notifyWith( contexts, values ); + + } else if ( !(--remaining) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ) + .progress( updateFunc( i, progressContexts, progressValues ) ); + } else { + --remaining; + } + } + } + + // if we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +}); + + +// The deferred used on DOM ready +var readyList; + +jQuery.fn.ready = function( fn ) { + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; +}; + +jQuery.extend({ + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger("ready").off("ready"); + } + } +}); + +/** + * Clean-up method for dom ready events + */ +function detach() { + if ( document.addEventListener ) { + document.removeEventListener( "DOMContentLoaded", completed, false ); + window.removeEventListener( "load", completed, false ); + + } else { + document.detachEvent( "onreadystatechange", completed ); + window.detachEvent( "onload", completed ); + } +} + +/** + * The ready event handler and self cleanup method + */ +function completed() { + // readyState === "complete" is good enough for us to call the dom ready in oldIE + if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { + detach(); + jQuery.ready(); + } +} + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called after the browser event has already occurred. + // we once tried to use readyState "interactive" here, but it caused issues like the one + // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + setTimeout( jQuery.ready ); + + // Standards-based browsers support DOMContentLoaded + } else if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed, false ); + + // If IE event model is used + } else { + // Ensure firing before onload, maybe late but safe also for iframes + document.attachEvent( "onreadystatechange", completed ); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", completed ); + + // If IE and not a frame + // continually check to see if the document is ready + var top = false; + + try { + top = window.frameElement == null && document.documentElement; + } catch(e) {} + + if ( top && top.doScroll ) { + (function doScrollCheck() { + if ( !jQuery.isReady ) { + + try { + // Use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + top.doScroll("left"); + } catch(e) { + return setTimeout( doScrollCheck, 50 ); + } + + // detach all dom ready events + detach(); + + // and execute any waiting functions + jQuery.ready(); + } + })(); + } + } + } + return readyList.promise( obj ); +}; + + +var strundefined = typeof undefined; + + + +// Support: IE<9 +// Iteration over object's inherited properties before its own +var i; +for ( i in jQuery( support ) ) { + break; +} +support.ownLast = i !== "0"; + +// Note: most support tests are defined in their respective modules. +// false until the test is run +support.inlineBlockNeedsLayout = false; + +jQuery(function() { + // We need to execute this one support test ASAP because we need to know + // if body.style.zoom needs to be set. + + var container, div, + body = document.getElementsByTagName("body")[0]; + + if ( !body ) { + // Return for frameset docs that don't have a body + return; + } + + // Setup + container = document.createElement( "div" ); + container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; + + div = document.createElement( "div" ); + body.appendChild( container ).appendChild( div ); + + if ( typeof div.style.zoom !== strundefined ) { + // Support: IE<8 + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + div.style.cssText = "border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1"; + + if ( (support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 )) ) { + // Prevent IE 6 from affecting layout for positioned elements #11048 + // Prevent IE from shrinking the body in IE 7 mode #12869 + // Support: IE<8 + body.style.zoom = 1; + } + } + + body.removeChild( container ); + + // Null elements to avoid leaks in IE + container = div = null; +}); + + + + +(function() { + var div = document.createElement( "div" ); + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +/** + * Determines whether an object can have data + */ +jQuery.acceptData = function( elem ) { + var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ], + nodeType = +elem.nodeType || 1; + + // Do not set data on non-element DOM nodes because it will not be cleared (#8335). + return nodeType !== 1 && nodeType !== 9 ? + false : + + // Nodes accept data unless otherwise specified; rejection can be conditional + !noData || noData !== true && elem.getAttribute("classid") === noData; +}; + + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /([A-Z])/g; + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + + var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + +// checks a cache object for emptiness +function isEmptyDataObject( obj ) { + var name; + for ( name in obj ) { + + // if the public data object is empty, the private is still empty + if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { + continue; + } + if ( name !== "toJSON" ) { + return false; + } + } + + return true; +} + +function internalData( elem, name, data, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var ret, thisCache, + internalKey = jQuery.expando, + + // We have to handle DOM nodes and JS objects differently because IE6-7 + // can't GC object references properly across the DOM-JS boundary + isNode = elem.nodeType, + + // Only DOM nodes need the global jQuery cache; JS object data is + // attached directly to the object so GC can occur automatically + cache = isNode ? jQuery.cache : elem, + + // Only defining an ID for JS objects if its cache already exists allows + // the code to shortcut on the same path as a DOM node with no cache + id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; + + // Avoid doing any more work than we need to when trying to get data on an + // object that has no data at all + if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) { + return; + } + + if ( !id ) { + // Only DOM nodes need a new unique ID for each element since their data + // ends up in the global cache + if ( isNode ) { + id = elem[ internalKey ] = deletedIds.pop() || jQuery.guid++; + } else { + id = internalKey; + } + } + + if ( !cache[ id ] ) { + // Avoid exposing jQuery metadata on plain JS objects when the object + // is serialized using JSON.stringify + cache[ id ] = isNode ? {} : { toJSON: jQuery.noop }; + } + + // An object can be passed to jQuery.data instead of a key/value pair; this gets + // shallow copied over onto the existing cache + if ( typeof name === "object" || typeof name === "function" ) { + if ( pvt ) { + cache[ id ] = jQuery.extend( cache[ id ], name ); + } else { + cache[ id ].data = jQuery.extend( cache[ id ].data, name ); + } + } + + thisCache = cache[ id ]; + + // jQuery data() is stored in a separate object inside the object's internal data + // cache in order to avoid key collisions between internal data and user-defined + // data. + if ( !pvt ) { + if ( !thisCache.data ) { + thisCache.data = {}; + } + + thisCache = thisCache.data; + } + + if ( data !== undefined ) { + thisCache[ jQuery.camelCase( name ) ] = data; + } + + // Check for both converted-to-camel and non-converted data property names + // If a data property was specified + if ( typeof name === "string" ) { + + // First Try to find as-is property data + ret = thisCache[ name ]; + + // Test for null|undefined property data + if ( ret == null ) { + + // Try to find the camelCased property + ret = thisCache[ jQuery.camelCase( name ) ]; + } + } else { + ret = thisCache; + } + + return ret; +} + +function internalRemoveData( elem, name, pvt ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, i, + isNode = elem.nodeType, + + // See jQuery.data for more information + cache = isNode ? jQuery.cache : elem, + id = isNode ? elem[ jQuery.expando ] : jQuery.expando; + + // If there is already no cache entry for this object, there is no + // purpose in continuing + if ( !cache[ id ] ) { + return; + } + + if ( name ) { + + thisCache = pvt ? cache[ id ] : cache[ id ].data; + + if ( thisCache ) { + + // Support array or space separated string names for data keys + if ( !jQuery.isArray( name ) ) { + + // try the string as a key before any manipulation + if ( name in thisCache ) { + name = [ name ]; + } else { + + // split the camel cased version by spaces unless a key with the spaces exists + name = jQuery.camelCase( name ); + if ( name in thisCache ) { + name = [ name ]; + } else { + name = name.split(" "); + } + } + } else { + // If "name" is an array of keys... + // When data is initially created, via ("key", "val") signature, + // keys will be converted to camelCase. + // Since there is no way to tell _how_ a key was added, remove + // both plain key and camelCase key. #12786 + // This will only penalize the array argument path. + name = name.concat( jQuery.map( name, jQuery.camelCase ) ); + } + + i = name.length; + while ( i-- ) { + delete thisCache[ name[i] ]; + } + + // If there is no data left in the cache, we want to continue + // and let the cache object itself get destroyed + if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) { + return; + } + } + } + + // See jQuery.data for more information + if ( !pvt ) { + delete cache[ id ].data; + + // Don't destroy the parent cache unless the internal data object + // had been the only thing left in it + if ( !isEmptyDataObject( cache[ id ] ) ) { + return; + } + } + + // Destroy the cache + if ( isNode ) { + jQuery.cleanData( [ elem ], true ); + + // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) + /* jshint eqeqeq: false */ + } else if ( support.deleteExpando || cache != cache.window ) { + /* jshint eqeqeq: true */ + delete cache[ id ]; + + // When all else fails, null + } else { + cache[ id ] = null; + } +} + +jQuery.extend({ + cache: {}, + + // The following elements (space-suffixed to avoid Object.prototype collisions) + // throw uncatchable exceptions if you attempt to set expando properties + noData: { + "applet ": true, + "embed ": true, + // ...but Flash objects (which have this classid) *can* handle expandos + "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" + }, + + hasData: function( elem ) { + elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; + return !!elem && !isEmptyDataObject( elem ); + }, + + data: function( elem, name, data ) { + return internalData( elem, name, data ); + }, + + removeData: function( elem, name ) { + return internalRemoveData( elem, name ); + }, + + // For internal use only. + _data: function( elem, name, data ) { + return internalData( elem, name, data, true ); + }, + + _removeData: function( elem, name ) { + return internalRemoveData( elem, name, true ); + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var i, name, data, + elem = this[0], + attrs = elem && elem.attributes; + + // Special expections of .data basically thwart jQuery.access, + // so implement the relevant behavior ourselves + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = jQuery.data( elem ); + + if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + name = attrs[i].name; + + if ( name.indexOf("data-") === 0 ) { + name = jQuery.camelCase( name.slice(5) ); + + dataAttr( elem, name, data[ name ] ); + } + } + jQuery._data( elem, "parsedAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + return arguments.length > 1 ? + + // Sets one value + this.each(function() { + jQuery.data( this, key, value ); + }) : + + // Gets one value + // Try to fetch any internally stored data first + elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : undefined; + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + + +jQuery.extend({ + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = jQuery._data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray(data) ) { + queue = jQuery._data( elem, type, jQuery.makeArray(data) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // not intended for public consumption - generates a queueHooks object, or returns the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return jQuery._data( elem, key ) || jQuery._data( elem, key, { + empty: jQuery.Callbacks("once memory").add(function() { + jQuery._removeData( elem, type + "queue" ); + jQuery._removeData( elem, key ); + }) + }); + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[0], type ); + } + + return data === undefined ? + this : + this.each(function() { + var queue = jQuery.queue( this, type, data ); + + // ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = jQuery._data( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +}); +var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var isHidden = function( elem, el ) { + // isHidden might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); + }; + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + length = elems.length, + bulk = key == null; + + // Sets many values + if ( jQuery.type( key ) === "object" ) { + chainable = true; + for ( i in key ) { + jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !jQuery.isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < length; i++ ) { + fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); + } + } + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + length ? fn( elems[0], key ) : emptyGet; +}; +var rcheckableType = (/^(?:checkbox|radio)$/i); + + + +(function() { + var fragment = document.createDocumentFragment(), + div = document.createElement("div"), + input = document.createElement("input"); + + // Setup + div.setAttribute( "className", "t" ); + div.innerHTML = "
    a"; + + // IE strips leading whitespace when .innerHTML is used + support.leadingWhitespace = div.firstChild.nodeType === 3; + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + support.tbody = !div.getElementsByTagName( "tbody" ).length; + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + support.htmlSerialize = !!div.getElementsByTagName( "link" ).length; + + // Makes sure cloning an html5 element does not cause problems + // Where outerHTML is undefined, this still works + support.html5Clone = + document.createElement( "nav" ).cloneNode( true ).outerHTML !== "<:nav>"; + + // Check if a disconnected checkbox will retain its checked + // value of true after appended to the DOM (IE6/7) + input.type = "checkbox"; + input.checked = true; + fragment.appendChild( input ); + support.appendChecked = input.checked; + + // Make sure textarea (and checkbox) defaultValue is properly cloned + // Support: IE6-IE11+ + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // #11217 - WebKit loses check when the name is after the checked attribute + fragment.appendChild( div ); + div.innerHTML = ""; + + // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3 + // old WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE<9 + // Opera does not clone events (and typeof div.attachEvent === undefined). + // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() + support.noCloneEvent = true; + if ( div.attachEvent ) { + div.attachEvent( "onclick", function() { + support.noCloneEvent = false; + }); + + div.cloneNode( true ).click(); + } + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + fragment = div = input = null; +})(); + + +(function() { + var i, eventName, + div = document.createElement( "div" ); + + // Support: IE<9 (lack submit/change bubble), Firefox 23+ (lack focusin event) + for ( i in { submit: true, change: true, focusin: true }) { + eventName = "on" + i; + + if ( !(support[ i + "Bubbles" ] = eventName in window) ) { + // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP) + div.setAttribute( eventName, "t" ); + support[ i + "Bubbles" ] = div.attributes[ eventName ].expando === false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +var rformElems = /^(?:input|select|textarea)$/i, + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|contextmenu)|click/, + rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + var tmp, events, t, handleObjIn, + special, eventHandle, handleObj, + handlers, type, namespaces, origType, + elemData = jQuery._data( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !(events = elemData.events) ) { + events = elemData.events = {}; + } + if ( !(eventHandle = elemData.handle) ) { + eventHandle = elemData.handle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== strundefined && (!e || jQuery.event.triggered !== e.type) ? + jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : + undefined; + }; + // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events + eventHandle.elem = elem; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend({ + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join(".") + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !(handlers = events[ type ]) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener/attachEvent if the special events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + var j, handleObj, tmp, + origCount, t, events, + special, handlers, type, + namespaces, origType, + elemData = jQuery.hasData( elem ) && jQuery._data( elem ); + + if ( !elemData || !(events = elemData.events) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + delete elemData.handle; + + // removeData also checks for emptiness and clears the expando if empty + // so use it instead of delete + jQuery._removeData( elem, "events" ); + } + }, + + trigger: function( event, data, elem, onlyHandlers ) { + var handle, ontype, cur, + bubbleType, special, tmp, i, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; + + cur = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf(".") >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf(":") < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join("."); + event.namespace_re = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === (elem.ownerDocument || document) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { + + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && jQuery.acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) && + jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Can't use an .isFunction() check here because IE6/7 fails that test. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + try { + elem[ type ](); + } catch ( e ) { + // IE<9 dies on focus/blur to hidden element (#1486,#12518) + // only reproducible on winXP IE8 native, not IE9 in IE8 mode + } + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event ); + + var i, ret, handleObj, matched, j, + handlerQueue = [], + args = slice.call( arguments ), + handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) + .apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( (event.result = ret) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var sel, handleObj, matches, i, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + // Black-hole SVG instance trees (#13180) + // Avoid non-left-click bubbling in Firefox (#3861) + if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { + + /* jshint eqeqeq: false */ + for ( ; cur != this; cur = cur.parentNode || this ) { + /* jshint eqeqeq: true */ + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matches[ sel ] === undefined ) { + matches[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) >= 0 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matches[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push({ elem: cur, handlers: matches }); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( delegateCount < handlers.length ) { + handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); + } + + return handlerQueue; + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, copy, + type = event.type, + originalEvent = event, + fixHook = this.fixHooks[ type ]; + + if ( !fixHook ) { + this.fixHooks[ type ] = fixHook = + rmouseEvent.test( type ) ? this.mouseHooks : + rkeyEvent.test( type ) ? this.keyHooks : + {}; + } + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = new jQuery.Event( originalEvent ); + + i = copy.length; + while ( i-- ) { + prop = copy[ i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Support: IE<9 + // Fix target property (#1925) + if ( !event.target ) { + event.target = originalEvent.srcElement || document; + } + + // Support: Chrome 23+, Safari? + // Target should not be a text node (#504, #13143) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // Support: IE<9 + // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) + event.metaKey = !!event.metaKey; + + return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split(" "), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function( event, original ) { + var body, eventDoc, doc, + button = original.button, + fromElement = original.fromElement; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && fromElement ) { + event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + special: { + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + try { + this.focus(); + return false; + } catch ( e ) { + // Support: IE<9 + // If we error on focus to hidden element (#1486, #12518), + // let .trigger() run the handlers + } + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return jQuery.nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Even when returnValue equals to undefined Firefox will still show alert + if ( event.result !== undefined ) { + event.originalEvent.returnValue = event.result; + } + } + } + }, + + simulate: function( type, elem, event, bubble ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true, + originalEvent: {} + } + ); + if ( bubble ) { + jQuery.event.trigger( e, null, elem ); + } else { + jQuery.event.dispatch.call( elem, e ); + } + if ( e.isDefaultPrevented() ) { + event.preventDefault(); + } + } +}; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + var name = "on" + type; + + if ( elem.detachEvent ) { + + // #8545, #7054, preventing memory leaks for custom events in IE6-8 + // detachEvent needed property on element, by name of that event, to properly expose it to GC + if ( typeof elem[ name ] === strundefined ) { + elem[ name ] = null; + } + + elem.detachEvent( name, handle ); + } + }; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !(this instanceof jQuery.Event) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && ( + // Support: IE < 9 + src.returnValue === false || + // Support: Android < 4.0 + src.getPreventDefault && src.getPreventDefault() ) ? + returnTrue : + returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + if ( !e ) { + return; + } + + // If preventDefault exists, run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // Support: IE + // Otherwise set the returnValue property of the original event to false + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + if ( !e ) { + return; + } + // If stopPropagation exists, run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + + // Support: IE + // Set the cancelBubble property of the original event to true + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + } +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mousenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || (related !== target && !jQuery.contains( target, related )) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +}); + +// IE submit delegation +if ( !support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Lazy-add a submit handler when a descendant form may potentially be submitted + jQuery.event.add( this, "click._submit keypress._submit", function( e ) { + // Node name check avoids a VML-related crash in IE (#9807) + var elem = e.target, + form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; + if ( form && !jQuery._data( form, "submitBubbles" ) ) { + jQuery.event.add( form, "submit._submit", function( event ) { + event._submit_bubble = true; + }); + jQuery._data( form, "submitBubbles", true ); + } + }); + // return undefined since we don't need an event listener + }, + + postDispatch: function( event ) { + // If form was submitted by the user, bubble the event up the tree + if ( event._submit_bubble ) { + delete event._submit_bubble; + if ( this.parentNode && !event.isTrigger ) { + jQuery.event.simulate( "submit", this.parentNode, event, true ); + } + } + }, + + teardown: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Remove delegated handlers; cleanData eventually reaps submit handlers attached above + jQuery.event.remove( this, "._submit" ); + } + }; +} + +// IE change delegation and checkbox/radio fix +if ( !support.changeBubbles ) { + + jQuery.event.special.change = { + + setup: function() { + + if ( rformElems.test( this.nodeName ) ) { + // IE doesn't fire change on a check/radio until blur; trigger it on click + // after a propertychange. Eat the blur-change in special.change.handle. + // This still fires onchange a second time for check/radio after blur. + if ( this.type === "checkbox" || this.type === "radio" ) { + jQuery.event.add( this, "propertychange._change", function( event ) { + if ( event.originalEvent.propertyName === "checked" ) { + this._just_changed = true; + } + }); + jQuery.event.add( this, "click._change", function( event ) { + if ( this._just_changed && !event.isTrigger ) { + this._just_changed = false; + } + // Allow triggered, simulated change events (#11500) + jQuery.event.simulate( "change", this, event, true ); + }); + } + return false; + } + // Delegated event; lazy-add a change handler on descendant inputs + jQuery.event.add( this, "beforeactivate._change", function( e ) { + var elem = e.target; + + if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { + jQuery.event.add( elem, "change._change", function( event ) { + if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { + jQuery.event.simulate( "change", this.parentNode, event, true ); + } + }); + jQuery._data( elem, "changeBubbles", true ); + } + }); + }, + + handle: function( event ) { + var elem = event.target; + + // Swallow native change events from checkbox/radio, we already triggered them above + if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { + return event.handleObj.handler.apply( this, arguments ); + } + }, + + teardown: function() { + jQuery.event.remove( this, "._change" ); + + return !rformElems.test( this.nodeName ); + } + }; +} + +// Create "bubbling" focus and blur events +if ( !support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + jQuery._data( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + jQuery._removeData( doc, fix ); + } else { + jQuery._data( doc, fix, attaches ); + } + } + }; + }); +} + +jQuery.fn.extend({ + + on: function( types, selector, data, fn, /*INTERNAL*/ one ) { + var type, origFn; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + this.on( type, selector, data, types[ type ], one ); + } + return this; + } + + if ( data == null && fn == null ) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return this; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return this.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + }); + }, + one: function( types, selector, data, fn ) { + return this.on( types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each(function() { + jQuery.event.remove( this, types, fn, selector ); + }); + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + triggerHandler: function( type, data ) { + var elem = this[0]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +}); + + +function createSafeFragment( document ) { + var list = nodeNames.split( "|" ), + safeFrag = document.createDocumentFragment(); + + if ( safeFrag.createElement ) { + while ( list.length ) { + safeFrag.createElement( + list.pop() + ); + } + } + return safeFrag; +} + +var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + + "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", + rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, + rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, + rtagName = /<([\w:]+)/, + rtbody = /\s*$/g, + + // We have to close these tags to support XHTML (#13200) + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "
    ", "
    " ], + area: [ 1, "", "" ], + param: [ 1, "", "" ], + thead: [ 1, "", "
    " ], + tr: [ 2, "", "
    " ], + col: [ 2, "", "
    " ], + td: [ 3, "", "
    " ], + + // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, + // unless wrapped in a div with non-breaking characters in front of it. + _default: support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X
    ", "
    " ] + }, + safeFragment = createSafeFragment( document ), + fragmentDiv = safeFragment.appendChild( document.createElement("div") ); + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +function getAll( context, tag ) { + var elems, elem, + i = 0, + found = typeof context.getElementsByTagName !== strundefined ? context.getElementsByTagName( tag || "*" ) : + typeof context.querySelectorAll !== strundefined ? context.querySelectorAll( tag || "*" ) : + undefined; + + if ( !found ) { + for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { + if ( !tag || jQuery.nodeName( elem, tag ) ) { + found.push( elem ); + } else { + jQuery.merge( found, getAll( elem, tag ) ); + } + } + } + + return tag === undefined || tag && jQuery.nodeName( context, tag ) ? + jQuery.merge( [ context ], found ) : + found; +} + +// Used in buildFragment, fixes the defaultChecked property +function fixDefaultChecked( elem ) { + if ( rcheckableType.test( elem.type ) ) { + elem.defaultChecked = elem.checked; + } +} + +// Support: IE<8 +// Manipulating tables requires a tbody +function manipulationTarget( elem, content ) { + return jQuery.nodeName( elem, "table" ) && + jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ? + + elem.getElementsByTagName("tbody")[0] || + elem.appendChild( elem.ownerDocument.createElement("tbody") ) : + elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + var match = rscriptTypeMasked.exec( elem.type ); + if ( match ) { + elem.type = match[1]; + } else { + elem.removeAttribute("type"); + } + return elem; +} + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var elem, + i = 0; + for ( ; (elem = elems[i]) != null; i++ ) { + jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); + } +} + +function cloneCopyEvent( src, dest ) { + + if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { + return; + } + + var type, i, l, + oldData = jQuery._data( src ), + curData = jQuery._data( dest, oldData ), + events = oldData.events; + + if ( events ) { + delete curData.handle; + curData.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + + // make the cloned public data object a copy from the original + if ( curData.data ) { + curData.data = jQuery.extend( {}, curData.data ); + } +} + +function fixCloneNodeIssues( src, dest ) { + var nodeName, e, data; + + // We do not need to do anything for non-Elements + if ( dest.nodeType !== 1 ) { + return; + } + + nodeName = dest.nodeName.toLowerCase(); + + // IE6-8 copies events bound via attachEvent when using cloneNode. + if ( !support.noCloneEvent && dest[ jQuery.expando ] ) { + data = jQuery._data( dest ); + + for ( e in data.events ) { + jQuery.removeEvent( dest, e, data.handle ); + } + + // Event data gets referenced instead of copied if the expando gets copied too + dest.removeAttribute( jQuery.expando ); + } + + // IE blanks contents when cloning scripts, and tries to evaluate newly-set text + if ( nodeName === "script" && dest.text !== src.text ) { + disableScript( dest ).text = src.text; + restoreScript( dest ); + + // IE6-10 improperly clones children of object elements using classid. + // IE10 throws NoModificationAllowedError if parent is null, #12132. + } else if ( nodeName === "object" ) { + if ( dest.parentNode ) { + dest.outerHTML = src.outerHTML; + } + + // This path appears unavoidable for IE9. When cloning an object + // element in IE9, the outerHTML strategy above is not sufficient. + // If the src has innerHTML and the destination does not, + // copy the src.innerHTML into the dest.innerHTML. #10324 + if ( support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { + dest.innerHTML = src.innerHTML; + } + + } else if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + // IE6-8 fails to persist the checked state of a cloned checkbox + // or radio button. Worse, IE6-7 fail to give the cloned element + // a checked appearance if the defaultChecked value isn't also set + + dest.defaultChecked = dest.checked = src.checked; + + // IE6-7 get confused and end up setting the value of a cloned + // checkbox/radio button to an empty string instead of "on" + if ( dest.value !== src.value ) { + dest.value = src.value; + } + + // IE6-8 fails to return the selected option to the default selected + // state when cloning options + } else if ( nodeName === "option" ) { + dest.defaultSelected = dest.selected = src.defaultSelected; + + // IE6-8 fails to set the defaultValue to the correct value when + // cloning other types of input fields + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +jQuery.extend({ + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var destElements, node, clone, i, srcElements, + inPage = jQuery.contains( elem.ownerDocument, elem ); + + if ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { + clone = elem.cloneNode( true ); + + // IE<=8 does not properly clone detached, unknown element nodes + } else { + fragmentDiv.innerHTML = elem.outerHTML; + fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); + } + + if ( (!support.noCloneEvent || !support.noCloneChecked) && + (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { + + // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + // Fix all IE cloning issues + for ( i = 0; (node = srcElements[i]) != null; ++i ) { + // Ensure that the destination node is not null; Fixes #9587 + if ( destElements[i] ) { + fixCloneNodeIssues( node, destElements[i] ); + } + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0; (node = srcElements[i]) != null; i++ ) { + cloneCopyEvent( node, destElements[i] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + destElements = srcElements = node = null; + + // Return the cloned set + return clone; + }, + + buildFragment: function( elems, context, scripts, selection ) { + var j, elem, contains, + tmp, tag, tbody, wrap, + l = elems.length, + + // Ensure a safe fragment + safe = createSafeFragment( context ), + + nodes = [], + i = 0; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( jQuery.type( elem ) === "object" ) { + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || safe.appendChild( context.createElement("div") ); + + // Deserialize a standard representation + tag = (rtagName.exec( elem ) || [ "", "" ])[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + + tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1>" ) + wrap[2]; + + // Descend through wrappers to the right content + j = wrap[0]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Manually add leading whitespace removed by IE + if ( !support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { + nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); + } + + // Remove IE's autoinserted from table fragments + if ( !support.tbody ) { + + // String was a , *may* have spurious + elem = tag === "table" && !rtbody.test( elem ) ? + tmp.firstChild : + + // String was a bare or + wrap[1] === "
    " && !rtbody.test( elem ) ? + tmp : + 0; + + j = elem && elem.childNodes.length; + while ( j-- ) { + if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { + elem.removeChild( tbody ); + } + } + } + + jQuery.merge( nodes, tmp.childNodes ); + + // Fix #12392 for WebKit and IE > 9 + tmp.textContent = ""; + + // Fix #12392 for oldIE + while ( tmp.firstChild ) { + tmp.removeChild( tmp.firstChild ); + } + + // Remember the top-level container for proper cleanup + tmp = safe.lastChild; + } + } + } + + // Fix #11356: Clear elements from fragment + if ( tmp ) { + safe.removeChild( tmp ); + } + + // Reset defaultChecked for any radios and checkboxes + // about to be appended to the DOM in IE 6/7 (#8060) + if ( !support.appendChecked ) { + jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); + } + + i = 0; + while ( (elem = nodes[ i++ ]) ) { + + // #4087 - If origin and destination elements are the same, and this is + // that element, do not do anything + if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( safe.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( (elem = tmp[ j++ ]) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + tmp = null; + + return safe; + }, + + cleanData: function( elems, /* internal */ acceptData ) { + var elem, type, id, data, + i = 0, + internalKey = jQuery.expando, + cache = jQuery.cache, + deleteExpando = support.deleteExpando, + special = jQuery.event.special; + + for ( ; (elem = elems[i]) != null; i++ ) { + if ( acceptData || jQuery.acceptData( elem ) ) { + + id = elem[ internalKey ]; + data = id && cache[ id ]; + + if ( data ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Remove cache only if it was not already removed by jQuery.event.remove + if ( cache[ id ] ) { + + delete cache[ id ]; + + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( deleteExpando ) { + delete elem[ internalKey ]; + + } else if ( typeof elem.removeAttribute !== strundefined ) { + elem.removeAttribute( internalKey ); + + } else { + elem[ internalKey ] = null; + } + + deletedIds.push( id ); + } + } + } + } + } +}); + +jQuery.fn.extend({ + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); + }, null, value, arguments.length ); + }, + + append: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + }); + }, + + prepend: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + }); + }, + + before: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + }); + }, + + after: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + }); + }, + + remove: function( selector, keepData /* Internal Use Only */ ) { + var elem, + elems = selector ? jQuery.filter( selector, this ) : this, + i = 0; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( !keepData && elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem ) ); + } + + if ( elem.parentNode ) { + if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { + setGlobalEval( getAll( elem, "script" ) ); + } + elem.parentNode.removeChild( elem ); + } + } + + return this; + }, + + empty: function() { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + } + + // Remove any remaining nodes + while ( elem.firstChild ) { + elem.removeChild( elem.firstChild ); + } + + // If this is a select, ensure that it displays empty (#12336) + // Support: IE<9 + if ( elem.options && jQuery.nodeName( elem, "select" ) ) { + elem.options.length = 0; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map(function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + }); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined ) { + return elem.nodeType === 1 ? + elem.innerHTML.replace( rinlinejQuery, "" ) : + undefined; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + ( support.htmlSerialize || !rnoshimcache.test( value ) ) && + ( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && + !wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) { + + value = value.replace( rxhtmlTag, "<$1>" ); + + try { + for (; i < l; i++ ) { + // Remove element nodes and prevent memory leaks + elem = this[i] || {}; + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch(e) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var arg = arguments[ 0 ]; + + // Make the changes, replacing each context element with the new content + this.domManip( arguments, function( elem ) { + arg = this.parentNode; + + jQuery.cleanData( getAll( this ) ); + + if ( arg ) { + arg.replaceChild( elem, this ); + } + }); + + // Force removal if there was no new content (e.g., from empty arguments) + return arg && (arg.length || arg.nodeType) ? this : this.remove(); + }, + + detach: function( selector ) { + return this.remove( selector, true ); + }, + + domManip: function( args, callback ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var first, node, hasScripts, + scripts, doc, fragment, + i = 0, + l = this.length, + set = this, + iNoClone = l - 1, + value = args[0], + isFunction = jQuery.isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( isFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return this.each(function( index ) { + var self = set.eq( index ); + if ( isFunction ) { + args[0] = value.call( this, index, self.html() ); + } + self.domManip( args, callback ); + }); + } + + if ( l ) { + fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + if ( first ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( this[i], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { + + if ( node.src ) { + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl ) { + jQuery._evalUrl( node.src ); + } + } else { + jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); + } + } + } + } + + // Fix #11809: Avoid leaking memory + fragment = first = null; + } + } + + return this; + } +}); + +jQuery.each({ + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + i = 0, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone(true); + jQuery( insert[i] )[ original ]( elems ); + + // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +}); + + +var iframe, + elemdisplay = {}; + +/** + * Retrieve the actual display of a element + * @param {String} name nodeName of the element + * @param {Object} doc Document object + */ +// Called only from within defaultDisplay +function actualDisplay( name, doc ) { + var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), + + // getDefaultComputedStyle might be reliably used only on attached element + display = window.getDefaultComputedStyle ? + + // Use of this method is a temporary fix (more like optmization) until something better comes along, + // since it was removed from specification and supported only in FF + window.getDefaultComputedStyle( elem[ 0 ] ).display : jQuery.css( elem[ 0 ], "display" ); + + // We don't have any data stored on the element, + // so use "detach" method as fast way to get rid of the element + elem.detach(); + + return display; +} + +/** + * Try to determine the default display value of an element + * @param {String} nodeName + */ +function defaultDisplay( nodeName ) { + var doc = document, + display = elemdisplay[ nodeName ]; + + if ( !display ) { + display = actualDisplay( nodeName, doc ); + + // If the simple way fails, read from inside an iframe + if ( display === "none" || !display ) { + + // Use the already-created iframe if possible + iframe = (iframe || jQuery( " diff --git a/dist/vocabulary/implementation/sections/references-en.html b/dist/vocabulary/implementation/sections/references-en.html new file mode 100644 index 0000000..2093dc4 --- /dev/null +++ b/dist/vocabulary/implementation/sections/references-en.html @@ -0,0 +1,5 @@ + +

    References back to ToC

    + +Add your references here. It is recommended to have them as a list. + diff --git a/dist/vocabulary/implementation/webvowl/css/webvowl.app.css b/dist/vocabulary/implementation/webvowl/css/webvowl.app.css new file mode 100644 index 0000000..2ceaead --- /dev/null +++ b/dist/vocabulary/implementation/webvowl/css/webvowl.app.css @@ -0,0 +1,6 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans);html{-ms-content-zooming:none}#loading-progress{width:50%;margin:10px 0}#layoutLoadingProgressBarContainer{height:50px;text-align:left;line-height:1.5}#FPS_Statistics{padding-left:60px;padding-top:60px}#additionalInformationContainer{position:absolute;top:10px;right:50px}#modeOfOperationString{padding-left:34px}#close_directUploadBtn,#direct-text-input,#directUploadBtn{border:1px solid #34495e;width:100%;margin-top:5px;cursor:pointer}#di_controls>ul{list-style:none;margin:0;padding:5px 0 0 5px}#progressBarContext{border-radius:10px;background-color:#bdc3c7;height:25px;border:1px solid #000;margin:auto}#progressBarValue{border-radius:9px;width:0;background-color:#2980b9;height:25px;line-height:1.5;text-align:center}.dbEntry{background-color:#fff;color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntrySelected{color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntry:focus,.dbEntry:hover,.dbEntrySelected{background-color:#bdc3c7}.searchMenuEntry{background-color:#fff;bottom:0;font-size:14px;min-width:50px;margin:0;padding:0;z-index:99;border-radius:4px 4px 0 0;border:1px solid rgba(0,0,0,.15);-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;border-bottom:none;display:none;position:absolute;list-style:none}.searchInputText{background-color:#fff;color:#000;border:#000;text-decoration:none;max-width:150px;overflow:hidden;text-overflow:ellipsis;margin:0}iframe,img{border:none}.hidden{display:none!important}.clear{clear:both}a{color:#69c;text-decoration:none}a:hover{color:#3498db}#optionsArea a{color:#2980b9}#optionsArea a.highlighted{background-color:#d90}.toolTipMenu li.highlighted{background-color:#feb}#browserCheck{background-color:red;padding:5px 0;position:absolute;text-align:center;width:100%}#browserCheck a{color:#fff}#browserCheck a:hover{text-decoration:underline}@-webkit-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-o-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-webkit-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-o-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-moz-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-o-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-webkit-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-moz-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-o-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-webkit-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-moz-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-o-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-webkit-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-moz-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-o-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes msg_CollapseAnimation{0%{top:0}to{top:-400px}}@-webkit-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-moz-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-o-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-webkit-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-moz-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-o-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-webkit-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-o-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-o-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}body{background:#18202a;font-size:14px;font-family:Open Sans,Helvetica,Arial,sans-serif;line-height:1;overflow:hidden;position:fixed}body,main{height:100%;margin:0;padding:0;width:100%}#canvasArea,main{position:relative}#canvasArea{margin:0;padding:0;width:78%}#canvasArea #graph{margin:0 0 2px;background-color:#ecf0f1;width:100%}#canvasArea #graph,#canvasArea svg{box-sizing:border-box;overflow:hidden;padding:0}#canvasArea svg{margin:0}#logo{position:fixed;pointer-events:none}#logo h2{color:#3498db;margin:0;line-height:.7;text-align:center;font-size:24px}#logo h2 span{color:#34495e;font-size:16px}@media screen and (max-device-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-device-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}.checkboxContainer input,.checkboxContainer label{vertical-align:middle}.selected-ontology{background-color:#eee}#credits{border-top:1px solid #bdc3c7;font-size:.9em}.slideOption{position:relative;padding:8px 5px;outline:none}.slideOption .value{float:right;outline:none}.slideOption input[type=range]{box-sizing:border-box;margin:0;outline:none;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#eee}.slideOption input[type=range]::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]::-moz-range-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]:hover{outline:none}.slideOption input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none;margin-top:-3px}.slideOption input[type=range]::-moz-range-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none}.slideOption input[type=range]::-moz-range-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]::-webkit-slider-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]:active,.slideOption input[type=range]:focus{outline:none}.slideOption input[type=range]::-moz-range-thumb:active,.slideOption input[type=range]::-moz-range-thumb:focus{outline:none}.slideOption input[type=range]::-webkit-slider-thumb:active,.slideOption input[type=range]::-webkit-slider-thumb:focus{outline:none}.slideOption input[type=range]:disabled{box-sizing:border-box;margin:0;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#787878}.slideOption input[type=range]:disabled::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled::-moz-range-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled{outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{-webkit-appearance:none;background-color:#363636;border-radius:3px;border:1px solid #aaa;transition:all .5s ease;height:10px;width:30px;margin-top:-3px}.slideOption input[type=range]:disabled::-moz-range-thumb{-webkit-appearance:none;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;background-color:#aaa;outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{background-color:#aaa;outline:none}.slideOption input[type=range]:disabled:hover::-moz-range-thumb{background-color:#404040;outline:none}.slideOption input[type=range]:disabled:hover::-webkit-slider-thumb{background-color:#404040;outline:none}#detailsArea{top:0;right:0;bottom:0;color:#bdc3c7;height:100%;width:22%;overflow-y:auto;overflow-x:hidden;position:fixed;border-left:1px solid #34495e}#detailsArea h1{border-bottom:1px solid #34495e;color:#ecf0f1;display:block;font-weight:100;font-size:1.5em;margin:0;padding:10px 0;text-align:center}#generalDetails{width:auto;box-sizing:border-box;height:100%}#generalDetails span #about{border-bottom:1px solid #34495e;display:block;padding:10px;text-align:center;word-wrap:break-word;color:#69c}#generalDetails h4{background:#1b252e;color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 0;text-align:center}#detailsArea #generalDetails h5{border-bottom:1px solid #34495e;font-size:.9em;font-weight:100;margin:0;padding:5px;text-align:center}#description{text-align:justify}.accordion-container p{font-size:.9em;line-height:1.3;margin:5px 10px}.statisticDetails span{padding:10px}.statisticDetails div,.statisticDetails span{font-weight:100;font-style:italic;margin:10px 0}.statisticDetails div{padding:0 10px;display:inline}#selection-details .propDetails a{color:#69c}#selection-details .propDetails>span{font-weight:100;font-style:italic;padding:0 10px}#selection-details #classEquivUri span,#selection-details #disjointNodes span{padding:0}#selection-details .propDetails div{font-weight:100;font-style:italic;margin:10px 0;padding:0 10px;display:inline}#selection-details .propDetails div span{padding:0}.subclass{fill:#ecf0f1}.accordion-trigger{background:#24323e;cursor:pointer;padding:.5em}.accordion-trigger.accordion-trigger-active:before{padding-right:4px;content:"\25BC"}.accordion-trigger:not(.accordion-trigger-active):before{padding-right:4px;content:"\25BA"}.accordion-container.scrollable{max-height:40%;overflow:auto}.small-whitespace-separator{height:3px}#language{background:transparent;border:1px solid #34495e;color:#ecf0f1}#language option{background-color:#24323e}.converter-form:not(:first-child){margin-top:5px}.converter-form label{display:inline-block;line-height:normal}.converter-form input{box-sizing:border-box;height:20px;width:74%;border:1px solid #34495e}.converter-form button{float:right;padding:0;width:25%;background-color:#ecf0f1}#file-converter-label,.converter-form button{cursor:pointer;height:20px;border:1px solid #34495e}#file-converter-label{box-sizing:border-box;width:74%}#killWarning{cursor:pointer;color:#fff;font-weight:700}#copyBt{box-sizing:border-box;height:20px;width:31%;border:1px solid #34495e}#sidebarExpandButton{height:24px;width:24px;box-sizing:border-box;top:10px;color:#000;float:right;position:absolute;right:0;border:1px solid #000;text-align:center;font-size:1.5em;cursor:pointer}.dropdownMenuClass{height:20px;float:right;border:1px solid #34495e;background-color:#34495e;color:#fff;text-align:left;width:auto}#typeEditForm_datatype{padding-top:5px}#typeEditor,#typeEditor_datatype{width:165px}#leftSideBarCollapseButton{box-sizing:border-box;top:50px;color:#000;position:absolute;left:200px;border:1px solid #000;cursor:pointer;width:24px;height:24px;font-size:1.5em;text-align:center}#leftSideBarCollapseButton:hover,#sidebarExpandButton:hover{background-color:#d90}.spanForCharSelection{padding-left:25px}.nodeEditSpan{color:#000;background-color:#fff;text-align:center;border:none;padding-top:6px}.nodeEditSpan:focus{outline:none;border:none}.foreignelements{border:none}.foreignelements:focus{outline:none;border:none}#leftSideBarContent{color:#000;float:left;position:absolute;left:0;background-color:#18202a;width:100%;height:100%}#leftSideBarContent>h3{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0 0 5px;padding:10px 0;text-align:left}#generalDetailsEdit{color:#ecf0f1}#generalDetailsEdit>div{padding:5px}#generalDetailsEdit>h3{font-size:1.1em;margin:0 0 5px;padding:10px 0}#generalDetailsEdit>h3,.subAccordion{color:#ecf0f1;display:block;font-weight:100;text-align:left}.subAccordion{font-size:.8em;margin:0;padding:5px}.boxed,.subAccordionDescription{padding:0 5px}.separatorLineRight{border-right:1px solid red}.editPrefixButton:hover{color:#ff972d;cursor:pointer}.editPrefixIcon:hover{stroke:#ff972d;stroke-width:1px;cursor:pointer}.editPrefixIcon{stroke:#fffff;stroke-width:1px;cursor:pointer}.deletePrefixButton:hover{color:#ff972d;cursor:pointer}.deletePrefixButton{color:red;cursor:pointer}.invisiblePrefixButton{cursor:default;color:#18202a}#containerForAddPrefixButton{width:100%;margin-top:5px}.roundedButton{border:1px solid #000;border-radius:20px;padding:0 5px;background:#fff;cursor:pointer;color:#000;outline:none}.roundedButton:hover{background:#318638;cursor:pointer;color:#fff;outline:none}#prefixURL_Description{padding:5px 0 0}.prefixIRIElements{display:inline-block;padding:3px;border-bottom:1px solid #34495e;width:100%}.prefixInput{width:30px;display:inline-block;margin-right:5px}.prefixURL{width:100px;display:inline-block;paddig-left:5px}.selectedDefaultElement{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;max-width:200px}#editHeader,#leftHeader{color:#ecf0f1;background-color:#394f5a;display:block;font-size:1.1em;font-weight:100;text-align:center}#leftHeader{padding:10px 0;margin:0}.containerForDefaultSelection{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 20px;text-align:left}.defaultSelected{color:#a15d05;background-color:#283943}.containerForDefaultSelection:hover{color:#f19505;background-color:#394f5a;display:block;cursor:pointer}#containerForLeftSideBar{top:50px;float:left;position:absolute;background-color:#1b252e;left:0;width:200px;height:200px;overflow-y:auto;overflow-x:hidden}#leftSideBar{width:100%;background-color:#18202a}#loading-info{box-sizing:border-box;position:absolute;text-align:center;width:100%;height:80%;top:0}#loading-info>div{display:inline-block;color:#fff;background-color:#18202a;border-bottom-left-radius:2px;border-bottom-right-radius:2px}#loading-info>*>*{padding:5px}#loading-info{pointer-events:none}#loading-progress{pointer-events:auto;min-width:220px;border-radius:10px}#show-loadingInfo-button{font-size:12px;color:#fff;cursor:pointer;text-align:center}#loadingIndicator_closeButton:hover{color:#ff972d;cursor:pointer}#loadingIndicator_closeButton{color:#ffe30f;cursor:pointer;padding-bottom:5px;float:right}.busyProgressBar{background-color:#000;height:25px;position:relative;animation:busy 2s linear infinite}@-webkit-keyframes busy{0%{left:0}50%{left:80%}to{left:0}}#bulletPoint_container{padding-left:15px;margin-top:0;margin-bottom:0}#bulletPoint_container>div{margin-left:-15px}#loadingInfo-container{box-sizing:border-box;text-align:left;line-height:1.2;padding-top:5px;overflow:auto;height:120px;min-height:40px;background-color:#3c3c3c}#error-description-button{margin:5px 0 0;font-size:12px;color:#69c;cursor:pointer;text-align:center}#error-description-container{box-sizing:border-box;text-align:left}#error-description-container pre{background-color:#34495e;padding:2px;margin:0;white-space:pre-wrap;max-height:calc(100vh - 125px);max-width:75vw;overflow:auto}.spin{display:inline-block;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.truncate{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.color-mode-switch{float:right;width:90px;cursor:pointer;height:20px;padding:0;border:0;color:#555;background-color:#eceeef;box-shadow:0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.color-mode-switch:focus{outline-width:0}.color-mode-switch.active{color:#fff;background-color:#32cd32;box-shadow:inset 0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.filterMenuButtonHighlight{background-color:#d90}@-webkit-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-moz-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-o-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}.buttonPulse{-webkit-animation-name:buttonAnimation;-moz-animation-name:buttonAnimation;-o-animation-name:buttonAnimation;animation-name:buttonAnimation;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s;-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}#m_about{max-width:200px;width:200px;position:absolute}#m_modes{max-width:160px;width:160px;position:absolute}#m_filter{max-width:170px;width:170px;position:absolute}#m_gravity{max-width:180px;width:180px;position:absolute}#m_export{max-width:160px;width:160px;position:absolute}#exportedUrl{width:100px}#m_select{max-width:300px;width:300px;position:absolute}#m_config{max-width:240px;width:240px;position:absolute}#m_search{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#swipeBarContainer{position:fixed;width:77.8%;height:40px;margin:0;padding:0;bottom:0}#menuElementContainer{margin:0;padding:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;text-align:right;list-style-type:none}#menuElementContainer>li{display:inline-block;box-sizing:border-box;text-align:left;position:relative;height:40px;font-size:14px;color:#fff;padding:12px 0 0;margin-left:-4px}#menuElementContainer>li>a{color:#fff;padding:9px 12px 12px 30px}.menuElementSvgElement{height:20px;width:20px;display:block;position:absolute;top:10px;left:8px}.btn_shadowed{background-color:#fefefe;box-shadow:1px 1px 1px gray}.reloadCachedOntologyIcon{height:20px;width:108px;display:block;position:absolute;top:20px;left:3px;border:1px solid #000;border-radius:10px;cursor:pointer}.reloadCachedOntologyIcon:disabled{background:#f4f4f4;cursor:auto;border:1px solid #a9a9a9}.reloadCachedOntologyIcon:hover{background:#d90;cursor:pointer}.disabledReloadElement{cursor:auto;background:#f4f4f4;pointer-events:auto;border:1px solid #a9a9a9;color:#bbb}.disabledReloadElement:hover{cursor:auto;background:#eee;pointer-events:auto}#menuElementContainer>li>input{color:#000;padding:.1em .3em .1em 1.5em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:120px}#menuElementContainer>li>a:hover{box-sizing:border-box;background:#1b252e;color:#bdc3c7}#empty:hover{box-sizing:border-box;background:#e1e1e1;color:#2980b9}#empty.disabled,.disabled{pointer-events:none;cursor:default;color:#979797}.toolTipMenu{-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;background-color:#fff;border:1px solid rgba(0,0,0,.15);border-bottom:none;border-radius:4px 4px 0 0;bottom:0;display:none;font-size:14px;list-style:none;margin:0;padding:0;white-space:normal;position:absolute;z-index:99}.toolTipMenu>li:first-of-type{border:none}.toolTipMenu a{color:#2980b9}.toolTipMenu>li{border-top:1px solid #bdc3c7}.toolTipMenu li{color:#2980b9;display:block}#menuElementContainer>li:hover .toolTipMenu{display:block}#menuElementContainer li>ul.toolTipMenu li a:hover{background:#e1e1e1}#scrollLeftButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;left:0}#scrollLeftButton:focus{outline:none}#scrollLeftButton:before{content:"<"}#scrollRightButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;right:0}#scrollRightButton:focus{outline:none}#scrollLeftButton:hover,#scrollRightButton:hover{color:#bdc3c7}#scrollRightButton:before{content:">"}#centerGraphButton,#zoomInButton,#zoomOutButton{border:1px solid #000;text-align:center;margin:-1px 0 0;font-size:1.5em;padding:0;height:28px}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#zoomOutButton{line-height:22px}#centerGraphButton,#zoomInButton{line-height:25px}#zoomSlider>p:hover{background-color:#d90}#zoomSliderParagraph{color:#000;padding-top:5px;margin:-1px 0 0;border:1px solid #000;height:150px}p#zoomSliderParagraph:hover{background-color:#fff}#zoomSlider{width:28px;margin-top:-2px;padding:0;font-size:1.5em;cursor:pointer;position:absolute;right:20px;bottom:20px;color:#000;box-sizing:border-box}#menuElementContainer>li>a:before{font-size:1em;margin:0;padding:0 6px 0 0}#menuElementContainer a.highlighted{background-color:#d90} + /*!*padding: 0 0.2em;*!*/.inner-addon{position:relative}.gearIcon,.searchIcon{position:absolute;width:17px;height:17px;pointer-events:none}.gearIcon{left:-5px} + /*!*padding: 0 0.2em;*!*/ + /*!*color: black;*!*/ + /*!*content: "\2315";*!*/ + /*!*content: "\2315" or "\1F50D"*!;*/li#c_search{padding:0 5px;margin-left:5px;height:20px}li#c_locate{padding:0}#c_locate>a{font-size:2em;padding:0}a#pause-button{padding:12px}a#pause-button.paused:before{content:"\25BA"}a#pause-button.paused:hover{background-color:#d90;color:#fff}a#pause-button:not(.paused):before{content:"II"}.toolTipMenu li:hover{background-color:#e1e1e1}#emptyLiHover,#emptyLiHover:hover{background-color:#fff}.toggleOption li:hover{background-color:#e1e1e1}.toggleOption{padding:8px 5px}#converter-option:hover{background-color:#fff}.option,.toolTipMenu li a:only-child{display:block;float:none;padding:8px 5px}.customLocate{padding:0;background-color:#32cd32}a#locateSearchResult{padding-top:50px}#zoomSliderElement{color:#000;position:relative;padding-top:0;width:155px;height:24px;background-color:transparent;-webkit-transform-origin-x:73px;-webkit-transform-origin-y:73px;-webkit-transform:rotate(-90deg);-moz-transform-origin:73px 73px;transform:rotate(-90deg);transform-origin:73px 73px;-webkit-appearance:none;outline:none;margin:4px 0}#zoomSliderElement::-webkit-scrollbar{height:0}#zoomSliderElement:hover{cursor:crosshair}#zoomSliderElement::-webkit-slider-runnable-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-moz-range-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-webkit-slider-thumb{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#fff;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb{background:#fff}#zoomSliderElement::-ms-thumb,#zoomSliderElement::-ms-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb:hover{background:#d90}#zoomSliderElement::-webkit-slider-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#d90;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-moz-range-thumb,#zoomSliderElement::-moz-range-thumb:hover{border:1px solid #000;height:10px;width:30px;border-radius:3px;cursor:pointer;outline:none}#zoomSliderElement::-moz-range-thumb:hover{background:#d90}#zoomSliderElement::-moz-focus-outer{border:0}#locateSearchResult:focus{outline:none}a#locateSearchResult.highlighted:hover{background-color:#d90;color:red}a#locateSearchResult{outline:none;padding-bottom:0;padding-top:0;position:relative;top:5px}#editorHint{padding:5px;position:absolute;text-align:center;width:100%;pointer-events:none}#editorHint label{pointer-events:auto;float:right;padding:5px;color:#fd0}#editorHint label:hover{text-decoration:underline;cursor:pointer}#editorHint>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:5px}#WarningErrorMessagesContainer{position:absolute;text-align:center;top:0;pointer-events:none}#WarningErrorMessages{position:relative;width:50%;pointer-events:auto;margin:10px 0;padding-right:12px;overflow-y:auto;overflow-x:hidden}#WarningErrorMessages label{color:#fd0}#WarningErrorMessages label,#WarningErrorMessages span{pointer-events:auto;float:right;padding:5px}#WarningErrorMessages label:hover{text-decoration:underline;cursor:pointer}#WarningErrorMessages>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:10px;border:1px solid #ecf0f1;width:70%}#WarningErrorMessagesContent>ul{-webkit-padding-start:20px;padding:0 16px}#WarningErrorMessagesContent>ul>li{padding:5px}.textLineEditWithLabel{display:inline-block;width:100%;border-bottom:1px solid #34495e;padding:2px 0}.converter-form-Editor label{line-height:normal}.descriptionTextClass,.prefixIRIElements input{background-color:#34495e;color:#fff}.prefixIRIElements input{border:1px solid #34495e}.prefixIRIElements input:disabled{background-color:#18202a;border:1px solid #18202a;color:#fff}.converter-form-Editor input{float:right;border:1px solid #34495e;background-color:#34495e;color:#fff}.converter-form-Editor input:disabled{background-color:#545350;border:1px solid #34495e;color:#939798}.disabledLabelForSlider{color:gray} \ No newline at end of file diff --git a/dist/vocabulary/implementation/webvowl/css/webvowl.css b/dist/vocabulary/implementation/webvowl/css/webvowl.css new file mode 100644 index 0000000..335ea85 --- /dev/null +++ b/dist/vocabulary/implementation/webvowl/css/webvowl.css @@ -0,0 +1 @@ +.text{font-family:Helvetica,Arial,sans-serif;font-size:12px}.subtext{font-size:9px}.text.instance-count{fill:#666}.external+text .instance-count{fill:#aaa}.cardinality{font-size:10px}.embedded,.text{pointer-events:none}.allvaluesfromproperty,.class,.disjoint,.disjointwith,.equivalentproperty,.functionalproperty,.inversefunctionalproperty,.object,.objectproperty,.somevaluesfromproperty,.symmetricproperty,.transitiveproperty{fill:#acf}.datatypeproperty,.label .datatype{fill:#9c6}.rdf,.rdfproperty{fill:#c9c}.literal,.node .datatype{fill:#fc3}.deprecated,.deprecatedproperty{fill:#ccc}.nofill,path{fill:none}marker path{fill:#000}.class,.fineline,line,path{stroke:#000}.external+text,.subclass,.subclassproperty,.white{fill:#fff}.cardinality.focused,.cardinality.hovered,.class.hovered,.filled.focused,.filled.hovered,.hoveredForEditing,.property.hovered,.values-from.filled.hovered{fill:red!important;cursor:pointer}.feature{fill:red;cursor:pointer}@-webkit-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-moz-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-o-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}.searchResultA{-webkit-animation-name:pulseAnimation;-moz-animation-name:pulseAnimation;-o-animation-name:pulseAnimation;animation-name:pulseAnimation;-webkit-animation-duration:.8s;-moz-animation-duration:.8s;-o-animation-duration:.8s;animation-duration:.8s;-webkit-transform:translateZ(0);-o-transform:translateZ(0);-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}.searchResultA,.searchResultB{fill:none;stroke-width:5;stroke:red}.hovered-MathSymbol{fill:none}.focused,.hovered-MathSymbol,path.hovered{stroke:red!important}.feature:hover,.feature_hover,.indirect-highlighting{fill:#f90;cursor:pointer}.values-from{stroke:#69c}.symbol,.values-from.filled{fill:#69c}.class,line,path{stroke-width:2}.fineline{stroke-width:1}.anonymous,.dashed{stroke-dasharray:8}.dotted{stroke-dasharray:3}circle.focused,rect.focused{stroke-width:4px}.nostroke{stroke:none}.addDataPropertyElement{fill:#9c6!important;cursor:pointer;stroke-width:2;stroke:#000}.addDataPropertyElement:hover{fill:#f90!important;cursor:pointer;stroke-width:2;stroke:#000}.superHiddenElement{fill:rgba(255,153,0,.4);cursor:pointer;stroke-width:0;stroke:#000}.superOpacityElement{opacity:0}.deleteParentElement:hover{fill:#f90;cursor:pointer;stroke-width:2;stroke:#000}.deleteParentElement{fill:red;cursor:pointer;stroke-width:2;stroke:#000}.classDraggerNodeHovered,.classNodeDragPath{stroke:#000;stroke-width:2px}.classDraggerNodeHovered{fill:#f90;cursor:pointer}.classDraggerNode{fill:#acf;stroke:#000;stroke-width:2px}marker path{stroke-dasharray:100} \ No newline at end of file diff --git a/dist/vocabulary/implementation/webvowl/data/foaf.json b/dist/vocabulary/implementation/webvowl/data/foaf.json new file mode 100644 index 0000000..beaaffc --- /dev/null +++ b/dist/vocabulary/implementation/webvowl/data/foaf.json @@ -0,0 +1,2894 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.6), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "undefined" ], + "baseIris" : [ "http://schema.org", "http://www.w3.org/2000/01/rdf-schema", "http://www.w3.org/2003/01/geo/wgs84_pos", "http://purl.org/dc/terms", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "http://www.w3.org/2000/10/swap/pim/contact", "http://www.w3.org/2004/02/skos/core" ], + "prefixList" : { + "owl" : "http://www.w3.org/2002/07/owl#", + "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "wot" : "http://xmlns.com/wot/0.1/", + "xsd" : "http://www.w3.org/2001/XMLSchema#", + "dc" : "http://purl.org/dc/elements/1.1/", + "xml" : "http://www.w3.org/XML/1998/namespace", + "vs" : "http://www.w3.org/2003/06/sw-vocab-status/ns#", + "foaf" : "http://xmlns.com/foaf/0.1/", + "rdfs" : "http://www.w3.org/2000/01/rdf-schema#" + }, + "title" : { + "undefined" : "Friend of a Friend (FOAF) vocabulary" + }, + "iri" : "http://xmlns.com/foaf/0.1/", + "description" : { + "undefined" : "The Friend of a Friend (FOAF) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language." + }, + "other" : { + "title" : [ { + "identifier" : "title", + "language" : "undefined", + "value" : "Friend of a Friend (FOAF) vocabulary", + "type" : "label" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "3", + "type" : "owl:Thing" + }, { + "id" : "9", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:equivalentClass" + }, { + "id" : "18", + "type" : "owl:Thing" + }, { + "id" : "19", + "type" : "owl:Thing" + }, { + "id" : "5", + "type" : "owl:Thing" + }, { + "id" : "20", + "type" : "rdfs:Literal" + }, { + "id" : "8", + "type" : "rdfs:Literal" + }, { + "id" : "11", + "type" : "owl:Class" + }, { + "id" : "21", + "type" : "owl:Thing" + }, { + "id" : "22", + "type" : "rdfs:Literal" + }, { + "id" : "24", + "type" : "rdfs:Literal" + }, { + "id" : "26", + "type" : "rdfs:Literal" + }, { + "id" : "27", + "type" : "rdfs:Literal" + }, { + "id" : "37", + "type" : "owl:equivalentClass" + }, { + "id" : "45", + "type" : "rdfs:Literal" + }, { + "id" : "46", + "type" : "rdfs:Literal" + }, { + "id" : "53", + "type" : "rdfs:Literal" + }, { + "id" : "56", + "type" : "rdfs:Literal" + }, { + "id" : "59", + "type" : "rdfs:Literal" + }, { + "id" : "60", + "type" : "owl:Class" + }, { + "id" : "61", + "type" : "rdfs:Literal" + }, { + "id" : "6", + "type" : "rdfs:Literal" + }, { + "id" : "62", + "type" : "rdfs:Literal" + }, { + "id" : "12", + "type" : "owl:equivalentClass" + }, { + "id" : "55", + "type" : "rdfs:Literal" + }, { + "id" : "69", + "type" : "rdfs:Literal" + }, { + "id" : "71", + "type" : "owl:Class" + }, { + "id" : "36", + "type" : "owl:Class" + }, { + "id" : "86", + "type" : "owl:Class" + }, { + "id" : "83", + "type" : "owl:Class" + }, { + "id" : "94", + "type" : "owl:Class" + }, { + "id" : "73", + "type" : "rdfs:Literal" + }, { + "id" : "68", + "type" : "rdfs:Literal" + }, { + "id" : "93", + "type" : "rdfs:Literal" + }, { + "id" : "33", + "type" : "owl:Thing" + }, { + "id" : "49", + "type" : "rdfs:Literal" + }, { + "id" : "29", + "type" : "owl:Thing" + }, { + "id" : "101", + "type" : "rdfs:Literal" + }, { + "id" : "39", + "type" : "owl:Thing" + }, { + "id" : "63", + "type" : "owl:equivalentClass" + }, { + "id" : "64", + "type" : "owl:equivalentClass" + }, { + "id" : "102", + "type" : "owl:equivalentClass" + }, { + "id" : "78", + "type" : "owl:Class" + }, { + "id" : "77", + "type" : "owl:Class" + }, { + "id" : "13", + "type" : "owl:equivalentClass" + }, { + "id" : "58", + "type" : "rdfs:Literal" + }, { + "id" : "100", + "type" : "rdfs:Literal" + }, { + "id" : "106", + "type" : "rdfs:Literal" + }, { + "id" : "52", + "type" : "rdfs:Literal" + }, { + "id" : "88", + "type" : "rdfs:Literal" + }, { + "id" : "118", + "type" : "rdfs:Literal" + }, { + "id" : "126", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:equivalentClass" + }, { + "id" : "32", + "type" : "owl:equivalentClass" + }, { + "id" : "10", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "3", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2004/02/skos/core#Concept", + "baseIri" : "http://www.w3.org/2004/02/skos/core", + "instances" : 0, + "label" : { + "IRI-based" : "Concept", + "undefined" : "Concept" + }, + "attributes" : [ "external" ], + "id" : "9" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Agent", + "equivalent" : [ "13" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Agent", + "undefined" : "Agent" + }, + "subClasses" : [ "10", "11", "12" ], + "comment" : { + "undefined" : "An agent (eg. person, group, software or physical artifact)." + }, + "attributes" : [ "equivalent" ], + "id" : "1" + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "18", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "19", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "5", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "20", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "8", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Organization", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Organization", + "undefined" : "Organization" + }, + "comment" : { + "undefined" : "An organization." + }, + "id" : "11", + "superClasses" : [ "1" ] + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "21", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "22", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "24", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "26", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "27", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://schema.org/CreativeWork", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "CreativeWork" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "37" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "45", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "46", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "53", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "56", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "59", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Project", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Project", + "undefined" : "Project" + }, + "comment" : { + "undefined" : "A project (a collective endeavour of some kind)." + }, + "id" : "60" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "61", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "6", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "62", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "equivalent" : [ "63", "64" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Person", + "undefined" : "Person" + }, + "comment" : { + "undefined" : "A person." + }, + "attributes" : [ "equivalent" ], + "id" : "12", + "superClasses" : [ "1", "36" ] + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "55", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "69", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/PersonalProfileDocument", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "PersonalProfileDocument", + "undefined" : "PersonalProfileDocument" + }, + "comment" : { + "undefined" : "A personal profile RDF document." + }, + "id" : "71", + "superClasses" : [ "2" ] + }, { + "iri" : "http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing", + "baseIri" : "http://www.w3.org/2003/01/geo/wgs84_pos", + "instances" : 0, + "label" : { + "IRI-based" : "SpatialThing", + "undefined" : "Spatial Thing" + }, + "subClasses" : [ "12" ], + "attributes" : [ "external" ], + "id" : "36" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineChatAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineChatAccount", + "undefined" : "Online Chat Account" + }, + "comment" : { + "undefined" : "An online chat account." + }, + "id" : "86", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineGamingAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineGamingAccount", + "undefined" : "Online Gaming Account" + }, + "comment" : { + "undefined" : "An online gaming account." + }, + "id" : "83", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/LabelProperty", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "LabelProperty", + "undefined" : "Label Property" + }, + "comment" : { + "undefined" : "A foaf:LabelProperty is any RDF property with texual values that serve as labels." + }, + "id" : "94" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "73", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "68", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "93", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "33", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "49", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "29", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "101", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "39", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/10/swap/pim/contact#Person", + "baseIri" : "http://www.w3.org/2000/10/swap/pim/contact", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "63" + }, { + "iri" : "http://schema.org/Person", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "64" + }, { + "iri" : "http://schema.org/ImageObject", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "ImageObject" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "102" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineAccount", + "undefined" : "Online Account" + }, + "subClasses" : [ "77", "86", "83" ], + "comment" : { + "undefined" : "An online account." + }, + "id" : "78" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineEcommerceAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineEcommerceAccount", + "undefined" : "Online E-commerce Account" + }, + "comment" : { + "undefined" : "An online e-commerce account." + }, + "id" : "77", + "superClasses" : [ "78" ] + }, { + "iri" : "http://purl.org/dc/terms/Agent", + "baseIri" : "http://purl.org/dc/terms", + "instances" : 0, + "label" : { + "IRI-based" : "Agent" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "13" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "58", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "100", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "106", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "52", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "88", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "118", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Class", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "instances" : 0, + "label" : { + "IRI-based" : "Class" + }, + "attributes" : [ "external" ], + "id" : "126" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Document", + "equivalent" : [ "37" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Document", + "undefined" : "Document" + }, + "subClasses" : [ "71", "32" ], + "comment" : { + "undefined" : "A document." + }, + "attributes" : [ "equivalent" ], + "id" : "2" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Image", + "equivalent" : [ "102" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Image", + "undefined" : "Image" + }, + "comment" : { + "undefined" : "An image." + }, + "attributes" : [ "equivalent" ], + "id" : "32", + "superClasses" : [ "2" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/Group", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Group", + "undefined" : "Group" + }, + "comment" : { + "undefined" : "A class of Agents." + }, + "id" : "10", + "superClasses" : [ "1" ] + } ], + "property" : [ { + "id" : "0", + "type" : "owl:objectProperty" + }, { + "id" : "4", + "type" : "owl:datatypeProperty" + }, { + "id" : "7", + "type" : "owl:datatypeProperty" + }, { + "id" : "14", + "type" : "owl:objectProperty" + }, { + "id" : "16", + "type" : "owl:objectProperty" + }, { + "id" : "17", + "type" : "owl:objectProperty" + }, { + "id" : "23", + "type" : "owl:objectProperty" + }, { + "id" : "25", + "type" : "owl:objectProperty" + }, { + "id" : "28", + "type" : "owl:objectProperty" + }, { + "id" : "30", + "type" : "owl:objectProperty" + }, { + "id" : "31", + "type" : "owl:objectProperty" + }, { + "id" : "35", + "type" : "owl:objectProperty" + }, { + "id" : "38", + "type" : "owl:objectProperty" + }, { + "id" : "44", + "type" : "owl:datatypeProperty" + }, { + "id" : "47", + "type" : "owl:objectProperty" + }, { + "id" : "48", + "type" : "owl:datatypeProperty" + }, { + "id" : "50", + "type" : "owl:objectProperty" + }, { + "id" : "51", + "type" : "owl:datatypeProperty" + }, { + "id" : "54", + "type" : "owl:datatypeProperty" + }, { + "id" : "57", + "type" : "owl:datatypeProperty" + }, { + "id" : "65", + "type" : "owl:datatypeProperty" + }, { + "id" : "66", + "type" : "owl:datatypeProperty" + }, { + "id" : "67", + "type" : "owl:datatypeProperty" + }, { + "id" : "70", + "type" : "owl:datatypeProperty" + }, { + "id" : "72", + "type" : "owl:datatypeProperty" + }, { + "id" : "15", + "type" : "owl:objectProperty" + }, { + "id" : "74", + "type" : "rdfs:SubClassOf" + }, { + "id" : "75", + "type" : "rdfs:SubClassOf" + }, { + "id" : "76", + "type" : "rdfs:SubClassOf" + }, { + "id" : "79", + "type" : "rdfs:SubClassOf" + }, { + "id" : "80", + "type" : "owl:objectProperty" + }, { + "id" : "81", + "type" : "owl:objectProperty" + }, { + "id" : "82", + "type" : "rdfs:SubClassOf" + }, { + "id" : "34", + "type" : "owl:objectProperty" + }, { + "id" : "85", + "type" : "rdfs:SubClassOf" + }, { + "id" : "87", + "type" : "owl:datatypeProperty" + }, { + "id" : "89", + "type" : "rdfs:SubClassOf" + }, { + "id" : "90", + "type" : "rdfs:SubClassOf" + }, { + "id" : "91", + "type" : "owl:objectProperty" + }, { + "id" : "92", + "type" : "owl:datatypeProperty" + }, { + "id" : "95", + "type" : "owl:datatypeProperty" + }, { + "id" : "96", + "type" : "owl:objectProperty" + }, { + "id" : "97", + "type" : "owl:datatypeProperty" + }, { + "id" : "98", + "type" : "rdfs:SubClassOf" + }, { + "id" : "99", + "type" : "owl:datatypeProperty" + }, { + "id" : "43", + "type" : "owl:objectProperty" + }, { + "id" : "42", + "type" : "owl:objectProperty" + }, { + "id" : "103", + "type" : "owl:datatypeProperty" + }, { + "id" : "104", + "type" : "owl:objectProperty" + }, { + "id" : "105", + "type" : "owl:datatypeProperty" + }, { + "id" : "107", + "type" : "owl:objectProperty" + }, { + "id" : "108", + "type" : "owl:datatypeProperty" + }, { + "id" : "109", + "type" : "owl:objectProperty" + }, { + "id" : "110", + "type" : "owl:objectProperty" + }, { + "id" : "40", + "type" : "owl:objectProperty" + }, { + "id" : "41", + "type" : "owl:objectProperty" + }, { + "id" : "84", + "type" : "owl:objectProperty" + }, { + "id" : "111", + "type" : "owl:datatypeProperty" + }, { + "id" : "112", + "type" : "owl:datatypeProperty" + }, { + "id" : "113", + "type" : "owl:datatypeProperty" + }, { + "id" : "114", + "type" : "owl:objectProperty" + }, { + "id" : "116", + "type" : "owl:disjointWith" + }, { + "id" : "117", + "type" : "owl:disjointWith" + }, { + "id" : "119", + "type" : "owl:datatypeProperty" + }, { + "id" : "120", + "type" : "owl:disjointWith" + }, { + "id" : "121", + "type" : "owl:disjointWith" + }, { + "id" : "122", + "type" : "owl:objectProperty" + }, { + "id" : "123", + "type" : "owl:datatypeProperty" + }, { + "id" : "124", + "type" : "owl:objectProperty" + }, { + "id" : "125", + "type" : "owl:datatypeProperty" + }, { + "id" : "127", + "type" : "owl:datatypeProperty" + }, { + "id" : "115", + "type" : "owl:objectProperty" + }, { + "id" : "128", + "type" : "owl:objectProperty" + }, { + "id" : "129", + "type" : "owl:objectProperty" + } ], + "propertyAttribute" : [ { + "iri" : "http://xmlns.com/foaf/0.1/interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "interest", + "undefined" : "interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A page about a topic of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "0" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox_sha1sum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "6", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox_sha1sum", + "undefined" : "sha1sum of a personal mailbox URI name" + }, + "domain" : "5", + "comment" : { + "undefined" : "The sha1sum of the URI of an Internet mailbox associated with exactly one owner, the first owner of the mailbox." + }, + "attributes" : [ "datatype" ], + "id" : "4" + }, { + "iri" : "http://xmlns.com/foaf/0.1/nick", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "8", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "nick", + "undefined" : "nickname" + }, + "domain" : "5", + "comment" : { + "undefined" : "A short informal nickname characterising an agent (includes login identifiers, IRC and other chat nicknames)." + }, + "attributes" : [ "datatype" ], + "id" : "7" + }, { + "iri" : "http://xmlns.com/foaf/0.1/openid", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "openid", + "undefined" : "openid" + }, + "superproperty" : [ "15" ], + "domain" : "1", + "comment" : { + "undefined" : "An OpenID for an Agent." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "14" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workInfoHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workInfoHomepage", + "undefined" : "work info homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A work info homepage of some person; a page about their work for some organization." + }, + "attributes" : [ "object" ], + "id" : "16" + }, { + "iri" : "http://xmlns.com/foaf/0.1/pastProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "pastProject", + "undefined" : "past project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A project this person has previously worked on." + }, + "attributes" : [ "object" ], + "id" : "17" + }, { + "iri" : "http://xmlns.com/foaf/0.1/theme", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "theme", + "undefined" : "theme" + }, + "domain" : "19", + "comment" : { + "undefined" : "A theme." + }, + "attributes" : [ "object" ], + "id" : "23" + }, { + "iri" : "http://xmlns.com/foaf/0.1/knows", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "12", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "knows", + "undefined" : "knows" + }, + "domain" : "12", + "comment" : { + "undefined" : "A person known by this person (indicating some level of reciprocated interaction between the parties)." + }, + "attributes" : [ "object" ], + "id" : "25" + }, { + "iri" : "http://xmlns.com/foaf/0.1/focus", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "29", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "focus", + "undefined" : "focus" + }, + "domain" : "9", + "comment" : { + "undefined" : "The underlying or 'focal' entity associated with some SKOS-described concept." + }, + "attributes" : [ "object" ], + "id" : "28" + }, { + "iri" : "http://xmlns.com/foaf/0.1/phone", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "phone", + "undefined" : "phone" + }, + "domain" : "19", + "comment" : { + "undefined" : "A phone, specified using fully qualified tel: URI scheme (refs: http://www.w3.org/Addressing/schemes.html#tel)." + }, + "attributes" : [ "object" ], + "id" : "30" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depicts", + "inverse" : "34", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "33", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depicts", + "undefined" : "depicts" + }, + "domain" : "32", + "comment" : { + "undefined" : "A thing depicted in this representation." + }, + "attributes" : [ "object" ], + "id" : "31" + }, { + "iri" : "http://xmlns.com/foaf/0.1/based_near", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "36", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "based_near", + "undefined" : "based near" + }, + "domain" : "36", + "comment" : { + "undefined" : "A location that something is based near, for some broadly human notion of near." + }, + "attributes" : [ "object" ], + "id" : "35" + }, { + "iri" : "http://xmlns.com/foaf/0.1/page", + "inverse" : "40", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "page", + "undefined" : "page" + }, + "domain" : "39", + "subproperty" : [ "15", "41", "42", "43" ], + "comment" : { + "undefined" : "A page or document about this thing." + }, + "attributes" : [ "object" ], + "id" : "38" + }, { + "iri" : "http://xmlns.com/foaf/0.1/geekcode", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "26", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "geekcode", + "undefined" : "geekcode" + }, + "domain" : "12", + "comment" : { + "undefined" : "A textual geekcode for this person, see http://www.geekcode.com/geek.html" + }, + "attributes" : [ "datatype" ], + "id" : "44" + }, { + "iri" : "http://xmlns.com/foaf/0.1/primaryTopic", + "inverse" : "15", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "primaryTopic", + "undefined" : "primary topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "The primary topic of some page or document." + }, + "attributes" : [ "object", "functional" ], + "id" : "47" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "49", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenName", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "48" + }, { + "iri" : "http://xmlns.com/foaf/0.1/schoolHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "schoolHomepage", + "undefined" : "schoolHomepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A homepage of a school attended by the person." + }, + "attributes" : [ "object" ], + "id" : "50" + }, { + "iri" : "http://xmlns.com/foaf/0.1/gender", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "52", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "gender", + "undefined" : "gender" + }, + "domain" : "1", + "comment" : { + "undefined" : "The gender of this Agent (typically but not necessarily 'male' or 'female')." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "51" + }, { + "iri" : "http://xmlns.com/foaf/0.1/dnaChecksum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "55", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "dnaChecksum", + "undefined" : "DNA checksum" + }, + "domain" : "19", + "comment" : { + "undefined" : "A checksum for the DNA of some thing. Joke." + }, + "attributes" : [ "datatype" ], + "id" : "54" + }, { + "iri" : "http://xmlns.com/foaf/0.1/lastName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "58", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "lastName", + "undefined" : "lastName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The last name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "57" + }, { + "iri" : "http://xmlns.com/foaf/0.1/status", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "45", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "status", + "undefined" : "status" + }, + "domain" : "1", + "comment" : { + "undefined" : "A string expressing what the user is happy for the general public (normally) to know about their current activity." + }, + "attributes" : [ "datatype" ], + "id" : "65" + }, { + "iri" : "http://xmlns.com/foaf/0.1/yahooChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "46", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "yahooChatID", + "undefined" : "Yahoo chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A Yahoo chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "66" + }, { + "iri" : "http://xmlns.com/foaf/0.1/name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "68", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "name", + "undefined" : "name" + }, + "domain" : "19", + "comment" : { + "undefined" : "A name for some thing." + }, + "attributes" : [ "datatype" ], + "id" : "67" + }, { + "iri" : "http://xmlns.com/foaf/0.1/icqChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "53", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "icqChatID", + "undefined" : "ICQ chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An ICQ chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "70" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "73", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenname", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "72" + }, { + "iri" : "http://xmlns.com/foaf/0.1/isPrimaryTopicOf", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "isPrimaryTopicOf", + "undefined" : "is primary topic of" + }, + "superproperty" : [ "38" ], + "domain" : "39", + "subproperty" : [ "14", "43" ], + "comment" : { + "undefined" : "A document that this thing is the primary topic of." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "15" + }, { + "range" : "2", + "domain" : "32", + "attributes" : [ "anonymous", "object" ], + "id" : "74" + }, { + "range" : "2", + "domain" : "71", + "attributes" : [ "anonymous", "object" ], + "id" : "75" + }, { + "range" : "78", + "domain" : "77", + "attributes" : [ "anonymous", "object" ], + "id" : "76" + }, { + "range" : "36", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "79" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountServiceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountServiceHomepage", + "undefined" : "account service homepage" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates a homepage of the service provide for this online account." + }, + "attributes" : [ "object" ], + "id" : "80" + }, { + "iri" : "http://xmlns.com/foaf/0.1/logo", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "logo", + "undefined" : "logo" + }, + "domain" : "19", + "comment" : { + "undefined" : "A logo representing some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "81" + }, { + "range" : "78", + "domain" : "83", + "attributes" : [ "anonymous", "object" ], + "id" : "82" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depiction", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depiction", + "undefined" : "depiction" + }, + "domain" : "33", + "subproperty" : [ "84" ], + "comment" : { + "undefined" : "A depiction of some thing." + }, + "attributes" : [ "object" ], + "id" : "34" + }, { + "range" : "78", + "domain" : "86", + "attributes" : [ "anonymous", "object" ], + "id" : "85" + }, { + "iri" : "http://xmlns.com/foaf/0.1/family_name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "88", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "family_name", + "undefined" : "family_name" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "87" + }, { + "range" : "1", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "89" + }, { + "range" : "1", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "90" + }, { + "iri" : "http://xmlns.com/foaf/0.1/fundedBy", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "fundedBy", + "undefined" : "funded by" + }, + "domain" : "19", + "comment" : { + "undefined" : "An organization funding a project or person." + }, + "attributes" : [ "object" ], + "id" : "91" + }, { + "iri" : "http://xmlns.com/foaf/0.1/title", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "93", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "title", + "undefined" : "title" + }, + "domain" : "19", + "comment" : { + "undefined" : "Title (Mr, Mrs, Ms, Dr. etc)" + }, + "attributes" : [ "datatype" ], + "id" : "92" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "59", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountName", + "undefined" : "account name" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates the name (identifier) associated with this online account." + }, + "attributes" : [ "datatype" ], + "id" : "95" + }, { + "iri" : "http://xmlns.com/foaf/0.1/account", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "account", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "96" + }, { + "iri" : "http://xmlns.com/foaf/0.1/jabberID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "69", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "jabberID", + "undefined" : "jabber ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A jabber ID for something." + }, + "attributes" : [ "datatype" ], + "id" : "97" + }, { + "range" : "1", + "domain" : "10", + "attributes" : [ "anonymous", "object" ], + "id" : "98" + }, { + "iri" : "http://xmlns.com/foaf/0.1/age", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "100", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "age", + "undefined" : "age" + }, + "domain" : "1", + "comment" : { + "undefined" : "The age in years of some agent." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "99" + }, { + "iri" : "http://xmlns.com/foaf/0.1/homepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "homepage", + "undefined" : "homepage" + }, + "superproperty" : [ "15", "38" ], + "domain" : "39", + "comment" : { + "undefined" : "A homepage for some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "43" + }, { + "iri" : "http://xmlns.com/foaf/0.1/tipjar", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "tipjar", + "undefined" : "tipjar" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A tipjar document for this agent, describing means for payment and reward." + }, + "attributes" : [ "object" ], + "id" : "42" + }, { + "iri" : "http://xmlns.com/foaf/0.1/msnChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "61", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "msnChatID", + "undefined" : "MSN chat ID" + }, + "domain" : "5", + "comment" : { + "undefined" : "An MSN chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "103" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic_interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic_interest", + "undefined" : "topic_interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A thing of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "104" + }, { + "iri" : "http://xmlns.com/foaf/0.1/aimChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "106", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "aimChatID", + "undefined" : "AIM chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An AIM chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "105" + }, { + "iri" : "http://xmlns.com/foaf/0.1/currentProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "currentProject", + "undefined" : "current project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A current project this person works on." + }, + "attributes" : [ "object" ], + "id" : "107" + }, { + "iri" : "http://xmlns.com/foaf/0.1/skypeID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "20", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "skypeID", + "undefined" : "Skype ID" + }, + "domain" : "1", + "comment" : { + "undefined" : "A Skype ID" + }, + "attributes" : [ "datatype" ], + "id" : "108" + }, { + "iri" : "http://xmlns.com/foaf/0.1/holdsAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "holdsAccount", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "109" + }, { + "iri" : "http://xmlns.com/foaf/0.1/thumbnail", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "thumbnail", + "undefined" : "thumbnail" + }, + "domain" : "32", + "comment" : { + "undefined" : "A derived thumbnail image." + }, + "attributes" : [ "object" ], + "id" : "110" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic", + "undefined" : "topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "A topic of some page or document." + }, + "attributes" : [ "object" ], + "id" : "40" + }, { + "iri" : "http://xmlns.com/foaf/0.1/weblog", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "weblog", + "undefined" : "weblog" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A weblog of some thing (whether person, group, company etc.)." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "41" + }, { + "iri" : "http://xmlns.com/foaf/0.1/img", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "img", + "undefined" : "image" + }, + "superproperty" : [ "34" ], + "domain" : "12", + "comment" : { + "undefined" : "An image that can be used to represent some thing (ie. those depictions which are particularly representative of something, eg. one's photo on a homepage)." + }, + "attributes" : [ "object" ], + "id" : "84" + }, { + "iri" : "http://xmlns.com/foaf/0.1/birthday", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "56", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "birthday", + "undefined" : "birthday" + }, + "domain" : "1", + "comment" : { + "undefined" : "The birthday of this Agent, represented in mm-dd string form, eg. '12-31'." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "111" + }, { + "iri" : "http://xmlns.com/foaf/0.1/sha1", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "101", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "sha1", + "undefined" : "sha1sum (hex)" + }, + "domain" : "2", + "comment" : { + "undefined" : "A sha1sum hash, in hex." + }, + "attributes" : [ "datatype" ], + "id" : "112" + }, { + "iri" : "http://xmlns.com/foaf/0.1/firstName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "24", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "firstName", + "undefined" : "firstName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The first name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "113" + }, { + "iri" : "http://xmlns.com/foaf/0.1/made", + "inverse" : "115", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "made", + "undefined" : "made" + }, + "domain" : "1", + "comment" : { + "undefined" : "Something that was made by this agent." + }, + "attributes" : [ "object" ], + "id" : "114" + }, { + "range" : "60", + "domain" : "2", + "attributes" : [ "anonymous", "object" ], + "id" : "116" + }, { + "range" : "12", + "domain" : "60", + "attributes" : [ "anonymous", "object" ], + "id" : "117" + }, { + "iri" : "http://xmlns.com/foaf/0.1/familyName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "62", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "familyName", + "undefined" : "familyName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "119" + }, { + "range" : "2", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "120" + }, { + "range" : "12", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "121" + }, { + "iri" : "http://xmlns.com/foaf/0.1/member", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "member", + "undefined" : "member" + }, + "domain" : "10", + "comment" : { + "undefined" : "Indicates a member of a Group" + }, + "attributes" : [ "object" ], + "id" : "122" + }, { + "iri" : "http://xmlns.com/foaf/0.1/plan", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "27", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "plan", + "undefined" : "plan" + }, + "domain" : "12", + "comment" : { + "undefined" : "A .plan comment, in the tradition of finger and '.plan' files." + }, + "attributes" : [ "datatype" ], + "id" : "123" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox", + "undefined" : "personal mailbox" + }, + "domain" : "1", + "comment" : { + "undefined" : "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox. This is a 'static inverse functional property', in that there is (across time and change) at most one individual that ever has any particular value for foaf:mbox." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "124" + }, { + "iri" : "http://xmlns.com/foaf/0.1/surname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "118", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "surname", + "undefined" : "Surname" + }, + "domain" : "12", + "comment" : { + "undefined" : "The surname of some person." + }, + "attributes" : [ "datatype" ], + "id" : "125" + }, { + "iri" : "http://xmlns.com/foaf/0.1/myersBriggs", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "22", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "myersBriggs", + "undefined" : "myersBriggs" + }, + "domain" : "12", + "comment" : { + "undefined" : "A Myers Briggs (MBTI) personality classification." + }, + "attributes" : [ "datatype" ], + "id" : "127" + }, { + "iri" : "http://xmlns.com/foaf/0.1/maker", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "maker", + "undefined" : "maker" + }, + "domain" : "18", + "comment" : { + "undefined" : "An agent that made this thing." + }, + "attributes" : [ "object" ], + "id" : "115" + }, { + "iri" : "http://xmlns.com/foaf/0.1/publications", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "publications", + "undefined" : "publications" + }, + "domain" : "12", + "comment" : { + "undefined" : "A link to the publications of this person." + }, + "attributes" : [ "object" ], + "id" : "128" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workplaceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workplaceHomepage", + "undefined" : "workplace homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A workplace homepage of some person; the homepage of an organization they work for." + }, + "attributes" : [ "object" ], + "id" : "129" + } ] +} \ No newline at end of file diff --git a/dist/vocabulary/implementation/webvowl/data/ontology.json b/dist/vocabulary/implementation/webvowl/data/ontology.json new file mode 100644 index 0000000..c833e6c --- /dev/null +++ b/dist/vocabulary/implementation/webvowl/data/ontology.json @@ -0,0 +1,683 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.5), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "en", "undefined" ], + "baseIris" : [ "http://www.w3.org/1999/02/22-rdf-syntax-ns", "http://purl.org/vocommons/voaf", "http://www.w3.org/2000/01/rdf-schema", "https://w3id.org/function/vocabulary/implementation", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "https://w3id.org/function/ontology" ], + "title" : { + "en" : "The Function Ontology - Implementation vocabulary" + }, + "iri" : "https://w3id.org/function/vocabulary/implementation", + "version" : "0.1.1", + "author" : [ "https://ben.de-meester.org/#me" ], + "description" : { + "en" : "The Function Ontology Implementation vocabulary specifies terms relevant to structure fno:Implementations. The specification is online at https://w3id.org/function/spec" + }, + "labels" : { + "en" : "The Function Ontology - Implementation vocabulary" + }, + "comments" : { + "en" : "- Version 0.1.1: updated metadata\r\n- Version 0.1.0: creation." + }, + "other" : { + "priorVersion" : [ { + "identifier" : "priorVersion", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation/0.1.0", + "type" : "iri" + } ], + "creator" : [ { + "identifier" : "creator", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + } ], + "created" : [ { + "identifier" : "created", + "language" : "undefined", + "value" : "2019-05-21", + "type" : "label" + } ], + "versionInfo" : [ { + "identifier" : "versionInfo", + "language" : "undefined", + "value" : "0.1.1", + "type" : "label" + } ], + "source" : [ { + "identifier" : "source", + "language" : "undefined", + "value" : "https://w3id.org/function/spec", + "type" : "iri" + } ], + "title" : [ { + "identifier" : "title", + "language" : "en", + "value" : "The Function Ontology - Implementation vocabulary", + "type" : "label" + } ], + "backwardCompatibleWith" : [ { + "identifier" : "backwardCompatibleWith", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation/0.1.0", + "type" : "iri" + } ], + "seeAlso" : [ { + "identifier" : "seeAlso", + "language" : "undefined", + "value" : "https://w3id.org/function/spec", + "type" : "iri" + } ], + "license" : [ { + "identifier" : "license", + "language" : "undefined", + "value" : "http://creativecommons.org/license/by/3.0/", + "type" : "iri" + } ], + "primaryTopic" : [ { + "identifier" : "primaryTopic", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "preferredNamespacePrefix" : [ { + "identifier" : "preferredNamespacePrefix", + "language" : "undefined", + "value" : "fnoi", + "type" : "label" + } ], + "rights" : [ { + "identifier" : "rights", + "language" : "en", + "value" : "Copyright Ghent University imec IDLab", + "type" : "label" + } ], + "publisher" : [ { + "identifier" : "publisher", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + } ], + "modified" : [ { + "identifier" : "modified", + "language" : "undefined", + "value" : "2020-12-23", + "type" : "label" + } ], + "logo" : [ { + "identifier" : "logo", + "language" : "undefined", + "value" : "https://w3id.org/function/img/fno_favicon.png", + "type" : "iri" + } ], + "preferredNamespaceUri" : [ { + "identifier" : "preferredNamespaceUri", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation#", + "type" : "label" + } ], + "bibliographicCitation" : [ { + "identifier" : "bibliographicCitation", + "language" : "undefined", + "value" : "De Meester, B.; Seymoens, T.; Dimou, A. & Verborgh, R. Implementation-independent Function Reuse. Future Generation Computer Systems, Elsevier BV, 2020, 110, 946-959 ", + "type" : "label" + } ], + "issued" : [ { + "identifier" : "issued", + "language" : "undefined", + "value" : "2019-05-21", + "type" : "label" + } ], + "status" : [ { + "identifier" : "status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ], + "doi" : [ { + "identifier" : "doi", + "language" : "undefined", + "value" : "10.5281/zenodo.595382", + "type" : "label" + } ], + "depiction" : [ { + "identifier" : "depiction", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/resources/images/fno-full.png", + "type" : "iri" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "9", + "type" : "owl:Class" + }, { + "id" : "10", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:Class" + }, { + "id" : "4", + "type" : "owl:Class" + }, { + "id" : "17", + "type" : "rdfs:Datatype" + }, { + "id" : "14", + "type" : "owl:Class" + }, { + "id" : "19", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:Class" + }, { + "id" : "8", + "type" : "owl:Class" + }, { + "id" : "22", + "type" : "owl:Class" + }, { + "id" : "6", + "type" : "owl:Class" + }, { + "id" : "20", + "type" : "owl:Class" + }, { + "id" : "24", + "type" : "owl:Class" + }, { + "id" : "25", + "type" : "owl:Class" + }, { + "id" : "16", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "https://w3id.org/function/vocabulary/implementation#OpenRefineImplementation", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OpenRefineImplementation", + "en" : "Openrefine Function" + }, + "comment" : { + "en" : "A fno:Implementation, as used in OpenRefine" + }, + "id" : "9", + "superClasses" : [ "4" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#SPARQLImplementation", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "SPARQLImplementation", + "en" : "SPARQL Function" + }, + "comment" : { + "en" : "A fno:Implementation, as used in a SPARQL query" + }, + "id" : "10", + "superClasses" : [ "4" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#NpmPackage", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "NpmPackage", + "en" : "NPM Package" + }, + "comment" : { + "en" : "A fno:Implementation, distributed as an NPM package" + }, + "id" : "1", + "superClasses" : [ "2" ] + }, { + "iri" : "https://w3id.org/function/ontology#Implementation", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "Implementation" + }, + "subClasses" : [ "2", "6", "8", "9", "10", "14", "16" ], + "attributes" : [ "external" ], + "id" : "4" + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#string", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "17", + "label" : { + "IRI-based" : "string" + } + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#JavaImplementation", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "JavaImplementation", + "en" : "JAVA implementation" + }, + "subClasses" : [ "20" ], + "comment" : { + "en" : "A fno:Implementation, coded in JAVA" + }, + "id" : "14", + "superClasses" : [ "4" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#JavaScriptFunction", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "JavaScriptFunction", + "en" : "JavaScript function" + }, + "comment" : { + "en" : "A fno:Implementation, distributed as a JavaScript snippet" + }, + "id" : "19", + "superClasses" : [ "2" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#JavaScriptImplementation", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "JavaScriptImplementation", + "en" : "JavaScript Function" + }, + "subClasses" : [ "19", "1" ], + "comment" : { + "en" : "A fno:Implementation, coded in JavaScript" + }, + "id" : "2", + "superClasses" : [ "4" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#XPATHImplementation", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "XPATHImplementation", + "en" : "XPath Function" + }, + "comment" : { + "en" : "A fno:Implementation, as used in an XPath expression" + }, + "id" : "8", + "superClasses" : [ "4" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#JsonApi", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "JsonApi", + "en" : "JSON API" + }, + "comment" : { + "en" : "A fno:Implementation, distributed as a JSON (Hydra) API" + }, + "id" : "22", + "superClasses" : [ "6" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#WebApi", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "WebApi", + "en" : "Web API" + }, + "subClasses" : [ "22" ], + "comment" : { + "en" : "A fno:Implementation, distributed as a Web API" + }, + "id" : "6", + "superClasses" : [ "4" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#JavaClass", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "JavaClass", + "en" : "JAVA class" + }, + "comment" : { + "en" : "A fno:Implementation, distributed as a JAVA class snippet file" + }, + "id" : "20", + "superClasses" : [ "14" ] + }, { + "iri" : "http://purl.org/vocommons/voaf#Vocabulary", + "baseIri" : "http://purl.org/vocommons/voaf", + "instances" : 0, + "label" : { + "IRI-based" : "Vocabulary" + }, + "individuals" : [ { + "iri" : "https://w3id.org/function/vocabulary/implementation", + "baseIri" : "https://w3id.org/function/vocabulary", + "labels" : { + "IRI-based" : "implementation" + } + } ], + "attributes" : [ "external" ], + "id" : "24" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "individuals" : [ { + "iri" : "https://ben.de-meester.org/#me", + "baseIri" : "https://ben.de-meester.org/", + "annotations" : { + "name" : [ { + "identifier" : "name", + "language" : "en", + "value" : "Ben De Meester", + "type" : "label" + } ], + "mbox" : [ { + "identifier" : "mbox", + "language" : "undefined", + "value" : "mailto:Ben.DeMeester@UGent.be", + "type" : "label" + } ] + }, + "labels" : { + "IRI-based" : "me", + "en" : "Ben De Meester" + } + } ], + "attributes" : [ "external" ], + "id" : "25" + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#SQLImplementation", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "SQLImplementation", + "en" : "SQL Function" + }, + "comment" : { + "en" : "A fno:Implementation, as used in a SQL query" + }, + "id" : "16", + "superClasses" : [ "4" ] + } ], + "property" : [ { + "id" : "0", + "type" : "rdfs:SubClassOf" + }, { + "id" : "3", + "type" : "rdfs:SubClassOf" + }, { + "id" : "5", + "type" : "rdfs:SubClassOf" + }, { + "id" : "7", + "type" : "rdfs:SubClassOf" + }, { + "id" : "11", + "type" : "rdfs:SubClassOf" + }, { + "id" : "12", + "type" : "rdfs:SubClassOf" + }, { + "id" : "13", + "type" : "rdfs:SubClassOf" + }, { + "id" : "15", + "type" : "rdfs:SubClassOf" + }, { + "id" : "18", + "type" : "rdfs:SubClassOf" + }, { + "id" : "21", + "type" : "owl:datatypeProperty" + }, { + "id" : "23", + "type" : "rdfs:SubClassOf" + }, { + "id" : "26", + "type" : "rdfs:SubClassOf" + } ], + "propertyAttribute" : [ { + "range" : "2", + "domain" : "1", + "attributes" : [ "object", "anonymous" ], + "id" : "0" + }, { + "range" : "4", + "domain" : "2", + "attributes" : [ "object", "anonymous" ], + "id" : "3" + }, { + "range" : "4", + "domain" : "6", + "attributes" : [ "object", "anonymous" ], + "id" : "5" + }, { + "range" : "4", + "domain" : "8", + "attributes" : [ "object", "anonymous" ], + "id" : "7" + }, { + "range" : "4", + "domain" : "9", + "attributes" : [ "object", "anonymous" ], + "id" : "11" + }, { + "range" : "4", + "domain" : "10", + "attributes" : [ "object", "anonymous" ], + "id" : "12" + }, { + "range" : "4", + "domain" : "14", + "attributes" : [ "object", "anonymous" ], + "id" : "13" + }, { + "range" : "4", + "domain" : "16", + "attributes" : [ "object", "anonymous" ], + "id" : "15" + }, { + "range" : "2", + "domain" : "19", + "attributes" : [ "object", "anonymous" ], + "id" : "18" + }, { + "iri" : "https://w3id.org/function/vocabulary/implementation#class-name", + "baseIri" : "https://w3id.org/function/vocabulary/implementation", + "range" : "17", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/implementation", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "class-name", + "en" : "class name" + }, + "domain" : "4", + "comment" : { + "en" : "Connects a class name to an implemenation description." + }, + "attributes" : [ "datatype" ], + "id" : "21" + }, { + "range" : "6", + "domain" : "22", + "attributes" : [ "object", "anonymous" ], + "id" : "23" + }, { + "range" : "14", + "domain" : "20", + "attributes" : [ "object", "anonymous" ], + "id" : "26" + } ] +} \ No newline at end of file diff --git a/dist/vocabulary/implementation/webvowl/favicon.ico b/dist/vocabulary/implementation/webvowl/favicon.ico new file mode 100644 index 0000000..a857d51 Binary files /dev/null and b/dist/vocabulary/implementation/webvowl/favicon.ico differ diff --git a/dist/vocabulary/implementation/webvowl/index.html b/dist/vocabulary/implementation/webvowl/index.html new file mode 100644 index 0000000..09acde5 --- /dev/null +++ b/dist/vocabulary/implementation/webvowl/index.html @@ -0,0 +1,480 @@ + + + + + + + + + + + + + + + WebVOWL + + + +
    +
    + + + + + + +
    + + + + +
    +
    +
    + +
    +
    >
    + +
    + +
    + + +
    +
    +
    +

    +

    +

    +

    +

    -

    +
    +
    + + +
    +
    +
    +
    + + + +
    + + + + + + + \ No newline at end of file diff --git a/dist/vocabulary/implementation/webvowl/js/d3.min.js b/dist/vocabulary/implementation/webvowl/js/d3.min.js new file mode 100644 index 0000000..1664873 --- /dev/null +++ b/dist/vocabulary/implementation/webvowl/js/d3.min.js @@ -0,0 +1,5 @@ +!function(){function n(n){return n&&(n.ownerDocument||n.document||n).documentElement}function t(n){return n&&(n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView)}function e(n,t){return t>n?-1:n>t?1:n>=t?0:NaN}function r(n){return null===n?NaN:+n}function i(n){return!isNaN(n)}function u(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)<0?r=u+1:i=u}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)>0?i=u:r=u+1}return r}}}function o(n){return n.length}function a(n){for(var t=1;n*t%1;)t*=10;return t}function l(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function c(){this._=Object.create(null)}function f(n){return(n+="")===bo||n[0]===_o?_o+n:n}function s(n){return(n+="")[0]===_o?n.slice(1):n}function h(n){return f(n)in this._}function p(n){return(n=f(n))in this._&&delete this._[n]}function g(){var n=[];for(var t in this._)n.push(s(t));return n}function v(){var n=0;for(var t in this._)++n;return n}function d(){for(var n in this._)return!1;return!0}function y(){this._=Object.create(null)}function m(n){return n}function M(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function x(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e=0,r=wo.length;r>e;++e){var i=wo[e]+t;if(i in n)return i}}function b(){}function _(){}function w(n){function t(){for(var t,r=e,i=-1,u=r.length;++ie;e++)for(var i,u=n[e],o=0,a=u.length;a>o;o++)(i=u[o])&&t(i,o,e);return n}function Z(n){return ko(n,qo),n}function V(n){var t,e;return function(r,i,u){var o,a=n[u].update,l=a.length;for(u!=e&&(e=u,t=0),i>=t&&(t=i+1);!(o=a[t])&&++t0&&(n=n.slice(0,a));var c=To.get(n);return c&&(n=c,l=B),a?t?i:r:t?b:u}function $(n,t){return function(e){var r=ao.event;ao.event=e,t[0]=this.__data__;try{n.apply(this,t)}finally{ao.event=r}}}function B(n,t){var e=$(n,t);return function(n){var t=this,r=n.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||e.call(t,n)}}function W(e){var r=".dragsuppress-"+ ++Do,i="click"+r,u=ao.select(t(e)).on("touchmove"+r,S).on("dragstart"+r,S).on("selectstart"+r,S);if(null==Ro&&(Ro="onselectstart"in e?!1:x(e.style,"userSelect")),Ro){var o=n(e).style,a=o[Ro];o[Ro]="none"}return function(n){if(u.on(r,null),Ro&&(o[Ro]=a),n){var t=function(){u.on(i,null)};u.on(i,function(){S(),t()},!0),setTimeout(t,0)}}}function J(n,e){e.changedTouches&&(e=e.changedTouches[0]);var r=n.ownerSVGElement||n;if(r.createSVGPoint){var i=r.createSVGPoint();if(0>Po){var u=t(n);if(u.scrollX||u.scrollY){r=ao.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var o=r[0][0].getScreenCTM();Po=!(o.f||o.e),r.remove()}}return Po?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),i=i.matrixTransform(n.getScreenCTM().inverse()),[i.x,i.y]}var a=n.getBoundingClientRect();return[e.clientX-a.left-n.clientLeft,e.clientY-a.top-n.clientTop]}function G(){return ao.event.changedTouches[0].identifier}function K(n){return n>0?1:0>n?-1:0}function Q(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(t[1]-n[1])*(e[0]-n[0])}function nn(n){return n>1?0:-1>n?Fo:Math.acos(n)}function tn(n){return n>1?Io:-1>n?-Io:Math.asin(n)}function en(n){return((n=Math.exp(n))-1/n)/2}function rn(n){return((n=Math.exp(n))+1/n)/2}function un(n){return((n=Math.exp(2*n))-1)/(n+1)}function on(n){return(n=Math.sin(n/2))*n}function an(){}function ln(n,t,e){return this instanceof ln?(this.h=+n,this.s=+t,void(this.l=+e)):arguments.length<2?n instanceof ln?new ln(n.h,n.s,n.l):_n(""+n,wn,ln):new ln(n,t,e)}function cn(n,t,e){function r(n){return n>360?n-=360:0>n&&(n+=360),60>n?u+(o-u)*n/60:180>n?o:240>n?u+(o-u)*(240-n)/60:u}function i(n){return Math.round(255*r(n))}var u,o;return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:0>t?0:t>1?1:t,e=0>e?0:e>1?1:e,o=.5>=e?e*(1+t):e+t-e*t,u=2*e-o,new mn(i(n+120),i(n),i(n-120))}function fn(n,t,e){return this instanceof fn?(this.h=+n,this.c=+t,void(this.l=+e)):arguments.length<2?n instanceof fn?new fn(n.h,n.c,n.l):n instanceof hn?gn(n.l,n.a,n.b):gn((n=Sn((n=ao.rgb(n)).r,n.g,n.b)).l,n.a,n.b):new fn(n,t,e)}function sn(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new hn(e,Math.cos(n*=Yo)*t,Math.sin(n)*t)}function hn(n,t,e){return this instanceof hn?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof hn?new hn(n.l,n.a,n.b):n instanceof fn?sn(n.h,n.c,n.l):Sn((n=mn(n)).r,n.g,n.b):new hn(n,t,e)}function pn(n,t,e){var r=(n+16)/116,i=r+t/500,u=r-e/200;return i=vn(i)*na,r=vn(r)*ta,u=vn(u)*ea,new mn(yn(3.2404542*i-1.5371385*r-.4985314*u),yn(-.969266*i+1.8760108*r+.041556*u),yn(.0556434*i-.2040259*r+1.0572252*u))}function gn(n,t,e){return n>0?new fn(Math.atan2(e,t)*Zo,Math.sqrt(t*t+e*e),n):new fn(NaN,NaN,n)}function vn(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function dn(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function yn(n){return Math.round(255*(.00304>=n?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function mn(n,t,e){return this instanceof mn?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof mn?new mn(n.r,n.g,n.b):_n(""+n,mn,cn):new mn(n,t,e)}function Mn(n){return new mn(n>>16,n>>8&255,255&n)}function xn(n){return Mn(n)+""}function bn(n){return 16>n?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function _n(n,t,e){var r,i,u,o=0,a=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(Nn(i[0]),Nn(i[1]),Nn(i[2]))}return(u=ua.get(n))?t(u.r,u.g,u.b):(null==n||"#"!==n.charAt(0)||isNaN(u=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&u)>>4,o=o>>4|o,a=240&u,a=a>>4|a,l=15&u,l=l<<4|l):7===n.length&&(o=(16711680&u)>>16,a=(65280&u)>>8,l=255&u)),t(o,a,l))}function wn(n,t,e){var r,i,u=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-u,l=(o+u)/2;return a?(i=.5>l?a/(o+u):a/(2-o-u),r=n==o?(t-e)/a+(e>t?6:0):t==o?(e-n)/a+2:(n-t)/a+4,r*=60):(r=NaN,i=l>0&&1>l?0:r),new ln(r,i,l)}function Sn(n,t,e){n=kn(n),t=kn(t),e=kn(e);var r=dn((.4124564*n+.3575761*t+.1804375*e)/na),i=dn((.2126729*n+.7151522*t+.072175*e)/ta),u=dn((.0193339*n+.119192*t+.9503041*e)/ea);return hn(116*i-16,500*(r-i),200*(i-u))}function kn(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Nn(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}function En(n){return"function"==typeof n?n:function(){return n}}function An(n){return function(t,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=null),Cn(t,e,n,r)}}function Cn(n,t,e,r){function i(){var n,t=l.status;if(!t&&Ln(l)||t>=200&&300>t||304===t){try{n=e.call(u,l)}catch(r){return void o.error.call(u,r)}o.load.call(u,n)}else o.error.call(u,l)}var u={},o=ao.dispatch("beforesend","progress","load","error"),a={},l=new XMLHttpRequest,c=null;return!this.XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(n)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=i:l.onreadystatechange=function(){l.readyState>3&&i()},l.onprogress=function(n){var t=ao.event;ao.event=n;try{o.progress.call(u,l)}finally{ao.event=t}},u.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?a[n]:(null==t?delete a[n]:a[n]=t+"",u)},u.mimeType=function(n){return arguments.length?(t=null==n?null:n+"",u):t},u.responseType=function(n){return arguments.length?(c=n,u):c},u.response=function(n){return e=n,u},["get","post"].forEach(function(n){u[n]=function(){return u.send.apply(u,[n].concat(co(arguments)))}}),u.send=function(e,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),l.open(e,n,!0),null==t||"accept"in a||(a.accept=t+",*/*"),l.setRequestHeader)for(var f in a)l.setRequestHeader(f,a[f]);return null!=t&&l.overrideMimeType&&l.overrideMimeType(t),null!=c&&(l.responseType=c),null!=i&&u.on("error",i).on("load",function(n){i(null,n)}),o.beforesend.call(u,l),l.send(null==r?null:r),u},u.abort=function(){return l.abort(),u},ao.rebind(u,o,"on"),null==r?u:u.get(zn(r))}function zn(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}function Ln(n){var t=n.responseType;return t&&"text"!==t?n.response:n.responseText}function qn(n,t,e){var r=arguments.length;2>r&&(t=0),3>r&&(e=Date.now());var i=e+t,u={c:n,t:i,n:null};return aa?aa.n=u:oa=u,aa=u,la||(ca=clearTimeout(ca),la=1,fa(Tn)),u}function Tn(){var n=Rn(),t=Dn()-n;t>24?(isFinite(t)&&(clearTimeout(ca),ca=setTimeout(Tn,t)),la=0):(la=1,fa(Tn))}function Rn(){for(var n=Date.now(),t=oa;t;)n>=t.t&&t.c(n-t.t)&&(t.c=null),t=t.n;return n}function Dn(){for(var n,t=oa,e=1/0;t;)t.c?(t.t8?function(n){return n/e}:function(n){return n*e},symbol:n}}function jn(n){var t=n.decimal,e=n.thousands,r=n.grouping,i=n.currency,u=r&&e?function(n,t){for(var i=n.length,u=[],o=0,a=r[0],l=0;i>0&&a>0&&(l+a+1>t&&(a=Math.max(1,t-l)),u.push(n.substring(i-=a,i+a)),!((l+=a+1)>t));)a=r[o=(o+1)%r.length];return u.reverse().join(e)}:m;return function(n){var e=ha.exec(n),r=e[1]||" ",o=e[2]||">",a=e[3]||"-",l=e[4]||"",c=e[5],f=+e[6],s=e[7],h=e[8],p=e[9],g=1,v="",d="",y=!1,m=!0;switch(h&&(h=+h.substring(1)),(c||"0"===r&&"="===o)&&(c=r="0",o="="),p){case"n":s=!0,p="g";break;case"%":g=100,d="%",p="f";break;case"p":g=100,d="%",p="r";break;case"b":case"o":case"x":case"X":"#"===l&&(v="0"+p.toLowerCase());case"c":m=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===l&&(v=i[0],d=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=pa.get(p)||Fn;var M=c&&s;return function(n){var e=d;if(y&&n%1)return"";var i=0>n||0===n&&0>1/n?(n=-n,"-"):"-"===a?"":a;if(0>g){var l=ao.formatPrefix(n,h);n=l.scale(n),e=l.symbol+d}else n*=g;n=p(n,h);var x,b,_=n.lastIndexOf(".");if(0>_){var w=m?n.lastIndexOf("e"):-1;0>w?(x=n,b=""):(x=n.substring(0,w),b=n.substring(w))}else x=n.substring(0,_),b=t+n.substring(_+1);!c&&s&&(x=u(x,1/0));var S=v.length+x.length+b.length+(M?0:i.length),k=f>S?new Array(S=f-S+1).join(r):"";return M&&(x=u(k+x,k.length?f-b.length:1/0)),i+=v,n=x+b,("<"===o?i+n+k:">"===o?k+i+n:"^"===o?k.substring(0,S>>=1)+i+n+k.substring(S):i+(M?n:k+n))+e}}}function Fn(n){return n+""}function Hn(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function On(n,t,e){function r(t){var e=n(t),r=u(e,1);return r-t>t-e?e:r}function i(e){return t(e=n(new va(e-1)),1),e}function u(n,e){return t(n=new va(+n),e),n}function o(n,r,u){var o=i(n),a=[];if(u>1)for(;r>o;)e(o)%u||a.push(new Date(+o)),t(o,1);else for(;r>o;)a.push(new Date(+o)),t(o,1);return a}function a(n,t,e){try{va=Hn;var r=new Hn;return r._=n,o(r,t,e)}finally{va=Date}}n.floor=n,n.round=r,n.ceil=i,n.offset=u,n.range=o;var l=n.utc=In(n);return l.floor=l,l.round=In(r),l.ceil=In(i),l.offset=In(u),l.range=a,n}function In(n){return function(t,e){try{va=Hn;var r=new Hn;return r._=t,n(r,e)._}finally{va=Date}}}function Yn(n){function t(n){function t(t){for(var e,i,u,o=[],a=-1,l=0;++aa;){if(r>=c)return-1;if(i=t.charCodeAt(a++),37===i){if(o=t.charAt(a++),u=C[o in ya?t.charAt(a++):o],!u||(r=u(n,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function r(n,t,e){_.lastIndex=0;var r=_.exec(t.slice(e));return r?(n.w=w.get(r[0].toLowerCase()),e+r[0].length):-1}function i(n,t,e){x.lastIndex=0;var r=x.exec(t.slice(e));return r?(n.w=b.get(r[0].toLowerCase()),e+r[0].length):-1}function u(n,t,e){N.lastIndex=0;var r=N.exec(t.slice(e));return r?(n.m=E.get(r[0].toLowerCase()),e+r[0].length):-1}function o(n,t,e){S.lastIndex=0;var r=S.exec(t.slice(e));return r?(n.m=k.get(r[0].toLowerCase()),e+r[0].length):-1}function a(n,t,r){return e(n,A.c.toString(),t,r)}function l(n,t,r){return e(n,A.x.toString(),t,r)}function c(n,t,r){return e(n,A.X.toString(),t,r)}function f(n,t,e){var r=M.get(t.slice(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)}var s=n.dateTime,h=n.date,p=n.time,g=n.periods,v=n.days,d=n.shortDays,y=n.months,m=n.shortMonths;t.utc=function(n){function e(n){try{va=Hn;var t=new va;return t._=n,r(t)}finally{va=Date}}var r=t(n);return e.parse=function(n){try{va=Hn;var t=r.parse(n);return t&&t._}finally{va=Date}},e.toString=r.toString,e},t.multi=t.utc.multi=ct;var M=ao.map(),x=Vn(v),b=Xn(v),_=Vn(d),w=Xn(d),S=Vn(y),k=Xn(y),N=Vn(m),E=Xn(m);g.forEach(function(n,t){M.set(n.toLowerCase(),t)});var A={a:function(n){return d[n.getDay()]},A:function(n){return v[n.getDay()]},b:function(n){return m[n.getMonth()]},B:function(n){return y[n.getMonth()]},c:t(s),d:function(n,t){return Zn(n.getDate(),t,2)},e:function(n,t){return Zn(n.getDate(),t,2)},H:function(n,t){return Zn(n.getHours(),t,2)},I:function(n,t){return Zn(n.getHours()%12||12,t,2)},j:function(n,t){return Zn(1+ga.dayOfYear(n),t,3)},L:function(n,t){return Zn(n.getMilliseconds(),t,3)},m:function(n,t){return Zn(n.getMonth()+1,t,2)},M:function(n,t){return Zn(n.getMinutes(),t,2)},p:function(n){return g[+(n.getHours()>=12)]},S:function(n,t){return Zn(n.getSeconds(),t,2)},U:function(n,t){return Zn(ga.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return Zn(ga.mondayOfYear(n),t,2)},x:t(h),X:t(p),y:function(n,t){return Zn(n.getFullYear()%100,t,2)},Y:function(n,t){return Zn(n.getFullYear()%1e4,t,4)},Z:at,"%":function(){return"%"}},C={a:r,A:i,b:u,B:o,c:a,d:tt,e:tt,H:rt,I:rt,j:et,L:ot,m:nt,M:it,p:f,S:ut,U:Bn,w:$n,W:Wn,x:l,X:c,y:Gn,Y:Jn,Z:Kn,"%":lt};return t}function Zn(n,t,e){var r=0>n?"-":"",i=(r?-n:n)+"",u=i.length;return r+(e>u?new Array(e-u+1).join(t)+i:i)}function Vn(n){return new RegExp("^(?:"+n.map(ao.requote).join("|")+")","i")}function Xn(n){for(var t=new c,e=-1,r=n.length;++e68?1900:2e3)}function nt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function tt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function et(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function rt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function it(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function ut(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function ot(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function at(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=xo(t)/60|0,i=xo(t)%60;return e+Zn(r,"0",2)+Zn(i,"0",2)}function lt(n,t,e){Ma.lastIndex=0;var r=Ma.exec(t.slice(e,e+1));return r?e+r[0].length:-1}function ct(n){for(var t=n.length,e=-1;++e=0?1:-1,a=o*e,l=Math.cos(t),c=Math.sin(t),f=u*c,s=i*l+f*Math.cos(a),h=f*o*Math.sin(a);ka.add(Math.atan2(h,s)),r=n,i=l,u=c}var t,e,r,i,u;Na.point=function(o,a){Na.point=n,r=(t=o)*Yo,i=Math.cos(a=(e=a)*Yo/2+Fo/4),u=Math.sin(a)},Na.lineEnd=function(){n(t,e)}}function dt(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function yt(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function mt(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function Mt(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function xt(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function bt(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function _t(n){return[Math.atan2(n[1],n[0]),tn(n[2])]}function wt(n,t){return xo(n[0]-t[0])a;++a)i.point((e=n[a])[0],e[1]);return void i.lineEnd()}var l=new Tt(e,n,null,!0),c=new Tt(e,null,l,!1);l.o=c,u.push(l),o.push(c),l=new Tt(r,n,null,!1),c=new Tt(r,null,l,!0),l.o=c,u.push(l),o.push(c)}}),o.sort(t),qt(u),qt(o),u.length){for(var a=0,l=e,c=o.length;c>a;++a)o[a].e=l=!l;for(var f,s,h=u[0];;){for(var p=h,g=!0;p.v;)if((p=p.n)===h)return;f=p.z,i.lineStart();do{if(p.v=p.o.v=!0,p.e){if(g)for(var a=0,c=f.length;c>a;++a)i.point((s=f[a])[0],s[1]);else r(p.x,p.n.x,1,i);p=p.n}else{if(g){f=p.p.z;for(var a=f.length-1;a>=0;--a)i.point((s=f[a])[0],s[1])}else r(p.x,p.p.x,-1,i);p=p.p}p=p.o,f=p.z,g=!g}while(!p.v);i.lineEnd()}}}function qt(n){if(t=n.length){for(var t,e,r=0,i=n[0];++r0){for(b||(u.polygonStart(),b=!0),u.lineStart();++o1&&2&t&&e.push(e.pop().concat(e.shift())),p.push(e.filter(Dt))}var p,g,v,d=t(u),y=i.invert(r[0],r[1]),m={point:o,lineStart:l,lineEnd:c,polygonStart:function(){m.point=f,m.lineStart=s,m.lineEnd=h,p=[],g=[]},polygonEnd:function(){m.point=o,m.lineStart=l,m.lineEnd=c,p=ao.merge(p);var n=Ot(y,g);p.length?(b||(u.polygonStart(),b=!0),Lt(p,Ut,n,e,u)):n&&(b||(u.polygonStart(),b=!0),u.lineStart(),e(null,null,1,u),u.lineEnd()),b&&(u.polygonEnd(),b=!1),p=g=null},sphere:function(){u.polygonStart(),u.lineStart(),e(null,null,1,u),u.lineEnd(),u.polygonEnd()}},M=Pt(),x=t(M),b=!1;return m}}function Dt(n){return n.length>1}function Pt(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:b,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Ut(n,t){return((n=n.x)[0]<0?n[1]-Io-Uo:Io-n[1])-((t=t.x)[0]<0?t[1]-Io-Uo:Io-t[1])}function jt(n){var t,e=NaN,r=NaN,i=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(u,o){var a=u>0?Fo:-Fo,l=xo(u-e);xo(l-Fo)0?Io:-Io),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(a,r),n.point(u,r),t=0):i!==a&&l>=Fo&&(xo(e-i)Uo?Math.atan((Math.sin(t)*(u=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(t))*Math.sin(n))/(i*u*o)):(t+r)/2}function Ht(n,t,e,r){var i;if(null==n)i=e*Io,r.point(-Fo,i),r.point(0,i),r.point(Fo,i),r.point(Fo,0),r.point(Fo,-i),r.point(0,-i),r.point(-Fo,-i),r.point(-Fo,0),r.point(-Fo,i);else if(xo(n[0]-t[0])>Uo){var u=n[0]a;++a){var c=t[a],f=c.length;if(f)for(var s=c[0],h=s[0],p=s[1]/2+Fo/4,g=Math.sin(p),v=Math.cos(p),d=1;;){d===f&&(d=0),n=c[d];var y=n[0],m=n[1]/2+Fo/4,M=Math.sin(m),x=Math.cos(m),b=y-h,_=b>=0?1:-1,w=_*b,S=w>Fo,k=g*M;if(ka.add(Math.atan2(k*_*Math.sin(w),v*x+k*Math.cos(w))),u+=S?b+_*Ho:b,S^h>=e^y>=e){var N=mt(dt(s),dt(n));bt(N);var E=mt(i,N);bt(E);var A=(S^b>=0?-1:1)*tn(E[2]);(r>A||r===A&&(N[0]||N[1]))&&(o+=S^b>=0?1:-1)}if(!d++)break;h=y,g=M,v=x,s=n}}return(-Uo>u||Uo>u&&-Uo>ka)^1&o}function It(n){function t(n,t){return Math.cos(n)*Math.cos(t)>u}function e(n){var e,u,l,c,f;return{lineStart:function(){c=l=!1,f=1},point:function(s,h){var p,g=[s,h],v=t(s,h),d=o?v?0:i(s,h):v?i(s+(0>s?Fo:-Fo),h):0;if(!e&&(c=l=v)&&n.lineStart(),v!==l&&(p=r(e,g),(wt(e,p)||wt(g,p))&&(g[0]+=Uo,g[1]+=Uo,v=t(g[0],g[1]))),v!==l)f=0,v?(n.lineStart(),p=r(g,e),n.point(p[0],p[1])):(p=r(e,g),n.point(p[0],p[1]),n.lineEnd()),e=p;else if(a&&e&&o^v){var y;d&u||!(y=r(g,e,!0))||(f=0,o?(n.lineStart(),n.point(y[0][0],y[0][1]),n.point(y[1][0],y[1][1]),n.lineEnd()):(n.point(y[1][0],y[1][1]),n.lineEnd(),n.lineStart(),n.point(y[0][0],y[0][1])))}!v||e&&wt(e,g)||n.point(g[0],g[1]),e=g,l=v,u=d},lineEnd:function(){l&&n.lineEnd(),e=null},clean:function(){return f|(c&&l)<<1}}}function r(n,t,e){var r=dt(n),i=dt(t),o=[1,0,0],a=mt(r,i),l=yt(a,a),c=a[0],f=l-c*c;if(!f)return!e&&n;var s=u*l/f,h=-u*c/f,p=mt(o,a),g=xt(o,s),v=xt(a,h);Mt(g,v);var d=p,y=yt(g,d),m=yt(d,d),M=y*y-m*(yt(g,g)-1);if(!(0>M)){var x=Math.sqrt(M),b=xt(d,(-y-x)/m);if(Mt(b,g),b=_t(b),!e)return b;var _,w=n[0],S=t[0],k=n[1],N=t[1];w>S&&(_=w,w=S,S=_);var E=S-w,A=xo(E-Fo)E;if(!A&&k>N&&(_=k,k=N,N=_),C?A?k+N>0^b[1]<(xo(b[0]-w)Fo^(w<=b[0]&&b[0]<=S)){var z=xt(d,(-y+x)/m);return Mt(z,g),[b,_t(z)]}}}function i(t,e){var r=o?n:Fo-n,i=0;return-r>t?i|=1:t>r&&(i|=2),-r>e?i|=4:e>r&&(i|=8),i}var u=Math.cos(n),o=u>0,a=xo(u)>Uo,l=ve(n,6*Yo);return Rt(t,e,l,o?[0,-n]:[-Fo,n-Fo])}function Yt(n,t,e,r){return function(i){var u,o=i.a,a=i.b,l=o.x,c=o.y,f=a.x,s=a.y,h=0,p=1,g=f-l,v=s-c;if(u=n-l,g||!(u>0)){if(u/=g,0>g){if(h>u)return;p>u&&(p=u)}else if(g>0){if(u>p)return;u>h&&(h=u)}if(u=e-l,g||!(0>u)){if(u/=g,0>g){if(u>p)return;u>h&&(h=u)}else if(g>0){if(h>u)return;p>u&&(p=u)}if(u=t-c,v||!(u>0)){if(u/=v,0>v){if(h>u)return;p>u&&(p=u)}else if(v>0){if(u>p)return;u>h&&(h=u)}if(u=r-c,v||!(0>u)){if(u/=v,0>v){if(u>p)return;u>h&&(h=u)}else if(v>0){if(h>u)return;p>u&&(p=u)}return h>0&&(i.a={x:l+h*g,y:c+h*v}),1>p&&(i.b={x:l+p*g,y:c+p*v}),i}}}}}}function Zt(n,t,e,r){function i(r,i){return xo(r[0]-n)0?0:3:xo(r[0]-e)0?2:1:xo(r[1]-t)0?1:0:i>0?3:2}function u(n,t){return o(n.x,t.x)}function o(n,t){var e=i(n,1),r=i(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}return function(a){function l(n){for(var t=0,e=d.length,r=n[1],i=0;e>i;++i)for(var u,o=1,a=d[i],l=a.length,c=a[0];l>o;++o)u=a[o],c[1]<=r?u[1]>r&&Q(c,u,n)>0&&++t:u[1]<=r&&Q(c,u,n)<0&&--t,c=u;return 0!==t}function c(u,a,l,c){var f=0,s=0;if(null==u||(f=i(u,l))!==(s=i(a,l))||o(u,a)<0^l>0){do c.point(0===f||3===f?n:e,f>1?r:t);while((f=(f+l+4)%4)!==s)}else c.point(a[0],a[1])}function f(i,u){return i>=n&&e>=i&&u>=t&&r>=u}function s(n,t){f(n,t)&&a.point(n,t)}function h(){C.point=g,d&&d.push(y=[]),S=!0,w=!1,b=_=NaN}function p(){v&&(g(m,M),x&&w&&E.rejoin(),v.push(E.buffer())),C.point=s,w&&a.lineEnd()}function g(n,t){n=Math.max(-Ha,Math.min(Ha,n)),t=Math.max(-Ha,Math.min(Ha,t));var e=f(n,t);if(d&&y.push([n,t]),S)m=n,M=t,x=e,S=!1,e&&(a.lineStart(),a.point(n,t));else if(e&&w)a.point(n,t);else{var r={a:{x:b,y:_},b:{x:n,y:t}};A(r)?(w||(a.lineStart(),a.point(r.a.x,r.a.y)),a.point(r.b.x,r.b.y),e||a.lineEnd(),k=!1):e&&(a.lineStart(),a.point(n,t),k=!1)}b=n,_=t,w=e}var v,d,y,m,M,x,b,_,w,S,k,N=a,E=Pt(),A=Yt(n,t,e,r),C={point:s,lineStart:h,lineEnd:p,polygonStart:function(){a=E,v=[],d=[],k=!0},polygonEnd:function(){a=N,v=ao.merge(v);var t=l([n,r]),e=k&&t,i=v.length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),c(null,null,1,a),a.lineEnd()),i&&Lt(v,u,t,c,a),a.polygonEnd()),v=d=y=null}};return C}}function Vt(n){var t=0,e=Fo/3,r=ae(n),i=r(t,e);return i.parallels=function(n){return arguments.length?r(t=n[0]*Fo/180,e=n[1]*Fo/180):[t/Fo*180,e/Fo*180]},i}function Xt(n,t){function e(n,t){var e=Math.sqrt(u-2*i*Math.sin(t))/i;return[e*Math.sin(n*=i),o-e*Math.cos(n)]}var r=Math.sin(n),i=(r+Math.sin(t))/2,u=1+r*(2*i-r),o=Math.sqrt(u)/i;return e.invert=function(n,t){var e=o-t;return[Math.atan2(n,e)/i,tn((u-(n*n+e*e)*i*i)/(2*i))]},e}function $t(){function n(n,t){Ia+=i*n-r*t,r=n,i=t}var t,e,r,i;$a.point=function(u,o){$a.point=n,t=r=u,e=i=o},$a.lineEnd=function(){n(t,e)}}function Bt(n,t){Ya>n&&(Ya=n),n>Va&&(Va=n),Za>t&&(Za=t),t>Xa&&(Xa=t)}function Wt(){function n(n,t){o.push("M",n,",",t,u)}function t(n,t){o.push("M",n,",",t),a.point=e}function e(n,t){o.push("L",n,",",t)}function r(){a.point=n}function i(){o.push("Z")}var u=Jt(4.5),o=[],a={point:n,lineStart:function(){a.point=t},lineEnd:r,polygonStart:function(){a.lineEnd=i},polygonEnd:function(){a.lineEnd=r,a.point=n},pointRadius:function(n){return u=Jt(n),a},result:function(){if(o.length){var n=o.join("");return o=[],n}}};return a}function Jt(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function Gt(n,t){Ca+=n,za+=t,++La}function Kt(){function n(n,r){var i=n-t,u=r-e,o=Math.sqrt(i*i+u*u);qa+=o*(t+n)/2,Ta+=o*(e+r)/2,Ra+=o,Gt(t=n,e=r)}var t,e;Wa.point=function(r,i){Wa.point=n,Gt(t=r,e=i)}}function Qt(){Wa.point=Gt}function ne(){function n(n,t){var e=n-r,u=t-i,o=Math.sqrt(e*e+u*u);qa+=o*(r+n)/2,Ta+=o*(i+t)/2,Ra+=o,o=i*n-r*t,Da+=o*(r+n),Pa+=o*(i+t),Ua+=3*o,Gt(r=n,i=t)}var t,e,r,i;Wa.point=function(u,o){Wa.point=n,Gt(t=r=u,e=i=o)},Wa.lineEnd=function(){n(t,e)}}function te(n){function t(t,e){n.moveTo(t+o,e),n.arc(t,e,o,0,Ho)}function e(t,e){n.moveTo(t,e),a.point=r}function r(t,e){n.lineTo(t,e)}function i(){a.point=t}function u(){n.closePath()}var o=4.5,a={point:t,lineStart:function(){a.point=e},lineEnd:i,polygonStart:function(){a.lineEnd=u},polygonEnd:function(){a.lineEnd=i,a.point=t},pointRadius:function(n){return o=n,a},result:b};return a}function ee(n){function t(n){return(a?r:e)(n)}function e(t){return ue(t,function(e,r){e=n(e,r),t.point(e[0],e[1])})}function r(t){function e(e,r){e=n(e,r),t.point(e[0],e[1])}function r(){M=NaN,S.point=u,t.lineStart()}function u(e,r){var u=dt([e,r]),o=n(e,r);i(M,x,m,b,_,w,M=o[0],x=o[1],m=e,b=u[0],_=u[1],w=u[2],a,t),t.point(M,x)}function o(){S.point=e,t.lineEnd()}function l(){ +r(),S.point=c,S.lineEnd=f}function c(n,t){u(s=n,h=t),p=M,g=x,v=b,d=_,y=w,S.point=u}function f(){i(M,x,m,b,_,w,p,g,s,v,d,y,a,t),S.lineEnd=o,o()}var s,h,p,g,v,d,y,m,M,x,b,_,w,S={point:e,lineStart:r,lineEnd:o,polygonStart:function(){t.polygonStart(),S.lineStart=l},polygonEnd:function(){t.polygonEnd(),S.lineStart=r}};return S}function i(t,e,r,a,l,c,f,s,h,p,g,v,d,y){var m=f-t,M=s-e,x=m*m+M*M;if(x>4*u&&d--){var b=a+p,_=l+g,w=c+v,S=Math.sqrt(b*b+_*_+w*w),k=Math.asin(w/=S),N=xo(xo(w)-1)u||xo((m*z+M*L)/x-.5)>.3||o>a*p+l*g+c*v)&&(i(t,e,r,a,l,c,A,C,N,b/=S,_/=S,w,d,y),y.point(A,C),i(A,C,N,b,_,w,f,s,h,p,g,v,d,y))}}var u=.5,o=Math.cos(30*Yo),a=16;return t.precision=function(n){return arguments.length?(a=(u=n*n)>0&&16,t):Math.sqrt(u)},t}function re(n){var t=ee(function(t,e){return n([t*Zo,e*Zo])});return function(n){return le(t(n))}}function ie(n){this.stream=n}function ue(n,t){return{point:t,sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}function oe(n){return ae(function(){return n})()}function ae(n){function t(n){return n=a(n[0]*Yo,n[1]*Yo),[n[0]*h+l,c-n[1]*h]}function e(n){return n=a.invert((n[0]-l)/h,(c-n[1])/h),n&&[n[0]*Zo,n[1]*Zo]}function r(){a=Ct(o=se(y,M,x),u);var n=u(v,d);return l=p-n[0]*h,c=g+n[1]*h,i()}function i(){return f&&(f.valid=!1,f=null),t}var u,o,a,l,c,f,s=ee(function(n,t){return n=u(n,t),[n[0]*h+l,c-n[1]*h]}),h=150,p=480,g=250,v=0,d=0,y=0,M=0,x=0,b=Fa,_=m,w=null,S=null;return t.stream=function(n){return f&&(f.valid=!1),f=le(b(o,s(_(n)))),f.valid=!0,f},t.clipAngle=function(n){return arguments.length?(b=null==n?(w=n,Fa):It((w=+n)*Yo),i()):w},t.clipExtent=function(n){return arguments.length?(S=n,_=n?Zt(n[0][0],n[0][1],n[1][0],n[1][1]):m,i()):S},t.scale=function(n){return arguments.length?(h=+n,r()):h},t.translate=function(n){return arguments.length?(p=+n[0],g=+n[1],r()):[p,g]},t.center=function(n){return arguments.length?(v=n[0]%360*Yo,d=n[1]%360*Yo,r()):[v*Zo,d*Zo]},t.rotate=function(n){return arguments.length?(y=n[0]%360*Yo,M=n[1]%360*Yo,x=n.length>2?n[2]%360*Yo:0,r()):[y*Zo,M*Zo,x*Zo]},ao.rebind(t,s,"precision"),function(){return u=n.apply(this,arguments),t.invert=u.invert&&e,r()}}function le(n){return ue(n,function(t,e){n.point(t*Yo,e*Yo)})}function ce(n,t){return[n,t]}function fe(n,t){return[n>Fo?n-Ho:-Fo>n?n+Ho:n,t]}function se(n,t,e){return n?t||e?Ct(pe(n),ge(t,e)):pe(n):t||e?ge(t,e):fe}function he(n){return function(t,e){return t+=n,[t>Fo?t-Ho:-Fo>t?t+Ho:t,e]}}function pe(n){var t=he(n);return t.invert=he(-n),t}function ge(n,t){function e(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*r+a*i;return[Math.atan2(l*u-f*o,a*r-c*i),tn(f*u+l*o)]}var r=Math.cos(n),i=Math.sin(n),u=Math.cos(t),o=Math.sin(t);return e.invert=function(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*u-l*o;return[Math.atan2(l*u+c*o,a*r+f*i),tn(f*r-a*i)]},e}function ve(n,t){var e=Math.cos(n),r=Math.sin(n);return function(i,u,o,a){var l=o*t;null!=i?(i=de(e,i),u=de(e,u),(o>0?u>i:i>u)&&(i+=o*Ho)):(i=n+o*Ho,u=n-.5*l);for(var c,f=i;o>0?f>u:u>f;f-=l)a.point((c=_t([e,-r*Math.cos(f),-r*Math.sin(f)]))[0],c[1])}}function de(n,t){var e=dt(t);e[0]-=n,bt(e);var r=nn(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Uo)%(2*Math.PI)}function ye(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[n,t]})}}function me(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[t,n]})}}function Me(n){return n.source}function xe(n){return n.target}function be(n,t,e,r){var i=Math.cos(t),u=Math.sin(t),o=Math.cos(r),a=Math.sin(r),l=i*Math.cos(n),c=i*Math.sin(n),f=o*Math.cos(e),s=o*Math.sin(e),h=2*Math.asin(Math.sqrt(on(r-t)+i*o*on(e-n))),p=1/Math.sin(h),g=h?function(n){var t=Math.sin(n*=h)*p,e=Math.sin(h-n)*p,r=e*l+t*f,i=e*c+t*s,o=e*u+t*a;return[Math.atan2(i,r)*Zo,Math.atan2(o,Math.sqrt(r*r+i*i))*Zo]}:function(){return[n*Zo,t*Zo]};return g.distance=h,g}function _e(){function n(n,i){var u=Math.sin(i*=Yo),o=Math.cos(i),a=xo((n*=Yo)-t),l=Math.cos(a);Ja+=Math.atan2(Math.sqrt((a=o*Math.sin(a))*a+(a=r*u-e*o*l)*a),e*u+r*o*l),t=n,e=u,r=o}var t,e,r;Ga.point=function(i,u){t=i*Yo,e=Math.sin(u*=Yo),r=Math.cos(u),Ga.point=n},Ga.lineEnd=function(){Ga.point=Ga.lineEnd=b}}function we(n,t){function e(t,e){var r=Math.cos(t),i=Math.cos(e),u=n(r*i);return[u*i*Math.sin(t),u*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),i=t(r),u=Math.sin(i),o=Math.cos(i);return[Math.atan2(n*u,r*o),Math.asin(r&&e*u/r)]},e}function Se(n,t){function e(n,t){o>0?-Io+Uo>t&&(t=-Io+Uo):t>Io-Uo&&(t=Io-Uo);var e=o/Math.pow(i(t),u);return[e*Math.sin(u*n),o-e*Math.cos(u*n)]}var r=Math.cos(n),i=function(n){return Math.tan(Fo/4+n/2)},u=n===t?Math.sin(n):Math.log(r/Math.cos(t))/Math.log(i(t)/i(n)),o=r*Math.pow(i(n),u)/u;return u?(e.invert=function(n,t){var e=o-t,r=K(u)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/u,2*Math.atan(Math.pow(o/r,1/u))-Io]},e):Ne}function ke(n,t){function e(n,t){var e=u-t;return[e*Math.sin(i*n),u-e*Math.cos(i*n)]}var r=Math.cos(n),i=n===t?Math.sin(n):(r-Math.cos(t))/(t-n),u=r/i+n;return xo(i)i;i++){for(;r>1&&Q(n[e[r-2]],n[e[r-1]],n[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function qe(n,t){return n[0]-t[0]||n[1]-t[1]}function Te(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function Re(n,t,e,r){var i=n[0],u=e[0],o=t[0]-i,a=r[0]-u,l=n[1],c=e[1],f=t[1]-l,s=r[1]-c,h=(a*(l-c)-s*(i-u))/(s*o-a*f);return[i+h*o,l+h*f]}function De(n){var t=n[0],e=n[n.length-1];return!(t[0]-e[0]||t[1]-e[1])}function Pe(){rr(this),this.edge=this.site=this.circle=null}function Ue(n){var t=cl.pop()||new Pe;return t.site=n,t}function je(n){Be(n),ol.remove(n),cl.push(n),rr(n)}function Fe(n){var t=n.circle,e=t.x,r=t.cy,i={x:e,y:r},u=n.P,o=n.N,a=[n];je(n);for(var l=u;l.circle&&xo(e-l.circle.x)f;++f)c=a[f],l=a[f-1],nr(c.edge,l.site,c.site,i);l=a[0],c=a[s-1],c.edge=Ke(l.site,c.site,null,i),$e(l),$e(c)}function He(n){for(var t,e,r,i,u=n.x,o=n.y,a=ol._;a;)if(r=Oe(a,o)-u,r>Uo)a=a.L;else{if(i=u-Ie(a,o),!(i>Uo)){r>-Uo?(t=a.P,e=a):i>-Uo?(t=a,e=a.N):t=e=a;break}if(!a.R){t=a;break}a=a.R}var l=Ue(n);if(ol.insert(t,l),t||e){if(t===e)return Be(t),e=Ue(t.site),ol.insert(l,e),l.edge=e.edge=Ke(t.site,l.site),$e(t),void $e(e);if(!e)return void(l.edge=Ke(t.site,l.site));Be(t),Be(e);var c=t.site,f=c.x,s=c.y,h=n.x-f,p=n.y-s,g=e.site,v=g.x-f,d=g.y-s,y=2*(h*d-p*v),m=h*h+p*p,M=v*v+d*d,x={x:(d*m-p*M)/y+f,y:(h*M-v*m)/y+s};nr(e.edge,c,g,x),l.edge=Ke(c,n,null,x),e.edge=Ke(n,g,null,x),$e(t),$e(e)}}function Oe(n,t){var e=n.site,r=e.x,i=e.y,u=i-t;if(!u)return r;var o=n.P;if(!o)return-(1/0);e=o.site;var a=e.x,l=e.y,c=l-t;if(!c)return a;var f=a-r,s=1/u-1/c,h=f/c;return s?(-h+Math.sqrt(h*h-2*s*(f*f/(-2*c)-l+c/2+i-u/2)))/s+r:(r+a)/2}function Ie(n,t){var e=n.N;if(e)return Oe(e,t);var r=n.site;return r.y===t?r.x:1/0}function Ye(n){this.site=n,this.edges=[]}function Ze(n){for(var t,e,r,i,u,o,a,l,c,f,s=n[0][0],h=n[1][0],p=n[0][1],g=n[1][1],v=ul,d=v.length;d--;)if(u=v[d],u&&u.prepare())for(a=u.edges,l=a.length,o=0;l>o;)f=a[o].end(),r=f.x,i=f.y,c=a[++o%l].start(),t=c.x,e=c.y,(xo(r-t)>Uo||xo(i-e)>Uo)&&(a.splice(o,0,new tr(Qe(u.site,f,xo(r-s)Uo?{x:s,y:xo(t-s)Uo?{x:xo(e-g)Uo?{x:h,y:xo(t-h)Uo?{x:xo(e-p)=-jo)){var p=l*l+c*c,g=f*f+s*s,v=(s*p-c*g)/h,d=(l*g-f*p)/h,s=d+a,y=fl.pop()||new Xe;y.arc=n,y.site=i,y.x=v+o,y.y=s+Math.sqrt(v*v+d*d),y.cy=s,n.circle=y;for(var m=null,M=ll._;M;)if(y.yd||d>=a)return;if(h>g){if(u){if(u.y>=c)return}else u={x:d,y:l};e={x:d,y:c}}else{if(u){if(u.yr||r>1)if(h>g){if(u){if(u.y>=c)return}else u={x:(l-i)/r,y:l};e={x:(c-i)/r,y:c}}else{if(u){if(u.yp){if(u){if(u.x>=a)return}else u={x:o,y:r*o+i};e={x:a,y:r*a+i}}else{if(u){if(u.xu||s>o||r>h||i>p)){if(g=n.point){var g,v=t-n.x,d=e-n.y,y=v*v+d*d;if(l>y){var m=Math.sqrt(l=y);r=t-m,i=e-m,u=t+m,o=e+m,a=g}}for(var M=n.nodes,x=.5*(f+h),b=.5*(s+p),_=t>=x,w=e>=b,S=w<<1|_,k=S+4;k>S;++S)if(n=M[3&S])switch(3&S){case 0:c(n,f,s,x,b);break;case 1:c(n,x,s,h,b);break;case 2:c(n,f,b,x,p);break;case 3:c(n,x,b,h,p)}}}(n,r,i,u,o),a}function vr(n,t){n=ao.rgb(n),t=ao.rgb(t);var e=n.r,r=n.g,i=n.b,u=t.r-e,o=t.g-r,a=t.b-i;return function(n){return"#"+bn(Math.round(e+u*n))+bn(Math.round(r+o*n))+bn(Math.round(i+a*n))}}function dr(n,t){var e,r={},i={};for(e in n)e in t?r[e]=Mr(n[e],t[e]):i[e]=n[e];for(e in t)e in n||(i[e]=t[e]);return function(n){for(e in r)i[e]=r[e](n);return i}}function yr(n,t){return n=+n,t=+t,function(e){return n*(1-e)+t*e}}function mr(n,t){var e,r,i,u=hl.lastIndex=pl.lastIndex=0,o=-1,a=[],l=[];for(n+="",t+="";(e=hl.exec(n))&&(r=pl.exec(t));)(i=r.index)>u&&(i=t.slice(u,i),a[o]?a[o]+=i:a[++o]=i),(e=e[0])===(r=r[0])?a[o]?a[o]+=r:a[++o]=r:(a[++o]=null,l.push({i:o,x:yr(e,r)})),u=pl.lastIndex;return ur;++r)a[(e=l[r]).i]=e.x(n);return a.join("")})}function Mr(n,t){for(var e,r=ao.interpolators.length;--r>=0&&!(e=ao.interpolators[r](n,t)););return e}function xr(n,t){var e,r=[],i=[],u=n.length,o=t.length,a=Math.min(n.length,t.length);for(e=0;a>e;++e)r.push(Mr(n[e],t[e]));for(;u>e;++e)i[e]=n[e];for(;o>e;++e)i[e]=t[e];return function(n){for(e=0;a>e;++e)i[e]=r[e](n);return i}}function br(n){return function(t){return 0>=t?0:t>=1?1:n(t)}}function _r(n){return function(t){return 1-n(1-t)}}function wr(n){return function(t){return.5*(.5>t?n(2*t):2-n(2-2*t))}}function Sr(n){return n*n}function kr(n){return n*n*n}function Nr(n){if(0>=n)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(.5>n?e:3*(n-t)+e-.75)}function Er(n){return function(t){return Math.pow(t,n)}}function Ar(n){return 1-Math.cos(n*Io)}function Cr(n){return Math.pow(2,10*(n-1))}function zr(n){return 1-Math.sqrt(1-n*n)}function Lr(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/Ho*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,-10*r)*Math.sin((r-e)*Ho/t)}}function qr(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}}function Tr(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function Rr(n,t){n=ao.hcl(n),t=ao.hcl(t);var e=n.h,r=n.c,i=n.l,u=t.h-e,o=t.c-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.c:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return sn(e+u*n,r+o*n,i+a*n)+""}}function Dr(n,t){n=ao.hsl(n),t=ao.hsl(t);var e=n.h,r=n.s,i=n.l,u=t.h-e,o=t.s-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.s:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return cn(e+u*n,r+o*n,i+a*n)+""}}function Pr(n,t){n=ao.lab(n),t=ao.lab(t);var e=n.l,r=n.a,i=n.b,u=t.l-e,o=t.a-r,a=t.b-i;return function(n){return pn(e+u*n,r+o*n,i+a*n)+""}}function Ur(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function jr(n){var t=[n.a,n.b],e=[n.c,n.d],r=Hr(t),i=Fr(t,e),u=Hr(Or(e,t,-i))||0;t[0]*e[1]180?t+=360:t-n>180&&(n+=360),r.push({i:e.push(Ir(e)+"rotate(",null,")")-2,x:yr(n,t)})):t&&e.push(Ir(e)+"rotate("+t+")")}function Vr(n,t,e,r){n!==t?r.push({i:e.push(Ir(e)+"skewX(",null,")")-2,x:yr(n,t)}):t&&e.push(Ir(e)+"skewX("+t+")")}function Xr(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push(Ir(e)+"scale(",null,",",null,")");r.push({i:i-4,x:yr(n[0],t[0])},{i:i-2,x:yr(n[1],t[1])})}else 1===t[0]&&1===t[1]||e.push(Ir(e)+"scale("+t+")")}function $r(n,t){var e=[],r=[];return n=ao.transform(n),t=ao.transform(t),Yr(n.translate,t.translate,e,r),Zr(n.rotate,t.rotate,e,r),Vr(n.skew,t.skew,e,r),Xr(n.scale,t.scale,e,r),n=t=null,function(n){for(var t,i=-1,u=r.length;++i=0;)e.push(i[r])}function oi(n,t){for(var e=[n],r=[];null!=(n=e.pop());)if(r.push(n),(u=n.children)&&(i=u.length))for(var i,u,o=-1;++oe;++e)(t=n[e][1])>i&&(r=e,i=t);return r}function yi(n){return n.reduce(mi,0)}function mi(n,t){return n+t[1]}function Mi(n,t){return xi(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function xi(n,t){for(var e=-1,r=+n[0],i=(n[1]-r)/t,u=[];++e<=t;)u[e]=i*e+r;return u}function bi(n){return[ao.min(n),ao.max(n)]}function _i(n,t){return n.value-t.value}function wi(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function Si(n,t){n._pack_next=t,t._pack_prev=n}function ki(n,t){var e=t.x-n.x,r=t.y-n.y,i=n.r+t.r;return.999*i*i>e*e+r*r}function Ni(n){function t(n){f=Math.min(n.x-n.r,f),s=Math.max(n.x+n.r,s),h=Math.min(n.y-n.r,h),p=Math.max(n.y+n.r,p)}if((e=n.children)&&(c=e.length)){var e,r,i,u,o,a,l,c,f=1/0,s=-(1/0),h=1/0,p=-(1/0);if(e.forEach(Ei),r=e[0],r.x=-r.r,r.y=0,t(r),c>1&&(i=e[1],i.x=i.r,i.y=0,t(i),c>2))for(u=e[2],zi(r,i,u),t(u),wi(r,u),r._pack_prev=u,wi(u,i),i=r._pack_next,o=3;c>o;o++){zi(r,i,u=e[o]);var g=0,v=1,d=1;for(a=i._pack_next;a!==i;a=a._pack_next,v++)if(ki(a,u)){g=1;break}if(1==g)for(l=r._pack_prev;l!==a._pack_prev&&!ki(l,u);l=l._pack_prev,d++);g?(d>v||v==d&&i.ro;o++)u=e[o],u.x-=y,u.y-=m,M=Math.max(M,u.r+Math.sqrt(u.x*u.x+u.y*u.y));n.r=M,e.forEach(Ai)}}function Ei(n){n._pack_next=n._pack_prev=n}function Ai(n){delete n._pack_next,delete n._pack_prev}function Ci(n,t,e,r){var i=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,i)for(var u=-1,o=i.length;++u=0;)t=i[u],t.z+=e,t.m+=e,e+=t.s+(r+=t.c)}function Pi(n,t,e){return n.a.parent===t.parent?n.a:e}function Ui(n){return 1+ao.max(n,function(n){return n.y})}function ji(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}function Fi(n){var t=n.children;return t&&t.length?Fi(t[0]):n}function Hi(n){var t,e=n.children;return e&&(t=e.length)?Hi(e[t-1]):n}function Oi(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function Ii(n,t){var e=n.x+t[3],r=n.y+t[0],i=n.dx-t[1]-t[3],u=n.dy-t[0]-t[2];return 0>i&&(e+=i/2,i=0),0>u&&(r+=u/2,u=0),{x:e,y:r,dx:i,dy:u}}function Yi(n){var t=n[0],e=n[n.length-1];return e>t?[t,e]:[e,t]}function Zi(n){return n.rangeExtent?n.rangeExtent():Yi(n.range())}function Vi(n,t,e,r){var i=e(n[0],n[1]),u=r(t[0],t[1]);return function(n){return u(i(n))}}function Xi(n,t){var e,r=0,i=n.length-1,u=n[r],o=n[i];return u>o&&(e=r,r=i,i=e,e=u,u=o,o=e),n[r]=t.floor(u),n[i]=t.ceil(o),n}function $i(n){return n?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:Sl}function Bi(n,t,e,r){var i=[],u=[],o=0,a=Math.min(n.length,t.length)-1;for(n[a]2?Bi:Vi,l=r?Wr:Br;return o=i(n,t,l,e),a=i(t,n,l,Mr),u}function u(n){return o(n)}var o,a;return u.invert=function(n){return a(n)},u.domain=function(t){return arguments.length?(n=t.map(Number),i()):n},u.range=function(n){return arguments.length?(t=n,i()):t},u.rangeRound=function(n){return u.range(n).interpolate(Ur)},u.clamp=function(n){return arguments.length?(r=n,i()):r},u.interpolate=function(n){return arguments.length?(e=n,i()):e},u.ticks=function(t){return Qi(n,t)},u.tickFormat=function(t,e){return nu(n,t,e)},u.nice=function(t){return Gi(n,t),i()},u.copy=function(){return Wi(n,t,e,r)},i()}function Ji(n,t){return ao.rebind(n,t,"range","rangeRound","interpolate","clamp")}function Gi(n,t){return Xi(n,$i(Ki(n,t)[2])),Xi(n,$i(Ki(n,t)[2])),n}function Ki(n,t){null==t&&(t=10);var e=Yi(n),r=e[1]-e[0],i=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),u=t/r*i;return.15>=u?i*=10:.35>=u?i*=5:.75>=u&&(i*=2),e[0]=Math.ceil(e[0]/i)*i,e[1]=Math.floor(e[1]/i)*i+.5*i,e[2]=i,e}function Qi(n,t){return ao.range.apply(ao,Ki(n,t))}function nu(n,t,e){var r=Ki(n,t);if(e){var i=ha.exec(e);if(i.shift(),"s"===i[8]){var u=ao.formatPrefix(Math.max(xo(r[0]),xo(r[1])));return i[7]||(i[7]="."+tu(u.scale(r[2]))),i[8]="f",e=ao.format(i.join("")),function(n){return e(u.scale(n))+u.symbol}}i[7]||(i[7]="."+eu(i[8],r)),e=i.join("")}else e=",."+tu(r[2])+"f";return ao.format(e)}function tu(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}function eu(n,t){var e=tu(t[2]);return n in kl?Math.abs(e-tu(Math.max(xo(t[0]),xo(t[1]))))+ +("e"!==n):e-2*("%"===n)}function ru(n,t,e,r){function i(n){return(e?Math.log(0>n?0:n):-Math.log(n>0?0:-n))/Math.log(t)}function u(n){return e?Math.pow(t,n):-Math.pow(t,-n)}function o(t){return n(i(t))}return o.invert=function(t){return u(n.invert(t))},o.domain=function(t){return arguments.length?(e=t[0]>=0,n.domain((r=t.map(Number)).map(i)),o):r},o.base=function(e){return arguments.length?(t=+e,n.domain(r.map(i)),o):t},o.nice=function(){var t=Xi(r.map(i),e?Math:El);return n.domain(t),r=t.map(u),o},o.ticks=function(){var n=Yi(r),o=[],a=n[0],l=n[1],c=Math.floor(i(a)),f=Math.ceil(i(l)),s=t%1?2:t;if(isFinite(f-c)){if(e){for(;f>c;c++)for(var h=1;s>h;h++)o.push(u(c)*h);o.push(u(c))}else for(o.push(u(c));c++0;h--)o.push(u(c)*h);for(c=0;o[c]l;f--);o=o.slice(c,f)}return o},o.tickFormat=function(n,e){if(!arguments.length)return Nl;arguments.length<2?e=Nl:"function"!=typeof e&&(e=ao.format(e));var r=Math.max(1,t*n/o.ticks().length);return function(n){var o=n/u(Math.round(i(n)));return t-.5>o*t&&(o*=t),r>=o?e(n):""}},o.copy=function(){return ru(n.copy(),t,e,r)},Ji(o,n)}function iu(n,t,e){function r(t){return n(i(t))}var i=uu(t),u=uu(1/t);return r.invert=function(t){return u(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain((e=t.map(Number)).map(i)),r):e},r.ticks=function(n){return Qi(e,n)},r.tickFormat=function(n,t){return nu(e,n,t)},r.nice=function(n){return r.domain(Gi(e,n))},r.exponent=function(o){return arguments.length?(i=uu(t=o),u=uu(1/t),n.domain(e.map(i)),r):t},r.copy=function(){return iu(n.copy(),t,e)},Ji(r,n)}function uu(n){return function(t){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}}function ou(n,t){function e(e){return u[((i.get(e)||("range"===t.t?i.set(e,n.push(e)):NaN))-1)%u.length]}function r(t,e){return ao.range(n.length).map(function(n){return t+e*n})}var i,u,o;return e.domain=function(r){if(!arguments.length)return n;n=[],i=new c;for(var u,o=-1,a=r.length;++oe?[NaN,NaN]:[e>0?a[e-1]:n[0],et?NaN:t/u+n,[t,t+1/u]},r.copy=function(){return lu(n,t,e)},i()}function cu(n,t){function e(e){return e>=e?t[ao.bisect(n,e)]:void 0}return e.domain=function(t){return arguments.length?(n=t,e):n},e.range=function(n){return arguments.length?(t=n,e):t},e.invertExtent=function(e){return e=t.indexOf(e),[n[e-1],n[e]]},e.copy=function(){return cu(n,t)},e}function fu(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return Qi(n,t)},t.tickFormat=function(t,e){return nu(n,t,e)},t.copy=function(){return fu(n)},t}function su(){return 0}function hu(n){return n.innerRadius}function pu(n){return n.outerRadius}function gu(n){return n.startAngle}function vu(n){return n.endAngle}function du(n){return n&&n.padAngle}function yu(n,t,e,r){return(n-e)*t-(t-r)*n>0?0:1}function mu(n,t,e,r,i){var u=n[0]-t[0],o=n[1]-t[1],a=(i?r:-r)/Math.sqrt(u*u+o*o),l=a*o,c=-a*u,f=n[0]+l,s=n[1]+c,h=t[0]+l,p=t[1]+c,g=(f+h)/2,v=(s+p)/2,d=h-f,y=p-s,m=d*d+y*y,M=e-r,x=f*p-h*s,b=(0>y?-1:1)*Math.sqrt(Math.max(0,M*M*m-x*x)),_=(x*y-d*b)/m,w=(-x*d-y*b)/m,S=(x*y+d*b)/m,k=(-x*d+y*b)/m,N=_-g,E=w-v,A=S-g,C=k-v;return N*N+E*E>A*A+C*C&&(_=S,w=k),[[_-l,w-c],[_*e/M,w*e/M]]}function Mu(n){function t(t){function o(){c.push("M",u(n(f),a))}for(var l,c=[],f=[],s=-1,h=t.length,p=En(e),g=En(r);++s1?n.join("L"):n+"Z"}function bu(n){return n.join("L")+"Z"}function _u(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1&&i.push("H",r[0]),i.join("")}function wu(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1){a=t[1],u=n[l],l++,r+="C"+(i[0]+o[0])+","+(i[1]+o[1])+","+(u[0]-a[0])+","+(u[1]-a[1])+","+u[0]+","+u[1];for(var c=2;c9&&(i=3*t/Math.sqrt(i),o[a]=i*e,o[a+1]=i*r));for(a=-1;++a<=l;)i=(n[Math.min(l,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),u.push([i||0,o[a]*i||0]);return u}function Fu(n){return n.length<3?xu(n):n[0]+Au(n,ju(n))}function Hu(n){for(var t,e,r,i=-1,u=n.length;++i=t?o(n-t):void(f.c=o)}function o(e){var i=g.active,u=g[i];u&&(u.timer.c=null,u.timer.t=NaN,--g.count,delete g[i],u.event&&u.event.interrupt.call(n,n.__data__,u.index));for(var o in g)if(r>+o){var c=g[o];c.timer.c=null,c.timer.t=NaN,--g.count,delete g[o]}f.c=a,qn(function(){return f.c&&a(e||1)&&(f.c=null,f.t=NaN),1},0,l),g.active=r,v.event&&v.event.start.call(n,n.__data__,t),p=[],v.tween.forEach(function(e,r){(r=r.call(n,n.__data__,t))&&p.push(r)}),h=v.ease,s=v.duration}function a(i){for(var u=i/s,o=h(u),a=p.length;a>0;)p[--a].call(n,o);return u>=1?(v.event&&v.event.end.call(n,n.__data__,t),--g.count?delete g[r]:delete n[e],1):void 0}var l,f,s,h,p,g=n[e]||(n[e]={active:0,count:0}),v=g[r];v||(l=i.time,f=qn(u,0,l),v=g[r]={tween:new c,time:l,timer:f,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++g.count)}function no(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate("+(isFinite(r)?r:e(n))+",0)"})}function to(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate(0,"+(isFinite(r)?r:e(n))+")"})}function eo(n){return n.toISOString()}function ro(n,t,e){function r(t){return n(t)}function i(n,e){var r=n[1]-n[0],i=r/e,u=ao.bisect(Kl,i);return u==Kl.length?[t.year,Ki(n.map(function(n){return n/31536e6}),e)[2]]:u?t[i/Kl[u-1]1?{floor:function(t){for(;e(t=n.floor(t));)t=io(t-1);return t},ceil:function(t){for(;e(t=n.ceil(t));)t=io(+t+1);return t}}:n))},r.ticks=function(n,t){var e=Yi(r.domain()),u=null==n?i(e,10):"number"==typeof n?i(e,n):!n.range&&[{range:n},t];return u&&(n=u[0],t=u[1]),n.range(e[0],io(+e[1]+1),1>t?1:t)},r.tickFormat=function(){return e},r.copy=function(){return ro(n.copy(),t,e)},Ji(r,n)}function io(n){return new Date(n)}function uo(n){return JSON.parse(n.responseText)}function oo(n){var t=fo.createRange();return t.selectNode(fo.body),t.createContextualFragment(n.responseText)}var ao={version:"3.5.17"},lo=[].slice,co=function(n){return lo.call(n)},fo=this.document;if(fo)try{co(fo.documentElement.childNodes)[0].nodeType}catch(so){co=function(n){for(var t=n.length,e=new Array(t);t--;)e[t]=n[t];return e}}if(Date.now||(Date.now=function(){return+new Date}),fo)try{fo.createElement("DIV").style.setProperty("opacity",0,"")}catch(ho){var po=this.Element.prototype,go=po.setAttribute,vo=po.setAttributeNS,yo=this.CSSStyleDeclaration.prototype,mo=yo.setProperty;po.setAttribute=function(n,t){go.call(this,n,t+"")},po.setAttributeNS=function(n,t,e){vo.call(this,n,t,e+"")},yo.setProperty=function(n,t,e){mo.call(this,n,t+"",e)}}ao.ascending=e,ao.descending=function(n,t){return n>t?-1:t>n?1:t>=n?0:NaN},ao.min=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ir&&(e=r)}else{for(;++i=r){e=r;break}for(;++ir&&(e=r)}return e},ao.max=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ie&&(e=r)}else{for(;++i=r){e=r;break}for(;++ie&&(e=r)}return e},ao.extent=function(n,t){var e,r,i,u=-1,o=n.length;if(1===arguments.length){for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}else{for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}return[e,i]},ao.sum=function(n,t){var e,r=0,u=n.length,o=-1;if(1===arguments.length)for(;++o1?l/(f-1):void 0},ao.deviation=function(){var n=ao.variance.apply(this,arguments);return n?Math.sqrt(n):n};var Mo=u(e);ao.bisectLeft=Mo.left,ao.bisect=ao.bisectRight=Mo.right,ao.bisector=function(n){return u(1===n.length?function(t,r){return e(n(t),r)}:n)},ao.shuffle=function(n,t,e){(u=arguments.length)<3&&(e=n.length,2>u&&(t=0));for(var r,i,u=e-t;u;)i=Math.random()*u--|0,r=n[u+t],n[u+t]=n[i+t],n[i+t]=r;return n},ao.permute=function(n,t){for(var e=t.length,r=new Array(e);e--;)r[e]=n[t[e]];return r},ao.pairs=function(n){for(var t,e=0,r=n.length-1,i=n[0],u=new Array(0>r?0:r);r>e;)u[e]=[t=i,i=n[++e]];return u},ao.transpose=function(n){if(!(i=n.length))return[];for(var t=-1,e=ao.min(n,o),r=new Array(e);++t=0;)for(r=n[i],t=r.length;--t>=0;)e[--o]=r[t];return e};var xo=Math.abs;ao.range=function(n,t,e){if(arguments.length<3&&(e=1,arguments.length<2&&(t=n,n=0)),(t-n)/e===1/0)throw new Error("infinite range");var r,i=[],u=a(xo(e)),o=-1;if(n*=u,t*=u,e*=u,0>e)for(;(r=n+e*++o)>t;)i.push(r/u);else for(;(r=n+e*++o)=u.length)return r?r.call(i,o):e?o.sort(e):o;for(var l,f,s,h,p=-1,g=o.length,v=u[a++],d=new c;++p=u.length)return n;var r=[],i=o[e++];return n.forEach(function(n,i){r.push({key:n,values:t(i,e)})}),i?r.sort(function(n,t){return i(n.key,t.key)}):r}var e,r,i={},u=[],o=[];return i.map=function(t,e){return n(e,t,0)},i.entries=function(e){return t(n(ao.map,e,0),0)},i.key=function(n){return u.push(n),i},i.sortKeys=function(n){return o[u.length-1]=n,i},i.sortValues=function(n){return e=n,i},i.rollup=function(n){return r=n,i},i},ao.set=function(n){var t=new y;if(n)for(var e=0,r=n.length;r>e;++e)t.add(n[e]);return t},l(y,{has:h,add:function(n){return this._[f(n+="")]=!0,n},remove:p,values:g,size:v,empty:d,forEach:function(n){for(var t in this._)n.call(this,s(t))}}),ao.behavior={},ao.rebind=function(n,t){for(var e,r=1,i=arguments.length;++r=0&&(r=n.slice(e+1),n=n.slice(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},ao.event=null,ao.requote=function(n){return n.replace(So,"\\$&")};var So=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ko={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]},No=function(n,t){return t.querySelector(n)},Eo=function(n,t){return t.querySelectorAll(n)},Ao=function(n,t){var e=n.matches||n[x(n,"matchesSelector")];return(Ao=function(n,t){return e.call(n,t)})(n,t)};"function"==typeof Sizzle&&(No=function(n,t){return Sizzle(n,t)[0]||null},Eo=Sizzle,Ao=Sizzle.matchesSelector),ao.selection=function(){return ao.select(fo.documentElement)};var Co=ao.selection.prototype=[];Co.select=function(n){var t,e,r,i,u=[];n=A(n);for(var o=-1,a=this.length;++o=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),Lo.hasOwnProperty(e)?{space:Lo[e],local:n}:n}},Co.attr=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node();return n=ao.ns.qualify(n),n.local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(z(t,n[t]));return this}return this.each(z(n,t))},Co.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=T(n)).length,i=-1;if(t=e.classList){for(;++ii){if("string"!=typeof n){2>i&&(e="");for(r in n)this.each(P(r,n[r],e));return this}if(2>i){var u=this.node();return t(u).getComputedStyle(u,null).getPropertyValue(n)}r=""}return this.each(P(n,e,r))},Co.property=function(n,t){if(arguments.length<2){if("string"==typeof n)return this.node()[n];for(t in n)this.each(U(t,n[t]));return this}return this.each(U(n,t))},Co.text=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.textContent=null==t?"":t}:null==n?function(){this.textContent=""}:function(){this.textContent=n}):this.node().textContent},Co.html=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}:null==n?function(){this.innerHTML=""}:function(){this.innerHTML=n}):this.node().innerHTML},Co.append=function(n){return n=j(n),this.select(function(){return this.appendChild(n.apply(this,arguments))})},Co.insert=function(n,t){return n=j(n),t=A(t),this.select(function(){return this.insertBefore(n.apply(this,arguments),t.apply(this,arguments)||null)})},Co.remove=function(){return this.each(F)},Co.data=function(n,t){function e(n,e){var r,i,u,o=n.length,s=e.length,h=Math.min(o,s),p=new Array(s),g=new Array(s),v=new Array(o);if(t){var d,y=new c,m=new Array(o);for(r=-1;++rr;++r)g[r]=H(e[r]);for(;o>r;++r)v[r]=n[r]}g.update=p,g.parentNode=p.parentNode=v.parentNode=n.parentNode,a.push(g),l.push(p),f.push(v)}var r,i,u=-1,o=this.length;if(!arguments.length){for(n=new Array(o=(r=this[0]).length);++uu;u++){i.push(t=[]),t.parentNode=(e=this[u]).parentNode;for(var a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return E(i)},Co.order=function(){for(var n=-1,t=this.length;++n=0;)(e=r[i])&&(u&&u!==e.nextSibling&&u.parentNode.insertBefore(e,u),u=e);return this},Co.sort=function(n){n=I.apply(this,arguments);for(var t=-1,e=this.length;++tn;n++)for(var e=this[n],r=0,i=e.length;i>r;r++){var u=e[r];if(u)return u}return null},Co.size=function(){var n=0;return Y(this,function(){++n}),n};var qo=[];ao.selection.enter=Z,ao.selection.enter.prototype=qo,qo.append=Co.append,qo.empty=Co.empty,qo.node=Co.node,qo.call=Co.call,qo.size=Co.size,qo.select=function(n){for(var t,e,r,i,u,o=[],a=-1,l=this.length;++ar){if("string"!=typeof n){2>r&&(t=!1);for(e in n)this.each(X(e,n[e],t));return this}if(2>r)return(r=this.node()["__on"+n])&&r._;e=!1}return this.each(X(n,t,e))};var To=ao.map({mouseenter:"mouseover",mouseleave:"mouseout"});fo&&To.forEach(function(n){"on"+n in fo&&To.remove(n)});var Ro,Do=0;ao.mouse=function(n){return J(n,k())};var Po=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;ao.touch=function(n,t,e){if(arguments.length<3&&(e=t,t=k().changedTouches),t)for(var r,i=0,u=t.length;u>i;++i)if((r=t[i]).identifier===e)return J(n,r)},ao.behavior.drag=function(){function n(){this.on("mousedown.drag",u).on("touchstart.drag",o)}function e(n,t,e,u,o){return function(){function a(){var n,e,r=t(h,v);r&&(n=r[0]-M[0],e=r[1]-M[1],g|=n|e,M=r,p({type:"drag",x:r[0]+c[0],y:r[1]+c[1],dx:n,dy:e}))}function l(){t(h,v)&&(y.on(u+d,null).on(o+d,null),m(g),p({type:"dragend"}))}var c,f=this,s=ao.event.target.correspondingElement||ao.event.target,h=f.parentNode,p=r.of(f,arguments),g=0,v=n(),d=".drag"+(null==v?"":"-"+v),y=ao.select(e(s)).on(u+d,a).on(o+d,l),m=W(s),M=t(h,v);i?(c=i.apply(f,arguments),c=[c.x-M[0],c.y-M[1]]):c=[0,0],p({type:"dragstart"})}}var r=N(n,"drag","dragstart","dragend"),i=null,u=e(b,ao.mouse,t,"mousemove","mouseup"),o=e(G,ao.touch,m,"touchmove","touchend");return n.origin=function(t){return arguments.length?(i=t,n):i},ao.rebind(n,r,"on")},ao.touches=function(n,t){return arguments.length<2&&(t=k().touches),t?co(t).map(function(t){var e=J(n,t);return e.identifier=t.identifier,e}):[]};var Uo=1e-6,jo=Uo*Uo,Fo=Math.PI,Ho=2*Fo,Oo=Ho-Uo,Io=Fo/2,Yo=Fo/180,Zo=180/Fo,Vo=Math.SQRT2,Xo=2,$o=4;ao.interpolateZoom=function(n,t){var e,r,i=n[0],u=n[1],o=n[2],a=t[0],l=t[1],c=t[2],f=a-i,s=l-u,h=f*f+s*s;if(jo>h)r=Math.log(c/o)/Vo,e=function(n){return[i+n*f,u+n*s,o*Math.exp(Vo*n*r)]};else{var p=Math.sqrt(h),g=(c*c-o*o+$o*h)/(2*o*Xo*p),v=(c*c-o*o-$o*h)/(2*c*Xo*p),d=Math.log(Math.sqrt(g*g+1)-g),y=Math.log(Math.sqrt(v*v+1)-v);r=(y-d)/Vo,e=function(n){var t=n*r,e=rn(d),a=o/(Xo*p)*(e*un(Vo*t+d)-en(d));return[i+a*f,u+a*s,o*e/rn(Vo*t+d)]}}return e.duration=1e3*r,e},ao.behavior.zoom=function(){function n(n){n.on(L,s).on(Wo+".zoom",p).on("dblclick.zoom",g).on(R,h)}function e(n){return[(n[0]-k.x)/k.k,(n[1]-k.y)/k.k]}function r(n){return[n[0]*k.k+k.x,n[1]*k.k+k.y]}function i(n){k.k=Math.max(A[0],Math.min(A[1],n))}function u(n,t){t=r(t),k.x+=n[0]-t[0],k.y+=n[1]-t[1]}function o(t,e,r,o){t.__chart__={x:k.x,y:k.y,k:k.k},i(Math.pow(2,o)),u(d=e,r),t=ao.select(t),C>0&&(t=t.transition().duration(C)),t.call(n.event)}function a(){b&&b.domain(x.range().map(function(n){return(n-k.x)/k.k}).map(x.invert)),w&&w.domain(_.range().map(function(n){return(n-k.y)/k.k}).map(_.invert))}function l(n){z++||n({type:"zoomstart"})}function c(n){a(),n({type:"zoom",scale:k.k,translate:[k.x,k.y]})}function f(n){--z||(n({type:"zoomend"}),d=null)}function s(){function n(){a=1,u(ao.mouse(i),h),c(o)}function r(){s.on(q,null).on(T,null),p(a),f(o)}var i=this,o=D.of(i,arguments),a=0,s=ao.select(t(i)).on(q,n).on(T,r),h=e(ao.mouse(i)),p=W(i);Il.call(i),l(o)}function h(){function n(){var n=ao.touches(g);return p=k.k,n.forEach(function(n){n.identifier in d&&(d[n.identifier]=e(n))}),n}function t(){var t=ao.event.target;ao.select(t).on(x,r).on(b,a),_.push(t);for(var e=ao.event.changedTouches,i=0,u=e.length;u>i;++i)d[e[i].identifier]=null;var l=n(),c=Date.now();if(1===l.length){if(500>c-M){var f=l[0];o(g,f,d[f.identifier],Math.floor(Math.log(k.k)/Math.LN2)+1),S()}M=c}else if(l.length>1){var f=l[0],s=l[1],h=f[0]-s[0],p=f[1]-s[1];y=h*h+p*p}}function r(){var n,t,e,r,o=ao.touches(g);Il.call(g);for(var a=0,l=o.length;l>a;++a,r=null)if(e=o[a],r=d[e.identifier]){if(t)break;n=e,t=r}if(r){var f=(f=e[0]-n[0])*f+(f=e[1]-n[1])*f,s=y&&Math.sqrt(f/y);n=[(n[0]+e[0])/2,(n[1]+e[1])/2],t=[(t[0]+r[0])/2,(t[1]+r[1])/2],i(s*p)}M=null,u(n,t),c(v)}function a(){if(ao.event.touches.length){for(var t=ao.event.changedTouches,e=0,r=t.length;r>e;++e)delete d[t[e].identifier];for(var i in d)return void n()}ao.selectAll(_).on(m,null),w.on(L,s).on(R,h),N(),f(v)}var p,g=this,v=D.of(g,arguments),d={},y=0,m=".zoom-"+ao.event.changedTouches[0].identifier,x="touchmove"+m,b="touchend"+m,_=[],w=ao.select(g),N=W(g);t(),l(v),w.on(L,null).on(R,t)}function p(){var n=D.of(this,arguments);m?clearTimeout(m):(Il.call(this),v=e(d=y||ao.mouse(this)),l(n)),m=setTimeout(function(){m=null,f(n)},50),S(),i(Math.pow(2,.002*Bo())*k.k),u(d,v),c(n)}function g(){var n=ao.mouse(this),t=Math.log(k.k)/Math.LN2;o(this,n,e(n),ao.event.shiftKey?Math.ceil(t)-1:Math.floor(t)+1)}var v,d,y,m,M,x,b,_,w,k={x:0,y:0,k:1},E=[960,500],A=Jo,C=250,z=0,L="mousedown.zoom",q="mousemove.zoom",T="mouseup.zoom",R="touchstart.zoom",D=N(n,"zoomstart","zoom","zoomend");return Wo||(Wo="onwheel"in fo?(Bo=function(){return-ao.event.deltaY*(ao.event.deltaMode?120:1)},"wheel"):"onmousewheel"in fo?(Bo=function(){return ao.event.wheelDelta},"mousewheel"):(Bo=function(){return-ao.event.detail},"MozMousePixelScroll")),n.event=function(n){n.each(function(){var n=D.of(this,arguments),t=k;Hl?ao.select(this).transition().each("start.zoom",function(){k=this.__chart__||{x:0,y:0,k:1},l(n)}).tween("zoom:zoom",function(){var e=E[0],r=E[1],i=d?d[0]:e/2,u=d?d[1]:r/2,o=ao.interpolateZoom([(i-k.x)/k.k,(u-k.y)/k.k,e/k.k],[(i-t.x)/t.k,(u-t.y)/t.k,e/t.k]);return function(t){var r=o(t),a=e/r[2];this.__chart__=k={x:i-r[0]*a,y:u-r[1]*a,k:a},c(n)}}).each("interrupt.zoom",function(){f(n)}).each("end.zoom",function(){f(n)}):(this.__chart__=k,l(n),c(n),f(n))})},n.translate=function(t){return arguments.length?(k={x:+t[0],y:+t[1],k:k.k},a(),n):[k.x,k.y]},n.scale=function(t){return arguments.length?(k={x:k.x,y:k.y,k:null},i(+t),a(),n):k.k},n.scaleExtent=function(t){return arguments.length?(A=null==t?Jo:[+t[0],+t[1]],n):A},n.center=function(t){return arguments.length?(y=t&&[+t[0],+t[1]],n):y},n.size=function(t){return arguments.length?(E=t&&[+t[0],+t[1]],n):E},n.duration=function(t){return arguments.length?(C=+t,n):C},n.x=function(t){return arguments.length?(b=t,x=t.copy(),k={x:0,y:0,k:1},n):b},n.y=function(t){return arguments.length?(w=t,_=t.copy(),k={x:0,y:0,k:1},n):w},ao.rebind(n,D,"on")};var Bo,Wo,Jo=[0,1/0];ao.color=an,an.prototype.toString=function(){return this.rgb()+""},ao.hsl=ln;var Go=ln.prototype=new an;Go.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,this.l/n)},Go.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,n*this.l)},Go.rgb=function(){return cn(this.h,this.s,this.l)},ao.hcl=fn;var Ko=fn.prototype=new an;Ko.brighter=function(n){return new fn(this.h,this.c,Math.min(100,this.l+Qo*(arguments.length?n:1)))},Ko.darker=function(n){return new fn(this.h,this.c,Math.max(0,this.l-Qo*(arguments.length?n:1)))},Ko.rgb=function(){return sn(this.h,this.c,this.l).rgb()},ao.lab=hn;var Qo=18,na=.95047,ta=1,ea=1.08883,ra=hn.prototype=new an;ra.brighter=function(n){return new hn(Math.min(100,this.l+Qo*(arguments.length?n:1)),this.a,this.b)},ra.darker=function(n){return new hn(Math.max(0,this.l-Qo*(arguments.length?n:1)),this.a,this.b)},ra.rgb=function(){return pn(this.l,this.a,this.b)},ao.rgb=mn;var ia=mn.prototype=new an;ia.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,i=30;return t||e||r?(t&&i>t&&(t=i),e&&i>e&&(e=i),r&&i>r&&(r=i),new mn(Math.min(255,t/n),Math.min(255,e/n),Math.min(255,r/n))):new mn(i,i,i)},ia.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new mn(n*this.r,n*this.g,n*this.b)},ia.hsl=function(){return wn(this.r,this.g,this.b)},ia.toString=function(){return"#"+bn(this.r)+bn(this.g)+bn(this.b)};var ua=ao.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});ua.forEach(function(n,t){ua.set(n,Mn(t))}),ao.functor=En,ao.xhr=An(m),ao.dsv=function(n,t){function e(n,e,u){arguments.length<3&&(u=e,e=null);var o=Cn(n,t,null==e?r:i(e),u);return o.row=function(n){return arguments.length?o.response(null==(e=n)?r:i(n)):e},o}function r(n){return e.parse(n.responseText)}function i(n){return function(t){return e.parse(t.responseText,n)}}function u(t){return t.map(o).join(n)}function o(n){return a.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}var a=new RegExp('["'+n+"\n]"),l=n.charCodeAt(0);return e.parse=function(n,t){var r;return e.parseRows(n,function(n,e){if(r)return r(n,e-1);var i=new Function("d","return {"+n.map(function(n,t){return JSON.stringify(n)+": d["+t+"]"}).join(",")+"}");r=t?function(n,e){return t(i(n),e)}:i})},e.parseRows=function(n,t){function e(){if(f>=c)return o;if(i)return i=!1,u;var t=f;if(34===n.charCodeAt(t)){for(var e=t;e++f;){var r=n.charCodeAt(f++),a=1;if(10===r)i=!0;else if(13===r)i=!0,10===n.charCodeAt(f)&&(++f,++a);else if(r!==l)continue;return n.slice(t,f-a)}return n.slice(t)}for(var r,i,u={},o={},a=[],c=n.length,f=0,s=0;(r=e())!==o;){for(var h=[];r!==u&&r!==o;)h.push(r),r=e();t&&null==(h=t(h,s++))||a.push(h)}return a},e.format=function(t){if(Array.isArray(t[0]))return e.formatRows(t);var r=new y,i=[];return t.forEach(function(n){for(var t in n)r.has(t)||i.push(r.add(t))}),[i.map(o).join(n)].concat(t.map(function(t){return i.map(function(n){return o(t[n])}).join(n)})).join("\n")},e.formatRows=function(n){return n.map(u).join("\n")},e},ao.csv=ao.dsv(",","text/csv"),ao.tsv=ao.dsv(" ","text/tab-separated-values");var oa,aa,la,ca,fa=this[x(this,"requestAnimationFrame")]||function(n){setTimeout(n,17)};ao.timer=function(){qn.apply(this,arguments)},ao.timer.flush=function(){Rn(),Dn()},ao.round=function(n,t){return t?Math.round(n*(t=Math.pow(10,t)))/t:Math.round(n)};var sa=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"].map(Un);ao.formatPrefix=function(n,t){var e=0;return(n=+n)&&(0>n&&(n*=-1),t&&(n=ao.round(n,Pn(n,t))),e=1+Math.floor(1e-12+Math.log(n)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((e-1)/3)))),sa[8+e/3]};var ha=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,pa=ao.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,t){return(n=ao.round(n,Pn(n,t))).toFixed(Math.max(0,Math.min(20,Pn(n*(1+1e-15),t))))}}),ga=ao.time={},va=Date;Hn.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){da.setUTCDate.apply(this._,arguments)},setDay:function(){da.setUTCDay.apply(this._,arguments)},setFullYear:function(){da.setUTCFullYear.apply(this._,arguments)},setHours:function(){da.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){da.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){da.setUTCMinutes.apply(this._,arguments)},setMonth:function(){da.setUTCMonth.apply(this._,arguments)},setSeconds:function(){da.setUTCSeconds.apply(this._,arguments)},setTime:function(){da.setTime.apply(this._,arguments)}};var da=Date.prototype;ga.year=On(function(n){return n=ga.day(n),n.setMonth(0,1),n},function(n,t){n.setFullYear(n.getFullYear()+t)},function(n){return n.getFullYear()}),ga.years=ga.year.range,ga.years.utc=ga.year.utc.range,ga.day=On(function(n){var t=new va(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t},function(n,t){n.setDate(n.getDate()+t)},function(n){return n.getDate()-1}),ga.days=ga.day.range,ga.days.utc=ga.day.utc.range,ga.dayOfYear=function(n){var t=ga.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(n,t){t=7-t;var e=ga[n]=On(function(n){return(n=ga.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n},function(n,t){n.setDate(n.getDate()+7*Math.floor(t))},function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)-(e!==t)});ga[n+"s"]=e.range,ga[n+"s"].utc=e.utc.range,ga[n+"OfYear"]=function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)}}),ga.week=ga.sunday,ga.weeks=ga.sunday.range,ga.weeks.utc=ga.sunday.utc.range,ga.weekOfYear=ga.sundayOfYear;var ya={"-":"",_:" ",0:"0"},ma=/^\s*\d+/,Ma=/^%/;ao.locale=function(n){return{numberFormat:jn(n),timeFormat:Yn(n)}};var xa=ao.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"], +shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});ao.format=xa.numberFormat,ao.geo={},ft.prototype={s:0,t:0,add:function(n){st(n,this.t,ba),st(ba.s,this.s,this),this.s?this.t+=ba.t:this.s=ba.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var ba=new ft;ao.geo.stream=function(n,t){n&&_a.hasOwnProperty(n.type)?_a[n.type](n,t):ht(n,t)};var _a={Feature:function(n,t){ht(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,i=e.length;++rn?4*Fo+n:n,Na.lineStart=Na.lineEnd=Na.point=b}};ao.geo.bounds=function(){function n(n,t){M.push(x=[f=n,h=n]),s>t&&(s=t),t>p&&(p=t)}function t(t,e){var r=dt([t*Yo,e*Yo]);if(y){var i=mt(y,r),u=[i[1],-i[0],0],o=mt(u,i);bt(o),o=_t(o);var l=t-g,c=l>0?1:-1,v=o[0]*Zo*c,d=xo(l)>180;if(d^(v>c*g&&c*t>v)){var m=o[1]*Zo;m>p&&(p=m)}else if(v=(v+360)%360-180,d^(v>c*g&&c*t>v)){var m=-o[1]*Zo;s>m&&(s=m)}else s>e&&(s=e),e>p&&(p=e);d?g>t?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t):h>=f?(f>t&&(f=t),t>h&&(h=t)):t>g?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t)}else n(t,e);y=r,g=t}function e(){b.point=t}function r(){x[0]=f,x[1]=h,b.point=n,y=null}function i(n,e){if(y){var r=n-g;m+=xo(r)>180?r+(r>0?360:-360):r}else v=n,d=e;Na.point(n,e),t(n,e)}function u(){Na.lineStart()}function o(){i(v,d),Na.lineEnd(),xo(m)>Uo&&(f=-(h=180)),x[0]=f,x[1]=h,y=null}function a(n,t){return(t-=n)<0?t+360:t}function l(n,t){return n[0]-t[0]}function c(n,t){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nka?(f=-(h=180),s=-(p=90)):m>Uo?p=90:-Uo>m&&(s=-90),x[0]=f,x[1]=h}};return function(n){p=h=-(f=s=1/0),M=[],ao.geo.stream(n,b);var t=M.length;if(t){M.sort(l);for(var e,r=1,i=M[0],u=[i];t>r;++r)e=M[r],c(e[0],i)||c(e[1],i)?(a(i[0],e[1])>a(i[0],i[1])&&(i[1]=e[1]),a(e[0],i[1])>a(i[0],i[1])&&(i[0]=e[0])):u.push(i=e);for(var o,e,g=-(1/0),t=u.length-1,r=0,i=u[t];t>=r;i=e,++r)e=u[r],(o=a(i[1],e[0]))>g&&(g=o,f=e[0],h=i[1])}return M=x=null,f===1/0||s===1/0?[[NaN,NaN],[NaN,NaN]]:[[f,s],[h,p]]}}(),ao.geo.centroid=function(n){Ea=Aa=Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,ja);var t=Da,e=Pa,r=Ua,i=t*t+e*e+r*r;return jo>i&&(t=qa,e=Ta,r=Ra,Uo>Aa&&(t=Ca,e=za,r=La),i=t*t+e*e+r*r,jo>i)?[NaN,NaN]:[Math.atan2(e,t)*Zo,tn(r/Math.sqrt(i))*Zo]};var Ea,Aa,Ca,za,La,qa,Ta,Ra,Da,Pa,Ua,ja={sphere:b,point:St,lineStart:Nt,lineEnd:Et,polygonStart:function(){ja.lineStart=At},polygonEnd:function(){ja.lineStart=Nt}},Fa=Rt(zt,jt,Ht,[-Fo,-Fo/2]),Ha=1e9;ao.geo.clipExtent=function(){var n,t,e,r,i,u,o={stream:function(n){return i&&(i.valid=!1),i=u(n),i.valid=!0,i},extent:function(a){return arguments.length?(u=Zt(n=+a[0][0],t=+a[0][1],e=+a[1][0],r=+a[1][1]),i&&(i.valid=!1,i=null),o):[[n,t],[e,r]]}};return o.extent([[0,0],[960,500]])},(ao.geo.conicEqualArea=function(){return Vt(Xt)}).raw=Xt,ao.geo.albers=function(){return ao.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},ao.geo.albersUsa=function(){function n(n){var u=n[0],o=n[1];return t=null,e(u,o),t||(r(u,o),t)||i(u,o),t}var t,e,r,i,u=ao.geo.albers(),o=ao.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=ao.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(n,e){t=[n,e]}};return n.invert=function(n){var t=u.scale(),e=u.translate(),r=(n[0]-e[0])/t,i=(n[1]-e[1])/t;return(i>=.12&&.234>i&&r>=-.425&&-.214>r?o:i>=.166&&.234>i&&r>=-.214&&-.115>r?a:u).invert(n)},n.stream=function(n){var t=u.stream(n),e=o.stream(n),r=a.stream(n);return{point:function(n,i){t.point(n,i),e.point(n,i),r.point(n,i)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},n.precision=function(t){return arguments.length?(u.precision(t),o.precision(t),a.precision(t),n):u.precision()},n.scale=function(t){return arguments.length?(u.scale(t),o.scale(.35*t),a.scale(t),n.translate(u.translate())):u.scale()},n.translate=function(t){if(!arguments.length)return u.translate();var c=u.scale(),f=+t[0],s=+t[1];return e=u.translate(t).clipExtent([[f-.455*c,s-.238*c],[f+.455*c,s+.238*c]]).stream(l).point,r=o.translate([f-.307*c,s+.201*c]).clipExtent([[f-.425*c+Uo,s+.12*c+Uo],[f-.214*c-Uo,s+.234*c-Uo]]).stream(l).point,i=a.translate([f-.205*c,s+.212*c]).clipExtent([[f-.214*c+Uo,s+.166*c+Uo],[f-.115*c-Uo,s+.234*c-Uo]]).stream(l).point,n},n.scale(1070)};var Oa,Ia,Ya,Za,Va,Xa,$a={point:b,lineStart:b,lineEnd:b,polygonStart:function(){Ia=0,$a.lineStart=$t},polygonEnd:function(){$a.lineStart=$a.lineEnd=$a.point=b,Oa+=xo(Ia/2)}},Ba={point:Bt,lineStart:b,lineEnd:b,polygonStart:b,polygonEnd:b},Wa={point:Gt,lineStart:Kt,lineEnd:Qt,polygonStart:function(){Wa.lineStart=ne},polygonEnd:function(){Wa.point=Gt,Wa.lineStart=Kt,Wa.lineEnd=Qt}};ao.geo.path=function(){function n(n){return n&&("function"==typeof a&&u.pointRadius(+a.apply(this,arguments)),o&&o.valid||(o=i(u)),ao.geo.stream(n,o)),u.result()}function t(){return o=null,n}var e,r,i,u,o,a=4.5;return n.area=function(n){return Oa=0,ao.geo.stream(n,i($a)),Oa},n.centroid=function(n){return Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,i(Wa)),Ua?[Da/Ua,Pa/Ua]:Ra?[qa/Ra,Ta/Ra]:La?[Ca/La,za/La]:[NaN,NaN]},n.bounds=function(n){return Va=Xa=-(Ya=Za=1/0),ao.geo.stream(n,i(Ba)),[[Ya,Za],[Va,Xa]]},n.projection=function(n){return arguments.length?(i=(e=n)?n.stream||re(n):m,t()):e},n.context=function(n){return arguments.length?(u=null==(r=n)?new Wt:new te(n),"function"!=typeof a&&u.pointRadius(a),t()):r},n.pointRadius=function(t){return arguments.length?(a="function"==typeof t?t:(u.pointRadius(+t),+t),n):a},n.projection(ao.geo.albersUsa()).context(null)},ao.geo.transform=function(n){return{stream:function(t){var e=new ie(t);for(var r in n)e[r]=n[r];return e}}},ie.prototype={point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},ao.geo.projection=oe,ao.geo.projectionMutator=ae,(ao.geo.equirectangular=function(){return oe(ce)}).raw=ce.invert=ce,ao.geo.rotation=function(n){function t(t){return t=n(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t}return n=se(n[0]%360*Yo,n[1]*Yo,n.length>2?n[2]*Yo:0),t.invert=function(t){return t=n.invert(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t},t},fe.invert=ce,ao.geo.circle=function(){function n(){var n="function"==typeof r?r.apply(this,arguments):r,t=se(-n[0]*Yo,-n[1]*Yo,0).invert,i=[];return e(null,null,1,{point:function(n,e){i.push(n=t(n,e)),n[0]*=Zo,n[1]*=Zo}}),{type:"Polygon",coordinates:[i]}}var t,e,r=[0,0],i=6;return n.origin=function(t){return arguments.length?(r=t,n):r},n.angle=function(r){return arguments.length?(e=ve((t=+r)*Yo,i*Yo),n):t},n.precision=function(r){return arguments.length?(e=ve(t*Yo,(i=+r)*Yo),n):i},n.angle(90)},ao.geo.distance=function(n,t){var e,r=(t[0]-n[0])*Yo,i=n[1]*Yo,u=t[1]*Yo,o=Math.sin(r),a=Math.cos(r),l=Math.sin(i),c=Math.cos(i),f=Math.sin(u),s=Math.cos(u);return Math.atan2(Math.sqrt((e=s*o)*e+(e=c*f-l*s*a)*e),l*f+c*s*a)},ao.geo.graticule=function(){function n(){return{type:"MultiLineString",coordinates:t()}}function t(){return ao.range(Math.ceil(u/d)*d,i,d).map(h).concat(ao.range(Math.ceil(c/y)*y,l,y).map(p)).concat(ao.range(Math.ceil(r/g)*g,e,g).filter(function(n){return xo(n%d)>Uo}).map(f)).concat(ao.range(Math.ceil(a/v)*v,o,v).filter(function(n){return xo(n%y)>Uo}).map(s))}var e,r,i,u,o,a,l,c,f,s,h,p,g=10,v=g,d=90,y=360,m=2.5;return n.lines=function(){return t().map(function(n){return{type:"LineString",coordinates:n}})},n.outline=function(){return{type:"Polygon",coordinates:[h(u).concat(p(l).slice(1),h(i).reverse().slice(1),p(c).reverse().slice(1))]}},n.extent=function(t){return arguments.length?n.majorExtent(t).minorExtent(t):n.minorExtent()},n.majorExtent=function(t){return arguments.length?(u=+t[0][0],i=+t[1][0],c=+t[0][1],l=+t[1][1],u>i&&(t=u,u=i,i=t),c>l&&(t=c,c=l,l=t),n.precision(m)):[[u,c],[i,l]]},n.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],o=+t[1][1],r>e&&(t=r,r=e,e=t),a>o&&(t=a,a=o,o=t),n.precision(m)):[[r,a],[e,o]]},n.step=function(t){return arguments.length?n.majorStep(t).minorStep(t):n.minorStep()},n.majorStep=function(t){return arguments.length?(d=+t[0],y=+t[1],n):[d,y]},n.minorStep=function(t){return arguments.length?(g=+t[0],v=+t[1],n):[g,v]},n.precision=function(t){return arguments.length?(m=+t,f=ye(a,o,90),s=me(r,e,m),h=ye(c,l,90),p=me(u,i,m),n):m},n.majorExtent([[-180,-90+Uo],[180,90-Uo]]).minorExtent([[-180,-80-Uo],[180,80+Uo]])},ao.geo.greatArc=function(){function n(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),e||i.apply(this,arguments)]}}var t,e,r=Me,i=xe;return n.distance=function(){return ao.geo.distance(t||r.apply(this,arguments),e||i.apply(this,arguments))},n.source=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,n):r},n.target=function(t){return arguments.length?(i=t,e="function"==typeof t?null:t,n):i},n.precision=function(){return arguments.length?n:0},n},ao.geo.interpolate=function(n,t){return be(n[0]*Yo,n[1]*Yo,t[0]*Yo,t[1]*Yo)},ao.geo.length=function(n){return Ja=0,ao.geo.stream(n,Ga),Ja};var Ja,Ga={sphere:b,point:b,lineStart:_e,lineEnd:b,polygonStart:b,polygonEnd:b},Ka=we(function(n){return Math.sqrt(2/(1+n))},function(n){return 2*Math.asin(n/2)});(ao.geo.azimuthalEqualArea=function(){return oe(Ka)}).raw=Ka;var Qa=we(function(n){var t=Math.acos(n);return t&&t/Math.sin(t)},m);(ao.geo.azimuthalEquidistant=function(){return oe(Qa)}).raw=Qa,(ao.geo.conicConformal=function(){return Vt(Se)}).raw=Se,(ao.geo.conicEquidistant=function(){return Vt(ke)}).raw=ke;var nl=we(function(n){return 1/n},Math.atan);(ao.geo.gnomonic=function(){return oe(nl)}).raw=nl,Ne.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Io]},(ao.geo.mercator=function(){return Ee(Ne)}).raw=Ne;var tl=we(function(){return 1},Math.asin);(ao.geo.orthographic=function(){return oe(tl)}).raw=tl;var el=we(function(n){return 1/(1+n)},function(n){return 2*Math.atan(n)});(ao.geo.stereographic=function(){return oe(el)}).raw=el,Ae.invert=function(n,t){return[-t,2*Math.atan(Math.exp(n))-Io]},(ao.geo.transverseMercator=function(){var n=Ee(Ae),t=n.center,e=n.rotate;return n.center=function(n){return n?t([-n[1],n[0]]):(n=t(),[n[1],-n[0]])},n.rotate=function(n){return n?e([n[0],n[1],n.length>2?n[2]+90:90]):(n=e(),[n[0],n[1],n[2]-90])},e([0,0,90])}).raw=Ae,ao.geom={},ao.geom.hull=function(n){function t(n){if(n.length<3)return[];var t,i=En(e),u=En(r),o=n.length,a=[],l=[];for(t=0;o>t;t++)a.push([+i.call(this,n[t],t),+u.call(this,n[t],t),t]);for(a.sort(qe),t=0;o>t;t++)l.push([a[t][0],-a[t][1]]);var c=Le(a),f=Le(l),s=f[0]===c[0],h=f[f.length-1]===c[c.length-1],p=[];for(t=c.length-1;t>=0;--t)p.push(n[a[c[t]][2]]);for(t=+s;t=r&&c.x<=u&&c.y>=i&&c.y<=o?[[r,o],[u,o],[u,i],[r,i]]:[];f.point=n[a]}),t}function e(n){return n.map(function(n,t){return{x:Math.round(u(n,t)/Uo)*Uo,y:Math.round(o(n,t)/Uo)*Uo,i:t}})}var r=Ce,i=ze,u=r,o=i,a=sl;return n?t(n):(t.links=function(n){return ar(e(n)).edges.filter(function(n){return n.l&&n.r}).map(function(t){return{source:n[t.l.i],target:n[t.r.i]}})},t.triangles=function(n){var t=[];return ar(e(n)).cells.forEach(function(e,r){for(var i,u,o=e.site,a=e.edges.sort(Ve),l=-1,c=a.length,f=a[c-1].edge,s=f.l===o?f.r:f.l;++l=c,h=r>=f,p=h<<1|s;n.leaf=!1,n=n.nodes[p]||(n.nodes[p]=hr()),s?i=c:a=c,h?o=f:l=f,u(n,t,e,r,i,o,a,l)}var f,s,h,p,g,v,d,y,m,M=En(a),x=En(l);if(null!=t)v=t,d=e,y=r,m=i;else if(y=m=-(v=d=1/0),s=[],h=[],g=n.length,o)for(p=0;g>p;++p)f=n[p],f.xy&&(y=f.x),f.y>m&&(m=f.y),s.push(f.x),h.push(f.y);else for(p=0;g>p;++p){var b=+M(f=n[p],p),_=+x(f,p);v>b&&(v=b),d>_&&(d=_),b>y&&(y=b),_>m&&(m=_),s.push(b),h.push(_)}var w=y-v,S=m-d;w>S?m=d+w:y=v+S;var k=hr();if(k.add=function(n){u(k,n,+M(n,++p),+x(n,p),v,d,y,m)},k.visit=function(n){pr(n,k,v,d,y,m)},k.find=function(n){return gr(k,n[0],n[1],v,d,y,m)},p=-1,null==t){for(;++p=0?n.slice(0,t):n,r=t>=0?n.slice(t+1):"in";return e=vl.get(e)||gl,r=dl.get(r)||m,br(r(e.apply(null,lo.call(arguments,1))))},ao.interpolateHcl=Rr,ao.interpolateHsl=Dr,ao.interpolateLab=Pr,ao.interpolateRound=Ur,ao.transform=function(n){var t=fo.createElementNS(ao.ns.prefix.svg,"g");return(ao.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new jr(e?e.matrix:yl)})(n)},jr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var yl={a:1,b:0,c:0,d:1,e:0,f:0};ao.interpolateTransform=$r,ao.layout={},ao.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++ea*a/y){if(v>l){var c=t.charge/l;n.px-=u*c,n.py-=o*c}return!0}if(t.point&&l&&v>l){var c=t.pointCharge/l;n.px-=u*c,n.py-=o*c}}return!t.charge}}function t(n){n.px=ao.event.x,n.py=ao.event.y,l.resume()}var e,r,i,u,o,a,l={},c=ao.dispatch("start","tick","end"),f=[1,1],s=.9,h=ml,p=Ml,g=-30,v=xl,d=.1,y=.64,M=[],x=[];return l.tick=function(){if((i*=.99)<.005)return e=null,c.end({type:"end",alpha:i=0}),!0;var t,r,l,h,p,v,y,m,b,_=M.length,w=x.length;for(r=0;w>r;++r)l=x[r],h=l.source,p=l.target,m=p.x-h.x,b=p.y-h.y,(v=m*m+b*b)&&(v=i*o[r]*((v=Math.sqrt(v))-u[r])/v,m*=v,b*=v,p.x-=m*(y=h.weight+p.weight?h.weight/(h.weight+p.weight):.5),p.y-=b*y,h.x+=m*(y=1-y),h.y+=b*y);if((y=i*d)&&(m=f[0]/2,b=f[1]/2,r=-1,y))for(;++r<_;)l=M[r],l.x+=(m-l.x)*y,l.y+=(b-l.y)*y;if(g)for(ri(t=ao.geom.quadtree(M),i,a),r=-1;++r<_;)(l=M[r]).fixed||t.visit(n(l));for(r=-1;++r<_;)l=M[r],l.fixed?(l.x=l.px,l.y=l.py):(l.x-=(l.px-(l.px=l.x))*s,l.y-=(l.py-(l.py=l.y))*s);c.tick({type:"tick",alpha:i})},l.nodes=function(n){return arguments.length?(M=n,l):M},l.links=function(n){return arguments.length?(x=n,l):x},l.size=function(n){return arguments.length?(f=n,l):f},l.linkDistance=function(n){return arguments.length?(h="function"==typeof n?n:+n,l):h},l.distance=l.linkDistance,l.linkStrength=function(n){return arguments.length?(p="function"==typeof n?n:+n,l):p},l.friction=function(n){return arguments.length?(s=+n,l):s},l.charge=function(n){return arguments.length?(g="function"==typeof n?n:+n,l):g},l.chargeDistance=function(n){return arguments.length?(v=n*n,l):Math.sqrt(v)},l.gravity=function(n){return arguments.length?(d=+n,l):d},l.theta=function(n){return arguments.length?(y=n*n,l):Math.sqrt(y)},l.alpha=function(n){return arguments.length?(n=+n,i?n>0?i=n:(e.c=null,e.t=NaN,e=null,c.end({type:"end",alpha:i=0})):n>0&&(c.start({type:"start",alpha:i=n}),e=qn(l.tick)),l):i},l.start=function(){function n(n,r){if(!e){for(e=new Array(i),l=0;i>l;++l)e[l]=[];for(l=0;c>l;++l){var u=x[l];e[u.source.index].push(u.target),e[u.target.index].push(u.source)}}for(var o,a=e[t],l=-1,f=a.length;++lt;++t)(r=M[t]).index=t,r.weight=0;for(t=0;c>t;++t)r=x[t],"number"==typeof r.source&&(r.source=M[r.source]),"number"==typeof r.target&&(r.target=M[r.target]),++r.source.weight,++r.target.weight;for(t=0;i>t;++t)r=M[t],isNaN(r.x)&&(r.x=n("x",s)),isNaN(r.y)&&(r.y=n("y",v)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(u=[],"function"==typeof h)for(t=0;c>t;++t)u[t]=+h.call(this,x[t],t);else for(t=0;c>t;++t)u[t]=h;if(o=[],"function"==typeof p)for(t=0;c>t;++t)o[t]=+p.call(this,x[t],t);else for(t=0;c>t;++t)o[t]=p;if(a=[],"function"==typeof g)for(t=0;i>t;++t)a[t]=+g.call(this,M[t],t);else for(t=0;i>t;++t)a[t]=g;return l.resume()},l.resume=function(){return l.alpha(.1)},l.stop=function(){return l.alpha(0)},l.drag=function(){return r||(r=ao.behavior.drag().origin(m).on("dragstart.force",Qr).on("drag.force",t).on("dragend.force",ni)),arguments.length?void this.on("mouseover.force",ti).on("mouseout.force",ei).call(r):r},ao.rebind(l,c,"on")};var ml=20,Ml=1,xl=1/0;ao.layout.hierarchy=function(){function n(i){var u,o=[i],a=[];for(i.depth=0;null!=(u=o.pop());)if(a.push(u),(c=e.call(n,u,u.depth))&&(l=c.length)){for(var l,c,f;--l>=0;)o.push(f=c[l]),f.parent=u,f.depth=u.depth+1;r&&(u.value=0),u.children=c}else r&&(u.value=+r.call(n,u,u.depth)||0),delete u.children;return oi(i,function(n){var e,i;t&&(e=n.children)&&e.sort(t),r&&(i=n.parent)&&(i.value+=n.value)}),a}var t=ci,e=ai,r=li;return n.sort=function(e){return arguments.length?(t=e,n):t},n.children=function(t){return arguments.length?(e=t,n):e},n.value=function(t){return arguments.length?(r=t,n):r},n.revalue=function(t){return r&&(ui(t,function(n){n.children&&(n.value=0)}),oi(t,function(t){var e;t.children||(t.value=+r.call(n,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)})),t},n},ao.layout.partition=function(){function n(t,e,r,i){var u=t.children;if(t.x=e,t.y=t.depth*i,t.dx=r,t.dy=i,u&&(o=u.length)){var o,a,l,c=-1;for(r=t.value?r/t.value:0;++cs?-1:1),g=ao.sum(c),v=g?(s-l*p)/g:0,d=ao.range(l),y=[];return null!=e&&d.sort(e===bl?function(n,t){return c[t]-c[n]}:function(n,t){return e(o[n],o[t])}),d.forEach(function(n){y[n]={data:o[n],value:a=c[n],startAngle:f,endAngle:f+=a*v+p,padAngle:h}}),y}var t=Number,e=bl,r=0,i=Ho,u=0;return n.value=function(e){return arguments.length?(t=e,n):t},n.sort=function(t){return arguments.length?(e=t,n):e},n.startAngle=function(t){return arguments.length?(r=t,n):r},n.endAngle=function(t){return arguments.length?(i=t,n):i},n.padAngle=function(t){return arguments.length?(u=t,n):u},n};var bl={};ao.layout.stack=function(){function n(a,l){if(!(h=a.length))return a;var c=a.map(function(e,r){return t.call(n,e,r)}),f=c.map(function(t){return t.map(function(t,e){return[u.call(n,t,e),o.call(n,t,e)]})}),s=e.call(n,f,l);c=ao.permute(c,s),f=ao.permute(f,s);var h,p,g,v,d=r.call(n,f,l),y=c[0].length;for(g=0;y>g;++g)for(i.call(n,c[0][g],v=d[g],f[0][g][1]),p=1;h>p;++p)i.call(n,c[p][g],v+=f[p-1][g][1],f[p][g][1]);return a}var t=m,e=gi,r=vi,i=pi,u=si,o=hi;return n.values=function(e){return arguments.length?(t=e,n):t},n.order=function(t){return arguments.length?(e="function"==typeof t?t:_l.get(t)||gi,n):e},n.offset=function(t){return arguments.length?(r="function"==typeof t?t:wl.get(t)||vi,n):r},n.x=function(t){return arguments.length?(u=t,n):u},n.y=function(t){return arguments.length?(o=t,n):o},n.out=function(t){return arguments.length?(i=t,n):i},n};var _l=ao.map({"inside-out":function(n){var t,e,r=n.length,i=n.map(di),u=n.map(yi),o=ao.range(r).sort(function(n,t){return i[n]-i[t]}),a=0,l=0,c=[],f=[];for(t=0;r>t;++t)e=o[t],l>a?(a+=u[e],c.push(e)):(l+=u[e],f.push(e));return f.reverse().concat(c)},reverse:function(n){return ao.range(n.length).reverse()},"default":gi}),wl=ao.map({silhouette:function(n){var t,e,r,i=n.length,u=n[0].length,o=[],a=0,l=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];r>a&&(a=r),o.push(r)}for(e=0;u>e;++e)l[e]=(a-o[e])/2;return l},wiggle:function(n){var t,e,r,i,u,o,a,l,c,f=n.length,s=n[0],h=s.length,p=[];for(p[0]=l=c=0,e=1;h>e;++e){for(t=0,i=0;f>t;++t)i+=n[t][e][1];for(t=0,u=0,a=s[e][0]-s[e-1][0];f>t;++t){for(r=0,o=(n[t][e][1]-n[t][e-1][1])/(2*a);t>r;++r)o+=(n[r][e][1]-n[r][e-1][1])/a;u+=o*n[t][e][1]}p[e]=l-=i?u/i*a:0,c>l&&(c=l)}for(e=0;h>e;++e)p[e]-=c;return p},expand:function(n){var t,e,r,i=n.length,u=n[0].length,o=1/i,a=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];if(r)for(t=0;i>t;t++)n[t][e][1]/=r;else for(t=0;i>t;t++)n[t][e][1]=o}for(e=0;u>e;++e)a[e]=0;return a},zero:vi});ao.layout.histogram=function(){function n(n,u){for(var o,a,l=[],c=n.map(e,this),f=r.call(this,c,u),s=i.call(this,f,c,u),u=-1,h=c.length,p=s.length-1,g=t?1:1/h;++u0)for(u=-1;++u=f[0]&&a<=f[1]&&(o=l[ao.bisect(s,a,1,p)-1],o.y+=g,o.push(n[u]));return l}var t=!0,e=Number,r=bi,i=Mi;return n.value=function(t){return arguments.length?(e=t,n):e},n.range=function(t){return arguments.length?(r=En(t),n):r},n.bins=function(t){return arguments.length?(i="number"==typeof t?function(n){return xi(n,t)}:En(t),n):i},n.frequency=function(e){return arguments.length?(t=!!e,n):t},n},ao.layout.pack=function(){function n(n,u){var o=e.call(this,n,u),a=o[0],l=i[0],c=i[1],f=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(a.x=a.y=0,oi(a,function(n){n.r=+f(n.value)}),oi(a,Ni),r){var s=r*(t?1:Math.max(2*a.r/l,2*a.r/c))/2;oi(a,function(n){n.r+=s}),oi(a,Ni),oi(a,function(n){n.r-=s})}return Ci(a,l/2,c/2,t?1:1/Math.max(2*a.r/l,2*a.r/c)),o}var t,e=ao.layout.hierarchy().sort(_i),r=0,i=[1,1];return n.size=function(t){return arguments.length?(i=t,n):i},n.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,n):t},n.padding=function(t){return arguments.length?(r=+t,n):r},ii(n,e)},ao.layout.tree=function(){function n(n,i){var f=o.call(this,n,i),s=f[0],h=t(s);if(oi(h,e),h.parent.m=-h.z,ui(h,r),c)ui(s,u);else{var p=s,g=s,v=s;ui(s,function(n){n.xg.x&&(g=n),n.depth>v.depth&&(v=n)});var d=a(p,g)/2-p.x,y=l[0]/(g.x+a(g,p)/2+d),m=l[1]/(v.depth||1);ui(s,function(n){n.x=(n.x+d)*y,n.y=n.depth*m})}return f}function t(n){for(var t,e={A:null,children:[n]},r=[e];null!=(t=r.pop());)for(var i,u=t.children,o=0,a=u.length;a>o;++o)r.push((u[o]=i={_:u[o],parent:t,children:(i=u[o].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=i);return e.children[0]}function e(n){var t=n.children,e=n.parent.children,r=n.i?e[n.i-1]:null;if(t.length){Di(n);var u=(t[0].z+t[t.length-1].z)/2;r?(n.z=r.z+a(n._,r._),n.m=n.z-u):n.z=u}else r&&(n.z=r.z+a(n._,r._));n.parent.A=i(n,r,n.parent.A||e[0])}function r(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function i(n,t,e){if(t){for(var r,i=n,u=n,o=t,l=i.parent.children[0],c=i.m,f=u.m,s=o.m,h=l.m;o=Ti(o),i=qi(i),o&&i;)l=qi(l),u=Ti(u),u.a=n,r=o.z+s-i.z-c+a(o._,i._),r>0&&(Ri(Pi(o,n,e),n,r),c+=r,f+=r),s+=o.m,c+=i.m,h+=l.m,f+=u.m;o&&!Ti(u)&&(u.t=o,u.m+=s-f),i&&!qi(l)&&(l.t=i,l.m+=c-h,e=n)}return e}function u(n){n.x*=l[0],n.y=n.depth*l[1]}var o=ao.layout.hierarchy().sort(null).value(null),a=Li,l=[1,1],c=null;return n.separation=function(t){return arguments.length?(a=t,n):a},n.size=function(t){return arguments.length?(c=null==(l=t)?u:null,n):c?null:l},n.nodeSize=function(t){return arguments.length?(c=null==(l=t)?null:u,n):c?l:null},ii(n,o)},ao.layout.cluster=function(){function n(n,u){var o,a=t.call(this,n,u),l=a[0],c=0;oi(l,function(n){var t=n.children;t&&t.length?(n.x=ji(t),n.y=Ui(t)):(n.x=o?c+=e(n,o):0,n.y=0,o=n)});var f=Fi(l),s=Hi(l),h=f.x-e(f,s)/2,p=s.x+e(s,f)/2;return oi(l,i?function(n){n.x=(n.x-l.x)*r[0],n.y=(l.y-n.y)*r[1]}:function(n){n.x=(n.x-h)/(p-h)*r[0],n.y=(1-(l.y?n.y/l.y:1))*r[1]}),a}var t=ao.layout.hierarchy().sort(null).value(null),e=Li,r=[1,1],i=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(i=null==(r=t),n):i?null:r},n.nodeSize=function(t){return arguments.length?(i=null!=(r=t),n):i?r:null},ii(n,t)},ao.layout.treemap=function(){function n(n,t){for(var e,r,i=-1,u=n.length;++it?0:t),e.area=isNaN(r)||0>=r?0:r}function t(e){var u=e.children;if(u&&u.length){var o,a,l,c=s(e),f=[],h=u.slice(),g=1/0,v="slice"===p?c.dx:"dice"===p?c.dy:"slice-dice"===p?1&e.depth?c.dy:c.dx:Math.min(c.dx,c.dy);for(n(h,c.dx*c.dy/e.value),f.area=0;(l=h.length)>0;)f.push(o=h[l-1]),f.area+=o.area,"squarify"!==p||(a=r(f,v))<=g?(h.pop(),g=a):(f.area-=f.pop().area,i(f,v,c,!1),v=Math.min(c.dx,c.dy),f.length=f.area=0,g=1/0);f.length&&(i(f,v,c,!0),f.length=f.area=0),u.forEach(t)}}function e(t){var r=t.children;if(r&&r.length){var u,o=s(t),a=r.slice(),l=[];for(n(a,o.dx*o.dy/t.value),l.area=0;u=a.pop();)l.push(u),l.area+=u.area,null!=u.z&&(i(l,u.z?o.dx:o.dy,o,!a.length),l.length=l.area=0);r.forEach(e)}}function r(n,t){for(var e,r=n.area,i=0,u=1/0,o=-1,a=n.length;++oe&&(u=e),e>i&&(i=e));return r*=r,t*=t,r?Math.max(t*i*g/r,r/(t*u*g)):1/0}function i(n,t,e,r){var i,u=-1,o=n.length,a=e.x,c=e.y,f=t?l(n.area/t):0; +if(t==e.dx){for((r||f>e.dy)&&(f=e.dy);++ue.dx)&&(f=e.dx);++ue&&(t=1),1>e&&(n=0),function(){var e,r,i;do e=2*Math.random()-1,r=2*Math.random()-1,i=e*e+r*r;while(!i||i>1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var n=ao.random.normal.apply(ao,arguments);return function(){return Math.exp(n())}},bates:function(n){var t=ao.random.irwinHall(n);return function(){return t()/n}},irwinHall:function(n){return function(){for(var t=0,e=0;n>e;e++)t+=Math.random();return t}}},ao.scale={};var Sl={floor:m,ceil:m};ao.scale.linear=function(){return Wi([0,1],[0,1],Mr,!1)};var kl={s:1,g:1,p:1,r:1,e:1};ao.scale.log=function(){return ru(ao.scale.linear().domain([0,1]),10,!0,[1,10])};var Nl=ao.format(".0e"),El={floor:function(n){return-Math.ceil(-n)},ceil:function(n){return-Math.floor(-n)}};ao.scale.pow=function(){return iu(ao.scale.linear(),1,[0,1])},ao.scale.sqrt=function(){return ao.scale.pow().exponent(.5)},ao.scale.ordinal=function(){return ou([],{t:"range",a:[[]]})},ao.scale.category10=function(){return ao.scale.ordinal().range(Al)},ao.scale.category20=function(){return ao.scale.ordinal().range(Cl)},ao.scale.category20b=function(){return ao.scale.ordinal().range(zl)},ao.scale.category20c=function(){return ao.scale.ordinal().range(Ll)};var Al=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(xn),Cl=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(xn),zl=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(xn),Ll=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(xn);ao.scale.quantile=function(){return au([],[])},ao.scale.quantize=function(){return lu(0,1,[0,1])},ao.scale.threshold=function(){return cu([.5],[0,1])},ao.scale.identity=function(){return fu([0,1])},ao.svg={},ao.svg.arc=function(){function n(){var n=Math.max(0,+e.apply(this,arguments)),c=Math.max(0,+r.apply(this,arguments)),f=o.apply(this,arguments)-Io,s=a.apply(this,arguments)-Io,h=Math.abs(s-f),p=f>s?0:1;if(n>c&&(g=c,c=n,n=g),h>=Oo)return t(c,p)+(n?t(n,1-p):"")+"Z";var g,v,d,y,m,M,x,b,_,w,S,k,N=0,E=0,A=[];if((y=(+l.apply(this,arguments)||0)/2)&&(d=u===ql?Math.sqrt(n*n+c*c):+u.apply(this,arguments),p||(E*=-1),c&&(E=tn(d/c*Math.sin(y))),n&&(N=tn(d/n*Math.sin(y)))),c){m=c*Math.cos(f+E),M=c*Math.sin(f+E),x=c*Math.cos(s-E),b=c*Math.sin(s-E);var C=Math.abs(s-f-2*E)<=Fo?0:1;if(E&&yu(m,M,x,b)===p^C){var z=(f+s)/2;m=c*Math.cos(z),M=c*Math.sin(z),x=b=null}}else m=M=0;if(n){_=n*Math.cos(s-N),w=n*Math.sin(s-N),S=n*Math.cos(f+N),k=n*Math.sin(f+N);var L=Math.abs(f-s+2*N)<=Fo?0:1;if(N&&yu(_,w,S,k)===1-p^L){var q=(f+s)/2;_=n*Math.cos(q),w=n*Math.sin(q),S=k=null}}else _=w=0;if(h>Uo&&(g=Math.min(Math.abs(c-n)/2,+i.apply(this,arguments)))>.001){v=c>n^p?0:1;var T=g,R=g;if(Fo>h){var D=null==S?[_,w]:null==x?[m,M]:Re([m,M],[S,k],[x,b],[_,w]),P=m-D[0],U=M-D[1],j=x-D[0],F=b-D[1],H=1/Math.sin(Math.acos((P*j+U*F)/(Math.sqrt(P*P+U*U)*Math.sqrt(j*j+F*F)))/2),O=Math.sqrt(D[0]*D[0]+D[1]*D[1]);R=Math.min(g,(n-O)/(H-1)),T=Math.min(g,(c-O)/(H+1))}if(null!=x){var I=mu(null==S?[_,w]:[S,k],[m,M],c,T,p),Y=mu([x,b],[_,w],c,T,p);g===T?A.push("M",I[0],"A",T,",",T," 0 0,",v," ",I[1],"A",c,",",c," 0 ",1-p^yu(I[1][0],I[1][1],Y[1][0],Y[1][1]),",",p," ",Y[1],"A",T,",",T," 0 0,",v," ",Y[0]):A.push("M",I[0],"A",T,",",T," 0 1,",v," ",Y[0])}else A.push("M",m,",",M);if(null!=S){var Z=mu([m,M],[S,k],n,-R,p),V=mu([_,w],null==x?[m,M]:[x,b],n,-R,p);g===R?A.push("L",V[0],"A",R,",",R," 0 0,",v," ",V[1],"A",n,",",n," 0 ",p^yu(V[1][0],V[1][1],Z[1][0],Z[1][1]),",",1-p," ",Z[1],"A",R,",",R," 0 0,",v," ",Z[0]):A.push("L",V[0],"A",R,",",R," 0 0,",v," ",Z[0])}else A.push("L",_,",",w)}else A.push("M",m,",",M),null!=x&&A.push("A",c,",",c," 0 ",C,",",p," ",x,",",b),A.push("L",_,",",w),null!=S&&A.push("A",n,",",n," 0 ",L,",",1-p," ",S,",",k);return A.push("Z"),A.join("")}function t(n,t){return"M0,"+n+"A"+n+","+n+" 0 1,"+t+" 0,"+-n+"A"+n+","+n+" 0 1,"+t+" 0,"+n}var e=hu,r=pu,i=su,u=ql,o=gu,a=vu,l=du;return n.innerRadius=function(t){return arguments.length?(e=En(t),n):e},n.outerRadius=function(t){return arguments.length?(r=En(t),n):r},n.cornerRadius=function(t){return arguments.length?(i=En(t),n):i},n.padRadius=function(t){return arguments.length?(u=t==ql?ql:En(t),n):u},n.startAngle=function(t){return arguments.length?(o=En(t),n):o},n.endAngle=function(t){return arguments.length?(a=En(t),n):a},n.padAngle=function(t){return arguments.length?(l=En(t),n):l},n.centroid=function(){var n=(+e.apply(this,arguments)+ +r.apply(this,arguments))/2,t=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-Io;return[Math.cos(t)*n,Math.sin(t)*n]},n};var ql="auto";ao.svg.line=function(){return Mu(m)};var Tl=ao.map({linear:xu,"linear-closed":bu,step:_u,"step-before":wu,"step-after":Su,basis:zu,"basis-open":Lu,"basis-closed":qu,bundle:Tu,cardinal:Eu,"cardinal-open":ku,"cardinal-closed":Nu,monotone:Fu});Tl.forEach(function(n,t){t.key=n,t.closed=/-closed$/.test(n)});var Rl=[0,2/3,1/3,0],Dl=[0,1/3,2/3,0],Pl=[0,1/6,2/3,1/6];ao.svg.line.radial=function(){var n=Mu(Hu);return n.radius=n.x,delete n.x,n.angle=n.y,delete n.y,n},wu.reverse=Su,Su.reverse=wu,ao.svg.area=function(){return Ou(m)},ao.svg.area.radial=function(){var n=Ou(Hu);return n.radius=n.x,delete n.x,n.innerRadius=n.x0,delete n.x0,n.outerRadius=n.x1,delete n.x1,n.angle=n.y,delete n.y,n.startAngle=n.y0,delete n.y0,n.endAngle=n.y1,delete n.y1,n},ao.svg.chord=function(){function n(n,a){var l=t(this,u,n,a),c=t(this,o,n,a);return"M"+l.p0+r(l.r,l.p1,l.a1-l.a0)+(e(l,c)?i(l.r,l.p1,l.r,l.p0):i(l.r,l.p1,c.r,c.p0)+r(c.r,c.p1,c.a1-c.a0)+i(c.r,c.p1,l.r,l.p0))+"Z"}function t(n,t,e,r){var i=t.call(n,e,r),u=a.call(n,i,r),o=l.call(n,i,r)-Io,f=c.call(n,i,r)-Io;return{r:u,a0:o,a1:f,p0:[u*Math.cos(o),u*Math.sin(o)],p1:[u*Math.cos(f),u*Math.sin(f)]}}function e(n,t){return n.a0==t.a0&&n.a1==t.a1}function r(n,t,e){return"A"+n+","+n+" 0 "+ +(e>Fo)+",1 "+t}function i(n,t,e,r){return"Q 0,0 "+r}var u=Me,o=xe,a=Iu,l=gu,c=vu;return n.radius=function(t){return arguments.length?(a=En(t),n):a},n.source=function(t){return arguments.length?(u=En(t),n):u},n.target=function(t){return arguments.length?(o=En(t),n):o},n.startAngle=function(t){return arguments.length?(l=En(t),n):l},n.endAngle=function(t){return arguments.length?(c=En(t),n):c},n},ao.svg.diagonal=function(){function n(n,i){var u=t.call(this,n,i),o=e.call(this,n,i),a=(u.y+o.y)/2,l=[u,{x:u.x,y:a},{x:o.x,y:a},o];return l=l.map(r),"M"+l[0]+"C"+l[1]+" "+l[2]+" "+l[3]}var t=Me,e=xe,r=Yu;return n.source=function(e){return arguments.length?(t=En(e),n):t},n.target=function(t){return arguments.length?(e=En(t),n):e},n.projection=function(t){return arguments.length?(r=t,n):r},n},ao.svg.diagonal.radial=function(){var n=ao.svg.diagonal(),t=Yu,e=n.projection;return n.projection=function(n){return arguments.length?e(Zu(t=n)):t},n},ao.svg.symbol=function(){function n(n,r){return(Ul.get(t.call(this,n,r))||$u)(e.call(this,n,r))}var t=Xu,e=Vu;return n.type=function(e){return arguments.length?(t=En(e),n):t},n.size=function(t){return arguments.length?(e=En(t),n):e},n};var Ul=ao.map({circle:$u,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*Fl)),e=t*Fl;return"M0,"+-t+"L"+e+",0 0,"+t+" "+-e+",0Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}});ao.svg.symbolTypes=Ul.keys();var jl=Math.sqrt(3),Fl=Math.tan(30*Yo);Co.transition=function(n){for(var t,e,r=Hl||++Zl,i=Ku(n),u=[],o=Ol||{time:Date.now(),ease:Nr,delay:0,duration:250},a=-1,l=this.length;++au;u++){i.push(t=[]);for(var e=this[u],a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return Wu(i,this.namespace,this.id)},Yl.tween=function(n,t){var e=this.id,r=this.namespace;return arguments.length<2?this.node()[r][e].tween.get(n):Y(this,null==t?function(t){t[r][e].tween.remove(n)}:function(i){i[r][e].tween.set(n,t)})},Yl.attr=function(n,t){function e(){this.removeAttribute(a)}function r(){this.removeAttributeNS(a.space,a.local)}function i(n){return null==n?e:(n+="",function(){var t,e=this.getAttribute(a);return e!==n&&(t=o(e,n),function(n){this.setAttribute(a,t(n))})})}function u(n){return null==n?r:(n+="",function(){var t,e=this.getAttributeNS(a.space,a.local);return e!==n&&(t=o(e,n),function(n){this.setAttributeNS(a.space,a.local,t(n))})})}if(arguments.length<2){for(t in n)this.attr(t,n[t]);return this}var o="transform"==n?$r:Mr,a=ao.ns.qualify(n);return Ju(this,"attr."+n,t,a.local?u:i)},Yl.attrTween=function(n,t){function e(n,e){var r=t.call(this,n,e,this.getAttribute(i));return r&&function(n){this.setAttribute(i,r(n))}}function r(n,e){var r=t.call(this,n,e,this.getAttributeNS(i.space,i.local));return r&&function(n){this.setAttributeNS(i.space,i.local,r(n))}}var i=ao.ns.qualify(n);return this.tween("attr."+n,i.local?r:e)},Yl.style=function(n,e,r){function i(){this.style.removeProperty(n)}function u(e){return null==e?i:(e+="",function(){var i,u=t(this).getComputedStyle(this,null).getPropertyValue(n);return u!==e&&(i=Mr(u,e),function(t){this.style.setProperty(n,i(t),r)})})}var o=arguments.length;if(3>o){if("string"!=typeof n){2>o&&(e="");for(r in n)this.style(r,n[r],e);return this}r=""}return Ju(this,"style."+n,e,u)},Yl.styleTween=function(n,e,r){function i(i,u){var o=e.call(this,i,u,t(this).getComputedStyle(this,null).getPropertyValue(n));return o&&function(t){this.style.setProperty(n,o(t),r)}}return arguments.length<3&&(r=""),this.tween("style."+n,i)},Yl.text=function(n){return Ju(this,"text",n,Gu)},Yl.remove=function(){var n=this.namespace;return this.each("end.transition",function(){var t;this[n].count<2&&(t=this.parentNode)&&t.removeChild(this)})},Yl.ease=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].ease:("function"!=typeof n&&(n=ao.ease.apply(ao,arguments)),Y(this,function(r){r[e][t].ease=n}))},Yl.delay=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].delay:Y(this,"function"==typeof n?function(r,i,u){r[e][t].delay=+n.call(r,r.__data__,i,u)}:(n=+n,function(r){r[e][t].delay=n}))},Yl.duration=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].duration:Y(this,"function"==typeof n?function(r,i,u){r[e][t].duration=Math.max(1,n.call(r,r.__data__,i,u))}:(n=Math.max(1,n),function(r){r[e][t].duration=n}))},Yl.each=function(n,t){var e=this.id,r=this.namespace;if(arguments.length<2){var i=Ol,u=Hl;try{Hl=e,Y(this,function(t,i,u){Ol=t[r][e],n.call(t,t.__data__,i,u)})}finally{Ol=i,Hl=u}}else Y(this,function(i){var u=i[r][e];(u.event||(u.event=ao.dispatch("start","end","interrupt"))).on(n,t)});return this},Yl.transition=function(){for(var n,t,e,r,i=this.id,u=++Zl,o=this.namespace,a=[],l=0,c=this.length;c>l;l++){a.push(n=[]);for(var t=this[l],f=0,s=t.length;s>f;f++)(e=t[f])&&(r=e[o][i],Qu(e,f,o,u,{time:r.time,ease:r.ease,delay:r.delay+r.duration,duration:r.duration})),n.push(e)}return Wu(a,o,u)},ao.svg.axis=function(){function n(n){n.each(function(){var n,c=ao.select(this),f=this.__chart__||e,s=this.__chart__=e.copy(),h=null==l?s.ticks?s.ticks.apply(s,a):s.domain():l,p=null==t?s.tickFormat?s.tickFormat.apply(s,a):m:t,g=c.selectAll(".tick").data(h,s),v=g.enter().insert("g",".domain").attr("class","tick").style("opacity",Uo),d=ao.transition(g.exit()).style("opacity",Uo).remove(),y=ao.transition(g.order()).style("opacity",1),M=Math.max(i,0)+o,x=Zi(s),b=c.selectAll(".domain").data([0]),_=(b.enter().append("path").attr("class","domain"),ao.transition(b));v.append("line"),v.append("text");var w,S,k,N,E=v.select("line"),A=y.select("line"),C=g.select("text").text(p),z=v.select("text"),L=y.select("text"),q="top"===r||"left"===r?-1:1;if("bottom"===r||"top"===r?(n=no,w="x",k="y",S="x2",N="y2",C.attr("dy",0>q?"0em":".71em").style("text-anchor","middle"),_.attr("d","M"+x[0]+","+q*u+"V0H"+x[1]+"V"+q*u)):(n=to,w="y",k="x",S="y2",N="x2",C.attr("dy",".32em").style("text-anchor",0>q?"end":"start"),_.attr("d","M"+q*u+","+x[0]+"H0V"+x[1]+"H"+q*u)),E.attr(N,q*i),z.attr(k,q*M),A.attr(S,0).attr(N,q*i),L.attr(w,0).attr(k,q*M),s.rangeBand){var T=s,R=T.rangeBand()/2;f=s=function(n){return T(n)+R}}else f.rangeBand?f=s:d.call(n,s,f);v.call(n,f,s),y.call(n,s,s)})}var t,e=ao.scale.linear(),r=Vl,i=6,u=6,o=3,a=[10],l=null;return n.scale=function(t){return arguments.length?(e=t,n):e},n.orient=function(t){return arguments.length?(r=t in Xl?t+"":Vl,n):r},n.ticks=function(){return arguments.length?(a=co(arguments),n):a},n.tickValues=function(t){return arguments.length?(l=t,n):l},n.tickFormat=function(e){return arguments.length?(t=e,n):t},n.tickSize=function(t){var e=arguments.length;return e?(i=+t,u=+arguments[e-1],n):i},n.innerTickSize=function(t){return arguments.length?(i=+t,n):i},n.outerTickSize=function(t){return arguments.length?(u=+t,n):u},n.tickPadding=function(t){return arguments.length?(o=+t,n):o},n.tickSubdivide=function(){return arguments.length&&n},n};var Vl="bottom",Xl={top:1,right:1,bottom:1,left:1};ao.svg.brush=function(){function n(t){t.each(function(){var t=ao.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",u).on("touchstart.brush",u),o=t.selectAll(".background").data([0]);o.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),t.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var a=t.selectAll(".resize").data(v,m);a.exit().remove(),a.enter().append("g").attr("class",function(n){return"resize "+n}).style("cursor",function(n){return $l[n]}).append("rect").attr("x",function(n){return/[ew]$/.test(n)?-3:null}).attr("y",function(n){return/^[ns]/.test(n)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),a.style("display",n.empty()?"none":null);var l,s=ao.transition(t),h=ao.transition(o);c&&(l=Zi(c),h.attr("x",l[0]).attr("width",l[1]-l[0]),r(s)),f&&(l=Zi(f),h.attr("y",l[0]).attr("height",l[1]-l[0]),i(s)),e(s)})}function e(n){n.selectAll(".resize").attr("transform",function(n){return"translate("+s[+/e$/.test(n)]+","+h[+/^s/.test(n)]+")"})}function r(n){n.select(".extent").attr("x",s[0]),n.selectAll(".extent,.n>rect,.s>rect").attr("width",s[1]-s[0])}function i(n){n.select(".extent").attr("y",h[0]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",h[1]-h[0])}function u(){function u(){32==ao.event.keyCode&&(C||(M=null,L[0]-=s[1],L[1]-=h[1],C=2),S())}function v(){32==ao.event.keyCode&&2==C&&(L[0]+=s[1],L[1]+=h[1],C=0,S())}function d(){var n=ao.mouse(b),t=!1;x&&(n[0]+=x[0],n[1]+=x[1]),C||(ao.event.altKey?(M||(M=[(s[0]+s[1])/2,(h[0]+h[1])/2]),L[0]=s[+(n[0]f?(i=r,r=f):i=f),v[0]!=r||v[1]!=i?(e?a=null:o=null,v[0]=r,v[1]=i,!0):void 0}function m(){d(),k.style("pointer-events","all").selectAll(".resize").style("display",n.empty()?"none":null),ao.select("body").style("cursor",null),q.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),z(),w({type:"brushend"})}var M,x,b=this,_=ao.select(ao.event.target),w=l.of(b,arguments),k=ao.select(b),N=_.datum(),E=!/^(n|s)$/.test(N)&&c,A=!/^(e|w)$/.test(N)&&f,C=_.classed("extent"),z=W(b),L=ao.mouse(b),q=ao.select(t(b)).on("keydown.brush",u).on("keyup.brush",v);if(ao.event.changedTouches?q.on("touchmove.brush",d).on("touchend.brush",m):q.on("mousemove.brush",d).on("mouseup.brush",m),k.interrupt().selectAll("*").interrupt(),C)L[0]=s[0]-L[0],L[1]=h[0]-L[1];else if(N){var T=+/w$/.test(N),R=+/^n/.test(N);x=[s[1-T]-L[0],h[1-R]-L[1]],L[0]=s[T],L[1]=h[R]}else ao.event.altKey&&(M=L.slice());k.style("pointer-events","none").selectAll(".resize").style("display",null),ao.select("body").style("cursor",_.style("cursor")),w({type:"brushstart"}),d()}var o,a,l=N(n,"brushstart","brush","brushend"),c=null,f=null,s=[0,0],h=[0,0],p=!0,g=!0,v=Bl[0];return n.event=function(n){n.each(function(){var n=l.of(this,arguments),t={x:s,y:h,i:o,j:a},e=this.__chart__||t;this.__chart__=t,Hl?ao.select(this).transition().each("start.brush",function(){o=e.i,a=e.j,s=e.x,h=e.y,n({type:"brushstart"})}).tween("brush:brush",function(){var e=xr(s,t.x),r=xr(h,t.y);return o=a=null,function(i){s=t.x=e(i),h=t.y=r(i),n({type:"brush",mode:"resize"})}}).each("end.brush",function(){o=t.i,a=t.j,n({type:"brush",mode:"resize"}),n({type:"brushend"})}):(n({type:"brushstart"}),n({type:"brush",mode:"resize"}),n({type:"brushend"}))})},n.x=function(t){return arguments.length?(c=t,v=Bl[!c<<1|!f],n):c},n.y=function(t){return arguments.length?(f=t,v=Bl[!c<<1|!f],n):f},n.clamp=function(t){return arguments.length?(c&&f?(p=!!t[0],g=!!t[1]):c?p=!!t:f&&(g=!!t),n):c&&f?[p,g]:c?p:f?g:null},n.extent=function(t){var e,r,i,u,l;return arguments.length?(c&&(e=t[0],r=t[1],f&&(e=e[0],r=r[0]),o=[e,r],c.invert&&(e=c(e),r=c(r)),e>r&&(l=e,e=r,r=l),e==s[0]&&r==s[1]||(s=[e,r])),f&&(i=t[0],u=t[1],c&&(i=i[1],u=u[1]),a=[i,u],f.invert&&(i=f(i),u=f(u)),i>u&&(l=i,i=u,u=l),i==h[0]&&u==h[1]||(h=[i,u])),n):(c&&(o?(e=o[0],r=o[1]):(e=s[0],r=s[1],c.invert&&(e=c.invert(e),r=c.invert(r)),e>r&&(l=e,e=r,r=l))),f&&(a?(i=a[0],u=a[1]):(i=h[0],u=h[1],f.invert&&(i=f.invert(i),u=f.invert(u)),i>u&&(l=i,i=u,u=l))),c&&f?[[e,i],[r,u]]:c?[e,r]:f&&[i,u])},n.clear=function(){return n.empty()||(s=[0,0],h=[0,0],o=a=null),n},n.empty=function(){return!!c&&s[0]==s[1]||!!f&&h[0]==h[1]},ao.rebind(n,l,"on")};var $l={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Bl=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Wl=ga.format=xa.timeFormat,Jl=Wl.utc,Gl=Jl("%Y-%m-%dT%H:%M:%S.%LZ");Wl.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?eo:Gl,eo.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},eo.toString=Gl.toString,ga.second=On(function(n){return new va(1e3*Math.floor(n/1e3))},function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))},function(n){return n.getSeconds()}),ga.seconds=ga.second.range,ga.seconds.utc=ga.second.utc.range,ga.minute=On(function(n){return new va(6e4*Math.floor(n/6e4))},function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))},function(n){return n.getMinutes()}),ga.minutes=ga.minute.range,ga.minutes.utc=ga.minute.utc.range,ga.hour=On(function(n){var t=n.getTimezoneOffset()/60;return new va(36e5*(Math.floor(n/36e5-t)+t))},function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))},function(n){return n.getHours()}),ga.hours=ga.hour.range,ga.hours.utc=ga.hour.utc.range,ga.month=On(function(n){return n=ga.day(n),n.setDate(1),n},function(n,t){n.setMonth(n.getMonth()+t)},function(n){return n.getMonth()}),ga.months=ga.month.range,ga.months.utc=ga.month.utc.range;var Kl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Ql=[[ga.second,1],[ga.second,5],[ga.second,15],[ga.second,30],[ga.minute,1],[ga.minute,5],[ga.minute,15],[ga.minute,30],[ga.hour,1],[ga.hour,3],[ga.hour,6],[ga.hour,12],[ga.day,1],[ga.day,2],[ga.week,1],[ga.month,1],[ga.month,3],[ga.year,1]],nc=Wl.multi([[".%L",function(n){return n.getMilliseconds()}],[":%S",function(n){return n.getSeconds()}],["%I:%M",function(n){return n.getMinutes()}],["%I %p",function(n){return n.getHours()}],["%a %d",function(n){return n.getDay()&&1!=n.getDate()}],["%b %d",function(n){return 1!=n.getDate()}],["%B",function(n){return n.getMonth()}],["%Y",zt]]),tc={range:function(n,t,e){return ao.range(Math.ceil(n/e)*e,+t,e).map(io)},floor:m,ceil:m};Ql.year=ga.year,ga.scale=function(){return ro(ao.scale.linear(),Ql,nc)};var ec=Ql.map(function(n){return[n[0].utc,n[1]]}),rc=Jl.multi([[".%L",function(n){return n.getUTCMilliseconds()}],[":%S",function(n){return n.getUTCSeconds()}],["%I:%M",function(n){return n.getUTCMinutes()}],["%I %p",function(n){return n.getUTCHours()}],["%a %d",function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],["%b %d",function(n){return 1!=n.getUTCDate()}],["%B",function(n){return n.getUTCMonth()}],["%Y",zt]]);ec.year=ga.year.utc,ga.scale.utc=function(){return ro(ao.scale.linear(),ec,rc)},ao.text=An(function(n){return n.responseText}),ao.json=function(n,t){return Cn(n,"application/json",uo,t)},ao.html=function(n,t){return Cn(n,"text/html",oo,t)},ao.xml=An(function(n){return n.responseXML}),"function"==typeof define&&define.amd?(this.d3=ao,define(ao)):"object"==typeof module&&module.exports?module.exports=ao:this.d3=ao}(); \ No newline at end of file diff --git a/dist/vocabulary/implementation/webvowl/js/webvowl.app.js b/dist/vocabulary/implementation/webvowl/js/webvowl.app.js new file mode 100644 index 0000000..f3eba7c --- /dev/null +++ b/dist/vocabulary/implementation/webvowl/js/webvowl.app.js @@ -0,0 +1,5 @@ +webvowl.app=function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}({0:function(e,t,n){n(319),n(321),e.exports=n(322)},6:function(e,t){e.exports=d3},91:function(e,t,n){function o(e){return null==e?void 0===e?s:l:d&&d in Object(e)?r(e):a(e)}var i=n(92),r=n(95),a=n(96),l="[object Null]",s="[object Undefined]",d=i?i.toStringTag:void 0;e.exports=o},92:function(e,t,n){var o=n(93),i=o.Symbol;e.exports=i},93:function(e,t,n){var o=n(94),i="object"==typeof self&&self&&self.Object===Object&&self,r=o||i||Function("return this")();e.exports=r},94:function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},95:function(e,t,n){function o(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var o=!0}catch(e){}var i=l.call(e);return o&&(t?e[s]=n:delete e[s]),i}var i=n(92),r=Object.prototype,a=r.hasOwnProperty,l=r.toString,s=i?i.toStringTag:void 0;e.exports=o},96:function(e,t){function n(e){return i.call(e)}var o=Object.prototype,i=o.toString;e.exports=n},103:function(e,t,n){function o(e){return"symbol"==typeof e||r(e)&&i(e)==a}var i=n(91),r=n(104),a="[object Symbol]";e.exports=o},104:function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},112:function(e,t){var n=Array.isArray;e.exports=n},154:function(e,t){function n(e,t){for(var n=-1,o=null==e?0:e.length,i=Array(o);++n0?(g.classed("hidden",!1),h.classed("hidden",!1),k.updateScrollButtonVisibility()):(g.classed("hidden",!0),h.classed("hidden",!0)),_.updateElementWidth()}function i(){var e=window.innerHeight-40,n=e,o=e-30,i=150;if(n<150)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").classed("hidden",!0),t.select("#zoomInButton").classed("hidden",!0),void t.select("#centerGraphButton").classed("hidden",!0);t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").classed("hidden",!1),t.select("#zoomInButton").classed("hidden",!1),t.select("#centerGraphButton").classed("hidden",!1);var r=o-20,a=r-20;if(n<280)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),void t.select("#centerGraphButton").style("top",a+"px");var l=o-i;r=l-20,a=r-20,t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),t.select("#centerGraphButton").style("top",a+"px"),t.select("#zoomSliderParagraph").style("top",l+"px")}function r(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function a(){var e,t,n=-1,o=/(?:\b(MS)?IE\s+|\bTrident\/7\.0;.*\s+rv:|\bEdge\/)(\d+)/.test(navigator.userAgent);if(o)return n=parseInt("12");var i=/Trident.*rv[ :]*11\./.test(navigator.userAgent);return i?n=parseInt("11"):("Microsoft Internet Explorer"===navigator.appName?(e=navigator.userAgent,t=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))):"Netscape"===navigator.appName&&(e=navigator.userAgent,t=new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))),n)}var l=1,s={},d=webvowl.graph(),c=d.graphOptions(),p=webvowl.util.languageTools(),u="#graph",f=n(323)(d),h=n(325)(d),g=n(326)(d),v=n(327)(d),m=n(328)(d),y=n(329)(d),b=n(333)(d),x=n(334)(d),w=n(335)(d),k=n(336)(d),C=n(337)(d),L=n(338)(d),M=n(339)(d),_=n(340)(d),E=n(341)(d),O=n(342)(d),S=n(343)(d),F=n(344)(d),I=webvowl.modules.colorExternalsSwitch(d),T=webvowl.modules.compactNotationSwitch(d),A=webvowl.modules.datatypeFilter(),P=webvowl.modules.disjointFilter(),B=webvowl.modules.focuser(d),D=webvowl.modules.emptyLiteralFilter(),R=webvowl.modules.nodeDegreeFilter(h),W=webvowl.modules.nodeScalingSwitch(d),N=webvowl.modules.objectPropertyFilter(),H=webvowl.modules.pickAndPin(),j=webvowl.modules.selectionDetailsDisplayer(L.updateSelectionInformation),z=webvowl.modules.statistics(),V=webvowl.modules.subclassFilter(),U=webvowl.modules.setOperatorFilter();return s.getOptions=function(){return webvowl.opts},s.getGraph=function(){return webvowl.gr},s.initialize=function(){window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)},window.cancelAnimationFrame=window.cancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)},c.graphContainerSelector(u),c.selectionModules().push(B),c.selectionModules().push(j),c.selectionModules().push(H),c.filterModules().push(D),c.filterModules().push(z),c.filterModules().push(R),c.filterModules().push(A),c.filterModules().push(N),c.filterModules().push(V),c.filterModules().push(P),c.filterModules().push(U),c.filterModules().push(W),c.filterModules().push(T),c.filterModules().push(I),t.select(window).on("resize",o),f.setup(),g.setup(),h.setup(A,N,V,P,U,R),v.setup(H,W,T,I),b.setup(),L.setup(),O.setup(),M.setup(),_.setup(),m.setup();var n=a();if(n>0&&n<=11)console.log("Agent version "+n),console.log("This agent is not supported"),t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!0),t.select("#optionsArea").classed("hidden",!0),t.select("#logo").classed("hidden",!0);else{t.select("#logo").classed("hidden",!1),12===n?(t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!1)):t.select("#browserCheck").classed("hidden",!0),x.setup([g,h,v,B,j,b]),w.setup(),k.setup(),C.setup(),c.literalFilter(D),c.nodeDegreeFilter(R),c.loadingModule(O),c.filterMenu(h),c.modeMenu(v),c.gravityMenu(g),c.pausedMenu(b),c.pickAndPinModule(H),c.resetMenu(x),c.searchMenu(w),c.ontologyMenu(y),c.navigationMenu(k),c.sidebar(L),c.leftSidebar(M),c.editSidebar(_),c.exportMenu(f),c.graphObject(d),c.zoomSlider(C),c.warningModule(S),c.directInputModule(F),c.datatypeFilter(A),c.objectPropertyFilter(N),c.subclassFilter(V),c.setOperatorFilter(U),c.disjointPropertyFilter(P),c.focuserModule(B),c.colorExternalsModule(I),c.compactNotationModule(T),y.setup(e),E.setup(),M.showSidebar(0),M.hideCollapseButton(!0),d.start();var i=t.select("#modeOfOperationString");i.style("font-size","0.6em"),i.style("font-style","italic"),o();var r,l=d.options().width(),s=d.options().height();r=Math.min(l,s)/1e3;var p=!0;p===!1&&d.setForceTickFunctionWithFPS(),d.setDefaultZoom(r),t.selectAll(".debugOption").classed("hidden",p);var G=t.select("body");if(t.select(document).on("keydown",function(e){8===t.event.keyCode&&t.event.target===G.node()&&t.event.preventDefault(),t.event.ctrlKey&&t.event.shiftKey&&68===t.event.keyCode&&(d.options().executeHiddenDebugFeatuers(),t.event.preventDefault())}),t.select("#maxLabelWidthSliderOption")){var q=!d.options().dynamicLabelWidth();t.select("#maxLabelWidthSlider").node().disabled=q,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",q),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",q)}t.select("#blockGraphInteractions").style("position","absolute").style("top","0").style("background-color","#bdbdbd").style("opacity","0.5").style("pointer-events","auto").style("width",d.options().width()+"px").style("height",d.options().height()+"px").on("click",function(){t.event.preventDefault(),t.event.stopPropagation()}).on("dblclick",function(){t.event.preventDefault(),t.event.stopPropagation()}),t.select("#direct-text-input").on("click",function(){F.setDirectInputMode()}),t.select("#blockGraphInteractions").node().draggable=!1,c.prefixModule(webvowl.util.prefixTools(d)),o(),L.updateOntologyInformation(void 0,z),O.parseUrlAndLoadOntology(),c.debugMenu(m),m.updateSettings(),t.select("#reloadSvgIcon").on("click",function(){return t.select("#reloadSvgIcon").node().disabled===!0?void d.options().ontologyMenu().clearCachedVersion():(t.select("#reloadCachedOntology").classed("hidden",!0),void d.options().ontologyMenu().reloadCachedOntology())}),webvowl.opts=c,webvowl.gr=d}},s}}).call(t,n(6))},323:function(e,t,n){(function(t){e.exports=function(e){function o(){var n=M.requestExport(),o=M.resultingTTL_Content();if(console.log("Exporter was successful: "+n),n){var i="NewOntology",r="data:text/json;charset=utf-8,"+encodeURIComponent(o);x.attr("href",r).attr("download",i+".ttl")}else console.log("ShowWarning!"),e.options().warningModule().showExporterWarning(),console.log("Stay on the page! "+window.location.href),x.attr("href",window.location.href),t.event.preventDefault()}function i(){t.select("#exportedUrl").node().focus(),t.select("#exportedUrl").node().select(),document.execCommand("copy"),e.options().navigationMenu().hideAllMenus(),t.event.preventDefault()}function r(e,t){var n=0,o="opts=";for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],a=t[i];r!==a&&(o+=i+"="+a+";",n++)}return o+="",0===n?"":o}function a(){e.options().navigationMenu().hideAllMenus();var n,o,i,r=t.select(e.options().graphContainerSelector()).select("svg");s(),u(),n=r.attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML,n="\n"+n,o=l(n),i="data:image/svg+xml;base64,"+btoa(o),m.attr("href",i).attr("download",y+".svg"),f(),h(),e.lazyRefresh()}function l(e){var t,n,o,i=[],r=e.length;for(t=0;t0){var J=z.node().getPointAtLength(O-18),Y=J.x-10*j,X=J.y+10*H;X*=-1;var K="black";Z.indexOf("A")>-1&&(Z="$\\forall$"),Z.indexOf("E")>-1&&(Z="$\\exists$"),i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily },text="+K+"] at ("+Y+"pt, "+X+"pt) (cardinalityText"+a+") {"+Z+"};\n "}if(S.property().inverse()){z=S.pathObj(),O=Math.floor(z.node().getTotalLength());var Q=z.node().getPointAtLength(4),ee=z.node().getPointAtLength(0),te=z.node().getPointAtLength(6);D=Q.x,R=Q.y,W=ee.x,N=ee.y,H=W-D,j=N-R,_=Math.sqrt(H*H+j*j),H/=_,j/=_,E=-1*Math.atan2(j,H)*(180/Math.PI),E-=90,h=te.x,g=te.y,1!==S.layers().length||S.loops()?(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_marker"+a+") {};\n "):(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_single_marker"+a+") {};\n ")}}}for(l.each(function(e){u=e.x,f=-e.y,r=e.labelForCurrentLanguage(),void 0===r&&(r="");var t="owlClass";"owl:Thing"!==e.type()&&"owl:Nothing"!==e.type()||(t="owlThing"),"owl:equivalentClass"===e.type()&&(t="owlEquivalentClass");var n="";if(e.textBlock){var o=e.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===o&&(n=", text=black"),"rgb(255, 255, 255)"===o&&(n=", text=white");var l=e.textBlock()._textBlock().node().children;if(l[0]){r=l[0].innerHTML,e.individuals()&&e.individuals().length===parseInt(l[0].innerHTML)&&(r="{\\color{gray} "+l[0].innerHTML+" }");for(var s=1;s-1&&(i+="\\definecolor{Node"+a+"_COLOR}{HTML}{CCCCCC} \n ",d=", fill=Node"+a+"_COLOR ");var g=u-7,v=u+7,m=f+20;"owl:unionOf"===e.type()&&"owl:disjointUnionOf"===e.type()||(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:unionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[text=black] at ("+u+"pt, "+f+"pt) (unionText13) {$\\mathbf{\\cup}$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:disjointUnionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (disjointUnoinText"+a+") {1};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:complementOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+u+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{18pt}{18}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (unionText13) {$\\neg$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:intersectionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\filldraw[even odd rule,fill=owlClassColor,line width=1pt] ("+g+"pt, "+f+"pt) circle (12.5pt) ("+v+"pt, "+f+"pt) circle (12.5pt);\n ",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (intersectionText"+a+") {$\\cap$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),a++}),a=0;a-1?"\\\\ {\\small "+le[se].innerHTML+" }":"\\\\ "+le[se].innerHTML}}}if("setOperatorProperty"!==ne.type()){var ce="owlObjectProperty";"owl:DatatypeProperty"===ne.type()&&(ce="owlDatatypeProperty"),"rdfs:subClassOf"===ne.type()&&(ce="rdfsSubClassOf"),"rdf:Property"===ne.type()&&(ce="rdfProperty");var pe="";if(ne.backgroundColor()){var ue=ne.backgroundColor();ue.toUpperCase(),ue=ue.slice(1,ue.length),i+="\\definecolor{property"+a+"_COLOR}{HTML}{"+ue+"} \n ",pe=", fill=property"+a+"_COLOR "}ne.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{property"+a+"_COLOR}{HTML}{CCCCCC} \n ",pe=", fill=property"+a+"_COLOR ");var fe="",he=ne.textWidth();if(fe=",minimum width="+he+"pt","owl:disjointWith"!==ne.type())if(ne.inverse()){var ge=ne.inverse(),ve=ge.labelForCurrentLanguage();void 0===ve&&(ve="");var me="";if(ge.textBlock&&ge.textBlock()){var ye=ge.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===ye&&(me=", text=black"),"rgb(255, 255, 255)"===ye&&(me=", text=white");var be=ge.textBlock()._textBlock().node().children;if(be[0]){ve=be[0].innerHTML;for(var xe=1;xe-1?"\\\\ {\\small "+be[xe].innerHTML+" }":"\\\\ "+be[xe].innerHTML; +}}}var ke="owlObjectProperty",Ce="";if(ge.backgroundColor()){var Le=ge.backgroundColor();Le.toUpperCase(),Le=Le.slice(1,Le.length),i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{"+Le+"} \n ",Ce=", fill=inv_property"+a+"_COLOR "}ge.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{CCCCCC} \n ",Ce=", fill=inv_property"+a+"_COLOR ");var Me="",_e=ge.textWidth(),Ee=ie-14,Oe=ie+14;Me=",minimum width="+_e+"pt",i+="% Createing Inverse Property \n",i+="\\node["+ke+" "+Me+" "+Ce+" "+me+"] at ("+oe+"pt, "+Ee+"pt) (property"+a+") {"+ve.replaceAll("_","\\_ ")+"};\n",i+="% "+ke+" vs "+ce+"\n",i+="% "+Me+" vs "+fe+"\n",i+="% "+Ce+" vs "+pe+"\n",i+="% "+me+" vs "+re+"\n",i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+Oe+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"}else i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n";else{var Se=oe-12,Fe=oe+12,Ie=ie-20;i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (Node"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Se+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Fe+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+re+"] at ("+oe+"pt, "+Ie+"pt) (Node_text"+a+") {",e.options().compactNotation()===!1&&(i+="(disjoint)"),i+="};\n"}}}i+="\\end{tikzpicture}\n}\n \\end{center}\n";var Te="data:text/json;charset=utf-8,"+encodeURIComponent(i);w.attr("href",Te).attr("download",y+".tex")}var m,y,b,x,w,k,C,L={},M=n(324)(e);String.prototype.replaceAll=function(e,t){var n=this;return n.split(e).join(t)},L.setup=function(){m=t.select("#exportSvg").on("click",a),b=t.select("#exportJson").on("click",g),k=t.select("#copyBt").on("click",i),w=t.select("#exportTex").on("click",v),x=t.select("#exportTurtle").on("click",o);var n=t.select("#m_export");n.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries(),L.exportAsUrl()})},L.setFilename=function(e){y=e||"export"},L.setJsonText=function(e){C=e},L.exportAsUrl=function(){var n={};n.sidebar=e.options().sidebar().getSidebarVisibility();var o=e.options().filterMenu().getDefaultDegreeValue(),i=e.options().filterMenu().getDegreeSliderValue();parseInt(o)===parseInt(i)?n.doc=-1:n.doc=i,n.cd=e.options().classDistance(),n.dd=e.options().datatypeDistance(),e.editorMode()===!0?n.editorMode="true":n.editorMode="false",n.filter_datatypes=String(e.options().filterMenu().getCheckBoxValue("datatypeFilterCheckbox")),n.filter_sco=String(e.options().filterMenu().getCheckBoxValue("subclassFilterCheckbox")),n.filter_disjoint=String(e.options().filterMenu().getCheckBoxValue("disjointFilterCheckbox")),n.filter_setOperator=String(e.options().filterMenu().getCheckBoxValue("setoperatorFilterCheckbox")),n.filter_objectProperties=String(e.options().filterMenu().getCheckBoxValue("objectPropertyFilterCheckbox")),n.mode_dynamic=String(e.options().dynamicLabelWidth()),n.mode_scaling=String(e.options().modeMenu().getCheckBoxValue("nodescalingModuleCheckbox")),n.mode_compact=String(e.options().modeMenu().getCheckBoxValue("compactnotationModuleCheckbox")),n.mode_colorExt=String(e.options().modeMenu().getCheckBoxValue("colorexternalsModuleCheckbox")),n.mode_multiColor=String(e.options().modeMenu().colorModeState()),n.mode_pnp=String(e.options().modeMenu().getCheckBoxValue("pickandpinModuleCheckbox")),n.debugFeatures=String(!e.options().getHideDebugFeatures()),n.rect=0;var a,l=e.options().initialConfig(),s=r(l,n),d=String(location);if(0===s.length){var c=location.hash;d=d.split(c)[0];var p=c.lastIndexOf("#");if(p===-1)return a=t.select("#exportedUrl").node(),a.value=String(location),void(a.title=String(location));var u=c.slice(p,c.length);return a=t.select("#exportedUrl").node(),a.value=d+u,void(a.title=d+u)}var f,h=(d.match(/#/g)||[]).length;if(void 0!==h&&0!==h||(f=d+"#"+s),h>0){var g,v=d.split("#");for(v[1].indexOf("opts=")>=0?(v[1]=s,f=v[0]):(f=v[0]+"#",f+=s),g=1;g0&&(f+="#"+v[g])}a=t.select("#exportedUrl").node(),a.value=f,a.title=f},L.createJSON_exportObject=function(){var t,n,o,i=e.getUnfilteredData(),r=e.options().data()._comment,a=e.options().getGeneralMetaObject(),l=e.options().data().header;a.iri&&a.iri!==l.iri&&(l.iri=a.iri),a.title&&a.title!==l.title&&(l.title=a.title),a.version&&a.version!==l.version&&(l.version=a.version),a.author&&a.author!==l.author&&(l.author=a.author),a.description&&a.description!==l.description&&(l.description=a.description);var s={};s._comment=r,s.header=l,s.namespace=e.options().data().namespace,void 0===s.namespace&&(s.namespace=[]);var d=i.nodes,c=d.length,p=[],u=[];for(t=0;t0&&(h.attributes=d[t].attributes()),d[t].comment()&&(h.comment=d[t].comment()),d[t].annotations()&&(h.annotations=d[t].annotations()),d[t].description()&&(h.description=d[t].description()),d[t].individuals().length>0){var g=[],v=d[t].individuals();for(n=0;n0){y=[];var b=d[t].equivalents();for(n=0;n0&&(w.attributes=b[n].attributes()),b[n].comment()&&(w.comment=b[n].comment()),b[n].individuals().length>0&&(w.individuals=b[n].individuals()),b[n].annotations()&&(w.annotations=b[n].annotations()),b[n].description()&&(w.description=b[n].description()),b[n].individuals().length>0){var k=[],C=b[t].individuals();for(o=0;o0&&(h.equivalent=y),u.push(h)}var M=i.properties,_=M.length,E=[],O=[];for(t=0;t<_;t++){var S={},F={};if(S.id=M[t].id(),S.type=M[t].type(),E.push(S),F.id=M[t].id(),F.iri=M[t].iri(),F.baseIri=M[t].baseIri(),F.label=M[t].label(),M[t].attributes().length>0&&(F.attributes=M[t].attributes()),M[t].comment()&&(F.comment=M[t].comment()),M[t].annotations()&&(F.annotations=M[t].annotations()),M[t].maxCardinality()&&(F.maxCardinality=M[t].maxCardinality()),M[t].minCardinality()&&(F.minCardinality=M[t].minCardinality()),M[t].cardinality()&&(F.cardinality=M[t].cardinality()),M[t].description()&&(F.description=M[t].description()),F.domain=M[t].domain().id(),F.range=M[t].range().id(),M[t].subproperties()){var I=M[t].subproperties(),T=[];for(n=0;n":n[t].prefixRepresentation=i}for(t=0;t":o[t].prefixRepresentation=r}}function n(){if(0!==y.length){x+="### Property Definitions (Number of Property) "+y.length+" ###\r\n";for(var e=0;e=0}function r(t){var n=t.prefixRepresentation,o="rdf:type",r=t.type();"owl:equivalentClass"===t.type()&&(r="owl:Class"),"owl:disjointUnionOf"===t.type()&&(r="owl:Class"),"owl:unionOf"===t.type()&&(r="owl:Class");var a=[],s=[];if(t.union())for(var d=t.union(),c=0;c":b,g+=m+" owl:equivalentClass "+x+" ;\r\n"}if(t.commentForCurrentLanguage()&&(g+=m+' rdfs:comment "'+t.commentForCurrentLanguage()+'" ;\r\n'),t.annotations()){var k=t.annotations();for(var L in k)if(k.hasOwnProperty(L)){var M=k[L],_=M[0],E=_.identifier,O=_.value;"isDefinedBy"===E&&(g+=m+" rdfs:isDefinedBy <"+O+"> ;\r\n"),"term_status"===E&&(g+=m+' vs:term_status "'+O+'" ;\r\n')}}if(a.length>0){g+=m+" owl:disjointUnionOf (";for(var S=0;S":F,g+=m+m+I+" \n"}g+=") ;\r\n"}if(s.length>0){g+=m+" rdfs:subClassOf [ rdf:type owl:Class ; \r\n",g+=m+m+" owl:unionOf ( ";for(var T=0;T":A,g+=m+m+m+P+" \n"}g+=") ;\r\n"}var B,D=e.getUnfilteredData().properties,R=[];for(B=0;B ;\r\n"),"term_status"===x&&(a+=s+' vs:term_status "'+w+'" ;\r\n')}}if("owl:Thing"===c.type()&&"owl:Thing"===p.type()&&"object"!=typeof e.label()&&0===e.label().length&&(d=!0),d===!0){var k=a.substring(0,a.length-2);return a=k+" . \r\n"}var L;if("owl:Thing"===c.type()&&"owl:Thing"===p.type())L=v(s,e.label(),"rdfs:label",!0),a+=L;else{L=v(s,e.label(),"rdfs:label"),a+=L,"owl:Thing"!==c.type()&&(a+=s+" rdfs:domain "+c.prefixRepresentation+";\r\n"),"owl:Thing"!==p.type()&&(a+=s+" rdfs:range "+p.prefixRepresentation+";\r\n");var M=a,_=M.lastIndexOf(";");a=M.substring(0,_)+" . \r\n"}return a}function l(e){return void 0===e?"WHYEMPTYNAME?":new Array(e.length+1).join(" ")}function s(){x+="#################################################################\r\n",x+="### Generated with the experimental alpha version of the TTL exporter of WebVOWL (version 1.1.3) http://visualdataweb.de/webvowl/ ###\r\n",x+="#################################################################\r\n\r\n"}function d(){var t=e.options().getGeneralMetaObjectProperty("iri"),n=e.options().prefixList(),o=[];o.push("@prefix : \t\t<"+t+"> .");for(var i in n)n.hasOwnProperty(i)&&o.push("@prefix "+i+": \t\t<"+n[i]+"> .");o.push("@base \t\t\t<"+t+"> .\r\n");for(var r=0;r");x+="<"+t+"> rdf:type owl:Ontology ;\r\n"+p(n)+u(n)+h(n)+f(n);var o=x,i=o.lastIndexOf(";");x=o.substring(0,i)+" . \r\n"}function p(e){return g(e,"title","dc:title")}function u(e){return g(e,"description","dc:description")}function f(t){var n=e.options().getGeneralMetaObjectProperty("author");if(n){if("object"!=typeof n){if(0===n.length)return"";var o=t+' dc:creator "'+n+'";\r\n';return o}for(var i=t+' dc:creator "',r=0;r0&&(n=-1);var i=parseInt(s.attr("max")),r=parseInt(s.property("value")),a=r+n;r!==a&&a>=0&&a<=i&&(s.property("value",a),s.on("input")(),e.update()),t.event.preventDefault()}function r(e,t){e.property("value",t).on("input")()}function a(){p.node().addEventListener("animationend",function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!0)})}var l,s,d={},c=[],p=(t.select("#m_filter"),t.select("#c_filter a")),u=t.select("#nodeDegreeFilteringOption"),f=0;return d.setDefaultDegreeValue=function(e){f=e},d.getDefaultDegreeValue=function(){return f},d.getGraphObject=function(){return e},d.getCheckBoxContainer=function(){return c},d.getDegreeSliderValue=function(){return s.property("value")},d.setup=function(t,i,r,l,s,c){p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),p.on("mouseleave",function(){d.highlightForDegreeSlider(!1)}),n(t,"datatype","Datatype properties","#datatypeFilteringOption"),n(i,"objectProperty","Object properties","#objectPropertyFilteringOption"),n(r,"subclass","Solitary subclasses","#subclassFilteringOption"),n(l,"disjoint","Class disjointness","#disjointFilteringOption"),n(s,"setoperator","Set operators","#setOperatorFilteringOption"),o(c,u),a()},d.reset=function(){c.forEach(function(e){var t=e.checkbox,n=e.defaultState,o=t.property("checked");o!==n&&(t.property("checked",n),t.on("click")())}),r(s,0),s.on("change")()},d.killButtonAnimation=function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!1)},d.highlightForDegreeSlider=function(e){if(arguments.length||(e=!0),p.classed("highlighted",e),u.classed("highlighted",e),p.classed("buttonPulse")===!0&&e===!0){p.classed("buttonPulse",!1);var t=setTimeout(function(){p.classed("buttonPulse",e),clearTimeout(t)},100)}else p.classed("buttonPulse",e),p.classed("filterMenuButtonHighlight",e)},d.setCheckBoxValue=function(e,t){for(var n=0;n0?d.highlightForDegreeSlider(!0):d.highlightForDegreeSlider(!1),c.forEach(function(t){var n=t.checkbox;n.on("click")(e)}),s.on("input")(),s.on("change")()},d}}).call(t,n(6))},326:function(e,t,n){(function(t){e.exports=function(e){function n(n,i,a,l){var s,d,c=l();s=t.select(n).append("div").datum({distanceFunction:l}).classed("distanceSliderContainer",!0);var p=s.append("input").attr("id",i+"DistanceSlider").attr("type","range").attr("min",10).attr("max",600).attr("value",l()).attr("step",10);s.append("label").classed("description",!0).attr("for",i+"DistanceSlider").text(a),d=s.append("label").classed("value",!0).attr("for",i+"DistanceSlider").text(l()),r.push(p),p.on("focusout",function(){e.updateStyle()}),p.on("input",function(){var t=p.property("value");l(t),o(c),d.text(t),e.updateStyle()}),p.on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=10),n.deltaY>0&&(e=-10);var o=parseInt(p.property("value")),i=o+e;i!==o&&(p.property("value",i),l(i),p.on("input")()),t.event.preventDefault()})}function o(e){var t=Math.max(a.classDistance(),a.datatypeDistance()),n=t/e,o=l*n;a.charge(o)}var i={},r=[],a=e.graphOptions(),l=a.charge();return i.setup=function(){var o=t.select("#m_gravity");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("#classSliderOption","class","Class distance",a.classDistance),n("#datatypeSliderOption","datatype","Datatype distance",a.datatypeDistance)},i.reset=function(){r.forEach(function(e){e.property("value",function(e){return e.distanceFunction()}),e.on("input")()})},i}}).call(t,n(6))},327:function(e,t,n){(function(t){e.exports=function(e){function n(n,o,i,r,a){var l=t.select(i).append("div").classed("checkboxContainer",!0),s=l.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());s.on("click",function(n){var o=s.property("checked");r(o),t.select("#maxLabelWidthSlider").node().disabled=!o,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",!o),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",!o),a>0&&e.animateDynamicLabelWidth()}),l.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&l.append("label").attr("style","font-size:10px;padding-top:3px").text("(experimental)"),d=s}function o(n,o,i,r){var a=t.select(i).append("div").classed("checkboxContainer",!0),l=a.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());l.on("click",function(t){var n=l.property("checked");r(n),n===!0&&e.showEditorHintIfNeeded()}),a.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&a.append("label").attr("style","font-size:10px;padding-top:3px").text(" (experimental)")}function i(n,o,i,r,a){var l,s;return l=t.select(r).append("div").classed("checkboxContainer",!0).datum({module:n,defaultState:n.enabled()}),s=l.append("input").classed("moduleCheckbox",!0).attr("id",o+"ModuleCheckbox").attr("type","checkbox").property("checked",n.enabled()),f.push(s),s.on("click",function(t,n){var o=s.property("checked");t.module.enabled(o),a&&n!==!0&&(e.executeColorExternalsModule(),e.executeCompactNotationModule(),e.lazyRefresh())}),l.append("label").attr("for",o+"ModuleCheckbox").text(i),l}function r(t,n){var o=t.append("button").datum({active:!1}).classed("color-mode-switch",!0);return a(o,n),o.on("click",function(t){var i=o.datum();i.active=!i.active,a(o,n),n.enabled()&&t!==!0&&(e.executeColorExternalsModule(),e.lazyRefresh())}),o}function a(e,t){var n=e.datum().active,o=l(n);e.classed("active",n).text(o.text),t&&t.colorModeType(o.type)}function l(e){return e?p:c}var s,d,c={text:"Multicolor",type:"same"},p={text:"Multicolor",type:"gradient"},u={},f=[];return u.colorModeState=function(e){return arguments.length?(s.datum().active=e,u):s.datum().active},u.setDynamicLabelWidth=function(e){d.property("checked",e)},u.getCheckBoxContainer=function(){return f},u.colorModeSwitch=function(){return s},u.setup=function(a,l,d,c){var p=t.select("#m_modes");p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("labelWidth","Dynamic label width","#dynamicLabelWidth",e.options().dynamicLabelWidth,1),o("editorMode","Editing ","#editMode",e.editorMode),i(a,"pickandpin","Pick & pin","#pickAndPinOption",!1),i(l,"nodescaling","Node scaling","#nodeScalingOption",!0),i(d,"compactnotation","Compact notation","#compactNotationOption",!0);var u=i(c,"colorexternals","Color externals","#colorExternalsOption",!0);s=r(u,c)},u.reset=function(){f.forEach(function(e){var t=e.datum().defaultState,n=e.property("checked");n!==t&&(e.property("checked",t),e.on("click")(e.datum())),e.datum().module.reset()}),s.datum().active=!0,s.on("click")()},u.setCheckBoxValue=function(e,t){for(var n=0;n li > a").attr("href",location.hash||"#")}function i(e){var n=t.select("#bulletPoint_container"),o=n.append("div");o.node().innerHTML=e,E.scrollDownDetails()}function r(e){var n=t.select("#bulletPoint_container"),o=n.node().getElementsByTagName("LI"),i=o.length-1;if(i>=0){var r=o[i].innerHTML;o[i].innerHTML=r+e}E.scrollDownDetails()}function a(e){var n=t.select("#bulletPoint_container"),o=n.append("li");o.node().innerHTML=e,t.select("#currentLoadingStep").node().innerHTML=e,E.scrollDownDetails()}function l(){var e=t.select("#iri-converter-button"),n=t.select("#iri-converter-input");n.on("input",function(){x();var t=""===n.property("value");e.attr("disabled",t||void 0)}).on("click",function(){x()}),t.select("#iri-converter-form").on("submit",function(){for(var e=n.property("value"),o=e.replace(/%20/g," ");o.beginsWith(" ");)o=o.substr(1,o.length);for(;o.endsWith(" ");)o=o.substr(0,o.length-1);e=o;var i=e.toLowerCase();return i.endsWith(".json")?(location.hash="url="+e,n.property("value",""),n.on("input")()):(location.hash="iri="+e,n.property("value",""),n.on("input")()),t.event.preventDefault(),!1})}function s(){var n=t.select("#file-converter-input"),o=t.select("#file-converter-label"),i=t.select("#file-converter-button");n.on("change",function(){var t=n.property("files");t.length<=0?(o.text("Select ontology file"),i.property("disabled",!0)):(o.text(t[0].name),L=t[0].name,i.property("disabled",!1),i.node().click(),e.options().navigationMenu().hideAllMenus())}),i.on("click",function(){var e=n.property("files")[0];if(!e)return!1;var t="file="+e.name;location.hash==="#"+t?E.parseUrlAndLoadOntology():location.hash=t})}function d(e){var n=t.select("#o2vConverterContainer");if(!n.node()){var o=t.select("#bulletPoint_container"),i=o.append("div");n=i.append("ul"),n.attr("id","o2vConverterContainer"),n.style("margin-left","-25px")}for(var r=n.node().children,a=r.length,l=0;l0&&(s=n.append("li"),s.attr("type","disc"),s.node().innerHTML=p.replace(/\n/g,"
    "))}s&&(s.node().innerHTML+="
    "),E.scrollDownDetails()}function c(e,n){t.xhr("loadingStatus?sessionId="+_,"application/text",function(t,o){t&&(console.log("ontologyMenu getLoadingStatusOnceCallBacked throws error"),console.log("---------Error -----------"),console.log(t),console.log("---------Request -----------"),console.log(o)),d(o.responseText),e(n)})}function p(){t.xhr("loadingStatus?sessionId="+_,"application/text",function(e,t){e&&(console.log("ontologyMenu getLoadingStatusTimeLooped throws error"),console.log("---------Error -----------"),console.log(e),console.log("---------Request -----------"),console.log(t)),T===!1&&(d(t.responseText),u())})}function u(){clearTimeout(M),T===!1&&(M=setTimeout(function(){p()},1e3))}function f(e){t.xhr("loadingStatus","application/text",function(t,n){void 0!==n?d(n.responseText+"
    "+e):i(e)})}function h(e){var t=e[2];return t!==_?(console.log("The conversion process for file:"+e[1]+" has been canceled!"),void S.conversionFinished(t)):(E.loadFromOWL2VOWL(e[0],e[1]),void S.conversionFinished())}function g(e){var t=e[2];return t!==_?void console.log("The conversion process for file:"+e[1]+" has been canceled!"):void E.loadFromOWL2VOWL(e[0],e[1])}function v(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function m(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function y(e,t,n){T=!1,u();var o=new FormData;o.append("ontology",e),o.append("sessionId",n);var i=new XMLHttpRequest;i.open("POST","convert",!0),i.onload=function(){clearTimeout(M),T=!0,c(b,[i,t,n])},u(),i.send(o)}function b(t){var n=t[0],o=t[1],i=t[2];return i!==_?(console.log("The conversion process for file:"+o+" has been canceled!"),void S.conversionFinished(i)):void(200===n.status?(E.loadFromOWL2VOWL(n.responseText,o),S.conversionFinished()):(f('Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),e.handleOnLoadingError(),S.conversionFinished()))}function x(){function e(){n.style("display",void 0),clearTimeout(C),t.select(window).on("click",void 0).on("keydown",void 0),n.on("mouseover",void 0)}var n=t.select("#select .toolTipMenu");n.on("click",function(){t.event.stopPropagation()}).on("keydown",function(){t.event.stopPropagation()}),n.style("display","block"),clearTimeout(C),C=setTimeout(function(){e()},3e3),t.select(window).on("click",function(){e()}).on("keydown",function(){e()}),n.on("mouseover",function(){e()})}function w(){t.select("#layoutLoadingProgressBarContainer").classed("hidden",!1),F.classed("hidden",!1),I.classed("hidden",!1)}function k(){F.classed("hidden",!0)}var C,L,M,_,E,O,S={},F=t.select("#loading-info"),I=t.select("#loading-progress"),T=!1,A=!1,P={},B="";return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},S.getLoadingFunction=function(){return O},S.clearCachedVersion=function(){P[B]&&(P[B]=void 0)},S.reloadCachedOntology=function(){S.clearCachedVersion(),e.clearGraphData(),E.parseUrlAndLoadOntology(!1)},S.cachedOntology=function(n){if(B=n,P[n]){var o=String(location.hash);t.select("#reloadSvgIcon").node().disabled=!1,e.showReloadButtonAfterLayoutOptimization(!0),o.indexOf("#file")>-1?(t.select("#reloadSvgIcon").node().disabled=!0,t.select("#reloadCachedOntology").node().title="reloading original version not possible, please reload the file",t.select("#reloadSvgIcon").classed("disabledReloadElement",!0),t.select("#svgStringText").style("fill","gray"),t.select("#svgStringText").classed("noselect",!0)):(t.select("#reloadCachedOntology").node().title="generate new visualization and overwrite cached ontology",t.select("#reloadSvgIcon").classed("disabledReloadElement",!1),t.select("#svgStringText").style("fill","black"),t.select("#svgStringText").classed("noselect",!0))}else e.showReloadButtonAfterLayoutOptimization(!1);return P[n]},S.setCachedOntology=function(e,t){P[e]=t,B=e},S.getErrorStatus=function(){return A},S.setup=function(o){O=o,E=e.options().loadingModule();var i=t.select("#m_select");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),l(),s();var r=t.select("#error-description-button").datum({open:!1});r.on("click",function(e){var n=t.select("#error-description-container"),o=t.select(this);e.open=!e.open;var i=e.open;i?o.text("Hide error details"):o.text("Show error details"),n.classed("hidden",!i)}),n(),E.setOntologyMenu(S)},S.stopLoadingTimer=function(){T=!0,clearTimeout(M)},S.setIriText=function(e){t.select("#iri-converter-input").node().value=e,t.select("#iri-converter-button").attr("disabled",!1),t.select("#iri-converter-form").on("submit")()},S.clearDetailInformation=function(){for(var e=t.select("#bulletPoint_container"),n=e.node().children,o=n.length,i=0;i",""":'"',"'":"'"},r=o(i);e.exports=r},332:function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},333:function(e,t,n){(function(t){e.exports=function(e){function n(){o(),i()}function o(){r.classed("paused",function(e){return e.paused})}function i(){r.datum().paused?r.text("Resume"):r.text("Pause")}var r,a={};return a.setup=function(){var o=t.select("#pauseOption");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),r=t.select("#pause-button").datum({paused:!1}).on("click",function(t){e.paused(!t.paused),t.paused=!t.paused,n(),r.classed("highlighted",t.paused)}),n()},a.setPauseValue=function(t){r.datum().paused=t,e.paused(t),r.classed("highlighted",t),n()},a.reset=function(){a.setPauseValue(!1)},a}}).call(t,n(6))},334:function(e,t,n){(function(t){e.exports=function(e){function n(){e.resetSearchHighlight(),e.options().searchMenu().clearText(),r.classDistance(a.classDistance()),r.datatypeDistance(a.datatypeDistance()),r.charge(a.charge()),r.gravity(a.gravity()),r.linkStrength(a.linkStrength()),e.reset(),o.forEach(function(e){e.reset()}),e.updateStyle()}var o,i={},r=e.graphOptions(),a=webvowl.options();return i.setup=function(i){o=i,t.select("#reset-button").on("click",n);var r=t.select("#resetOption");r.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()})},i}}).call(t,n(6))},335:function(e,t,n){(function(t){e.exports=function(e){function n(){b=e.getUpdateDictionary(),M=!1,k=[],C=[];var t,n=[],o=[];for(t=0;t0)for(var r=b[t].equivalentsString(),a=r.split(", "),l=0;l=0&&s=a&&i[s].setAttribute("class","dbEntrySelected"),h>=0&&h=0&&i[s].setAttribute("class","dbEntry")))}function s(){for(var e=F.node().children,t=e.length,n=0;n-1&&(E.push(k[e]),O.push(e)))}}function c(e,n){n||(n="text");var o=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),i=document.getElementById("width-test").offsetWidth;return o.remove(),i}function p(e){for(var t,n,o,i=250,r="dbEntry",a=e;;){if(t=c(a,r),t<=i)break;if(n=t/i,o=Math.floor(a.length/n),a.length===o)break;a=a.substring(0,o)}return e.length>a.length?e.substring(0,a.length-6):e}function u(){var n,o,i,r=E,a=[],l=[],s=v.node().value.toLowerCase();for(n=E.length,n>L&&(n=L),o=0;o-1&&h<=d&&m<=c&&(u=f,d=h,c=m)}a.push(r[u]),l.push(O[u]),r[u]=""}n=E.length,n>L&&(n=L);var b=0;for(o=0;o1)for(var T=0;T1&&_===!1?k!==I&&(C+="... ("+I+"/"+k+")"):C+="...",x.title=a[o]):k>1&&_===!1&&(C+=k!==I?" ("+I+"/"+k+")":" ("+k+")");var P=t.select(x);1===k||_===!0?void 0===S[w[0]]&&(P.style("color","#979797"),x.title=a[o]+"\nElement is filtered out.",x.onclick=function(){},t.select(x).style("cursor","default"),b++):(I<1?(P.style("color","#979797"),x.onclick=function(){},x.title=a[o]+"\nAll elements are filtered out.",t.select(x).style("cursor","default"),b++):P.style("color",""),I1&&(x.title=a[o]+"\n"+I+"/"+k+" elements are visible.")),P.node().innerHTML=C,F.node().appendChild(x)}}function f(){s(),d(),u()}function h(){return S.classed("highlighted",!1),S.node().title="Nothing to locate",M&&n(),e.resetSearchHighlight(),0===k.length?void console.log("dictionary is empty"):(x=v.node().value,s(),0!==x.length&&(d(),u()),void w.showSearchEntries())}function g(t){return function(){var n=t,o=y[n],i=C[n];v.node().value=i,e.resetSearchHighlight(),e.highLightNodes(o),S.node().title="Locate search term",i!==x&&f(),w.hideSearchEntries()}}var v,m,y,b,x,w={},k=[],C=[],L=6,M=!0,_=!1,E=[],O=[],S=t.select("#locateSearchResult"),F=(t.select("#c_search"),t.select("#m_search"));return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},w.requestDictionaryUpdate=function(){M=!0;for(var e=F.node().children,t=e.length,n=0;n=h?void n():void(y=requestAnimationFrame(o))}function i(){return f-=5,x.scrollLeft=f,b.updateScrollButtonVisibility(),f<=0?void n():void(y=requestAnimationFrame(i))}function r(){M=[],_=[];var e,r=[],c=[],p=x.children,u=p.length;for(e=0;e-1?_[e]="m_"+r[e]:_[e]=void 0,t.select("#"+M[e]).on("mouseover",a),t.select("#"+M[e]).on("mouseout",l),t.select("#"+M[e]).on("click",s),t.select("#"+M[e]).on("touchstart",d);t.select("#menuElementContainer").on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=20),n.deltaY>0&&(e=-20),x.scrollLeft+=e,b.hideAllMenus(),b.updateScrollButtonVisibility()}),t.select("#scrollRightButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#scrollLeftButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#menuElementContainer").on("scroll",function(){b.updateScrollButtonVisibility(),b.hideAllMenus()})}function a(){b.hideAllMenus(),L||p(this.id)}function l(){c(this.id)}function s(){var e=_[M.indexOf(this.id)];if(e){var n=t.select("#"+e);n&&("block"===n.style("display")?n.style("display","none"):p(this.id))}}function d(){L=!0}function c(e){v=t.select("#"+e),"c_search"!==e&&(t.select("#"+e).select("path").style("stroke-width","0"),t.select("#"+e).select("path").style("fill","#fff"))}function p(n){v=t.select("#"+n).node();var o=_[M.indexOf(n)];o&&("c_search"!==n&&(t.select("#"+n).select("path").style("stroke-width","0"),t.select("#"+n).select("path").style("fill","#bdc3c7")),g=t.select("#"+o),g.style("display","block"),"m_export"===o&&e.options().exportMenu().exportAsUrl(),u())}function u(){if(v){var e=v.offsetLeft,t=x.scrollLeft,n=e-t,o=Math.max(0,n),i=x.getBoundingClientRect().width,r=g.node().getBoundingClientRect().width;o+r>i&&(o=i-r),o=Math.max(0,o),g.style("left",o+"px")}}var f,h,g,v,m,y,b={},x=t.select("#menuElementContainer").node(),w=t.select("#menuContainer").node(),k=t.select("#scrollLeftButton"),C=t.select("#scrollRightButton"),L=!1,M=[],_=[];return b.hideAllMenus=function(){t.selectAll(".toolTipMenu").style("display","none")},b.updateScrollButtonVisibility=function(){h=x.scrollWidth-x.clientWidth-2,0===x.scrollLeft?k.classed("hidden",!0):k.classed("hidden",!1),x.scrollLeft>h?C.classed("hidden",!0):C.classed("hidden",!1)},b.setup=function(){r(),t.select("#graph").on("mouseover",function(){b.hideAllMenus()}),t.select("#generalDetails").on("mouseover",function(){b.hideAllMenus()})},b}}).call(t,n(6))},337:function(e,t,n){(function(t){e.exports=function(e){function n(){cancelAnimationFrame(a),cancelAnimationFrame(l)}function o(){s*=.98,su&&(s=u),e.setSliderZoom(s),l=requestAnimationFrame(i)}var r,a,l,s,d,c={},p=e.options().minMagnification(),u=e.options().maxMagnification(),f=!0,h=e.options().width(),g=e.options().height();return r=Math.min(h,g)/1e3,c.setup=function(){d=t.select("#zoomSliderParagraph").append("input").datum({}).attr("id","zoomSliderElement").attr("type","range").attr("value",r).attr("min",p).attr("max",u).attr("step",(u-p)/40).attr("title","zoom factor").on("input",function(){c.zooming()}),t.select("#zoomOutButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom out"),t.select("#zoomInButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom in"),t.select("#centerGraphButton").on("click",function(){e.options().navigationMenu().hideAllMenus(),e.forceRelocationEvent()}).attr("title","center graph")},c.showSlider=function(e){return arguments.length?(t.select("#zoomSlider").classed("hidden",!e),void(f=e)):f},c.zooming=function(){e.options().navigationMenu().hideAllMenus();var t=d.property("value");d.attr("value",t),e.setSliderZoom(t)},c.updateZoomSliderValue=function(e){d&&(d.attr("value",e),d.property("value",e))},c}}).call(t,n(6))},338:function(e,t,n){(function(t){e.exports=function(e){function n(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");e(t.selectAll(".accordion-trigger:not(.accordion-trigger-active) + div")),o.on("click",function(){var o=t.select(this),i=t.selectAll(".accordion-trigger-active");o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(e(t.selectAll(".accordion-trigger-active + div")),i.classed("accordion-trigger-active",!1),n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0))})}function o(n){n=n||[],n.sort(function(e,t){return e===webvowl.util.constants().LANG_IRIBASED?-1:t===webvowl.util.constants().LANG_IRIBASED?1:e===webvowl.util.constants().LANG_UNDEFINED?-1:t===webvowl.util.constants().LANG_UNDEFINED?1:e.localeCompare(t)});var o=t.select("#language").on("change",function(){e.language(t.event.target.value),r(),C.updateSelectionInformation(k)});o.selectAll("option").remove(),o.selectAll("option").data(n).enter().append("option").attr("value",function(e){return e}).text(function(e){return e}),i(o,n,"en")||i(o,n,webvowl.util.constants().LANG_UNDEFINED)||i(o,n,webvowl.util.constants().LANG_IRIBASED)}function i(t,n,o){var i=n.indexOf(o);return i>=0&&(t.property("selectedIndex",i),e.language(o),!0)}function r(){var n=L.textInLanguage(w.title,e.language());t.select("#title").text(n||"No title available"),t.select("#about").attr("href",w.iri).attr("target","_blank").text(w.iri),t.select("#version").text(w.version||"--");var o=w.author;"string"==typeof o?t.select("#authors").text(o):o instanceof Array?t.select("#authors").text(o.join(", ")):t.select("#authors").text("--");var i=L.textInLanguage(w.description,e.language());t.select("#description").text(i||"No description available.")}function a(e,n){e=e||{},t.select("#classCount").text(e.classCount||n.classCount()),t.select("#objectPropertyCount").text(e.objectPropertyCount||n.objectPropertyCount()),t.select("#datatypePropertyCount").text(e.datatypePropertyCount||n.datatypePropertyCount()),t.select("#individualCount").text(e.totalIndividualCount||n.totalIndividualCount()),t.select("#nodeCount").text(n.nodeCount()),t.select("#edgeCount").text(n.edgeCount())}function l(e){var n=t.select("#ontology-metadata");n.selectAll("*").remove(),s(n,e),n.selectAll(".annotation").size()<=0&&n.append("p").text("No annotations available.")}function s(e,n){n=n||{};var o=[];for(var i in n)n.hasOwnProperty(i)&&o.push(n[i][0]);e.selectAll(".annotation").remove(),e.selectAll(".annotation").data(o).enter().append("p").classed("annotation",!0).classed("statisticDetails",!0).text(function(e){return e.identifier+":"}).append("span").each(function(e){h(t.select(this),e.value,"iri"===e.type?e.value:void 0)})}function d(){c(!1,!1,!0)}function c(e,n,o){t.select("#classSelectionInformation").classed("hidden",!e),t.select("#propertySelectionInformation").classed("hidden",!n),t.select("#noSelectionInformation").classed("hidden",!o)}function p(e){u(),f(t.select("#propname"),e.labelForCurrentLanguage(),e.iri()),t.select("#typeProp").text(e.type()),void 0!==e.inverse()?(t.select("#inverse").classed("hidden",!1),f(t.select("#inverse span"),e.inverse().labelForCurrentLanguage(),e.inverse().iri())):t.select("#inverse").classed("hidden",!0);var n=t.select("#propEquivUri");b(n,e.equivalents()),b(t.select("#subproperties"),e.subproperties()),b(t.select("#superproperties"),e.superproperties()),void 0!==e.minCardinality()?(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!1),t.select("#minCardinality span").text(e.minCardinality()),t.select("#maxCardinality").classed("hidden",!1),void 0!==e.maxCardinality()?t.select("#maxCardinality span").text(e.maxCardinality()):t.select("#maxCardinality span").text("*")):void 0!==e.cardinality()?(t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0),t.select("#infoCardinality").classed("hidden",!1),t.select("#infoCardinality span").text(e.cardinality())):(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0)),f(t.select("#domain"),e.domain().labelForCurrentLanguage(),e.domain().iri()),f(t.select("#range"),e.range().labelForCurrentLanguage(),e.range().iri()),g(e.attributes(),t.select("#propAttributes")),x(t.select("#propDescription"),e.descriptionForCurrentLanguage()),x(t.select("#propComment"),e.commentForCurrentLanguage()),s(t.select("#propertySelectionInformation"),e.annotations())}function u(){c(!1,!0,!1)}function f(e,n,o){var i=t.select(e.node().parentNode);n?(e.selectAll("*").remove(),h(e,n,o),i.classed("hidden",!1)):i.classed("hidden",!0)}function h(e,t,n){var o;o=n?e.append("a").attr("href",n).attr("title",n).attr("target","_blank"):e.append("span"),o.text(t)}function g(e,n){var o=t.select(n.node().parentNode);e&&e.length>0&&(v("object",e),v("datatype",e),v("rdf",e)),e&&e.length>0?(n.text(e.join(", ")),o.classed("hidden",!1)):o.classed("hidden",!0)}function v(e,t){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function m(e){y(),f(t.select("#name"),e.labelForCurrentLanguage(),e.iri());var n=t.select("#classEquivUri");b(n,e.equivalents()),t.select("#typeNode").text(e.type()),b(t.select("#individuals"),e.individuals());var o=t.select("#disjointNodes"),i=t.select(o.node().parentNode);void 0!==e.disjointWith()?(o.selectAll("*").remove(),e.disjointWith().forEach(function(e,t){t>0&&o.append("span").text(", "),h(o,e.labelForCurrentLanguage(),e.iri())}),i.classed("hidden",!1)):i.classed("hidden",!0),g(e.attributes(),t.select("#classAttributes")),x(t.select("#nodeDescription"),e.descriptionForCurrentLanguage()),x(t.select("#nodeComment"),e.commentForCurrentLanguage()),s(t.select("#classSelectionInformation"),e.annotations())}function y(){c(!0,!1,!1)}function b(e,n){var o=t.select(e.node().parentNode);n&&n.length?(e.selectAll("*").remove(),n.forEach(function(t,n){n>0&&e.append("span").text(", "),h(e,t.labelForCurrentLanguage(),t.iri())}),o.classed("hidden",!1)):o.classed("hidden",!0)}function x(e,n){var o=t.select(e.node().parentNode),i=!!n;n&&e.text(n),o.classed("hidden",!i)}var w,k,C={},L=webvowl.util.languageTools(),M=webvowl.util.elementTools(),_=1,E=t.select("#detailsArea"),O=t.select("#canvasArea"),S=t.select("#swipeBarContainer"),F=t.select("#sidebarExpandButton");return C.clearOntologyInformation=function(){t.select("#title").text("No title available"),t.select("#about").attr("href","#").attr("target","_blank").text("not given"),t.select("#version").text("--"),t.select("#authors").text("--"),t.select("#description").text("No description available.");var e=t.select("#ontology-metadata");e.selectAll("*").remove(),t.select("#classCount").text("0"),t.select("#objectPropertyCount").text("0"),t.select("#datatypePropertyCount").text("0"),t.select("#individualCount").text("0"),t.select("#nodeCount").text("0"),t.select("#edgeCount").text("0");var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");n&&t.select("#selection-details-trigger").node().click(),d()},C.updateOntologyInformation=function(e,t){e=e||{},w=e.header||{},r(),a(void 0,t),l(w.other),C.updateSelectionInformation(void 0),o(w.languages)},C.updateSelectionInformation=function(e){if(k=e,!t.event||!t.event.defaultPrevented){var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");if(e&&!n)t.select("#selection-details-trigger").node().click();else if(!e&&n)return void d();M.isProperty(e)?p(e):M.isNode(e)&&m(e)}},C.showSidebar=function(n,o){1===n&&(_=!0,F.node().innerHTML=">",E.classed("hidden",!0),o===!0?(E.classed("hidden",!_),O.style("width","78%"),O.style("-webkit-animation-name","none"),S.style("width","78%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","78%"),O.style("-webkit-animation-name","sbCollapseAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","78%"),S.style("-webkit-animation-name","sbCollapseAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_ExpandRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth-.22*window.innerWidth),e.options().navigationMenu().updateScrollButtonVisibility()),0===n&&(_=!1,E.classed("hidden",!0),F.node().innerHTML="<",o===!0?(O.style("width","100%"),O.style("-webkit-animation-name","none"),S.style("width","100%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","100%"),O.style("-webkit-animation-name","sbExpandAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","100%"),S.style("-webkit-animation-name","sbExpandAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_CollapseRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility())},C.isSidebarVisible=function(){return _},C.updateSideBarVis=function(e){var t=C.getSidebarVisibility();C.showSidebar(parseInt(t),e)},C.getSidebarVisibility=function(){var e=E.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},C.initSideBarAnimation=function(){O.node().addEventListener("animationend",function(){E.classed("hidden",!_),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility()})},C.setup=function(){n(),C.initSideBarAnimation(),F.on("click",function(){e.options().navigationMenu().hideAllMenus();var t=parseInt(C.getSidebarVisibility());1===t?C.showSidebar(0):C.showSidebar(1)})},C.updateShowedInformation=function(){var n=e.editorMode();t.select("#generalDetails").classed("hidden",n),t.select("#generalDetailsEdit").classed("hidden",!n),e.options().editSidebar().updateGeneralOntologyInfo(),e.options().sidebar().updateGeneralOntologyInfo()},C.updateGeneralOntologyInfo=function(){var n=e.options().getGeneralMetaObject(),o=e&&e.language?e.language():null;n.hasOwnProperty("title")&&("object"==typeof n.title?t.select("#title").node().value=L.textInLanguage(n.title,o):t.select("#title").node().innerHTML=n.title),n.hasOwnProperty("iri")&&(t.select("#about").node().innerHTML=n.iri),n.hasOwnProperty("iri")&&(t.select("#about").node().href=n.iri),n.hasOwnProperty("version")&&(t.select("#version").node().innerHTML=n.version),n.hasOwnProperty("author")&&(t.select("#authors").node().innerHTML=n.author),n.hasOwnProperty("description")&&("object"==typeof n.description?t.select("#description").node().innerHTML=L.textInLanguage(n.description,o):t.select("#description").node().innerHTML=n.description)},C}}).call(t,n(6))},339:function(e,t,n){(function(t){e.exports=function(e){function n(e){for(var t=0;t"),e.updateCanvasContainerSize(),void e.options().navigationMenu().updateScrollButtonVisibility()):(t.select("#leftSideBarCollapseButton").classed("hidden",!0),1===n&&(u=!0,i.node().innerHTML="<",g.style("-webkit-animation-name","l_sbExpandAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_ExpandLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s")),void(0===n&&(u=!1,h.classed("hidden",!0),i.node().innerHTML=">",g.style("-webkit-animation-name","l_sbCollapseAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_CollapseLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("left","0"))))},c.getSidebarVisibility=function(){var e=h.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},c}}).call(t,n(6))},340:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=t.select("#typeEditor_datatype").node(),n=["undefined","xsd:boolean","xsd:double","xsd:integer","xsd:string"],o=0;o0){var s=e.options().prefixList()[a];if(void 0===s)return console.log("ERROR __________________"),e.options().warningModule().showWarning("Invalid Element IRI","Could not resolve prefix '"+s+"'","Restoring previous IRI for Element"+n.iri(),1,!1),void(t.select("#element_iriEditor").node().value=n.iri());if(0===l.length)return e.options().warningModule().showWarning("Invalid Element IRI","Input IRI is EMPTY","Restoring previous IRI for Element"+n.iri(),1,!1),console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());o=s+l}else o=i+l}else{if(0===o.length)return console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());console.log("Tryig to use the input!"),o=i+o}}return o}function f(n){var o,i=u(n),r=e.options().getGeneralMetaObjectProperty("iri");if(F.isNode(n)){if(o=e.checkIfIriClassAlreadyExist(i),o!==!1)return e.options().warningModule().showWarning("Already seen this class","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),2,!1,o),void O.updateSelectionInformation(n);n.iri(i)}return F.isProperty(n)===!0&&(o=O.checkProperIriChange(n,i),o!==!1)?(e.options().warningModule().showWarning("Already seen this property","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),1,!1,o),void O.updateSelectionInformation(n)):(n.iri(i),c(r,i)===!0?(b(n,"external"),n.backgroundColor("#36C"),n.redrawElement(),n.redrawLabelText()):(x(n,"external"),n.backgroundColor(void 0),n.redrawElement(),n.redrawLabelText()),n.focused()&&(e.options().focuserModule().handle(n,!0),e.options().focuserModule().handle(n,!0)),t.select("#element_iriEditor").node().value=I.getPrefixRepresentationForFullURI(i),void O.updateSelectionInformation(n))}function h(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function g(e){e.label(t.select("#element_labelEditor").node().value),e.redrawLabelText()}function v(e){M=e;var n,o=t.select("#property_characteristics_Selection"),i=o.node().children;if(i)for(var r=i.length,a=0;a-1){var l=o.append("span");l.classed("spanForCharSelection",!0),l.node().innerHTML="external"}var s,d;if(F.isNode(e)===!0){var c=["deprecated"];for(n=0;n=0}function y(){var e=this.checked,t=this.getAttribute("characteristics");e===!0?b(M,t):x(M,t),M.redrawElement(),M.focused(!1),M.toggleFocus()}function b(e,t){if(e.attributes().indexOf(t)===-1){var n=e.attributes();n.push(t),e.attributes(n)}if(e.indications().indexOf(t)===-1){var o=e.indications();o.push(t),e.indications(o)}var i;if(e.visualAttributes().indexOf(t)===-1&&(i=e.visualAttributes(),i.push(t),e.visualAttributes(i)),m(e,"external")&&m(e,"deprecated")){i=e.visualAttributes();var r=i.indexOf("external");r>-1&&i.splice(r,1),e.visualAttributes(i)}}function x(e,t){var n=e.attributes(),o=e.indications(),i=e.visualAttributes(),r=n.indexOf(t);r>=0&&n.splice(r,1);var a=o.indexOf(t);a>-1&&o.splice(a,1);var l=i.indexOf(t);l>-1&&i.splice(l,1),e.attributes(n),e.indications(o),e.visualAttributes(i),"deprecated"===t&&("owl:Class"===e.type()&&e.styleClass("class"),"owl:DatatypeProperty"===e.type()&&e.styleClass("datatypeproperty"),"owl:ObjectProperty"===e.type()&&e.styleClass("objectproperty"),"owl:disjointWith"===e.type()&&e.styleClass("disjointwith"))}function w(e){return"owl:Thing"!==e.type()&&"rdfs:subClassOf"!==e.type()&&"rdfs:Literal"!==e.type()&&"rdfs:Datatype"!==e.type()&&"rdfs:disjointWith"!==e.type()}function k(t){F.isNode(t)&&e.changeNodeType(t)===!1&&(F.isDatatype(t)===!0,O.updateSelectionInformation(t)),F.isProperty(t)&&e.changePropertyType(t)===!1&&O.updateSelectionInformation(t)}function C(e){var t=[];return F.isProperty(e)?("owl:DatatypeProperty"===e.type()?t.push("owl:DatatypeProperty"):(t.push("owl:ObjectProperty"),e.domain()!==e.range()&&t.push("rdfs:subClassOf"),t.push("owl:disjointWith"),t.push("owl:allValuesFrom"),t.push("owl:someValuesFrom")),t):("rect"===e.renderType()?(t.push("rdfs:Literal"),t.push("rdfs:Datatype")):(t.push("owl:Class"),t.push("owl:Thing")),t)}function L(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");o.on("click",function(){var o=t.select(this);o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0)),O.updateElementWidth()})}var M,_,E,O={},S=webvowl.util.languageTools(),F=webvowl.util.elementTools(),I=webvowl.util.prefixTools(e),T=!1;return O.clearMetaObjectValue=function(){t.select("#titleEditor").node().value="",t.select("#iriEditor").node().value="",t.select("#versionEditor").node().value="",t.select("#authorsEditor").node().value="",t.select("#descriptionEditor").node().value=""},O.updatePrefixUi=function(){O.updateElementWidth();for(var e=t.select("#prefixURL_Container");e.node().firstChild;)e.node().removeChild(e.node().firstChild);a()},O.setup=function(){L(),a(),r(),n(),t.select("#titleEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value))}),t.select("#iriEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri"))}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri")))}),t.select("#versionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value))}),t.select("#authorsEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value))}),t.select("#descriptionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("description",t.select("#descriptionEditor").node().value)}),O.updateElementWidth()},O.updateEditDeleteButtonIds=function(e,n){t.select("#prefixInputFor_"+e).node().id="prefixInputFor_"+n,t.select("#prefixURLFor_"+e).node().id="prefixURLFor_"+n,t.select("#deleteButtonFor_"+e).node().id="deleteButtonFor_"+n,t.select("#editButtonFor_"+e).node().id="editButtonFor_"+n,t.select("#prefixContainerFor_"+e).node().id="prefixContainerFor_"+n},O.checkForExistingURL=function(t){var n,o=e.getUnfilteredData().properties;for(n=0;n0&&(e=-10);var o=parseInt(s.property("value")),i=o+e;i!==o&&(s.property("value",i),r(i),s.on("input")()),t.event.preventDefault()}})}function o(n,o,i,a,l){var s=t.select(i).append("div").classed("checkboxContainer",!0),d=s.append("input").classed("moduleCheckbox",!0).attr("id",n+"ConfigCheckbox").attr("type","checkbox").property("checked",a());d.on("click",function(t){var n=d.property("checked");a(n),t!==!0&&(1===l&&e.lazyRefresh(),2===l&&e.update(),3===l&&e.updateDraggerElements())}),r.push(d),s.append("label").attr("for",n+"ConfigCheckbox").text(o)}var i={},r=[];return i.setup=function(){var i=t.select("#m_modes");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),o("showZoomSlider","Zoom controls","#zoomSliderOption",e.options().zoomSlider().showSlider,0),n("#maxLabelWidthSliderOption","maxLabelWidth","Max label width",e.options().maxLabelWidth)},i.setCheckBoxValue=function(e,t){for(var n=0;nTrying to convert with other communication protocol."),e(t)}function i(e){f.append_message_toLastBulletPoint("
    Trying to convert with other communication protocol.");var t=e[0],n=e[1],o=new FormData;o.append("ontology",t);var i=new XMLHttpRequest;i.open("POST","convert",!0);var r="";i.onload=function(){200===i.status&&(r=i.responseText,f.setCachedOntology(n,r),h=n,L=!0,f.append_message_toLastBulletPoint("
    Success, but you are using a deprecated OWL2VOWL service!"),s(r))},i.onreadystatechange=function(){4===i.readyState&&0===i.status&&(f.append_message_toLastBulletPoint("
    Old protocol also failed to establish connection to OWL2VOWL service!"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage())},i.send(o)}function r(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){O.setBusyMode(),t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage()):(u=o.responseText,f.setConversionID(u),n[0]=n[0]+"&sessionId="+u,n.push(u),e(n))})}function a(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),i(n)):(u=o.responseText,f.setConversionID(u),console.log("Request Session ID:"+u),e(n[0],n[1],u))})}function l(n){var o;n.indexOf("new_ontology")!==-1&&(O.hideLoadingIndicator(),e.showEditorHintIfNeeded(),o="./data/new_ontology.json"),C=!1;var i="";if(f.cachedOntology(n))f.append_bulletPoint("Loading already cached ontology: "+n),i=f.cachedOntology(n),C=!0,O.showLoadingIndicator(),s(i);else{var r="./data/"+n+".json";o&&(r=o),t.xhr(r,"application/json",function(t,o){var r=!t;r?(i=o.responseText,s(i)):(f.append_bulletPoint("Failed to load: "+n),f.append_message_toLastBulletPoint(" ERROR STATUS: "+t.status),e.handleOnLoadingError(),O.setErrorMode())})}}function s(e){f.append_bulletPoint("Reading ontology graph ... ");var t=f.getLoadingFunction();t(e,h,"noAlternativeNameYet")}function d(e){var t=(e.match(/#/g)||[]).length,n=[];if(t>0)for(var o=e.split("#"),i=1;i=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else h=e[0],n()}function r(e){if(e[0].indexOf(a)>=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else n();h=e[1]}var a="opts=";switch(t.length){case 0:n();break;case 1:i(t);break;case 2:r(t);break;default:console.log("To many input parameters , loading default config"),n(),h="ERROR_TO_MANY_INPUT_PARAMETERS"}}function p(e){var t="iri=",n="url=",o="file=",i=-1;return i=e.substr(0,o.length)===o?v:e.substr(0,n.length)===n?m:e.substr(0,t.length)===t?y:g}var u,f,h,g=0,v=1,m=2,y=3,b=0,x=1,w=2,k=1,C=!1,L=!1,M=!1,_=!0,E="ontology",O={},S=t.select("#loading-info"),F=t.select("#loadingInfo-container"),I=t.select("#show-loadingInfo-button"),T=t.select("#loadingIndicator_closeButton");return O.checkForScreenSize=function(){var n=e.options().width(),o=e.options().height();n<270?t.select("#loading-info").classed("hidden",!0):_===!0?t.select("#loading-info").classed("hidden",!1):t.select("#loading-info").classed("hidden",!0),o<150?t.select("#loadingInfo_msgBox").classed("hidden",!0):t.select("#loadingInfo_msgBox").classed("hidden",!1),o<80?(t.select("#progressBarContext").classed("hidden",!0),t.select("#layoutLoadingProgressBarContainer").style("height","20px")):(t.select("#progressBarContext").classed("hidden",!1),t.select("#layoutLoadingProgressBarContainer").style("height","50px"))},O.getProgressBarMode=function(){return k},O.successfullyLoadedOntology=function(){return C},O.missingImportsWarning=function(){return L},O.setOntologyMenu=function(e){f=e},O.showErrorDetailsMessage=function(){O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!0),O.scrollDownDetails()},O.showWarningDetailsMessage=function(){t.select("#currentLoadingStep").style("color","#ff0"),O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!1),O.scrollDownDetails()},O.scrollDownDetails=function(){var e=t.select("#loadingInfo-container").node();e.scrollTop=e.scrollHeight},O.hideLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!0),_=!1},O.showLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!1),_=!0},O.setup=function(){F.classed("hidden",!M),I.on("click",function(){M=!M,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)}),T.on("click",function(){S.classed("hidden",!0)}),O.setBusyMode()},O.updateSize=function(){M=!F.classed("hidden"),F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.getDetailsState=function(){return M},O.expandDetails=function(){M=!0,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.collapseDetails=function(){M=!1,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.setBusyMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").style("width","20%"),t.select("#progressBarValue").classed("busyProgressBar",!0),k=x},O.setSuccessful=function(){t.select("#currentLoadingStep").style("color","#0f0")},O.setErrorMode=function(){t.select("#currentLoadingStep").style("color","#f00"),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="",k=b},O.setPercentMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="0%",t.select("#progressBarValue").style("width","0%"),k=w},O.setPercentValue=function(e){t.select("#progressBarValue").node().innherHTML=e},O.emptyGraphContentError=function(){e.clearGraphData(),f.append_message_toLastBulletPoint("failed"),f.append_message_toLastBulletPoint('
    Error: Received empty graph'),C=!1,e.handleOnLoadingError(),O.setErrorMode()},O.isThreadCanceled=function(){},O.initializeLoader=function(n){if(n===!0&&null!==e.getCachedJsonObj()){var o=JSON.stringify(e.getCachedJsonObj()),i=h;f.setCachedOntology(i,o)}u=-1e4,f.setConversionID(u),f.stopLoadingTimer(),e.clearGraphData(),O.setBusyMode(),O.showLoadingIndicator(),O.collapseDetails(),L=!1,t.select("#loadingIndicator_closeButton").classed("hidden",!0),f.clearDetailInformation()},O.parseUrlAndLoadOntology=function(n){var o=!0;n===!1&&(o=!1),e.clearAllGraphData(),O.initializeLoader(o);var i=String(location),r=d(i);h=E,c(r);var a=p(h);switch(t.select("#progressBarValue").node().innerHTML=" ",a){case 0:O.from_presetOntology(h);break;case 1:O.from_FileUpload(h);break;case 2:O.from_JSON_URL(h);break;case 3:O.from_IRI_URL(h);break;default:console.log("Could not identify loading method , or not IMPLEMENTED YET")}},O.from_JSON_URL=function(e){var t=decodeURIComponent(e.slice("url=".length));h=t;var o="";f.cachedOntology(t)?(f.append_bulletPoint("Loading already cached ontology: "+t),o=f.cachedOntology(t),C=!0,s(o)):(f.append_message("Retrieving ontology from JSON URL "+t),n(f.callbackLoad_JSON_FromURL,["read?json="+t,t]))},O.requestServerTimeStampForDirectInput=function(e,n){t.xhr("serverTimeStamp","application/text",function(o,i){o?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage(),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").text("0%")):(u=i.responseText,f.setConversionID(u),e(n,["conversionID"+u,u]))})},O.from_IRI_URL=function(e){var t=decodeURIComponent(e.slice("iri=".length));h=t;var n="";if(f.cachedOntology(t))f.append_bulletPoint("Loading already cached ontology: "+t),n=f.cachedOntology(t),C=!0,s(n);else{var o=encodeURIComponent(t);f.append_bulletPoint("Retrieving ontology from IRI: "+t),r(f.callbackLoad_Ontology_FromIRI,["convert?iri="+o,t])}},O.from_FileUpload=function(n){O.setBusyMode();var o=decodeURIComponent(n.slice("file=".length));h=o;var i="";if(f.cachedOntology(o))f.append_bulletPoint("Loading already cached ontology: "+o),i=f.cachedOntology(o),C=!0,s(i);else{f.append_bulletPoint("Retrieving ontology from file: "+o);var r=t.select("#file-converter-input").property("files")[0];if(!r||o&&o!==r.name)return f.append_message_toLastBulletPoint('
    No cached version of "'+o+'" was found.
    Please reupload the file.'),O.setErrorMode(),t.select("#progressBarValue").classed("busyProgressBar",!1),void e.handleOnLoadingError();if(o=r.name,o.match(/\.json$/)){f.setConversionID(-1e4);var l=new FileReader;l.readAsText(r),l.onload=function(){i=l.result,h=o,s(i)}}else{var d=[r,o];a(f.callbackLoadFromOntology,d)}}},O.directInput=function(e){f.clearDetailInformation(),s(e)},O.loadFromOWL2VOWL=function(e,n){C=!1;var o=t.select("#bulletPoint_container").node().innerHTML;o.indexOf("(with warnings)")!==-1&&(L=!0),f.cachedOntology(e)?(f.append_bulletPoint("Loading already cached ontology: "+n),s(e)):s(e)},O.from_presetOntology=function(e){f.append_bulletPoint("Retrieving ontology: "+e),l(e)},O.notValidJsonFile=function(){e.clearGraphData(),f.append_message_toLastBulletPoint(" failed"),f.append_message_toLastBulletPoint("
    Error: Received empty graph"),C=!1,e.handleOnLoadingError()},O.validJsonFile=function(){f.append_message_toLastBulletPoint("done"),C=!0},O}}).call(t,n(6))},343:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=document.styleSheets[1].cssRules,t=0;tYou can now modify an existing ontology or create a new one via the ontology menu.
    You can save any ontology using the export menu (and exporting it as TTL file).",o.style("padding","5px"),o.style("line-height","1.2em"),o.style("font-size","1.2em");var a=t.append("ul");a.append("li").node().innerHTML="Create a class with double click / tap on empty canvas area.",a.append("li").node().innerHTML="Edit names with double click / tap on element.",a.append("li").node().innerHTML="Selection of default constructors is provided in the left sidebar.",a.append("li").node().innerHTML="Additional editing functionality is provided in the right sidebar.";var d=t.append("label");d.node().id="killWarningErrorMessages_"+e,d.node().innerHTML="Got It",d.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showMessage=function(e){var t=l[e];t.classed("hidden",!1),t.style("-webkit-animation-name","warn_ExpandAnimation"),t.style("-webkit-animation-duration","0.5s")},r.closeMessage=function(e){var n;if(void 0===e){var o=this.id;n=o.split("_")[1]}else n=e;e&&e.indexOf("_")!==-1&&(n=e.split("_")[1]),d[n]=!1;var i=l[n];i.style("-webkit-animation-name","warn_CollapseAnimation"),i.style("-webkit-animation-duration","0.5s");for(var r=i.node().getBoundingClientRect().height,a=i.node().parentNode,s=[],c=a.children,u=c.length,f=i.node().id,h=!1,g=0;g0){var v=f.append("div");v.style("padding","5px");var m=v.append("div");m.style("display","inline-flex"),m.node().innerHTML="Warning:",m.style("padding-right","3px");var y=v.append("div");y.style("display","inline-flex"),y.style("max-width",g+"px"),y.node().innerHTML=n}if(o.length>0){var b=f.append("div");b.style("padding","5px");var x=b.append("div");x.style("display","inline-flex"),x.style("padding-right","3px"),x.node().innerHTML="Reason:";var w=b.append("div");w.style("display","inline-flex"),w.style("max-width",g+"px"),w.node().innerHTML=o}if(i.length>0){var k=f.append("div");k.style("padding","5px");var C=k.append("div");C.style("display","inline-flex"),C.style("padding-right","8px"),C.node().innerHTML="Action:";var L=k.append("div");L.style("display","inline-flex"),L.style("max-width",g+"px"),L.node().innerHTML=i}var M=f.append("label");M.node().id="killWarningErrorMessages_"+u,M.node().innerHTML="Continue",M.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0),a(c[0],c[1],c[2],c[3])}),f.append("span").node().innerHTML="|";var _=f.append("label");_.node().id="cancelButton_"+u,_.node().innerHTML="Cancel",_.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0)}),h.classed("hidden",!1),h.style("-webkit-animation-name","warn_ExpandAnimation"),h.style("-webkit-animation-duration","0.5s")},r.showFilterHint=function(){var e=r.addMessageBox(),t=s[e],n=l[e];d[e]=!0,o=e;var i=t.append("div");i.node().innerHTML="Collapsing filter activated.
    The number of visualized elements has been automatically reduced.
    Use the degree of collapsing slider in the filter menu to adjust the visualization.

    Note: A performance decrease could be experienced with a growing amount of visual elements in the graph.",i.style("padding","5px"),i.style("line-height","1.2em"),i.style("font-size","1.2em");var a=t.append("label");a.node().id="killFilterMessages_"+e,a.node().innerHTML="Got It",a.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showWarning=function(t,n,o,i,a,c){var p=r.addMessageBox(),u=s[p],f=l[p];d[p]=!0;var h=.5*e.options().width();if(t.length>0){var g=u.append("div");g.style("padding","5px");var v=g.append("div");v.style("display","inline-flex"),v.node().innerHTML="Warning:",v.style("padding-right","3px");var m=g.append("div");m.style("display","inline-flex"),m.style("max-width",h+"px"),m.node().innerHTML=t}if(n.length>0){var y=u.append("div");y.style("padding","5px");var b=y.append("div");b.style("display","inline-flex"),b.style("padding-right","3px"),b.node().innerHTML="Reason:";var x=y.append("div");x.style("display","inline-flex"),x.style("max-width",h+"px"),x.node().innerHTML=n}if(o.length>0){var w=u.append("div");w.style("padding","5px");var k=w.append("div");k.style("display","inline-flex"),k.style("padding-right","8px"),k.node().innerHTML="Action:";var C=w.append("div");C.style("display","inline-flex"),C.style("max-width",h+"px"),C.node().innerHTML=o}var L;if(1===i&&(L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage)),2===i){L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage),u.append("span").node().innerHTML="|";var M=u.append("label");M.node().id="zoomElementThing_"+p,M.node().innerHTML="Zoom to element ",M.on("click",function(){e.zoomToElementInGraph(c)}),u.append("span").node().innerHTML="|";var _=u.append("label");_.node().id="showElementThing_"+p,_.node().innerHTML="Indicate element",_.on("click",function(){c.halo()===!1?(c.drawHalo(),e.updatePulseIds([c.id()])):(c.removeHalo(),c.drawHalo(),e.updatePulseIds([c.id()]))})}f.classed("hidden",!1),f.style("-webkit-animation-name","warn_ExpandAnimation"),f.style("-webkit-animation-duration","0.5s"),f.classed("hidden",!1)},r}}).call(t,n(6))},344:function(e,t,n){(function(t){e.exports=function(e){var n={},o=t.select("#DirectInputContent");o.style("top","0"),o.style("position","absolute");var i=t.select("#directInputTextArea"),r=!1;return o.style("border","1px solid black"),o.style("padding","5px"),o.style("background","#fff"),n.handleDirectUpload=function(){var o,r=i.node().value;try{o=JSON.parse(r),e.options().loadingModule().directInput(r),o.class.length>0&&n.setDirectInputMode(!1)}catch(n){try{e.options().loadingModule().initializeLoader(),e.options().loadingModule().requestServerTimeStampForDirectInput(e.options().ontologyMenu().callbackLoad_Ontology_From_DirectInput,r)}catch(e){console.log("Error "+e),t.select("#Error_onLoad").classed("hidden",!1),t.select("#Error_onLoad").node().innerHTML="Failed to convert the input!"}}},n.handleCloseButton=function(){n.setDirectInputMode(!1)},n.updateLayout=function(){var t=e.options().width(),n=e.options().height();i.style("width",.4*t+"px"),i.style("height",.7*n+"px")},n.setDirectInputMode=function(e){r=e?e:!r,n.updateLayout(),t.select("#Error_onLoad").classed("hidden",!0),o.classed("hidden",!r)},t.select("#directUploadBtn").on("click",n.handleDirectUpload),t.select("#close_directUploadBtn").on("click",n.handleCloseButton),n}}).call(t,n(6))}}); diff --git a/dist/vocabulary/implementation/webvowl/js/webvowl.js b/dist/vocabulary/implementation/webvowl/js/webvowl.js new file mode 100644 index 0000000..fe3a381 --- /dev/null +++ b/dist/vocabulary/implementation/webvowl/js/webvowl.js @@ -0,0 +1,7 @@ +webvowl=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){function r(e,t){var n=t.key.replace(":","").toLowerCase();e[n]=t.value}n(1);var o=n(5)(),a=n(40)(),i={};i.graph=n(57),i.options=n(64),i.version="1.1.4",i.util={},i.util.constants=n(12),i.util.languageTools=n(11),i.util.elementTools=n(63),i.util.prefixTools=n(72),i.modules={},i.modules.colorExternalsSwitch=n(73),i.modules.compactNotationSwitch=n(74),i.modules.datatypeFilter=n(75),i.modules.disjointFilter=n(77),i.modules.focuser=n(78),i.modules.emptyLiteralFilter=n(79),i.modules.nodeDegreeFilter=n(80),i.modules.nodeScalingSwitch=n(81),i.modules.objectPropertyFilter=n(82),i.modules.pickAndPin=n(83),i.modules.selectionDetailsDisplayer=n(315),i.modules.setOperatorFilter=n(316),i.modules.statistics=n(317),i.modules.subclassFilter=n(318),i.nodes={},o.entries().forEach(function(e){r(i.nodes,e)}),i.properties={},a.entries().forEach(function(e){r(i.properties,e)}),e.exports=i},function(e,t){},,,,function(e,t,n){(function(t){var r=[];r.push(n(7)),r.push(n(18)),r.push(n(19)),r.push(n(26)),r.push(n(27)),r.push(n(28)),r.push(n(29)),r.push(n(30)),r.push(n(31)),r.push(n(32)),r.push(n(33)),r.push(n(34)),r.push(n(38)),r.push(n(39));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t){e.exports=d3},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["external"]).type("ExternalClass")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(9),o=n(14),a=n(17)();e.exports=function(){var e=function(e){function t(){var t=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(t=void 0);var n=new o(u.nodeElement(),t),r=u.equivalentsString(),a=r?",":"";return n.addText(u.labelForCurrentLanguage(),"",a),n.addEquivalents(r),e.options().compactNotation()||n.addSubText(u.indicationString()),n.addInstanceCount(u.individuals().length),n}r.apply(this,arguments);var n,i,s,l,u=this,c=!1,d=50,p=null,f=!1;this.setRectangularRepresentation=function(e){f=e},this.getRectangularRepresentation=function(){return f},this.getHalos=function(){return p},this.collapsible=function(e){return arguments.length?(c=e,this):c},this.textBlock=function(e){return arguments.length?(l=e,this):l},this.radius=function(e){return arguments.length?(d=e,this):d},this.setHoverHighlighting=function(e){u.nodeElement().selectAll("circle").classed("hovered",e)},this.textWidth=function(e){var t=2*this.actualRadius();if(e){var n=Math.abs(e)/this.actualRadius(),r=n<=1;t=r?Math.cos(n)*t:0}return t},this.toggleFocus=function(){u.focused(!u.focused()),u.nodeElement()&&u.nodeElement().select("circle").classed("focused",u.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.actualRadius=function(){if(!e.options().scaleNodesByIndividuals()||u.individuals().length<=0)return u.radius();var t=8,n=Math.log(u.individuals().length+1)*t+5;return u.radius()+n},this.distanceToBorder=function(){return u.actualRadius()},this.removeHalo=function(){u.halo()&&(u.halo(!1),p&&p.remove())},this.drawHalo=function(e){if(u.halo(!0),p=f===!0?a.drawRectHalo(u.nodeElement(),80,80,5):a.drawHalo(u.nodeElement(),u.actualRadius(),this.removeHalo),e===!1){var t=p.selectAll(".searchResultA");t.classed("searchResultA",!1),t.classed("searchResultB",!0),t.attr("animationRunning",!1)}},this.drawPin=function(){u.pinned(!0);var t=-.7*u.actualRadius(),n=-.7*u.actualRadius();i=a.drawPin(u.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){u.pinned(!1),i&&i.remove(),e.updateStyle()},this.drawCollapsingButton=function(){n=u.nodeElement().append("g").classed("hidden-in-export",!0).attr("transform",function(){var e=-.4*u.actualRadius(),t=.5*u.actualRadius();return"translate("+e+","+t+")"}),n.append("rect").classed("class pin feature",!0).attr("x",0).attr("y",0).attr("width",40).attr("height",24),n.append("line").attr("x1",13).attr("y1",12).attr("x2",27).attr("y2",12),n.append("line").attr("x1",20).attr("y1",6).attr("x2",20).attr("y2",18)},this.draw=function(e,t){var n=u.collectCssClasses();u.nodeElement(e);var r=u.backgroundColor();null===r&&(r=void 0),u.attributes().indexOf("deprecated")>-1&&(r=void 0),t instanceof Array&&(n=n.concat(t)),s=f===!0?a.appendRectangularClass(e,80,80,n,u.labelForCurrentLanguage(),r):a.appendCircularClass(e,u.actualRadius(),n,u.labelForCurrentLanguage(),r),u.postDrawActions(e)},this.redrawElement=function(){s.remove(),l.remove();var e=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(e=void 0);var t=u.collectCssClasses();s=f===!0?a.appendRectangularClass(u.nodeElement(),80,80,t,u.labelForCurrentLanguage(),e):a.appendCircularClass(u.nodeElement(),u.actualRadius(),t,u.labelForCurrentLanguage(),e),u.postDrawActions(u.nodeElement())},this.postDrawActions=function(){u.textBlock(t()),u.addMouseListeners(),u.pinned()&&u.drawPin(),u.halo()&&u.drawHalo(!1),u.collapsible()&&u.drawCollapsingButton()},this.redrawLabelText=function(){u.textBlock().remove(),u.textBlock(t()),s.select("title").text(u.labelForCurrentLanguage())},this.equivalentsString=function(){var e=u.equivalents();if(e)return e.map(function(e){return e.labelForCurrentLanguage()}).join(", ")}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(13)();e.exports=function(){var e=function(e){function n(){if(!g.mouseEntered()&&b!==!0){var t=g.nodeElement().node(),n=t.parentNode;g.animationProcess()===!1&&n.appendChild(t),e.isTouchDevice()===!1?(g.setHoverHighlighting(!0),g.mouseEntered(!0),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g)):e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g,!0)}}function a(){g.setHoverHighlighting(!1),g.mouseEntered(!1),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!1)}r.apply(this,arguments);var i,s,l,u,c,d,p,f,h,v,g=this,y=[],m="round",b=!1,x=[];g.editingTextElement=!1,this.isPropertyAssignedToThisElement=function(e){if(console.log("Element IRI :"+e.iri()),"rdfs:subClassOf"===e.type())for(var t=0;t0?this.LINE_DISTANCE:0;e.attr("dy",n+o+"px")},r.prototype.getTextBox=function(){return this._textBlock()},r.prototype._repositionTextBlock=function(){var e=this._lineCount();if(e<1)return void this._textBlock().attr("y",0);var t=this._textBlock().node().getBBox().height;this._textBlock().attr("y",.5*-t+"px")},r.prototype._lineCount=function(){return this._textBlock().property("childElementCount")}},function(e,t,n){(function(t){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}var r=4,o={};o.truncate=function(e,t,o,a){if(t-=isNaN(a)?r:a,isNaN(t)||t<=0)return e;for(var i,s,l,u=e;;){if(s=n(u,o),s<=t)break;if(l=s/t,i=Math.floor(u.length/l),u.length===i)break;u=u.substring(0,i)}return e.length>u.length?e.substring(0,u.length-3)+"...":e},e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){(function(t){function n(e,t){var n=e.append("text").classed("text",!0).style("fill",this._getTextColor(t)).attr("text-anchor","middle");this._textBlock=function(){return n}}function r(e){return.3*(e.r/255)+.59*(e.g/255)+.11*(e.b/255)}e.exports=n,n.prototype.LINE_DISTANCE=1,n.prototype.CSS_CLASSES={default:"text",subtext:"subtext",instanceCount:"instance-count"},n.prototype.DARK_TEXT_COLOR="#000",n.prototype.LIGHT_TEXT_COLOR="#fff",n.prototype.translation=function(e,t){return this._textBlock().attr("transform","translate("+e+", "+t+")"),this},n.prototype.remove=function(){return this._textBlock().remove(),this},n.prototype._applyPreAndPostFix=function(e,t,n){return t&&(e=t+e),n&&(e+=n),e},n.prototype._getTextColor=function(e){if(!e)return n.prototype.DARK_TEXT_COLOR;var o=t.rgb(e);return r(o)>.5?n.prototype.DARK_TEXT_COLOR:n.prototype.LIGHT_TEXT_COLOR}}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e,t){t instanceof Array&&t.forEach(function(t){e.classed(t,!0)})}function n(e,t){t&&e.append("title").text(t)}function r(e,t){t&&e.style("fill",t)}var o={};return o.appendCircularClass=function(t,o,a,i,s){var l=t.append("circle").classed("class",!0).attr("r",o);return e(l,a),n(l,i),r(l,s),l},o.appendRectangularClass=function(t,o,a,i,s,l){var u=t.append("rect").classed("class",!0).attr("x",-o/2).attr("y",-a/2).attr("width",o).attr("height",a);return e(u,i),n(u,s),r(u,l),u},o.drawPin=function(e,n,r,o,a,i){var s=e.append("g").classed("hidden-in-export",!0).attr("transform","translate("+n+","+r+")"),l=s.append("circle").classed("class pin feature",!0).attr("r",12).on("click",function(){o&&o(),t.event.stopPropagation()});return s.append("line").attr("x1",0).attr("x2",0).attr("y1",12).attr("y2",16),i===!0&&s.append("circle").attr("r",15).attr("cx",-7).attr("cy",-7).classed("superHiddenElement ",!0).classed("superOpacityElement",!a()).on("click",function(){o&&o(),t.event.stopPropagation()}).on("mouseover",function(){l.classed("feature_hover",!0)}).on("mouseout",function(){l.classed("feature_hover",!1)}),s},o.drawRectHalo=function(e,t,n,r){var o;if(o=e.nodeElement?e.nodeElement():e.labelElement()){var a=o.append("g").classed("hidden-in-export",!0);return a.append("rect").classed("searchResultA",!0).attr("x",(-t-r)/2).attr("y",(-r-n)/2).attr("width",t+r).attr("height",n+r),a.attr("animationRunning",!0),a.node().addEventListener("webkitAnimationEnd",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a.node().addEventListener("animationend",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a}},o.drawHalo=function(e,t){if(void 0===e)return null;var n=e.append("g").classed("hidden-in-export",!0);return n.append("circle",":first-child").classed("searchResultA",!0).attr("r",t+15),n.attr("animationRunning",!0),n.node().addEventListener("webkitAnimationEnd",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n.node().addEventListener("animationend",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n},function(){return o}}()}).call(t,n(6))},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.type("owl:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("complementof").type("owl:complementOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0);r.append("circle").attr("class","symbol").classed("fineline",!0).attr("r",10),r.append("path").attr("class","nofill").attr("d","m -7,-1.5 12,0 0,6").attr("transform","scale(.5)"),r.attr("transform","translate(-"+(t.radius()-15)/100+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(21),o=n(22),a=n(8),i=n(17)();e.exports=function(){var e=function(e){a.apply(this,arguments);var t=this,n=t.setHoverHighlighting,s=t.postDrawActions;this.setHoverHighlighting=function(e){n(e),t.links().filter(function(e){return e instanceof o}).filter(function(e){return e.domain().equals(t)}).forEach(function(t){t.property().setHighlighting(e)})},this.draw=function(e){t.nodeElement(e),i.appendCircularClass(e,t.actualRadius(),t.collectCssClasses().join(" "),t.labelForCurrentLanguage(),t.backgroundColor())},this.postDrawActions=function(){s(),t.textBlock().remove();var n=new r(t.nodeElement(),t.backgroundColor()),o=t.equivalentsString(),a=o?-30:-17,i=o?",":"";n.addText(t.labelForCurrentLanguage(),a,"",i),n.addEquivalents(o,-17),e.options().compactNotation()?n.addInstanceCount(t.individuals().length,17):t.indicationString().length>0?(n.addSubText(t.indicationString(),17),n.addInstanceCount(t.individuals().length,30)):n.addInstanceCount(t.individuals().length,17),t.textBlock(n)}};return e.prototype=Object.create(a.prototype),e.prototype.constructor=e,e}()},function(e,t,n){function r(e,t){a.apply(this,arguments)}var o=n(15)(),a=n(16);e.exports=r,r.prototype=Object.create(a.prototype),r.prototype.constructor=r,r.prototype.addText=function(e,t,n,r){e&&this.addTextline(e,this.CSS_CLASSES.default,t,n,r)},r.prototype.addSubText=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.subtext,t,"(",")")},r.prototype.addEquivalents=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.default,t)},r.prototype.addInstanceCount=function(e,t){e&&this.addTextline(e.toString(),this.CSS_CLASSES.instanceCount,t)},r.prototype.addTextline=function(e,t,n,r,a){var i=o.truncate(e,this._textBlock().datum().textWidth(n),t),s=this._textBlock().append("tspan").classed(this.CSS_CLASSES.default,!0).classed(t,!0).text(this._applyPreAndPostFix(i,r,a)).attr("x",0);this._repositionTextLine(s,n)},r.prototype._repositionTextLine=function(e,t){var n=window.getComputedStyle(e.node()).getPropertyValue("font-size"),r=parseFloat(n),o=1/3*r;e.attr("y",o+(t||0)+"px")}},function(e,t,n){function r(e,t,n){s.apply(this,arguments)}function o(e,t){var n=i(e,t);n.attr("refX",-8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function a(e,t){var n=i(e,t);n.attr("refX",8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function i(e,t){return e.append("marker").datum(t).attr("id",t.markerId()).attr("viewBox","-10 -10 20 20").attr("markerWidth",20).attr("markerHeight",20).attr("markerUnits","userSpaceOnUse").attr("orient","auto")}var s=n(23);e.exports=r,r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.draw=function(e,t){var n=this.label().property(),r=this.label().inverse();o(t,n),r&&a(t,r),s.prototype.draw.apply(this,arguments),e.attr("marker-start","url(#"+n.markerId()+")"),r&&e.attr("marker-end","url(#"+r.markerId()+")")}},function(e,t,n){function r(e,t,r){var a,i,s,l,u,c=new o(r,this),d=n(25)(e,c,this),p=n(25)(c,t,this);this.layers=function(e){return arguments.length?(a=e,this):a},this.layerIndex=function(e){return arguments.length?(i=e,this):i},this.loops=function(e){return arguments.length?(s=e,this):s},this.loopIndex=function(e){return arguments.length?(l=e,this):l},this.domain=function(){return e},this.label=function(){return c},this.linkParts=function(){return[p,d]},this.range=function(){return t},this.pathObj=function(e){return arguments.length?void(u=e):u}}var o=n(24);e.exports=r,r.prototype.draw=function(e){var t=this.label().property(),n=this.label().inverse();t.linkGroup(e),n&&n.linkGroup(e);var r=e.append("path");r.classed("link-path",!0).classed(this.domain().cssClassOfNode(),!0).classed(this.range().cssClassOfNode(),!0).classed(t.linkType(),!0),this.pathObj(r)},r.prototype.inverse=function(){return this.label().inverse()},r.prototype.isLoop=function(){return this.domain().equals(this.range())},r.prototype.property=function(){return this.label().property()}},function(e,t){function n(e,t){this.link=function(){return t},this.property=function(){return e},Object.defineProperty(this,"fixed",{get:function(){var t=!!e.inverse()&&e.inverse().fixed;return e.fixed||t},set:function(t){e.fixed=t,e.inverse()&&(e.inverse().fixed=t)}}),this.frozen=e.frozen,this.locked=e.locked,this.pinned=e.pinned}e.exports=n,n.prototype.actualRadius=function(){return this.property().actualRadius()},n.prototype.draw=function(e){return this.property().draw(e)},n.prototype.inverse=function(){return this.property().inverse()},n.prototype.equals=function(e){if(!e)return!1;var t=e instanceof n,r=this.property().equals(e.property()),o=!1;return this.inverse()?o=this.inverse().equals(e.inverse()):e.inverse()||(o=!0),t&&r&&o}},function(e,t){e.exports=function(e,t,n){var r={},o=e,a=n,i=t;return Object.defineProperties(r,{source:{value:o,writable:!0},target:{value:i,writable:!0}}),r.domain=function(){return o},r.link=function(){return a},r.range=function(){return i},r}},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).type("owl:DeprecatedClass").styleClass("deprecated").indications(["deprecated"])};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("disjointunionof").type("owl:disjointUnionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("text").attr("class","link").text("1").attr("transform","scale(.7)translate(3,5)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8),o=n(17)();e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n=4,a=this,i=a.actualRadius;this.styleClass("equivalentclass").type("owl:equivalentClass"),this.actualRadius=function(){return i()+n},this.redrawElement=function(){t.remove(),a.textBlock().remove();var e=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(e=void 0);var r=a.collectCssClasses();t=a.nodeElement().append("g"),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),e)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),console.log(r),console.log(a.attributes()),console.log("what is bgColor"+e),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),e)),a.postDrawActions(a.nodeElement())},this.draw=function(e){var r=a.collectCssClasses();a.nodeElement(e),t=e.append("g");var i=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(i=void 0),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),i)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),i)),a.postDrawActions()},a.setHoverHighlighting=function(e){a.nodeElement().selectAll("circle:last-of-type").classed("hovered",e)}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){function t(){var e=18,t=5,n=-(e/2),r=7,o=5,a=e-o,i="M"+t+","+n,s="c"+r+","+o+" "+r+","+a+" 0,"+e,l="c"+-r+","+-o+" "+-r+","+-a+" 0,"+-e;return i+s+l}r.apply(this,arguments);var n=this,o=n.draw,a=t();this.styleClass("intersectionof").type("owl:intersectionOf"),this.draw=function(e){o(e);var t=e.append("g").classed("embedded",!0),r=10;t.append("path").attr("class","nostroke").classed("symbol",!0).attr("d",a),t.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("circle").attr("cx",10).attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("path").attr("class","nofill").attr("d","m 9,5 c 0,-2 0,-4 0,-6 0,0 0,0 0,0 0,0 0,-1.8 -1,-2.3 -0.7,-0.6 -1.7,-0.8 -2.9,-0.8 -1.2,0 -2,0 -3,0.8 -0.7,0.5 -1,1.4 -1,2.3 0,2 0,4 0,6").attr("transform","scale(.5)translate(5,0)"),t.attr("transform","translate(-"+(n.radius()-15)/7+",-"+(n.radius()-15)/100+")"),n.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(31);e.exports=function(){var e=function(e){r.apply(this,arguments),this.label("Nothing").type("owl:Nothing").iri("http://www.w3.org/2002/07/owl#Nothing")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.label("Thing").type("owl:Thing").iri("http://www.w3.org/2002/07/owl#Thing").radius(30),this.draw=function(e){t(e,["white","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("unionof").type("owl:unionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("path").attr("class","link").attr("d","m 1,-3 c 0,2 0,4 0,6 0,0 0,0 0,0 0,2 2,3 4,3 2,0 4,-1 4,-3 0,-2 0,-4 0,-6").attr("transform","scale(.5)translate(5,0)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).type("rdfs:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t="undefined";this.attributes(["datatype"]).type("rdfs:Datatype").styleClass("datatype"),this.dType=function(e){return arguments.length?void(t=e):t}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(36);e.exports=function(){var e=function(e){r.apply(this,arguments)};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(9),o=n(14),a=n(17)(),i=n(37)();e.exports=function(){var e=function(e){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth; +return r.remove(),o}r.apply(this,arguments);var s,l,u,c,d=this,p=20,f=60,h=80,v=80,g=80,y=p/2;d.renderType("rect"),this.height=function(e){return arguments.length?(p=e,this):p},this.width=function(e){return arguments.length?(f=e,this):f},this.getHalos=function(){return l},this.actualRadius=function(){return y},this.distanceToBorder=function(e,t){return i.distanceToBorder(d,e,t)},this.setHoverHighlighting=function(e){d.nodeElement().selectAll("rect").classed("hovered",e);var t=d.getHalos();if(t){var n=t.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0)}},this.textWidth=function(){return h},this.width=function(){return h},this.getMyWidth=function(){var e=d.labelForCurrentLanguage();v=n(e,"text")+20;var t=d.indicationString(),r=n(t,"subtext")+20;return r>v&&(v=r),v},this.textWidth=function(){return d.width()},this.toggleFocus=function(){d.focused(!d.focused()),d.nodeElement().select("rect").classed("focused",d.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.draw=function(t,n){var r=d.collectCssClasses();d.nodeElement(t),n instanceof Array&&(r=r.concat(n)),h=e.options().dynamicLabelWidth()===!0?Math.min(d.getMyWidth(),e.options().maxLabelWidth()):g,f=h,u=a.appendRectangularClass(t,d.width(),d.height(),r,d.labelForCurrentLanguage(),d.backgroundColor()),c=new o(t,d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.addMouseListeners(),d.pinned()&&d.drawPin(),d.halo()&&d.drawHalo(!1)},this.drawPin=function(){d.pinned(!0);var t=-.5*h+5,n=-1.1*p;s=a.drawPin(d.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){d.pinned(!1),s&&s.remove(),e.updateStyle()},this.removeHalo=function(){d.halo(!1),l&&(l.remove(),l=null)},this.drawHalo=function(e){d.halo(!0);var t=0;if(l=a.drawRectHalo(d,this.width(),this.height(),t),e===!1){var n=l.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0),n.attr("animationRunning",!1)}if(d.pinned()){var r=s.node(),o=r.parentNode;o.appendChild(r)}},this.updateTextElement=function(){c.updateAllTextElements()},this.textBlock=function(){return c},this.redrawLabelText=function(){c.remove(),c=new o(d.nodeElement(),d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),u.select("title").text(d.labelForCurrentLanguage())},this.animateDynamicLabelWidth=function(t){d.removeHalo();var n=d.height();if(t===!0?(h=Math.min(d.getMyWidth(),e.options().maxLabelWidth()),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n}).each("end",function(){d.updateTextElement()})):(h=g,d.updateTextElement(),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n})),d.pinned()===!0&&s){var r=.5*h-10,o=-1.1*n;s.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}},this.addTextLabelElement=function(){var e=d.nodeElement();c=new o(e,this.backgroundColor()),c.addText(d.labelForCurrentLanguage())}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()}).call(t,n(6))},function(e,t){var n={};e.exports=function(){return n},n.distanceToBorder=function(e,t,n){var r,o=e.width(),a=e.height(),i=Math.abs(n/t),s=a/o;if(i<=s){var l=t/(o/2),u=n/l;r=Math.sqrt(Math.pow(o/2,2)+Math.pow(u,2))}else{var c=n/(a/2),d=t/c;r=Math.sqrt(Math.pow(a/2,2)+Math.pow(d,2))}return r}},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw,n=this.label;this.attributes(["datatype"]).label("Literal").styleClass("literal").type("rdfs:Literal").iri("http://www.w3.org/2000/01/rdf-schema#Literal"),this.draw=function(e){t(e,["dashed"])},this.label=function(e){return arguments.length?this:n()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.attributes(["rdf"]).label("Resource").radius(30).styleClass("rdfsresource").type("rdfs:Resource"),this.draw=function(e){t(e,["rdf","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=[];r.push(n(41)),r.push(n(44)),r.push(n(45)),r.push(n(46)),r.push(n(47)),r.push(n(48)),r.push(n(49)),r.push(n(50)),r.push(n(51)),r.push(n(52)),r.push(n(53)),r.push(n(54)),r.push(n(55)),r.push(n(56));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("allvaluesfromproperty").type("owl:allValuesFrom"),this.generateCardinalityText=function(){var e="A",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(14),a=n(17)(),i=n(13)(),s=n(37)();n(43)();e.exports=function(){var e=28,n=80,l=e/2,u=function(e){function n(){var e=[];return T.subproperties()&&(e=e.concat(T.subproperties())),T.superproperties()&&(e=e.concat(T.superproperties())),e}function l(){var e=n();e.forEach(function(e){e.foreground&&e.foreground()})}function u(){T.mouseEntered()||P===!0||(T.mouseEntered(!0),T.setHighlighting(!0),T.foreground(),l())}function c(){T.mouseEntered(!1),T.setHighlighting(!1)}function d(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}function p(t){if(e.ignoreOtherHoverEvents()===!1){var n=!1;T.inverse()&&(n=!0),t===!0&&e.activateHoverElementsForProperties(t,T,n)}}r.apply(this,arguments);var f,h,v,g,y,m,b,x,E,w,O,C,k,P,_,j,M,D,L,A,S,T=this,R="normal",I="filled",N=!0,F=80,H=80,B=[];this.existingPropertyIRI=function(t){return e.options().editSidebar().checkForExistingURL(t)},this.getHalos=function(){return M},this.getPin=function(){return j},this.labelObject=function(e,t){return arguments.length?(A=e,void(T.inverse()&&t!==!0&&T.inverse().labelObject(e,!0))):A},this.hide=function(e){T.labelElement().classed("hidden",e),T.linkGroup().classed("hidden",e),T.cardinalityElement()&&T.cardinalityElement().classed("hidden",e)},this.cardinality=function(e){return arguments.length?(f=e,this):f},this.cardinalityElement=function(e){return arguments.length?(w=e,this):w},this.domain=function(e){return arguments.length?(h=e,this):h},this.inverse=function(e){return arguments.length?(v=e,this):v},this.labelElement=function(e){return arguments.length?(O=e,this):O},this.labelVisible=function(e){return arguments.length?(N=e,this):N},this.link=function(e){return arguments.length?(g=e,this):g},this.linkGroup=function(e){return arguments.length?(C=e,this):C},this.linkType=function(e){return arguments.length?(R=e,this):R},this.markerElement=function(e){return arguments.length?(k=e,this):k},this.markerType=function(e){return arguments.length?(I=e,this):I},this.maxCardinality=function(e){return arguments.length?(m=e,this):m},this.minCardinality=function(e){return arguments.length?(y=e,this):y},this.range=function(e){return arguments.length?(b=e,this):b},this.redundantProperties=function(e){return arguments.length?(B=e,this):B},this.subproperties=function(e){return arguments.length?(x=e,this):x},this.superproperties=function(e){return arguments.length?(E=e,this):E},this.distanceToBorder=function(e,t){return s.distanceToBorder(T,e,t)},this.linkHasMarker=function(){return"dashed"!==R},this.markerId=function(){return"marker"+T.id()},this.toggleFocus=function(){T.focused(!T.focused()),O.select("rect").classed("focused",T.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.getShapeElement=function(){return D},this.textBlock=function(){return L},this.redrawElement=function(){D.remove(),L.remove(),T.drawLabel(T.labelElement()),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth())},this.draw=function(t){function n(e){var n=t.append("g").datum(e).classed("label",!0).attr("id",e.id());return e.drawLabel(n),n}if(T.labelVisible()){if(F=e.options().dynamicLabelWidth()===!0?Math.min(T.getMyWidth(),e.options().maxLabelWidth()):H,T.labelElement(n(T)),T.inverse()){var r=T.height()/2+1;T.inverse().labelElement(n(T.inverse())),T.labelElement().attr("transform","translate(0,-"+r+")"),T.inverse().labelElement().attr("transform","translate(0,"+r+")")}return T.pinned()?T.drawPin():T.inverse()&&T.inverse().pinned()&&T.inverse().drawPin(),T.halo()&&T.drawHalo(!1),T.labelElement()}},this.addRect=function(e){var t=e.append("rect").classed(T.styleClass(),!0).classed("property",!0).attr("x",-T.width()/2).attr("y",-T.height()/2).attr("width",T.width()).attr("height",T.height()).on("mouseover",function(){u()}).on("mouseout",function(){c()});t.append("title").text(T.labelForCurrentLanguage()),T.visualAttributes()&&t.classed(T.visualAttributes(),!0);var n=T.backgroundColor();return T.attributes().indexOf("deprecated")>-1?(n=void 0,t.classed("deprecatedproperty",!0)):t.classed("deprecatedproperty",!1),t.style("fill",n),t},this.drawLabel=function(e){D=this.addRect(e);var t=T.equivalentsString(),n=t?",":"",r=T.backgroundColor();T.attributes().indexOf("deprecated")>-1&&(r=void 0),L=new o(e,r),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.equivalentsString=function(){var e=T.equivalents();if(e)return e.map(function(e){return void 0===e||"string"==typeof e?"ERROR":e.labelForCurrentLanguage()}).join(", ")},this.drawCardinality=function(e){var t=this.generateCardinalityText();return!!t&&(T.cardinalityElement(e),0===t.indexOf("A")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -8.8832678,-11.303355 -7.97e-4,0 0.717374,1.833297 8.22987151,21.371761 8.66826659,-21.2123526 0.797082,-1.9927054 0.02471,0 -0.8218553,1.9927054 -2.2517565,5.4201577 -12.4444429,8e-6 -2.2019394,-5.5795821 z").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):0===t.indexOf("E")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -5.5788451,-8.0958763 10.8749368,0 0,8.34681523 -9.5707468,0.040132 9.5707468,-0.040132 0,8.42707237 -10.9150654,0").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):(e.append("text").classed("cardinality",!0).attr("text-anchor","middle").attr("dy","0.5ex").text(t),!0))},this.generateCardinalityText=function(){if(T.cardinality())return T.cardinality();if(T.minCardinality()||T.maxCardinality()){var e=T.minCardinality()||"*",t=T.maxCardinality()||"*";return e+".."+t}},T.setHighlighting=function(t){T.labelElement&&T.labelElement()&&T.labelElement().select("rect").classed("hovered",t),T.linkGroup().selectAll("path, text").classed("hovered",t),T.markerElement()&&(T.markerElement().select("path").classed("hovered",t),T.cardinalityElement()&&(T.cardinalityElement().selectAll("path").classed("hovered-MathSymbol",t),T.cardinalityElement().classed("hovered",t)));var r=n();r.forEach(function(e){e.labelElement&&e.labelElement()&&e.labelElement().select("rect").classed("indirect-highlighting",t)});var o=!1;e.ignoreOtherHoverEvents()===!1&&(T.inverse()&&(o=!0),e.isTouchDevice()===!1?e.activateHoverElementsForProperties(t,T,o):(T.labelElement().select("rect").classed("hovered",!1),T.linkGroup().selectAll("path, text").classed("hovered",!1),T.markerElement()&&(T.markerElement().select("path").classed("hovered",!1),T.cardinalityElement()&&T.cardinalityElement().classed("hovered",!1)),e.activateHoverElementsForProperties(t,T,o,!0)))},this.foreground=function(){if(T.labelElement()&&null!==T.labelElement().node().parentNode){var e=T.labelElement().node().parentNode,t=e.parentNode,n=T.linkGroup().node(),r=T.linkGroup().node().parentNode;T.animationProcess()===!1&&t.appendChild(e),r.appendChild(n)}},this.drawPin=function(){if(T.pinned(!0),F=e.options().dynamicLabelWidth()===!0?T.getMyWidth():H,T.inverse()){var t=T.labelElement().attr("transform"),n=T.inverse().labelElement().attr("transform"),r=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(t)[2],o=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(n)[2];j=rF&&(F=n),F},this.textWidth=function(){return F},this.width=function(){return F},this.animateDynamicLabelWidth=function(t){if(T.removeHalo(),void 0!==D){var n=T.height();if(t===!0?(F=Math.min(T.getMyWidth(),e.options().maxLabelWidth()),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n}).each("end",function(){T.updateTextElement()})):(F=H,T.updateTextElement(),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n})),T.pinned()===!0&&j){var r=-.5*F+10,o=-25;j.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}}},this.redrawLabelText=function(){L.remove(),T.addTextLabelElement(),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),D.select("title").text(T.labelForCurrentLanguage())},this.addTextLabelElement=function(){var e=T.labelElement(),t=T.equivalentsString(),n=t?",":"";L=new o(e,this.backgroundColor()),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.updateTextElement=function(){L.updateAllTextElements()},this.enableEditing=function(e){e!==!1&&T.raiseDoubleClickEdit(!0)},this.raiseDoubleClickEdit=function(n){if(t.selectAll(".foreignelements").remove(),void 0===T.labelElement()||"owl:disjointWith"===this.type()||"rdfs:subClassOf"===this.type())return void console.log("No Container found");void 0!==_&&T.labelElement().selectAll(".foreignelements").remove(),S=void 0,e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),T.editingTextElement=!0,P=!0,T.labelElement().selectAll("rect").classed("hoveredForEditing",!0),T.frozen(!0),e.killDelayedTimer(),e.ignoreOtherHoverEvents(!1),_=T.labelElement().append("foreignObject").attr("x",-.5*T.textWidth()).attr("y",-13).attr("height",25).attr("class","foreignelements").on("dragstart",function(){return!1}).attr("width",T.textWidth()-2);var r=_.append("xhtml:input").attr("class","nodeEditSpan").attr("id",T.id()).attr("align","center").attr("contentEditable","true").on("dragstart",function(){return!1}),o="#f00",a=T.textWidth()-2;r.style({align:"center",color:"black",width:a+"px","background-color":o,"border-bottom":"2px solid black"});var i=r.node();i.value=T.labelForCurrentLanguage(),i.focus(),i.select(),t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation(),r.on("click",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mouseout",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mousedown",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}).on("keydown",function(){13===t.event.keyCode&&(this.blur(),T.frozen(!1),T.locked(!1))}).on("keyup",function(){if(n){var o=r.node().value,a=o.replaceAll(" ","_"),i=T.baseIri()+a;S=i,t.select("#element_iriEditor").node().title=i,t.select("#element_iriEditor").node().value=e.options().prefixModule().getPrefixRepresentationForFullURI(i)}t.select("#element_labelEditor").node().value=r.node().value}).on("blur",function(){T.editingTextElement=!1,P=!1,T.labelElement().selectAll("rect").classed("hoveredForEditing",!1);var t=r.node().value;if(T.labelElement().selectAll(".foreignelements").remove(),T.label(t),T.backupLabel(t),T.redrawLabelText(),p(!0),e.showHoverElementsAfterAnimation(T,!1),e.ignoreOtherHoverEvents(!1),T.frozen(e.paused()),T.locked(e.paused()),T.domain().frozen(e.paused()),T.domain().locked(e.paused()),T.range().frozen(e.paused()),T.range().locked(e.paused()),e.removeEditElements(),S){var n=e.options().editSidebar().checkProperIriChange(T,S);n!==!1&&e.options().warningModule().showWarning("Already seen this property","Input IRI: "+S+" for element: "+T.labelForCurrentLanguage()+" already been set","Continuing with duplicate property!",1,!1,n),T.iri(S)}e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),e.updatePropertyDraggerElements(T)})},T.copyInformation=function(e){T.label(e.label()),T.iri(e.iri()),T.baseIri(e.baseIri()),"owl:ObjectProperty"!==e.type()&&"owl:DatatypeProperty"!==e.type()||T.backupLabel(e.label()),void 0!==e.backupLabel()&&T.backupLabel(e.backupLabel())},i.addTo(this)};return u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.height=function(){return e},u.prototype.width=function(){return n},u.prototype.actualRadius=function(){return l},u.prototype.textWidth=u.prototype.width,u}()}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e){return e%=360,e<0&&(e+=360),Math.PI*e/180}function n(e){return e*(180/Math.PI)}var r={},o=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal").tension(-1);return r.calculateNormalVector=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=-o,i=r,s=Math.sqrt(a*a+i*i),l=0!==s?n/s:0;return{x:a*l,y:i*l}},r.getLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i);o.increasedLoopAngle===!0&&(s=120);var l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,E]},r.calculateLoopPath=function(t){var r=t.domain(),a=t.label(),i=360/t.loops().length,s=.8*i,l=Math.min(60,s);a.increasedLoopAngle===!0&&(l=120);var u=a.x-r.x,c=a.y-r.y,d=Math.atan2(c,u),p=n(d),f=p-l/2,h=p+l/2,v=e(f),g=e(h),y=Math.cos(v)*r.actualRadius(),m=Math.sin(v)*r.actualRadius(),b=Math.cos(g)*r.actualRadius(),x=Math.sin(g)*r.actualRadius(),E={x:r.x+y,y:r.y+m},w={x:r.x+b,y:r.y+x};return o([E,t.label(),w])},r.calculateLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i),l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,t.label(),E]},r.calculateIntersection=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=Math.sqrt(r*r+o*o);if(0===a)return{x:e.x,y:e.y};var i=t.distanceToBorder(r,o),s=(a-(i+n))/a,l=r*s+e.x,u=o*s+e.y;return{x:l,y:u}},r.calculateCenter=function(e,t){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}},function(){return r}}()}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["datatype"]).styleClass("datatypeproperty").type("owl:DatatypeProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).styleClass("deprecatedproperty").type("owl:DeprecatedProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42),o=n(14);e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n="Disjoint With";this.label=function(e){return arguments.length?this:n},this.linkType("dashed").styleClass("disjointwith").type("owl:disjointWith"),this.drawLabel=function(n){t=this.addRect(n),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",-12.5).attr("r",10),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",12.5).attr("r",10);var r=new o(n,this.backgroundColor());e.options().compactNotation()||r.addSubText("disjoint"),r.translation(0,20)},this.getShapeElement=function(){return t},this.markerElement=function(){}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.styleClass("equivalentproperty").type("owl:equivalentProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["functional"]).styleClass("functionalproperty").type("owl:FunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["inverse functional"]).styleClass("inversefunctionalproperty").type("owl:InverseFunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["object"]).styleClass("objectproperty").type("owl:ObjectProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("somevaluesfromproperty").type("owl:someValuesFrom"),this.generateCardinalityText=function(){var e="E",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["symmetric"]).styleClass("symmetricproperty").type("owl:SymmetricProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["transitive"]).styleClass("transitiveproperty").type("owl:TransitiveProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).styleClass("rdfproperty").type("rdf:Property")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw,o="Subclass of";this.draw=function(r){return t.labelVisible(!e.options().compactNotation()),n(r)},this.label=function(e){return arguments.length?this:o},this.linkType("dotted").markerType("white").styleClass("subclass").type("rdfs:subClassOf"),t.baseIri("http://www.w3.org/2000/01/rdf-schema#"),t.iri("http://www.w3.org/2000/01/rdf-schema#subClassOf")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.labelVisible(!1).linkType("dashed").markerType("white").styleClass("setoperatorproperty").type("setOperatorProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(58),o=n(43)(),a=n(60)(),i=n(63)(),s=n(5)(),l=n(40)();e.exports=function(e){function u(){Te.graphContainerSelector(e);var n=!1;ye=t.layout.force().on("tick",c),me=t.behavior.drag().origin(function(e){return e}).on("dragstart",function(e){t.event.sourceEvent.stopPropagation(),De.ignoreOtherHoverEvents(!0),e.type&&"Class_dragger"===e.type()?(wt.mouseButtonPressed=!0,clearTimeout(Oe),wt.selectedViaTouch(!0),e.parentNode().locked(!0),at=!0):e.type&&"Range_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):e.type&&"Domain_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):(e.locked(!0),n=!1)}).on("drag",function(e){e.type&&"Class_dragger"===e.type()?(clearTimeout(Oe),wt.setPosition(t.event.x,t.event.y)):e.type&&"Range_dragger"===e.type()?(clearTimeout(Oe),Ot.setPosition(t.event.x,t.event.y),kt.setPosition(t.event.x,t.event.y),Ct.updateElementViaRangeDragger(t.event.x,t.event.y)):e.type&&"Domain_dragger"===e.type()?(clearTimeout(Oe),Ct.setPosition(t.event.x,t.event.y),kt.setPositionDomain(t.event.x,t.event.y),Ot.updateElementViaDomainDragger(t.event.x,t.event.y)):(e.px=t.event.x,e.py=t.event.y,ye.resume(),S(),n=!0,e.renderType&&"round"===e.renderType()&&wt.setParentNode(e))}).on("dragend",function(e){if(De.ignoreOtherHoverEvents(!1),e.type&&"Class_dragger"===e.type()){var t=wt.x,r=wt.y;clearTimeout(Oe),wt.mouseButtonPressed=!1,wt.selectedViaTouch(!1),e.setParentNode(e.parentNode());var o=[t,r],a=De.getTargetNode(o);a&&U(e.parentNode(),a,o),Ke===!1&&K(),at=!1}else if(e.type&&"Range_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var s=Ot.x,l=Ot.y,u=[s,l],c=De.getTargetNode(u);i.isDatatype(c)===!0&&(c=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),null===c?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateRange(c),De.update(),kt.hideParentProperty(!1))}else if(e.type&&"Domain_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var d=Ct.x,p=Ct.y,f=[d,p],h=De.getTargetNode(f);i.isDatatype(h)===!0&&(h=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),kt.hideClone(!0),null===h?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateDomain(h),De.update(),kt.hideParentProperty(!1))}else{e.locked(!1);var v=De.options().pickAndPinModule();v.enabled()===!0&&n===!0&&(e.id&&v.handle(e,!0),e.property&&v.handle(e.property(),!0))}}),Me=t.behavior.zoom().duration(150).scaleExtent([Te.minMagnification(),Te.maxMagnification()]).on("zoom",v),nt.push(wt),nt.push(Ot),nt.push(Ct),nt.push(kt),ye.stop()}function c(){if(ct=!1,De.options().loadingModule().successfullyLoadedOntology()===!1)return ye.stop(),t.select("#progressBarValue").node().innerHTML="",De.updateProgressBarMode(),De.options().loadingModule().showErrorDetailsMessage(c),void(yt&&mt===!1&&De.options().loadingModule().collapseDetails("hiddenRecalculatePositions"));if(He===!1){var e=1-10*ye.alpha(),n=parseInt(200*e)+"%";De.options().loadingModule().setPercentValue(n),t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,e>.49&&(He=!0,ne&&(ne.style("opacity","1"),n="100%",t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,De.options().ontologyMenu().append_message_toLastBulletPoint("done"),t.select("#reloadCachedOntology").classed("hidden",!bt),gt===!0&&vt===!1&&(De.options().warningModule().showFilterHint(),vt=!0)),Fe&&(De.paused()===!1&&ye.resume(),Fe=!1),ct=!0,ft===!0?(ye.on("tick",d),d()):(ye.on("tick",p),p()),We===!0&&ye.nodes().length>0&&(ye.nodes().length<10?De.forceRelocationEvent(!0):De.forceRelocationEvent(),We=!1),De.showEditorHintIfNeeded(),De.options().loadingModule().missingImportsWarning()===!1?(De.options().loadingModule().hideLoadingIndicator(),De.options().ontologyMenu().append_bulletPoint("Successfully loaded ontology"),De.options().loadingModule().setSuccessful()):(De.options().loadingModule().showWarningDetailsMessage(),De.options().ontologyMenu().append_bulletPoint("Loaded ontology with warnings")))}}function d(){p(),_e=Date.now();var e=_e-je,t=(1e3/e).toFixed(2);ut.node().innerHTML="FPS: "+t+"
    Nodes: "+ye.nodes().length+"
    Links: "+ye.links().length,je=Date.now()}function p(){return lt?(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1!==n.layers().length||n.loops())e.linkDomainIntersection=o.calculateIntersection(n.label(),n.domain(),0),e.linkRangeIntersection=o.calculateIntersection(n.label(),n.range(),0),n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement());else{var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y,e.linkRangeIntersection=a,e.linkDomainIntersection=r,n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement())}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop()){var t=o.getLoopPoints(e);return e.label().linkRangeIntersection=t[1],e.label().linkDomainIntersection=t[0],e.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement()),o.calculateLoopPath(e)}var n=e.label(),r=o.calculateIntersection(n,e.domain(),1),a=o.calculateIntersection(n,e.range(),1);return e.linkRangeIntersection=r,e.linkDomainIntersection=a,e.property().focused()!==!0&&void 0===ot||(Ct.updateElement(),Ot.updateElement()),Se([r,n,a])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),rt&&(ee(rt),Q(rt),at===!1&&wt.setParentNode(rt)),ot&&te(ot),void S()):(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1===n.layers().length&&!n.loops()){ +var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop())return o.calculateLoopPath(e);var t=e.label(),n=o.calculateIntersection(t,e.domain(),1),r=o.calculateIntersection(t,e.range(),1);return Se([n,t,r])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),void S())}function f(){function e(e){Te.selectionModules().forEach(function(t){t.handle(e)})}se.on("click",function(n){Ke===!0&&G()===!0?(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n))):e(n)}),se.on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))}),le.selectAll(".label").on("click",function(n){e(n),Ke===!0&&G()===!0&&(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n)))}),le.selectAll(".label").on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))})}function h(e){if(De.options().getGeneralMetaObject().iri){var t=De.options().getGeneralMetaObject().iri+e.id();return e.iri()===t}return!1}function v(){if(pt===!0)return Me.translate(Ve),void Me.scale(Be);var e=!1;if(t.event.sourceEvent&&t.event.sourceEvent.deltaY&&(e=!0),e===!1){if(ze===!0)return;return Be=t.event.scale,Ve=t.event.translate,ne.attr("transform","translate("+Ve+")scale("+Be+")"),S(),void De.options().zoomSlider().updateZoomSliderValue(Be)}Be=t.event.scale,Ve=t.event.translate,ne.transition().tween("attr.translate",function(){return function(e){ze=!0;var n=t.transform(ne.attr("transform"));Ve[0]=n.translate[0],Ve[1]=n.translate[1],Be=n.scale[0],S(),De.options().zoomSlider().updateZoomSliderValue(Be)}}).each("end",function(){ze=!1}).attr("transform","translate("+Ve+")scale("+Be+")").ease("linear").duration(250)}function g(){b(),ne=t.selectAll(Te.graphContainerSelector()).append("svg").classed("vowlGraph",!0).attr("width",Te.width()).attr("height",Te.height()).call(Me).append("g");var e=t.selectAll(".vowlGraph");Qe=e.on("dblclick.zoom"),et=e.on("touchstart"),e.on("touchstart",Z),lt===!0?e.on("dblclick.zoom",De.modified_dblClickFunction):e.on("dblclick.zoom",Qe)}function y(){Ee=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("addDataPropertyElement",!0).attr("transform","translate(0,0)"),Ee.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",-8).attr("y1",0).attr("x2",8).attr("y2",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",0).attr("y1",-8).attr("x2",0).attr("y2",8).append("title").text("Add Datatype Property"),De.options().useAccuracyHelper()&&Ee.append("circle").attr("r",15).attr("cx",-7).attr("cy",7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject()),xe=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("deleteParentElement",!0).attr("transform","translate(0,0)"),xe.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Delete This Node");var e=5;xe.append("line").attr("x1",-e).attr("y1",-e).attr("x2",e).attr("y2",e).append("title").text("Delete This Node"),xe.append("line").attr("x1",e).attr("y1",-e).attr("x2",-e).attr("y2",e).append("title").text("Delete This Node"),De.options().useAccuracyHelper()&&xe.append("circle").attr("r",15).attr("cx",7).attr("cy",-7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject())}function m(){var e;if(ne){ne.selectAll("*").remove(),ie=ne.append("g").classed("linkContainer",!0),ae=ne.append("g").classed("cardinalityContainer",!0),oe=ne.append("g").classed("labelContainer",!0),re=ne.append("g").classed("nodeContainer",!0);var n=ne.append("g").classed("linkContainer",!0);tt=ne.append("g").classed("editContainer",!0),we=ne.append("g").classed("editContainer",!0),n.classed("hidden-in-export",!0),we.classed("hidden-in-export",!0),tt.classed("hidden-in-export",!0),e=ie.append("defs");var r=tt.selectAll(".node").data(nt).enter().append("g").classed("node",!0).classed("hidden-in-export",!0).attr("id",function(e){return e.id()}).call(me);r.each(function(e){e.svgRoot(t.select(this)),e.svgPathLayer(n),"shadowClone"===e.type()?(e.drawClone(),e.hideClone(!0)):(e.drawNode(),e.hideDragger(!0))}),y(),e=ie.append("defs"),void 0===pe&&(pe=[]),se=re.selectAll(".node").data(pe).enter().append("g").classed("node",!0).attr("id",function(e){return e.id()}).call(me),se.each(function(e){e.draw(t.select(this))}),void 0===fe&&(fe=[]),le=oe.selectAll(".labelGroup").data(fe).enter().append("g").classed("labelGroup",!0).call(me),le.each(function(e){var n=e.draw(t.select(this));e.property().labelObject(e),n||t.select(this).remove()}),le.each(function(e){if(this.parentNode&&i.isRdfsSubClassOf(e.property())){var t=this.parentNode;t.insertBefore(this,t.firstChild)}}),void 0===ve&&(ve=[]),de=ae.selectAll(".cardinality").data(ve).enter().append("g").classed("cardinality",!0),de.each(function(e){var n=e.drawCardinality(t.select(this));n||t.select(this).remove()}),void 0===he&&(he=[]),ue=ie.selectAll(".link").data(he).enter().append("g").classed("link",!0),ue.each(function(n){n.draw(t.select(this),e)}),ce=ue.selectAll("path"),f()}}function b(){ne&&t.select(ne.node().parentNode).remove()}function x(){Ze=[];for(var e,t=0;t0)for(var r=0;r0?(ne.style("opacity","0"),ye.on("tick",c)):(ne.style("opacity","1"),ft===!0?ye.on("tick",d):ye.on("tick",p)),ye.start()):(ye.stop(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),n.setErrorMode()),De.options().clearMetaObject(),De.options().clearGeneralMetaObject(),De.options().editSidebar().clearMetaObjectValue(),void 0!==Te.data()){var a=Te.data().header;if(a){if(a.iri&&De.options().addOrUpdateGeneralObjectEntry("iri",a.iri),a.title&&De.options().addOrUpdateGeneralObjectEntry("title",a.title),a.author&&De.options().addOrUpdateGeneralObjectEntry("author",a.author),a.version&&De.options().addOrUpdateGeneralObjectEntry("version",a.version),a.description&&De.options().addOrUpdateGeneralObjectEntry("description",a.description),a.prefixList){var i=a.prefixList;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];De.options().addPrefix(s,l)}}if(a.other){var u=a.other;for(var f in u)if(u.hasOwnProperty(f)){var h=u[f];h.hasOwnProperty("identifier")&&h.hasOwnProperty("value")&&De.options().addOrUpdateMetaObjectEntry(h.identfier,h.value)}}}}var v=r.clone(ge);Te.filterModules().forEach(function(e){v=P(e,v,!0)}),w(ge),Re.parseSettings(),qe=Re.settingsImported(),We=!0,Re.settingsImportGraphZoomAndTranslation()===!0&&(We=!1),De.options().searchMenu().requestDictionaryUpdate(),De.options().editSidebar().updateGeneralOntologyInfo(),De.options().editSidebar().updatePrefixUi(),De.options().editSidebar().updateElementWidth()}function C(){he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function k(){var e=Te.literalFilter().enabled();De.executeEmptyLiteralFilter(),Te.literalFilter().enabled(e);var t=r.clone(ge);Te.filterModules().forEach(function(e){t=P(e,t)}),Te.focuserModule().handle(void 0,!0),pe=t.nodes,ve=t.properties,he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function P(e,t,n){return he=a.createLinks(t.properties),_(t.nodes,he),n&&e.initialize&&e.initialize(t.nodes,t.properties),e.filter(t.nodes,t.properties),{nodes:e.filteredNodes(),properties:e.filteredProperties()}}function _(e,t){for(var n=0,r=e.length;n0)for(var e=ye.nodes(),t=0;tr||f<0||f>o){p<0&&f<0?(v=0,g=0):p>0&&pr&&f<0?(v=r,g=0):p>r&&f>0&&fr&&f>o?(v=r,g=o):p>0&&po?(v=p,g=o):p<0&&f>o?(v=0,g=o):p<0&&f>0&&f2500&&(u=2500),ne.attr("transform",N(a,n,r)).transition().duration(u).attrTween("transform",function(){return function(e){return N(l(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S()})}function H(e,t,n,r){var o,a,i=r[0];return i?(o=(e-n[0])/i,a=(t-n[1])/i):(o=(e-n[0])/r,a=(t-n[1])/r),{x:o,y:a}}function B(e,t){var n=De.options().width(),r=De.options().height(),o=T(e.x,e.y,Ve,Be),a=o.x,i=o.y,s=!(a<0||a>n||i<0||i>r);return s}function W(){Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),wt.hideDragger(!0),Ee&&Ee.classed("hidden",!0),xe&&xe.classed("hidden",!0),rt&&rt.pinned()===!1&&(rt.locked(De.paused()),rt.frozen(De.paused())),ot&&ot.pinned()===!1&&(ot.locked(De.paused()),ot.frozen(De.paused()))}function z(e){return t.map(e.values(),function(e){return(new e).type().toLowerCase()})}function V(e){var n,r,o=!0,a=t.select("#defaultClass").node().title;r=xt.get(a.toLowerCase()),n=new r(De);var i=!1;"owl:Thing"===a?n.label("Thing"):(n.label("NewClass"),i=!0),n.x=e.x,n.y=e.y,n.px=n.x,n.py=n.y,n.id("Class"+st++),n.baseIri(t.select("#iriEditor").node().value),n.iri(n.baseIri()+n.id()),q(n,o),Te.focuserModule().handle(n,!0),n.frozen(De.paused()),n.locked(De.paused()),n.enableEditing(i)}function q(e){ge.nodes.push(e),pe.indexOf(e)===-1&&pe.push(e),w(ge),De.getUpdateDictionary(),De.fastUpdate()}function U(e,n,r){var o=t.select("#defaultProperty").node().title;if(De.sanityCheckProperty(e,n,o)===!1)return!1;var a=Et.get(o.toLowerCase()),i=new a(De);if(i.id("objectProperty"+it++),i.domain(e),i.range(n),i.label("newObjectProperty"),i.baseIri(t.select("#iriEditor").node().value),i.iri(i.baseIri()+i.id()),De.propertyCheckExistenceChecker(i,e,n)===!1)return!1;var s=!1;"owl:objectProperty"===o&&(s=!0);var l=.49*(e.x+n.x),u=.49*(e.y+n.y);if(e===n){var c=r[0]-e.x,d=r[1]-e.y,p=Math.sqrt(c*c+d*d),f=c/p,h=d/p;isNaN(p)&&(f=0,h=-1);var v=2*e.actualRadius()+50;l=e.x+v*f,u=e.y+v*h}e.addProperty(i),n.addProperty(i),ge.properties.push(i),ve.indexOf(i)===-1&&ve.push(i),De.fastUpdate(),i.labelObject().x=l,i.labelObject().px=l,i.labelObject().y=u,i.labelObject().py=u,i.frozen(De.paused()),i.locked(De.paused()),e.frozen(De.paused()),e.locked(De.paused()),n.frozen(De.paused()),n.locked(De.paused()),w(ge),De.getUpdateDictionary(),Te.focuserModule().handle(i),De.activateHoverElementsForProperties(!0,i,!1,Ke),i.labelObject().increasedLoopAngle=!0,i.enableEditing(s)}function G(){var e=t.event.timeStamp,n=1;return t.event&&t.event.touches&&t.event.touches.length&&(n=t.event.touches.length),e-be<300&&1===n&&(t.event.stopPropagation(),lt===!0)?(t.event.preventDefault(),t.event.stopPropagation(),be=e,!0):(be=e,!1)}function Z(){pt=!0;var e=t.event.timeStamp;return e-be<300&&1===t.event.touches.length?(t.event.stopPropagation(),void(lt===!0?(t.event.preventDefault(),t.event.stopPropagation(),Me.translate(Ve),Me.scale(Be),De.modified_dblTouchFunction()):(pt=!1,et&&et()))):(pt=!1,be=e,void(et&&et()))}function $(e){if(e!==!0){if(rt){if(rt.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&rt.editingTextElement===!1&&(rt.frozen(!1),rt.locked(!1))},1e3)}if(ot){if(ot.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),ot&&ot.focused()===!0&&De.options().drawPropertyDraggerOnHover()===!0&&(ot.labelObject().increasedLoopAngle=!1,p()),ot&&ot.pinned()===!1&&De.paused()===!1&&ot.editingTextElement===!1&&(ot.frozen(!1),ot.locked(!1))},1e3)}}}function X(){wt.nodeElement.classed("classDraggerNodeHovered",!0),wt.nodeElement.classed("classDraggerNode",!1),J()}function Y(){wt.nodeElement.classed("classDraggerNodeHovered",!1),wt.nodeElement.classed("classDraggerNode",!0),K()}function J(e){e!==!0&&clearTimeout(Oe)}function K(e){if(rt){if(De.ignoreOtherHoverEvents()===!0||e===!0||rt.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&(rt.frozen(!1),rt.locked(!1)))},1e3)}if(ot){if(De.ignoreOtherHoverEvents()===!0||e===!0||ot.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),ot&&ot.pinned()===!1&&De.paused()===!1&&(ot.frozen(!1),ot.locked(!1)))},1e3)}}function Q(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x-o,n=e.y+a,Ee.attr("transform","translate("+t+","+n+")")}}function ee(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x+o,n=e.y-a}else t=e.x+.5*e.width()+6,n=e.y-.5*e.height()-6;xe.attr("transform","translate("+t+","+n+")")}function te(e,t){if(e&&e.labelElement()){var n=[e.labelObject().x,e.labelObject().y],r=parseFloat(e.getShapeElement().attr("width")),o=parseFloat(e.getShapeElement().attr("height")),a=n[0]+.5*r+6,i=n[1]-.5*o-6;"translate(0,15)"===e.labelElement().attr("transform")&&(i+=15),"translate(0,-15)"===e.labelElement().attr("transform")&&(i-=15),xe.attr("transform","translate("+a+","+i+")")}else xe.classed("hidden",!0)}var ne,re,oe,ae,ie,se,le,ue,ce,de,pe,fe,he,ve,ge,ye,me,be,xe,Ee,we,Oe,Ce,ke,Pe,_e,je,Me,De={},Le=20,Ae=10,Se=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal"),Te=n(64)(),Re=n(65)(De),Ie="default",Ne=!1,Fe=!0,He=!1,Be=1,We=!1,ze=!1,Ve=[0,0],qe=!1,Ue=[],Ge=[],Ze=[],$e=0,Xe=1,Ye=.8,Je=-1,Ke=!1,Qe=null,et=null,tt=null,nt=[],rt=null,ot=null,at=!1,it=0,st=0,lt=!0,ut=t.select("#FPS_Statistics"),ct=!1,dt=!1,pt=!1,ft=!1,ht=!1,vt=!1,gt=!1,yt=!0,mt=!1,bt=!1,xt=z(s),Et=z(l),wt=n(68)(De),Ot=n(69)(De),Ct=n(70)(De),kt=n(71)(De);De.math=function(){return o},De.isEditorMode=function(){return lt},De.getGlobalDOF=function(){return Je},De.setGlobalDOF=function(e){Je=e},De.updateZoomSliderValueFromOutside=function(){De.options().zoomSlider().updateZoomSliderValue(Be)},De.setDefaultZoom=function(e){Xe=e,De.reset(),De.options().zoomSlider().updateZoomSliderValue(Xe)},De.setTargetZoom=function(e){Ye=e},De.graphOptions=function(){return Te},De.scaleFactor=function(){return Be},De.translation=function(){return Ve},De.graphNodeElements=function(){return se},De.graphLabelElements=function(){return fe},De.graphLinkElements=function(){return he},De.setSliderZoom=function(e){var n=.5*De.options().width(),r=.5*De.options().height(),o=H(n,r,Ve,Be),a=[o.x,o.y,De.options().height()/Be],i=[o.x,o.y,De.options().height()/e],s=t.interpolateZoom(a,i);ne.attr("transform",N(a,n,r)).transition().duration(1).attrTween("transform",function(){return function(e){return N(s(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be)})},De.setZoom=function(e){Me.scale(e)},De.setTranslation=function(e){Me.translate([e[0],e[1]])},De.options=function(){return Te},De.getUpdateDictionary=function(){return Re.getDictionary()},De.language=function(e){return arguments.length?(Ie!==e&&(Ie=e||"default",m(),p(),De.options().searchMenu().requestDictionaryUpdate(),De.resetSearchHighlight()),De):Ie},De.lazyRefresh=function(){m(),p()},De.adjustingGraphSize=function(e){mt=e},De.showReloadButtonAfterLayoutOptimization=function(e){bt=e},De.showEditorHintIfNeeded=function(){ht===!1&<===!0&&(ht=!0,De.options().warningModule().showEditorHint())},De.setForceTickFunctionWithFPS=function(){ft=!0,ye&&ct===!0&&ye.on("tick",d)},De.setDefaultForceTickFunction=function(){ft=!1,ye&&ct===!0&&ye.on("tick",p)},De.updatePropertyDraggerElements=function(e){"owl:DatatypeProperty"!==e.type()?(kt.setParentProperty(e),Ot.setParentProperty(e),Ot.hideDragger(!1),Ot.addMouseEvents(),Ct.setParentProperty(e),Ct.hideDragger(!1),Ct.addMouseEvents()):(Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0))},De.getUnfilteredData=function(){return ge},De.getClassDataForTtlExport=function(){for(var e=ge.nodes,t=[],n=0;nn&&(o=n);var a=.5*De.options().width(),i=.5*De.options().height(),s=H(a,i,Ve,Be),l=[s.x,s.y,De.options().height()/Be],u=[s.x,s.y,De.options().height()/o],c=t.interpolateZoom(l,u);ne.attr("transform",N(l,a,i)).transition().duration(250).attrTween("transform",function(){return function(e){return N(c(e),a,i)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S(),Te.zoomSlider().updateZoomSliderValue(Be)})};var Pt=null;De.clearAllGraphData=function(){Pt=De.graphNodeElements()&&De.graphNodeElements().length>0?De.options().exportMenu().createJSON_exportObject():null,ye.stop(),ge&&(ge.nodes=[],ge.properties=[])},De.getCachedJsonObj=function(){return Pt},De.clearGraphData=function(){ye.stop();var e=De.options().sidebar();e&&e.clearOntologyInformation(),ne&&g()},De.updateProgressBarMode=function(){var e=De.options().loadingModule(),t=e.getProgressBarMode();switch(t){case 0:e.setErrorMode();break;case 1:e.setBusyMode();break;case 2:e.setPercentMode();break;default:e.setPercentMode()}},De.setFilterWarning=function(e){gt=e},De.handleOnLoadingError=function(){ye.stop(),De.clearGraphData(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").classed("busyProgressBar",!1),De.options().loadingModule().setErrorMode(),De.options().loadingModule().showErrorDetailsMessage()},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0){if(ze===!0)return;var e=ye.nodes()[Ue[$e]];$e++,$e%=Ue.length,e.id&&e.foreground(),e.property&&e.property().foreground(),F(e)}},De.resetSearchHighlight=function(){Ue=[],Ge=[];var e,t=ge.nodes,n=ge.properties;for(e=0;e0?(t.select("#locateSearchResult").classed("highlighted",!0),t.select("#locateSearchResult").node().title="Locate search term"):(t.select("#locateSearchResult").classed("highlighted",!1),t.select("#locateSearchResult").node().title="Nothing to locate")},De.highLightNodes=function(e){if(0!==e.length){Ue=[],Ge=e;for(var n=[],r=0;rMe.scaleExtent()[1]&&(h=Me.scaleExtent()[1]),hMe.scaleExtent()[1]&&(g=Me.scaleExtent()[1]),g2500&&(w=2500),ne.attr("transform",N(b,f,h)).transition().duration(w).attrTween("transform",function(){return function(t){if(e){var n=_t(),r=n[0](t);return N(r,f,h)}return N(E(t),f,h)}}).each("end",function(){e||(ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be))})},De.isADraggerActive=function(){return wt.mouseButtonPressed===!0||Ct.mouseButtonPressed===!0||Ot.mouseButtonPressed===!0},De.changeNodeType=function(e){var n=t.select("#typeEditor").node().value;if(De.classesSanityCheck(e,n)===!1)return void De.options().editSidebar().updateSelectionInformation(e);var r=xt.get(n.toLowerCase()),o=new r(De);if(o.x=e.x,o.y=e.y,o.px=e.x,o.py=e.y,o.id(e.id()),o.copyInformation(e),"owl:Thing"===n?o.label("Thing"):i.isDatatype(e)===!1&&(void 0!==e.backupLabel()?o.label(e.backupLabel()):void 0!==o.backupLabel()?o.label(o.backupLabel()):o.label("NewClass")),"rdfs:Datatype"===n)if("undefined"===o.dType())o.label("undefined");else{var a=o.dType().split(":")[1];o.label(a)}var s;for(s=0;sa?null:"rect"===r.renderType()?null:r===rt&&o<=rt.actualRadius()?r:r===rt&&o>rt.actualRadius()?null:r}return o>r.actualRadius()+30?null:r},De.genericPropertySanityCheck=function(e,t,n,r,o){return e===t&&"rdfs:subClassOf"===n?(De.options().warningModule().showWarning(r,"rdfs:subClassOf can not be created as loops (domain == range)",o,1,!1),!1):e===t&&"owl:disjointWith"===n?(De.options().warningModule().showWarning(r,"owl:disjointWith can not be created as loops (domain == range)",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:someValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===t.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not be connected to owl:Thing",o,1,!1),!1):"owl:Thing"!==t.type()||"owl:someValuesFrom"!==n||(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not be connected to owl:Thing",o,1,!1),!1)},De.checkIfIriClassAlreadyExist=function(e){for(var t=ge.nodes,n=0;n2){var s="You are about to delete 1 class and "+n.length+" properties";0!==o&&(s="You are about to delete 1 class, "+o+" datatypes and "+n.length+" properties"),De.options().warningModule().responseWarning("Removing elements",s,"Awaiting response!",De.removeNodesViaResponse,[r,n],!1)}else{for(a=0;a1&&(Te.literalFilter().filter(ge.nodes,ge.properties),ge.nodes=Te.literalFilter().filteredNodes(),ge.properties=Te.literalFilter().filteredProperties())},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0&&n(l)?t>1?x(l,t-1,n,r,o):a(o,l):r||(o[o.length]=l)}return o}function E(e,t){return e&&$t(e,t,dn)}function w(e,t){return b(t,function(t){return Te(e[t])})}function O(e){return te(e)}function C(e,t){return e>t}function k(e){return Ne(e)&&O(e)==yt}function P(e,t,n,r,o){return e===t||(null==e||null==t||!Ne(e)&&!Ne(t)?e!==e&&t!==t:_(e,t,n,r,P,o))}function _(e,t,n,r,o,a){var i=nn(e),s=nn(t),l=i?ht:O(e),u=s?ht:O(t);l=l==ft?wt:l,u=u==ft?wt:u;var c=l==wt,d=u==wt,p=l==u;a||(a=[]);var f=Jt(a,function(t){return t[0]==e}),h=Jt(a,function(e){return e[0]==t});if(f&&h)return f[1]==t;if(a.push([e,t]),a.push([t,e]),p&&!c){var v=i?Z(e,t,n,r,o,a):$(e,t,l,n,r,o,a);return a.pop(),v}if(!(n&st)){var g=c&&Nt.call(e,"__wrapped__"),y=d&&Nt.call(t,"__wrapped__");if(g||y){var m=g?e.value():e,b=y?t.value():t,v=o(m,b,n,r,a);return a.pop(),v}}if(!p)return!1;var v=X(e,t,n,r,o,a);return a.pop(),v}function j(e){return Ne(e)&&O(e)==Ct}function M(e){return"function"==typeof e?e:null==e?Ye:("object"==typeof e?A:s)(e)}function D(e,t){return eo?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++rt||a&&i&&l&&!s&&!u||r&&i&&l||!n&&l||!o)return 1;if(!r&&!a&&!u&&e1?n[o-1]:ot;for(a=e.length>3&&"function"==typeof a?(o--,a):ot,t=Object(t);++r-1?o[a?t[i]:i]:ot}}function G(e,t,n,r){function o(){for(var t=-1,s=arguments.length,l=-1,u=r.length,c=Array(u+s),d=this&&this!==At&&this instanceof o?i:e;++ls))return!1;for(var u=-1,c=!0,d=n<?[]:ot;++u-1&&e%1==0&&e0&&(n=t.apply(this,arguments)),e<=1&&(t=ot),n}}function ke(e){if("function"!=typeof e)throw new TypeError(it);return function(){var t=arguments;return!e.apply(this,t)}}function Pe(e){return Ce(2,e)}function _e(e){return Ie(e)?nn(e)?I(e):B(e,qt(e)):e}function je(e,t){return e===t||e!==e&&t!==t}function Me(e){return null!=e&&Re(e.length)&&!Te(e)}function De(e){return e===!0||e===!1||Ne(e)&&O(e)==gt}function Le(e){return Me(e)&&(nn(e)||We(e)||Te(e.splice)||tn(e))?!e.length:!qt(e).length}function Ae(e,t){return P(e,t)}function Se(e){return"number"==typeof e&&Vt(e)}function Te(e){if(!Ie(e))return!1;var t=O(e);return t==bt||t==xt||t==vt||t==Ot}function Re(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=pt}function Ie(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ne(e){return null!=e&&"object"==typeof e}function Fe(e){return Be(e)&&e!=+e}function He(e){return null===e}function Be(e){return"number"==typeof e||Ne(e)&&O(e)==Et}function We(e){return"string"==typeof e||!nn(e)&&Ne(e)&&O(e)==kt}function ze(e){return e===ot}function Ve(e){return Me(e)?e.length?I(e):[]:$e(e)}function qe(e){return"string"==typeof e?e:null==e?"":e+""}function Ue(e,t){var n=Gt(e);return null==t?n:ln(n,t)}function Ge(e,t){return null!=e&&Nt.call(e,t)}function Ze(e,t,n){var r=null==e?ot:e[t];return r===ot&&(r=n),Te(r)?r.call(e):r}function $e(e){return null==e?[]:c(e,dn(e))}function Xe(e){return e=qe(e),e&&_t.test(e)?e.replace(Pt,Tt):e}function Ye(e){return e}function Je(e){return A(ln({},e))}function Ke(e,t,n){var r=dn(t),o=w(t,r);null!=n||Ie(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=w(t,dn(t)));var i=!(Ie(n)&&"chain"in n&&!n.chain),s=Te(e);return Zt(o,function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=I(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,a([this.value()],arguments))})}),e}function Qe(){return At._===this&&(At._=Bt),this}function et(){}function tt(e){var t=++Ft;return qe(e)+t}function nt(e){return e&&e.length?m(e,Ye,C):ot}function rt(e){return e&&e.length?m(e,Ye,D):ot}var ot,at="4.17.11",it="Expected a function",st=1,lt=2,ut=1,ct=32,dt=1/0,pt=9007199254740991,ft="[object Arguments]",ht="[object Array]",vt="[object AsyncFunction]",gt="[object Boolean]",yt="[object Date]",mt="[object Error]",bt="[object Function]",xt="[object GeneratorFunction]",Et="[object Number]",wt="[object Object]",Ot="[object Proxy]",Ct="[object RegExp]",kt="[object String]",Pt=/[&<>"']/g,_t=RegExp(Pt.source),jt=/^(?:0|[1-9]\d*)$/,Mt={"&":"&","<":"<",">":">",'"':""","'":"'"},Dt="object"==typeof e&&e&&e.Object===Object&&e,Lt="object"==typeof self&&self&&self.Object===Object&&self,At=Dt||Lt||Function("return this")(),St="object"==typeof t&&t&&!t.nodeType&&t,Tt=(St&&"object"==typeof o&&o&&!o.nodeType&&o,l(Mt)),Rt=Array.prototype,It=Object.prototype,Nt=It.hasOwnProperty,Ft=0,Ht=It.toString,Bt=At._,Wt=Object.create,zt=It.propertyIsEnumerable,Vt=At.isFinite,qt=d(Object.keys,Object),Ut=Math.max,Gt=function(){function e(){}return function(t){if(!Ie(t))return{};if(Wt)return Wt(t);e.prototype=t;var n=new e;return e.prototype=ot,n}}();f.prototype=Gt(p.prototype),f.prototype.constructor=f;var Zt=z(E),$t=V(),Xt=et,Yt=Ye,Jt=U(ae),Kt=T(function(e,t,n){return G(e,ut|ct,t,n)}),Qt=T(function(e,t){return g(e,1,t)}),en=T(function(e,t,n){return g(e,sn(t)||0,n)}),tn=Xt(function(){return arguments}())?Xt:function(e){return Ne(e)&&Nt.call(e,"callee")&&!zt.call(e,"callee")},nn=Array.isArray,rn=k,on=j,an=Number,sn=Number,ln=W(function(e,t){B(t,qt(t),e)}),un=W(function(e,t){B(t,ee(t),e)}),cn=T(function(e,t){e=Object(e);var n=-1,r=t.length,o=r>2?t[2]:ot;for(o&&Q(t[0],t[1],o)&&(r=1);++n=0){e.visualAttributes().push(o);break}}function n(e){var t,n,r;for(t=0,n=x.length;t=0&&e.indications().push(r)}function r(e){var t,n,r;for(t=0,n=E.length;t=0&&e.indications().push(r)}var o={},a="anonymous",i="datatype",s="deprecated",l="external",u="object",c="rdf",d="asymmetric",p="functional",f="inverse functional",h="irreflexive",v="key",g="reflexive",y="symmetric",m="transitive",b=[[s,i,u,c],[a]],x=[s,l],E=[d,p,f,h,v,g,y,m];return o.parseClassAttributes=function(t){t.attributes()instanceof Array&&(e(t),n(t))},o.parsePropertyAttributes=function(t){t.attributes()instanceof Array&&(e(t),r(t))},function(){return o}}()},function(e,t,n){(function(t){function r(e){return function(t){return e[t]}}function o(e,n){var r=a(e,n),o=t.set(r.keys());if(o.remove(v),o.remove(g),1===o.size()){var i=o.values()[0],s=r.get(i);if(1===s.length)return s[0]}}function a(e,n){var r=t.map();return e.forEach(function(e){if(void 0!==e){var t=n[e.range()],o=t.type();r.has(o)||r.set(o,[]),r.get(o).push(t)}}),r}function i(e,t){var n;return n=p.isDatatypeProperty(e)?new d(t):new c(t),n.id(h+e.id()),n}function s(e,t,n,r){var o=[];return e.forEach(function(e){if(void 0!==e&&void 0!==t){var a=e.range();e.range(t.id()),l(a,n)||o.push(a),r.add(e.id())}}),o}function l(e,t){for(var n=0;n-1?(p=void 0,d.classed("deprecatedproperty",!0)):d.classed("deprecatedproperty",!1),d.style("fill",p);var f=e.equivalentsString(),h=f?",":"",v=new r(t.rootNodeLayer,p);v.addText(e.labelForCurrentLanguage(),"",h),v.addEquivalents(f),v.addSubText(e.indicationString());var g=.5*(t.s_x+t.e_x),y=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+g+","+y+")"),t.rootNodeLayer.classed("hidden",!0),t.pathElement.classed("hidden",!0)},t.hideClone=function(e){t.rootNodeLayer&&t.rootNodeLayer.classed("hidden",e),t.pathElement&&t.pathElement.classed("hidden",e)},t.hideParentProperty=function(e){var n=t.parent.labelObject();n&&("translate(0,15)"!==t.parent.labelElement().attr("transform")&&"translate(0,-15)"!==t.parent.labelElement().attr("transform")||t.parent.inverse().hide(e)),t.parent.hide(e)},t.id=function(e){return arguments.length?void(t.nodeId=e):t.nodeId},t.svgPathLayer=function(e){t.pathLayer=e.append("g")},t.svgRoot=function(e){return arguments.length?(t.rootElement=e,void(t.rootNodeLayer=t.rootElement.append("g"))):t.rootElement},t.drawClone=function(){t.pathElement=t.pathLayer.append("line"),t.pathElement.attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",0)},t.updateElement=function(){t.pathElement.attr("x1",t.e_x).attr("y1",t.e_y).attr("x2",t.s_x).attr("y2",t.s_y);var e=.5*(t.s_x+t.e_x),n=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+e+","+n+")")},t.setInitialPosition=function(){var e=t.parent.labelObject();if(e.linkRangeIntersection&&e.linkDomainIntersection){var n=e.linkRangeIntersection,r=e.linkDomainIntersection;t.e_x=r.x,t.e_y=r.y,t.s_x=n.x,t.s_y=n.y}t.updateElement()},t.setPositionDomain=function(e,n){var r=t.parent.range().x,i=t.parent.range().y;if(o.isDatatype(t.parent.range())===!0){var s=a.calculateIntersection({x:e,y:n},t.parent.range(),0);t.s_x=s.x,t.s_y=s.y}else{var l=r-e,u=i-n,c=Math.sqrt(l*l+u*u),d=l/c,p=u/c;t.s_x=r-d*t.parent.range().actualRadius(),t.s_y=i-p*t.parent.range().actualRadius()}t.e_x=e,t.e_y=n,t.updateElement()},t.setPosition=function(e,n){t.s_x=e,t.s_y=n;var r=t.parent.domain().x,o=t.parent.domain().y,a=e-r,i=n-o,s=Math.sqrt(a*a+i*i),l=a/s,u=i/s;t.e_x=r+l*t.parent.domain().actualRadius(),t.e_y=o+u*t.parent.domain().actualRadius(),t.updateElement()},t}},function(e,t){e.exports=function(e){function t(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function n(t){var n={base:"",resource:""};if(void 0===t)return n={base:"ERROR",resource:"NOT FOUND"};var r,o;return t.indexOf("#")>-1?(r=t.substring(t.lastIndexOf("#")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r):(r=t.substring(t.lastIndexOf("/")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r),n}var r,o={};return o.updatePrefixModel=function(){r=e.options().prefixList()},o.validURL=function(e){return t(e)},o.getPrefixRepresentationForFullURI=function(e){o.updatePrefixModel();var t=n(e);for(var a in r)if(r.hasOwnProperty(a)&&r[a]===t.base)return a+":"+t.resource;return":"===t.base?":"+t.resource:e},o}},function(e,t,n){(function(t){var r=n(58);e.exports=function(){function e(e){return e.filter(function(e){return!(e.visualAttributes().indexOf("deprecated")>=0)&&e.attributes().indexOf("external")>=0})}function n(e){for(var n=o(e),i=n.entries(),s=t.scale.linear().domain([0,i.length-1]).range(r.find(p,{type:v}).range).interpolate(t.interpolateHsl),l=0;l=0&&s.splice(n,1)}}),{nodes:s,properties:l}},function(){return t}}()},function(e,t,n){var r=n(46);e.exports=function(){function e(){var e,t,o,a=[];for(e=0,t=n.length;e=0?n<=t?n:(e.getGraphObject().setGlobalDOF(t),t):e.getDefaultDegreeValue()}function a(e){for(var t=0,n=0,r=e.length;n=e}}var c,d,p,f,h,v,g,y,m={},b=!0,x=50;return m.initialize=function(r,o){g=-1;var i=a(r);h instanceof Function&&h(i),e.setDefaultDegreeValue(t(r,o,i));var s=n(i);y instanceof Function?(y(s),s>0&&(e.highlightForDegreeSlider(!0),e.getGraphObject().setFilterWarning(!0))):console.error("No degree setter function set.")},m.filter=function(e,t){c=e,d=t,this.enabled()&&(v instanceof Function?s(v()):console.error("No degree query function set.")),p=c,f=d,0===p.length&&(y(0),p=e,f=t),g=v()},m.setMaxDegreeSetter=function(e){h=e},m.setDegreeGetter=function(e){v=e},m.setDegreeSetter=function(e){y=e},m.enabled=function(e){return arguments.length?(b=e,m):b},m.filteredNodes=function(){return p},m.filteredProperties=function(){return f},m}},function(e,t){e.exports=function(e){var t,n,r,o,a=!0,i={},s=a;return i.filter=function(a,i){t=a,n=i,e.options().scaleNodesByIndividuals(s),r=t,o=n},i.enabled=function(e){return arguments.length?(s=e,i):s},i.reset=function(){s=a},i.filteredNodes=function(){return r},i.filteredProperties=function(){return o},i}},function(e,t,n){var r=n(63)();e.exports=function(){function e(){i=i.filter(t),a=a.filter(n)}function t(e){return!r.isObjectProperty(e)}function n(e){var t=!r.isThing(e),n=o(e,i);return t||n}function o(e,n){for(var r=0;ro?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e,t){var n=typeof e;return t=null==t?r:t,!!t&&("number"==n||"symbol"!=n&&o.test(e))&&e>-1&&e%1==0&&e0&&n(c)?t>1?r(c,t-1,n,i,s):o(s,c):i||(s[s.length]=c)}return s}var o=n(107),a=n(109);e.exports=r},function(e,t,n){function r(e){return i(e)||a(e)||!!(s&&e&&e[s])}var o=n(92),a=n(110),i=n(112),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){var r=n(111),o=n(104),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){function r(e){return a(e)&&o(e)==i}var o=n(91),a=n(104),i="[object Arguments]";e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=c&&(p=u,f=!1,t=new o(t));e:for(;++d-1}var o=n(135);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(135);e.exports=r},function(e,t,n){var r=n(122),o=n(93),a=r(o,"Map");e.exports=a},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(142);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(141);e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return!!n&&o(e,t,0)>-1}var o=n(149);e.exports=r},function(e,t,n){function r(e,t,n){return t===t?i(e,t,n):o(e,a,n)}var o=n(150),a=n(151),i=n(152);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,a=Date.now;e.exports=n},function(e,t,n){function r(e){return a(e)&&o(e)}var o=n(89),a=n(104);e.exports=r},function(e,t,n){var r=n(115),o=n(108),a=n(168),i=n(157),s=n(166),l=n(228),u=i(function(e,t){var n=l(t);return s(n)&&(n=void 0),s(e)?r(e,o(t,1,s,!0),a(n,2)):[]});e.exports=u},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?a(e[0],e[1]):o(e):l(e)}var o=n(169),a=n(211),i=n(158),s=n(112),l=n(225);e.exports=r},function(e,t,n){function r(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(170),a=n(208),i=n(210);e.exports=r},function(e,t,n){function r(e,t,n,r){var l=n.length,u=l,c=!r;if(null==e)return!u;for(e=Object(e);l--;){var d=n[l];if(c&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++lp))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var v=-1,g=!0,y=n&l?new o:void 0;for(c.set(e,t),c.set(t,e);++vi?0:i+n),r=void 0===r||r>i?i:o(r),r<0&&(r+=i),r=n>r?0:a(r);n=t?e:t)),e}e.exports=n},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var l=null==n?0:i(n);return l<0&&(l=s(r+l,0)),o(e,a(t,3),l)}var o=n(150),a=n(168),i=n(100),s=Math.max;e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var u=r-1;return void 0!==n&&(u=i(n),u=n<0?s(r+u,0):l(u,r-1)),o(e,a(t,3),u,!0)}var o=n(150),a=n(168),i=n(100),s=Math.max,l=Math.min;e.exports=r},function(e,t,n){e.exports=n(242)},function(e,t){function n(e){return e&&e.length?e[0]:void 0}e.exports=n},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,1):[]}var o=n(108);e.exports=r},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,a):[]}var o=n(108),a=1/0;e.exports=r},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return n?(t=void 0===t?1:a(t),o(e,t)):[]}var o=n(108),a=n(100);e.exports=r},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r={};++t=120&&y.length>=120)?new o(f&&y):void 0}y=e[0];var m=-1,b=h[0];e:for(;++m-1;)f!==e&&c.call(f,h,1),c.call(e,h,1);return e}var o=n(154),a=n(149),i=n(262),s=n(155),l=n(113),u=Array.prototype,c=u.splice;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=n-1,a=e.length;++ot||i&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!a)return 1;if(!r&&!i&&!c&&e>>1,c=e[u];null!==c&&!i(c)&&(n?c<=t:c>>1;e.exports=r},function(e,t,n){function r(e,t,n,r){t=n(t);for(var a=0,u=null==e?0:e.length,c=t!==t,d=null===t,p=o(t),f=void 0===t;a=c){var g=t?null:l(e);if(g)return u(g);f=!1,d=s,v=new o}else v=t?[]:h;e:for(;++r1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,o(e,n)});e.exports=a},function(e,t,n){(function(t){e.exports=function(e){var n,r={};return r.handle=function(r){if(!t.event.defaultPrevented){var o=!0;n===r&&(o=!1),e instanceof Function&&e(o?r:void 0),n=o?r:void 0}},r.reset=function(){n&&(e(void 0),n=void 0)},r}}).call(t,n(6))},function(e,t,n){var r=n(20);e.exports=function(){function e(){var e=c.filterNodesAndTidy(o,a,t);o=e.nodes,a=e.properties}function t(e){return!(e instanceof r)}var o,a,i,s,l={},u=!1,c=n(76)();return l.filter=function(t,n){o=t,a=n,this.enabled()&&e(),i=o,s=a},l.enabled=function(e){return arguments.length?(u=e,l):u},l.filteredNodes=function(){return i},l.filteredProperties=function(){return s},l}},function(e,t,n){(function(t){var r=n(20),o=n(31),a=n(30),i=n(63)();e.exports=function(){function e(){h=0,v=0,g=0,y=0,m=0,b=0,x=0,E=0}function s(e,t){h=e.length;var r,o,a,i=n(62)();for(r=0,o=t.length;r1)return!1}return!0}function i(e,t){var n,r,o,a=[];for(r=0,o=e.length;r + +406 Not Acceptable + + +

    Not Acceptable

    +

    An appropriate representation of the requested resource could not be found on this server.

    + Available variants: + + \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.1.0/OOPSevaluation/evaluation/bootstrap.css b/dist/vocabulary/mapping/0.1.0/OOPSevaluation/evaluation/bootstrap.css new file mode 100644 index 0000000..b17ff4c --- /dev/null +++ b/dist/vocabulary/mapping/0.1.0/OOPSevaluation/evaluation/bootstrap.css @@ -0,0 +1,7155 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +audio, +canvas, +video { + display: inline-block; +} + +audio:not([controls]) { + display: none; + height: 0; +} + +[hidden], +template { + display: none; +} + +html { + font-family: sans-serif; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +body { + margin: 0; +} + +a { + background: transparent; +} + +a:focus { + outline: thin dotted; +} + +a:active, +a:hover { + outline: 0; +} + +h1 { + margin: 0.67em 0; + font-size: 2em; +} + +abbr[title] { + border-bottom: 1px dotted; +} + +b, +strong { + font-weight: bold; +} + +dfn { + font-style: italic; +} + +hr { + height: 0; + -moz-box-sizing: content-box; + box-sizing: content-box; +} + +mark { + color: #000; + background: #ff0; +} + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +pre { + white-space: pre-wrap; +} + +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} + +small { + font-size: 80%; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +img { + border: 0; +} + +svg:not(:root) { + overflow: hidden; +} + +figure { + margin: 0; +} + +fieldset { + padding: 0.35em 0.625em 0.75em; + margin: 0 2px; + border: 1px solid #c0c0c0; +} + +legend { + padding: 0; + border: 0; +} + +button, +input, +select, +textarea { + margin: 0; + font-family: inherit; + font-size: 100%; +} + +button, +input { + line-height: normal; +} + +button, +select { + text-transform: none; +} + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + cursor: pointer; + -webkit-appearance: button; +} + +button[disabled], +html input[disabled] { + cursor: default; +} + +input[type="checkbox"], +input[type="radio"] { + padding: 0; + box-sizing: border-box; +} + +input[type="search"] { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + -webkit-appearance: textfield; +} + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; +} + +textarea { + overflow: auto; + vertical-align: top; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +@media print { + * { + color: #000 !important; + text-shadow: none !important; + background: transparent !important; + box-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + a[href^="javascript:"]:after, + a[href^="#"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + @page { + margin: 2cm .5cm; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + select { + background: #fff !important; + } + .navbar { + display: none; + } + .table td, + .table th { + background-color: #fff !important; + } + .btn > .caret, + .dropup > .btn > .caret { + border-top-color: #000 !important; + } + .label { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #ddd !important; + } +} + +*, +*:before, +*:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +html { + font-size: 62.5%; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +body { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 1.428571429; + color: #333333; + background-color: #ffffff; +} + +input, +button, +select, +textarea { + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +a { + color: #428bca; + text-decoration: none; +} + +a:hover, +a:focus { + color: #2a6496; + text-decoration: underline; +} + +a:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +img { + vertical-align: middle; +} + +.img-responsive { + display: block; + height: auto; + max-width: 100%; +} + +.img-rounded { + border-radius: 6px; +} + +.img-thumbnail { + display: inline-block; + height: auto; + max-width: 100%; + padding: 4px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.img-circle { + border-radius: 50%; +} + +hr { + margin-top: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid #eeeeee; +} + +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} + +h1, +h2, +h3, +h4, +h5, +h6, +.h1, +.h2, +.h3, +.h4, +.h5, +.h6 { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 500; + line-height: 1.1; + color: inherit; +} + +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small, +.h1 small, +.h2 small, +.h3 small, +.h4 small, +.h5 small, +.h6 small, +h1 .small, +h2 .small, +h3 .small, +h4 .small, +h5 .small, +h6 .small, +.h1 .small, +.h2 .small, +.h3 .small, +.h4 .small, +.h5 .small, +.h6 .small { + font-weight: normal; + line-height: 1; + color: #999999; +} + +h1, +h2, +h3 { + margin-top: 20px; + margin-bottom: 10px; +} + +h1 small, +h2 small, +h3 small, +h1 .small, +h2 .small, +h3 .small { + font-size: 65%; +} + +h4, +h5, +h6 { + margin-top: 10px; + margin-bottom: 10px; +} + +h4 small, +h5 small, +h6 small, +h4 .small, +h5 .small, +h6 .small { + font-size: 75%; +} + +h1, +.h1 { + font-size: 36px; +} + +h2, +.h2 { + font-size: 30px; +} + +h3, +.h3 { + font-size: 24px; +} + +h4, +.h4 { + font-size: 18px; +} + +h5, +.h5 { + font-size: 14px; +} + +h6, +.h6 { + font-size: 12px; +} + +p { + margin: 0 0 10px; +} + +.lead { + margin-bottom: 20px; + font-size: 16px; + font-weight: 200; + line-height: 1.4; +} + +@media (min-width: 768px) { + .lead { + font-size: 21px; + } +} + +small, +.small { + font-size: 85%; +} + +cite { + font-style: normal; +} + +.text-muted { + color: #999999; +} + +.text-primary { + color: #428bca; +} + +.text-primary:hover { + color: #3071a9; +} + +.text-warning { + color: #8a6d3b; +} + +.text-warning:hover { + color: #66512c; +} + +.text-danger { + color: #a94442; +} + +.text-danger:hover { + color: #843534; +} + +.text-success { + color: #3c763d; +} + +.text-success:hover { + color: #2b542c; +} + +.text-info { + color: #31708f; +} + +.text-info:hover { + color: #245269; +} + +.text-left { + text-align: left; +} + +.text-right { + text-align: right; +} + +.text-center { + text-align: center; +} + +.page-header { + padding-bottom: 9px; + margin: 40px 0 20px; + border-bottom: 1px solid #eeeeee; +} + +ul, +ol { + margin-top: 0; + margin-bottom: 10px; +} + +ul ul, +ol ul, +ul ol, +ol ol { + margin-bottom: 0; +} + +.list-unstyled { + padding-left: 0; + list-style: none; +} + +.list-inline { + padding-left: 0; + list-style: none; +} + +.list-inline > li { + display: inline-block; + padding-right: 5px; + padding-left: 5px; +} + +.list-inline > li:first-child { + padding-left: 0; +} + +dl { + margin-top: 0; + margin-bottom: 20px; +} + +dt, +dd { + line-height: 1.428571429; +} + +dt { + font-weight: bold; +} + +dd { + margin-left: 0; +} + +@media (min-width: 768px) { + .dl-horizontal dt { + float: left; + width: 160px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; + } + .dl-horizontal dd { + margin-left: 180px; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } +} + +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #999999; +} + +.initialism { + font-size: 90%; + text-transform: uppercase; +} + +blockquote { + padding: 10px 20px; + margin: 0 0 20px; + border-left: 5px solid #eeeeee; +} + +blockquote p { + font-size: 17.5px; + font-weight: 300; + line-height: 1.25; +} + +blockquote p:last-child { + margin-bottom: 0; +} + +blockquote small, +blockquote .small { + display: block; + line-height: 1.428571429; + color: #999999; +} + +blockquote small:before, +blockquote .small:before { + content: '\2014 \00A0'; +} + +blockquote.pull-right { + padding-right: 15px; + padding-left: 0; + border-right: 5px solid #eeeeee; + border-left: 0; +} + +blockquote.pull-right p, +blockquote.pull-right small, +blockquote.pull-right .small { + text-align: right; +} + +blockquote.pull-right small:before, +blockquote.pull-right .small:before { + content: ''; +} + +blockquote.pull-right small:after, +blockquote.pull-right .small:after { + content: '\00A0 \2014'; +} + +blockquote:before, +blockquote:after { + content: ""; +} + +address { + margin-bottom: 20px; + font-style: normal; + line-height: 1.428571429; +} + +code, +kbd, +pre, +samp { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; +} + +code { + padding: 2px 4px; + font-size: 90%; + color: #c7254e; + white-space: nowrap; + background-color: #f9f2f4; + border-radius: 4px; +} + +pre { + display: block; + padding: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 1.428571429; + color: #333333; + word-break: break-all; + word-wrap: break-word; + background-color: #f5f5f5; + border: 1px solid #cccccc; + border-radius: 4px; +} + +pre code { + padding: 0; + font-size: inherit; + color: inherit; + white-space: pre-wrap; + background-color: transparent; + border-radius: 0; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +.container { + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +@media (min-width: 768px) { + .container { + width: 750px; + } +} + +@media (min-width: 992px) { + .container { + width: 970px; + } +} + +@media (min-width: 1200px) { + .container { + width: 1170px; + } +} + +.row { + margin-right: -15px; + margin-left: -15px; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.col-xs-1, +.col-sm-1, +.col-md-1, +.col-lg-1, +.col-xs-2, +.col-sm-2, +.col-md-2, +.col-lg-2, +.col-xs-3, +.col-sm-3, +.col-md-3, +.col-lg-3, +.col-xs-4, +.col-sm-4, +.col-md-4, +.col-lg-4, +.col-xs-5, +.col-sm-5, +.col-md-5, +.col-lg-5, +.col-xs-6, +.col-sm-6, +.col-md-6, +.col-lg-6, +.col-xs-7, +.col-sm-7, +.col-md-7, +.col-lg-7, +.col-xs-8, +.col-sm-8, +.col-md-8, +.col-lg-8, +.col-xs-9, +.col-sm-9, +.col-md-9, +.col-lg-9, +.col-xs-10, +.col-sm-10, +.col-md-10, +.col-lg-10, +.col-xs-11, +.col-sm-11, +.col-md-11, +.col-lg-11, +.col-xs-12, +.col-sm-12, +.col-md-12, +.col-lg-12 { + position: relative; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; +} + +.col-xs-1, +.col-xs-2, +.col-xs-3, +.col-xs-4, +.col-xs-5, +.col-xs-6, +.col-xs-7, +.col-xs-8, +.col-xs-9, +.col-xs-10, +.col-xs-11, +.col-xs-12 { + float: left; +} + +.col-xs-12 { + width: 100%; +} + +.col-xs-11 { + width: 91.66666666666666%; +} + +.col-xs-10 { + width: 83.33333333333334%; +} + +.col-xs-9 { + width: 75%; +} + +.col-xs-8 { + width: 66.66666666666666%; +} + +.col-xs-7 { + width: 58.333333333333336%; +} + +.col-xs-6 { + width: 50%; +} + +.col-xs-5 { + width: 41.66666666666667%; +} + +.col-xs-4 { + width: 33.33333333333333%; +} + +.col-xs-3 { + width: 25%; +} + +.col-xs-2 { + width: 16.666666666666664%; +} + +.col-xs-1 { + width: 8.333333333333332%; +} + +.col-xs-pull-12 { + right: 100%; +} + +.col-xs-pull-11 { + right: 91.66666666666666%; +} + +.col-xs-pull-10 { + right: 83.33333333333334%; +} + +.col-xs-pull-9 { + right: 75%; +} + +.col-xs-pull-8 { + right: 66.66666666666666%; +} + +.col-xs-pull-7 { + right: 58.333333333333336%; +} + +.col-xs-pull-6 { + right: 50%; +} + +.col-xs-pull-5 { + right: 41.66666666666667%; +} + +.col-xs-pull-4 { + right: 33.33333333333333%; +} + +.col-xs-pull-3 { + right: 25%; +} + +.col-xs-pull-2 { + right: 16.666666666666664%; +} + +.col-xs-pull-1 { + right: 8.333333333333332%; +} + +.col-xs-pull-0 { + right: 0; +} + +.col-xs-push-12 { + left: 100%; +} + +.col-xs-push-11 { + left: 91.66666666666666%; +} + +.col-xs-push-10 { + left: 83.33333333333334%; +} + +.col-xs-push-9 { + left: 75%; +} + +.col-xs-push-8 { + left: 66.66666666666666%; +} + +.col-xs-push-7 { + left: 58.333333333333336%; +} + +.col-xs-push-6 { + left: 50%; +} + +.col-xs-push-5 { + left: 41.66666666666667%; +} + +.col-xs-push-4 { + left: 33.33333333333333%; +} + +.col-xs-push-3 { + left: 25%; +} + +.col-xs-push-2 { + left: 16.666666666666664%; +} + +.col-xs-push-1 { + left: 8.333333333333332%; +} + +.col-xs-push-0 { + left: 0; +} + +.col-xs-offset-12 { + margin-left: 100%; +} + +.col-xs-offset-11 { + margin-left: 91.66666666666666%; +} + +.col-xs-offset-10 { + margin-left: 83.33333333333334%; +} + +.col-xs-offset-9 { + margin-left: 75%; +} + +.col-xs-offset-8 { + margin-left: 66.66666666666666%; +} + +.col-xs-offset-7 { + margin-left: 58.333333333333336%; +} + +.col-xs-offset-6 { + margin-left: 50%; +} + +.col-xs-offset-5 { + margin-left: 41.66666666666667%; +} + +.col-xs-offset-4 { + margin-left: 33.33333333333333%; +} + +.col-xs-offset-3 { + margin-left: 25%; +} + +.col-xs-offset-2 { + margin-left: 16.666666666666664%; +} + +.col-xs-offset-1 { + margin-left: 8.333333333333332%; +} + +.col-xs-offset-0 { + margin-left: 0; +} + +@media (min-width: 768px) { + .col-sm-1, + .col-sm-2, + .col-sm-3, + .col-sm-4, + .col-sm-5, + .col-sm-6, + .col-sm-7, + .col-sm-8, + .col-sm-9, + .col-sm-10, + .col-sm-11, + .col-sm-12 { + float: left; + } + .col-sm-12 { + width: 100%; + } + .col-sm-11 { + width: 91.66666666666666%; + } + .col-sm-10 { + width: 83.33333333333334%; + } + .col-sm-9 { + width: 75%; + } + .col-sm-8 { + width: 66.66666666666666%; + } + .col-sm-7 { + width: 58.333333333333336%; + } + .col-sm-6 { + width: 50%; + } + .col-sm-5 { + width: 41.66666666666667%; + } + .col-sm-4 { + width: 33.33333333333333%; + } + .col-sm-3 { + width: 25%; + } + .col-sm-2 { + width: 16.666666666666664%; + } + .col-sm-1 { + width: 8.333333333333332%; + } + .col-sm-pull-12 { + right: 100%; + } + .col-sm-pull-11 { + right: 91.66666666666666%; + } + .col-sm-pull-10 { + right: 83.33333333333334%; + } + .col-sm-pull-9 { + right: 75%; + } + .col-sm-pull-8 { + right: 66.66666666666666%; + } + .col-sm-pull-7 { + right: 58.333333333333336%; + } + .col-sm-pull-6 { + right: 50%; + } + .col-sm-pull-5 { + right: 41.66666666666667%; + } + .col-sm-pull-4 { + right: 33.33333333333333%; + } + .col-sm-pull-3 { + right: 25%; + } + .col-sm-pull-2 { + right: 16.666666666666664%; + } + .col-sm-pull-1 { + right: 8.333333333333332%; + } + .col-sm-pull-0 { + right: 0; + } + .col-sm-push-12 { + left: 100%; + } + .col-sm-push-11 { + left: 91.66666666666666%; + } + .col-sm-push-10 { + left: 83.33333333333334%; + } + .col-sm-push-9 { + left: 75%; + } + .col-sm-push-8 { + left: 66.66666666666666%; + } + .col-sm-push-7 { + left: 58.333333333333336%; + } + .col-sm-push-6 { + left: 50%; + } + .col-sm-push-5 { + left: 41.66666666666667%; + } + .col-sm-push-4 { + left: 33.33333333333333%; + } + .col-sm-push-3 { + left: 25%; + } + .col-sm-push-2 { + left: 16.666666666666664%; + } + .col-sm-push-1 { + left: 8.333333333333332%; + } + .col-sm-push-0 { + left: 0; + } + .col-sm-offset-12 { + margin-left: 100%; + } + .col-sm-offset-11 { + margin-left: 91.66666666666666%; + } + .col-sm-offset-10 { + margin-left: 83.33333333333334%; + } + .col-sm-offset-9 { + margin-left: 75%; + } + .col-sm-offset-8 { + margin-left: 66.66666666666666%; + } + .col-sm-offset-7 { + margin-left: 58.333333333333336%; + } + .col-sm-offset-6 { + margin-left: 50%; + } + .col-sm-offset-5 { + margin-left: 41.66666666666667%; + } + .col-sm-offset-4 { + margin-left: 33.33333333333333%; + } + .col-sm-offset-3 { + margin-left: 25%; + } + .col-sm-offset-2 { + margin-left: 16.666666666666664%; + } + .col-sm-offset-1 { + margin-left: 8.333333333333332%; + } + .col-sm-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 992px) { + .col-md-1, + .col-md-2, + .col-md-3, + .col-md-4, + .col-md-5, + .col-md-6, + .col-md-7, + .col-md-8, + .col-md-9, + .col-md-10, + .col-md-11, + .col-md-12 { + float: left; + } + .col-md-12 { + width: 100%; + } + .col-md-11 { + width: 91.66666666666666%; + } + .col-md-10 { + width: 83.33333333333334%; + } + .col-md-9 { + width: 75%; + } + .col-md-8 { + width: 66.66666666666666%; + } + .col-md-7 { + width: 58.333333333333336%; + } + .col-md-6 { + width: 50%; + } + .col-md-5 { + width: 41.66666666666667%; + } + .col-md-4 { + width: 33.33333333333333%; + } + .col-md-3 { + width: 25%; + } + .col-md-2 { + width: 16.666666666666664%; + } + .col-md-1 { + width: 8.333333333333332%; + } + .col-md-pull-12 { + right: 100%; + } + .col-md-pull-11 { + right: 91.66666666666666%; + } + .col-md-pull-10 { + right: 83.33333333333334%; + } + .col-md-pull-9 { + right: 75%; + } + .col-md-pull-8 { + right: 66.66666666666666%; + } + .col-md-pull-7 { + right: 58.333333333333336%; + } + .col-md-pull-6 { + right: 50%; + } + .col-md-pull-5 { + right: 41.66666666666667%; + } + .col-md-pull-4 { + right: 33.33333333333333%; + } + .col-md-pull-3 { + right: 25%; + } + .col-md-pull-2 { + right: 16.666666666666664%; + } + .col-md-pull-1 { + right: 8.333333333333332%; + } + .col-md-pull-0 { + right: 0; + } + .col-md-push-12 { + left: 100%; + } + .col-md-push-11 { + left: 91.66666666666666%; + } + .col-md-push-10 { + left: 83.33333333333334%; + } + .col-md-push-9 { + left: 75%; + } + .col-md-push-8 { + left: 66.66666666666666%; + } + .col-md-push-7 { + left: 58.333333333333336%; + } + .col-md-push-6 { + left: 50%; + } + .col-md-push-5 { + left: 41.66666666666667%; + } + .col-md-push-4 { + left: 33.33333333333333%; + } + .col-md-push-3 { + left: 25%; + } + .col-md-push-2 { + left: 16.666666666666664%; + } + .col-md-push-1 { + left: 8.333333333333332%; + } + .col-md-push-0 { + left: 0; + } + .col-md-offset-12 { + margin-left: 100%; + } + .col-md-offset-11 { + margin-left: 91.66666666666666%; + } + .col-md-offset-10 { + margin-left: 83.33333333333334%; + } + .col-md-offset-9 { + margin-left: 75%; + } + .col-md-offset-8 { + margin-left: 66.66666666666666%; + } + .col-md-offset-7 { + margin-left: 58.333333333333336%; + } + .col-md-offset-6 { + margin-left: 50%; + } + .col-md-offset-5 { + margin-left: 41.66666666666667%; + } + .col-md-offset-4 { + margin-left: 33.33333333333333%; + } + .col-md-offset-3 { + margin-left: 25%; + } + .col-md-offset-2 { + margin-left: 16.666666666666664%; + } + .col-md-offset-1 { + margin-left: 8.333333333333332%; + } + .col-md-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 1200px) { + .col-lg-1, + .col-lg-2, + .col-lg-3, + .col-lg-4, + .col-lg-5, + .col-lg-6, + .col-lg-7, + .col-lg-8, + .col-lg-9, + .col-lg-10, + .col-lg-11, + .col-lg-12 { + float: left; + } + .col-lg-12 { + width: 100%; + } + .col-lg-11 { + width: 91.66666666666666%; + } + .col-lg-10 { + width: 83.33333333333334%; + } + .col-lg-9 { + width: 75%; + } + .col-lg-8 { + width: 66.66666666666666%; + } + .col-lg-7 { + width: 58.333333333333336%; + } + .col-lg-6 { + width: 50%; + } + .col-lg-5 { + width: 41.66666666666667%; + } + .col-lg-4 { + width: 33.33333333333333%; + } + .col-lg-3 { + width: 25%; + } + .col-lg-2 { + width: 16.666666666666664%; + } + .col-lg-1 { + width: 8.333333333333332%; + } + .col-lg-pull-12 { + right: 100%; + } + .col-lg-pull-11 { + right: 91.66666666666666%; + } + .col-lg-pull-10 { + right: 83.33333333333334%; + } + .col-lg-pull-9 { + right: 75%; + } + .col-lg-pull-8 { + right: 66.66666666666666%; + } + .col-lg-pull-7 { + right: 58.333333333333336%; + } + .col-lg-pull-6 { + right: 50%; + } + .col-lg-pull-5 { + right: 41.66666666666667%; + } + .col-lg-pull-4 { + right: 33.33333333333333%; + } + .col-lg-pull-3 { + right: 25%; + } + .col-lg-pull-2 { + right: 16.666666666666664%; + } + .col-lg-pull-1 { + right: 8.333333333333332%; + } + .col-lg-pull-0 { + right: 0; + } + .col-lg-push-12 { + left: 100%; + } + .col-lg-push-11 { + left: 91.66666666666666%; + } + .col-lg-push-10 { + left: 83.33333333333334%; + } + .col-lg-push-9 { + left: 75%; + } + .col-lg-push-8 { + left: 66.66666666666666%; + } + .col-lg-push-7 { + left: 58.333333333333336%; + } + .col-lg-push-6 { + left: 50%; + } + .col-lg-push-5 { + left: 41.66666666666667%; + } + .col-lg-push-4 { + left: 33.33333333333333%; + } + .col-lg-push-3 { + left: 25%; + } + .col-lg-push-2 { + left: 16.666666666666664%; + } + .col-lg-push-1 { + left: 8.333333333333332%; + } + .col-lg-push-0 { + left: 0; + } + .col-lg-offset-12 { + margin-left: 100%; + } + .col-lg-offset-11 { + margin-left: 91.66666666666666%; + } + .col-lg-offset-10 { + margin-left: 83.33333333333334%; + } + .col-lg-offset-9 { + margin-left: 75%; + } + .col-lg-offset-8 { + margin-left: 66.66666666666666%; + } + .col-lg-offset-7 { + margin-left: 58.333333333333336%; + } + .col-lg-offset-6 { + margin-left: 50%; + } + .col-lg-offset-5 { + margin-left: 41.66666666666667%; + } + .col-lg-offset-4 { + margin-left: 33.33333333333333%; + } + .col-lg-offset-3 { + margin-left: 25%; + } + .col-lg-offset-2 { + margin-left: 16.666666666666664%; + } + .col-lg-offset-1 { + margin-left: 8.333333333333332%; + } + .col-lg-offset-0 { + margin-left: 0; + } +} + +table { + max-width: 100%; + background-color: transparent; +} + +th { + text-align: left; +} + +.table { + width: 100%; + margin-bottom: 20px; +} + +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + padding: 8px; + line-height: 1.428571429; + vertical-align: top; + border-top: 1px solid #dddddd; +} + +.table > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #dddddd; +} + +.table > caption + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > th, +.table > thead:first-child > tr:first-child > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > td { + border-top: 0; +} + +.table > tbody + tbody { + border-top: 2px solid #dddddd; +} + +.table .table { + background-color: #ffffff; +} + +.table-condensed > thead > tr > th, +.table-condensed > tbody > tr > th, +.table-condensed > tfoot > tr > th, +.table-condensed > thead > tr > td, +.table-condensed > tbody > tr > td, +.table-condensed > tfoot > tr > td { + padding: 5px; +} + +.table-bordered { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > tbody > tr > th, +.table-bordered > tfoot > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > td { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td { + border-bottom-width: 2px; +} + +.table-striped > tbody > tr:nth-child(odd) > td, +.table-striped > tbody > tr:nth-child(odd) > th { + background-color: #f9f9f9; +} + +.table-hover > tbody > tr:hover > td, +.table-hover > tbody > tr:hover > th { + background-color: #f5f5f5; +} + +table col[class*="col-"] { + position: static; + display: table-column; + float: none; +} + +table td[class*="col-"], +table th[class*="col-"] { + display: table-cell; + float: none; +} + +.table > thead > tr > .active, +.table > tbody > tr > .active, +.table > tfoot > tr > .active, +.table > thead > .active > td, +.table > tbody > .active > td, +.table > tfoot > .active > td, +.table > thead > .active > th, +.table > tbody > .active > th, +.table > tfoot > .active > th { + background-color: #f5f5f5; +} + +.table-hover > tbody > tr > .active:hover, +.table-hover > tbody > .active:hover > td, +.table-hover > tbody > .active:hover > th { + background-color: #e8e8e8; +} + +.table > thead > tr > .success, +.table > tbody > tr > .success, +.table > tfoot > tr > .success, +.table > thead > .success > td, +.table > tbody > .success > td, +.table > tfoot > .success > td, +.table > thead > .success > th, +.table > tbody > .success > th, +.table > tfoot > .success > th { + background-color: #dff0d8; +} + +.table-hover > tbody > tr > .success:hover, +.table-hover > tbody > .success:hover > td, +.table-hover > tbody > .success:hover > th { + background-color: #d0e9c6; +} + +.table > thead > tr > .danger, +.table > tbody > tr > .danger, +.table > tfoot > tr > .danger, +.table > thead > .danger > td, +.table > tbody > .danger > td, +.table > tfoot > .danger > td, +.table > thead > .danger > th, +.table > tbody > .danger > th, +.table > tfoot > .danger > th { + background-color: #f2dede; +} + +.table-hover > tbody > tr > .danger:hover, +.table-hover > tbody > .danger:hover > td, +.table-hover > tbody > .danger:hover > th { + background-color: #ebcccc; +} + +.table > thead > tr > .warning, +.table > tbody > tr > .warning, +.table > tfoot > tr > .warning, +.table > thead > .warning > td, +.table > tbody > .warning > td, +.table > tfoot > .warning > td, +.table > thead > .warning > th, +.table > tbody > .warning > th, +.table > tfoot > .warning > th { + background-color: #fcf8e3; +} + +.table-hover > tbody > tr > .warning:hover, +.table-hover > tbody > .warning:hover > td, +.table-hover > tbody > .warning:hover > th { + background-color: #faf2cc; +} + +@media (max-width: 767px) { + .table-responsive { + width: 100%; + margin-bottom: 15px; + overflow-x: scroll; + overflow-y: hidden; + border: 1px solid #dddddd; + -ms-overflow-style: -ms-autohiding-scrollbar; + -webkit-overflow-scrolling: touch; + } + .table-responsive > .table { + margin-bottom: 0; + } + .table-responsive > .table > thead > tr > th, + .table-responsive > .table > tbody > tr > th, + .table-responsive > .table > tfoot > tr > th, + .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > td { + white-space: nowrap; + } + .table-responsive > .table-bordered { + border: 0; + } + .table-responsive > .table-bordered > thead > tr > th:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, + .table-responsive > .table-bordered > tfoot > tr > th:first-child, + .table-responsive > .table-bordered > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; + } + .table-responsive > .table-bordered > thead > tr > th:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, + .table-responsive > .table-bordered > tfoot > tr > th:last-child, + .table-responsive > .table-bordered > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; + } + .table-responsive > .table-bordered > tbody > tr:last-child > th, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, + .table-responsive > .table-bordered > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; + } +} + +fieldset { + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: inherit; + color: #333333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} + +label { + display: inline-block; + margin-bottom: 5px; + font-weight: bold; +} + +input[type="search"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + /* IE8-9 */ + + line-height: normal; +} + +input[type="file"] { + display: block; +} + +select[multiple], +select[size] { + height: auto; +} + +select optgroup { + font-family: inherit; + font-size: inherit; + font-style: inherit; +} + +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +input[type="number"]::-webkit-outer-spin-button, +input[type="number"]::-webkit-inner-spin-button { + height: auto; +} + +output { + display: block; + padding-top: 7px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; +} + +.form-control { + display: block; + width: 100%; + height: 34px; + padding: 6px 12px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; + background-color: #ffffff; + background-image: none; + border: 1px solid #cccccc; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; +} + +.form-control:focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); +} + +.form-control:-moz-placeholder { + color: #999999; +} + +.form-control::-moz-placeholder { + color: #999999; + opacity: 1; +} + +.form-control:-ms-input-placeholder { + color: #999999; +} + +.form-control::-webkit-input-placeholder { + color: #999999; +} + +.form-control[disabled], +.form-control[readonly], +fieldset[disabled] .form-control { + cursor: not-allowed; + background-color: #eeeeee; +} + +textarea.form-control { + height: auto; +} + +.form-group { + margin-bottom: 15px; +} + +.radio, +.checkbox { + display: block; + min-height: 20px; + padding-left: 20px; + margin-top: 10px; + margin-bottom: 10px; + vertical-align: middle; +} + +.radio label, +.checkbox label { + display: inline; + margin-bottom: 0; + font-weight: normal; + cursor: pointer; +} + +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + float: left; + margin-left: -20px; +} + +.radio + .radio, +.checkbox + .checkbox { + margin-top: -5px; +} + +.radio-inline, +.checkbox-inline { + display: inline-block; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + vertical-align: middle; + cursor: pointer; +} + +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; +} + +input[type="radio"][disabled], +input[type="checkbox"][disabled], +.radio[disabled], +.radio-inline[disabled], +.checkbox[disabled], +.checkbox-inline[disabled], +fieldset[disabled] input[type="radio"], +fieldset[disabled] input[type="checkbox"], +fieldset[disabled] .radio, +fieldset[disabled] .radio-inline, +fieldset[disabled] .checkbox, +fieldset[disabled] .checkbox-inline { + cursor: not-allowed; +} + +.input-sm { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-sm { + height: 30px; + line-height: 30px; +} + +textarea.input-sm { + height: auto; +} + +.input-lg { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-lg { + height: 46px; + line-height: 46px; +} + +textarea.input-lg { + height: auto; +} + +.has-warning .help-block, +.has-warning .control-label, +.has-warning .radio, +.has-warning .checkbox, +.has-warning .radio-inline, +.has-warning .checkbox-inline { + color: #8a6d3b; +} + +.has-warning .form-control { + border-color: #8a6d3b; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-warning .form-control:focus { + border-color: #66512c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; +} + +.has-warning .input-group-addon { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #8a6d3b; +} + +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline { + color: #a94442; +} + +.has-error .form-control { + border-color: #a94442; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-error .form-control:focus { + border-color: #843534; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; +} + +.has-error .input-group-addon { + color: #a94442; + background-color: #f2dede; + border-color: #a94442; +} + +.has-success .help-block, +.has-success .control-label, +.has-success .radio, +.has-success .checkbox, +.has-success .radio-inline, +.has-success .checkbox-inline { + color: #3c763d; +} + +.has-success .form-control { + border-color: #3c763d; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-success .form-control:focus { + border-color: #2b542c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; +} + +.has-success .input-group-addon { + color: #3c763d; + background-color: #dff0d8; + border-color: #3c763d; +} + +.form-control-static { + margin-bottom: 0; +} + +.help-block { + display: block; + margin-top: 5px; + margin-bottom: 10px; + color: #737373; +} + +@media (min-width: 768px) { + .form-inline .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .form-control { + display: inline-block; + } + .form-inline select.form-control { + width: auto; + } + .form-inline .radio, + .form-inline .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .form-inline .radio input[type="radio"], + .form-inline .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +.form-horizontal .control-label, +.form-horizontal .radio, +.form-horizontal .checkbox, +.form-horizontal .radio-inline, +.form-horizontal .checkbox-inline { + padding-top: 7px; + margin-top: 0; + margin-bottom: 0; +} + +.form-horizontal .radio, +.form-horizontal .checkbox { + min-height: 27px; +} + +.form-horizontal .form-group { + margin-right: -15px; + margin-left: -15px; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-control-static { + padding-top: 7px; +} + +@media (min-width: 768px) { + .form-horizontal .control-label { + text-align: right; + } +} + +.btn { + display: inline-block; + padding: 6px 12px; + margin-bottom: 0; + font-size: 14px; + font-weight: normal; + line-height: 1.428571429; + text-align: center; + white-space: nowrap; + vertical-align: middle; + cursor: pointer; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; +} + +.btn:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +.btn:hover, +.btn:focus { + color: #333333; + text-decoration: none; +} + +.btn:active, +.btn.active { + background-image: none; + outline: 0; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn.disabled, +.btn[disabled], +fieldset[disabled] .btn { + pointer-events: none; + cursor: not-allowed; + opacity: 0.65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-default { + color: #333333; + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default:hover, +.btn-default:focus, +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + color: #333333; + background-color: #ebebeb; + border-color: #adadad; +} + +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + background-image: none; +} + +.btn-default.disabled, +.btn-default[disabled], +fieldset[disabled] .btn-default, +.btn-default.disabled:hover, +.btn-default[disabled]:hover, +fieldset[disabled] .btn-default:hover, +.btn-default.disabled:focus, +.btn-default[disabled]:focus, +fieldset[disabled] .btn-default:focus, +.btn-default.disabled:active, +.btn-default[disabled]:active, +fieldset[disabled] .btn-default:active, +.btn-default.disabled.active, +.btn-default[disabled].active, +fieldset[disabled] .btn-default.active { + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default .badge { + color: #ffffff; + background-color: #fff; +} + +.btn-primary { + color: #ffffff; + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary:hover, +.btn-primary:focus, +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + color: #ffffff; + background-color: #3276b1; + border-color: #285e8e; +} + +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + background-image: none; +} + +.btn-primary.disabled, +.btn-primary[disabled], +fieldset[disabled] .btn-primary, +.btn-primary.disabled:hover, +.btn-primary[disabled]:hover, +fieldset[disabled] .btn-primary:hover, +.btn-primary.disabled:focus, +.btn-primary[disabled]:focus, +fieldset[disabled] .btn-primary:focus, +.btn-primary.disabled:active, +.btn-primary[disabled]:active, +fieldset[disabled] .btn-primary:active, +.btn-primary.disabled.active, +.btn-primary[disabled].active, +fieldset[disabled] .btn-primary.active { + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary .badge { + color: #428bca; + background-color: #fff; +} + +.btn-warning { + color: #ffffff; + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning:hover, +.btn-warning:focus, +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + color: #ffffff; + background-color: #ed9c28; + border-color: #d58512; +} + +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + background-image: none; +} + +.btn-warning.disabled, +.btn-warning[disabled], +fieldset[disabled] .btn-warning, +.btn-warning.disabled:hover, +.btn-warning[disabled]:hover, +fieldset[disabled] .btn-warning:hover, +.btn-warning.disabled:focus, +.btn-warning[disabled]:focus, +fieldset[disabled] .btn-warning:focus, +.btn-warning.disabled:active, +.btn-warning[disabled]:active, +fieldset[disabled] .btn-warning:active, +.btn-warning.disabled.active, +.btn-warning[disabled].active, +fieldset[disabled] .btn-warning.active { + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning .badge { + color: #f0ad4e; + background-color: #fff; +} + +.btn-danger { + color: #ffffff; + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger:hover, +.btn-danger:focus, +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + color: #ffffff; + background-color: #d2322d; + border-color: #ac2925; +} + +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + background-image: none; +} + +.btn-danger.disabled, +.btn-danger[disabled], +fieldset[disabled] .btn-danger, +.btn-danger.disabled:hover, +.btn-danger[disabled]:hover, +fieldset[disabled] .btn-danger:hover, +.btn-danger.disabled:focus, +.btn-danger[disabled]:focus, +fieldset[disabled] .btn-danger:focus, +.btn-danger.disabled:active, +.btn-danger[disabled]:active, +fieldset[disabled] .btn-danger:active, +.btn-danger.disabled.active, +.btn-danger[disabled].active, +fieldset[disabled] .btn-danger.active { + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger .badge { + color: #d9534f; + background-color: #fff; +} + +.btn-success { + color: #ffffff; + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success:hover, +.btn-success:focus, +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + color: #ffffff; + background-color: #47a447; + border-color: #398439; +} + +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + background-image: none; +} + +.btn-success.disabled, +.btn-success[disabled], +fieldset[disabled] .btn-success, +.btn-success.disabled:hover, +.btn-success[disabled]:hover, +fieldset[disabled] .btn-success:hover, +.btn-success.disabled:focus, +.btn-success[disabled]:focus, +fieldset[disabled] .btn-success:focus, +.btn-success.disabled:active, +.btn-success[disabled]:active, +fieldset[disabled] .btn-success:active, +.btn-success.disabled.active, +.btn-success[disabled].active, +fieldset[disabled] .btn-success.active { + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success .badge { + color: #5cb85c; + background-color: #fff; +} + +.btn-info { + color: #ffffff; + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info:hover, +.btn-info:focus, +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + color: #ffffff; + background-color: #39b3d7; + border-color: #269abc; +} + +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + background-image: none; +} + +.btn-info.disabled, +.btn-info[disabled], +fieldset[disabled] .btn-info, +.btn-info.disabled:hover, +.btn-info[disabled]:hover, +fieldset[disabled] .btn-info:hover, +.btn-info.disabled:focus, +.btn-info[disabled]:focus, +fieldset[disabled] .btn-info:focus, +.btn-info.disabled:active, +.btn-info[disabled]:active, +fieldset[disabled] .btn-info:active, +.btn-info.disabled.active, +.btn-info[disabled].active, +fieldset[disabled] .btn-info.active { + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info .badge { + color: #5bc0de; + background-color: #fff; +} + +.btn-link { + font-weight: normal; + color: #428bca; + cursor: pointer; + border-radius: 0; +} + +.btn-link, +.btn-link:active, +.btn-link[disabled], +fieldset[disabled] .btn-link { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-link, +.btn-link:hover, +.btn-link:focus, +.btn-link:active { + border-color: transparent; +} + +.btn-link:hover, +.btn-link:focus { + color: #2a6496; + text-decoration: underline; + background-color: transparent; +} + +.btn-link[disabled]:hover, +fieldset[disabled] .btn-link:hover, +.btn-link[disabled]:focus, +fieldset[disabled] .btn-link:focus { + color: #999999; + text-decoration: none; +} + +.btn-lg { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-sm { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-xs { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-block { + display: block; + width: 100%; + padding-right: 0; + padding-left: 0; +} + +.btn-block + .btn-block { + margin-top: 5px; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.fade { + opacity: 0; + -webkit-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} + +.fade.in { + opacity: 1; +} + +.collapse { + display: none; +} + +.collapse.in { + display: block; +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition: height 0.35s ease; + transition: height 0.35s ease; +} + +@font-face { + font-family: 'Glyphicons Halflings'; + src: url('../fonts/glyphicons-halflings-regular.eot'); + src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg'); +} + +.glyphicon { + position: relative; + top: 1px; + display: inline-block; + font-family: 'Glyphicons Halflings'; + -webkit-font-smoothing: antialiased; + font-style: normal; + font-weight: normal; + line-height: 1; + -moz-osx-font-smoothing: grayscale; +} + +.glyphicon:empty { + width: 1em; +} + +.glyphicon-asterisk:before { + content: "\2a"; +} + +.glyphicon-plus:before { + content: "\2b"; +} + +.glyphicon-euro:before { + content: "\20ac"; +} + +.glyphicon-minus:before { + content: "\2212"; +} + +.glyphicon-cloud:before { + content: "\2601"; +} + +.glyphicon-envelope:before { + content: "\2709"; +} + +.glyphicon-pencil:before { + content: "\270f"; +} + +.glyphicon-glass:before { + content: "\e001"; +} + +.glyphicon-music:before { + content: "\e002"; +} + +.glyphicon-search:before { + content: "\e003"; +} + +.glyphicon-heart:before { + content: "\e005"; +} + +.glyphicon-star:before { + content: "\e006"; +} + +.glyphicon-star-empty:before { + content: "\e007"; +} + +.glyphicon-user:before { + content: "\e008"; +} + +.glyphicon-film:before { + content: "\e009"; +} + +.glyphicon-th-large:before { + content: "\e010"; +} + +.glyphicon-th:before { + content: "\e011"; +} + +.glyphicon-th-list:before { + content: "\e012"; +} + +.glyphicon-ok:before { + content: "\e013"; +} + +.glyphicon-remove:before { + content: "\e014"; +} + +.glyphicon-zoom-in:before { + content: "\e015"; +} + +.glyphicon-zoom-out:before { + content: "\e016"; +} + +.glyphicon-off:before { + content: "\e017"; +} + +.glyphicon-signal:before { + content: "\e018"; +} + +.glyphicon-cog:before { + content: "\e019"; +} + +.glyphicon-trash:before { + content: "\e020"; +} + +.glyphicon-home:before { + content: "\e021"; +} + +.glyphicon-file:before { + content: "\e022"; +} + +.glyphicon-time:before { + content: "\e023"; +} + +.glyphicon-road:before { + content: "\e024"; +} + +.glyphicon-download-alt:before { + content: "\e025"; +} + +.glyphicon-download:before { + content: "\e026"; +} + +.glyphicon-upload:before { + content: "\e027"; +} + +.glyphicon-inbox:before { + content: "\e028"; +} + +.glyphicon-play-circle:before { + content: "\e029"; +} + +.glyphicon-repeat:before { + content: "\e030"; +} + +.glyphicon-refresh:before { + content: "\e031"; +} + +.glyphicon-list-alt:before { + content: "\e032"; +} + +.glyphicon-lock:before { + content: "\e033"; +} + +.glyphicon-flag:before { + content: "\e034"; +} + +.glyphicon-headphones:before { + content: "\e035"; +} + +.glyphicon-volume-off:before { + content: "\e036"; +} + +.glyphicon-volume-down:before { + content: "\e037"; +} + +.glyphicon-volume-up:before { + content: "\e038"; +} + +.glyphicon-qrcode:before { + content: "\e039"; +} + +.glyphicon-barcode:before { + content: "\e040"; +} + +.glyphicon-tag:before { + content: "\e041"; +} + +.glyphicon-tags:before { + content: "\e042"; +} + +.glyphicon-book:before { + content: "\e043"; +} + +.glyphicon-bookmark:before { + content: "\e044"; +} + +.glyphicon-print:before { + content: "\e045"; +} + +.glyphicon-camera:before { + content: "\e046"; +} + +.glyphicon-font:before { + content: "\e047"; +} + +.glyphicon-bold:before { + content: "\e048"; +} + +.glyphicon-italic:before { + content: "\e049"; +} + +.glyphicon-text-height:before { + content: "\e050"; +} + +.glyphicon-text-width:before { + content: "\e051"; +} + +.glyphicon-align-left:before { + content: "\e052"; +} + +.glyphicon-align-center:before { + content: "\e053"; +} + +.glyphicon-align-right:before { + content: "\e054"; +} + +.glyphicon-align-justify:before { + content: "\e055"; +} + +.glyphicon-list:before { + content: "\e056"; +} + +.glyphicon-indent-left:before { + content: "\e057"; +} + +.glyphicon-indent-right:before { + content: "\e058"; +} + +.glyphicon-facetime-video:before { + content: "\e059"; +} + +.glyphicon-picture:before { + content: "\e060"; +} + +.glyphicon-map-marker:before { + content: "\e062"; +} + +.glyphicon-adjust:before { + content: "\e063"; +} + +.glyphicon-tint:before { + content: "\e064"; +} + +.glyphicon-edit:before { + content: "\e065"; +} + +.glyphicon-share:before { + content: "\e066"; +} + +.glyphicon-check:before { + content: "\e067"; +} + +.glyphicon-move:before { + content: "\e068"; +} + +.glyphicon-step-backward:before { + content: "\e069"; +} + +.glyphicon-fast-backward:before { + content: "\e070"; +} + +.glyphicon-backward:before { + content: "\e071"; +} + +.glyphicon-play:before { + content: "\e072"; +} + +.glyphicon-pause:before { + content: "\e073"; +} + +.glyphicon-stop:before { + content: "\e074"; +} + +.glyphicon-forward:before { + content: "\e075"; +} + +.glyphicon-fast-forward:before { + content: "\e076"; +} + +.glyphicon-step-forward:before { + content: "\e077"; +} + +.glyphicon-eject:before { + content: "\e078"; +} + +.glyphicon-chevron-left:before { + content: "\e079"; +} + +.glyphicon-chevron-right:before { + content: "\e080"; +} + +.glyphicon-plus-sign:before { + content: "\e081"; +} + +.glyphicon-minus-sign:before { + content: "\e082"; +} + +.glyphicon-remove-sign:before { + content: "\e083"; +} + +.glyphicon-ok-sign:before { + content: "\e084"; +} + +.glyphicon-question-sign:before { + content: "\e085"; +} + +.glyphicon-info-sign:before { + content: "\e086"; +} + +.glyphicon-screenshot:before { + content: "\e087"; +} + +.glyphicon-remove-circle:before { + content: "\e088"; +} + +.glyphicon-ok-circle:before { + content: "\e089"; +} + +.glyphicon-ban-circle:before { + content: "\e090"; +} + +.glyphicon-arrow-left:before { + content: "\e091"; +} + +.glyphicon-arrow-right:before { + content: "\e092"; +} + +.glyphicon-arrow-up:before { + content: "\e093"; +} + +.glyphicon-arrow-down:before { + content: "\e094"; +} + +.glyphicon-share-alt:before { + content: "\e095"; +} + +.glyphicon-resize-full:before { + content: "\e096"; +} + +.glyphicon-resize-small:before { + content: "\e097"; +} + +.glyphicon-exclamation-sign:before { + content: "\e101"; +} + +.glyphicon-gift:before { + content: "\e102"; +} + +.glyphicon-leaf:before { + content: "\e103"; +} + +.glyphicon-fire:before { + content: "\e104"; +} + +.glyphicon-eye-open:before { + content: "\e105"; +} + +.glyphicon-eye-close:before { + content: "\e106"; +} + +.glyphicon-warning-sign:before { + content: "\e107"; +} + +.glyphicon-plane:before { + content: "\e108"; +} + +.glyphicon-calendar:before { + content: "\e109"; +} + +.glyphicon-random:before { + content: "\e110"; +} + +.glyphicon-comment:before { + content: "\e111"; +} + +.glyphicon-magnet:before { + content: "\e112"; +} + +.glyphicon-chevron-up:before { + content: "\e113"; +} + +.glyphicon-chevron-down:before { + content: "\e114"; +} + +.glyphicon-retweet:before { + content: "\e115"; +} + +.glyphicon-shopping-cart:before { + content: "\e116"; +} + +.glyphicon-folder-close:before { + content: "\e117"; +} + +.glyphicon-folder-open:before { + content: "\e118"; +} + +.glyphicon-resize-vertical:before { + content: "\e119"; +} + +.glyphicon-resize-horizontal:before { + content: "\e120"; +} + +.glyphicon-hdd:before { + content: "\e121"; +} + +.glyphicon-bullhorn:before { + content: "\e122"; +} + +.glyphicon-bell:before { + content: "\e123"; +} + +.glyphicon-certificate:before { + content: "\e124"; +} + +.glyphicon-thumbs-up:before { + content: "\e125"; +} + +.glyphicon-thumbs-down:before { + content: "\e126"; +} + +.glyphicon-hand-right:before { + content: "\e127"; +} + +.glyphicon-hand-left:before { + content: "\e128"; +} + +.glyphicon-hand-up:before { + content: "\e129"; +} + +.glyphicon-hand-down:before { + content: "\e130"; +} + +.glyphicon-circle-arrow-right:before { + content: "\e131"; +} + +.glyphicon-circle-arrow-left:before { + content: "\e132"; +} + +.glyphicon-circle-arrow-up:before { + content: "\e133"; +} + +.glyphicon-circle-arrow-down:before { + content: "\e134"; +} + +.glyphicon-globe:before { + content: "\e135"; +} + +.glyphicon-wrench:before { + content: "\e136"; +} + +.glyphicon-tasks:before { + content: "\e137"; +} + +.glyphicon-filter:before { + content: "\e138"; +} + +.glyphicon-briefcase:before { + content: "\e139"; +} + +.glyphicon-fullscreen:before { + content: "\e140"; +} + +.glyphicon-dashboard:before { + content: "\e141"; +} + +.glyphicon-paperclip:before { + content: "\e142"; +} + +.glyphicon-heart-empty:before { + content: "\e143"; +} + +.glyphicon-link:before { + content: "\e144"; +} + +.glyphicon-phone:before { + content: "\e145"; +} + +.glyphicon-pushpin:before { + content: "\e146"; +} + +.glyphicon-usd:before { + content: "\e148"; +} + +.glyphicon-gbp:before { + content: "\e149"; +} + +.glyphicon-sort:before { + content: "\e150"; +} + +.glyphicon-sort-by-alphabet:before { + content: "\e151"; +} + +.glyphicon-sort-by-alphabet-alt:before { + content: "\e152"; +} + +.glyphicon-sort-by-order:before { + content: "\e153"; +} + +.glyphicon-sort-by-order-alt:before { + content: "\e154"; +} + +.glyphicon-sort-by-attributes:before { + content: "\e155"; +} + +.glyphicon-sort-by-attributes-alt:before { + content: "\e156"; +} + +.glyphicon-unchecked:before { + content: "\e157"; +} + +.glyphicon-expand:before { + content: "\e158"; +} + +.glyphicon-collapse-down:before { + content: "\e159"; +} + +.glyphicon-collapse-up:before { + content: "\e160"; +} + +.glyphicon-log-in:before { + content: "\e161"; +} + +.glyphicon-flash:before { + content: "\e162"; +} + +.glyphicon-log-out:before { + content: "\e163"; +} + +.glyphicon-new-window:before { + content: "\e164"; +} + +.glyphicon-record:before { + content: "\e165"; +} + +.glyphicon-save:before { + content: "\e166"; +} + +.glyphicon-open:before { + content: "\e167"; +} + +.glyphicon-saved:before { + content: "\e168"; +} + +.glyphicon-import:before { + content: "\e169"; +} + +.glyphicon-export:before { + content: "\e170"; +} + +.glyphicon-send:before { + content: "\e171"; +} + +.glyphicon-floppy-disk:before { + content: "\e172"; +} + +.glyphicon-floppy-saved:before { + content: "\e173"; +} + +.glyphicon-floppy-remove:before { + content: "\e174"; +} + +.glyphicon-floppy-save:before { + content: "\e175"; +} + +.glyphicon-floppy-open:before { + content: "\e176"; +} + +.glyphicon-credit-card:before { + content: "\e177"; +} + +.glyphicon-transfer:before { + content: "\e178"; +} + +.glyphicon-cutlery:before { + content: "\e179"; +} + +.glyphicon-header:before { + content: "\e180"; +} + +.glyphicon-compressed:before { + content: "\e181"; +} + +.glyphicon-earphone:before { + content: "\e182"; +} + +.glyphicon-phone-alt:before { + content: "\e183"; +} + +.glyphicon-tower:before { + content: "\e184"; +} + +.glyphicon-stats:before { + content: "\e185"; +} + +.glyphicon-sd-video:before { + content: "\e186"; +} + +.glyphicon-hd-video:before { + content: "\e187"; +} + +.glyphicon-subtitles:before { + content: "\e188"; +} + +.glyphicon-sound-stereo:before { + content: "\e189"; +} + +.glyphicon-sound-dolby:before { + content: "\e190"; +} + +.glyphicon-sound-5-1:before { + content: "\e191"; +} + +.glyphicon-sound-6-1:before { + content: "\e192"; +} + +.glyphicon-sound-7-1:before { + content: "\e193"; +} + +.glyphicon-copyright-mark:before { + content: "\e194"; +} + +.glyphicon-registration-mark:before { + content: "\e195"; +} + +.glyphicon-cloud-download:before { + content: "\e197"; +} + +.glyphicon-cloud-upload:before { + content: "\e198"; +} + +.glyphicon-tree-conifer:before { + content: "\e199"; +} + +.glyphicon-tree-deciduous:before { + content: "\e200"; +} + +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px solid; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} + +.dropdown { + position: relative; +} + +.dropdown-toggle:focus { + outline: 0; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + font-size: 14px; + list-style: none; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 4px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + background-clip: padding-box; +} + +.dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.dropdown-menu .divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.428571429; + color: #333333; + white-space: nowrap; +} + +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + color: #262626; + text-decoration: none; + background-color: #f5f5f5; +} + +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #ffffff; + text-decoration: none; + background-color: #428bca; + outline: 0; +} + +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #999999; +} + +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + cursor: not-allowed; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.open > .dropdown-menu { + display: block; +} + +.open > a { + outline: 0; +} + +.dropdown-header { + display: block; + padding: 3px 20px; + font-size: 12px; + line-height: 1.428571429; + color: #999999; +} + +.dropdown-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 990; +} + +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} + +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + border-top: 0; + border-bottom: 4px solid; + content: ""; +} + +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 1px; +} + +@media (min-width: 768px) { + .navbar-right .dropdown-menu { + right: 0; + left: auto; + } +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} + +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + float: left; +} + +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover, +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus, +.btn-group > .btn:active, +.btn-group-vertical > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn.active { + z-index: 2; +} + +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus { + outline: none; +} + +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group { + margin-left: -1px; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar .btn-group { + float: left; +} + +.btn-toolbar > .btn + .btn, +.btn-toolbar > .btn-group + .btn, +.btn-toolbar > .btn + .btn-group, +.btn-toolbar > .btn-group + .btn-group { + margin-left: 5px; +} + +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0; +} + +.btn-group > .btn:first-child { + margin-left: 0; +} + +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group > .btn-group { + float: left; +} + +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group > .btn-group:first-child > .btn:last-child, +.btn-group > .btn-group:first-child > .dropdown-toggle { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn-group:last-child > .btn:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} + +.btn-group-xs > .btn { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-sm > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-lg > .btn { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-group > .btn + .dropdown-toggle { + padding-right: 8px; + padding-left: 8px; +} + +.btn-group > .btn-lg + .dropdown-toggle { + padding-right: 12px; + padding-left: 12px; +} + +.btn-group.open .dropdown-toggle { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn-group.open .dropdown-toggle.btn-link { + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn .caret { + margin-left: 0; +} + +.btn-lg .caret { + border-width: 5px 5px 0; + border-bottom-width: 0; +} + +.dropup .btn-lg .caret { + border-width: 0 5px 5px; +} + +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group, +.btn-group-vertical > .btn-group > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group > .btn { + float: none; +} + +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} + +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-top-right-radius: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 0; +} + +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group-vertical > .btn-group:first-child > .btn:last-child, +.btn-group-vertical > .btn-group:first-child > .dropdown-toggle { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn-group:last-child > .btn:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.btn-group-justified { + display: table; + width: 100%; + border-collapse: separate; + table-layout: fixed; +} + +.btn-group-justified > .btn, +.btn-group-justified > .btn-group { + display: table-cell; + float: none; + width: 1%; +} + +.btn-group-justified > .btn-group .btn { + width: 100%; +} + +[data-toggle="buttons"] > .btn > input[type="radio"], +[data-toggle="buttons"] > .btn > input[type="checkbox"] { + display: none; +} + +.input-group { + position: relative; + display: table; + border-collapse: separate; +} + +.input-group[class*="col-"] { + float: none; + padding-right: 0; + padding-left: 0; +} + +.input-group .form-control { + width: 100%; + margin-bottom: 0; +} + +.input-group-lg > .form-control, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-group-lg > .form-control, +select.input-group-lg > .input-group-addon, +select.input-group-lg > .input-group-btn > .btn { + height: 46px; + line-height: 46px; +} + +textarea.input-group-lg > .form-control, +textarea.input-group-lg > .input-group-addon, +textarea.input-group-lg > .input-group-btn > .btn { + height: auto; +} + +.input-group-sm > .form-control, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-group-sm > .form-control, +select.input-group-sm > .input-group-addon, +select.input-group-sm > .input-group-btn > .btn { + height: 30px; + line-height: 30px; +} + +textarea.input-group-sm > .form-control, +textarea.input-group-sm > .input-group-addon, +textarea.input-group-sm > .input-group-btn > .btn { + height: auto; +} + +.input-group-addon, +.input-group-btn, +.input-group .form-control { + display: table-cell; +} + +.input-group-addon:not(:first-child):not(:last-child), +.input-group-btn:not(:first-child):not(:last-child), +.input-group .form-control:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.input-group-addon, +.input-group-btn { + width: 1%; + white-space: nowrap; + vertical-align: middle; +} + +.input-group-addon { + padding: 6px 12px; + font-size: 14px; + font-weight: normal; + line-height: 1; + color: #555555; + text-align: center; + background-color: #eeeeee; + border: 1px solid #cccccc; + border-radius: 4px; +} + +.input-group-addon.input-sm { + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; +} + +.input-group-addon.input-lg { + padding: 10px 16px; + font-size: 18px; + border-radius: 6px; +} + +.input-group-addon input[type="radio"], +.input-group-addon input[type="checkbox"] { + margin-top: 0; +} + +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group-addon:first-child { + border-right: 0; +} + +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.input-group-addon:last-child { + border-left: 0; +} + +.input-group-btn { + position: relative; + white-space: nowrap; +} + +.input-group-btn:first-child > .btn { + margin-right: -1px; +} + +.input-group-btn:last-child > .btn { + margin-left: -1px; +} + +.input-group-btn > .btn { + position: relative; +} + +.input-group-btn > .btn + .btn { + margin-left: -4px; +} + +.input-group-btn > .btn:hover, +.input-group-btn > .btn:active { + z-index: 2; +} + +.nav { + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav > li { + position: relative; + display: block; +} + +.nav > li > a { + position: relative; + display: block; + padding: 10px 15px; +} + +.nav > li > a:hover, +.nav > li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.nav > li.disabled > a { + color: #999999; +} + +.nav > li.disabled > a:hover, +.nav > li.disabled > a:focus { + color: #999999; + text-decoration: none; + cursor: not-allowed; + background-color: transparent; +} + +.nav .open > a, +.nav .open > a:hover, +.nav .open > a:focus { + background-color: #eeeeee; + border-color: #428bca; +} + +.nav .nav-divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.nav > li > a > img { + max-width: none; +} + +.nav-tabs { + border-bottom: 1px solid #dddddd; +} + +.nav-tabs > li { + float: left; + margin-bottom: -1px; +} + +.nav-tabs > li > a { + margin-right: 2px; + line-height: 1.428571429; + border: 1px solid transparent; + border-radius: 4px 4px 0 0; +} + +.nav-tabs > li > a:hover { + border-color: #eeeeee #eeeeee #dddddd; +} + +.nav-tabs > li.active > a, +.nav-tabs > li.active > a:hover, +.nav-tabs > li.active > a:focus { + color: #555555; + cursor: default; + background-color: #ffffff; + border: 1px solid #dddddd; + border-bottom-color: transparent; +} + +.nav-tabs.nav-justified { + width: 100%; + border-bottom: 0; +} + +.nav-tabs.nav-justified > li { + float: none; +} + +.nav-tabs.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-tabs.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-tabs.nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs.nav-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs.nav-justified > .active > a, +.nav-tabs.nav-justified > .active > a:hover, +.nav-tabs.nav-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs.nav-justified > .active > a, + .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs.nav-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.nav-pills > li { + float: left; +} + +.nav-pills > li > a { + border-radius: 4px; +} + +.nav-pills > li + li { + margin-left: 2px; +} + +.nav-pills > li.active > a, +.nav-pills > li.active > a:hover, +.nav-pills > li.active > a:focus { + color: #ffffff; + background-color: #428bca; +} + +.nav-stacked > li { + float: none; +} + +.nav-stacked > li + li { + margin-top: 2px; + margin-left: 0; +} + +.nav-justified { + width: 100%; +} + +.nav-justified > li { + float: none; +} + +.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs-justified { + border-bottom: 0; +} + +.nav-tabs-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs-justified > .active > a, +.nav-tabs-justified > .active > a:hover, +.nav-tabs-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs-justified > .active > a, + .nav-tabs-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.tab-content > .tab-pane { + display: none; +} + +.tab-content > .active { + display: block; +} + +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar { + position: relative; + min-height: 50px; + margin-bottom: 20px; + border: 1px solid transparent; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar { + border-radius: 4px; + } +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar-header { + float: left; + } +} + +.navbar-collapse { + max-height: 340px; + padding-right: 15px; + padding-left: 15px; + overflow-x: visible; + border-top: 1px solid transparent; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); + -webkit-overflow-scrolling: touch; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse.in { + overflow-y: auto; +} + +@media (min-width: 768px) { + .navbar-collapse { + width: auto; + border-top: 0; + box-shadow: none; + } + .navbar-collapse.collapse { + display: block !important; + height: auto !important; + padding-bottom: 0; + overflow: visible !important; + } + .navbar-collapse.in { + overflow-y: visible; + } + .navbar-fixed-top .navbar-collapse, + .navbar-static-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + padding-right: 0; + padding-left: 0; + } +} + +.container > .navbar-header, +.container > .navbar-collapse { + margin-right: -15px; + margin-left: -15px; +} + +@media (min-width: 768px) { + .container > .navbar-header, + .container > .navbar-collapse { + margin-right: 0; + margin-left: 0; + } +} + +.navbar-static-top { + z-index: 1000; + border-width: 0 0 1px; +} + +@media (min-width: 768px) { + .navbar-static-top { + border-radius: 0; + } +} + +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; +} + +@media (min-width: 768px) { + .navbar-fixed-top, + .navbar-fixed-bottom { + border-radius: 0; + } +} + +.navbar-fixed-top { + top: 0; + border-width: 0 0 1px; +} + +.navbar-fixed-bottom { + bottom: 0; + margin-bottom: 0; + border-width: 1px 0 0; +} + +.navbar-brand { + float: left; + padding: 15px 15px; + font-size: 18px; + line-height: 20px; +} + +.navbar-brand:hover, +.navbar-brand:focus { + text-decoration: none; +} + +@media (min-width: 768px) { + .navbar > .container .navbar-brand { + margin-left: -15px; + } +} + +.navbar-toggle { + position: relative; + float: right; + padding: 9px 10px; + margin-top: 8px; + margin-right: 15px; + margin-bottom: 8px; + background-color: transparent; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; +} + +.navbar-toggle .icon-bar { + display: block; + width: 22px; + height: 2px; + border-radius: 1px; +} + +.navbar-toggle .icon-bar + .icon-bar { + margin-top: 4px; +} + +@media (min-width: 768px) { + .navbar-toggle { + display: none; + } +} + +.navbar-nav { + margin: 7.5px -15px; +} + +.navbar-nav > li > a { + padding-top: 10px; + padding-bottom: 10px; + line-height: 20px; +} + +@media (max-width: 767px) { + .navbar-nav .open .dropdown-menu { + position: static; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + box-shadow: none; + } + .navbar-nav .open .dropdown-menu > li > a, + .navbar-nav .open .dropdown-menu .dropdown-header { + padding: 5px 15px 5px 25px; + } + .navbar-nav .open .dropdown-menu > li > a { + line-height: 20px; + } + .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-nav .open .dropdown-menu > li > a:focus { + background-image: none; + } +} + +@media (min-width: 768px) { + .navbar-nav { + float: left; + margin: 0; + } + .navbar-nav > li { + float: left; + } + .navbar-nav > li > a { + padding-top: 15px; + padding-bottom: 15px; + } + .navbar-nav.navbar-right:last-child { + margin-right: -15px; + } +} + +@media (min-width: 768px) { + .navbar-left { + float: left !important; + } + .navbar-right { + float: right !important; + } +} + +.navbar-form { + padding: 10px 15px; + margin-top: 8px; + margin-right: -15px; + margin-bottom: 8px; + margin-left: -15px; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); +} + +@media (min-width: 768px) { + .navbar-form .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .form-control { + display: inline-block; + } + .navbar-form select.form-control { + width: auto; + } + .navbar-form .radio, + .navbar-form .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .navbar-form .radio input[type="radio"], + .navbar-form .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +@media (max-width: 767px) { + .navbar-form .form-group { + margin-bottom: 5px; + } +} + +@media (min-width: 768px) { + .navbar-form { + width: auto; + padding-top: 0; + padding-bottom: 0; + margin-right: 0; + margin-left: 0; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .navbar-form.navbar-right:last-child { + margin-right: -15px; + } +} + +.navbar-nav > li > .dropdown-menu { + margin-top: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.navbar-nav.pull-right > li > .dropdown-menu, +.navbar-nav > li > .dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.navbar-btn { + margin-top: 8px; + margin-bottom: 8px; +} + +.navbar-btn.btn-sm { + margin-top: 10px; + margin-bottom: 10px; +} + +.navbar-btn.btn-xs { + margin-top: 14px; + margin-bottom: 14px; +} + +.navbar-text { + margin-top: 15px; + margin-bottom: 15px; +} + +@media (min-width: 768px) { + .navbar-text { + float: left; + margin-right: 15px; + margin-left: 15px; + } + .navbar-text.navbar-right:last-child { + margin-right: 0; + } +} + +.navbar-default { + background-color: #f8f8f8; + border-color: #e7e7e7; +} + +.navbar-default .navbar-brand { + color: #777777; +} + +.navbar-default .navbar-brand:hover, +.navbar-default .navbar-brand:focus { + color: #5e5e5e; + background-color: transparent; +} + +.navbar-default .navbar-text { + color: #777777; +} + +.navbar-default .navbar-nav > li > a { + color: #777777; +} + +.navbar-default .navbar-nav > li > a:hover, +.navbar-default .navbar-nav > li > a:focus { + color: #333333; + background-color: transparent; +} + +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .disabled > a, +.navbar-default .navbar-nav > .disabled > a:hover, +.navbar-default .navbar-nav > .disabled > a:focus { + color: #cccccc; + background-color: transparent; +} + +.navbar-default .navbar-toggle { + border-color: #dddddd; +} + +.navbar-default .navbar-toggle:hover, +.navbar-default .navbar-toggle:focus { + background-color: #dddddd; +} + +.navbar-default .navbar-toggle .icon-bar { + background-color: #cccccc; +} + +.navbar-default .navbar-collapse, +.navbar-default .navbar-form { + border-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .open > a, +.navbar-default .navbar-nav > .open > a:hover, +.navbar-default .navbar-nav > .open > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a { + color: #777777; + } + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + color: #333333; + background-color: transparent; + } + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #555555; + background-color: #e7e7e7; + } + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #cccccc; + background-color: transparent; + } +} + +.navbar-default .navbar-link { + color: #777777; +} + +.navbar-default .navbar-link:hover { + color: #333333; +} + +.navbar-inverse { + background-color: #222222; + border-color: #080808; +} + +.navbar-inverse .navbar-brand { + color: #999999; +} + +.navbar-inverse .navbar-brand:hover, +.navbar-inverse .navbar-brand:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-text { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a:hover, +.navbar-inverse .navbar-nav > li > a:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-nav > .active > a, +.navbar-inverse .navbar-nav > .active > a:hover, +.navbar-inverse .navbar-nav > .active > a:focus { + color: #ffffff; + background-color: #080808; +} + +.navbar-inverse .navbar-nav > .disabled > a, +.navbar-inverse .navbar-nav > .disabled > a:hover, +.navbar-inverse .navbar-nav > .disabled > a:focus { + color: #444444; + background-color: transparent; +} + +.navbar-inverse .navbar-toggle { + border-color: #333333; +} + +.navbar-inverse .navbar-toggle:hover, +.navbar-inverse .navbar-toggle:focus { + background-color: #333333; +} + +.navbar-inverse .navbar-toggle .icon-bar { + background-color: #ffffff; +} + +.navbar-inverse .navbar-collapse, +.navbar-inverse .navbar-form { + border-color: #101010; +} + +.navbar-inverse .navbar-nav > .open > a, +.navbar-inverse .navbar-nav > .open > a:hover, +.navbar-inverse .navbar-nav > .open > a:focus { + color: #ffffff; + background-color: #080808; +} + +@media (max-width: 767px) { + .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { + border-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu .divider { + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { + color: #999999; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + color: #ffffff; + background-color: transparent; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #ffffff; + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #444444; + background-color: transparent; + } +} + +.navbar-inverse .navbar-link { + color: #999999; +} + +.navbar-inverse .navbar-link:hover { + color: #ffffff; +} + +.breadcrumb { + padding: 8px 15px; + margin-bottom: 20px; + list-style: none; + background-color: #f5f5f5; + border-radius: 4px; +} + +.breadcrumb > li { + display: inline-block; +} + +.breadcrumb > li + li:before { + padding: 0 5px; + color: #cccccc; + content: "/\00a0"; +} + +.breadcrumb > .active { + color: #999999; +} + +.pagination { + display: inline-block; + padding-left: 0; + margin: 20px 0; + border-radius: 4px; +} + +.pagination > li { + display: inline; +} + +.pagination > li > a, +.pagination > li > span { + position: relative; + float: left; + padding: 6px 12px; + margin-left: -1px; + line-height: 1.428571429; + text-decoration: none; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.pagination > li:first-child > a, +.pagination > li:first-child > span { + margin-left: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} + +.pagination > li:last-child > a, +.pagination > li:last-child > span { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} + +.pagination > li > a:hover, +.pagination > li > span:hover, +.pagination > li > a:focus, +.pagination > li > span:focus { + background-color: #eeeeee; +} + +.pagination > .active > a, +.pagination > .active > span, +.pagination > .active > a:hover, +.pagination > .active > span:hover, +.pagination > .active > a:focus, +.pagination > .active > span:focus { + z-index: 2; + color: #ffffff; + cursor: default; + background-color: #428bca; + border-color: #428bca; +} + +.pagination > .disabled > span, +.pagination > .disabled > span:hover, +.pagination > .disabled > span:focus, +.pagination > .disabled > a, +.pagination > .disabled > a:hover, +.pagination > .disabled > a:focus { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; + border-color: #dddddd; +} + +.pagination-lg > li > a, +.pagination-lg > li > span { + padding: 10px 16px; + font-size: 18px; +} + +.pagination-lg > li:first-child > a, +.pagination-lg > li:first-child > span { + border-bottom-left-radius: 6px; + border-top-left-radius: 6px; +} + +.pagination-lg > li:last-child > a, +.pagination-lg > li:last-child > span { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; +} + +.pagination-sm > li > a, +.pagination-sm > li > span { + padding: 5px 10px; + font-size: 12px; +} + +.pagination-sm > li:first-child > a, +.pagination-sm > li:first-child > span { + border-bottom-left-radius: 3px; + border-top-left-radius: 3px; +} + +.pagination-sm > li:last-child > a, +.pagination-sm > li:last-child > span { + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} + +.pager { + padding-left: 0; + margin: 20px 0; + text-align: center; + list-style: none; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager li { + display: inline; +} + +.pager li > a, +.pager li > span { + display: inline-block; + padding: 5px 14px; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 15px; +} + +.pager li > a:hover, +.pager li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.pager .next > a, +.pager .next > span { + float: right; +} + +.pager .previous > a, +.pager .previous > span { + float: left; +} + +.pager .disabled > a, +.pager .disabled > a:hover, +.pager .disabled > a:focus, +.pager .disabled > span { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; +} + +.label { + display: inline; + padding: .2em .6em .3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25em; +} + +.label[href]:hover, +.label[href]:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +.label:empty { + display: none; +} + +.btn .label { + position: relative; + top: -1px; +} + +.label-default { + background-color: #999999; +} + +.label-default[href]:hover, +.label-default[href]:focus { + background-color: #808080; +} + +.label-primary { + background-color: #428bca; +} + +.label-primary[href]:hover, +.label-primary[href]:focus { + background-color: #3071a9; +} + +.label-success { + background-color: #5cb85c; +} + +.label-success[href]:hover, +.label-success[href]:focus { + background-color: #449d44; +} + +.label-info { + background-color: #5bc0de; +} + +.label-info[href]:hover, +.label-info[href]:focus { + background-color: #31b0d5; +} + +.label-warning { + background-color: #f0ad4e; +} + +.label-warning[href]:hover, +.label-warning[href]:focus { + background-color: #ec971f; +} + +.label-minor { + background-color: #fad664; +} +.label-minor[href]:hover, +.label-minor[href]:focus { + background-color: #f8c933; +} + +.label-danger { + background-color: #d9534f; +} + +.label-danger[href]:hover, +.label-danger[href]:focus { + background-color: #c9302c; +} + +.badge { + display: inline-block; + min-width: 10px; + padding: 3px 7px; + font-size: 12px; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + background-color: #999999; + border-radius: 10px; +} + +.badge:empty { + display: none; +} + +.btn .badge { + position: relative; + top: -1px; +} + +a.badge:hover, +a.badge:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +a.list-group-item.active > .badge, +.nav-pills > .active > a > .badge { + color: #428bca; + background-color: #ffffff; +} + +.nav-pills > li > a > .badge { + margin-left: 3px; +} + +/*.jumbotron { + padding: 30px; + margin-bottom: 30px; + font-size: 21px; + font-weight: 200; + line-height: 2.1428571435; + color: inherit; + background-color: #eeeeee; +} + +.jumbotron h1, +.jumbotron .h1 { + line-height: 1; + color: inherit; +} + +.jumbotron p { + line-height: 1.4; +} + +.container .jumbotron { + border-radius: 6px; +} + +.jumbotron .container { + max-width: 100%; +} + +@media screen and (min-width: 768px) { + .jumbotron { + padding-top: 48px; + padding-bottom: 48px; + } + .container .jumbotron { + padding-right: 60px; + padding-left: 60px; + } + .jumbotron h1, + .jumbotron .h1 { + font-size: 63px; + } +}*/ + +.thumbnail { + display: block; + padding: 4px; + margin-bottom: 20px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.thumbnail > img, +.thumbnail a > img { + display: block; + height: auto; + max-width: 100%; + margin-right: auto; + margin-left: auto; +} + +a.thumbnail:hover, +a.thumbnail:focus, +a.thumbnail.active { + border-color: #428bca; +} + +.thumbnail .caption { + padding: 9px; + color: #333333; +} + +.alert { + padding: 15px; + margin-bottom: 20px; + border: 1px solid transparent; + border-radius: 4px; +} + +.alert h4 { + margin-top: 0; + color: inherit; +} + +.alert .alert-link { + font-weight: bold; +} + +.alert > p, +.alert > ul { + margin-bottom: 0; +} + +.alert > p + p { + margin-top: 5px; +} + +.alert-dismissable { + padding-right: 35px; +} + +.alert-dismissable .close { + position: relative; + top: -2px; + right: -21px; + color: inherit; +} + +.alert-success { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.alert-success hr { + border-top-color: #c9e2b3; +} + +.alert-success .alert-link { + color: #2b542c; +} + +.alert-info { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.alert-info hr { + border-top-color: #a6e1ec; +} + +.alert-info .alert-link { + color: #245269; +} + +.alert-warning { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.alert-warning hr { + border-top-color: #f7e1b5; +} + +.alert-warning .alert-link { + color: #66512c; +} + +.alert-danger { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.alert-danger hr { + border-top-color: #e4b9c0; +} + +.alert-danger .alert-link { + color: #843534; +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +.progress { + height: 20px; + margin-bottom: 20px; + overflow: hidden; + background-color: #f5f5f5; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.progress-bar { + float: left; + width: 0; + height: 100%; + font-size: 12px; + line-height: 20px; + color: #ffffff; + text-align: center; + background-color: #428bca; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -webkit-transition: width 0.6s ease; + transition: width 0.6s ease; +} + +.progress-striped .progress-bar { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-size: 40px 40px; +} + +.progress.active .progress-bar { + -webkit-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} + +.progress-bar-success { + background-color: #5cb85c; +} + +.progress-striped .progress-bar-success { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-info { + background-color: #5bc0de; +} + +.progress-striped .progress-bar-info { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-warning { + background-color: #f0ad4e; +} + +.progress-striped .progress-bar-warning { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-danger { + background-color: #d9534f; +} + +.progress-striped .progress-bar-danger { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.media, +.media-body { + overflow: hidden; + zoom: 1; +} + +.media, +.media .media { + margin-top: 15px; +} + +.media:first-child { + margin-top: 0; +} + +.media-object { + display: block; +} + +.media-heading { + margin: 0 0 5px; +} + +.media > .pull-left { + margin-right: 10px; +} + +.media > .pull-right { + margin-left: 10px; +} + +.media-list { + padding-left: 0; + list-style: none; +} + +.list-group { + padding-left: 0; + margin-bottom: 20px; +} + +.list-group-item { + position: relative; + display: block; + padding: 10px 15px; + margin-bottom: -1px; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.list-group-item:first-child { + border-top-right-radius: 4px; + border-top-left-radius: 4px; +} + +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} + +.list-group-item > .badge { + float: right; +} + +.list-group-item > .badge + .badge { + margin-right: 5px; +} + +a.list-group-item { + color: #555555; +} + +a.list-group-item .list-group-item-heading { + color: #333333; +} + +a.list-group-item:hover, +a.list-group-item:focus { + text-decoration: none; + background-color: #f5f5f5; +} + +a.list-group-item.active, +a.list-group-item.active:hover, +a.list-group-item.active:focus { + z-index: 2; + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +a.list-group-item.active .list-group-item-heading, +a.list-group-item.active:hover .list-group-item-heading, +a.list-group-item.active:focus .list-group-item-heading { + color: inherit; +} + +a.list-group-item.active .list-group-item-text, +a.list-group-item.active:hover .list-group-item-text, +a.list-group-item.active:focus .list-group-item-text { + color: #e1edf7; +} + +.list-group-item-heading { + margin-top: 0; + margin-bottom: 5px; +} + +.list-group-item-text { + margin-bottom: 0; + line-height: 1.3; +} + +.panel { + margin-bottom: 20px; + background-color: #ffffff; + border: 1px solid transparent; + border-radius: 4px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.panel-body { + padding: 15px; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel > .list-group { + margin-bottom: 0; +} + +.panel > .list-group .list-group-item { + border-width: 1px 0; +} + +.panel > .list-group .list-group-item:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.panel > .list-group .list-group-item:last-child { + border-bottom: 0; +} + +.panel-heading + .list-group .list-group-item:first-child { + border-top-width: 0; +} + +.panel > .table, +.panel > .table-responsive > .table { + margin-bottom: 0; +} + +.panel > .panel-body + .table, +.panel > .panel-body + .table-responsive { + border-top: 1px solid #dddddd; +} + +.panel > .table > tbody:first-child th, +.panel > .table > tbody:first-child td { + border-top: 0; +} + +.panel > .table-bordered, +.panel > .table-responsive > .table-bordered { + border: 0; +} + +.panel > .table-bordered > thead > tr > th:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, +.panel > .table-bordered > tbody > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, +.panel > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-bordered > thead > tr > td:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, +.panel > .table-bordered > tbody > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, +.panel > .table-bordered > tfoot > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; +} + +.panel > .table-bordered > thead > tr > th:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, +.panel > .table-bordered > tbody > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, +.panel > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-bordered > thead > tr > td:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, +.panel > .table-bordered > tbody > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, +.panel > .table-bordered > tfoot > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; +} + +.panel > .table-bordered > thead > tr:last-child > th, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > th, +.panel > .table-bordered > tbody > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, +.panel > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-bordered > thead > tr:last-child > td, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > td, +.panel > .table-bordered > tbody > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, +.panel > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; +} + +.panel > .table-responsive { + margin-bottom: 0; + border: 0; +} + +.panel-heading { + padding: 10px 15px; + border-bottom: 1px solid transparent; + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} + +.panel-heading > .dropdown .dropdown-toggle { + color: inherit; +} + +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: 16px; + color: inherit; +} + +.panel-title > a { + color: inherit; +} + +.panel-footer { + padding: 10px 15px; + background-color: #f5f5f5; + border-top: 1px solid #dddddd; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} + +.panel-group .panel { + margin-bottom: 0; + overflow: hidden; + border-radius: 4px; +} + +.panel-group .panel + .panel { + margin-top: 5px; +} + +.panel-group .panel-heading { + border-bottom: 0; +} + +.panel-group .panel-heading + .panel-collapse .panel-body { + border-top: 1px solid #dddddd; +} + +.panel-group .panel-footer { + border-top: 0; +} + +.panel-group .panel-footer + .panel-collapse .panel-body { + border-bottom: 1px solid #dddddd; +} + +.panel-default { + border-color: #dddddd; +} + +.panel-default > .panel-heading { + color: #333333; + background-color: #f5f5f5; + border-color: #dddddd; +} + +.panel-default > .panel-heading + .panel-collapse .panel-body { + border-top-color: #dddddd; +} + +.panel-default > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #dddddd; +} + +.panel-primary { + border-color: #428bca; +} + +.panel-primary > .panel-heading { + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +.panel-primary > .panel-heading + .panel-collapse .panel-body { + border-top-color: #428bca; +} + +.panel-primary > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #428bca; +} + +.panel-success { + border-color: #d6e9c6; +} + +.panel-success > .panel-heading { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.panel-success > .panel-heading + .panel-collapse .panel-body { + border-top-color: #d6e9c6; +} + +.panel-success > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #d6e9c6; +} + +.panel-warning { + border-color: #faebcc; +} + +.panel-warning > .panel-heading { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.panel-warning > .panel-heading + .panel-collapse .panel-body { + border-top-color: #faebcc; +} + +.panel-warning > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #faebcc; +} + +.panel-danger { + border-color: #ebccd1; +} + +.panel-danger > .panel-heading { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.panel-danger > .panel-heading + .panel-collapse .panel-body { + border-top-color: #ebccd1; +} + +.panel-danger > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #ebccd1; +} + +.panel-info { + border-color: #bce8f1; +} + +.panel-info > .panel-heading { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.panel-info > .panel-heading + .panel-collapse .panel-body { + border-top-color: #bce8f1; +} + +.panel-info > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #bce8f1; +} + +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e3e3e3; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, 0.15); +} + +.well-lg { + padding: 24px; + border-radius: 6px; +} + +.well-sm { + padding: 9px; + border-radius: 3px; +} + +.close { + float: right; + font-size: 21px; + font-weight: bold; + line-height: 1; + color: #000000; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} + +.close:hover, +.close:focus { + color: #000000; + text-decoration: none; + cursor: pointer; + opacity: 0.5; + filter: alpha(opacity=50); +} + +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} + +.modal-open { + overflow: hidden; +} + +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + display: none; + overflow: auto; + overflow-y: scroll; +} + +.modal.fade .modal-dialog { + -webkit-transform: translate(0, -25%); + -ms-transform: translate(0, -25%); + transform: translate(0, -25%); + -webkit-transition: -webkit-transform 0.3s ease-out; + -moz-transition: -moz-transform 0.3s ease-out; + -o-transition: -o-transform 0.3s ease-out; + transition: transform 0.3s ease-out; +} + +.modal.in .modal-dialog { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); +} + +.modal-dialog { + position: relative; + z-index: 1050; + width: auto; + margin: 10px; +} + +.modal-content { + position: relative; + background-color: #ffffff; + border: 1px solid #999999; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + outline: none; + -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + background-clip: padding-box; +} + +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1030; + background-color: #000000; +} + +.modal-backdrop.fade { + opacity: 0; + filter: alpha(opacity=0); +} + +.modal-backdrop.in { + opacity: 0.5; + filter: alpha(opacity=50); +} + +.modal-header { + min-height: 16.428571429px; + padding: 15px; + border-bottom: 1px solid #e5e5e5; +} + +.modal-header .close { + margin-top: -2px; +} + +.modal-title { + margin: 0; + line-height: 1.428571429; +} + +.modal-body { + position: relative; + padding: 20px; +} + +.modal-footer { + padding: 19px 20px 20px; + margin-top: 15px; + text-align: right; + border-top: 1px solid #e5e5e5; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer .btn + .btn { + margin-bottom: 0; + margin-left: 5px; +} + +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} + +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} + +@media screen and (min-width: 768px) { + .modal-dialog { + width: 600px; + margin: 30px auto; + } + .modal-content { + -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + } +} + +.tooltip { + position: absolute; + z-index: 1030; + display: block; + font-size: 12px; + line-height: 1.4; + opacity: 0; + filter: alpha(opacity=0); + visibility: visible; +} + +.tooltip.in { + opacity: 0.9; + filter: alpha(opacity=90); +} + +.tooltip.top { + padding: 5px 0; + margin-top: -3px; +} + +.tooltip.right { + padding: 0 5px; + margin-left: 3px; +} + +.tooltip.bottom { + padding: 5px 0; + margin-top: 3px; +} + +.tooltip.left { + padding: 0 5px; + margin-left: -3px; +} + +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: #ffffff; + text-align: center; + text-decoration: none; + background-color: #000000; + border-radius: 4px; +} + +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-left .tooltip-arrow { + bottom: 0; + left: 5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-right .tooltip-arrow { + right: 5px; + bottom: 0; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-right-color: #000000; + border-width: 5px 5px 5px 0; +} + +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-left-color: #000000; + border-width: 5px 0 5px 5px; +} + +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-left .tooltip-arrow { + top: 0; + left: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-right .tooltip-arrow { + top: 0; + right: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1010; + display: none; + max-width: 276px; + padding: 1px; + text-align: left; + white-space: normal; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + background-clip: padding-box; +} + +.popover.top { + margin-top: -10px; +} + +.popover.right { + margin-left: 10px; +} + +.popover.bottom { + margin-top: 10px; +} + +.popover.left { + margin-left: -10px; +} + +.popover-title { + padding: 8px 14px; + margin: 0; + font-size: 14px; + font-weight: normal; + line-height: 18px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-radius: 5px 5px 0 0; +} + +.popover-content { + padding: 9px 14px; +} + +.popover .arrow, +.popover .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.popover .arrow { + border-width: 11px; +} + +.popover .arrow:after { + border-width: 10px; + content: ""; +} + +.popover.top .arrow { + bottom: -11px; + left: 50%; + margin-left: -11px; + border-top-color: #999999; + border-top-color: rgba(0, 0, 0, 0.25); + border-bottom-width: 0; +} + +.popover.top .arrow:after { + bottom: 1px; + margin-left: -10px; + border-top-color: #ffffff; + border-bottom-width: 0; + content: " "; +} + +.popover.right .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-right-color: #999999; + border-right-color: rgba(0, 0, 0, 0.25); + border-left-width: 0; +} + +.popover.right .arrow:after { + bottom: -10px; + left: 1px; + border-right-color: #ffffff; + border-left-width: 0; + content: " "; +} + +.popover.bottom .arrow { + top: -11px; + left: 50%; + margin-left: -11px; + border-bottom-color: #999999; + border-bottom-color: rgba(0, 0, 0, 0.25); + border-top-width: 0; +} + +.popover.bottom .arrow:after { + top: 1px; + margin-left: -10px; + border-bottom-color: #ffffff; + border-top-width: 0; + content: " "; +} + +.popover.left .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-left-color: #999999; + border-left-color: rgba(0, 0, 0, 0.25); + border-right-width: 0; +} + +.popover.left .arrow:after { + right: 1px; + bottom: -10px; + border-left-color: #ffffff; + border-right-width: 0; + content: " "; +} + +.carousel { + position: relative; +} + +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} + +.carousel-inner > .item { + position: relative; + display: none; + -webkit-transition: 0.6s ease-in-out left; + transition: 0.6s ease-in-out left; +} + +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + display: block; + height: auto; + max-width: 100%; + line-height: 1; +} + +.carousel-inner > .active, +.carousel-inner > .next, +.carousel-inner > .prev { + display: block; +} + +.carousel-inner > .active { + left: 0; +} + +.carousel-inner > .next, +.carousel-inner > .prev { + position: absolute; + top: 0; + width: 100%; +} + +.carousel-inner > .next { + left: 100%; +} + +.carousel-inner > .prev { + left: -100%; +} + +.carousel-inner > .next.left, +.carousel-inner > .prev.right { + left: 0; +} + +.carousel-inner > .active.left { + left: -100%; +} + +.carousel-inner > .active.right { + left: 100%; +} + +.carousel-control { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 15%; + font-size: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); + opacity: 0.5; + filter: alpha(opacity=50); +} + +.carousel-control.left { + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0), color-stop(rgba(0, 0, 0, 0.0001) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); +} + +.carousel-control.right { + right: 0; + left: auto; + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0), color-stop(rgba(0, 0, 0, 0.5) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); +} + +.carousel-control:hover, +.carousel-control:focus { + color: #ffffff; + text-decoration: none; + outline: none; + opacity: 0.9; + filter: alpha(opacity=90); +} + +.carousel-control .icon-prev, +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-left, +.carousel-control .glyphicon-chevron-right { + position: absolute; + top: 50%; + z-index: 5; + display: inline-block; +} + +.carousel-control .icon-prev, +.carousel-control .glyphicon-chevron-left { + left: 50%; +} + +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-right { + right: 50%; +} + +.carousel-control .icon-prev, +.carousel-control .icon-next { + width: 20px; + height: 20px; + margin-top: -10px; + margin-left: -10px; + font-family: serif; +} + +.carousel-control .icon-prev:before { + content: '\2039'; +} + +.carousel-control .icon-next:before { + content: '\203a'; +} + +.carousel-indicators { + position: absolute; + bottom: 10px; + left: 50%; + z-index: 15; + width: 60%; + padding-left: 0; + margin-left: -30%; + text-align: center; + list-style: none; +} + +.carousel-indicators li { + display: inline-block; + width: 10px; + height: 10px; + margin: 1px; + text-indent: -999px; + cursor: pointer; + background-color: #000 \9; + background-color: rgba(0, 0, 0, 0); + border: 1px solid #ffffff; + border-radius: 10px; +} + +.carousel-indicators .active { + width: 12px; + height: 12px; + margin: 0; + background-color: #ffffff; +} + +.carousel-caption { + position: absolute; + right: 15%; + bottom: 20px; + left: 15%; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); +} + +.carousel-caption .btn { + text-shadow: none; +} + +@media screen and (min-width: 768px) { + .carousel-control .glyphicons-chevron-left, + .carousel-control .glyphicons-chevron-right, + .carousel-control .icon-prev, + .carousel-control .icon-next { + width: 30px; + height: 30px; + margin-top: -15px; + margin-left: -15px; + font-size: 30px; + } + .carousel-caption { + right: 20%; + left: 20%; + padding-bottom: 30px; + } + .carousel-indicators { + bottom: 20px; + } +} + +.clearfix:before, +.clearfix:after { + display: table; + content: " "; +} + +.clearfix:after { + clear: both; +} + +.center-block { + display: block; + margin-right: auto; + margin-left: auto; +} + +.pull-right { + float: right !important; +} + +.pull-left { + float: left !important; +} + +.hide { + display: none !important; +} + +.show { + display: block !important; +} + +.invisible { + visibility: hidden; +} + +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.hidden { + display: none !important; + visibility: hidden !important; +} + +.affix { + position: fixed; +} + +@-ms-viewport { + width: device-width; +} + +.visible-xs, +tr.visible-xs, +th.visible-xs, +td.visible-xs { + display: none !important; +} + +@media (max-width: 767px) { + .visible-xs { + display: block !important; + } + table.visible-xs { + display: table; + } + tr.visible-xs { + display: table-row !important; + } + th.visible-xs, + td.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-xs.visible-sm { + display: block !important; + } + table.visible-xs.visible-sm { + display: table; + } + tr.visible-xs.visible-sm { + display: table-row !important; + } + th.visible-xs.visible-sm, + td.visible-xs.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-xs.visible-md { + display: block !important; + } + table.visible-xs.visible-md { + display: table; + } + tr.visible-xs.visible-md { + display: table-row !important; + } + th.visible-xs.visible-md, + td.visible-xs.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-xs.visible-lg { + display: block !important; + } + table.visible-xs.visible-lg { + display: table; + } + tr.visible-xs.visible-lg { + display: table-row !important; + } + th.visible-xs.visible-lg, + td.visible-xs.visible-lg { + display: table-cell !important; + } +} + +.visible-sm, +tr.visible-sm, +th.visible-sm, +td.visible-sm { + display: none !important; +} + +@media (max-width: 767px) { + .visible-sm.visible-xs { + display: block !important; + } + table.visible-sm.visible-xs { + display: table; + } + tr.visible-sm.visible-xs { + display: table-row !important; + } + th.visible-sm.visible-xs, + td.visible-sm.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm { + display: block !important; + } + table.visible-sm { + display: table; + } + tr.visible-sm { + display: table-row !important; + } + th.visible-sm, + td.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-sm.visible-md { + display: block !important; + } + table.visible-sm.visible-md { + display: table; + } + tr.visible-sm.visible-md { + display: table-row !important; + } + th.visible-sm.visible-md, + td.visible-sm.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-sm.visible-lg { + display: block !important; + } + table.visible-sm.visible-lg { + display: table; + } + tr.visible-sm.visible-lg { + display: table-row !important; + } + th.visible-sm.visible-lg, + td.visible-sm.visible-lg { + display: table-cell !important; + } +} + +.visible-md, +tr.visible-md, +th.visible-md, +td.visible-md { + display: none !important; +} + +@media (max-width: 767px) { + .visible-md.visible-xs { + display: block !important; + } + table.visible-md.visible-xs { + display: table; + } + tr.visible-md.visible-xs { + display: table-row !important; + } + th.visible-md.visible-xs, + td.visible-md.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-md.visible-sm { + display: block !important; + } + table.visible-md.visible-sm { + display: table; + } + tr.visible-md.visible-sm { + display: table-row !important; + } + th.visible-md.visible-sm, + td.visible-md.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md { + display: block !important; + } + table.visible-md { + display: table; + } + tr.visible-md { + display: table-row !important; + } + th.visible-md, + td.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-md.visible-lg { + display: block !important; + } + table.visible-md.visible-lg { + display: table; + } + tr.visible-md.visible-lg { + display: table-row !important; + } + th.visible-md.visible-lg, + td.visible-md.visible-lg { + display: table-cell !important; + } +} + +.visible-lg, +tr.visible-lg, +th.visible-lg, +td.visible-lg { + display: none !important; +} + +@media (max-width: 767px) { + .visible-lg.visible-xs { + display: block !important; + } + table.visible-lg.visible-xs { + display: table; + } + tr.visible-lg.visible-xs { + display: table-row !important; + } + th.visible-lg.visible-xs, + td.visible-lg.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-lg.visible-sm { + display: block !important; + } + table.visible-lg.visible-sm { + display: table; + } + tr.visible-lg.visible-sm { + display: table-row !important; + } + th.visible-lg.visible-sm, + td.visible-lg.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-lg.visible-md { + display: block !important; + } + table.visible-lg.visible-md { + display: table; + } + tr.visible-lg.visible-md { + display: table-row !important; + } + th.visible-lg.visible-md, + td.visible-lg.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-lg { + display: block !important; + } + table.visible-lg { + display: table; + } + tr.visible-lg { + display: table-row !important; + } + th.visible-lg, + td.visible-lg { + display: table-cell !important; + } +} + +.hidden-xs { + display: block !important; +} + +table.hidden-xs { + display: table; +} + +tr.hidden-xs { + display: table-row !important; +} + +th.hidden-xs, +td.hidden-xs { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-xs, + tr.hidden-xs, + th.hidden-xs, + td.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-xs.hidden-sm, + tr.hidden-xs.hidden-sm, + th.hidden-xs.hidden-sm, + td.hidden-xs.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-xs.hidden-md, + tr.hidden-xs.hidden-md, + th.hidden-xs.hidden-md, + td.hidden-xs.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-xs.hidden-lg, + tr.hidden-xs.hidden-lg, + th.hidden-xs.hidden-lg, + td.hidden-xs.hidden-lg { + display: none !important; + } +} + +.hidden-sm { + display: block !important; +} + +table.hidden-sm { + display: table; +} + +tr.hidden-sm { + display: table-row !important; +} + +th.hidden-sm, +td.hidden-sm { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-sm.hidden-xs, + tr.hidden-sm.hidden-xs, + th.hidden-sm.hidden-xs, + td.hidden-sm.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-sm, + tr.hidden-sm, + th.hidden-sm, + td.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-sm.hidden-md, + tr.hidden-sm.hidden-md, + th.hidden-sm.hidden-md, + td.hidden-sm.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-sm.hidden-lg, + tr.hidden-sm.hidden-lg, + th.hidden-sm.hidden-lg, + td.hidden-sm.hidden-lg { + display: none !important; + } +} + +.hidden-md { + display: block !important; +} + +table.hidden-md { + display: table; +} + +tr.hidden-md { + display: table-row !important; +} + +th.hidden-md, +td.hidden-md { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-md.hidden-xs, + tr.hidden-md.hidden-xs, + th.hidden-md.hidden-xs, + td.hidden-md.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-md.hidden-sm, + tr.hidden-md.hidden-sm, + th.hidden-md.hidden-sm, + td.hidden-md.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-md, + tr.hidden-md, + th.hidden-md, + td.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-md.hidden-lg, + tr.hidden-md.hidden-lg, + th.hidden-md.hidden-lg, + td.hidden-md.hidden-lg { + display: none !important; + } +} + +.hidden-lg { + display: block !important; +} + +table.hidden-lg { + display: table; +} + +tr.hidden-lg { + display: table-row !important; +} + +th.hidden-lg, +td.hidden-lg { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-lg.hidden-xs, + tr.hidden-lg.hidden-xs, + th.hidden-lg.hidden-xs, + td.hidden-lg.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-lg.hidden-sm, + tr.hidden-lg.hidden-sm, + th.hidden-lg.hidden-sm, + td.hidden-lg.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-lg.hidden-md, + tr.hidden-lg.hidden-md, + th.hidden-lg.hidden-md, + td.hidden-lg.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-lg, + tr.hidden-lg, + th.hidden-lg, + td.hidden-lg { + display: none !important; + } +} + +.visible-print, +tr.visible-print, +th.visible-print, +td.visible-print { + display: none !important; +} + +@media print { + .visible-print { + display: block !important; + } + table.visible-print { + display: table; + } + tr.visible-print { + display: table-row !important; + } + th.visible-print, + td.visible-print { + display: table-cell !important; + } + .hidden-print, + tr.hidden-print, + th.hidden-print, + td.hidden-print { + display: none !important; + } +} + + +/*Added by Maria*/ + + /* Main marketing message and sign up button */ + .jumbotron { + margin: 0px 0; + text-align: center; + } + .jumbotron h1 { + font-size: 80px; + line-height: 1; + } + .jumbotron .lead { + font-size: 20px; + line-height: 1.25; + } + .jumbotron .btn { + font-size: 21px; + padding: 14px 24px; + } + + /* Supporting marketing content */ + .marketing { + margin: 60px 0; + } + .marketing p + h4 { + margin-top: 28px; + } \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.1.0/OOPSevaluation/evaluation/bootstrap.min.js b/dist/vocabulary/mapping/0.1.0/OOPSevaluation/evaluation/bootstrap.min.js new file mode 100644 index 0000000..1a6258e --- /dev/null +++ b/dist/vocabulary/mapping/0.1.0/OOPSevaluation/evaluation/bootstrap.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +if("undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]'),b=!0;if(a.length){var c=this.$element.find("input");"radio"===c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?b=!1:a.find(".active").removeClass("active")),b&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}b&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery); \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.1.0/OOPSevaluation/evaluation/jquery-1.11.0.js b/dist/vocabulary/mapping/0.1.0/OOPSevaluation/evaluation/jquery-1.11.0.js new file mode 100644 index 0000000..3c88fa8 --- /dev/null +++ b/dist/vocabulary/mapping/0.1.0/OOPSevaluation/evaluation/jquery-1.11.0.js @@ -0,0 +1,10337 @@ +/*! + * jQuery JavaScript Library v1.11.0 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-23T21:02Z + */ + +(function( global, factory ) { + + if ( typeof module === "object" && typeof module.exports === "object" ) { + // For CommonJS and CommonJS-like environments where a proper window is present, + // execute the factory and get jQuery + // For environments that do not inherently posses a window with a document + // (such as Node.js), expose a jQuery-making factory as module.exports + // This accentuates the need for the creation of a real window + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Can't do this because several apps including ASP.NET trace +// the stack via arguments.caller.callee and Firefox dies if +// you try to trace through "use strict" call chains. (#13335) +// Support: Firefox 18+ +// + +var deletedIds = []; + +var slice = deletedIds.slice; + +var concat = deletedIds.concat; + +var push = deletedIds.push; + +var indexOf = deletedIds.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var trim = "".trim; + +var support = {}; + + + +var + version = "1.11.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }; + +jQuery.fn = jQuery.prototype = { + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // Start with an empty selector + selector: "", + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num != null ? + + // Return a 'clean' array + ( num < 0 ? this[ num + this.length ] : this[ num ] ) : + + // Return just the object + slice.call( this ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + ret.context = this.context; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: deletedIds.sort, + splice: deletedIds.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var src, copyIsArray, copy, name, options, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + isWindow: function( obj ) { + /* jshint eqeqeq: false */ + return obj != null && obj == obj.window; + }, + + isNumeric: function( obj ) { + // parseFloat NaNs numeric-cast false positives (null|true|false|"") + // ...but misinterprets leading-number strings, particularly hex literals ("0x...") + // subtraction forces infinities to NaN + return obj - parseFloat( obj ) >= 0; + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + isPlainObject: function( obj ) { + var key; + + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + try { + // Not own constructor property must be Object + if ( obj.constructor && + !hasOwn.call(obj, "constructor") && + !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + } catch ( e ) { + // IE8,9 Will throw exceptions on certain host objects #9897 + return false; + } + + // Support: IE<9 + // Handle iteration over inherited properties before own properties. + if ( support.ownLast ) { + for ( key in obj ) { + return hasOwn.call( obj, key ); + } + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + for ( key in obj ) {} + + return key === undefined || hasOwn.call( obj, key ); + }, + + type: function( obj ) { + if ( obj == null ) { + return obj + ""; + } + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call(obj) ] || "object" : + typeof obj; + }, + + // Evaluates a script in a global context + // Workarounds based on findings by Jim Driscoll + // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context + globalEval: function( data ) { + if ( data && jQuery.trim( data ) ) { + // We use execScript on Internet Explorer + // We use an anonymous function so that context is window + // rather than jQuery in Firefox + ( window.execScript || function( data ) { + window[ "eval" ].call( window, data ); + } )( data ); + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + // args is for internal usage only + each: function( obj, callback, args ) { + var value, + i = 0, + length = obj.length, + isArray = isArraylike( obj ); + + if ( args ) { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } + } + + return obj; + }, + + // Use native String.trim function wherever possible + trim: trim && !trim.call("\uFEFF\xA0") ? + function( text ) { + return text == null ? + "" : + trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArraylike( Object(arr) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + var len; + + if ( arr ) { + if ( indexOf ) { + return indexOf.call( arr, elem, i ); + } + + len = arr.length; + i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; + + for ( ; i < len; i++ ) { + // Skip accessing in sparse arrays + if ( i in arr && arr[ i ] === elem ) { + return i; + } + } + } + + return -1; + }, + + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + while ( j < len ) { + first[ i++ ] = second[ j++ ]; + } + + // Support: IE<9 + // Workaround casting of .length to NaN on otherwise arraylike objects (e.g., NodeLists) + if ( len !== len ) { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, + i = 0, + length = elems.length, + isArray = isArraylike( elems ), + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var args, proxy, tmp; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + now: function() { + return +( new Date() ); + }, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +}); + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +function isArraylike( obj ) { + var length = obj.length, + type = jQuery.type( obj ); + + if ( type === "function" || jQuery.isWindow( obj ) ) { + return false; + } + + if ( obj.nodeType === 1 && length ) { + return true; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v1.10.16 + * http://sizzlejs.com/ + * + * Copyright 2013 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-13 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + compile, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + -(new Date()), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // General-purpose constants + strundefined = typeof undefined, + MAX_NEGATIVE = 1 << 31, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf if we can't use a native one + indexOf = arr.indexOf || function( elem ) { + var i = 0, + len = this.length; + for ( ; i < len; i++ ) { + if ( this[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + // http://www.w3.org/TR/css3-syntax/#characters + characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", + + // Loosely modeled on CSS identifier characters + // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors + // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = characterEncoding.replace( "w", "w#" ), + + // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + + "*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", + + // Prefer arguments quoted, + // then not containing pseudos/brackets, + // then attribute selectors/non-parenthetical expressions, + // then anything else + // These preferences are here to reduce the number of selectors + // needing tokenize in the PSEUDO preFilter + pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + characterEncoding + ")" ), + "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), + "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + rescape = /'|\\/g, + + // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }; + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var match, elem, m, nodeType, + // QSA vars + i, groups, old, nid, newContext, newSelector; + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + + context = context || document; + results = results || []; + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { + return []; + } + + if ( documentIsHTML && !seed ) { + + // Shortcuts + if ( (match = rquickExpr.exec( selector )) ) { + // Speed-up: Sizzle("#ID") + if ( (m = match[1]) ) { + if ( nodeType === 9 ) { + elem = context.getElementById( m ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document (jQuery #6963) + if ( elem && elem.parentNode ) { + // Handle the case where IE, Opera, and Webkit return items + // by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + } else { + // Context is not a document + if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && + contains( context, elem ) && elem.id === m ) { + results.push( elem ); + return results; + } + } + + // Speed-up: Sizzle("TAG") + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Speed-up: Sizzle(".CLASS") + } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) { + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // QSA path + if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + nid = old = expando; + newContext = context; + newSelector = nodeType === 9 && selector; + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + groups = tokenize( selector ); + + if ( (old = context.getAttribute("id")) ) { + nid = old.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", nid ); + } + nid = "[id='" + nid + "'] "; + + i = groups.length; + while ( i-- ) { + groups[i] = nid + toSelector( groups[i] ); + } + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context; + newSelector = groups.join(","); + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch(qsaError) { + } finally { + if ( !old ) { + context.removeAttribute("id"); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {Function(string, Object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created div and expects a boolean result + */ +function assert( fn ) { + var div = document.createElement("div"); + + try { + return !!fn( div ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( div.parentNode ) { + div.parentNode.removeChild( div ); + } + // release memory in IE + div = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = attrs.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + ( ~b.sourceIndex || MAX_NEGATIVE ) - + ( ~a.sourceIndex || MAX_NEGATIVE ); + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== strundefined && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, + doc = node ? node.ownerDocument || node : preferredDoc, + parent = doc.defaultView; + + // If no document and documentElement is available, return + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Set our document + document = doc; + docElem = doc.documentElement; + + // Support tests + documentIsHTML = !isXML( doc ); + + // Support: IE>8 + // If iframe document is assigned to "document" variable and if iframe has been reloaded, + // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936 + // IE6-8 do not support the defaultView property so parent will be undefined + if ( parent && parent !== parent.top ) { + // IE11 does not have attachEvent, so all must suffer + if ( parent.addEventListener ) { + parent.addEventListener( "unload", function() { + setDocument(); + }, false ); + } else if ( parent.attachEvent ) { + parent.attachEvent( "onunload", function() { + setDocument(); + }); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans) + support.attributes = assert(function( div ) { + div.className = "i"; + return !div.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( div ) { + div.appendChild( doc.createComment("") ); + return !div.getElementsByTagName("*").length; + }); + + // Check if getElementsByClassName can be trusted + support.getElementsByClassName = rnative.test( doc.getElementsByClassName ) && assert(function( div ) { + div.innerHTML = "
    "; + + // Support: Safari<4 + // Catch class over-caching + div.firstChild.className = "i"; + // Support: Opera<10 + // Catch gEBCN failure to find non-leading classes + return div.getElementsByClassName("i").length === 2; + }); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( div ) { + docElem.appendChild( div ).id = expando; + return !doc.getElementsByName || !doc.getElementsByName( expando ).length; + }); + + // ID find and filter + if ( support.getById ) { + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== strundefined && documentIsHTML ) { + var m = context.getElementById( id ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + }; + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + } else { + // Support: IE6/7 + // getElementById is not reliable as a find shortcut + delete Expr.find["ID"]; + + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== strundefined ) { + return context.getElementsByTagName( tag ); + } + } : + function( tag, context ) { + var elem, + tmp = [], + i = 0, + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See http://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + div.innerHTML = ""; + + // Support: IE8, Opera 10-12 + // Nothing should be selected when empty strings follow ^= or $= or *= + if ( div.querySelectorAll("[t^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + }); + + assert(function( div ) { + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = doc.createElement("input"); + input.setAttribute( "type", "hidden" ); + div.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( div.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + div.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( div, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully does not implement inclusive descendent + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === doc ? -1 : + b === doc ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return doc; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch(e) {} + } + + return Sizzle( expr, document, null, [elem] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[5] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] && match[4] !== undefined ) { + match[2] = match[4]; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, outerCache, node, diff, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + // Seek `elem` from a previously-cached index + outerCache = parent[ expando ] || (parent[ expando ] = {}); + cache = outerCache[ type ] || []; + nodeIndex = cache[0] === dirruns && cache[1]; + diff = cache[0] === dirruns && cache[2]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + outerCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + // Use previously-cached element index if available + } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { + diff = cache[1]; + + // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) + } else { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { + // Cache the index of each encountered element + if ( useCache ) { + (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf.call( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +function tokenize( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +} + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + if ( (oldCache = outerCache[ dir ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + outerCache[ dir ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf.call( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context !== document && context; + } + + // Add elements passing elementMatchers directly to results + // Keep `i` a string if there are no elements so `matchedCount` will be "00" below + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // Apply set filters to unmatched elements + matchedCount += i; + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !group ) { + group = tokenize( selector ); + } + i = group.length; + while ( i-- ) { + cached = matcherFromTokens( group[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + } + return cached; +}; + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function select( selector, context, results, seed ) { + var i, tokens, token, type, find, + match = tokenize( selector ); + + if ( !seed ) { + // Try to minimize operations if there is only one group + if ( match.length === 1 ) { + + // Take a shortcut and set the context if the root selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + support.getById && context.nodeType === 9 && documentIsHTML && + Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + } + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + } + + // Compile and execute a filtering function + // Provide `match` to avoid retokenization if we modified the selector above + compile( selector, match )( + seed, + context, + !documentIsHTML, + results, + rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +} + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome<14 +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( div1 ) { + // Should return 1, but returns 4 (following) + return div1.compareDocumentPosition( document.createElement("div") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( div ) { + div.innerHTML = ""; + return div.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( div ) { + div.innerHTML = ""; + div.firstChild.setAttribute( "value", "" ); + return div.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( div ) { + return div.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.pseudos; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + + +var rneedsContext = jQuery.expr.match.needsContext; + +var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); + + + +var risSimple = /^.[^:#\[\.,]*$/; + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + /* jshint -W018 */ + return !!qualifier.call( elem, i, elem ) !== not; + }); + + } + + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + }); + + } + + if ( typeof qualifier === "string" ) { + if ( risSimple.test( qualifier ) ) { + return jQuery.filter( qualifier, elements, not ); + } + + qualifier = jQuery.filter( qualifier, elements ); + } + + return jQuery.grep( elements, function( elem ) { + return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not; + }); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 && elem.nodeType === 1 ? + jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : + jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + })); +}; + +jQuery.fn.extend({ + find: function( selector ) { + var i, + ret = [], + self = this, + len = self.length; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }) ); + } + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + // Needed because $( selector, context ) becomes $( context ).find( selector ) + ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); + ret.selector = this.selector ? this.selector + " " + selector : selector; + return ret; + }, + filter: function( selector ) { + return this.pushStack( winnow(this, selector || [], false) ); + }, + not: function( selector ) { + return this.pushStack( winnow(this, selector || [], true) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +}); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // Use the correct document accordingly with window argument (sandbox) + document = window.document, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, + + init = jQuery.fn.init = function( selector, context ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + + // scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[1], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + // Properties of context are called as methods if possible + if ( jQuery.isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || rootjQuery ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return typeof rootjQuery.ready !== "undefined" ? + rootjQuery.ready( selector ) : + // Execute immediately if ready is not present + selector( jQuery ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.extend({ + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +jQuery.fn.extend({ + has: function( target ) { + var i, + targets = jQuery( target, this ), + len = targets.length; + + return this.filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) { + // Always skip document fragments + if ( cur.nodeType < 11 && (pos ? + pos.index(cur) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector(cur, selectors)) ) { + + matched.push( cur ); + break; + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return jQuery.inArray( this[0], jQuery( elem ) ); + } + + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.unique( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter(selector) + ); + } +}); + +function sibling( cur, dir ) { + do { + cur = cur[ dir ]; + } while ( cur && cur.nodeType !== 1 ); + + return cur; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + if ( this.length > 1 ) { + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + ret = jQuery.unique( ret ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + } + + return this.pushStack( ret ); + }; +}); +var rnotwhite = (/\S+/g); + + + +// String to Object options format cache +var optionsCache = {}; + +// Convert String-formatted options into Object-formatted ones and store in cache +function createOptions( options ) { + var object = optionsCache[ options ] = {}; + jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) { + object[ flag ] = true; + }); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + ( optionsCache[ options ] || createOptions( options ) ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + // Last fire value (for non-forgettable lists) + memory, + // Flag to know if list was already fired + fired, + // End of the loop when firing + firingLength, + // Index of currently firing callback (modified by remove if needed) + firingIndex, + // First callback to fire (used internally by add and fireWith) + firingStart, + // Actual callback list + list = [], + // Stack of fire calls for repeatable lists + stack = !options.once && [], + // Fire callbacks + fire = function( data ) { + memory = options.memory && data; + fired = true; + firingIndex = firingStart || 0; + firingStart = 0; + firingLength = list.length; + firing = true; + for ( ; list && firingIndex < firingLength; firingIndex++ ) { + if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { + memory = false; // To prevent further calls using add + break; + } + } + firing = false; + if ( list ) { + if ( stack ) { + if ( stack.length ) { + fire( stack.shift() ); + } + } else if ( memory ) { + list = []; + } else { + self.disable(); + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + // First, we save the current length + var start = list.length; + (function add( args ) { + jQuery.each( args, function( _, arg ) { + var type = jQuery.type( arg ); + if ( type === "function" ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && type !== "string" ) { + // Inspect recursively + add( arg ); + } + }); + })( arguments ); + // Do we need to add the callbacks to the + // current firing batch? + if ( firing ) { + firingLength = list.length; + // With memory, if we're not firing then + // we should call right away + } else if ( memory ) { + firingStart = start; + fire( memory ); + } + } + return this; + }, + // Remove a callback from the list + remove: function() { + if ( list ) { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + // Handle firing indexes + if ( firing ) { + if ( index <= firingLength ) { + firingLength--; + } + if ( index <= firingIndex ) { + firingIndex--; + } + } + } + }); + } + return this; + }, + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); + }, + // Remove all callbacks from the list + empty: function() { + list = []; + firingLength = 0; + return this; + }, + // Have the list do nothing anymore + disable: function() { + list = stack = memory = undefined; + return this; + }, + // Is it disabled? + disabled: function() { + return !list; + }, + // Lock the list in its current state + lock: function() { + stack = undefined; + if ( !memory ) { + self.disable(); + } + return this; + }, + // Is it locked? + locked: function() { + return !stack; + }, + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( list && ( !fired || stack ) ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + if ( firing ) { + stack.push( args ); + } else { + fire( args ); + } + } + return this; + }, + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +jQuery.extend({ + + Deferred: function( func ) { + var tuples = [ + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], + [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], + [ "notify", "progress", jQuery.Callbacks("memory") ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred(function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[1] ](function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .done( newDefer.resolve ) + .fail( newDefer.reject ) + .progress( newDefer.notify ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); + } + }); + }); + fns = null; + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[1] ] = list.add; + + // Handle state + if ( stateString ) { + list.add(function() { + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] + deferred[ tuple[0] ] = function() { + deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); + return this; + }; + deferred[ tuple[0] + "With" ] = list.fireWith; + }); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( values === progressValues ) { + deferred.notifyWith( contexts, values ); + + } else if ( !(--remaining) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ) + .progress( updateFunc( i, progressContexts, progressValues ) ); + } else { + --remaining; + } + } + } + + // if we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +}); + + +// The deferred used on DOM ready +var readyList; + +jQuery.fn.ready = function( fn ) { + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; +}; + +jQuery.extend({ + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger("ready").off("ready"); + } + } +}); + +/** + * Clean-up method for dom ready events + */ +function detach() { + if ( document.addEventListener ) { + document.removeEventListener( "DOMContentLoaded", completed, false ); + window.removeEventListener( "load", completed, false ); + + } else { + document.detachEvent( "onreadystatechange", completed ); + window.detachEvent( "onload", completed ); + } +} + +/** + * The ready event handler and self cleanup method + */ +function completed() { + // readyState === "complete" is good enough for us to call the dom ready in oldIE + if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { + detach(); + jQuery.ready(); + } +} + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called after the browser event has already occurred. + // we once tried to use readyState "interactive" here, but it caused issues like the one + // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + setTimeout( jQuery.ready ); + + // Standards-based browsers support DOMContentLoaded + } else if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed, false ); + + // If IE event model is used + } else { + // Ensure firing before onload, maybe late but safe also for iframes + document.attachEvent( "onreadystatechange", completed ); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", completed ); + + // If IE and not a frame + // continually check to see if the document is ready + var top = false; + + try { + top = window.frameElement == null && document.documentElement; + } catch(e) {} + + if ( top && top.doScroll ) { + (function doScrollCheck() { + if ( !jQuery.isReady ) { + + try { + // Use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + top.doScroll("left"); + } catch(e) { + return setTimeout( doScrollCheck, 50 ); + } + + // detach all dom ready events + detach(); + + // and execute any waiting functions + jQuery.ready(); + } + })(); + } + } + } + return readyList.promise( obj ); +}; + + +var strundefined = typeof undefined; + + + +// Support: IE<9 +// Iteration over object's inherited properties before its own +var i; +for ( i in jQuery( support ) ) { + break; +} +support.ownLast = i !== "0"; + +// Note: most support tests are defined in their respective modules. +// false until the test is run +support.inlineBlockNeedsLayout = false; + +jQuery(function() { + // We need to execute this one support test ASAP because we need to know + // if body.style.zoom needs to be set. + + var container, div, + body = document.getElementsByTagName("body")[0]; + + if ( !body ) { + // Return for frameset docs that don't have a body + return; + } + + // Setup + container = document.createElement( "div" ); + container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; + + div = document.createElement( "div" ); + body.appendChild( container ).appendChild( div ); + + if ( typeof div.style.zoom !== strundefined ) { + // Support: IE<8 + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + div.style.cssText = "border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1"; + + if ( (support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 )) ) { + // Prevent IE 6 from affecting layout for positioned elements #11048 + // Prevent IE from shrinking the body in IE 7 mode #12869 + // Support: IE<8 + body.style.zoom = 1; + } + } + + body.removeChild( container ); + + // Null elements to avoid leaks in IE + container = div = null; +}); + + + + +(function() { + var div = document.createElement( "div" ); + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +/** + * Determines whether an object can have data + */ +jQuery.acceptData = function( elem ) { + var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ], + nodeType = +elem.nodeType || 1; + + // Do not set data on non-element DOM nodes because it will not be cleared (#8335). + return nodeType !== 1 && nodeType !== 9 ? + false : + + // Nodes accept data unless otherwise specified; rejection can be conditional + !noData || noData !== true && elem.getAttribute("classid") === noData; +}; + + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /([A-Z])/g; + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + + var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + +// checks a cache object for emptiness +function isEmptyDataObject( obj ) { + var name; + for ( name in obj ) { + + // if the public data object is empty, the private is still empty + if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { + continue; + } + if ( name !== "toJSON" ) { + return false; + } + } + + return true; +} + +function internalData( elem, name, data, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var ret, thisCache, + internalKey = jQuery.expando, + + // We have to handle DOM nodes and JS objects differently because IE6-7 + // can't GC object references properly across the DOM-JS boundary + isNode = elem.nodeType, + + // Only DOM nodes need the global jQuery cache; JS object data is + // attached directly to the object so GC can occur automatically + cache = isNode ? jQuery.cache : elem, + + // Only defining an ID for JS objects if its cache already exists allows + // the code to shortcut on the same path as a DOM node with no cache + id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; + + // Avoid doing any more work than we need to when trying to get data on an + // object that has no data at all + if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) { + return; + } + + if ( !id ) { + // Only DOM nodes need a new unique ID for each element since their data + // ends up in the global cache + if ( isNode ) { + id = elem[ internalKey ] = deletedIds.pop() || jQuery.guid++; + } else { + id = internalKey; + } + } + + if ( !cache[ id ] ) { + // Avoid exposing jQuery metadata on plain JS objects when the object + // is serialized using JSON.stringify + cache[ id ] = isNode ? {} : { toJSON: jQuery.noop }; + } + + // An object can be passed to jQuery.data instead of a key/value pair; this gets + // shallow copied over onto the existing cache + if ( typeof name === "object" || typeof name === "function" ) { + if ( pvt ) { + cache[ id ] = jQuery.extend( cache[ id ], name ); + } else { + cache[ id ].data = jQuery.extend( cache[ id ].data, name ); + } + } + + thisCache = cache[ id ]; + + // jQuery data() is stored in a separate object inside the object's internal data + // cache in order to avoid key collisions between internal data and user-defined + // data. + if ( !pvt ) { + if ( !thisCache.data ) { + thisCache.data = {}; + } + + thisCache = thisCache.data; + } + + if ( data !== undefined ) { + thisCache[ jQuery.camelCase( name ) ] = data; + } + + // Check for both converted-to-camel and non-converted data property names + // If a data property was specified + if ( typeof name === "string" ) { + + // First Try to find as-is property data + ret = thisCache[ name ]; + + // Test for null|undefined property data + if ( ret == null ) { + + // Try to find the camelCased property + ret = thisCache[ jQuery.camelCase( name ) ]; + } + } else { + ret = thisCache; + } + + return ret; +} + +function internalRemoveData( elem, name, pvt ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, i, + isNode = elem.nodeType, + + // See jQuery.data for more information + cache = isNode ? jQuery.cache : elem, + id = isNode ? elem[ jQuery.expando ] : jQuery.expando; + + // If there is already no cache entry for this object, there is no + // purpose in continuing + if ( !cache[ id ] ) { + return; + } + + if ( name ) { + + thisCache = pvt ? cache[ id ] : cache[ id ].data; + + if ( thisCache ) { + + // Support array or space separated string names for data keys + if ( !jQuery.isArray( name ) ) { + + // try the string as a key before any manipulation + if ( name in thisCache ) { + name = [ name ]; + } else { + + // split the camel cased version by spaces unless a key with the spaces exists + name = jQuery.camelCase( name ); + if ( name in thisCache ) { + name = [ name ]; + } else { + name = name.split(" "); + } + } + } else { + // If "name" is an array of keys... + // When data is initially created, via ("key", "val") signature, + // keys will be converted to camelCase. + // Since there is no way to tell _how_ a key was added, remove + // both plain key and camelCase key. #12786 + // This will only penalize the array argument path. + name = name.concat( jQuery.map( name, jQuery.camelCase ) ); + } + + i = name.length; + while ( i-- ) { + delete thisCache[ name[i] ]; + } + + // If there is no data left in the cache, we want to continue + // and let the cache object itself get destroyed + if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) { + return; + } + } + } + + // See jQuery.data for more information + if ( !pvt ) { + delete cache[ id ].data; + + // Don't destroy the parent cache unless the internal data object + // had been the only thing left in it + if ( !isEmptyDataObject( cache[ id ] ) ) { + return; + } + } + + // Destroy the cache + if ( isNode ) { + jQuery.cleanData( [ elem ], true ); + + // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) + /* jshint eqeqeq: false */ + } else if ( support.deleteExpando || cache != cache.window ) { + /* jshint eqeqeq: true */ + delete cache[ id ]; + + // When all else fails, null + } else { + cache[ id ] = null; + } +} + +jQuery.extend({ + cache: {}, + + // The following elements (space-suffixed to avoid Object.prototype collisions) + // throw uncatchable exceptions if you attempt to set expando properties + noData: { + "applet ": true, + "embed ": true, + // ...but Flash objects (which have this classid) *can* handle expandos + "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" + }, + + hasData: function( elem ) { + elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; + return !!elem && !isEmptyDataObject( elem ); + }, + + data: function( elem, name, data ) { + return internalData( elem, name, data ); + }, + + removeData: function( elem, name ) { + return internalRemoveData( elem, name ); + }, + + // For internal use only. + _data: function( elem, name, data ) { + return internalData( elem, name, data, true ); + }, + + _removeData: function( elem, name ) { + return internalRemoveData( elem, name, true ); + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var i, name, data, + elem = this[0], + attrs = elem && elem.attributes; + + // Special expections of .data basically thwart jQuery.access, + // so implement the relevant behavior ourselves + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = jQuery.data( elem ); + + if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + name = attrs[i].name; + + if ( name.indexOf("data-") === 0 ) { + name = jQuery.camelCase( name.slice(5) ); + + dataAttr( elem, name, data[ name ] ); + } + } + jQuery._data( elem, "parsedAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + return arguments.length > 1 ? + + // Sets one value + this.each(function() { + jQuery.data( this, key, value ); + }) : + + // Gets one value + // Try to fetch any internally stored data first + elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : undefined; + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + + +jQuery.extend({ + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = jQuery._data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray(data) ) { + queue = jQuery._data( elem, type, jQuery.makeArray(data) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // not intended for public consumption - generates a queueHooks object, or returns the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return jQuery._data( elem, key ) || jQuery._data( elem, key, { + empty: jQuery.Callbacks("once memory").add(function() { + jQuery._removeData( elem, type + "queue" ); + jQuery._removeData( elem, key ); + }) + }); + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[0], type ); + } + + return data === undefined ? + this : + this.each(function() { + var queue = jQuery.queue( this, type, data ); + + // ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = jQuery._data( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +}); +var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var isHidden = function( elem, el ) { + // isHidden might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); + }; + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + length = elems.length, + bulk = key == null; + + // Sets many values + if ( jQuery.type( key ) === "object" ) { + chainable = true; + for ( i in key ) { + jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !jQuery.isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < length; i++ ) { + fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); + } + } + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + length ? fn( elems[0], key ) : emptyGet; +}; +var rcheckableType = (/^(?:checkbox|radio)$/i); + + + +(function() { + var fragment = document.createDocumentFragment(), + div = document.createElement("div"), + input = document.createElement("input"); + + // Setup + div.setAttribute( "className", "t" ); + div.innerHTML = "
    a"; + + // IE strips leading whitespace when .innerHTML is used + support.leadingWhitespace = div.firstChild.nodeType === 3; + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + support.tbody = !div.getElementsByTagName( "tbody" ).length; + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + support.htmlSerialize = !!div.getElementsByTagName( "link" ).length; + + // Makes sure cloning an html5 element does not cause problems + // Where outerHTML is undefined, this still works + support.html5Clone = + document.createElement( "nav" ).cloneNode( true ).outerHTML !== "<:nav>"; + + // Check if a disconnected checkbox will retain its checked + // value of true after appended to the DOM (IE6/7) + input.type = "checkbox"; + input.checked = true; + fragment.appendChild( input ); + support.appendChecked = input.checked; + + // Make sure textarea (and checkbox) defaultValue is properly cloned + // Support: IE6-IE11+ + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // #11217 - WebKit loses check when the name is after the checked attribute + fragment.appendChild( div ); + div.innerHTML = ""; + + // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3 + // old WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE<9 + // Opera does not clone events (and typeof div.attachEvent === undefined). + // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() + support.noCloneEvent = true; + if ( div.attachEvent ) { + div.attachEvent( "onclick", function() { + support.noCloneEvent = false; + }); + + div.cloneNode( true ).click(); + } + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + fragment = div = input = null; +})(); + + +(function() { + var i, eventName, + div = document.createElement( "div" ); + + // Support: IE<9 (lack submit/change bubble), Firefox 23+ (lack focusin event) + for ( i in { submit: true, change: true, focusin: true }) { + eventName = "on" + i; + + if ( !(support[ i + "Bubbles" ] = eventName in window) ) { + // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP) + div.setAttribute( eventName, "t" ); + support[ i + "Bubbles" ] = div.attributes[ eventName ].expando === false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +var rformElems = /^(?:input|select|textarea)$/i, + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|contextmenu)|click/, + rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + var tmp, events, t, handleObjIn, + special, eventHandle, handleObj, + handlers, type, namespaces, origType, + elemData = jQuery._data( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !(events = elemData.events) ) { + events = elemData.events = {}; + } + if ( !(eventHandle = elemData.handle) ) { + eventHandle = elemData.handle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== strundefined && (!e || jQuery.event.triggered !== e.type) ? + jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : + undefined; + }; + // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events + eventHandle.elem = elem; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend({ + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join(".") + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !(handlers = events[ type ]) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener/attachEvent if the special events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + var j, handleObj, tmp, + origCount, t, events, + special, handlers, type, + namespaces, origType, + elemData = jQuery.hasData( elem ) && jQuery._data( elem ); + + if ( !elemData || !(events = elemData.events) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + delete elemData.handle; + + // removeData also checks for emptiness and clears the expando if empty + // so use it instead of delete + jQuery._removeData( elem, "events" ); + } + }, + + trigger: function( event, data, elem, onlyHandlers ) { + var handle, ontype, cur, + bubbleType, special, tmp, i, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; + + cur = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf(".") >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf(":") < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join("."); + event.namespace_re = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === (elem.ownerDocument || document) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { + + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && jQuery.acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) && + jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Can't use an .isFunction() check here because IE6/7 fails that test. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + try { + elem[ type ](); + } catch ( e ) { + // IE<9 dies on focus/blur to hidden element (#1486,#12518) + // only reproducible on winXP IE8 native, not IE9 in IE8 mode + } + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event ); + + var i, ret, handleObj, matched, j, + handlerQueue = [], + args = slice.call( arguments ), + handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) + .apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( (event.result = ret) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var sel, handleObj, matches, i, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + // Black-hole SVG instance trees (#13180) + // Avoid non-left-click bubbling in Firefox (#3861) + if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { + + /* jshint eqeqeq: false */ + for ( ; cur != this; cur = cur.parentNode || this ) { + /* jshint eqeqeq: true */ + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matches[ sel ] === undefined ) { + matches[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) >= 0 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matches[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push({ elem: cur, handlers: matches }); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( delegateCount < handlers.length ) { + handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); + } + + return handlerQueue; + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, copy, + type = event.type, + originalEvent = event, + fixHook = this.fixHooks[ type ]; + + if ( !fixHook ) { + this.fixHooks[ type ] = fixHook = + rmouseEvent.test( type ) ? this.mouseHooks : + rkeyEvent.test( type ) ? this.keyHooks : + {}; + } + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = new jQuery.Event( originalEvent ); + + i = copy.length; + while ( i-- ) { + prop = copy[ i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Support: IE<9 + // Fix target property (#1925) + if ( !event.target ) { + event.target = originalEvent.srcElement || document; + } + + // Support: Chrome 23+, Safari? + // Target should not be a text node (#504, #13143) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // Support: IE<9 + // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) + event.metaKey = !!event.metaKey; + + return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split(" "), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function( event, original ) { + var body, eventDoc, doc, + button = original.button, + fromElement = original.fromElement; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && fromElement ) { + event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + special: { + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + try { + this.focus(); + return false; + } catch ( e ) { + // Support: IE<9 + // If we error on focus to hidden element (#1486, #12518), + // let .trigger() run the handlers + } + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return jQuery.nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Even when returnValue equals to undefined Firefox will still show alert + if ( event.result !== undefined ) { + event.originalEvent.returnValue = event.result; + } + } + } + }, + + simulate: function( type, elem, event, bubble ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true, + originalEvent: {} + } + ); + if ( bubble ) { + jQuery.event.trigger( e, null, elem ); + } else { + jQuery.event.dispatch.call( elem, e ); + } + if ( e.isDefaultPrevented() ) { + event.preventDefault(); + } + } +}; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + var name = "on" + type; + + if ( elem.detachEvent ) { + + // #8545, #7054, preventing memory leaks for custom events in IE6-8 + // detachEvent needed property on element, by name of that event, to properly expose it to GC + if ( typeof elem[ name ] === strundefined ) { + elem[ name ] = null; + } + + elem.detachEvent( name, handle ); + } + }; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !(this instanceof jQuery.Event) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && ( + // Support: IE < 9 + src.returnValue === false || + // Support: Android < 4.0 + src.getPreventDefault && src.getPreventDefault() ) ? + returnTrue : + returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + if ( !e ) { + return; + } + + // If preventDefault exists, run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // Support: IE + // Otherwise set the returnValue property of the original event to false + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + if ( !e ) { + return; + } + // If stopPropagation exists, run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + + // Support: IE + // Set the cancelBubble property of the original event to true + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + } +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mousenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || (related !== target && !jQuery.contains( target, related )) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +}); + +// IE submit delegation +if ( !support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Lazy-add a submit handler when a descendant form may potentially be submitted + jQuery.event.add( this, "click._submit keypress._submit", function( e ) { + // Node name check avoids a VML-related crash in IE (#9807) + var elem = e.target, + form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; + if ( form && !jQuery._data( form, "submitBubbles" ) ) { + jQuery.event.add( form, "submit._submit", function( event ) { + event._submit_bubble = true; + }); + jQuery._data( form, "submitBubbles", true ); + } + }); + // return undefined since we don't need an event listener + }, + + postDispatch: function( event ) { + // If form was submitted by the user, bubble the event up the tree + if ( event._submit_bubble ) { + delete event._submit_bubble; + if ( this.parentNode && !event.isTrigger ) { + jQuery.event.simulate( "submit", this.parentNode, event, true ); + } + } + }, + + teardown: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Remove delegated handlers; cleanData eventually reaps submit handlers attached above + jQuery.event.remove( this, "._submit" ); + } + }; +} + +// IE change delegation and checkbox/radio fix +if ( !support.changeBubbles ) { + + jQuery.event.special.change = { + + setup: function() { + + if ( rformElems.test( this.nodeName ) ) { + // IE doesn't fire change on a check/radio until blur; trigger it on click + // after a propertychange. Eat the blur-change in special.change.handle. + // This still fires onchange a second time for check/radio after blur. + if ( this.type === "checkbox" || this.type === "radio" ) { + jQuery.event.add( this, "propertychange._change", function( event ) { + if ( event.originalEvent.propertyName === "checked" ) { + this._just_changed = true; + } + }); + jQuery.event.add( this, "click._change", function( event ) { + if ( this._just_changed && !event.isTrigger ) { + this._just_changed = false; + } + // Allow triggered, simulated change events (#11500) + jQuery.event.simulate( "change", this, event, true ); + }); + } + return false; + } + // Delegated event; lazy-add a change handler on descendant inputs + jQuery.event.add( this, "beforeactivate._change", function( e ) { + var elem = e.target; + + if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { + jQuery.event.add( elem, "change._change", function( event ) { + if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { + jQuery.event.simulate( "change", this.parentNode, event, true ); + } + }); + jQuery._data( elem, "changeBubbles", true ); + } + }); + }, + + handle: function( event ) { + var elem = event.target; + + // Swallow native change events from checkbox/radio, we already triggered them above + if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { + return event.handleObj.handler.apply( this, arguments ); + } + }, + + teardown: function() { + jQuery.event.remove( this, "._change" ); + + return !rformElems.test( this.nodeName ); + } + }; +} + +// Create "bubbling" focus and blur events +if ( !support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + jQuery._data( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + jQuery._removeData( doc, fix ); + } else { + jQuery._data( doc, fix, attaches ); + } + } + }; + }); +} + +jQuery.fn.extend({ + + on: function( types, selector, data, fn, /*INTERNAL*/ one ) { + var type, origFn; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + this.on( type, selector, data, types[ type ], one ); + } + return this; + } + + if ( data == null && fn == null ) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return this; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return this.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + }); + }, + one: function( types, selector, data, fn ) { + return this.on( types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each(function() { + jQuery.event.remove( this, types, fn, selector ); + }); + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + triggerHandler: function( type, data ) { + var elem = this[0]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +}); + + +function createSafeFragment( document ) { + var list = nodeNames.split( "|" ), + safeFrag = document.createDocumentFragment(); + + if ( safeFrag.createElement ) { + while ( list.length ) { + safeFrag.createElement( + list.pop() + ); + } + } + return safeFrag; +} + +var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + + "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", + rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, + rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, + rtagName = /<([\w:]+)/, + rtbody = /\s*$/g, + + // We have to close these tags to support XHTML (#13200) + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "
    ", "
    " ], + area: [ 1, "", "" ], + param: [ 1, "", "" ], + thead: [ 1, "", "
    " ], + tr: [ 2, "", "
    " ], + col: [ 2, "", "
    " ], + td: [ 3, "", "
    " ], + + // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, + // unless wrapped in a div with non-breaking characters in front of it. + _default: support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X
    ", "
    " ] + }, + safeFragment = createSafeFragment( document ), + fragmentDiv = safeFragment.appendChild( document.createElement("div") ); + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +function getAll( context, tag ) { + var elems, elem, + i = 0, + found = typeof context.getElementsByTagName !== strundefined ? context.getElementsByTagName( tag || "*" ) : + typeof context.querySelectorAll !== strundefined ? context.querySelectorAll( tag || "*" ) : + undefined; + + if ( !found ) { + for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { + if ( !tag || jQuery.nodeName( elem, tag ) ) { + found.push( elem ); + } else { + jQuery.merge( found, getAll( elem, tag ) ); + } + } + } + + return tag === undefined || tag && jQuery.nodeName( context, tag ) ? + jQuery.merge( [ context ], found ) : + found; +} + +// Used in buildFragment, fixes the defaultChecked property +function fixDefaultChecked( elem ) { + if ( rcheckableType.test( elem.type ) ) { + elem.defaultChecked = elem.checked; + } +} + +// Support: IE<8 +// Manipulating tables requires a tbody +function manipulationTarget( elem, content ) { + return jQuery.nodeName( elem, "table" ) && + jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ? + + elem.getElementsByTagName("tbody")[0] || + elem.appendChild( elem.ownerDocument.createElement("tbody") ) : + elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + var match = rscriptTypeMasked.exec( elem.type ); + if ( match ) { + elem.type = match[1]; + } else { + elem.removeAttribute("type"); + } + return elem; +} + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var elem, + i = 0; + for ( ; (elem = elems[i]) != null; i++ ) { + jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); + } +} + +function cloneCopyEvent( src, dest ) { + + if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { + return; + } + + var type, i, l, + oldData = jQuery._data( src ), + curData = jQuery._data( dest, oldData ), + events = oldData.events; + + if ( events ) { + delete curData.handle; + curData.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + + // make the cloned public data object a copy from the original + if ( curData.data ) { + curData.data = jQuery.extend( {}, curData.data ); + } +} + +function fixCloneNodeIssues( src, dest ) { + var nodeName, e, data; + + // We do not need to do anything for non-Elements + if ( dest.nodeType !== 1 ) { + return; + } + + nodeName = dest.nodeName.toLowerCase(); + + // IE6-8 copies events bound via attachEvent when using cloneNode. + if ( !support.noCloneEvent && dest[ jQuery.expando ] ) { + data = jQuery._data( dest ); + + for ( e in data.events ) { + jQuery.removeEvent( dest, e, data.handle ); + } + + // Event data gets referenced instead of copied if the expando gets copied too + dest.removeAttribute( jQuery.expando ); + } + + // IE blanks contents when cloning scripts, and tries to evaluate newly-set text + if ( nodeName === "script" && dest.text !== src.text ) { + disableScript( dest ).text = src.text; + restoreScript( dest ); + + // IE6-10 improperly clones children of object elements using classid. + // IE10 throws NoModificationAllowedError if parent is null, #12132. + } else if ( nodeName === "object" ) { + if ( dest.parentNode ) { + dest.outerHTML = src.outerHTML; + } + + // This path appears unavoidable for IE9. When cloning an object + // element in IE9, the outerHTML strategy above is not sufficient. + // If the src has innerHTML and the destination does not, + // copy the src.innerHTML into the dest.innerHTML. #10324 + if ( support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { + dest.innerHTML = src.innerHTML; + } + + } else if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + // IE6-8 fails to persist the checked state of a cloned checkbox + // or radio button. Worse, IE6-7 fail to give the cloned element + // a checked appearance if the defaultChecked value isn't also set + + dest.defaultChecked = dest.checked = src.checked; + + // IE6-7 get confused and end up setting the value of a cloned + // checkbox/radio button to an empty string instead of "on" + if ( dest.value !== src.value ) { + dest.value = src.value; + } + + // IE6-8 fails to return the selected option to the default selected + // state when cloning options + } else if ( nodeName === "option" ) { + dest.defaultSelected = dest.selected = src.defaultSelected; + + // IE6-8 fails to set the defaultValue to the correct value when + // cloning other types of input fields + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +jQuery.extend({ + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var destElements, node, clone, i, srcElements, + inPage = jQuery.contains( elem.ownerDocument, elem ); + + if ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { + clone = elem.cloneNode( true ); + + // IE<=8 does not properly clone detached, unknown element nodes + } else { + fragmentDiv.innerHTML = elem.outerHTML; + fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); + } + + if ( (!support.noCloneEvent || !support.noCloneChecked) && + (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { + + // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + // Fix all IE cloning issues + for ( i = 0; (node = srcElements[i]) != null; ++i ) { + // Ensure that the destination node is not null; Fixes #9587 + if ( destElements[i] ) { + fixCloneNodeIssues( node, destElements[i] ); + } + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0; (node = srcElements[i]) != null; i++ ) { + cloneCopyEvent( node, destElements[i] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + destElements = srcElements = node = null; + + // Return the cloned set + return clone; + }, + + buildFragment: function( elems, context, scripts, selection ) { + var j, elem, contains, + tmp, tag, tbody, wrap, + l = elems.length, + + // Ensure a safe fragment + safe = createSafeFragment( context ), + + nodes = [], + i = 0; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( jQuery.type( elem ) === "object" ) { + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || safe.appendChild( context.createElement("div") ); + + // Deserialize a standard representation + tag = (rtagName.exec( elem ) || [ "", "" ])[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + + tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1>" ) + wrap[2]; + + // Descend through wrappers to the right content + j = wrap[0]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Manually add leading whitespace removed by IE + if ( !support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { + nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); + } + + // Remove IE's autoinserted from table fragments + if ( !support.tbody ) { + + // String was a , *may* have spurious + elem = tag === "table" && !rtbody.test( elem ) ? + tmp.firstChild : + + // String was a bare or + wrap[1] === "
    " && !rtbody.test( elem ) ? + tmp : + 0; + + j = elem && elem.childNodes.length; + while ( j-- ) { + if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { + elem.removeChild( tbody ); + } + } + } + + jQuery.merge( nodes, tmp.childNodes ); + + // Fix #12392 for WebKit and IE > 9 + tmp.textContent = ""; + + // Fix #12392 for oldIE + while ( tmp.firstChild ) { + tmp.removeChild( tmp.firstChild ); + } + + // Remember the top-level container for proper cleanup + tmp = safe.lastChild; + } + } + } + + // Fix #11356: Clear elements from fragment + if ( tmp ) { + safe.removeChild( tmp ); + } + + // Reset defaultChecked for any radios and checkboxes + // about to be appended to the DOM in IE 6/7 (#8060) + if ( !support.appendChecked ) { + jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); + } + + i = 0; + while ( (elem = nodes[ i++ ]) ) { + + // #4087 - If origin and destination elements are the same, and this is + // that element, do not do anything + if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( safe.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( (elem = tmp[ j++ ]) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + tmp = null; + + return safe; + }, + + cleanData: function( elems, /* internal */ acceptData ) { + var elem, type, id, data, + i = 0, + internalKey = jQuery.expando, + cache = jQuery.cache, + deleteExpando = support.deleteExpando, + special = jQuery.event.special; + + for ( ; (elem = elems[i]) != null; i++ ) { + if ( acceptData || jQuery.acceptData( elem ) ) { + + id = elem[ internalKey ]; + data = id && cache[ id ]; + + if ( data ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Remove cache only if it was not already removed by jQuery.event.remove + if ( cache[ id ] ) { + + delete cache[ id ]; + + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( deleteExpando ) { + delete elem[ internalKey ]; + + } else if ( typeof elem.removeAttribute !== strundefined ) { + elem.removeAttribute( internalKey ); + + } else { + elem[ internalKey ] = null; + } + + deletedIds.push( id ); + } + } + } + } + } +}); + +jQuery.fn.extend({ + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); + }, null, value, arguments.length ); + }, + + append: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + }); + }, + + prepend: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + }); + }, + + before: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + }); + }, + + after: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + }); + }, + + remove: function( selector, keepData /* Internal Use Only */ ) { + var elem, + elems = selector ? jQuery.filter( selector, this ) : this, + i = 0; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( !keepData && elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem ) ); + } + + if ( elem.parentNode ) { + if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { + setGlobalEval( getAll( elem, "script" ) ); + } + elem.parentNode.removeChild( elem ); + } + } + + return this; + }, + + empty: function() { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + } + + // Remove any remaining nodes + while ( elem.firstChild ) { + elem.removeChild( elem.firstChild ); + } + + // If this is a select, ensure that it displays empty (#12336) + // Support: IE<9 + if ( elem.options && jQuery.nodeName( elem, "select" ) ) { + elem.options.length = 0; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map(function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + }); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined ) { + return elem.nodeType === 1 ? + elem.innerHTML.replace( rinlinejQuery, "" ) : + undefined; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + ( support.htmlSerialize || !rnoshimcache.test( value ) ) && + ( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && + !wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) { + + value = value.replace( rxhtmlTag, "<$1>" ); + + try { + for (; i < l; i++ ) { + // Remove element nodes and prevent memory leaks + elem = this[i] || {}; + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch(e) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var arg = arguments[ 0 ]; + + // Make the changes, replacing each context element with the new content + this.domManip( arguments, function( elem ) { + arg = this.parentNode; + + jQuery.cleanData( getAll( this ) ); + + if ( arg ) { + arg.replaceChild( elem, this ); + } + }); + + // Force removal if there was no new content (e.g., from empty arguments) + return arg && (arg.length || arg.nodeType) ? this : this.remove(); + }, + + detach: function( selector ) { + return this.remove( selector, true ); + }, + + domManip: function( args, callback ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var first, node, hasScripts, + scripts, doc, fragment, + i = 0, + l = this.length, + set = this, + iNoClone = l - 1, + value = args[0], + isFunction = jQuery.isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( isFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return this.each(function( index ) { + var self = set.eq( index ); + if ( isFunction ) { + args[0] = value.call( this, index, self.html() ); + } + self.domManip( args, callback ); + }); + } + + if ( l ) { + fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + if ( first ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( this[i], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { + + if ( node.src ) { + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl ) { + jQuery._evalUrl( node.src ); + } + } else { + jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); + } + } + } + } + + // Fix #11809: Avoid leaking memory + fragment = first = null; + } + } + + return this; + } +}); + +jQuery.each({ + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + i = 0, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone(true); + jQuery( insert[i] )[ original ]( elems ); + + // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +}); + + +var iframe, + elemdisplay = {}; + +/** + * Retrieve the actual display of a element + * @param {String} name nodeName of the element + * @param {Object} doc Document object + */ +// Called only from within defaultDisplay +function actualDisplay( name, doc ) { + var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), + + // getDefaultComputedStyle might be reliably used only on attached element + display = window.getDefaultComputedStyle ? + + // Use of this method is a temporary fix (more like optmization) until something better comes along, + // since it was removed from specification and supported only in FF + window.getDefaultComputedStyle( elem[ 0 ] ).display : jQuery.css( elem[ 0 ], "display" ); + + // We don't have any data stored on the element, + // so use "detach" method as fast way to get rid of the element + elem.detach(); + + return display; +} + +/** + * Try to determine the default display value of an element + * @param {String} nodeName + */ +function defaultDisplay( nodeName ) { + var doc = document, + display = elemdisplay[ nodeName ]; + + if ( !display ) { + display = actualDisplay( nodeName, doc ); + + // If the simple way fails, read from inside an iframe + if ( display === "none" || !display ) { + + // Use the already-created iframe if possible + iframe = (iframe || jQuery( " diff --git a/dist/vocabulary/mapping/0.1.0/sections/references-en.html b/dist/vocabulary/mapping/0.1.0/sections/references-en.html new file mode 100644 index 0000000..5501c97 --- /dev/null +++ b/dist/vocabulary/mapping/0.1.0/sections/references-en.html @@ -0,0 +1,6 @@ + +

    References back to ToC

    + +Add your references here. It is recommended to have them as a list. + + diff --git a/dist/vocabulary/mapping/0.1.0/webvowl/css/webvowl.app.css b/dist/vocabulary/mapping/0.1.0/webvowl/css/webvowl.app.css new file mode 100644 index 0000000..2ceaead --- /dev/null +++ b/dist/vocabulary/mapping/0.1.0/webvowl/css/webvowl.app.css @@ -0,0 +1,6 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans);html{-ms-content-zooming:none}#loading-progress{width:50%;margin:10px 0}#layoutLoadingProgressBarContainer{height:50px;text-align:left;line-height:1.5}#FPS_Statistics{padding-left:60px;padding-top:60px}#additionalInformationContainer{position:absolute;top:10px;right:50px}#modeOfOperationString{padding-left:34px}#close_directUploadBtn,#direct-text-input,#directUploadBtn{border:1px solid #34495e;width:100%;margin-top:5px;cursor:pointer}#di_controls>ul{list-style:none;margin:0;padding:5px 0 0 5px}#progressBarContext{border-radius:10px;background-color:#bdc3c7;height:25px;border:1px solid #000;margin:auto}#progressBarValue{border-radius:9px;width:0;background-color:#2980b9;height:25px;line-height:1.5;text-align:center}.dbEntry{background-color:#fff;color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntrySelected{color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntry:focus,.dbEntry:hover,.dbEntrySelected{background-color:#bdc3c7}.searchMenuEntry{background-color:#fff;bottom:0;font-size:14px;min-width:50px;margin:0;padding:0;z-index:99;border-radius:4px 4px 0 0;border:1px solid rgba(0,0,0,.15);-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;border-bottom:none;display:none;position:absolute;list-style:none}.searchInputText{background-color:#fff;color:#000;border:#000;text-decoration:none;max-width:150px;overflow:hidden;text-overflow:ellipsis;margin:0}iframe,img{border:none}.hidden{display:none!important}.clear{clear:both}a{color:#69c;text-decoration:none}a:hover{color:#3498db}#optionsArea a{color:#2980b9}#optionsArea a.highlighted{background-color:#d90}.toolTipMenu li.highlighted{background-color:#feb}#browserCheck{background-color:red;padding:5px 0;position:absolute;text-align:center;width:100%}#browserCheck a{color:#fff}#browserCheck a:hover{text-decoration:underline}@-webkit-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-o-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-webkit-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-o-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-moz-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-o-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-webkit-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-moz-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-o-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-webkit-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-moz-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-o-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-webkit-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-moz-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-o-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes msg_CollapseAnimation{0%{top:0}to{top:-400px}}@-webkit-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-moz-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-o-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-webkit-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-moz-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-o-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-webkit-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-o-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-o-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}body{background:#18202a;font-size:14px;font-family:Open Sans,Helvetica,Arial,sans-serif;line-height:1;overflow:hidden;position:fixed}body,main{height:100%;margin:0;padding:0;width:100%}#canvasArea,main{position:relative}#canvasArea{margin:0;padding:0;width:78%}#canvasArea #graph{margin:0 0 2px;background-color:#ecf0f1;width:100%}#canvasArea #graph,#canvasArea svg{box-sizing:border-box;overflow:hidden;padding:0}#canvasArea svg{margin:0}#logo{position:fixed;pointer-events:none}#logo h2{color:#3498db;margin:0;line-height:.7;text-align:center;font-size:24px}#logo h2 span{color:#34495e;font-size:16px}@media screen and (max-device-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-device-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}.checkboxContainer input,.checkboxContainer label{vertical-align:middle}.selected-ontology{background-color:#eee}#credits{border-top:1px solid #bdc3c7;font-size:.9em}.slideOption{position:relative;padding:8px 5px;outline:none}.slideOption .value{float:right;outline:none}.slideOption input[type=range]{box-sizing:border-box;margin:0;outline:none;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#eee}.slideOption input[type=range]::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]::-moz-range-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]:hover{outline:none}.slideOption input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none;margin-top:-3px}.slideOption input[type=range]::-moz-range-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none}.slideOption input[type=range]::-moz-range-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]::-webkit-slider-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]:active,.slideOption input[type=range]:focus{outline:none}.slideOption input[type=range]::-moz-range-thumb:active,.slideOption input[type=range]::-moz-range-thumb:focus{outline:none}.slideOption input[type=range]::-webkit-slider-thumb:active,.slideOption input[type=range]::-webkit-slider-thumb:focus{outline:none}.slideOption input[type=range]:disabled{box-sizing:border-box;margin:0;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#787878}.slideOption input[type=range]:disabled::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled::-moz-range-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled{outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{-webkit-appearance:none;background-color:#363636;border-radius:3px;border:1px solid #aaa;transition:all .5s ease;height:10px;width:30px;margin-top:-3px}.slideOption input[type=range]:disabled::-moz-range-thumb{-webkit-appearance:none;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;background-color:#aaa;outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{background-color:#aaa;outline:none}.slideOption input[type=range]:disabled:hover::-moz-range-thumb{background-color:#404040;outline:none}.slideOption input[type=range]:disabled:hover::-webkit-slider-thumb{background-color:#404040;outline:none}#detailsArea{top:0;right:0;bottom:0;color:#bdc3c7;height:100%;width:22%;overflow-y:auto;overflow-x:hidden;position:fixed;border-left:1px solid #34495e}#detailsArea h1{border-bottom:1px solid #34495e;color:#ecf0f1;display:block;font-weight:100;font-size:1.5em;margin:0;padding:10px 0;text-align:center}#generalDetails{width:auto;box-sizing:border-box;height:100%}#generalDetails span #about{border-bottom:1px solid #34495e;display:block;padding:10px;text-align:center;word-wrap:break-word;color:#69c}#generalDetails h4{background:#1b252e;color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 0;text-align:center}#detailsArea #generalDetails h5{border-bottom:1px solid #34495e;font-size:.9em;font-weight:100;margin:0;padding:5px;text-align:center}#description{text-align:justify}.accordion-container p{font-size:.9em;line-height:1.3;margin:5px 10px}.statisticDetails span{padding:10px}.statisticDetails div,.statisticDetails span{font-weight:100;font-style:italic;margin:10px 0}.statisticDetails div{padding:0 10px;display:inline}#selection-details .propDetails a{color:#69c}#selection-details .propDetails>span{font-weight:100;font-style:italic;padding:0 10px}#selection-details #classEquivUri span,#selection-details #disjointNodes span{padding:0}#selection-details .propDetails div{font-weight:100;font-style:italic;margin:10px 0;padding:0 10px;display:inline}#selection-details .propDetails div span{padding:0}.subclass{fill:#ecf0f1}.accordion-trigger{background:#24323e;cursor:pointer;padding:.5em}.accordion-trigger.accordion-trigger-active:before{padding-right:4px;content:"\25BC"}.accordion-trigger:not(.accordion-trigger-active):before{padding-right:4px;content:"\25BA"}.accordion-container.scrollable{max-height:40%;overflow:auto}.small-whitespace-separator{height:3px}#language{background:transparent;border:1px solid #34495e;color:#ecf0f1}#language option{background-color:#24323e}.converter-form:not(:first-child){margin-top:5px}.converter-form label{display:inline-block;line-height:normal}.converter-form input{box-sizing:border-box;height:20px;width:74%;border:1px solid #34495e}.converter-form button{float:right;padding:0;width:25%;background-color:#ecf0f1}#file-converter-label,.converter-form button{cursor:pointer;height:20px;border:1px solid #34495e}#file-converter-label{box-sizing:border-box;width:74%}#killWarning{cursor:pointer;color:#fff;font-weight:700}#copyBt{box-sizing:border-box;height:20px;width:31%;border:1px solid #34495e}#sidebarExpandButton{height:24px;width:24px;box-sizing:border-box;top:10px;color:#000;float:right;position:absolute;right:0;border:1px solid #000;text-align:center;font-size:1.5em;cursor:pointer}.dropdownMenuClass{height:20px;float:right;border:1px solid #34495e;background-color:#34495e;color:#fff;text-align:left;width:auto}#typeEditForm_datatype{padding-top:5px}#typeEditor,#typeEditor_datatype{width:165px}#leftSideBarCollapseButton{box-sizing:border-box;top:50px;color:#000;position:absolute;left:200px;border:1px solid #000;cursor:pointer;width:24px;height:24px;font-size:1.5em;text-align:center}#leftSideBarCollapseButton:hover,#sidebarExpandButton:hover{background-color:#d90}.spanForCharSelection{padding-left:25px}.nodeEditSpan{color:#000;background-color:#fff;text-align:center;border:none;padding-top:6px}.nodeEditSpan:focus{outline:none;border:none}.foreignelements{border:none}.foreignelements:focus{outline:none;border:none}#leftSideBarContent{color:#000;float:left;position:absolute;left:0;background-color:#18202a;width:100%;height:100%}#leftSideBarContent>h3{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0 0 5px;padding:10px 0;text-align:left}#generalDetailsEdit{color:#ecf0f1}#generalDetailsEdit>div{padding:5px}#generalDetailsEdit>h3{font-size:1.1em;margin:0 0 5px;padding:10px 0}#generalDetailsEdit>h3,.subAccordion{color:#ecf0f1;display:block;font-weight:100;text-align:left}.subAccordion{font-size:.8em;margin:0;padding:5px}.boxed,.subAccordionDescription{padding:0 5px}.separatorLineRight{border-right:1px solid red}.editPrefixButton:hover{color:#ff972d;cursor:pointer}.editPrefixIcon:hover{stroke:#ff972d;stroke-width:1px;cursor:pointer}.editPrefixIcon{stroke:#fffff;stroke-width:1px;cursor:pointer}.deletePrefixButton:hover{color:#ff972d;cursor:pointer}.deletePrefixButton{color:red;cursor:pointer}.invisiblePrefixButton{cursor:default;color:#18202a}#containerForAddPrefixButton{width:100%;margin-top:5px}.roundedButton{border:1px solid #000;border-radius:20px;padding:0 5px;background:#fff;cursor:pointer;color:#000;outline:none}.roundedButton:hover{background:#318638;cursor:pointer;color:#fff;outline:none}#prefixURL_Description{padding:5px 0 0}.prefixIRIElements{display:inline-block;padding:3px;border-bottom:1px solid #34495e;width:100%}.prefixInput{width:30px;display:inline-block;margin-right:5px}.prefixURL{width:100px;display:inline-block;paddig-left:5px}.selectedDefaultElement{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;max-width:200px}#editHeader,#leftHeader{color:#ecf0f1;background-color:#394f5a;display:block;font-size:1.1em;font-weight:100;text-align:center}#leftHeader{padding:10px 0;margin:0}.containerForDefaultSelection{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 20px;text-align:left}.defaultSelected{color:#a15d05;background-color:#283943}.containerForDefaultSelection:hover{color:#f19505;background-color:#394f5a;display:block;cursor:pointer}#containerForLeftSideBar{top:50px;float:left;position:absolute;background-color:#1b252e;left:0;width:200px;height:200px;overflow-y:auto;overflow-x:hidden}#leftSideBar{width:100%;background-color:#18202a}#loading-info{box-sizing:border-box;position:absolute;text-align:center;width:100%;height:80%;top:0}#loading-info>div{display:inline-block;color:#fff;background-color:#18202a;border-bottom-left-radius:2px;border-bottom-right-radius:2px}#loading-info>*>*{padding:5px}#loading-info{pointer-events:none}#loading-progress{pointer-events:auto;min-width:220px;border-radius:10px}#show-loadingInfo-button{font-size:12px;color:#fff;cursor:pointer;text-align:center}#loadingIndicator_closeButton:hover{color:#ff972d;cursor:pointer}#loadingIndicator_closeButton{color:#ffe30f;cursor:pointer;padding-bottom:5px;float:right}.busyProgressBar{background-color:#000;height:25px;position:relative;animation:busy 2s linear infinite}@-webkit-keyframes busy{0%{left:0}50%{left:80%}to{left:0}}#bulletPoint_container{padding-left:15px;margin-top:0;margin-bottom:0}#bulletPoint_container>div{margin-left:-15px}#loadingInfo-container{box-sizing:border-box;text-align:left;line-height:1.2;padding-top:5px;overflow:auto;height:120px;min-height:40px;background-color:#3c3c3c}#error-description-button{margin:5px 0 0;font-size:12px;color:#69c;cursor:pointer;text-align:center}#error-description-container{box-sizing:border-box;text-align:left}#error-description-container pre{background-color:#34495e;padding:2px;margin:0;white-space:pre-wrap;max-height:calc(100vh - 125px);max-width:75vw;overflow:auto}.spin{display:inline-block;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.truncate{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.color-mode-switch{float:right;width:90px;cursor:pointer;height:20px;padding:0;border:0;color:#555;background-color:#eceeef;box-shadow:0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.color-mode-switch:focus{outline-width:0}.color-mode-switch.active{color:#fff;background-color:#32cd32;box-shadow:inset 0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.filterMenuButtonHighlight{background-color:#d90}@-webkit-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-moz-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-o-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}.buttonPulse{-webkit-animation-name:buttonAnimation;-moz-animation-name:buttonAnimation;-o-animation-name:buttonAnimation;animation-name:buttonAnimation;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s;-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}#m_about{max-width:200px;width:200px;position:absolute}#m_modes{max-width:160px;width:160px;position:absolute}#m_filter{max-width:170px;width:170px;position:absolute}#m_gravity{max-width:180px;width:180px;position:absolute}#m_export{max-width:160px;width:160px;position:absolute}#exportedUrl{width:100px}#m_select{max-width:300px;width:300px;position:absolute}#m_config{max-width:240px;width:240px;position:absolute}#m_search{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#swipeBarContainer{position:fixed;width:77.8%;height:40px;margin:0;padding:0;bottom:0}#menuElementContainer{margin:0;padding:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;text-align:right;list-style-type:none}#menuElementContainer>li{display:inline-block;box-sizing:border-box;text-align:left;position:relative;height:40px;font-size:14px;color:#fff;padding:12px 0 0;margin-left:-4px}#menuElementContainer>li>a{color:#fff;padding:9px 12px 12px 30px}.menuElementSvgElement{height:20px;width:20px;display:block;position:absolute;top:10px;left:8px}.btn_shadowed{background-color:#fefefe;box-shadow:1px 1px 1px gray}.reloadCachedOntologyIcon{height:20px;width:108px;display:block;position:absolute;top:20px;left:3px;border:1px solid #000;border-radius:10px;cursor:pointer}.reloadCachedOntologyIcon:disabled{background:#f4f4f4;cursor:auto;border:1px solid #a9a9a9}.reloadCachedOntologyIcon:hover{background:#d90;cursor:pointer}.disabledReloadElement{cursor:auto;background:#f4f4f4;pointer-events:auto;border:1px solid #a9a9a9;color:#bbb}.disabledReloadElement:hover{cursor:auto;background:#eee;pointer-events:auto}#menuElementContainer>li>input{color:#000;padding:.1em .3em .1em 1.5em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:120px}#menuElementContainer>li>a:hover{box-sizing:border-box;background:#1b252e;color:#bdc3c7}#empty:hover{box-sizing:border-box;background:#e1e1e1;color:#2980b9}#empty.disabled,.disabled{pointer-events:none;cursor:default;color:#979797}.toolTipMenu{-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;background-color:#fff;border:1px solid rgba(0,0,0,.15);border-bottom:none;border-radius:4px 4px 0 0;bottom:0;display:none;font-size:14px;list-style:none;margin:0;padding:0;white-space:normal;position:absolute;z-index:99}.toolTipMenu>li:first-of-type{border:none}.toolTipMenu a{color:#2980b9}.toolTipMenu>li{border-top:1px solid #bdc3c7}.toolTipMenu li{color:#2980b9;display:block}#menuElementContainer>li:hover .toolTipMenu{display:block}#menuElementContainer li>ul.toolTipMenu li a:hover{background:#e1e1e1}#scrollLeftButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;left:0}#scrollLeftButton:focus{outline:none}#scrollLeftButton:before{content:"<"}#scrollRightButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;right:0}#scrollRightButton:focus{outline:none}#scrollLeftButton:hover,#scrollRightButton:hover{color:#bdc3c7}#scrollRightButton:before{content:">"}#centerGraphButton,#zoomInButton,#zoomOutButton{border:1px solid #000;text-align:center;margin:-1px 0 0;font-size:1.5em;padding:0;height:28px}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#zoomOutButton{line-height:22px}#centerGraphButton,#zoomInButton{line-height:25px}#zoomSlider>p:hover{background-color:#d90}#zoomSliderParagraph{color:#000;padding-top:5px;margin:-1px 0 0;border:1px solid #000;height:150px}p#zoomSliderParagraph:hover{background-color:#fff}#zoomSlider{width:28px;margin-top:-2px;padding:0;font-size:1.5em;cursor:pointer;position:absolute;right:20px;bottom:20px;color:#000;box-sizing:border-box}#menuElementContainer>li>a:before{font-size:1em;margin:0;padding:0 6px 0 0}#menuElementContainer a.highlighted{background-color:#d90} + /*!*padding: 0 0.2em;*!*/.inner-addon{position:relative}.gearIcon,.searchIcon{position:absolute;width:17px;height:17px;pointer-events:none}.gearIcon{left:-5px} + /*!*padding: 0 0.2em;*!*/ + /*!*color: black;*!*/ + /*!*content: "\2315";*!*/ + /*!*content: "\2315" or "\1F50D"*!;*/li#c_search{padding:0 5px;margin-left:5px;height:20px}li#c_locate{padding:0}#c_locate>a{font-size:2em;padding:0}a#pause-button{padding:12px}a#pause-button.paused:before{content:"\25BA"}a#pause-button.paused:hover{background-color:#d90;color:#fff}a#pause-button:not(.paused):before{content:"II"}.toolTipMenu li:hover{background-color:#e1e1e1}#emptyLiHover,#emptyLiHover:hover{background-color:#fff}.toggleOption li:hover{background-color:#e1e1e1}.toggleOption{padding:8px 5px}#converter-option:hover{background-color:#fff}.option,.toolTipMenu li a:only-child{display:block;float:none;padding:8px 5px}.customLocate{padding:0;background-color:#32cd32}a#locateSearchResult{padding-top:50px}#zoomSliderElement{color:#000;position:relative;padding-top:0;width:155px;height:24px;background-color:transparent;-webkit-transform-origin-x:73px;-webkit-transform-origin-y:73px;-webkit-transform:rotate(-90deg);-moz-transform-origin:73px 73px;transform:rotate(-90deg);transform-origin:73px 73px;-webkit-appearance:none;outline:none;margin:4px 0}#zoomSliderElement::-webkit-scrollbar{height:0}#zoomSliderElement:hover{cursor:crosshair}#zoomSliderElement::-webkit-slider-runnable-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-moz-range-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-webkit-slider-thumb{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#fff;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb{background:#fff}#zoomSliderElement::-ms-thumb,#zoomSliderElement::-ms-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb:hover{background:#d90}#zoomSliderElement::-webkit-slider-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#d90;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-moz-range-thumb,#zoomSliderElement::-moz-range-thumb:hover{border:1px solid #000;height:10px;width:30px;border-radius:3px;cursor:pointer;outline:none}#zoomSliderElement::-moz-range-thumb:hover{background:#d90}#zoomSliderElement::-moz-focus-outer{border:0}#locateSearchResult:focus{outline:none}a#locateSearchResult.highlighted:hover{background-color:#d90;color:red}a#locateSearchResult{outline:none;padding-bottom:0;padding-top:0;position:relative;top:5px}#editorHint{padding:5px;position:absolute;text-align:center;width:100%;pointer-events:none}#editorHint label{pointer-events:auto;float:right;padding:5px;color:#fd0}#editorHint label:hover{text-decoration:underline;cursor:pointer}#editorHint>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:5px}#WarningErrorMessagesContainer{position:absolute;text-align:center;top:0;pointer-events:none}#WarningErrorMessages{position:relative;width:50%;pointer-events:auto;margin:10px 0;padding-right:12px;overflow-y:auto;overflow-x:hidden}#WarningErrorMessages label{color:#fd0}#WarningErrorMessages label,#WarningErrorMessages span{pointer-events:auto;float:right;padding:5px}#WarningErrorMessages label:hover{text-decoration:underline;cursor:pointer}#WarningErrorMessages>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:10px;border:1px solid #ecf0f1;width:70%}#WarningErrorMessagesContent>ul{-webkit-padding-start:20px;padding:0 16px}#WarningErrorMessagesContent>ul>li{padding:5px}.textLineEditWithLabel{display:inline-block;width:100%;border-bottom:1px solid #34495e;padding:2px 0}.converter-form-Editor label{line-height:normal}.descriptionTextClass,.prefixIRIElements input{background-color:#34495e;color:#fff}.prefixIRIElements input{border:1px solid #34495e}.prefixIRIElements input:disabled{background-color:#18202a;border:1px solid #18202a;color:#fff}.converter-form-Editor input{float:right;border:1px solid #34495e;background-color:#34495e;color:#fff}.converter-form-Editor input:disabled{background-color:#545350;border:1px solid #34495e;color:#939798}.disabledLabelForSlider{color:gray} \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.1.0/webvowl/css/webvowl.css b/dist/vocabulary/mapping/0.1.0/webvowl/css/webvowl.css new file mode 100644 index 0000000..335ea85 --- /dev/null +++ b/dist/vocabulary/mapping/0.1.0/webvowl/css/webvowl.css @@ -0,0 +1 @@ +.text{font-family:Helvetica,Arial,sans-serif;font-size:12px}.subtext{font-size:9px}.text.instance-count{fill:#666}.external+text .instance-count{fill:#aaa}.cardinality{font-size:10px}.embedded,.text{pointer-events:none}.allvaluesfromproperty,.class,.disjoint,.disjointwith,.equivalentproperty,.functionalproperty,.inversefunctionalproperty,.object,.objectproperty,.somevaluesfromproperty,.symmetricproperty,.transitiveproperty{fill:#acf}.datatypeproperty,.label .datatype{fill:#9c6}.rdf,.rdfproperty{fill:#c9c}.literal,.node .datatype{fill:#fc3}.deprecated,.deprecatedproperty{fill:#ccc}.nofill,path{fill:none}marker path{fill:#000}.class,.fineline,line,path{stroke:#000}.external+text,.subclass,.subclassproperty,.white{fill:#fff}.cardinality.focused,.cardinality.hovered,.class.hovered,.filled.focused,.filled.hovered,.hoveredForEditing,.property.hovered,.values-from.filled.hovered{fill:red!important;cursor:pointer}.feature{fill:red;cursor:pointer}@-webkit-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-moz-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-o-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}.searchResultA{-webkit-animation-name:pulseAnimation;-moz-animation-name:pulseAnimation;-o-animation-name:pulseAnimation;animation-name:pulseAnimation;-webkit-animation-duration:.8s;-moz-animation-duration:.8s;-o-animation-duration:.8s;animation-duration:.8s;-webkit-transform:translateZ(0);-o-transform:translateZ(0);-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}.searchResultA,.searchResultB{fill:none;stroke-width:5;stroke:red}.hovered-MathSymbol{fill:none}.focused,.hovered-MathSymbol,path.hovered{stroke:red!important}.feature:hover,.feature_hover,.indirect-highlighting{fill:#f90;cursor:pointer}.values-from{stroke:#69c}.symbol,.values-from.filled{fill:#69c}.class,line,path{stroke-width:2}.fineline{stroke-width:1}.anonymous,.dashed{stroke-dasharray:8}.dotted{stroke-dasharray:3}circle.focused,rect.focused{stroke-width:4px}.nostroke{stroke:none}.addDataPropertyElement{fill:#9c6!important;cursor:pointer;stroke-width:2;stroke:#000}.addDataPropertyElement:hover{fill:#f90!important;cursor:pointer;stroke-width:2;stroke:#000}.superHiddenElement{fill:rgba(255,153,0,.4);cursor:pointer;stroke-width:0;stroke:#000}.superOpacityElement{opacity:0}.deleteParentElement:hover{fill:#f90;cursor:pointer;stroke-width:2;stroke:#000}.deleteParentElement{fill:red;cursor:pointer;stroke-width:2;stroke:#000}.classDraggerNodeHovered,.classNodeDragPath{stroke:#000;stroke-width:2px}.classDraggerNodeHovered{fill:#f90;cursor:pointer}.classDraggerNode{fill:#acf;stroke:#000;stroke-width:2px}marker path{stroke-dasharray:100} \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.1.0/webvowl/data/foaf.json b/dist/vocabulary/mapping/0.1.0/webvowl/data/foaf.json new file mode 100644 index 0000000..beaaffc --- /dev/null +++ b/dist/vocabulary/mapping/0.1.0/webvowl/data/foaf.json @@ -0,0 +1,2894 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.6), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "undefined" ], + "baseIris" : [ "http://schema.org", "http://www.w3.org/2000/01/rdf-schema", "http://www.w3.org/2003/01/geo/wgs84_pos", "http://purl.org/dc/terms", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "http://www.w3.org/2000/10/swap/pim/contact", "http://www.w3.org/2004/02/skos/core" ], + "prefixList" : { + "owl" : "http://www.w3.org/2002/07/owl#", + "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "wot" : "http://xmlns.com/wot/0.1/", + "xsd" : "http://www.w3.org/2001/XMLSchema#", + "dc" : "http://purl.org/dc/elements/1.1/", + "xml" : "http://www.w3.org/XML/1998/namespace", + "vs" : "http://www.w3.org/2003/06/sw-vocab-status/ns#", + "foaf" : "http://xmlns.com/foaf/0.1/", + "rdfs" : "http://www.w3.org/2000/01/rdf-schema#" + }, + "title" : { + "undefined" : "Friend of a Friend (FOAF) vocabulary" + }, + "iri" : "http://xmlns.com/foaf/0.1/", + "description" : { + "undefined" : "The Friend of a Friend (FOAF) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language." + }, + "other" : { + "title" : [ { + "identifier" : "title", + "language" : "undefined", + "value" : "Friend of a Friend (FOAF) vocabulary", + "type" : "label" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "3", + "type" : "owl:Thing" + }, { + "id" : "9", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:equivalentClass" + }, { + "id" : "18", + "type" : "owl:Thing" + }, { + "id" : "19", + "type" : "owl:Thing" + }, { + "id" : "5", + "type" : "owl:Thing" + }, { + "id" : "20", + "type" : "rdfs:Literal" + }, { + "id" : "8", + "type" : "rdfs:Literal" + }, { + "id" : "11", + "type" : "owl:Class" + }, { + "id" : "21", + "type" : "owl:Thing" + }, { + "id" : "22", + "type" : "rdfs:Literal" + }, { + "id" : "24", + "type" : "rdfs:Literal" + }, { + "id" : "26", + "type" : "rdfs:Literal" + }, { + "id" : "27", + "type" : "rdfs:Literal" + }, { + "id" : "37", + "type" : "owl:equivalentClass" + }, { + "id" : "45", + "type" : "rdfs:Literal" + }, { + "id" : "46", + "type" : "rdfs:Literal" + }, { + "id" : "53", + "type" : "rdfs:Literal" + }, { + "id" : "56", + "type" : "rdfs:Literal" + }, { + "id" : "59", + "type" : "rdfs:Literal" + }, { + "id" : "60", + "type" : "owl:Class" + }, { + "id" : "61", + "type" : "rdfs:Literal" + }, { + "id" : "6", + "type" : "rdfs:Literal" + }, { + "id" : "62", + "type" : "rdfs:Literal" + }, { + "id" : "12", + "type" : "owl:equivalentClass" + }, { + "id" : "55", + "type" : "rdfs:Literal" + }, { + "id" : "69", + "type" : "rdfs:Literal" + }, { + "id" : "71", + "type" : "owl:Class" + }, { + "id" : "36", + "type" : "owl:Class" + }, { + "id" : "86", + "type" : "owl:Class" + }, { + "id" : "83", + "type" : "owl:Class" + }, { + "id" : "94", + "type" : "owl:Class" + }, { + "id" : "73", + "type" : "rdfs:Literal" + }, { + "id" : "68", + "type" : "rdfs:Literal" + }, { + "id" : "93", + "type" : "rdfs:Literal" + }, { + "id" : "33", + "type" : "owl:Thing" + }, { + "id" : "49", + "type" : "rdfs:Literal" + }, { + "id" : "29", + "type" : "owl:Thing" + }, { + "id" : "101", + "type" : "rdfs:Literal" + }, { + "id" : "39", + "type" : "owl:Thing" + }, { + "id" : "63", + "type" : "owl:equivalentClass" + }, { + "id" : "64", + "type" : "owl:equivalentClass" + }, { + "id" : "102", + "type" : "owl:equivalentClass" + }, { + "id" : "78", + "type" : "owl:Class" + }, { + "id" : "77", + "type" : "owl:Class" + }, { + "id" : "13", + "type" : "owl:equivalentClass" + }, { + "id" : "58", + "type" : "rdfs:Literal" + }, { + "id" : "100", + "type" : "rdfs:Literal" + }, { + "id" : "106", + "type" : "rdfs:Literal" + }, { + "id" : "52", + "type" : "rdfs:Literal" + }, { + "id" : "88", + "type" : "rdfs:Literal" + }, { + "id" : "118", + "type" : "rdfs:Literal" + }, { + "id" : "126", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:equivalentClass" + }, { + "id" : "32", + "type" : "owl:equivalentClass" + }, { + "id" : "10", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "3", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2004/02/skos/core#Concept", + "baseIri" : "http://www.w3.org/2004/02/skos/core", + "instances" : 0, + "label" : { + "IRI-based" : "Concept", + "undefined" : "Concept" + }, + "attributes" : [ "external" ], + "id" : "9" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Agent", + "equivalent" : [ "13" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Agent", + "undefined" : "Agent" + }, + "subClasses" : [ "10", "11", "12" ], + "comment" : { + "undefined" : "An agent (eg. person, group, software or physical artifact)." + }, + "attributes" : [ "equivalent" ], + "id" : "1" + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "18", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "19", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "5", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "20", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "8", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Organization", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Organization", + "undefined" : "Organization" + }, + "comment" : { + "undefined" : "An organization." + }, + "id" : "11", + "superClasses" : [ "1" ] + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "21", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "22", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "24", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "26", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "27", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://schema.org/CreativeWork", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "CreativeWork" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "37" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "45", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "46", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "53", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "56", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "59", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Project", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Project", + "undefined" : "Project" + }, + "comment" : { + "undefined" : "A project (a collective endeavour of some kind)." + }, + "id" : "60" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "61", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "6", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "62", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "equivalent" : [ "63", "64" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Person", + "undefined" : "Person" + }, + "comment" : { + "undefined" : "A person." + }, + "attributes" : [ "equivalent" ], + "id" : "12", + "superClasses" : [ "1", "36" ] + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "55", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "69", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/PersonalProfileDocument", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "PersonalProfileDocument", + "undefined" : "PersonalProfileDocument" + }, + "comment" : { + "undefined" : "A personal profile RDF document." + }, + "id" : "71", + "superClasses" : [ "2" ] + }, { + "iri" : "http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing", + "baseIri" : "http://www.w3.org/2003/01/geo/wgs84_pos", + "instances" : 0, + "label" : { + "IRI-based" : "SpatialThing", + "undefined" : "Spatial Thing" + }, + "subClasses" : [ "12" ], + "attributes" : [ "external" ], + "id" : "36" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineChatAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineChatAccount", + "undefined" : "Online Chat Account" + }, + "comment" : { + "undefined" : "An online chat account." + }, + "id" : "86", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineGamingAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineGamingAccount", + "undefined" : "Online Gaming Account" + }, + "comment" : { + "undefined" : "An online gaming account." + }, + "id" : "83", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/LabelProperty", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "LabelProperty", + "undefined" : "Label Property" + }, + "comment" : { + "undefined" : "A foaf:LabelProperty is any RDF property with texual values that serve as labels." + }, + "id" : "94" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "73", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "68", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "93", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "33", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "49", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "29", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "101", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "39", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/10/swap/pim/contact#Person", + "baseIri" : "http://www.w3.org/2000/10/swap/pim/contact", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "63" + }, { + "iri" : "http://schema.org/Person", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "64" + }, { + "iri" : "http://schema.org/ImageObject", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "ImageObject" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "102" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineAccount", + "undefined" : "Online Account" + }, + "subClasses" : [ "77", "86", "83" ], + "comment" : { + "undefined" : "An online account." + }, + "id" : "78" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineEcommerceAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineEcommerceAccount", + "undefined" : "Online E-commerce Account" + }, + "comment" : { + "undefined" : "An online e-commerce account." + }, + "id" : "77", + "superClasses" : [ "78" ] + }, { + "iri" : "http://purl.org/dc/terms/Agent", + "baseIri" : "http://purl.org/dc/terms", + "instances" : 0, + "label" : { + "IRI-based" : "Agent" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "13" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "58", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "100", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "106", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "52", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "88", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "118", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Class", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "instances" : 0, + "label" : { + "IRI-based" : "Class" + }, + "attributes" : [ "external" ], + "id" : "126" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Document", + "equivalent" : [ "37" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Document", + "undefined" : "Document" + }, + "subClasses" : [ "71", "32" ], + "comment" : { + "undefined" : "A document." + }, + "attributes" : [ "equivalent" ], + "id" : "2" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Image", + "equivalent" : [ "102" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Image", + "undefined" : "Image" + }, + "comment" : { + "undefined" : "An image." + }, + "attributes" : [ "equivalent" ], + "id" : "32", + "superClasses" : [ "2" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/Group", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Group", + "undefined" : "Group" + }, + "comment" : { + "undefined" : "A class of Agents." + }, + "id" : "10", + "superClasses" : [ "1" ] + } ], + "property" : [ { + "id" : "0", + "type" : "owl:objectProperty" + }, { + "id" : "4", + "type" : "owl:datatypeProperty" + }, { + "id" : "7", + "type" : "owl:datatypeProperty" + }, { + "id" : "14", + "type" : "owl:objectProperty" + }, { + "id" : "16", + "type" : "owl:objectProperty" + }, { + "id" : "17", + "type" : "owl:objectProperty" + }, { + "id" : "23", + "type" : "owl:objectProperty" + }, { + "id" : "25", + "type" : "owl:objectProperty" + }, { + "id" : "28", + "type" : "owl:objectProperty" + }, { + "id" : "30", + "type" : "owl:objectProperty" + }, { + "id" : "31", + "type" : "owl:objectProperty" + }, { + "id" : "35", + "type" : "owl:objectProperty" + }, { + "id" : "38", + "type" : "owl:objectProperty" + }, { + "id" : "44", + "type" : "owl:datatypeProperty" + }, { + "id" : "47", + "type" : "owl:objectProperty" + }, { + "id" : "48", + "type" : "owl:datatypeProperty" + }, { + "id" : "50", + "type" : "owl:objectProperty" + }, { + "id" : "51", + "type" : "owl:datatypeProperty" + }, { + "id" : "54", + "type" : "owl:datatypeProperty" + }, { + "id" : "57", + "type" : "owl:datatypeProperty" + }, { + "id" : "65", + "type" : "owl:datatypeProperty" + }, { + "id" : "66", + "type" : "owl:datatypeProperty" + }, { + "id" : "67", + "type" : "owl:datatypeProperty" + }, { + "id" : "70", + "type" : "owl:datatypeProperty" + }, { + "id" : "72", + "type" : "owl:datatypeProperty" + }, { + "id" : "15", + "type" : "owl:objectProperty" + }, { + "id" : "74", + "type" : "rdfs:SubClassOf" + }, { + "id" : "75", + "type" : "rdfs:SubClassOf" + }, { + "id" : "76", + "type" : "rdfs:SubClassOf" + }, { + "id" : "79", + "type" : "rdfs:SubClassOf" + }, { + "id" : "80", + "type" : "owl:objectProperty" + }, { + "id" : "81", + "type" : "owl:objectProperty" + }, { + "id" : "82", + "type" : "rdfs:SubClassOf" + }, { + "id" : "34", + "type" : "owl:objectProperty" + }, { + "id" : "85", + "type" : "rdfs:SubClassOf" + }, { + "id" : "87", + "type" : "owl:datatypeProperty" + }, { + "id" : "89", + "type" : "rdfs:SubClassOf" + }, { + "id" : "90", + "type" : "rdfs:SubClassOf" + }, { + "id" : "91", + "type" : "owl:objectProperty" + }, { + "id" : "92", + "type" : "owl:datatypeProperty" + }, { + "id" : "95", + "type" : "owl:datatypeProperty" + }, { + "id" : "96", + "type" : "owl:objectProperty" + }, { + "id" : "97", + "type" : "owl:datatypeProperty" + }, { + "id" : "98", + "type" : "rdfs:SubClassOf" + }, { + "id" : "99", + "type" : "owl:datatypeProperty" + }, { + "id" : "43", + "type" : "owl:objectProperty" + }, { + "id" : "42", + "type" : "owl:objectProperty" + }, { + "id" : "103", + "type" : "owl:datatypeProperty" + }, { + "id" : "104", + "type" : "owl:objectProperty" + }, { + "id" : "105", + "type" : "owl:datatypeProperty" + }, { + "id" : "107", + "type" : "owl:objectProperty" + }, { + "id" : "108", + "type" : "owl:datatypeProperty" + }, { + "id" : "109", + "type" : "owl:objectProperty" + }, { + "id" : "110", + "type" : "owl:objectProperty" + }, { + "id" : "40", + "type" : "owl:objectProperty" + }, { + "id" : "41", + "type" : "owl:objectProperty" + }, { + "id" : "84", + "type" : "owl:objectProperty" + }, { + "id" : "111", + "type" : "owl:datatypeProperty" + }, { + "id" : "112", + "type" : "owl:datatypeProperty" + }, { + "id" : "113", + "type" : "owl:datatypeProperty" + }, { + "id" : "114", + "type" : "owl:objectProperty" + }, { + "id" : "116", + "type" : "owl:disjointWith" + }, { + "id" : "117", + "type" : "owl:disjointWith" + }, { + "id" : "119", + "type" : "owl:datatypeProperty" + }, { + "id" : "120", + "type" : "owl:disjointWith" + }, { + "id" : "121", + "type" : "owl:disjointWith" + }, { + "id" : "122", + "type" : "owl:objectProperty" + }, { + "id" : "123", + "type" : "owl:datatypeProperty" + }, { + "id" : "124", + "type" : "owl:objectProperty" + }, { + "id" : "125", + "type" : "owl:datatypeProperty" + }, { + "id" : "127", + "type" : "owl:datatypeProperty" + }, { + "id" : "115", + "type" : "owl:objectProperty" + }, { + "id" : "128", + "type" : "owl:objectProperty" + }, { + "id" : "129", + "type" : "owl:objectProperty" + } ], + "propertyAttribute" : [ { + "iri" : "http://xmlns.com/foaf/0.1/interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "interest", + "undefined" : "interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A page about a topic of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "0" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox_sha1sum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "6", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox_sha1sum", + "undefined" : "sha1sum of a personal mailbox URI name" + }, + "domain" : "5", + "comment" : { + "undefined" : "The sha1sum of the URI of an Internet mailbox associated with exactly one owner, the first owner of the mailbox." + }, + "attributes" : [ "datatype" ], + "id" : "4" + }, { + "iri" : "http://xmlns.com/foaf/0.1/nick", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "8", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "nick", + "undefined" : "nickname" + }, + "domain" : "5", + "comment" : { + "undefined" : "A short informal nickname characterising an agent (includes login identifiers, IRC and other chat nicknames)." + }, + "attributes" : [ "datatype" ], + "id" : "7" + }, { + "iri" : "http://xmlns.com/foaf/0.1/openid", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "openid", + "undefined" : "openid" + }, + "superproperty" : [ "15" ], + "domain" : "1", + "comment" : { + "undefined" : "An OpenID for an Agent." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "14" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workInfoHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workInfoHomepage", + "undefined" : "work info homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A work info homepage of some person; a page about their work for some organization." + }, + "attributes" : [ "object" ], + "id" : "16" + }, { + "iri" : "http://xmlns.com/foaf/0.1/pastProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "pastProject", + "undefined" : "past project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A project this person has previously worked on." + }, + "attributes" : [ "object" ], + "id" : "17" + }, { + "iri" : "http://xmlns.com/foaf/0.1/theme", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "theme", + "undefined" : "theme" + }, + "domain" : "19", + "comment" : { + "undefined" : "A theme." + }, + "attributes" : [ "object" ], + "id" : "23" + }, { + "iri" : "http://xmlns.com/foaf/0.1/knows", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "12", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "knows", + "undefined" : "knows" + }, + "domain" : "12", + "comment" : { + "undefined" : "A person known by this person (indicating some level of reciprocated interaction between the parties)." + }, + "attributes" : [ "object" ], + "id" : "25" + }, { + "iri" : "http://xmlns.com/foaf/0.1/focus", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "29", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "focus", + "undefined" : "focus" + }, + "domain" : "9", + "comment" : { + "undefined" : "The underlying or 'focal' entity associated with some SKOS-described concept." + }, + "attributes" : [ "object" ], + "id" : "28" + }, { + "iri" : "http://xmlns.com/foaf/0.1/phone", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "phone", + "undefined" : "phone" + }, + "domain" : "19", + "comment" : { + "undefined" : "A phone, specified using fully qualified tel: URI scheme (refs: http://www.w3.org/Addressing/schemes.html#tel)." + }, + "attributes" : [ "object" ], + "id" : "30" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depicts", + "inverse" : "34", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "33", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depicts", + "undefined" : "depicts" + }, + "domain" : "32", + "comment" : { + "undefined" : "A thing depicted in this representation." + }, + "attributes" : [ "object" ], + "id" : "31" + }, { + "iri" : "http://xmlns.com/foaf/0.1/based_near", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "36", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "based_near", + "undefined" : "based near" + }, + "domain" : "36", + "comment" : { + "undefined" : "A location that something is based near, for some broadly human notion of near." + }, + "attributes" : [ "object" ], + "id" : "35" + }, { + "iri" : "http://xmlns.com/foaf/0.1/page", + "inverse" : "40", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "page", + "undefined" : "page" + }, + "domain" : "39", + "subproperty" : [ "15", "41", "42", "43" ], + "comment" : { + "undefined" : "A page or document about this thing." + }, + "attributes" : [ "object" ], + "id" : "38" + }, { + "iri" : "http://xmlns.com/foaf/0.1/geekcode", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "26", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "geekcode", + "undefined" : "geekcode" + }, + "domain" : "12", + "comment" : { + "undefined" : "A textual geekcode for this person, see http://www.geekcode.com/geek.html" + }, + "attributes" : [ "datatype" ], + "id" : "44" + }, { + "iri" : "http://xmlns.com/foaf/0.1/primaryTopic", + "inverse" : "15", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "primaryTopic", + "undefined" : "primary topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "The primary topic of some page or document." + }, + "attributes" : [ "object", "functional" ], + "id" : "47" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "49", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenName", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "48" + }, { + "iri" : "http://xmlns.com/foaf/0.1/schoolHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "schoolHomepage", + "undefined" : "schoolHomepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A homepage of a school attended by the person." + }, + "attributes" : [ "object" ], + "id" : "50" + }, { + "iri" : "http://xmlns.com/foaf/0.1/gender", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "52", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "gender", + "undefined" : "gender" + }, + "domain" : "1", + "comment" : { + "undefined" : "The gender of this Agent (typically but not necessarily 'male' or 'female')." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "51" + }, { + "iri" : "http://xmlns.com/foaf/0.1/dnaChecksum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "55", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "dnaChecksum", + "undefined" : "DNA checksum" + }, + "domain" : "19", + "comment" : { + "undefined" : "A checksum for the DNA of some thing. Joke." + }, + "attributes" : [ "datatype" ], + "id" : "54" + }, { + "iri" : "http://xmlns.com/foaf/0.1/lastName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "58", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "lastName", + "undefined" : "lastName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The last name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "57" + }, { + "iri" : "http://xmlns.com/foaf/0.1/status", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "45", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "status", + "undefined" : "status" + }, + "domain" : "1", + "comment" : { + "undefined" : "A string expressing what the user is happy for the general public (normally) to know about their current activity." + }, + "attributes" : [ "datatype" ], + "id" : "65" + }, { + "iri" : "http://xmlns.com/foaf/0.1/yahooChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "46", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "yahooChatID", + "undefined" : "Yahoo chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A Yahoo chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "66" + }, { + "iri" : "http://xmlns.com/foaf/0.1/name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "68", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "name", + "undefined" : "name" + }, + "domain" : "19", + "comment" : { + "undefined" : "A name for some thing." + }, + "attributes" : [ "datatype" ], + "id" : "67" + }, { + "iri" : "http://xmlns.com/foaf/0.1/icqChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "53", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "icqChatID", + "undefined" : "ICQ chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An ICQ chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "70" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "73", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenname", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "72" + }, { + "iri" : "http://xmlns.com/foaf/0.1/isPrimaryTopicOf", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "isPrimaryTopicOf", + "undefined" : "is primary topic of" + }, + "superproperty" : [ "38" ], + "domain" : "39", + "subproperty" : [ "14", "43" ], + "comment" : { + "undefined" : "A document that this thing is the primary topic of." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "15" + }, { + "range" : "2", + "domain" : "32", + "attributes" : [ "anonymous", "object" ], + "id" : "74" + }, { + "range" : "2", + "domain" : "71", + "attributes" : [ "anonymous", "object" ], + "id" : "75" + }, { + "range" : "78", + "domain" : "77", + "attributes" : [ "anonymous", "object" ], + "id" : "76" + }, { + "range" : "36", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "79" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountServiceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountServiceHomepage", + "undefined" : "account service homepage" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates a homepage of the service provide for this online account." + }, + "attributes" : [ "object" ], + "id" : "80" + }, { + "iri" : "http://xmlns.com/foaf/0.1/logo", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "logo", + "undefined" : "logo" + }, + "domain" : "19", + "comment" : { + "undefined" : "A logo representing some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "81" + }, { + "range" : "78", + "domain" : "83", + "attributes" : [ "anonymous", "object" ], + "id" : "82" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depiction", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depiction", + "undefined" : "depiction" + }, + "domain" : "33", + "subproperty" : [ "84" ], + "comment" : { + "undefined" : "A depiction of some thing." + }, + "attributes" : [ "object" ], + "id" : "34" + }, { + "range" : "78", + "domain" : "86", + "attributes" : [ "anonymous", "object" ], + "id" : "85" + }, { + "iri" : "http://xmlns.com/foaf/0.1/family_name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "88", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "family_name", + "undefined" : "family_name" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "87" + }, { + "range" : "1", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "89" + }, { + "range" : "1", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "90" + }, { + "iri" : "http://xmlns.com/foaf/0.1/fundedBy", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "fundedBy", + "undefined" : "funded by" + }, + "domain" : "19", + "comment" : { + "undefined" : "An organization funding a project or person." + }, + "attributes" : [ "object" ], + "id" : "91" + }, { + "iri" : "http://xmlns.com/foaf/0.1/title", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "93", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "title", + "undefined" : "title" + }, + "domain" : "19", + "comment" : { + "undefined" : "Title (Mr, Mrs, Ms, Dr. etc)" + }, + "attributes" : [ "datatype" ], + "id" : "92" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "59", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountName", + "undefined" : "account name" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates the name (identifier) associated with this online account." + }, + "attributes" : [ "datatype" ], + "id" : "95" + }, { + "iri" : "http://xmlns.com/foaf/0.1/account", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "account", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "96" + }, { + "iri" : "http://xmlns.com/foaf/0.1/jabberID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "69", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "jabberID", + "undefined" : "jabber ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A jabber ID for something." + }, + "attributes" : [ "datatype" ], + "id" : "97" + }, { + "range" : "1", + "domain" : "10", + "attributes" : [ "anonymous", "object" ], + "id" : "98" + }, { + "iri" : "http://xmlns.com/foaf/0.1/age", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "100", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "age", + "undefined" : "age" + }, + "domain" : "1", + "comment" : { + "undefined" : "The age in years of some agent." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "99" + }, { + "iri" : "http://xmlns.com/foaf/0.1/homepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "homepage", + "undefined" : "homepage" + }, + "superproperty" : [ "15", "38" ], + "domain" : "39", + "comment" : { + "undefined" : "A homepage for some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "43" + }, { + "iri" : "http://xmlns.com/foaf/0.1/tipjar", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "tipjar", + "undefined" : "tipjar" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A tipjar document for this agent, describing means for payment and reward." + }, + "attributes" : [ "object" ], + "id" : "42" + }, { + "iri" : "http://xmlns.com/foaf/0.1/msnChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "61", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "msnChatID", + "undefined" : "MSN chat ID" + }, + "domain" : "5", + "comment" : { + "undefined" : "An MSN chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "103" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic_interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic_interest", + "undefined" : "topic_interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A thing of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "104" + }, { + "iri" : "http://xmlns.com/foaf/0.1/aimChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "106", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "aimChatID", + "undefined" : "AIM chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An AIM chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "105" + }, { + "iri" : "http://xmlns.com/foaf/0.1/currentProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "currentProject", + "undefined" : "current project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A current project this person works on." + }, + "attributes" : [ "object" ], + "id" : "107" + }, { + "iri" : "http://xmlns.com/foaf/0.1/skypeID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "20", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "skypeID", + "undefined" : "Skype ID" + }, + "domain" : "1", + "comment" : { + "undefined" : "A Skype ID" + }, + "attributes" : [ "datatype" ], + "id" : "108" + }, { + "iri" : "http://xmlns.com/foaf/0.1/holdsAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "holdsAccount", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "109" + }, { + "iri" : "http://xmlns.com/foaf/0.1/thumbnail", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "thumbnail", + "undefined" : "thumbnail" + }, + "domain" : "32", + "comment" : { + "undefined" : "A derived thumbnail image." + }, + "attributes" : [ "object" ], + "id" : "110" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic", + "undefined" : "topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "A topic of some page or document." + }, + "attributes" : [ "object" ], + "id" : "40" + }, { + "iri" : "http://xmlns.com/foaf/0.1/weblog", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "weblog", + "undefined" : "weblog" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A weblog of some thing (whether person, group, company etc.)." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "41" + }, { + "iri" : "http://xmlns.com/foaf/0.1/img", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "img", + "undefined" : "image" + }, + "superproperty" : [ "34" ], + "domain" : "12", + "comment" : { + "undefined" : "An image that can be used to represent some thing (ie. those depictions which are particularly representative of something, eg. one's photo on a homepage)." + }, + "attributes" : [ "object" ], + "id" : "84" + }, { + "iri" : "http://xmlns.com/foaf/0.1/birthday", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "56", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "birthday", + "undefined" : "birthday" + }, + "domain" : "1", + "comment" : { + "undefined" : "The birthday of this Agent, represented in mm-dd string form, eg. '12-31'." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "111" + }, { + "iri" : "http://xmlns.com/foaf/0.1/sha1", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "101", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "sha1", + "undefined" : "sha1sum (hex)" + }, + "domain" : "2", + "comment" : { + "undefined" : "A sha1sum hash, in hex." + }, + "attributes" : [ "datatype" ], + "id" : "112" + }, { + "iri" : "http://xmlns.com/foaf/0.1/firstName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "24", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "firstName", + "undefined" : "firstName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The first name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "113" + }, { + "iri" : "http://xmlns.com/foaf/0.1/made", + "inverse" : "115", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "made", + "undefined" : "made" + }, + "domain" : "1", + "comment" : { + "undefined" : "Something that was made by this agent." + }, + "attributes" : [ "object" ], + "id" : "114" + }, { + "range" : "60", + "domain" : "2", + "attributes" : [ "anonymous", "object" ], + "id" : "116" + }, { + "range" : "12", + "domain" : "60", + "attributes" : [ "anonymous", "object" ], + "id" : "117" + }, { + "iri" : "http://xmlns.com/foaf/0.1/familyName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "62", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "familyName", + "undefined" : "familyName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "119" + }, { + "range" : "2", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "120" + }, { + "range" : "12", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "121" + }, { + "iri" : "http://xmlns.com/foaf/0.1/member", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "member", + "undefined" : "member" + }, + "domain" : "10", + "comment" : { + "undefined" : "Indicates a member of a Group" + }, + "attributes" : [ "object" ], + "id" : "122" + }, { + "iri" : "http://xmlns.com/foaf/0.1/plan", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "27", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "plan", + "undefined" : "plan" + }, + "domain" : "12", + "comment" : { + "undefined" : "A .plan comment, in the tradition of finger and '.plan' files." + }, + "attributes" : [ "datatype" ], + "id" : "123" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox", + "undefined" : "personal mailbox" + }, + "domain" : "1", + "comment" : { + "undefined" : "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox. This is a 'static inverse functional property', in that there is (across time and change) at most one individual that ever has any particular value for foaf:mbox." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "124" + }, { + "iri" : "http://xmlns.com/foaf/0.1/surname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "118", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "surname", + "undefined" : "Surname" + }, + "domain" : "12", + "comment" : { + "undefined" : "The surname of some person." + }, + "attributes" : [ "datatype" ], + "id" : "125" + }, { + "iri" : "http://xmlns.com/foaf/0.1/myersBriggs", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "22", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "myersBriggs", + "undefined" : "myersBriggs" + }, + "domain" : "12", + "comment" : { + "undefined" : "A Myers Briggs (MBTI) personality classification." + }, + "attributes" : [ "datatype" ], + "id" : "127" + }, { + "iri" : "http://xmlns.com/foaf/0.1/maker", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "maker", + "undefined" : "maker" + }, + "domain" : "18", + "comment" : { + "undefined" : "An agent that made this thing." + }, + "attributes" : [ "object" ], + "id" : "115" + }, { + "iri" : "http://xmlns.com/foaf/0.1/publications", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "publications", + "undefined" : "publications" + }, + "domain" : "12", + "comment" : { + "undefined" : "A link to the publications of this person." + }, + "attributes" : [ "object" ], + "id" : "128" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workplaceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workplaceHomepage", + "undefined" : "workplace homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A workplace homepage of some person; the homepage of an organization they work for." + }, + "attributes" : [ "object" ], + "id" : "129" + } ] +} \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.1.0/webvowl/data/ontology.json b/dist/vocabulary/mapping/0.1.0/webvowl/data/ontology.json new file mode 100644 index 0000000..d99e6e9 --- /dev/null +++ b/dist/vocabulary/mapping/0.1.0/webvowl/data/ontology.json @@ -0,0 +1,468 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.5), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "en", "undefined" ], + "baseIris" : [ "http://www.w3.org/1999/02/22-rdf-syntax-ns", "http://purl.org/vocommons/voaf", "http://www.w3.org/2000/01/rdf-schema", "https://w3id.org/function/vocabulary/mapping", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "https://w3id.org/function/ontology" ], + "title" : { + "en" : "The Function Ontology - Implementation Mapping vocabulary" + }, + "iri" : "https://w3id.org/function/vocabulary/mapping#", + "version" : "0.1.0", + "author" : [ "https://ben.de-meester.org/#me" ], + "description" : { + "en" : "The Function Ontology Implementation Mapping vocabulary specifies terms relevant to link FnO models to implementations. The specification is online at https://w3id.org/function/spec" + }, + "labels" : { + "en" : "The Function Ontology - Implementation Mapping vocabulary" + }, + "comments" : { + "en" : "-Version 0.1.0: creation." + }, + "other" : { + "license" : [ { + "identifier" : "license", + "language" : "undefined", + "value" : "http://creativecommons.org/license/by/3.0/", + "type" : "iri" + } ], + "creator" : [ { + "identifier" : "creator", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + } ], + "primaryTopic" : [ { + "identifier" : "primaryTopic", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "rights" : [ { + "identifier" : "rights", + "language" : "en", + "value" : "Copyright Ghent University imec IDLab", + "type" : "label" + } ], + "preferredNamespacePrefix" : [ { + "identifier" : "preferredNamespacePrefix", + "language" : "undefined", + "value" : "fnom", + "type" : "label" + } ], + "modified" : [ { + "identifier" : "modified", + "language" : "undefined", + "value" : "2019-05-21", + "type" : "label" + } ], + "publisher" : [ { + "identifier" : "publisher", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + } ], + "preferredNamespaceUri" : [ { + "identifier" : "preferredNamespaceUri", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping#", + "type" : "label" + } ], + "versionInfo" : [ { + "identifier" : "versionInfo", + "language" : "undefined", + "value" : "0.1.0", + "type" : "label" + } ], + "issued" : [ { + "identifier" : "issued", + "language" : "undefined", + "value" : "2019-05-21", + "type" : "label" + } ], + "title" : [ { + "identifier" : "title", + "language" : "en", + "value" : "The Function Ontology - Implementation Mapping vocabulary", + "type" : "label" + } ], + "seeAlso" : [ { + "identifier" : "seeAlso", + "language" : "undefined", + "value" : "https://w3id.org/function/spec", + "type" : "iri" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "5", + "type" : "rdfs:Datatype" + }, { + "id" : "6", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:Thing" + }, { + "id" : "13", + "type" : "owl:Class" + }, { + "id" : "9", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "rdfs:Datatype" + }, { + "id" : "16", + "type" : "rdfs:Datatype" + }, { + "id" : "4", + "type" : "owl:Class" + }, { + "id" : "12", + "type" : "owl:Class" + }, { + "id" : "10", + "type" : "owl:Class" + }, { + "id" : "17", + "type" : "owl:Class" + }, { + "id" : "18", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "http://www.w3.org/2001/XMLSchema#string", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "5", + "label" : { + "IRI-based" : "string" + } + }, { + "iri" : "https://w3id.org/function/ontology#MethodMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "MethodMapping" + }, + "subClasses" : [ "4" ], + "attributes" : [ "external" ], + "id" : "6" + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "1", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "https://w3id.org/function/ontology#Parameter", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "Parameter" + }, + "attributes" : [ "external" ], + "id" : "13" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#PropertyParameterMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "PropertyParameterMapping", + "en" : "Property Parameter Mapping" + }, + "comment" : { + "en" : "A property parameter mapping uses a property string to map a parameter of an fno:Implementation to an fno:Parameter" + }, + "id" : "9", + "superClasses" : [ "10" ] + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#int", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "2", + "label" : { + "IRI-based" : "int" + } + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#string", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "16", + "label" : { + "IRI-based" : "string" + } + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#StringMethodMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "StringMethodMapping", + "en" : "String Method Mapping" + }, + "comment" : { + "en" : "A string method mapping uses a string to map a method of an fno:Implementation to an fno:Function" + }, + "id" : "4", + "superClasses" : [ "6" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#PositionParameterMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "PositionParameterMapping", + "en" : "Position Parameter Mapping" + }, + "comment" : { + "en" : "A position parameter mapping uses a position to map a parameter of an fno:Implementation to an fno:Parameter" + }, + "id" : "12", + "superClasses" : [ "10" ] + }, { + "iri" : "https://w3id.org/function/ontology#ParameterMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "ParameterMapping" + }, + "subClasses" : [ "9", "12" ], + "attributes" : [ "external" ], + "id" : "10" + }, { + "iri" : "http://purl.org/vocommons/voaf#Vocabulary", + "baseIri" : "http://purl.org/vocommons/voaf", + "instances" : 0, + "label" : { + "IRI-based" : "Vocabulary" + }, + "individuals" : [ { + "iri" : "https://w3id.org/function/vocabulary/mapping#", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "labels" : { } + } ], + "attributes" : [ "external" ], + "id" : "17" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "individuals" : [ { + "iri" : "https://ben.de-meester.org/#me", + "baseIri" : "https://ben.de-meester.org/", + "annotations" : { + "name" : [ { + "identifier" : "name", + "language" : "en", + "value" : "Ben De Meester", + "type" : "label" + } ], + "mbox" : [ { + "identifier" : "mbox", + "language" : "undefined", + "value" : "mailto:Ben.DeMeester@UGent.be", + "type" : "label" + } ] + }, + "labels" : { + "IRI-based" : "me", + "en" : "Ben De Meester" + } + } ], + "attributes" : [ "external" ], + "id" : "18" + } ], + "property" : [ { + "id" : "0", + "type" : "owl:datatypeProperty" + }, { + "id" : "3", + "type" : "owl:datatypeProperty" + }, { + "id" : "7", + "type" : "rdfs:SubClassOf" + }, { + "id" : "8", + "type" : "rdfs:SubClassOf" + }, { + "id" : "11", + "type" : "owl:objectProperty" + }, { + "id" : "14", + "type" : "rdfs:SubClassOf" + }, { + "id" : "15", + "type" : "owl:datatypeProperty" + } ], + "propertyAttribute" : [ { + "iri" : "https://w3id.org/function/vocabulary/mapping#implementationParameterPosition", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/vocabulary/mapping#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "implementationParameterPosition", + "en" : "implementation parameter position" + }, + "domain" : "1", + "comment" : { + "en" : "Connects an implementation parameter position to a parameter mapping." + }, + "attributes" : [ "datatype" ], + "id" : "0" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#method-name", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "5", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/vocabulary/mapping#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "method-name", + "en" : "method name" + }, + "domain" : "4", + "comment" : { + "en" : "Connects a method name to a method mapping." + }, + "attributes" : [ "datatype" ], + "id" : "3" + }, { + "range" : "6", + "domain" : "4", + "attributes" : [ "anonymous", "object" ], + "id" : "7" + }, { + "range" : "10", + "domain" : "9", + "attributes" : [ "anonymous", "object" ], + "id" : "8" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#functionParameter", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "13", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/vocabulary/mapping#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "functionParameter", + "en" : "function parameter" + }, + "domain" : "12", + "comment" : { + "en" : "Connects a function parameter to a parameter mapping." + }, + "attributes" : [ "object" ], + "id" : "11" + }, { + "range" : "10", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "14" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#implementationProperty", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "16", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/vocabulary/mapping#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "implementationProperty", + "en" : "implementation property" + }, + "domain" : "1", + "comment" : { + "en" : "Connects an implementation parameter label to a parameter mapping." + }, + "attributes" : [ "datatype" ], + "id" : "15" + } ] +} \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.1.0/webvowl/favicon.ico b/dist/vocabulary/mapping/0.1.0/webvowl/favicon.ico new file mode 100644 index 0000000..a857d51 Binary files /dev/null and b/dist/vocabulary/mapping/0.1.0/webvowl/favicon.ico differ diff --git a/dist/vocabulary/mapping/0.1.0/webvowl/index.html b/dist/vocabulary/mapping/0.1.0/webvowl/index.html new file mode 100644 index 0000000..09acde5 --- /dev/null +++ b/dist/vocabulary/mapping/0.1.0/webvowl/index.html @@ -0,0 +1,480 @@ + + + + + + + + + + + + + + + WebVOWL + + + +
    +
    + + + + + + +
    + + + + +
    +
    +
    + +
    +
    >
    + +
    + +
    + + +
    +
    +
    +

    +

    +

    +

    +

    -

    +
    +
    + + +
    +
    +
    +
    + + + +
    + + + + + + + \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.1.0/webvowl/js/d3.min.js b/dist/vocabulary/mapping/0.1.0/webvowl/js/d3.min.js new file mode 100644 index 0000000..1664873 --- /dev/null +++ b/dist/vocabulary/mapping/0.1.0/webvowl/js/d3.min.js @@ -0,0 +1,5 @@ +!function(){function n(n){return n&&(n.ownerDocument||n.document||n).documentElement}function t(n){return n&&(n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView)}function e(n,t){return t>n?-1:n>t?1:n>=t?0:NaN}function r(n){return null===n?NaN:+n}function i(n){return!isNaN(n)}function u(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)<0?r=u+1:i=u}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)>0?i=u:r=u+1}return r}}}function o(n){return n.length}function a(n){for(var t=1;n*t%1;)t*=10;return t}function l(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function c(){this._=Object.create(null)}function f(n){return(n+="")===bo||n[0]===_o?_o+n:n}function s(n){return(n+="")[0]===_o?n.slice(1):n}function h(n){return f(n)in this._}function p(n){return(n=f(n))in this._&&delete this._[n]}function g(){var n=[];for(var t in this._)n.push(s(t));return n}function v(){var n=0;for(var t in this._)++n;return n}function d(){for(var n in this._)return!1;return!0}function y(){this._=Object.create(null)}function m(n){return n}function M(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function x(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e=0,r=wo.length;r>e;++e){var i=wo[e]+t;if(i in n)return i}}function b(){}function _(){}function w(n){function t(){for(var t,r=e,i=-1,u=r.length;++ie;e++)for(var i,u=n[e],o=0,a=u.length;a>o;o++)(i=u[o])&&t(i,o,e);return n}function Z(n){return ko(n,qo),n}function V(n){var t,e;return function(r,i,u){var o,a=n[u].update,l=a.length;for(u!=e&&(e=u,t=0),i>=t&&(t=i+1);!(o=a[t])&&++t0&&(n=n.slice(0,a));var c=To.get(n);return c&&(n=c,l=B),a?t?i:r:t?b:u}function $(n,t){return function(e){var r=ao.event;ao.event=e,t[0]=this.__data__;try{n.apply(this,t)}finally{ao.event=r}}}function B(n,t){var e=$(n,t);return function(n){var t=this,r=n.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||e.call(t,n)}}function W(e){var r=".dragsuppress-"+ ++Do,i="click"+r,u=ao.select(t(e)).on("touchmove"+r,S).on("dragstart"+r,S).on("selectstart"+r,S);if(null==Ro&&(Ro="onselectstart"in e?!1:x(e.style,"userSelect")),Ro){var o=n(e).style,a=o[Ro];o[Ro]="none"}return function(n){if(u.on(r,null),Ro&&(o[Ro]=a),n){var t=function(){u.on(i,null)};u.on(i,function(){S(),t()},!0),setTimeout(t,0)}}}function J(n,e){e.changedTouches&&(e=e.changedTouches[0]);var r=n.ownerSVGElement||n;if(r.createSVGPoint){var i=r.createSVGPoint();if(0>Po){var u=t(n);if(u.scrollX||u.scrollY){r=ao.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var o=r[0][0].getScreenCTM();Po=!(o.f||o.e),r.remove()}}return Po?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),i=i.matrixTransform(n.getScreenCTM().inverse()),[i.x,i.y]}var a=n.getBoundingClientRect();return[e.clientX-a.left-n.clientLeft,e.clientY-a.top-n.clientTop]}function G(){return ao.event.changedTouches[0].identifier}function K(n){return n>0?1:0>n?-1:0}function Q(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(t[1]-n[1])*(e[0]-n[0])}function nn(n){return n>1?0:-1>n?Fo:Math.acos(n)}function tn(n){return n>1?Io:-1>n?-Io:Math.asin(n)}function en(n){return((n=Math.exp(n))-1/n)/2}function rn(n){return((n=Math.exp(n))+1/n)/2}function un(n){return((n=Math.exp(2*n))-1)/(n+1)}function on(n){return(n=Math.sin(n/2))*n}function an(){}function ln(n,t,e){return this instanceof ln?(this.h=+n,this.s=+t,void(this.l=+e)):arguments.length<2?n instanceof ln?new ln(n.h,n.s,n.l):_n(""+n,wn,ln):new ln(n,t,e)}function cn(n,t,e){function r(n){return n>360?n-=360:0>n&&(n+=360),60>n?u+(o-u)*n/60:180>n?o:240>n?u+(o-u)*(240-n)/60:u}function i(n){return Math.round(255*r(n))}var u,o;return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:0>t?0:t>1?1:t,e=0>e?0:e>1?1:e,o=.5>=e?e*(1+t):e+t-e*t,u=2*e-o,new mn(i(n+120),i(n),i(n-120))}function fn(n,t,e){return this instanceof fn?(this.h=+n,this.c=+t,void(this.l=+e)):arguments.length<2?n instanceof fn?new fn(n.h,n.c,n.l):n instanceof hn?gn(n.l,n.a,n.b):gn((n=Sn((n=ao.rgb(n)).r,n.g,n.b)).l,n.a,n.b):new fn(n,t,e)}function sn(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new hn(e,Math.cos(n*=Yo)*t,Math.sin(n)*t)}function hn(n,t,e){return this instanceof hn?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof hn?new hn(n.l,n.a,n.b):n instanceof fn?sn(n.h,n.c,n.l):Sn((n=mn(n)).r,n.g,n.b):new hn(n,t,e)}function pn(n,t,e){var r=(n+16)/116,i=r+t/500,u=r-e/200;return i=vn(i)*na,r=vn(r)*ta,u=vn(u)*ea,new mn(yn(3.2404542*i-1.5371385*r-.4985314*u),yn(-.969266*i+1.8760108*r+.041556*u),yn(.0556434*i-.2040259*r+1.0572252*u))}function gn(n,t,e){return n>0?new fn(Math.atan2(e,t)*Zo,Math.sqrt(t*t+e*e),n):new fn(NaN,NaN,n)}function vn(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function dn(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function yn(n){return Math.round(255*(.00304>=n?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function mn(n,t,e){return this instanceof mn?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof mn?new mn(n.r,n.g,n.b):_n(""+n,mn,cn):new mn(n,t,e)}function Mn(n){return new mn(n>>16,n>>8&255,255&n)}function xn(n){return Mn(n)+""}function bn(n){return 16>n?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function _n(n,t,e){var r,i,u,o=0,a=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(Nn(i[0]),Nn(i[1]),Nn(i[2]))}return(u=ua.get(n))?t(u.r,u.g,u.b):(null==n||"#"!==n.charAt(0)||isNaN(u=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&u)>>4,o=o>>4|o,a=240&u,a=a>>4|a,l=15&u,l=l<<4|l):7===n.length&&(o=(16711680&u)>>16,a=(65280&u)>>8,l=255&u)),t(o,a,l))}function wn(n,t,e){var r,i,u=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-u,l=(o+u)/2;return a?(i=.5>l?a/(o+u):a/(2-o-u),r=n==o?(t-e)/a+(e>t?6:0):t==o?(e-n)/a+2:(n-t)/a+4,r*=60):(r=NaN,i=l>0&&1>l?0:r),new ln(r,i,l)}function Sn(n,t,e){n=kn(n),t=kn(t),e=kn(e);var r=dn((.4124564*n+.3575761*t+.1804375*e)/na),i=dn((.2126729*n+.7151522*t+.072175*e)/ta),u=dn((.0193339*n+.119192*t+.9503041*e)/ea);return hn(116*i-16,500*(r-i),200*(i-u))}function kn(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Nn(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}function En(n){return"function"==typeof n?n:function(){return n}}function An(n){return function(t,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=null),Cn(t,e,n,r)}}function Cn(n,t,e,r){function i(){var n,t=l.status;if(!t&&Ln(l)||t>=200&&300>t||304===t){try{n=e.call(u,l)}catch(r){return void o.error.call(u,r)}o.load.call(u,n)}else o.error.call(u,l)}var u={},o=ao.dispatch("beforesend","progress","load","error"),a={},l=new XMLHttpRequest,c=null;return!this.XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(n)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=i:l.onreadystatechange=function(){l.readyState>3&&i()},l.onprogress=function(n){var t=ao.event;ao.event=n;try{o.progress.call(u,l)}finally{ao.event=t}},u.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?a[n]:(null==t?delete a[n]:a[n]=t+"",u)},u.mimeType=function(n){return arguments.length?(t=null==n?null:n+"",u):t},u.responseType=function(n){return arguments.length?(c=n,u):c},u.response=function(n){return e=n,u},["get","post"].forEach(function(n){u[n]=function(){return u.send.apply(u,[n].concat(co(arguments)))}}),u.send=function(e,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),l.open(e,n,!0),null==t||"accept"in a||(a.accept=t+",*/*"),l.setRequestHeader)for(var f in a)l.setRequestHeader(f,a[f]);return null!=t&&l.overrideMimeType&&l.overrideMimeType(t),null!=c&&(l.responseType=c),null!=i&&u.on("error",i).on("load",function(n){i(null,n)}),o.beforesend.call(u,l),l.send(null==r?null:r),u},u.abort=function(){return l.abort(),u},ao.rebind(u,o,"on"),null==r?u:u.get(zn(r))}function zn(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}function Ln(n){var t=n.responseType;return t&&"text"!==t?n.response:n.responseText}function qn(n,t,e){var r=arguments.length;2>r&&(t=0),3>r&&(e=Date.now());var i=e+t,u={c:n,t:i,n:null};return aa?aa.n=u:oa=u,aa=u,la||(ca=clearTimeout(ca),la=1,fa(Tn)),u}function Tn(){var n=Rn(),t=Dn()-n;t>24?(isFinite(t)&&(clearTimeout(ca),ca=setTimeout(Tn,t)),la=0):(la=1,fa(Tn))}function Rn(){for(var n=Date.now(),t=oa;t;)n>=t.t&&t.c(n-t.t)&&(t.c=null),t=t.n;return n}function Dn(){for(var n,t=oa,e=1/0;t;)t.c?(t.t8?function(n){return n/e}:function(n){return n*e},symbol:n}}function jn(n){var t=n.decimal,e=n.thousands,r=n.grouping,i=n.currency,u=r&&e?function(n,t){for(var i=n.length,u=[],o=0,a=r[0],l=0;i>0&&a>0&&(l+a+1>t&&(a=Math.max(1,t-l)),u.push(n.substring(i-=a,i+a)),!((l+=a+1)>t));)a=r[o=(o+1)%r.length];return u.reverse().join(e)}:m;return function(n){var e=ha.exec(n),r=e[1]||" ",o=e[2]||">",a=e[3]||"-",l=e[4]||"",c=e[5],f=+e[6],s=e[7],h=e[8],p=e[9],g=1,v="",d="",y=!1,m=!0;switch(h&&(h=+h.substring(1)),(c||"0"===r&&"="===o)&&(c=r="0",o="="),p){case"n":s=!0,p="g";break;case"%":g=100,d="%",p="f";break;case"p":g=100,d="%",p="r";break;case"b":case"o":case"x":case"X":"#"===l&&(v="0"+p.toLowerCase());case"c":m=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===l&&(v=i[0],d=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=pa.get(p)||Fn;var M=c&&s;return function(n){var e=d;if(y&&n%1)return"";var i=0>n||0===n&&0>1/n?(n=-n,"-"):"-"===a?"":a;if(0>g){var l=ao.formatPrefix(n,h);n=l.scale(n),e=l.symbol+d}else n*=g;n=p(n,h);var x,b,_=n.lastIndexOf(".");if(0>_){var w=m?n.lastIndexOf("e"):-1;0>w?(x=n,b=""):(x=n.substring(0,w),b=n.substring(w))}else x=n.substring(0,_),b=t+n.substring(_+1);!c&&s&&(x=u(x,1/0));var S=v.length+x.length+b.length+(M?0:i.length),k=f>S?new Array(S=f-S+1).join(r):"";return M&&(x=u(k+x,k.length?f-b.length:1/0)),i+=v,n=x+b,("<"===o?i+n+k:">"===o?k+i+n:"^"===o?k.substring(0,S>>=1)+i+n+k.substring(S):i+(M?n:k+n))+e}}}function Fn(n){return n+""}function Hn(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function On(n,t,e){function r(t){var e=n(t),r=u(e,1);return r-t>t-e?e:r}function i(e){return t(e=n(new va(e-1)),1),e}function u(n,e){return t(n=new va(+n),e),n}function o(n,r,u){var o=i(n),a=[];if(u>1)for(;r>o;)e(o)%u||a.push(new Date(+o)),t(o,1);else for(;r>o;)a.push(new Date(+o)),t(o,1);return a}function a(n,t,e){try{va=Hn;var r=new Hn;return r._=n,o(r,t,e)}finally{va=Date}}n.floor=n,n.round=r,n.ceil=i,n.offset=u,n.range=o;var l=n.utc=In(n);return l.floor=l,l.round=In(r),l.ceil=In(i),l.offset=In(u),l.range=a,n}function In(n){return function(t,e){try{va=Hn;var r=new Hn;return r._=t,n(r,e)._}finally{va=Date}}}function Yn(n){function t(n){function t(t){for(var e,i,u,o=[],a=-1,l=0;++aa;){if(r>=c)return-1;if(i=t.charCodeAt(a++),37===i){if(o=t.charAt(a++),u=C[o in ya?t.charAt(a++):o],!u||(r=u(n,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function r(n,t,e){_.lastIndex=0;var r=_.exec(t.slice(e));return r?(n.w=w.get(r[0].toLowerCase()),e+r[0].length):-1}function i(n,t,e){x.lastIndex=0;var r=x.exec(t.slice(e));return r?(n.w=b.get(r[0].toLowerCase()),e+r[0].length):-1}function u(n,t,e){N.lastIndex=0;var r=N.exec(t.slice(e));return r?(n.m=E.get(r[0].toLowerCase()),e+r[0].length):-1}function o(n,t,e){S.lastIndex=0;var r=S.exec(t.slice(e));return r?(n.m=k.get(r[0].toLowerCase()),e+r[0].length):-1}function a(n,t,r){return e(n,A.c.toString(),t,r)}function l(n,t,r){return e(n,A.x.toString(),t,r)}function c(n,t,r){return e(n,A.X.toString(),t,r)}function f(n,t,e){var r=M.get(t.slice(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)}var s=n.dateTime,h=n.date,p=n.time,g=n.periods,v=n.days,d=n.shortDays,y=n.months,m=n.shortMonths;t.utc=function(n){function e(n){try{va=Hn;var t=new va;return t._=n,r(t)}finally{va=Date}}var r=t(n);return e.parse=function(n){try{va=Hn;var t=r.parse(n);return t&&t._}finally{va=Date}},e.toString=r.toString,e},t.multi=t.utc.multi=ct;var M=ao.map(),x=Vn(v),b=Xn(v),_=Vn(d),w=Xn(d),S=Vn(y),k=Xn(y),N=Vn(m),E=Xn(m);g.forEach(function(n,t){M.set(n.toLowerCase(),t)});var A={a:function(n){return d[n.getDay()]},A:function(n){return v[n.getDay()]},b:function(n){return m[n.getMonth()]},B:function(n){return y[n.getMonth()]},c:t(s),d:function(n,t){return Zn(n.getDate(),t,2)},e:function(n,t){return Zn(n.getDate(),t,2)},H:function(n,t){return Zn(n.getHours(),t,2)},I:function(n,t){return Zn(n.getHours()%12||12,t,2)},j:function(n,t){return Zn(1+ga.dayOfYear(n),t,3)},L:function(n,t){return Zn(n.getMilliseconds(),t,3)},m:function(n,t){return Zn(n.getMonth()+1,t,2)},M:function(n,t){return Zn(n.getMinutes(),t,2)},p:function(n){return g[+(n.getHours()>=12)]},S:function(n,t){return Zn(n.getSeconds(),t,2)},U:function(n,t){return Zn(ga.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return Zn(ga.mondayOfYear(n),t,2)},x:t(h),X:t(p),y:function(n,t){return Zn(n.getFullYear()%100,t,2)},Y:function(n,t){return Zn(n.getFullYear()%1e4,t,4)},Z:at,"%":function(){return"%"}},C={a:r,A:i,b:u,B:o,c:a,d:tt,e:tt,H:rt,I:rt,j:et,L:ot,m:nt,M:it,p:f,S:ut,U:Bn,w:$n,W:Wn,x:l,X:c,y:Gn,Y:Jn,Z:Kn,"%":lt};return t}function Zn(n,t,e){var r=0>n?"-":"",i=(r?-n:n)+"",u=i.length;return r+(e>u?new Array(e-u+1).join(t)+i:i)}function Vn(n){return new RegExp("^(?:"+n.map(ao.requote).join("|")+")","i")}function Xn(n){for(var t=new c,e=-1,r=n.length;++e68?1900:2e3)}function nt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function tt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function et(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function rt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function it(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function ut(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function ot(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function at(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=xo(t)/60|0,i=xo(t)%60;return e+Zn(r,"0",2)+Zn(i,"0",2)}function lt(n,t,e){Ma.lastIndex=0;var r=Ma.exec(t.slice(e,e+1));return r?e+r[0].length:-1}function ct(n){for(var t=n.length,e=-1;++e=0?1:-1,a=o*e,l=Math.cos(t),c=Math.sin(t),f=u*c,s=i*l+f*Math.cos(a),h=f*o*Math.sin(a);ka.add(Math.atan2(h,s)),r=n,i=l,u=c}var t,e,r,i,u;Na.point=function(o,a){Na.point=n,r=(t=o)*Yo,i=Math.cos(a=(e=a)*Yo/2+Fo/4),u=Math.sin(a)},Na.lineEnd=function(){n(t,e)}}function dt(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function yt(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function mt(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function Mt(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function xt(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function bt(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function _t(n){return[Math.atan2(n[1],n[0]),tn(n[2])]}function wt(n,t){return xo(n[0]-t[0])a;++a)i.point((e=n[a])[0],e[1]);return void i.lineEnd()}var l=new Tt(e,n,null,!0),c=new Tt(e,null,l,!1);l.o=c,u.push(l),o.push(c),l=new Tt(r,n,null,!1),c=new Tt(r,null,l,!0),l.o=c,u.push(l),o.push(c)}}),o.sort(t),qt(u),qt(o),u.length){for(var a=0,l=e,c=o.length;c>a;++a)o[a].e=l=!l;for(var f,s,h=u[0];;){for(var p=h,g=!0;p.v;)if((p=p.n)===h)return;f=p.z,i.lineStart();do{if(p.v=p.o.v=!0,p.e){if(g)for(var a=0,c=f.length;c>a;++a)i.point((s=f[a])[0],s[1]);else r(p.x,p.n.x,1,i);p=p.n}else{if(g){f=p.p.z;for(var a=f.length-1;a>=0;--a)i.point((s=f[a])[0],s[1])}else r(p.x,p.p.x,-1,i);p=p.p}p=p.o,f=p.z,g=!g}while(!p.v);i.lineEnd()}}}function qt(n){if(t=n.length){for(var t,e,r=0,i=n[0];++r0){for(b||(u.polygonStart(),b=!0),u.lineStart();++o1&&2&t&&e.push(e.pop().concat(e.shift())),p.push(e.filter(Dt))}var p,g,v,d=t(u),y=i.invert(r[0],r[1]),m={point:o,lineStart:l,lineEnd:c,polygonStart:function(){m.point=f,m.lineStart=s,m.lineEnd=h,p=[],g=[]},polygonEnd:function(){m.point=o,m.lineStart=l,m.lineEnd=c,p=ao.merge(p);var n=Ot(y,g);p.length?(b||(u.polygonStart(),b=!0),Lt(p,Ut,n,e,u)):n&&(b||(u.polygonStart(),b=!0),u.lineStart(),e(null,null,1,u),u.lineEnd()),b&&(u.polygonEnd(),b=!1),p=g=null},sphere:function(){u.polygonStart(),u.lineStart(),e(null,null,1,u),u.lineEnd(),u.polygonEnd()}},M=Pt(),x=t(M),b=!1;return m}}function Dt(n){return n.length>1}function Pt(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:b,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Ut(n,t){return((n=n.x)[0]<0?n[1]-Io-Uo:Io-n[1])-((t=t.x)[0]<0?t[1]-Io-Uo:Io-t[1])}function jt(n){var t,e=NaN,r=NaN,i=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(u,o){var a=u>0?Fo:-Fo,l=xo(u-e);xo(l-Fo)0?Io:-Io),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(a,r),n.point(u,r),t=0):i!==a&&l>=Fo&&(xo(e-i)Uo?Math.atan((Math.sin(t)*(u=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(t))*Math.sin(n))/(i*u*o)):(t+r)/2}function Ht(n,t,e,r){var i;if(null==n)i=e*Io,r.point(-Fo,i),r.point(0,i),r.point(Fo,i),r.point(Fo,0),r.point(Fo,-i),r.point(0,-i),r.point(-Fo,-i),r.point(-Fo,0),r.point(-Fo,i);else if(xo(n[0]-t[0])>Uo){var u=n[0]a;++a){var c=t[a],f=c.length;if(f)for(var s=c[0],h=s[0],p=s[1]/2+Fo/4,g=Math.sin(p),v=Math.cos(p),d=1;;){d===f&&(d=0),n=c[d];var y=n[0],m=n[1]/2+Fo/4,M=Math.sin(m),x=Math.cos(m),b=y-h,_=b>=0?1:-1,w=_*b,S=w>Fo,k=g*M;if(ka.add(Math.atan2(k*_*Math.sin(w),v*x+k*Math.cos(w))),u+=S?b+_*Ho:b,S^h>=e^y>=e){var N=mt(dt(s),dt(n));bt(N);var E=mt(i,N);bt(E);var A=(S^b>=0?-1:1)*tn(E[2]);(r>A||r===A&&(N[0]||N[1]))&&(o+=S^b>=0?1:-1)}if(!d++)break;h=y,g=M,v=x,s=n}}return(-Uo>u||Uo>u&&-Uo>ka)^1&o}function It(n){function t(n,t){return Math.cos(n)*Math.cos(t)>u}function e(n){var e,u,l,c,f;return{lineStart:function(){c=l=!1,f=1},point:function(s,h){var p,g=[s,h],v=t(s,h),d=o?v?0:i(s,h):v?i(s+(0>s?Fo:-Fo),h):0;if(!e&&(c=l=v)&&n.lineStart(),v!==l&&(p=r(e,g),(wt(e,p)||wt(g,p))&&(g[0]+=Uo,g[1]+=Uo,v=t(g[0],g[1]))),v!==l)f=0,v?(n.lineStart(),p=r(g,e),n.point(p[0],p[1])):(p=r(e,g),n.point(p[0],p[1]),n.lineEnd()),e=p;else if(a&&e&&o^v){var y;d&u||!(y=r(g,e,!0))||(f=0,o?(n.lineStart(),n.point(y[0][0],y[0][1]),n.point(y[1][0],y[1][1]),n.lineEnd()):(n.point(y[1][0],y[1][1]),n.lineEnd(),n.lineStart(),n.point(y[0][0],y[0][1])))}!v||e&&wt(e,g)||n.point(g[0],g[1]),e=g,l=v,u=d},lineEnd:function(){l&&n.lineEnd(),e=null},clean:function(){return f|(c&&l)<<1}}}function r(n,t,e){var r=dt(n),i=dt(t),o=[1,0,0],a=mt(r,i),l=yt(a,a),c=a[0],f=l-c*c;if(!f)return!e&&n;var s=u*l/f,h=-u*c/f,p=mt(o,a),g=xt(o,s),v=xt(a,h);Mt(g,v);var d=p,y=yt(g,d),m=yt(d,d),M=y*y-m*(yt(g,g)-1);if(!(0>M)){var x=Math.sqrt(M),b=xt(d,(-y-x)/m);if(Mt(b,g),b=_t(b),!e)return b;var _,w=n[0],S=t[0],k=n[1],N=t[1];w>S&&(_=w,w=S,S=_);var E=S-w,A=xo(E-Fo)E;if(!A&&k>N&&(_=k,k=N,N=_),C?A?k+N>0^b[1]<(xo(b[0]-w)Fo^(w<=b[0]&&b[0]<=S)){var z=xt(d,(-y+x)/m);return Mt(z,g),[b,_t(z)]}}}function i(t,e){var r=o?n:Fo-n,i=0;return-r>t?i|=1:t>r&&(i|=2),-r>e?i|=4:e>r&&(i|=8),i}var u=Math.cos(n),o=u>0,a=xo(u)>Uo,l=ve(n,6*Yo);return Rt(t,e,l,o?[0,-n]:[-Fo,n-Fo])}function Yt(n,t,e,r){return function(i){var u,o=i.a,a=i.b,l=o.x,c=o.y,f=a.x,s=a.y,h=0,p=1,g=f-l,v=s-c;if(u=n-l,g||!(u>0)){if(u/=g,0>g){if(h>u)return;p>u&&(p=u)}else if(g>0){if(u>p)return;u>h&&(h=u)}if(u=e-l,g||!(0>u)){if(u/=g,0>g){if(u>p)return;u>h&&(h=u)}else if(g>0){if(h>u)return;p>u&&(p=u)}if(u=t-c,v||!(u>0)){if(u/=v,0>v){if(h>u)return;p>u&&(p=u)}else if(v>0){if(u>p)return;u>h&&(h=u)}if(u=r-c,v||!(0>u)){if(u/=v,0>v){if(u>p)return;u>h&&(h=u)}else if(v>0){if(h>u)return;p>u&&(p=u)}return h>0&&(i.a={x:l+h*g,y:c+h*v}),1>p&&(i.b={x:l+p*g,y:c+p*v}),i}}}}}}function Zt(n,t,e,r){function i(r,i){return xo(r[0]-n)0?0:3:xo(r[0]-e)0?2:1:xo(r[1]-t)0?1:0:i>0?3:2}function u(n,t){return o(n.x,t.x)}function o(n,t){var e=i(n,1),r=i(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}return function(a){function l(n){for(var t=0,e=d.length,r=n[1],i=0;e>i;++i)for(var u,o=1,a=d[i],l=a.length,c=a[0];l>o;++o)u=a[o],c[1]<=r?u[1]>r&&Q(c,u,n)>0&&++t:u[1]<=r&&Q(c,u,n)<0&&--t,c=u;return 0!==t}function c(u,a,l,c){var f=0,s=0;if(null==u||(f=i(u,l))!==(s=i(a,l))||o(u,a)<0^l>0){do c.point(0===f||3===f?n:e,f>1?r:t);while((f=(f+l+4)%4)!==s)}else c.point(a[0],a[1])}function f(i,u){return i>=n&&e>=i&&u>=t&&r>=u}function s(n,t){f(n,t)&&a.point(n,t)}function h(){C.point=g,d&&d.push(y=[]),S=!0,w=!1,b=_=NaN}function p(){v&&(g(m,M),x&&w&&E.rejoin(),v.push(E.buffer())),C.point=s,w&&a.lineEnd()}function g(n,t){n=Math.max(-Ha,Math.min(Ha,n)),t=Math.max(-Ha,Math.min(Ha,t));var e=f(n,t);if(d&&y.push([n,t]),S)m=n,M=t,x=e,S=!1,e&&(a.lineStart(),a.point(n,t));else if(e&&w)a.point(n,t);else{var r={a:{x:b,y:_},b:{x:n,y:t}};A(r)?(w||(a.lineStart(),a.point(r.a.x,r.a.y)),a.point(r.b.x,r.b.y),e||a.lineEnd(),k=!1):e&&(a.lineStart(),a.point(n,t),k=!1)}b=n,_=t,w=e}var v,d,y,m,M,x,b,_,w,S,k,N=a,E=Pt(),A=Yt(n,t,e,r),C={point:s,lineStart:h,lineEnd:p,polygonStart:function(){a=E,v=[],d=[],k=!0},polygonEnd:function(){a=N,v=ao.merge(v);var t=l([n,r]),e=k&&t,i=v.length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),c(null,null,1,a),a.lineEnd()),i&&Lt(v,u,t,c,a),a.polygonEnd()),v=d=y=null}};return C}}function Vt(n){var t=0,e=Fo/3,r=ae(n),i=r(t,e);return i.parallels=function(n){return arguments.length?r(t=n[0]*Fo/180,e=n[1]*Fo/180):[t/Fo*180,e/Fo*180]},i}function Xt(n,t){function e(n,t){var e=Math.sqrt(u-2*i*Math.sin(t))/i;return[e*Math.sin(n*=i),o-e*Math.cos(n)]}var r=Math.sin(n),i=(r+Math.sin(t))/2,u=1+r*(2*i-r),o=Math.sqrt(u)/i;return e.invert=function(n,t){var e=o-t;return[Math.atan2(n,e)/i,tn((u-(n*n+e*e)*i*i)/(2*i))]},e}function $t(){function n(n,t){Ia+=i*n-r*t,r=n,i=t}var t,e,r,i;$a.point=function(u,o){$a.point=n,t=r=u,e=i=o},$a.lineEnd=function(){n(t,e)}}function Bt(n,t){Ya>n&&(Ya=n),n>Va&&(Va=n),Za>t&&(Za=t),t>Xa&&(Xa=t)}function Wt(){function n(n,t){o.push("M",n,",",t,u)}function t(n,t){o.push("M",n,",",t),a.point=e}function e(n,t){o.push("L",n,",",t)}function r(){a.point=n}function i(){o.push("Z")}var u=Jt(4.5),o=[],a={point:n,lineStart:function(){a.point=t},lineEnd:r,polygonStart:function(){a.lineEnd=i},polygonEnd:function(){a.lineEnd=r,a.point=n},pointRadius:function(n){return u=Jt(n),a},result:function(){if(o.length){var n=o.join("");return o=[],n}}};return a}function Jt(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function Gt(n,t){Ca+=n,za+=t,++La}function Kt(){function n(n,r){var i=n-t,u=r-e,o=Math.sqrt(i*i+u*u);qa+=o*(t+n)/2,Ta+=o*(e+r)/2,Ra+=o,Gt(t=n,e=r)}var t,e;Wa.point=function(r,i){Wa.point=n,Gt(t=r,e=i)}}function Qt(){Wa.point=Gt}function ne(){function n(n,t){var e=n-r,u=t-i,o=Math.sqrt(e*e+u*u);qa+=o*(r+n)/2,Ta+=o*(i+t)/2,Ra+=o,o=i*n-r*t,Da+=o*(r+n),Pa+=o*(i+t),Ua+=3*o,Gt(r=n,i=t)}var t,e,r,i;Wa.point=function(u,o){Wa.point=n,Gt(t=r=u,e=i=o)},Wa.lineEnd=function(){n(t,e)}}function te(n){function t(t,e){n.moveTo(t+o,e),n.arc(t,e,o,0,Ho)}function e(t,e){n.moveTo(t,e),a.point=r}function r(t,e){n.lineTo(t,e)}function i(){a.point=t}function u(){n.closePath()}var o=4.5,a={point:t,lineStart:function(){a.point=e},lineEnd:i,polygonStart:function(){a.lineEnd=u},polygonEnd:function(){a.lineEnd=i,a.point=t},pointRadius:function(n){return o=n,a},result:b};return a}function ee(n){function t(n){return(a?r:e)(n)}function e(t){return ue(t,function(e,r){e=n(e,r),t.point(e[0],e[1])})}function r(t){function e(e,r){e=n(e,r),t.point(e[0],e[1])}function r(){M=NaN,S.point=u,t.lineStart()}function u(e,r){var u=dt([e,r]),o=n(e,r);i(M,x,m,b,_,w,M=o[0],x=o[1],m=e,b=u[0],_=u[1],w=u[2],a,t),t.point(M,x)}function o(){S.point=e,t.lineEnd()}function l(){ +r(),S.point=c,S.lineEnd=f}function c(n,t){u(s=n,h=t),p=M,g=x,v=b,d=_,y=w,S.point=u}function f(){i(M,x,m,b,_,w,p,g,s,v,d,y,a,t),S.lineEnd=o,o()}var s,h,p,g,v,d,y,m,M,x,b,_,w,S={point:e,lineStart:r,lineEnd:o,polygonStart:function(){t.polygonStart(),S.lineStart=l},polygonEnd:function(){t.polygonEnd(),S.lineStart=r}};return S}function i(t,e,r,a,l,c,f,s,h,p,g,v,d,y){var m=f-t,M=s-e,x=m*m+M*M;if(x>4*u&&d--){var b=a+p,_=l+g,w=c+v,S=Math.sqrt(b*b+_*_+w*w),k=Math.asin(w/=S),N=xo(xo(w)-1)u||xo((m*z+M*L)/x-.5)>.3||o>a*p+l*g+c*v)&&(i(t,e,r,a,l,c,A,C,N,b/=S,_/=S,w,d,y),y.point(A,C),i(A,C,N,b,_,w,f,s,h,p,g,v,d,y))}}var u=.5,o=Math.cos(30*Yo),a=16;return t.precision=function(n){return arguments.length?(a=(u=n*n)>0&&16,t):Math.sqrt(u)},t}function re(n){var t=ee(function(t,e){return n([t*Zo,e*Zo])});return function(n){return le(t(n))}}function ie(n){this.stream=n}function ue(n,t){return{point:t,sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}function oe(n){return ae(function(){return n})()}function ae(n){function t(n){return n=a(n[0]*Yo,n[1]*Yo),[n[0]*h+l,c-n[1]*h]}function e(n){return n=a.invert((n[0]-l)/h,(c-n[1])/h),n&&[n[0]*Zo,n[1]*Zo]}function r(){a=Ct(o=se(y,M,x),u);var n=u(v,d);return l=p-n[0]*h,c=g+n[1]*h,i()}function i(){return f&&(f.valid=!1,f=null),t}var u,o,a,l,c,f,s=ee(function(n,t){return n=u(n,t),[n[0]*h+l,c-n[1]*h]}),h=150,p=480,g=250,v=0,d=0,y=0,M=0,x=0,b=Fa,_=m,w=null,S=null;return t.stream=function(n){return f&&(f.valid=!1),f=le(b(o,s(_(n)))),f.valid=!0,f},t.clipAngle=function(n){return arguments.length?(b=null==n?(w=n,Fa):It((w=+n)*Yo),i()):w},t.clipExtent=function(n){return arguments.length?(S=n,_=n?Zt(n[0][0],n[0][1],n[1][0],n[1][1]):m,i()):S},t.scale=function(n){return arguments.length?(h=+n,r()):h},t.translate=function(n){return arguments.length?(p=+n[0],g=+n[1],r()):[p,g]},t.center=function(n){return arguments.length?(v=n[0]%360*Yo,d=n[1]%360*Yo,r()):[v*Zo,d*Zo]},t.rotate=function(n){return arguments.length?(y=n[0]%360*Yo,M=n[1]%360*Yo,x=n.length>2?n[2]%360*Yo:0,r()):[y*Zo,M*Zo,x*Zo]},ao.rebind(t,s,"precision"),function(){return u=n.apply(this,arguments),t.invert=u.invert&&e,r()}}function le(n){return ue(n,function(t,e){n.point(t*Yo,e*Yo)})}function ce(n,t){return[n,t]}function fe(n,t){return[n>Fo?n-Ho:-Fo>n?n+Ho:n,t]}function se(n,t,e){return n?t||e?Ct(pe(n),ge(t,e)):pe(n):t||e?ge(t,e):fe}function he(n){return function(t,e){return t+=n,[t>Fo?t-Ho:-Fo>t?t+Ho:t,e]}}function pe(n){var t=he(n);return t.invert=he(-n),t}function ge(n,t){function e(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*r+a*i;return[Math.atan2(l*u-f*o,a*r-c*i),tn(f*u+l*o)]}var r=Math.cos(n),i=Math.sin(n),u=Math.cos(t),o=Math.sin(t);return e.invert=function(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*u-l*o;return[Math.atan2(l*u+c*o,a*r+f*i),tn(f*r-a*i)]},e}function ve(n,t){var e=Math.cos(n),r=Math.sin(n);return function(i,u,o,a){var l=o*t;null!=i?(i=de(e,i),u=de(e,u),(o>0?u>i:i>u)&&(i+=o*Ho)):(i=n+o*Ho,u=n-.5*l);for(var c,f=i;o>0?f>u:u>f;f-=l)a.point((c=_t([e,-r*Math.cos(f),-r*Math.sin(f)]))[0],c[1])}}function de(n,t){var e=dt(t);e[0]-=n,bt(e);var r=nn(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Uo)%(2*Math.PI)}function ye(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[n,t]})}}function me(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[t,n]})}}function Me(n){return n.source}function xe(n){return n.target}function be(n,t,e,r){var i=Math.cos(t),u=Math.sin(t),o=Math.cos(r),a=Math.sin(r),l=i*Math.cos(n),c=i*Math.sin(n),f=o*Math.cos(e),s=o*Math.sin(e),h=2*Math.asin(Math.sqrt(on(r-t)+i*o*on(e-n))),p=1/Math.sin(h),g=h?function(n){var t=Math.sin(n*=h)*p,e=Math.sin(h-n)*p,r=e*l+t*f,i=e*c+t*s,o=e*u+t*a;return[Math.atan2(i,r)*Zo,Math.atan2(o,Math.sqrt(r*r+i*i))*Zo]}:function(){return[n*Zo,t*Zo]};return g.distance=h,g}function _e(){function n(n,i){var u=Math.sin(i*=Yo),o=Math.cos(i),a=xo((n*=Yo)-t),l=Math.cos(a);Ja+=Math.atan2(Math.sqrt((a=o*Math.sin(a))*a+(a=r*u-e*o*l)*a),e*u+r*o*l),t=n,e=u,r=o}var t,e,r;Ga.point=function(i,u){t=i*Yo,e=Math.sin(u*=Yo),r=Math.cos(u),Ga.point=n},Ga.lineEnd=function(){Ga.point=Ga.lineEnd=b}}function we(n,t){function e(t,e){var r=Math.cos(t),i=Math.cos(e),u=n(r*i);return[u*i*Math.sin(t),u*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),i=t(r),u=Math.sin(i),o=Math.cos(i);return[Math.atan2(n*u,r*o),Math.asin(r&&e*u/r)]},e}function Se(n,t){function e(n,t){o>0?-Io+Uo>t&&(t=-Io+Uo):t>Io-Uo&&(t=Io-Uo);var e=o/Math.pow(i(t),u);return[e*Math.sin(u*n),o-e*Math.cos(u*n)]}var r=Math.cos(n),i=function(n){return Math.tan(Fo/4+n/2)},u=n===t?Math.sin(n):Math.log(r/Math.cos(t))/Math.log(i(t)/i(n)),o=r*Math.pow(i(n),u)/u;return u?(e.invert=function(n,t){var e=o-t,r=K(u)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/u,2*Math.atan(Math.pow(o/r,1/u))-Io]},e):Ne}function ke(n,t){function e(n,t){var e=u-t;return[e*Math.sin(i*n),u-e*Math.cos(i*n)]}var r=Math.cos(n),i=n===t?Math.sin(n):(r-Math.cos(t))/(t-n),u=r/i+n;return xo(i)i;i++){for(;r>1&&Q(n[e[r-2]],n[e[r-1]],n[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function qe(n,t){return n[0]-t[0]||n[1]-t[1]}function Te(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function Re(n,t,e,r){var i=n[0],u=e[0],o=t[0]-i,a=r[0]-u,l=n[1],c=e[1],f=t[1]-l,s=r[1]-c,h=(a*(l-c)-s*(i-u))/(s*o-a*f);return[i+h*o,l+h*f]}function De(n){var t=n[0],e=n[n.length-1];return!(t[0]-e[0]||t[1]-e[1])}function Pe(){rr(this),this.edge=this.site=this.circle=null}function Ue(n){var t=cl.pop()||new Pe;return t.site=n,t}function je(n){Be(n),ol.remove(n),cl.push(n),rr(n)}function Fe(n){var t=n.circle,e=t.x,r=t.cy,i={x:e,y:r},u=n.P,o=n.N,a=[n];je(n);for(var l=u;l.circle&&xo(e-l.circle.x)f;++f)c=a[f],l=a[f-1],nr(c.edge,l.site,c.site,i);l=a[0],c=a[s-1],c.edge=Ke(l.site,c.site,null,i),$e(l),$e(c)}function He(n){for(var t,e,r,i,u=n.x,o=n.y,a=ol._;a;)if(r=Oe(a,o)-u,r>Uo)a=a.L;else{if(i=u-Ie(a,o),!(i>Uo)){r>-Uo?(t=a.P,e=a):i>-Uo?(t=a,e=a.N):t=e=a;break}if(!a.R){t=a;break}a=a.R}var l=Ue(n);if(ol.insert(t,l),t||e){if(t===e)return Be(t),e=Ue(t.site),ol.insert(l,e),l.edge=e.edge=Ke(t.site,l.site),$e(t),void $e(e);if(!e)return void(l.edge=Ke(t.site,l.site));Be(t),Be(e);var c=t.site,f=c.x,s=c.y,h=n.x-f,p=n.y-s,g=e.site,v=g.x-f,d=g.y-s,y=2*(h*d-p*v),m=h*h+p*p,M=v*v+d*d,x={x:(d*m-p*M)/y+f,y:(h*M-v*m)/y+s};nr(e.edge,c,g,x),l.edge=Ke(c,n,null,x),e.edge=Ke(n,g,null,x),$e(t),$e(e)}}function Oe(n,t){var e=n.site,r=e.x,i=e.y,u=i-t;if(!u)return r;var o=n.P;if(!o)return-(1/0);e=o.site;var a=e.x,l=e.y,c=l-t;if(!c)return a;var f=a-r,s=1/u-1/c,h=f/c;return s?(-h+Math.sqrt(h*h-2*s*(f*f/(-2*c)-l+c/2+i-u/2)))/s+r:(r+a)/2}function Ie(n,t){var e=n.N;if(e)return Oe(e,t);var r=n.site;return r.y===t?r.x:1/0}function Ye(n){this.site=n,this.edges=[]}function Ze(n){for(var t,e,r,i,u,o,a,l,c,f,s=n[0][0],h=n[1][0],p=n[0][1],g=n[1][1],v=ul,d=v.length;d--;)if(u=v[d],u&&u.prepare())for(a=u.edges,l=a.length,o=0;l>o;)f=a[o].end(),r=f.x,i=f.y,c=a[++o%l].start(),t=c.x,e=c.y,(xo(r-t)>Uo||xo(i-e)>Uo)&&(a.splice(o,0,new tr(Qe(u.site,f,xo(r-s)Uo?{x:s,y:xo(t-s)Uo?{x:xo(e-g)Uo?{x:h,y:xo(t-h)Uo?{x:xo(e-p)=-jo)){var p=l*l+c*c,g=f*f+s*s,v=(s*p-c*g)/h,d=(l*g-f*p)/h,s=d+a,y=fl.pop()||new Xe;y.arc=n,y.site=i,y.x=v+o,y.y=s+Math.sqrt(v*v+d*d),y.cy=s,n.circle=y;for(var m=null,M=ll._;M;)if(y.yd||d>=a)return;if(h>g){if(u){if(u.y>=c)return}else u={x:d,y:l};e={x:d,y:c}}else{if(u){if(u.yr||r>1)if(h>g){if(u){if(u.y>=c)return}else u={x:(l-i)/r,y:l};e={x:(c-i)/r,y:c}}else{if(u){if(u.yp){if(u){if(u.x>=a)return}else u={x:o,y:r*o+i};e={x:a,y:r*a+i}}else{if(u){if(u.xu||s>o||r>h||i>p)){if(g=n.point){var g,v=t-n.x,d=e-n.y,y=v*v+d*d;if(l>y){var m=Math.sqrt(l=y);r=t-m,i=e-m,u=t+m,o=e+m,a=g}}for(var M=n.nodes,x=.5*(f+h),b=.5*(s+p),_=t>=x,w=e>=b,S=w<<1|_,k=S+4;k>S;++S)if(n=M[3&S])switch(3&S){case 0:c(n,f,s,x,b);break;case 1:c(n,x,s,h,b);break;case 2:c(n,f,b,x,p);break;case 3:c(n,x,b,h,p)}}}(n,r,i,u,o),a}function vr(n,t){n=ao.rgb(n),t=ao.rgb(t);var e=n.r,r=n.g,i=n.b,u=t.r-e,o=t.g-r,a=t.b-i;return function(n){return"#"+bn(Math.round(e+u*n))+bn(Math.round(r+o*n))+bn(Math.round(i+a*n))}}function dr(n,t){var e,r={},i={};for(e in n)e in t?r[e]=Mr(n[e],t[e]):i[e]=n[e];for(e in t)e in n||(i[e]=t[e]);return function(n){for(e in r)i[e]=r[e](n);return i}}function yr(n,t){return n=+n,t=+t,function(e){return n*(1-e)+t*e}}function mr(n,t){var e,r,i,u=hl.lastIndex=pl.lastIndex=0,o=-1,a=[],l=[];for(n+="",t+="";(e=hl.exec(n))&&(r=pl.exec(t));)(i=r.index)>u&&(i=t.slice(u,i),a[o]?a[o]+=i:a[++o]=i),(e=e[0])===(r=r[0])?a[o]?a[o]+=r:a[++o]=r:(a[++o]=null,l.push({i:o,x:yr(e,r)})),u=pl.lastIndex;return ur;++r)a[(e=l[r]).i]=e.x(n);return a.join("")})}function Mr(n,t){for(var e,r=ao.interpolators.length;--r>=0&&!(e=ao.interpolators[r](n,t)););return e}function xr(n,t){var e,r=[],i=[],u=n.length,o=t.length,a=Math.min(n.length,t.length);for(e=0;a>e;++e)r.push(Mr(n[e],t[e]));for(;u>e;++e)i[e]=n[e];for(;o>e;++e)i[e]=t[e];return function(n){for(e=0;a>e;++e)i[e]=r[e](n);return i}}function br(n){return function(t){return 0>=t?0:t>=1?1:n(t)}}function _r(n){return function(t){return 1-n(1-t)}}function wr(n){return function(t){return.5*(.5>t?n(2*t):2-n(2-2*t))}}function Sr(n){return n*n}function kr(n){return n*n*n}function Nr(n){if(0>=n)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(.5>n?e:3*(n-t)+e-.75)}function Er(n){return function(t){return Math.pow(t,n)}}function Ar(n){return 1-Math.cos(n*Io)}function Cr(n){return Math.pow(2,10*(n-1))}function zr(n){return 1-Math.sqrt(1-n*n)}function Lr(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/Ho*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,-10*r)*Math.sin((r-e)*Ho/t)}}function qr(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}}function Tr(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function Rr(n,t){n=ao.hcl(n),t=ao.hcl(t);var e=n.h,r=n.c,i=n.l,u=t.h-e,o=t.c-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.c:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return sn(e+u*n,r+o*n,i+a*n)+""}}function Dr(n,t){n=ao.hsl(n),t=ao.hsl(t);var e=n.h,r=n.s,i=n.l,u=t.h-e,o=t.s-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.s:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return cn(e+u*n,r+o*n,i+a*n)+""}}function Pr(n,t){n=ao.lab(n),t=ao.lab(t);var e=n.l,r=n.a,i=n.b,u=t.l-e,o=t.a-r,a=t.b-i;return function(n){return pn(e+u*n,r+o*n,i+a*n)+""}}function Ur(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function jr(n){var t=[n.a,n.b],e=[n.c,n.d],r=Hr(t),i=Fr(t,e),u=Hr(Or(e,t,-i))||0;t[0]*e[1]180?t+=360:t-n>180&&(n+=360),r.push({i:e.push(Ir(e)+"rotate(",null,")")-2,x:yr(n,t)})):t&&e.push(Ir(e)+"rotate("+t+")")}function Vr(n,t,e,r){n!==t?r.push({i:e.push(Ir(e)+"skewX(",null,")")-2,x:yr(n,t)}):t&&e.push(Ir(e)+"skewX("+t+")")}function Xr(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push(Ir(e)+"scale(",null,",",null,")");r.push({i:i-4,x:yr(n[0],t[0])},{i:i-2,x:yr(n[1],t[1])})}else 1===t[0]&&1===t[1]||e.push(Ir(e)+"scale("+t+")")}function $r(n,t){var e=[],r=[];return n=ao.transform(n),t=ao.transform(t),Yr(n.translate,t.translate,e,r),Zr(n.rotate,t.rotate,e,r),Vr(n.skew,t.skew,e,r),Xr(n.scale,t.scale,e,r),n=t=null,function(n){for(var t,i=-1,u=r.length;++i=0;)e.push(i[r])}function oi(n,t){for(var e=[n],r=[];null!=(n=e.pop());)if(r.push(n),(u=n.children)&&(i=u.length))for(var i,u,o=-1;++oe;++e)(t=n[e][1])>i&&(r=e,i=t);return r}function yi(n){return n.reduce(mi,0)}function mi(n,t){return n+t[1]}function Mi(n,t){return xi(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function xi(n,t){for(var e=-1,r=+n[0],i=(n[1]-r)/t,u=[];++e<=t;)u[e]=i*e+r;return u}function bi(n){return[ao.min(n),ao.max(n)]}function _i(n,t){return n.value-t.value}function wi(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function Si(n,t){n._pack_next=t,t._pack_prev=n}function ki(n,t){var e=t.x-n.x,r=t.y-n.y,i=n.r+t.r;return.999*i*i>e*e+r*r}function Ni(n){function t(n){f=Math.min(n.x-n.r,f),s=Math.max(n.x+n.r,s),h=Math.min(n.y-n.r,h),p=Math.max(n.y+n.r,p)}if((e=n.children)&&(c=e.length)){var e,r,i,u,o,a,l,c,f=1/0,s=-(1/0),h=1/0,p=-(1/0);if(e.forEach(Ei),r=e[0],r.x=-r.r,r.y=0,t(r),c>1&&(i=e[1],i.x=i.r,i.y=0,t(i),c>2))for(u=e[2],zi(r,i,u),t(u),wi(r,u),r._pack_prev=u,wi(u,i),i=r._pack_next,o=3;c>o;o++){zi(r,i,u=e[o]);var g=0,v=1,d=1;for(a=i._pack_next;a!==i;a=a._pack_next,v++)if(ki(a,u)){g=1;break}if(1==g)for(l=r._pack_prev;l!==a._pack_prev&&!ki(l,u);l=l._pack_prev,d++);g?(d>v||v==d&&i.ro;o++)u=e[o],u.x-=y,u.y-=m,M=Math.max(M,u.r+Math.sqrt(u.x*u.x+u.y*u.y));n.r=M,e.forEach(Ai)}}function Ei(n){n._pack_next=n._pack_prev=n}function Ai(n){delete n._pack_next,delete n._pack_prev}function Ci(n,t,e,r){var i=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,i)for(var u=-1,o=i.length;++u=0;)t=i[u],t.z+=e,t.m+=e,e+=t.s+(r+=t.c)}function Pi(n,t,e){return n.a.parent===t.parent?n.a:e}function Ui(n){return 1+ao.max(n,function(n){return n.y})}function ji(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}function Fi(n){var t=n.children;return t&&t.length?Fi(t[0]):n}function Hi(n){var t,e=n.children;return e&&(t=e.length)?Hi(e[t-1]):n}function Oi(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function Ii(n,t){var e=n.x+t[3],r=n.y+t[0],i=n.dx-t[1]-t[3],u=n.dy-t[0]-t[2];return 0>i&&(e+=i/2,i=0),0>u&&(r+=u/2,u=0),{x:e,y:r,dx:i,dy:u}}function Yi(n){var t=n[0],e=n[n.length-1];return e>t?[t,e]:[e,t]}function Zi(n){return n.rangeExtent?n.rangeExtent():Yi(n.range())}function Vi(n,t,e,r){var i=e(n[0],n[1]),u=r(t[0],t[1]);return function(n){return u(i(n))}}function Xi(n,t){var e,r=0,i=n.length-1,u=n[r],o=n[i];return u>o&&(e=r,r=i,i=e,e=u,u=o,o=e),n[r]=t.floor(u),n[i]=t.ceil(o),n}function $i(n){return n?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:Sl}function Bi(n,t,e,r){var i=[],u=[],o=0,a=Math.min(n.length,t.length)-1;for(n[a]2?Bi:Vi,l=r?Wr:Br;return o=i(n,t,l,e),a=i(t,n,l,Mr),u}function u(n){return o(n)}var o,a;return u.invert=function(n){return a(n)},u.domain=function(t){return arguments.length?(n=t.map(Number),i()):n},u.range=function(n){return arguments.length?(t=n,i()):t},u.rangeRound=function(n){return u.range(n).interpolate(Ur)},u.clamp=function(n){return arguments.length?(r=n,i()):r},u.interpolate=function(n){return arguments.length?(e=n,i()):e},u.ticks=function(t){return Qi(n,t)},u.tickFormat=function(t,e){return nu(n,t,e)},u.nice=function(t){return Gi(n,t),i()},u.copy=function(){return Wi(n,t,e,r)},i()}function Ji(n,t){return ao.rebind(n,t,"range","rangeRound","interpolate","clamp")}function Gi(n,t){return Xi(n,$i(Ki(n,t)[2])),Xi(n,$i(Ki(n,t)[2])),n}function Ki(n,t){null==t&&(t=10);var e=Yi(n),r=e[1]-e[0],i=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),u=t/r*i;return.15>=u?i*=10:.35>=u?i*=5:.75>=u&&(i*=2),e[0]=Math.ceil(e[0]/i)*i,e[1]=Math.floor(e[1]/i)*i+.5*i,e[2]=i,e}function Qi(n,t){return ao.range.apply(ao,Ki(n,t))}function nu(n,t,e){var r=Ki(n,t);if(e){var i=ha.exec(e);if(i.shift(),"s"===i[8]){var u=ao.formatPrefix(Math.max(xo(r[0]),xo(r[1])));return i[7]||(i[7]="."+tu(u.scale(r[2]))),i[8]="f",e=ao.format(i.join("")),function(n){return e(u.scale(n))+u.symbol}}i[7]||(i[7]="."+eu(i[8],r)),e=i.join("")}else e=",."+tu(r[2])+"f";return ao.format(e)}function tu(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}function eu(n,t){var e=tu(t[2]);return n in kl?Math.abs(e-tu(Math.max(xo(t[0]),xo(t[1]))))+ +("e"!==n):e-2*("%"===n)}function ru(n,t,e,r){function i(n){return(e?Math.log(0>n?0:n):-Math.log(n>0?0:-n))/Math.log(t)}function u(n){return e?Math.pow(t,n):-Math.pow(t,-n)}function o(t){return n(i(t))}return o.invert=function(t){return u(n.invert(t))},o.domain=function(t){return arguments.length?(e=t[0]>=0,n.domain((r=t.map(Number)).map(i)),o):r},o.base=function(e){return arguments.length?(t=+e,n.domain(r.map(i)),o):t},o.nice=function(){var t=Xi(r.map(i),e?Math:El);return n.domain(t),r=t.map(u),o},o.ticks=function(){var n=Yi(r),o=[],a=n[0],l=n[1],c=Math.floor(i(a)),f=Math.ceil(i(l)),s=t%1?2:t;if(isFinite(f-c)){if(e){for(;f>c;c++)for(var h=1;s>h;h++)o.push(u(c)*h);o.push(u(c))}else for(o.push(u(c));c++0;h--)o.push(u(c)*h);for(c=0;o[c]l;f--);o=o.slice(c,f)}return o},o.tickFormat=function(n,e){if(!arguments.length)return Nl;arguments.length<2?e=Nl:"function"!=typeof e&&(e=ao.format(e));var r=Math.max(1,t*n/o.ticks().length);return function(n){var o=n/u(Math.round(i(n)));return t-.5>o*t&&(o*=t),r>=o?e(n):""}},o.copy=function(){return ru(n.copy(),t,e,r)},Ji(o,n)}function iu(n,t,e){function r(t){return n(i(t))}var i=uu(t),u=uu(1/t);return r.invert=function(t){return u(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain((e=t.map(Number)).map(i)),r):e},r.ticks=function(n){return Qi(e,n)},r.tickFormat=function(n,t){return nu(e,n,t)},r.nice=function(n){return r.domain(Gi(e,n))},r.exponent=function(o){return arguments.length?(i=uu(t=o),u=uu(1/t),n.domain(e.map(i)),r):t},r.copy=function(){return iu(n.copy(),t,e)},Ji(r,n)}function uu(n){return function(t){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}}function ou(n,t){function e(e){return u[((i.get(e)||("range"===t.t?i.set(e,n.push(e)):NaN))-1)%u.length]}function r(t,e){return ao.range(n.length).map(function(n){return t+e*n})}var i,u,o;return e.domain=function(r){if(!arguments.length)return n;n=[],i=new c;for(var u,o=-1,a=r.length;++oe?[NaN,NaN]:[e>0?a[e-1]:n[0],et?NaN:t/u+n,[t,t+1/u]},r.copy=function(){return lu(n,t,e)},i()}function cu(n,t){function e(e){return e>=e?t[ao.bisect(n,e)]:void 0}return e.domain=function(t){return arguments.length?(n=t,e):n},e.range=function(n){return arguments.length?(t=n,e):t},e.invertExtent=function(e){return e=t.indexOf(e),[n[e-1],n[e]]},e.copy=function(){return cu(n,t)},e}function fu(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return Qi(n,t)},t.tickFormat=function(t,e){return nu(n,t,e)},t.copy=function(){return fu(n)},t}function su(){return 0}function hu(n){return n.innerRadius}function pu(n){return n.outerRadius}function gu(n){return n.startAngle}function vu(n){return n.endAngle}function du(n){return n&&n.padAngle}function yu(n,t,e,r){return(n-e)*t-(t-r)*n>0?0:1}function mu(n,t,e,r,i){var u=n[0]-t[0],o=n[1]-t[1],a=(i?r:-r)/Math.sqrt(u*u+o*o),l=a*o,c=-a*u,f=n[0]+l,s=n[1]+c,h=t[0]+l,p=t[1]+c,g=(f+h)/2,v=(s+p)/2,d=h-f,y=p-s,m=d*d+y*y,M=e-r,x=f*p-h*s,b=(0>y?-1:1)*Math.sqrt(Math.max(0,M*M*m-x*x)),_=(x*y-d*b)/m,w=(-x*d-y*b)/m,S=(x*y+d*b)/m,k=(-x*d+y*b)/m,N=_-g,E=w-v,A=S-g,C=k-v;return N*N+E*E>A*A+C*C&&(_=S,w=k),[[_-l,w-c],[_*e/M,w*e/M]]}function Mu(n){function t(t){function o(){c.push("M",u(n(f),a))}for(var l,c=[],f=[],s=-1,h=t.length,p=En(e),g=En(r);++s1?n.join("L"):n+"Z"}function bu(n){return n.join("L")+"Z"}function _u(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1&&i.push("H",r[0]),i.join("")}function wu(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1){a=t[1],u=n[l],l++,r+="C"+(i[0]+o[0])+","+(i[1]+o[1])+","+(u[0]-a[0])+","+(u[1]-a[1])+","+u[0]+","+u[1];for(var c=2;c9&&(i=3*t/Math.sqrt(i),o[a]=i*e,o[a+1]=i*r));for(a=-1;++a<=l;)i=(n[Math.min(l,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),u.push([i||0,o[a]*i||0]);return u}function Fu(n){return n.length<3?xu(n):n[0]+Au(n,ju(n))}function Hu(n){for(var t,e,r,i=-1,u=n.length;++i=t?o(n-t):void(f.c=o)}function o(e){var i=g.active,u=g[i];u&&(u.timer.c=null,u.timer.t=NaN,--g.count,delete g[i],u.event&&u.event.interrupt.call(n,n.__data__,u.index));for(var o in g)if(r>+o){var c=g[o];c.timer.c=null,c.timer.t=NaN,--g.count,delete g[o]}f.c=a,qn(function(){return f.c&&a(e||1)&&(f.c=null,f.t=NaN),1},0,l),g.active=r,v.event&&v.event.start.call(n,n.__data__,t),p=[],v.tween.forEach(function(e,r){(r=r.call(n,n.__data__,t))&&p.push(r)}),h=v.ease,s=v.duration}function a(i){for(var u=i/s,o=h(u),a=p.length;a>0;)p[--a].call(n,o);return u>=1?(v.event&&v.event.end.call(n,n.__data__,t),--g.count?delete g[r]:delete n[e],1):void 0}var l,f,s,h,p,g=n[e]||(n[e]={active:0,count:0}),v=g[r];v||(l=i.time,f=qn(u,0,l),v=g[r]={tween:new c,time:l,timer:f,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++g.count)}function no(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate("+(isFinite(r)?r:e(n))+",0)"})}function to(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate(0,"+(isFinite(r)?r:e(n))+")"})}function eo(n){return n.toISOString()}function ro(n,t,e){function r(t){return n(t)}function i(n,e){var r=n[1]-n[0],i=r/e,u=ao.bisect(Kl,i);return u==Kl.length?[t.year,Ki(n.map(function(n){return n/31536e6}),e)[2]]:u?t[i/Kl[u-1]1?{floor:function(t){for(;e(t=n.floor(t));)t=io(t-1);return t},ceil:function(t){for(;e(t=n.ceil(t));)t=io(+t+1);return t}}:n))},r.ticks=function(n,t){var e=Yi(r.domain()),u=null==n?i(e,10):"number"==typeof n?i(e,n):!n.range&&[{range:n},t];return u&&(n=u[0],t=u[1]),n.range(e[0],io(+e[1]+1),1>t?1:t)},r.tickFormat=function(){return e},r.copy=function(){return ro(n.copy(),t,e)},Ji(r,n)}function io(n){return new Date(n)}function uo(n){return JSON.parse(n.responseText)}function oo(n){var t=fo.createRange();return t.selectNode(fo.body),t.createContextualFragment(n.responseText)}var ao={version:"3.5.17"},lo=[].slice,co=function(n){return lo.call(n)},fo=this.document;if(fo)try{co(fo.documentElement.childNodes)[0].nodeType}catch(so){co=function(n){for(var t=n.length,e=new Array(t);t--;)e[t]=n[t];return e}}if(Date.now||(Date.now=function(){return+new Date}),fo)try{fo.createElement("DIV").style.setProperty("opacity",0,"")}catch(ho){var po=this.Element.prototype,go=po.setAttribute,vo=po.setAttributeNS,yo=this.CSSStyleDeclaration.prototype,mo=yo.setProperty;po.setAttribute=function(n,t){go.call(this,n,t+"")},po.setAttributeNS=function(n,t,e){vo.call(this,n,t,e+"")},yo.setProperty=function(n,t,e){mo.call(this,n,t+"",e)}}ao.ascending=e,ao.descending=function(n,t){return n>t?-1:t>n?1:t>=n?0:NaN},ao.min=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ir&&(e=r)}else{for(;++i=r){e=r;break}for(;++ir&&(e=r)}return e},ao.max=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ie&&(e=r)}else{for(;++i=r){e=r;break}for(;++ie&&(e=r)}return e},ao.extent=function(n,t){var e,r,i,u=-1,o=n.length;if(1===arguments.length){for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}else{for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}return[e,i]},ao.sum=function(n,t){var e,r=0,u=n.length,o=-1;if(1===arguments.length)for(;++o1?l/(f-1):void 0},ao.deviation=function(){var n=ao.variance.apply(this,arguments);return n?Math.sqrt(n):n};var Mo=u(e);ao.bisectLeft=Mo.left,ao.bisect=ao.bisectRight=Mo.right,ao.bisector=function(n){return u(1===n.length?function(t,r){return e(n(t),r)}:n)},ao.shuffle=function(n,t,e){(u=arguments.length)<3&&(e=n.length,2>u&&(t=0));for(var r,i,u=e-t;u;)i=Math.random()*u--|0,r=n[u+t],n[u+t]=n[i+t],n[i+t]=r;return n},ao.permute=function(n,t){for(var e=t.length,r=new Array(e);e--;)r[e]=n[t[e]];return r},ao.pairs=function(n){for(var t,e=0,r=n.length-1,i=n[0],u=new Array(0>r?0:r);r>e;)u[e]=[t=i,i=n[++e]];return u},ao.transpose=function(n){if(!(i=n.length))return[];for(var t=-1,e=ao.min(n,o),r=new Array(e);++t=0;)for(r=n[i],t=r.length;--t>=0;)e[--o]=r[t];return e};var xo=Math.abs;ao.range=function(n,t,e){if(arguments.length<3&&(e=1,arguments.length<2&&(t=n,n=0)),(t-n)/e===1/0)throw new Error("infinite range");var r,i=[],u=a(xo(e)),o=-1;if(n*=u,t*=u,e*=u,0>e)for(;(r=n+e*++o)>t;)i.push(r/u);else for(;(r=n+e*++o)=u.length)return r?r.call(i,o):e?o.sort(e):o;for(var l,f,s,h,p=-1,g=o.length,v=u[a++],d=new c;++p=u.length)return n;var r=[],i=o[e++];return n.forEach(function(n,i){r.push({key:n,values:t(i,e)})}),i?r.sort(function(n,t){return i(n.key,t.key)}):r}var e,r,i={},u=[],o=[];return i.map=function(t,e){return n(e,t,0)},i.entries=function(e){return t(n(ao.map,e,0),0)},i.key=function(n){return u.push(n),i},i.sortKeys=function(n){return o[u.length-1]=n,i},i.sortValues=function(n){return e=n,i},i.rollup=function(n){return r=n,i},i},ao.set=function(n){var t=new y;if(n)for(var e=0,r=n.length;r>e;++e)t.add(n[e]);return t},l(y,{has:h,add:function(n){return this._[f(n+="")]=!0,n},remove:p,values:g,size:v,empty:d,forEach:function(n){for(var t in this._)n.call(this,s(t))}}),ao.behavior={},ao.rebind=function(n,t){for(var e,r=1,i=arguments.length;++r=0&&(r=n.slice(e+1),n=n.slice(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},ao.event=null,ao.requote=function(n){return n.replace(So,"\\$&")};var So=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ko={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]},No=function(n,t){return t.querySelector(n)},Eo=function(n,t){return t.querySelectorAll(n)},Ao=function(n,t){var e=n.matches||n[x(n,"matchesSelector")];return(Ao=function(n,t){return e.call(n,t)})(n,t)};"function"==typeof Sizzle&&(No=function(n,t){return Sizzle(n,t)[0]||null},Eo=Sizzle,Ao=Sizzle.matchesSelector),ao.selection=function(){return ao.select(fo.documentElement)};var Co=ao.selection.prototype=[];Co.select=function(n){var t,e,r,i,u=[];n=A(n);for(var o=-1,a=this.length;++o=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),Lo.hasOwnProperty(e)?{space:Lo[e],local:n}:n}},Co.attr=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node();return n=ao.ns.qualify(n),n.local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(z(t,n[t]));return this}return this.each(z(n,t))},Co.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=T(n)).length,i=-1;if(t=e.classList){for(;++ii){if("string"!=typeof n){2>i&&(e="");for(r in n)this.each(P(r,n[r],e));return this}if(2>i){var u=this.node();return t(u).getComputedStyle(u,null).getPropertyValue(n)}r=""}return this.each(P(n,e,r))},Co.property=function(n,t){if(arguments.length<2){if("string"==typeof n)return this.node()[n];for(t in n)this.each(U(t,n[t]));return this}return this.each(U(n,t))},Co.text=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.textContent=null==t?"":t}:null==n?function(){this.textContent=""}:function(){this.textContent=n}):this.node().textContent},Co.html=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}:null==n?function(){this.innerHTML=""}:function(){this.innerHTML=n}):this.node().innerHTML},Co.append=function(n){return n=j(n),this.select(function(){return this.appendChild(n.apply(this,arguments))})},Co.insert=function(n,t){return n=j(n),t=A(t),this.select(function(){return this.insertBefore(n.apply(this,arguments),t.apply(this,arguments)||null)})},Co.remove=function(){return this.each(F)},Co.data=function(n,t){function e(n,e){var r,i,u,o=n.length,s=e.length,h=Math.min(o,s),p=new Array(s),g=new Array(s),v=new Array(o);if(t){var d,y=new c,m=new Array(o);for(r=-1;++rr;++r)g[r]=H(e[r]);for(;o>r;++r)v[r]=n[r]}g.update=p,g.parentNode=p.parentNode=v.parentNode=n.parentNode,a.push(g),l.push(p),f.push(v)}var r,i,u=-1,o=this.length;if(!arguments.length){for(n=new Array(o=(r=this[0]).length);++uu;u++){i.push(t=[]),t.parentNode=(e=this[u]).parentNode;for(var a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return E(i)},Co.order=function(){for(var n=-1,t=this.length;++n=0;)(e=r[i])&&(u&&u!==e.nextSibling&&u.parentNode.insertBefore(e,u),u=e);return this},Co.sort=function(n){n=I.apply(this,arguments);for(var t=-1,e=this.length;++tn;n++)for(var e=this[n],r=0,i=e.length;i>r;r++){var u=e[r];if(u)return u}return null},Co.size=function(){var n=0;return Y(this,function(){++n}),n};var qo=[];ao.selection.enter=Z,ao.selection.enter.prototype=qo,qo.append=Co.append,qo.empty=Co.empty,qo.node=Co.node,qo.call=Co.call,qo.size=Co.size,qo.select=function(n){for(var t,e,r,i,u,o=[],a=-1,l=this.length;++ar){if("string"!=typeof n){2>r&&(t=!1);for(e in n)this.each(X(e,n[e],t));return this}if(2>r)return(r=this.node()["__on"+n])&&r._;e=!1}return this.each(X(n,t,e))};var To=ao.map({mouseenter:"mouseover",mouseleave:"mouseout"});fo&&To.forEach(function(n){"on"+n in fo&&To.remove(n)});var Ro,Do=0;ao.mouse=function(n){return J(n,k())};var Po=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;ao.touch=function(n,t,e){if(arguments.length<3&&(e=t,t=k().changedTouches),t)for(var r,i=0,u=t.length;u>i;++i)if((r=t[i]).identifier===e)return J(n,r)},ao.behavior.drag=function(){function n(){this.on("mousedown.drag",u).on("touchstart.drag",o)}function e(n,t,e,u,o){return function(){function a(){var n,e,r=t(h,v);r&&(n=r[0]-M[0],e=r[1]-M[1],g|=n|e,M=r,p({type:"drag",x:r[0]+c[0],y:r[1]+c[1],dx:n,dy:e}))}function l(){t(h,v)&&(y.on(u+d,null).on(o+d,null),m(g),p({type:"dragend"}))}var c,f=this,s=ao.event.target.correspondingElement||ao.event.target,h=f.parentNode,p=r.of(f,arguments),g=0,v=n(),d=".drag"+(null==v?"":"-"+v),y=ao.select(e(s)).on(u+d,a).on(o+d,l),m=W(s),M=t(h,v);i?(c=i.apply(f,arguments),c=[c.x-M[0],c.y-M[1]]):c=[0,0],p({type:"dragstart"})}}var r=N(n,"drag","dragstart","dragend"),i=null,u=e(b,ao.mouse,t,"mousemove","mouseup"),o=e(G,ao.touch,m,"touchmove","touchend");return n.origin=function(t){return arguments.length?(i=t,n):i},ao.rebind(n,r,"on")},ao.touches=function(n,t){return arguments.length<2&&(t=k().touches),t?co(t).map(function(t){var e=J(n,t);return e.identifier=t.identifier,e}):[]};var Uo=1e-6,jo=Uo*Uo,Fo=Math.PI,Ho=2*Fo,Oo=Ho-Uo,Io=Fo/2,Yo=Fo/180,Zo=180/Fo,Vo=Math.SQRT2,Xo=2,$o=4;ao.interpolateZoom=function(n,t){var e,r,i=n[0],u=n[1],o=n[2],a=t[0],l=t[1],c=t[2],f=a-i,s=l-u,h=f*f+s*s;if(jo>h)r=Math.log(c/o)/Vo,e=function(n){return[i+n*f,u+n*s,o*Math.exp(Vo*n*r)]};else{var p=Math.sqrt(h),g=(c*c-o*o+$o*h)/(2*o*Xo*p),v=(c*c-o*o-$o*h)/(2*c*Xo*p),d=Math.log(Math.sqrt(g*g+1)-g),y=Math.log(Math.sqrt(v*v+1)-v);r=(y-d)/Vo,e=function(n){var t=n*r,e=rn(d),a=o/(Xo*p)*(e*un(Vo*t+d)-en(d));return[i+a*f,u+a*s,o*e/rn(Vo*t+d)]}}return e.duration=1e3*r,e},ao.behavior.zoom=function(){function n(n){n.on(L,s).on(Wo+".zoom",p).on("dblclick.zoom",g).on(R,h)}function e(n){return[(n[0]-k.x)/k.k,(n[1]-k.y)/k.k]}function r(n){return[n[0]*k.k+k.x,n[1]*k.k+k.y]}function i(n){k.k=Math.max(A[0],Math.min(A[1],n))}function u(n,t){t=r(t),k.x+=n[0]-t[0],k.y+=n[1]-t[1]}function o(t,e,r,o){t.__chart__={x:k.x,y:k.y,k:k.k},i(Math.pow(2,o)),u(d=e,r),t=ao.select(t),C>0&&(t=t.transition().duration(C)),t.call(n.event)}function a(){b&&b.domain(x.range().map(function(n){return(n-k.x)/k.k}).map(x.invert)),w&&w.domain(_.range().map(function(n){return(n-k.y)/k.k}).map(_.invert))}function l(n){z++||n({type:"zoomstart"})}function c(n){a(),n({type:"zoom",scale:k.k,translate:[k.x,k.y]})}function f(n){--z||(n({type:"zoomend"}),d=null)}function s(){function n(){a=1,u(ao.mouse(i),h),c(o)}function r(){s.on(q,null).on(T,null),p(a),f(o)}var i=this,o=D.of(i,arguments),a=0,s=ao.select(t(i)).on(q,n).on(T,r),h=e(ao.mouse(i)),p=W(i);Il.call(i),l(o)}function h(){function n(){var n=ao.touches(g);return p=k.k,n.forEach(function(n){n.identifier in d&&(d[n.identifier]=e(n))}),n}function t(){var t=ao.event.target;ao.select(t).on(x,r).on(b,a),_.push(t);for(var e=ao.event.changedTouches,i=0,u=e.length;u>i;++i)d[e[i].identifier]=null;var l=n(),c=Date.now();if(1===l.length){if(500>c-M){var f=l[0];o(g,f,d[f.identifier],Math.floor(Math.log(k.k)/Math.LN2)+1),S()}M=c}else if(l.length>1){var f=l[0],s=l[1],h=f[0]-s[0],p=f[1]-s[1];y=h*h+p*p}}function r(){var n,t,e,r,o=ao.touches(g);Il.call(g);for(var a=0,l=o.length;l>a;++a,r=null)if(e=o[a],r=d[e.identifier]){if(t)break;n=e,t=r}if(r){var f=(f=e[0]-n[0])*f+(f=e[1]-n[1])*f,s=y&&Math.sqrt(f/y);n=[(n[0]+e[0])/2,(n[1]+e[1])/2],t=[(t[0]+r[0])/2,(t[1]+r[1])/2],i(s*p)}M=null,u(n,t),c(v)}function a(){if(ao.event.touches.length){for(var t=ao.event.changedTouches,e=0,r=t.length;r>e;++e)delete d[t[e].identifier];for(var i in d)return void n()}ao.selectAll(_).on(m,null),w.on(L,s).on(R,h),N(),f(v)}var p,g=this,v=D.of(g,arguments),d={},y=0,m=".zoom-"+ao.event.changedTouches[0].identifier,x="touchmove"+m,b="touchend"+m,_=[],w=ao.select(g),N=W(g);t(),l(v),w.on(L,null).on(R,t)}function p(){var n=D.of(this,arguments);m?clearTimeout(m):(Il.call(this),v=e(d=y||ao.mouse(this)),l(n)),m=setTimeout(function(){m=null,f(n)},50),S(),i(Math.pow(2,.002*Bo())*k.k),u(d,v),c(n)}function g(){var n=ao.mouse(this),t=Math.log(k.k)/Math.LN2;o(this,n,e(n),ao.event.shiftKey?Math.ceil(t)-1:Math.floor(t)+1)}var v,d,y,m,M,x,b,_,w,k={x:0,y:0,k:1},E=[960,500],A=Jo,C=250,z=0,L="mousedown.zoom",q="mousemove.zoom",T="mouseup.zoom",R="touchstart.zoom",D=N(n,"zoomstart","zoom","zoomend");return Wo||(Wo="onwheel"in fo?(Bo=function(){return-ao.event.deltaY*(ao.event.deltaMode?120:1)},"wheel"):"onmousewheel"in fo?(Bo=function(){return ao.event.wheelDelta},"mousewheel"):(Bo=function(){return-ao.event.detail},"MozMousePixelScroll")),n.event=function(n){n.each(function(){var n=D.of(this,arguments),t=k;Hl?ao.select(this).transition().each("start.zoom",function(){k=this.__chart__||{x:0,y:0,k:1},l(n)}).tween("zoom:zoom",function(){var e=E[0],r=E[1],i=d?d[0]:e/2,u=d?d[1]:r/2,o=ao.interpolateZoom([(i-k.x)/k.k,(u-k.y)/k.k,e/k.k],[(i-t.x)/t.k,(u-t.y)/t.k,e/t.k]);return function(t){var r=o(t),a=e/r[2];this.__chart__=k={x:i-r[0]*a,y:u-r[1]*a,k:a},c(n)}}).each("interrupt.zoom",function(){f(n)}).each("end.zoom",function(){f(n)}):(this.__chart__=k,l(n),c(n),f(n))})},n.translate=function(t){return arguments.length?(k={x:+t[0],y:+t[1],k:k.k},a(),n):[k.x,k.y]},n.scale=function(t){return arguments.length?(k={x:k.x,y:k.y,k:null},i(+t),a(),n):k.k},n.scaleExtent=function(t){return arguments.length?(A=null==t?Jo:[+t[0],+t[1]],n):A},n.center=function(t){return arguments.length?(y=t&&[+t[0],+t[1]],n):y},n.size=function(t){return arguments.length?(E=t&&[+t[0],+t[1]],n):E},n.duration=function(t){return arguments.length?(C=+t,n):C},n.x=function(t){return arguments.length?(b=t,x=t.copy(),k={x:0,y:0,k:1},n):b},n.y=function(t){return arguments.length?(w=t,_=t.copy(),k={x:0,y:0,k:1},n):w},ao.rebind(n,D,"on")};var Bo,Wo,Jo=[0,1/0];ao.color=an,an.prototype.toString=function(){return this.rgb()+""},ao.hsl=ln;var Go=ln.prototype=new an;Go.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,this.l/n)},Go.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,n*this.l)},Go.rgb=function(){return cn(this.h,this.s,this.l)},ao.hcl=fn;var Ko=fn.prototype=new an;Ko.brighter=function(n){return new fn(this.h,this.c,Math.min(100,this.l+Qo*(arguments.length?n:1)))},Ko.darker=function(n){return new fn(this.h,this.c,Math.max(0,this.l-Qo*(arguments.length?n:1)))},Ko.rgb=function(){return sn(this.h,this.c,this.l).rgb()},ao.lab=hn;var Qo=18,na=.95047,ta=1,ea=1.08883,ra=hn.prototype=new an;ra.brighter=function(n){return new hn(Math.min(100,this.l+Qo*(arguments.length?n:1)),this.a,this.b)},ra.darker=function(n){return new hn(Math.max(0,this.l-Qo*(arguments.length?n:1)),this.a,this.b)},ra.rgb=function(){return pn(this.l,this.a,this.b)},ao.rgb=mn;var ia=mn.prototype=new an;ia.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,i=30;return t||e||r?(t&&i>t&&(t=i),e&&i>e&&(e=i),r&&i>r&&(r=i),new mn(Math.min(255,t/n),Math.min(255,e/n),Math.min(255,r/n))):new mn(i,i,i)},ia.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new mn(n*this.r,n*this.g,n*this.b)},ia.hsl=function(){return wn(this.r,this.g,this.b)},ia.toString=function(){return"#"+bn(this.r)+bn(this.g)+bn(this.b)};var ua=ao.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});ua.forEach(function(n,t){ua.set(n,Mn(t))}),ao.functor=En,ao.xhr=An(m),ao.dsv=function(n,t){function e(n,e,u){arguments.length<3&&(u=e,e=null);var o=Cn(n,t,null==e?r:i(e),u);return o.row=function(n){return arguments.length?o.response(null==(e=n)?r:i(n)):e},o}function r(n){return e.parse(n.responseText)}function i(n){return function(t){return e.parse(t.responseText,n)}}function u(t){return t.map(o).join(n)}function o(n){return a.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}var a=new RegExp('["'+n+"\n]"),l=n.charCodeAt(0);return e.parse=function(n,t){var r;return e.parseRows(n,function(n,e){if(r)return r(n,e-1);var i=new Function("d","return {"+n.map(function(n,t){return JSON.stringify(n)+": d["+t+"]"}).join(",")+"}");r=t?function(n,e){return t(i(n),e)}:i})},e.parseRows=function(n,t){function e(){if(f>=c)return o;if(i)return i=!1,u;var t=f;if(34===n.charCodeAt(t)){for(var e=t;e++f;){var r=n.charCodeAt(f++),a=1;if(10===r)i=!0;else if(13===r)i=!0,10===n.charCodeAt(f)&&(++f,++a);else if(r!==l)continue;return n.slice(t,f-a)}return n.slice(t)}for(var r,i,u={},o={},a=[],c=n.length,f=0,s=0;(r=e())!==o;){for(var h=[];r!==u&&r!==o;)h.push(r),r=e();t&&null==(h=t(h,s++))||a.push(h)}return a},e.format=function(t){if(Array.isArray(t[0]))return e.formatRows(t);var r=new y,i=[];return t.forEach(function(n){for(var t in n)r.has(t)||i.push(r.add(t))}),[i.map(o).join(n)].concat(t.map(function(t){return i.map(function(n){return o(t[n])}).join(n)})).join("\n")},e.formatRows=function(n){return n.map(u).join("\n")},e},ao.csv=ao.dsv(",","text/csv"),ao.tsv=ao.dsv(" ","text/tab-separated-values");var oa,aa,la,ca,fa=this[x(this,"requestAnimationFrame")]||function(n){setTimeout(n,17)};ao.timer=function(){qn.apply(this,arguments)},ao.timer.flush=function(){Rn(),Dn()},ao.round=function(n,t){return t?Math.round(n*(t=Math.pow(10,t)))/t:Math.round(n)};var sa=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"].map(Un);ao.formatPrefix=function(n,t){var e=0;return(n=+n)&&(0>n&&(n*=-1),t&&(n=ao.round(n,Pn(n,t))),e=1+Math.floor(1e-12+Math.log(n)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((e-1)/3)))),sa[8+e/3]};var ha=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,pa=ao.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,t){return(n=ao.round(n,Pn(n,t))).toFixed(Math.max(0,Math.min(20,Pn(n*(1+1e-15),t))))}}),ga=ao.time={},va=Date;Hn.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){da.setUTCDate.apply(this._,arguments)},setDay:function(){da.setUTCDay.apply(this._,arguments)},setFullYear:function(){da.setUTCFullYear.apply(this._,arguments)},setHours:function(){da.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){da.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){da.setUTCMinutes.apply(this._,arguments)},setMonth:function(){da.setUTCMonth.apply(this._,arguments)},setSeconds:function(){da.setUTCSeconds.apply(this._,arguments)},setTime:function(){da.setTime.apply(this._,arguments)}};var da=Date.prototype;ga.year=On(function(n){return n=ga.day(n),n.setMonth(0,1),n},function(n,t){n.setFullYear(n.getFullYear()+t)},function(n){return n.getFullYear()}),ga.years=ga.year.range,ga.years.utc=ga.year.utc.range,ga.day=On(function(n){var t=new va(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t},function(n,t){n.setDate(n.getDate()+t)},function(n){return n.getDate()-1}),ga.days=ga.day.range,ga.days.utc=ga.day.utc.range,ga.dayOfYear=function(n){var t=ga.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(n,t){t=7-t;var e=ga[n]=On(function(n){return(n=ga.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n},function(n,t){n.setDate(n.getDate()+7*Math.floor(t))},function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)-(e!==t)});ga[n+"s"]=e.range,ga[n+"s"].utc=e.utc.range,ga[n+"OfYear"]=function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)}}),ga.week=ga.sunday,ga.weeks=ga.sunday.range,ga.weeks.utc=ga.sunday.utc.range,ga.weekOfYear=ga.sundayOfYear;var ya={"-":"",_:" ",0:"0"},ma=/^\s*\d+/,Ma=/^%/;ao.locale=function(n){return{numberFormat:jn(n),timeFormat:Yn(n)}};var xa=ao.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"], +shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});ao.format=xa.numberFormat,ao.geo={},ft.prototype={s:0,t:0,add:function(n){st(n,this.t,ba),st(ba.s,this.s,this),this.s?this.t+=ba.t:this.s=ba.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var ba=new ft;ao.geo.stream=function(n,t){n&&_a.hasOwnProperty(n.type)?_a[n.type](n,t):ht(n,t)};var _a={Feature:function(n,t){ht(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,i=e.length;++rn?4*Fo+n:n,Na.lineStart=Na.lineEnd=Na.point=b}};ao.geo.bounds=function(){function n(n,t){M.push(x=[f=n,h=n]),s>t&&(s=t),t>p&&(p=t)}function t(t,e){var r=dt([t*Yo,e*Yo]);if(y){var i=mt(y,r),u=[i[1],-i[0],0],o=mt(u,i);bt(o),o=_t(o);var l=t-g,c=l>0?1:-1,v=o[0]*Zo*c,d=xo(l)>180;if(d^(v>c*g&&c*t>v)){var m=o[1]*Zo;m>p&&(p=m)}else if(v=(v+360)%360-180,d^(v>c*g&&c*t>v)){var m=-o[1]*Zo;s>m&&(s=m)}else s>e&&(s=e),e>p&&(p=e);d?g>t?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t):h>=f?(f>t&&(f=t),t>h&&(h=t)):t>g?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t)}else n(t,e);y=r,g=t}function e(){b.point=t}function r(){x[0]=f,x[1]=h,b.point=n,y=null}function i(n,e){if(y){var r=n-g;m+=xo(r)>180?r+(r>0?360:-360):r}else v=n,d=e;Na.point(n,e),t(n,e)}function u(){Na.lineStart()}function o(){i(v,d),Na.lineEnd(),xo(m)>Uo&&(f=-(h=180)),x[0]=f,x[1]=h,y=null}function a(n,t){return(t-=n)<0?t+360:t}function l(n,t){return n[0]-t[0]}function c(n,t){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nka?(f=-(h=180),s=-(p=90)):m>Uo?p=90:-Uo>m&&(s=-90),x[0]=f,x[1]=h}};return function(n){p=h=-(f=s=1/0),M=[],ao.geo.stream(n,b);var t=M.length;if(t){M.sort(l);for(var e,r=1,i=M[0],u=[i];t>r;++r)e=M[r],c(e[0],i)||c(e[1],i)?(a(i[0],e[1])>a(i[0],i[1])&&(i[1]=e[1]),a(e[0],i[1])>a(i[0],i[1])&&(i[0]=e[0])):u.push(i=e);for(var o,e,g=-(1/0),t=u.length-1,r=0,i=u[t];t>=r;i=e,++r)e=u[r],(o=a(i[1],e[0]))>g&&(g=o,f=e[0],h=i[1])}return M=x=null,f===1/0||s===1/0?[[NaN,NaN],[NaN,NaN]]:[[f,s],[h,p]]}}(),ao.geo.centroid=function(n){Ea=Aa=Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,ja);var t=Da,e=Pa,r=Ua,i=t*t+e*e+r*r;return jo>i&&(t=qa,e=Ta,r=Ra,Uo>Aa&&(t=Ca,e=za,r=La),i=t*t+e*e+r*r,jo>i)?[NaN,NaN]:[Math.atan2(e,t)*Zo,tn(r/Math.sqrt(i))*Zo]};var Ea,Aa,Ca,za,La,qa,Ta,Ra,Da,Pa,Ua,ja={sphere:b,point:St,lineStart:Nt,lineEnd:Et,polygonStart:function(){ja.lineStart=At},polygonEnd:function(){ja.lineStart=Nt}},Fa=Rt(zt,jt,Ht,[-Fo,-Fo/2]),Ha=1e9;ao.geo.clipExtent=function(){var n,t,e,r,i,u,o={stream:function(n){return i&&(i.valid=!1),i=u(n),i.valid=!0,i},extent:function(a){return arguments.length?(u=Zt(n=+a[0][0],t=+a[0][1],e=+a[1][0],r=+a[1][1]),i&&(i.valid=!1,i=null),o):[[n,t],[e,r]]}};return o.extent([[0,0],[960,500]])},(ao.geo.conicEqualArea=function(){return Vt(Xt)}).raw=Xt,ao.geo.albers=function(){return ao.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},ao.geo.albersUsa=function(){function n(n){var u=n[0],o=n[1];return t=null,e(u,o),t||(r(u,o),t)||i(u,o),t}var t,e,r,i,u=ao.geo.albers(),o=ao.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=ao.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(n,e){t=[n,e]}};return n.invert=function(n){var t=u.scale(),e=u.translate(),r=(n[0]-e[0])/t,i=(n[1]-e[1])/t;return(i>=.12&&.234>i&&r>=-.425&&-.214>r?o:i>=.166&&.234>i&&r>=-.214&&-.115>r?a:u).invert(n)},n.stream=function(n){var t=u.stream(n),e=o.stream(n),r=a.stream(n);return{point:function(n,i){t.point(n,i),e.point(n,i),r.point(n,i)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},n.precision=function(t){return arguments.length?(u.precision(t),o.precision(t),a.precision(t),n):u.precision()},n.scale=function(t){return arguments.length?(u.scale(t),o.scale(.35*t),a.scale(t),n.translate(u.translate())):u.scale()},n.translate=function(t){if(!arguments.length)return u.translate();var c=u.scale(),f=+t[0],s=+t[1];return e=u.translate(t).clipExtent([[f-.455*c,s-.238*c],[f+.455*c,s+.238*c]]).stream(l).point,r=o.translate([f-.307*c,s+.201*c]).clipExtent([[f-.425*c+Uo,s+.12*c+Uo],[f-.214*c-Uo,s+.234*c-Uo]]).stream(l).point,i=a.translate([f-.205*c,s+.212*c]).clipExtent([[f-.214*c+Uo,s+.166*c+Uo],[f-.115*c-Uo,s+.234*c-Uo]]).stream(l).point,n},n.scale(1070)};var Oa,Ia,Ya,Za,Va,Xa,$a={point:b,lineStart:b,lineEnd:b,polygonStart:function(){Ia=0,$a.lineStart=$t},polygonEnd:function(){$a.lineStart=$a.lineEnd=$a.point=b,Oa+=xo(Ia/2)}},Ba={point:Bt,lineStart:b,lineEnd:b,polygonStart:b,polygonEnd:b},Wa={point:Gt,lineStart:Kt,lineEnd:Qt,polygonStart:function(){Wa.lineStart=ne},polygonEnd:function(){Wa.point=Gt,Wa.lineStart=Kt,Wa.lineEnd=Qt}};ao.geo.path=function(){function n(n){return n&&("function"==typeof a&&u.pointRadius(+a.apply(this,arguments)),o&&o.valid||(o=i(u)),ao.geo.stream(n,o)),u.result()}function t(){return o=null,n}var e,r,i,u,o,a=4.5;return n.area=function(n){return Oa=0,ao.geo.stream(n,i($a)),Oa},n.centroid=function(n){return Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,i(Wa)),Ua?[Da/Ua,Pa/Ua]:Ra?[qa/Ra,Ta/Ra]:La?[Ca/La,za/La]:[NaN,NaN]},n.bounds=function(n){return Va=Xa=-(Ya=Za=1/0),ao.geo.stream(n,i(Ba)),[[Ya,Za],[Va,Xa]]},n.projection=function(n){return arguments.length?(i=(e=n)?n.stream||re(n):m,t()):e},n.context=function(n){return arguments.length?(u=null==(r=n)?new Wt:new te(n),"function"!=typeof a&&u.pointRadius(a),t()):r},n.pointRadius=function(t){return arguments.length?(a="function"==typeof t?t:(u.pointRadius(+t),+t),n):a},n.projection(ao.geo.albersUsa()).context(null)},ao.geo.transform=function(n){return{stream:function(t){var e=new ie(t);for(var r in n)e[r]=n[r];return e}}},ie.prototype={point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},ao.geo.projection=oe,ao.geo.projectionMutator=ae,(ao.geo.equirectangular=function(){return oe(ce)}).raw=ce.invert=ce,ao.geo.rotation=function(n){function t(t){return t=n(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t}return n=se(n[0]%360*Yo,n[1]*Yo,n.length>2?n[2]*Yo:0),t.invert=function(t){return t=n.invert(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t},t},fe.invert=ce,ao.geo.circle=function(){function n(){var n="function"==typeof r?r.apply(this,arguments):r,t=se(-n[0]*Yo,-n[1]*Yo,0).invert,i=[];return e(null,null,1,{point:function(n,e){i.push(n=t(n,e)),n[0]*=Zo,n[1]*=Zo}}),{type:"Polygon",coordinates:[i]}}var t,e,r=[0,0],i=6;return n.origin=function(t){return arguments.length?(r=t,n):r},n.angle=function(r){return arguments.length?(e=ve((t=+r)*Yo,i*Yo),n):t},n.precision=function(r){return arguments.length?(e=ve(t*Yo,(i=+r)*Yo),n):i},n.angle(90)},ao.geo.distance=function(n,t){var e,r=(t[0]-n[0])*Yo,i=n[1]*Yo,u=t[1]*Yo,o=Math.sin(r),a=Math.cos(r),l=Math.sin(i),c=Math.cos(i),f=Math.sin(u),s=Math.cos(u);return Math.atan2(Math.sqrt((e=s*o)*e+(e=c*f-l*s*a)*e),l*f+c*s*a)},ao.geo.graticule=function(){function n(){return{type:"MultiLineString",coordinates:t()}}function t(){return ao.range(Math.ceil(u/d)*d,i,d).map(h).concat(ao.range(Math.ceil(c/y)*y,l,y).map(p)).concat(ao.range(Math.ceil(r/g)*g,e,g).filter(function(n){return xo(n%d)>Uo}).map(f)).concat(ao.range(Math.ceil(a/v)*v,o,v).filter(function(n){return xo(n%y)>Uo}).map(s))}var e,r,i,u,o,a,l,c,f,s,h,p,g=10,v=g,d=90,y=360,m=2.5;return n.lines=function(){return t().map(function(n){return{type:"LineString",coordinates:n}})},n.outline=function(){return{type:"Polygon",coordinates:[h(u).concat(p(l).slice(1),h(i).reverse().slice(1),p(c).reverse().slice(1))]}},n.extent=function(t){return arguments.length?n.majorExtent(t).minorExtent(t):n.minorExtent()},n.majorExtent=function(t){return arguments.length?(u=+t[0][0],i=+t[1][0],c=+t[0][1],l=+t[1][1],u>i&&(t=u,u=i,i=t),c>l&&(t=c,c=l,l=t),n.precision(m)):[[u,c],[i,l]]},n.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],o=+t[1][1],r>e&&(t=r,r=e,e=t),a>o&&(t=a,a=o,o=t),n.precision(m)):[[r,a],[e,o]]},n.step=function(t){return arguments.length?n.majorStep(t).minorStep(t):n.minorStep()},n.majorStep=function(t){return arguments.length?(d=+t[0],y=+t[1],n):[d,y]},n.minorStep=function(t){return arguments.length?(g=+t[0],v=+t[1],n):[g,v]},n.precision=function(t){return arguments.length?(m=+t,f=ye(a,o,90),s=me(r,e,m),h=ye(c,l,90),p=me(u,i,m),n):m},n.majorExtent([[-180,-90+Uo],[180,90-Uo]]).minorExtent([[-180,-80-Uo],[180,80+Uo]])},ao.geo.greatArc=function(){function n(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),e||i.apply(this,arguments)]}}var t,e,r=Me,i=xe;return n.distance=function(){return ao.geo.distance(t||r.apply(this,arguments),e||i.apply(this,arguments))},n.source=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,n):r},n.target=function(t){return arguments.length?(i=t,e="function"==typeof t?null:t,n):i},n.precision=function(){return arguments.length?n:0},n},ao.geo.interpolate=function(n,t){return be(n[0]*Yo,n[1]*Yo,t[0]*Yo,t[1]*Yo)},ao.geo.length=function(n){return Ja=0,ao.geo.stream(n,Ga),Ja};var Ja,Ga={sphere:b,point:b,lineStart:_e,lineEnd:b,polygonStart:b,polygonEnd:b},Ka=we(function(n){return Math.sqrt(2/(1+n))},function(n){return 2*Math.asin(n/2)});(ao.geo.azimuthalEqualArea=function(){return oe(Ka)}).raw=Ka;var Qa=we(function(n){var t=Math.acos(n);return t&&t/Math.sin(t)},m);(ao.geo.azimuthalEquidistant=function(){return oe(Qa)}).raw=Qa,(ao.geo.conicConformal=function(){return Vt(Se)}).raw=Se,(ao.geo.conicEquidistant=function(){return Vt(ke)}).raw=ke;var nl=we(function(n){return 1/n},Math.atan);(ao.geo.gnomonic=function(){return oe(nl)}).raw=nl,Ne.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Io]},(ao.geo.mercator=function(){return Ee(Ne)}).raw=Ne;var tl=we(function(){return 1},Math.asin);(ao.geo.orthographic=function(){return oe(tl)}).raw=tl;var el=we(function(n){return 1/(1+n)},function(n){return 2*Math.atan(n)});(ao.geo.stereographic=function(){return oe(el)}).raw=el,Ae.invert=function(n,t){return[-t,2*Math.atan(Math.exp(n))-Io]},(ao.geo.transverseMercator=function(){var n=Ee(Ae),t=n.center,e=n.rotate;return n.center=function(n){return n?t([-n[1],n[0]]):(n=t(),[n[1],-n[0]])},n.rotate=function(n){return n?e([n[0],n[1],n.length>2?n[2]+90:90]):(n=e(),[n[0],n[1],n[2]-90])},e([0,0,90])}).raw=Ae,ao.geom={},ao.geom.hull=function(n){function t(n){if(n.length<3)return[];var t,i=En(e),u=En(r),o=n.length,a=[],l=[];for(t=0;o>t;t++)a.push([+i.call(this,n[t],t),+u.call(this,n[t],t),t]);for(a.sort(qe),t=0;o>t;t++)l.push([a[t][0],-a[t][1]]);var c=Le(a),f=Le(l),s=f[0]===c[0],h=f[f.length-1]===c[c.length-1],p=[];for(t=c.length-1;t>=0;--t)p.push(n[a[c[t]][2]]);for(t=+s;t=r&&c.x<=u&&c.y>=i&&c.y<=o?[[r,o],[u,o],[u,i],[r,i]]:[];f.point=n[a]}),t}function e(n){return n.map(function(n,t){return{x:Math.round(u(n,t)/Uo)*Uo,y:Math.round(o(n,t)/Uo)*Uo,i:t}})}var r=Ce,i=ze,u=r,o=i,a=sl;return n?t(n):(t.links=function(n){return ar(e(n)).edges.filter(function(n){return n.l&&n.r}).map(function(t){return{source:n[t.l.i],target:n[t.r.i]}})},t.triangles=function(n){var t=[];return ar(e(n)).cells.forEach(function(e,r){for(var i,u,o=e.site,a=e.edges.sort(Ve),l=-1,c=a.length,f=a[c-1].edge,s=f.l===o?f.r:f.l;++l=c,h=r>=f,p=h<<1|s;n.leaf=!1,n=n.nodes[p]||(n.nodes[p]=hr()),s?i=c:a=c,h?o=f:l=f,u(n,t,e,r,i,o,a,l)}var f,s,h,p,g,v,d,y,m,M=En(a),x=En(l);if(null!=t)v=t,d=e,y=r,m=i;else if(y=m=-(v=d=1/0),s=[],h=[],g=n.length,o)for(p=0;g>p;++p)f=n[p],f.xy&&(y=f.x),f.y>m&&(m=f.y),s.push(f.x),h.push(f.y);else for(p=0;g>p;++p){var b=+M(f=n[p],p),_=+x(f,p);v>b&&(v=b),d>_&&(d=_),b>y&&(y=b),_>m&&(m=_),s.push(b),h.push(_)}var w=y-v,S=m-d;w>S?m=d+w:y=v+S;var k=hr();if(k.add=function(n){u(k,n,+M(n,++p),+x(n,p),v,d,y,m)},k.visit=function(n){pr(n,k,v,d,y,m)},k.find=function(n){return gr(k,n[0],n[1],v,d,y,m)},p=-1,null==t){for(;++p=0?n.slice(0,t):n,r=t>=0?n.slice(t+1):"in";return e=vl.get(e)||gl,r=dl.get(r)||m,br(r(e.apply(null,lo.call(arguments,1))))},ao.interpolateHcl=Rr,ao.interpolateHsl=Dr,ao.interpolateLab=Pr,ao.interpolateRound=Ur,ao.transform=function(n){var t=fo.createElementNS(ao.ns.prefix.svg,"g");return(ao.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new jr(e?e.matrix:yl)})(n)},jr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var yl={a:1,b:0,c:0,d:1,e:0,f:0};ao.interpolateTransform=$r,ao.layout={},ao.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++ea*a/y){if(v>l){var c=t.charge/l;n.px-=u*c,n.py-=o*c}return!0}if(t.point&&l&&v>l){var c=t.pointCharge/l;n.px-=u*c,n.py-=o*c}}return!t.charge}}function t(n){n.px=ao.event.x,n.py=ao.event.y,l.resume()}var e,r,i,u,o,a,l={},c=ao.dispatch("start","tick","end"),f=[1,1],s=.9,h=ml,p=Ml,g=-30,v=xl,d=.1,y=.64,M=[],x=[];return l.tick=function(){if((i*=.99)<.005)return e=null,c.end({type:"end",alpha:i=0}),!0;var t,r,l,h,p,v,y,m,b,_=M.length,w=x.length;for(r=0;w>r;++r)l=x[r],h=l.source,p=l.target,m=p.x-h.x,b=p.y-h.y,(v=m*m+b*b)&&(v=i*o[r]*((v=Math.sqrt(v))-u[r])/v,m*=v,b*=v,p.x-=m*(y=h.weight+p.weight?h.weight/(h.weight+p.weight):.5),p.y-=b*y,h.x+=m*(y=1-y),h.y+=b*y);if((y=i*d)&&(m=f[0]/2,b=f[1]/2,r=-1,y))for(;++r<_;)l=M[r],l.x+=(m-l.x)*y,l.y+=(b-l.y)*y;if(g)for(ri(t=ao.geom.quadtree(M),i,a),r=-1;++r<_;)(l=M[r]).fixed||t.visit(n(l));for(r=-1;++r<_;)l=M[r],l.fixed?(l.x=l.px,l.y=l.py):(l.x-=(l.px-(l.px=l.x))*s,l.y-=(l.py-(l.py=l.y))*s);c.tick({type:"tick",alpha:i})},l.nodes=function(n){return arguments.length?(M=n,l):M},l.links=function(n){return arguments.length?(x=n,l):x},l.size=function(n){return arguments.length?(f=n,l):f},l.linkDistance=function(n){return arguments.length?(h="function"==typeof n?n:+n,l):h},l.distance=l.linkDistance,l.linkStrength=function(n){return arguments.length?(p="function"==typeof n?n:+n,l):p},l.friction=function(n){return arguments.length?(s=+n,l):s},l.charge=function(n){return arguments.length?(g="function"==typeof n?n:+n,l):g},l.chargeDistance=function(n){return arguments.length?(v=n*n,l):Math.sqrt(v)},l.gravity=function(n){return arguments.length?(d=+n,l):d},l.theta=function(n){return arguments.length?(y=n*n,l):Math.sqrt(y)},l.alpha=function(n){return arguments.length?(n=+n,i?n>0?i=n:(e.c=null,e.t=NaN,e=null,c.end({type:"end",alpha:i=0})):n>0&&(c.start({type:"start",alpha:i=n}),e=qn(l.tick)),l):i},l.start=function(){function n(n,r){if(!e){for(e=new Array(i),l=0;i>l;++l)e[l]=[];for(l=0;c>l;++l){var u=x[l];e[u.source.index].push(u.target),e[u.target.index].push(u.source)}}for(var o,a=e[t],l=-1,f=a.length;++lt;++t)(r=M[t]).index=t,r.weight=0;for(t=0;c>t;++t)r=x[t],"number"==typeof r.source&&(r.source=M[r.source]),"number"==typeof r.target&&(r.target=M[r.target]),++r.source.weight,++r.target.weight;for(t=0;i>t;++t)r=M[t],isNaN(r.x)&&(r.x=n("x",s)),isNaN(r.y)&&(r.y=n("y",v)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(u=[],"function"==typeof h)for(t=0;c>t;++t)u[t]=+h.call(this,x[t],t);else for(t=0;c>t;++t)u[t]=h;if(o=[],"function"==typeof p)for(t=0;c>t;++t)o[t]=+p.call(this,x[t],t);else for(t=0;c>t;++t)o[t]=p;if(a=[],"function"==typeof g)for(t=0;i>t;++t)a[t]=+g.call(this,M[t],t);else for(t=0;i>t;++t)a[t]=g;return l.resume()},l.resume=function(){return l.alpha(.1)},l.stop=function(){return l.alpha(0)},l.drag=function(){return r||(r=ao.behavior.drag().origin(m).on("dragstart.force",Qr).on("drag.force",t).on("dragend.force",ni)),arguments.length?void this.on("mouseover.force",ti).on("mouseout.force",ei).call(r):r},ao.rebind(l,c,"on")};var ml=20,Ml=1,xl=1/0;ao.layout.hierarchy=function(){function n(i){var u,o=[i],a=[];for(i.depth=0;null!=(u=o.pop());)if(a.push(u),(c=e.call(n,u,u.depth))&&(l=c.length)){for(var l,c,f;--l>=0;)o.push(f=c[l]),f.parent=u,f.depth=u.depth+1;r&&(u.value=0),u.children=c}else r&&(u.value=+r.call(n,u,u.depth)||0),delete u.children;return oi(i,function(n){var e,i;t&&(e=n.children)&&e.sort(t),r&&(i=n.parent)&&(i.value+=n.value)}),a}var t=ci,e=ai,r=li;return n.sort=function(e){return arguments.length?(t=e,n):t},n.children=function(t){return arguments.length?(e=t,n):e},n.value=function(t){return arguments.length?(r=t,n):r},n.revalue=function(t){return r&&(ui(t,function(n){n.children&&(n.value=0)}),oi(t,function(t){var e;t.children||(t.value=+r.call(n,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)})),t},n},ao.layout.partition=function(){function n(t,e,r,i){var u=t.children;if(t.x=e,t.y=t.depth*i,t.dx=r,t.dy=i,u&&(o=u.length)){var o,a,l,c=-1;for(r=t.value?r/t.value:0;++cs?-1:1),g=ao.sum(c),v=g?(s-l*p)/g:0,d=ao.range(l),y=[];return null!=e&&d.sort(e===bl?function(n,t){return c[t]-c[n]}:function(n,t){return e(o[n],o[t])}),d.forEach(function(n){y[n]={data:o[n],value:a=c[n],startAngle:f,endAngle:f+=a*v+p,padAngle:h}}),y}var t=Number,e=bl,r=0,i=Ho,u=0;return n.value=function(e){return arguments.length?(t=e,n):t},n.sort=function(t){return arguments.length?(e=t,n):e},n.startAngle=function(t){return arguments.length?(r=t,n):r},n.endAngle=function(t){return arguments.length?(i=t,n):i},n.padAngle=function(t){return arguments.length?(u=t,n):u},n};var bl={};ao.layout.stack=function(){function n(a,l){if(!(h=a.length))return a;var c=a.map(function(e,r){return t.call(n,e,r)}),f=c.map(function(t){return t.map(function(t,e){return[u.call(n,t,e),o.call(n,t,e)]})}),s=e.call(n,f,l);c=ao.permute(c,s),f=ao.permute(f,s);var h,p,g,v,d=r.call(n,f,l),y=c[0].length;for(g=0;y>g;++g)for(i.call(n,c[0][g],v=d[g],f[0][g][1]),p=1;h>p;++p)i.call(n,c[p][g],v+=f[p-1][g][1],f[p][g][1]);return a}var t=m,e=gi,r=vi,i=pi,u=si,o=hi;return n.values=function(e){return arguments.length?(t=e,n):t},n.order=function(t){return arguments.length?(e="function"==typeof t?t:_l.get(t)||gi,n):e},n.offset=function(t){return arguments.length?(r="function"==typeof t?t:wl.get(t)||vi,n):r},n.x=function(t){return arguments.length?(u=t,n):u},n.y=function(t){return arguments.length?(o=t,n):o},n.out=function(t){return arguments.length?(i=t,n):i},n};var _l=ao.map({"inside-out":function(n){var t,e,r=n.length,i=n.map(di),u=n.map(yi),o=ao.range(r).sort(function(n,t){return i[n]-i[t]}),a=0,l=0,c=[],f=[];for(t=0;r>t;++t)e=o[t],l>a?(a+=u[e],c.push(e)):(l+=u[e],f.push(e));return f.reverse().concat(c)},reverse:function(n){return ao.range(n.length).reverse()},"default":gi}),wl=ao.map({silhouette:function(n){var t,e,r,i=n.length,u=n[0].length,o=[],a=0,l=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];r>a&&(a=r),o.push(r)}for(e=0;u>e;++e)l[e]=(a-o[e])/2;return l},wiggle:function(n){var t,e,r,i,u,o,a,l,c,f=n.length,s=n[0],h=s.length,p=[];for(p[0]=l=c=0,e=1;h>e;++e){for(t=0,i=0;f>t;++t)i+=n[t][e][1];for(t=0,u=0,a=s[e][0]-s[e-1][0];f>t;++t){for(r=0,o=(n[t][e][1]-n[t][e-1][1])/(2*a);t>r;++r)o+=(n[r][e][1]-n[r][e-1][1])/a;u+=o*n[t][e][1]}p[e]=l-=i?u/i*a:0,c>l&&(c=l)}for(e=0;h>e;++e)p[e]-=c;return p},expand:function(n){var t,e,r,i=n.length,u=n[0].length,o=1/i,a=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];if(r)for(t=0;i>t;t++)n[t][e][1]/=r;else for(t=0;i>t;t++)n[t][e][1]=o}for(e=0;u>e;++e)a[e]=0;return a},zero:vi});ao.layout.histogram=function(){function n(n,u){for(var o,a,l=[],c=n.map(e,this),f=r.call(this,c,u),s=i.call(this,f,c,u),u=-1,h=c.length,p=s.length-1,g=t?1:1/h;++u0)for(u=-1;++u=f[0]&&a<=f[1]&&(o=l[ao.bisect(s,a,1,p)-1],o.y+=g,o.push(n[u]));return l}var t=!0,e=Number,r=bi,i=Mi;return n.value=function(t){return arguments.length?(e=t,n):e},n.range=function(t){return arguments.length?(r=En(t),n):r},n.bins=function(t){return arguments.length?(i="number"==typeof t?function(n){return xi(n,t)}:En(t),n):i},n.frequency=function(e){return arguments.length?(t=!!e,n):t},n},ao.layout.pack=function(){function n(n,u){var o=e.call(this,n,u),a=o[0],l=i[0],c=i[1],f=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(a.x=a.y=0,oi(a,function(n){n.r=+f(n.value)}),oi(a,Ni),r){var s=r*(t?1:Math.max(2*a.r/l,2*a.r/c))/2;oi(a,function(n){n.r+=s}),oi(a,Ni),oi(a,function(n){n.r-=s})}return Ci(a,l/2,c/2,t?1:1/Math.max(2*a.r/l,2*a.r/c)),o}var t,e=ao.layout.hierarchy().sort(_i),r=0,i=[1,1];return n.size=function(t){return arguments.length?(i=t,n):i},n.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,n):t},n.padding=function(t){return arguments.length?(r=+t,n):r},ii(n,e)},ao.layout.tree=function(){function n(n,i){var f=o.call(this,n,i),s=f[0],h=t(s);if(oi(h,e),h.parent.m=-h.z,ui(h,r),c)ui(s,u);else{var p=s,g=s,v=s;ui(s,function(n){n.xg.x&&(g=n),n.depth>v.depth&&(v=n)});var d=a(p,g)/2-p.x,y=l[0]/(g.x+a(g,p)/2+d),m=l[1]/(v.depth||1);ui(s,function(n){n.x=(n.x+d)*y,n.y=n.depth*m})}return f}function t(n){for(var t,e={A:null,children:[n]},r=[e];null!=(t=r.pop());)for(var i,u=t.children,o=0,a=u.length;a>o;++o)r.push((u[o]=i={_:u[o],parent:t,children:(i=u[o].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=i);return e.children[0]}function e(n){var t=n.children,e=n.parent.children,r=n.i?e[n.i-1]:null;if(t.length){Di(n);var u=(t[0].z+t[t.length-1].z)/2;r?(n.z=r.z+a(n._,r._),n.m=n.z-u):n.z=u}else r&&(n.z=r.z+a(n._,r._));n.parent.A=i(n,r,n.parent.A||e[0])}function r(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function i(n,t,e){if(t){for(var r,i=n,u=n,o=t,l=i.parent.children[0],c=i.m,f=u.m,s=o.m,h=l.m;o=Ti(o),i=qi(i),o&&i;)l=qi(l),u=Ti(u),u.a=n,r=o.z+s-i.z-c+a(o._,i._),r>0&&(Ri(Pi(o,n,e),n,r),c+=r,f+=r),s+=o.m,c+=i.m,h+=l.m,f+=u.m;o&&!Ti(u)&&(u.t=o,u.m+=s-f),i&&!qi(l)&&(l.t=i,l.m+=c-h,e=n)}return e}function u(n){n.x*=l[0],n.y=n.depth*l[1]}var o=ao.layout.hierarchy().sort(null).value(null),a=Li,l=[1,1],c=null;return n.separation=function(t){return arguments.length?(a=t,n):a},n.size=function(t){return arguments.length?(c=null==(l=t)?u:null,n):c?null:l},n.nodeSize=function(t){return arguments.length?(c=null==(l=t)?null:u,n):c?l:null},ii(n,o)},ao.layout.cluster=function(){function n(n,u){var o,a=t.call(this,n,u),l=a[0],c=0;oi(l,function(n){var t=n.children;t&&t.length?(n.x=ji(t),n.y=Ui(t)):(n.x=o?c+=e(n,o):0,n.y=0,o=n)});var f=Fi(l),s=Hi(l),h=f.x-e(f,s)/2,p=s.x+e(s,f)/2;return oi(l,i?function(n){n.x=(n.x-l.x)*r[0],n.y=(l.y-n.y)*r[1]}:function(n){n.x=(n.x-h)/(p-h)*r[0],n.y=(1-(l.y?n.y/l.y:1))*r[1]}),a}var t=ao.layout.hierarchy().sort(null).value(null),e=Li,r=[1,1],i=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(i=null==(r=t),n):i?null:r},n.nodeSize=function(t){return arguments.length?(i=null!=(r=t),n):i?r:null},ii(n,t)},ao.layout.treemap=function(){function n(n,t){for(var e,r,i=-1,u=n.length;++it?0:t),e.area=isNaN(r)||0>=r?0:r}function t(e){var u=e.children;if(u&&u.length){var o,a,l,c=s(e),f=[],h=u.slice(),g=1/0,v="slice"===p?c.dx:"dice"===p?c.dy:"slice-dice"===p?1&e.depth?c.dy:c.dx:Math.min(c.dx,c.dy);for(n(h,c.dx*c.dy/e.value),f.area=0;(l=h.length)>0;)f.push(o=h[l-1]),f.area+=o.area,"squarify"!==p||(a=r(f,v))<=g?(h.pop(),g=a):(f.area-=f.pop().area,i(f,v,c,!1),v=Math.min(c.dx,c.dy),f.length=f.area=0,g=1/0);f.length&&(i(f,v,c,!0),f.length=f.area=0),u.forEach(t)}}function e(t){var r=t.children;if(r&&r.length){var u,o=s(t),a=r.slice(),l=[];for(n(a,o.dx*o.dy/t.value),l.area=0;u=a.pop();)l.push(u),l.area+=u.area,null!=u.z&&(i(l,u.z?o.dx:o.dy,o,!a.length),l.length=l.area=0);r.forEach(e)}}function r(n,t){for(var e,r=n.area,i=0,u=1/0,o=-1,a=n.length;++oe&&(u=e),e>i&&(i=e));return r*=r,t*=t,r?Math.max(t*i*g/r,r/(t*u*g)):1/0}function i(n,t,e,r){var i,u=-1,o=n.length,a=e.x,c=e.y,f=t?l(n.area/t):0; +if(t==e.dx){for((r||f>e.dy)&&(f=e.dy);++ue.dx)&&(f=e.dx);++ue&&(t=1),1>e&&(n=0),function(){var e,r,i;do e=2*Math.random()-1,r=2*Math.random()-1,i=e*e+r*r;while(!i||i>1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var n=ao.random.normal.apply(ao,arguments);return function(){return Math.exp(n())}},bates:function(n){var t=ao.random.irwinHall(n);return function(){return t()/n}},irwinHall:function(n){return function(){for(var t=0,e=0;n>e;e++)t+=Math.random();return t}}},ao.scale={};var Sl={floor:m,ceil:m};ao.scale.linear=function(){return Wi([0,1],[0,1],Mr,!1)};var kl={s:1,g:1,p:1,r:1,e:1};ao.scale.log=function(){return ru(ao.scale.linear().domain([0,1]),10,!0,[1,10])};var Nl=ao.format(".0e"),El={floor:function(n){return-Math.ceil(-n)},ceil:function(n){return-Math.floor(-n)}};ao.scale.pow=function(){return iu(ao.scale.linear(),1,[0,1])},ao.scale.sqrt=function(){return ao.scale.pow().exponent(.5)},ao.scale.ordinal=function(){return ou([],{t:"range",a:[[]]})},ao.scale.category10=function(){return ao.scale.ordinal().range(Al)},ao.scale.category20=function(){return ao.scale.ordinal().range(Cl)},ao.scale.category20b=function(){return ao.scale.ordinal().range(zl)},ao.scale.category20c=function(){return ao.scale.ordinal().range(Ll)};var Al=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(xn),Cl=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(xn),zl=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(xn),Ll=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(xn);ao.scale.quantile=function(){return au([],[])},ao.scale.quantize=function(){return lu(0,1,[0,1])},ao.scale.threshold=function(){return cu([.5],[0,1])},ao.scale.identity=function(){return fu([0,1])},ao.svg={},ao.svg.arc=function(){function n(){var n=Math.max(0,+e.apply(this,arguments)),c=Math.max(0,+r.apply(this,arguments)),f=o.apply(this,arguments)-Io,s=a.apply(this,arguments)-Io,h=Math.abs(s-f),p=f>s?0:1;if(n>c&&(g=c,c=n,n=g),h>=Oo)return t(c,p)+(n?t(n,1-p):"")+"Z";var g,v,d,y,m,M,x,b,_,w,S,k,N=0,E=0,A=[];if((y=(+l.apply(this,arguments)||0)/2)&&(d=u===ql?Math.sqrt(n*n+c*c):+u.apply(this,arguments),p||(E*=-1),c&&(E=tn(d/c*Math.sin(y))),n&&(N=tn(d/n*Math.sin(y)))),c){m=c*Math.cos(f+E),M=c*Math.sin(f+E),x=c*Math.cos(s-E),b=c*Math.sin(s-E);var C=Math.abs(s-f-2*E)<=Fo?0:1;if(E&&yu(m,M,x,b)===p^C){var z=(f+s)/2;m=c*Math.cos(z),M=c*Math.sin(z),x=b=null}}else m=M=0;if(n){_=n*Math.cos(s-N),w=n*Math.sin(s-N),S=n*Math.cos(f+N),k=n*Math.sin(f+N);var L=Math.abs(f-s+2*N)<=Fo?0:1;if(N&&yu(_,w,S,k)===1-p^L){var q=(f+s)/2;_=n*Math.cos(q),w=n*Math.sin(q),S=k=null}}else _=w=0;if(h>Uo&&(g=Math.min(Math.abs(c-n)/2,+i.apply(this,arguments)))>.001){v=c>n^p?0:1;var T=g,R=g;if(Fo>h){var D=null==S?[_,w]:null==x?[m,M]:Re([m,M],[S,k],[x,b],[_,w]),P=m-D[0],U=M-D[1],j=x-D[0],F=b-D[1],H=1/Math.sin(Math.acos((P*j+U*F)/(Math.sqrt(P*P+U*U)*Math.sqrt(j*j+F*F)))/2),O=Math.sqrt(D[0]*D[0]+D[1]*D[1]);R=Math.min(g,(n-O)/(H-1)),T=Math.min(g,(c-O)/(H+1))}if(null!=x){var I=mu(null==S?[_,w]:[S,k],[m,M],c,T,p),Y=mu([x,b],[_,w],c,T,p);g===T?A.push("M",I[0],"A",T,",",T," 0 0,",v," ",I[1],"A",c,",",c," 0 ",1-p^yu(I[1][0],I[1][1],Y[1][0],Y[1][1]),",",p," ",Y[1],"A",T,",",T," 0 0,",v," ",Y[0]):A.push("M",I[0],"A",T,",",T," 0 1,",v," ",Y[0])}else A.push("M",m,",",M);if(null!=S){var Z=mu([m,M],[S,k],n,-R,p),V=mu([_,w],null==x?[m,M]:[x,b],n,-R,p);g===R?A.push("L",V[0],"A",R,",",R," 0 0,",v," ",V[1],"A",n,",",n," 0 ",p^yu(V[1][0],V[1][1],Z[1][0],Z[1][1]),",",1-p," ",Z[1],"A",R,",",R," 0 0,",v," ",Z[0]):A.push("L",V[0],"A",R,",",R," 0 0,",v," ",Z[0])}else A.push("L",_,",",w)}else A.push("M",m,",",M),null!=x&&A.push("A",c,",",c," 0 ",C,",",p," ",x,",",b),A.push("L",_,",",w),null!=S&&A.push("A",n,",",n," 0 ",L,",",1-p," ",S,",",k);return A.push("Z"),A.join("")}function t(n,t){return"M0,"+n+"A"+n+","+n+" 0 1,"+t+" 0,"+-n+"A"+n+","+n+" 0 1,"+t+" 0,"+n}var e=hu,r=pu,i=su,u=ql,o=gu,a=vu,l=du;return n.innerRadius=function(t){return arguments.length?(e=En(t),n):e},n.outerRadius=function(t){return arguments.length?(r=En(t),n):r},n.cornerRadius=function(t){return arguments.length?(i=En(t),n):i},n.padRadius=function(t){return arguments.length?(u=t==ql?ql:En(t),n):u},n.startAngle=function(t){return arguments.length?(o=En(t),n):o},n.endAngle=function(t){return arguments.length?(a=En(t),n):a},n.padAngle=function(t){return arguments.length?(l=En(t),n):l},n.centroid=function(){var n=(+e.apply(this,arguments)+ +r.apply(this,arguments))/2,t=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-Io;return[Math.cos(t)*n,Math.sin(t)*n]},n};var ql="auto";ao.svg.line=function(){return Mu(m)};var Tl=ao.map({linear:xu,"linear-closed":bu,step:_u,"step-before":wu,"step-after":Su,basis:zu,"basis-open":Lu,"basis-closed":qu,bundle:Tu,cardinal:Eu,"cardinal-open":ku,"cardinal-closed":Nu,monotone:Fu});Tl.forEach(function(n,t){t.key=n,t.closed=/-closed$/.test(n)});var Rl=[0,2/3,1/3,0],Dl=[0,1/3,2/3,0],Pl=[0,1/6,2/3,1/6];ao.svg.line.radial=function(){var n=Mu(Hu);return n.radius=n.x,delete n.x,n.angle=n.y,delete n.y,n},wu.reverse=Su,Su.reverse=wu,ao.svg.area=function(){return Ou(m)},ao.svg.area.radial=function(){var n=Ou(Hu);return n.radius=n.x,delete n.x,n.innerRadius=n.x0,delete n.x0,n.outerRadius=n.x1,delete n.x1,n.angle=n.y,delete n.y,n.startAngle=n.y0,delete n.y0,n.endAngle=n.y1,delete n.y1,n},ao.svg.chord=function(){function n(n,a){var l=t(this,u,n,a),c=t(this,o,n,a);return"M"+l.p0+r(l.r,l.p1,l.a1-l.a0)+(e(l,c)?i(l.r,l.p1,l.r,l.p0):i(l.r,l.p1,c.r,c.p0)+r(c.r,c.p1,c.a1-c.a0)+i(c.r,c.p1,l.r,l.p0))+"Z"}function t(n,t,e,r){var i=t.call(n,e,r),u=a.call(n,i,r),o=l.call(n,i,r)-Io,f=c.call(n,i,r)-Io;return{r:u,a0:o,a1:f,p0:[u*Math.cos(o),u*Math.sin(o)],p1:[u*Math.cos(f),u*Math.sin(f)]}}function e(n,t){return n.a0==t.a0&&n.a1==t.a1}function r(n,t,e){return"A"+n+","+n+" 0 "+ +(e>Fo)+",1 "+t}function i(n,t,e,r){return"Q 0,0 "+r}var u=Me,o=xe,a=Iu,l=gu,c=vu;return n.radius=function(t){return arguments.length?(a=En(t),n):a},n.source=function(t){return arguments.length?(u=En(t),n):u},n.target=function(t){return arguments.length?(o=En(t),n):o},n.startAngle=function(t){return arguments.length?(l=En(t),n):l},n.endAngle=function(t){return arguments.length?(c=En(t),n):c},n},ao.svg.diagonal=function(){function n(n,i){var u=t.call(this,n,i),o=e.call(this,n,i),a=(u.y+o.y)/2,l=[u,{x:u.x,y:a},{x:o.x,y:a},o];return l=l.map(r),"M"+l[0]+"C"+l[1]+" "+l[2]+" "+l[3]}var t=Me,e=xe,r=Yu;return n.source=function(e){return arguments.length?(t=En(e),n):t},n.target=function(t){return arguments.length?(e=En(t),n):e},n.projection=function(t){return arguments.length?(r=t,n):r},n},ao.svg.diagonal.radial=function(){var n=ao.svg.diagonal(),t=Yu,e=n.projection;return n.projection=function(n){return arguments.length?e(Zu(t=n)):t},n},ao.svg.symbol=function(){function n(n,r){return(Ul.get(t.call(this,n,r))||$u)(e.call(this,n,r))}var t=Xu,e=Vu;return n.type=function(e){return arguments.length?(t=En(e),n):t},n.size=function(t){return arguments.length?(e=En(t),n):e},n};var Ul=ao.map({circle:$u,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*Fl)),e=t*Fl;return"M0,"+-t+"L"+e+",0 0,"+t+" "+-e+",0Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}});ao.svg.symbolTypes=Ul.keys();var jl=Math.sqrt(3),Fl=Math.tan(30*Yo);Co.transition=function(n){for(var t,e,r=Hl||++Zl,i=Ku(n),u=[],o=Ol||{time:Date.now(),ease:Nr,delay:0,duration:250},a=-1,l=this.length;++au;u++){i.push(t=[]);for(var e=this[u],a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return Wu(i,this.namespace,this.id)},Yl.tween=function(n,t){var e=this.id,r=this.namespace;return arguments.length<2?this.node()[r][e].tween.get(n):Y(this,null==t?function(t){t[r][e].tween.remove(n)}:function(i){i[r][e].tween.set(n,t)})},Yl.attr=function(n,t){function e(){this.removeAttribute(a)}function r(){this.removeAttributeNS(a.space,a.local)}function i(n){return null==n?e:(n+="",function(){var t,e=this.getAttribute(a);return e!==n&&(t=o(e,n),function(n){this.setAttribute(a,t(n))})})}function u(n){return null==n?r:(n+="",function(){var t,e=this.getAttributeNS(a.space,a.local);return e!==n&&(t=o(e,n),function(n){this.setAttributeNS(a.space,a.local,t(n))})})}if(arguments.length<2){for(t in n)this.attr(t,n[t]);return this}var o="transform"==n?$r:Mr,a=ao.ns.qualify(n);return Ju(this,"attr."+n,t,a.local?u:i)},Yl.attrTween=function(n,t){function e(n,e){var r=t.call(this,n,e,this.getAttribute(i));return r&&function(n){this.setAttribute(i,r(n))}}function r(n,e){var r=t.call(this,n,e,this.getAttributeNS(i.space,i.local));return r&&function(n){this.setAttributeNS(i.space,i.local,r(n))}}var i=ao.ns.qualify(n);return this.tween("attr."+n,i.local?r:e)},Yl.style=function(n,e,r){function i(){this.style.removeProperty(n)}function u(e){return null==e?i:(e+="",function(){var i,u=t(this).getComputedStyle(this,null).getPropertyValue(n);return u!==e&&(i=Mr(u,e),function(t){this.style.setProperty(n,i(t),r)})})}var o=arguments.length;if(3>o){if("string"!=typeof n){2>o&&(e="");for(r in n)this.style(r,n[r],e);return this}r=""}return Ju(this,"style."+n,e,u)},Yl.styleTween=function(n,e,r){function i(i,u){var o=e.call(this,i,u,t(this).getComputedStyle(this,null).getPropertyValue(n));return o&&function(t){this.style.setProperty(n,o(t),r)}}return arguments.length<3&&(r=""),this.tween("style."+n,i)},Yl.text=function(n){return Ju(this,"text",n,Gu)},Yl.remove=function(){var n=this.namespace;return this.each("end.transition",function(){var t;this[n].count<2&&(t=this.parentNode)&&t.removeChild(this)})},Yl.ease=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].ease:("function"!=typeof n&&(n=ao.ease.apply(ao,arguments)),Y(this,function(r){r[e][t].ease=n}))},Yl.delay=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].delay:Y(this,"function"==typeof n?function(r,i,u){r[e][t].delay=+n.call(r,r.__data__,i,u)}:(n=+n,function(r){r[e][t].delay=n}))},Yl.duration=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].duration:Y(this,"function"==typeof n?function(r,i,u){r[e][t].duration=Math.max(1,n.call(r,r.__data__,i,u))}:(n=Math.max(1,n),function(r){r[e][t].duration=n}))},Yl.each=function(n,t){var e=this.id,r=this.namespace;if(arguments.length<2){var i=Ol,u=Hl;try{Hl=e,Y(this,function(t,i,u){Ol=t[r][e],n.call(t,t.__data__,i,u)})}finally{Ol=i,Hl=u}}else Y(this,function(i){var u=i[r][e];(u.event||(u.event=ao.dispatch("start","end","interrupt"))).on(n,t)});return this},Yl.transition=function(){for(var n,t,e,r,i=this.id,u=++Zl,o=this.namespace,a=[],l=0,c=this.length;c>l;l++){a.push(n=[]);for(var t=this[l],f=0,s=t.length;s>f;f++)(e=t[f])&&(r=e[o][i],Qu(e,f,o,u,{time:r.time,ease:r.ease,delay:r.delay+r.duration,duration:r.duration})),n.push(e)}return Wu(a,o,u)},ao.svg.axis=function(){function n(n){n.each(function(){var n,c=ao.select(this),f=this.__chart__||e,s=this.__chart__=e.copy(),h=null==l?s.ticks?s.ticks.apply(s,a):s.domain():l,p=null==t?s.tickFormat?s.tickFormat.apply(s,a):m:t,g=c.selectAll(".tick").data(h,s),v=g.enter().insert("g",".domain").attr("class","tick").style("opacity",Uo),d=ao.transition(g.exit()).style("opacity",Uo).remove(),y=ao.transition(g.order()).style("opacity",1),M=Math.max(i,0)+o,x=Zi(s),b=c.selectAll(".domain").data([0]),_=(b.enter().append("path").attr("class","domain"),ao.transition(b));v.append("line"),v.append("text");var w,S,k,N,E=v.select("line"),A=y.select("line"),C=g.select("text").text(p),z=v.select("text"),L=y.select("text"),q="top"===r||"left"===r?-1:1;if("bottom"===r||"top"===r?(n=no,w="x",k="y",S="x2",N="y2",C.attr("dy",0>q?"0em":".71em").style("text-anchor","middle"),_.attr("d","M"+x[0]+","+q*u+"V0H"+x[1]+"V"+q*u)):(n=to,w="y",k="x",S="y2",N="x2",C.attr("dy",".32em").style("text-anchor",0>q?"end":"start"),_.attr("d","M"+q*u+","+x[0]+"H0V"+x[1]+"H"+q*u)),E.attr(N,q*i),z.attr(k,q*M),A.attr(S,0).attr(N,q*i),L.attr(w,0).attr(k,q*M),s.rangeBand){var T=s,R=T.rangeBand()/2;f=s=function(n){return T(n)+R}}else f.rangeBand?f=s:d.call(n,s,f);v.call(n,f,s),y.call(n,s,s)})}var t,e=ao.scale.linear(),r=Vl,i=6,u=6,o=3,a=[10],l=null;return n.scale=function(t){return arguments.length?(e=t,n):e},n.orient=function(t){return arguments.length?(r=t in Xl?t+"":Vl,n):r},n.ticks=function(){return arguments.length?(a=co(arguments),n):a},n.tickValues=function(t){return arguments.length?(l=t,n):l},n.tickFormat=function(e){return arguments.length?(t=e,n):t},n.tickSize=function(t){var e=arguments.length;return e?(i=+t,u=+arguments[e-1],n):i},n.innerTickSize=function(t){return arguments.length?(i=+t,n):i},n.outerTickSize=function(t){return arguments.length?(u=+t,n):u},n.tickPadding=function(t){return arguments.length?(o=+t,n):o},n.tickSubdivide=function(){return arguments.length&&n},n};var Vl="bottom",Xl={top:1,right:1,bottom:1,left:1};ao.svg.brush=function(){function n(t){t.each(function(){var t=ao.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",u).on("touchstart.brush",u),o=t.selectAll(".background").data([0]);o.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),t.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var a=t.selectAll(".resize").data(v,m);a.exit().remove(),a.enter().append("g").attr("class",function(n){return"resize "+n}).style("cursor",function(n){return $l[n]}).append("rect").attr("x",function(n){return/[ew]$/.test(n)?-3:null}).attr("y",function(n){return/^[ns]/.test(n)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),a.style("display",n.empty()?"none":null);var l,s=ao.transition(t),h=ao.transition(o);c&&(l=Zi(c),h.attr("x",l[0]).attr("width",l[1]-l[0]),r(s)),f&&(l=Zi(f),h.attr("y",l[0]).attr("height",l[1]-l[0]),i(s)),e(s)})}function e(n){n.selectAll(".resize").attr("transform",function(n){return"translate("+s[+/e$/.test(n)]+","+h[+/^s/.test(n)]+")"})}function r(n){n.select(".extent").attr("x",s[0]),n.selectAll(".extent,.n>rect,.s>rect").attr("width",s[1]-s[0])}function i(n){n.select(".extent").attr("y",h[0]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",h[1]-h[0])}function u(){function u(){32==ao.event.keyCode&&(C||(M=null,L[0]-=s[1],L[1]-=h[1],C=2),S())}function v(){32==ao.event.keyCode&&2==C&&(L[0]+=s[1],L[1]+=h[1],C=0,S())}function d(){var n=ao.mouse(b),t=!1;x&&(n[0]+=x[0],n[1]+=x[1]),C||(ao.event.altKey?(M||(M=[(s[0]+s[1])/2,(h[0]+h[1])/2]),L[0]=s[+(n[0]f?(i=r,r=f):i=f),v[0]!=r||v[1]!=i?(e?a=null:o=null,v[0]=r,v[1]=i,!0):void 0}function m(){d(),k.style("pointer-events","all").selectAll(".resize").style("display",n.empty()?"none":null),ao.select("body").style("cursor",null),q.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),z(),w({type:"brushend"})}var M,x,b=this,_=ao.select(ao.event.target),w=l.of(b,arguments),k=ao.select(b),N=_.datum(),E=!/^(n|s)$/.test(N)&&c,A=!/^(e|w)$/.test(N)&&f,C=_.classed("extent"),z=W(b),L=ao.mouse(b),q=ao.select(t(b)).on("keydown.brush",u).on("keyup.brush",v);if(ao.event.changedTouches?q.on("touchmove.brush",d).on("touchend.brush",m):q.on("mousemove.brush",d).on("mouseup.brush",m),k.interrupt().selectAll("*").interrupt(),C)L[0]=s[0]-L[0],L[1]=h[0]-L[1];else if(N){var T=+/w$/.test(N),R=+/^n/.test(N);x=[s[1-T]-L[0],h[1-R]-L[1]],L[0]=s[T],L[1]=h[R]}else ao.event.altKey&&(M=L.slice());k.style("pointer-events","none").selectAll(".resize").style("display",null),ao.select("body").style("cursor",_.style("cursor")),w({type:"brushstart"}),d()}var o,a,l=N(n,"brushstart","brush","brushend"),c=null,f=null,s=[0,0],h=[0,0],p=!0,g=!0,v=Bl[0];return n.event=function(n){n.each(function(){var n=l.of(this,arguments),t={x:s,y:h,i:o,j:a},e=this.__chart__||t;this.__chart__=t,Hl?ao.select(this).transition().each("start.brush",function(){o=e.i,a=e.j,s=e.x,h=e.y,n({type:"brushstart"})}).tween("brush:brush",function(){var e=xr(s,t.x),r=xr(h,t.y);return o=a=null,function(i){s=t.x=e(i),h=t.y=r(i),n({type:"brush",mode:"resize"})}}).each("end.brush",function(){o=t.i,a=t.j,n({type:"brush",mode:"resize"}),n({type:"brushend"})}):(n({type:"brushstart"}),n({type:"brush",mode:"resize"}),n({type:"brushend"}))})},n.x=function(t){return arguments.length?(c=t,v=Bl[!c<<1|!f],n):c},n.y=function(t){return arguments.length?(f=t,v=Bl[!c<<1|!f],n):f},n.clamp=function(t){return arguments.length?(c&&f?(p=!!t[0],g=!!t[1]):c?p=!!t:f&&(g=!!t),n):c&&f?[p,g]:c?p:f?g:null},n.extent=function(t){var e,r,i,u,l;return arguments.length?(c&&(e=t[0],r=t[1],f&&(e=e[0],r=r[0]),o=[e,r],c.invert&&(e=c(e),r=c(r)),e>r&&(l=e,e=r,r=l),e==s[0]&&r==s[1]||(s=[e,r])),f&&(i=t[0],u=t[1],c&&(i=i[1],u=u[1]),a=[i,u],f.invert&&(i=f(i),u=f(u)),i>u&&(l=i,i=u,u=l),i==h[0]&&u==h[1]||(h=[i,u])),n):(c&&(o?(e=o[0],r=o[1]):(e=s[0],r=s[1],c.invert&&(e=c.invert(e),r=c.invert(r)),e>r&&(l=e,e=r,r=l))),f&&(a?(i=a[0],u=a[1]):(i=h[0],u=h[1],f.invert&&(i=f.invert(i),u=f.invert(u)),i>u&&(l=i,i=u,u=l))),c&&f?[[e,i],[r,u]]:c?[e,r]:f&&[i,u])},n.clear=function(){return n.empty()||(s=[0,0],h=[0,0],o=a=null),n},n.empty=function(){return!!c&&s[0]==s[1]||!!f&&h[0]==h[1]},ao.rebind(n,l,"on")};var $l={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Bl=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Wl=ga.format=xa.timeFormat,Jl=Wl.utc,Gl=Jl("%Y-%m-%dT%H:%M:%S.%LZ");Wl.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?eo:Gl,eo.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},eo.toString=Gl.toString,ga.second=On(function(n){return new va(1e3*Math.floor(n/1e3))},function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))},function(n){return n.getSeconds()}),ga.seconds=ga.second.range,ga.seconds.utc=ga.second.utc.range,ga.minute=On(function(n){return new va(6e4*Math.floor(n/6e4))},function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))},function(n){return n.getMinutes()}),ga.minutes=ga.minute.range,ga.minutes.utc=ga.minute.utc.range,ga.hour=On(function(n){var t=n.getTimezoneOffset()/60;return new va(36e5*(Math.floor(n/36e5-t)+t))},function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))},function(n){return n.getHours()}),ga.hours=ga.hour.range,ga.hours.utc=ga.hour.utc.range,ga.month=On(function(n){return n=ga.day(n),n.setDate(1),n},function(n,t){n.setMonth(n.getMonth()+t)},function(n){return n.getMonth()}),ga.months=ga.month.range,ga.months.utc=ga.month.utc.range;var Kl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Ql=[[ga.second,1],[ga.second,5],[ga.second,15],[ga.second,30],[ga.minute,1],[ga.minute,5],[ga.minute,15],[ga.minute,30],[ga.hour,1],[ga.hour,3],[ga.hour,6],[ga.hour,12],[ga.day,1],[ga.day,2],[ga.week,1],[ga.month,1],[ga.month,3],[ga.year,1]],nc=Wl.multi([[".%L",function(n){return n.getMilliseconds()}],[":%S",function(n){return n.getSeconds()}],["%I:%M",function(n){return n.getMinutes()}],["%I %p",function(n){return n.getHours()}],["%a %d",function(n){return n.getDay()&&1!=n.getDate()}],["%b %d",function(n){return 1!=n.getDate()}],["%B",function(n){return n.getMonth()}],["%Y",zt]]),tc={range:function(n,t,e){return ao.range(Math.ceil(n/e)*e,+t,e).map(io)},floor:m,ceil:m};Ql.year=ga.year,ga.scale=function(){return ro(ao.scale.linear(),Ql,nc)};var ec=Ql.map(function(n){return[n[0].utc,n[1]]}),rc=Jl.multi([[".%L",function(n){return n.getUTCMilliseconds()}],[":%S",function(n){return n.getUTCSeconds()}],["%I:%M",function(n){return n.getUTCMinutes()}],["%I %p",function(n){return n.getUTCHours()}],["%a %d",function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],["%b %d",function(n){return 1!=n.getUTCDate()}],["%B",function(n){return n.getUTCMonth()}],["%Y",zt]]);ec.year=ga.year.utc,ga.scale.utc=function(){return ro(ao.scale.linear(),ec,rc)},ao.text=An(function(n){return n.responseText}),ao.json=function(n,t){return Cn(n,"application/json",uo,t)},ao.html=function(n,t){return Cn(n,"text/html",oo,t)},ao.xml=An(function(n){return n.responseXML}),"function"==typeof define&&define.amd?(this.d3=ao,define(ao)):"object"==typeof module&&module.exports?module.exports=ao:this.d3=ao}(); \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.1.0/webvowl/js/webvowl.app.js b/dist/vocabulary/mapping/0.1.0/webvowl/js/webvowl.app.js new file mode 100644 index 0000000..f3eba7c --- /dev/null +++ b/dist/vocabulary/mapping/0.1.0/webvowl/js/webvowl.app.js @@ -0,0 +1,5 @@ +webvowl.app=function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}({0:function(e,t,n){n(319),n(321),e.exports=n(322)},6:function(e,t){e.exports=d3},91:function(e,t,n){function o(e){return null==e?void 0===e?s:l:d&&d in Object(e)?r(e):a(e)}var i=n(92),r=n(95),a=n(96),l="[object Null]",s="[object Undefined]",d=i?i.toStringTag:void 0;e.exports=o},92:function(e,t,n){var o=n(93),i=o.Symbol;e.exports=i},93:function(e,t,n){var o=n(94),i="object"==typeof self&&self&&self.Object===Object&&self,r=o||i||Function("return this")();e.exports=r},94:function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},95:function(e,t,n){function o(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var o=!0}catch(e){}var i=l.call(e);return o&&(t?e[s]=n:delete e[s]),i}var i=n(92),r=Object.prototype,a=r.hasOwnProperty,l=r.toString,s=i?i.toStringTag:void 0;e.exports=o},96:function(e,t){function n(e){return i.call(e)}var o=Object.prototype,i=o.toString;e.exports=n},103:function(e,t,n){function o(e){return"symbol"==typeof e||r(e)&&i(e)==a}var i=n(91),r=n(104),a="[object Symbol]";e.exports=o},104:function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},112:function(e,t){var n=Array.isArray;e.exports=n},154:function(e,t){function n(e,t){for(var n=-1,o=null==e?0:e.length,i=Array(o);++n0?(g.classed("hidden",!1),h.classed("hidden",!1),k.updateScrollButtonVisibility()):(g.classed("hidden",!0),h.classed("hidden",!0)),_.updateElementWidth()}function i(){var e=window.innerHeight-40,n=e,o=e-30,i=150;if(n<150)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").classed("hidden",!0),t.select("#zoomInButton").classed("hidden",!0),void t.select("#centerGraphButton").classed("hidden",!0);t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").classed("hidden",!1),t.select("#zoomInButton").classed("hidden",!1),t.select("#centerGraphButton").classed("hidden",!1);var r=o-20,a=r-20;if(n<280)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),void t.select("#centerGraphButton").style("top",a+"px");var l=o-i;r=l-20,a=r-20,t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),t.select("#centerGraphButton").style("top",a+"px"),t.select("#zoomSliderParagraph").style("top",l+"px")}function r(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function a(){var e,t,n=-1,o=/(?:\b(MS)?IE\s+|\bTrident\/7\.0;.*\s+rv:|\bEdge\/)(\d+)/.test(navigator.userAgent);if(o)return n=parseInt("12");var i=/Trident.*rv[ :]*11\./.test(navigator.userAgent);return i?n=parseInt("11"):("Microsoft Internet Explorer"===navigator.appName?(e=navigator.userAgent,t=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))):"Netscape"===navigator.appName&&(e=navigator.userAgent,t=new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))),n)}var l=1,s={},d=webvowl.graph(),c=d.graphOptions(),p=webvowl.util.languageTools(),u="#graph",f=n(323)(d),h=n(325)(d),g=n(326)(d),v=n(327)(d),m=n(328)(d),y=n(329)(d),b=n(333)(d),x=n(334)(d),w=n(335)(d),k=n(336)(d),C=n(337)(d),L=n(338)(d),M=n(339)(d),_=n(340)(d),E=n(341)(d),O=n(342)(d),S=n(343)(d),F=n(344)(d),I=webvowl.modules.colorExternalsSwitch(d),T=webvowl.modules.compactNotationSwitch(d),A=webvowl.modules.datatypeFilter(),P=webvowl.modules.disjointFilter(),B=webvowl.modules.focuser(d),D=webvowl.modules.emptyLiteralFilter(),R=webvowl.modules.nodeDegreeFilter(h),W=webvowl.modules.nodeScalingSwitch(d),N=webvowl.modules.objectPropertyFilter(),H=webvowl.modules.pickAndPin(),j=webvowl.modules.selectionDetailsDisplayer(L.updateSelectionInformation),z=webvowl.modules.statistics(),V=webvowl.modules.subclassFilter(),U=webvowl.modules.setOperatorFilter();return s.getOptions=function(){return webvowl.opts},s.getGraph=function(){return webvowl.gr},s.initialize=function(){window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)},window.cancelAnimationFrame=window.cancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)},c.graphContainerSelector(u),c.selectionModules().push(B),c.selectionModules().push(j),c.selectionModules().push(H),c.filterModules().push(D),c.filterModules().push(z),c.filterModules().push(R),c.filterModules().push(A),c.filterModules().push(N),c.filterModules().push(V),c.filterModules().push(P),c.filterModules().push(U),c.filterModules().push(W),c.filterModules().push(T),c.filterModules().push(I),t.select(window).on("resize",o),f.setup(),g.setup(),h.setup(A,N,V,P,U,R),v.setup(H,W,T,I),b.setup(),L.setup(),O.setup(),M.setup(),_.setup(),m.setup();var n=a();if(n>0&&n<=11)console.log("Agent version "+n),console.log("This agent is not supported"),t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!0),t.select("#optionsArea").classed("hidden",!0),t.select("#logo").classed("hidden",!0);else{t.select("#logo").classed("hidden",!1),12===n?(t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!1)):t.select("#browserCheck").classed("hidden",!0),x.setup([g,h,v,B,j,b]),w.setup(),k.setup(),C.setup(),c.literalFilter(D),c.nodeDegreeFilter(R),c.loadingModule(O),c.filterMenu(h),c.modeMenu(v),c.gravityMenu(g),c.pausedMenu(b),c.pickAndPinModule(H),c.resetMenu(x),c.searchMenu(w),c.ontologyMenu(y),c.navigationMenu(k),c.sidebar(L),c.leftSidebar(M),c.editSidebar(_),c.exportMenu(f),c.graphObject(d),c.zoomSlider(C),c.warningModule(S),c.directInputModule(F),c.datatypeFilter(A),c.objectPropertyFilter(N),c.subclassFilter(V),c.setOperatorFilter(U),c.disjointPropertyFilter(P),c.focuserModule(B),c.colorExternalsModule(I),c.compactNotationModule(T),y.setup(e),E.setup(),M.showSidebar(0),M.hideCollapseButton(!0),d.start();var i=t.select("#modeOfOperationString");i.style("font-size","0.6em"),i.style("font-style","italic"),o();var r,l=d.options().width(),s=d.options().height();r=Math.min(l,s)/1e3;var p=!0;p===!1&&d.setForceTickFunctionWithFPS(),d.setDefaultZoom(r),t.selectAll(".debugOption").classed("hidden",p);var G=t.select("body");if(t.select(document).on("keydown",function(e){8===t.event.keyCode&&t.event.target===G.node()&&t.event.preventDefault(),t.event.ctrlKey&&t.event.shiftKey&&68===t.event.keyCode&&(d.options().executeHiddenDebugFeatuers(),t.event.preventDefault())}),t.select("#maxLabelWidthSliderOption")){var q=!d.options().dynamicLabelWidth();t.select("#maxLabelWidthSlider").node().disabled=q,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",q),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",q)}t.select("#blockGraphInteractions").style("position","absolute").style("top","0").style("background-color","#bdbdbd").style("opacity","0.5").style("pointer-events","auto").style("width",d.options().width()+"px").style("height",d.options().height()+"px").on("click",function(){t.event.preventDefault(),t.event.stopPropagation()}).on("dblclick",function(){t.event.preventDefault(),t.event.stopPropagation()}),t.select("#direct-text-input").on("click",function(){F.setDirectInputMode()}),t.select("#blockGraphInteractions").node().draggable=!1,c.prefixModule(webvowl.util.prefixTools(d)),o(),L.updateOntologyInformation(void 0,z),O.parseUrlAndLoadOntology(),c.debugMenu(m),m.updateSettings(),t.select("#reloadSvgIcon").on("click",function(){return t.select("#reloadSvgIcon").node().disabled===!0?void d.options().ontologyMenu().clearCachedVersion():(t.select("#reloadCachedOntology").classed("hidden",!0),void d.options().ontologyMenu().reloadCachedOntology())}),webvowl.opts=c,webvowl.gr=d}},s}}).call(t,n(6))},323:function(e,t,n){(function(t){e.exports=function(e){function o(){var n=M.requestExport(),o=M.resultingTTL_Content();if(console.log("Exporter was successful: "+n),n){var i="NewOntology",r="data:text/json;charset=utf-8,"+encodeURIComponent(o);x.attr("href",r).attr("download",i+".ttl")}else console.log("ShowWarning!"),e.options().warningModule().showExporterWarning(),console.log("Stay on the page! "+window.location.href),x.attr("href",window.location.href),t.event.preventDefault()}function i(){t.select("#exportedUrl").node().focus(),t.select("#exportedUrl").node().select(),document.execCommand("copy"),e.options().navigationMenu().hideAllMenus(),t.event.preventDefault()}function r(e,t){var n=0,o="opts=";for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],a=t[i];r!==a&&(o+=i+"="+a+";",n++)}return o+="",0===n?"":o}function a(){e.options().navigationMenu().hideAllMenus();var n,o,i,r=t.select(e.options().graphContainerSelector()).select("svg");s(),u(),n=r.attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML,n="\n"+n,o=l(n),i="data:image/svg+xml;base64,"+btoa(o),m.attr("href",i).attr("download",y+".svg"),f(),h(),e.lazyRefresh()}function l(e){var t,n,o,i=[],r=e.length;for(t=0;t0){var J=z.node().getPointAtLength(O-18),Y=J.x-10*j,X=J.y+10*H;X*=-1;var K="black";Z.indexOf("A")>-1&&(Z="$\\forall$"),Z.indexOf("E")>-1&&(Z="$\\exists$"),i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily },text="+K+"] at ("+Y+"pt, "+X+"pt) (cardinalityText"+a+") {"+Z+"};\n "}if(S.property().inverse()){z=S.pathObj(),O=Math.floor(z.node().getTotalLength());var Q=z.node().getPointAtLength(4),ee=z.node().getPointAtLength(0),te=z.node().getPointAtLength(6);D=Q.x,R=Q.y,W=ee.x,N=ee.y,H=W-D,j=N-R,_=Math.sqrt(H*H+j*j),H/=_,j/=_,E=-1*Math.atan2(j,H)*(180/Math.PI),E-=90,h=te.x,g=te.y,1!==S.layers().length||S.loops()?(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_marker"+a+") {};\n "):(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_single_marker"+a+") {};\n ")}}}for(l.each(function(e){u=e.x,f=-e.y,r=e.labelForCurrentLanguage(),void 0===r&&(r="");var t="owlClass";"owl:Thing"!==e.type()&&"owl:Nothing"!==e.type()||(t="owlThing"),"owl:equivalentClass"===e.type()&&(t="owlEquivalentClass");var n="";if(e.textBlock){var o=e.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===o&&(n=", text=black"),"rgb(255, 255, 255)"===o&&(n=", text=white");var l=e.textBlock()._textBlock().node().children;if(l[0]){r=l[0].innerHTML,e.individuals()&&e.individuals().length===parseInt(l[0].innerHTML)&&(r="{\\color{gray} "+l[0].innerHTML+" }");for(var s=1;s-1&&(i+="\\definecolor{Node"+a+"_COLOR}{HTML}{CCCCCC} \n ",d=", fill=Node"+a+"_COLOR ");var g=u-7,v=u+7,m=f+20;"owl:unionOf"===e.type()&&"owl:disjointUnionOf"===e.type()||(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:unionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[text=black] at ("+u+"pt, "+f+"pt) (unionText13) {$\\mathbf{\\cup}$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:disjointUnionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (disjointUnoinText"+a+") {1};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:complementOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+u+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{18pt}{18}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (unionText13) {$\\neg$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:intersectionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\filldraw[even odd rule,fill=owlClassColor,line width=1pt] ("+g+"pt, "+f+"pt) circle (12.5pt) ("+v+"pt, "+f+"pt) circle (12.5pt);\n ",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (intersectionText"+a+") {$\\cap$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),a++}),a=0;a-1?"\\\\ {\\small "+le[se].innerHTML+" }":"\\\\ "+le[se].innerHTML}}}if("setOperatorProperty"!==ne.type()){var ce="owlObjectProperty";"owl:DatatypeProperty"===ne.type()&&(ce="owlDatatypeProperty"),"rdfs:subClassOf"===ne.type()&&(ce="rdfsSubClassOf"),"rdf:Property"===ne.type()&&(ce="rdfProperty");var pe="";if(ne.backgroundColor()){var ue=ne.backgroundColor();ue.toUpperCase(),ue=ue.slice(1,ue.length),i+="\\definecolor{property"+a+"_COLOR}{HTML}{"+ue+"} \n ",pe=", fill=property"+a+"_COLOR "}ne.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{property"+a+"_COLOR}{HTML}{CCCCCC} \n ",pe=", fill=property"+a+"_COLOR ");var fe="",he=ne.textWidth();if(fe=",minimum width="+he+"pt","owl:disjointWith"!==ne.type())if(ne.inverse()){var ge=ne.inverse(),ve=ge.labelForCurrentLanguage();void 0===ve&&(ve="");var me="";if(ge.textBlock&&ge.textBlock()){var ye=ge.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===ye&&(me=", text=black"),"rgb(255, 255, 255)"===ye&&(me=", text=white");var be=ge.textBlock()._textBlock().node().children;if(be[0]){ve=be[0].innerHTML;for(var xe=1;xe-1?"\\\\ {\\small "+be[xe].innerHTML+" }":"\\\\ "+be[xe].innerHTML; +}}}var ke="owlObjectProperty",Ce="";if(ge.backgroundColor()){var Le=ge.backgroundColor();Le.toUpperCase(),Le=Le.slice(1,Le.length),i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{"+Le+"} \n ",Ce=", fill=inv_property"+a+"_COLOR "}ge.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{CCCCCC} \n ",Ce=", fill=inv_property"+a+"_COLOR ");var Me="",_e=ge.textWidth(),Ee=ie-14,Oe=ie+14;Me=",minimum width="+_e+"pt",i+="% Createing Inverse Property \n",i+="\\node["+ke+" "+Me+" "+Ce+" "+me+"] at ("+oe+"pt, "+Ee+"pt) (property"+a+") {"+ve.replaceAll("_","\\_ ")+"};\n",i+="% "+ke+" vs "+ce+"\n",i+="% "+Me+" vs "+fe+"\n",i+="% "+Ce+" vs "+pe+"\n",i+="% "+me+" vs "+re+"\n",i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+Oe+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"}else i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n";else{var Se=oe-12,Fe=oe+12,Ie=ie-20;i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (Node"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Se+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Fe+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+re+"] at ("+oe+"pt, "+Ie+"pt) (Node_text"+a+") {",e.options().compactNotation()===!1&&(i+="(disjoint)"),i+="};\n"}}}i+="\\end{tikzpicture}\n}\n \\end{center}\n";var Te="data:text/json;charset=utf-8,"+encodeURIComponent(i);w.attr("href",Te).attr("download",y+".tex")}var m,y,b,x,w,k,C,L={},M=n(324)(e);String.prototype.replaceAll=function(e,t){var n=this;return n.split(e).join(t)},L.setup=function(){m=t.select("#exportSvg").on("click",a),b=t.select("#exportJson").on("click",g),k=t.select("#copyBt").on("click",i),w=t.select("#exportTex").on("click",v),x=t.select("#exportTurtle").on("click",o);var n=t.select("#m_export");n.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries(),L.exportAsUrl()})},L.setFilename=function(e){y=e||"export"},L.setJsonText=function(e){C=e},L.exportAsUrl=function(){var n={};n.sidebar=e.options().sidebar().getSidebarVisibility();var o=e.options().filterMenu().getDefaultDegreeValue(),i=e.options().filterMenu().getDegreeSliderValue();parseInt(o)===parseInt(i)?n.doc=-1:n.doc=i,n.cd=e.options().classDistance(),n.dd=e.options().datatypeDistance(),e.editorMode()===!0?n.editorMode="true":n.editorMode="false",n.filter_datatypes=String(e.options().filterMenu().getCheckBoxValue("datatypeFilterCheckbox")),n.filter_sco=String(e.options().filterMenu().getCheckBoxValue("subclassFilterCheckbox")),n.filter_disjoint=String(e.options().filterMenu().getCheckBoxValue("disjointFilterCheckbox")),n.filter_setOperator=String(e.options().filterMenu().getCheckBoxValue("setoperatorFilterCheckbox")),n.filter_objectProperties=String(e.options().filterMenu().getCheckBoxValue("objectPropertyFilterCheckbox")),n.mode_dynamic=String(e.options().dynamicLabelWidth()),n.mode_scaling=String(e.options().modeMenu().getCheckBoxValue("nodescalingModuleCheckbox")),n.mode_compact=String(e.options().modeMenu().getCheckBoxValue("compactnotationModuleCheckbox")),n.mode_colorExt=String(e.options().modeMenu().getCheckBoxValue("colorexternalsModuleCheckbox")),n.mode_multiColor=String(e.options().modeMenu().colorModeState()),n.mode_pnp=String(e.options().modeMenu().getCheckBoxValue("pickandpinModuleCheckbox")),n.debugFeatures=String(!e.options().getHideDebugFeatures()),n.rect=0;var a,l=e.options().initialConfig(),s=r(l,n),d=String(location);if(0===s.length){var c=location.hash;d=d.split(c)[0];var p=c.lastIndexOf("#");if(p===-1)return a=t.select("#exportedUrl").node(),a.value=String(location),void(a.title=String(location));var u=c.slice(p,c.length);return a=t.select("#exportedUrl").node(),a.value=d+u,void(a.title=d+u)}var f,h=(d.match(/#/g)||[]).length;if(void 0!==h&&0!==h||(f=d+"#"+s),h>0){var g,v=d.split("#");for(v[1].indexOf("opts=")>=0?(v[1]=s,f=v[0]):(f=v[0]+"#",f+=s),g=1;g0&&(f+="#"+v[g])}a=t.select("#exportedUrl").node(),a.value=f,a.title=f},L.createJSON_exportObject=function(){var t,n,o,i=e.getUnfilteredData(),r=e.options().data()._comment,a=e.options().getGeneralMetaObject(),l=e.options().data().header;a.iri&&a.iri!==l.iri&&(l.iri=a.iri),a.title&&a.title!==l.title&&(l.title=a.title),a.version&&a.version!==l.version&&(l.version=a.version),a.author&&a.author!==l.author&&(l.author=a.author),a.description&&a.description!==l.description&&(l.description=a.description);var s={};s._comment=r,s.header=l,s.namespace=e.options().data().namespace,void 0===s.namespace&&(s.namespace=[]);var d=i.nodes,c=d.length,p=[],u=[];for(t=0;t0&&(h.attributes=d[t].attributes()),d[t].comment()&&(h.comment=d[t].comment()),d[t].annotations()&&(h.annotations=d[t].annotations()),d[t].description()&&(h.description=d[t].description()),d[t].individuals().length>0){var g=[],v=d[t].individuals();for(n=0;n0){y=[];var b=d[t].equivalents();for(n=0;n0&&(w.attributes=b[n].attributes()),b[n].comment()&&(w.comment=b[n].comment()),b[n].individuals().length>0&&(w.individuals=b[n].individuals()),b[n].annotations()&&(w.annotations=b[n].annotations()),b[n].description()&&(w.description=b[n].description()),b[n].individuals().length>0){var k=[],C=b[t].individuals();for(o=0;o0&&(h.equivalent=y),u.push(h)}var M=i.properties,_=M.length,E=[],O=[];for(t=0;t<_;t++){var S={},F={};if(S.id=M[t].id(),S.type=M[t].type(),E.push(S),F.id=M[t].id(),F.iri=M[t].iri(),F.baseIri=M[t].baseIri(),F.label=M[t].label(),M[t].attributes().length>0&&(F.attributes=M[t].attributes()),M[t].comment()&&(F.comment=M[t].comment()),M[t].annotations()&&(F.annotations=M[t].annotations()),M[t].maxCardinality()&&(F.maxCardinality=M[t].maxCardinality()),M[t].minCardinality()&&(F.minCardinality=M[t].minCardinality()),M[t].cardinality()&&(F.cardinality=M[t].cardinality()),M[t].description()&&(F.description=M[t].description()),F.domain=M[t].domain().id(),F.range=M[t].range().id(),M[t].subproperties()){var I=M[t].subproperties(),T=[];for(n=0;n":n[t].prefixRepresentation=i}for(t=0;t":o[t].prefixRepresentation=r}}function n(){if(0!==y.length){x+="### Property Definitions (Number of Property) "+y.length+" ###\r\n";for(var e=0;e=0}function r(t){var n=t.prefixRepresentation,o="rdf:type",r=t.type();"owl:equivalentClass"===t.type()&&(r="owl:Class"),"owl:disjointUnionOf"===t.type()&&(r="owl:Class"),"owl:unionOf"===t.type()&&(r="owl:Class");var a=[],s=[];if(t.union())for(var d=t.union(),c=0;c":b,g+=m+" owl:equivalentClass "+x+" ;\r\n"}if(t.commentForCurrentLanguage()&&(g+=m+' rdfs:comment "'+t.commentForCurrentLanguage()+'" ;\r\n'),t.annotations()){var k=t.annotations();for(var L in k)if(k.hasOwnProperty(L)){var M=k[L],_=M[0],E=_.identifier,O=_.value;"isDefinedBy"===E&&(g+=m+" rdfs:isDefinedBy <"+O+"> ;\r\n"),"term_status"===E&&(g+=m+' vs:term_status "'+O+'" ;\r\n')}}if(a.length>0){g+=m+" owl:disjointUnionOf (";for(var S=0;S":F,g+=m+m+I+" \n"}g+=") ;\r\n"}if(s.length>0){g+=m+" rdfs:subClassOf [ rdf:type owl:Class ; \r\n",g+=m+m+" owl:unionOf ( ";for(var T=0;T":A,g+=m+m+m+P+" \n"}g+=") ;\r\n"}var B,D=e.getUnfilteredData().properties,R=[];for(B=0;B ;\r\n"),"term_status"===x&&(a+=s+' vs:term_status "'+w+'" ;\r\n')}}if("owl:Thing"===c.type()&&"owl:Thing"===p.type()&&"object"!=typeof e.label()&&0===e.label().length&&(d=!0),d===!0){var k=a.substring(0,a.length-2);return a=k+" . \r\n"}var L;if("owl:Thing"===c.type()&&"owl:Thing"===p.type())L=v(s,e.label(),"rdfs:label",!0),a+=L;else{L=v(s,e.label(),"rdfs:label"),a+=L,"owl:Thing"!==c.type()&&(a+=s+" rdfs:domain "+c.prefixRepresentation+";\r\n"),"owl:Thing"!==p.type()&&(a+=s+" rdfs:range "+p.prefixRepresentation+";\r\n");var M=a,_=M.lastIndexOf(";");a=M.substring(0,_)+" . \r\n"}return a}function l(e){return void 0===e?"WHYEMPTYNAME?":new Array(e.length+1).join(" ")}function s(){x+="#################################################################\r\n",x+="### Generated with the experimental alpha version of the TTL exporter of WebVOWL (version 1.1.3) http://visualdataweb.de/webvowl/ ###\r\n",x+="#################################################################\r\n\r\n"}function d(){var t=e.options().getGeneralMetaObjectProperty("iri"),n=e.options().prefixList(),o=[];o.push("@prefix : \t\t<"+t+"> .");for(var i in n)n.hasOwnProperty(i)&&o.push("@prefix "+i+": \t\t<"+n[i]+"> .");o.push("@base \t\t\t<"+t+"> .\r\n");for(var r=0;r");x+="<"+t+"> rdf:type owl:Ontology ;\r\n"+p(n)+u(n)+h(n)+f(n);var o=x,i=o.lastIndexOf(";");x=o.substring(0,i)+" . \r\n"}function p(e){return g(e,"title","dc:title")}function u(e){return g(e,"description","dc:description")}function f(t){var n=e.options().getGeneralMetaObjectProperty("author");if(n){if("object"!=typeof n){if(0===n.length)return"";var o=t+' dc:creator "'+n+'";\r\n';return o}for(var i=t+' dc:creator "',r=0;r0&&(n=-1);var i=parseInt(s.attr("max")),r=parseInt(s.property("value")),a=r+n;r!==a&&a>=0&&a<=i&&(s.property("value",a),s.on("input")(),e.update()),t.event.preventDefault()}function r(e,t){e.property("value",t).on("input")()}function a(){p.node().addEventListener("animationend",function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!0)})}var l,s,d={},c=[],p=(t.select("#m_filter"),t.select("#c_filter a")),u=t.select("#nodeDegreeFilteringOption"),f=0;return d.setDefaultDegreeValue=function(e){f=e},d.getDefaultDegreeValue=function(){return f},d.getGraphObject=function(){return e},d.getCheckBoxContainer=function(){return c},d.getDegreeSliderValue=function(){return s.property("value")},d.setup=function(t,i,r,l,s,c){p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),p.on("mouseleave",function(){d.highlightForDegreeSlider(!1)}),n(t,"datatype","Datatype properties","#datatypeFilteringOption"),n(i,"objectProperty","Object properties","#objectPropertyFilteringOption"),n(r,"subclass","Solitary subclasses","#subclassFilteringOption"),n(l,"disjoint","Class disjointness","#disjointFilteringOption"),n(s,"setoperator","Set operators","#setOperatorFilteringOption"),o(c,u),a()},d.reset=function(){c.forEach(function(e){var t=e.checkbox,n=e.defaultState,o=t.property("checked");o!==n&&(t.property("checked",n),t.on("click")())}),r(s,0),s.on("change")()},d.killButtonAnimation=function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!1)},d.highlightForDegreeSlider=function(e){if(arguments.length||(e=!0),p.classed("highlighted",e),u.classed("highlighted",e),p.classed("buttonPulse")===!0&&e===!0){p.classed("buttonPulse",!1);var t=setTimeout(function(){p.classed("buttonPulse",e),clearTimeout(t)},100)}else p.classed("buttonPulse",e),p.classed("filterMenuButtonHighlight",e)},d.setCheckBoxValue=function(e,t){for(var n=0;n0?d.highlightForDegreeSlider(!0):d.highlightForDegreeSlider(!1),c.forEach(function(t){var n=t.checkbox;n.on("click")(e)}),s.on("input")(),s.on("change")()},d}}).call(t,n(6))},326:function(e,t,n){(function(t){e.exports=function(e){function n(n,i,a,l){var s,d,c=l();s=t.select(n).append("div").datum({distanceFunction:l}).classed("distanceSliderContainer",!0);var p=s.append("input").attr("id",i+"DistanceSlider").attr("type","range").attr("min",10).attr("max",600).attr("value",l()).attr("step",10);s.append("label").classed("description",!0).attr("for",i+"DistanceSlider").text(a),d=s.append("label").classed("value",!0).attr("for",i+"DistanceSlider").text(l()),r.push(p),p.on("focusout",function(){e.updateStyle()}),p.on("input",function(){var t=p.property("value");l(t),o(c),d.text(t),e.updateStyle()}),p.on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=10),n.deltaY>0&&(e=-10);var o=parseInt(p.property("value")),i=o+e;i!==o&&(p.property("value",i),l(i),p.on("input")()),t.event.preventDefault()})}function o(e){var t=Math.max(a.classDistance(),a.datatypeDistance()),n=t/e,o=l*n;a.charge(o)}var i={},r=[],a=e.graphOptions(),l=a.charge();return i.setup=function(){var o=t.select("#m_gravity");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("#classSliderOption","class","Class distance",a.classDistance),n("#datatypeSliderOption","datatype","Datatype distance",a.datatypeDistance)},i.reset=function(){r.forEach(function(e){e.property("value",function(e){return e.distanceFunction()}),e.on("input")()})},i}}).call(t,n(6))},327:function(e,t,n){(function(t){e.exports=function(e){function n(n,o,i,r,a){var l=t.select(i).append("div").classed("checkboxContainer",!0),s=l.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());s.on("click",function(n){var o=s.property("checked");r(o),t.select("#maxLabelWidthSlider").node().disabled=!o,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",!o),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",!o),a>0&&e.animateDynamicLabelWidth()}),l.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&l.append("label").attr("style","font-size:10px;padding-top:3px").text("(experimental)"),d=s}function o(n,o,i,r){var a=t.select(i).append("div").classed("checkboxContainer",!0),l=a.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());l.on("click",function(t){var n=l.property("checked");r(n),n===!0&&e.showEditorHintIfNeeded()}),a.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&a.append("label").attr("style","font-size:10px;padding-top:3px").text(" (experimental)")}function i(n,o,i,r,a){var l,s;return l=t.select(r).append("div").classed("checkboxContainer",!0).datum({module:n,defaultState:n.enabled()}),s=l.append("input").classed("moduleCheckbox",!0).attr("id",o+"ModuleCheckbox").attr("type","checkbox").property("checked",n.enabled()),f.push(s),s.on("click",function(t,n){var o=s.property("checked");t.module.enabled(o),a&&n!==!0&&(e.executeColorExternalsModule(),e.executeCompactNotationModule(),e.lazyRefresh())}),l.append("label").attr("for",o+"ModuleCheckbox").text(i),l}function r(t,n){var o=t.append("button").datum({active:!1}).classed("color-mode-switch",!0);return a(o,n),o.on("click",function(t){var i=o.datum();i.active=!i.active,a(o,n),n.enabled()&&t!==!0&&(e.executeColorExternalsModule(),e.lazyRefresh())}),o}function a(e,t){var n=e.datum().active,o=l(n);e.classed("active",n).text(o.text),t&&t.colorModeType(o.type)}function l(e){return e?p:c}var s,d,c={text:"Multicolor",type:"same"},p={text:"Multicolor",type:"gradient"},u={},f=[];return u.colorModeState=function(e){return arguments.length?(s.datum().active=e,u):s.datum().active},u.setDynamicLabelWidth=function(e){d.property("checked",e)},u.getCheckBoxContainer=function(){return f},u.colorModeSwitch=function(){return s},u.setup=function(a,l,d,c){var p=t.select("#m_modes");p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("labelWidth","Dynamic label width","#dynamicLabelWidth",e.options().dynamicLabelWidth,1),o("editorMode","Editing ","#editMode",e.editorMode),i(a,"pickandpin","Pick & pin","#pickAndPinOption",!1),i(l,"nodescaling","Node scaling","#nodeScalingOption",!0),i(d,"compactnotation","Compact notation","#compactNotationOption",!0);var u=i(c,"colorexternals","Color externals","#colorExternalsOption",!0);s=r(u,c)},u.reset=function(){f.forEach(function(e){var t=e.datum().defaultState,n=e.property("checked");n!==t&&(e.property("checked",t),e.on("click")(e.datum())),e.datum().module.reset()}),s.datum().active=!0,s.on("click")()},u.setCheckBoxValue=function(e,t){for(var n=0;n li > a").attr("href",location.hash||"#")}function i(e){var n=t.select("#bulletPoint_container"),o=n.append("div");o.node().innerHTML=e,E.scrollDownDetails()}function r(e){var n=t.select("#bulletPoint_container"),o=n.node().getElementsByTagName("LI"),i=o.length-1;if(i>=0){var r=o[i].innerHTML;o[i].innerHTML=r+e}E.scrollDownDetails()}function a(e){var n=t.select("#bulletPoint_container"),o=n.append("li");o.node().innerHTML=e,t.select("#currentLoadingStep").node().innerHTML=e,E.scrollDownDetails()}function l(){var e=t.select("#iri-converter-button"),n=t.select("#iri-converter-input");n.on("input",function(){x();var t=""===n.property("value");e.attr("disabled",t||void 0)}).on("click",function(){x()}),t.select("#iri-converter-form").on("submit",function(){for(var e=n.property("value"),o=e.replace(/%20/g," ");o.beginsWith(" ");)o=o.substr(1,o.length);for(;o.endsWith(" ");)o=o.substr(0,o.length-1);e=o;var i=e.toLowerCase();return i.endsWith(".json")?(location.hash="url="+e,n.property("value",""),n.on("input")()):(location.hash="iri="+e,n.property("value",""),n.on("input")()),t.event.preventDefault(),!1})}function s(){var n=t.select("#file-converter-input"),o=t.select("#file-converter-label"),i=t.select("#file-converter-button");n.on("change",function(){var t=n.property("files");t.length<=0?(o.text("Select ontology file"),i.property("disabled",!0)):(o.text(t[0].name),L=t[0].name,i.property("disabled",!1),i.node().click(),e.options().navigationMenu().hideAllMenus())}),i.on("click",function(){var e=n.property("files")[0];if(!e)return!1;var t="file="+e.name;location.hash==="#"+t?E.parseUrlAndLoadOntology():location.hash=t})}function d(e){var n=t.select("#o2vConverterContainer");if(!n.node()){var o=t.select("#bulletPoint_container"),i=o.append("div");n=i.append("ul"),n.attr("id","o2vConverterContainer"),n.style("margin-left","-25px")}for(var r=n.node().children,a=r.length,l=0;l0&&(s=n.append("li"),s.attr("type","disc"),s.node().innerHTML=p.replace(/\n/g,"
    "))}s&&(s.node().innerHTML+="
    "),E.scrollDownDetails()}function c(e,n){t.xhr("loadingStatus?sessionId="+_,"application/text",function(t,o){t&&(console.log("ontologyMenu getLoadingStatusOnceCallBacked throws error"),console.log("---------Error -----------"),console.log(t),console.log("---------Request -----------"),console.log(o)),d(o.responseText),e(n)})}function p(){t.xhr("loadingStatus?sessionId="+_,"application/text",function(e,t){e&&(console.log("ontologyMenu getLoadingStatusTimeLooped throws error"),console.log("---------Error -----------"),console.log(e),console.log("---------Request -----------"),console.log(t)),T===!1&&(d(t.responseText),u())})}function u(){clearTimeout(M),T===!1&&(M=setTimeout(function(){p()},1e3))}function f(e){t.xhr("loadingStatus","application/text",function(t,n){void 0!==n?d(n.responseText+"
    "+e):i(e)})}function h(e){var t=e[2];return t!==_?(console.log("The conversion process for file:"+e[1]+" has been canceled!"),void S.conversionFinished(t)):(E.loadFromOWL2VOWL(e[0],e[1]),void S.conversionFinished())}function g(e){var t=e[2];return t!==_?void console.log("The conversion process for file:"+e[1]+" has been canceled!"):void E.loadFromOWL2VOWL(e[0],e[1])}function v(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function m(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function y(e,t,n){T=!1,u();var o=new FormData;o.append("ontology",e),o.append("sessionId",n);var i=new XMLHttpRequest;i.open("POST","convert",!0),i.onload=function(){clearTimeout(M),T=!0,c(b,[i,t,n])},u(),i.send(o)}function b(t){var n=t[0],o=t[1],i=t[2];return i!==_?(console.log("The conversion process for file:"+o+" has been canceled!"),void S.conversionFinished(i)):void(200===n.status?(E.loadFromOWL2VOWL(n.responseText,o),S.conversionFinished()):(f('Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),e.handleOnLoadingError(),S.conversionFinished()))}function x(){function e(){n.style("display",void 0),clearTimeout(C),t.select(window).on("click",void 0).on("keydown",void 0),n.on("mouseover",void 0)}var n=t.select("#select .toolTipMenu");n.on("click",function(){t.event.stopPropagation()}).on("keydown",function(){t.event.stopPropagation()}),n.style("display","block"),clearTimeout(C),C=setTimeout(function(){e()},3e3),t.select(window).on("click",function(){e()}).on("keydown",function(){e()}),n.on("mouseover",function(){e()})}function w(){t.select("#layoutLoadingProgressBarContainer").classed("hidden",!1),F.classed("hidden",!1),I.classed("hidden",!1)}function k(){F.classed("hidden",!0)}var C,L,M,_,E,O,S={},F=t.select("#loading-info"),I=t.select("#loading-progress"),T=!1,A=!1,P={},B="";return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},S.getLoadingFunction=function(){return O},S.clearCachedVersion=function(){P[B]&&(P[B]=void 0)},S.reloadCachedOntology=function(){S.clearCachedVersion(),e.clearGraphData(),E.parseUrlAndLoadOntology(!1)},S.cachedOntology=function(n){if(B=n,P[n]){var o=String(location.hash);t.select("#reloadSvgIcon").node().disabled=!1,e.showReloadButtonAfterLayoutOptimization(!0),o.indexOf("#file")>-1?(t.select("#reloadSvgIcon").node().disabled=!0,t.select("#reloadCachedOntology").node().title="reloading original version not possible, please reload the file",t.select("#reloadSvgIcon").classed("disabledReloadElement",!0),t.select("#svgStringText").style("fill","gray"),t.select("#svgStringText").classed("noselect",!0)):(t.select("#reloadCachedOntology").node().title="generate new visualization and overwrite cached ontology",t.select("#reloadSvgIcon").classed("disabledReloadElement",!1),t.select("#svgStringText").style("fill","black"),t.select("#svgStringText").classed("noselect",!0))}else e.showReloadButtonAfterLayoutOptimization(!1);return P[n]},S.setCachedOntology=function(e,t){P[e]=t,B=e},S.getErrorStatus=function(){return A},S.setup=function(o){O=o,E=e.options().loadingModule();var i=t.select("#m_select");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),l(),s();var r=t.select("#error-description-button").datum({open:!1});r.on("click",function(e){var n=t.select("#error-description-container"),o=t.select(this);e.open=!e.open;var i=e.open;i?o.text("Hide error details"):o.text("Show error details"),n.classed("hidden",!i)}),n(),E.setOntologyMenu(S)},S.stopLoadingTimer=function(){T=!0,clearTimeout(M)},S.setIriText=function(e){t.select("#iri-converter-input").node().value=e,t.select("#iri-converter-button").attr("disabled",!1),t.select("#iri-converter-form").on("submit")()},S.clearDetailInformation=function(){for(var e=t.select("#bulletPoint_container"),n=e.node().children,o=n.length,i=0;i",""":'"',"'":"'"},r=o(i);e.exports=r},332:function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},333:function(e,t,n){(function(t){e.exports=function(e){function n(){o(),i()}function o(){r.classed("paused",function(e){return e.paused})}function i(){r.datum().paused?r.text("Resume"):r.text("Pause")}var r,a={};return a.setup=function(){var o=t.select("#pauseOption");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),r=t.select("#pause-button").datum({paused:!1}).on("click",function(t){e.paused(!t.paused),t.paused=!t.paused,n(),r.classed("highlighted",t.paused)}),n()},a.setPauseValue=function(t){r.datum().paused=t,e.paused(t),r.classed("highlighted",t),n()},a.reset=function(){a.setPauseValue(!1)},a}}).call(t,n(6))},334:function(e,t,n){(function(t){e.exports=function(e){function n(){e.resetSearchHighlight(),e.options().searchMenu().clearText(),r.classDistance(a.classDistance()),r.datatypeDistance(a.datatypeDistance()),r.charge(a.charge()),r.gravity(a.gravity()),r.linkStrength(a.linkStrength()),e.reset(),o.forEach(function(e){e.reset()}),e.updateStyle()}var o,i={},r=e.graphOptions(),a=webvowl.options();return i.setup=function(i){o=i,t.select("#reset-button").on("click",n);var r=t.select("#resetOption");r.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()})},i}}).call(t,n(6))},335:function(e,t,n){(function(t){e.exports=function(e){function n(){b=e.getUpdateDictionary(),M=!1,k=[],C=[];var t,n=[],o=[];for(t=0;t0)for(var r=b[t].equivalentsString(),a=r.split(", "),l=0;l=0&&s=a&&i[s].setAttribute("class","dbEntrySelected"),h>=0&&h=0&&i[s].setAttribute("class","dbEntry")))}function s(){for(var e=F.node().children,t=e.length,n=0;n-1&&(E.push(k[e]),O.push(e)))}}function c(e,n){n||(n="text");var o=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),i=document.getElementById("width-test").offsetWidth;return o.remove(),i}function p(e){for(var t,n,o,i=250,r="dbEntry",a=e;;){if(t=c(a,r),t<=i)break;if(n=t/i,o=Math.floor(a.length/n),a.length===o)break;a=a.substring(0,o)}return e.length>a.length?e.substring(0,a.length-6):e}function u(){var n,o,i,r=E,a=[],l=[],s=v.node().value.toLowerCase();for(n=E.length,n>L&&(n=L),o=0;o-1&&h<=d&&m<=c&&(u=f,d=h,c=m)}a.push(r[u]),l.push(O[u]),r[u]=""}n=E.length,n>L&&(n=L);var b=0;for(o=0;o1)for(var T=0;T1&&_===!1?k!==I&&(C+="... ("+I+"/"+k+")"):C+="...",x.title=a[o]):k>1&&_===!1&&(C+=k!==I?" ("+I+"/"+k+")":" ("+k+")");var P=t.select(x);1===k||_===!0?void 0===S[w[0]]&&(P.style("color","#979797"),x.title=a[o]+"\nElement is filtered out.",x.onclick=function(){},t.select(x).style("cursor","default"),b++):(I<1?(P.style("color","#979797"),x.onclick=function(){},x.title=a[o]+"\nAll elements are filtered out.",t.select(x).style("cursor","default"),b++):P.style("color",""),I1&&(x.title=a[o]+"\n"+I+"/"+k+" elements are visible.")),P.node().innerHTML=C,F.node().appendChild(x)}}function f(){s(),d(),u()}function h(){return S.classed("highlighted",!1),S.node().title="Nothing to locate",M&&n(),e.resetSearchHighlight(),0===k.length?void console.log("dictionary is empty"):(x=v.node().value,s(),0!==x.length&&(d(),u()),void w.showSearchEntries())}function g(t){return function(){var n=t,o=y[n],i=C[n];v.node().value=i,e.resetSearchHighlight(),e.highLightNodes(o),S.node().title="Locate search term",i!==x&&f(),w.hideSearchEntries()}}var v,m,y,b,x,w={},k=[],C=[],L=6,M=!0,_=!1,E=[],O=[],S=t.select("#locateSearchResult"),F=(t.select("#c_search"),t.select("#m_search"));return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},w.requestDictionaryUpdate=function(){M=!0;for(var e=F.node().children,t=e.length,n=0;n=h?void n():void(y=requestAnimationFrame(o))}function i(){return f-=5,x.scrollLeft=f,b.updateScrollButtonVisibility(),f<=0?void n():void(y=requestAnimationFrame(i))}function r(){M=[],_=[];var e,r=[],c=[],p=x.children,u=p.length;for(e=0;e-1?_[e]="m_"+r[e]:_[e]=void 0,t.select("#"+M[e]).on("mouseover",a),t.select("#"+M[e]).on("mouseout",l),t.select("#"+M[e]).on("click",s),t.select("#"+M[e]).on("touchstart",d);t.select("#menuElementContainer").on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=20),n.deltaY>0&&(e=-20),x.scrollLeft+=e,b.hideAllMenus(),b.updateScrollButtonVisibility()}),t.select("#scrollRightButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#scrollLeftButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#menuElementContainer").on("scroll",function(){b.updateScrollButtonVisibility(),b.hideAllMenus()})}function a(){b.hideAllMenus(),L||p(this.id)}function l(){c(this.id)}function s(){var e=_[M.indexOf(this.id)];if(e){var n=t.select("#"+e);n&&("block"===n.style("display")?n.style("display","none"):p(this.id))}}function d(){L=!0}function c(e){v=t.select("#"+e),"c_search"!==e&&(t.select("#"+e).select("path").style("stroke-width","0"),t.select("#"+e).select("path").style("fill","#fff"))}function p(n){v=t.select("#"+n).node();var o=_[M.indexOf(n)];o&&("c_search"!==n&&(t.select("#"+n).select("path").style("stroke-width","0"),t.select("#"+n).select("path").style("fill","#bdc3c7")),g=t.select("#"+o),g.style("display","block"),"m_export"===o&&e.options().exportMenu().exportAsUrl(),u())}function u(){if(v){var e=v.offsetLeft,t=x.scrollLeft,n=e-t,o=Math.max(0,n),i=x.getBoundingClientRect().width,r=g.node().getBoundingClientRect().width;o+r>i&&(o=i-r),o=Math.max(0,o),g.style("left",o+"px")}}var f,h,g,v,m,y,b={},x=t.select("#menuElementContainer").node(),w=t.select("#menuContainer").node(),k=t.select("#scrollLeftButton"),C=t.select("#scrollRightButton"),L=!1,M=[],_=[];return b.hideAllMenus=function(){t.selectAll(".toolTipMenu").style("display","none")},b.updateScrollButtonVisibility=function(){h=x.scrollWidth-x.clientWidth-2,0===x.scrollLeft?k.classed("hidden",!0):k.classed("hidden",!1),x.scrollLeft>h?C.classed("hidden",!0):C.classed("hidden",!1)},b.setup=function(){r(),t.select("#graph").on("mouseover",function(){b.hideAllMenus()}),t.select("#generalDetails").on("mouseover",function(){b.hideAllMenus()})},b}}).call(t,n(6))},337:function(e,t,n){(function(t){e.exports=function(e){function n(){cancelAnimationFrame(a),cancelAnimationFrame(l)}function o(){s*=.98,su&&(s=u),e.setSliderZoom(s),l=requestAnimationFrame(i)}var r,a,l,s,d,c={},p=e.options().minMagnification(),u=e.options().maxMagnification(),f=!0,h=e.options().width(),g=e.options().height();return r=Math.min(h,g)/1e3,c.setup=function(){d=t.select("#zoomSliderParagraph").append("input").datum({}).attr("id","zoomSliderElement").attr("type","range").attr("value",r).attr("min",p).attr("max",u).attr("step",(u-p)/40).attr("title","zoom factor").on("input",function(){c.zooming()}),t.select("#zoomOutButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom out"),t.select("#zoomInButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom in"),t.select("#centerGraphButton").on("click",function(){e.options().navigationMenu().hideAllMenus(),e.forceRelocationEvent()}).attr("title","center graph")},c.showSlider=function(e){return arguments.length?(t.select("#zoomSlider").classed("hidden",!e),void(f=e)):f},c.zooming=function(){e.options().navigationMenu().hideAllMenus();var t=d.property("value");d.attr("value",t),e.setSliderZoom(t)},c.updateZoomSliderValue=function(e){d&&(d.attr("value",e),d.property("value",e))},c}}).call(t,n(6))},338:function(e,t,n){(function(t){e.exports=function(e){function n(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");e(t.selectAll(".accordion-trigger:not(.accordion-trigger-active) + div")),o.on("click",function(){var o=t.select(this),i=t.selectAll(".accordion-trigger-active");o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(e(t.selectAll(".accordion-trigger-active + div")),i.classed("accordion-trigger-active",!1),n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0))})}function o(n){n=n||[],n.sort(function(e,t){return e===webvowl.util.constants().LANG_IRIBASED?-1:t===webvowl.util.constants().LANG_IRIBASED?1:e===webvowl.util.constants().LANG_UNDEFINED?-1:t===webvowl.util.constants().LANG_UNDEFINED?1:e.localeCompare(t)});var o=t.select("#language").on("change",function(){e.language(t.event.target.value),r(),C.updateSelectionInformation(k)});o.selectAll("option").remove(),o.selectAll("option").data(n).enter().append("option").attr("value",function(e){return e}).text(function(e){return e}),i(o,n,"en")||i(o,n,webvowl.util.constants().LANG_UNDEFINED)||i(o,n,webvowl.util.constants().LANG_IRIBASED)}function i(t,n,o){var i=n.indexOf(o);return i>=0&&(t.property("selectedIndex",i),e.language(o),!0)}function r(){var n=L.textInLanguage(w.title,e.language());t.select("#title").text(n||"No title available"),t.select("#about").attr("href",w.iri).attr("target","_blank").text(w.iri),t.select("#version").text(w.version||"--");var o=w.author;"string"==typeof o?t.select("#authors").text(o):o instanceof Array?t.select("#authors").text(o.join(", ")):t.select("#authors").text("--");var i=L.textInLanguage(w.description,e.language());t.select("#description").text(i||"No description available.")}function a(e,n){e=e||{},t.select("#classCount").text(e.classCount||n.classCount()),t.select("#objectPropertyCount").text(e.objectPropertyCount||n.objectPropertyCount()),t.select("#datatypePropertyCount").text(e.datatypePropertyCount||n.datatypePropertyCount()),t.select("#individualCount").text(e.totalIndividualCount||n.totalIndividualCount()),t.select("#nodeCount").text(n.nodeCount()),t.select("#edgeCount").text(n.edgeCount())}function l(e){var n=t.select("#ontology-metadata");n.selectAll("*").remove(),s(n,e),n.selectAll(".annotation").size()<=0&&n.append("p").text("No annotations available.")}function s(e,n){n=n||{};var o=[];for(var i in n)n.hasOwnProperty(i)&&o.push(n[i][0]);e.selectAll(".annotation").remove(),e.selectAll(".annotation").data(o).enter().append("p").classed("annotation",!0).classed("statisticDetails",!0).text(function(e){return e.identifier+":"}).append("span").each(function(e){h(t.select(this),e.value,"iri"===e.type?e.value:void 0)})}function d(){c(!1,!1,!0)}function c(e,n,o){t.select("#classSelectionInformation").classed("hidden",!e),t.select("#propertySelectionInformation").classed("hidden",!n),t.select("#noSelectionInformation").classed("hidden",!o)}function p(e){u(),f(t.select("#propname"),e.labelForCurrentLanguage(),e.iri()),t.select("#typeProp").text(e.type()),void 0!==e.inverse()?(t.select("#inverse").classed("hidden",!1),f(t.select("#inverse span"),e.inverse().labelForCurrentLanguage(),e.inverse().iri())):t.select("#inverse").classed("hidden",!0);var n=t.select("#propEquivUri");b(n,e.equivalents()),b(t.select("#subproperties"),e.subproperties()),b(t.select("#superproperties"),e.superproperties()),void 0!==e.minCardinality()?(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!1),t.select("#minCardinality span").text(e.minCardinality()),t.select("#maxCardinality").classed("hidden",!1),void 0!==e.maxCardinality()?t.select("#maxCardinality span").text(e.maxCardinality()):t.select("#maxCardinality span").text("*")):void 0!==e.cardinality()?(t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0),t.select("#infoCardinality").classed("hidden",!1),t.select("#infoCardinality span").text(e.cardinality())):(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0)),f(t.select("#domain"),e.domain().labelForCurrentLanguage(),e.domain().iri()),f(t.select("#range"),e.range().labelForCurrentLanguage(),e.range().iri()),g(e.attributes(),t.select("#propAttributes")),x(t.select("#propDescription"),e.descriptionForCurrentLanguage()),x(t.select("#propComment"),e.commentForCurrentLanguage()),s(t.select("#propertySelectionInformation"),e.annotations())}function u(){c(!1,!0,!1)}function f(e,n,o){var i=t.select(e.node().parentNode);n?(e.selectAll("*").remove(),h(e,n,o),i.classed("hidden",!1)):i.classed("hidden",!0)}function h(e,t,n){var o;o=n?e.append("a").attr("href",n).attr("title",n).attr("target","_blank"):e.append("span"),o.text(t)}function g(e,n){var o=t.select(n.node().parentNode);e&&e.length>0&&(v("object",e),v("datatype",e),v("rdf",e)),e&&e.length>0?(n.text(e.join(", ")),o.classed("hidden",!1)):o.classed("hidden",!0)}function v(e,t){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function m(e){y(),f(t.select("#name"),e.labelForCurrentLanguage(),e.iri());var n=t.select("#classEquivUri");b(n,e.equivalents()),t.select("#typeNode").text(e.type()),b(t.select("#individuals"),e.individuals());var o=t.select("#disjointNodes"),i=t.select(o.node().parentNode);void 0!==e.disjointWith()?(o.selectAll("*").remove(),e.disjointWith().forEach(function(e,t){t>0&&o.append("span").text(", "),h(o,e.labelForCurrentLanguage(),e.iri())}),i.classed("hidden",!1)):i.classed("hidden",!0),g(e.attributes(),t.select("#classAttributes")),x(t.select("#nodeDescription"),e.descriptionForCurrentLanguage()),x(t.select("#nodeComment"),e.commentForCurrentLanguage()),s(t.select("#classSelectionInformation"),e.annotations())}function y(){c(!0,!1,!1)}function b(e,n){var o=t.select(e.node().parentNode);n&&n.length?(e.selectAll("*").remove(),n.forEach(function(t,n){n>0&&e.append("span").text(", "),h(e,t.labelForCurrentLanguage(),t.iri())}),o.classed("hidden",!1)):o.classed("hidden",!0)}function x(e,n){var o=t.select(e.node().parentNode),i=!!n;n&&e.text(n),o.classed("hidden",!i)}var w,k,C={},L=webvowl.util.languageTools(),M=webvowl.util.elementTools(),_=1,E=t.select("#detailsArea"),O=t.select("#canvasArea"),S=t.select("#swipeBarContainer"),F=t.select("#sidebarExpandButton");return C.clearOntologyInformation=function(){t.select("#title").text("No title available"),t.select("#about").attr("href","#").attr("target","_blank").text("not given"),t.select("#version").text("--"),t.select("#authors").text("--"),t.select("#description").text("No description available.");var e=t.select("#ontology-metadata");e.selectAll("*").remove(),t.select("#classCount").text("0"),t.select("#objectPropertyCount").text("0"),t.select("#datatypePropertyCount").text("0"),t.select("#individualCount").text("0"),t.select("#nodeCount").text("0"),t.select("#edgeCount").text("0");var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");n&&t.select("#selection-details-trigger").node().click(),d()},C.updateOntologyInformation=function(e,t){e=e||{},w=e.header||{},r(),a(void 0,t),l(w.other),C.updateSelectionInformation(void 0),o(w.languages)},C.updateSelectionInformation=function(e){if(k=e,!t.event||!t.event.defaultPrevented){var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");if(e&&!n)t.select("#selection-details-trigger").node().click();else if(!e&&n)return void d();M.isProperty(e)?p(e):M.isNode(e)&&m(e)}},C.showSidebar=function(n,o){1===n&&(_=!0,F.node().innerHTML=">",E.classed("hidden",!0),o===!0?(E.classed("hidden",!_),O.style("width","78%"),O.style("-webkit-animation-name","none"),S.style("width","78%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","78%"),O.style("-webkit-animation-name","sbCollapseAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","78%"),S.style("-webkit-animation-name","sbCollapseAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_ExpandRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth-.22*window.innerWidth),e.options().navigationMenu().updateScrollButtonVisibility()),0===n&&(_=!1,E.classed("hidden",!0),F.node().innerHTML="<",o===!0?(O.style("width","100%"),O.style("-webkit-animation-name","none"),S.style("width","100%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","100%"),O.style("-webkit-animation-name","sbExpandAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","100%"),S.style("-webkit-animation-name","sbExpandAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_CollapseRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility())},C.isSidebarVisible=function(){return _},C.updateSideBarVis=function(e){var t=C.getSidebarVisibility();C.showSidebar(parseInt(t),e)},C.getSidebarVisibility=function(){var e=E.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},C.initSideBarAnimation=function(){O.node().addEventListener("animationend",function(){E.classed("hidden",!_),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility()})},C.setup=function(){n(),C.initSideBarAnimation(),F.on("click",function(){e.options().navigationMenu().hideAllMenus();var t=parseInt(C.getSidebarVisibility());1===t?C.showSidebar(0):C.showSidebar(1)})},C.updateShowedInformation=function(){var n=e.editorMode();t.select("#generalDetails").classed("hidden",n),t.select("#generalDetailsEdit").classed("hidden",!n),e.options().editSidebar().updateGeneralOntologyInfo(),e.options().sidebar().updateGeneralOntologyInfo()},C.updateGeneralOntologyInfo=function(){var n=e.options().getGeneralMetaObject(),o=e&&e.language?e.language():null;n.hasOwnProperty("title")&&("object"==typeof n.title?t.select("#title").node().value=L.textInLanguage(n.title,o):t.select("#title").node().innerHTML=n.title),n.hasOwnProperty("iri")&&(t.select("#about").node().innerHTML=n.iri),n.hasOwnProperty("iri")&&(t.select("#about").node().href=n.iri),n.hasOwnProperty("version")&&(t.select("#version").node().innerHTML=n.version),n.hasOwnProperty("author")&&(t.select("#authors").node().innerHTML=n.author),n.hasOwnProperty("description")&&("object"==typeof n.description?t.select("#description").node().innerHTML=L.textInLanguage(n.description,o):t.select("#description").node().innerHTML=n.description)},C}}).call(t,n(6))},339:function(e,t,n){(function(t){e.exports=function(e){function n(e){for(var t=0;t"),e.updateCanvasContainerSize(),void e.options().navigationMenu().updateScrollButtonVisibility()):(t.select("#leftSideBarCollapseButton").classed("hidden",!0),1===n&&(u=!0,i.node().innerHTML="<",g.style("-webkit-animation-name","l_sbExpandAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_ExpandLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s")),void(0===n&&(u=!1,h.classed("hidden",!0),i.node().innerHTML=">",g.style("-webkit-animation-name","l_sbCollapseAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_CollapseLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("left","0"))))},c.getSidebarVisibility=function(){var e=h.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},c}}).call(t,n(6))},340:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=t.select("#typeEditor_datatype").node(),n=["undefined","xsd:boolean","xsd:double","xsd:integer","xsd:string"],o=0;o0){var s=e.options().prefixList()[a];if(void 0===s)return console.log("ERROR __________________"),e.options().warningModule().showWarning("Invalid Element IRI","Could not resolve prefix '"+s+"'","Restoring previous IRI for Element"+n.iri(),1,!1),void(t.select("#element_iriEditor").node().value=n.iri());if(0===l.length)return e.options().warningModule().showWarning("Invalid Element IRI","Input IRI is EMPTY","Restoring previous IRI for Element"+n.iri(),1,!1),console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());o=s+l}else o=i+l}else{if(0===o.length)return console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());console.log("Tryig to use the input!"),o=i+o}}return o}function f(n){var o,i=u(n),r=e.options().getGeneralMetaObjectProperty("iri");if(F.isNode(n)){if(o=e.checkIfIriClassAlreadyExist(i),o!==!1)return e.options().warningModule().showWarning("Already seen this class","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),2,!1,o),void O.updateSelectionInformation(n);n.iri(i)}return F.isProperty(n)===!0&&(o=O.checkProperIriChange(n,i),o!==!1)?(e.options().warningModule().showWarning("Already seen this property","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),1,!1,o),void O.updateSelectionInformation(n)):(n.iri(i),c(r,i)===!0?(b(n,"external"),n.backgroundColor("#36C"),n.redrawElement(),n.redrawLabelText()):(x(n,"external"),n.backgroundColor(void 0),n.redrawElement(),n.redrawLabelText()),n.focused()&&(e.options().focuserModule().handle(n,!0),e.options().focuserModule().handle(n,!0)),t.select("#element_iriEditor").node().value=I.getPrefixRepresentationForFullURI(i),void O.updateSelectionInformation(n))}function h(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function g(e){e.label(t.select("#element_labelEditor").node().value),e.redrawLabelText()}function v(e){M=e;var n,o=t.select("#property_characteristics_Selection"),i=o.node().children;if(i)for(var r=i.length,a=0;a-1){var l=o.append("span");l.classed("spanForCharSelection",!0),l.node().innerHTML="external"}var s,d;if(F.isNode(e)===!0){var c=["deprecated"];for(n=0;n=0}function y(){var e=this.checked,t=this.getAttribute("characteristics");e===!0?b(M,t):x(M,t),M.redrawElement(),M.focused(!1),M.toggleFocus()}function b(e,t){if(e.attributes().indexOf(t)===-1){var n=e.attributes();n.push(t),e.attributes(n)}if(e.indications().indexOf(t)===-1){var o=e.indications();o.push(t),e.indications(o)}var i;if(e.visualAttributes().indexOf(t)===-1&&(i=e.visualAttributes(),i.push(t),e.visualAttributes(i)),m(e,"external")&&m(e,"deprecated")){i=e.visualAttributes();var r=i.indexOf("external");r>-1&&i.splice(r,1),e.visualAttributes(i)}}function x(e,t){var n=e.attributes(),o=e.indications(),i=e.visualAttributes(),r=n.indexOf(t);r>=0&&n.splice(r,1);var a=o.indexOf(t);a>-1&&o.splice(a,1);var l=i.indexOf(t);l>-1&&i.splice(l,1),e.attributes(n),e.indications(o),e.visualAttributes(i),"deprecated"===t&&("owl:Class"===e.type()&&e.styleClass("class"),"owl:DatatypeProperty"===e.type()&&e.styleClass("datatypeproperty"),"owl:ObjectProperty"===e.type()&&e.styleClass("objectproperty"),"owl:disjointWith"===e.type()&&e.styleClass("disjointwith"))}function w(e){return"owl:Thing"!==e.type()&&"rdfs:subClassOf"!==e.type()&&"rdfs:Literal"!==e.type()&&"rdfs:Datatype"!==e.type()&&"rdfs:disjointWith"!==e.type()}function k(t){F.isNode(t)&&e.changeNodeType(t)===!1&&(F.isDatatype(t)===!0,O.updateSelectionInformation(t)),F.isProperty(t)&&e.changePropertyType(t)===!1&&O.updateSelectionInformation(t)}function C(e){var t=[];return F.isProperty(e)?("owl:DatatypeProperty"===e.type()?t.push("owl:DatatypeProperty"):(t.push("owl:ObjectProperty"),e.domain()!==e.range()&&t.push("rdfs:subClassOf"),t.push("owl:disjointWith"),t.push("owl:allValuesFrom"),t.push("owl:someValuesFrom")),t):("rect"===e.renderType()?(t.push("rdfs:Literal"),t.push("rdfs:Datatype")):(t.push("owl:Class"),t.push("owl:Thing")),t)}function L(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");o.on("click",function(){var o=t.select(this);o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0)),O.updateElementWidth()})}var M,_,E,O={},S=webvowl.util.languageTools(),F=webvowl.util.elementTools(),I=webvowl.util.prefixTools(e),T=!1;return O.clearMetaObjectValue=function(){t.select("#titleEditor").node().value="",t.select("#iriEditor").node().value="",t.select("#versionEditor").node().value="",t.select("#authorsEditor").node().value="",t.select("#descriptionEditor").node().value=""},O.updatePrefixUi=function(){O.updateElementWidth();for(var e=t.select("#prefixURL_Container");e.node().firstChild;)e.node().removeChild(e.node().firstChild);a()},O.setup=function(){L(),a(),r(),n(),t.select("#titleEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value))}),t.select("#iriEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri"))}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri")))}),t.select("#versionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value))}),t.select("#authorsEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value))}),t.select("#descriptionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("description",t.select("#descriptionEditor").node().value)}),O.updateElementWidth()},O.updateEditDeleteButtonIds=function(e,n){t.select("#prefixInputFor_"+e).node().id="prefixInputFor_"+n,t.select("#prefixURLFor_"+e).node().id="prefixURLFor_"+n,t.select("#deleteButtonFor_"+e).node().id="deleteButtonFor_"+n,t.select("#editButtonFor_"+e).node().id="editButtonFor_"+n,t.select("#prefixContainerFor_"+e).node().id="prefixContainerFor_"+n},O.checkForExistingURL=function(t){var n,o=e.getUnfilteredData().properties;for(n=0;n0&&(e=-10);var o=parseInt(s.property("value")),i=o+e;i!==o&&(s.property("value",i),r(i),s.on("input")()),t.event.preventDefault()}})}function o(n,o,i,a,l){var s=t.select(i).append("div").classed("checkboxContainer",!0),d=s.append("input").classed("moduleCheckbox",!0).attr("id",n+"ConfigCheckbox").attr("type","checkbox").property("checked",a());d.on("click",function(t){var n=d.property("checked");a(n),t!==!0&&(1===l&&e.lazyRefresh(),2===l&&e.update(),3===l&&e.updateDraggerElements())}),r.push(d),s.append("label").attr("for",n+"ConfigCheckbox").text(o)}var i={},r=[];return i.setup=function(){var i=t.select("#m_modes");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),o("showZoomSlider","Zoom controls","#zoomSliderOption",e.options().zoomSlider().showSlider,0),n("#maxLabelWidthSliderOption","maxLabelWidth","Max label width",e.options().maxLabelWidth)},i.setCheckBoxValue=function(e,t){for(var n=0;nTrying to convert with other communication protocol."),e(t)}function i(e){f.append_message_toLastBulletPoint("
    Trying to convert with other communication protocol.");var t=e[0],n=e[1],o=new FormData;o.append("ontology",t);var i=new XMLHttpRequest;i.open("POST","convert",!0);var r="";i.onload=function(){200===i.status&&(r=i.responseText,f.setCachedOntology(n,r),h=n,L=!0,f.append_message_toLastBulletPoint("
    Success, but you are using a deprecated OWL2VOWL service!"),s(r))},i.onreadystatechange=function(){4===i.readyState&&0===i.status&&(f.append_message_toLastBulletPoint("
    Old protocol also failed to establish connection to OWL2VOWL service!"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage())},i.send(o)}function r(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){O.setBusyMode(),t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage()):(u=o.responseText,f.setConversionID(u),n[0]=n[0]+"&sessionId="+u,n.push(u),e(n))})}function a(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),i(n)):(u=o.responseText,f.setConversionID(u),console.log("Request Session ID:"+u),e(n[0],n[1],u))})}function l(n){var o;n.indexOf("new_ontology")!==-1&&(O.hideLoadingIndicator(),e.showEditorHintIfNeeded(),o="./data/new_ontology.json"),C=!1;var i="";if(f.cachedOntology(n))f.append_bulletPoint("Loading already cached ontology: "+n),i=f.cachedOntology(n),C=!0,O.showLoadingIndicator(),s(i);else{var r="./data/"+n+".json";o&&(r=o),t.xhr(r,"application/json",function(t,o){var r=!t;r?(i=o.responseText,s(i)):(f.append_bulletPoint("Failed to load: "+n),f.append_message_toLastBulletPoint(" ERROR STATUS: "+t.status),e.handleOnLoadingError(),O.setErrorMode())})}}function s(e){f.append_bulletPoint("Reading ontology graph ... ");var t=f.getLoadingFunction();t(e,h,"noAlternativeNameYet")}function d(e){var t=(e.match(/#/g)||[]).length,n=[];if(t>0)for(var o=e.split("#"),i=1;i=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else h=e[0],n()}function r(e){if(e[0].indexOf(a)>=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else n();h=e[1]}var a="opts=";switch(t.length){case 0:n();break;case 1:i(t);break;case 2:r(t);break;default:console.log("To many input parameters , loading default config"),n(),h="ERROR_TO_MANY_INPUT_PARAMETERS"}}function p(e){var t="iri=",n="url=",o="file=",i=-1;return i=e.substr(0,o.length)===o?v:e.substr(0,n.length)===n?m:e.substr(0,t.length)===t?y:g}var u,f,h,g=0,v=1,m=2,y=3,b=0,x=1,w=2,k=1,C=!1,L=!1,M=!1,_=!0,E="ontology",O={},S=t.select("#loading-info"),F=t.select("#loadingInfo-container"),I=t.select("#show-loadingInfo-button"),T=t.select("#loadingIndicator_closeButton");return O.checkForScreenSize=function(){var n=e.options().width(),o=e.options().height();n<270?t.select("#loading-info").classed("hidden",!0):_===!0?t.select("#loading-info").classed("hidden",!1):t.select("#loading-info").classed("hidden",!0),o<150?t.select("#loadingInfo_msgBox").classed("hidden",!0):t.select("#loadingInfo_msgBox").classed("hidden",!1),o<80?(t.select("#progressBarContext").classed("hidden",!0),t.select("#layoutLoadingProgressBarContainer").style("height","20px")):(t.select("#progressBarContext").classed("hidden",!1),t.select("#layoutLoadingProgressBarContainer").style("height","50px"))},O.getProgressBarMode=function(){return k},O.successfullyLoadedOntology=function(){return C},O.missingImportsWarning=function(){return L},O.setOntologyMenu=function(e){f=e},O.showErrorDetailsMessage=function(){O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!0),O.scrollDownDetails()},O.showWarningDetailsMessage=function(){t.select("#currentLoadingStep").style("color","#ff0"),O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!1),O.scrollDownDetails()},O.scrollDownDetails=function(){var e=t.select("#loadingInfo-container").node();e.scrollTop=e.scrollHeight},O.hideLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!0),_=!1},O.showLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!1),_=!0},O.setup=function(){F.classed("hidden",!M),I.on("click",function(){M=!M,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)}),T.on("click",function(){S.classed("hidden",!0)}),O.setBusyMode()},O.updateSize=function(){M=!F.classed("hidden"),F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.getDetailsState=function(){return M},O.expandDetails=function(){M=!0,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.collapseDetails=function(){M=!1,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.setBusyMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").style("width","20%"),t.select("#progressBarValue").classed("busyProgressBar",!0),k=x},O.setSuccessful=function(){t.select("#currentLoadingStep").style("color","#0f0")},O.setErrorMode=function(){t.select("#currentLoadingStep").style("color","#f00"),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="",k=b},O.setPercentMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="0%",t.select("#progressBarValue").style("width","0%"),k=w},O.setPercentValue=function(e){t.select("#progressBarValue").node().innherHTML=e},O.emptyGraphContentError=function(){e.clearGraphData(),f.append_message_toLastBulletPoint("failed"),f.append_message_toLastBulletPoint('
    Error: Received empty graph'),C=!1,e.handleOnLoadingError(),O.setErrorMode()},O.isThreadCanceled=function(){},O.initializeLoader=function(n){if(n===!0&&null!==e.getCachedJsonObj()){var o=JSON.stringify(e.getCachedJsonObj()),i=h;f.setCachedOntology(i,o)}u=-1e4,f.setConversionID(u),f.stopLoadingTimer(),e.clearGraphData(),O.setBusyMode(),O.showLoadingIndicator(),O.collapseDetails(),L=!1,t.select("#loadingIndicator_closeButton").classed("hidden",!0),f.clearDetailInformation()},O.parseUrlAndLoadOntology=function(n){var o=!0;n===!1&&(o=!1),e.clearAllGraphData(),O.initializeLoader(o);var i=String(location),r=d(i);h=E,c(r);var a=p(h);switch(t.select("#progressBarValue").node().innerHTML=" ",a){case 0:O.from_presetOntology(h);break;case 1:O.from_FileUpload(h);break;case 2:O.from_JSON_URL(h);break;case 3:O.from_IRI_URL(h);break;default:console.log("Could not identify loading method , or not IMPLEMENTED YET")}},O.from_JSON_URL=function(e){var t=decodeURIComponent(e.slice("url=".length));h=t;var o="";f.cachedOntology(t)?(f.append_bulletPoint("Loading already cached ontology: "+t),o=f.cachedOntology(t),C=!0,s(o)):(f.append_message("Retrieving ontology from JSON URL "+t),n(f.callbackLoad_JSON_FromURL,["read?json="+t,t]))},O.requestServerTimeStampForDirectInput=function(e,n){t.xhr("serverTimeStamp","application/text",function(o,i){o?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage(),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").text("0%")):(u=i.responseText,f.setConversionID(u),e(n,["conversionID"+u,u]))})},O.from_IRI_URL=function(e){var t=decodeURIComponent(e.slice("iri=".length));h=t;var n="";if(f.cachedOntology(t))f.append_bulletPoint("Loading already cached ontology: "+t),n=f.cachedOntology(t),C=!0,s(n);else{var o=encodeURIComponent(t);f.append_bulletPoint("Retrieving ontology from IRI: "+t),r(f.callbackLoad_Ontology_FromIRI,["convert?iri="+o,t])}},O.from_FileUpload=function(n){O.setBusyMode();var o=decodeURIComponent(n.slice("file=".length));h=o;var i="";if(f.cachedOntology(o))f.append_bulletPoint("Loading already cached ontology: "+o),i=f.cachedOntology(o),C=!0,s(i);else{f.append_bulletPoint("Retrieving ontology from file: "+o);var r=t.select("#file-converter-input").property("files")[0];if(!r||o&&o!==r.name)return f.append_message_toLastBulletPoint('
    No cached version of "'+o+'" was found.
    Please reupload the file.'),O.setErrorMode(),t.select("#progressBarValue").classed("busyProgressBar",!1),void e.handleOnLoadingError();if(o=r.name,o.match(/\.json$/)){f.setConversionID(-1e4);var l=new FileReader;l.readAsText(r),l.onload=function(){i=l.result,h=o,s(i)}}else{var d=[r,o];a(f.callbackLoadFromOntology,d)}}},O.directInput=function(e){f.clearDetailInformation(),s(e)},O.loadFromOWL2VOWL=function(e,n){C=!1;var o=t.select("#bulletPoint_container").node().innerHTML;o.indexOf("(with warnings)")!==-1&&(L=!0),f.cachedOntology(e)?(f.append_bulletPoint("Loading already cached ontology: "+n),s(e)):s(e)},O.from_presetOntology=function(e){f.append_bulletPoint("Retrieving ontology: "+e),l(e)},O.notValidJsonFile=function(){e.clearGraphData(),f.append_message_toLastBulletPoint(" failed"),f.append_message_toLastBulletPoint("
    Error: Received empty graph"),C=!1,e.handleOnLoadingError()},O.validJsonFile=function(){f.append_message_toLastBulletPoint("done"),C=!0},O}}).call(t,n(6))},343:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=document.styleSheets[1].cssRules,t=0;tYou can now modify an existing ontology or create a new one via the ontology menu.
    You can save any ontology using the export menu (and exporting it as TTL file).",o.style("padding","5px"),o.style("line-height","1.2em"),o.style("font-size","1.2em");var a=t.append("ul");a.append("li").node().innerHTML="Create a class with double click / tap on empty canvas area.",a.append("li").node().innerHTML="Edit names with double click / tap on element.",a.append("li").node().innerHTML="Selection of default constructors is provided in the left sidebar.",a.append("li").node().innerHTML="Additional editing functionality is provided in the right sidebar.";var d=t.append("label");d.node().id="killWarningErrorMessages_"+e,d.node().innerHTML="Got It",d.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showMessage=function(e){var t=l[e];t.classed("hidden",!1),t.style("-webkit-animation-name","warn_ExpandAnimation"),t.style("-webkit-animation-duration","0.5s")},r.closeMessage=function(e){var n;if(void 0===e){var o=this.id;n=o.split("_")[1]}else n=e;e&&e.indexOf("_")!==-1&&(n=e.split("_")[1]),d[n]=!1;var i=l[n];i.style("-webkit-animation-name","warn_CollapseAnimation"),i.style("-webkit-animation-duration","0.5s");for(var r=i.node().getBoundingClientRect().height,a=i.node().parentNode,s=[],c=a.children,u=c.length,f=i.node().id,h=!1,g=0;g0){var v=f.append("div");v.style("padding","5px");var m=v.append("div");m.style("display","inline-flex"),m.node().innerHTML="Warning:",m.style("padding-right","3px");var y=v.append("div");y.style("display","inline-flex"),y.style("max-width",g+"px"),y.node().innerHTML=n}if(o.length>0){var b=f.append("div");b.style("padding","5px");var x=b.append("div");x.style("display","inline-flex"),x.style("padding-right","3px"),x.node().innerHTML="Reason:";var w=b.append("div");w.style("display","inline-flex"),w.style("max-width",g+"px"),w.node().innerHTML=o}if(i.length>0){var k=f.append("div");k.style("padding","5px");var C=k.append("div");C.style("display","inline-flex"),C.style("padding-right","8px"),C.node().innerHTML="Action:";var L=k.append("div");L.style("display","inline-flex"),L.style("max-width",g+"px"),L.node().innerHTML=i}var M=f.append("label");M.node().id="killWarningErrorMessages_"+u,M.node().innerHTML="Continue",M.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0),a(c[0],c[1],c[2],c[3])}),f.append("span").node().innerHTML="|";var _=f.append("label");_.node().id="cancelButton_"+u,_.node().innerHTML="Cancel",_.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0)}),h.classed("hidden",!1),h.style("-webkit-animation-name","warn_ExpandAnimation"),h.style("-webkit-animation-duration","0.5s")},r.showFilterHint=function(){var e=r.addMessageBox(),t=s[e],n=l[e];d[e]=!0,o=e;var i=t.append("div");i.node().innerHTML="Collapsing filter activated.
    The number of visualized elements has been automatically reduced.
    Use the degree of collapsing slider in the filter menu to adjust the visualization.

    Note: A performance decrease could be experienced with a growing amount of visual elements in the graph.",i.style("padding","5px"),i.style("line-height","1.2em"),i.style("font-size","1.2em");var a=t.append("label");a.node().id="killFilterMessages_"+e,a.node().innerHTML="Got It",a.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showWarning=function(t,n,o,i,a,c){var p=r.addMessageBox(),u=s[p],f=l[p];d[p]=!0;var h=.5*e.options().width();if(t.length>0){var g=u.append("div");g.style("padding","5px");var v=g.append("div");v.style("display","inline-flex"),v.node().innerHTML="Warning:",v.style("padding-right","3px");var m=g.append("div");m.style("display","inline-flex"),m.style("max-width",h+"px"),m.node().innerHTML=t}if(n.length>0){var y=u.append("div");y.style("padding","5px");var b=y.append("div");b.style("display","inline-flex"),b.style("padding-right","3px"),b.node().innerHTML="Reason:";var x=y.append("div");x.style("display","inline-flex"),x.style("max-width",h+"px"),x.node().innerHTML=n}if(o.length>0){var w=u.append("div");w.style("padding","5px");var k=w.append("div");k.style("display","inline-flex"),k.style("padding-right","8px"),k.node().innerHTML="Action:";var C=w.append("div");C.style("display","inline-flex"),C.style("max-width",h+"px"),C.node().innerHTML=o}var L;if(1===i&&(L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage)),2===i){L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage),u.append("span").node().innerHTML="|";var M=u.append("label");M.node().id="zoomElementThing_"+p,M.node().innerHTML="Zoom to element ",M.on("click",function(){e.zoomToElementInGraph(c)}),u.append("span").node().innerHTML="|";var _=u.append("label");_.node().id="showElementThing_"+p,_.node().innerHTML="Indicate element",_.on("click",function(){c.halo()===!1?(c.drawHalo(),e.updatePulseIds([c.id()])):(c.removeHalo(),c.drawHalo(),e.updatePulseIds([c.id()]))})}f.classed("hidden",!1),f.style("-webkit-animation-name","warn_ExpandAnimation"),f.style("-webkit-animation-duration","0.5s"),f.classed("hidden",!1)},r}}).call(t,n(6))},344:function(e,t,n){(function(t){e.exports=function(e){var n={},o=t.select("#DirectInputContent");o.style("top","0"),o.style("position","absolute");var i=t.select("#directInputTextArea"),r=!1;return o.style("border","1px solid black"),o.style("padding","5px"),o.style("background","#fff"),n.handleDirectUpload=function(){var o,r=i.node().value;try{o=JSON.parse(r),e.options().loadingModule().directInput(r),o.class.length>0&&n.setDirectInputMode(!1)}catch(n){try{e.options().loadingModule().initializeLoader(),e.options().loadingModule().requestServerTimeStampForDirectInput(e.options().ontologyMenu().callbackLoad_Ontology_From_DirectInput,r)}catch(e){console.log("Error "+e),t.select("#Error_onLoad").classed("hidden",!1),t.select("#Error_onLoad").node().innerHTML="Failed to convert the input!"}}},n.handleCloseButton=function(){n.setDirectInputMode(!1)},n.updateLayout=function(){var t=e.options().width(),n=e.options().height();i.style("width",.4*t+"px"),i.style("height",.7*n+"px")},n.setDirectInputMode=function(e){r=e?e:!r,n.updateLayout(),t.select("#Error_onLoad").classed("hidden",!0),o.classed("hidden",!r)},t.select("#directUploadBtn").on("click",n.handleDirectUpload),t.select("#close_directUploadBtn").on("click",n.handleCloseButton),n}}).call(t,n(6))}}); diff --git a/dist/vocabulary/mapping/0.1.0/webvowl/js/webvowl.js b/dist/vocabulary/mapping/0.1.0/webvowl/js/webvowl.js new file mode 100644 index 0000000..fe3a381 --- /dev/null +++ b/dist/vocabulary/mapping/0.1.0/webvowl/js/webvowl.js @@ -0,0 +1,7 @@ +webvowl=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){function r(e,t){var n=t.key.replace(":","").toLowerCase();e[n]=t.value}n(1);var o=n(5)(),a=n(40)(),i={};i.graph=n(57),i.options=n(64),i.version="1.1.4",i.util={},i.util.constants=n(12),i.util.languageTools=n(11),i.util.elementTools=n(63),i.util.prefixTools=n(72),i.modules={},i.modules.colorExternalsSwitch=n(73),i.modules.compactNotationSwitch=n(74),i.modules.datatypeFilter=n(75),i.modules.disjointFilter=n(77),i.modules.focuser=n(78),i.modules.emptyLiteralFilter=n(79),i.modules.nodeDegreeFilter=n(80),i.modules.nodeScalingSwitch=n(81),i.modules.objectPropertyFilter=n(82),i.modules.pickAndPin=n(83),i.modules.selectionDetailsDisplayer=n(315),i.modules.setOperatorFilter=n(316),i.modules.statistics=n(317),i.modules.subclassFilter=n(318),i.nodes={},o.entries().forEach(function(e){r(i.nodes,e)}),i.properties={},a.entries().forEach(function(e){r(i.properties,e)}),e.exports=i},function(e,t){},,,,function(e,t,n){(function(t){var r=[];r.push(n(7)),r.push(n(18)),r.push(n(19)),r.push(n(26)),r.push(n(27)),r.push(n(28)),r.push(n(29)),r.push(n(30)),r.push(n(31)),r.push(n(32)),r.push(n(33)),r.push(n(34)),r.push(n(38)),r.push(n(39));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t){e.exports=d3},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["external"]).type("ExternalClass")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(9),o=n(14),a=n(17)();e.exports=function(){var e=function(e){function t(){var t=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(t=void 0);var n=new o(u.nodeElement(),t),r=u.equivalentsString(),a=r?",":"";return n.addText(u.labelForCurrentLanguage(),"",a),n.addEquivalents(r),e.options().compactNotation()||n.addSubText(u.indicationString()),n.addInstanceCount(u.individuals().length),n}r.apply(this,arguments);var n,i,s,l,u=this,c=!1,d=50,p=null,f=!1;this.setRectangularRepresentation=function(e){f=e},this.getRectangularRepresentation=function(){return f},this.getHalos=function(){return p},this.collapsible=function(e){return arguments.length?(c=e,this):c},this.textBlock=function(e){return arguments.length?(l=e,this):l},this.radius=function(e){return arguments.length?(d=e,this):d},this.setHoverHighlighting=function(e){u.nodeElement().selectAll("circle").classed("hovered",e)},this.textWidth=function(e){var t=2*this.actualRadius();if(e){var n=Math.abs(e)/this.actualRadius(),r=n<=1;t=r?Math.cos(n)*t:0}return t},this.toggleFocus=function(){u.focused(!u.focused()),u.nodeElement()&&u.nodeElement().select("circle").classed("focused",u.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.actualRadius=function(){if(!e.options().scaleNodesByIndividuals()||u.individuals().length<=0)return u.radius();var t=8,n=Math.log(u.individuals().length+1)*t+5;return u.radius()+n},this.distanceToBorder=function(){return u.actualRadius()},this.removeHalo=function(){u.halo()&&(u.halo(!1),p&&p.remove())},this.drawHalo=function(e){if(u.halo(!0),p=f===!0?a.drawRectHalo(u.nodeElement(),80,80,5):a.drawHalo(u.nodeElement(),u.actualRadius(),this.removeHalo),e===!1){var t=p.selectAll(".searchResultA");t.classed("searchResultA",!1),t.classed("searchResultB",!0),t.attr("animationRunning",!1)}},this.drawPin=function(){u.pinned(!0);var t=-.7*u.actualRadius(),n=-.7*u.actualRadius();i=a.drawPin(u.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){u.pinned(!1),i&&i.remove(),e.updateStyle()},this.drawCollapsingButton=function(){n=u.nodeElement().append("g").classed("hidden-in-export",!0).attr("transform",function(){var e=-.4*u.actualRadius(),t=.5*u.actualRadius();return"translate("+e+","+t+")"}),n.append("rect").classed("class pin feature",!0).attr("x",0).attr("y",0).attr("width",40).attr("height",24),n.append("line").attr("x1",13).attr("y1",12).attr("x2",27).attr("y2",12),n.append("line").attr("x1",20).attr("y1",6).attr("x2",20).attr("y2",18)},this.draw=function(e,t){var n=u.collectCssClasses();u.nodeElement(e);var r=u.backgroundColor();null===r&&(r=void 0),u.attributes().indexOf("deprecated")>-1&&(r=void 0),t instanceof Array&&(n=n.concat(t)),s=f===!0?a.appendRectangularClass(e,80,80,n,u.labelForCurrentLanguage(),r):a.appendCircularClass(e,u.actualRadius(),n,u.labelForCurrentLanguage(),r),u.postDrawActions(e)},this.redrawElement=function(){s.remove(),l.remove();var e=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(e=void 0);var t=u.collectCssClasses();s=f===!0?a.appendRectangularClass(u.nodeElement(),80,80,t,u.labelForCurrentLanguage(),e):a.appendCircularClass(u.nodeElement(),u.actualRadius(),t,u.labelForCurrentLanguage(),e),u.postDrawActions(u.nodeElement())},this.postDrawActions=function(){u.textBlock(t()),u.addMouseListeners(),u.pinned()&&u.drawPin(),u.halo()&&u.drawHalo(!1),u.collapsible()&&u.drawCollapsingButton()},this.redrawLabelText=function(){u.textBlock().remove(),u.textBlock(t()),s.select("title").text(u.labelForCurrentLanguage())},this.equivalentsString=function(){var e=u.equivalents();if(e)return e.map(function(e){return e.labelForCurrentLanguage()}).join(", ")}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(13)();e.exports=function(){var e=function(e){function n(){if(!g.mouseEntered()&&b!==!0){var t=g.nodeElement().node(),n=t.parentNode;g.animationProcess()===!1&&n.appendChild(t),e.isTouchDevice()===!1?(g.setHoverHighlighting(!0),g.mouseEntered(!0),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g)):e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g,!0)}}function a(){g.setHoverHighlighting(!1),g.mouseEntered(!1),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!1)}r.apply(this,arguments);var i,s,l,u,c,d,p,f,h,v,g=this,y=[],m="round",b=!1,x=[];g.editingTextElement=!1,this.isPropertyAssignedToThisElement=function(e){if(console.log("Element IRI :"+e.iri()),"rdfs:subClassOf"===e.type())for(var t=0;t0?this.LINE_DISTANCE:0;e.attr("dy",n+o+"px")},r.prototype.getTextBox=function(){return this._textBlock()},r.prototype._repositionTextBlock=function(){var e=this._lineCount();if(e<1)return void this._textBlock().attr("y",0);var t=this._textBlock().node().getBBox().height;this._textBlock().attr("y",.5*-t+"px")},r.prototype._lineCount=function(){return this._textBlock().property("childElementCount")}},function(e,t,n){(function(t){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}var r=4,o={};o.truncate=function(e,t,o,a){if(t-=isNaN(a)?r:a,isNaN(t)||t<=0)return e;for(var i,s,l,u=e;;){if(s=n(u,o),s<=t)break;if(l=s/t,i=Math.floor(u.length/l),u.length===i)break;u=u.substring(0,i)}return e.length>u.length?e.substring(0,u.length-3)+"...":e},e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){(function(t){function n(e,t){var n=e.append("text").classed("text",!0).style("fill",this._getTextColor(t)).attr("text-anchor","middle");this._textBlock=function(){return n}}function r(e){return.3*(e.r/255)+.59*(e.g/255)+.11*(e.b/255)}e.exports=n,n.prototype.LINE_DISTANCE=1,n.prototype.CSS_CLASSES={default:"text",subtext:"subtext",instanceCount:"instance-count"},n.prototype.DARK_TEXT_COLOR="#000",n.prototype.LIGHT_TEXT_COLOR="#fff",n.prototype.translation=function(e,t){return this._textBlock().attr("transform","translate("+e+", "+t+")"),this},n.prototype.remove=function(){return this._textBlock().remove(),this},n.prototype._applyPreAndPostFix=function(e,t,n){return t&&(e=t+e),n&&(e+=n),e},n.prototype._getTextColor=function(e){if(!e)return n.prototype.DARK_TEXT_COLOR;var o=t.rgb(e);return r(o)>.5?n.prototype.DARK_TEXT_COLOR:n.prototype.LIGHT_TEXT_COLOR}}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e,t){t instanceof Array&&t.forEach(function(t){e.classed(t,!0)})}function n(e,t){t&&e.append("title").text(t)}function r(e,t){t&&e.style("fill",t)}var o={};return o.appendCircularClass=function(t,o,a,i,s){var l=t.append("circle").classed("class",!0).attr("r",o);return e(l,a),n(l,i),r(l,s),l},o.appendRectangularClass=function(t,o,a,i,s,l){var u=t.append("rect").classed("class",!0).attr("x",-o/2).attr("y",-a/2).attr("width",o).attr("height",a);return e(u,i),n(u,s),r(u,l),u},o.drawPin=function(e,n,r,o,a,i){var s=e.append("g").classed("hidden-in-export",!0).attr("transform","translate("+n+","+r+")"),l=s.append("circle").classed("class pin feature",!0).attr("r",12).on("click",function(){o&&o(),t.event.stopPropagation()});return s.append("line").attr("x1",0).attr("x2",0).attr("y1",12).attr("y2",16),i===!0&&s.append("circle").attr("r",15).attr("cx",-7).attr("cy",-7).classed("superHiddenElement ",!0).classed("superOpacityElement",!a()).on("click",function(){o&&o(),t.event.stopPropagation()}).on("mouseover",function(){l.classed("feature_hover",!0)}).on("mouseout",function(){l.classed("feature_hover",!1)}),s},o.drawRectHalo=function(e,t,n,r){var o;if(o=e.nodeElement?e.nodeElement():e.labelElement()){var a=o.append("g").classed("hidden-in-export",!0);return a.append("rect").classed("searchResultA",!0).attr("x",(-t-r)/2).attr("y",(-r-n)/2).attr("width",t+r).attr("height",n+r),a.attr("animationRunning",!0),a.node().addEventListener("webkitAnimationEnd",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a.node().addEventListener("animationend",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a}},o.drawHalo=function(e,t){if(void 0===e)return null;var n=e.append("g").classed("hidden-in-export",!0);return n.append("circle",":first-child").classed("searchResultA",!0).attr("r",t+15),n.attr("animationRunning",!0),n.node().addEventListener("webkitAnimationEnd",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n.node().addEventListener("animationend",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n},function(){return o}}()}).call(t,n(6))},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.type("owl:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("complementof").type("owl:complementOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0);r.append("circle").attr("class","symbol").classed("fineline",!0).attr("r",10),r.append("path").attr("class","nofill").attr("d","m -7,-1.5 12,0 0,6").attr("transform","scale(.5)"),r.attr("transform","translate(-"+(t.radius()-15)/100+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(21),o=n(22),a=n(8),i=n(17)();e.exports=function(){var e=function(e){a.apply(this,arguments);var t=this,n=t.setHoverHighlighting,s=t.postDrawActions;this.setHoverHighlighting=function(e){n(e),t.links().filter(function(e){return e instanceof o}).filter(function(e){return e.domain().equals(t)}).forEach(function(t){t.property().setHighlighting(e)})},this.draw=function(e){t.nodeElement(e),i.appendCircularClass(e,t.actualRadius(),t.collectCssClasses().join(" "),t.labelForCurrentLanguage(),t.backgroundColor())},this.postDrawActions=function(){s(),t.textBlock().remove();var n=new r(t.nodeElement(),t.backgroundColor()),o=t.equivalentsString(),a=o?-30:-17,i=o?",":"";n.addText(t.labelForCurrentLanguage(),a,"",i),n.addEquivalents(o,-17),e.options().compactNotation()?n.addInstanceCount(t.individuals().length,17):t.indicationString().length>0?(n.addSubText(t.indicationString(),17),n.addInstanceCount(t.individuals().length,30)):n.addInstanceCount(t.individuals().length,17),t.textBlock(n)}};return e.prototype=Object.create(a.prototype),e.prototype.constructor=e,e}()},function(e,t,n){function r(e,t){a.apply(this,arguments)}var o=n(15)(),a=n(16);e.exports=r,r.prototype=Object.create(a.prototype),r.prototype.constructor=r,r.prototype.addText=function(e,t,n,r){e&&this.addTextline(e,this.CSS_CLASSES.default,t,n,r)},r.prototype.addSubText=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.subtext,t,"(",")")},r.prototype.addEquivalents=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.default,t)},r.prototype.addInstanceCount=function(e,t){e&&this.addTextline(e.toString(),this.CSS_CLASSES.instanceCount,t)},r.prototype.addTextline=function(e,t,n,r,a){var i=o.truncate(e,this._textBlock().datum().textWidth(n),t),s=this._textBlock().append("tspan").classed(this.CSS_CLASSES.default,!0).classed(t,!0).text(this._applyPreAndPostFix(i,r,a)).attr("x",0);this._repositionTextLine(s,n)},r.prototype._repositionTextLine=function(e,t){var n=window.getComputedStyle(e.node()).getPropertyValue("font-size"),r=parseFloat(n),o=1/3*r;e.attr("y",o+(t||0)+"px")}},function(e,t,n){function r(e,t,n){s.apply(this,arguments)}function o(e,t){var n=i(e,t);n.attr("refX",-8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function a(e,t){var n=i(e,t);n.attr("refX",8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function i(e,t){return e.append("marker").datum(t).attr("id",t.markerId()).attr("viewBox","-10 -10 20 20").attr("markerWidth",20).attr("markerHeight",20).attr("markerUnits","userSpaceOnUse").attr("orient","auto")}var s=n(23);e.exports=r,r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.draw=function(e,t){var n=this.label().property(),r=this.label().inverse();o(t,n),r&&a(t,r),s.prototype.draw.apply(this,arguments),e.attr("marker-start","url(#"+n.markerId()+")"),r&&e.attr("marker-end","url(#"+r.markerId()+")")}},function(e,t,n){function r(e,t,r){var a,i,s,l,u,c=new o(r,this),d=n(25)(e,c,this),p=n(25)(c,t,this);this.layers=function(e){return arguments.length?(a=e,this):a},this.layerIndex=function(e){return arguments.length?(i=e,this):i},this.loops=function(e){return arguments.length?(s=e,this):s},this.loopIndex=function(e){return arguments.length?(l=e,this):l},this.domain=function(){return e},this.label=function(){return c},this.linkParts=function(){return[p,d]},this.range=function(){return t},this.pathObj=function(e){return arguments.length?void(u=e):u}}var o=n(24);e.exports=r,r.prototype.draw=function(e){var t=this.label().property(),n=this.label().inverse();t.linkGroup(e),n&&n.linkGroup(e);var r=e.append("path");r.classed("link-path",!0).classed(this.domain().cssClassOfNode(),!0).classed(this.range().cssClassOfNode(),!0).classed(t.linkType(),!0),this.pathObj(r)},r.prototype.inverse=function(){return this.label().inverse()},r.prototype.isLoop=function(){return this.domain().equals(this.range())},r.prototype.property=function(){return this.label().property()}},function(e,t){function n(e,t){this.link=function(){return t},this.property=function(){return e},Object.defineProperty(this,"fixed",{get:function(){var t=!!e.inverse()&&e.inverse().fixed;return e.fixed||t},set:function(t){e.fixed=t,e.inverse()&&(e.inverse().fixed=t)}}),this.frozen=e.frozen,this.locked=e.locked,this.pinned=e.pinned}e.exports=n,n.prototype.actualRadius=function(){return this.property().actualRadius()},n.prototype.draw=function(e){return this.property().draw(e)},n.prototype.inverse=function(){return this.property().inverse()},n.prototype.equals=function(e){if(!e)return!1;var t=e instanceof n,r=this.property().equals(e.property()),o=!1;return this.inverse()?o=this.inverse().equals(e.inverse()):e.inverse()||(o=!0),t&&r&&o}},function(e,t){e.exports=function(e,t,n){var r={},o=e,a=n,i=t;return Object.defineProperties(r,{source:{value:o,writable:!0},target:{value:i,writable:!0}}),r.domain=function(){return o},r.link=function(){return a},r.range=function(){return i},r}},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).type("owl:DeprecatedClass").styleClass("deprecated").indications(["deprecated"])};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("disjointunionof").type("owl:disjointUnionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("text").attr("class","link").text("1").attr("transform","scale(.7)translate(3,5)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8),o=n(17)();e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n=4,a=this,i=a.actualRadius;this.styleClass("equivalentclass").type("owl:equivalentClass"),this.actualRadius=function(){return i()+n},this.redrawElement=function(){t.remove(),a.textBlock().remove();var e=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(e=void 0);var r=a.collectCssClasses();t=a.nodeElement().append("g"),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),e)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),console.log(r),console.log(a.attributes()),console.log("what is bgColor"+e),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),e)),a.postDrawActions(a.nodeElement())},this.draw=function(e){var r=a.collectCssClasses();a.nodeElement(e),t=e.append("g");var i=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(i=void 0),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),i)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),i)),a.postDrawActions()},a.setHoverHighlighting=function(e){a.nodeElement().selectAll("circle:last-of-type").classed("hovered",e)}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){function t(){var e=18,t=5,n=-(e/2),r=7,o=5,a=e-o,i="M"+t+","+n,s="c"+r+","+o+" "+r+","+a+" 0,"+e,l="c"+-r+","+-o+" "+-r+","+-a+" 0,"+-e;return i+s+l}r.apply(this,arguments);var n=this,o=n.draw,a=t();this.styleClass("intersectionof").type("owl:intersectionOf"),this.draw=function(e){o(e);var t=e.append("g").classed("embedded",!0),r=10;t.append("path").attr("class","nostroke").classed("symbol",!0).attr("d",a),t.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("circle").attr("cx",10).attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("path").attr("class","nofill").attr("d","m 9,5 c 0,-2 0,-4 0,-6 0,0 0,0 0,0 0,0 0,-1.8 -1,-2.3 -0.7,-0.6 -1.7,-0.8 -2.9,-0.8 -1.2,0 -2,0 -3,0.8 -0.7,0.5 -1,1.4 -1,2.3 0,2 0,4 0,6").attr("transform","scale(.5)translate(5,0)"),t.attr("transform","translate(-"+(n.radius()-15)/7+",-"+(n.radius()-15)/100+")"),n.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(31);e.exports=function(){var e=function(e){r.apply(this,arguments),this.label("Nothing").type("owl:Nothing").iri("http://www.w3.org/2002/07/owl#Nothing")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.label("Thing").type("owl:Thing").iri("http://www.w3.org/2002/07/owl#Thing").radius(30),this.draw=function(e){t(e,["white","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("unionof").type("owl:unionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("path").attr("class","link").attr("d","m 1,-3 c 0,2 0,4 0,6 0,0 0,0 0,0 0,2 2,3 4,3 2,0 4,-1 4,-3 0,-2 0,-4 0,-6").attr("transform","scale(.5)translate(5,0)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).type("rdfs:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t="undefined";this.attributes(["datatype"]).type("rdfs:Datatype").styleClass("datatype"),this.dType=function(e){return arguments.length?void(t=e):t}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(36);e.exports=function(){var e=function(e){r.apply(this,arguments)};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(9),o=n(14),a=n(17)(),i=n(37)();e.exports=function(){var e=function(e){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth; +return r.remove(),o}r.apply(this,arguments);var s,l,u,c,d=this,p=20,f=60,h=80,v=80,g=80,y=p/2;d.renderType("rect"),this.height=function(e){return arguments.length?(p=e,this):p},this.width=function(e){return arguments.length?(f=e,this):f},this.getHalos=function(){return l},this.actualRadius=function(){return y},this.distanceToBorder=function(e,t){return i.distanceToBorder(d,e,t)},this.setHoverHighlighting=function(e){d.nodeElement().selectAll("rect").classed("hovered",e);var t=d.getHalos();if(t){var n=t.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0)}},this.textWidth=function(){return h},this.width=function(){return h},this.getMyWidth=function(){var e=d.labelForCurrentLanguage();v=n(e,"text")+20;var t=d.indicationString(),r=n(t,"subtext")+20;return r>v&&(v=r),v},this.textWidth=function(){return d.width()},this.toggleFocus=function(){d.focused(!d.focused()),d.nodeElement().select("rect").classed("focused",d.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.draw=function(t,n){var r=d.collectCssClasses();d.nodeElement(t),n instanceof Array&&(r=r.concat(n)),h=e.options().dynamicLabelWidth()===!0?Math.min(d.getMyWidth(),e.options().maxLabelWidth()):g,f=h,u=a.appendRectangularClass(t,d.width(),d.height(),r,d.labelForCurrentLanguage(),d.backgroundColor()),c=new o(t,d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.addMouseListeners(),d.pinned()&&d.drawPin(),d.halo()&&d.drawHalo(!1)},this.drawPin=function(){d.pinned(!0);var t=-.5*h+5,n=-1.1*p;s=a.drawPin(d.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){d.pinned(!1),s&&s.remove(),e.updateStyle()},this.removeHalo=function(){d.halo(!1),l&&(l.remove(),l=null)},this.drawHalo=function(e){d.halo(!0);var t=0;if(l=a.drawRectHalo(d,this.width(),this.height(),t),e===!1){var n=l.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0),n.attr("animationRunning",!1)}if(d.pinned()){var r=s.node(),o=r.parentNode;o.appendChild(r)}},this.updateTextElement=function(){c.updateAllTextElements()},this.textBlock=function(){return c},this.redrawLabelText=function(){c.remove(),c=new o(d.nodeElement(),d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),u.select("title").text(d.labelForCurrentLanguage())},this.animateDynamicLabelWidth=function(t){d.removeHalo();var n=d.height();if(t===!0?(h=Math.min(d.getMyWidth(),e.options().maxLabelWidth()),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n}).each("end",function(){d.updateTextElement()})):(h=g,d.updateTextElement(),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n})),d.pinned()===!0&&s){var r=.5*h-10,o=-1.1*n;s.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}},this.addTextLabelElement=function(){var e=d.nodeElement();c=new o(e,this.backgroundColor()),c.addText(d.labelForCurrentLanguage())}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()}).call(t,n(6))},function(e,t){var n={};e.exports=function(){return n},n.distanceToBorder=function(e,t,n){var r,o=e.width(),a=e.height(),i=Math.abs(n/t),s=a/o;if(i<=s){var l=t/(o/2),u=n/l;r=Math.sqrt(Math.pow(o/2,2)+Math.pow(u,2))}else{var c=n/(a/2),d=t/c;r=Math.sqrt(Math.pow(a/2,2)+Math.pow(d,2))}return r}},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw,n=this.label;this.attributes(["datatype"]).label("Literal").styleClass("literal").type("rdfs:Literal").iri("http://www.w3.org/2000/01/rdf-schema#Literal"),this.draw=function(e){t(e,["dashed"])},this.label=function(e){return arguments.length?this:n()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.attributes(["rdf"]).label("Resource").radius(30).styleClass("rdfsresource").type("rdfs:Resource"),this.draw=function(e){t(e,["rdf","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=[];r.push(n(41)),r.push(n(44)),r.push(n(45)),r.push(n(46)),r.push(n(47)),r.push(n(48)),r.push(n(49)),r.push(n(50)),r.push(n(51)),r.push(n(52)),r.push(n(53)),r.push(n(54)),r.push(n(55)),r.push(n(56));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("allvaluesfromproperty").type("owl:allValuesFrom"),this.generateCardinalityText=function(){var e="A",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(14),a=n(17)(),i=n(13)(),s=n(37)();n(43)();e.exports=function(){var e=28,n=80,l=e/2,u=function(e){function n(){var e=[];return T.subproperties()&&(e=e.concat(T.subproperties())),T.superproperties()&&(e=e.concat(T.superproperties())),e}function l(){var e=n();e.forEach(function(e){e.foreground&&e.foreground()})}function u(){T.mouseEntered()||P===!0||(T.mouseEntered(!0),T.setHighlighting(!0),T.foreground(),l())}function c(){T.mouseEntered(!1),T.setHighlighting(!1)}function d(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}function p(t){if(e.ignoreOtherHoverEvents()===!1){var n=!1;T.inverse()&&(n=!0),t===!0&&e.activateHoverElementsForProperties(t,T,n)}}r.apply(this,arguments);var f,h,v,g,y,m,b,x,E,w,O,C,k,P,_,j,M,D,L,A,S,T=this,R="normal",I="filled",N=!0,F=80,H=80,B=[];this.existingPropertyIRI=function(t){return e.options().editSidebar().checkForExistingURL(t)},this.getHalos=function(){return M},this.getPin=function(){return j},this.labelObject=function(e,t){return arguments.length?(A=e,void(T.inverse()&&t!==!0&&T.inverse().labelObject(e,!0))):A},this.hide=function(e){T.labelElement().classed("hidden",e),T.linkGroup().classed("hidden",e),T.cardinalityElement()&&T.cardinalityElement().classed("hidden",e)},this.cardinality=function(e){return arguments.length?(f=e,this):f},this.cardinalityElement=function(e){return arguments.length?(w=e,this):w},this.domain=function(e){return arguments.length?(h=e,this):h},this.inverse=function(e){return arguments.length?(v=e,this):v},this.labelElement=function(e){return arguments.length?(O=e,this):O},this.labelVisible=function(e){return arguments.length?(N=e,this):N},this.link=function(e){return arguments.length?(g=e,this):g},this.linkGroup=function(e){return arguments.length?(C=e,this):C},this.linkType=function(e){return arguments.length?(R=e,this):R},this.markerElement=function(e){return arguments.length?(k=e,this):k},this.markerType=function(e){return arguments.length?(I=e,this):I},this.maxCardinality=function(e){return arguments.length?(m=e,this):m},this.minCardinality=function(e){return arguments.length?(y=e,this):y},this.range=function(e){return arguments.length?(b=e,this):b},this.redundantProperties=function(e){return arguments.length?(B=e,this):B},this.subproperties=function(e){return arguments.length?(x=e,this):x},this.superproperties=function(e){return arguments.length?(E=e,this):E},this.distanceToBorder=function(e,t){return s.distanceToBorder(T,e,t)},this.linkHasMarker=function(){return"dashed"!==R},this.markerId=function(){return"marker"+T.id()},this.toggleFocus=function(){T.focused(!T.focused()),O.select("rect").classed("focused",T.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.getShapeElement=function(){return D},this.textBlock=function(){return L},this.redrawElement=function(){D.remove(),L.remove(),T.drawLabel(T.labelElement()),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth())},this.draw=function(t){function n(e){var n=t.append("g").datum(e).classed("label",!0).attr("id",e.id());return e.drawLabel(n),n}if(T.labelVisible()){if(F=e.options().dynamicLabelWidth()===!0?Math.min(T.getMyWidth(),e.options().maxLabelWidth()):H,T.labelElement(n(T)),T.inverse()){var r=T.height()/2+1;T.inverse().labelElement(n(T.inverse())),T.labelElement().attr("transform","translate(0,-"+r+")"),T.inverse().labelElement().attr("transform","translate(0,"+r+")")}return T.pinned()?T.drawPin():T.inverse()&&T.inverse().pinned()&&T.inverse().drawPin(),T.halo()&&T.drawHalo(!1),T.labelElement()}},this.addRect=function(e){var t=e.append("rect").classed(T.styleClass(),!0).classed("property",!0).attr("x",-T.width()/2).attr("y",-T.height()/2).attr("width",T.width()).attr("height",T.height()).on("mouseover",function(){u()}).on("mouseout",function(){c()});t.append("title").text(T.labelForCurrentLanguage()),T.visualAttributes()&&t.classed(T.visualAttributes(),!0);var n=T.backgroundColor();return T.attributes().indexOf("deprecated")>-1?(n=void 0,t.classed("deprecatedproperty",!0)):t.classed("deprecatedproperty",!1),t.style("fill",n),t},this.drawLabel=function(e){D=this.addRect(e);var t=T.equivalentsString(),n=t?",":"",r=T.backgroundColor();T.attributes().indexOf("deprecated")>-1&&(r=void 0),L=new o(e,r),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.equivalentsString=function(){var e=T.equivalents();if(e)return e.map(function(e){return void 0===e||"string"==typeof e?"ERROR":e.labelForCurrentLanguage()}).join(", ")},this.drawCardinality=function(e){var t=this.generateCardinalityText();return!!t&&(T.cardinalityElement(e),0===t.indexOf("A")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -8.8832678,-11.303355 -7.97e-4,0 0.717374,1.833297 8.22987151,21.371761 8.66826659,-21.2123526 0.797082,-1.9927054 0.02471,0 -0.8218553,1.9927054 -2.2517565,5.4201577 -12.4444429,8e-6 -2.2019394,-5.5795821 z").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):0===t.indexOf("E")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -5.5788451,-8.0958763 10.8749368,0 0,8.34681523 -9.5707468,0.040132 9.5707468,-0.040132 0,8.42707237 -10.9150654,0").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):(e.append("text").classed("cardinality",!0).attr("text-anchor","middle").attr("dy","0.5ex").text(t),!0))},this.generateCardinalityText=function(){if(T.cardinality())return T.cardinality();if(T.minCardinality()||T.maxCardinality()){var e=T.minCardinality()||"*",t=T.maxCardinality()||"*";return e+".."+t}},T.setHighlighting=function(t){T.labelElement&&T.labelElement()&&T.labelElement().select("rect").classed("hovered",t),T.linkGroup().selectAll("path, text").classed("hovered",t),T.markerElement()&&(T.markerElement().select("path").classed("hovered",t),T.cardinalityElement()&&(T.cardinalityElement().selectAll("path").classed("hovered-MathSymbol",t),T.cardinalityElement().classed("hovered",t)));var r=n();r.forEach(function(e){e.labelElement&&e.labelElement()&&e.labelElement().select("rect").classed("indirect-highlighting",t)});var o=!1;e.ignoreOtherHoverEvents()===!1&&(T.inverse()&&(o=!0),e.isTouchDevice()===!1?e.activateHoverElementsForProperties(t,T,o):(T.labelElement().select("rect").classed("hovered",!1),T.linkGroup().selectAll("path, text").classed("hovered",!1),T.markerElement()&&(T.markerElement().select("path").classed("hovered",!1),T.cardinalityElement()&&T.cardinalityElement().classed("hovered",!1)),e.activateHoverElementsForProperties(t,T,o,!0)))},this.foreground=function(){if(T.labelElement()&&null!==T.labelElement().node().parentNode){var e=T.labelElement().node().parentNode,t=e.parentNode,n=T.linkGroup().node(),r=T.linkGroup().node().parentNode;T.animationProcess()===!1&&t.appendChild(e),r.appendChild(n)}},this.drawPin=function(){if(T.pinned(!0),F=e.options().dynamicLabelWidth()===!0?T.getMyWidth():H,T.inverse()){var t=T.labelElement().attr("transform"),n=T.inverse().labelElement().attr("transform"),r=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(t)[2],o=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(n)[2];j=rF&&(F=n),F},this.textWidth=function(){return F},this.width=function(){return F},this.animateDynamicLabelWidth=function(t){if(T.removeHalo(),void 0!==D){var n=T.height();if(t===!0?(F=Math.min(T.getMyWidth(),e.options().maxLabelWidth()),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n}).each("end",function(){T.updateTextElement()})):(F=H,T.updateTextElement(),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n})),T.pinned()===!0&&j){var r=-.5*F+10,o=-25;j.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}}},this.redrawLabelText=function(){L.remove(),T.addTextLabelElement(),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),D.select("title").text(T.labelForCurrentLanguage())},this.addTextLabelElement=function(){var e=T.labelElement(),t=T.equivalentsString(),n=t?",":"";L=new o(e,this.backgroundColor()),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.updateTextElement=function(){L.updateAllTextElements()},this.enableEditing=function(e){e!==!1&&T.raiseDoubleClickEdit(!0)},this.raiseDoubleClickEdit=function(n){if(t.selectAll(".foreignelements").remove(),void 0===T.labelElement()||"owl:disjointWith"===this.type()||"rdfs:subClassOf"===this.type())return void console.log("No Container found");void 0!==_&&T.labelElement().selectAll(".foreignelements").remove(),S=void 0,e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),T.editingTextElement=!0,P=!0,T.labelElement().selectAll("rect").classed("hoveredForEditing",!0),T.frozen(!0),e.killDelayedTimer(),e.ignoreOtherHoverEvents(!1),_=T.labelElement().append("foreignObject").attr("x",-.5*T.textWidth()).attr("y",-13).attr("height",25).attr("class","foreignelements").on("dragstart",function(){return!1}).attr("width",T.textWidth()-2);var r=_.append("xhtml:input").attr("class","nodeEditSpan").attr("id",T.id()).attr("align","center").attr("contentEditable","true").on("dragstart",function(){return!1}),o="#f00",a=T.textWidth()-2;r.style({align:"center",color:"black",width:a+"px","background-color":o,"border-bottom":"2px solid black"});var i=r.node();i.value=T.labelForCurrentLanguage(),i.focus(),i.select(),t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation(),r.on("click",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mouseout",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mousedown",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}).on("keydown",function(){13===t.event.keyCode&&(this.blur(),T.frozen(!1),T.locked(!1))}).on("keyup",function(){if(n){var o=r.node().value,a=o.replaceAll(" ","_"),i=T.baseIri()+a;S=i,t.select("#element_iriEditor").node().title=i,t.select("#element_iriEditor").node().value=e.options().prefixModule().getPrefixRepresentationForFullURI(i)}t.select("#element_labelEditor").node().value=r.node().value}).on("blur",function(){T.editingTextElement=!1,P=!1,T.labelElement().selectAll("rect").classed("hoveredForEditing",!1);var t=r.node().value;if(T.labelElement().selectAll(".foreignelements").remove(),T.label(t),T.backupLabel(t),T.redrawLabelText(),p(!0),e.showHoverElementsAfterAnimation(T,!1),e.ignoreOtherHoverEvents(!1),T.frozen(e.paused()),T.locked(e.paused()),T.domain().frozen(e.paused()),T.domain().locked(e.paused()),T.range().frozen(e.paused()),T.range().locked(e.paused()),e.removeEditElements(),S){var n=e.options().editSidebar().checkProperIriChange(T,S);n!==!1&&e.options().warningModule().showWarning("Already seen this property","Input IRI: "+S+" for element: "+T.labelForCurrentLanguage()+" already been set","Continuing with duplicate property!",1,!1,n),T.iri(S)}e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),e.updatePropertyDraggerElements(T)})},T.copyInformation=function(e){T.label(e.label()),T.iri(e.iri()),T.baseIri(e.baseIri()),"owl:ObjectProperty"!==e.type()&&"owl:DatatypeProperty"!==e.type()||T.backupLabel(e.label()),void 0!==e.backupLabel()&&T.backupLabel(e.backupLabel())},i.addTo(this)};return u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.height=function(){return e},u.prototype.width=function(){return n},u.prototype.actualRadius=function(){return l},u.prototype.textWidth=u.prototype.width,u}()}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e){return e%=360,e<0&&(e+=360),Math.PI*e/180}function n(e){return e*(180/Math.PI)}var r={},o=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal").tension(-1);return r.calculateNormalVector=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=-o,i=r,s=Math.sqrt(a*a+i*i),l=0!==s?n/s:0;return{x:a*l,y:i*l}},r.getLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i);o.increasedLoopAngle===!0&&(s=120);var l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,E]},r.calculateLoopPath=function(t){var r=t.domain(),a=t.label(),i=360/t.loops().length,s=.8*i,l=Math.min(60,s);a.increasedLoopAngle===!0&&(l=120);var u=a.x-r.x,c=a.y-r.y,d=Math.atan2(c,u),p=n(d),f=p-l/2,h=p+l/2,v=e(f),g=e(h),y=Math.cos(v)*r.actualRadius(),m=Math.sin(v)*r.actualRadius(),b=Math.cos(g)*r.actualRadius(),x=Math.sin(g)*r.actualRadius(),E={x:r.x+y,y:r.y+m},w={x:r.x+b,y:r.y+x};return o([E,t.label(),w])},r.calculateLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i),l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,t.label(),E]},r.calculateIntersection=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=Math.sqrt(r*r+o*o);if(0===a)return{x:e.x,y:e.y};var i=t.distanceToBorder(r,o),s=(a-(i+n))/a,l=r*s+e.x,u=o*s+e.y;return{x:l,y:u}},r.calculateCenter=function(e,t){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}},function(){return r}}()}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["datatype"]).styleClass("datatypeproperty").type("owl:DatatypeProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).styleClass("deprecatedproperty").type("owl:DeprecatedProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42),o=n(14);e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n="Disjoint With";this.label=function(e){return arguments.length?this:n},this.linkType("dashed").styleClass("disjointwith").type("owl:disjointWith"),this.drawLabel=function(n){t=this.addRect(n),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",-12.5).attr("r",10),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",12.5).attr("r",10);var r=new o(n,this.backgroundColor());e.options().compactNotation()||r.addSubText("disjoint"),r.translation(0,20)},this.getShapeElement=function(){return t},this.markerElement=function(){}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.styleClass("equivalentproperty").type("owl:equivalentProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["functional"]).styleClass("functionalproperty").type("owl:FunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["inverse functional"]).styleClass("inversefunctionalproperty").type("owl:InverseFunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["object"]).styleClass("objectproperty").type("owl:ObjectProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("somevaluesfromproperty").type("owl:someValuesFrom"),this.generateCardinalityText=function(){var e="E",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["symmetric"]).styleClass("symmetricproperty").type("owl:SymmetricProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["transitive"]).styleClass("transitiveproperty").type("owl:TransitiveProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).styleClass("rdfproperty").type("rdf:Property")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw,o="Subclass of";this.draw=function(r){return t.labelVisible(!e.options().compactNotation()),n(r)},this.label=function(e){return arguments.length?this:o},this.linkType("dotted").markerType("white").styleClass("subclass").type("rdfs:subClassOf"),t.baseIri("http://www.w3.org/2000/01/rdf-schema#"),t.iri("http://www.w3.org/2000/01/rdf-schema#subClassOf")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.labelVisible(!1).linkType("dashed").markerType("white").styleClass("setoperatorproperty").type("setOperatorProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(58),o=n(43)(),a=n(60)(),i=n(63)(),s=n(5)(),l=n(40)();e.exports=function(e){function u(){Te.graphContainerSelector(e);var n=!1;ye=t.layout.force().on("tick",c),me=t.behavior.drag().origin(function(e){return e}).on("dragstart",function(e){t.event.sourceEvent.stopPropagation(),De.ignoreOtherHoverEvents(!0),e.type&&"Class_dragger"===e.type()?(wt.mouseButtonPressed=!0,clearTimeout(Oe),wt.selectedViaTouch(!0),e.parentNode().locked(!0),at=!0):e.type&&"Range_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):e.type&&"Domain_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):(e.locked(!0),n=!1)}).on("drag",function(e){e.type&&"Class_dragger"===e.type()?(clearTimeout(Oe),wt.setPosition(t.event.x,t.event.y)):e.type&&"Range_dragger"===e.type()?(clearTimeout(Oe),Ot.setPosition(t.event.x,t.event.y),kt.setPosition(t.event.x,t.event.y),Ct.updateElementViaRangeDragger(t.event.x,t.event.y)):e.type&&"Domain_dragger"===e.type()?(clearTimeout(Oe),Ct.setPosition(t.event.x,t.event.y),kt.setPositionDomain(t.event.x,t.event.y),Ot.updateElementViaDomainDragger(t.event.x,t.event.y)):(e.px=t.event.x,e.py=t.event.y,ye.resume(),S(),n=!0,e.renderType&&"round"===e.renderType()&&wt.setParentNode(e))}).on("dragend",function(e){if(De.ignoreOtherHoverEvents(!1),e.type&&"Class_dragger"===e.type()){var t=wt.x,r=wt.y;clearTimeout(Oe),wt.mouseButtonPressed=!1,wt.selectedViaTouch(!1),e.setParentNode(e.parentNode());var o=[t,r],a=De.getTargetNode(o);a&&U(e.parentNode(),a,o),Ke===!1&&K(),at=!1}else if(e.type&&"Range_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var s=Ot.x,l=Ot.y,u=[s,l],c=De.getTargetNode(u);i.isDatatype(c)===!0&&(c=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),null===c?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateRange(c),De.update(),kt.hideParentProperty(!1))}else if(e.type&&"Domain_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var d=Ct.x,p=Ct.y,f=[d,p],h=De.getTargetNode(f);i.isDatatype(h)===!0&&(h=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),kt.hideClone(!0),null===h?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateDomain(h),De.update(),kt.hideParentProperty(!1))}else{e.locked(!1);var v=De.options().pickAndPinModule();v.enabled()===!0&&n===!0&&(e.id&&v.handle(e,!0),e.property&&v.handle(e.property(),!0))}}),Me=t.behavior.zoom().duration(150).scaleExtent([Te.minMagnification(),Te.maxMagnification()]).on("zoom",v),nt.push(wt),nt.push(Ot),nt.push(Ct),nt.push(kt),ye.stop()}function c(){if(ct=!1,De.options().loadingModule().successfullyLoadedOntology()===!1)return ye.stop(),t.select("#progressBarValue").node().innerHTML="",De.updateProgressBarMode(),De.options().loadingModule().showErrorDetailsMessage(c),void(yt&&mt===!1&&De.options().loadingModule().collapseDetails("hiddenRecalculatePositions"));if(He===!1){var e=1-10*ye.alpha(),n=parseInt(200*e)+"%";De.options().loadingModule().setPercentValue(n),t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,e>.49&&(He=!0,ne&&(ne.style("opacity","1"),n="100%",t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,De.options().ontologyMenu().append_message_toLastBulletPoint("done"),t.select("#reloadCachedOntology").classed("hidden",!bt),gt===!0&&vt===!1&&(De.options().warningModule().showFilterHint(),vt=!0)),Fe&&(De.paused()===!1&&ye.resume(),Fe=!1),ct=!0,ft===!0?(ye.on("tick",d),d()):(ye.on("tick",p),p()),We===!0&&ye.nodes().length>0&&(ye.nodes().length<10?De.forceRelocationEvent(!0):De.forceRelocationEvent(),We=!1),De.showEditorHintIfNeeded(),De.options().loadingModule().missingImportsWarning()===!1?(De.options().loadingModule().hideLoadingIndicator(),De.options().ontologyMenu().append_bulletPoint("Successfully loaded ontology"),De.options().loadingModule().setSuccessful()):(De.options().loadingModule().showWarningDetailsMessage(),De.options().ontologyMenu().append_bulletPoint("Loaded ontology with warnings")))}}function d(){p(),_e=Date.now();var e=_e-je,t=(1e3/e).toFixed(2);ut.node().innerHTML="FPS: "+t+"
    Nodes: "+ye.nodes().length+"
    Links: "+ye.links().length,je=Date.now()}function p(){return lt?(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1!==n.layers().length||n.loops())e.linkDomainIntersection=o.calculateIntersection(n.label(),n.domain(),0),e.linkRangeIntersection=o.calculateIntersection(n.label(),n.range(),0),n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement());else{var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y,e.linkRangeIntersection=a,e.linkDomainIntersection=r,n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement())}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop()){var t=o.getLoopPoints(e);return e.label().linkRangeIntersection=t[1],e.label().linkDomainIntersection=t[0],e.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement()),o.calculateLoopPath(e)}var n=e.label(),r=o.calculateIntersection(n,e.domain(),1),a=o.calculateIntersection(n,e.range(),1);return e.linkRangeIntersection=r,e.linkDomainIntersection=a,e.property().focused()!==!0&&void 0===ot||(Ct.updateElement(),Ot.updateElement()),Se([r,n,a])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),rt&&(ee(rt),Q(rt),at===!1&&wt.setParentNode(rt)),ot&&te(ot),void S()):(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1===n.layers().length&&!n.loops()){ +var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop())return o.calculateLoopPath(e);var t=e.label(),n=o.calculateIntersection(t,e.domain(),1),r=o.calculateIntersection(t,e.range(),1);return Se([n,t,r])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),void S())}function f(){function e(e){Te.selectionModules().forEach(function(t){t.handle(e)})}se.on("click",function(n){Ke===!0&&G()===!0?(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n))):e(n)}),se.on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))}),le.selectAll(".label").on("click",function(n){e(n),Ke===!0&&G()===!0&&(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n)))}),le.selectAll(".label").on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))})}function h(e){if(De.options().getGeneralMetaObject().iri){var t=De.options().getGeneralMetaObject().iri+e.id();return e.iri()===t}return!1}function v(){if(pt===!0)return Me.translate(Ve),void Me.scale(Be);var e=!1;if(t.event.sourceEvent&&t.event.sourceEvent.deltaY&&(e=!0),e===!1){if(ze===!0)return;return Be=t.event.scale,Ve=t.event.translate,ne.attr("transform","translate("+Ve+")scale("+Be+")"),S(),void De.options().zoomSlider().updateZoomSliderValue(Be)}Be=t.event.scale,Ve=t.event.translate,ne.transition().tween("attr.translate",function(){return function(e){ze=!0;var n=t.transform(ne.attr("transform"));Ve[0]=n.translate[0],Ve[1]=n.translate[1],Be=n.scale[0],S(),De.options().zoomSlider().updateZoomSliderValue(Be)}}).each("end",function(){ze=!1}).attr("transform","translate("+Ve+")scale("+Be+")").ease("linear").duration(250)}function g(){b(),ne=t.selectAll(Te.graphContainerSelector()).append("svg").classed("vowlGraph",!0).attr("width",Te.width()).attr("height",Te.height()).call(Me).append("g");var e=t.selectAll(".vowlGraph");Qe=e.on("dblclick.zoom"),et=e.on("touchstart"),e.on("touchstart",Z),lt===!0?e.on("dblclick.zoom",De.modified_dblClickFunction):e.on("dblclick.zoom",Qe)}function y(){Ee=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("addDataPropertyElement",!0).attr("transform","translate(0,0)"),Ee.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",-8).attr("y1",0).attr("x2",8).attr("y2",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",0).attr("y1",-8).attr("x2",0).attr("y2",8).append("title").text("Add Datatype Property"),De.options().useAccuracyHelper()&&Ee.append("circle").attr("r",15).attr("cx",-7).attr("cy",7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject()),xe=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("deleteParentElement",!0).attr("transform","translate(0,0)"),xe.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Delete This Node");var e=5;xe.append("line").attr("x1",-e).attr("y1",-e).attr("x2",e).attr("y2",e).append("title").text("Delete This Node"),xe.append("line").attr("x1",e).attr("y1",-e).attr("x2",-e).attr("y2",e).append("title").text("Delete This Node"),De.options().useAccuracyHelper()&&xe.append("circle").attr("r",15).attr("cx",7).attr("cy",-7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject())}function m(){var e;if(ne){ne.selectAll("*").remove(),ie=ne.append("g").classed("linkContainer",!0),ae=ne.append("g").classed("cardinalityContainer",!0),oe=ne.append("g").classed("labelContainer",!0),re=ne.append("g").classed("nodeContainer",!0);var n=ne.append("g").classed("linkContainer",!0);tt=ne.append("g").classed("editContainer",!0),we=ne.append("g").classed("editContainer",!0),n.classed("hidden-in-export",!0),we.classed("hidden-in-export",!0),tt.classed("hidden-in-export",!0),e=ie.append("defs");var r=tt.selectAll(".node").data(nt).enter().append("g").classed("node",!0).classed("hidden-in-export",!0).attr("id",function(e){return e.id()}).call(me);r.each(function(e){e.svgRoot(t.select(this)),e.svgPathLayer(n),"shadowClone"===e.type()?(e.drawClone(),e.hideClone(!0)):(e.drawNode(),e.hideDragger(!0))}),y(),e=ie.append("defs"),void 0===pe&&(pe=[]),se=re.selectAll(".node").data(pe).enter().append("g").classed("node",!0).attr("id",function(e){return e.id()}).call(me),se.each(function(e){e.draw(t.select(this))}),void 0===fe&&(fe=[]),le=oe.selectAll(".labelGroup").data(fe).enter().append("g").classed("labelGroup",!0).call(me),le.each(function(e){var n=e.draw(t.select(this));e.property().labelObject(e),n||t.select(this).remove()}),le.each(function(e){if(this.parentNode&&i.isRdfsSubClassOf(e.property())){var t=this.parentNode;t.insertBefore(this,t.firstChild)}}),void 0===ve&&(ve=[]),de=ae.selectAll(".cardinality").data(ve).enter().append("g").classed("cardinality",!0),de.each(function(e){var n=e.drawCardinality(t.select(this));n||t.select(this).remove()}),void 0===he&&(he=[]),ue=ie.selectAll(".link").data(he).enter().append("g").classed("link",!0),ue.each(function(n){n.draw(t.select(this),e)}),ce=ue.selectAll("path"),f()}}function b(){ne&&t.select(ne.node().parentNode).remove()}function x(){Ze=[];for(var e,t=0;t0)for(var r=0;r0?(ne.style("opacity","0"),ye.on("tick",c)):(ne.style("opacity","1"),ft===!0?ye.on("tick",d):ye.on("tick",p)),ye.start()):(ye.stop(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),n.setErrorMode()),De.options().clearMetaObject(),De.options().clearGeneralMetaObject(),De.options().editSidebar().clearMetaObjectValue(),void 0!==Te.data()){var a=Te.data().header;if(a){if(a.iri&&De.options().addOrUpdateGeneralObjectEntry("iri",a.iri),a.title&&De.options().addOrUpdateGeneralObjectEntry("title",a.title),a.author&&De.options().addOrUpdateGeneralObjectEntry("author",a.author),a.version&&De.options().addOrUpdateGeneralObjectEntry("version",a.version),a.description&&De.options().addOrUpdateGeneralObjectEntry("description",a.description),a.prefixList){var i=a.prefixList;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];De.options().addPrefix(s,l)}}if(a.other){var u=a.other;for(var f in u)if(u.hasOwnProperty(f)){var h=u[f];h.hasOwnProperty("identifier")&&h.hasOwnProperty("value")&&De.options().addOrUpdateMetaObjectEntry(h.identfier,h.value)}}}}var v=r.clone(ge);Te.filterModules().forEach(function(e){v=P(e,v,!0)}),w(ge),Re.parseSettings(),qe=Re.settingsImported(),We=!0,Re.settingsImportGraphZoomAndTranslation()===!0&&(We=!1),De.options().searchMenu().requestDictionaryUpdate(),De.options().editSidebar().updateGeneralOntologyInfo(),De.options().editSidebar().updatePrefixUi(),De.options().editSidebar().updateElementWidth()}function C(){he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function k(){var e=Te.literalFilter().enabled();De.executeEmptyLiteralFilter(),Te.literalFilter().enabled(e);var t=r.clone(ge);Te.filterModules().forEach(function(e){t=P(e,t)}),Te.focuserModule().handle(void 0,!0),pe=t.nodes,ve=t.properties,he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function P(e,t,n){return he=a.createLinks(t.properties),_(t.nodes,he),n&&e.initialize&&e.initialize(t.nodes,t.properties),e.filter(t.nodes,t.properties),{nodes:e.filteredNodes(),properties:e.filteredProperties()}}function _(e,t){for(var n=0,r=e.length;n0)for(var e=ye.nodes(),t=0;tr||f<0||f>o){p<0&&f<0?(v=0,g=0):p>0&&pr&&f<0?(v=r,g=0):p>r&&f>0&&fr&&f>o?(v=r,g=o):p>0&&po?(v=p,g=o):p<0&&f>o?(v=0,g=o):p<0&&f>0&&f2500&&(u=2500),ne.attr("transform",N(a,n,r)).transition().duration(u).attrTween("transform",function(){return function(e){return N(l(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S()})}function H(e,t,n,r){var o,a,i=r[0];return i?(o=(e-n[0])/i,a=(t-n[1])/i):(o=(e-n[0])/r,a=(t-n[1])/r),{x:o,y:a}}function B(e,t){var n=De.options().width(),r=De.options().height(),o=T(e.x,e.y,Ve,Be),a=o.x,i=o.y,s=!(a<0||a>n||i<0||i>r);return s}function W(){Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),wt.hideDragger(!0),Ee&&Ee.classed("hidden",!0),xe&&xe.classed("hidden",!0),rt&&rt.pinned()===!1&&(rt.locked(De.paused()),rt.frozen(De.paused())),ot&&ot.pinned()===!1&&(ot.locked(De.paused()),ot.frozen(De.paused()))}function z(e){return t.map(e.values(),function(e){return(new e).type().toLowerCase()})}function V(e){var n,r,o=!0,a=t.select("#defaultClass").node().title;r=xt.get(a.toLowerCase()),n=new r(De);var i=!1;"owl:Thing"===a?n.label("Thing"):(n.label("NewClass"),i=!0),n.x=e.x,n.y=e.y,n.px=n.x,n.py=n.y,n.id("Class"+st++),n.baseIri(t.select("#iriEditor").node().value),n.iri(n.baseIri()+n.id()),q(n,o),Te.focuserModule().handle(n,!0),n.frozen(De.paused()),n.locked(De.paused()),n.enableEditing(i)}function q(e){ge.nodes.push(e),pe.indexOf(e)===-1&&pe.push(e),w(ge),De.getUpdateDictionary(),De.fastUpdate()}function U(e,n,r){var o=t.select("#defaultProperty").node().title;if(De.sanityCheckProperty(e,n,o)===!1)return!1;var a=Et.get(o.toLowerCase()),i=new a(De);if(i.id("objectProperty"+it++),i.domain(e),i.range(n),i.label("newObjectProperty"),i.baseIri(t.select("#iriEditor").node().value),i.iri(i.baseIri()+i.id()),De.propertyCheckExistenceChecker(i,e,n)===!1)return!1;var s=!1;"owl:objectProperty"===o&&(s=!0);var l=.49*(e.x+n.x),u=.49*(e.y+n.y);if(e===n){var c=r[0]-e.x,d=r[1]-e.y,p=Math.sqrt(c*c+d*d),f=c/p,h=d/p;isNaN(p)&&(f=0,h=-1);var v=2*e.actualRadius()+50;l=e.x+v*f,u=e.y+v*h}e.addProperty(i),n.addProperty(i),ge.properties.push(i),ve.indexOf(i)===-1&&ve.push(i),De.fastUpdate(),i.labelObject().x=l,i.labelObject().px=l,i.labelObject().y=u,i.labelObject().py=u,i.frozen(De.paused()),i.locked(De.paused()),e.frozen(De.paused()),e.locked(De.paused()),n.frozen(De.paused()),n.locked(De.paused()),w(ge),De.getUpdateDictionary(),Te.focuserModule().handle(i),De.activateHoverElementsForProperties(!0,i,!1,Ke),i.labelObject().increasedLoopAngle=!0,i.enableEditing(s)}function G(){var e=t.event.timeStamp,n=1;return t.event&&t.event.touches&&t.event.touches.length&&(n=t.event.touches.length),e-be<300&&1===n&&(t.event.stopPropagation(),lt===!0)?(t.event.preventDefault(),t.event.stopPropagation(),be=e,!0):(be=e,!1)}function Z(){pt=!0;var e=t.event.timeStamp;return e-be<300&&1===t.event.touches.length?(t.event.stopPropagation(),void(lt===!0?(t.event.preventDefault(),t.event.stopPropagation(),Me.translate(Ve),Me.scale(Be),De.modified_dblTouchFunction()):(pt=!1,et&&et()))):(pt=!1,be=e,void(et&&et()))}function $(e){if(e!==!0){if(rt){if(rt.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&rt.editingTextElement===!1&&(rt.frozen(!1),rt.locked(!1))},1e3)}if(ot){if(ot.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),ot&&ot.focused()===!0&&De.options().drawPropertyDraggerOnHover()===!0&&(ot.labelObject().increasedLoopAngle=!1,p()),ot&&ot.pinned()===!1&&De.paused()===!1&&ot.editingTextElement===!1&&(ot.frozen(!1),ot.locked(!1))},1e3)}}}function X(){wt.nodeElement.classed("classDraggerNodeHovered",!0),wt.nodeElement.classed("classDraggerNode",!1),J()}function Y(){wt.nodeElement.classed("classDraggerNodeHovered",!1),wt.nodeElement.classed("classDraggerNode",!0),K()}function J(e){e!==!0&&clearTimeout(Oe)}function K(e){if(rt){if(De.ignoreOtherHoverEvents()===!0||e===!0||rt.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&(rt.frozen(!1),rt.locked(!1)))},1e3)}if(ot){if(De.ignoreOtherHoverEvents()===!0||e===!0||ot.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),ot&&ot.pinned()===!1&&De.paused()===!1&&(ot.frozen(!1),ot.locked(!1)))},1e3)}}function Q(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x-o,n=e.y+a,Ee.attr("transform","translate("+t+","+n+")")}}function ee(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x+o,n=e.y-a}else t=e.x+.5*e.width()+6,n=e.y-.5*e.height()-6;xe.attr("transform","translate("+t+","+n+")")}function te(e,t){if(e&&e.labelElement()){var n=[e.labelObject().x,e.labelObject().y],r=parseFloat(e.getShapeElement().attr("width")),o=parseFloat(e.getShapeElement().attr("height")),a=n[0]+.5*r+6,i=n[1]-.5*o-6;"translate(0,15)"===e.labelElement().attr("transform")&&(i+=15),"translate(0,-15)"===e.labelElement().attr("transform")&&(i-=15),xe.attr("transform","translate("+a+","+i+")")}else xe.classed("hidden",!0)}var ne,re,oe,ae,ie,se,le,ue,ce,de,pe,fe,he,ve,ge,ye,me,be,xe,Ee,we,Oe,Ce,ke,Pe,_e,je,Me,De={},Le=20,Ae=10,Se=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal"),Te=n(64)(),Re=n(65)(De),Ie="default",Ne=!1,Fe=!0,He=!1,Be=1,We=!1,ze=!1,Ve=[0,0],qe=!1,Ue=[],Ge=[],Ze=[],$e=0,Xe=1,Ye=.8,Je=-1,Ke=!1,Qe=null,et=null,tt=null,nt=[],rt=null,ot=null,at=!1,it=0,st=0,lt=!0,ut=t.select("#FPS_Statistics"),ct=!1,dt=!1,pt=!1,ft=!1,ht=!1,vt=!1,gt=!1,yt=!0,mt=!1,bt=!1,xt=z(s),Et=z(l),wt=n(68)(De),Ot=n(69)(De),Ct=n(70)(De),kt=n(71)(De);De.math=function(){return o},De.isEditorMode=function(){return lt},De.getGlobalDOF=function(){return Je},De.setGlobalDOF=function(e){Je=e},De.updateZoomSliderValueFromOutside=function(){De.options().zoomSlider().updateZoomSliderValue(Be)},De.setDefaultZoom=function(e){Xe=e,De.reset(),De.options().zoomSlider().updateZoomSliderValue(Xe)},De.setTargetZoom=function(e){Ye=e},De.graphOptions=function(){return Te},De.scaleFactor=function(){return Be},De.translation=function(){return Ve},De.graphNodeElements=function(){return se},De.graphLabelElements=function(){return fe},De.graphLinkElements=function(){return he},De.setSliderZoom=function(e){var n=.5*De.options().width(),r=.5*De.options().height(),o=H(n,r,Ve,Be),a=[o.x,o.y,De.options().height()/Be],i=[o.x,o.y,De.options().height()/e],s=t.interpolateZoom(a,i);ne.attr("transform",N(a,n,r)).transition().duration(1).attrTween("transform",function(){return function(e){return N(s(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be)})},De.setZoom=function(e){Me.scale(e)},De.setTranslation=function(e){Me.translate([e[0],e[1]])},De.options=function(){return Te},De.getUpdateDictionary=function(){return Re.getDictionary()},De.language=function(e){return arguments.length?(Ie!==e&&(Ie=e||"default",m(),p(),De.options().searchMenu().requestDictionaryUpdate(),De.resetSearchHighlight()),De):Ie},De.lazyRefresh=function(){m(),p()},De.adjustingGraphSize=function(e){mt=e},De.showReloadButtonAfterLayoutOptimization=function(e){bt=e},De.showEditorHintIfNeeded=function(){ht===!1&<===!0&&(ht=!0,De.options().warningModule().showEditorHint())},De.setForceTickFunctionWithFPS=function(){ft=!0,ye&&ct===!0&&ye.on("tick",d)},De.setDefaultForceTickFunction=function(){ft=!1,ye&&ct===!0&&ye.on("tick",p)},De.updatePropertyDraggerElements=function(e){"owl:DatatypeProperty"!==e.type()?(kt.setParentProperty(e),Ot.setParentProperty(e),Ot.hideDragger(!1),Ot.addMouseEvents(),Ct.setParentProperty(e),Ct.hideDragger(!1),Ct.addMouseEvents()):(Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0))},De.getUnfilteredData=function(){return ge},De.getClassDataForTtlExport=function(){for(var e=ge.nodes,t=[],n=0;nn&&(o=n);var a=.5*De.options().width(),i=.5*De.options().height(),s=H(a,i,Ve,Be),l=[s.x,s.y,De.options().height()/Be],u=[s.x,s.y,De.options().height()/o],c=t.interpolateZoom(l,u);ne.attr("transform",N(l,a,i)).transition().duration(250).attrTween("transform",function(){return function(e){return N(c(e),a,i)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S(),Te.zoomSlider().updateZoomSliderValue(Be)})};var Pt=null;De.clearAllGraphData=function(){Pt=De.graphNodeElements()&&De.graphNodeElements().length>0?De.options().exportMenu().createJSON_exportObject():null,ye.stop(),ge&&(ge.nodes=[],ge.properties=[])},De.getCachedJsonObj=function(){return Pt},De.clearGraphData=function(){ye.stop();var e=De.options().sidebar();e&&e.clearOntologyInformation(),ne&&g()},De.updateProgressBarMode=function(){var e=De.options().loadingModule(),t=e.getProgressBarMode();switch(t){case 0:e.setErrorMode();break;case 1:e.setBusyMode();break;case 2:e.setPercentMode();break;default:e.setPercentMode()}},De.setFilterWarning=function(e){gt=e},De.handleOnLoadingError=function(){ye.stop(),De.clearGraphData(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").classed("busyProgressBar",!1),De.options().loadingModule().setErrorMode(),De.options().loadingModule().showErrorDetailsMessage()},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0){if(ze===!0)return;var e=ye.nodes()[Ue[$e]];$e++,$e%=Ue.length,e.id&&e.foreground(),e.property&&e.property().foreground(),F(e)}},De.resetSearchHighlight=function(){Ue=[],Ge=[];var e,t=ge.nodes,n=ge.properties;for(e=0;e0?(t.select("#locateSearchResult").classed("highlighted",!0),t.select("#locateSearchResult").node().title="Locate search term"):(t.select("#locateSearchResult").classed("highlighted",!1),t.select("#locateSearchResult").node().title="Nothing to locate")},De.highLightNodes=function(e){if(0!==e.length){Ue=[],Ge=e;for(var n=[],r=0;rMe.scaleExtent()[1]&&(h=Me.scaleExtent()[1]),hMe.scaleExtent()[1]&&(g=Me.scaleExtent()[1]),g2500&&(w=2500),ne.attr("transform",N(b,f,h)).transition().duration(w).attrTween("transform",function(){return function(t){if(e){var n=_t(),r=n[0](t);return N(r,f,h)}return N(E(t),f,h)}}).each("end",function(){e||(ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be))})},De.isADraggerActive=function(){return wt.mouseButtonPressed===!0||Ct.mouseButtonPressed===!0||Ot.mouseButtonPressed===!0},De.changeNodeType=function(e){var n=t.select("#typeEditor").node().value;if(De.classesSanityCheck(e,n)===!1)return void De.options().editSidebar().updateSelectionInformation(e);var r=xt.get(n.toLowerCase()),o=new r(De);if(o.x=e.x,o.y=e.y,o.px=e.x,o.py=e.y,o.id(e.id()),o.copyInformation(e),"owl:Thing"===n?o.label("Thing"):i.isDatatype(e)===!1&&(void 0!==e.backupLabel()?o.label(e.backupLabel()):void 0!==o.backupLabel()?o.label(o.backupLabel()):o.label("NewClass")),"rdfs:Datatype"===n)if("undefined"===o.dType())o.label("undefined");else{var a=o.dType().split(":")[1];o.label(a)}var s;for(s=0;sa?null:"rect"===r.renderType()?null:r===rt&&o<=rt.actualRadius()?r:r===rt&&o>rt.actualRadius()?null:r}return o>r.actualRadius()+30?null:r},De.genericPropertySanityCheck=function(e,t,n,r,o){return e===t&&"rdfs:subClassOf"===n?(De.options().warningModule().showWarning(r,"rdfs:subClassOf can not be created as loops (domain == range)",o,1,!1),!1):e===t&&"owl:disjointWith"===n?(De.options().warningModule().showWarning(r,"owl:disjointWith can not be created as loops (domain == range)",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:someValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===t.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not be connected to owl:Thing",o,1,!1),!1):"owl:Thing"!==t.type()||"owl:someValuesFrom"!==n||(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not be connected to owl:Thing",o,1,!1),!1)},De.checkIfIriClassAlreadyExist=function(e){for(var t=ge.nodes,n=0;n2){var s="You are about to delete 1 class and "+n.length+" properties";0!==o&&(s="You are about to delete 1 class, "+o+" datatypes and "+n.length+" properties"),De.options().warningModule().responseWarning("Removing elements",s,"Awaiting response!",De.removeNodesViaResponse,[r,n],!1)}else{for(a=0;a1&&(Te.literalFilter().filter(ge.nodes,ge.properties),ge.nodes=Te.literalFilter().filteredNodes(),ge.properties=Te.literalFilter().filteredProperties())},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0&&n(l)?t>1?x(l,t-1,n,r,o):a(o,l):r||(o[o.length]=l)}return o}function E(e,t){return e&&$t(e,t,dn)}function w(e,t){return b(t,function(t){return Te(e[t])})}function O(e){return te(e)}function C(e,t){return e>t}function k(e){return Ne(e)&&O(e)==yt}function P(e,t,n,r,o){return e===t||(null==e||null==t||!Ne(e)&&!Ne(t)?e!==e&&t!==t:_(e,t,n,r,P,o))}function _(e,t,n,r,o,a){var i=nn(e),s=nn(t),l=i?ht:O(e),u=s?ht:O(t);l=l==ft?wt:l,u=u==ft?wt:u;var c=l==wt,d=u==wt,p=l==u;a||(a=[]);var f=Jt(a,function(t){return t[0]==e}),h=Jt(a,function(e){return e[0]==t});if(f&&h)return f[1]==t;if(a.push([e,t]),a.push([t,e]),p&&!c){var v=i?Z(e,t,n,r,o,a):$(e,t,l,n,r,o,a);return a.pop(),v}if(!(n&st)){var g=c&&Nt.call(e,"__wrapped__"),y=d&&Nt.call(t,"__wrapped__");if(g||y){var m=g?e.value():e,b=y?t.value():t,v=o(m,b,n,r,a);return a.pop(),v}}if(!p)return!1;var v=X(e,t,n,r,o,a);return a.pop(),v}function j(e){return Ne(e)&&O(e)==Ct}function M(e){return"function"==typeof e?e:null==e?Ye:("object"==typeof e?A:s)(e)}function D(e,t){return eo?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++rt||a&&i&&l&&!s&&!u||r&&i&&l||!n&&l||!o)return 1;if(!r&&!a&&!u&&e1?n[o-1]:ot;for(a=e.length>3&&"function"==typeof a?(o--,a):ot,t=Object(t);++r-1?o[a?t[i]:i]:ot}}function G(e,t,n,r){function o(){for(var t=-1,s=arguments.length,l=-1,u=r.length,c=Array(u+s),d=this&&this!==At&&this instanceof o?i:e;++ls))return!1;for(var u=-1,c=!0,d=n<?[]:ot;++u-1&&e%1==0&&e0&&(n=t.apply(this,arguments)),e<=1&&(t=ot),n}}function ke(e){if("function"!=typeof e)throw new TypeError(it);return function(){var t=arguments;return!e.apply(this,t)}}function Pe(e){return Ce(2,e)}function _e(e){return Ie(e)?nn(e)?I(e):B(e,qt(e)):e}function je(e,t){return e===t||e!==e&&t!==t}function Me(e){return null!=e&&Re(e.length)&&!Te(e)}function De(e){return e===!0||e===!1||Ne(e)&&O(e)==gt}function Le(e){return Me(e)&&(nn(e)||We(e)||Te(e.splice)||tn(e))?!e.length:!qt(e).length}function Ae(e,t){return P(e,t)}function Se(e){return"number"==typeof e&&Vt(e)}function Te(e){if(!Ie(e))return!1;var t=O(e);return t==bt||t==xt||t==vt||t==Ot}function Re(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=pt}function Ie(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ne(e){return null!=e&&"object"==typeof e}function Fe(e){return Be(e)&&e!=+e}function He(e){return null===e}function Be(e){return"number"==typeof e||Ne(e)&&O(e)==Et}function We(e){return"string"==typeof e||!nn(e)&&Ne(e)&&O(e)==kt}function ze(e){return e===ot}function Ve(e){return Me(e)?e.length?I(e):[]:$e(e)}function qe(e){return"string"==typeof e?e:null==e?"":e+""}function Ue(e,t){var n=Gt(e);return null==t?n:ln(n,t)}function Ge(e,t){return null!=e&&Nt.call(e,t)}function Ze(e,t,n){var r=null==e?ot:e[t];return r===ot&&(r=n),Te(r)?r.call(e):r}function $e(e){return null==e?[]:c(e,dn(e))}function Xe(e){return e=qe(e),e&&_t.test(e)?e.replace(Pt,Tt):e}function Ye(e){return e}function Je(e){return A(ln({},e))}function Ke(e,t,n){var r=dn(t),o=w(t,r);null!=n||Ie(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=w(t,dn(t)));var i=!(Ie(n)&&"chain"in n&&!n.chain),s=Te(e);return Zt(o,function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=I(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,a([this.value()],arguments))})}),e}function Qe(){return At._===this&&(At._=Bt),this}function et(){}function tt(e){var t=++Ft;return qe(e)+t}function nt(e){return e&&e.length?m(e,Ye,C):ot}function rt(e){return e&&e.length?m(e,Ye,D):ot}var ot,at="4.17.11",it="Expected a function",st=1,lt=2,ut=1,ct=32,dt=1/0,pt=9007199254740991,ft="[object Arguments]",ht="[object Array]",vt="[object AsyncFunction]",gt="[object Boolean]",yt="[object Date]",mt="[object Error]",bt="[object Function]",xt="[object GeneratorFunction]",Et="[object Number]",wt="[object Object]",Ot="[object Proxy]",Ct="[object RegExp]",kt="[object String]",Pt=/[&<>"']/g,_t=RegExp(Pt.source),jt=/^(?:0|[1-9]\d*)$/,Mt={"&":"&","<":"<",">":">",'"':""","'":"'"},Dt="object"==typeof e&&e&&e.Object===Object&&e,Lt="object"==typeof self&&self&&self.Object===Object&&self,At=Dt||Lt||Function("return this")(),St="object"==typeof t&&t&&!t.nodeType&&t,Tt=(St&&"object"==typeof o&&o&&!o.nodeType&&o,l(Mt)),Rt=Array.prototype,It=Object.prototype,Nt=It.hasOwnProperty,Ft=0,Ht=It.toString,Bt=At._,Wt=Object.create,zt=It.propertyIsEnumerable,Vt=At.isFinite,qt=d(Object.keys,Object),Ut=Math.max,Gt=function(){function e(){}return function(t){if(!Ie(t))return{};if(Wt)return Wt(t);e.prototype=t;var n=new e;return e.prototype=ot,n}}();f.prototype=Gt(p.prototype),f.prototype.constructor=f;var Zt=z(E),$t=V(),Xt=et,Yt=Ye,Jt=U(ae),Kt=T(function(e,t,n){return G(e,ut|ct,t,n)}),Qt=T(function(e,t){return g(e,1,t)}),en=T(function(e,t,n){return g(e,sn(t)||0,n)}),tn=Xt(function(){return arguments}())?Xt:function(e){return Ne(e)&&Nt.call(e,"callee")&&!zt.call(e,"callee")},nn=Array.isArray,rn=k,on=j,an=Number,sn=Number,ln=W(function(e,t){B(t,qt(t),e)}),un=W(function(e,t){B(t,ee(t),e)}),cn=T(function(e,t){e=Object(e);var n=-1,r=t.length,o=r>2?t[2]:ot;for(o&&Q(t[0],t[1],o)&&(r=1);++n=0){e.visualAttributes().push(o);break}}function n(e){var t,n,r;for(t=0,n=x.length;t=0&&e.indications().push(r)}function r(e){var t,n,r;for(t=0,n=E.length;t=0&&e.indications().push(r)}var o={},a="anonymous",i="datatype",s="deprecated",l="external",u="object",c="rdf",d="asymmetric",p="functional",f="inverse functional",h="irreflexive",v="key",g="reflexive",y="symmetric",m="transitive",b=[[s,i,u,c],[a]],x=[s,l],E=[d,p,f,h,v,g,y,m];return o.parseClassAttributes=function(t){t.attributes()instanceof Array&&(e(t),n(t))},o.parsePropertyAttributes=function(t){t.attributes()instanceof Array&&(e(t),r(t))},function(){return o}}()},function(e,t,n){(function(t){function r(e){return function(t){return e[t]}}function o(e,n){var r=a(e,n),o=t.set(r.keys());if(o.remove(v),o.remove(g),1===o.size()){var i=o.values()[0],s=r.get(i);if(1===s.length)return s[0]}}function a(e,n){var r=t.map();return e.forEach(function(e){if(void 0!==e){var t=n[e.range()],o=t.type();r.has(o)||r.set(o,[]),r.get(o).push(t)}}),r}function i(e,t){var n;return n=p.isDatatypeProperty(e)?new d(t):new c(t),n.id(h+e.id()),n}function s(e,t,n,r){var o=[];return e.forEach(function(e){if(void 0!==e&&void 0!==t){var a=e.range();e.range(t.id()),l(a,n)||o.push(a),r.add(e.id())}}),o}function l(e,t){for(var n=0;n-1?(p=void 0,d.classed("deprecatedproperty",!0)):d.classed("deprecatedproperty",!1),d.style("fill",p);var f=e.equivalentsString(),h=f?",":"",v=new r(t.rootNodeLayer,p);v.addText(e.labelForCurrentLanguage(),"",h),v.addEquivalents(f),v.addSubText(e.indicationString());var g=.5*(t.s_x+t.e_x),y=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+g+","+y+")"),t.rootNodeLayer.classed("hidden",!0),t.pathElement.classed("hidden",!0)},t.hideClone=function(e){t.rootNodeLayer&&t.rootNodeLayer.classed("hidden",e),t.pathElement&&t.pathElement.classed("hidden",e)},t.hideParentProperty=function(e){var n=t.parent.labelObject();n&&("translate(0,15)"!==t.parent.labelElement().attr("transform")&&"translate(0,-15)"!==t.parent.labelElement().attr("transform")||t.parent.inverse().hide(e)),t.parent.hide(e)},t.id=function(e){return arguments.length?void(t.nodeId=e):t.nodeId},t.svgPathLayer=function(e){t.pathLayer=e.append("g")},t.svgRoot=function(e){return arguments.length?(t.rootElement=e,void(t.rootNodeLayer=t.rootElement.append("g"))):t.rootElement},t.drawClone=function(){t.pathElement=t.pathLayer.append("line"),t.pathElement.attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",0)},t.updateElement=function(){t.pathElement.attr("x1",t.e_x).attr("y1",t.e_y).attr("x2",t.s_x).attr("y2",t.s_y);var e=.5*(t.s_x+t.e_x),n=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+e+","+n+")")},t.setInitialPosition=function(){var e=t.parent.labelObject();if(e.linkRangeIntersection&&e.linkDomainIntersection){var n=e.linkRangeIntersection,r=e.linkDomainIntersection;t.e_x=r.x,t.e_y=r.y,t.s_x=n.x,t.s_y=n.y}t.updateElement()},t.setPositionDomain=function(e,n){var r=t.parent.range().x,i=t.parent.range().y;if(o.isDatatype(t.parent.range())===!0){var s=a.calculateIntersection({x:e,y:n},t.parent.range(),0);t.s_x=s.x,t.s_y=s.y}else{var l=r-e,u=i-n,c=Math.sqrt(l*l+u*u),d=l/c,p=u/c;t.s_x=r-d*t.parent.range().actualRadius(),t.s_y=i-p*t.parent.range().actualRadius()}t.e_x=e,t.e_y=n,t.updateElement()},t.setPosition=function(e,n){t.s_x=e,t.s_y=n;var r=t.parent.domain().x,o=t.parent.domain().y,a=e-r,i=n-o,s=Math.sqrt(a*a+i*i),l=a/s,u=i/s;t.e_x=r+l*t.parent.domain().actualRadius(),t.e_y=o+u*t.parent.domain().actualRadius(),t.updateElement()},t}},function(e,t){e.exports=function(e){function t(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function n(t){var n={base:"",resource:""};if(void 0===t)return n={base:"ERROR",resource:"NOT FOUND"};var r,o;return t.indexOf("#")>-1?(r=t.substring(t.lastIndexOf("#")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r):(r=t.substring(t.lastIndexOf("/")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r),n}var r,o={};return o.updatePrefixModel=function(){r=e.options().prefixList()},o.validURL=function(e){return t(e)},o.getPrefixRepresentationForFullURI=function(e){o.updatePrefixModel();var t=n(e);for(var a in r)if(r.hasOwnProperty(a)&&r[a]===t.base)return a+":"+t.resource;return":"===t.base?":"+t.resource:e},o}},function(e,t,n){(function(t){var r=n(58);e.exports=function(){function e(e){return e.filter(function(e){return!(e.visualAttributes().indexOf("deprecated")>=0)&&e.attributes().indexOf("external")>=0})}function n(e){for(var n=o(e),i=n.entries(),s=t.scale.linear().domain([0,i.length-1]).range(r.find(p,{type:v}).range).interpolate(t.interpolateHsl),l=0;l=0&&s.splice(n,1)}}),{nodes:s,properties:l}},function(){return t}}()},function(e,t,n){var r=n(46);e.exports=function(){function e(){var e,t,o,a=[];for(e=0,t=n.length;e=0?n<=t?n:(e.getGraphObject().setGlobalDOF(t),t):e.getDefaultDegreeValue()}function a(e){for(var t=0,n=0,r=e.length;n=e}}var c,d,p,f,h,v,g,y,m={},b=!0,x=50;return m.initialize=function(r,o){g=-1;var i=a(r);h instanceof Function&&h(i),e.setDefaultDegreeValue(t(r,o,i));var s=n(i);y instanceof Function?(y(s),s>0&&(e.highlightForDegreeSlider(!0),e.getGraphObject().setFilterWarning(!0))):console.error("No degree setter function set.")},m.filter=function(e,t){c=e,d=t,this.enabled()&&(v instanceof Function?s(v()):console.error("No degree query function set.")),p=c,f=d,0===p.length&&(y(0),p=e,f=t),g=v()},m.setMaxDegreeSetter=function(e){h=e},m.setDegreeGetter=function(e){v=e},m.setDegreeSetter=function(e){y=e},m.enabled=function(e){return arguments.length?(b=e,m):b},m.filteredNodes=function(){return p},m.filteredProperties=function(){return f},m}},function(e,t){e.exports=function(e){var t,n,r,o,a=!0,i={},s=a;return i.filter=function(a,i){t=a,n=i,e.options().scaleNodesByIndividuals(s),r=t,o=n},i.enabled=function(e){return arguments.length?(s=e,i):s},i.reset=function(){s=a},i.filteredNodes=function(){return r},i.filteredProperties=function(){return o},i}},function(e,t,n){var r=n(63)();e.exports=function(){function e(){i=i.filter(t),a=a.filter(n)}function t(e){return!r.isObjectProperty(e)}function n(e){var t=!r.isThing(e),n=o(e,i);return t||n}function o(e,n){for(var r=0;ro?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e,t){var n=typeof e;return t=null==t?r:t,!!t&&("number"==n||"symbol"!=n&&o.test(e))&&e>-1&&e%1==0&&e0&&n(c)?t>1?r(c,t-1,n,i,s):o(s,c):i||(s[s.length]=c)}return s}var o=n(107),a=n(109);e.exports=r},function(e,t,n){function r(e){return i(e)||a(e)||!!(s&&e&&e[s])}var o=n(92),a=n(110),i=n(112),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){var r=n(111),o=n(104),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){function r(e){return a(e)&&o(e)==i}var o=n(91),a=n(104),i="[object Arguments]";e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=c&&(p=u,f=!1,t=new o(t));e:for(;++d-1}var o=n(135);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(135);e.exports=r},function(e,t,n){var r=n(122),o=n(93),a=r(o,"Map");e.exports=a},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(142);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(141);e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return!!n&&o(e,t,0)>-1}var o=n(149);e.exports=r},function(e,t,n){function r(e,t,n){return t===t?i(e,t,n):o(e,a,n)}var o=n(150),a=n(151),i=n(152);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,a=Date.now;e.exports=n},function(e,t,n){function r(e){return a(e)&&o(e)}var o=n(89),a=n(104);e.exports=r},function(e,t,n){var r=n(115),o=n(108),a=n(168),i=n(157),s=n(166),l=n(228),u=i(function(e,t){var n=l(t);return s(n)&&(n=void 0),s(e)?r(e,o(t,1,s,!0),a(n,2)):[]});e.exports=u},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?a(e[0],e[1]):o(e):l(e)}var o=n(169),a=n(211),i=n(158),s=n(112),l=n(225);e.exports=r},function(e,t,n){function r(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(170),a=n(208),i=n(210);e.exports=r},function(e,t,n){function r(e,t,n,r){var l=n.length,u=l,c=!r;if(null==e)return!u;for(e=Object(e);l--;){var d=n[l];if(c&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++lp))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var v=-1,g=!0,y=n&l?new o:void 0;for(c.set(e,t),c.set(t,e);++vi?0:i+n),r=void 0===r||r>i?i:o(r),r<0&&(r+=i),r=n>r?0:a(r);n=t?e:t)),e}e.exports=n},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var l=null==n?0:i(n);return l<0&&(l=s(r+l,0)),o(e,a(t,3),l)}var o=n(150),a=n(168),i=n(100),s=Math.max;e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var u=r-1;return void 0!==n&&(u=i(n),u=n<0?s(r+u,0):l(u,r-1)),o(e,a(t,3),u,!0)}var o=n(150),a=n(168),i=n(100),s=Math.max,l=Math.min;e.exports=r},function(e,t,n){e.exports=n(242)},function(e,t){function n(e){return e&&e.length?e[0]:void 0}e.exports=n},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,1):[]}var o=n(108);e.exports=r},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,a):[]}var o=n(108),a=1/0;e.exports=r},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return n?(t=void 0===t?1:a(t),o(e,t)):[]}var o=n(108),a=n(100);e.exports=r},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r={};++t=120&&y.length>=120)?new o(f&&y):void 0}y=e[0];var m=-1,b=h[0];e:for(;++m-1;)f!==e&&c.call(f,h,1),c.call(e,h,1);return e}var o=n(154),a=n(149),i=n(262),s=n(155),l=n(113),u=Array.prototype,c=u.splice;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=n-1,a=e.length;++ot||i&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!a)return 1;if(!r&&!i&&!c&&e>>1,c=e[u];null!==c&&!i(c)&&(n?c<=t:c>>1;e.exports=r},function(e,t,n){function r(e,t,n,r){t=n(t);for(var a=0,u=null==e?0:e.length,c=t!==t,d=null===t,p=o(t),f=void 0===t;a=c){var g=t?null:l(e);if(g)return u(g);f=!1,d=s,v=new o}else v=t?[]:h;e:for(;++r1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,o(e,n)});e.exports=a},function(e,t,n){(function(t){e.exports=function(e){var n,r={};return r.handle=function(r){if(!t.event.defaultPrevented){var o=!0;n===r&&(o=!1),e instanceof Function&&e(o?r:void 0),n=o?r:void 0}},r.reset=function(){n&&(e(void 0),n=void 0)},r}}).call(t,n(6))},function(e,t,n){var r=n(20);e.exports=function(){function e(){var e=c.filterNodesAndTidy(o,a,t);o=e.nodes,a=e.properties}function t(e){return!(e instanceof r)}var o,a,i,s,l={},u=!1,c=n(76)();return l.filter=function(t,n){o=t,a=n,this.enabled()&&e(),i=o,s=a},l.enabled=function(e){return arguments.length?(u=e,l):u},l.filteredNodes=function(){return i},l.filteredProperties=function(){return s},l}},function(e,t,n){(function(t){var r=n(20),o=n(31),a=n(30),i=n(63)();e.exports=function(){function e(){h=0,v=0,g=0,y=0,m=0,b=0,x=0,E=0}function s(e,t){h=e.length;var r,o,a,i=n(62)();for(r=0,o=t.length;r1)return!1}return!0}function i(e,t){var n,r,o,a=[];for(r=0,o=e.length;r + +406 Not Acceptable + + +

    Not Acceptable

    +

    An appropriate representation of the requested resource could not be found on this server.

    + Available variants: + + \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.2.0/OOPSevaluation/evaluation/bootstrap.css b/dist/vocabulary/mapping/0.2.0/OOPSevaluation/evaluation/bootstrap.css new file mode 100644 index 0000000..b17ff4c --- /dev/null +++ b/dist/vocabulary/mapping/0.2.0/OOPSevaluation/evaluation/bootstrap.css @@ -0,0 +1,7155 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +audio, +canvas, +video { + display: inline-block; +} + +audio:not([controls]) { + display: none; + height: 0; +} + +[hidden], +template { + display: none; +} + +html { + font-family: sans-serif; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +body { + margin: 0; +} + +a { + background: transparent; +} + +a:focus { + outline: thin dotted; +} + +a:active, +a:hover { + outline: 0; +} + +h1 { + margin: 0.67em 0; + font-size: 2em; +} + +abbr[title] { + border-bottom: 1px dotted; +} + +b, +strong { + font-weight: bold; +} + +dfn { + font-style: italic; +} + +hr { + height: 0; + -moz-box-sizing: content-box; + box-sizing: content-box; +} + +mark { + color: #000; + background: #ff0; +} + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +pre { + white-space: pre-wrap; +} + +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} + +small { + font-size: 80%; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +img { + border: 0; +} + +svg:not(:root) { + overflow: hidden; +} + +figure { + margin: 0; +} + +fieldset { + padding: 0.35em 0.625em 0.75em; + margin: 0 2px; + border: 1px solid #c0c0c0; +} + +legend { + padding: 0; + border: 0; +} + +button, +input, +select, +textarea { + margin: 0; + font-family: inherit; + font-size: 100%; +} + +button, +input { + line-height: normal; +} + +button, +select { + text-transform: none; +} + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + cursor: pointer; + -webkit-appearance: button; +} + +button[disabled], +html input[disabled] { + cursor: default; +} + +input[type="checkbox"], +input[type="radio"] { + padding: 0; + box-sizing: border-box; +} + +input[type="search"] { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + -webkit-appearance: textfield; +} + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; +} + +textarea { + overflow: auto; + vertical-align: top; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +@media print { + * { + color: #000 !important; + text-shadow: none !important; + background: transparent !important; + box-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + a[href^="javascript:"]:after, + a[href^="#"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + @page { + margin: 2cm .5cm; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + select { + background: #fff !important; + } + .navbar { + display: none; + } + .table td, + .table th { + background-color: #fff !important; + } + .btn > .caret, + .dropup > .btn > .caret { + border-top-color: #000 !important; + } + .label { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #ddd !important; + } +} + +*, +*:before, +*:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +html { + font-size: 62.5%; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +body { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 1.428571429; + color: #333333; + background-color: #ffffff; +} + +input, +button, +select, +textarea { + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +a { + color: #428bca; + text-decoration: none; +} + +a:hover, +a:focus { + color: #2a6496; + text-decoration: underline; +} + +a:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +img { + vertical-align: middle; +} + +.img-responsive { + display: block; + height: auto; + max-width: 100%; +} + +.img-rounded { + border-radius: 6px; +} + +.img-thumbnail { + display: inline-block; + height: auto; + max-width: 100%; + padding: 4px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.img-circle { + border-radius: 50%; +} + +hr { + margin-top: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid #eeeeee; +} + +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} + +h1, +h2, +h3, +h4, +h5, +h6, +.h1, +.h2, +.h3, +.h4, +.h5, +.h6 { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 500; + line-height: 1.1; + color: inherit; +} + +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small, +.h1 small, +.h2 small, +.h3 small, +.h4 small, +.h5 small, +.h6 small, +h1 .small, +h2 .small, +h3 .small, +h4 .small, +h5 .small, +h6 .small, +.h1 .small, +.h2 .small, +.h3 .small, +.h4 .small, +.h5 .small, +.h6 .small { + font-weight: normal; + line-height: 1; + color: #999999; +} + +h1, +h2, +h3 { + margin-top: 20px; + margin-bottom: 10px; +} + +h1 small, +h2 small, +h3 small, +h1 .small, +h2 .small, +h3 .small { + font-size: 65%; +} + +h4, +h5, +h6 { + margin-top: 10px; + margin-bottom: 10px; +} + +h4 small, +h5 small, +h6 small, +h4 .small, +h5 .small, +h6 .small { + font-size: 75%; +} + +h1, +.h1 { + font-size: 36px; +} + +h2, +.h2 { + font-size: 30px; +} + +h3, +.h3 { + font-size: 24px; +} + +h4, +.h4 { + font-size: 18px; +} + +h5, +.h5 { + font-size: 14px; +} + +h6, +.h6 { + font-size: 12px; +} + +p { + margin: 0 0 10px; +} + +.lead { + margin-bottom: 20px; + font-size: 16px; + font-weight: 200; + line-height: 1.4; +} + +@media (min-width: 768px) { + .lead { + font-size: 21px; + } +} + +small, +.small { + font-size: 85%; +} + +cite { + font-style: normal; +} + +.text-muted { + color: #999999; +} + +.text-primary { + color: #428bca; +} + +.text-primary:hover { + color: #3071a9; +} + +.text-warning { + color: #8a6d3b; +} + +.text-warning:hover { + color: #66512c; +} + +.text-danger { + color: #a94442; +} + +.text-danger:hover { + color: #843534; +} + +.text-success { + color: #3c763d; +} + +.text-success:hover { + color: #2b542c; +} + +.text-info { + color: #31708f; +} + +.text-info:hover { + color: #245269; +} + +.text-left { + text-align: left; +} + +.text-right { + text-align: right; +} + +.text-center { + text-align: center; +} + +.page-header { + padding-bottom: 9px; + margin: 40px 0 20px; + border-bottom: 1px solid #eeeeee; +} + +ul, +ol { + margin-top: 0; + margin-bottom: 10px; +} + +ul ul, +ol ul, +ul ol, +ol ol { + margin-bottom: 0; +} + +.list-unstyled { + padding-left: 0; + list-style: none; +} + +.list-inline { + padding-left: 0; + list-style: none; +} + +.list-inline > li { + display: inline-block; + padding-right: 5px; + padding-left: 5px; +} + +.list-inline > li:first-child { + padding-left: 0; +} + +dl { + margin-top: 0; + margin-bottom: 20px; +} + +dt, +dd { + line-height: 1.428571429; +} + +dt { + font-weight: bold; +} + +dd { + margin-left: 0; +} + +@media (min-width: 768px) { + .dl-horizontal dt { + float: left; + width: 160px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; + } + .dl-horizontal dd { + margin-left: 180px; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } +} + +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #999999; +} + +.initialism { + font-size: 90%; + text-transform: uppercase; +} + +blockquote { + padding: 10px 20px; + margin: 0 0 20px; + border-left: 5px solid #eeeeee; +} + +blockquote p { + font-size: 17.5px; + font-weight: 300; + line-height: 1.25; +} + +blockquote p:last-child { + margin-bottom: 0; +} + +blockquote small, +blockquote .small { + display: block; + line-height: 1.428571429; + color: #999999; +} + +blockquote small:before, +blockquote .small:before { + content: '\2014 \00A0'; +} + +blockquote.pull-right { + padding-right: 15px; + padding-left: 0; + border-right: 5px solid #eeeeee; + border-left: 0; +} + +blockquote.pull-right p, +blockquote.pull-right small, +blockquote.pull-right .small { + text-align: right; +} + +blockquote.pull-right small:before, +blockquote.pull-right .small:before { + content: ''; +} + +blockquote.pull-right small:after, +blockquote.pull-right .small:after { + content: '\00A0 \2014'; +} + +blockquote:before, +blockquote:after { + content: ""; +} + +address { + margin-bottom: 20px; + font-style: normal; + line-height: 1.428571429; +} + +code, +kbd, +pre, +samp { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; +} + +code { + padding: 2px 4px; + font-size: 90%; + color: #c7254e; + white-space: nowrap; + background-color: #f9f2f4; + border-radius: 4px; +} + +pre { + display: block; + padding: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 1.428571429; + color: #333333; + word-break: break-all; + word-wrap: break-word; + background-color: #f5f5f5; + border: 1px solid #cccccc; + border-radius: 4px; +} + +pre code { + padding: 0; + font-size: inherit; + color: inherit; + white-space: pre-wrap; + background-color: transparent; + border-radius: 0; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +.container { + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +@media (min-width: 768px) { + .container { + width: 750px; + } +} + +@media (min-width: 992px) { + .container { + width: 970px; + } +} + +@media (min-width: 1200px) { + .container { + width: 1170px; + } +} + +.row { + margin-right: -15px; + margin-left: -15px; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.col-xs-1, +.col-sm-1, +.col-md-1, +.col-lg-1, +.col-xs-2, +.col-sm-2, +.col-md-2, +.col-lg-2, +.col-xs-3, +.col-sm-3, +.col-md-3, +.col-lg-3, +.col-xs-4, +.col-sm-4, +.col-md-4, +.col-lg-4, +.col-xs-5, +.col-sm-5, +.col-md-5, +.col-lg-5, +.col-xs-6, +.col-sm-6, +.col-md-6, +.col-lg-6, +.col-xs-7, +.col-sm-7, +.col-md-7, +.col-lg-7, +.col-xs-8, +.col-sm-8, +.col-md-8, +.col-lg-8, +.col-xs-9, +.col-sm-9, +.col-md-9, +.col-lg-9, +.col-xs-10, +.col-sm-10, +.col-md-10, +.col-lg-10, +.col-xs-11, +.col-sm-11, +.col-md-11, +.col-lg-11, +.col-xs-12, +.col-sm-12, +.col-md-12, +.col-lg-12 { + position: relative; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; +} + +.col-xs-1, +.col-xs-2, +.col-xs-3, +.col-xs-4, +.col-xs-5, +.col-xs-6, +.col-xs-7, +.col-xs-8, +.col-xs-9, +.col-xs-10, +.col-xs-11, +.col-xs-12 { + float: left; +} + +.col-xs-12 { + width: 100%; +} + +.col-xs-11 { + width: 91.66666666666666%; +} + +.col-xs-10 { + width: 83.33333333333334%; +} + +.col-xs-9 { + width: 75%; +} + +.col-xs-8 { + width: 66.66666666666666%; +} + +.col-xs-7 { + width: 58.333333333333336%; +} + +.col-xs-6 { + width: 50%; +} + +.col-xs-5 { + width: 41.66666666666667%; +} + +.col-xs-4 { + width: 33.33333333333333%; +} + +.col-xs-3 { + width: 25%; +} + +.col-xs-2 { + width: 16.666666666666664%; +} + +.col-xs-1 { + width: 8.333333333333332%; +} + +.col-xs-pull-12 { + right: 100%; +} + +.col-xs-pull-11 { + right: 91.66666666666666%; +} + +.col-xs-pull-10 { + right: 83.33333333333334%; +} + +.col-xs-pull-9 { + right: 75%; +} + +.col-xs-pull-8 { + right: 66.66666666666666%; +} + +.col-xs-pull-7 { + right: 58.333333333333336%; +} + +.col-xs-pull-6 { + right: 50%; +} + +.col-xs-pull-5 { + right: 41.66666666666667%; +} + +.col-xs-pull-4 { + right: 33.33333333333333%; +} + +.col-xs-pull-3 { + right: 25%; +} + +.col-xs-pull-2 { + right: 16.666666666666664%; +} + +.col-xs-pull-1 { + right: 8.333333333333332%; +} + +.col-xs-pull-0 { + right: 0; +} + +.col-xs-push-12 { + left: 100%; +} + +.col-xs-push-11 { + left: 91.66666666666666%; +} + +.col-xs-push-10 { + left: 83.33333333333334%; +} + +.col-xs-push-9 { + left: 75%; +} + +.col-xs-push-8 { + left: 66.66666666666666%; +} + +.col-xs-push-7 { + left: 58.333333333333336%; +} + +.col-xs-push-6 { + left: 50%; +} + +.col-xs-push-5 { + left: 41.66666666666667%; +} + +.col-xs-push-4 { + left: 33.33333333333333%; +} + +.col-xs-push-3 { + left: 25%; +} + +.col-xs-push-2 { + left: 16.666666666666664%; +} + +.col-xs-push-1 { + left: 8.333333333333332%; +} + +.col-xs-push-0 { + left: 0; +} + +.col-xs-offset-12 { + margin-left: 100%; +} + +.col-xs-offset-11 { + margin-left: 91.66666666666666%; +} + +.col-xs-offset-10 { + margin-left: 83.33333333333334%; +} + +.col-xs-offset-9 { + margin-left: 75%; +} + +.col-xs-offset-8 { + margin-left: 66.66666666666666%; +} + +.col-xs-offset-7 { + margin-left: 58.333333333333336%; +} + +.col-xs-offset-6 { + margin-left: 50%; +} + +.col-xs-offset-5 { + margin-left: 41.66666666666667%; +} + +.col-xs-offset-4 { + margin-left: 33.33333333333333%; +} + +.col-xs-offset-3 { + margin-left: 25%; +} + +.col-xs-offset-2 { + margin-left: 16.666666666666664%; +} + +.col-xs-offset-1 { + margin-left: 8.333333333333332%; +} + +.col-xs-offset-0 { + margin-left: 0; +} + +@media (min-width: 768px) { + .col-sm-1, + .col-sm-2, + .col-sm-3, + .col-sm-4, + .col-sm-5, + .col-sm-6, + .col-sm-7, + .col-sm-8, + .col-sm-9, + .col-sm-10, + .col-sm-11, + .col-sm-12 { + float: left; + } + .col-sm-12 { + width: 100%; + } + .col-sm-11 { + width: 91.66666666666666%; + } + .col-sm-10 { + width: 83.33333333333334%; + } + .col-sm-9 { + width: 75%; + } + .col-sm-8 { + width: 66.66666666666666%; + } + .col-sm-7 { + width: 58.333333333333336%; + } + .col-sm-6 { + width: 50%; + } + .col-sm-5 { + width: 41.66666666666667%; + } + .col-sm-4 { + width: 33.33333333333333%; + } + .col-sm-3 { + width: 25%; + } + .col-sm-2 { + width: 16.666666666666664%; + } + .col-sm-1 { + width: 8.333333333333332%; + } + .col-sm-pull-12 { + right: 100%; + } + .col-sm-pull-11 { + right: 91.66666666666666%; + } + .col-sm-pull-10 { + right: 83.33333333333334%; + } + .col-sm-pull-9 { + right: 75%; + } + .col-sm-pull-8 { + right: 66.66666666666666%; + } + .col-sm-pull-7 { + right: 58.333333333333336%; + } + .col-sm-pull-6 { + right: 50%; + } + .col-sm-pull-5 { + right: 41.66666666666667%; + } + .col-sm-pull-4 { + right: 33.33333333333333%; + } + .col-sm-pull-3 { + right: 25%; + } + .col-sm-pull-2 { + right: 16.666666666666664%; + } + .col-sm-pull-1 { + right: 8.333333333333332%; + } + .col-sm-pull-0 { + right: 0; + } + .col-sm-push-12 { + left: 100%; + } + .col-sm-push-11 { + left: 91.66666666666666%; + } + .col-sm-push-10 { + left: 83.33333333333334%; + } + .col-sm-push-9 { + left: 75%; + } + .col-sm-push-8 { + left: 66.66666666666666%; + } + .col-sm-push-7 { + left: 58.333333333333336%; + } + .col-sm-push-6 { + left: 50%; + } + .col-sm-push-5 { + left: 41.66666666666667%; + } + .col-sm-push-4 { + left: 33.33333333333333%; + } + .col-sm-push-3 { + left: 25%; + } + .col-sm-push-2 { + left: 16.666666666666664%; + } + .col-sm-push-1 { + left: 8.333333333333332%; + } + .col-sm-push-0 { + left: 0; + } + .col-sm-offset-12 { + margin-left: 100%; + } + .col-sm-offset-11 { + margin-left: 91.66666666666666%; + } + .col-sm-offset-10 { + margin-left: 83.33333333333334%; + } + .col-sm-offset-9 { + margin-left: 75%; + } + .col-sm-offset-8 { + margin-left: 66.66666666666666%; + } + .col-sm-offset-7 { + margin-left: 58.333333333333336%; + } + .col-sm-offset-6 { + margin-left: 50%; + } + .col-sm-offset-5 { + margin-left: 41.66666666666667%; + } + .col-sm-offset-4 { + margin-left: 33.33333333333333%; + } + .col-sm-offset-3 { + margin-left: 25%; + } + .col-sm-offset-2 { + margin-left: 16.666666666666664%; + } + .col-sm-offset-1 { + margin-left: 8.333333333333332%; + } + .col-sm-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 992px) { + .col-md-1, + .col-md-2, + .col-md-3, + .col-md-4, + .col-md-5, + .col-md-6, + .col-md-7, + .col-md-8, + .col-md-9, + .col-md-10, + .col-md-11, + .col-md-12 { + float: left; + } + .col-md-12 { + width: 100%; + } + .col-md-11 { + width: 91.66666666666666%; + } + .col-md-10 { + width: 83.33333333333334%; + } + .col-md-9 { + width: 75%; + } + .col-md-8 { + width: 66.66666666666666%; + } + .col-md-7 { + width: 58.333333333333336%; + } + .col-md-6 { + width: 50%; + } + .col-md-5 { + width: 41.66666666666667%; + } + .col-md-4 { + width: 33.33333333333333%; + } + .col-md-3 { + width: 25%; + } + .col-md-2 { + width: 16.666666666666664%; + } + .col-md-1 { + width: 8.333333333333332%; + } + .col-md-pull-12 { + right: 100%; + } + .col-md-pull-11 { + right: 91.66666666666666%; + } + .col-md-pull-10 { + right: 83.33333333333334%; + } + .col-md-pull-9 { + right: 75%; + } + .col-md-pull-8 { + right: 66.66666666666666%; + } + .col-md-pull-7 { + right: 58.333333333333336%; + } + .col-md-pull-6 { + right: 50%; + } + .col-md-pull-5 { + right: 41.66666666666667%; + } + .col-md-pull-4 { + right: 33.33333333333333%; + } + .col-md-pull-3 { + right: 25%; + } + .col-md-pull-2 { + right: 16.666666666666664%; + } + .col-md-pull-1 { + right: 8.333333333333332%; + } + .col-md-pull-0 { + right: 0; + } + .col-md-push-12 { + left: 100%; + } + .col-md-push-11 { + left: 91.66666666666666%; + } + .col-md-push-10 { + left: 83.33333333333334%; + } + .col-md-push-9 { + left: 75%; + } + .col-md-push-8 { + left: 66.66666666666666%; + } + .col-md-push-7 { + left: 58.333333333333336%; + } + .col-md-push-6 { + left: 50%; + } + .col-md-push-5 { + left: 41.66666666666667%; + } + .col-md-push-4 { + left: 33.33333333333333%; + } + .col-md-push-3 { + left: 25%; + } + .col-md-push-2 { + left: 16.666666666666664%; + } + .col-md-push-1 { + left: 8.333333333333332%; + } + .col-md-push-0 { + left: 0; + } + .col-md-offset-12 { + margin-left: 100%; + } + .col-md-offset-11 { + margin-left: 91.66666666666666%; + } + .col-md-offset-10 { + margin-left: 83.33333333333334%; + } + .col-md-offset-9 { + margin-left: 75%; + } + .col-md-offset-8 { + margin-left: 66.66666666666666%; + } + .col-md-offset-7 { + margin-left: 58.333333333333336%; + } + .col-md-offset-6 { + margin-left: 50%; + } + .col-md-offset-5 { + margin-left: 41.66666666666667%; + } + .col-md-offset-4 { + margin-left: 33.33333333333333%; + } + .col-md-offset-3 { + margin-left: 25%; + } + .col-md-offset-2 { + margin-left: 16.666666666666664%; + } + .col-md-offset-1 { + margin-left: 8.333333333333332%; + } + .col-md-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 1200px) { + .col-lg-1, + .col-lg-2, + .col-lg-3, + .col-lg-4, + .col-lg-5, + .col-lg-6, + .col-lg-7, + .col-lg-8, + .col-lg-9, + .col-lg-10, + .col-lg-11, + .col-lg-12 { + float: left; + } + .col-lg-12 { + width: 100%; + } + .col-lg-11 { + width: 91.66666666666666%; + } + .col-lg-10 { + width: 83.33333333333334%; + } + .col-lg-9 { + width: 75%; + } + .col-lg-8 { + width: 66.66666666666666%; + } + .col-lg-7 { + width: 58.333333333333336%; + } + .col-lg-6 { + width: 50%; + } + .col-lg-5 { + width: 41.66666666666667%; + } + .col-lg-4 { + width: 33.33333333333333%; + } + .col-lg-3 { + width: 25%; + } + .col-lg-2 { + width: 16.666666666666664%; + } + .col-lg-1 { + width: 8.333333333333332%; + } + .col-lg-pull-12 { + right: 100%; + } + .col-lg-pull-11 { + right: 91.66666666666666%; + } + .col-lg-pull-10 { + right: 83.33333333333334%; + } + .col-lg-pull-9 { + right: 75%; + } + .col-lg-pull-8 { + right: 66.66666666666666%; + } + .col-lg-pull-7 { + right: 58.333333333333336%; + } + .col-lg-pull-6 { + right: 50%; + } + .col-lg-pull-5 { + right: 41.66666666666667%; + } + .col-lg-pull-4 { + right: 33.33333333333333%; + } + .col-lg-pull-3 { + right: 25%; + } + .col-lg-pull-2 { + right: 16.666666666666664%; + } + .col-lg-pull-1 { + right: 8.333333333333332%; + } + .col-lg-pull-0 { + right: 0; + } + .col-lg-push-12 { + left: 100%; + } + .col-lg-push-11 { + left: 91.66666666666666%; + } + .col-lg-push-10 { + left: 83.33333333333334%; + } + .col-lg-push-9 { + left: 75%; + } + .col-lg-push-8 { + left: 66.66666666666666%; + } + .col-lg-push-7 { + left: 58.333333333333336%; + } + .col-lg-push-6 { + left: 50%; + } + .col-lg-push-5 { + left: 41.66666666666667%; + } + .col-lg-push-4 { + left: 33.33333333333333%; + } + .col-lg-push-3 { + left: 25%; + } + .col-lg-push-2 { + left: 16.666666666666664%; + } + .col-lg-push-1 { + left: 8.333333333333332%; + } + .col-lg-push-0 { + left: 0; + } + .col-lg-offset-12 { + margin-left: 100%; + } + .col-lg-offset-11 { + margin-left: 91.66666666666666%; + } + .col-lg-offset-10 { + margin-left: 83.33333333333334%; + } + .col-lg-offset-9 { + margin-left: 75%; + } + .col-lg-offset-8 { + margin-left: 66.66666666666666%; + } + .col-lg-offset-7 { + margin-left: 58.333333333333336%; + } + .col-lg-offset-6 { + margin-left: 50%; + } + .col-lg-offset-5 { + margin-left: 41.66666666666667%; + } + .col-lg-offset-4 { + margin-left: 33.33333333333333%; + } + .col-lg-offset-3 { + margin-left: 25%; + } + .col-lg-offset-2 { + margin-left: 16.666666666666664%; + } + .col-lg-offset-1 { + margin-left: 8.333333333333332%; + } + .col-lg-offset-0 { + margin-left: 0; + } +} + +table { + max-width: 100%; + background-color: transparent; +} + +th { + text-align: left; +} + +.table { + width: 100%; + margin-bottom: 20px; +} + +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + padding: 8px; + line-height: 1.428571429; + vertical-align: top; + border-top: 1px solid #dddddd; +} + +.table > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #dddddd; +} + +.table > caption + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > th, +.table > thead:first-child > tr:first-child > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > td { + border-top: 0; +} + +.table > tbody + tbody { + border-top: 2px solid #dddddd; +} + +.table .table { + background-color: #ffffff; +} + +.table-condensed > thead > tr > th, +.table-condensed > tbody > tr > th, +.table-condensed > tfoot > tr > th, +.table-condensed > thead > tr > td, +.table-condensed > tbody > tr > td, +.table-condensed > tfoot > tr > td { + padding: 5px; +} + +.table-bordered { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > tbody > tr > th, +.table-bordered > tfoot > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > td { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td { + border-bottom-width: 2px; +} + +.table-striped > tbody > tr:nth-child(odd) > td, +.table-striped > tbody > tr:nth-child(odd) > th { + background-color: #f9f9f9; +} + +.table-hover > tbody > tr:hover > td, +.table-hover > tbody > tr:hover > th { + background-color: #f5f5f5; +} + +table col[class*="col-"] { + position: static; + display: table-column; + float: none; +} + +table td[class*="col-"], +table th[class*="col-"] { + display: table-cell; + float: none; +} + +.table > thead > tr > .active, +.table > tbody > tr > .active, +.table > tfoot > tr > .active, +.table > thead > .active > td, +.table > tbody > .active > td, +.table > tfoot > .active > td, +.table > thead > .active > th, +.table > tbody > .active > th, +.table > tfoot > .active > th { + background-color: #f5f5f5; +} + +.table-hover > tbody > tr > .active:hover, +.table-hover > tbody > .active:hover > td, +.table-hover > tbody > .active:hover > th { + background-color: #e8e8e8; +} + +.table > thead > tr > .success, +.table > tbody > tr > .success, +.table > tfoot > tr > .success, +.table > thead > .success > td, +.table > tbody > .success > td, +.table > tfoot > .success > td, +.table > thead > .success > th, +.table > tbody > .success > th, +.table > tfoot > .success > th { + background-color: #dff0d8; +} + +.table-hover > tbody > tr > .success:hover, +.table-hover > tbody > .success:hover > td, +.table-hover > tbody > .success:hover > th { + background-color: #d0e9c6; +} + +.table > thead > tr > .danger, +.table > tbody > tr > .danger, +.table > tfoot > tr > .danger, +.table > thead > .danger > td, +.table > tbody > .danger > td, +.table > tfoot > .danger > td, +.table > thead > .danger > th, +.table > tbody > .danger > th, +.table > tfoot > .danger > th { + background-color: #f2dede; +} + +.table-hover > tbody > tr > .danger:hover, +.table-hover > tbody > .danger:hover > td, +.table-hover > tbody > .danger:hover > th { + background-color: #ebcccc; +} + +.table > thead > tr > .warning, +.table > tbody > tr > .warning, +.table > tfoot > tr > .warning, +.table > thead > .warning > td, +.table > tbody > .warning > td, +.table > tfoot > .warning > td, +.table > thead > .warning > th, +.table > tbody > .warning > th, +.table > tfoot > .warning > th { + background-color: #fcf8e3; +} + +.table-hover > tbody > tr > .warning:hover, +.table-hover > tbody > .warning:hover > td, +.table-hover > tbody > .warning:hover > th { + background-color: #faf2cc; +} + +@media (max-width: 767px) { + .table-responsive { + width: 100%; + margin-bottom: 15px; + overflow-x: scroll; + overflow-y: hidden; + border: 1px solid #dddddd; + -ms-overflow-style: -ms-autohiding-scrollbar; + -webkit-overflow-scrolling: touch; + } + .table-responsive > .table { + margin-bottom: 0; + } + .table-responsive > .table > thead > tr > th, + .table-responsive > .table > tbody > tr > th, + .table-responsive > .table > tfoot > tr > th, + .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > td { + white-space: nowrap; + } + .table-responsive > .table-bordered { + border: 0; + } + .table-responsive > .table-bordered > thead > tr > th:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, + .table-responsive > .table-bordered > tfoot > tr > th:first-child, + .table-responsive > .table-bordered > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; + } + .table-responsive > .table-bordered > thead > tr > th:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, + .table-responsive > .table-bordered > tfoot > tr > th:last-child, + .table-responsive > .table-bordered > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; + } + .table-responsive > .table-bordered > tbody > tr:last-child > th, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, + .table-responsive > .table-bordered > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; + } +} + +fieldset { + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: inherit; + color: #333333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} + +label { + display: inline-block; + margin-bottom: 5px; + font-weight: bold; +} + +input[type="search"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + /* IE8-9 */ + + line-height: normal; +} + +input[type="file"] { + display: block; +} + +select[multiple], +select[size] { + height: auto; +} + +select optgroup { + font-family: inherit; + font-size: inherit; + font-style: inherit; +} + +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +input[type="number"]::-webkit-outer-spin-button, +input[type="number"]::-webkit-inner-spin-button { + height: auto; +} + +output { + display: block; + padding-top: 7px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; +} + +.form-control { + display: block; + width: 100%; + height: 34px; + padding: 6px 12px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; + background-color: #ffffff; + background-image: none; + border: 1px solid #cccccc; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; +} + +.form-control:focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); +} + +.form-control:-moz-placeholder { + color: #999999; +} + +.form-control::-moz-placeholder { + color: #999999; + opacity: 1; +} + +.form-control:-ms-input-placeholder { + color: #999999; +} + +.form-control::-webkit-input-placeholder { + color: #999999; +} + +.form-control[disabled], +.form-control[readonly], +fieldset[disabled] .form-control { + cursor: not-allowed; + background-color: #eeeeee; +} + +textarea.form-control { + height: auto; +} + +.form-group { + margin-bottom: 15px; +} + +.radio, +.checkbox { + display: block; + min-height: 20px; + padding-left: 20px; + margin-top: 10px; + margin-bottom: 10px; + vertical-align: middle; +} + +.radio label, +.checkbox label { + display: inline; + margin-bottom: 0; + font-weight: normal; + cursor: pointer; +} + +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + float: left; + margin-left: -20px; +} + +.radio + .radio, +.checkbox + .checkbox { + margin-top: -5px; +} + +.radio-inline, +.checkbox-inline { + display: inline-block; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + vertical-align: middle; + cursor: pointer; +} + +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; +} + +input[type="radio"][disabled], +input[type="checkbox"][disabled], +.radio[disabled], +.radio-inline[disabled], +.checkbox[disabled], +.checkbox-inline[disabled], +fieldset[disabled] input[type="radio"], +fieldset[disabled] input[type="checkbox"], +fieldset[disabled] .radio, +fieldset[disabled] .radio-inline, +fieldset[disabled] .checkbox, +fieldset[disabled] .checkbox-inline { + cursor: not-allowed; +} + +.input-sm { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-sm { + height: 30px; + line-height: 30px; +} + +textarea.input-sm { + height: auto; +} + +.input-lg { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-lg { + height: 46px; + line-height: 46px; +} + +textarea.input-lg { + height: auto; +} + +.has-warning .help-block, +.has-warning .control-label, +.has-warning .radio, +.has-warning .checkbox, +.has-warning .radio-inline, +.has-warning .checkbox-inline { + color: #8a6d3b; +} + +.has-warning .form-control { + border-color: #8a6d3b; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-warning .form-control:focus { + border-color: #66512c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; +} + +.has-warning .input-group-addon { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #8a6d3b; +} + +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline { + color: #a94442; +} + +.has-error .form-control { + border-color: #a94442; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-error .form-control:focus { + border-color: #843534; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; +} + +.has-error .input-group-addon { + color: #a94442; + background-color: #f2dede; + border-color: #a94442; +} + +.has-success .help-block, +.has-success .control-label, +.has-success .radio, +.has-success .checkbox, +.has-success .radio-inline, +.has-success .checkbox-inline { + color: #3c763d; +} + +.has-success .form-control { + border-color: #3c763d; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-success .form-control:focus { + border-color: #2b542c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; +} + +.has-success .input-group-addon { + color: #3c763d; + background-color: #dff0d8; + border-color: #3c763d; +} + +.form-control-static { + margin-bottom: 0; +} + +.help-block { + display: block; + margin-top: 5px; + margin-bottom: 10px; + color: #737373; +} + +@media (min-width: 768px) { + .form-inline .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .form-control { + display: inline-block; + } + .form-inline select.form-control { + width: auto; + } + .form-inline .radio, + .form-inline .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .form-inline .radio input[type="radio"], + .form-inline .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +.form-horizontal .control-label, +.form-horizontal .radio, +.form-horizontal .checkbox, +.form-horizontal .radio-inline, +.form-horizontal .checkbox-inline { + padding-top: 7px; + margin-top: 0; + margin-bottom: 0; +} + +.form-horizontal .radio, +.form-horizontal .checkbox { + min-height: 27px; +} + +.form-horizontal .form-group { + margin-right: -15px; + margin-left: -15px; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-control-static { + padding-top: 7px; +} + +@media (min-width: 768px) { + .form-horizontal .control-label { + text-align: right; + } +} + +.btn { + display: inline-block; + padding: 6px 12px; + margin-bottom: 0; + font-size: 14px; + font-weight: normal; + line-height: 1.428571429; + text-align: center; + white-space: nowrap; + vertical-align: middle; + cursor: pointer; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; +} + +.btn:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +.btn:hover, +.btn:focus { + color: #333333; + text-decoration: none; +} + +.btn:active, +.btn.active { + background-image: none; + outline: 0; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn.disabled, +.btn[disabled], +fieldset[disabled] .btn { + pointer-events: none; + cursor: not-allowed; + opacity: 0.65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-default { + color: #333333; + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default:hover, +.btn-default:focus, +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + color: #333333; + background-color: #ebebeb; + border-color: #adadad; +} + +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + background-image: none; +} + +.btn-default.disabled, +.btn-default[disabled], +fieldset[disabled] .btn-default, +.btn-default.disabled:hover, +.btn-default[disabled]:hover, +fieldset[disabled] .btn-default:hover, +.btn-default.disabled:focus, +.btn-default[disabled]:focus, +fieldset[disabled] .btn-default:focus, +.btn-default.disabled:active, +.btn-default[disabled]:active, +fieldset[disabled] .btn-default:active, +.btn-default.disabled.active, +.btn-default[disabled].active, +fieldset[disabled] .btn-default.active { + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default .badge { + color: #ffffff; + background-color: #fff; +} + +.btn-primary { + color: #ffffff; + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary:hover, +.btn-primary:focus, +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + color: #ffffff; + background-color: #3276b1; + border-color: #285e8e; +} + +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + background-image: none; +} + +.btn-primary.disabled, +.btn-primary[disabled], +fieldset[disabled] .btn-primary, +.btn-primary.disabled:hover, +.btn-primary[disabled]:hover, +fieldset[disabled] .btn-primary:hover, +.btn-primary.disabled:focus, +.btn-primary[disabled]:focus, +fieldset[disabled] .btn-primary:focus, +.btn-primary.disabled:active, +.btn-primary[disabled]:active, +fieldset[disabled] .btn-primary:active, +.btn-primary.disabled.active, +.btn-primary[disabled].active, +fieldset[disabled] .btn-primary.active { + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary .badge { + color: #428bca; + background-color: #fff; +} + +.btn-warning { + color: #ffffff; + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning:hover, +.btn-warning:focus, +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + color: #ffffff; + background-color: #ed9c28; + border-color: #d58512; +} + +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + background-image: none; +} + +.btn-warning.disabled, +.btn-warning[disabled], +fieldset[disabled] .btn-warning, +.btn-warning.disabled:hover, +.btn-warning[disabled]:hover, +fieldset[disabled] .btn-warning:hover, +.btn-warning.disabled:focus, +.btn-warning[disabled]:focus, +fieldset[disabled] .btn-warning:focus, +.btn-warning.disabled:active, +.btn-warning[disabled]:active, +fieldset[disabled] .btn-warning:active, +.btn-warning.disabled.active, +.btn-warning[disabled].active, +fieldset[disabled] .btn-warning.active { + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning .badge { + color: #f0ad4e; + background-color: #fff; +} + +.btn-danger { + color: #ffffff; + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger:hover, +.btn-danger:focus, +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + color: #ffffff; + background-color: #d2322d; + border-color: #ac2925; +} + +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + background-image: none; +} + +.btn-danger.disabled, +.btn-danger[disabled], +fieldset[disabled] .btn-danger, +.btn-danger.disabled:hover, +.btn-danger[disabled]:hover, +fieldset[disabled] .btn-danger:hover, +.btn-danger.disabled:focus, +.btn-danger[disabled]:focus, +fieldset[disabled] .btn-danger:focus, +.btn-danger.disabled:active, +.btn-danger[disabled]:active, +fieldset[disabled] .btn-danger:active, +.btn-danger.disabled.active, +.btn-danger[disabled].active, +fieldset[disabled] .btn-danger.active { + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger .badge { + color: #d9534f; + background-color: #fff; +} + +.btn-success { + color: #ffffff; + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success:hover, +.btn-success:focus, +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + color: #ffffff; + background-color: #47a447; + border-color: #398439; +} + +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + background-image: none; +} + +.btn-success.disabled, +.btn-success[disabled], +fieldset[disabled] .btn-success, +.btn-success.disabled:hover, +.btn-success[disabled]:hover, +fieldset[disabled] .btn-success:hover, +.btn-success.disabled:focus, +.btn-success[disabled]:focus, +fieldset[disabled] .btn-success:focus, +.btn-success.disabled:active, +.btn-success[disabled]:active, +fieldset[disabled] .btn-success:active, +.btn-success.disabled.active, +.btn-success[disabled].active, +fieldset[disabled] .btn-success.active { + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success .badge { + color: #5cb85c; + background-color: #fff; +} + +.btn-info { + color: #ffffff; + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info:hover, +.btn-info:focus, +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + color: #ffffff; + background-color: #39b3d7; + border-color: #269abc; +} + +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + background-image: none; +} + +.btn-info.disabled, +.btn-info[disabled], +fieldset[disabled] .btn-info, +.btn-info.disabled:hover, +.btn-info[disabled]:hover, +fieldset[disabled] .btn-info:hover, +.btn-info.disabled:focus, +.btn-info[disabled]:focus, +fieldset[disabled] .btn-info:focus, +.btn-info.disabled:active, +.btn-info[disabled]:active, +fieldset[disabled] .btn-info:active, +.btn-info.disabled.active, +.btn-info[disabled].active, +fieldset[disabled] .btn-info.active { + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info .badge { + color: #5bc0de; + background-color: #fff; +} + +.btn-link { + font-weight: normal; + color: #428bca; + cursor: pointer; + border-radius: 0; +} + +.btn-link, +.btn-link:active, +.btn-link[disabled], +fieldset[disabled] .btn-link { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-link, +.btn-link:hover, +.btn-link:focus, +.btn-link:active { + border-color: transparent; +} + +.btn-link:hover, +.btn-link:focus { + color: #2a6496; + text-decoration: underline; + background-color: transparent; +} + +.btn-link[disabled]:hover, +fieldset[disabled] .btn-link:hover, +.btn-link[disabled]:focus, +fieldset[disabled] .btn-link:focus { + color: #999999; + text-decoration: none; +} + +.btn-lg { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-sm { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-xs { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-block { + display: block; + width: 100%; + padding-right: 0; + padding-left: 0; +} + +.btn-block + .btn-block { + margin-top: 5px; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.fade { + opacity: 0; + -webkit-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} + +.fade.in { + opacity: 1; +} + +.collapse { + display: none; +} + +.collapse.in { + display: block; +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition: height 0.35s ease; + transition: height 0.35s ease; +} + +@font-face { + font-family: 'Glyphicons Halflings'; + src: url('../fonts/glyphicons-halflings-regular.eot'); + src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg'); +} + +.glyphicon { + position: relative; + top: 1px; + display: inline-block; + font-family: 'Glyphicons Halflings'; + -webkit-font-smoothing: antialiased; + font-style: normal; + font-weight: normal; + line-height: 1; + -moz-osx-font-smoothing: grayscale; +} + +.glyphicon:empty { + width: 1em; +} + +.glyphicon-asterisk:before { + content: "\2a"; +} + +.glyphicon-plus:before { + content: "\2b"; +} + +.glyphicon-euro:before { + content: "\20ac"; +} + +.glyphicon-minus:before { + content: "\2212"; +} + +.glyphicon-cloud:before { + content: "\2601"; +} + +.glyphicon-envelope:before { + content: "\2709"; +} + +.glyphicon-pencil:before { + content: "\270f"; +} + +.glyphicon-glass:before { + content: "\e001"; +} + +.glyphicon-music:before { + content: "\e002"; +} + +.glyphicon-search:before { + content: "\e003"; +} + +.glyphicon-heart:before { + content: "\e005"; +} + +.glyphicon-star:before { + content: "\e006"; +} + +.glyphicon-star-empty:before { + content: "\e007"; +} + +.glyphicon-user:before { + content: "\e008"; +} + +.glyphicon-film:before { + content: "\e009"; +} + +.glyphicon-th-large:before { + content: "\e010"; +} + +.glyphicon-th:before { + content: "\e011"; +} + +.glyphicon-th-list:before { + content: "\e012"; +} + +.glyphicon-ok:before { + content: "\e013"; +} + +.glyphicon-remove:before { + content: "\e014"; +} + +.glyphicon-zoom-in:before { + content: "\e015"; +} + +.glyphicon-zoom-out:before { + content: "\e016"; +} + +.glyphicon-off:before { + content: "\e017"; +} + +.glyphicon-signal:before { + content: "\e018"; +} + +.glyphicon-cog:before { + content: "\e019"; +} + +.glyphicon-trash:before { + content: "\e020"; +} + +.glyphicon-home:before { + content: "\e021"; +} + +.glyphicon-file:before { + content: "\e022"; +} + +.glyphicon-time:before { + content: "\e023"; +} + +.glyphicon-road:before { + content: "\e024"; +} + +.glyphicon-download-alt:before { + content: "\e025"; +} + +.glyphicon-download:before { + content: "\e026"; +} + +.glyphicon-upload:before { + content: "\e027"; +} + +.glyphicon-inbox:before { + content: "\e028"; +} + +.glyphicon-play-circle:before { + content: "\e029"; +} + +.glyphicon-repeat:before { + content: "\e030"; +} + +.glyphicon-refresh:before { + content: "\e031"; +} + +.glyphicon-list-alt:before { + content: "\e032"; +} + +.glyphicon-lock:before { + content: "\e033"; +} + +.glyphicon-flag:before { + content: "\e034"; +} + +.glyphicon-headphones:before { + content: "\e035"; +} + +.glyphicon-volume-off:before { + content: "\e036"; +} + +.glyphicon-volume-down:before { + content: "\e037"; +} + +.glyphicon-volume-up:before { + content: "\e038"; +} + +.glyphicon-qrcode:before { + content: "\e039"; +} + +.glyphicon-barcode:before { + content: "\e040"; +} + +.glyphicon-tag:before { + content: "\e041"; +} + +.glyphicon-tags:before { + content: "\e042"; +} + +.glyphicon-book:before { + content: "\e043"; +} + +.glyphicon-bookmark:before { + content: "\e044"; +} + +.glyphicon-print:before { + content: "\e045"; +} + +.glyphicon-camera:before { + content: "\e046"; +} + +.glyphicon-font:before { + content: "\e047"; +} + +.glyphicon-bold:before { + content: "\e048"; +} + +.glyphicon-italic:before { + content: "\e049"; +} + +.glyphicon-text-height:before { + content: "\e050"; +} + +.glyphicon-text-width:before { + content: "\e051"; +} + +.glyphicon-align-left:before { + content: "\e052"; +} + +.glyphicon-align-center:before { + content: "\e053"; +} + +.glyphicon-align-right:before { + content: "\e054"; +} + +.glyphicon-align-justify:before { + content: "\e055"; +} + +.glyphicon-list:before { + content: "\e056"; +} + +.glyphicon-indent-left:before { + content: "\e057"; +} + +.glyphicon-indent-right:before { + content: "\e058"; +} + +.glyphicon-facetime-video:before { + content: "\e059"; +} + +.glyphicon-picture:before { + content: "\e060"; +} + +.glyphicon-map-marker:before { + content: "\e062"; +} + +.glyphicon-adjust:before { + content: "\e063"; +} + +.glyphicon-tint:before { + content: "\e064"; +} + +.glyphicon-edit:before { + content: "\e065"; +} + +.glyphicon-share:before { + content: "\e066"; +} + +.glyphicon-check:before { + content: "\e067"; +} + +.glyphicon-move:before { + content: "\e068"; +} + +.glyphicon-step-backward:before { + content: "\e069"; +} + +.glyphicon-fast-backward:before { + content: "\e070"; +} + +.glyphicon-backward:before { + content: "\e071"; +} + +.glyphicon-play:before { + content: "\e072"; +} + +.glyphicon-pause:before { + content: "\e073"; +} + +.glyphicon-stop:before { + content: "\e074"; +} + +.glyphicon-forward:before { + content: "\e075"; +} + +.glyphicon-fast-forward:before { + content: "\e076"; +} + +.glyphicon-step-forward:before { + content: "\e077"; +} + +.glyphicon-eject:before { + content: "\e078"; +} + +.glyphicon-chevron-left:before { + content: "\e079"; +} + +.glyphicon-chevron-right:before { + content: "\e080"; +} + +.glyphicon-plus-sign:before { + content: "\e081"; +} + +.glyphicon-minus-sign:before { + content: "\e082"; +} + +.glyphicon-remove-sign:before { + content: "\e083"; +} + +.glyphicon-ok-sign:before { + content: "\e084"; +} + +.glyphicon-question-sign:before { + content: "\e085"; +} + +.glyphicon-info-sign:before { + content: "\e086"; +} + +.glyphicon-screenshot:before { + content: "\e087"; +} + +.glyphicon-remove-circle:before { + content: "\e088"; +} + +.glyphicon-ok-circle:before { + content: "\e089"; +} + +.glyphicon-ban-circle:before { + content: "\e090"; +} + +.glyphicon-arrow-left:before { + content: "\e091"; +} + +.glyphicon-arrow-right:before { + content: "\e092"; +} + +.glyphicon-arrow-up:before { + content: "\e093"; +} + +.glyphicon-arrow-down:before { + content: "\e094"; +} + +.glyphicon-share-alt:before { + content: "\e095"; +} + +.glyphicon-resize-full:before { + content: "\e096"; +} + +.glyphicon-resize-small:before { + content: "\e097"; +} + +.glyphicon-exclamation-sign:before { + content: "\e101"; +} + +.glyphicon-gift:before { + content: "\e102"; +} + +.glyphicon-leaf:before { + content: "\e103"; +} + +.glyphicon-fire:before { + content: "\e104"; +} + +.glyphicon-eye-open:before { + content: "\e105"; +} + +.glyphicon-eye-close:before { + content: "\e106"; +} + +.glyphicon-warning-sign:before { + content: "\e107"; +} + +.glyphicon-plane:before { + content: "\e108"; +} + +.glyphicon-calendar:before { + content: "\e109"; +} + +.glyphicon-random:before { + content: "\e110"; +} + +.glyphicon-comment:before { + content: "\e111"; +} + +.glyphicon-magnet:before { + content: "\e112"; +} + +.glyphicon-chevron-up:before { + content: "\e113"; +} + +.glyphicon-chevron-down:before { + content: "\e114"; +} + +.glyphicon-retweet:before { + content: "\e115"; +} + +.glyphicon-shopping-cart:before { + content: "\e116"; +} + +.glyphicon-folder-close:before { + content: "\e117"; +} + +.glyphicon-folder-open:before { + content: "\e118"; +} + +.glyphicon-resize-vertical:before { + content: "\e119"; +} + +.glyphicon-resize-horizontal:before { + content: "\e120"; +} + +.glyphicon-hdd:before { + content: "\e121"; +} + +.glyphicon-bullhorn:before { + content: "\e122"; +} + +.glyphicon-bell:before { + content: "\e123"; +} + +.glyphicon-certificate:before { + content: "\e124"; +} + +.glyphicon-thumbs-up:before { + content: "\e125"; +} + +.glyphicon-thumbs-down:before { + content: "\e126"; +} + +.glyphicon-hand-right:before { + content: "\e127"; +} + +.glyphicon-hand-left:before { + content: "\e128"; +} + +.glyphicon-hand-up:before { + content: "\e129"; +} + +.glyphicon-hand-down:before { + content: "\e130"; +} + +.glyphicon-circle-arrow-right:before { + content: "\e131"; +} + +.glyphicon-circle-arrow-left:before { + content: "\e132"; +} + +.glyphicon-circle-arrow-up:before { + content: "\e133"; +} + +.glyphicon-circle-arrow-down:before { + content: "\e134"; +} + +.glyphicon-globe:before { + content: "\e135"; +} + +.glyphicon-wrench:before { + content: "\e136"; +} + +.glyphicon-tasks:before { + content: "\e137"; +} + +.glyphicon-filter:before { + content: "\e138"; +} + +.glyphicon-briefcase:before { + content: "\e139"; +} + +.glyphicon-fullscreen:before { + content: "\e140"; +} + +.glyphicon-dashboard:before { + content: "\e141"; +} + +.glyphicon-paperclip:before { + content: "\e142"; +} + +.glyphicon-heart-empty:before { + content: "\e143"; +} + +.glyphicon-link:before { + content: "\e144"; +} + +.glyphicon-phone:before { + content: "\e145"; +} + +.glyphicon-pushpin:before { + content: "\e146"; +} + +.glyphicon-usd:before { + content: "\e148"; +} + +.glyphicon-gbp:before { + content: "\e149"; +} + +.glyphicon-sort:before { + content: "\e150"; +} + +.glyphicon-sort-by-alphabet:before { + content: "\e151"; +} + +.glyphicon-sort-by-alphabet-alt:before { + content: "\e152"; +} + +.glyphicon-sort-by-order:before { + content: "\e153"; +} + +.glyphicon-sort-by-order-alt:before { + content: "\e154"; +} + +.glyphicon-sort-by-attributes:before { + content: "\e155"; +} + +.glyphicon-sort-by-attributes-alt:before { + content: "\e156"; +} + +.glyphicon-unchecked:before { + content: "\e157"; +} + +.glyphicon-expand:before { + content: "\e158"; +} + +.glyphicon-collapse-down:before { + content: "\e159"; +} + +.glyphicon-collapse-up:before { + content: "\e160"; +} + +.glyphicon-log-in:before { + content: "\e161"; +} + +.glyphicon-flash:before { + content: "\e162"; +} + +.glyphicon-log-out:before { + content: "\e163"; +} + +.glyphicon-new-window:before { + content: "\e164"; +} + +.glyphicon-record:before { + content: "\e165"; +} + +.glyphicon-save:before { + content: "\e166"; +} + +.glyphicon-open:before { + content: "\e167"; +} + +.glyphicon-saved:before { + content: "\e168"; +} + +.glyphicon-import:before { + content: "\e169"; +} + +.glyphicon-export:before { + content: "\e170"; +} + +.glyphicon-send:before { + content: "\e171"; +} + +.glyphicon-floppy-disk:before { + content: "\e172"; +} + +.glyphicon-floppy-saved:before { + content: "\e173"; +} + +.glyphicon-floppy-remove:before { + content: "\e174"; +} + +.glyphicon-floppy-save:before { + content: "\e175"; +} + +.glyphicon-floppy-open:before { + content: "\e176"; +} + +.glyphicon-credit-card:before { + content: "\e177"; +} + +.glyphicon-transfer:before { + content: "\e178"; +} + +.glyphicon-cutlery:before { + content: "\e179"; +} + +.glyphicon-header:before { + content: "\e180"; +} + +.glyphicon-compressed:before { + content: "\e181"; +} + +.glyphicon-earphone:before { + content: "\e182"; +} + +.glyphicon-phone-alt:before { + content: "\e183"; +} + +.glyphicon-tower:before { + content: "\e184"; +} + +.glyphicon-stats:before { + content: "\e185"; +} + +.glyphicon-sd-video:before { + content: "\e186"; +} + +.glyphicon-hd-video:before { + content: "\e187"; +} + +.glyphicon-subtitles:before { + content: "\e188"; +} + +.glyphicon-sound-stereo:before { + content: "\e189"; +} + +.glyphicon-sound-dolby:before { + content: "\e190"; +} + +.glyphicon-sound-5-1:before { + content: "\e191"; +} + +.glyphicon-sound-6-1:before { + content: "\e192"; +} + +.glyphicon-sound-7-1:before { + content: "\e193"; +} + +.glyphicon-copyright-mark:before { + content: "\e194"; +} + +.glyphicon-registration-mark:before { + content: "\e195"; +} + +.glyphicon-cloud-download:before { + content: "\e197"; +} + +.glyphicon-cloud-upload:before { + content: "\e198"; +} + +.glyphicon-tree-conifer:before { + content: "\e199"; +} + +.glyphicon-tree-deciduous:before { + content: "\e200"; +} + +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px solid; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} + +.dropdown { + position: relative; +} + +.dropdown-toggle:focus { + outline: 0; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + font-size: 14px; + list-style: none; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 4px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + background-clip: padding-box; +} + +.dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.dropdown-menu .divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.428571429; + color: #333333; + white-space: nowrap; +} + +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + color: #262626; + text-decoration: none; + background-color: #f5f5f5; +} + +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #ffffff; + text-decoration: none; + background-color: #428bca; + outline: 0; +} + +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #999999; +} + +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + cursor: not-allowed; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.open > .dropdown-menu { + display: block; +} + +.open > a { + outline: 0; +} + +.dropdown-header { + display: block; + padding: 3px 20px; + font-size: 12px; + line-height: 1.428571429; + color: #999999; +} + +.dropdown-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 990; +} + +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} + +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + border-top: 0; + border-bottom: 4px solid; + content: ""; +} + +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 1px; +} + +@media (min-width: 768px) { + .navbar-right .dropdown-menu { + right: 0; + left: auto; + } +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} + +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + float: left; +} + +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover, +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus, +.btn-group > .btn:active, +.btn-group-vertical > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn.active { + z-index: 2; +} + +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus { + outline: none; +} + +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group { + margin-left: -1px; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar .btn-group { + float: left; +} + +.btn-toolbar > .btn + .btn, +.btn-toolbar > .btn-group + .btn, +.btn-toolbar > .btn + .btn-group, +.btn-toolbar > .btn-group + .btn-group { + margin-left: 5px; +} + +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0; +} + +.btn-group > .btn:first-child { + margin-left: 0; +} + +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group > .btn-group { + float: left; +} + +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group > .btn-group:first-child > .btn:last-child, +.btn-group > .btn-group:first-child > .dropdown-toggle { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn-group:last-child > .btn:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} + +.btn-group-xs > .btn { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-sm > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-lg > .btn { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-group > .btn + .dropdown-toggle { + padding-right: 8px; + padding-left: 8px; +} + +.btn-group > .btn-lg + .dropdown-toggle { + padding-right: 12px; + padding-left: 12px; +} + +.btn-group.open .dropdown-toggle { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn-group.open .dropdown-toggle.btn-link { + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn .caret { + margin-left: 0; +} + +.btn-lg .caret { + border-width: 5px 5px 0; + border-bottom-width: 0; +} + +.dropup .btn-lg .caret { + border-width: 0 5px 5px; +} + +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group, +.btn-group-vertical > .btn-group > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group > .btn { + float: none; +} + +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} + +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-top-right-radius: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 0; +} + +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group-vertical > .btn-group:first-child > .btn:last-child, +.btn-group-vertical > .btn-group:first-child > .dropdown-toggle { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn-group:last-child > .btn:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.btn-group-justified { + display: table; + width: 100%; + border-collapse: separate; + table-layout: fixed; +} + +.btn-group-justified > .btn, +.btn-group-justified > .btn-group { + display: table-cell; + float: none; + width: 1%; +} + +.btn-group-justified > .btn-group .btn { + width: 100%; +} + +[data-toggle="buttons"] > .btn > input[type="radio"], +[data-toggle="buttons"] > .btn > input[type="checkbox"] { + display: none; +} + +.input-group { + position: relative; + display: table; + border-collapse: separate; +} + +.input-group[class*="col-"] { + float: none; + padding-right: 0; + padding-left: 0; +} + +.input-group .form-control { + width: 100%; + margin-bottom: 0; +} + +.input-group-lg > .form-control, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-group-lg > .form-control, +select.input-group-lg > .input-group-addon, +select.input-group-lg > .input-group-btn > .btn { + height: 46px; + line-height: 46px; +} + +textarea.input-group-lg > .form-control, +textarea.input-group-lg > .input-group-addon, +textarea.input-group-lg > .input-group-btn > .btn { + height: auto; +} + +.input-group-sm > .form-control, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-group-sm > .form-control, +select.input-group-sm > .input-group-addon, +select.input-group-sm > .input-group-btn > .btn { + height: 30px; + line-height: 30px; +} + +textarea.input-group-sm > .form-control, +textarea.input-group-sm > .input-group-addon, +textarea.input-group-sm > .input-group-btn > .btn { + height: auto; +} + +.input-group-addon, +.input-group-btn, +.input-group .form-control { + display: table-cell; +} + +.input-group-addon:not(:first-child):not(:last-child), +.input-group-btn:not(:first-child):not(:last-child), +.input-group .form-control:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.input-group-addon, +.input-group-btn { + width: 1%; + white-space: nowrap; + vertical-align: middle; +} + +.input-group-addon { + padding: 6px 12px; + font-size: 14px; + font-weight: normal; + line-height: 1; + color: #555555; + text-align: center; + background-color: #eeeeee; + border: 1px solid #cccccc; + border-radius: 4px; +} + +.input-group-addon.input-sm { + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; +} + +.input-group-addon.input-lg { + padding: 10px 16px; + font-size: 18px; + border-radius: 6px; +} + +.input-group-addon input[type="radio"], +.input-group-addon input[type="checkbox"] { + margin-top: 0; +} + +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group-addon:first-child { + border-right: 0; +} + +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.input-group-addon:last-child { + border-left: 0; +} + +.input-group-btn { + position: relative; + white-space: nowrap; +} + +.input-group-btn:first-child > .btn { + margin-right: -1px; +} + +.input-group-btn:last-child > .btn { + margin-left: -1px; +} + +.input-group-btn > .btn { + position: relative; +} + +.input-group-btn > .btn + .btn { + margin-left: -4px; +} + +.input-group-btn > .btn:hover, +.input-group-btn > .btn:active { + z-index: 2; +} + +.nav { + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav > li { + position: relative; + display: block; +} + +.nav > li > a { + position: relative; + display: block; + padding: 10px 15px; +} + +.nav > li > a:hover, +.nav > li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.nav > li.disabled > a { + color: #999999; +} + +.nav > li.disabled > a:hover, +.nav > li.disabled > a:focus { + color: #999999; + text-decoration: none; + cursor: not-allowed; + background-color: transparent; +} + +.nav .open > a, +.nav .open > a:hover, +.nav .open > a:focus { + background-color: #eeeeee; + border-color: #428bca; +} + +.nav .nav-divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.nav > li > a > img { + max-width: none; +} + +.nav-tabs { + border-bottom: 1px solid #dddddd; +} + +.nav-tabs > li { + float: left; + margin-bottom: -1px; +} + +.nav-tabs > li > a { + margin-right: 2px; + line-height: 1.428571429; + border: 1px solid transparent; + border-radius: 4px 4px 0 0; +} + +.nav-tabs > li > a:hover { + border-color: #eeeeee #eeeeee #dddddd; +} + +.nav-tabs > li.active > a, +.nav-tabs > li.active > a:hover, +.nav-tabs > li.active > a:focus { + color: #555555; + cursor: default; + background-color: #ffffff; + border: 1px solid #dddddd; + border-bottom-color: transparent; +} + +.nav-tabs.nav-justified { + width: 100%; + border-bottom: 0; +} + +.nav-tabs.nav-justified > li { + float: none; +} + +.nav-tabs.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-tabs.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-tabs.nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs.nav-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs.nav-justified > .active > a, +.nav-tabs.nav-justified > .active > a:hover, +.nav-tabs.nav-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs.nav-justified > .active > a, + .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs.nav-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.nav-pills > li { + float: left; +} + +.nav-pills > li > a { + border-radius: 4px; +} + +.nav-pills > li + li { + margin-left: 2px; +} + +.nav-pills > li.active > a, +.nav-pills > li.active > a:hover, +.nav-pills > li.active > a:focus { + color: #ffffff; + background-color: #428bca; +} + +.nav-stacked > li { + float: none; +} + +.nav-stacked > li + li { + margin-top: 2px; + margin-left: 0; +} + +.nav-justified { + width: 100%; +} + +.nav-justified > li { + float: none; +} + +.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs-justified { + border-bottom: 0; +} + +.nav-tabs-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs-justified > .active > a, +.nav-tabs-justified > .active > a:hover, +.nav-tabs-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs-justified > .active > a, + .nav-tabs-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.tab-content > .tab-pane { + display: none; +} + +.tab-content > .active { + display: block; +} + +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar { + position: relative; + min-height: 50px; + margin-bottom: 20px; + border: 1px solid transparent; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar { + border-radius: 4px; + } +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar-header { + float: left; + } +} + +.navbar-collapse { + max-height: 340px; + padding-right: 15px; + padding-left: 15px; + overflow-x: visible; + border-top: 1px solid transparent; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); + -webkit-overflow-scrolling: touch; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse.in { + overflow-y: auto; +} + +@media (min-width: 768px) { + .navbar-collapse { + width: auto; + border-top: 0; + box-shadow: none; + } + .navbar-collapse.collapse { + display: block !important; + height: auto !important; + padding-bottom: 0; + overflow: visible !important; + } + .navbar-collapse.in { + overflow-y: visible; + } + .navbar-fixed-top .navbar-collapse, + .navbar-static-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + padding-right: 0; + padding-left: 0; + } +} + +.container > .navbar-header, +.container > .navbar-collapse { + margin-right: -15px; + margin-left: -15px; +} + +@media (min-width: 768px) { + .container > .navbar-header, + .container > .navbar-collapse { + margin-right: 0; + margin-left: 0; + } +} + +.navbar-static-top { + z-index: 1000; + border-width: 0 0 1px; +} + +@media (min-width: 768px) { + .navbar-static-top { + border-radius: 0; + } +} + +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; +} + +@media (min-width: 768px) { + .navbar-fixed-top, + .navbar-fixed-bottom { + border-radius: 0; + } +} + +.navbar-fixed-top { + top: 0; + border-width: 0 0 1px; +} + +.navbar-fixed-bottom { + bottom: 0; + margin-bottom: 0; + border-width: 1px 0 0; +} + +.navbar-brand { + float: left; + padding: 15px 15px; + font-size: 18px; + line-height: 20px; +} + +.navbar-brand:hover, +.navbar-brand:focus { + text-decoration: none; +} + +@media (min-width: 768px) { + .navbar > .container .navbar-brand { + margin-left: -15px; + } +} + +.navbar-toggle { + position: relative; + float: right; + padding: 9px 10px; + margin-top: 8px; + margin-right: 15px; + margin-bottom: 8px; + background-color: transparent; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; +} + +.navbar-toggle .icon-bar { + display: block; + width: 22px; + height: 2px; + border-radius: 1px; +} + +.navbar-toggle .icon-bar + .icon-bar { + margin-top: 4px; +} + +@media (min-width: 768px) { + .navbar-toggle { + display: none; + } +} + +.navbar-nav { + margin: 7.5px -15px; +} + +.navbar-nav > li > a { + padding-top: 10px; + padding-bottom: 10px; + line-height: 20px; +} + +@media (max-width: 767px) { + .navbar-nav .open .dropdown-menu { + position: static; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + box-shadow: none; + } + .navbar-nav .open .dropdown-menu > li > a, + .navbar-nav .open .dropdown-menu .dropdown-header { + padding: 5px 15px 5px 25px; + } + .navbar-nav .open .dropdown-menu > li > a { + line-height: 20px; + } + .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-nav .open .dropdown-menu > li > a:focus { + background-image: none; + } +} + +@media (min-width: 768px) { + .navbar-nav { + float: left; + margin: 0; + } + .navbar-nav > li { + float: left; + } + .navbar-nav > li > a { + padding-top: 15px; + padding-bottom: 15px; + } + .navbar-nav.navbar-right:last-child { + margin-right: -15px; + } +} + +@media (min-width: 768px) { + .navbar-left { + float: left !important; + } + .navbar-right { + float: right !important; + } +} + +.navbar-form { + padding: 10px 15px; + margin-top: 8px; + margin-right: -15px; + margin-bottom: 8px; + margin-left: -15px; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); +} + +@media (min-width: 768px) { + .navbar-form .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .form-control { + display: inline-block; + } + .navbar-form select.form-control { + width: auto; + } + .navbar-form .radio, + .navbar-form .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .navbar-form .radio input[type="radio"], + .navbar-form .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +@media (max-width: 767px) { + .navbar-form .form-group { + margin-bottom: 5px; + } +} + +@media (min-width: 768px) { + .navbar-form { + width: auto; + padding-top: 0; + padding-bottom: 0; + margin-right: 0; + margin-left: 0; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .navbar-form.navbar-right:last-child { + margin-right: -15px; + } +} + +.navbar-nav > li > .dropdown-menu { + margin-top: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.navbar-nav.pull-right > li > .dropdown-menu, +.navbar-nav > li > .dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.navbar-btn { + margin-top: 8px; + margin-bottom: 8px; +} + +.navbar-btn.btn-sm { + margin-top: 10px; + margin-bottom: 10px; +} + +.navbar-btn.btn-xs { + margin-top: 14px; + margin-bottom: 14px; +} + +.navbar-text { + margin-top: 15px; + margin-bottom: 15px; +} + +@media (min-width: 768px) { + .navbar-text { + float: left; + margin-right: 15px; + margin-left: 15px; + } + .navbar-text.navbar-right:last-child { + margin-right: 0; + } +} + +.navbar-default { + background-color: #f8f8f8; + border-color: #e7e7e7; +} + +.navbar-default .navbar-brand { + color: #777777; +} + +.navbar-default .navbar-brand:hover, +.navbar-default .navbar-brand:focus { + color: #5e5e5e; + background-color: transparent; +} + +.navbar-default .navbar-text { + color: #777777; +} + +.navbar-default .navbar-nav > li > a { + color: #777777; +} + +.navbar-default .navbar-nav > li > a:hover, +.navbar-default .navbar-nav > li > a:focus { + color: #333333; + background-color: transparent; +} + +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .disabled > a, +.navbar-default .navbar-nav > .disabled > a:hover, +.navbar-default .navbar-nav > .disabled > a:focus { + color: #cccccc; + background-color: transparent; +} + +.navbar-default .navbar-toggle { + border-color: #dddddd; +} + +.navbar-default .navbar-toggle:hover, +.navbar-default .navbar-toggle:focus { + background-color: #dddddd; +} + +.navbar-default .navbar-toggle .icon-bar { + background-color: #cccccc; +} + +.navbar-default .navbar-collapse, +.navbar-default .navbar-form { + border-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .open > a, +.navbar-default .navbar-nav > .open > a:hover, +.navbar-default .navbar-nav > .open > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a { + color: #777777; + } + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + color: #333333; + background-color: transparent; + } + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #555555; + background-color: #e7e7e7; + } + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #cccccc; + background-color: transparent; + } +} + +.navbar-default .navbar-link { + color: #777777; +} + +.navbar-default .navbar-link:hover { + color: #333333; +} + +.navbar-inverse { + background-color: #222222; + border-color: #080808; +} + +.navbar-inverse .navbar-brand { + color: #999999; +} + +.navbar-inverse .navbar-brand:hover, +.navbar-inverse .navbar-brand:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-text { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a:hover, +.navbar-inverse .navbar-nav > li > a:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-nav > .active > a, +.navbar-inverse .navbar-nav > .active > a:hover, +.navbar-inverse .navbar-nav > .active > a:focus { + color: #ffffff; + background-color: #080808; +} + +.navbar-inverse .navbar-nav > .disabled > a, +.navbar-inverse .navbar-nav > .disabled > a:hover, +.navbar-inverse .navbar-nav > .disabled > a:focus { + color: #444444; + background-color: transparent; +} + +.navbar-inverse .navbar-toggle { + border-color: #333333; +} + +.navbar-inverse .navbar-toggle:hover, +.navbar-inverse .navbar-toggle:focus { + background-color: #333333; +} + +.navbar-inverse .navbar-toggle .icon-bar { + background-color: #ffffff; +} + +.navbar-inverse .navbar-collapse, +.navbar-inverse .navbar-form { + border-color: #101010; +} + +.navbar-inverse .navbar-nav > .open > a, +.navbar-inverse .navbar-nav > .open > a:hover, +.navbar-inverse .navbar-nav > .open > a:focus { + color: #ffffff; + background-color: #080808; +} + +@media (max-width: 767px) { + .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { + border-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu .divider { + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { + color: #999999; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + color: #ffffff; + background-color: transparent; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #ffffff; + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #444444; + background-color: transparent; + } +} + +.navbar-inverse .navbar-link { + color: #999999; +} + +.navbar-inverse .navbar-link:hover { + color: #ffffff; +} + +.breadcrumb { + padding: 8px 15px; + margin-bottom: 20px; + list-style: none; + background-color: #f5f5f5; + border-radius: 4px; +} + +.breadcrumb > li { + display: inline-block; +} + +.breadcrumb > li + li:before { + padding: 0 5px; + color: #cccccc; + content: "/\00a0"; +} + +.breadcrumb > .active { + color: #999999; +} + +.pagination { + display: inline-block; + padding-left: 0; + margin: 20px 0; + border-radius: 4px; +} + +.pagination > li { + display: inline; +} + +.pagination > li > a, +.pagination > li > span { + position: relative; + float: left; + padding: 6px 12px; + margin-left: -1px; + line-height: 1.428571429; + text-decoration: none; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.pagination > li:first-child > a, +.pagination > li:first-child > span { + margin-left: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} + +.pagination > li:last-child > a, +.pagination > li:last-child > span { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} + +.pagination > li > a:hover, +.pagination > li > span:hover, +.pagination > li > a:focus, +.pagination > li > span:focus { + background-color: #eeeeee; +} + +.pagination > .active > a, +.pagination > .active > span, +.pagination > .active > a:hover, +.pagination > .active > span:hover, +.pagination > .active > a:focus, +.pagination > .active > span:focus { + z-index: 2; + color: #ffffff; + cursor: default; + background-color: #428bca; + border-color: #428bca; +} + +.pagination > .disabled > span, +.pagination > .disabled > span:hover, +.pagination > .disabled > span:focus, +.pagination > .disabled > a, +.pagination > .disabled > a:hover, +.pagination > .disabled > a:focus { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; + border-color: #dddddd; +} + +.pagination-lg > li > a, +.pagination-lg > li > span { + padding: 10px 16px; + font-size: 18px; +} + +.pagination-lg > li:first-child > a, +.pagination-lg > li:first-child > span { + border-bottom-left-radius: 6px; + border-top-left-radius: 6px; +} + +.pagination-lg > li:last-child > a, +.pagination-lg > li:last-child > span { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; +} + +.pagination-sm > li > a, +.pagination-sm > li > span { + padding: 5px 10px; + font-size: 12px; +} + +.pagination-sm > li:first-child > a, +.pagination-sm > li:first-child > span { + border-bottom-left-radius: 3px; + border-top-left-radius: 3px; +} + +.pagination-sm > li:last-child > a, +.pagination-sm > li:last-child > span { + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} + +.pager { + padding-left: 0; + margin: 20px 0; + text-align: center; + list-style: none; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager li { + display: inline; +} + +.pager li > a, +.pager li > span { + display: inline-block; + padding: 5px 14px; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 15px; +} + +.pager li > a:hover, +.pager li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.pager .next > a, +.pager .next > span { + float: right; +} + +.pager .previous > a, +.pager .previous > span { + float: left; +} + +.pager .disabled > a, +.pager .disabled > a:hover, +.pager .disabled > a:focus, +.pager .disabled > span { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; +} + +.label { + display: inline; + padding: .2em .6em .3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25em; +} + +.label[href]:hover, +.label[href]:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +.label:empty { + display: none; +} + +.btn .label { + position: relative; + top: -1px; +} + +.label-default { + background-color: #999999; +} + +.label-default[href]:hover, +.label-default[href]:focus { + background-color: #808080; +} + +.label-primary { + background-color: #428bca; +} + +.label-primary[href]:hover, +.label-primary[href]:focus { + background-color: #3071a9; +} + +.label-success { + background-color: #5cb85c; +} + +.label-success[href]:hover, +.label-success[href]:focus { + background-color: #449d44; +} + +.label-info { + background-color: #5bc0de; +} + +.label-info[href]:hover, +.label-info[href]:focus { + background-color: #31b0d5; +} + +.label-warning { + background-color: #f0ad4e; +} + +.label-warning[href]:hover, +.label-warning[href]:focus { + background-color: #ec971f; +} + +.label-minor { + background-color: #fad664; +} +.label-minor[href]:hover, +.label-minor[href]:focus { + background-color: #f8c933; +} + +.label-danger { + background-color: #d9534f; +} + +.label-danger[href]:hover, +.label-danger[href]:focus { + background-color: #c9302c; +} + +.badge { + display: inline-block; + min-width: 10px; + padding: 3px 7px; + font-size: 12px; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + background-color: #999999; + border-radius: 10px; +} + +.badge:empty { + display: none; +} + +.btn .badge { + position: relative; + top: -1px; +} + +a.badge:hover, +a.badge:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +a.list-group-item.active > .badge, +.nav-pills > .active > a > .badge { + color: #428bca; + background-color: #ffffff; +} + +.nav-pills > li > a > .badge { + margin-left: 3px; +} + +/*.jumbotron { + padding: 30px; + margin-bottom: 30px; + font-size: 21px; + font-weight: 200; + line-height: 2.1428571435; + color: inherit; + background-color: #eeeeee; +} + +.jumbotron h1, +.jumbotron .h1 { + line-height: 1; + color: inherit; +} + +.jumbotron p { + line-height: 1.4; +} + +.container .jumbotron { + border-radius: 6px; +} + +.jumbotron .container { + max-width: 100%; +} + +@media screen and (min-width: 768px) { + .jumbotron { + padding-top: 48px; + padding-bottom: 48px; + } + .container .jumbotron { + padding-right: 60px; + padding-left: 60px; + } + .jumbotron h1, + .jumbotron .h1 { + font-size: 63px; + } +}*/ + +.thumbnail { + display: block; + padding: 4px; + margin-bottom: 20px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.thumbnail > img, +.thumbnail a > img { + display: block; + height: auto; + max-width: 100%; + margin-right: auto; + margin-left: auto; +} + +a.thumbnail:hover, +a.thumbnail:focus, +a.thumbnail.active { + border-color: #428bca; +} + +.thumbnail .caption { + padding: 9px; + color: #333333; +} + +.alert { + padding: 15px; + margin-bottom: 20px; + border: 1px solid transparent; + border-radius: 4px; +} + +.alert h4 { + margin-top: 0; + color: inherit; +} + +.alert .alert-link { + font-weight: bold; +} + +.alert > p, +.alert > ul { + margin-bottom: 0; +} + +.alert > p + p { + margin-top: 5px; +} + +.alert-dismissable { + padding-right: 35px; +} + +.alert-dismissable .close { + position: relative; + top: -2px; + right: -21px; + color: inherit; +} + +.alert-success { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.alert-success hr { + border-top-color: #c9e2b3; +} + +.alert-success .alert-link { + color: #2b542c; +} + +.alert-info { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.alert-info hr { + border-top-color: #a6e1ec; +} + +.alert-info .alert-link { + color: #245269; +} + +.alert-warning { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.alert-warning hr { + border-top-color: #f7e1b5; +} + +.alert-warning .alert-link { + color: #66512c; +} + +.alert-danger { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.alert-danger hr { + border-top-color: #e4b9c0; +} + +.alert-danger .alert-link { + color: #843534; +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +.progress { + height: 20px; + margin-bottom: 20px; + overflow: hidden; + background-color: #f5f5f5; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.progress-bar { + float: left; + width: 0; + height: 100%; + font-size: 12px; + line-height: 20px; + color: #ffffff; + text-align: center; + background-color: #428bca; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -webkit-transition: width 0.6s ease; + transition: width 0.6s ease; +} + +.progress-striped .progress-bar { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-size: 40px 40px; +} + +.progress.active .progress-bar { + -webkit-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} + +.progress-bar-success { + background-color: #5cb85c; +} + +.progress-striped .progress-bar-success { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-info { + background-color: #5bc0de; +} + +.progress-striped .progress-bar-info { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-warning { + background-color: #f0ad4e; +} + +.progress-striped .progress-bar-warning { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-danger { + background-color: #d9534f; +} + +.progress-striped .progress-bar-danger { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.media, +.media-body { + overflow: hidden; + zoom: 1; +} + +.media, +.media .media { + margin-top: 15px; +} + +.media:first-child { + margin-top: 0; +} + +.media-object { + display: block; +} + +.media-heading { + margin: 0 0 5px; +} + +.media > .pull-left { + margin-right: 10px; +} + +.media > .pull-right { + margin-left: 10px; +} + +.media-list { + padding-left: 0; + list-style: none; +} + +.list-group { + padding-left: 0; + margin-bottom: 20px; +} + +.list-group-item { + position: relative; + display: block; + padding: 10px 15px; + margin-bottom: -1px; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.list-group-item:first-child { + border-top-right-radius: 4px; + border-top-left-radius: 4px; +} + +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} + +.list-group-item > .badge { + float: right; +} + +.list-group-item > .badge + .badge { + margin-right: 5px; +} + +a.list-group-item { + color: #555555; +} + +a.list-group-item .list-group-item-heading { + color: #333333; +} + +a.list-group-item:hover, +a.list-group-item:focus { + text-decoration: none; + background-color: #f5f5f5; +} + +a.list-group-item.active, +a.list-group-item.active:hover, +a.list-group-item.active:focus { + z-index: 2; + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +a.list-group-item.active .list-group-item-heading, +a.list-group-item.active:hover .list-group-item-heading, +a.list-group-item.active:focus .list-group-item-heading { + color: inherit; +} + +a.list-group-item.active .list-group-item-text, +a.list-group-item.active:hover .list-group-item-text, +a.list-group-item.active:focus .list-group-item-text { + color: #e1edf7; +} + +.list-group-item-heading { + margin-top: 0; + margin-bottom: 5px; +} + +.list-group-item-text { + margin-bottom: 0; + line-height: 1.3; +} + +.panel { + margin-bottom: 20px; + background-color: #ffffff; + border: 1px solid transparent; + border-radius: 4px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.panel-body { + padding: 15px; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel > .list-group { + margin-bottom: 0; +} + +.panel > .list-group .list-group-item { + border-width: 1px 0; +} + +.panel > .list-group .list-group-item:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.panel > .list-group .list-group-item:last-child { + border-bottom: 0; +} + +.panel-heading + .list-group .list-group-item:first-child { + border-top-width: 0; +} + +.panel > .table, +.panel > .table-responsive > .table { + margin-bottom: 0; +} + +.panel > .panel-body + .table, +.panel > .panel-body + .table-responsive { + border-top: 1px solid #dddddd; +} + +.panel > .table > tbody:first-child th, +.panel > .table > tbody:first-child td { + border-top: 0; +} + +.panel > .table-bordered, +.panel > .table-responsive > .table-bordered { + border: 0; +} + +.panel > .table-bordered > thead > tr > th:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, +.panel > .table-bordered > tbody > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, +.panel > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-bordered > thead > tr > td:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, +.panel > .table-bordered > tbody > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, +.panel > .table-bordered > tfoot > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; +} + +.panel > .table-bordered > thead > tr > th:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, +.panel > .table-bordered > tbody > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, +.panel > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-bordered > thead > tr > td:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, +.panel > .table-bordered > tbody > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, +.panel > .table-bordered > tfoot > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; +} + +.panel > .table-bordered > thead > tr:last-child > th, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > th, +.panel > .table-bordered > tbody > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, +.panel > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-bordered > thead > tr:last-child > td, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > td, +.panel > .table-bordered > tbody > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, +.panel > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; +} + +.panel > .table-responsive { + margin-bottom: 0; + border: 0; +} + +.panel-heading { + padding: 10px 15px; + border-bottom: 1px solid transparent; + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} + +.panel-heading > .dropdown .dropdown-toggle { + color: inherit; +} + +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: 16px; + color: inherit; +} + +.panel-title > a { + color: inherit; +} + +.panel-footer { + padding: 10px 15px; + background-color: #f5f5f5; + border-top: 1px solid #dddddd; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} + +.panel-group .panel { + margin-bottom: 0; + overflow: hidden; + border-radius: 4px; +} + +.panel-group .panel + .panel { + margin-top: 5px; +} + +.panel-group .panel-heading { + border-bottom: 0; +} + +.panel-group .panel-heading + .panel-collapse .panel-body { + border-top: 1px solid #dddddd; +} + +.panel-group .panel-footer { + border-top: 0; +} + +.panel-group .panel-footer + .panel-collapse .panel-body { + border-bottom: 1px solid #dddddd; +} + +.panel-default { + border-color: #dddddd; +} + +.panel-default > .panel-heading { + color: #333333; + background-color: #f5f5f5; + border-color: #dddddd; +} + +.panel-default > .panel-heading + .panel-collapse .panel-body { + border-top-color: #dddddd; +} + +.panel-default > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #dddddd; +} + +.panel-primary { + border-color: #428bca; +} + +.panel-primary > .panel-heading { + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +.panel-primary > .panel-heading + .panel-collapse .panel-body { + border-top-color: #428bca; +} + +.panel-primary > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #428bca; +} + +.panel-success { + border-color: #d6e9c6; +} + +.panel-success > .panel-heading { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.panel-success > .panel-heading + .panel-collapse .panel-body { + border-top-color: #d6e9c6; +} + +.panel-success > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #d6e9c6; +} + +.panel-warning { + border-color: #faebcc; +} + +.panel-warning > .panel-heading { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.panel-warning > .panel-heading + .panel-collapse .panel-body { + border-top-color: #faebcc; +} + +.panel-warning > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #faebcc; +} + +.panel-danger { + border-color: #ebccd1; +} + +.panel-danger > .panel-heading { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.panel-danger > .panel-heading + .panel-collapse .panel-body { + border-top-color: #ebccd1; +} + +.panel-danger > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #ebccd1; +} + +.panel-info { + border-color: #bce8f1; +} + +.panel-info > .panel-heading { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.panel-info > .panel-heading + .panel-collapse .panel-body { + border-top-color: #bce8f1; +} + +.panel-info > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #bce8f1; +} + +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e3e3e3; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, 0.15); +} + +.well-lg { + padding: 24px; + border-radius: 6px; +} + +.well-sm { + padding: 9px; + border-radius: 3px; +} + +.close { + float: right; + font-size: 21px; + font-weight: bold; + line-height: 1; + color: #000000; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} + +.close:hover, +.close:focus { + color: #000000; + text-decoration: none; + cursor: pointer; + opacity: 0.5; + filter: alpha(opacity=50); +} + +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} + +.modal-open { + overflow: hidden; +} + +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + display: none; + overflow: auto; + overflow-y: scroll; +} + +.modal.fade .modal-dialog { + -webkit-transform: translate(0, -25%); + -ms-transform: translate(0, -25%); + transform: translate(0, -25%); + -webkit-transition: -webkit-transform 0.3s ease-out; + -moz-transition: -moz-transform 0.3s ease-out; + -o-transition: -o-transform 0.3s ease-out; + transition: transform 0.3s ease-out; +} + +.modal.in .modal-dialog { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); +} + +.modal-dialog { + position: relative; + z-index: 1050; + width: auto; + margin: 10px; +} + +.modal-content { + position: relative; + background-color: #ffffff; + border: 1px solid #999999; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + outline: none; + -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + background-clip: padding-box; +} + +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1030; + background-color: #000000; +} + +.modal-backdrop.fade { + opacity: 0; + filter: alpha(opacity=0); +} + +.modal-backdrop.in { + opacity: 0.5; + filter: alpha(opacity=50); +} + +.modal-header { + min-height: 16.428571429px; + padding: 15px; + border-bottom: 1px solid #e5e5e5; +} + +.modal-header .close { + margin-top: -2px; +} + +.modal-title { + margin: 0; + line-height: 1.428571429; +} + +.modal-body { + position: relative; + padding: 20px; +} + +.modal-footer { + padding: 19px 20px 20px; + margin-top: 15px; + text-align: right; + border-top: 1px solid #e5e5e5; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer .btn + .btn { + margin-bottom: 0; + margin-left: 5px; +} + +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} + +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} + +@media screen and (min-width: 768px) { + .modal-dialog { + width: 600px; + margin: 30px auto; + } + .modal-content { + -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + } +} + +.tooltip { + position: absolute; + z-index: 1030; + display: block; + font-size: 12px; + line-height: 1.4; + opacity: 0; + filter: alpha(opacity=0); + visibility: visible; +} + +.tooltip.in { + opacity: 0.9; + filter: alpha(opacity=90); +} + +.tooltip.top { + padding: 5px 0; + margin-top: -3px; +} + +.tooltip.right { + padding: 0 5px; + margin-left: 3px; +} + +.tooltip.bottom { + padding: 5px 0; + margin-top: 3px; +} + +.tooltip.left { + padding: 0 5px; + margin-left: -3px; +} + +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: #ffffff; + text-align: center; + text-decoration: none; + background-color: #000000; + border-radius: 4px; +} + +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-left .tooltip-arrow { + bottom: 0; + left: 5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-right .tooltip-arrow { + right: 5px; + bottom: 0; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-right-color: #000000; + border-width: 5px 5px 5px 0; +} + +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-left-color: #000000; + border-width: 5px 0 5px 5px; +} + +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-left .tooltip-arrow { + top: 0; + left: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-right .tooltip-arrow { + top: 0; + right: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1010; + display: none; + max-width: 276px; + padding: 1px; + text-align: left; + white-space: normal; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + background-clip: padding-box; +} + +.popover.top { + margin-top: -10px; +} + +.popover.right { + margin-left: 10px; +} + +.popover.bottom { + margin-top: 10px; +} + +.popover.left { + margin-left: -10px; +} + +.popover-title { + padding: 8px 14px; + margin: 0; + font-size: 14px; + font-weight: normal; + line-height: 18px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-radius: 5px 5px 0 0; +} + +.popover-content { + padding: 9px 14px; +} + +.popover .arrow, +.popover .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.popover .arrow { + border-width: 11px; +} + +.popover .arrow:after { + border-width: 10px; + content: ""; +} + +.popover.top .arrow { + bottom: -11px; + left: 50%; + margin-left: -11px; + border-top-color: #999999; + border-top-color: rgba(0, 0, 0, 0.25); + border-bottom-width: 0; +} + +.popover.top .arrow:after { + bottom: 1px; + margin-left: -10px; + border-top-color: #ffffff; + border-bottom-width: 0; + content: " "; +} + +.popover.right .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-right-color: #999999; + border-right-color: rgba(0, 0, 0, 0.25); + border-left-width: 0; +} + +.popover.right .arrow:after { + bottom: -10px; + left: 1px; + border-right-color: #ffffff; + border-left-width: 0; + content: " "; +} + +.popover.bottom .arrow { + top: -11px; + left: 50%; + margin-left: -11px; + border-bottom-color: #999999; + border-bottom-color: rgba(0, 0, 0, 0.25); + border-top-width: 0; +} + +.popover.bottom .arrow:after { + top: 1px; + margin-left: -10px; + border-bottom-color: #ffffff; + border-top-width: 0; + content: " "; +} + +.popover.left .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-left-color: #999999; + border-left-color: rgba(0, 0, 0, 0.25); + border-right-width: 0; +} + +.popover.left .arrow:after { + right: 1px; + bottom: -10px; + border-left-color: #ffffff; + border-right-width: 0; + content: " "; +} + +.carousel { + position: relative; +} + +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} + +.carousel-inner > .item { + position: relative; + display: none; + -webkit-transition: 0.6s ease-in-out left; + transition: 0.6s ease-in-out left; +} + +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + display: block; + height: auto; + max-width: 100%; + line-height: 1; +} + +.carousel-inner > .active, +.carousel-inner > .next, +.carousel-inner > .prev { + display: block; +} + +.carousel-inner > .active { + left: 0; +} + +.carousel-inner > .next, +.carousel-inner > .prev { + position: absolute; + top: 0; + width: 100%; +} + +.carousel-inner > .next { + left: 100%; +} + +.carousel-inner > .prev { + left: -100%; +} + +.carousel-inner > .next.left, +.carousel-inner > .prev.right { + left: 0; +} + +.carousel-inner > .active.left { + left: -100%; +} + +.carousel-inner > .active.right { + left: 100%; +} + +.carousel-control { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 15%; + font-size: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); + opacity: 0.5; + filter: alpha(opacity=50); +} + +.carousel-control.left { + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0), color-stop(rgba(0, 0, 0, 0.0001) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); +} + +.carousel-control.right { + right: 0; + left: auto; + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0), color-stop(rgba(0, 0, 0, 0.5) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); +} + +.carousel-control:hover, +.carousel-control:focus { + color: #ffffff; + text-decoration: none; + outline: none; + opacity: 0.9; + filter: alpha(opacity=90); +} + +.carousel-control .icon-prev, +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-left, +.carousel-control .glyphicon-chevron-right { + position: absolute; + top: 50%; + z-index: 5; + display: inline-block; +} + +.carousel-control .icon-prev, +.carousel-control .glyphicon-chevron-left { + left: 50%; +} + +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-right { + right: 50%; +} + +.carousel-control .icon-prev, +.carousel-control .icon-next { + width: 20px; + height: 20px; + margin-top: -10px; + margin-left: -10px; + font-family: serif; +} + +.carousel-control .icon-prev:before { + content: '\2039'; +} + +.carousel-control .icon-next:before { + content: '\203a'; +} + +.carousel-indicators { + position: absolute; + bottom: 10px; + left: 50%; + z-index: 15; + width: 60%; + padding-left: 0; + margin-left: -30%; + text-align: center; + list-style: none; +} + +.carousel-indicators li { + display: inline-block; + width: 10px; + height: 10px; + margin: 1px; + text-indent: -999px; + cursor: pointer; + background-color: #000 \9; + background-color: rgba(0, 0, 0, 0); + border: 1px solid #ffffff; + border-radius: 10px; +} + +.carousel-indicators .active { + width: 12px; + height: 12px; + margin: 0; + background-color: #ffffff; +} + +.carousel-caption { + position: absolute; + right: 15%; + bottom: 20px; + left: 15%; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); +} + +.carousel-caption .btn { + text-shadow: none; +} + +@media screen and (min-width: 768px) { + .carousel-control .glyphicons-chevron-left, + .carousel-control .glyphicons-chevron-right, + .carousel-control .icon-prev, + .carousel-control .icon-next { + width: 30px; + height: 30px; + margin-top: -15px; + margin-left: -15px; + font-size: 30px; + } + .carousel-caption { + right: 20%; + left: 20%; + padding-bottom: 30px; + } + .carousel-indicators { + bottom: 20px; + } +} + +.clearfix:before, +.clearfix:after { + display: table; + content: " "; +} + +.clearfix:after { + clear: both; +} + +.center-block { + display: block; + margin-right: auto; + margin-left: auto; +} + +.pull-right { + float: right !important; +} + +.pull-left { + float: left !important; +} + +.hide { + display: none !important; +} + +.show { + display: block !important; +} + +.invisible { + visibility: hidden; +} + +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.hidden { + display: none !important; + visibility: hidden !important; +} + +.affix { + position: fixed; +} + +@-ms-viewport { + width: device-width; +} + +.visible-xs, +tr.visible-xs, +th.visible-xs, +td.visible-xs { + display: none !important; +} + +@media (max-width: 767px) { + .visible-xs { + display: block !important; + } + table.visible-xs { + display: table; + } + tr.visible-xs { + display: table-row !important; + } + th.visible-xs, + td.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-xs.visible-sm { + display: block !important; + } + table.visible-xs.visible-sm { + display: table; + } + tr.visible-xs.visible-sm { + display: table-row !important; + } + th.visible-xs.visible-sm, + td.visible-xs.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-xs.visible-md { + display: block !important; + } + table.visible-xs.visible-md { + display: table; + } + tr.visible-xs.visible-md { + display: table-row !important; + } + th.visible-xs.visible-md, + td.visible-xs.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-xs.visible-lg { + display: block !important; + } + table.visible-xs.visible-lg { + display: table; + } + tr.visible-xs.visible-lg { + display: table-row !important; + } + th.visible-xs.visible-lg, + td.visible-xs.visible-lg { + display: table-cell !important; + } +} + +.visible-sm, +tr.visible-sm, +th.visible-sm, +td.visible-sm { + display: none !important; +} + +@media (max-width: 767px) { + .visible-sm.visible-xs { + display: block !important; + } + table.visible-sm.visible-xs { + display: table; + } + tr.visible-sm.visible-xs { + display: table-row !important; + } + th.visible-sm.visible-xs, + td.visible-sm.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm { + display: block !important; + } + table.visible-sm { + display: table; + } + tr.visible-sm { + display: table-row !important; + } + th.visible-sm, + td.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-sm.visible-md { + display: block !important; + } + table.visible-sm.visible-md { + display: table; + } + tr.visible-sm.visible-md { + display: table-row !important; + } + th.visible-sm.visible-md, + td.visible-sm.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-sm.visible-lg { + display: block !important; + } + table.visible-sm.visible-lg { + display: table; + } + tr.visible-sm.visible-lg { + display: table-row !important; + } + th.visible-sm.visible-lg, + td.visible-sm.visible-lg { + display: table-cell !important; + } +} + +.visible-md, +tr.visible-md, +th.visible-md, +td.visible-md { + display: none !important; +} + +@media (max-width: 767px) { + .visible-md.visible-xs { + display: block !important; + } + table.visible-md.visible-xs { + display: table; + } + tr.visible-md.visible-xs { + display: table-row !important; + } + th.visible-md.visible-xs, + td.visible-md.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-md.visible-sm { + display: block !important; + } + table.visible-md.visible-sm { + display: table; + } + tr.visible-md.visible-sm { + display: table-row !important; + } + th.visible-md.visible-sm, + td.visible-md.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md { + display: block !important; + } + table.visible-md { + display: table; + } + tr.visible-md { + display: table-row !important; + } + th.visible-md, + td.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-md.visible-lg { + display: block !important; + } + table.visible-md.visible-lg { + display: table; + } + tr.visible-md.visible-lg { + display: table-row !important; + } + th.visible-md.visible-lg, + td.visible-md.visible-lg { + display: table-cell !important; + } +} + +.visible-lg, +tr.visible-lg, +th.visible-lg, +td.visible-lg { + display: none !important; +} + +@media (max-width: 767px) { + .visible-lg.visible-xs { + display: block !important; + } + table.visible-lg.visible-xs { + display: table; + } + tr.visible-lg.visible-xs { + display: table-row !important; + } + th.visible-lg.visible-xs, + td.visible-lg.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-lg.visible-sm { + display: block !important; + } + table.visible-lg.visible-sm { + display: table; + } + tr.visible-lg.visible-sm { + display: table-row !important; + } + th.visible-lg.visible-sm, + td.visible-lg.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-lg.visible-md { + display: block !important; + } + table.visible-lg.visible-md { + display: table; + } + tr.visible-lg.visible-md { + display: table-row !important; + } + th.visible-lg.visible-md, + td.visible-lg.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-lg { + display: block !important; + } + table.visible-lg { + display: table; + } + tr.visible-lg { + display: table-row !important; + } + th.visible-lg, + td.visible-lg { + display: table-cell !important; + } +} + +.hidden-xs { + display: block !important; +} + +table.hidden-xs { + display: table; +} + +tr.hidden-xs { + display: table-row !important; +} + +th.hidden-xs, +td.hidden-xs { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-xs, + tr.hidden-xs, + th.hidden-xs, + td.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-xs.hidden-sm, + tr.hidden-xs.hidden-sm, + th.hidden-xs.hidden-sm, + td.hidden-xs.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-xs.hidden-md, + tr.hidden-xs.hidden-md, + th.hidden-xs.hidden-md, + td.hidden-xs.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-xs.hidden-lg, + tr.hidden-xs.hidden-lg, + th.hidden-xs.hidden-lg, + td.hidden-xs.hidden-lg { + display: none !important; + } +} + +.hidden-sm { + display: block !important; +} + +table.hidden-sm { + display: table; +} + +tr.hidden-sm { + display: table-row !important; +} + +th.hidden-sm, +td.hidden-sm { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-sm.hidden-xs, + tr.hidden-sm.hidden-xs, + th.hidden-sm.hidden-xs, + td.hidden-sm.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-sm, + tr.hidden-sm, + th.hidden-sm, + td.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-sm.hidden-md, + tr.hidden-sm.hidden-md, + th.hidden-sm.hidden-md, + td.hidden-sm.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-sm.hidden-lg, + tr.hidden-sm.hidden-lg, + th.hidden-sm.hidden-lg, + td.hidden-sm.hidden-lg { + display: none !important; + } +} + +.hidden-md { + display: block !important; +} + +table.hidden-md { + display: table; +} + +tr.hidden-md { + display: table-row !important; +} + +th.hidden-md, +td.hidden-md { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-md.hidden-xs, + tr.hidden-md.hidden-xs, + th.hidden-md.hidden-xs, + td.hidden-md.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-md.hidden-sm, + tr.hidden-md.hidden-sm, + th.hidden-md.hidden-sm, + td.hidden-md.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-md, + tr.hidden-md, + th.hidden-md, + td.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-md.hidden-lg, + tr.hidden-md.hidden-lg, + th.hidden-md.hidden-lg, + td.hidden-md.hidden-lg { + display: none !important; + } +} + +.hidden-lg { + display: block !important; +} + +table.hidden-lg { + display: table; +} + +tr.hidden-lg { + display: table-row !important; +} + +th.hidden-lg, +td.hidden-lg { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-lg.hidden-xs, + tr.hidden-lg.hidden-xs, + th.hidden-lg.hidden-xs, + td.hidden-lg.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-lg.hidden-sm, + tr.hidden-lg.hidden-sm, + th.hidden-lg.hidden-sm, + td.hidden-lg.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-lg.hidden-md, + tr.hidden-lg.hidden-md, + th.hidden-lg.hidden-md, + td.hidden-lg.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-lg, + tr.hidden-lg, + th.hidden-lg, + td.hidden-lg { + display: none !important; + } +} + +.visible-print, +tr.visible-print, +th.visible-print, +td.visible-print { + display: none !important; +} + +@media print { + .visible-print { + display: block !important; + } + table.visible-print { + display: table; + } + tr.visible-print { + display: table-row !important; + } + th.visible-print, + td.visible-print { + display: table-cell !important; + } + .hidden-print, + tr.hidden-print, + th.hidden-print, + td.hidden-print { + display: none !important; + } +} + + +/*Added by Maria*/ + + /* Main marketing message and sign up button */ + .jumbotron { + margin: 0px 0; + text-align: center; + } + .jumbotron h1 { + font-size: 80px; + line-height: 1; + } + .jumbotron .lead { + font-size: 20px; + line-height: 1.25; + } + .jumbotron .btn { + font-size: 21px; + padding: 14px 24px; + } + + /* Supporting marketing content */ + .marketing { + margin: 60px 0; + } + .marketing p + h4 { + margin-top: 28px; + } \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.2.0/OOPSevaluation/evaluation/bootstrap.min.js b/dist/vocabulary/mapping/0.2.0/OOPSevaluation/evaluation/bootstrap.min.js new file mode 100644 index 0000000..1a6258e --- /dev/null +++ b/dist/vocabulary/mapping/0.2.0/OOPSevaluation/evaluation/bootstrap.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +if("undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]'),b=!0;if(a.length){var c=this.$element.find("input");"radio"===c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?b=!1:a.find(".active").removeClass("active")),b&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}b&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery); \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.2.0/OOPSevaluation/evaluation/jquery-1.11.0.js b/dist/vocabulary/mapping/0.2.0/OOPSevaluation/evaluation/jquery-1.11.0.js new file mode 100644 index 0000000..3c88fa8 --- /dev/null +++ b/dist/vocabulary/mapping/0.2.0/OOPSevaluation/evaluation/jquery-1.11.0.js @@ -0,0 +1,10337 @@ +/*! + * jQuery JavaScript Library v1.11.0 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-23T21:02Z + */ + +(function( global, factory ) { + + if ( typeof module === "object" && typeof module.exports === "object" ) { + // For CommonJS and CommonJS-like environments where a proper window is present, + // execute the factory and get jQuery + // For environments that do not inherently posses a window with a document + // (such as Node.js), expose a jQuery-making factory as module.exports + // This accentuates the need for the creation of a real window + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Can't do this because several apps including ASP.NET trace +// the stack via arguments.caller.callee and Firefox dies if +// you try to trace through "use strict" call chains. (#13335) +// Support: Firefox 18+ +// + +var deletedIds = []; + +var slice = deletedIds.slice; + +var concat = deletedIds.concat; + +var push = deletedIds.push; + +var indexOf = deletedIds.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var trim = "".trim; + +var support = {}; + + + +var + version = "1.11.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }; + +jQuery.fn = jQuery.prototype = { + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // Start with an empty selector + selector: "", + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num != null ? + + // Return a 'clean' array + ( num < 0 ? this[ num + this.length ] : this[ num ] ) : + + // Return just the object + slice.call( this ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + ret.context = this.context; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: deletedIds.sort, + splice: deletedIds.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var src, copyIsArray, copy, name, options, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + isWindow: function( obj ) { + /* jshint eqeqeq: false */ + return obj != null && obj == obj.window; + }, + + isNumeric: function( obj ) { + // parseFloat NaNs numeric-cast false positives (null|true|false|"") + // ...but misinterprets leading-number strings, particularly hex literals ("0x...") + // subtraction forces infinities to NaN + return obj - parseFloat( obj ) >= 0; + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + isPlainObject: function( obj ) { + var key; + + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + try { + // Not own constructor property must be Object + if ( obj.constructor && + !hasOwn.call(obj, "constructor") && + !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + } catch ( e ) { + // IE8,9 Will throw exceptions on certain host objects #9897 + return false; + } + + // Support: IE<9 + // Handle iteration over inherited properties before own properties. + if ( support.ownLast ) { + for ( key in obj ) { + return hasOwn.call( obj, key ); + } + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + for ( key in obj ) {} + + return key === undefined || hasOwn.call( obj, key ); + }, + + type: function( obj ) { + if ( obj == null ) { + return obj + ""; + } + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call(obj) ] || "object" : + typeof obj; + }, + + // Evaluates a script in a global context + // Workarounds based on findings by Jim Driscoll + // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context + globalEval: function( data ) { + if ( data && jQuery.trim( data ) ) { + // We use execScript on Internet Explorer + // We use an anonymous function so that context is window + // rather than jQuery in Firefox + ( window.execScript || function( data ) { + window[ "eval" ].call( window, data ); + } )( data ); + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + // args is for internal usage only + each: function( obj, callback, args ) { + var value, + i = 0, + length = obj.length, + isArray = isArraylike( obj ); + + if ( args ) { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } + } + + return obj; + }, + + // Use native String.trim function wherever possible + trim: trim && !trim.call("\uFEFF\xA0") ? + function( text ) { + return text == null ? + "" : + trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArraylike( Object(arr) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + var len; + + if ( arr ) { + if ( indexOf ) { + return indexOf.call( arr, elem, i ); + } + + len = arr.length; + i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; + + for ( ; i < len; i++ ) { + // Skip accessing in sparse arrays + if ( i in arr && arr[ i ] === elem ) { + return i; + } + } + } + + return -1; + }, + + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + while ( j < len ) { + first[ i++ ] = second[ j++ ]; + } + + // Support: IE<9 + // Workaround casting of .length to NaN on otherwise arraylike objects (e.g., NodeLists) + if ( len !== len ) { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, + i = 0, + length = elems.length, + isArray = isArraylike( elems ), + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var args, proxy, tmp; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + now: function() { + return +( new Date() ); + }, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +}); + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +function isArraylike( obj ) { + var length = obj.length, + type = jQuery.type( obj ); + + if ( type === "function" || jQuery.isWindow( obj ) ) { + return false; + } + + if ( obj.nodeType === 1 && length ) { + return true; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v1.10.16 + * http://sizzlejs.com/ + * + * Copyright 2013 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-13 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + compile, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + -(new Date()), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // General-purpose constants + strundefined = typeof undefined, + MAX_NEGATIVE = 1 << 31, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf if we can't use a native one + indexOf = arr.indexOf || function( elem ) { + var i = 0, + len = this.length; + for ( ; i < len; i++ ) { + if ( this[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + // http://www.w3.org/TR/css3-syntax/#characters + characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", + + // Loosely modeled on CSS identifier characters + // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors + // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = characterEncoding.replace( "w", "w#" ), + + // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + + "*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", + + // Prefer arguments quoted, + // then not containing pseudos/brackets, + // then attribute selectors/non-parenthetical expressions, + // then anything else + // These preferences are here to reduce the number of selectors + // needing tokenize in the PSEUDO preFilter + pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + characterEncoding + ")" ), + "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), + "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + rescape = /'|\\/g, + + // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }; + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var match, elem, m, nodeType, + // QSA vars + i, groups, old, nid, newContext, newSelector; + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + + context = context || document; + results = results || []; + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { + return []; + } + + if ( documentIsHTML && !seed ) { + + // Shortcuts + if ( (match = rquickExpr.exec( selector )) ) { + // Speed-up: Sizzle("#ID") + if ( (m = match[1]) ) { + if ( nodeType === 9 ) { + elem = context.getElementById( m ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document (jQuery #6963) + if ( elem && elem.parentNode ) { + // Handle the case where IE, Opera, and Webkit return items + // by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + } else { + // Context is not a document + if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && + contains( context, elem ) && elem.id === m ) { + results.push( elem ); + return results; + } + } + + // Speed-up: Sizzle("TAG") + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Speed-up: Sizzle(".CLASS") + } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) { + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // QSA path + if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + nid = old = expando; + newContext = context; + newSelector = nodeType === 9 && selector; + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + groups = tokenize( selector ); + + if ( (old = context.getAttribute("id")) ) { + nid = old.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", nid ); + } + nid = "[id='" + nid + "'] "; + + i = groups.length; + while ( i-- ) { + groups[i] = nid + toSelector( groups[i] ); + } + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context; + newSelector = groups.join(","); + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch(qsaError) { + } finally { + if ( !old ) { + context.removeAttribute("id"); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {Function(string, Object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created div and expects a boolean result + */ +function assert( fn ) { + var div = document.createElement("div"); + + try { + return !!fn( div ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( div.parentNode ) { + div.parentNode.removeChild( div ); + } + // release memory in IE + div = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = attrs.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + ( ~b.sourceIndex || MAX_NEGATIVE ) - + ( ~a.sourceIndex || MAX_NEGATIVE ); + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== strundefined && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, + doc = node ? node.ownerDocument || node : preferredDoc, + parent = doc.defaultView; + + // If no document and documentElement is available, return + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Set our document + document = doc; + docElem = doc.documentElement; + + // Support tests + documentIsHTML = !isXML( doc ); + + // Support: IE>8 + // If iframe document is assigned to "document" variable and if iframe has been reloaded, + // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936 + // IE6-8 do not support the defaultView property so parent will be undefined + if ( parent && parent !== parent.top ) { + // IE11 does not have attachEvent, so all must suffer + if ( parent.addEventListener ) { + parent.addEventListener( "unload", function() { + setDocument(); + }, false ); + } else if ( parent.attachEvent ) { + parent.attachEvent( "onunload", function() { + setDocument(); + }); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans) + support.attributes = assert(function( div ) { + div.className = "i"; + return !div.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( div ) { + div.appendChild( doc.createComment("") ); + return !div.getElementsByTagName("*").length; + }); + + // Check if getElementsByClassName can be trusted + support.getElementsByClassName = rnative.test( doc.getElementsByClassName ) && assert(function( div ) { + div.innerHTML = "
    "; + + // Support: Safari<4 + // Catch class over-caching + div.firstChild.className = "i"; + // Support: Opera<10 + // Catch gEBCN failure to find non-leading classes + return div.getElementsByClassName("i").length === 2; + }); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( div ) { + docElem.appendChild( div ).id = expando; + return !doc.getElementsByName || !doc.getElementsByName( expando ).length; + }); + + // ID find and filter + if ( support.getById ) { + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== strundefined && documentIsHTML ) { + var m = context.getElementById( id ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + }; + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + } else { + // Support: IE6/7 + // getElementById is not reliable as a find shortcut + delete Expr.find["ID"]; + + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== strundefined ) { + return context.getElementsByTagName( tag ); + } + } : + function( tag, context ) { + var elem, + tmp = [], + i = 0, + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See http://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + div.innerHTML = ""; + + // Support: IE8, Opera 10-12 + // Nothing should be selected when empty strings follow ^= or $= or *= + if ( div.querySelectorAll("[t^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + }); + + assert(function( div ) { + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = doc.createElement("input"); + input.setAttribute( "type", "hidden" ); + div.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( div.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + div.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( div, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully does not implement inclusive descendent + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === doc ? -1 : + b === doc ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return doc; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch(e) {} + } + + return Sizzle( expr, document, null, [elem] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[5] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] && match[4] !== undefined ) { + match[2] = match[4]; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, outerCache, node, diff, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + // Seek `elem` from a previously-cached index + outerCache = parent[ expando ] || (parent[ expando ] = {}); + cache = outerCache[ type ] || []; + nodeIndex = cache[0] === dirruns && cache[1]; + diff = cache[0] === dirruns && cache[2]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + outerCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + // Use previously-cached element index if available + } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { + diff = cache[1]; + + // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) + } else { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { + // Cache the index of each encountered element + if ( useCache ) { + (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf.call( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +function tokenize( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +} + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + if ( (oldCache = outerCache[ dir ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + outerCache[ dir ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf.call( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context !== document && context; + } + + // Add elements passing elementMatchers directly to results + // Keep `i` a string if there are no elements so `matchedCount` will be "00" below + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // Apply set filters to unmatched elements + matchedCount += i; + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !group ) { + group = tokenize( selector ); + } + i = group.length; + while ( i-- ) { + cached = matcherFromTokens( group[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + } + return cached; +}; + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function select( selector, context, results, seed ) { + var i, tokens, token, type, find, + match = tokenize( selector ); + + if ( !seed ) { + // Try to minimize operations if there is only one group + if ( match.length === 1 ) { + + // Take a shortcut and set the context if the root selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + support.getById && context.nodeType === 9 && documentIsHTML && + Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + } + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + } + + // Compile and execute a filtering function + // Provide `match` to avoid retokenization if we modified the selector above + compile( selector, match )( + seed, + context, + !documentIsHTML, + results, + rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +} + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome<14 +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( div1 ) { + // Should return 1, but returns 4 (following) + return div1.compareDocumentPosition( document.createElement("div") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( div ) { + div.innerHTML = ""; + return div.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( div ) { + div.innerHTML = ""; + div.firstChild.setAttribute( "value", "" ); + return div.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( div ) { + return div.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.pseudos; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + + +var rneedsContext = jQuery.expr.match.needsContext; + +var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); + + + +var risSimple = /^.[^:#\[\.,]*$/; + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + /* jshint -W018 */ + return !!qualifier.call( elem, i, elem ) !== not; + }); + + } + + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + }); + + } + + if ( typeof qualifier === "string" ) { + if ( risSimple.test( qualifier ) ) { + return jQuery.filter( qualifier, elements, not ); + } + + qualifier = jQuery.filter( qualifier, elements ); + } + + return jQuery.grep( elements, function( elem ) { + return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not; + }); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 && elem.nodeType === 1 ? + jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : + jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + })); +}; + +jQuery.fn.extend({ + find: function( selector ) { + var i, + ret = [], + self = this, + len = self.length; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }) ); + } + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + // Needed because $( selector, context ) becomes $( context ).find( selector ) + ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); + ret.selector = this.selector ? this.selector + " " + selector : selector; + return ret; + }, + filter: function( selector ) { + return this.pushStack( winnow(this, selector || [], false) ); + }, + not: function( selector ) { + return this.pushStack( winnow(this, selector || [], true) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +}); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // Use the correct document accordingly with window argument (sandbox) + document = window.document, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, + + init = jQuery.fn.init = function( selector, context ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + + // scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[1], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + // Properties of context are called as methods if possible + if ( jQuery.isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || rootjQuery ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return typeof rootjQuery.ready !== "undefined" ? + rootjQuery.ready( selector ) : + // Execute immediately if ready is not present + selector( jQuery ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.extend({ + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +jQuery.fn.extend({ + has: function( target ) { + var i, + targets = jQuery( target, this ), + len = targets.length; + + return this.filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) { + // Always skip document fragments + if ( cur.nodeType < 11 && (pos ? + pos.index(cur) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector(cur, selectors)) ) { + + matched.push( cur ); + break; + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return jQuery.inArray( this[0], jQuery( elem ) ); + } + + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.unique( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter(selector) + ); + } +}); + +function sibling( cur, dir ) { + do { + cur = cur[ dir ]; + } while ( cur && cur.nodeType !== 1 ); + + return cur; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + if ( this.length > 1 ) { + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + ret = jQuery.unique( ret ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + } + + return this.pushStack( ret ); + }; +}); +var rnotwhite = (/\S+/g); + + + +// String to Object options format cache +var optionsCache = {}; + +// Convert String-formatted options into Object-formatted ones and store in cache +function createOptions( options ) { + var object = optionsCache[ options ] = {}; + jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) { + object[ flag ] = true; + }); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + ( optionsCache[ options ] || createOptions( options ) ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + // Last fire value (for non-forgettable lists) + memory, + // Flag to know if list was already fired + fired, + // End of the loop when firing + firingLength, + // Index of currently firing callback (modified by remove if needed) + firingIndex, + // First callback to fire (used internally by add and fireWith) + firingStart, + // Actual callback list + list = [], + // Stack of fire calls for repeatable lists + stack = !options.once && [], + // Fire callbacks + fire = function( data ) { + memory = options.memory && data; + fired = true; + firingIndex = firingStart || 0; + firingStart = 0; + firingLength = list.length; + firing = true; + for ( ; list && firingIndex < firingLength; firingIndex++ ) { + if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { + memory = false; // To prevent further calls using add + break; + } + } + firing = false; + if ( list ) { + if ( stack ) { + if ( stack.length ) { + fire( stack.shift() ); + } + } else if ( memory ) { + list = []; + } else { + self.disable(); + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + // First, we save the current length + var start = list.length; + (function add( args ) { + jQuery.each( args, function( _, arg ) { + var type = jQuery.type( arg ); + if ( type === "function" ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && type !== "string" ) { + // Inspect recursively + add( arg ); + } + }); + })( arguments ); + // Do we need to add the callbacks to the + // current firing batch? + if ( firing ) { + firingLength = list.length; + // With memory, if we're not firing then + // we should call right away + } else if ( memory ) { + firingStart = start; + fire( memory ); + } + } + return this; + }, + // Remove a callback from the list + remove: function() { + if ( list ) { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + // Handle firing indexes + if ( firing ) { + if ( index <= firingLength ) { + firingLength--; + } + if ( index <= firingIndex ) { + firingIndex--; + } + } + } + }); + } + return this; + }, + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); + }, + // Remove all callbacks from the list + empty: function() { + list = []; + firingLength = 0; + return this; + }, + // Have the list do nothing anymore + disable: function() { + list = stack = memory = undefined; + return this; + }, + // Is it disabled? + disabled: function() { + return !list; + }, + // Lock the list in its current state + lock: function() { + stack = undefined; + if ( !memory ) { + self.disable(); + } + return this; + }, + // Is it locked? + locked: function() { + return !stack; + }, + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( list && ( !fired || stack ) ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + if ( firing ) { + stack.push( args ); + } else { + fire( args ); + } + } + return this; + }, + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +jQuery.extend({ + + Deferred: function( func ) { + var tuples = [ + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], + [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], + [ "notify", "progress", jQuery.Callbacks("memory") ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred(function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[1] ](function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .done( newDefer.resolve ) + .fail( newDefer.reject ) + .progress( newDefer.notify ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); + } + }); + }); + fns = null; + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[1] ] = list.add; + + // Handle state + if ( stateString ) { + list.add(function() { + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] + deferred[ tuple[0] ] = function() { + deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); + return this; + }; + deferred[ tuple[0] + "With" ] = list.fireWith; + }); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( values === progressValues ) { + deferred.notifyWith( contexts, values ); + + } else if ( !(--remaining) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ) + .progress( updateFunc( i, progressContexts, progressValues ) ); + } else { + --remaining; + } + } + } + + // if we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +}); + + +// The deferred used on DOM ready +var readyList; + +jQuery.fn.ready = function( fn ) { + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; +}; + +jQuery.extend({ + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger("ready").off("ready"); + } + } +}); + +/** + * Clean-up method for dom ready events + */ +function detach() { + if ( document.addEventListener ) { + document.removeEventListener( "DOMContentLoaded", completed, false ); + window.removeEventListener( "load", completed, false ); + + } else { + document.detachEvent( "onreadystatechange", completed ); + window.detachEvent( "onload", completed ); + } +} + +/** + * The ready event handler and self cleanup method + */ +function completed() { + // readyState === "complete" is good enough for us to call the dom ready in oldIE + if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { + detach(); + jQuery.ready(); + } +} + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called after the browser event has already occurred. + // we once tried to use readyState "interactive" here, but it caused issues like the one + // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + setTimeout( jQuery.ready ); + + // Standards-based browsers support DOMContentLoaded + } else if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed, false ); + + // If IE event model is used + } else { + // Ensure firing before onload, maybe late but safe also for iframes + document.attachEvent( "onreadystatechange", completed ); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", completed ); + + // If IE and not a frame + // continually check to see if the document is ready + var top = false; + + try { + top = window.frameElement == null && document.documentElement; + } catch(e) {} + + if ( top && top.doScroll ) { + (function doScrollCheck() { + if ( !jQuery.isReady ) { + + try { + // Use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + top.doScroll("left"); + } catch(e) { + return setTimeout( doScrollCheck, 50 ); + } + + // detach all dom ready events + detach(); + + // and execute any waiting functions + jQuery.ready(); + } + })(); + } + } + } + return readyList.promise( obj ); +}; + + +var strundefined = typeof undefined; + + + +// Support: IE<9 +// Iteration over object's inherited properties before its own +var i; +for ( i in jQuery( support ) ) { + break; +} +support.ownLast = i !== "0"; + +// Note: most support tests are defined in their respective modules. +// false until the test is run +support.inlineBlockNeedsLayout = false; + +jQuery(function() { + // We need to execute this one support test ASAP because we need to know + // if body.style.zoom needs to be set. + + var container, div, + body = document.getElementsByTagName("body")[0]; + + if ( !body ) { + // Return for frameset docs that don't have a body + return; + } + + // Setup + container = document.createElement( "div" ); + container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; + + div = document.createElement( "div" ); + body.appendChild( container ).appendChild( div ); + + if ( typeof div.style.zoom !== strundefined ) { + // Support: IE<8 + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + div.style.cssText = "border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1"; + + if ( (support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 )) ) { + // Prevent IE 6 from affecting layout for positioned elements #11048 + // Prevent IE from shrinking the body in IE 7 mode #12869 + // Support: IE<8 + body.style.zoom = 1; + } + } + + body.removeChild( container ); + + // Null elements to avoid leaks in IE + container = div = null; +}); + + + + +(function() { + var div = document.createElement( "div" ); + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +/** + * Determines whether an object can have data + */ +jQuery.acceptData = function( elem ) { + var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ], + nodeType = +elem.nodeType || 1; + + // Do not set data on non-element DOM nodes because it will not be cleared (#8335). + return nodeType !== 1 && nodeType !== 9 ? + false : + + // Nodes accept data unless otherwise specified; rejection can be conditional + !noData || noData !== true && elem.getAttribute("classid") === noData; +}; + + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /([A-Z])/g; + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + + var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + +// checks a cache object for emptiness +function isEmptyDataObject( obj ) { + var name; + for ( name in obj ) { + + // if the public data object is empty, the private is still empty + if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { + continue; + } + if ( name !== "toJSON" ) { + return false; + } + } + + return true; +} + +function internalData( elem, name, data, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var ret, thisCache, + internalKey = jQuery.expando, + + // We have to handle DOM nodes and JS objects differently because IE6-7 + // can't GC object references properly across the DOM-JS boundary + isNode = elem.nodeType, + + // Only DOM nodes need the global jQuery cache; JS object data is + // attached directly to the object so GC can occur automatically + cache = isNode ? jQuery.cache : elem, + + // Only defining an ID for JS objects if its cache already exists allows + // the code to shortcut on the same path as a DOM node with no cache + id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; + + // Avoid doing any more work than we need to when trying to get data on an + // object that has no data at all + if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) { + return; + } + + if ( !id ) { + // Only DOM nodes need a new unique ID for each element since their data + // ends up in the global cache + if ( isNode ) { + id = elem[ internalKey ] = deletedIds.pop() || jQuery.guid++; + } else { + id = internalKey; + } + } + + if ( !cache[ id ] ) { + // Avoid exposing jQuery metadata on plain JS objects when the object + // is serialized using JSON.stringify + cache[ id ] = isNode ? {} : { toJSON: jQuery.noop }; + } + + // An object can be passed to jQuery.data instead of a key/value pair; this gets + // shallow copied over onto the existing cache + if ( typeof name === "object" || typeof name === "function" ) { + if ( pvt ) { + cache[ id ] = jQuery.extend( cache[ id ], name ); + } else { + cache[ id ].data = jQuery.extend( cache[ id ].data, name ); + } + } + + thisCache = cache[ id ]; + + // jQuery data() is stored in a separate object inside the object's internal data + // cache in order to avoid key collisions between internal data and user-defined + // data. + if ( !pvt ) { + if ( !thisCache.data ) { + thisCache.data = {}; + } + + thisCache = thisCache.data; + } + + if ( data !== undefined ) { + thisCache[ jQuery.camelCase( name ) ] = data; + } + + // Check for both converted-to-camel and non-converted data property names + // If a data property was specified + if ( typeof name === "string" ) { + + // First Try to find as-is property data + ret = thisCache[ name ]; + + // Test for null|undefined property data + if ( ret == null ) { + + // Try to find the camelCased property + ret = thisCache[ jQuery.camelCase( name ) ]; + } + } else { + ret = thisCache; + } + + return ret; +} + +function internalRemoveData( elem, name, pvt ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, i, + isNode = elem.nodeType, + + // See jQuery.data for more information + cache = isNode ? jQuery.cache : elem, + id = isNode ? elem[ jQuery.expando ] : jQuery.expando; + + // If there is already no cache entry for this object, there is no + // purpose in continuing + if ( !cache[ id ] ) { + return; + } + + if ( name ) { + + thisCache = pvt ? cache[ id ] : cache[ id ].data; + + if ( thisCache ) { + + // Support array or space separated string names for data keys + if ( !jQuery.isArray( name ) ) { + + // try the string as a key before any manipulation + if ( name in thisCache ) { + name = [ name ]; + } else { + + // split the camel cased version by spaces unless a key with the spaces exists + name = jQuery.camelCase( name ); + if ( name in thisCache ) { + name = [ name ]; + } else { + name = name.split(" "); + } + } + } else { + // If "name" is an array of keys... + // When data is initially created, via ("key", "val") signature, + // keys will be converted to camelCase. + // Since there is no way to tell _how_ a key was added, remove + // both plain key and camelCase key. #12786 + // This will only penalize the array argument path. + name = name.concat( jQuery.map( name, jQuery.camelCase ) ); + } + + i = name.length; + while ( i-- ) { + delete thisCache[ name[i] ]; + } + + // If there is no data left in the cache, we want to continue + // and let the cache object itself get destroyed + if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) { + return; + } + } + } + + // See jQuery.data for more information + if ( !pvt ) { + delete cache[ id ].data; + + // Don't destroy the parent cache unless the internal data object + // had been the only thing left in it + if ( !isEmptyDataObject( cache[ id ] ) ) { + return; + } + } + + // Destroy the cache + if ( isNode ) { + jQuery.cleanData( [ elem ], true ); + + // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) + /* jshint eqeqeq: false */ + } else if ( support.deleteExpando || cache != cache.window ) { + /* jshint eqeqeq: true */ + delete cache[ id ]; + + // When all else fails, null + } else { + cache[ id ] = null; + } +} + +jQuery.extend({ + cache: {}, + + // The following elements (space-suffixed to avoid Object.prototype collisions) + // throw uncatchable exceptions if you attempt to set expando properties + noData: { + "applet ": true, + "embed ": true, + // ...but Flash objects (which have this classid) *can* handle expandos + "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" + }, + + hasData: function( elem ) { + elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; + return !!elem && !isEmptyDataObject( elem ); + }, + + data: function( elem, name, data ) { + return internalData( elem, name, data ); + }, + + removeData: function( elem, name ) { + return internalRemoveData( elem, name ); + }, + + // For internal use only. + _data: function( elem, name, data ) { + return internalData( elem, name, data, true ); + }, + + _removeData: function( elem, name ) { + return internalRemoveData( elem, name, true ); + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var i, name, data, + elem = this[0], + attrs = elem && elem.attributes; + + // Special expections of .data basically thwart jQuery.access, + // so implement the relevant behavior ourselves + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = jQuery.data( elem ); + + if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + name = attrs[i].name; + + if ( name.indexOf("data-") === 0 ) { + name = jQuery.camelCase( name.slice(5) ); + + dataAttr( elem, name, data[ name ] ); + } + } + jQuery._data( elem, "parsedAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + return arguments.length > 1 ? + + // Sets one value + this.each(function() { + jQuery.data( this, key, value ); + }) : + + // Gets one value + // Try to fetch any internally stored data first + elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : undefined; + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + + +jQuery.extend({ + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = jQuery._data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray(data) ) { + queue = jQuery._data( elem, type, jQuery.makeArray(data) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // not intended for public consumption - generates a queueHooks object, or returns the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return jQuery._data( elem, key ) || jQuery._data( elem, key, { + empty: jQuery.Callbacks("once memory").add(function() { + jQuery._removeData( elem, type + "queue" ); + jQuery._removeData( elem, key ); + }) + }); + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[0], type ); + } + + return data === undefined ? + this : + this.each(function() { + var queue = jQuery.queue( this, type, data ); + + // ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = jQuery._data( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +}); +var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var isHidden = function( elem, el ) { + // isHidden might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); + }; + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + length = elems.length, + bulk = key == null; + + // Sets many values + if ( jQuery.type( key ) === "object" ) { + chainable = true; + for ( i in key ) { + jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !jQuery.isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < length; i++ ) { + fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); + } + } + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + length ? fn( elems[0], key ) : emptyGet; +}; +var rcheckableType = (/^(?:checkbox|radio)$/i); + + + +(function() { + var fragment = document.createDocumentFragment(), + div = document.createElement("div"), + input = document.createElement("input"); + + // Setup + div.setAttribute( "className", "t" ); + div.innerHTML = "
    a"; + + // IE strips leading whitespace when .innerHTML is used + support.leadingWhitespace = div.firstChild.nodeType === 3; + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + support.tbody = !div.getElementsByTagName( "tbody" ).length; + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + support.htmlSerialize = !!div.getElementsByTagName( "link" ).length; + + // Makes sure cloning an html5 element does not cause problems + // Where outerHTML is undefined, this still works + support.html5Clone = + document.createElement( "nav" ).cloneNode( true ).outerHTML !== "<:nav>"; + + // Check if a disconnected checkbox will retain its checked + // value of true after appended to the DOM (IE6/7) + input.type = "checkbox"; + input.checked = true; + fragment.appendChild( input ); + support.appendChecked = input.checked; + + // Make sure textarea (and checkbox) defaultValue is properly cloned + // Support: IE6-IE11+ + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // #11217 - WebKit loses check when the name is after the checked attribute + fragment.appendChild( div ); + div.innerHTML = ""; + + // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3 + // old WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE<9 + // Opera does not clone events (and typeof div.attachEvent === undefined). + // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() + support.noCloneEvent = true; + if ( div.attachEvent ) { + div.attachEvent( "onclick", function() { + support.noCloneEvent = false; + }); + + div.cloneNode( true ).click(); + } + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + fragment = div = input = null; +})(); + + +(function() { + var i, eventName, + div = document.createElement( "div" ); + + // Support: IE<9 (lack submit/change bubble), Firefox 23+ (lack focusin event) + for ( i in { submit: true, change: true, focusin: true }) { + eventName = "on" + i; + + if ( !(support[ i + "Bubbles" ] = eventName in window) ) { + // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP) + div.setAttribute( eventName, "t" ); + support[ i + "Bubbles" ] = div.attributes[ eventName ].expando === false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +var rformElems = /^(?:input|select|textarea)$/i, + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|contextmenu)|click/, + rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + var tmp, events, t, handleObjIn, + special, eventHandle, handleObj, + handlers, type, namespaces, origType, + elemData = jQuery._data( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !(events = elemData.events) ) { + events = elemData.events = {}; + } + if ( !(eventHandle = elemData.handle) ) { + eventHandle = elemData.handle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== strundefined && (!e || jQuery.event.triggered !== e.type) ? + jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : + undefined; + }; + // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events + eventHandle.elem = elem; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend({ + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join(".") + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !(handlers = events[ type ]) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener/attachEvent if the special events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + var j, handleObj, tmp, + origCount, t, events, + special, handlers, type, + namespaces, origType, + elemData = jQuery.hasData( elem ) && jQuery._data( elem ); + + if ( !elemData || !(events = elemData.events) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + delete elemData.handle; + + // removeData also checks for emptiness and clears the expando if empty + // so use it instead of delete + jQuery._removeData( elem, "events" ); + } + }, + + trigger: function( event, data, elem, onlyHandlers ) { + var handle, ontype, cur, + bubbleType, special, tmp, i, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; + + cur = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf(".") >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf(":") < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join("."); + event.namespace_re = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === (elem.ownerDocument || document) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { + + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && jQuery.acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) && + jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Can't use an .isFunction() check here because IE6/7 fails that test. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + try { + elem[ type ](); + } catch ( e ) { + // IE<9 dies on focus/blur to hidden element (#1486,#12518) + // only reproducible on winXP IE8 native, not IE9 in IE8 mode + } + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event ); + + var i, ret, handleObj, matched, j, + handlerQueue = [], + args = slice.call( arguments ), + handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) + .apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( (event.result = ret) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var sel, handleObj, matches, i, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + // Black-hole SVG instance trees (#13180) + // Avoid non-left-click bubbling in Firefox (#3861) + if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { + + /* jshint eqeqeq: false */ + for ( ; cur != this; cur = cur.parentNode || this ) { + /* jshint eqeqeq: true */ + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matches[ sel ] === undefined ) { + matches[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) >= 0 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matches[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push({ elem: cur, handlers: matches }); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( delegateCount < handlers.length ) { + handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); + } + + return handlerQueue; + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, copy, + type = event.type, + originalEvent = event, + fixHook = this.fixHooks[ type ]; + + if ( !fixHook ) { + this.fixHooks[ type ] = fixHook = + rmouseEvent.test( type ) ? this.mouseHooks : + rkeyEvent.test( type ) ? this.keyHooks : + {}; + } + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = new jQuery.Event( originalEvent ); + + i = copy.length; + while ( i-- ) { + prop = copy[ i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Support: IE<9 + // Fix target property (#1925) + if ( !event.target ) { + event.target = originalEvent.srcElement || document; + } + + // Support: Chrome 23+, Safari? + // Target should not be a text node (#504, #13143) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // Support: IE<9 + // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) + event.metaKey = !!event.metaKey; + + return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split(" "), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function( event, original ) { + var body, eventDoc, doc, + button = original.button, + fromElement = original.fromElement; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && fromElement ) { + event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + special: { + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + try { + this.focus(); + return false; + } catch ( e ) { + // Support: IE<9 + // If we error on focus to hidden element (#1486, #12518), + // let .trigger() run the handlers + } + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return jQuery.nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Even when returnValue equals to undefined Firefox will still show alert + if ( event.result !== undefined ) { + event.originalEvent.returnValue = event.result; + } + } + } + }, + + simulate: function( type, elem, event, bubble ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true, + originalEvent: {} + } + ); + if ( bubble ) { + jQuery.event.trigger( e, null, elem ); + } else { + jQuery.event.dispatch.call( elem, e ); + } + if ( e.isDefaultPrevented() ) { + event.preventDefault(); + } + } +}; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + var name = "on" + type; + + if ( elem.detachEvent ) { + + // #8545, #7054, preventing memory leaks for custom events in IE6-8 + // detachEvent needed property on element, by name of that event, to properly expose it to GC + if ( typeof elem[ name ] === strundefined ) { + elem[ name ] = null; + } + + elem.detachEvent( name, handle ); + } + }; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !(this instanceof jQuery.Event) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && ( + // Support: IE < 9 + src.returnValue === false || + // Support: Android < 4.0 + src.getPreventDefault && src.getPreventDefault() ) ? + returnTrue : + returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + if ( !e ) { + return; + } + + // If preventDefault exists, run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // Support: IE + // Otherwise set the returnValue property of the original event to false + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + if ( !e ) { + return; + } + // If stopPropagation exists, run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + + // Support: IE + // Set the cancelBubble property of the original event to true + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + } +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mousenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || (related !== target && !jQuery.contains( target, related )) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +}); + +// IE submit delegation +if ( !support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Lazy-add a submit handler when a descendant form may potentially be submitted + jQuery.event.add( this, "click._submit keypress._submit", function( e ) { + // Node name check avoids a VML-related crash in IE (#9807) + var elem = e.target, + form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; + if ( form && !jQuery._data( form, "submitBubbles" ) ) { + jQuery.event.add( form, "submit._submit", function( event ) { + event._submit_bubble = true; + }); + jQuery._data( form, "submitBubbles", true ); + } + }); + // return undefined since we don't need an event listener + }, + + postDispatch: function( event ) { + // If form was submitted by the user, bubble the event up the tree + if ( event._submit_bubble ) { + delete event._submit_bubble; + if ( this.parentNode && !event.isTrigger ) { + jQuery.event.simulate( "submit", this.parentNode, event, true ); + } + } + }, + + teardown: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Remove delegated handlers; cleanData eventually reaps submit handlers attached above + jQuery.event.remove( this, "._submit" ); + } + }; +} + +// IE change delegation and checkbox/radio fix +if ( !support.changeBubbles ) { + + jQuery.event.special.change = { + + setup: function() { + + if ( rformElems.test( this.nodeName ) ) { + // IE doesn't fire change on a check/radio until blur; trigger it on click + // after a propertychange. Eat the blur-change in special.change.handle. + // This still fires onchange a second time for check/radio after blur. + if ( this.type === "checkbox" || this.type === "radio" ) { + jQuery.event.add( this, "propertychange._change", function( event ) { + if ( event.originalEvent.propertyName === "checked" ) { + this._just_changed = true; + } + }); + jQuery.event.add( this, "click._change", function( event ) { + if ( this._just_changed && !event.isTrigger ) { + this._just_changed = false; + } + // Allow triggered, simulated change events (#11500) + jQuery.event.simulate( "change", this, event, true ); + }); + } + return false; + } + // Delegated event; lazy-add a change handler on descendant inputs + jQuery.event.add( this, "beforeactivate._change", function( e ) { + var elem = e.target; + + if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { + jQuery.event.add( elem, "change._change", function( event ) { + if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { + jQuery.event.simulate( "change", this.parentNode, event, true ); + } + }); + jQuery._data( elem, "changeBubbles", true ); + } + }); + }, + + handle: function( event ) { + var elem = event.target; + + // Swallow native change events from checkbox/radio, we already triggered them above + if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { + return event.handleObj.handler.apply( this, arguments ); + } + }, + + teardown: function() { + jQuery.event.remove( this, "._change" ); + + return !rformElems.test( this.nodeName ); + } + }; +} + +// Create "bubbling" focus and blur events +if ( !support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + jQuery._data( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + jQuery._removeData( doc, fix ); + } else { + jQuery._data( doc, fix, attaches ); + } + } + }; + }); +} + +jQuery.fn.extend({ + + on: function( types, selector, data, fn, /*INTERNAL*/ one ) { + var type, origFn; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + this.on( type, selector, data, types[ type ], one ); + } + return this; + } + + if ( data == null && fn == null ) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return this; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return this.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + }); + }, + one: function( types, selector, data, fn ) { + return this.on( types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each(function() { + jQuery.event.remove( this, types, fn, selector ); + }); + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + triggerHandler: function( type, data ) { + var elem = this[0]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +}); + + +function createSafeFragment( document ) { + var list = nodeNames.split( "|" ), + safeFrag = document.createDocumentFragment(); + + if ( safeFrag.createElement ) { + while ( list.length ) { + safeFrag.createElement( + list.pop() + ); + } + } + return safeFrag; +} + +var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + + "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", + rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, + rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, + rtagName = /<([\w:]+)/, + rtbody = /\s*$/g, + + // We have to close these tags to support XHTML (#13200) + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "
    ", "
    " ], + area: [ 1, "", "" ], + param: [ 1, "", "" ], + thead: [ 1, "", "
    " ], + tr: [ 2, "", "
    " ], + col: [ 2, "", "
    " ], + td: [ 3, "", "
    " ], + + // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, + // unless wrapped in a div with non-breaking characters in front of it. + _default: support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X
    ", "
    " ] + }, + safeFragment = createSafeFragment( document ), + fragmentDiv = safeFragment.appendChild( document.createElement("div") ); + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +function getAll( context, tag ) { + var elems, elem, + i = 0, + found = typeof context.getElementsByTagName !== strundefined ? context.getElementsByTagName( tag || "*" ) : + typeof context.querySelectorAll !== strundefined ? context.querySelectorAll( tag || "*" ) : + undefined; + + if ( !found ) { + for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { + if ( !tag || jQuery.nodeName( elem, tag ) ) { + found.push( elem ); + } else { + jQuery.merge( found, getAll( elem, tag ) ); + } + } + } + + return tag === undefined || tag && jQuery.nodeName( context, tag ) ? + jQuery.merge( [ context ], found ) : + found; +} + +// Used in buildFragment, fixes the defaultChecked property +function fixDefaultChecked( elem ) { + if ( rcheckableType.test( elem.type ) ) { + elem.defaultChecked = elem.checked; + } +} + +// Support: IE<8 +// Manipulating tables requires a tbody +function manipulationTarget( elem, content ) { + return jQuery.nodeName( elem, "table" ) && + jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ? + + elem.getElementsByTagName("tbody")[0] || + elem.appendChild( elem.ownerDocument.createElement("tbody") ) : + elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + var match = rscriptTypeMasked.exec( elem.type ); + if ( match ) { + elem.type = match[1]; + } else { + elem.removeAttribute("type"); + } + return elem; +} + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var elem, + i = 0; + for ( ; (elem = elems[i]) != null; i++ ) { + jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); + } +} + +function cloneCopyEvent( src, dest ) { + + if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { + return; + } + + var type, i, l, + oldData = jQuery._data( src ), + curData = jQuery._data( dest, oldData ), + events = oldData.events; + + if ( events ) { + delete curData.handle; + curData.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + + // make the cloned public data object a copy from the original + if ( curData.data ) { + curData.data = jQuery.extend( {}, curData.data ); + } +} + +function fixCloneNodeIssues( src, dest ) { + var nodeName, e, data; + + // We do not need to do anything for non-Elements + if ( dest.nodeType !== 1 ) { + return; + } + + nodeName = dest.nodeName.toLowerCase(); + + // IE6-8 copies events bound via attachEvent when using cloneNode. + if ( !support.noCloneEvent && dest[ jQuery.expando ] ) { + data = jQuery._data( dest ); + + for ( e in data.events ) { + jQuery.removeEvent( dest, e, data.handle ); + } + + // Event data gets referenced instead of copied if the expando gets copied too + dest.removeAttribute( jQuery.expando ); + } + + // IE blanks contents when cloning scripts, and tries to evaluate newly-set text + if ( nodeName === "script" && dest.text !== src.text ) { + disableScript( dest ).text = src.text; + restoreScript( dest ); + + // IE6-10 improperly clones children of object elements using classid. + // IE10 throws NoModificationAllowedError if parent is null, #12132. + } else if ( nodeName === "object" ) { + if ( dest.parentNode ) { + dest.outerHTML = src.outerHTML; + } + + // This path appears unavoidable for IE9. When cloning an object + // element in IE9, the outerHTML strategy above is not sufficient. + // If the src has innerHTML and the destination does not, + // copy the src.innerHTML into the dest.innerHTML. #10324 + if ( support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { + dest.innerHTML = src.innerHTML; + } + + } else if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + // IE6-8 fails to persist the checked state of a cloned checkbox + // or radio button. Worse, IE6-7 fail to give the cloned element + // a checked appearance if the defaultChecked value isn't also set + + dest.defaultChecked = dest.checked = src.checked; + + // IE6-7 get confused and end up setting the value of a cloned + // checkbox/radio button to an empty string instead of "on" + if ( dest.value !== src.value ) { + dest.value = src.value; + } + + // IE6-8 fails to return the selected option to the default selected + // state when cloning options + } else if ( nodeName === "option" ) { + dest.defaultSelected = dest.selected = src.defaultSelected; + + // IE6-8 fails to set the defaultValue to the correct value when + // cloning other types of input fields + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +jQuery.extend({ + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var destElements, node, clone, i, srcElements, + inPage = jQuery.contains( elem.ownerDocument, elem ); + + if ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { + clone = elem.cloneNode( true ); + + // IE<=8 does not properly clone detached, unknown element nodes + } else { + fragmentDiv.innerHTML = elem.outerHTML; + fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); + } + + if ( (!support.noCloneEvent || !support.noCloneChecked) && + (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { + + // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + // Fix all IE cloning issues + for ( i = 0; (node = srcElements[i]) != null; ++i ) { + // Ensure that the destination node is not null; Fixes #9587 + if ( destElements[i] ) { + fixCloneNodeIssues( node, destElements[i] ); + } + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0; (node = srcElements[i]) != null; i++ ) { + cloneCopyEvent( node, destElements[i] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + destElements = srcElements = node = null; + + // Return the cloned set + return clone; + }, + + buildFragment: function( elems, context, scripts, selection ) { + var j, elem, contains, + tmp, tag, tbody, wrap, + l = elems.length, + + // Ensure a safe fragment + safe = createSafeFragment( context ), + + nodes = [], + i = 0; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( jQuery.type( elem ) === "object" ) { + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || safe.appendChild( context.createElement("div") ); + + // Deserialize a standard representation + tag = (rtagName.exec( elem ) || [ "", "" ])[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + + tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1>" ) + wrap[2]; + + // Descend through wrappers to the right content + j = wrap[0]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Manually add leading whitespace removed by IE + if ( !support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { + nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); + } + + // Remove IE's autoinserted from table fragments + if ( !support.tbody ) { + + // String was a , *may* have spurious + elem = tag === "table" && !rtbody.test( elem ) ? + tmp.firstChild : + + // String was a bare or + wrap[1] === "
    " && !rtbody.test( elem ) ? + tmp : + 0; + + j = elem && elem.childNodes.length; + while ( j-- ) { + if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { + elem.removeChild( tbody ); + } + } + } + + jQuery.merge( nodes, tmp.childNodes ); + + // Fix #12392 for WebKit and IE > 9 + tmp.textContent = ""; + + // Fix #12392 for oldIE + while ( tmp.firstChild ) { + tmp.removeChild( tmp.firstChild ); + } + + // Remember the top-level container for proper cleanup + tmp = safe.lastChild; + } + } + } + + // Fix #11356: Clear elements from fragment + if ( tmp ) { + safe.removeChild( tmp ); + } + + // Reset defaultChecked for any radios and checkboxes + // about to be appended to the DOM in IE 6/7 (#8060) + if ( !support.appendChecked ) { + jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); + } + + i = 0; + while ( (elem = nodes[ i++ ]) ) { + + // #4087 - If origin and destination elements are the same, and this is + // that element, do not do anything + if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( safe.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( (elem = tmp[ j++ ]) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + tmp = null; + + return safe; + }, + + cleanData: function( elems, /* internal */ acceptData ) { + var elem, type, id, data, + i = 0, + internalKey = jQuery.expando, + cache = jQuery.cache, + deleteExpando = support.deleteExpando, + special = jQuery.event.special; + + for ( ; (elem = elems[i]) != null; i++ ) { + if ( acceptData || jQuery.acceptData( elem ) ) { + + id = elem[ internalKey ]; + data = id && cache[ id ]; + + if ( data ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Remove cache only if it was not already removed by jQuery.event.remove + if ( cache[ id ] ) { + + delete cache[ id ]; + + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( deleteExpando ) { + delete elem[ internalKey ]; + + } else if ( typeof elem.removeAttribute !== strundefined ) { + elem.removeAttribute( internalKey ); + + } else { + elem[ internalKey ] = null; + } + + deletedIds.push( id ); + } + } + } + } + } +}); + +jQuery.fn.extend({ + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); + }, null, value, arguments.length ); + }, + + append: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + }); + }, + + prepend: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + }); + }, + + before: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + }); + }, + + after: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + }); + }, + + remove: function( selector, keepData /* Internal Use Only */ ) { + var elem, + elems = selector ? jQuery.filter( selector, this ) : this, + i = 0; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( !keepData && elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem ) ); + } + + if ( elem.parentNode ) { + if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { + setGlobalEval( getAll( elem, "script" ) ); + } + elem.parentNode.removeChild( elem ); + } + } + + return this; + }, + + empty: function() { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + } + + // Remove any remaining nodes + while ( elem.firstChild ) { + elem.removeChild( elem.firstChild ); + } + + // If this is a select, ensure that it displays empty (#12336) + // Support: IE<9 + if ( elem.options && jQuery.nodeName( elem, "select" ) ) { + elem.options.length = 0; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map(function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + }); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined ) { + return elem.nodeType === 1 ? + elem.innerHTML.replace( rinlinejQuery, "" ) : + undefined; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + ( support.htmlSerialize || !rnoshimcache.test( value ) ) && + ( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && + !wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) { + + value = value.replace( rxhtmlTag, "<$1>" ); + + try { + for (; i < l; i++ ) { + // Remove element nodes and prevent memory leaks + elem = this[i] || {}; + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch(e) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var arg = arguments[ 0 ]; + + // Make the changes, replacing each context element with the new content + this.domManip( arguments, function( elem ) { + arg = this.parentNode; + + jQuery.cleanData( getAll( this ) ); + + if ( arg ) { + arg.replaceChild( elem, this ); + } + }); + + // Force removal if there was no new content (e.g., from empty arguments) + return arg && (arg.length || arg.nodeType) ? this : this.remove(); + }, + + detach: function( selector ) { + return this.remove( selector, true ); + }, + + domManip: function( args, callback ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var first, node, hasScripts, + scripts, doc, fragment, + i = 0, + l = this.length, + set = this, + iNoClone = l - 1, + value = args[0], + isFunction = jQuery.isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( isFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return this.each(function( index ) { + var self = set.eq( index ); + if ( isFunction ) { + args[0] = value.call( this, index, self.html() ); + } + self.domManip( args, callback ); + }); + } + + if ( l ) { + fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + if ( first ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( this[i], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { + + if ( node.src ) { + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl ) { + jQuery._evalUrl( node.src ); + } + } else { + jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); + } + } + } + } + + // Fix #11809: Avoid leaking memory + fragment = first = null; + } + } + + return this; + } +}); + +jQuery.each({ + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + i = 0, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone(true); + jQuery( insert[i] )[ original ]( elems ); + + // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +}); + + +var iframe, + elemdisplay = {}; + +/** + * Retrieve the actual display of a element + * @param {String} name nodeName of the element + * @param {Object} doc Document object + */ +// Called only from within defaultDisplay +function actualDisplay( name, doc ) { + var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), + + // getDefaultComputedStyle might be reliably used only on attached element + display = window.getDefaultComputedStyle ? + + // Use of this method is a temporary fix (more like optmization) until something better comes along, + // since it was removed from specification and supported only in FF + window.getDefaultComputedStyle( elem[ 0 ] ).display : jQuery.css( elem[ 0 ], "display" ); + + // We don't have any data stored on the element, + // so use "detach" method as fast way to get rid of the element + elem.detach(); + + return display; +} + +/** + * Try to determine the default display value of an element + * @param {String} nodeName + */ +function defaultDisplay( nodeName ) { + var doc = document, + display = elemdisplay[ nodeName ]; + + if ( !display ) { + display = actualDisplay( nodeName, doc ); + + // If the simple way fails, read from inside an iframe + if ( display === "none" || !display ) { + + // Use the already-created iframe if possible + iframe = (iframe || jQuery( " diff --git a/dist/vocabulary/mapping/0.2.0/sections/references-en.html b/dist/vocabulary/mapping/0.2.0/sections/references-en.html new file mode 100644 index 0000000..5501c97 --- /dev/null +++ b/dist/vocabulary/mapping/0.2.0/sections/references-en.html @@ -0,0 +1,6 @@ + +

    References back to ToC

    + +Add your references here. It is recommended to have them as a list. + + diff --git a/dist/vocabulary/mapping/0.2.0/webvowl/css/webvowl.app.css b/dist/vocabulary/mapping/0.2.0/webvowl/css/webvowl.app.css new file mode 100644 index 0000000..2ceaead --- /dev/null +++ b/dist/vocabulary/mapping/0.2.0/webvowl/css/webvowl.app.css @@ -0,0 +1,6 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans);html{-ms-content-zooming:none}#loading-progress{width:50%;margin:10px 0}#layoutLoadingProgressBarContainer{height:50px;text-align:left;line-height:1.5}#FPS_Statistics{padding-left:60px;padding-top:60px}#additionalInformationContainer{position:absolute;top:10px;right:50px}#modeOfOperationString{padding-left:34px}#close_directUploadBtn,#direct-text-input,#directUploadBtn{border:1px solid #34495e;width:100%;margin-top:5px;cursor:pointer}#di_controls>ul{list-style:none;margin:0;padding:5px 0 0 5px}#progressBarContext{border-radius:10px;background-color:#bdc3c7;height:25px;border:1px solid #000;margin:auto}#progressBarValue{border-radius:9px;width:0;background-color:#2980b9;height:25px;line-height:1.5;text-align:center}.dbEntry{background-color:#fff;color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntrySelected{color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntry:focus,.dbEntry:hover,.dbEntrySelected{background-color:#bdc3c7}.searchMenuEntry{background-color:#fff;bottom:0;font-size:14px;min-width:50px;margin:0;padding:0;z-index:99;border-radius:4px 4px 0 0;border:1px solid rgba(0,0,0,.15);-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;border-bottom:none;display:none;position:absolute;list-style:none}.searchInputText{background-color:#fff;color:#000;border:#000;text-decoration:none;max-width:150px;overflow:hidden;text-overflow:ellipsis;margin:0}iframe,img{border:none}.hidden{display:none!important}.clear{clear:both}a{color:#69c;text-decoration:none}a:hover{color:#3498db}#optionsArea a{color:#2980b9}#optionsArea a.highlighted{background-color:#d90}.toolTipMenu li.highlighted{background-color:#feb}#browserCheck{background-color:red;padding:5px 0;position:absolute;text-align:center;width:100%}#browserCheck a{color:#fff}#browserCheck a:hover{text-decoration:underline}@-webkit-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-o-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-webkit-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-o-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-moz-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-o-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-webkit-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-moz-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-o-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-webkit-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-moz-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-o-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-webkit-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-moz-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-o-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes msg_CollapseAnimation{0%{top:0}to{top:-400px}}@-webkit-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-moz-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-o-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-webkit-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-moz-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-o-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-webkit-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-o-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-o-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}body{background:#18202a;font-size:14px;font-family:Open Sans,Helvetica,Arial,sans-serif;line-height:1;overflow:hidden;position:fixed}body,main{height:100%;margin:0;padding:0;width:100%}#canvasArea,main{position:relative}#canvasArea{margin:0;padding:0;width:78%}#canvasArea #graph{margin:0 0 2px;background-color:#ecf0f1;width:100%}#canvasArea #graph,#canvasArea svg{box-sizing:border-box;overflow:hidden;padding:0}#canvasArea svg{margin:0}#logo{position:fixed;pointer-events:none}#logo h2{color:#3498db;margin:0;line-height:.7;text-align:center;font-size:24px}#logo h2 span{color:#34495e;font-size:16px}@media screen and (max-device-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-device-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}.checkboxContainer input,.checkboxContainer label{vertical-align:middle}.selected-ontology{background-color:#eee}#credits{border-top:1px solid #bdc3c7;font-size:.9em}.slideOption{position:relative;padding:8px 5px;outline:none}.slideOption .value{float:right;outline:none}.slideOption input[type=range]{box-sizing:border-box;margin:0;outline:none;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#eee}.slideOption input[type=range]::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]::-moz-range-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]:hover{outline:none}.slideOption input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none;margin-top:-3px}.slideOption input[type=range]::-moz-range-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none}.slideOption input[type=range]::-moz-range-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]::-webkit-slider-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]:active,.slideOption input[type=range]:focus{outline:none}.slideOption input[type=range]::-moz-range-thumb:active,.slideOption input[type=range]::-moz-range-thumb:focus{outline:none}.slideOption input[type=range]::-webkit-slider-thumb:active,.slideOption input[type=range]::-webkit-slider-thumb:focus{outline:none}.slideOption input[type=range]:disabled{box-sizing:border-box;margin:0;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#787878}.slideOption input[type=range]:disabled::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled::-moz-range-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled{outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{-webkit-appearance:none;background-color:#363636;border-radius:3px;border:1px solid #aaa;transition:all .5s ease;height:10px;width:30px;margin-top:-3px}.slideOption input[type=range]:disabled::-moz-range-thumb{-webkit-appearance:none;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;background-color:#aaa;outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{background-color:#aaa;outline:none}.slideOption input[type=range]:disabled:hover::-moz-range-thumb{background-color:#404040;outline:none}.slideOption input[type=range]:disabled:hover::-webkit-slider-thumb{background-color:#404040;outline:none}#detailsArea{top:0;right:0;bottom:0;color:#bdc3c7;height:100%;width:22%;overflow-y:auto;overflow-x:hidden;position:fixed;border-left:1px solid #34495e}#detailsArea h1{border-bottom:1px solid #34495e;color:#ecf0f1;display:block;font-weight:100;font-size:1.5em;margin:0;padding:10px 0;text-align:center}#generalDetails{width:auto;box-sizing:border-box;height:100%}#generalDetails span #about{border-bottom:1px solid #34495e;display:block;padding:10px;text-align:center;word-wrap:break-word;color:#69c}#generalDetails h4{background:#1b252e;color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 0;text-align:center}#detailsArea #generalDetails h5{border-bottom:1px solid #34495e;font-size:.9em;font-weight:100;margin:0;padding:5px;text-align:center}#description{text-align:justify}.accordion-container p{font-size:.9em;line-height:1.3;margin:5px 10px}.statisticDetails span{padding:10px}.statisticDetails div,.statisticDetails span{font-weight:100;font-style:italic;margin:10px 0}.statisticDetails div{padding:0 10px;display:inline}#selection-details .propDetails a{color:#69c}#selection-details .propDetails>span{font-weight:100;font-style:italic;padding:0 10px}#selection-details #classEquivUri span,#selection-details #disjointNodes span{padding:0}#selection-details .propDetails div{font-weight:100;font-style:italic;margin:10px 0;padding:0 10px;display:inline}#selection-details .propDetails div span{padding:0}.subclass{fill:#ecf0f1}.accordion-trigger{background:#24323e;cursor:pointer;padding:.5em}.accordion-trigger.accordion-trigger-active:before{padding-right:4px;content:"\25BC"}.accordion-trigger:not(.accordion-trigger-active):before{padding-right:4px;content:"\25BA"}.accordion-container.scrollable{max-height:40%;overflow:auto}.small-whitespace-separator{height:3px}#language{background:transparent;border:1px solid #34495e;color:#ecf0f1}#language option{background-color:#24323e}.converter-form:not(:first-child){margin-top:5px}.converter-form label{display:inline-block;line-height:normal}.converter-form input{box-sizing:border-box;height:20px;width:74%;border:1px solid #34495e}.converter-form button{float:right;padding:0;width:25%;background-color:#ecf0f1}#file-converter-label,.converter-form button{cursor:pointer;height:20px;border:1px solid #34495e}#file-converter-label{box-sizing:border-box;width:74%}#killWarning{cursor:pointer;color:#fff;font-weight:700}#copyBt{box-sizing:border-box;height:20px;width:31%;border:1px solid #34495e}#sidebarExpandButton{height:24px;width:24px;box-sizing:border-box;top:10px;color:#000;float:right;position:absolute;right:0;border:1px solid #000;text-align:center;font-size:1.5em;cursor:pointer}.dropdownMenuClass{height:20px;float:right;border:1px solid #34495e;background-color:#34495e;color:#fff;text-align:left;width:auto}#typeEditForm_datatype{padding-top:5px}#typeEditor,#typeEditor_datatype{width:165px}#leftSideBarCollapseButton{box-sizing:border-box;top:50px;color:#000;position:absolute;left:200px;border:1px solid #000;cursor:pointer;width:24px;height:24px;font-size:1.5em;text-align:center}#leftSideBarCollapseButton:hover,#sidebarExpandButton:hover{background-color:#d90}.spanForCharSelection{padding-left:25px}.nodeEditSpan{color:#000;background-color:#fff;text-align:center;border:none;padding-top:6px}.nodeEditSpan:focus{outline:none;border:none}.foreignelements{border:none}.foreignelements:focus{outline:none;border:none}#leftSideBarContent{color:#000;float:left;position:absolute;left:0;background-color:#18202a;width:100%;height:100%}#leftSideBarContent>h3{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0 0 5px;padding:10px 0;text-align:left}#generalDetailsEdit{color:#ecf0f1}#generalDetailsEdit>div{padding:5px}#generalDetailsEdit>h3{font-size:1.1em;margin:0 0 5px;padding:10px 0}#generalDetailsEdit>h3,.subAccordion{color:#ecf0f1;display:block;font-weight:100;text-align:left}.subAccordion{font-size:.8em;margin:0;padding:5px}.boxed,.subAccordionDescription{padding:0 5px}.separatorLineRight{border-right:1px solid red}.editPrefixButton:hover{color:#ff972d;cursor:pointer}.editPrefixIcon:hover{stroke:#ff972d;stroke-width:1px;cursor:pointer}.editPrefixIcon{stroke:#fffff;stroke-width:1px;cursor:pointer}.deletePrefixButton:hover{color:#ff972d;cursor:pointer}.deletePrefixButton{color:red;cursor:pointer}.invisiblePrefixButton{cursor:default;color:#18202a}#containerForAddPrefixButton{width:100%;margin-top:5px}.roundedButton{border:1px solid #000;border-radius:20px;padding:0 5px;background:#fff;cursor:pointer;color:#000;outline:none}.roundedButton:hover{background:#318638;cursor:pointer;color:#fff;outline:none}#prefixURL_Description{padding:5px 0 0}.prefixIRIElements{display:inline-block;padding:3px;border-bottom:1px solid #34495e;width:100%}.prefixInput{width:30px;display:inline-block;margin-right:5px}.prefixURL{width:100px;display:inline-block;paddig-left:5px}.selectedDefaultElement{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;max-width:200px}#editHeader,#leftHeader{color:#ecf0f1;background-color:#394f5a;display:block;font-size:1.1em;font-weight:100;text-align:center}#leftHeader{padding:10px 0;margin:0}.containerForDefaultSelection{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 20px;text-align:left}.defaultSelected{color:#a15d05;background-color:#283943}.containerForDefaultSelection:hover{color:#f19505;background-color:#394f5a;display:block;cursor:pointer}#containerForLeftSideBar{top:50px;float:left;position:absolute;background-color:#1b252e;left:0;width:200px;height:200px;overflow-y:auto;overflow-x:hidden}#leftSideBar{width:100%;background-color:#18202a}#loading-info{box-sizing:border-box;position:absolute;text-align:center;width:100%;height:80%;top:0}#loading-info>div{display:inline-block;color:#fff;background-color:#18202a;border-bottom-left-radius:2px;border-bottom-right-radius:2px}#loading-info>*>*{padding:5px}#loading-info{pointer-events:none}#loading-progress{pointer-events:auto;min-width:220px;border-radius:10px}#show-loadingInfo-button{font-size:12px;color:#fff;cursor:pointer;text-align:center}#loadingIndicator_closeButton:hover{color:#ff972d;cursor:pointer}#loadingIndicator_closeButton{color:#ffe30f;cursor:pointer;padding-bottom:5px;float:right}.busyProgressBar{background-color:#000;height:25px;position:relative;animation:busy 2s linear infinite}@-webkit-keyframes busy{0%{left:0}50%{left:80%}to{left:0}}#bulletPoint_container{padding-left:15px;margin-top:0;margin-bottom:0}#bulletPoint_container>div{margin-left:-15px}#loadingInfo-container{box-sizing:border-box;text-align:left;line-height:1.2;padding-top:5px;overflow:auto;height:120px;min-height:40px;background-color:#3c3c3c}#error-description-button{margin:5px 0 0;font-size:12px;color:#69c;cursor:pointer;text-align:center}#error-description-container{box-sizing:border-box;text-align:left}#error-description-container pre{background-color:#34495e;padding:2px;margin:0;white-space:pre-wrap;max-height:calc(100vh - 125px);max-width:75vw;overflow:auto}.spin{display:inline-block;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.truncate{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.color-mode-switch{float:right;width:90px;cursor:pointer;height:20px;padding:0;border:0;color:#555;background-color:#eceeef;box-shadow:0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.color-mode-switch:focus{outline-width:0}.color-mode-switch.active{color:#fff;background-color:#32cd32;box-shadow:inset 0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.filterMenuButtonHighlight{background-color:#d90}@-webkit-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-moz-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-o-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}.buttonPulse{-webkit-animation-name:buttonAnimation;-moz-animation-name:buttonAnimation;-o-animation-name:buttonAnimation;animation-name:buttonAnimation;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s;-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}#m_about{max-width:200px;width:200px;position:absolute}#m_modes{max-width:160px;width:160px;position:absolute}#m_filter{max-width:170px;width:170px;position:absolute}#m_gravity{max-width:180px;width:180px;position:absolute}#m_export{max-width:160px;width:160px;position:absolute}#exportedUrl{width:100px}#m_select{max-width:300px;width:300px;position:absolute}#m_config{max-width:240px;width:240px;position:absolute}#m_search{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#swipeBarContainer{position:fixed;width:77.8%;height:40px;margin:0;padding:0;bottom:0}#menuElementContainer{margin:0;padding:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;text-align:right;list-style-type:none}#menuElementContainer>li{display:inline-block;box-sizing:border-box;text-align:left;position:relative;height:40px;font-size:14px;color:#fff;padding:12px 0 0;margin-left:-4px}#menuElementContainer>li>a{color:#fff;padding:9px 12px 12px 30px}.menuElementSvgElement{height:20px;width:20px;display:block;position:absolute;top:10px;left:8px}.btn_shadowed{background-color:#fefefe;box-shadow:1px 1px 1px gray}.reloadCachedOntologyIcon{height:20px;width:108px;display:block;position:absolute;top:20px;left:3px;border:1px solid #000;border-radius:10px;cursor:pointer}.reloadCachedOntologyIcon:disabled{background:#f4f4f4;cursor:auto;border:1px solid #a9a9a9}.reloadCachedOntologyIcon:hover{background:#d90;cursor:pointer}.disabledReloadElement{cursor:auto;background:#f4f4f4;pointer-events:auto;border:1px solid #a9a9a9;color:#bbb}.disabledReloadElement:hover{cursor:auto;background:#eee;pointer-events:auto}#menuElementContainer>li>input{color:#000;padding:.1em .3em .1em 1.5em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:120px}#menuElementContainer>li>a:hover{box-sizing:border-box;background:#1b252e;color:#bdc3c7}#empty:hover{box-sizing:border-box;background:#e1e1e1;color:#2980b9}#empty.disabled,.disabled{pointer-events:none;cursor:default;color:#979797}.toolTipMenu{-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;background-color:#fff;border:1px solid rgba(0,0,0,.15);border-bottom:none;border-radius:4px 4px 0 0;bottom:0;display:none;font-size:14px;list-style:none;margin:0;padding:0;white-space:normal;position:absolute;z-index:99}.toolTipMenu>li:first-of-type{border:none}.toolTipMenu a{color:#2980b9}.toolTipMenu>li{border-top:1px solid #bdc3c7}.toolTipMenu li{color:#2980b9;display:block}#menuElementContainer>li:hover .toolTipMenu{display:block}#menuElementContainer li>ul.toolTipMenu li a:hover{background:#e1e1e1}#scrollLeftButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;left:0}#scrollLeftButton:focus{outline:none}#scrollLeftButton:before{content:"<"}#scrollRightButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;right:0}#scrollRightButton:focus{outline:none}#scrollLeftButton:hover,#scrollRightButton:hover{color:#bdc3c7}#scrollRightButton:before{content:">"}#centerGraphButton,#zoomInButton,#zoomOutButton{border:1px solid #000;text-align:center;margin:-1px 0 0;font-size:1.5em;padding:0;height:28px}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#zoomOutButton{line-height:22px}#centerGraphButton,#zoomInButton{line-height:25px}#zoomSlider>p:hover{background-color:#d90}#zoomSliderParagraph{color:#000;padding-top:5px;margin:-1px 0 0;border:1px solid #000;height:150px}p#zoomSliderParagraph:hover{background-color:#fff}#zoomSlider{width:28px;margin-top:-2px;padding:0;font-size:1.5em;cursor:pointer;position:absolute;right:20px;bottom:20px;color:#000;box-sizing:border-box}#menuElementContainer>li>a:before{font-size:1em;margin:0;padding:0 6px 0 0}#menuElementContainer a.highlighted{background-color:#d90} + /*!*padding: 0 0.2em;*!*/.inner-addon{position:relative}.gearIcon,.searchIcon{position:absolute;width:17px;height:17px;pointer-events:none}.gearIcon{left:-5px} + /*!*padding: 0 0.2em;*!*/ + /*!*color: black;*!*/ + /*!*content: "\2315";*!*/ + /*!*content: "\2315" or "\1F50D"*!;*/li#c_search{padding:0 5px;margin-left:5px;height:20px}li#c_locate{padding:0}#c_locate>a{font-size:2em;padding:0}a#pause-button{padding:12px}a#pause-button.paused:before{content:"\25BA"}a#pause-button.paused:hover{background-color:#d90;color:#fff}a#pause-button:not(.paused):before{content:"II"}.toolTipMenu li:hover{background-color:#e1e1e1}#emptyLiHover,#emptyLiHover:hover{background-color:#fff}.toggleOption li:hover{background-color:#e1e1e1}.toggleOption{padding:8px 5px}#converter-option:hover{background-color:#fff}.option,.toolTipMenu li a:only-child{display:block;float:none;padding:8px 5px}.customLocate{padding:0;background-color:#32cd32}a#locateSearchResult{padding-top:50px}#zoomSliderElement{color:#000;position:relative;padding-top:0;width:155px;height:24px;background-color:transparent;-webkit-transform-origin-x:73px;-webkit-transform-origin-y:73px;-webkit-transform:rotate(-90deg);-moz-transform-origin:73px 73px;transform:rotate(-90deg);transform-origin:73px 73px;-webkit-appearance:none;outline:none;margin:4px 0}#zoomSliderElement::-webkit-scrollbar{height:0}#zoomSliderElement:hover{cursor:crosshair}#zoomSliderElement::-webkit-slider-runnable-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-moz-range-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-webkit-slider-thumb{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#fff;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb{background:#fff}#zoomSliderElement::-ms-thumb,#zoomSliderElement::-ms-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb:hover{background:#d90}#zoomSliderElement::-webkit-slider-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#d90;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-moz-range-thumb,#zoomSliderElement::-moz-range-thumb:hover{border:1px solid #000;height:10px;width:30px;border-radius:3px;cursor:pointer;outline:none}#zoomSliderElement::-moz-range-thumb:hover{background:#d90}#zoomSliderElement::-moz-focus-outer{border:0}#locateSearchResult:focus{outline:none}a#locateSearchResult.highlighted:hover{background-color:#d90;color:red}a#locateSearchResult{outline:none;padding-bottom:0;padding-top:0;position:relative;top:5px}#editorHint{padding:5px;position:absolute;text-align:center;width:100%;pointer-events:none}#editorHint label{pointer-events:auto;float:right;padding:5px;color:#fd0}#editorHint label:hover{text-decoration:underline;cursor:pointer}#editorHint>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:5px}#WarningErrorMessagesContainer{position:absolute;text-align:center;top:0;pointer-events:none}#WarningErrorMessages{position:relative;width:50%;pointer-events:auto;margin:10px 0;padding-right:12px;overflow-y:auto;overflow-x:hidden}#WarningErrorMessages label{color:#fd0}#WarningErrorMessages label,#WarningErrorMessages span{pointer-events:auto;float:right;padding:5px}#WarningErrorMessages label:hover{text-decoration:underline;cursor:pointer}#WarningErrorMessages>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:10px;border:1px solid #ecf0f1;width:70%}#WarningErrorMessagesContent>ul{-webkit-padding-start:20px;padding:0 16px}#WarningErrorMessagesContent>ul>li{padding:5px}.textLineEditWithLabel{display:inline-block;width:100%;border-bottom:1px solid #34495e;padding:2px 0}.converter-form-Editor label{line-height:normal}.descriptionTextClass,.prefixIRIElements input{background-color:#34495e;color:#fff}.prefixIRIElements input{border:1px solid #34495e}.prefixIRIElements input:disabled{background-color:#18202a;border:1px solid #18202a;color:#fff}.converter-form-Editor input{float:right;border:1px solid #34495e;background-color:#34495e;color:#fff}.converter-form-Editor input:disabled{background-color:#545350;border:1px solid #34495e;color:#939798}.disabledLabelForSlider{color:gray} \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.2.0/webvowl/css/webvowl.css b/dist/vocabulary/mapping/0.2.0/webvowl/css/webvowl.css new file mode 100644 index 0000000..335ea85 --- /dev/null +++ b/dist/vocabulary/mapping/0.2.0/webvowl/css/webvowl.css @@ -0,0 +1 @@ +.text{font-family:Helvetica,Arial,sans-serif;font-size:12px}.subtext{font-size:9px}.text.instance-count{fill:#666}.external+text .instance-count{fill:#aaa}.cardinality{font-size:10px}.embedded,.text{pointer-events:none}.allvaluesfromproperty,.class,.disjoint,.disjointwith,.equivalentproperty,.functionalproperty,.inversefunctionalproperty,.object,.objectproperty,.somevaluesfromproperty,.symmetricproperty,.transitiveproperty{fill:#acf}.datatypeproperty,.label .datatype{fill:#9c6}.rdf,.rdfproperty{fill:#c9c}.literal,.node .datatype{fill:#fc3}.deprecated,.deprecatedproperty{fill:#ccc}.nofill,path{fill:none}marker path{fill:#000}.class,.fineline,line,path{stroke:#000}.external+text,.subclass,.subclassproperty,.white{fill:#fff}.cardinality.focused,.cardinality.hovered,.class.hovered,.filled.focused,.filled.hovered,.hoveredForEditing,.property.hovered,.values-from.filled.hovered{fill:red!important;cursor:pointer}.feature{fill:red;cursor:pointer}@-webkit-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-moz-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-o-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}.searchResultA{-webkit-animation-name:pulseAnimation;-moz-animation-name:pulseAnimation;-o-animation-name:pulseAnimation;animation-name:pulseAnimation;-webkit-animation-duration:.8s;-moz-animation-duration:.8s;-o-animation-duration:.8s;animation-duration:.8s;-webkit-transform:translateZ(0);-o-transform:translateZ(0);-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}.searchResultA,.searchResultB{fill:none;stroke-width:5;stroke:red}.hovered-MathSymbol{fill:none}.focused,.hovered-MathSymbol,path.hovered{stroke:red!important}.feature:hover,.feature_hover,.indirect-highlighting{fill:#f90;cursor:pointer}.values-from{stroke:#69c}.symbol,.values-from.filled{fill:#69c}.class,line,path{stroke-width:2}.fineline{stroke-width:1}.anonymous,.dashed{stroke-dasharray:8}.dotted{stroke-dasharray:3}circle.focused,rect.focused{stroke-width:4px}.nostroke{stroke:none}.addDataPropertyElement{fill:#9c6!important;cursor:pointer;stroke-width:2;stroke:#000}.addDataPropertyElement:hover{fill:#f90!important;cursor:pointer;stroke-width:2;stroke:#000}.superHiddenElement{fill:rgba(255,153,0,.4);cursor:pointer;stroke-width:0;stroke:#000}.superOpacityElement{opacity:0}.deleteParentElement:hover{fill:#f90;cursor:pointer;stroke-width:2;stroke:#000}.deleteParentElement{fill:red;cursor:pointer;stroke-width:2;stroke:#000}.classDraggerNodeHovered,.classNodeDragPath{stroke:#000;stroke-width:2px}.classDraggerNodeHovered{fill:#f90;cursor:pointer}.classDraggerNode{fill:#acf;stroke:#000;stroke-width:2px}marker path{stroke-dasharray:100} \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.2.0/webvowl/data/foaf.json b/dist/vocabulary/mapping/0.2.0/webvowl/data/foaf.json new file mode 100644 index 0000000..beaaffc --- /dev/null +++ b/dist/vocabulary/mapping/0.2.0/webvowl/data/foaf.json @@ -0,0 +1,2894 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.6), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "undefined" ], + "baseIris" : [ "http://schema.org", "http://www.w3.org/2000/01/rdf-schema", "http://www.w3.org/2003/01/geo/wgs84_pos", "http://purl.org/dc/terms", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "http://www.w3.org/2000/10/swap/pim/contact", "http://www.w3.org/2004/02/skos/core" ], + "prefixList" : { + "owl" : "http://www.w3.org/2002/07/owl#", + "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "wot" : "http://xmlns.com/wot/0.1/", + "xsd" : "http://www.w3.org/2001/XMLSchema#", + "dc" : "http://purl.org/dc/elements/1.1/", + "xml" : "http://www.w3.org/XML/1998/namespace", + "vs" : "http://www.w3.org/2003/06/sw-vocab-status/ns#", + "foaf" : "http://xmlns.com/foaf/0.1/", + "rdfs" : "http://www.w3.org/2000/01/rdf-schema#" + }, + "title" : { + "undefined" : "Friend of a Friend (FOAF) vocabulary" + }, + "iri" : "http://xmlns.com/foaf/0.1/", + "description" : { + "undefined" : "The Friend of a Friend (FOAF) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language." + }, + "other" : { + "title" : [ { + "identifier" : "title", + "language" : "undefined", + "value" : "Friend of a Friend (FOAF) vocabulary", + "type" : "label" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "3", + "type" : "owl:Thing" + }, { + "id" : "9", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:equivalentClass" + }, { + "id" : "18", + "type" : "owl:Thing" + }, { + "id" : "19", + "type" : "owl:Thing" + }, { + "id" : "5", + "type" : "owl:Thing" + }, { + "id" : "20", + "type" : "rdfs:Literal" + }, { + "id" : "8", + "type" : "rdfs:Literal" + }, { + "id" : "11", + "type" : "owl:Class" + }, { + "id" : "21", + "type" : "owl:Thing" + }, { + "id" : "22", + "type" : "rdfs:Literal" + }, { + "id" : "24", + "type" : "rdfs:Literal" + }, { + "id" : "26", + "type" : "rdfs:Literal" + }, { + "id" : "27", + "type" : "rdfs:Literal" + }, { + "id" : "37", + "type" : "owl:equivalentClass" + }, { + "id" : "45", + "type" : "rdfs:Literal" + }, { + "id" : "46", + "type" : "rdfs:Literal" + }, { + "id" : "53", + "type" : "rdfs:Literal" + }, { + "id" : "56", + "type" : "rdfs:Literal" + }, { + "id" : "59", + "type" : "rdfs:Literal" + }, { + "id" : "60", + "type" : "owl:Class" + }, { + "id" : "61", + "type" : "rdfs:Literal" + }, { + "id" : "6", + "type" : "rdfs:Literal" + }, { + "id" : "62", + "type" : "rdfs:Literal" + }, { + "id" : "12", + "type" : "owl:equivalentClass" + }, { + "id" : "55", + "type" : "rdfs:Literal" + }, { + "id" : "69", + "type" : "rdfs:Literal" + }, { + "id" : "71", + "type" : "owl:Class" + }, { + "id" : "36", + "type" : "owl:Class" + }, { + "id" : "86", + "type" : "owl:Class" + }, { + "id" : "83", + "type" : "owl:Class" + }, { + "id" : "94", + "type" : "owl:Class" + }, { + "id" : "73", + "type" : "rdfs:Literal" + }, { + "id" : "68", + "type" : "rdfs:Literal" + }, { + "id" : "93", + "type" : "rdfs:Literal" + }, { + "id" : "33", + "type" : "owl:Thing" + }, { + "id" : "49", + "type" : "rdfs:Literal" + }, { + "id" : "29", + "type" : "owl:Thing" + }, { + "id" : "101", + "type" : "rdfs:Literal" + }, { + "id" : "39", + "type" : "owl:Thing" + }, { + "id" : "63", + "type" : "owl:equivalentClass" + }, { + "id" : "64", + "type" : "owl:equivalentClass" + }, { + "id" : "102", + "type" : "owl:equivalentClass" + }, { + "id" : "78", + "type" : "owl:Class" + }, { + "id" : "77", + "type" : "owl:Class" + }, { + "id" : "13", + "type" : "owl:equivalentClass" + }, { + "id" : "58", + "type" : "rdfs:Literal" + }, { + "id" : "100", + "type" : "rdfs:Literal" + }, { + "id" : "106", + "type" : "rdfs:Literal" + }, { + "id" : "52", + "type" : "rdfs:Literal" + }, { + "id" : "88", + "type" : "rdfs:Literal" + }, { + "id" : "118", + "type" : "rdfs:Literal" + }, { + "id" : "126", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:equivalentClass" + }, { + "id" : "32", + "type" : "owl:equivalentClass" + }, { + "id" : "10", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "3", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2004/02/skos/core#Concept", + "baseIri" : "http://www.w3.org/2004/02/skos/core", + "instances" : 0, + "label" : { + "IRI-based" : "Concept", + "undefined" : "Concept" + }, + "attributes" : [ "external" ], + "id" : "9" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Agent", + "equivalent" : [ "13" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Agent", + "undefined" : "Agent" + }, + "subClasses" : [ "10", "11", "12" ], + "comment" : { + "undefined" : "An agent (eg. person, group, software or physical artifact)." + }, + "attributes" : [ "equivalent" ], + "id" : "1" + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "18", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "19", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "5", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "20", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "8", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Organization", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Organization", + "undefined" : "Organization" + }, + "comment" : { + "undefined" : "An organization." + }, + "id" : "11", + "superClasses" : [ "1" ] + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "21", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "22", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "24", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "26", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "27", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://schema.org/CreativeWork", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "CreativeWork" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "37" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "45", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "46", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "53", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "56", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "59", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Project", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Project", + "undefined" : "Project" + }, + "comment" : { + "undefined" : "A project (a collective endeavour of some kind)." + }, + "id" : "60" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "61", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "6", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "62", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "equivalent" : [ "63", "64" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Person", + "undefined" : "Person" + }, + "comment" : { + "undefined" : "A person." + }, + "attributes" : [ "equivalent" ], + "id" : "12", + "superClasses" : [ "1", "36" ] + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "55", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "69", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/PersonalProfileDocument", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "PersonalProfileDocument", + "undefined" : "PersonalProfileDocument" + }, + "comment" : { + "undefined" : "A personal profile RDF document." + }, + "id" : "71", + "superClasses" : [ "2" ] + }, { + "iri" : "http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing", + "baseIri" : "http://www.w3.org/2003/01/geo/wgs84_pos", + "instances" : 0, + "label" : { + "IRI-based" : "SpatialThing", + "undefined" : "Spatial Thing" + }, + "subClasses" : [ "12" ], + "attributes" : [ "external" ], + "id" : "36" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineChatAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineChatAccount", + "undefined" : "Online Chat Account" + }, + "comment" : { + "undefined" : "An online chat account." + }, + "id" : "86", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineGamingAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineGamingAccount", + "undefined" : "Online Gaming Account" + }, + "comment" : { + "undefined" : "An online gaming account." + }, + "id" : "83", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/LabelProperty", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "LabelProperty", + "undefined" : "Label Property" + }, + "comment" : { + "undefined" : "A foaf:LabelProperty is any RDF property with texual values that serve as labels." + }, + "id" : "94" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "73", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "68", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "93", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "33", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "49", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "29", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "101", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "39", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/10/swap/pim/contact#Person", + "baseIri" : "http://www.w3.org/2000/10/swap/pim/contact", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "63" + }, { + "iri" : "http://schema.org/Person", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "64" + }, { + "iri" : "http://schema.org/ImageObject", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "ImageObject" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "102" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineAccount", + "undefined" : "Online Account" + }, + "subClasses" : [ "77", "86", "83" ], + "comment" : { + "undefined" : "An online account." + }, + "id" : "78" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineEcommerceAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineEcommerceAccount", + "undefined" : "Online E-commerce Account" + }, + "comment" : { + "undefined" : "An online e-commerce account." + }, + "id" : "77", + "superClasses" : [ "78" ] + }, { + "iri" : "http://purl.org/dc/terms/Agent", + "baseIri" : "http://purl.org/dc/terms", + "instances" : 0, + "label" : { + "IRI-based" : "Agent" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "13" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "58", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "100", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "106", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "52", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "88", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "118", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Class", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "instances" : 0, + "label" : { + "IRI-based" : "Class" + }, + "attributes" : [ "external" ], + "id" : "126" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Document", + "equivalent" : [ "37" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Document", + "undefined" : "Document" + }, + "subClasses" : [ "71", "32" ], + "comment" : { + "undefined" : "A document." + }, + "attributes" : [ "equivalent" ], + "id" : "2" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Image", + "equivalent" : [ "102" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Image", + "undefined" : "Image" + }, + "comment" : { + "undefined" : "An image." + }, + "attributes" : [ "equivalent" ], + "id" : "32", + "superClasses" : [ "2" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/Group", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Group", + "undefined" : "Group" + }, + "comment" : { + "undefined" : "A class of Agents." + }, + "id" : "10", + "superClasses" : [ "1" ] + } ], + "property" : [ { + "id" : "0", + "type" : "owl:objectProperty" + }, { + "id" : "4", + "type" : "owl:datatypeProperty" + }, { + "id" : "7", + "type" : "owl:datatypeProperty" + }, { + "id" : "14", + "type" : "owl:objectProperty" + }, { + "id" : "16", + "type" : "owl:objectProperty" + }, { + "id" : "17", + "type" : "owl:objectProperty" + }, { + "id" : "23", + "type" : "owl:objectProperty" + }, { + "id" : "25", + "type" : "owl:objectProperty" + }, { + "id" : "28", + "type" : "owl:objectProperty" + }, { + "id" : "30", + "type" : "owl:objectProperty" + }, { + "id" : "31", + "type" : "owl:objectProperty" + }, { + "id" : "35", + "type" : "owl:objectProperty" + }, { + "id" : "38", + "type" : "owl:objectProperty" + }, { + "id" : "44", + "type" : "owl:datatypeProperty" + }, { + "id" : "47", + "type" : "owl:objectProperty" + }, { + "id" : "48", + "type" : "owl:datatypeProperty" + }, { + "id" : "50", + "type" : "owl:objectProperty" + }, { + "id" : "51", + "type" : "owl:datatypeProperty" + }, { + "id" : "54", + "type" : "owl:datatypeProperty" + }, { + "id" : "57", + "type" : "owl:datatypeProperty" + }, { + "id" : "65", + "type" : "owl:datatypeProperty" + }, { + "id" : "66", + "type" : "owl:datatypeProperty" + }, { + "id" : "67", + "type" : "owl:datatypeProperty" + }, { + "id" : "70", + "type" : "owl:datatypeProperty" + }, { + "id" : "72", + "type" : "owl:datatypeProperty" + }, { + "id" : "15", + "type" : "owl:objectProperty" + }, { + "id" : "74", + "type" : "rdfs:SubClassOf" + }, { + "id" : "75", + "type" : "rdfs:SubClassOf" + }, { + "id" : "76", + "type" : "rdfs:SubClassOf" + }, { + "id" : "79", + "type" : "rdfs:SubClassOf" + }, { + "id" : "80", + "type" : "owl:objectProperty" + }, { + "id" : "81", + "type" : "owl:objectProperty" + }, { + "id" : "82", + "type" : "rdfs:SubClassOf" + }, { + "id" : "34", + "type" : "owl:objectProperty" + }, { + "id" : "85", + "type" : "rdfs:SubClassOf" + }, { + "id" : "87", + "type" : "owl:datatypeProperty" + }, { + "id" : "89", + "type" : "rdfs:SubClassOf" + }, { + "id" : "90", + "type" : "rdfs:SubClassOf" + }, { + "id" : "91", + "type" : "owl:objectProperty" + }, { + "id" : "92", + "type" : "owl:datatypeProperty" + }, { + "id" : "95", + "type" : "owl:datatypeProperty" + }, { + "id" : "96", + "type" : "owl:objectProperty" + }, { + "id" : "97", + "type" : "owl:datatypeProperty" + }, { + "id" : "98", + "type" : "rdfs:SubClassOf" + }, { + "id" : "99", + "type" : "owl:datatypeProperty" + }, { + "id" : "43", + "type" : "owl:objectProperty" + }, { + "id" : "42", + "type" : "owl:objectProperty" + }, { + "id" : "103", + "type" : "owl:datatypeProperty" + }, { + "id" : "104", + "type" : "owl:objectProperty" + }, { + "id" : "105", + "type" : "owl:datatypeProperty" + }, { + "id" : "107", + "type" : "owl:objectProperty" + }, { + "id" : "108", + "type" : "owl:datatypeProperty" + }, { + "id" : "109", + "type" : "owl:objectProperty" + }, { + "id" : "110", + "type" : "owl:objectProperty" + }, { + "id" : "40", + "type" : "owl:objectProperty" + }, { + "id" : "41", + "type" : "owl:objectProperty" + }, { + "id" : "84", + "type" : "owl:objectProperty" + }, { + "id" : "111", + "type" : "owl:datatypeProperty" + }, { + "id" : "112", + "type" : "owl:datatypeProperty" + }, { + "id" : "113", + "type" : "owl:datatypeProperty" + }, { + "id" : "114", + "type" : "owl:objectProperty" + }, { + "id" : "116", + "type" : "owl:disjointWith" + }, { + "id" : "117", + "type" : "owl:disjointWith" + }, { + "id" : "119", + "type" : "owl:datatypeProperty" + }, { + "id" : "120", + "type" : "owl:disjointWith" + }, { + "id" : "121", + "type" : "owl:disjointWith" + }, { + "id" : "122", + "type" : "owl:objectProperty" + }, { + "id" : "123", + "type" : "owl:datatypeProperty" + }, { + "id" : "124", + "type" : "owl:objectProperty" + }, { + "id" : "125", + "type" : "owl:datatypeProperty" + }, { + "id" : "127", + "type" : "owl:datatypeProperty" + }, { + "id" : "115", + "type" : "owl:objectProperty" + }, { + "id" : "128", + "type" : "owl:objectProperty" + }, { + "id" : "129", + "type" : "owl:objectProperty" + } ], + "propertyAttribute" : [ { + "iri" : "http://xmlns.com/foaf/0.1/interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "interest", + "undefined" : "interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A page about a topic of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "0" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox_sha1sum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "6", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox_sha1sum", + "undefined" : "sha1sum of a personal mailbox URI name" + }, + "domain" : "5", + "comment" : { + "undefined" : "The sha1sum of the URI of an Internet mailbox associated with exactly one owner, the first owner of the mailbox." + }, + "attributes" : [ "datatype" ], + "id" : "4" + }, { + "iri" : "http://xmlns.com/foaf/0.1/nick", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "8", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "nick", + "undefined" : "nickname" + }, + "domain" : "5", + "comment" : { + "undefined" : "A short informal nickname characterising an agent (includes login identifiers, IRC and other chat nicknames)." + }, + "attributes" : [ "datatype" ], + "id" : "7" + }, { + "iri" : "http://xmlns.com/foaf/0.1/openid", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "openid", + "undefined" : "openid" + }, + "superproperty" : [ "15" ], + "domain" : "1", + "comment" : { + "undefined" : "An OpenID for an Agent." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "14" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workInfoHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workInfoHomepage", + "undefined" : "work info homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A work info homepage of some person; a page about their work for some organization." + }, + "attributes" : [ "object" ], + "id" : "16" + }, { + "iri" : "http://xmlns.com/foaf/0.1/pastProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "pastProject", + "undefined" : "past project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A project this person has previously worked on." + }, + "attributes" : [ "object" ], + "id" : "17" + }, { + "iri" : "http://xmlns.com/foaf/0.1/theme", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "theme", + "undefined" : "theme" + }, + "domain" : "19", + "comment" : { + "undefined" : "A theme." + }, + "attributes" : [ "object" ], + "id" : "23" + }, { + "iri" : "http://xmlns.com/foaf/0.1/knows", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "12", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "knows", + "undefined" : "knows" + }, + "domain" : "12", + "comment" : { + "undefined" : "A person known by this person (indicating some level of reciprocated interaction between the parties)." + }, + "attributes" : [ "object" ], + "id" : "25" + }, { + "iri" : "http://xmlns.com/foaf/0.1/focus", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "29", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "focus", + "undefined" : "focus" + }, + "domain" : "9", + "comment" : { + "undefined" : "The underlying or 'focal' entity associated with some SKOS-described concept." + }, + "attributes" : [ "object" ], + "id" : "28" + }, { + "iri" : "http://xmlns.com/foaf/0.1/phone", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "phone", + "undefined" : "phone" + }, + "domain" : "19", + "comment" : { + "undefined" : "A phone, specified using fully qualified tel: URI scheme (refs: http://www.w3.org/Addressing/schemes.html#tel)." + }, + "attributes" : [ "object" ], + "id" : "30" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depicts", + "inverse" : "34", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "33", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depicts", + "undefined" : "depicts" + }, + "domain" : "32", + "comment" : { + "undefined" : "A thing depicted in this representation." + }, + "attributes" : [ "object" ], + "id" : "31" + }, { + "iri" : "http://xmlns.com/foaf/0.1/based_near", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "36", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "based_near", + "undefined" : "based near" + }, + "domain" : "36", + "comment" : { + "undefined" : "A location that something is based near, for some broadly human notion of near." + }, + "attributes" : [ "object" ], + "id" : "35" + }, { + "iri" : "http://xmlns.com/foaf/0.1/page", + "inverse" : "40", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "page", + "undefined" : "page" + }, + "domain" : "39", + "subproperty" : [ "15", "41", "42", "43" ], + "comment" : { + "undefined" : "A page or document about this thing." + }, + "attributes" : [ "object" ], + "id" : "38" + }, { + "iri" : "http://xmlns.com/foaf/0.1/geekcode", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "26", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "geekcode", + "undefined" : "geekcode" + }, + "domain" : "12", + "comment" : { + "undefined" : "A textual geekcode for this person, see http://www.geekcode.com/geek.html" + }, + "attributes" : [ "datatype" ], + "id" : "44" + }, { + "iri" : "http://xmlns.com/foaf/0.1/primaryTopic", + "inverse" : "15", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "primaryTopic", + "undefined" : "primary topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "The primary topic of some page or document." + }, + "attributes" : [ "object", "functional" ], + "id" : "47" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "49", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenName", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "48" + }, { + "iri" : "http://xmlns.com/foaf/0.1/schoolHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "schoolHomepage", + "undefined" : "schoolHomepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A homepage of a school attended by the person." + }, + "attributes" : [ "object" ], + "id" : "50" + }, { + "iri" : "http://xmlns.com/foaf/0.1/gender", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "52", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "gender", + "undefined" : "gender" + }, + "domain" : "1", + "comment" : { + "undefined" : "The gender of this Agent (typically but not necessarily 'male' or 'female')." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "51" + }, { + "iri" : "http://xmlns.com/foaf/0.1/dnaChecksum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "55", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "dnaChecksum", + "undefined" : "DNA checksum" + }, + "domain" : "19", + "comment" : { + "undefined" : "A checksum for the DNA of some thing. Joke." + }, + "attributes" : [ "datatype" ], + "id" : "54" + }, { + "iri" : "http://xmlns.com/foaf/0.1/lastName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "58", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "lastName", + "undefined" : "lastName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The last name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "57" + }, { + "iri" : "http://xmlns.com/foaf/0.1/status", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "45", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "status", + "undefined" : "status" + }, + "domain" : "1", + "comment" : { + "undefined" : "A string expressing what the user is happy for the general public (normally) to know about their current activity." + }, + "attributes" : [ "datatype" ], + "id" : "65" + }, { + "iri" : "http://xmlns.com/foaf/0.1/yahooChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "46", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "yahooChatID", + "undefined" : "Yahoo chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A Yahoo chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "66" + }, { + "iri" : "http://xmlns.com/foaf/0.1/name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "68", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "name", + "undefined" : "name" + }, + "domain" : "19", + "comment" : { + "undefined" : "A name for some thing." + }, + "attributes" : [ "datatype" ], + "id" : "67" + }, { + "iri" : "http://xmlns.com/foaf/0.1/icqChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "53", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "icqChatID", + "undefined" : "ICQ chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An ICQ chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "70" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "73", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenname", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "72" + }, { + "iri" : "http://xmlns.com/foaf/0.1/isPrimaryTopicOf", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "isPrimaryTopicOf", + "undefined" : "is primary topic of" + }, + "superproperty" : [ "38" ], + "domain" : "39", + "subproperty" : [ "14", "43" ], + "comment" : { + "undefined" : "A document that this thing is the primary topic of." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "15" + }, { + "range" : "2", + "domain" : "32", + "attributes" : [ "anonymous", "object" ], + "id" : "74" + }, { + "range" : "2", + "domain" : "71", + "attributes" : [ "anonymous", "object" ], + "id" : "75" + }, { + "range" : "78", + "domain" : "77", + "attributes" : [ "anonymous", "object" ], + "id" : "76" + }, { + "range" : "36", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "79" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountServiceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountServiceHomepage", + "undefined" : "account service homepage" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates a homepage of the service provide for this online account." + }, + "attributes" : [ "object" ], + "id" : "80" + }, { + "iri" : "http://xmlns.com/foaf/0.1/logo", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "logo", + "undefined" : "logo" + }, + "domain" : "19", + "comment" : { + "undefined" : "A logo representing some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "81" + }, { + "range" : "78", + "domain" : "83", + "attributes" : [ "anonymous", "object" ], + "id" : "82" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depiction", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depiction", + "undefined" : "depiction" + }, + "domain" : "33", + "subproperty" : [ "84" ], + "comment" : { + "undefined" : "A depiction of some thing." + }, + "attributes" : [ "object" ], + "id" : "34" + }, { + "range" : "78", + "domain" : "86", + "attributes" : [ "anonymous", "object" ], + "id" : "85" + }, { + "iri" : "http://xmlns.com/foaf/0.1/family_name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "88", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "family_name", + "undefined" : "family_name" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "87" + }, { + "range" : "1", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "89" + }, { + "range" : "1", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "90" + }, { + "iri" : "http://xmlns.com/foaf/0.1/fundedBy", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "fundedBy", + "undefined" : "funded by" + }, + "domain" : "19", + "comment" : { + "undefined" : "An organization funding a project or person." + }, + "attributes" : [ "object" ], + "id" : "91" + }, { + "iri" : "http://xmlns.com/foaf/0.1/title", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "93", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "title", + "undefined" : "title" + }, + "domain" : "19", + "comment" : { + "undefined" : "Title (Mr, Mrs, Ms, Dr. etc)" + }, + "attributes" : [ "datatype" ], + "id" : "92" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "59", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountName", + "undefined" : "account name" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates the name (identifier) associated with this online account." + }, + "attributes" : [ "datatype" ], + "id" : "95" + }, { + "iri" : "http://xmlns.com/foaf/0.1/account", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "account", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "96" + }, { + "iri" : "http://xmlns.com/foaf/0.1/jabberID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "69", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "jabberID", + "undefined" : "jabber ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A jabber ID for something." + }, + "attributes" : [ "datatype" ], + "id" : "97" + }, { + "range" : "1", + "domain" : "10", + "attributes" : [ "anonymous", "object" ], + "id" : "98" + }, { + "iri" : "http://xmlns.com/foaf/0.1/age", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "100", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "age", + "undefined" : "age" + }, + "domain" : "1", + "comment" : { + "undefined" : "The age in years of some agent." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "99" + }, { + "iri" : "http://xmlns.com/foaf/0.1/homepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "homepage", + "undefined" : "homepage" + }, + "superproperty" : [ "15", "38" ], + "domain" : "39", + "comment" : { + "undefined" : "A homepage for some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "43" + }, { + "iri" : "http://xmlns.com/foaf/0.1/tipjar", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "tipjar", + "undefined" : "tipjar" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A tipjar document for this agent, describing means for payment and reward." + }, + "attributes" : [ "object" ], + "id" : "42" + }, { + "iri" : "http://xmlns.com/foaf/0.1/msnChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "61", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "msnChatID", + "undefined" : "MSN chat ID" + }, + "domain" : "5", + "comment" : { + "undefined" : "An MSN chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "103" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic_interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic_interest", + "undefined" : "topic_interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A thing of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "104" + }, { + "iri" : "http://xmlns.com/foaf/0.1/aimChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "106", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "aimChatID", + "undefined" : "AIM chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An AIM chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "105" + }, { + "iri" : "http://xmlns.com/foaf/0.1/currentProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "currentProject", + "undefined" : "current project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A current project this person works on." + }, + "attributes" : [ "object" ], + "id" : "107" + }, { + "iri" : "http://xmlns.com/foaf/0.1/skypeID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "20", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "skypeID", + "undefined" : "Skype ID" + }, + "domain" : "1", + "comment" : { + "undefined" : "A Skype ID" + }, + "attributes" : [ "datatype" ], + "id" : "108" + }, { + "iri" : "http://xmlns.com/foaf/0.1/holdsAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "holdsAccount", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "109" + }, { + "iri" : "http://xmlns.com/foaf/0.1/thumbnail", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "thumbnail", + "undefined" : "thumbnail" + }, + "domain" : "32", + "comment" : { + "undefined" : "A derived thumbnail image." + }, + "attributes" : [ "object" ], + "id" : "110" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic", + "undefined" : "topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "A topic of some page or document." + }, + "attributes" : [ "object" ], + "id" : "40" + }, { + "iri" : "http://xmlns.com/foaf/0.1/weblog", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "weblog", + "undefined" : "weblog" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A weblog of some thing (whether person, group, company etc.)." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "41" + }, { + "iri" : "http://xmlns.com/foaf/0.1/img", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "img", + "undefined" : "image" + }, + "superproperty" : [ "34" ], + "domain" : "12", + "comment" : { + "undefined" : "An image that can be used to represent some thing (ie. those depictions which are particularly representative of something, eg. one's photo on a homepage)." + }, + "attributes" : [ "object" ], + "id" : "84" + }, { + "iri" : "http://xmlns.com/foaf/0.1/birthday", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "56", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "birthday", + "undefined" : "birthday" + }, + "domain" : "1", + "comment" : { + "undefined" : "The birthday of this Agent, represented in mm-dd string form, eg. '12-31'." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "111" + }, { + "iri" : "http://xmlns.com/foaf/0.1/sha1", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "101", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "sha1", + "undefined" : "sha1sum (hex)" + }, + "domain" : "2", + "comment" : { + "undefined" : "A sha1sum hash, in hex." + }, + "attributes" : [ "datatype" ], + "id" : "112" + }, { + "iri" : "http://xmlns.com/foaf/0.1/firstName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "24", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "firstName", + "undefined" : "firstName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The first name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "113" + }, { + "iri" : "http://xmlns.com/foaf/0.1/made", + "inverse" : "115", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "made", + "undefined" : "made" + }, + "domain" : "1", + "comment" : { + "undefined" : "Something that was made by this agent." + }, + "attributes" : [ "object" ], + "id" : "114" + }, { + "range" : "60", + "domain" : "2", + "attributes" : [ "anonymous", "object" ], + "id" : "116" + }, { + "range" : "12", + "domain" : "60", + "attributes" : [ "anonymous", "object" ], + "id" : "117" + }, { + "iri" : "http://xmlns.com/foaf/0.1/familyName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "62", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "familyName", + "undefined" : "familyName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "119" + }, { + "range" : "2", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "120" + }, { + "range" : "12", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "121" + }, { + "iri" : "http://xmlns.com/foaf/0.1/member", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "member", + "undefined" : "member" + }, + "domain" : "10", + "comment" : { + "undefined" : "Indicates a member of a Group" + }, + "attributes" : [ "object" ], + "id" : "122" + }, { + "iri" : "http://xmlns.com/foaf/0.1/plan", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "27", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "plan", + "undefined" : "plan" + }, + "domain" : "12", + "comment" : { + "undefined" : "A .plan comment, in the tradition of finger and '.plan' files." + }, + "attributes" : [ "datatype" ], + "id" : "123" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox", + "undefined" : "personal mailbox" + }, + "domain" : "1", + "comment" : { + "undefined" : "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox. This is a 'static inverse functional property', in that there is (across time and change) at most one individual that ever has any particular value for foaf:mbox." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "124" + }, { + "iri" : "http://xmlns.com/foaf/0.1/surname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "118", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "surname", + "undefined" : "Surname" + }, + "domain" : "12", + "comment" : { + "undefined" : "The surname of some person." + }, + "attributes" : [ "datatype" ], + "id" : "125" + }, { + "iri" : "http://xmlns.com/foaf/0.1/myersBriggs", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "22", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "myersBriggs", + "undefined" : "myersBriggs" + }, + "domain" : "12", + "comment" : { + "undefined" : "A Myers Briggs (MBTI) personality classification." + }, + "attributes" : [ "datatype" ], + "id" : "127" + }, { + "iri" : "http://xmlns.com/foaf/0.1/maker", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "maker", + "undefined" : "maker" + }, + "domain" : "18", + "comment" : { + "undefined" : "An agent that made this thing." + }, + "attributes" : [ "object" ], + "id" : "115" + }, { + "iri" : "http://xmlns.com/foaf/0.1/publications", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "publications", + "undefined" : "publications" + }, + "domain" : "12", + "comment" : { + "undefined" : "A link to the publications of this person." + }, + "attributes" : [ "object" ], + "id" : "128" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workplaceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workplaceHomepage", + "undefined" : "workplace homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A workplace homepage of some person; the homepage of an organization they work for." + }, + "attributes" : [ "object" ], + "id" : "129" + } ] +} \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.2.0/webvowl/data/ontology.json b/dist/vocabulary/mapping/0.2.0/webvowl/data/ontology.json new file mode 100644 index 0000000..6d89dc4 --- /dev/null +++ b/dist/vocabulary/mapping/0.2.0/webvowl/data/ontology.json @@ -0,0 +1,616 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.5), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "en", "undefined" ], + "baseIris" : [ "http://www.w3.org/1999/02/22-rdf-syntax-ns", "http://purl.org/vocommons/voaf", "http://www.w3.org/2000/01/rdf-schema", "https://w3id.org/function/vocabulary/mapping", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "https://w3id.org/function/ontology" ], + "title" : { + "en" : "The Function Ontology - Implementation Mapping vocabulary" + }, + "iri" : "https://w3id.org/function/vocabulary/mapping#", + "version" : "0.2.0", + "author" : [ "https://ben.de-meester.org/#me" ], + "description" : { + "en" : "The Function Ontology Implementation Mapping vocabulary specifies terms relevant to link FnO models to implementations. The specification is online at https://w3id.org/function/spec" + }, + "labels" : { + "en" : "The Function Ontology - Implementation Mapping vocabulary" + }, + "comments" : { + "en" : "-Version 0.2.0: ReturnMapping\r\n-Version 0.1.0: creation." + }, + "other" : { + "priorVersion" : [ { + "identifier" : "priorVersion", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping/0.1.0", + "type" : "label" + } ], + "creator" : [ { + "identifier" : "creator", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + } ], + "versionInfo" : [ { + "identifier" : "versionInfo", + "language" : "undefined", + "value" : "0.2.0", + "type" : "label" + } ], + "title" : [ { + "identifier" : "title", + "language" : "en", + "value" : "The Function Ontology - Implementation Mapping vocabulary", + "type" : "label" + } ], + "seeAlso" : [ { + "identifier" : "seeAlso", + "language" : "undefined", + "value" : "https://w3id.org/function/spec", + "type" : "iri" + } ], + "license" : [ { + "identifier" : "license", + "language" : "undefined", + "value" : "http://creativecommons.org/license/by/3.0/", + "type" : "iri" + } ], + "primaryTopic" : [ { + "identifier" : "primaryTopic", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "rights" : [ { + "identifier" : "rights", + "language" : "en", + "value" : "Copyright Ghent University imec IDLab", + "type" : "label" + } ], + "preferredNamespacePrefix" : [ { + "identifier" : "preferredNamespacePrefix", + "language" : "undefined", + "value" : "fnom", + "type" : "label" + } ], + "publisher" : [ { + "identifier" : "publisher", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + } ], + "modified" : [ { + "identifier" : "modified", + "language" : "undefined", + "value" : "2019-05-29", + "type" : "label" + } ], + "preferredNamespaceUri" : [ { + "identifier" : "preferredNamespaceUri", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping#", + "type" : "label" + } ], + "issued" : [ { + "identifier" : "issued", + "language" : "undefined", + "value" : "2019-05-21", + "type" : "label" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "2", + "type" : "rdfs:Datatype" + }, { + "id" : "3", + "type" : "owl:Class" + }, { + "id" : "4", + "type" : "owl:Thing" + }, { + "id" : "5", + "type" : "owl:Thing" + }, { + "id" : "17", + "type" : "owl:Class" + }, { + "id" : "22", + "type" : "rdfs:Datatype" + }, { + "id" : "21", + "type" : "rdfs:Datatype" + }, { + "id" : "9", + "type" : "owl:Class" + }, { + "id" : "14", + "type" : "owl:Class" + }, { + "id" : "11", + "type" : "owl:Class" + }, { + "id" : "8", + "type" : "owl:Class" + }, { + "id" : "13", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:Class" + }, { + "id" : "16", + "type" : "owl:Class" + }, { + "id" : "25", + "type" : "owl:Class" + }, { + "id" : "26", + "type" : "owl:Class" + }, { + "id" : "19", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "http://www.w3.org/2001/XMLSchema#string", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "2", + "label" : { + "IRI-based" : "string" + } + }, { + "iri" : "https://w3id.org/function/ontology#MethodMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "MethodMapping" + }, + "subClasses" : [ "1" ], + "attributes" : [ "external" ], + "id" : "3" + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "4", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "5", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "https://w3id.org/function/ontology#Parameter", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "Parameter" + }, + "attributes" : [ "external" ], + "id" : "17" + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#int", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "22", + "label" : { + "IRI-based" : "int" + } + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#string", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "21", + "label" : { + "IRI-based" : "string" + } + }, { + "iri" : "https://w3id.org/function/ontology#ReturnMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "ReturnMapping" + }, + "subClasses" : [ "8", "11" ], + "attributes" : [ "external" ], + "id" : "9" + }, { + "iri" : "https://w3id.org/function/ontology#ParameterMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "ParameterMapping" + }, + "subClasses" : [ "13", "16" ], + "attributes" : [ "external" ], + "id" : "14" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#DefaultReturnMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "DefaultReturnMapping", + "en" : "Default Return Mapping" + }, + "comment" : { + "en" : "A default return mapping links the return value of the method to a fno:Output" + }, + "id" : "11", + "superClasses" : [ "9" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#ExceptionReturnMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "ExceptionReturnMapping", + "en" : "Exception Return Mapping" + }, + "comment" : { + "en" : "An exception return mapping links the thrown exception of the method to a fno:Output" + }, + "id" : "8", + "superClasses" : [ "9" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#PropertyParameterMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "PropertyParameterMapping", + "en" : "Property Parameter Mapping" + }, + "comment" : { + "en" : "A property parameter mapping uses a property string to map a parameter of an fno:Implementation to an fno:Parameter" + }, + "id" : "13", + "superClasses" : [ "14" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#StringMethodMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "StringMethodMapping", + "en" : "String Method Mapping" + }, + "comment" : { + "en" : "A string method mapping uses a string to map a method of an fno:Implementation to an fno:Function" + }, + "id" : "1", + "superClasses" : [ "3" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#PositionParameterMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "PositionParameterMapping", + "en" : "Position Parameter Mapping" + }, + "comment" : { + "en" : "A position parameter mapping uses a position to map a parameter of an fno:Implementation to an fno:Parameter" + }, + "id" : "16", + "superClasses" : [ "14" ] + }, { + "iri" : "http://purl.org/vocommons/voaf#Vocabulary", + "baseIri" : "http://purl.org/vocommons/voaf", + "instances" : 0, + "label" : { + "IRI-based" : "Vocabulary" + }, + "individuals" : [ { + "iri" : "https://w3id.org/function/vocabulary/mapping#", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "labels" : { } + } ], + "attributes" : [ "external" ], + "id" : "25" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "individuals" : [ { + "iri" : "https://ben.de-meester.org/#me", + "baseIri" : "https://ben.de-meester.org/", + "annotations" : { + "name" : [ { + "identifier" : "name", + "language" : "en", + "value" : "Ben De Meester", + "type" : "label" + } ], + "mbox" : [ { + "identifier" : "mbox", + "language" : "undefined", + "value" : "mailto:Ben.DeMeester@UGent.be", + "type" : "label" + } ] + }, + "labels" : { + "IRI-based" : "me", + "en" : "Ben De Meester" + } + } ], + "attributes" : [ "external" ], + "id" : "26" + }, { + "iri" : "https://w3id.org/function/ontology#Output", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "Output" + }, + "attributes" : [ "external" ], + "id" : "19" + } ], + "property" : [ { + "id" : "0", + "type" : "owl:datatypeProperty" + }, { + "id" : "6", + "type" : "rdfs:SubClassOf" + }, { + "id" : "7", + "type" : "rdfs:SubClassOf" + }, { + "id" : "10", + "type" : "rdfs:SubClassOf" + }, { + "id" : "12", + "type" : "rdfs:SubClassOf" + }, { + "id" : "15", + "type" : "rdfs:SubClassOf" + }, { + "id" : "18", + "type" : "owl:objectProperty" + }, { + "id" : "20", + "type" : "owl:datatypeProperty" + }, { + "id" : "23", + "type" : "owl:datatypeProperty" + }, { + "id" : "24", + "type" : "owl:objectProperty" + } ], + "propertyAttribute" : [ { + "iri" : "https://w3id.org/function/vocabulary/mapping#method-name", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/vocabulary/mapping#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "method-name", + "en" : "method name" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a method name to a method mapping." + }, + "attributes" : [ "datatype" ], + "id" : "0" + }, { + "range" : "3", + "domain" : "1", + "attributes" : [ "object", "anonymous" ], + "id" : "6" + }, { + "range" : "9", + "domain" : "8", + "attributes" : [ "object", "anonymous" ], + "id" : "7" + }, { + "range" : "9", + "domain" : "11", + "attributes" : [ "object", "anonymous" ], + "id" : "10" + }, { + "range" : "14", + "domain" : "13", + "attributes" : [ "object", "anonymous" ], + "id" : "12" + }, { + "range" : "14", + "domain" : "16", + "attributes" : [ "object", "anonymous" ], + "id" : "15" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#functionOutput", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/vocabulary/mapping#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "functionOutput", + "en" : "function output" + }, + "domain" : "5", + "comment" : { + "en" : "Connects a function output to a return mapping." + }, + "attributes" : [ "object" ], + "id" : "18" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#implementationProperty", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "21", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/vocabulary/mapping#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "implementationProperty", + "en" : "implementation property" + }, + "domain" : "4", + "comment" : { + "en" : "Connects an implementation parameter label to a parameter mapping." + }, + "attributes" : [ "datatype" ], + "id" : "20" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#implementationParameterPosition", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "22", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/vocabulary/mapping#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "implementationParameterPosition", + "en" : "implementation parameter position" + }, + "domain" : "4", + "comment" : { + "en" : "Connects an implementation parameter position to a parameter mapping." + }, + "attributes" : [ "datatype" ], + "id" : "23" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#functionParameter", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "17", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/vocabulary/mapping#", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "functionParameter", + "en" : "function parameter" + }, + "domain" : "16", + "comment" : { + "en" : "Connects a function parameter to a parameter mapping." + }, + "attributes" : [ "object" ], + "id" : "24" + } ] +} \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.2.0/webvowl/favicon.ico b/dist/vocabulary/mapping/0.2.0/webvowl/favicon.ico new file mode 100644 index 0000000..a857d51 Binary files /dev/null and b/dist/vocabulary/mapping/0.2.0/webvowl/favicon.ico differ diff --git a/dist/vocabulary/mapping/0.2.0/webvowl/index.html b/dist/vocabulary/mapping/0.2.0/webvowl/index.html new file mode 100644 index 0000000..09acde5 --- /dev/null +++ b/dist/vocabulary/mapping/0.2.0/webvowl/index.html @@ -0,0 +1,480 @@ + + + + + + + + + + + + + + + WebVOWL + + + +
    +
    + + + + + + +
    + + + + +
    +
    +
    + +
    +
    >
    + +
    + +
    + + +
    +
    +
    +

    +

    +

    +

    +

    -

    +
    +
    + + +
    +
    +
    +
    + + + +
    + + + + + + + \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.2.0/webvowl/js/d3.min.js b/dist/vocabulary/mapping/0.2.0/webvowl/js/d3.min.js new file mode 100644 index 0000000..1664873 --- /dev/null +++ b/dist/vocabulary/mapping/0.2.0/webvowl/js/d3.min.js @@ -0,0 +1,5 @@ +!function(){function n(n){return n&&(n.ownerDocument||n.document||n).documentElement}function t(n){return n&&(n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView)}function e(n,t){return t>n?-1:n>t?1:n>=t?0:NaN}function r(n){return null===n?NaN:+n}function i(n){return!isNaN(n)}function u(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)<0?r=u+1:i=u}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)>0?i=u:r=u+1}return r}}}function o(n){return n.length}function a(n){for(var t=1;n*t%1;)t*=10;return t}function l(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function c(){this._=Object.create(null)}function f(n){return(n+="")===bo||n[0]===_o?_o+n:n}function s(n){return(n+="")[0]===_o?n.slice(1):n}function h(n){return f(n)in this._}function p(n){return(n=f(n))in this._&&delete this._[n]}function g(){var n=[];for(var t in this._)n.push(s(t));return n}function v(){var n=0;for(var t in this._)++n;return n}function d(){for(var n in this._)return!1;return!0}function y(){this._=Object.create(null)}function m(n){return n}function M(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function x(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e=0,r=wo.length;r>e;++e){var i=wo[e]+t;if(i in n)return i}}function b(){}function _(){}function w(n){function t(){for(var t,r=e,i=-1,u=r.length;++ie;e++)for(var i,u=n[e],o=0,a=u.length;a>o;o++)(i=u[o])&&t(i,o,e);return n}function Z(n){return ko(n,qo),n}function V(n){var t,e;return function(r,i,u){var o,a=n[u].update,l=a.length;for(u!=e&&(e=u,t=0),i>=t&&(t=i+1);!(o=a[t])&&++t0&&(n=n.slice(0,a));var c=To.get(n);return c&&(n=c,l=B),a?t?i:r:t?b:u}function $(n,t){return function(e){var r=ao.event;ao.event=e,t[0]=this.__data__;try{n.apply(this,t)}finally{ao.event=r}}}function B(n,t){var e=$(n,t);return function(n){var t=this,r=n.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||e.call(t,n)}}function W(e){var r=".dragsuppress-"+ ++Do,i="click"+r,u=ao.select(t(e)).on("touchmove"+r,S).on("dragstart"+r,S).on("selectstart"+r,S);if(null==Ro&&(Ro="onselectstart"in e?!1:x(e.style,"userSelect")),Ro){var o=n(e).style,a=o[Ro];o[Ro]="none"}return function(n){if(u.on(r,null),Ro&&(o[Ro]=a),n){var t=function(){u.on(i,null)};u.on(i,function(){S(),t()},!0),setTimeout(t,0)}}}function J(n,e){e.changedTouches&&(e=e.changedTouches[0]);var r=n.ownerSVGElement||n;if(r.createSVGPoint){var i=r.createSVGPoint();if(0>Po){var u=t(n);if(u.scrollX||u.scrollY){r=ao.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var o=r[0][0].getScreenCTM();Po=!(o.f||o.e),r.remove()}}return Po?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),i=i.matrixTransform(n.getScreenCTM().inverse()),[i.x,i.y]}var a=n.getBoundingClientRect();return[e.clientX-a.left-n.clientLeft,e.clientY-a.top-n.clientTop]}function G(){return ao.event.changedTouches[0].identifier}function K(n){return n>0?1:0>n?-1:0}function Q(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(t[1]-n[1])*(e[0]-n[0])}function nn(n){return n>1?0:-1>n?Fo:Math.acos(n)}function tn(n){return n>1?Io:-1>n?-Io:Math.asin(n)}function en(n){return((n=Math.exp(n))-1/n)/2}function rn(n){return((n=Math.exp(n))+1/n)/2}function un(n){return((n=Math.exp(2*n))-1)/(n+1)}function on(n){return(n=Math.sin(n/2))*n}function an(){}function ln(n,t,e){return this instanceof ln?(this.h=+n,this.s=+t,void(this.l=+e)):arguments.length<2?n instanceof ln?new ln(n.h,n.s,n.l):_n(""+n,wn,ln):new ln(n,t,e)}function cn(n,t,e){function r(n){return n>360?n-=360:0>n&&(n+=360),60>n?u+(o-u)*n/60:180>n?o:240>n?u+(o-u)*(240-n)/60:u}function i(n){return Math.round(255*r(n))}var u,o;return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:0>t?0:t>1?1:t,e=0>e?0:e>1?1:e,o=.5>=e?e*(1+t):e+t-e*t,u=2*e-o,new mn(i(n+120),i(n),i(n-120))}function fn(n,t,e){return this instanceof fn?(this.h=+n,this.c=+t,void(this.l=+e)):arguments.length<2?n instanceof fn?new fn(n.h,n.c,n.l):n instanceof hn?gn(n.l,n.a,n.b):gn((n=Sn((n=ao.rgb(n)).r,n.g,n.b)).l,n.a,n.b):new fn(n,t,e)}function sn(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new hn(e,Math.cos(n*=Yo)*t,Math.sin(n)*t)}function hn(n,t,e){return this instanceof hn?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof hn?new hn(n.l,n.a,n.b):n instanceof fn?sn(n.h,n.c,n.l):Sn((n=mn(n)).r,n.g,n.b):new hn(n,t,e)}function pn(n,t,e){var r=(n+16)/116,i=r+t/500,u=r-e/200;return i=vn(i)*na,r=vn(r)*ta,u=vn(u)*ea,new mn(yn(3.2404542*i-1.5371385*r-.4985314*u),yn(-.969266*i+1.8760108*r+.041556*u),yn(.0556434*i-.2040259*r+1.0572252*u))}function gn(n,t,e){return n>0?new fn(Math.atan2(e,t)*Zo,Math.sqrt(t*t+e*e),n):new fn(NaN,NaN,n)}function vn(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function dn(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function yn(n){return Math.round(255*(.00304>=n?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function mn(n,t,e){return this instanceof mn?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof mn?new mn(n.r,n.g,n.b):_n(""+n,mn,cn):new mn(n,t,e)}function Mn(n){return new mn(n>>16,n>>8&255,255&n)}function xn(n){return Mn(n)+""}function bn(n){return 16>n?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function _n(n,t,e){var r,i,u,o=0,a=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(Nn(i[0]),Nn(i[1]),Nn(i[2]))}return(u=ua.get(n))?t(u.r,u.g,u.b):(null==n||"#"!==n.charAt(0)||isNaN(u=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&u)>>4,o=o>>4|o,a=240&u,a=a>>4|a,l=15&u,l=l<<4|l):7===n.length&&(o=(16711680&u)>>16,a=(65280&u)>>8,l=255&u)),t(o,a,l))}function wn(n,t,e){var r,i,u=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-u,l=(o+u)/2;return a?(i=.5>l?a/(o+u):a/(2-o-u),r=n==o?(t-e)/a+(e>t?6:0):t==o?(e-n)/a+2:(n-t)/a+4,r*=60):(r=NaN,i=l>0&&1>l?0:r),new ln(r,i,l)}function Sn(n,t,e){n=kn(n),t=kn(t),e=kn(e);var r=dn((.4124564*n+.3575761*t+.1804375*e)/na),i=dn((.2126729*n+.7151522*t+.072175*e)/ta),u=dn((.0193339*n+.119192*t+.9503041*e)/ea);return hn(116*i-16,500*(r-i),200*(i-u))}function kn(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Nn(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}function En(n){return"function"==typeof n?n:function(){return n}}function An(n){return function(t,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=null),Cn(t,e,n,r)}}function Cn(n,t,e,r){function i(){var n,t=l.status;if(!t&&Ln(l)||t>=200&&300>t||304===t){try{n=e.call(u,l)}catch(r){return void o.error.call(u,r)}o.load.call(u,n)}else o.error.call(u,l)}var u={},o=ao.dispatch("beforesend","progress","load","error"),a={},l=new XMLHttpRequest,c=null;return!this.XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(n)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=i:l.onreadystatechange=function(){l.readyState>3&&i()},l.onprogress=function(n){var t=ao.event;ao.event=n;try{o.progress.call(u,l)}finally{ao.event=t}},u.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?a[n]:(null==t?delete a[n]:a[n]=t+"",u)},u.mimeType=function(n){return arguments.length?(t=null==n?null:n+"",u):t},u.responseType=function(n){return arguments.length?(c=n,u):c},u.response=function(n){return e=n,u},["get","post"].forEach(function(n){u[n]=function(){return u.send.apply(u,[n].concat(co(arguments)))}}),u.send=function(e,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),l.open(e,n,!0),null==t||"accept"in a||(a.accept=t+",*/*"),l.setRequestHeader)for(var f in a)l.setRequestHeader(f,a[f]);return null!=t&&l.overrideMimeType&&l.overrideMimeType(t),null!=c&&(l.responseType=c),null!=i&&u.on("error",i).on("load",function(n){i(null,n)}),o.beforesend.call(u,l),l.send(null==r?null:r),u},u.abort=function(){return l.abort(),u},ao.rebind(u,o,"on"),null==r?u:u.get(zn(r))}function zn(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}function Ln(n){var t=n.responseType;return t&&"text"!==t?n.response:n.responseText}function qn(n,t,e){var r=arguments.length;2>r&&(t=0),3>r&&(e=Date.now());var i=e+t,u={c:n,t:i,n:null};return aa?aa.n=u:oa=u,aa=u,la||(ca=clearTimeout(ca),la=1,fa(Tn)),u}function Tn(){var n=Rn(),t=Dn()-n;t>24?(isFinite(t)&&(clearTimeout(ca),ca=setTimeout(Tn,t)),la=0):(la=1,fa(Tn))}function Rn(){for(var n=Date.now(),t=oa;t;)n>=t.t&&t.c(n-t.t)&&(t.c=null),t=t.n;return n}function Dn(){for(var n,t=oa,e=1/0;t;)t.c?(t.t8?function(n){return n/e}:function(n){return n*e},symbol:n}}function jn(n){var t=n.decimal,e=n.thousands,r=n.grouping,i=n.currency,u=r&&e?function(n,t){for(var i=n.length,u=[],o=0,a=r[0],l=0;i>0&&a>0&&(l+a+1>t&&(a=Math.max(1,t-l)),u.push(n.substring(i-=a,i+a)),!((l+=a+1)>t));)a=r[o=(o+1)%r.length];return u.reverse().join(e)}:m;return function(n){var e=ha.exec(n),r=e[1]||" ",o=e[2]||">",a=e[3]||"-",l=e[4]||"",c=e[5],f=+e[6],s=e[7],h=e[8],p=e[9],g=1,v="",d="",y=!1,m=!0;switch(h&&(h=+h.substring(1)),(c||"0"===r&&"="===o)&&(c=r="0",o="="),p){case"n":s=!0,p="g";break;case"%":g=100,d="%",p="f";break;case"p":g=100,d="%",p="r";break;case"b":case"o":case"x":case"X":"#"===l&&(v="0"+p.toLowerCase());case"c":m=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===l&&(v=i[0],d=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=pa.get(p)||Fn;var M=c&&s;return function(n){var e=d;if(y&&n%1)return"";var i=0>n||0===n&&0>1/n?(n=-n,"-"):"-"===a?"":a;if(0>g){var l=ao.formatPrefix(n,h);n=l.scale(n),e=l.symbol+d}else n*=g;n=p(n,h);var x,b,_=n.lastIndexOf(".");if(0>_){var w=m?n.lastIndexOf("e"):-1;0>w?(x=n,b=""):(x=n.substring(0,w),b=n.substring(w))}else x=n.substring(0,_),b=t+n.substring(_+1);!c&&s&&(x=u(x,1/0));var S=v.length+x.length+b.length+(M?0:i.length),k=f>S?new Array(S=f-S+1).join(r):"";return M&&(x=u(k+x,k.length?f-b.length:1/0)),i+=v,n=x+b,("<"===o?i+n+k:">"===o?k+i+n:"^"===o?k.substring(0,S>>=1)+i+n+k.substring(S):i+(M?n:k+n))+e}}}function Fn(n){return n+""}function Hn(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function On(n,t,e){function r(t){var e=n(t),r=u(e,1);return r-t>t-e?e:r}function i(e){return t(e=n(new va(e-1)),1),e}function u(n,e){return t(n=new va(+n),e),n}function o(n,r,u){var o=i(n),a=[];if(u>1)for(;r>o;)e(o)%u||a.push(new Date(+o)),t(o,1);else for(;r>o;)a.push(new Date(+o)),t(o,1);return a}function a(n,t,e){try{va=Hn;var r=new Hn;return r._=n,o(r,t,e)}finally{va=Date}}n.floor=n,n.round=r,n.ceil=i,n.offset=u,n.range=o;var l=n.utc=In(n);return l.floor=l,l.round=In(r),l.ceil=In(i),l.offset=In(u),l.range=a,n}function In(n){return function(t,e){try{va=Hn;var r=new Hn;return r._=t,n(r,e)._}finally{va=Date}}}function Yn(n){function t(n){function t(t){for(var e,i,u,o=[],a=-1,l=0;++aa;){if(r>=c)return-1;if(i=t.charCodeAt(a++),37===i){if(o=t.charAt(a++),u=C[o in ya?t.charAt(a++):o],!u||(r=u(n,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function r(n,t,e){_.lastIndex=0;var r=_.exec(t.slice(e));return r?(n.w=w.get(r[0].toLowerCase()),e+r[0].length):-1}function i(n,t,e){x.lastIndex=0;var r=x.exec(t.slice(e));return r?(n.w=b.get(r[0].toLowerCase()),e+r[0].length):-1}function u(n,t,e){N.lastIndex=0;var r=N.exec(t.slice(e));return r?(n.m=E.get(r[0].toLowerCase()),e+r[0].length):-1}function o(n,t,e){S.lastIndex=0;var r=S.exec(t.slice(e));return r?(n.m=k.get(r[0].toLowerCase()),e+r[0].length):-1}function a(n,t,r){return e(n,A.c.toString(),t,r)}function l(n,t,r){return e(n,A.x.toString(),t,r)}function c(n,t,r){return e(n,A.X.toString(),t,r)}function f(n,t,e){var r=M.get(t.slice(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)}var s=n.dateTime,h=n.date,p=n.time,g=n.periods,v=n.days,d=n.shortDays,y=n.months,m=n.shortMonths;t.utc=function(n){function e(n){try{va=Hn;var t=new va;return t._=n,r(t)}finally{va=Date}}var r=t(n);return e.parse=function(n){try{va=Hn;var t=r.parse(n);return t&&t._}finally{va=Date}},e.toString=r.toString,e},t.multi=t.utc.multi=ct;var M=ao.map(),x=Vn(v),b=Xn(v),_=Vn(d),w=Xn(d),S=Vn(y),k=Xn(y),N=Vn(m),E=Xn(m);g.forEach(function(n,t){M.set(n.toLowerCase(),t)});var A={a:function(n){return d[n.getDay()]},A:function(n){return v[n.getDay()]},b:function(n){return m[n.getMonth()]},B:function(n){return y[n.getMonth()]},c:t(s),d:function(n,t){return Zn(n.getDate(),t,2)},e:function(n,t){return Zn(n.getDate(),t,2)},H:function(n,t){return Zn(n.getHours(),t,2)},I:function(n,t){return Zn(n.getHours()%12||12,t,2)},j:function(n,t){return Zn(1+ga.dayOfYear(n),t,3)},L:function(n,t){return Zn(n.getMilliseconds(),t,3)},m:function(n,t){return Zn(n.getMonth()+1,t,2)},M:function(n,t){return Zn(n.getMinutes(),t,2)},p:function(n){return g[+(n.getHours()>=12)]},S:function(n,t){return Zn(n.getSeconds(),t,2)},U:function(n,t){return Zn(ga.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return Zn(ga.mondayOfYear(n),t,2)},x:t(h),X:t(p),y:function(n,t){return Zn(n.getFullYear()%100,t,2)},Y:function(n,t){return Zn(n.getFullYear()%1e4,t,4)},Z:at,"%":function(){return"%"}},C={a:r,A:i,b:u,B:o,c:a,d:tt,e:tt,H:rt,I:rt,j:et,L:ot,m:nt,M:it,p:f,S:ut,U:Bn,w:$n,W:Wn,x:l,X:c,y:Gn,Y:Jn,Z:Kn,"%":lt};return t}function Zn(n,t,e){var r=0>n?"-":"",i=(r?-n:n)+"",u=i.length;return r+(e>u?new Array(e-u+1).join(t)+i:i)}function Vn(n){return new RegExp("^(?:"+n.map(ao.requote).join("|")+")","i")}function Xn(n){for(var t=new c,e=-1,r=n.length;++e68?1900:2e3)}function nt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function tt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function et(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function rt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function it(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function ut(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function ot(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function at(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=xo(t)/60|0,i=xo(t)%60;return e+Zn(r,"0",2)+Zn(i,"0",2)}function lt(n,t,e){Ma.lastIndex=0;var r=Ma.exec(t.slice(e,e+1));return r?e+r[0].length:-1}function ct(n){for(var t=n.length,e=-1;++e=0?1:-1,a=o*e,l=Math.cos(t),c=Math.sin(t),f=u*c,s=i*l+f*Math.cos(a),h=f*o*Math.sin(a);ka.add(Math.atan2(h,s)),r=n,i=l,u=c}var t,e,r,i,u;Na.point=function(o,a){Na.point=n,r=(t=o)*Yo,i=Math.cos(a=(e=a)*Yo/2+Fo/4),u=Math.sin(a)},Na.lineEnd=function(){n(t,e)}}function dt(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function yt(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function mt(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function Mt(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function xt(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function bt(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function _t(n){return[Math.atan2(n[1],n[0]),tn(n[2])]}function wt(n,t){return xo(n[0]-t[0])a;++a)i.point((e=n[a])[0],e[1]);return void i.lineEnd()}var l=new Tt(e,n,null,!0),c=new Tt(e,null,l,!1);l.o=c,u.push(l),o.push(c),l=new Tt(r,n,null,!1),c=new Tt(r,null,l,!0),l.o=c,u.push(l),o.push(c)}}),o.sort(t),qt(u),qt(o),u.length){for(var a=0,l=e,c=o.length;c>a;++a)o[a].e=l=!l;for(var f,s,h=u[0];;){for(var p=h,g=!0;p.v;)if((p=p.n)===h)return;f=p.z,i.lineStart();do{if(p.v=p.o.v=!0,p.e){if(g)for(var a=0,c=f.length;c>a;++a)i.point((s=f[a])[0],s[1]);else r(p.x,p.n.x,1,i);p=p.n}else{if(g){f=p.p.z;for(var a=f.length-1;a>=0;--a)i.point((s=f[a])[0],s[1])}else r(p.x,p.p.x,-1,i);p=p.p}p=p.o,f=p.z,g=!g}while(!p.v);i.lineEnd()}}}function qt(n){if(t=n.length){for(var t,e,r=0,i=n[0];++r0){for(b||(u.polygonStart(),b=!0),u.lineStart();++o1&&2&t&&e.push(e.pop().concat(e.shift())),p.push(e.filter(Dt))}var p,g,v,d=t(u),y=i.invert(r[0],r[1]),m={point:o,lineStart:l,lineEnd:c,polygonStart:function(){m.point=f,m.lineStart=s,m.lineEnd=h,p=[],g=[]},polygonEnd:function(){m.point=o,m.lineStart=l,m.lineEnd=c,p=ao.merge(p);var n=Ot(y,g);p.length?(b||(u.polygonStart(),b=!0),Lt(p,Ut,n,e,u)):n&&(b||(u.polygonStart(),b=!0),u.lineStart(),e(null,null,1,u),u.lineEnd()),b&&(u.polygonEnd(),b=!1),p=g=null},sphere:function(){u.polygonStart(),u.lineStart(),e(null,null,1,u),u.lineEnd(),u.polygonEnd()}},M=Pt(),x=t(M),b=!1;return m}}function Dt(n){return n.length>1}function Pt(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:b,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Ut(n,t){return((n=n.x)[0]<0?n[1]-Io-Uo:Io-n[1])-((t=t.x)[0]<0?t[1]-Io-Uo:Io-t[1])}function jt(n){var t,e=NaN,r=NaN,i=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(u,o){var a=u>0?Fo:-Fo,l=xo(u-e);xo(l-Fo)0?Io:-Io),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(a,r),n.point(u,r),t=0):i!==a&&l>=Fo&&(xo(e-i)Uo?Math.atan((Math.sin(t)*(u=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(t))*Math.sin(n))/(i*u*o)):(t+r)/2}function Ht(n,t,e,r){var i;if(null==n)i=e*Io,r.point(-Fo,i),r.point(0,i),r.point(Fo,i),r.point(Fo,0),r.point(Fo,-i),r.point(0,-i),r.point(-Fo,-i),r.point(-Fo,0),r.point(-Fo,i);else if(xo(n[0]-t[0])>Uo){var u=n[0]a;++a){var c=t[a],f=c.length;if(f)for(var s=c[0],h=s[0],p=s[1]/2+Fo/4,g=Math.sin(p),v=Math.cos(p),d=1;;){d===f&&(d=0),n=c[d];var y=n[0],m=n[1]/2+Fo/4,M=Math.sin(m),x=Math.cos(m),b=y-h,_=b>=0?1:-1,w=_*b,S=w>Fo,k=g*M;if(ka.add(Math.atan2(k*_*Math.sin(w),v*x+k*Math.cos(w))),u+=S?b+_*Ho:b,S^h>=e^y>=e){var N=mt(dt(s),dt(n));bt(N);var E=mt(i,N);bt(E);var A=(S^b>=0?-1:1)*tn(E[2]);(r>A||r===A&&(N[0]||N[1]))&&(o+=S^b>=0?1:-1)}if(!d++)break;h=y,g=M,v=x,s=n}}return(-Uo>u||Uo>u&&-Uo>ka)^1&o}function It(n){function t(n,t){return Math.cos(n)*Math.cos(t)>u}function e(n){var e,u,l,c,f;return{lineStart:function(){c=l=!1,f=1},point:function(s,h){var p,g=[s,h],v=t(s,h),d=o?v?0:i(s,h):v?i(s+(0>s?Fo:-Fo),h):0;if(!e&&(c=l=v)&&n.lineStart(),v!==l&&(p=r(e,g),(wt(e,p)||wt(g,p))&&(g[0]+=Uo,g[1]+=Uo,v=t(g[0],g[1]))),v!==l)f=0,v?(n.lineStart(),p=r(g,e),n.point(p[0],p[1])):(p=r(e,g),n.point(p[0],p[1]),n.lineEnd()),e=p;else if(a&&e&&o^v){var y;d&u||!(y=r(g,e,!0))||(f=0,o?(n.lineStart(),n.point(y[0][0],y[0][1]),n.point(y[1][0],y[1][1]),n.lineEnd()):(n.point(y[1][0],y[1][1]),n.lineEnd(),n.lineStart(),n.point(y[0][0],y[0][1])))}!v||e&&wt(e,g)||n.point(g[0],g[1]),e=g,l=v,u=d},lineEnd:function(){l&&n.lineEnd(),e=null},clean:function(){return f|(c&&l)<<1}}}function r(n,t,e){var r=dt(n),i=dt(t),o=[1,0,0],a=mt(r,i),l=yt(a,a),c=a[0],f=l-c*c;if(!f)return!e&&n;var s=u*l/f,h=-u*c/f,p=mt(o,a),g=xt(o,s),v=xt(a,h);Mt(g,v);var d=p,y=yt(g,d),m=yt(d,d),M=y*y-m*(yt(g,g)-1);if(!(0>M)){var x=Math.sqrt(M),b=xt(d,(-y-x)/m);if(Mt(b,g),b=_t(b),!e)return b;var _,w=n[0],S=t[0],k=n[1],N=t[1];w>S&&(_=w,w=S,S=_);var E=S-w,A=xo(E-Fo)E;if(!A&&k>N&&(_=k,k=N,N=_),C?A?k+N>0^b[1]<(xo(b[0]-w)Fo^(w<=b[0]&&b[0]<=S)){var z=xt(d,(-y+x)/m);return Mt(z,g),[b,_t(z)]}}}function i(t,e){var r=o?n:Fo-n,i=0;return-r>t?i|=1:t>r&&(i|=2),-r>e?i|=4:e>r&&(i|=8),i}var u=Math.cos(n),o=u>0,a=xo(u)>Uo,l=ve(n,6*Yo);return Rt(t,e,l,o?[0,-n]:[-Fo,n-Fo])}function Yt(n,t,e,r){return function(i){var u,o=i.a,a=i.b,l=o.x,c=o.y,f=a.x,s=a.y,h=0,p=1,g=f-l,v=s-c;if(u=n-l,g||!(u>0)){if(u/=g,0>g){if(h>u)return;p>u&&(p=u)}else if(g>0){if(u>p)return;u>h&&(h=u)}if(u=e-l,g||!(0>u)){if(u/=g,0>g){if(u>p)return;u>h&&(h=u)}else if(g>0){if(h>u)return;p>u&&(p=u)}if(u=t-c,v||!(u>0)){if(u/=v,0>v){if(h>u)return;p>u&&(p=u)}else if(v>0){if(u>p)return;u>h&&(h=u)}if(u=r-c,v||!(0>u)){if(u/=v,0>v){if(u>p)return;u>h&&(h=u)}else if(v>0){if(h>u)return;p>u&&(p=u)}return h>0&&(i.a={x:l+h*g,y:c+h*v}),1>p&&(i.b={x:l+p*g,y:c+p*v}),i}}}}}}function Zt(n,t,e,r){function i(r,i){return xo(r[0]-n)0?0:3:xo(r[0]-e)0?2:1:xo(r[1]-t)0?1:0:i>0?3:2}function u(n,t){return o(n.x,t.x)}function o(n,t){var e=i(n,1),r=i(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}return function(a){function l(n){for(var t=0,e=d.length,r=n[1],i=0;e>i;++i)for(var u,o=1,a=d[i],l=a.length,c=a[0];l>o;++o)u=a[o],c[1]<=r?u[1]>r&&Q(c,u,n)>0&&++t:u[1]<=r&&Q(c,u,n)<0&&--t,c=u;return 0!==t}function c(u,a,l,c){var f=0,s=0;if(null==u||(f=i(u,l))!==(s=i(a,l))||o(u,a)<0^l>0){do c.point(0===f||3===f?n:e,f>1?r:t);while((f=(f+l+4)%4)!==s)}else c.point(a[0],a[1])}function f(i,u){return i>=n&&e>=i&&u>=t&&r>=u}function s(n,t){f(n,t)&&a.point(n,t)}function h(){C.point=g,d&&d.push(y=[]),S=!0,w=!1,b=_=NaN}function p(){v&&(g(m,M),x&&w&&E.rejoin(),v.push(E.buffer())),C.point=s,w&&a.lineEnd()}function g(n,t){n=Math.max(-Ha,Math.min(Ha,n)),t=Math.max(-Ha,Math.min(Ha,t));var e=f(n,t);if(d&&y.push([n,t]),S)m=n,M=t,x=e,S=!1,e&&(a.lineStart(),a.point(n,t));else if(e&&w)a.point(n,t);else{var r={a:{x:b,y:_},b:{x:n,y:t}};A(r)?(w||(a.lineStart(),a.point(r.a.x,r.a.y)),a.point(r.b.x,r.b.y),e||a.lineEnd(),k=!1):e&&(a.lineStart(),a.point(n,t),k=!1)}b=n,_=t,w=e}var v,d,y,m,M,x,b,_,w,S,k,N=a,E=Pt(),A=Yt(n,t,e,r),C={point:s,lineStart:h,lineEnd:p,polygonStart:function(){a=E,v=[],d=[],k=!0},polygonEnd:function(){a=N,v=ao.merge(v);var t=l([n,r]),e=k&&t,i=v.length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),c(null,null,1,a),a.lineEnd()),i&&Lt(v,u,t,c,a),a.polygonEnd()),v=d=y=null}};return C}}function Vt(n){var t=0,e=Fo/3,r=ae(n),i=r(t,e);return i.parallels=function(n){return arguments.length?r(t=n[0]*Fo/180,e=n[1]*Fo/180):[t/Fo*180,e/Fo*180]},i}function Xt(n,t){function e(n,t){var e=Math.sqrt(u-2*i*Math.sin(t))/i;return[e*Math.sin(n*=i),o-e*Math.cos(n)]}var r=Math.sin(n),i=(r+Math.sin(t))/2,u=1+r*(2*i-r),o=Math.sqrt(u)/i;return e.invert=function(n,t){var e=o-t;return[Math.atan2(n,e)/i,tn((u-(n*n+e*e)*i*i)/(2*i))]},e}function $t(){function n(n,t){Ia+=i*n-r*t,r=n,i=t}var t,e,r,i;$a.point=function(u,o){$a.point=n,t=r=u,e=i=o},$a.lineEnd=function(){n(t,e)}}function Bt(n,t){Ya>n&&(Ya=n),n>Va&&(Va=n),Za>t&&(Za=t),t>Xa&&(Xa=t)}function Wt(){function n(n,t){o.push("M",n,",",t,u)}function t(n,t){o.push("M",n,",",t),a.point=e}function e(n,t){o.push("L",n,",",t)}function r(){a.point=n}function i(){o.push("Z")}var u=Jt(4.5),o=[],a={point:n,lineStart:function(){a.point=t},lineEnd:r,polygonStart:function(){a.lineEnd=i},polygonEnd:function(){a.lineEnd=r,a.point=n},pointRadius:function(n){return u=Jt(n),a},result:function(){if(o.length){var n=o.join("");return o=[],n}}};return a}function Jt(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function Gt(n,t){Ca+=n,za+=t,++La}function Kt(){function n(n,r){var i=n-t,u=r-e,o=Math.sqrt(i*i+u*u);qa+=o*(t+n)/2,Ta+=o*(e+r)/2,Ra+=o,Gt(t=n,e=r)}var t,e;Wa.point=function(r,i){Wa.point=n,Gt(t=r,e=i)}}function Qt(){Wa.point=Gt}function ne(){function n(n,t){var e=n-r,u=t-i,o=Math.sqrt(e*e+u*u);qa+=o*(r+n)/2,Ta+=o*(i+t)/2,Ra+=o,o=i*n-r*t,Da+=o*(r+n),Pa+=o*(i+t),Ua+=3*o,Gt(r=n,i=t)}var t,e,r,i;Wa.point=function(u,o){Wa.point=n,Gt(t=r=u,e=i=o)},Wa.lineEnd=function(){n(t,e)}}function te(n){function t(t,e){n.moveTo(t+o,e),n.arc(t,e,o,0,Ho)}function e(t,e){n.moveTo(t,e),a.point=r}function r(t,e){n.lineTo(t,e)}function i(){a.point=t}function u(){n.closePath()}var o=4.5,a={point:t,lineStart:function(){a.point=e},lineEnd:i,polygonStart:function(){a.lineEnd=u},polygonEnd:function(){a.lineEnd=i,a.point=t},pointRadius:function(n){return o=n,a},result:b};return a}function ee(n){function t(n){return(a?r:e)(n)}function e(t){return ue(t,function(e,r){e=n(e,r),t.point(e[0],e[1])})}function r(t){function e(e,r){e=n(e,r),t.point(e[0],e[1])}function r(){M=NaN,S.point=u,t.lineStart()}function u(e,r){var u=dt([e,r]),o=n(e,r);i(M,x,m,b,_,w,M=o[0],x=o[1],m=e,b=u[0],_=u[1],w=u[2],a,t),t.point(M,x)}function o(){S.point=e,t.lineEnd()}function l(){ +r(),S.point=c,S.lineEnd=f}function c(n,t){u(s=n,h=t),p=M,g=x,v=b,d=_,y=w,S.point=u}function f(){i(M,x,m,b,_,w,p,g,s,v,d,y,a,t),S.lineEnd=o,o()}var s,h,p,g,v,d,y,m,M,x,b,_,w,S={point:e,lineStart:r,lineEnd:o,polygonStart:function(){t.polygonStart(),S.lineStart=l},polygonEnd:function(){t.polygonEnd(),S.lineStart=r}};return S}function i(t,e,r,a,l,c,f,s,h,p,g,v,d,y){var m=f-t,M=s-e,x=m*m+M*M;if(x>4*u&&d--){var b=a+p,_=l+g,w=c+v,S=Math.sqrt(b*b+_*_+w*w),k=Math.asin(w/=S),N=xo(xo(w)-1)u||xo((m*z+M*L)/x-.5)>.3||o>a*p+l*g+c*v)&&(i(t,e,r,a,l,c,A,C,N,b/=S,_/=S,w,d,y),y.point(A,C),i(A,C,N,b,_,w,f,s,h,p,g,v,d,y))}}var u=.5,o=Math.cos(30*Yo),a=16;return t.precision=function(n){return arguments.length?(a=(u=n*n)>0&&16,t):Math.sqrt(u)},t}function re(n){var t=ee(function(t,e){return n([t*Zo,e*Zo])});return function(n){return le(t(n))}}function ie(n){this.stream=n}function ue(n,t){return{point:t,sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}function oe(n){return ae(function(){return n})()}function ae(n){function t(n){return n=a(n[0]*Yo,n[1]*Yo),[n[0]*h+l,c-n[1]*h]}function e(n){return n=a.invert((n[0]-l)/h,(c-n[1])/h),n&&[n[0]*Zo,n[1]*Zo]}function r(){a=Ct(o=se(y,M,x),u);var n=u(v,d);return l=p-n[0]*h,c=g+n[1]*h,i()}function i(){return f&&(f.valid=!1,f=null),t}var u,o,a,l,c,f,s=ee(function(n,t){return n=u(n,t),[n[0]*h+l,c-n[1]*h]}),h=150,p=480,g=250,v=0,d=0,y=0,M=0,x=0,b=Fa,_=m,w=null,S=null;return t.stream=function(n){return f&&(f.valid=!1),f=le(b(o,s(_(n)))),f.valid=!0,f},t.clipAngle=function(n){return arguments.length?(b=null==n?(w=n,Fa):It((w=+n)*Yo),i()):w},t.clipExtent=function(n){return arguments.length?(S=n,_=n?Zt(n[0][0],n[0][1],n[1][0],n[1][1]):m,i()):S},t.scale=function(n){return arguments.length?(h=+n,r()):h},t.translate=function(n){return arguments.length?(p=+n[0],g=+n[1],r()):[p,g]},t.center=function(n){return arguments.length?(v=n[0]%360*Yo,d=n[1]%360*Yo,r()):[v*Zo,d*Zo]},t.rotate=function(n){return arguments.length?(y=n[0]%360*Yo,M=n[1]%360*Yo,x=n.length>2?n[2]%360*Yo:0,r()):[y*Zo,M*Zo,x*Zo]},ao.rebind(t,s,"precision"),function(){return u=n.apply(this,arguments),t.invert=u.invert&&e,r()}}function le(n){return ue(n,function(t,e){n.point(t*Yo,e*Yo)})}function ce(n,t){return[n,t]}function fe(n,t){return[n>Fo?n-Ho:-Fo>n?n+Ho:n,t]}function se(n,t,e){return n?t||e?Ct(pe(n),ge(t,e)):pe(n):t||e?ge(t,e):fe}function he(n){return function(t,e){return t+=n,[t>Fo?t-Ho:-Fo>t?t+Ho:t,e]}}function pe(n){var t=he(n);return t.invert=he(-n),t}function ge(n,t){function e(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*r+a*i;return[Math.atan2(l*u-f*o,a*r-c*i),tn(f*u+l*o)]}var r=Math.cos(n),i=Math.sin(n),u=Math.cos(t),o=Math.sin(t);return e.invert=function(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*u-l*o;return[Math.atan2(l*u+c*o,a*r+f*i),tn(f*r-a*i)]},e}function ve(n,t){var e=Math.cos(n),r=Math.sin(n);return function(i,u,o,a){var l=o*t;null!=i?(i=de(e,i),u=de(e,u),(o>0?u>i:i>u)&&(i+=o*Ho)):(i=n+o*Ho,u=n-.5*l);for(var c,f=i;o>0?f>u:u>f;f-=l)a.point((c=_t([e,-r*Math.cos(f),-r*Math.sin(f)]))[0],c[1])}}function de(n,t){var e=dt(t);e[0]-=n,bt(e);var r=nn(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Uo)%(2*Math.PI)}function ye(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[n,t]})}}function me(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[t,n]})}}function Me(n){return n.source}function xe(n){return n.target}function be(n,t,e,r){var i=Math.cos(t),u=Math.sin(t),o=Math.cos(r),a=Math.sin(r),l=i*Math.cos(n),c=i*Math.sin(n),f=o*Math.cos(e),s=o*Math.sin(e),h=2*Math.asin(Math.sqrt(on(r-t)+i*o*on(e-n))),p=1/Math.sin(h),g=h?function(n){var t=Math.sin(n*=h)*p,e=Math.sin(h-n)*p,r=e*l+t*f,i=e*c+t*s,o=e*u+t*a;return[Math.atan2(i,r)*Zo,Math.atan2(o,Math.sqrt(r*r+i*i))*Zo]}:function(){return[n*Zo,t*Zo]};return g.distance=h,g}function _e(){function n(n,i){var u=Math.sin(i*=Yo),o=Math.cos(i),a=xo((n*=Yo)-t),l=Math.cos(a);Ja+=Math.atan2(Math.sqrt((a=o*Math.sin(a))*a+(a=r*u-e*o*l)*a),e*u+r*o*l),t=n,e=u,r=o}var t,e,r;Ga.point=function(i,u){t=i*Yo,e=Math.sin(u*=Yo),r=Math.cos(u),Ga.point=n},Ga.lineEnd=function(){Ga.point=Ga.lineEnd=b}}function we(n,t){function e(t,e){var r=Math.cos(t),i=Math.cos(e),u=n(r*i);return[u*i*Math.sin(t),u*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),i=t(r),u=Math.sin(i),o=Math.cos(i);return[Math.atan2(n*u,r*o),Math.asin(r&&e*u/r)]},e}function Se(n,t){function e(n,t){o>0?-Io+Uo>t&&(t=-Io+Uo):t>Io-Uo&&(t=Io-Uo);var e=o/Math.pow(i(t),u);return[e*Math.sin(u*n),o-e*Math.cos(u*n)]}var r=Math.cos(n),i=function(n){return Math.tan(Fo/4+n/2)},u=n===t?Math.sin(n):Math.log(r/Math.cos(t))/Math.log(i(t)/i(n)),o=r*Math.pow(i(n),u)/u;return u?(e.invert=function(n,t){var e=o-t,r=K(u)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/u,2*Math.atan(Math.pow(o/r,1/u))-Io]},e):Ne}function ke(n,t){function e(n,t){var e=u-t;return[e*Math.sin(i*n),u-e*Math.cos(i*n)]}var r=Math.cos(n),i=n===t?Math.sin(n):(r-Math.cos(t))/(t-n),u=r/i+n;return xo(i)i;i++){for(;r>1&&Q(n[e[r-2]],n[e[r-1]],n[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function qe(n,t){return n[0]-t[0]||n[1]-t[1]}function Te(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function Re(n,t,e,r){var i=n[0],u=e[0],o=t[0]-i,a=r[0]-u,l=n[1],c=e[1],f=t[1]-l,s=r[1]-c,h=(a*(l-c)-s*(i-u))/(s*o-a*f);return[i+h*o,l+h*f]}function De(n){var t=n[0],e=n[n.length-1];return!(t[0]-e[0]||t[1]-e[1])}function Pe(){rr(this),this.edge=this.site=this.circle=null}function Ue(n){var t=cl.pop()||new Pe;return t.site=n,t}function je(n){Be(n),ol.remove(n),cl.push(n),rr(n)}function Fe(n){var t=n.circle,e=t.x,r=t.cy,i={x:e,y:r},u=n.P,o=n.N,a=[n];je(n);for(var l=u;l.circle&&xo(e-l.circle.x)f;++f)c=a[f],l=a[f-1],nr(c.edge,l.site,c.site,i);l=a[0],c=a[s-1],c.edge=Ke(l.site,c.site,null,i),$e(l),$e(c)}function He(n){for(var t,e,r,i,u=n.x,o=n.y,a=ol._;a;)if(r=Oe(a,o)-u,r>Uo)a=a.L;else{if(i=u-Ie(a,o),!(i>Uo)){r>-Uo?(t=a.P,e=a):i>-Uo?(t=a,e=a.N):t=e=a;break}if(!a.R){t=a;break}a=a.R}var l=Ue(n);if(ol.insert(t,l),t||e){if(t===e)return Be(t),e=Ue(t.site),ol.insert(l,e),l.edge=e.edge=Ke(t.site,l.site),$e(t),void $e(e);if(!e)return void(l.edge=Ke(t.site,l.site));Be(t),Be(e);var c=t.site,f=c.x,s=c.y,h=n.x-f,p=n.y-s,g=e.site,v=g.x-f,d=g.y-s,y=2*(h*d-p*v),m=h*h+p*p,M=v*v+d*d,x={x:(d*m-p*M)/y+f,y:(h*M-v*m)/y+s};nr(e.edge,c,g,x),l.edge=Ke(c,n,null,x),e.edge=Ke(n,g,null,x),$e(t),$e(e)}}function Oe(n,t){var e=n.site,r=e.x,i=e.y,u=i-t;if(!u)return r;var o=n.P;if(!o)return-(1/0);e=o.site;var a=e.x,l=e.y,c=l-t;if(!c)return a;var f=a-r,s=1/u-1/c,h=f/c;return s?(-h+Math.sqrt(h*h-2*s*(f*f/(-2*c)-l+c/2+i-u/2)))/s+r:(r+a)/2}function Ie(n,t){var e=n.N;if(e)return Oe(e,t);var r=n.site;return r.y===t?r.x:1/0}function Ye(n){this.site=n,this.edges=[]}function Ze(n){for(var t,e,r,i,u,o,a,l,c,f,s=n[0][0],h=n[1][0],p=n[0][1],g=n[1][1],v=ul,d=v.length;d--;)if(u=v[d],u&&u.prepare())for(a=u.edges,l=a.length,o=0;l>o;)f=a[o].end(),r=f.x,i=f.y,c=a[++o%l].start(),t=c.x,e=c.y,(xo(r-t)>Uo||xo(i-e)>Uo)&&(a.splice(o,0,new tr(Qe(u.site,f,xo(r-s)Uo?{x:s,y:xo(t-s)Uo?{x:xo(e-g)Uo?{x:h,y:xo(t-h)Uo?{x:xo(e-p)=-jo)){var p=l*l+c*c,g=f*f+s*s,v=(s*p-c*g)/h,d=(l*g-f*p)/h,s=d+a,y=fl.pop()||new Xe;y.arc=n,y.site=i,y.x=v+o,y.y=s+Math.sqrt(v*v+d*d),y.cy=s,n.circle=y;for(var m=null,M=ll._;M;)if(y.yd||d>=a)return;if(h>g){if(u){if(u.y>=c)return}else u={x:d,y:l};e={x:d,y:c}}else{if(u){if(u.yr||r>1)if(h>g){if(u){if(u.y>=c)return}else u={x:(l-i)/r,y:l};e={x:(c-i)/r,y:c}}else{if(u){if(u.yp){if(u){if(u.x>=a)return}else u={x:o,y:r*o+i};e={x:a,y:r*a+i}}else{if(u){if(u.xu||s>o||r>h||i>p)){if(g=n.point){var g,v=t-n.x,d=e-n.y,y=v*v+d*d;if(l>y){var m=Math.sqrt(l=y);r=t-m,i=e-m,u=t+m,o=e+m,a=g}}for(var M=n.nodes,x=.5*(f+h),b=.5*(s+p),_=t>=x,w=e>=b,S=w<<1|_,k=S+4;k>S;++S)if(n=M[3&S])switch(3&S){case 0:c(n,f,s,x,b);break;case 1:c(n,x,s,h,b);break;case 2:c(n,f,b,x,p);break;case 3:c(n,x,b,h,p)}}}(n,r,i,u,o),a}function vr(n,t){n=ao.rgb(n),t=ao.rgb(t);var e=n.r,r=n.g,i=n.b,u=t.r-e,o=t.g-r,a=t.b-i;return function(n){return"#"+bn(Math.round(e+u*n))+bn(Math.round(r+o*n))+bn(Math.round(i+a*n))}}function dr(n,t){var e,r={},i={};for(e in n)e in t?r[e]=Mr(n[e],t[e]):i[e]=n[e];for(e in t)e in n||(i[e]=t[e]);return function(n){for(e in r)i[e]=r[e](n);return i}}function yr(n,t){return n=+n,t=+t,function(e){return n*(1-e)+t*e}}function mr(n,t){var e,r,i,u=hl.lastIndex=pl.lastIndex=0,o=-1,a=[],l=[];for(n+="",t+="";(e=hl.exec(n))&&(r=pl.exec(t));)(i=r.index)>u&&(i=t.slice(u,i),a[o]?a[o]+=i:a[++o]=i),(e=e[0])===(r=r[0])?a[o]?a[o]+=r:a[++o]=r:(a[++o]=null,l.push({i:o,x:yr(e,r)})),u=pl.lastIndex;return ur;++r)a[(e=l[r]).i]=e.x(n);return a.join("")})}function Mr(n,t){for(var e,r=ao.interpolators.length;--r>=0&&!(e=ao.interpolators[r](n,t)););return e}function xr(n,t){var e,r=[],i=[],u=n.length,o=t.length,a=Math.min(n.length,t.length);for(e=0;a>e;++e)r.push(Mr(n[e],t[e]));for(;u>e;++e)i[e]=n[e];for(;o>e;++e)i[e]=t[e];return function(n){for(e=0;a>e;++e)i[e]=r[e](n);return i}}function br(n){return function(t){return 0>=t?0:t>=1?1:n(t)}}function _r(n){return function(t){return 1-n(1-t)}}function wr(n){return function(t){return.5*(.5>t?n(2*t):2-n(2-2*t))}}function Sr(n){return n*n}function kr(n){return n*n*n}function Nr(n){if(0>=n)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(.5>n?e:3*(n-t)+e-.75)}function Er(n){return function(t){return Math.pow(t,n)}}function Ar(n){return 1-Math.cos(n*Io)}function Cr(n){return Math.pow(2,10*(n-1))}function zr(n){return 1-Math.sqrt(1-n*n)}function Lr(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/Ho*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,-10*r)*Math.sin((r-e)*Ho/t)}}function qr(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}}function Tr(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function Rr(n,t){n=ao.hcl(n),t=ao.hcl(t);var e=n.h,r=n.c,i=n.l,u=t.h-e,o=t.c-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.c:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return sn(e+u*n,r+o*n,i+a*n)+""}}function Dr(n,t){n=ao.hsl(n),t=ao.hsl(t);var e=n.h,r=n.s,i=n.l,u=t.h-e,o=t.s-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.s:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return cn(e+u*n,r+o*n,i+a*n)+""}}function Pr(n,t){n=ao.lab(n),t=ao.lab(t);var e=n.l,r=n.a,i=n.b,u=t.l-e,o=t.a-r,a=t.b-i;return function(n){return pn(e+u*n,r+o*n,i+a*n)+""}}function Ur(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function jr(n){var t=[n.a,n.b],e=[n.c,n.d],r=Hr(t),i=Fr(t,e),u=Hr(Or(e,t,-i))||0;t[0]*e[1]180?t+=360:t-n>180&&(n+=360),r.push({i:e.push(Ir(e)+"rotate(",null,")")-2,x:yr(n,t)})):t&&e.push(Ir(e)+"rotate("+t+")")}function Vr(n,t,e,r){n!==t?r.push({i:e.push(Ir(e)+"skewX(",null,")")-2,x:yr(n,t)}):t&&e.push(Ir(e)+"skewX("+t+")")}function Xr(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push(Ir(e)+"scale(",null,",",null,")");r.push({i:i-4,x:yr(n[0],t[0])},{i:i-2,x:yr(n[1],t[1])})}else 1===t[0]&&1===t[1]||e.push(Ir(e)+"scale("+t+")")}function $r(n,t){var e=[],r=[];return n=ao.transform(n),t=ao.transform(t),Yr(n.translate,t.translate,e,r),Zr(n.rotate,t.rotate,e,r),Vr(n.skew,t.skew,e,r),Xr(n.scale,t.scale,e,r),n=t=null,function(n){for(var t,i=-1,u=r.length;++i=0;)e.push(i[r])}function oi(n,t){for(var e=[n],r=[];null!=(n=e.pop());)if(r.push(n),(u=n.children)&&(i=u.length))for(var i,u,o=-1;++oe;++e)(t=n[e][1])>i&&(r=e,i=t);return r}function yi(n){return n.reduce(mi,0)}function mi(n,t){return n+t[1]}function Mi(n,t){return xi(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function xi(n,t){for(var e=-1,r=+n[0],i=(n[1]-r)/t,u=[];++e<=t;)u[e]=i*e+r;return u}function bi(n){return[ao.min(n),ao.max(n)]}function _i(n,t){return n.value-t.value}function wi(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function Si(n,t){n._pack_next=t,t._pack_prev=n}function ki(n,t){var e=t.x-n.x,r=t.y-n.y,i=n.r+t.r;return.999*i*i>e*e+r*r}function Ni(n){function t(n){f=Math.min(n.x-n.r,f),s=Math.max(n.x+n.r,s),h=Math.min(n.y-n.r,h),p=Math.max(n.y+n.r,p)}if((e=n.children)&&(c=e.length)){var e,r,i,u,o,a,l,c,f=1/0,s=-(1/0),h=1/0,p=-(1/0);if(e.forEach(Ei),r=e[0],r.x=-r.r,r.y=0,t(r),c>1&&(i=e[1],i.x=i.r,i.y=0,t(i),c>2))for(u=e[2],zi(r,i,u),t(u),wi(r,u),r._pack_prev=u,wi(u,i),i=r._pack_next,o=3;c>o;o++){zi(r,i,u=e[o]);var g=0,v=1,d=1;for(a=i._pack_next;a!==i;a=a._pack_next,v++)if(ki(a,u)){g=1;break}if(1==g)for(l=r._pack_prev;l!==a._pack_prev&&!ki(l,u);l=l._pack_prev,d++);g?(d>v||v==d&&i.ro;o++)u=e[o],u.x-=y,u.y-=m,M=Math.max(M,u.r+Math.sqrt(u.x*u.x+u.y*u.y));n.r=M,e.forEach(Ai)}}function Ei(n){n._pack_next=n._pack_prev=n}function Ai(n){delete n._pack_next,delete n._pack_prev}function Ci(n,t,e,r){var i=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,i)for(var u=-1,o=i.length;++u=0;)t=i[u],t.z+=e,t.m+=e,e+=t.s+(r+=t.c)}function Pi(n,t,e){return n.a.parent===t.parent?n.a:e}function Ui(n){return 1+ao.max(n,function(n){return n.y})}function ji(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}function Fi(n){var t=n.children;return t&&t.length?Fi(t[0]):n}function Hi(n){var t,e=n.children;return e&&(t=e.length)?Hi(e[t-1]):n}function Oi(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function Ii(n,t){var e=n.x+t[3],r=n.y+t[0],i=n.dx-t[1]-t[3],u=n.dy-t[0]-t[2];return 0>i&&(e+=i/2,i=0),0>u&&(r+=u/2,u=0),{x:e,y:r,dx:i,dy:u}}function Yi(n){var t=n[0],e=n[n.length-1];return e>t?[t,e]:[e,t]}function Zi(n){return n.rangeExtent?n.rangeExtent():Yi(n.range())}function Vi(n,t,e,r){var i=e(n[0],n[1]),u=r(t[0],t[1]);return function(n){return u(i(n))}}function Xi(n,t){var e,r=0,i=n.length-1,u=n[r],o=n[i];return u>o&&(e=r,r=i,i=e,e=u,u=o,o=e),n[r]=t.floor(u),n[i]=t.ceil(o),n}function $i(n){return n?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:Sl}function Bi(n,t,e,r){var i=[],u=[],o=0,a=Math.min(n.length,t.length)-1;for(n[a]2?Bi:Vi,l=r?Wr:Br;return o=i(n,t,l,e),a=i(t,n,l,Mr),u}function u(n){return o(n)}var o,a;return u.invert=function(n){return a(n)},u.domain=function(t){return arguments.length?(n=t.map(Number),i()):n},u.range=function(n){return arguments.length?(t=n,i()):t},u.rangeRound=function(n){return u.range(n).interpolate(Ur)},u.clamp=function(n){return arguments.length?(r=n,i()):r},u.interpolate=function(n){return arguments.length?(e=n,i()):e},u.ticks=function(t){return Qi(n,t)},u.tickFormat=function(t,e){return nu(n,t,e)},u.nice=function(t){return Gi(n,t),i()},u.copy=function(){return Wi(n,t,e,r)},i()}function Ji(n,t){return ao.rebind(n,t,"range","rangeRound","interpolate","clamp")}function Gi(n,t){return Xi(n,$i(Ki(n,t)[2])),Xi(n,$i(Ki(n,t)[2])),n}function Ki(n,t){null==t&&(t=10);var e=Yi(n),r=e[1]-e[0],i=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),u=t/r*i;return.15>=u?i*=10:.35>=u?i*=5:.75>=u&&(i*=2),e[0]=Math.ceil(e[0]/i)*i,e[1]=Math.floor(e[1]/i)*i+.5*i,e[2]=i,e}function Qi(n,t){return ao.range.apply(ao,Ki(n,t))}function nu(n,t,e){var r=Ki(n,t);if(e){var i=ha.exec(e);if(i.shift(),"s"===i[8]){var u=ao.formatPrefix(Math.max(xo(r[0]),xo(r[1])));return i[7]||(i[7]="."+tu(u.scale(r[2]))),i[8]="f",e=ao.format(i.join("")),function(n){return e(u.scale(n))+u.symbol}}i[7]||(i[7]="."+eu(i[8],r)),e=i.join("")}else e=",."+tu(r[2])+"f";return ao.format(e)}function tu(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}function eu(n,t){var e=tu(t[2]);return n in kl?Math.abs(e-tu(Math.max(xo(t[0]),xo(t[1]))))+ +("e"!==n):e-2*("%"===n)}function ru(n,t,e,r){function i(n){return(e?Math.log(0>n?0:n):-Math.log(n>0?0:-n))/Math.log(t)}function u(n){return e?Math.pow(t,n):-Math.pow(t,-n)}function o(t){return n(i(t))}return o.invert=function(t){return u(n.invert(t))},o.domain=function(t){return arguments.length?(e=t[0]>=0,n.domain((r=t.map(Number)).map(i)),o):r},o.base=function(e){return arguments.length?(t=+e,n.domain(r.map(i)),o):t},o.nice=function(){var t=Xi(r.map(i),e?Math:El);return n.domain(t),r=t.map(u),o},o.ticks=function(){var n=Yi(r),o=[],a=n[0],l=n[1],c=Math.floor(i(a)),f=Math.ceil(i(l)),s=t%1?2:t;if(isFinite(f-c)){if(e){for(;f>c;c++)for(var h=1;s>h;h++)o.push(u(c)*h);o.push(u(c))}else for(o.push(u(c));c++0;h--)o.push(u(c)*h);for(c=0;o[c]l;f--);o=o.slice(c,f)}return o},o.tickFormat=function(n,e){if(!arguments.length)return Nl;arguments.length<2?e=Nl:"function"!=typeof e&&(e=ao.format(e));var r=Math.max(1,t*n/o.ticks().length);return function(n){var o=n/u(Math.round(i(n)));return t-.5>o*t&&(o*=t),r>=o?e(n):""}},o.copy=function(){return ru(n.copy(),t,e,r)},Ji(o,n)}function iu(n,t,e){function r(t){return n(i(t))}var i=uu(t),u=uu(1/t);return r.invert=function(t){return u(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain((e=t.map(Number)).map(i)),r):e},r.ticks=function(n){return Qi(e,n)},r.tickFormat=function(n,t){return nu(e,n,t)},r.nice=function(n){return r.domain(Gi(e,n))},r.exponent=function(o){return arguments.length?(i=uu(t=o),u=uu(1/t),n.domain(e.map(i)),r):t},r.copy=function(){return iu(n.copy(),t,e)},Ji(r,n)}function uu(n){return function(t){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}}function ou(n,t){function e(e){return u[((i.get(e)||("range"===t.t?i.set(e,n.push(e)):NaN))-1)%u.length]}function r(t,e){return ao.range(n.length).map(function(n){return t+e*n})}var i,u,o;return e.domain=function(r){if(!arguments.length)return n;n=[],i=new c;for(var u,o=-1,a=r.length;++oe?[NaN,NaN]:[e>0?a[e-1]:n[0],et?NaN:t/u+n,[t,t+1/u]},r.copy=function(){return lu(n,t,e)},i()}function cu(n,t){function e(e){return e>=e?t[ao.bisect(n,e)]:void 0}return e.domain=function(t){return arguments.length?(n=t,e):n},e.range=function(n){return arguments.length?(t=n,e):t},e.invertExtent=function(e){return e=t.indexOf(e),[n[e-1],n[e]]},e.copy=function(){return cu(n,t)},e}function fu(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return Qi(n,t)},t.tickFormat=function(t,e){return nu(n,t,e)},t.copy=function(){return fu(n)},t}function su(){return 0}function hu(n){return n.innerRadius}function pu(n){return n.outerRadius}function gu(n){return n.startAngle}function vu(n){return n.endAngle}function du(n){return n&&n.padAngle}function yu(n,t,e,r){return(n-e)*t-(t-r)*n>0?0:1}function mu(n,t,e,r,i){var u=n[0]-t[0],o=n[1]-t[1],a=(i?r:-r)/Math.sqrt(u*u+o*o),l=a*o,c=-a*u,f=n[0]+l,s=n[1]+c,h=t[0]+l,p=t[1]+c,g=(f+h)/2,v=(s+p)/2,d=h-f,y=p-s,m=d*d+y*y,M=e-r,x=f*p-h*s,b=(0>y?-1:1)*Math.sqrt(Math.max(0,M*M*m-x*x)),_=(x*y-d*b)/m,w=(-x*d-y*b)/m,S=(x*y+d*b)/m,k=(-x*d+y*b)/m,N=_-g,E=w-v,A=S-g,C=k-v;return N*N+E*E>A*A+C*C&&(_=S,w=k),[[_-l,w-c],[_*e/M,w*e/M]]}function Mu(n){function t(t){function o(){c.push("M",u(n(f),a))}for(var l,c=[],f=[],s=-1,h=t.length,p=En(e),g=En(r);++s1?n.join("L"):n+"Z"}function bu(n){return n.join("L")+"Z"}function _u(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1&&i.push("H",r[0]),i.join("")}function wu(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1){a=t[1],u=n[l],l++,r+="C"+(i[0]+o[0])+","+(i[1]+o[1])+","+(u[0]-a[0])+","+(u[1]-a[1])+","+u[0]+","+u[1];for(var c=2;c9&&(i=3*t/Math.sqrt(i),o[a]=i*e,o[a+1]=i*r));for(a=-1;++a<=l;)i=(n[Math.min(l,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),u.push([i||0,o[a]*i||0]);return u}function Fu(n){return n.length<3?xu(n):n[0]+Au(n,ju(n))}function Hu(n){for(var t,e,r,i=-1,u=n.length;++i=t?o(n-t):void(f.c=o)}function o(e){var i=g.active,u=g[i];u&&(u.timer.c=null,u.timer.t=NaN,--g.count,delete g[i],u.event&&u.event.interrupt.call(n,n.__data__,u.index));for(var o in g)if(r>+o){var c=g[o];c.timer.c=null,c.timer.t=NaN,--g.count,delete g[o]}f.c=a,qn(function(){return f.c&&a(e||1)&&(f.c=null,f.t=NaN),1},0,l),g.active=r,v.event&&v.event.start.call(n,n.__data__,t),p=[],v.tween.forEach(function(e,r){(r=r.call(n,n.__data__,t))&&p.push(r)}),h=v.ease,s=v.duration}function a(i){for(var u=i/s,o=h(u),a=p.length;a>0;)p[--a].call(n,o);return u>=1?(v.event&&v.event.end.call(n,n.__data__,t),--g.count?delete g[r]:delete n[e],1):void 0}var l,f,s,h,p,g=n[e]||(n[e]={active:0,count:0}),v=g[r];v||(l=i.time,f=qn(u,0,l),v=g[r]={tween:new c,time:l,timer:f,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++g.count)}function no(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate("+(isFinite(r)?r:e(n))+",0)"})}function to(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate(0,"+(isFinite(r)?r:e(n))+")"})}function eo(n){return n.toISOString()}function ro(n,t,e){function r(t){return n(t)}function i(n,e){var r=n[1]-n[0],i=r/e,u=ao.bisect(Kl,i);return u==Kl.length?[t.year,Ki(n.map(function(n){return n/31536e6}),e)[2]]:u?t[i/Kl[u-1]1?{floor:function(t){for(;e(t=n.floor(t));)t=io(t-1);return t},ceil:function(t){for(;e(t=n.ceil(t));)t=io(+t+1);return t}}:n))},r.ticks=function(n,t){var e=Yi(r.domain()),u=null==n?i(e,10):"number"==typeof n?i(e,n):!n.range&&[{range:n},t];return u&&(n=u[0],t=u[1]),n.range(e[0],io(+e[1]+1),1>t?1:t)},r.tickFormat=function(){return e},r.copy=function(){return ro(n.copy(),t,e)},Ji(r,n)}function io(n){return new Date(n)}function uo(n){return JSON.parse(n.responseText)}function oo(n){var t=fo.createRange();return t.selectNode(fo.body),t.createContextualFragment(n.responseText)}var ao={version:"3.5.17"},lo=[].slice,co=function(n){return lo.call(n)},fo=this.document;if(fo)try{co(fo.documentElement.childNodes)[0].nodeType}catch(so){co=function(n){for(var t=n.length,e=new Array(t);t--;)e[t]=n[t];return e}}if(Date.now||(Date.now=function(){return+new Date}),fo)try{fo.createElement("DIV").style.setProperty("opacity",0,"")}catch(ho){var po=this.Element.prototype,go=po.setAttribute,vo=po.setAttributeNS,yo=this.CSSStyleDeclaration.prototype,mo=yo.setProperty;po.setAttribute=function(n,t){go.call(this,n,t+"")},po.setAttributeNS=function(n,t,e){vo.call(this,n,t,e+"")},yo.setProperty=function(n,t,e){mo.call(this,n,t+"",e)}}ao.ascending=e,ao.descending=function(n,t){return n>t?-1:t>n?1:t>=n?0:NaN},ao.min=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ir&&(e=r)}else{for(;++i=r){e=r;break}for(;++ir&&(e=r)}return e},ao.max=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ie&&(e=r)}else{for(;++i=r){e=r;break}for(;++ie&&(e=r)}return e},ao.extent=function(n,t){var e,r,i,u=-1,o=n.length;if(1===arguments.length){for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}else{for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}return[e,i]},ao.sum=function(n,t){var e,r=0,u=n.length,o=-1;if(1===arguments.length)for(;++o1?l/(f-1):void 0},ao.deviation=function(){var n=ao.variance.apply(this,arguments);return n?Math.sqrt(n):n};var Mo=u(e);ao.bisectLeft=Mo.left,ao.bisect=ao.bisectRight=Mo.right,ao.bisector=function(n){return u(1===n.length?function(t,r){return e(n(t),r)}:n)},ao.shuffle=function(n,t,e){(u=arguments.length)<3&&(e=n.length,2>u&&(t=0));for(var r,i,u=e-t;u;)i=Math.random()*u--|0,r=n[u+t],n[u+t]=n[i+t],n[i+t]=r;return n},ao.permute=function(n,t){for(var e=t.length,r=new Array(e);e--;)r[e]=n[t[e]];return r},ao.pairs=function(n){for(var t,e=0,r=n.length-1,i=n[0],u=new Array(0>r?0:r);r>e;)u[e]=[t=i,i=n[++e]];return u},ao.transpose=function(n){if(!(i=n.length))return[];for(var t=-1,e=ao.min(n,o),r=new Array(e);++t=0;)for(r=n[i],t=r.length;--t>=0;)e[--o]=r[t];return e};var xo=Math.abs;ao.range=function(n,t,e){if(arguments.length<3&&(e=1,arguments.length<2&&(t=n,n=0)),(t-n)/e===1/0)throw new Error("infinite range");var r,i=[],u=a(xo(e)),o=-1;if(n*=u,t*=u,e*=u,0>e)for(;(r=n+e*++o)>t;)i.push(r/u);else for(;(r=n+e*++o)=u.length)return r?r.call(i,o):e?o.sort(e):o;for(var l,f,s,h,p=-1,g=o.length,v=u[a++],d=new c;++p=u.length)return n;var r=[],i=o[e++];return n.forEach(function(n,i){r.push({key:n,values:t(i,e)})}),i?r.sort(function(n,t){return i(n.key,t.key)}):r}var e,r,i={},u=[],o=[];return i.map=function(t,e){return n(e,t,0)},i.entries=function(e){return t(n(ao.map,e,0),0)},i.key=function(n){return u.push(n),i},i.sortKeys=function(n){return o[u.length-1]=n,i},i.sortValues=function(n){return e=n,i},i.rollup=function(n){return r=n,i},i},ao.set=function(n){var t=new y;if(n)for(var e=0,r=n.length;r>e;++e)t.add(n[e]);return t},l(y,{has:h,add:function(n){return this._[f(n+="")]=!0,n},remove:p,values:g,size:v,empty:d,forEach:function(n){for(var t in this._)n.call(this,s(t))}}),ao.behavior={},ao.rebind=function(n,t){for(var e,r=1,i=arguments.length;++r=0&&(r=n.slice(e+1),n=n.slice(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},ao.event=null,ao.requote=function(n){return n.replace(So,"\\$&")};var So=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ko={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]},No=function(n,t){return t.querySelector(n)},Eo=function(n,t){return t.querySelectorAll(n)},Ao=function(n,t){var e=n.matches||n[x(n,"matchesSelector")];return(Ao=function(n,t){return e.call(n,t)})(n,t)};"function"==typeof Sizzle&&(No=function(n,t){return Sizzle(n,t)[0]||null},Eo=Sizzle,Ao=Sizzle.matchesSelector),ao.selection=function(){return ao.select(fo.documentElement)};var Co=ao.selection.prototype=[];Co.select=function(n){var t,e,r,i,u=[];n=A(n);for(var o=-1,a=this.length;++o=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),Lo.hasOwnProperty(e)?{space:Lo[e],local:n}:n}},Co.attr=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node();return n=ao.ns.qualify(n),n.local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(z(t,n[t]));return this}return this.each(z(n,t))},Co.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=T(n)).length,i=-1;if(t=e.classList){for(;++ii){if("string"!=typeof n){2>i&&(e="");for(r in n)this.each(P(r,n[r],e));return this}if(2>i){var u=this.node();return t(u).getComputedStyle(u,null).getPropertyValue(n)}r=""}return this.each(P(n,e,r))},Co.property=function(n,t){if(arguments.length<2){if("string"==typeof n)return this.node()[n];for(t in n)this.each(U(t,n[t]));return this}return this.each(U(n,t))},Co.text=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.textContent=null==t?"":t}:null==n?function(){this.textContent=""}:function(){this.textContent=n}):this.node().textContent},Co.html=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}:null==n?function(){this.innerHTML=""}:function(){this.innerHTML=n}):this.node().innerHTML},Co.append=function(n){return n=j(n),this.select(function(){return this.appendChild(n.apply(this,arguments))})},Co.insert=function(n,t){return n=j(n),t=A(t),this.select(function(){return this.insertBefore(n.apply(this,arguments),t.apply(this,arguments)||null)})},Co.remove=function(){return this.each(F)},Co.data=function(n,t){function e(n,e){var r,i,u,o=n.length,s=e.length,h=Math.min(o,s),p=new Array(s),g=new Array(s),v=new Array(o);if(t){var d,y=new c,m=new Array(o);for(r=-1;++rr;++r)g[r]=H(e[r]);for(;o>r;++r)v[r]=n[r]}g.update=p,g.parentNode=p.parentNode=v.parentNode=n.parentNode,a.push(g),l.push(p),f.push(v)}var r,i,u=-1,o=this.length;if(!arguments.length){for(n=new Array(o=(r=this[0]).length);++uu;u++){i.push(t=[]),t.parentNode=(e=this[u]).parentNode;for(var a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return E(i)},Co.order=function(){for(var n=-1,t=this.length;++n=0;)(e=r[i])&&(u&&u!==e.nextSibling&&u.parentNode.insertBefore(e,u),u=e);return this},Co.sort=function(n){n=I.apply(this,arguments);for(var t=-1,e=this.length;++tn;n++)for(var e=this[n],r=0,i=e.length;i>r;r++){var u=e[r];if(u)return u}return null},Co.size=function(){var n=0;return Y(this,function(){++n}),n};var qo=[];ao.selection.enter=Z,ao.selection.enter.prototype=qo,qo.append=Co.append,qo.empty=Co.empty,qo.node=Co.node,qo.call=Co.call,qo.size=Co.size,qo.select=function(n){for(var t,e,r,i,u,o=[],a=-1,l=this.length;++ar){if("string"!=typeof n){2>r&&(t=!1);for(e in n)this.each(X(e,n[e],t));return this}if(2>r)return(r=this.node()["__on"+n])&&r._;e=!1}return this.each(X(n,t,e))};var To=ao.map({mouseenter:"mouseover",mouseleave:"mouseout"});fo&&To.forEach(function(n){"on"+n in fo&&To.remove(n)});var Ro,Do=0;ao.mouse=function(n){return J(n,k())};var Po=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;ao.touch=function(n,t,e){if(arguments.length<3&&(e=t,t=k().changedTouches),t)for(var r,i=0,u=t.length;u>i;++i)if((r=t[i]).identifier===e)return J(n,r)},ao.behavior.drag=function(){function n(){this.on("mousedown.drag",u).on("touchstart.drag",o)}function e(n,t,e,u,o){return function(){function a(){var n,e,r=t(h,v);r&&(n=r[0]-M[0],e=r[1]-M[1],g|=n|e,M=r,p({type:"drag",x:r[0]+c[0],y:r[1]+c[1],dx:n,dy:e}))}function l(){t(h,v)&&(y.on(u+d,null).on(o+d,null),m(g),p({type:"dragend"}))}var c,f=this,s=ao.event.target.correspondingElement||ao.event.target,h=f.parentNode,p=r.of(f,arguments),g=0,v=n(),d=".drag"+(null==v?"":"-"+v),y=ao.select(e(s)).on(u+d,a).on(o+d,l),m=W(s),M=t(h,v);i?(c=i.apply(f,arguments),c=[c.x-M[0],c.y-M[1]]):c=[0,0],p({type:"dragstart"})}}var r=N(n,"drag","dragstart","dragend"),i=null,u=e(b,ao.mouse,t,"mousemove","mouseup"),o=e(G,ao.touch,m,"touchmove","touchend");return n.origin=function(t){return arguments.length?(i=t,n):i},ao.rebind(n,r,"on")},ao.touches=function(n,t){return arguments.length<2&&(t=k().touches),t?co(t).map(function(t){var e=J(n,t);return e.identifier=t.identifier,e}):[]};var Uo=1e-6,jo=Uo*Uo,Fo=Math.PI,Ho=2*Fo,Oo=Ho-Uo,Io=Fo/2,Yo=Fo/180,Zo=180/Fo,Vo=Math.SQRT2,Xo=2,$o=4;ao.interpolateZoom=function(n,t){var e,r,i=n[0],u=n[1],o=n[2],a=t[0],l=t[1],c=t[2],f=a-i,s=l-u,h=f*f+s*s;if(jo>h)r=Math.log(c/o)/Vo,e=function(n){return[i+n*f,u+n*s,o*Math.exp(Vo*n*r)]};else{var p=Math.sqrt(h),g=(c*c-o*o+$o*h)/(2*o*Xo*p),v=(c*c-o*o-$o*h)/(2*c*Xo*p),d=Math.log(Math.sqrt(g*g+1)-g),y=Math.log(Math.sqrt(v*v+1)-v);r=(y-d)/Vo,e=function(n){var t=n*r,e=rn(d),a=o/(Xo*p)*(e*un(Vo*t+d)-en(d));return[i+a*f,u+a*s,o*e/rn(Vo*t+d)]}}return e.duration=1e3*r,e},ao.behavior.zoom=function(){function n(n){n.on(L,s).on(Wo+".zoom",p).on("dblclick.zoom",g).on(R,h)}function e(n){return[(n[0]-k.x)/k.k,(n[1]-k.y)/k.k]}function r(n){return[n[0]*k.k+k.x,n[1]*k.k+k.y]}function i(n){k.k=Math.max(A[0],Math.min(A[1],n))}function u(n,t){t=r(t),k.x+=n[0]-t[0],k.y+=n[1]-t[1]}function o(t,e,r,o){t.__chart__={x:k.x,y:k.y,k:k.k},i(Math.pow(2,o)),u(d=e,r),t=ao.select(t),C>0&&(t=t.transition().duration(C)),t.call(n.event)}function a(){b&&b.domain(x.range().map(function(n){return(n-k.x)/k.k}).map(x.invert)),w&&w.domain(_.range().map(function(n){return(n-k.y)/k.k}).map(_.invert))}function l(n){z++||n({type:"zoomstart"})}function c(n){a(),n({type:"zoom",scale:k.k,translate:[k.x,k.y]})}function f(n){--z||(n({type:"zoomend"}),d=null)}function s(){function n(){a=1,u(ao.mouse(i),h),c(o)}function r(){s.on(q,null).on(T,null),p(a),f(o)}var i=this,o=D.of(i,arguments),a=0,s=ao.select(t(i)).on(q,n).on(T,r),h=e(ao.mouse(i)),p=W(i);Il.call(i),l(o)}function h(){function n(){var n=ao.touches(g);return p=k.k,n.forEach(function(n){n.identifier in d&&(d[n.identifier]=e(n))}),n}function t(){var t=ao.event.target;ao.select(t).on(x,r).on(b,a),_.push(t);for(var e=ao.event.changedTouches,i=0,u=e.length;u>i;++i)d[e[i].identifier]=null;var l=n(),c=Date.now();if(1===l.length){if(500>c-M){var f=l[0];o(g,f,d[f.identifier],Math.floor(Math.log(k.k)/Math.LN2)+1),S()}M=c}else if(l.length>1){var f=l[0],s=l[1],h=f[0]-s[0],p=f[1]-s[1];y=h*h+p*p}}function r(){var n,t,e,r,o=ao.touches(g);Il.call(g);for(var a=0,l=o.length;l>a;++a,r=null)if(e=o[a],r=d[e.identifier]){if(t)break;n=e,t=r}if(r){var f=(f=e[0]-n[0])*f+(f=e[1]-n[1])*f,s=y&&Math.sqrt(f/y);n=[(n[0]+e[0])/2,(n[1]+e[1])/2],t=[(t[0]+r[0])/2,(t[1]+r[1])/2],i(s*p)}M=null,u(n,t),c(v)}function a(){if(ao.event.touches.length){for(var t=ao.event.changedTouches,e=0,r=t.length;r>e;++e)delete d[t[e].identifier];for(var i in d)return void n()}ao.selectAll(_).on(m,null),w.on(L,s).on(R,h),N(),f(v)}var p,g=this,v=D.of(g,arguments),d={},y=0,m=".zoom-"+ao.event.changedTouches[0].identifier,x="touchmove"+m,b="touchend"+m,_=[],w=ao.select(g),N=W(g);t(),l(v),w.on(L,null).on(R,t)}function p(){var n=D.of(this,arguments);m?clearTimeout(m):(Il.call(this),v=e(d=y||ao.mouse(this)),l(n)),m=setTimeout(function(){m=null,f(n)},50),S(),i(Math.pow(2,.002*Bo())*k.k),u(d,v),c(n)}function g(){var n=ao.mouse(this),t=Math.log(k.k)/Math.LN2;o(this,n,e(n),ao.event.shiftKey?Math.ceil(t)-1:Math.floor(t)+1)}var v,d,y,m,M,x,b,_,w,k={x:0,y:0,k:1},E=[960,500],A=Jo,C=250,z=0,L="mousedown.zoom",q="mousemove.zoom",T="mouseup.zoom",R="touchstart.zoom",D=N(n,"zoomstart","zoom","zoomend");return Wo||(Wo="onwheel"in fo?(Bo=function(){return-ao.event.deltaY*(ao.event.deltaMode?120:1)},"wheel"):"onmousewheel"in fo?(Bo=function(){return ao.event.wheelDelta},"mousewheel"):(Bo=function(){return-ao.event.detail},"MozMousePixelScroll")),n.event=function(n){n.each(function(){var n=D.of(this,arguments),t=k;Hl?ao.select(this).transition().each("start.zoom",function(){k=this.__chart__||{x:0,y:0,k:1},l(n)}).tween("zoom:zoom",function(){var e=E[0],r=E[1],i=d?d[0]:e/2,u=d?d[1]:r/2,o=ao.interpolateZoom([(i-k.x)/k.k,(u-k.y)/k.k,e/k.k],[(i-t.x)/t.k,(u-t.y)/t.k,e/t.k]);return function(t){var r=o(t),a=e/r[2];this.__chart__=k={x:i-r[0]*a,y:u-r[1]*a,k:a},c(n)}}).each("interrupt.zoom",function(){f(n)}).each("end.zoom",function(){f(n)}):(this.__chart__=k,l(n),c(n),f(n))})},n.translate=function(t){return arguments.length?(k={x:+t[0],y:+t[1],k:k.k},a(),n):[k.x,k.y]},n.scale=function(t){return arguments.length?(k={x:k.x,y:k.y,k:null},i(+t),a(),n):k.k},n.scaleExtent=function(t){return arguments.length?(A=null==t?Jo:[+t[0],+t[1]],n):A},n.center=function(t){return arguments.length?(y=t&&[+t[0],+t[1]],n):y},n.size=function(t){return arguments.length?(E=t&&[+t[0],+t[1]],n):E},n.duration=function(t){return arguments.length?(C=+t,n):C},n.x=function(t){return arguments.length?(b=t,x=t.copy(),k={x:0,y:0,k:1},n):b},n.y=function(t){return arguments.length?(w=t,_=t.copy(),k={x:0,y:0,k:1},n):w},ao.rebind(n,D,"on")};var Bo,Wo,Jo=[0,1/0];ao.color=an,an.prototype.toString=function(){return this.rgb()+""},ao.hsl=ln;var Go=ln.prototype=new an;Go.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,this.l/n)},Go.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,n*this.l)},Go.rgb=function(){return cn(this.h,this.s,this.l)},ao.hcl=fn;var Ko=fn.prototype=new an;Ko.brighter=function(n){return new fn(this.h,this.c,Math.min(100,this.l+Qo*(arguments.length?n:1)))},Ko.darker=function(n){return new fn(this.h,this.c,Math.max(0,this.l-Qo*(arguments.length?n:1)))},Ko.rgb=function(){return sn(this.h,this.c,this.l).rgb()},ao.lab=hn;var Qo=18,na=.95047,ta=1,ea=1.08883,ra=hn.prototype=new an;ra.brighter=function(n){return new hn(Math.min(100,this.l+Qo*(arguments.length?n:1)),this.a,this.b)},ra.darker=function(n){return new hn(Math.max(0,this.l-Qo*(arguments.length?n:1)),this.a,this.b)},ra.rgb=function(){return pn(this.l,this.a,this.b)},ao.rgb=mn;var ia=mn.prototype=new an;ia.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,i=30;return t||e||r?(t&&i>t&&(t=i),e&&i>e&&(e=i),r&&i>r&&(r=i),new mn(Math.min(255,t/n),Math.min(255,e/n),Math.min(255,r/n))):new mn(i,i,i)},ia.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new mn(n*this.r,n*this.g,n*this.b)},ia.hsl=function(){return wn(this.r,this.g,this.b)},ia.toString=function(){return"#"+bn(this.r)+bn(this.g)+bn(this.b)};var ua=ao.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});ua.forEach(function(n,t){ua.set(n,Mn(t))}),ao.functor=En,ao.xhr=An(m),ao.dsv=function(n,t){function e(n,e,u){arguments.length<3&&(u=e,e=null);var o=Cn(n,t,null==e?r:i(e),u);return o.row=function(n){return arguments.length?o.response(null==(e=n)?r:i(n)):e},o}function r(n){return e.parse(n.responseText)}function i(n){return function(t){return e.parse(t.responseText,n)}}function u(t){return t.map(o).join(n)}function o(n){return a.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}var a=new RegExp('["'+n+"\n]"),l=n.charCodeAt(0);return e.parse=function(n,t){var r;return e.parseRows(n,function(n,e){if(r)return r(n,e-1);var i=new Function("d","return {"+n.map(function(n,t){return JSON.stringify(n)+": d["+t+"]"}).join(",")+"}");r=t?function(n,e){return t(i(n),e)}:i})},e.parseRows=function(n,t){function e(){if(f>=c)return o;if(i)return i=!1,u;var t=f;if(34===n.charCodeAt(t)){for(var e=t;e++f;){var r=n.charCodeAt(f++),a=1;if(10===r)i=!0;else if(13===r)i=!0,10===n.charCodeAt(f)&&(++f,++a);else if(r!==l)continue;return n.slice(t,f-a)}return n.slice(t)}for(var r,i,u={},o={},a=[],c=n.length,f=0,s=0;(r=e())!==o;){for(var h=[];r!==u&&r!==o;)h.push(r),r=e();t&&null==(h=t(h,s++))||a.push(h)}return a},e.format=function(t){if(Array.isArray(t[0]))return e.formatRows(t);var r=new y,i=[];return t.forEach(function(n){for(var t in n)r.has(t)||i.push(r.add(t))}),[i.map(o).join(n)].concat(t.map(function(t){return i.map(function(n){return o(t[n])}).join(n)})).join("\n")},e.formatRows=function(n){return n.map(u).join("\n")},e},ao.csv=ao.dsv(",","text/csv"),ao.tsv=ao.dsv(" ","text/tab-separated-values");var oa,aa,la,ca,fa=this[x(this,"requestAnimationFrame")]||function(n){setTimeout(n,17)};ao.timer=function(){qn.apply(this,arguments)},ao.timer.flush=function(){Rn(),Dn()},ao.round=function(n,t){return t?Math.round(n*(t=Math.pow(10,t)))/t:Math.round(n)};var sa=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"].map(Un);ao.formatPrefix=function(n,t){var e=0;return(n=+n)&&(0>n&&(n*=-1),t&&(n=ao.round(n,Pn(n,t))),e=1+Math.floor(1e-12+Math.log(n)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((e-1)/3)))),sa[8+e/3]};var ha=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,pa=ao.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,t){return(n=ao.round(n,Pn(n,t))).toFixed(Math.max(0,Math.min(20,Pn(n*(1+1e-15),t))))}}),ga=ao.time={},va=Date;Hn.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){da.setUTCDate.apply(this._,arguments)},setDay:function(){da.setUTCDay.apply(this._,arguments)},setFullYear:function(){da.setUTCFullYear.apply(this._,arguments)},setHours:function(){da.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){da.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){da.setUTCMinutes.apply(this._,arguments)},setMonth:function(){da.setUTCMonth.apply(this._,arguments)},setSeconds:function(){da.setUTCSeconds.apply(this._,arguments)},setTime:function(){da.setTime.apply(this._,arguments)}};var da=Date.prototype;ga.year=On(function(n){return n=ga.day(n),n.setMonth(0,1),n},function(n,t){n.setFullYear(n.getFullYear()+t)},function(n){return n.getFullYear()}),ga.years=ga.year.range,ga.years.utc=ga.year.utc.range,ga.day=On(function(n){var t=new va(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t},function(n,t){n.setDate(n.getDate()+t)},function(n){return n.getDate()-1}),ga.days=ga.day.range,ga.days.utc=ga.day.utc.range,ga.dayOfYear=function(n){var t=ga.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(n,t){t=7-t;var e=ga[n]=On(function(n){return(n=ga.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n},function(n,t){n.setDate(n.getDate()+7*Math.floor(t))},function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)-(e!==t)});ga[n+"s"]=e.range,ga[n+"s"].utc=e.utc.range,ga[n+"OfYear"]=function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)}}),ga.week=ga.sunday,ga.weeks=ga.sunday.range,ga.weeks.utc=ga.sunday.utc.range,ga.weekOfYear=ga.sundayOfYear;var ya={"-":"",_:" ",0:"0"},ma=/^\s*\d+/,Ma=/^%/;ao.locale=function(n){return{numberFormat:jn(n),timeFormat:Yn(n)}};var xa=ao.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"], +shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});ao.format=xa.numberFormat,ao.geo={},ft.prototype={s:0,t:0,add:function(n){st(n,this.t,ba),st(ba.s,this.s,this),this.s?this.t+=ba.t:this.s=ba.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var ba=new ft;ao.geo.stream=function(n,t){n&&_a.hasOwnProperty(n.type)?_a[n.type](n,t):ht(n,t)};var _a={Feature:function(n,t){ht(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,i=e.length;++rn?4*Fo+n:n,Na.lineStart=Na.lineEnd=Na.point=b}};ao.geo.bounds=function(){function n(n,t){M.push(x=[f=n,h=n]),s>t&&(s=t),t>p&&(p=t)}function t(t,e){var r=dt([t*Yo,e*Yo]);if(y){var i=mt(y,r),u=[i[1],-i[0],0],o=mt(u,i);bt(o),o=_t(o);var l=t-g,c=l>0?1:-1,v=o[0]*Zo*c,d=xo(l)>180;if(d^(v>c*g&&c*t>v)){var m=o[1]*Zo;m>p&&(p=m)}else if(v=(v+360)%360-180,d^(v>c*g&&c*t>v)){var m=-o[1]*Zo;s>m&&(s=m)}else s>e&&(s=e),e>p&&(p=e);d?g>t?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t):h>=f?(f>t&&(f=t),t>h&&(h=t)):t>g?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t)}else n(t,e);y=r,g=t}function e(){b.point=t}function r(){x[0]=f,x[1]=h,b.point=n,y=null}function i(n,e){if(y){var r=n-g;m+=xo(r)>180?r+(r>0?360:-360):r}else v=n,d=e;Na.point(n,e),t(n,e)}function u(){Na.lineStart()}function o(){i(v,d),Na.lineEnd(),xo(m)>Uo&&(f=-(h=180)),x[0]=f,x[1]=h,y=null}function a(n,t){return(t-=n)<0?t+360:t}function l(n,t){return n[0]-t[0]}function c(n,t){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nka?(f=-(h=180),s=-(p=90)):m>Uo?p=90:-Uo>m&&(s=-90),x[0]=f,x[1]=h}};return function(n){p=h=-(f=s=1/0),M=[],ao.geo.stream(n,b);var t=M.length;if(t){M.sort(l);for(var e,r=1,i=M[0],u=[i];t>r;++r)e=M[r],c(e[0],i)||c(e[1],i)?(a(i[0],e[1])>a(i[0],i[1])&&(i[1]=e[1]),a(e[0],i[1])>a(i[0],i[1])&&(i[0]=e[0])):u.push(i=e);for(var o,e,g=-(1/0),t=u.length-1,r=0,i=u[t];t>=r;i=e,++r)e=u[r],(o=a(i[1],e[0]))>g&&(g=o,f=e[0],h=i[1])}return M=x=null,f===1/0||s===1/0?[[NaN,NaN],[NaN,NaN]]:[[f,s],[h,p]]}}(),ao.geo.centroid=function(n){Ea=Aa=Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,ja);var t=Da,e=Pa,r=Ua,i=t*t+e*e+r*r;return jo>i&&(t=qa,e=Ta,r=Ra,Uo>Aa&&(t=Ca,e=za,r=La),i=t*t+e*e+r*r,jo>i)?[NaN,NaN]:[Math.atan2(e,t)*Zo,tn(r/Math.sqrt(i))*Zo]};var Ea,Aa,Ca,za,La,qa,Ta,Ra,Da,Pa,Ua,ja={sphere:b,point:St,lineStart:Nt,lineEnd:Et,polygonStart:function(){ja.lineStart=At},polygonEnd:function(){ja.lineStart=Nt}},Fa=Rt(zt,jt,Ht,[-Fo,-Fo/2]),Ha=1e9;ao.geo.clipExtent=function(){var n,t,e,r,i,u,o={stream:function(n){return i&&(i.valid=!1),i=u(n),i.valid=!0,i},extent:function(a){return arguments.length?(u=Zt(n=+a[0][0],t=+a[0][1],e=+a[1][0],r=+a[1][1]),i&&(i.valid=!1,i=null),o):[[n,t],[e,r]]}};return o.extent([[0,0],[960,500]])},(ao.geo.conicEqualArea=function(){return Vt(Xt)}).raw=Xt,ao.geo.albers=function(){return ao.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},ao.geo.albersUsa=function(){function n(n){var u=n[0],o=n[1];return t=null,e(u,o),t||(r(u,o),t)||i(u,o),t}var t,e,r,i,u=ao.geo.albers(),o=ao.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=ao.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(n,e){t=[n,e]}};return n.invert=function(n){var t=u.scale(),e=u.translate(),r=(n[0]-e[0])/t,i=(n[1]-e[1])/t;return(i>=.12&&.234>i&&r>=-.425&&-.214>r?o:i>=.166&&.234>i&&r>=-.214&&-.115>r?a:u).invert(n)},n.stream=function(n){var t=u.stream(n),e=o.stream(n),r=a.stream(n);return{point:function(n,i){t.point(n,i),e.point(n,i),r.point(n,i)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},n.precision=function(t){return arguments.length?(u.precision(t),o.precision(t),a.precision(t),n):u.precision()},n.scale=function(t){return arguments.length?(u.scale(t),o.scale(.35*t),a.scale(t),n.translate(u.translate())):u.scale()},n.translate=function(t){if(!arguments.length)return u.translate();var c=u.scale(),f=+t[0],s=+t[1];return e=u.translate(t).clipExtent([[f-.455*c,s-.238*c],[f+.455*c,s+.238*c]]).stream(l).point,r=o.translate([f-.307*c,s+.201*c]).clipExtent([[f-.425*c+Uo,s+.12*c+Uo],[f-.214*c-Uo,s+.234*c-Uo]]).stream(l).point,i=a.translate([f-.205*c,s+.212*c]).clipExtent([[f-.214*c+Uo,s+.166*c+Uo],[f-.115*c-Uo,s+.234*c-Uo]]).stream(l).point,n},n.scale(1070)};var Oa,Ia,Ya,Za,Va,Xa,$a={point:b,lineStart:b,lineEnd:b,polygonStart:function(){Ia=0,$a.lineStart=$t},polygonEnd:function(){$a.lineStart=$a.lineEnd=$a.point=b,Oa+=xo(Ia/2)}},Ba={point:Bt,lineStart:b,lineEnd:b,polygonStart:b,polygonEnd:b},Wa={point:Gt,lineStart:Kt,lineEnd:Qt,polygonStart:function(){Wa.lineStart=ne},polygonEnd:function(){Wa.point=Gt,Wa.lineStart=Kt,Wa.lineEnd=Qt}};ao.geo.path=function(){function n(n){return n&&("function"==typeof a&&u.pointRadius(+a.apply(this,arguments)),o&&o.valid||(o=i(u)),ao.geo.stream(n,o)),u.result()}function t(){return o=null,n}var e,r,i,u,o,a=4.5;return n.area=function(n){return Oa=0,ao.geo.stream(n,i($a)),Oa},n.centroid=function(n){return Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,i(Wa)),Ua?[Da/Ua,Pa/Ua]:Ra?[qa/Ra,Ta/Ra]:La?[Ca/La,za/La]:[NaN,NaN]},n.bounds=function(n){return Va=Xa=-(Ya=Za=1/0),ao.geo.stream(n,i(Ba)),[[Ya,Za],[Va,Xa]]},n.projection=function(n){return arguments.length?(i=(e=n)?n.stream||re(n):m,t()):e},n.context=function(n){return arguments.length?(u=null==(r=n)?new Wt:new te(n),"function"!=typeof a&&u.pointRadius(a),t()):r},n.pointRadius=function(t){return arguments.length?(a="function"==typeof t?t:(u.pointRadius(+t),+t),n):a},n.projection(ao.geo.albersUsa()).context(null)},ao.geo.transform=function(n){return{stream:function(t){var e=new ie(t);for(var r in n)e[r]=n[r];return e}}},ie.prototype={point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},ao.geo.projection=oe,ao.geo.projectionMutator=ae,(ao.geo.equirectangular=function(){return oe(ce)}).raw=ce.invert=ce,ao.geo.rotation=function(n){function t(t){return t=n(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t}return n=se(n[0]%360*Yo,n[1]*Yo,n.length>2?n[2]*Yo:0),t.invert=function(t){return t=n.invert(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t},t},fe.invert=ce,ao.geo.circle=function(){function n(){var n="function"==typeof r?r.apply(this,arguments):r,t=se(-n[0]*Yo,-n[1]*Yo,0).invert,i=[];return e(null,null,1,{point:function(n,e){i.push(n=t(n,e)),n[0]*=Zo,n[1]*=Zo}}),{type:"Polygon",coordinates:[i]}}var t,e,r=[0,0],i=6;return n.origin=function(t){return arguments.length?(r=t,n):r},n.angle=function(r){return arguments.length?(e=ve((t=+r)*Yo,i*Yo),n):t},n.precision=function(r){return arguments.length?(e=ve(t*Yo,(i=+r)*Yo),n):i},n.angle(90)},ao.geo.distance=function(n,t){var e,r=(t[0]-n[0])*Yo,i=n[1]*Yo,u=t[1]*Yo,o=Math.sin(r),a=Math.cos(r),l=Math.sin(i),c=Math.cos(i),f=Math.sin(u),s=Math.cos(u);return Math.atan2(Math.sqrt((e=s*o)*e+(e=c*f-l*s*a)*e),l*f+c*s*a)},ao.geo.graticule=function(){function n(){return{type:"MultiLineString",coordinates:t()}}function t(){return ao.range(Math.ceil(u/d)*d,i,d).map(h).concat(ao.range(Math.ceil(c/y)*y,l,y).map(p)).concat(ao.range(Math.ceil(r/g)*g,e,g).filter(function(n){return xo(n%d)>Uo}).map(f)).concat(ao.range(Math.ceil(a/v)*v,o,v).filter(function(n){return xo(n%y)>Uo}).map(s))}var e,r,i,u,o,a,l,c,f,s,h,p,g=10,v=g,d=90,y=360,m=2.5;return n.lines=function(){return t().map(function(n){return{type:"LineString",coordinates:n}})},n.outline=function(){return{type:"Polygon",coordinates:[h(u).concat(p(l).slice(1),h(i).reverse().slice(1),p(c).reverse().slice(1))]}},n.extent=function(t){return arguments.length?n.majorExtent(t).minorExtent(t):n.minorExtent()},n.majorExtent=function(t){return arguments.length?(u=+t[0][0],i=+t[1][0],c=+t[0][1],l=+t[1][1],u>i&&(t=u,u=i,i=t),c>l&&(t=c,c=l,l=t),n.precision(m)):[[u,c],[i,l]]},n.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],o=+t[1][1],r>e&&(t=r,r=e,e=t),a>o&&(t=a,a=o,o=t),n.precision(m)):[[r,a],[e,o]]},n.step=function(t){return arguments.length?n.majorStep(t).minorStep(t):n.minorStep()},n.majorStep=function(t){return arguments.length?(d=+t[0],y=+t[1],n):[d,y]},n.minorStep=function(t){return arguments.length?(g=+t[0],v=+t[1],n):[g,v]},n.precision=function(t){return arguments.length?(m=+t,f=ye(a,o,90),s=me(r,e,m),h=ye(c,l,90),p=me(u,i,m),n):m},n.majorExtent([[-180,-90+Uo],[180,90-Uo]]).minorExtent([[-180,-80-Uo],[180,80+Uo]])},ao.geo.greatArc=function(){function n(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),e||i.apply(this,arguments)]}}var t,e,r=Me,i=xe;return n.distance=function(){return ao.geo.distance(t||r.apply(this,arguments),e||i.apply(this,arguments))},n.source=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,n):r},n.target=function(t){return arguments.length?(i=t,e="function"==typeof t?null:t,n):i},n.precision=function(){return arguments.length?n:0},n},ao.geo.interpolate=function(n,t){return be(n[0]*Yo,n[1]*Yo,t[0]*Yo,t[1]*Yo)},ao.geo.length=function(n){return Ja=0,ao.geo.stream(n,Ga),Ja};var Ja,Ga={sphere:b,point:b,lineStart:_e,lineEnd:b,polygonStart:b,polygonEnd:b},Ka=we(function(n){return Math.sqrt(2/(1+n))},function(n){return 2*Math.asin(n/2)});(ao.geo.azimuthalEqualArea=function(){return oe(Ka)}).raw=Ka;var Qa=we(function(n){var t=Math.acos(n);return t&&t/Math.sin(t)},m);(ao.geo.azimuthalEquidistant=function(){return oe(Qa)}).raw=Qa,(ao.geo.conicConformal=function(){return Vt(Se)}).raw=Se,(ao.geo.conicEquidistant=function(){return Vt(ke)}).raw=ke;var nl=we(function(n){return 1/n},Math.atan);(ao.geo.gnomonic=function(){return oe(nl)}).raw=nl,Ne.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Io]},(ao.geo.mercator=function(){return Ee(Ne)}).raw=Ne;var tl=we(function(){return 1},Math.asin);(ao.geo.orthographic=function(){return oe(tl)}).raw=tl;var el=we(function(n){return 1/(1+n)},function(n){return 2*Math.atan(n)});(ao.geo.stereographic=function(){return oe(el)}).raw=el,Ae.invert=function(n,t){return[-t,2*Math.atan(Math.exp(n))-Io]},(ao.geo.transverseMercator=function(){var n=Ee(Ae),t=n.center,e=n.rotate;return n.center=function(n){return n?t([-n[1],n[0]]):(n=t(),[n[1],-n[0]])},n.rotate=function(n){return n?e([n[0],n[1],n.length>2?n[2]+90:90]):(n=e(),[n[0],n[1],n[2]-90])},e([0,0,90])}).raw=Ae,ao.geom={},ao.geom.hull=function(n){function t(n){if(n.length<3)return[];var t,i=En(e),u=En(r),o=n.length,a=[],l=[];for(t=0;o>t;t++)a.push([+i.call(this,n[t],t),+u.call(this,n[t],t),t]);for(a.sort(qe),t=0;o>t;t++)l.push([a[t][0],-a[t][1]]);var c=Le(a),f=Le(l),s=f[0]===c[0],h=f[f.length-1]===c[c.length-1],p=[];for(t=c.length-1;t>=0;--t)p.push(n[a[c[t]][2]]);for(t=+s;t=r&&c.x<=u&&c.y>=i&&c.y<=o?[[r,o],[u,o],[u,i],[r,i]]:[];f.point=n[a]}),t}function e(n){return n.map(function(n,t){return{x:Math.round(u(n,t)/Uo)*Uo,y:Math.round(o(n,t)/Uo)*Uo,i:t}})}var r=Ce,i=ze,u=r,o=i,a=sl;return n?t(n):(t.links=function(n){return ar(e(n)).edges.filter(function(n){return n.l&&n.r}).map(function(t){return{source:n[t.l.i],target:n[t.r.i]}})},t.triangles=function(n){var t=[];return ar(e(n)).cells.forEach(function(e,r){for(var i,u,o=e.site,a=e.edges.sort(Ve),l=-1,c=a.length,f=a[c-1].edge,s=f.l===o?f.r:f.l;++l=c,h=r>=f,p=h<<1|s;n.leaf=!1,n=n.nodes[p]||(n.nodes[p]=hr()),s?i=c:a=c,h?o=f:l=f,u(n,t,e,r,i,o,a,l)}var f,s,h,p,g,v,d,y,m,M=En(a),x=En(l);if(null!=t)v=t,d=e,y=r,m=i;else if(y=m=-(v=d=1/0),s=[],h=[],g=n.length,o)for(p=0;g>p;++p)f=n[p],f.xy&&(y=f.x),f.y>m&&(m=f.y),s.push(f.x),h.push(f.y);else for(p=0;g>p;++p){var b=+M(f=n[p],p),_=+x(f,p);v>b&&(v=b),d>_&&(d=_),b>y&&(y=b),_>m&&(m=_),s.push(b),h.push(_)}var w=y-v,S=m-d;w>S?m=d+w:y=v+S;var k=hr();if(k.add=function(n){u(k,n,+M(n,++p),+x(n,p),v,d,y,m)},k.visit=function(n){pr(n,k,v,d,y,m)},k.find=function(n){return gr(k,n[0],n[1],v,d,y,m)},p=-1,null==t){for(;++p=0?n.slice(0,t):n,r=t>=0?n.slice(t+1):"in";return e=vl.get(e)||gl,r=dl.get(r)||m,br(r(e.apply(null,lo.call(arguments,1))))},ao.interpolateHcl=Rr,ao.interpolateHsl=Dr,ao.interpolateLab=Pr,ao.interpolateRound=Ur,ao.transform=function(n){var t=fo.createElementNS(ao.ns.prefix.svg,"g");return(ao.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new jr(e?e.matrix:yl)})(n)},jr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var yl={a:1,b:0,c:0,d:1,e:0,f:0};ao.interpolateTransform=$r,ao.layout={},ao.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++ea*a/y){if(v>l){var c=t.charge/l;n.px-=u*c,n.py-=o*c}return!0}if(t.point&&l&&v>l){var c=t.pointCharge/l;n.px-=u*c,n.py-=o*c}}return!t.charge}}function t(n){n.px=ao.event.x,n.py=ao.event.y,l.resume()}var e,r,i,u,o,a,l={},c=ao.dispatch("start","tick","end"),f=[1,1],s=.9,h=ml,p=Ml,g=-30,v=xl,d=.1,y=.64,M=[],x=[];return l.tick=function(){if((i*=.99)<.005)return e=null,c.end({type:"end",alpha:i=0}),!0;var t,r,l,h,p,v,y,m,b,_=M.length,w=x.length;for(r=0;w>r;++r)l=x[r],h=l.source,p=l.target,m=p.x-h.x,b=p.y-h.y,(v=m*m+b*b)&&(v=i*o[r]*((v=Math.sqrt(v))-u[r])/v,m*=v,b*=v,p.x-=m*(y=h.weight+p.weight?h.weight/(h.weight+p.weight):.5),p.y-=b*y,h.x+=m*(y=1-y),h.y+=b*y);if((y=i*d)&&(m=f[0]/2,b=f[1]/2,r=-1,y))for(;++r<_;)l=M[r],l.x+=(m-l.x)*y,l.y+=(b-l.y)*y;if(g)for(ri(t=ao.geom.quadtree(M),i,a),r=-1;++r<_;)(l=M[r]).fixed||t.visit(n(l));for(r=-1;++r<_;)l=M[r],l.fixed?(l.x=l.px,l.y=l.py):(l.x-=(l.px-(l.px=l.x))*s,l.y-=(l.py-(l.py=l.y))*s);c.tick({type:"tick",alpha:i})},l.nodes=function(n){return arguments.length?(M=n,l):M},l.links=function(n){return arguments.length?(x=n,l):x},l.size=function(n){return arguments.length?(f=n,l):f},l.linkDistance=function(n){return arguments.length?(h="function"==typeof n?n:+n,l):h},l.distance=l.linkDistance,l.linkStrength=function(n){return arguments.length?(p="function"==typeof n?n:+n,l):p},l.friction=function(n){return arguments.length?(s=+n,l):s},l.charge=function(n){return arguments.length?(g="function"==typeof n?n:+n,l):g},l.chargeDistance=function(n){return arguments.length?(v=n*n,l):Math.sqrt(v)},l.gravity=function(n){return arguments.length?(d=+n,l):d},l.theta=function(n){return arguments.length?(y=n*n,l):Math.sqrt(y)},l.alpha=function(n){return arguments.length?(n=+n,i?n>0?i=n:(e.c=null,e.t=NaN,e=null,c.end({type:"end",alpha:i=0})):n>0&&(c.start({type:"start",alpha:i=n}),e=qn(l.tick)),l):i},l.start=function(){function n(n,r){if(!e){for(e=new Array(i),l=0;i>l;++l)e[l]=[];for(l=0;c>l;++l){var u=x[l];e[u.source.index].push(u.target),e[u.target.index].push(u.source)}}for(var o,a=e[t],l=-1,f=a.length;++lt;++t)(r=M[t]).index=t,r.weight=0;for(t=0;c>t;++t)r=x[t],"number"==typeof r.source&&(r.source=M[r.source]),"number"==typeof r.target&&(r.target=M[r.target]),++r.source.weight,++r.target.weight;for(t=0;i>t;++t)r=M[t],isNaN(r.x)&&(r.x=n("x",s)),isNaN(r.y)&&(r.y=n("y",v)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(u=[],"function"==typeof h)for(t=0;c>t;++t)u[t]=+h.call(this,x[t],t);else for(t=0;c>t;++t)u[t]=h;if(o=[],"function"==typeof p)for(t=0;c>t;++t)o[t]=+p.call(this,x[t],t);else for(t=0;c>t;++t)o[t]=p;if(a=[],"function"==typeof g)for(t=0;i>t;++t)a[t]=+g.call(this,M[t],t);else for(t=0;i>t;++t)a[t]=g;return l.resume()},l.resume=function(){return l.alpha(.1)},l.stop=function(){return l.alpha(0)},l.drag=function(){return r||(r=ao.behavior.drag().origin(m).on("dragstart.force",Qr).on("drag.force",t).on("dragend.force",ni)),arguments.length?void this.on("mouseover.force",ti).on("mouseout.force",ei).call(r):r},ao.rebind(l,c,"on")};var ml=20,Ml=1,xl=1/0;ao.layout.hierarchy=function(){function n(i){var u,o=[i],a=[];for(i.depth=0;null!=(u=o.pop());)if(a.push(u),(c=e.call(n,u,u.depth))&&(l=c.length)){for(var l,c,f;--l>=0;)o.push(f=c[l]),f.parent=u,f.depth=u.depth+1;r&&(u.value=0),u.children=c}else r&&(u.value=+r.call(n,u,u.depth)||0),delete u.children;return oi(i,function(n){var e,i;t&&(e=n.children)&&e.sort(t),r&&(i=n.parent)&&(i.value+=n.value)}),a}var t=ci,e=ai,r=li;return n.sort=function(e){return arguments.length?(t=e,n):t},n.children=function(t){return arguments.length?(e=t,n):e},n.value=function(t){return arguments.length?(r=t,n):r},n.revalue=function(t){return r&&(ui(t,function(n){n.children&&(n.value=0)}),oi(t,function(t){var e;t.children||(t.value=+r.call(n,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)})),t},n},ao.layout.partition=function(){function n(t,e,r,i){var u=t.children;if(t.x=e,t.y=t.depth*i,t.dx=r,t.dy=i,u&&(o=u.length)){var o,a,l,c=-1;for(r=t.value?r/t.value:0;++cs?-1:1),g=ao.sum(c),v=g?(s-l*p)/g:0,d=ao.range(l),y=[];return null!=e&&d.sort(e===bl?function(n,t){return c[t]-c[n]}:function(n,t){return e(o[n],o[t])}),d.forEach(function(n){y[n]={data:o[n],value:a=c[n],startAngle:f,endAngle:f+=a*v+p,padAngle:h}}),y}var t=Number,e=bl,r=0,i=Ho,u=0;return n.value=function(e){return arguments.length?(t=e,n):t},n.sort=function(t){return arguments.length?(e=t,n):e},n.startAngle=function(t){return arguments.length?(r=t,n):r},n.endAngle=function(t){return arguments.length?(i=t,n):i},n.padAngle=function(t){return arguments.length?(u=t,n):u},n};var bl={};ao.layout.stack=function(){function n(a,l){if(!(h=a.length))return a;var c=a.map(function(e,r){return t.call(n,e,r)}),f=c.map(function(t){return t.map(function(t,e){return[u.call(n,t,e),o.call(n,t,e)]})}),s=e.call(n,f,l);c=ao.permute(c,s),f=ao.permute(f,s);var h,p,g,v,d=r.call(n,f,l),y=c[0].length;for(g=0;y>g;++g)for(i.call(n,c[0][g],v=d[g],f[0][g][1]),p=1;h>p;++p)i.call(n,c[p][g],v+=f[p-1][g][1],f[p][g][1]);return a}var t=m,e=gi,r=vi,i=pi,u=si,o=hi;return n.values=function(e){return arguments.length?(t=e,n):t},n.order=function(t){return arguments.length?(e="function"==typeof t?t:_l.get(t)||gi,n):e},n.offset=function(t){return arguments.length?(r="function"==typeof t?t:wl.get(t)||vi,n):r},n.x=function(t){return arguments.length?(u=t,n):u},n.y=function(t){return arguments.length?(o=t,n):o},n.out=function(t){return arguments.length?(i=t,n):i},n};var _l=ao.map({"inside-out":function(n){var t,e,r=n.length,i=n.map(di),u=n.map(yi),o=ao.range(r).sort(function(n,t){return i[n]-i[t]}),a=0,l=0,c=[],f=[];for(t=0;r>t;++t)e=o[t],l>a?(a+=u[e],c.push(e)):(l+=u[e],f.push(e));return f.reverse().concat(c)},reverse:function(n){return ao.range(n.length).reverse()},"default":gi}),wl=ao.map({silhouette:function(n){var t,e,r,i=n.length,u=n[0].length,o=[],a=0,l=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];r>a&&(a=r),o.push(r)}for(e=0;u>e;++e)l[e]=(a-o[e])/2;return l},wiggle:function(n){var t,e,r,i,u,o,a,l,c,f=n.length,s=n[0],h=s.length,p=[];for(p[0]=l=c=0,e=1;h>e;++e){for(t=0,i=0;f>t;++t)i+=n[t][e][1];for(t=0,u=0,a=s[e][0]-s[e-1][0];f>t;++t){for(r=0,o=(n[t][e][1]-n[t][e-1][1])/(2*a);t>r;++r)o+=(n[r][e][1]-n[r][e-1][1])/a;u+=o*n[t][e][1]}p[e]=l-=i?u/i*a:0,c>l&&(c=l)}for(e=0;h>e;++e)p[e]-=c;return p},expand:function(n){var t,e,r,i=n.length,u=n[0].length,o=1/i,a=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];if(r)for(t=0;i>t;t++)n[t][e][1]/=r;else for(t=0;i>t;t++)n[t][e][1]=o}for(e=0;u>e;++e)a[e]=0;return a},zero:vi});ao.layout.histogram=function(){function n(n,u){for(var o,a,l=[],c=n.map(e,this),f=r.call(this,c,u),s=i.call(this,f,c,u),u=-1,h=c.length,p=s.length-1,g=t?1:1/h;++u0)for(u=-1;++u=f[0]&&a<=f[1]&&(o=l[ao.bisect(s,a,1,p)-1],o.y+=g,o.push(n[u]));return l}var t=!0,e=Number,r=bi,i=Mi;return n.value=function(t){return arguments.length?(e=t,n):e},n.range=function(t){return arguments.length?(r=En(t),n):r},n.bins=function(t){return arguments.length?(i="number"==typeof t?function(n){return xi(n,t)}:En(t),n):i},n.frequency=function(e){return arguments.length?(t=!!e,n):t},n},ao.layout.pack=function(){function n(n,u){var o=e.call(this,n,u),a=o[0],l=i[0],c=i[1],f=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(a.x=a.y=0,oi(a,function(n){n.r=+f(n.value)}),oi(a,Ni),r){var s=r*(t?1:Math.max(2*a.r/l,2*a.r/c))/2;oi(a,function(n){n.r+=s}),oi(a,Ni),oi(a,function(n){n.r-=s})}return Ci(a,l/2,c/2,t?1:1/Math.max(2*a.r/l,2*a.r/c)),o}var t,e=ao.layout.hierarchy().sort(_i),r=0,i=[1,1];return n.size=function(t){return arguments.length?(i=t,n):i},n.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,n):t},n.padding=function(t){return arguments.length?(r=+t,n):r},ii(n,e)},ao.layout.tree=function(){function n(n,i){var f=o.call(this,n,i),s=f[0],h=t(s);if(oi(h,e),h.parent.m=-h.z,ui(h,r),c)ui(s,u);else{var p=s,g=s,v=s;ui(s,function(n){n.xg.x&&(g=n),n.depth>v.depth&&(v=n)});var d=a(p,g)/2-p.x,y=l[0]/(g.x+a(g,p)/2+d),m=l[1]/(v.depth||1);ui(s,function(n){n.x=(n.x+d)*y,n.y=n.depth*m})}return f}function t(n){for(var t,e={A:null,children:[n]},r=[e];null!=(t=r.pop());)for(var i,u=t.children,o=0,a=u.length;a>o;++o)r.push((u[o]=i={_:u[o],parent:t,children:(i=u[o].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=i);return e.children[0]}function e(n){var t=n.children,e=n.parent.children,r=n.i?e[n.i-1]:null;if(t.length){Di(n);var u=(t[0].z+t[t.length-1].z)/2;r?(n.z=r.z+a(n._,r._),n.m=n.z-u):n.z=u}else r&&(n.z=r.z+a(n._,r._));n.parent.A=i(n,r,n.parent.A||e[0])}function r(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function i(n,t,e){if(t){for(var r,i=n,u=n,o=t,l=i.parent.children[0],c=i.m,f=u.m,s=o.m,h=l.m;o=Ti(o),i=qi(i),o&&i;)l=qi(l),u=Ti(u),u.a=n,r=o.z+s-i.z-c+a(o._,i._),r>0&&(Ri(Pi(o,n,e),n,r),c+=r,f+=r),s+=o.m,c+=i.m,h+=l.m,f+=u.m;o&&!Ti(u)&&(u.t=o,u.m+=s-f),i&&!qi(l)&&(l.t=i,l.m+=c-h,e=n)}return e}function u(n){n.x*=l[0],n.y=n.depth*l[1]}var o=ao.layout.hierarchy().sort(null).value(null),a=Li,l=[1,1],c=null;return n.separation=function(t){return arguments.length?(a=t,n):a},n.size=function(t){return arguments.length?(c=null==(l=t)?u:null,n):c?null:l},n.nodeSize=function(t){return arguments.length?(c=null==(l=t)?null:u,n):c?l:null},ii(n,o)},ao.layout.cluster=function(){function n(n,u){var o,a=t.call(this,n,u),l=a[0],c=0;oi(l,function(n){var t=n.children;t&&t.length?(n.x=ji(t),n.y=Ui(t)):(n.x=o?c+=e(n,o):0,n.y=0,o=n)});var f=Fi(l),s=Hi(l),h=f.x-e(f,s)/2,p=s.x+e(s,f)/2;return oi(l,i?function(n){n.x=(n.x-l.x)*r[0],n.y=(l.y-n.y)*r[1]}:function(n){n.x=(n.x-h)/(p-h)*r[0],n.y=(1-(l.y?n.y/l.y:1))*r[1]}),a}var t=ao.layout.hierarchy().sort(null).value(null),e=Li,r=[1,1],i=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(i=null==(r=t),n):i?null:r},n.nodeSize=function(t){return arguments.length?(i=null!=(r=t),n):i?r:null},ii(n,t)},ao.layout.treemap=function(){function n(n,t){for(var e,r,i=-1,u=n.length;++it?0:t),e.area=isNaN(r)||0>=r?0:r}function t(e){var u=e.children;if(u&&u.length){var o,a,l,c=s(e),f=[],h=u.slice(),g=1/0,v="slice"===p?c.dx:"dice"===p?c.dy:"slice-dice"===p?1&e.depth?c.dy:c.dx:Math.min(c.dx,c.dy);for(n(h,c.dx*c.dy/e.value),f.area=0;(l=h.length)>0;)f.push(o=h[l-1]),f.area+=o.area,"squarify"!==p||(a=r(f,v))<=g?(h.pop(),g=a):(f.area-=f.pop().area,i(f,v,c,!1),v=Math.min(c.dx,c.dy),f.length=f.area=0,g=1/0);f.length&&(i(f,v,c,!0),f.length=f.area=0),u.forEach(t)}}function e(t){var r=t.children;if(r&&r.length){var u,o=s(t),a=r.slice(),l=[];for(n(a,o.dx*o.dy/t.value),l.area=0;u=a.pop();)l.push(u),l.area+=u.area,null!=u.z&&(i(l,u.z?o.dx:o.dy,o,!a.length),l.length=l.area=0);r.forEach(e)}}function r(n,t){for(var e,r=n.area,i=0,u=1/0,o=-1,a=n.length;++oe&&(u=e),e>i&&(i=e));return r*=r,t*=t,r?Math.max(t*i*g/r,r/(t*u*g)):1/0}function i(n,t,e,r){var i,u=-1,o=n.length,a=e.x,c=e.y,f=t?l(n.area/t):0; +if(t==e.dx){for((r||f>e.dy)&&(f=e.dy);++ue.dx)&&(f=e.dx);++ue&&(t=1),1>e&&(n=0),function(){var e,r,i;do e=2*Math.random()-1,r=2*Math.random()-1,i=e*e+r*r;while(!i||i>1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var n=ao.random.normal.apply(ao,arguments);return function(){return Math.exp(n())}},bates:function(n){var t=ao.random.irwinHall(n);return function(){return t()/n}},irwinHall:function(n){return function(){for(var t=0,e=0;n>e;e++)t+=Math.random();return t}}},ao.scale={};var Sl={floor:m,ceil:m};ao.scale.linear=function(){return Wi([0,1],[0,1],Mr,!1)};var kl={s:1,g:1,p:1,r:1,e:1};ao.scale.log=function(){return ru(ao.scale.linear().domain([0,1]),10,!0,[1,10])};var Nl=ao.format(".0e"),El={floor:function(n){return-Math.ceil(-n)},ceil:function(n){return-Math.floor(-n)}};ao.scale.pow=function(){return iu(ao.scale.linear(),1,[0,1])},ao.scale.sqrt=function(){return ao.scale.pow().exponent(.5)},ao.scale.ordinal=function(){return ou([],{t:"range",a:[[]]})},ao.scale.category10=function(){return ao.scale.ordinal().range(Al)},ao.scale.category20=function(){return ao.scale.ordinal().range(Cl)},ao.scale.category20b=function(){return ao.scale.ordinal().range(zl)},ao.scale.category20c=function(){return ao.scale.ordinal().range(Ll)};var Al=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(xn),Cl=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(xn),zl=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(xn),Ll=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(xn);ao.scale.quantile=function(){return au([],[])},ao.scale.quantize=function(){return lu(0,1,[0,1])},ao.scale.threshold=function(){return cu([.5],[0,1])},ao.scale.identity=function(){return fu([0,1])},ao.svg={},ao.svg.arc=function(){function n(){var n=Math.max(0,+e.apply(this,arguments)),c=Math.max(0,+r.apply(this,arguments)),f=o.apply(this,arguments)-Io,s=a.apply(this,arguments)-Io,h=Math.abs(s-f),p=f>s?0:1;if(n>c&&(g=c,c=n,n=g),h>=Oo)return t(c,p)+(n?t(n,1-p):"")+"Z";var g,v,d,y,m,M,x,b,_,w,S,k,N=0,E=0,A=[];if((y=(+l.apply(this,arguments)||0)/2)&&(d=u===ql?Math.sqrt(n*n+c*c):+u.apply(this,arguments),p||(E*=-1),c&&(E=tn(d/c*Math.sin(y))),n&&(N=tn(d/n*Math.sin(y)))),c){m=c*Math.cos(f+E),M=c*Math.sin(f+E),x=c*Math.cos(s-E),b=c*Math.sin(s-E);var C=Math.abs(s-f-2*E)<=Fo?0:1;if(E&&yu(m,M,x,b)===p^C){var z=(f+s)/2;m=c*Math.cos(z),M=c*Math.sin(z),x=b=null}}else m=M=0;if(n){_=n*Math.cos(s-N),w=n*Math.sin(s-N),S=n*Math.cos(f+N),k=n*Math.sin(f+N);var L=Math.abs(f-s+2*N)<=Fo?0:1;if(N&&yu(_,w,S,k)===1-p^L){var q=(f+s)/2;_=n*Math.cos(q),w=n*Math.sin(q),S=k=null}}else _=w=0;if(h>Uo&&(g=Math.min(Math.abs(c-n)/2,+i.apply(this,arguments)))>.001){v=c>n^p?0:1;var T=g,R=g;if(Fo>h){var D=null==S?[_,w]:null==x?[m,M]:Re([m,M],[S,k],[x,b],[_,w]),P=m-D[0],U=M-D[1],j=x-D[0],F=b-D[1],H=1/Math.sin(Math.acos((P*j+U*F)/(Math.sqrt(P*P+U*U)*Math.sqrt(j*j+F*F)))/2),O=Math.sqrt(D[0]*D[0]+D[1]*D[1]);R=Math.min(g,(n-O)/(H-1)),T=Math.min(g,(c-O)/(H+1))}if(null!=x){var I=mu(null==S?[_,w]:[S,k],[m,M],c,T,p),Y=mu([x,b],[_,w],c,T,p);g===T?A.push("M",I[0],"A",T,",",T," 0 0,",v," ",I[1],"A",c,",",c," 0 ",1-p^yu(I[1][0],I[1][1],Y[1][0],Y[1][1]),",",p," ",Y[1],"A",T,",",T," 0 0,",v," ",Y[0]):A.push("M",I[0],"A",T,",",T," 0 1,",v," ",Y[0])}else A.push("M",m,",",M);if(null!=S){var Z=mu([m,M],[S,k],n,-R,p),V=mu([_,w],null==x?[m,M]:[x,b],n,-R,p);g===R?A.push("L",V[0],"A",R,",",R," 0 0,",v," ",V[1],"A",n,",",n," 0 ",p^yu(V[1][0],V[1][1],Z[1][0],Z[1][1]),",",1-p," ",Z[1],"A",R,",",R," 0 0,",v," ",Z[0]):A.push("L",V[0],"A",R,",",R," 0 0,",v," ",Z[0])}else A.push("L",_,",",w)}else A.push("M",m,",",M),null!=x&&A.push("A",c,",",c," 0 ",C,",",p," ",x,",",b),A.push("L",_,",",w),null!=S&&A.push("A",n,",",n," 0 ",L,",",1-p," ",S,",",k);return A.push("Z"),A.join("")}function t(n,t){return"M0,"+n+"A"+n+","+n+" 0 1,"+t+" 0,"+-n+"A"+n+","+n+" 0 1,"+t+" 0,"+n}var e=hu,r=pu,i=su,u=ql,o=gu,a=vu,l=du;return n.innerRadius=function(t){return arguments.length?(e=En(t),n):e},n.outerRadius=function(t){return arguments.length?(r=En(t),n):r},n.cornerRadius=function(t){return arguments.length?(i=En(t),n):i},n.padRadius=function(t){return arguments.length?(u=t==ql?ql:En(t),n):u},n.startAngle=function(t){return arguments.length?(o=En(t),n):o},n.endAngle=function(t){return arguments.length?(a=En(t),n):a},n.padAngle=function(t){return arguments.length?(l=En(t),n):l},n.centroid=function(){var n=(+e.apply(this,arguments)+ +r.apply(this,arguments))/2,t=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-Io;return[Math.cos(t)*n,Math.sin(t)*n]},n};var ql="auto";ao.svg.line=function(){return Mu(m)};var Tl=ao.map({linear:xu,"linear-closed":bu,step:_u,"step-before":wu,"step-after":Su,basis:zu,"basis-open":Lu,"basis-closed":qu,bundle:Tu,cardinal:Eu,"cardinal-open":ku,"cardinal-closed":Nu,monotone:Fu});Tl.forEach(function(n,t){t.key=n,t.closed=/-closed$/.test(n)});var Rl=[0,2/3,1/3,0],Dl=[0,1/3,2/3,0],Pl=[0,1/6,2/3,1/6];ao.svg.line.radial=function(){var n=Mu(Hu);return n.radius=n.x,delete n.x,n.angle=n.y,delete n.y,n},wu.reverse=Su,Su.reverse=wu,ao.svg.area=function(){return Ou(m)},ao.svg.area.radial=function(){var n=Ou(Hu);return n.radius=n.x,delete n.x,n.innerRadius=n.x0,delete n.x0,n.outerRadius=n.x1,delete n.x1,n.angle=n.y,delete n.y,n.startAngle=n.y0,delete n.y0,n.endAngle=n.y1,delete n.y1,n},ao.svg.chord=function(){function n(n,a){var l=t(this,u,n,a),c=t(this,o,n,a);return"M"+l.p0+r(l.r,l.p1,l.a1-l.a0)+(e(l,c)?i(l.r,l.p1,l.r,l.p0):i(l.r,l.p1,c.r,c.p0)+r(c.r,c.p1,c.a1-c.a0)+i(c.r,c.p1,l.r,l.p0))+"Z"}function t(n,t,e,r){var i=t.call(n,e,r),u=a.call(n,i,r),o=l.call(n,i,r)-Io,f=c.call(n,i,r)-Io;return{r:u,a0:o,a1:f,p0:[u*Math.cos(o),u*Math.sin(o)],p1:[u*Math.cos(f),u*Math.sin(f)]}}function e(n,t){return n.a0==t.a0&&n.a1==t.a1}function r(n,t,e){return"A"+n+","+n+" 0 "+ +(e>Fo)+",1 "+t}function i(n,t,e,r){return"Q 0,0 "+r}var u=Me,o=xe,a=Iu,l=gu,c=vu;return n.radius=function(t){return arguments.length?(a=En(t),n):a},n.source=function(t){return arguments.length?(u=En(t),n):u},n.target=function(t){return arguments.length?(o=En(t),n):o},n.startAngle=function(t){return arguments.length?(l=En(t),n):l},n.endAngle=function(t){return arguments.length?(c=En(t),n):c},n},ao.svg.diagonal=function(){function n(n,i){var u=t.call(this,n,i),o=e.call(this,n,i),a=(u.y+o.y)/2,l=[u,{x:u.x,y:a},{x:o.x,y:a},o];return l=l.map(r),"M"+l[0]+"C"+l[1]+" "+l[2]+" "+l[3]}var t=Me,e=xe,r=Yu;return n.source=function(e){return arguments.length?(t=En(e),n):t},n.target=function(t){return arguments.length?(e=En(t),n):e},n.projection=function(t){return arguments.length?(r=t,n):r},n},ao.svg.diagonal.radial=function(){var n=ao.svg.diagonal(),t=Yu,e=n.projection;return n.projection=function(n){return arguments.length?e(Zu(t=n)):t},n},ao.svg.symbol=function(){function n(n,r){return(Ul.get(t.call(this,n,r))||$u)(e.call(this,n,r))}var t=Xu,e=Vu;return n.type=function(e){return arguments.length?(t=En(e),n):t},n.size=function(t){return arguments.length?(e=En(t),n):e},n};var Ul=ao.map({circle:$u,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*Fl)),e=t*Fl;return"M0,"+-t+"L"+e+",0 0,"+t+" "+-e+",0Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}});ao.svg.symbolTypes=Ul.keys();var jl=Math.sqrt(3),Fl=Math.tan(30*Yo);Co.transition=function(n){for(var t,e,r=Hl||++Zl,i=Ku(n),u=[],o=Ol||{time:Date.now(),ease:Nr,delay:0,duration:250},a=-1,l=this.length;++au;u++){i.push(t=[]);for(var e=this[u],a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return Wu(i,this.namespace,this.id)},Yl.tween=function(n,t){var e=this.id,r=this.namespace;return arguments.length<2?this.node()[r][e].tween.get(n):Y(this,null==t?function(t){t[r][e].tween.remove(n)}:function(i){i[r][e].tween.set(n,t)})},Yl.attr=function(n,t){function e(){this.removeAttribute(a)}function r(){this.removeAttributeNS(a.space,a.local)}function i(n){return null==n?e:(n+="",function(){var t,e=this.getAttribute(a);return e!==n&&(t=o(e,n),function(n){this.setAttribute(a,t(n))})})}function u(n){return null==n?r:(n+="",function(){var t,e=this.getAttributeNS(a.space,a.local);return e!==n&&(t=o(e,n),function(n){this.setAttributeNS(a.space,a.local,t(n))})})}if(arguments.length<2){for(t in n)this.attr(t,n[t]);return this}var o="transform"==n?$r:Mr,a=ao.ns.qualify(n);return Ju(this,"attr."+n,t,a.local?u:i)},Yl.attrTween=function(n,t){function e(n,e){var r=t.call(this,n,e,this.getAttribute(i));return r&&function(n){this.setAttribute(i,r(n))}}function r(n,e){var r=t.call(this,n,e,this.getAttributeNS(i.space,i.local));return r&&function(n){this.setAttributeNS(i.space,i.local,r(n))}}var i=ao.ns.qualify(n);return this.tween("attr."+n,i.local?r:e)},Yl.style=function(n,e,r){function i(){this.style.removeProperty(n)}function u(e){return null==e?i:(e+="",function(){var i,u=t(this).getComputedStyle(this,null).getPropertyValue(n);return u!==e&&(i=Mr(u,e),function(t){this.style.setProperty(n,i(t),r)})})}var o=arguments.length;if(3>o){if("string"!=typeof n){2>o&&(e="");for(r in n)this.style(r,n[r],e);return this}r=""}return Ju(this,"style."+n,e,u)},Yl.styleTween=function(n,e,r){function i(i,u){var o=e.call(this,i,u,t(this).getComputedStyle(this,null).getPropertyValue(n));return o&&function(t){this.style.setProperty(n,o(t),r)}}return arguments.length<3&&(r=""),this.tween("style."+n,i)},Yl.text=function(n){return Ju(this,"text",n,Gu)},Yl.remove=function(){var n=this.namespace;return this.each("end.transition",function(){var t;this[n].count<2&&(t=this.parentNode)&&t.removeChild(this)})},Yl.ease=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].ease:("function"!=typeof n&&(n=ao.ease.apply(ao,arguments)),Y(this,function(r){r[e][t].ease=n}))},Yl.delay=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].delay:Y(this,"function"==typeof n?function(r,i,u){r[e][t].delay=+n.call(r,r.__data__,i,u)}:(n=+n,function(r){r[e][t].delay=n}))},Yl.duration=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].duration:Y(this,"function"==typeof n?function(r,i,u){r[e][t].duration=Math.max(1,n.call(r,r.__data__,i,u))}:(n=Math.max(1,n),function(r){r[e][t].duration=n}))},Yl.each=function(n,t){var e=this.id,r=this.namespace;if(arguments.length<2){var i=Ol,u=Hl;try{Hl=e,Y(this,function(t,i,u){Ol=t[r][e],n.call(t,t.__data__,i,u)})}finally{Ol=i,Hl=u}}else Y(this,function(i){var u=i[r][e];(u.event||(u.event=ao.dispatch("start","end","interrupt"))).on(n,t)});return this},Yl.transition=function(){for(var n,t,e,r,i=this.id,u=++Zl,o=this.namespace,a=[],l=0,c=this.length;c>l;l++){a.push(n=[]);for(var t=this[l],f=0,s=t.length;s>f;f++)(e=t[f])&&(r=e[o][i],Qu(e,f,o,u,{time:r.time,ease:r.ease,delay:r.delay+r.duration,duration:r.duration})),n.push(e)}return Wu(a,o,u)},ao.svg.axis=function(){function n(n){n.each(function(){var n,c=ao.select(this),f=this.__chart__||e,s=this.__chart__=e.copy(),h=null==l?s.ticks?s.ticks.apply(s,a):s.domain():l,p=null==t?s.tickFormat?s.tickFormat.apply(s,a):m:t,g=c.selectAll(".tick").data(h,s),v=g.enter().insert("g",".domain").attr("class","tick").style("opacity",Uo),d=ao.transition(g.exit()).style("opacity",Uo).remove(),y=ao.transition(g.order()).style("opacity",1),M=Math.max(i,0)+o,x=Zi(s),b=c.selectAll(".domain").data([0]),_=(b.enter().append("path").attr("class","domain"),ao.transition(b));v.append("line"),v.append("text");var w,S,k,N,E=v.select("line"),A=y.select("line"),C=g.select("text").text(p),z=v.select("text"),L=y.select("text"),q="top"===r||"left"===r?-1:1;if("bottom"===r||"top"===r?(n=no,w="x",k="y",S="x2",N="y2",C.attr("dy",0>q?"0em":".71em").style("text-anchor","middle"),_.attr("d","M"+x[0]+","+q*u+"V0H"+x[1]+"V"+q*u)):(n=to,w="y",k="x",S="y2",N="x2",C.attr("dy",".32em").style("text-anchor",0>q?"end":"start"),_.attr("d","M"+q*u+","+x[0]+"H0V"+x[1]+"H"+q*u)),E.attr(N,q*i),z.attr(k,q*M),A.attr(S,0).attr(N,q*i),L.attr(w,0).attr(k,q*M),s.rangeBand){var T=s,R=T.rangeBand()/2;f=s=function(n){return T(n)+R}}else f.rangeBand?f=s:d.call(n,s,f);v.call(n,f,s),y.call(n,s,s)})}var t,e=ao.scale.linear(),r=Vl,i=6,u=6,o=3,a=[10],l=null;return n.scale=function(t){return arguments.length?(e=t,n):e},n.orient=function(t){return arguments.length?(r=t in Xl?t+"":Vl,n):r},n.ticks=function(){return arguments.length?(a=co(arguments),n):a},n.tickValues=function(t){return arguments.length?(l=t,n):l},n.tickFormat=function(e){return arguments.length?(t=e,n):t},n.tickSize=function(t){var e=arguments.length;return e?(i=+t,u=+arguments[e-1],n):i},n.innerTickSize=function(t){return arguments.length?(i=+t,n):i},n.outerTickSize=function(t){return arguments.length?(u=+t,n):u},n.tickPadding=function(t){return arguments.length?(o=+t,n):o},n.tickSubdivide=function(){return arguments.length&&n},n};var Vl="bottom",Xl={top:1,right:1,bottom:1,left:1};ao.svg.brush=function(){function n(t){t.each(function(){var t=ao.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",u).on("touchstart.brush",u),o=t.selectAll(".background").data([0]);o.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),t.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var a=t.selectAll(".resize").data(v,m);a.exit().remove(),a.enter().append("g").attr("class",function(n){return"resize "+n}).style("cursor",function(n){return $l[n]}).append("rect").attr("x",function(n){return/[ew]$/.test(n)?-3:null}).attr("y",function(n){return/^[ns]/.test(n)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),a.style("display",n.empty()?"none":null);var l,s=ao.transition(t),h=ao.transition(o);c&&(l=Zi(c),h.attr("x",l[0]).attr("width",l[1]-l[0]),r(s)),f&&(l=Zi(f),h.attr("y",l[0]).attr("height",l[1]-l[0]),i(s)),e(s)})}function e(n){n.selectAll(".resize").attr("transform",function(n){return"translate("+s[+/e$/.test(n)]+","+h[+/^s/.test(n)]+")"})}function r(n){n.select(".extent").attr("x",s[0]),n.selectAll(".extent,.n>rect,.s>rect").attr("width",s[1]-s[0])}function i(n){n.select(".extent").attr("y",h[0]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",h[1]-h[0])}function u(){function u(){32==ao.event.keyCode&&(C||(M=null,L[0]-=s[1],L[1]-=h[1],C=2),S())}function v(){32==ao.event.keyCode&&2==C&&(L[0]+=s[1],L[1]+=h[1],C=0,S())}function d(){var n=ao.mouse(b),t=!1;x&&(n[0]+=x[0],n[1]+=x[1]),C||(ao.event.altKey?(M||(M=[(s[0]+s[1])/2,(h[0]+h[1])/2]),L[0]=s[+(n[0]f?(i=r,r=f):i=f),v[0]!=r||v[1]!=i?(e?a=null:o=null,v[0]=r,v[1]=i,!0):void 0}function m(){d(),k.style("pointer-events","all").selectAll(".resize").style("display",n.empty()?"none":null),ao.select("body").style("cursor",null),q.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),z(),w({type:"brushend"})}var M,x,b=this,_=ao.select(ao.event.target),w=l.of(b,arguments),k=ao.select(b),N=_.datum(),E=!/^(n|s)$/.test(N)&&c,A=!/^(e|w)$/.test(N)&&f,C=_.classed("extent"),z=W(b),L=ao.mouse(b),q=ao.select(t(b)).on("keydown.brush",u).on("keyup.brush",v);if(ao.event.changedTouches?q.on("touchmove.brush",d).on("touchend.brush",m):q.on("mousemove.brush",d).on("mouseup.brush",m),k.interrupt().selectAll("*").interrupt(),C)L[0]=s[0]-L[0],L[1]=h[0]-L[1];else if(N){var T=+/w$/.test(N),R=+/^n/.test(N);x=[s[1-T]-L[0],h[1-R]-L[1]],L[0]=s[T],L[1]=h[R]}else ao.event.altKey&&(M=L.slice());k.style("pointer-events","none").selectAll(".resize").style("display",null),ao.select("body").style("cursor",_.style("cursor")),w({type:"brushstart"}),d()}var o,a,l=N(n,"brushstart","brush","brushend"),c=null,f=null,s=[0,0],h=[0,0],p=!0,g=!0,v=Bl[0];return n.event=function(n){n.each(function(){var n=l.of(this,arguments),t={x:s,y:h,i:o,j:a},e=this.__chart__||t;this.__chart__=t,Hl?ao.select(this).transition().each("start.brush",function(){o=e.i,a=e.j,s=e.x,h=e.y,n({type:"brushstart"})}).tween("brush:brush",function(){var e=xr(s,t.x),r=xr(h,t.y);return o=a=null,function(i){s=t.x=e(i),h=t.y=r(i),n({type:"brush",mode:"resize"})}}).each("end.brush",function(){o=t.i,a=t.j,n({type:"brush",mode:"resize"}),n({type:"brushend"})}):(n({type:"brushstart"}),n({type:"brush",mode:"resize"}),n({type:"brushend"}))})},n.x=function(t){return arguments.length?(c=t,v=Bl[!c<<1|!f],n):c},n.y=function(t){return arguments.length?(f=t,v=Bl[!c<<1|!f],n):f},n.clamp=function(t){return arguments.length?(c&&f?(p=!!t[0],g=!!t[1]):c?p=!!t:f&&(g=!!t),n):c&&f?[p,g]:c?p:f?g:null},n.extent=function(t){var e,r,i,u,l;return arguments.length?(c&&(e=t[0],r=t[1],f&&(e=e[0],r=r[0]),o=[e,r],c.invert&&(e=c(e),r=c(r)),e>r&&(l=e,e=r,r=l),e==s[0]&&r==s[1]||(s=[e,r])),f&&(i=t[0],u=t[1],c&&(i=i[1],u=u[1]),a=[i,u],f.invert&&(i=f(i),u=f(u)),i>u&&(l=i,i=u,u=l),i==h[0]&&u==h[1]||(h=[i,u])),n):(c&&(o?(e=o[0],r=o[1]):(e=s[0],r=s[1],c.invert&&(e=c.invert(e),r=c.invert(r)),e>r&&(l=e,e=r,r=l))),f&&(a?(i=a[0],u=a[1]):(i=h[0],u=h[1],f.invert&&(i=f.invert(i),u=f.invert(u)),i>u&&(l=i,i=u,u=l))),c&&f?[[e,i],[r,u]]:c?[e,r]:f&&[i,u])},n.clear=function(){return n.empty()||(s=[0,0],h=[0,0],o=a=null),n},n.empty=function(){return!!c&&s[0]==s[1]||!!f&&h[0]==h[1]},ao.rebind(n,l,"on")};var $l={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Bl=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Wl=ga.format=xa.timeFormat,Jl=Wl.utc,Gl=Jl("%Y-%m-%dT%H:%M:%S.%LZ");Wl.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?eo:Gl,eo.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},eo.toString=Gl.toString,ga.second=On(function(n){return new va(1e3*Math.floor(n/1e3))},function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))},function(n){return n.getSeconds()}),ga.seconds=ga.second.range,ga.seconds.utc=ga.second.utc.range,ga.minute=On(function(n){return new va(6e4*Math.floor(n/6e4))},function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))},function(n){return n.getMinutes()}),ga.minutes=ga.minute.range,ga.minutes.utc=ga.minute.utc.range,ga.hour=On(function(n){var t=n.getTimezoneOffset()/60;return new va(36e5*(Math.floor(n/36e5-t)+t))},function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))},function(n){return n.getHours()}),ga.hours=ga.hour.range,ga.hours.utc=ga.hour.utc.range,ga.month=On(function(n){return n=ga.day(n),n.setDate(1),n},function(n,t){n.setMonth(n.getMonth()+t)},function(n){return n.getMonth()}),ga.months=ga.month.range,ga.months.utc=ga.month.utc.range;var Kl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Ql=[[ga.second,1],[ga.second,5],[ga.second,15],[ga.second,30],[ga.minute,1],[ga.minute,5],[ga.minute,15],[ga.minute,30],[ga.hour,1],[ga.hour,3],[ga.hour,6],[ga.hour,12],[ga.day,1],[ga.day,2],[ga.week,1],[ga.month,1],[ga.month,3],[ga.year,1]],nc=Wl.multi([[".%L",function(n){return n.getMilliseconds()}],[":%S",function(n){return n.getSeconds()}],["%I:%M",function(n){return n.getMinutes()}],["%I %p",function(n){return n.getHours()}],["%a %d",function(n){return n.getDay()&&1!=n.getDate()}],["%b %d",function(n){return 1!=n.getDate()}],["%B",function(n){return n.getMonth()}],["%Y",zt]]),tc={range:function(n,t,e){return ao.range(Math.ceil(n/e)*e,+t,e).map(io)},floor:m,ceil:m};Ql.year=ga.year,ga.scale=function(){return ro(ao.scale.linear(),Ql,nc)};var ec=Ql.map(function(n){return[n[0].utc,n[1]]}),rc=Jl.multi([[".%L",function(n){return n.getUTCMilliseconds()}],[":%S",function(n){return n.getUTCSeconds()}],["%I:%M",function(n){return n.getUTCMinutes()}],["%I %p",function(n){return n.getUTCHours()}],["%a %d",function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],["%b %d",function(n){return 1!=n.getUTCDate()}],["%B",function(n){return n.getUTCMonth()}],["%Y",zt]]);ec.year=ga.year.utc,ga.scale.utc=function(){return ro(ao.scale.linear(),ec,rc)},ao.text=An(function(n){return n.responseText}),ao.json=function(n,t){return Cn(n,"application/json",uo,t)},ao.html=function(n,t){return Cn(n,"text/html",oo,t)},ao.xml=An(function(n){return n.responseXML}),"function"==typeof define&&define.amd?(this.d3=ao,define(ao)):"object"==typeof module&&module.exports?module.exports=ao:this.d3=ao}(); \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.2.0/webvowl/js/webvowl.app.js b/dist/vocabulary/mapping/0.2.0/webvowl/js/webvowl.app.js new file mode 100644 index 0000000..f3eba7c --- /dev/null +++ b/dist/vocabulary/mapping/0.2.0/webvowl/js/webvowl.app.js @@ -0,0 +1,5 @@ +webvowl.app=function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}({0:function(e,t,n){n(319),n(321),e.exports=n(322)},6:function(e,t){e.exports=d3},91:function(e,t,n){function o(e){return null==e?void 0===e?s:l:d&&d in Object(e)?r(e):a(e)}var i=n(92),r=n(95),a=n(96),l="[object Null]",s="[object Undefined]",d=i?i.toStringTag:void 0;e.exports=o},92:function(e,t,n){var o=n(93),i=o.Symbol;e.exports=i},93:function(e,t,n){var o=n(94),i="object"==typeof self&&self&&self.Object===Object&&self,r=o||i||Function("return this")();e.exports=r},94:function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},95:function(e,t,n){function o(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var o=!0}catch(e){}var i=l.call(e);return o&&(t?e[s]=n:delete e[s]),i}var i=n(92),r=Object.prototype,a=r.hasOwnProperty,l=r.toString,s=i?i.toStringTag:void 0;e.exports=o},96:function(e,t){function n(e){return i.call(e)}var o=Object.prototype,i=o.toString;e.exports=n},103:function(e,t,n){function o(e){return"symbol"==typeof e||r(e)&&i(e)==a}var i=n(91),r=n(104),a="[object Symbol]";e.exports=o},104:function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},112:function(e,t){var n=Array.isArray;e.exports=n},154:function(e,t){function n(e,t){for(var n=-1,o=null==e?0:e.length,i=Array(o);++n0?(g.classed("hidden",!1),h.classed("hidden",!1),k.updateScrollButtonVisibility()):(g.classed("hidden",!0),h.classed("hidden",!0)),_.updateElementWidth()}function i(){var e=window.innerHeight-40,n=e,o=e-30,i=150;if(n<150)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").classed("hidden",!0),t.select("#zoomInButton").classed("hidden",!0),void t.select("#centerGraphButton").classed("hidden",!0);t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").classed("hidden",!1),t.select("#zoomInButton").classed("hidden",!1),t.select("#centerGraphButton").classed("hidden",!1);var r=o-20,a=r-20;if(n<280)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),void t.select("#centerGraphButton").style("top",a+"px");var l=o-i;r=l-20,a=r-20,t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),t.select("#centerGraphButton").style("top",a+"px"),t.select("#zoomSliderParagraph").style("top",l+"px")}function r(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function a(){var e,t,n=-1,o=/(?:\b(MS)?IE\s+|\bTrident\/7\.0;.*\s+rv:|\bEdge\/)(\d+)/.test(navigator.userAgent);if(o)return n=parseInt("12");var i=/Trident.*rv[ :]*11\./.test(navigator.userAgent);return i?n=parseInt("11"):("Microsoft Internet Explorer"===navigator.appName?(e=navigator.userAgent,t=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))):"Netscape"===navigator.appName&&(e=navigator.userAgent,t=new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))),n)}var l=1,s={},d=webvowl.graph(),c=d.graphOptions(),p=webvowl.util.languageTools(),u="#graph",f=n(323)(d),h=n(325)(d),g=n(326)(d),v=n(327)(d),m=n(328)(d),y=n(329)(d),b=n(333)(d),x=n(334)(d),w=n(335)(d),k=n(336)(d),C=n(337)(d),L=n(338)(d),M=n(339)(d),_=n(340)(d),E=n(341)(d),O=n(342)(d),S=n(343)(d),F=n(344)(d),I=webvowl.modules.colorExternalsSwitch(d),T=webvowl.modules.compactNotationSwitch(d),A=webvowl.modules.datatypeFilter(),P=webvowl.modules.disjointFilter(),B=webvowl.modules.focuser(d),D=webvowl.modules.emptyLiteralFilter(),R=webvowl.modules.nodeDegreeFilter(h),W=webvowl.modules.nodeScalingSwitch(d),N=webvowl.modules.objectPropertyFilter(),H=webvowl.modules.pickAndPin(),j=webvowl.modules.selectionDetailsDisplayer(L.updateSelectionInformation),z=webvowl.modules.statistics(),V=webvowl.modules.subclassFilter(),U=webvowl.modules.setOperatorFilter();return s.getOptions=function(){return webvowl.opts},s.getGraph=function(){return webvowl.gr},s.initialize=function(){window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)},window.cancelAnimationFrame=window.cancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)},c.graphContainerSelector(u),c.selectionModules().push(B),c.selectionModules().push(j),c.selectionModules().push(H),c.filterModules().push(D),c.filterModules().push(z),c.filterModules().push(R),c.filterModules().push(A),c.filterModules().push(N),c.filterModules().push(V),c.filterModules().push(P),c.filterModules().push(U),c.filterModules().push(W),c.filterModules().push(T),c.filterModules().push(I),t.select(window).on("resize",o),f.setup(),g.setup(),h.setup(A,N,V,P,U,R),v.setup(H,W,T,I),b.setup(),L.setup(),O.setup(),M.setup(),_.setup(),m.setup();var n=a();if(n>0&&n<=11)console.log("Agent version "+n),console.log("This agent is not supported"),t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!0),t.select("#optionsArea").classed("hidden",!0),t.select("#logo").classed("hidden",!0);else{t.select("#logo").classed("hidden",!1),12===n?(t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!1)):t.select("#browserCheck").classed("hidden",!0),x.setup([g,h,v,B,j,b]),w.setup(),k.setup(),C.setup(),c.literalFilter(D),c.nodeDegreeFilter(R),c.loadingModule(O),c.filterMenu(h),c.modeMenu(v),c.gravityMenu(g),c.pausedMenu(b),c.pickAndPinModule(H),c.resetMenu(x),c.searchMenu(w),c.ontologyMenu(y),c.navigationMenu(k),c.sidebar(L),c.leftSidebar(M),c.editSidebar(_),c.exportMenu(f),c.graphObject(d),c.zoomSlider(C),c.warningModule(S),c.directInputModule(F),c.datatypeFilter(A),c.objectPropertyFilter(N),c.subclassFilter(V),c.setOperatorFilter(U),c.disjointPropertyFilter(P),c.focuserModule(B),c.colorExternalsModule(I),c.compactNotationModule(T),y.setup(e),E.setup(),M.showSidebar(0),M.hideCollapseButton(!0),d.start();var i=t.select("#modeOfOperationString");i.style("font-size","0.6em"),i.style("font-style","italic"),o();var r,l=d.options().width(),s=d.options().height();r=Math.min(l,s)/1e3;var p=!0;p===!1&&d.setForceTickFunctionWithFPS(),d.setDefaultZoom(r),t.selectAll(".debugOption").classed("hidden",p);var G=t.select("body");if(t.select(document).on("keydown",function(e){8===t.event.keyCode&&t.event.target===G.node()&&t.event.preventDefault(),t.event.ctrlKey&&t.event.shiftKey&&68===t.event.keyCode&&(d.options().executeHiddenDebugFeatuers(),t.event.preventDefault())}),t.select("#maxLabelWidthSliderOption")){var q=!d.options().dynamicLabelWidth();t.select("#maxLabelWidthSlider").node().disabled=q,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",q),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",q)}t.select("#blockGraphInteractions").style("position","absolute").style("top","0").style("background-color","#bdbdbd").style("opacity","0.5").style("pointer-events","auto").style("width",d.options().width()+"px").style("height",d.options().height()+"px").on("click",function(){t.event.preventDefault(),t.event.stopPropagation()}).on("dblclick",function(){t.event.preventDefault(),t.event.stopPropagation()}),t.select("#direct-text-input").on("click",function(){F.setDirectInputMode()}),t.select("#blockGraphInteractions").node().draggable=!1,c.prefixModule(webvowl.util.prefixTools(d)),o(),L.updateOntologyInformation(void 0,z),O.parseUrlAndLoadOntology(),c.debugMenu(m),m.updateSettings(),t.select("#reloadSvgIcon").on("click",function(){return t.select("#reloadSvgIcon").node().disabled===!0?void d.options().ontologyMenu().clearCachedVersion():(t.select("#reloadCachedOntology").classed("hidden",!0),void d.options().ontologyMenu().reloadCachedOntology())}),webvowl.opts=c,webvowl.gr=d}},s}}).call(t,n(6))},323:function(e,t,n){(function(t){e.exports=function(e){function o(){var n=M.requestExport(),o=M.resultingTTL_Content();if(console.log("Exporter was successful: "+n),n){var i="NewOntology",r="data:text/json;charset=utf-8,"+encodeURIComponent(o);x.attr("href",r).attr("download",i+".ttl")}else console.log("ShowWarning!"),e.options().warningModule().showExporterWarning(),console.log("Stay on the page! "+window.location.href),x.attr("href",window.location.href),t.event.preventDefault()}function i(){t.select("#exportedUrl").node().focus(),t.select("#exportedUrl").node().select(),document.execCommand("copy"),e.options().navigationMenu().hideAllMenus(),t.event.preventDefault()}function r(e,t){var n=0,o="opts=";for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],a=t[i];r!==a&&(o+=i+"="+a+";",n++)}return o+="",0===n?"":o}function a(){e.options().navigationMenu().hideAllMenus();var n,o,i,r=t.select(e.options().graphContainerSelector()).select("svg");s(),u(),n=r.attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML,n="\n"+n,o=l(n),i="data:image/svg+xml;base64,"+btoa(o),m.attr("href",i).attr("download",y+".svg"),f(),h(),e.lazyRefresh()}function l(e){var t,n,o,i=[],r=e.length;for(t=0;t0){var J=z.node().getPointAtLength(O-18),Y=J.x-10*j,X=J.y+10*H;X*=-1;var K="black";Z.indexOf("A")>-1&&(Z="$\\forall$"),Z.indexOf("E")>-1&&(Z="$\\exists$"),i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily },text="+K+"] at ("+Y+"pt, "+X+"pt) (cardinalityText"+a+") {"+Z+"};\n "}if(S.property().inverse()){z=S.pathObj(),O=Math.floor(z.node().getTotalLength());var Q=z.node().getPointAtLength(4),ee=z.node().getPointAtLength(0),te=z.node().getPointAtLength(6);D=Q.x,R=Q.y,W=ee.x,N=ee.y,H=W-D,j=N-R,_=Math.sqrt(H*H+j*j),H/=_,j/=_,E=-1*Math.atan2(j,H)*(180/Math.PI),E-=90,h=te.x,g=te.y,1!==S.layers().length||S.loops()?(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_marker"+a+") {};\n "):(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_single_marker"+a+") {};\n ")}}}for(l.each(function(e){u=e.x,f=-e.y,r=e.labelForCurrentLanguage(),void 0===r&&(r="");var t="owlClass";"owl:Thing"!==e.type()&&"owl:Nothing"!==e.type()||(t="owlThing"),"owl:equivalentClass"===e.type()&&(t="owlEquivalentClass");var n="";if(e.textBlock){var o=e.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===o&&(n=", text=black"),"rgb(255, 255, 255)"===o&&(n=", text=white");var l=e.textBlock()._textBlock().node().children;if(l[0]){r=l[0].innerHTML,e.individuals()&&e.individuals().length===parseInt(l[0].innerHTML)&&(r="{\\color{gray} "+l[0].innerHTML+" }");for(var s=1;s-1&&(i+="\\definecolor{Node"+a+"_COLOR}{HTML}{CCCCCC} \n ",d=", fill=Node"+a+"_COLOR ");var g=u-7,v=u+7,m=f+20;"owl:unionOf"===e.type()&&"owl:disjointUnionOf"===e.type()||(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:unionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[text=black] at ("+u+"pt, "+f+"pt) (unionText13) {$\\mathbf{\\cup}$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:disjointUnionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (disjointUnoinText"+a+") {1};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:complementOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+u+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{18pt}{18}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (unionText13) {$\\neg$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:intersectionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\filldraw[even odd rule,fill=owlClassColor,line width=1pt] ("+g+"pt, "+f+"pt) circle (12.5pt) ("+v+"pt, "+f+"pt) circle (12.5pt);\n ",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (intersectionText"+a+") {$\\cap$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),a++}),a=0;a-1?"\\\\ {\\small "+le[se].innerHTML+" }":"\\\\ "+le[se].innerHTML}}}if("setOperatorProperty"!==ne.type()){var ce="owlObjectProperty";"owl:DatatypeProperty"===ne.type()&&(ce="owlDatatypeProperty"),"rdfs:subClassOf"===ne.type()&&(ce="rdfsSubClassOf"),"rdf:Property"===ne.type()&&(ce="rdfProperty");var pe="";if(ne.backgroundColor()){var ue=ne.backgroundColor();ue.toUpperCase(),ue=ue.slice(1,ue.length),i+="\\definecolor{property"+a+"_COLOR}{HTML}{"+ue+"} \n ",pe=", fill=property"+a+"_COLOR "}ne.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{property"+a+"_COLOR}{HTML}{CCCCCC} \n ",pe=", fill=property"+a+"_COLOR ");var fe="",he=ne.textWidth();if(fe=",minimum width="+he+"pt","owl:disjointWith"!==ne.type())if(ne.inverse()){var ge=ne.inverse(),ve=ge.labelForCurrentLanguage();void 0===ve&&(ve="");var me="";if(ge.textBlock&&ge.textBlock()){var ye=ge.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===ye&&(me=", text=black"),"rgb(255, 255, 255)"===ye&&(me=", text=white");var be=ge.textBlock()._textBlock().node().children;if(be[0]){ve=be[0].innerHTML;for(var xe=1;xe-1?"\\\\ {\\small "+be[xe].innerHTML+" }":"\\\\ "+be[xe].innerHTML; +}}}var ke="owlObjectProperty",Ce="";if(ge.backgroundColor()){var Le=ge.backgroundColor();Le.toUpperCase(),Le=Le.slice(1,Le.length),i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{"+Le+"} \n ",Ce=", fill=inv_property"+a+"_COLOR "}ge.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{CCCCCC} \n ",Ce=", fill=inv_property"+a+"_COLOR ");var Me="",_e=ge.textWidth(),Ee=ie-14,Oe=ie+14;Me=",minimum width="+_e+"pt",i+="% Createing Inverse Property \n",i+="\\node["+ke+" "+Me+" "+Ce+" "+me+"] at ("+oe+"pt, "+Ee+"pt) (property"+a+") {"+ve.replaceAll("_","\\_ ")+"};\n",i+="% "+ke+" vs "+ce+"\n",i+="% "+Me+" vs "+fe+"\n",i+="% "+Ce+" vs "+pe+"\n",i+="% "+me+" vs "+re+"\n",i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+Oe+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"}else i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n";else{var Se=oe-12,Fe=oe+12,Ie=ie-20;i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (Node"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Se+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Fe+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+re+"] at ("+oe+"pt, "+Ie+"pt) (Node_text"+a+") {",e.options().compactNotation()===!1&&(i+="(disjoint)"),i+="};\n"}}}i+="\\end{tikzpicture}\n}\n \\end{center}\n";var Te="data:text/json;charset=utf-8,"+encodeURIComponent(i);w.attr("href",Te).attr("download",y+".tex")}var m,y,b,x,w,k,C,L={},M=n(324)(e);String.prototype.replaceAll=function(e,t){var n=this;return n.split(e).join(t)},L.setup=function(){m=t.select("#exportSvg").on("click",a),b=t.select("#exportJson").on("click",g),k=t.select("#copyBt").on("click",i),w=t.select("#exportTex").on("click",v),x=t.select("#exportTurtle").on("click",o);var n=t.select("#m_export");n.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries(),L.exportAsUrl()})},L.setFilename=function(e){y=e||"export"},L.setJsonText=function(e){C=e},L.exportAsUrl=function(){var n={};n.sidebar=e.options().sidebar().getSidebarVisibility();var o=e.options().filterMenu().getDefaultDegreeValue(),i=e.options().filterMenu().getDegreeSliderValue();parseInt(o)===parseInt(i)?n.doc=-1:n.doc=i,n.cd=e.options().classDistance(),n.dd=e.options().datatypeDistance(),e.editorMode()===!0?n.editorMode="true":n.editorMode="false",n.filter_datatypes=String(e.options().filterMenu().getCheckBoxValue("datatypeFilterCheckbox")),n.filter_sco=String(e.options().filterMenu().getCheckBoxValue("subclassFilterCheckbox")),n.filter_disjoint=String(e.options().filterMenu().getCheckBoxValue("disjointFilterCheckbox")),n.filter_setOperator=String(e.options().filterMenu().getCheckBoxValue("setoperatorFilterCheckbox")),n.filter_objectProperties=String(e.options().filterMenu().getCheckBoxValue("objectPropertyFilterCheckbox")),n.mode_dynamic=String(e.options().dynamicLabelWidth()),n.mode_scaling=String(e.options().modeMenu().getCheckBoxValue("nodescalingModuleCheckbox")),n.mode_compact=String(e.options().modeMenu().getCheckBoxValue("compactnotationModuleCheckbox")),n.mode_colorExt=String(e.options().modeMenu().getCheckBoxValue("colorexternalsModuleCheckbox")),n.mode_multiColor=String(e.options().modeMenu().colorModeState()),n.mode_pnp=String(e.options().modeMenu().getCheckBoxValue("pickandpinModuleCheckbox")),n.debugFeatures=String(!e.options().getHideDebugFeatures()),n.rect=0;var a,l=e.options().initialConfig(),s=r(l,n),d=String(location);if(0===s.length){var c=location.hash;d=d.split(c)[0];var p=c.lastIndexOf("#");if(p===-1)return a=t.select("#exportedUrl").node(),a.value=String(location),void(a.title=String(location));var u=c.slice(p,c.length);return a=t.select("#exportedUrl").node(),a.value=d+u,void(a.title=d+u)}var f,h=(d.match(/#/g)||[]).length;if(void 0!==h&&0!==h||(f=d+"#"+s),h>0){var g,v=d.split("#");for(v[1].indexOf("opts=")>=0?(v[1]=s,f=v[0]):(f=v[0]+"#",f+=s),g=1;g0&&(f+="#"+v[g])}a=t.select("#exportedUrl").node(),a.value=f,a.title=f},L.createJSON_exportObject=function(){var t,n,o,i=e.getUnfilteredData(),r=e.options().data()._comment,a=e.options().getGeneralMetaObject(),l=e.options().data().header;a.iri&&a.iri!==l.iri&&(l.iri=a.iri),a.title&&a.title!==l.title&&(l.title=a.title),a.version&&a.version!==l.version&&(l.version=a.version),a.author&&a.author!==l.author&&(l.author=a.author),a.description&&a.description!==l.description&&(l.description=a.description);var s={};s._comment=r,s.header=l,s.namespace=e.options().data().namespace,void 0===s.namespace&&(s.namespace=[]);var d=i.nodes,c=d.length,p=[],u=[];for(t=0;t0&&(h.attributes=d[t].attributes()),d[t].comment()&&(h.comment=d[t].comment()),d[t].annotations()&&(h.annotations=d[t].annotations()),d[t].description()&&(h.description=d[t].description()),d[t].individuals().length>0){var g=[],v=d[t].individuals();for(n=0;n0){y=[];var b=d[t].equivalents();for(n=0;n0&&(w.attributes=b[n].attributes()),b[n].comment()&&(w.comment=b[n].comment()),b[n].individuals().length>0&&(w.individuals=b[n].individuals()),b[n].annotations()&&(w.annotations=b[n].annotations()),b[n].description()&&(w.description=b[n].description()),b[n].individuals().length>0){var k=[],C=b[t].individuals();for(o=0;o0&&(h.equivalent=y),u.push(h)}var M=i.properties,_=M.length,E=[],O=[];for(t=0;t<_;t++){var S={},F={};if(S.id=M[t].id(),S.type=M[t].type(),E.push(S),F.id=M[t].id(),F.iri=M[t].iri(),F.baseIri=M[t].baseIri(),F.label=M[t].label(),M[t].attributes().length>0&&(F.attributes=M[t].attributes()),M[t].comment()&&(F.comment=M[t].comment()),M[t].annotations()&&(F.annotations=M[t].annotations()),M[t].maxCardinality()&&(F.maxCardinality=M[t].maxCardinality()),M[t].minCardinality()&&(F.minCardinality=M[t].minCardinality()),M[t].cardinality()&&(F.cardinality=M[t].cardinality()),M[t].description()&&(F.description=M[t].description()),F.domain=M[t].domain().id(),F.range=M[t].range().id(),M[t].subproperties()){var I=M[t].subproperties(),T=[];for(n=0;n":n[t].prefixRepresentation=i}for(t=0;t":o[t].prefixRepresentation=r}}function n(){if(0!==y.length){x+="### Property Definitions (Number of Property) "+y.length+" ###\r\n";for(var e=0;e=0}function r(t){var n=t.prefixRepresentation,o="rdf:type",r=t.type();"owl:equivalentClass"===t.type()&&(r="owl:Class"),"owl:disjointUnionOf"===t.type()&&(r="owl:Class"),"owl:unionOf"===t.type()&&(r="owl:Class");var a=[],s=[];if(t.union())for(var d=t.union(),c=0;c":b,g+=m+" owl:equivalentClass "+x+" ;\r\n"}if(t.commentForCurrentLanguage()&&(g+=m+' rdfs:comment "'+t.commentForCurrentLanguage()+'" ;\r\n'),t.annotations()){var k=t.annotations();for(var L in k)if(k.hasOwnProperty(L)){var M=k[L],_=M[0],E=_.identifier,O=_.value;"isDefinedBy"===E&&(g+=m+" rdfs:isDefinedBy <"+O+"> ;\r\n"),"term_status"===E&&(g+=m+' vs:term_status "'+O+'" ;\r\n')}}if(a.length>0){g+=m+" owl:disjointUnionOf (";for(var S=0;S":F,g+=m+m+I+" \n"}g+=") ;\r\n"}if(s.length>0){g+=m+" rdfs:subClassOf [ rdf:type owl:Class ; \r\n",g+=m+m+" owl:unionOf ( ";for(var T=0;T":A,g+=m+m+m+P+" \n"}g+=") ;\r\n"}var B,D=e.getUnfilteredData().properties,R=[];for(B=0;B ;\r\n"),"term_status"===x&&(a+=s+' vs:term_status "'+w+'" ;\r\n')}}if("owl:Thing"===c.type()&&"owl:Thing"===p.type()&&"object"!=typeof e.label()&&0===e.label().length&&(d=!0),d===!0){var k=a.substring(0,a.length-2);return a=k+" . \r\n"}var L;if("owl:Thing"===c.type()&&"owl:Thing"===p.type())L=v(s,e.label(),"rdfs:label",!0),a+=L;else{L=v(s,e.label(),"rdfs:label"),a+=L,"owl:Thing"!==c.type()&&(a+=s+" rdfs:domain "+c.prefixRepresentation+";\r\n"),"owl:Thing"!==p.type()&&(a+=s+" rdfs:range "+p.prefixRepresentation+";\r\n");var M=a,_=M.lastIndexOf(";");a=M.substring(0,_)+" . \r\n"}return a}function l(e){return void 0===e?"WHYEMPTYNAME?":new Array(e.length+1).join(" ")}function s(){x+="#################################################################\r\n",x+="### Generated with the experimental alpha version of the TTL exporter of WebVOWL (version 1.1.3) http://visualdataweb.de/webvowl/ ###\r\n",x+="#################################################################\r\n\r\n"}function d(){var t=e.options().getGeneralMetaObjectProperty("iri"),n=e.options().prefixList(),o=[];o.push("@prefix : \t\t<"+t+"> .");for(var i in n)n.hasOwnProperty(i)&&o.push("@prefix "+i+": \t\t<"+n[i]+"> .");o.push("@base \t\t\t<"+t+"> .\r\n");for(var r=0;r");x+="<"+t+"> rdf:type owl:Ontology ;\r\n"+p(n)+u(n)+h(n)+f(n);var o=x,i=o.lastIndexOf(";");x=o.substring(0,i)+" . \r\n"}function p(e){return g(e,"title","dc:title")}function u(e){return g(e,"description","dc:description")}function f(t){var n=e.options().getGeneralMetaObjectProperty("author");if(n){if("object"!=typeof n){if(0===n.length)return"";var o=t+' dc:creator "'+n+'";\r\n';return o}for(var i=t+' dc:creator "',r=0;r0&&(n=-1);var i=parseInt(s.attr("max")),r=parseInt(s.property("value")),a=r+n;r!==a&&a>=0&&a<=i&&(s.property("value",a),s.on("input")(),e.update()),t.event.preventDefault()}function r(e,t){e.property("value",t).on("input")()}function a(){p.node().addEventListener("animationend",function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!0)})}var l,s,d={},c=[],p=(t.select("#m_filter"),t.select("#c_filter a")),u=t.select("#nodeDegreeFilteringOption"),f=0;return d.setDefaultDegreeValue=function(e){f=e},d.getDefaultDegreeValue=function(){return f},d.getGraphObject=function(){return e},d.getCheckBoxContainer=function(){return c},d.getDegreeSliderValue=function(){return s.property("value")},d.setup=function(t,i,r,l,s,c){p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),p.on("mouseleave",function(){d.highlightForDegreeSlider(!1)}),n(t,"datatype","Datatype properties","#datatypeFilteringOption"),n(i,"objectProperty","Object properties","#objectPropertyFilteringOption"),n(r,"subclass","Solitary subclasses","#subclassFilteringOption"),n(l,"disjoint","Class disjointness","#disjointFilteringOption"),n(s,"setoperator","Set operators","#setOperatorFilteringOption"),o(c,u),a()},d.reset=function(){c.forEach(function(e){var t=e.checkbox,n=e.defaultState,o=t.property("checked");o!==n&&(t.property("checked",n),t.on("click")())}),r(s,0),s.on("change")()},d.killButtonAnimation=function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!1)},d.highlightForDegreeSlider=function(e){if(arguments.length||(e=!0),p.classed("highlighted",e),u.classed("highlighted",e),p.classed("buttonPulse")===!0&&e===!0){p.classed("buttonPulse",!1);var t=setTimeout(function(){p.classed("buttonPulse",e),clearTimeout(t)},100)}else p.classed("buttonPulse",e),p.classed("filterMenuButtonHighlight",e)},d.setCheckBoxValue=function(e,t){for(var n=0;n0?d.highlightForDegreeSlider(!0):d.highlightForDegreeSlider(!1),c.forEach(function(t){var n=t.checkbox;n.on("click")(e)}),s.on("input")(),s.on("change")()},d}}).call(t,n(6))},326:function(e,t,n){(function(t){e.exports=function(e){function n(n,i,a,l){var s,d,c=l();s=t.select(n).append("div").datum({distanceFunction:l}).classed("distanceSliderContainer",!0);var p=s.append("input").attr("id",i+"DistanceSlider").attr("type","range").attr("min",10).attr("max",600).attr("value",l()).attr("step",10);s.append("label").classed("description",!0).attr("for",i+"DistanceSlider").text(a),d=s.append("label").classed("value",!0).attr("for",i+"DistanceSlider").text(l()),r.push(p),p.on("focusout",function(){e.updateStyle()}),p.on("input",function(){var t=p.property("value");l(t),o(c),d.text(t),e.updateStyle()}),p.on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=10),n.deltaY>0&&(e=-10);var o=parseInt(p.property("value")),i=o+e;i!==o&&(p.property("value",i),l(i),p.on("input")()),t.event.preventDefault()})}function o(e){var t=Math.max(a.classDistance(),a.datatypeDistance()),n=t/e,o=l*n;a.charge(o)}var i={},r=[],a=e.graphOptions(),l=a.charge();return i.setup=function(){var o=t.select("#m_gravity");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("#classSliderOption","class","Class distance",a.classDistance),n("#datatypeSliderOption","datatype","Datatype distance",a.datatypeDistance)},i.reset=function(){r.forEach(function(e){e.property("value",function(e){return e.distanceFunction()}),e.on("input")()})},i}}).call(t,n(6))},327:function(e,t,n){(function(t){e.exports=function(e){function n(n,o,i,r,a){var l=t.select(i).append("div").classed("checkboxContainer",!0),s=l.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());s.on("click",function(n){var o=s.property("checked");r(o),t.select("#maxLabelWidthSlider").node().disabled=!o,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",!o),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",!o),a>0&&e.animateDynamicLabelWidth()}),l.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&l.append("label").attr("style","font-size:10px;padding-top:3px").text("(experimental)"),d=s}function o(n,o,i,r){var a=t.select(i).append("div").classed("checkboxContainer",!0),l=a.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());l.on("click",function(t){var n=l.property("checked");r(n),n===!0&&e.showEditorHintIfNeeded()}),a.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&a.append("label").attr("style","font-size:10px;padding-top:3px").text(" (experimental)")}function i(n,o,i,r,a){var l,s;return l=t.select(r).append("div").classed("checkboxContainer",!0).datum({module:n,defaultState:n.enabled()}),s=l.append("input").classed("moduleCheckbox",!0).attr("id",o+"ModuleCheckbox").attr("type","checkbox").property("checked",n.enabled()),f.push(s),s.on("click",function(t,n){var o=s.property("checked");t.module.enabled(o),a&&n!==!0&&(e.executeColorExternalsModule(),e.executeCompactNotationModule(),e.lazyRefresh())}),l.append("label").attr("for",o+"ModuleCheckbox").text(i),l}function r(t,n){var o=t.append("button").datum({active:!1}).classed("color-mode-switch",!0);return a(o,n),o.on("click",function(t){var i=o.datum();i.active=!i.active,a(o,n),n.enabled()&&t!==!0&&(e.executeColorExternalsModule(),e.lazyRefresh())}),o}function a(e,t){var n=e.datum().active,o=l(n);e.classed("active",n).text(o.text),t&&t.colorModeType(o.type)}function l(e){return e?p:c}var s,d,c={text:"Multicolor",type:"same"},p={text:"Multicolor",type:"gradient"},u={},f=[];return u.colorModeState=function(e){return arguments.length?(s.datum().active=e,u):s.datum().active},u.setDynamicLabelWidth=function(e){d.property("checked",e)},u.getCheckBoxContainer=function(){return f},u.colorModeSwitch=function(){return s},u.setup=function(a,l,d,c){var p=t.select("#m_modes");p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("labelWidth","Dynamic label width","#dynamicLabelWidth",e.options().dynamicLabelWidth,1),o("editorMode","Editing ","#editMode",e.editorMode),i(a,"pickandpin","Pick & pin","#pickAndPinOption",!1),i(l,"nodescaling","Node scaling","#nodeScalingOption",!0),i(d,"compactnotation","Compact notation","#compactNotationOption",!0);var u=i(c,"colorexternals","Color externals","#colorExternalsOption",!0);s=r(u,c)},u.reset=function(){f.forEach(function(e){var t=e.datum().defaultState,n=e.property("checked");n!==t&&(e.property("checked",t),e.on("click")(e.datum())),e.datum().module.reset()}),s.datum().active=!0,s.on("click")()},u.setCheckBoxValue=function(e,t){for(var n=0;n li > a").attr("href",location.hash||"#")}function i(e){var n=t.select("#bulletPoint_container"),o=n.append("div");o.node().innerHTML=e,E.scrollDownDetails()}function r(e){var n=t.select("#bulletPoint_container"),o=n.node().getElementsByTagName("LI"),i=o.length-1;if(i>=0){var r=o[i].innerHTML;o[i].innerHTML=r+e}E.scrollDownDetails()}function a(e){var n=t.select("#bulletPoint_container"),o=n.append("li");o.node().innerHTML=e,t.select("#currentLoadingStep").node().innerHTML=e,E.scrollDownDetails()}function l(){var e=t.select("#iri-converter-button"),n=t.select("#iri-converter-input");n.on("input",function(){x();var t=""===n.property("value");e.attr("disabled",t||void 0)}).on("click",function(){x()}),t.select("#iri-converter-form").on("submit",function(){for(var e=n.property("value"),o=e.replace(/%20/g," ");o.beginsWith(" ");)o=o.substr(1,o.length);for(;o.endsWith(" ");)o=o.substr(0,o.length-1);e=o;var i=e.toLowerCase();return i.endsWith(".json")?(location.hash="url="+e,n.property("value",""),n.on("input")()):(location.hash="iri="+e,n.property("value",""),n.on("input")()),t.event.preventDefault(),!1})}function s(){var n=t.select("#file-converter-input"),o=t.select("#file-converter-label"),i=t.select("#file-converter-button");n.on("change",function(){var t=n.property("files");t.length<=0?(o.text("Select ontology file"),i.property("disabled",!0)):(o.text(t[0].name),L=t[0].name,i.property("disabled",!1),i.node().click(),e.options().navigationMenu().hideAllMenus())}),i.on("click",function(){var e=n.property("files")[0];if(!e)return!1;var t="file="+e.name;location.hash==="#"+t?E.parseUrlAndLoadOntology():location.hash=t})}function d(e){var n=t.select("#o2vConverterContainer");if(!n.node()){var o=t.select("#bulletPoint_container"),i=o.append("div");n=i.append("ul"),n.attr("id","o2vConverterContainer"),n.style("margin-left","-25px")}for(var r=n.node().children,a=r.length,l=0;l0&&(s=n.append("li"),s.attr("type","disc"),s.node().innerHTML=p.replace(/\n/g,"
    "))}s&&(s.node().innerHTML+="
    "),E.scrollDownDetails()}function c(e,n){t.xhr("loadingStatus?sessionId="+_,"application/text",function(t,o){t&&(console.log("ontologyMenu getLoadingStatusOnceCallBacked throws error"),console.log("---------Error -----------"),console.log(t),console.log("---------Request -----------"),console.log(o)),d(o.responseText),e(n)})}function p(){t.xhr("loadingStatus?sessionId="+_,"application/text",function(e,t){e&&(console.log("ontologyMenu getLoadingStatusTimeLooped throws error"),console.log("---------Error -----------"),console.log(e),console.log("---------Request -----------"),console.log(t)),T===!1&&(d(t.responseText),u())})}function u(){clearTimeout(M),T===!1&&(M=setTimeout(function(){p()},1e3))}function f(e){t.xhr("loadingStatus","application/text",function(t,n){void 0!==n?d(n.responseText+"
    "+e):i(e)})}function h(e){var t=e[2];return t!==_?(console.log("The conversion process for file:"+e[1]+" has been canceled!"),void S.conversionFinished(t)):(E.loadFromOWL2VOWL(e[0],e[1]),void S.conversionFinished())}function g(e){var t=e[2];return t!==_?void console.log("The conversion process for file:"+e[1]+" has been canceled!"):void E.loadFromOWL2VOWL(e[0],e[1])}function v(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function m(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function y(e,t,n){T=!1,u();var o=new FormData;o.append("ontology",e),o.append("sessionId",n);var i=new XMLHttpRequest;i.open("POST","convert",!0),i.onload=function(){clearTimeout(M),T=!0,c(b,[i,t,n])},u(),i.send(o)}function b(t){var n=t[0],o=t[1],i=t[2];return i!==_?(console.log("The conversion process for file:"+o+" has been canceled!"),void S.conversionFinished(i)):void(200===n.status?(E.loadFromOWL2VOWL(n.responseText,o),S.conversionFinished()):(f('Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),e.handleOnLoadingError(),S.conversionFinished()))}function x(){function e(){n.style("display",void 0),clearTimeout(C),t.select(window).on("click",void 0).on("keydown",void 0),n.on("mouseover",void 0)}var n=t.select("#select .toolTipMenu");n.on("click",function(){t.event.stopPropagation()}).on("keydown",function(){t.event.stopPropagation()}),n.style("display","block"),clearTimeout(C),C=setTimeout(function(){e()},3e3),t.select(window).on("click",function(){e()}).on("keydown",function(){e()}),n.on("mouseover",function(){e()})}function w(){t.select("#layoutLoadingProgressBarContainer").classed("hidden",!1),F.classed("hidden",!1),I.classed("hidden",!1)}function k(){F.classed("hidden",!0)}var C,L,M,_,E,O,S={},F=t.select("#loading-info"),I=t.select("#loading-progress"),T=!1,A=!1,P={},B="";return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},S.getLoadingFunction=function(){return O},S.clearCachedVersion=function(){P[B]&&(P[B]=void 0)},S.reloadCachedOntology=function(){S.clearCachedVersion(),e.clearGraphData(),E.parseUrlAndLoadOntology(!1)},S.cachedOntology=function(n){if(B=n,P[n]){var o=String(location.hash);t.select("#reloadSvgIcon").node().disabled=!1,e.showReloadButtonAfterLayoutOptimization(!0),o.indexOf("#file")>-1?(t.select("#reloadSvgIcon").node().disabled=!0,t.select("#reloadCachedOntology").node().title="reloading original version not possible, please reload the file",t.select("#reloadSvgIcon").classed("disabledReloadElement",!0),t.select("#svgStringText").style("fill","gray"),t.select("#svgStringText").classed("noselect",!0)):(t.select("#reloadCachedOntology").node().title="generate new visualization and overwrite cached ontology",t.select("#reloadSvgIcon").classed("disabledReloadElement",!1),t.select("#svgStringText").style("fill","black"),t.select("#svgStringText").classed("noselect",!0))}else e.showReloadButtonAfterLayoutOptimization(!1);return P[n]},S.setCachedOntology=function(e,t){P[e]=t,B=e},S.getErrorStatus=function(){return A},S.setup=function(o){O=o,E=e.options().loadingModule();var i=t.select("#m_select");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),l(),s();var r=t.select("#error-description-button").datum({open:!1});r.on("click",function(e){var n=t.select("#error-description-container"),o=t.select(this);e.open=!e.open;var i=e.open;i?o.text("Hide error details"):o.text("Show error details"),n.classed("hidden",!i)}),n(),E.setOntologyMenu(S)},S.stopLoadingTimer=function(){T=!0,clearTimeout(M)},S.setIriText=function(e){t.select("#iri-converter-input").node().value=e,t.select("#iri-converter-button").attr("disabled",!1),t.select("#iri-converter-form").on("submit")()},S.clearDetailInformation=function(){for(var e=t.select("#bulletPoint_container"),n=e.node().children,o=n.length,i=0;i",""":'"',"'":"'"},r=o(i);e.exports=r},332:function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},333:function(e,t,n){(function(t){e.exports=function(e){function n(){o(),i()}function o(){r.classed("paused",function(e){return e.paused})}function i(){r.datum().paused?r.text("Resume"):r.text("Pause")}var r,a={};return a.setup=function(){var o=t.select("#pauseOption");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),r=t.select("#pause-button").datum({paused:!1}).on("click",function(t){e.paused(!t.paused),t.paused=!t.paused,n(),r.classed("highlighted",t.paused)}),n()},a.setPauseValue=function(t){r.datum().paused=t,e.paused(t),r.classed("highlighted",t),n()},a.reset=function(){a.setPauseValue(!1)},a}}).call(t,n(6))},334:function(e,t,n){(function(t){e.exports=function(e){function n(){e.resetSearchHighlight(),e.options().searchMenu().clearText(),r.classDistance(a.classDistance()),r.datatypeDistance(a.datatypeDistance()),r.charge(a.charge()),r.gravity(a.gravity()),r.linkStrength(a.linkStrength()),e.reset(),o.forEach(function(e){e.reset()}),e.updateStyle()}var o,i={},r=e.graphOptions(),a=webvowl.options();return i.setup=function(i){o=i,t.select("#reset-button").on("click",n);var r=t.select("#resetOption");r.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()})},i}}).call(t,n(6))},335:function(e,t,n){(function(t){e.exports=function(e){function n(){b=e.getUpdateDictionary(),M=!1,k=[],C=[];var t,n=[],o=[];for(t=0;t0)for(var r=b[t].equivalentsString(),a=r.split(", "),l=0;l=0&&s=a&&i[s].setAttribute("class","dbEntrySelected"),h>=0&&h=0&&i[s].setAttribute("class","dbEntry")))}function s(){for(var e=F.node().children,t=e.length,n=0;n-1&&(E.push(k[e]),O.push(e)))}}function c(e,n){n||(n="text");var o=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),i=document.getElementById("width-test").offsetWidth;return o.remove(),i}function p(e){for(var t,n,o,i=250,r="dbEntry",a=e;;){if(t=c(a,r),t<=i)break;if(n=t/i,o=Math.floor(a.length/n),a.length===o)break;a=a.substring(0,o)}return e.length>a.length?e.substring(0,a.length-6):e}function u(){var n,o,i,r=E,a=[],l=[],s=v.node().value.toLowerCase();for(n=E.length,n>L&&(n=L),o=0;o-1&&h<=d&&m<=c&&(u=f,d=h,c=m)}a.push(r[u]),l.push(O[u]),r[u]=""}n=E.length,n>L&&(n=L);var b=0;for(o=0;o1)for(var T=0;T1&&_===!1?k!==I&&(C+="... ("+I+"/"+k+")"):C+="...",x.title=a[o]):k>1&&_===!1&&(C+=k!==I?" ("+I+"/"+k+")":" ("+k+")");var P=t.select(x);1===k||_===!0?void 0===S[w[0]]&&(P.style("color","#979797"),x.title=a[o]+"\nElement is filtered out.",x.onclick=function(){},t.select(x).style("cursor","default"),b++):(I<1?(P.style("color","#979797"),x.onclick=function(){},x.title=a[o]+"\nAll elements are filtered out.",t.select(x).style("cursor","default"),b++):P.style("color",""),I1&&(x.title=a[o]+"\n"+I+"/"+k+" elements are visible.")),P.node().innerHTML=C,F.node().appendChild(x)}}function f(){s(),d(),u()}function h(){return S.classed("highlighted",!1),S.node().title="Nothing to locate",M&&n(),e.resetSearchHighlight(),0===k.length?void console.log("dictionary is empty"):(x=v.node().value,s(),0!==x.length&&(d(),u()),void w.showSearchEntries())}function g(t){return function(){var n=t,o=y[n],i=C[n];v.node().value=i,e.resetSearchHighlight(),e.highLightNodes(o),S.node().title="Locate search term",i!==x&&f(),w.hideSearchEntries()}}var v,m,y,b,x,w={},k=[],C=[],L=6,M=!0,_=!1,E=[],O=[],S=t.select("#locateSearchResult"),F=(t.select("#c_search"),t.select("#m_search"));return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},w.requestDictionaryUpdate=function(){M=!0;for(var e=F.node().children,t=e.length,n=0;n=h?void n():void(y=requestAnimationFrame(o))}function i(){return f-=5,x.scrollLeft=f,b.updateScrollButtonVisibility(),f<=0?void n():void(y=requestAnimationFrame(i))}function r(){M=[],_=[];var e,r=[],c=[],p=x.children,u=p.length;for(e=0;e-1?_[e]="m_"+r[e]:_[e]=void 0,t.select("#"+M[e]).on("mouseover",a),t.select("#"+M[e]).on("mouseout",l),t.select("#"+M[e]).on("click",s),t.select("#"+M[e]).on("touchstart",d);t.select("#menuElementContainer").on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=20),n.deltaY>0&&(e=-20),x.scrollLeft+=e,b.hideAllMenus(),b.updateScrollButtonVisibility()}),t.select("#scrollRightButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#scrollLeftButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#menuElementContainer").on("scroll",function(){b.updateScrollButtonVisibility(),b.hideAllMenus()})}function a(){b.hideAllMenus(),L||p(this.id)}function l(){c(this.id)}function s(){var e=_[M.indexOf(this.id)];if(e){var n=t.select("#"+e);n&&("block"===n.style("display")?n.style("display","none"):p(this.id))}}function d(){L=!0}function c(e){v=t.select("#"+e),"c_search"!==e&&(t.select("#"+e).select("path").style("stroke-width","0"),t.select("#"+e).select("path").style("fill","#fff"))}function p(n){v=t.select("#"+n).node();var o=_[M.indexOf(n)];o&&("c_search"!==n&&(t.select("#"+n).select("path").style("stroke-width","0"),t.select("#"+n).select("path").style("fill","#bdc3c7")),g=t.select("#"+o),g.style("display","block"),"m_export"===o&&e.options().exportMenu().exportAsUrl(),u())}function u(){if(v){var e=v.offsetLeft,t=x.scrollLeft,n=e-t,o=Math.max(0,n),i=x.getBoundingClientRect().width,r=g.node().getBoundingClientRect().width;o+r>i&&(o=i-r),o=Math.max(0,o),g.style("left",o+"px")}}var f,h,g,v,m,y,b={},x=t.select("#menuElementContainer").node(),w=t.select("#menuContainer").node(),k=t.select("#scrollLeftButton"),C=t.select("#scrollRightButton"),L=!1,M=[],_=[];return b.hideAllMenus=function(){t.selectAll(".toolTipMenu").style("display","none")},b.updateScrollButtonVisibility=function(){h=x.scrollWidth-x.clientWidth-2,0===x.scrollLeft?k.classed("hidden",!0):k.classed("hidden",!1),x.scrollLeft>h?C.classed("hidden",!0):C.classed("hidden",!1)},b.setup=function(){r(),t.select("#graph").on("mouseover",function(){b.hideAllMenus()}),t.select("#generalDetails").on("mouseover",function(){b.hideAllMenus()})},b}}).call(t,n(6))},337:function(e,t,n){(function(t){e.exports=function(e){function n(){cancelAnimationFrame(a),cancelAnimationFrame(l)}function o(){s*=.98,su&&(s=u),e.setSliderZoom(s),l=requestAnimationFrame(i)}var r,a,l,s,d,c={},p=e.options().minMagnification(),u=e.options().maxMagnification(),f=!0,h=e.options().width(),g=e.options().height();return r=Math.min(h,g)/1e3,c.setup=function(){d=t.select("#zoomSliderParagraph").append("input").datum({}).attr("id","zoomSliderElement").attr("type","range").attr("value",r).attr("min",p).attr("max",u).attr("step",(u-p)/40).attr("title","zoom factor").on("input",function(){c.zooming()}),t.select("#zoomOutButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom out"),t.select("#zoomInButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom in"),t.select("#centerGraphButton").on("click",function(){e.options().navigationMenu().hideAllMenus(),e.forceRelocationEvent()}).attr("title","center graph")},c.showSlider=function(e){return arguments.length?(t.select("#zoomSlider").classed("hidden",!e),void(f=e)):f},c.zooming=function(){e.options().navigationMenu().hideAllMenus();var t=d.property("value");d.attr("value",t),e.setSliderZoom(t)},c.updateZoomSliderValue=function(e){d&&(d.attr("value",e),d.property("value",e))},c}}).call(t,n(6))},338:function(e,t,n){(function(t){e.exports=function(e){function n(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");e(t.selectAll(".accordion-trigger:not(.accordion-trigger-active) + div")),o.on("click",function(){var o=t.select(this),i=t.selectAll(".accordion-trigger-active");o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(e(t.selectAll(".accordion-trigger-active + div")),i.classed("accordion-trigger-active",!1),n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0))})}function o(n){n=n||[],n.sort(function(e,t){return e===webvowl.util.constants().LANG_IRIBASED?-1:t===webvowl.util.constants().LANG_IRIBASED?1:e===webvowl.util.constants().LANG_UNDEFINED?-1:t===webvowl.util.constants().LANG_UNDEFINED?1:e.localeCompare(t)});var o=t.select("#language").on("change",function(){e.language(t.event.target.value),r(),C.updateSelectionInformation(k)});o.selectAll("option").remove(),o.selectAll("option").data(n).enter().append("option").attr("value",function(e){return e}).text(function(e){return e}),i(o,n,"en")||i(o,n,webvowl.util.constants().LANG_UNDEFINED)||i(o,n,webvowl.util.constants().LANG_IRIBASED)}function i(t,n,o){var i=n.indexOf(o);return i>=0&&(t.property("selectedIndex",i),e.language(o),!0)}function r(){var n=L.textInLanguage(w.title,e.language());t.select("#title").text(n||"No title available"),t.select("#about").attr("href",w.iri).attr("target","_blank").text(w.iri),t.select("#version").text(w.version||"--");var o=w.author;"string"==typeof o?t.select("#authors").text(o):o instanceof Array?t.select("#authors").text(o.join(", ")):t.select("#authors").text("--");var i=L.textInLanguage(w.description,e.language());t.select("#description").text(i||"No description available.")}function a(e,n){e=e||{},t.select("#classCount").text(e.classCount||n.classCount()),t.select("#objectPropertyCount").text(e.objectPropertyCount||n.objectPropertyCount()),t.select("#datatypePropertyCount").text(e.datatypePropertyCount||n.datatypePropertyCount()),t.select("#individualCount").text(e.totalIndividualCount||n.totalIndividualCount()),t.select("#nodeCount").text(n.nodeCount()),t.select("#edgeCount").text(n.edgeCount())}function l(e){var n=t.select("#ontology-metadata");n.selectAll("*").remove(),s(n,e),n.selectAll(".annotation").size()<=0&&n.append("p").text("No annotations available.")}function s(e,n){n=n||{};var o=[];for(var i in n)n.hasOwnProperty(i)&&o.push(n[i][0]);e.selectAll(".annotation").remove(),e.selectAll(".annotation").data(o).enter().append("p").classed("annotation",!0).classed("statisticDetails",!0).text(function(e){return e.identifier+":"}).append("span").each(function(e){h(t.select(this),e.value,"iri"===e.type?e.value:void 0)})}function d(){c(!1,!1,!0)}function c(e,n,o){t.select("#classSelectionInformation").classed("hidden",!e),t.select("#propertySelectionInformation").classed("hidden",!n),t.select("#noSelectionInformation").classed("hidden",!o)}function p(e){u(),f(t.select("#propname"),e.labelForCurrentLanguage(),e.iri()),t.select("#typeProp").text(e.type()),void 0!==e.inverse()?(t.select("#inverse").classed("hidden",!1),f(t.select("#inverse span"),e.inverse().labelForCurrentLanguage(),e.inverse().iri())):t.select("#inverse").classed("hidden",!0);var n=t.select("#propEquivUri");b(n,e.equivalents()),b(t.select("#subproperties"),e.subproperties()),b(t.select("#superproperties"),e.superproperties()),void 0!==e.minCardinality()?(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!1),t.select("#minCardinality span").text(e.minCardinality()),t.select("#maxCardinality").classed("hidden",!1),void 0!==e.maxCardinality()?t.select("#maxCardinality span").text(e.maxCardinality()):t.select("#maxCardinality span").text("*")):void 0!==e.cardinality()?(t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0),t.select("#infoCardinality").classed("hidden",!1),t.select("#infoCardinality span").text(e.cardinality())):(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0)),f(t.select("#domain"),e.domain().labelForCurrentLanguage(),e.domain().iri()),f(t.select("#range"),e.range().labelForCurrentLanguage(),e.range().iri()),g(e.attributes(),t.select("#propAttributes")),x(t.select("#propDescription"),e.descriptionForCurrentLanguage()),x(t.select("#propComment"),e.commentForCurrentLanguage()),s(t.select("#propertySelectionInformation"),e.annotations())}function u(){c(!1,!0,!1)}function f(e,n,o){var i=t.select(e.node().parentNode);n?(e.selectAll("*").remove(),h(e,n,o),i.classed("hidden",!1)):i.classed("hidden",!0)}function h(e,t,n){var o;o=n?e.append("a").attr("href",n).attr("title",n).attr("target","_blank"):e.append("span"),o.text(t)}function g(e,n){var o=t.select(n.node().parentNode);e&&e.length>0&&(v("object",e),v("datatype",e),v("rdf",e)),e&&e.length>0?(n.text(e.join(", ")),o.classed("hidden",!1)):o.classed("hidden",!0)}function v(e,t){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function m(e){y(),f(t.select("#name"),e.labelForCurrentLanguage(),e.iri());var n=t.select("#classEquivUri");b(n,e.equivalents()),t.select("#typeNode").text(e.type()),b(t.select("#individuals"),e.individuals());var o=t.select("#disjointNodes"),i=t.select(o.node().parentNode);void 0!==e.disjointWith()?(o.selectAll("*").remove(),e.disjointWith().forEach(function(e,t){t>0&&o.append("span").text(", "),h(o,e.labelForCurrentLanguage(),e.iri())}),i.classed("hidden",!1)):i.classed("hidden",!0),g(e.attributes(),t.select("#classAttributes")),x(t.select("#nodeDescription"),e.descriptionForCurrentLanguage()),x(t.select("#nodeComment"),e.commentForCurrentLanguage()),s(t.select("#classSelectionInformation"),e.annotations())}function y(){c(!0,!1,!1)}function b(e,n){var o=t.select(e.node().parentNode);n&&n.length?(e.selectAll("*").remove(),n.forEach(function(t,n){n>0&&e.append("span").text(", "),h(e,t.labelForCurrentLanguage(),t.iri())}),o.classed("hidden",!1)):o.classed("hidden",!0)}function x(e,n){var o=t.select(e.node().parentNode),i=!!n;n&&e.text(n),o.classed("hidden",!i)}var w,k,C={},L=webvowl.util.languageTools(),M=webvowl.util.elementTools(),_=1,E=t.select("#detailsArea"),O=t.select("#canvasArea"),S=t.select("#swipeBarContainer"),F=t.select("#sidebarExpandButton");return C.clearOntologyInformation=function(){t.select("#title").text("No title available"),t.select("#about").attr("href","#").attr("target","_blank").text("not given"),t.select("#version").text("--"),t.select("#authors").text("--"),t.select("#description").text("No description available.");var e=t.select("#ontology-metadata");e.selectAll("*").remove(),t.select("#classCount").text("0"),t.select("#objectPropertyCount").text("0"),t.select("#datatypePropertyCount").text("0"),t.select("#individualCount").text("0"),t.select("#nodeCount").text("0"),t.select("#edgeCount").text("0");var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");n&&t.select("#selection-details-trigger").node().click(),d()},C.updateOntologyInformation=function(e,t){e=e||{},w=e.header||{},r(),a(void 0,t),l(w.other),C.updateSelectionInformation(void 0),o(w.languages)},C.updateSelectionInformation=function(e){if(k=e,!t.event||!t.event.defaultPrevented){var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");if(e&&!n)t.select("#selection-details-trigger").node().click();else if(!e&&n)return void d();M.isProperty(e)?p(e):M.isNode(e)&&m(e)}},C.showSidebar=function(n,o){1===n&&(_=!0,F.node().innerHTML=">",E.classed("hidden",!0),o===!0?(E.classed("hidden",!_),O.style("width","78%"),O.style("-webkit-animation-name","none"),S.style("width","78%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","78%"),O.style("-webkit-animation-name","sbCollapseAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","78%"),S.style("-webkit-animation-name","sbCollapseAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_ExpandRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth-.22*window.innerWidth),e.options().navigationMenu().updateScrollButtonVisibility()),0===n&&(_=!1,E.classed("hidden",!0),F.node().innerHTML="<",o===!0?(O.style("width","100%"),O.style("-webkit-animation-name","none"),S.style("width","100%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","100%"),O.style("-webkit-animation-name","sbExpandAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","100%"),S.style("-webkit-animation-name","sbExpandAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_CollapseRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility())},C.isSidebarVisible=function(){return _},C.updateSideBarVis=function(e){var t=C.getSidebarVisibility();C.showSidebar(parseInt(t),e)},C.getSidebarVisibility=function(){var e=E.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},C.initSideBarAnimation=function(){O.node().addEventListener("animationend",function(){E.classed("hidden",!_),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility()})},C.setup=function(){n(),C.initSideBarAnimation(),F.on("click",function(){e.options().navigationMenu().hideAllMenus();var t=parseInt(C.getSidebarVisibility());1===t?C.showSidebar(0):C.showSidebar(1)})},C.updateShowedInformation=function(){var n=e.editorMode();t.select("#generalDetails").classed("hidden",n),t.select("#generalDetailsEdit").classed("hidden",!n),e.options().editSidebar().updateGeneralOntologyInfo(),e.options().sidebar().updateGeneralOntologyInfo()},C.updateGeneralOntologyInfo=function(){var n=e.options().getGeneralMetaObject(),o=e&&e.language?e.language():null;n.hasOwnProperty("title")&&("object"==typeof n.title?t.select("#title").node().value=L.textInLanguage(n.title,o):t.select("#title").node().innerHTML=n.title),n.hasOwnProperty("iri")&&(t.select("#about").node().innerHTML=n.iri),n.hasOwnProperty("iri")&&(t.select("#about").node().href=n.iri),n.hasOwnProperty("version")&&(t.select("#version").node().innerHTML=n.version),n.hasOwnProperty("author")&&(t.select("#authors").node().innerHTML=n.author),n.hasOwnProperty("description")&&("object"==typeof n.description?t.select("#description").node().innerHTML=L.textInLanguage(n.description,o):t.select("#description").node().innerHTML=n.description)},C}}).call(t,n(6))},339:function(e,t,n){(function(t){e.exports=function(e){function n(e){for(var t=0;t"),e.updateCanvasContainerSize(),void e.options().navigationMenu().updateScrollButtonVisibility()):(t.select("#leftSideBarCollapseButton").classed("hidden",!0),1===n&&(u=!0,i.node().innerHTML="<",g.style("-webkit-animation-name","l_sbExpandAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_ExpandLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s")),void(0===n&&(u=!1,h.classed("hidden",!0),i.node().innerHTML=">",g.style("-webkit-animation-name","l_sbCollapseAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_CollapseLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("left","0"))))},c.getSidebarVisibility=function(){var e=h.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},c}}).call(t,n(6))},340:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=t.select("#typeEditor_datatype").node(),n=["undefined","xsd:boolean","xsd:double","xsd:integer","xsd:string"],o=0;o0){var s=e.options().prefixList()[a];if(void 0===s)return console.log("ERROR __________________"),e.options().warningModule().showWarning("Invalid Element IRI","Could not resolve prefix '"+s+"'","Restoring previous IRI for Element"+n.iri(),1,!1),void(t.select("#element_iriEditor").node().value=n.iri());if(0===l.length)return e.options().warningModule().showWarning("Invalid Element IRI","Input IRI is EMPTY","Restoring previous IRI for Element"+n.iri(),1,!1),console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());o=s+l}else o=i+l}else{if(0===o.length)return console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());console.log("Tryig to use the input!"),o=i+o}}return o}function f(n){var o,i=u(n),r=e.options().getGeneralMetaObjectProperty("iri");if(F.isNode(n)){if(o=e.checkIfIriClassAlreadyExist(i),o!==!1)return e.options().warningModule().showWarning("Already seen this class","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),2,!1,o),void O.updateSelectionInformation(n);n.iri(i)}return F.isProperty(n)===!0&&(o=O.checkProperIriChange(n,i),o!==!1)?(e.options().warningModule().showWarning("Already seen this property","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),1,!1,o),void O.updateSelectionInformation(n)):(n.iri(i),c(r,i)===!0?(b(n,"external"),n.backgroundColor("#36C"),n.redrawElement(),n.redrawLabelText()):(x(n,"external"),n.backgroundColor(void 0),n.redrawElement(),n.redrawLabelText()),n.focused()&&(e.options().focuserModule().handle(n,!0),e.options().focuserModule().handle(n,!0)),t.select("#element_iriEditor").node().value=I.getPrefixRepresentationForFullURI(i),void O.updateSelectionInformation(n))}function h(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function g(e){e.label(t.select("#element_labelEditor").node().value),e.redrawLabelText()}function v(e){M=e;var n,o=t.select("#property_characteristics_Selection"),i=o.node().children;if(i)for(var r=i.length,a=0;a-1){var l=o.append("span");l.classed("spanForCharSelection",!0),l.node().innerHTML="external"}var s,d;if(F.isNode(e)===!0){var c=["deprecated"];for(n=0;n=0}function y(){var e=this.checked,t=this.getAttribute("characteristics");e===!0?b(M,t):x(M,t),M.redrawElement(),M.focused(!1),M.toggleFocus()}function b(e,t){if(e.attributes().indexOf(t)===-1){var n=e.attributes();n.push(t),e.attributes(n)}if(e.indications().indexOf(t)===-1){var o=e.indications();o.push(t),e.indications(o)}var i;if(e.visualAttributes().indexOf(t)===-1&&(i=e.visualAttributes(),i.push(t),e.visualAttributes(i)),m(e,"external")&&m(e,"deprecated")){i=e.visualAttributes();var r=i.indexOf("external");r>-1&&i.splice(r,1),e.visualAttributes(i)}}function x(e,t){var n=e.attributes(),o=e.indications(),i=e.visualAttributes(),r=n.indexOf(t);r>=0&&n.splice(r,1);var a=o.indexOf(t);a>-1&&o.splice(a,1);var l=i.indexOf(t);l>-1&&i.splice(l,1),e.attributes(n),e.indications(o),e.visualAttributes(i),"deprecated"===t&&("owl:Class"===e.type()&&e.styleClass("class"),"owl:DatatypeProperty"===e.type()&&e.styleClass("datatypeproperty"),"owl:ObjectProperty"===e.type()&&e.styleClass("objectproperty"),"owl:disjointWith"===e.type()&&e.styleClass("disjointwith"))}function w(e){return"owl:Thing"!==e.type()&&"rdfs:subClassOf"!==e.type()&&"rdfs:Literal"!==e.type()&&"rdfs:Datatype"!==e.type()&&"rdfs:disjointWith"!==e.type()}function k(t){F.isNode(t)&&e.changeNodeType(t)===!1&&(F.isDatatype(t)===!0,O.updateSelectionInformation(t)),F.isProperty(t)&&e.changePropertyType(t)===!1&&O.updateSelectionInformation(t)}function C(e){var t=[];return F.isProperty(e)?("owl:DatatypeProperty"===e.type()?t.push("owl:DatatypeProperty"):(t.push("owl:ObjectProperty"),e.domain()!==e.range()&&t.push("rdfs:subClassOf"),t.push("owl:disjointWith"),t.push("owl:allValuesFrom"),t.push("owl:someValuesFrom")),t):("rect"===e.renderType()?(t.push("rdfs:Literal"),t.push("rdfs:Datatype")):(t.push("owl:Class"),t.push("owl:Thing")),t)}function L(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");o.on("click",function(){var o=t.select(this);o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0)),O.updateElementWidth()})}var M,_,E,O={},S=webvowl.util.languageTools(),F=webvowl.util.elementTools(),I=webvowl.util.prefixTools(e),T=!1;return O.clearMetaObjectValue=function(){t.select("#titleEditor").node().value="",t.select("#iriEditor").node().value="",t.select("#versionEditor").node().value="",t.select("#authorsEditor").node().value="",t.select("#descriptionEditor").node().value=""},O.updatePrefixUi=function(){O.updateElementWidth();for(var e=t.select("#prefixURL_Container");e.node().firstChild;)e.node().removeChild(e.node().firstChild);a()},O.setup=function(){L(),a(),r(),n(),t.select("#titleEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value))}),t.select("#iriEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri"))}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri")))}),t.select("#versionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value))}),t.select("#authorsEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value))}),t.select("#descriptionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("description",t.select("#descriptionEditor").node().value)}),O.updateElementWidth()},O.updateEditDeleteButtonIds=function(e,n){t.select("#prefixInputFor_"+e).node().id="prefixInputFor_"+n,t.select("#prefixURLFor_"+e).node().id="prefixURLFor_"+n,t.select("#deleteButtonFor_"+e).node().id="deleteButtonFor_"+n,t.select("#editButtonFor_"+e).node().id="editButtonFor_"+n,t.select("#prefixContainerFor_"+e).node().id="prefixContainerFor_"+n},O.checkForExistingURL=function(t){var n,o=e.getUnfilteredData().properties;for(n=0;n0&&(e=-10);var o=parseInt(s.property("value")),i=o+e;i!==o&&(s.property("value",i),r(i),s.on("input")()),t.event.preventDefault()}})}function o(n,o,i,a,l){var s=t.select(i).append("div").classed("checkboxContainer",!0),d=s.append("input").classed("moduleCheckbox",!0).attr("id",n+"ConfigCheckbox").attr("type","checkbox").property("checked",a());d.on("click",function(t){var n=d.property("checked");a(n),t!==!0&&(1===l&&e.lazyRefresh(),2===l&&e.update(),3===l&&e.updateDraggerElements())}),r.push(d),s.append("label").attr("for",n+"ConfigCheckbox").text(o)}var i={},r=[];return i.setup=function(){var i=t.select("#m_modes");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),o("showZoomSlider","Zoom controls","#zoomSliderOption",e.options().zoomSlider().showSlider,0),n("#maxLabelWidthSliderOption","maxLabelWidth","Max label width",e.options().maxLabelWidth)},i.setCheckBoxValue=function(e,t){for(var n=0;nTrying to convert with other communication protocol."),e(t)}function i(e){f.append_message_toLastBulletPoint("
    Trying to convert with other communication protocol.");var t=e[0],n=e[1],o=new FormData;o.append("ontology",t);var i=new XMLHttpRequest;i.open("POST","convert",!0);var r="";i.onload=function(){200===i.status&&(r=i.responseText,f.setCachedOntology(n,r),h=n,L=!0,f.append_message_toLastBulletPoint("
    Success, but you are using a deprecated OWL2VOWL service!"),s(r))},i.onreadystatechange=function(){4===i.readyState&&0===i.status&&(f.append_message_toLastBulletPoint("
    Old protocol also failed to establish connection to OWL2VOWL service!"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage())},i.send(o)}function r(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){O.setBusyMode(),t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage()):(u=o.responseText,f.setConversionID(u),n[0]=n[0]+"&sessionId="+u,n.push(u),e(n))})}function a(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),i(n)):(u=o.responseText,f.setConversionID(u),console.log("Request Session ID:"+u),e(n[0],n[1],u))})}function l(n){var o;n.indexOf("new_ontology")!==-1&&(O.hideLoadingIndicator(),e.showEditorHintIfNeeded(),o="./data/new_ontology.json"),C=!1;var i="";if(f.cachedOntology(n))f.append_bulletPoint("Loading already cached ontology: "+n),i=f.cachedOntology(n),C=!0,O.showLoadingIndicator(),s(i);else{var r="./data/"+n+".json";o&&(r=o),t.xhr(r,"application/json",function(t,o){var r=!t;r?(i=o.responseText,s(i)):(f.append_bulletPoint("Failed to load: "+n),f.append_message_toLastBulletPoint(" ERROR STATUS: "+t.status),e.handleOnLoadingError(),O.setErrorMode())})}}function s(e){f.append_bulletPoint("Reading ontology graph ... ");var t=f.getLoadingFunction();t(e,h,"noAlternativeNameYet")}function d(e){var t=(e.match(/#/g)||[]).length,n=[];if(t>0)for(var o=e.split("#"),i=1;i=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else h=e[0],n()}function r(e){if(e[0].indexOf(a)>=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else n();h=e[1]}var a="opts=";switch(t.length){case 0:n();break;case 1:i(t);break;case 2:r(t);break;default:console.log("To many input parameters , loading default config"),n(),h="ERROR_TO_MANY_INPUT_PARAMETERS"}}function p(e){var t="iri=",n="url=",o="file=",i=-1;return i=e.substr(0,o.length)===o?v:e.substr(0,n.length)===n?m:e.substr(0,t.length)===t?y:g}var u,f,h,g=0,v=1,m=2,y=3,b=0,x=1,w=2,k=1,C=!1,L=!1,M=!1,_=!0,E="ontology",O={},S=t.select("#loading-info"),F=t.select("#loadingInfo-container"),I=t.select("#show-loadingInfo-button"),T=t.select("#loadingIndicator_closeButton");return O.checkForScreenSize=function(){var n=e.options().width(),o=e.options().height();n<270?t.select("#loading-info").classed("hidden",!0):_===!0?t.select("#loading-info").classed("hidden",!1):t.select("#loading-info").classed("hidden",!0),o<150?t.select("#loadingInfo_msgBox").classed("hidden",!0):t.select("#loadingInfo_msgBox").classed("hidden",!1),o<80?(t.select("#progressBarContext").classed("hidden",!0),t.select("#layoutLoadingProgressBarContainer").style("height","20px")):(t.select("#progressBarContext").classed("hidden",!1),t.select("#layoutLoadingProgressBarContainer").style("height","50px"))},O.getProgressBarMode=function(){return k},O.successfullyLoadedOntology=function(){return C},O.missingImportsWarning=function(){return L},O.setOntologyMenu=function(e){f=e},O.showErrorDetailsMessage=function(){O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!0),O.scrollDownDetails()},O.showWarningDetailsMessage=function(){t.select("#currentLoadingStep").style("color","#ff0"),O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!1),O.scrollDownDetails()},O.scrollDownDetails=function(){var e=t.select("#loadingInfo-container").node();e.scrollTop=e.scrollHeight},O.hideLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!0),_=!1},O.showLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!1),_=!0},O.setup=function(){F.classed("hidden",!M),I.on("click",function(){M=!M,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)}),T.on("click",function(){S.classed("hidden",!0)}),O.setBusyMode()},O.updateSize=function(){M=!F.classed("hidden"),F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.getDetailsState=function(){return M},O.expandDetails=function(){M=!0,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.collapseDetails=function(){M=!1,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.setBusyMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").style("width","20%"),t.select("#progressBarValue").classed("busyProgressBar",!0),k=x},O.setSuccessful=function(){t.select("#currentLoadingStep").style("color","#0f0")},O.setErrorMode=function(){t.select("#currentLoadingStep").style("color","#f00"),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="",k=b},O.setPercentMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="0%",t.select("#progressBarValue").style("width","0%"),k=w},O.setPercentValue=function(e){t.select("#progressBarValue").node().innherHTML=e},O.emptyGraphContentError=function(){e.clearGraphData(),f.append_message_toLastBulletPoint("failed"),f.append_message_toLastBulletPoint('
    Error: Received empty graph'),C=!1,e.handleOnLoadingError(),O.setErrorMode()},O.isThreadCanceled=function(){},O.initializeLoader=function(n){if(n===!0&&null!==e.getCachedJsonObj()){var o=JSON.stringify(e.getCachedJsonObj()),i=h;f.setCachedOntology(i,o)}u=-1e4,f.setConversionID(u),f.stopLoadingTimer(),e.clearGraphData(),O.setBusyMode(),O.showLoadingIndicator(),O.collapseDetails(),L=!1,t.select("#loadingIndicator_closeButton").classed("hidden",!0),f.clearDetailInformation()},O.parseUrlAndLoadOntology=function(n){var o=!0;n===!1&&(o=!1),e.clearAllGraphData(),O.initializeLoader(o);var i=String(location),r=d(i);h=E,c(r);var a=p(h);switch(t.select("#progressBarValue").node().innerHTML=" ",a){case 0:O.from_presetOntology(h);break;case 1:O.from_FileUpload(h);break;case 2:O.from_JSON_URL(h);break;case 3:O.from_IRI_URL(h);break;default:console.log("Could not identify loading method , or not IMPLEMENTED YET")}},O.from_JSON_URL=function(e){var t=decodeURIComponent(e.slice("url=".length));h=t;var o="";f.cachedOntology(t)?(f.append_bulletPoint("Loading already cached ontology: "+t),o=f.cachedOntology(t),C=!0,s(o)):(f.append_message("Retrieving ontology from JSON URL "+t),n(f.callbackLoad_JSON_FromURL,["read?json="+t,t]))},O.requestServerTimeStampForDirectInput=function(e,n){t.xhr("serverTimeStamp","application/text",function(o,i){o?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage(),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").text("0%")):(u=i.responseText,f.setConversionID(u),e(n,["conversionID"+u,u]))})},O.from_IRI_URL=function(e){var t=decodeURIComponent(e.slice("iri=".length));h=t;var n="";if(f.cachedOntology(t))f.append_bulletPoint("Loading already cached ontology: "+t),n=f.cachedOntology(t),C=!0,s(n);else{var o=encodeURIComponent(t);f.append_bulletPoint("Retrieving ontology from IRI: "+t),r(f.callbackLoad_Ontology_FromIRI,["convert?iri="+o,t])}},O.from_FileUpload=function(n){O.setBusyMode();var o=decodeURIComponent(n.slice("file=".length));h=o;var i="";if(f.cachedOntology(o))f.append_bulletPoint("Loading already cached ontology: "+o),i=f.cachedOntology(o),C=!0,s(i);else{f.append_bulletPoint("Retrieving ontology from file: "+o);var r=t.select("#file-converter-input").property("files")[0];if(!r||o&&o!==r.name)return f.append_message_toLastBulletPoint('
    No cached version of "'+o+'" was found.
    Please reupload the file.'),O.setErrorMode(),t.select("#progressBarValue").classed("busyProgressBar",!1),void e.handleOnLoadingError();if(o=r.name,o.match(/\.json$/)){f.setConversionID(-1e4);var l=new FileReader;l.readAsText(r),l.onload=function(){i=l.result,h=o,s(i)}}else{var d=[r,o];a(f.callbackLoadFromOntology,d)}}},O.directInput=function(e){f.clearDetailInformation(),s(e)},O.loadFromOWL2VOWL=function(e,n){C=!1;var o=t.select("#bulletPoint_container").node().innerHTML;o.indexOf("(with warnings)")!==-1&&(L=!0),f.cachedOntology(e)?(f.append_bulletPoint("Loading already cached ontology: "+n),s(e)):s(e)},O.from_presetOntology=function(e){f.append_bulletPoint("Retrieving ontology: "+e),l(e)},O.notValidJsonFile=function(){e.clearGraphData(),f.append_message_toLastBulletPoint(" failed"),f.append_message_toLastBulletPoint("
    Error: Received empty graph"),C=!1,e.handleOnLoadingError()},O.validJsonFile=function(){f.append_message_toLastBulletPoint("done"),C=!0},O}}).call(t,n(6))},343:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=document.styleSheets[1].cssRules,t=0;tYou can now modify an existing ontology or create a new one via the ontology menu.
    You can save any ontology using the export menu (and exporting it as TTL file).",o.style("padding","5px"),o.style("line-height","1.2em"),o.style("font-size","1.2em");var a=t.append("ul");a.append("li").node().innerHTML="Create a class with double click / tap on empty canvas area.",a.append("li").node().innerHTML="Edit names with double click / tap on element.",a.append("li").node().innerHTML="Selection of default constructors is provided in the left sidebar.",a.append("li").node().innerHTML="Additional editing functionality is provided in the right sidebar.";var d=t.append("label");d.node().id="killWarningErrorMessages_"+e,d.node().innerHTML="Got It",d.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showMessage=function(e){var t=l[e];t.classed("hidden",!1),t.style("-webkit-animation-name","warn_ExpandAnimation"),t.style("-webkit-animation-duration","0.5s")},r.closeMessage=function(e){var n;if(void 0===e){var o=this.id;n=o.split("_")[1]}else n=e;e&&e.indexOf("_")!==-1&&(n=e.split("_")[1]),d[n]=!1;var i=l[n];i.style("-webkit-animation-name","warn_CollapseAnimation"),i.style("-webkit-animation-duration","0.5s");for(var r=i.node().getBoundingClientRect().height,a=i.node().parentNode,s=[],c=a.children,u=c.length,f=i.node().id,h=!1,g=0;g0){var v=f.append("div");v.style("padding","5px");var m=v.append("div");m.style("display","inline-flex"),m.node().innerHTML="Warning:",m.style("padding-right","3px");var y=v.append("div");y.style("display","inline-flex"),y.style("max-width",g+"px"),y.node().innerHTML=n}if(o.length>0){var b=f.append("div");b.style("padding","5px");var x=b.append("div");x.style("display","inline-flex"),x.style("padding-right","3px"),x.node().innerHTML="Reason:";var w=b.append("div");w.style("display","inline-flex"),w.style("max-width",g+"px"),w.node().innerHTML=o}if(i.length>0){var k=f.append("div");k.style("padding","5px");var C=k.append("div");C.style("display","inline-flex"),C.style("padding-right","8px"),C.node().innerHTML="Action:";var L=k.append("div");L.style("display","inline-flex"),L.style("max-width",g+"px"),L.node().innerHTML=i}var M=f.append("label");M.node().id="killWarningErrorMessages_"+u,M.node().innerHTML="Continue",M.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0),a(c[0],c[1],c[2],c[3])}),f.append("span").node().innerHTML="|";var _=f.append("label");_.node().id="cancelButton_"+u,_.node().innerHTML="Cancel",_.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0)}),h.classed("hidden",!1),h.style("-webkit-animation-name","warn_ExpandAnimation"),h.style("-webkit-animation-duration","0.5s")},r.showFilterHint=function(){var e=r.addMessageBox(),t=s[e],n=l[e];d[e]=!0,o=e;var i=t.append("div");i.node().innerHTML="Collapsing filter activated.
    The number of visualized elements has been automatically reduced.
    Use the degree of collapsing slider in the filter menu to adjust the visualization.

    Note: A performance decrease could be experienced with a growing amount of visual elements in the graph.",i.style("padding","5px"),i.style("line-height","1.2em"),i.style("font-size","1.2em");var a=t.append("label");a.node().id="killFilterMessages_"+e,a.node().innerHTML="Got It",a.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showWarning=function(t,n,o,i,a,c){var p=r.addMessageBox(),u=s[p],f=l[p];d[p]=!0;var h=.5*e.options().width();if(t.length>0){var g=u.append("div");g.style("padding","5px");var v=g.append("div");v.style("display","inline-flex"),v.node().innerHTML="Warning:",v.style("padding-right","3px");var m=g.append("div");m.style("display","inline-flex"),m.style("max-width",h+"px"),m.node().innerHTML=t}if(n.length>0){var y=u.append("div");y.style("padding","5px");var b=y.append("div");b.style("display","inline-flex"),b.style("padding-right","3px"),b.node().innerHTML="Reason:";var x=y.append("div");x.style("display","inline-flex"),x.style("max-width",h+"px"),x.node().innerHTML=n}if(o.length>0){var w=u.append("div");w.style("padding","5px");var k=w.append("div");k.style("display","inline-flex"),k.style("padding-right","8px"),k.node().innerHTML="Action:";var C=w.append("div");C.style("display","inline-flex"),C.style("max-width",h+"px"),C.node().innerHTML=o}var L;if(1===i&&(L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage)),2===i){L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage),u.append("span").node().innerHTML="|";var M=u.append("label");M.node().id="zoomElementThing_"+p,M.node().innerHTML="Zoom to element ",M.on("click",function(){e.zoomToElementInGraph(c)}),u.append("span").node().innerHTML="|";var _=u.append("label");_.node().id="showElementThing_"+p,_.node().innerHTML="Indicate element",_.on("click",function(){c.halo()===!1?(c.drawHalo(),e.updatePulseIds([c.id()])):(c.removeHalo(),c.drawHalo(),e.updatePulseIds([c.id()]))})}f.classed("hidden",!1),f.style("-webkit-animation-name","warn_ExpandAnimation"),f.style("-webkit-animation-duration","0.5s"),f.classed("hidden",!1)},r}}).call(t,n(6))},344:function(e,t,n){(function(t){e.exports=function(e){var n={},o=t.select("#DirectInputContent");o.style("top","0"),o.style("position","absolute");var i=t.select("#directInputTextArea"),r=!1;return o.style("border","1px solid black"),o.style("padding","5px"),o.style("background","#fff"),n.handleDirectUpload=function(){var o,r=i.node().value;try{o=JSON.parse(r),e.options().loadingModule().directInput(r),o.class.length>0&&n.setDirectInputMode(!1)}catch(n){try{e.options().loadingModule().initializeLoader(),e.options().loadingModule().requestServerTimeStampForDirectInput(e.options().ontologyMenu().callbackLoad_Ontology_From_DirectInput,r)}catch(e){console.log("Error "+e),t.select("#Error_onLoad").classed("hidden",!1),t.select("#Error_onLoad").node().innerHTML="Failed to convert the input!"}}},n.handleCloseButton=function(){n.setDirectInputMode(!1)},n.updateLayout=function(){var t=e.options().width(),n=e.options().height();i.style("width",.4*t+"px"),i.style("height",.7*n+"px")},n.setDirectInputMode=function(e){r=e?e:!r,n.updateLayout(),t.select("#Error_onLoad").classed("hidden",!0),o.classed("hidden",!r)},t.select("#directUploadBtn").on("click",n.handleDirectUpload),t.select("#close_directUploadBtn").on("click",n.handleCloseButton),n}}).call(t,n(6))}}); diff --git a/dist/vocabulary/mapping/0.2.0/webvowl/js/webvowl.js b/dist/vocabulary/mapping/0.2.0/webvowl/js/webvowl.js new file mode 100644 index 0000000..fe3a381 --- /dev/null +++ b/dist/vocabulary/mapping/0.2.0/webvowl/js/webvowl.js @@ -0,0 +1,7 @@ +webvowl=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){function r(e,t){var n=t.key.replace(":","").toLowerCase();e[n]=t.value}n(1);var o=n(5)(),a=n(40)(),i={};i.graph=n(57),i.options=n(64),i.version="1.1.4",i.util={},i.util.constants=n(12),i.util.languageTools=n(11),i.util.elementTools=n(63),i.util.prefixTools=n(72),i.modules={},i.modules.colorExternalsSwitch=n(73),i.modules.compactNotationSwitch=n(74),i.modules.datatypeFilter=n(75),i.modules.disjointFilter=n(77),i.modules.focuser=n(78),i.modules.emptyLiteralFilter=n(79),i.modules.nodeDegreeFilter=n(80),i.modules.nodeScalingSwitch=n(81),i.modules.objectPropertyFilter=n(82),i.modules.pickAndPin=n(83),i.modules.selectionDetailsDisplayer=n(315),i.modules.setOperatorFilter=n(316),i.modules.statistics=n(317),i.modules.subclassFilter=n(318),i.nodes={},o.entries().forEach(function(e){r(i.nodes,e)}),i.properties={},a.entries().forEach(function(e){r(i.properties,e)}),e.exports=i},function(e,t){},,,,function(e,t,n){(function(t){var r=[];r.push(n(7)),r.push(n(18)),r.push(n(19)),r.push(n(26)),r.push(n(27)),r.push(n(28)),r.push(n(29)),r.push(n(30)),r.push(n(31)),r.push(n(32)),r.push(n(33)),r.push(n(34)),r.push(n(38)),r.push(n(39));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t){e.exports=d3},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["external"]).type("ExternalClass")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(9),o=n(14),a=n(17)();e.exports=function(){var e=function(e){function t(){var t=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(t=void 0);var n=new o(u.nodeElement(),t),r=u.equivalentsString(),a=r?",":"";return n.addText(u.labelForCurrentLanguage(),"",a),n.addEquivalents(r),e.options().compactNotation()||n.addSubText(u.indicationString()),n.addInstanceCount(u.individuals().length),n}r.apply(this,arguments);var n,i,s,l,u=this,c=!1,d=50,p=null,f=!1;this.setRectangularRepresentation=function(e){f=e},this.getRectangularRepresentation=function(){return f},this.getHalos=function(){return p},this.collapsible=function(e){return arguments.length?(c=e,this):c},this.textBlock=function(e){return arguments.length?(l=e,this):l},this.radius=function(e){return arguments.length?(d=e,this):d},this.setHoverHighlighting=function(e){u.nodeElement().selectAll("circle").classed("hovered",e)},this.textWidth=function(e){var t=2*this.actualRadius();if(e){var n=Math.abs(e)/this.actualRadius(),r=n<=1;t=r?Math.cos(n)*t:0}return t},this.toggleFocus=function(){u.focused(!u.focused()),u.nodeElement()&&u.nodeElement().select("circle").classed("focused",u.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.actualRadius=function(){if(!e.options().scaleNodesByIndividuals()||u.individuals().length<=0)return u.radius();var t=8,n=Math.log(u.individuals().length+1)*t+5;return u.radius()+n},this.distanceToBorder=function(){return u.actualRadius()},this.removeHalo=function(){u.halo()&&(u.halo(!1),p&&p.remove())},this.drawHalo=function(e){if(u.halo(!0),p=f===!0?a.drawRectHalo(u.nodeElement(),80,80,5):a.drawHalo(u.nodeElement(),u.actualRadius(),this.removeHalo),e===!1){var t=p.selectAll(".searchResultA");t.classed("searchResultA",!1),t.classed("searchResultB",!0),t.attr("animationRunning",!1)}},this.drawPin=function(){u.pinned(!0);var t=-.7*u.actualRadius(),n=-.7*u.actualRadius();i=a.drawPin(u.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){u.pinned(!1),i&&i.remove(),e.updateStyle()},this.drawCollapsingButton=function(){n=u.nodeElement().append("g").classed("hidden-in-export",!0).attr("transform",function(){var e=-.4*u.actualRadius(),t=.5*u.actualRadius();return"translate("+e+","+t+")"}),n.append("rect").classed("class pin feature",!0).attr("x",0).attr("y",0).attr("width",40).attr("height",24),n.append("line").attr("x1",13).attr("y1",12).attr("x2",27).attr("y2",12),n.append("line").attr("x1",20).attr("y1",6).attr("x2",20).attr("y2",18)},this.draw=function(e,t){var n=u.collectCssClasses();u.nodeElement(e);var r=u.backgroundColor();null===r&&(r=void 0),u.attributes().indexOf("deprecated")>-1&&(r=void 0),t instanceof Array&&(n=n.concat(t)),s=f===!0?a.appendRectangularClass(e,80,80,n,u.labelForCurrentLanguage(),r):a.appendCircularClass(e,u.actualRadius(),n,u.labelForCurrentLanguage(),r),u.postDrawActions(e)},this.redrawElement=function(){s.remove(),l.remove();var e=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(e=void 0);var t=u.collectCssClasses();s=f===!0?a.appendRectangularClass(u.nodeElement(),80,80,t,u.labelForCurrentLanguage(),e):a.appendCircularClass(u.nodeElement(),u.actualRadius(),t,u.labelForCurrentLanguage(),e),u.postDrawActions(u.nodeElement())},this.postDrawActions=function(){u.textBlock(t()),u.addMouseListeners(),u.pinned()&&u.drawPin(),u.halo()&&u.drawHalo(!1),u.collapsible()&&u.drawCollapsingButton()},this.redrawLabelText=function(){u.textBlock().remove(),u.textBlock(t()),s.select("title").text(u.labelForCurrentLanguage())},this.equivalentsString=function(){var e=u.equivalents();if(e)return e.map(function(e){return e.labelForCurrentLanguage()}).join(", ")}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(13)();e.exports=function(){var e=function(e){function n(){if(!g.mouseEntered()&&b!==!0){var t=g.nodeElement().node(),n=t.parentNode;g.animationProcess()===!1&&n.appendChild(t),e.isTouchDevice()===!1?(g.setHoverHighlighting(!0),g.mouseEntered(!0),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g)):e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g,!0)}}function a(){g.setHoverHighlighting(!1),g.mouseEntered(!1),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!1)}r.apply(this,arguments);var i,s,l,u,c,d,p,f,h,v,g=this,y=[],m="round",b=!1,x=[];g.editingTextElement=!1,this.isPropertyAssignedToThisElement=function(e){if(console.log("Element IRI :"+e.iri()),"rdfs:subClassOf"===e.type())for(var t=0;t0?this.LINE_DISTANCE:0;e.attr("dy",n+o+"px")},r.prototype.getTextBox=function(){return this._textBlock()},r.prototype._repositionTextBlock=function(){var e=this._lineCount();if(e<1)return void this._textBlock().attr("y",0);var t=this._textBlock().node().getBBox().height;this._textBlock().attr("y",.5*-t+"px")},r.prototype._lineCount=function(){return this._textBlock().property("childElementCount")}},function(e,t,n){(function(t){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}var r=4,o={};o.truncate=function(e,t,o,a){if(t-=isNaN(a)?r:a,isNaN(t)||t<=0)return e;for(var i,s,l,u=e;;){if(s=n(u,o),s<=t)break;if(l=s/t,i=Math.floor(u.length/l),u.length===i)break;u=u.substring(0,i)}return e.length>u.length?e.substring(0,u.length-3)+"...":e},e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){(function(t){function n(e,t){var n=e.append("text").classed("text",!0).style("fill",this._getTextColor(t)).attr("text-anchor","middle");this._textBlock=function(){return n}}function r(e){return.3*(e.r/255)+.59*(e.g/255)+.11*(e.b/255)}e.exports=n,n.prototype.LINE_DISTANCE=1,n.prototype.CSS_CLASSES={default:"text",subtext:"subtext",instanceCount:"instance-count"},n.prototype.DARK_TEXT_COLOR="#000",n.prototype.LIGHT_TEXT_COLOR="#fff",n.prototype.translation=function(e,t){return this._textBlock().attr("transform","translate("+e+", "+t+")"),this},n.prototype.remove=function(){return this._textBlock().remove(),this},n.prototype._applyPreAndPostFix=function(e,t,n){return t&&(e=t+e),n&&(e+=n),e},n.prototype._getTextColor=function(e){if(!e)return n.prototype.DARK_TEXT_COLOR;var o=t.rgb(e);return r(o)>.5?n.prototype.DARK_TEXT_COLOR:n.prototype.LIGHT_TEXT_COLOR}}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e,t){t instanceof Array&&t.forEach(function(t){e.classed(t,!0)})}function n(e,t){t&&e.append("title").text(t)}function r(e,t){t&&e.style("fill",t)}var o={};return o.appendCircularClass=function(t,o,a,i,s){var l=t.append("circle").classed("class",!0).attr("r",o);return e(l,a),n(l,i),r(l,s),l},o.appendRectangularClass=function(t,o,a,i,s,l){var u=t.append("rect").classed("class",!0).attr("x",-o/2).attr("y",-a/2).attr("width",o).attr("height",a);return e(u,i),n(u,s),r(u,l),u},o.drawPin=function(e,n,r,o,a,i){var s=e.append("g").classed("hidden-in-export",!0).attr("transform","translate("+n+","+r+")"),l=s.append("circle").classed("class pin feature",!0).attr("r",12).on("click",function(){o&&o(),t.event.stopPropagation()});return s.append("line").attr("x1",0).attr("x2",0).attr("y1",12).attr("y2",16),i===!0&&s.append("circle").attr("r",15).attr("cx",-7).attr("cy",-7).classed("superHiddenElement ",!0).classed("superOpacityElement",!a()).on("click",function(){o&&o(),t.event.stopPropagation()}).on("mouseover",function(){l.classed("feature_hover",!0)}).on("mouseout",function(){l.classed("feature_hover",!1)}),s},o.drawRectHalo=function(e,t,n,r){var o;if(o=e.nodeElement?e.nodeElement():e.labelElement()){var a=o.append("g").classed("hidden-in-export",!0);return a.append("rect").classed("searchResultA",!0).attr("x",(-t-r)/2).attr("y",(-r-n)/2).attr("width",t+r).attr("height",n+r),a.attr("animationRunning",!0),a.node().addEventListener("webkitAnimationEnd",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a.node().addEventListener("animationend",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a}},o.drawHalo=function(e,t){if(void 0===e)return null;var n=e.append("g").classed("hidden-in-export",!0);return n.append("circle",":first-child").classed("searchResultA",!0).attr("r",t+15),n.attr("animationRunning",!0),n.node().addEventListener("webkitAnimationEnd",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n.node().addEventListener("animationend",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n},function(){return o}}()}).call(t,n(6))},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.type("owl:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("complementof").type("owl:complementOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0);r.append("circle").attr("class","symbol").classed("fineline",!0).attr("r",10),r.append("path").attr("class","nofill").attr("d","m -7,-1.5 12,0 0,6").attr("transform","scale(.5)"),r.attr("transform","translate(-"+(t.radius()-15)/100+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(21),o=n(22),a=n(8),i=n(17)();e.exports=function(){var e=function(e){a.apply(this,arguments);var t=this,n=t.setHoverHighlighting,s=t.postDrawActions;this.setHoverHighlighting=function(e){n(e),t.links().filter(function(e){return e instanceof o}).filter(function(e){return e.domain().equals(t)}).forEach(function(t){t.property().setHighlighting(e)})},this.draw=function(e){t.nodeElement(e),i.appendCircularClass(e,t.actualRadius(),t.collectCssClasses().join(" "),t.labelForCurrentLanguage(),t.backgroundColor())},this.postDrawActions=function(){s(),t.textBlock().remove();var n=new r(t.nodeElement(),t.backgroundColor()),o=t.equivalentsString(),a=o?-30:-17,i=o?",":"";n.addText(t.labelForCurrentLanguage(),a,"",i),n.addEquivalents(o,-17),e.options().compactNotation()?n.addInstanceCount(t.individuals().length,17):t.indicationString().length>0?(n.addSubText(t.indicationString(),17),n.addInstanceCount(t.individuals().length,30)):n.addInstanceCount(t.individuals().length,17),t.textBlock(n)}};return e.prototype=Object.create(a.prototype),e.prototype.constructor=e,e}()},function(e,t,n){function r(e,t){a.apply(this,arguments)}var o=n(15)(),a=n(16);e.exports=r,r.prototype=Object.create(a.prototype),r.prototype.constructor=r,r.prototype.addText=function(e,t,n,r){e&&this.addTextline(e,this.CSS_CLASSES.default,t,n,r)},r.prototype.addSubText=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.subtext,t,"(",")")},r.prototype.addEquivalents=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.default,t)},r.prototype.addInstanceCount=function(e,t){e&&this.addTextline(e.toString(),this.CSS_CLASSES.instanceCount,t)},r.prototype.addTextline=function(e,t,n,r,a){var i=o.truncate(e,this._textBlock().datum().textWidth(n),t),s=this._textBlock().append("tspan").classed(this.CSS_CLASSES.default,!0).classed(t,!0).text(this._applyPreAndPostFix(i,r,a)).attr("x",0);this._repositionTextLine(s,n)},r.prototype._repositionTextLine=function(e,t){var n=window.getComputedStyle(e.node()).getPropertyValue("font-size"),r=parseFloat(n),o=1/3*r;e.attr("y",o+(t||0)+"px")}},function(e,t,n){function r(e,t,n){s.apply(this,arguments)}function o(e,t){var n=i(e,t);n.attr("refX",-8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function a(e,t){var n=i(e,t);n.attr("refX",8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function i(e,t){return e.append("marker").datum(t).attr("id",t.markerId()).attr("viewBox","-10 -10 20 20").attr("markerWidth",20).attr("markerHeight",20).attr("markerUnits","userSpaceOnUse").attr("orient","auto")}var s=n(23);e.exports=r,r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.draw=function(e,t){var n=this.label().property(),r=this.label().inverse();o(t,n),r&&a(t,r),s.prototype.draw.apply(this,arguments),e.attr("marker-start","url(#"+n.markerId()+")"),r&&e.attr("marker-end","url(#"+r.markerId()+")")}},function(e,t,n){function r(e,t,r){var a,i,s,l,u,c=new o(r,this),d=n(25)(e,c,this),p=n(25)(c,t,this);this.layers=function(e){return arguments.length?(a=e,this):a},this.layerIndex=function(e){return arguments.length?(i=e,this):i},this.loops=function(e){return arguments.length?(s=e,this):s},this.loopIndex=function(e){return arguments.length?(l=e,this):l},this.domain=function(){return e},this.label=function(){return c},this.linkParts=function(){return[p,d]},this.range=function(){return t},this.pathObj=function(e){return arguments.length?void(u=e):u}}var o=n(24);e.exports=r,r.prototype.draw=function(e){var t=this.label().property(),n=this.label().inverse();t.linkGroup(e),n&&n.linkGroup(e);var r=e.append("path");r.classed("link-path",!0).classed(this.domain().cssClassOfNode(),!0).classed(this.range().cssClassOfNode(),!0).classed(t.linkType(),!0),this.pathObj(r)},r.prototype.inverse=function(){return this.label().inverse()},r.prototype.isLoop=function(){return this.domain().equals(this.range())},r.prototype.property=function(){return this.label().property()}},function(e,t){function n(e,t){this.link=function(){return t},this.property=function(){return e},Object.defineProperty(this,"fixed",{get:function(){var t=!!e.inverse()&&e.inverse().fixed;return e.fixed||t},set:function(t){e.fixed=t,e.inverse()&&(e.inverse().fixed=t)}}),this.frozen=e.frozen,this.locked=e.locked,this.pinned=e.pinned}e.exports=n,n.prototype.actualRadius=function(){return this.property().actualRadius()},n.prototype.draw=function(e){return this.property().draw(e)},n.prototype.inverse=function(){return this.property().inverse()},n.prototype.equals=function(e){if(!e)return!1;var t=e instanceof n,r=this.property().equals(e.property()),o=!1;return this.inverse()?o=this.inverse().equals(e.inverse()):e.inverse()||(o=!0),t&&r&&o}},function(e,t){e.exports=function(e,t,n){var r={},o=e,a=n,i=t;return Object.defineProperties(r,{source:{value:o,writable:!0},target:{value:i,writable:!0}}),r.domain=function(){return o},r.link=function(){return a},r.range=function(){return i},r}},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).type("owl:DeprecatedClass").styleClass("deprecated").indications(["deprecated"])};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("disjointunionof").type("owl:disjointUnionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("text").attr("class","link").text("1").attr("transform","scale(.7)translate(3,5)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8),o=n(17)();e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n=4,a=this,i=a.actualRadius;this.styleClass("equivalentclass").type("owl:equivalentClass"),this.actualRadius=function(){return i()+n},this.redrawElement=function(){t.remove(),a.textBlock().remove();var e=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(e=void 0);var r=a.collectCssClasses();t=a.nodeElement().append("g"),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),e)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),console.log(r),console.log(a.attributes()),console.log("what is bgColor"+e),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),e)),a.postDrawActions(a.nodeElement())},this.draw=function(e){var r=a.collectCssClasses();a.nodeElement(e),t=e.append("g");var i=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(i=void 0),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),i)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),i)),a.postDrawActions()},a.setHoverHighlighting=function(e){a.nodeElement().selectAll("circle:last-of-type").classed("hovered",e)}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){function t(){var e=18,t=5,n=-(e/2),r=7,o=5,a=e-o,i="M"+t+","+n,s="c"+r+","+o+" "+r+","+a+" 0,"+e,l="c"+-r+","+-o+" "+-r+","+-a+" 0,"+-e;return i+s+l}r.apply(this,arguments);var n=this,o=n.draw,a=t();this.styleClass("intersectionof").type("owl:intersectionOf"),this.draw=function(e){o(e);var t=e.append("g").classed("embedded",!0),r=10;t.append("path").attr("class","nostroke").classed("symbol",!0).attr("d",a),t.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("circle").attr("cx",10).attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("path").attr("class","nofill").attr("d","m 9,5 c 0,-2 0,-4 0,-6 0,0 0,0 0,0 0,0 0,-1.8 -1,-2.3 -0.7,-0.6 -1.7,-0.8 -2.9,-0.8 -1.2,0 -2,0 -3,0.8 -0.7,0.5 -1,1.4 -1,2.3 0,2 0,4 0,6").attr("transform","scale(.5)translate(5,0)"),t.attr("transform","translate(-"+(n.radius()-15)/7+",-"+(n.radius()-15)/100+")"),n.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(31);e.exports=function(){var e=function(e){r.apply(this,arguments),this.label("Nothing").type("owl:Nothing").iri("http://www.w3.org/2002/07/owl#Nothing")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.label("Thing").type("owl:Thing").iri("http://www.w3.org/2002/07/owl#Thing").radius(30),this.draw=function(e){t(e,["white","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("unionof").type("owl:unionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("path").attr("class","link").attr("d","m 1,-3 c 0,2 0,4 0,6 0,0 0,0 0,0 0,2 2,3 4,3 2,0 4,-1 4,-3 0,-2 0,-4 0,-6").attr("transform","scale(.5)translate(5,0)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).type("rdfs:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t="undefined";this.attributes(["datatype"]).type("rdfs:Datatype").styleClass("datatype"),this.dType=function(e){return arguments.length?void(t=e):t}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(36);e.exports=function(){var e=function(e){r.apply(this,arguments)};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(9),o=n(14),a=n(17)(),i=n(37)();e.exports=function(){var e=function(e){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth; +return r.remove(),o}r.apply(this,arguments);var s,l,u,c,d=this,p=20,f=60,h=80,v=80,g=80,y=p/2;d.renderType("rect"),this.height=function(e){return arguments.length?(p=e,this):p},this.width=function(e){return arguments.length?(f=e,this):f},this.getHalos=function(){return l},this.actualRadius=function(){return y},this.distanceToBorder=function(e,t){return i.distanceToBorder(d,e,t)},this.setHoverHighlighting=function(e){d.nodeElement().selectAll("rect").classed("hovered",e);var t=d.getHalos();if(t){var n=t.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0)}},this.textWidth=function(){return h},this.width=function(){return h},this.getMyWidth=function(){var e=d.labelForCurrentLanguage();v=n(e,"text")+20;var t=d.indicationString(),r=n(t,"subtext")+20;return r>v&&(v=r),v},this.textWidth=function(){return d.width()},this.toggleFocus=function(){d.focused(!d.focused()),d.nodeElement().select("rect").classed("focused",d.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.draw=function(t,n){var r=d.collectCssClasses();d.nodeElement(t),n instanceof Array&&(r=r.concat(n)),h=e.options().dynamicLabelWidth()===!0?Math.min(d.getMyWidth(),e.options().maxLabelWidth()):g,f=h,u=a.appendRectangularClass(t,d.width(),d.height(),r,d.labelForCurrentLanguage(),d.backgroundColor()),c=new o(t,d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.addMouseListeners(),d.pinned()&&d.drawPin(),d.halo()&&d.drawHalo(!1)},this.drawPin=function(){d.pinned(!0);var t=-.5*h+5,n=-1.1*p;s=a.drawPin(d.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){d.pinned(!1),s&&s.remove(),e.updateStyle()},this.removeHalo=function(){d.halo(!1),l&&(l.remove(),l=null)},this.drawHalo=function(e){d.halo(!0);var t=0;if(l=a.drawRectHalo(d,this.width(),this.height(),t),e===!1){var n=l.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0),n.attr("animationRunning",!1)}if(d.pinned()){var r=s.node(),o=r.parentNode;o.appendChild(r)}},this.updateTextElement=function(){c.updateAllTextElements()},this.textBlock=function(){return c},this.redrawLabelText=function(){c.remove(),c=new o(d.nodeElement(),d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),u.select("title").text(d.labelForCurrentLanguage())},this.animateDynamicLabelWidth=function(t){d.removeHalo();var n=d.height();if(t===!0?(h=Math.min(d.getMyWidth(),e.options().maxLabelWidth()),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n}).each("end",function(){d.updateTextElement()})):(h=g,d.updateTextElement(),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n})),d.pinned()===!0&&s){var r=.5*h-10,o=-1.1*n;s.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}},this.addTextLabelElement=function(){var e=d.nodeElement();c=new o(e,this.backgroundColor()),c.addText(d.labelForCurrentLanguage())}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()}).call(t,n(6))},function(e,t){var n={};e.exports=function(){return n},n.distanceToBorder=function(e,t,n){var r,o=e.width(),a=e.height(),i=Math.abs(n/t),s=a/o;if(i<=s){var l=t/(o/2),u=n/l;r=Math.sqrt(Math.pow(o/2,2)+Math.pow(u,2))}else{var c=n/(a/2),d=t/c;r=Math.sqrt(Math.pow(a/2,2)+Math.pow(d,2))}return r}},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw,n=this.label;this.attributes(["datatype"]).label("Literal").styleClass("literal").type("rdfs:Literal").iri("http://www.w3.org/2000/01/rdf-schema#Literal"),this.draw=function(e){t(e,["dashed"])},this.label=function(e){return arguments.length?this:n()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.attributes(["rdf"]).label("Resource").radius(30).styleClass("rdfsresource").type("rdfs:Resource"),this.draw=function(e){t(e,["rdf","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=[];r.push(n(41)),r.push(n(44)),r.push(n(45)),r.push(n(46)),r.push(n(47)),r.push(n(48)),r.push(n(49)),r.push(n(50)),r.push(n(51)),r.push(n(52)),r.push(n(53)),r.push(n(54)),r.push(n(55)),r.push(n(56));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("allvaluesfromproperty").type("owl:allValuesFrom"),this.generateCardinalityText=function(){var e="A",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(14),a=n(17)(),i=n(13)(),s=n(37)();n(43)();e.exports=function(){var e=28,n=80,l=e/2,u=function(e){function n(){var e=[];return T.subproperties()&&(e=e.concat(T.subproperties())),T.superproperties()&&(e=e.concat(T.superproperties())),e}function l(){var e=n();e.forEach(function(e){e.foreground&&e.foreground()})}function u(){T.mouseEntered()||P===!0||(T.mouseEntered(!0),T.setHighlighting(!0),T.foreground(),l())}function c(){T.mouseEntered(!1),T.setHighlighting(!1)}function d(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}function p(t){if(e.ignoreOtherHoverEvents()===!1){var n=!1;T.inverse()&&(n=!0),t===!0&&e.activateHoverElementsForProperties(t,T,n)}}r.apply(this,arguments);var f,h,v,g,y,m,b,x,E,w,O,C,k,P,_,j,M,D,L,A,S,T=this,R="normal",I="filled",N=!0,F=80,H=80,B=[];this.existingPropertyIRI=function(t){return e.options().editSidebar().checkForExistingURL(t)},this.getHalos=function(){return M},this.getPin=function(){return j},this.labelObject=function(e,t){return arguments.length?(A=e,void(T.inverse()&&t!==!0&&T.inverse().labelObject(e,!0))):A},this.hide=function(e){T.labelElement().classed("hidden",e),T.linkGroup().classed("hidden",e),T.cardinalityElement()&&T.cardinalityElement().classed("hidden",e)},this.cardinality=function(e){return arguments.length?(f=e,this):f},this.cardinalityElement=function(e){return arguments.length?(w=e,this):w},this.domain=function(e){return arguments.length?(h=e,this):h},this.inverse=function(e){return arguments.length?(v=e,this):v},this.labelElement=function(e){return arguments.length?(O=e,this):O},this.labelVisible=function(e){return arguments.length?(N=e,this):N},this.link=function(e){return arguments.length?(g=e,this):g},this.linkGroup=function(e){return arguments.length?(C=e,this):C},this.linkType=function(e){return arguments.length?(R=e,this):R},this.markerElement=function(e){return arguments.length?(k=e,this):k},this.markerType=function(e){return arguments.length?(I=e,this):I},this.maxCardinality=function(e){return arguments.length?(m=e,this):m},this.minCardinality=function(e){return arguments.length?(y=e,this):y},this.range=function(e){return arguments.length?(b=e,this):b},this.redundantProperties=function(e){return arguments.length?(B=e,this):B},this.subproperties=function(e){return arguments.length?(x=e,this):x},this.superproperties=function(e){return arguments.length?(E=e,this):E},this.distanceToBorder=function(e,t){return s.distanceToBorder(T,e,t)},this.linkHasMarker=function(){return"dashed"!==R},this.markerId=function(){return"marker"+T.id()},this.toggleFocus=function(){T.focused(!T.focused()),O.select("rect").classed("focused",T.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.getShapeElement=function(){return D},this.textBlock=function(){return L},this.redrawElement=function(){D.remove(),L.remove(),T.drawLabel(T.labelElement()),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth())},this.draw=function(t){function n(e){var n=t.append("g").datum(e).classed("label",!0).attr("id",e.id());return e.drawLabel(n),n}if(T.labelVisible()){if(F=e.options().dynamicLabelWidth()===!0?Math.min(T.getMyWidth(),e.options().maxLabelWidth()):H,T.labelElement(n(T)),T.inverse()){var r=T.height()/2+1;T.inverse().labelElement(n(T.inverse())),T.labelElement().attr("transform","translate(0,-"+r+")"),T.inverse().labelElement().attr("transform","translate(0,"+r+")")}return T.pinned()?T.drawPin():T.inverse()&&T.inverse().pinned()&&T.inverse().drawPin(),T.halo()&&T.drawHalo(!1),T.labelElement()}},this.addRect=function(e){var t=e.append("rect").classed(T.styleClass(),!0).classed("property",!0).attr("x",-T.width()/2).attr("y",-T.height()/2).attr("width",T.width()).attr("height",T.height()).on("mouseover",function(){u()}).on("mouseout",function(){c()});t.append("title").text(T.labelForCurrentLanguage()),T.visualAttributes()&&t.classed(T.visualAttributes(),!0);var n=T.backgroundColor();return T.attributes().indexOf("deprecated")>-1?(n=void 0,t.classed("deprecatedproperty",!0)):t.classed("deprecatedproperty",!1),t.style("fill",n),t},this.drawLabel=function(e){D=this.addRect(e);var t=T.equivalentsString(),n=t?",":"",r=T.backgroundColor();T.attributes().indexOf("deprecated")>-1&&(r=void 0),L=new o(e,r),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.equivalentsString=function(){var e=T.equivalents();if(e)return e.map(function(e){return void 0===e||"string"==typeof e?"ERROR":e.labelForCurrentLanguage()}).join(", ")},this.drawCardinality=function(e){var t=this.generateCardinalityText();return!!t&&(T.cardinalityElement(e),0===t.indexOf("A")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -8.8832678,-11.303355 -7.97e-4,0 0.717374,1.833297 8.22987151,21.371761 8.66826659,-21.2123526 0.797082,-1.9927054 0.02471,0 -0.8218553,1.9927054 -2.2517565,5.4201577 -12.4444429,8e-6 -2.2019394,-5.5795821 z").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):0===t.indexOf("E")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -5.5788451,-8.0958763 10.8749368,0 0,8.34681523 -9.5707468,0.040132 9.5707468,-0.040132 0,8.42707237 -10.9150654,0").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):(e.append("text").classed("cardinality",!0).attr("text-anchor","middle").attr("dy","0.5ex").text(t),!0))},this.generateCardinalityText=function(){if(T.cardinality())return T.cardinality();if(T.minCardinality()||T.maxCardinality()){var e=T.minCardinality()||"*",t=T.maxCardinality()||"*";return e+".."+t}},T.setHighlighting=function(t){T.labelElement&&T.labelElement()&&T.labelElement().select("rect").classed("hovered",t),T.linkGroup().selectAll("path, text").classed("hovered",t),T.markerElement()&&(T.markerElement().select("path").classed("hovered",t),T.cardinalityElement()&&(T.cardinalityElement().selectAll("path").classed("hovered-MathSymbol",t),T.cardinalityElement().classed("hovered",t)));var r=n();r.forEach(function(e){e.labelElement&&e.labelElement()&&e.labelElement().select("rect").classed("indirect-highlighting",t)});var o=!1;e.ignoreOtherHoverEvents()===!1&&(T.inverse()&&(o=!0),e.isTouchDevice()===!1?e.activateHoverElementsForProperties(t,T,o):(T.labelElement().select("rect").classed("hovered",!1),T.linkGroup().selectAll("path, text").classed("hovered",!1),T.markerElement()&&(T.markerElement().select("path").classed("hovered",!1),T.cardinalityElement()&&T.cardinalityElement().classed("hovered",!1)),e.activateHoverElementsForProperties(t,T,o,!0)))},this.foreground=function(){if(T.labelElement()&&null!==T.labelElement().node().parentNode){var e=T.labelElement().node().parentNode,t=e.parentNode,n=T.linkGroup().node(),r=T.linkGroup().node().parentNode;T.animationProcess()===!1&&t.appendChild(e),r.appendChild(n)}},this.drawPin=function(){if(T.pinned(!0),F=e.options().dynamicLabelWidth()===!0?T.getMyWidth():H,T.inverse()){var t=T.labelElement().attr("transform"),n=T.inverse().labelElement().attr("transform"),r=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(t)[2],o=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(n)[2];j=rF&&(F=n),F},this.textWidth=function(){return F},this.width=function(){return F},this.animateDynamicLabelWidth=function(t){if(T.removeHalo(),void 0!==D){var n=T.height();if(t===!0?(F=Math.min(T.getMyWidth(),e.options().maxLabelWidth()),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n}).each("end",function(){T.updateTextElement()})):(F=H,T.updateTextElement(),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n})),T.pinned()===!0&&j){var r=-.5*F+10,o=-25;j.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}}},this.redrawLabelText=function(){L.remove(),T.addTextLabelElement(),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),D.select("title").text(T.labelForCurrentLanguage())},this.addTextLabelElement=function(){var e=T.labelElement(),t=T.equivalentsString(),n=t?",":"";L=new o(e,this.backgroundColor()),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.updateTextElement=function(){L.updateAllTextElements()},this.enableEditing=function(e){e!==!1&&T.raiseDoubleClickEdit(!0)},this.raiseDoubleClickEdit=function(n){if(t.selectAll(".foreignelements").remove(),void 0===T.labelElement()||"owl:disjointWith"===this.type()||"rdfs:subClassOf"===this.type())return void console.log("No Container found");void 0!==_&&T.labelElement().selectAll(".foreignelements").remove(),S=void 0,e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),T.editingTextElement=!0,P=!0,T.labelElement().selectAll("rect").classed("hoveredForEditing",!0),T.frozen(!0),e.killDelayedTimer(),e.ignoreOtherHoverEvents(!1),_=T.labelElement().append("foreignObject").attr("x",-.5*T.textWidth()).attr("y",-13).attr("height",25).attr("class","foreignelements").on("dragstart",function(){return!1}).attr("width",T.textWidth()-2);var r=_.append("xhtml:input").attr("class","nodeEditSpan").attr("id",T.id()).attr("align","center").attr("contentEditable","true").on("dragstart",function(){return!1}),o="#f00",a=T.textWidth()-2;r.style({align:"center",color:"black",width:a+"px","background-color":o,"border-bottom":"2px solid black"});var i=r.node();i.value=T.labelForCurrentLanguage(),i.focus(),i.select(),t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation(),r.on("click",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mouseout",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mousedown",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}).on("keydown",function(){13===t.event.keyCode&&(this.blur(),T.frozen(!1),T.locked(!1))}).on("keyup",function(){if(n){var o=r.node().value,a=o.replaceAll(" ","_"),i=T.baseIri()+a;S=i,t.select("#element_iriEditor").node().title=i,t.select("#element_iriEditor").node().value=e.options().prefixModule().getPrefixRepresentationForFullURI(i)}t.select("#element_labelEditor").node().value=r.node().value}).on("blur",function(){T.editingTextElement=!1,P=!1,T.labelElement().selectAll("rect").classed("hoveredForEditing",!1);var t=r.node().value;if(T.labelElement().selectAll(".foreignelements").remove(),T.label(t),T.backupLabel(t),T.redrawLabelText(),p(!0),e.showHoverElementsAfterAnimation(T,!1),e.ignoreOtherHoverEvents(!1),T.frozen(e.paused()),T.locked(e.paused()),T.domain().frozen(e.paused()),T.domain().locked(e.paused()),T.range().frozen(e.paused()),T.range().locked(e.paused()),e.removeEditElements(),S){var n=e.options().editSidebar().checkProperIriChange(T,S);n!==!1&&e.options().warningModule().showWarning("Already seen this property","Input IRI: "+S+" for element: "+T.labelForCurrentLanguage()+" already been set","Continuing with duplicate property!",1,!1,n),T.iri(S)}e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),e.updatePropertyDraggerElements(T)})},T.copyInformation=function(e){T.label(e.label()),T.iri(e.iri()),T.baseIri(e.baseIri()),"owl:ObjectProperty"!==e.type()&&"owl:DatatypeProperty"!==e.type()||T.backupLabel(e.label()),void 0!==e.backupLabel()&&T.backupLabel(e.backupLabel())},i.addTo(this)};return u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.height=function(){return e},u.prototype.width=function(){return n},u.prototype.actualRadius=function(){return l},u.prototype.textWidth=u.prototype.width,u}()}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e){return e%=360,e<0&&(e+=360),Math.PI*e/180}function n(e){return e*(180/Math.PI)}var r={},o=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal").tension(-1);return r.calculateNormalVector=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=-o,i=r,s=Math.sqrt(a*a+i*i),l=0!==s?n/s:0;return{x:a*l,y:i*l}},r.getLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i);o.increasedLoopAngle===!0&&(s=120);var l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,E]},r.calculateLoopPath=function(t){var r=t.domain(),a=t.label(),i=360/t.loops().length,s=.8*i,l=Math.min(60,s);a.increasedLoopAngle===!0&&(l=120);var u=a.x-r.x,c=a.y-r.y,d=Math.atan2(c,u),p=n(d),f=p-l/2,h=p+l/2,v=e(f),g=e(h),y=Math.cos(v)*r.actualRadius(),m=Math.sin(v)*r.actualRadius(),b=Math.cos(g)*r.actualRadius(),x=Math.sin(g)*r.actualRadius(),E={x:r.x+y,y:r.y+m},w={x:r.x+b,y:r.y+x};return o([E,t.label(),w])},r.calculateLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i),l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,t.label(),E]},r.calculateIntersection=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=Math.sqrt(r*r+o*o);if(0===a)return{x:e.x,y:e.y};var i=t.distanceToBorder(r,o),s=(a-(i+n))/a,l=r*s+e.x,u=o*s+e.y;return{x:l,y:u}},r.calculateCenter=function(e,t){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}},function(){return r}}()}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["datatype"]).styleClass("datatypeproperty").type("owl:DatatypeProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).styleClass("deprecatedproperty").type("owl:DeprecatedProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42),o=n(14);e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n="Disjoint With";this.label=function(e){return arguments.length?this:n},this.linkType("dashed").styleClass("disjointwith").type("owl:disjointWith"),this.drawLabel=function(n){t=this.addRect(n),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",-12.5).attr("r",10),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",12.5).attr("r",10);var r=new o(n,this.backgroundColor());e.options().compactNotation()||r.addSubText("disjoint"),r.translation(0,20)},this.getShapeElement=function(){return t},this.markerElement=function(){}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.styleClass("equivalentproperty").type("owl:equivalentProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["functional"]).styleClass("functionalproperty").type("owl:FunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["inverse functional"]).styleClass("inversefunctionalproperty").type("owl:InverseFunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["object"]).styleClass("objectproperty").type("owl:ObjectProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("somevaluesfromproperty").type("owl:someValuesFrom"),this.generateCardinalityText=function(){var e="E",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["symmetric"]).styleClass("symmetricproperty").type("owl:SymmetricProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["transitive"]).styleClass("transitiveproperty").type("owl:TransitiveProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).styleClass("rdfproperty").type("rdf:Property")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw,o="Subclass of";this.draw=function(r){return t.labelVisible(!e.options().compactNotation()),n(r)},this.label=function(e){return arguments.length?this:o},this.linkType("dotted").markerType("white").styleClass("subclass").type("rdfs:subClassOf"),t.baseIri("http://www.w3.org/2000/01/rdf-schema#"),t.iri("http://www.w3.org/2000/01/rdf-schema#subClassOf")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.labelVisible(!1).linkType("dashed").markerType("white").styleClass("setoperatorproperty").type("setOperatorProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(58),o=n(43)(),a=n(60)(),i=n(63)(),s=n(5)(),l=n(40)();e.exports=function(e){function u(){Te.graphContainerSelector(e);var n=!1;ye=t.layout.force().on("tick",c),me=t.behavior.drag().origin(function(e){return e}).on("dragstart",function(e){t.event.sourceEvent.stopPropagation(),De.ignoreOtherHoverEvents(!0),e.type&&"Class_dragger"===e.type()?(wt.mouseButtonPressed=!0,clearTimeout(Oe),wt.selectedViaTouch(!0),e.parentNode().locked(!0),at=!0):e.type&&"Range_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):e.type&&"Domain_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):(e.locked(!0),n=!1)}).on("drag",function(e){e.type&&"Class_dragger"===e.type()?(clearTimeout(Oe),wt.setPosition(t.event.x,t.event.y)):e.type&&"Range_dragger"===e.type()?(clearTimeout(Oe),Ot.setPosition(t.event.x,t.event.y),kt.setPosition(t.event.x,t.event.y),Ct.updateElementViaRangeDragger(t.event.x,t.event.y)):e.type&&"Domain_dragger"===e.type()?(clearTimeout(Oe),Ct.setPosition(t.event.x,t.event.y),kt.setPositionDomain(t.event.x,t.event.y),Ot.updateElementViaDomainDragger(t.event.x,t.event.y)):(e.px=t.event.x,e.py=t.event.y,ye.resume(),S(),n=!0,e.renderType&&"round"===e.renderType()&&wt.setParentNode(e))}).on("dragend",function(e){if(De.ignoreOtherHoverEvents(!1),e.type&&"Class_dragger"===e.type()){var t=wt.x,r=wt.y;clearTimeout(Oe),wt.mouseButtonPressed=!1,wt.selectedViaTouch(!1),e.setParentNode(e.parentNode());var o=[t,r],a=De.getTargetNode(o);a&&U(e.parentNode(),a,o),Ke===!1&&K(),at=!1}else if(e.type&&"Range_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var s=Ot.x,l=Ot.y,u=[s,l],c=De.getTargetNode(u);i.isDatatype(c)===!0&&(c=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),null===c?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateRange(c),De.update(),kt.hideParentProperty(!1))}else if(e.type&&"Domain_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var d=Ct.x,p=Ct.y,f=[d,p],h=De.getTargetNode(f);i.isDatatype(h)===!0&&(h=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),kt.hideClone(!0),null===h?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateDomain(h),De.update(),kt.hideParentProperty(!1))}else{e.locked(!1);var v=De.options().pickAndPinModule();v.enabled()===!0&&n===!0&&(e.id&&v.handle(e,!0),e.property&&v.handle(e.property(),!0))}}),Me=t.behavior.zoom().duration(150).scaleExtent([Te.minMagnification(),Te.maxMagnification()]).on("zoom",v),nt.push(wt),nt.push(Ot),nt.push(Ct),nt.push(kt),ye.stop()}function c(){if(ct=!1,De.options().loadingModule().successfullyLoadedOntology()===!1)return ye.stop(),t.select("#progressBarValue").node().innerHTML="",De.updateProgressBarMode(),De.options().loadingModule().showErrorDetailsMessage(c),void(yt&&mt===!1&&De.options().loadingModule().collapseDetails("hiddenRecalculatePositions"));if(He===!1){var e=1-10*ye.alpha(),n=parseInt(200*e)+"%";De.options().loadingModule().setPercentValue(n),t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,e>.49&&(He=!0,ne&&(ne.style("opacity","1"),n="100%",t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,De.options().ontologyMenu().append_message_toLastBulletPoint("done"),t.select("#reloadCachedOntology").classed("hidden",!bt),gt===!0&&vt===!1&&(De.options().warningModule().showFilterHint(),vt=!0)),Fe&&(De.paused()===!1&&ye.resume(),Fe=!1),ct=!0,ft===!0?(ye.on("tick",d),d()):(ye.on("tick",p),p()),We===!0&&ye.nodes().length>0&&(ye.nodes().length<10?De.forceRelocationEvent(!0):De.forceRelocationEvent(),We=!1),De.showEditorHintIfNeeded(),De.options().loadingModule().missingImportsWarning()===!1?(De.options().loadingModule().hideLoadingIndicator(),De.options().ontologyMenu().append_bulletPoint("Successfully loaded ontology"),De.options().loadingModule().setSuccessful()):(De.options().loadingModule().showWarningDetailsMessage(),De.options().ontologyMenu().append_bulletPoint("Loaded ontology with warnings")))}}function d(){p(),_e=Date.now();var e=_e-je,t=(1e3/e).toFixed(2);ut.node().innerHTML="FPS: "+t+"
    Nodes: "+ye.nodes().length+"
    Links: "+ye.links().length,je=Date.now()}function p(){return lt?(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1!==n.layers().length||n.loops())e.linkDomainIntersection=o.calculateIntersection(n.label(),n.domain(),0),e.linkRangeIntersection=o.calculateIntersection(n.label(),n.range(),0),n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement());else{var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y,e.linkRangeIntersection=a,e.linkDomainIntersection=r,n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement())}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop()){var t=o.getLoopPoints(e);return e.label().linkRangeIntersection=t[1],e.label().linkDomainIntersection=t[0],e.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement()),o.calculateLoopPath(e)}var n=e.label(),r=o.calculateIntersection(n,e.domain(),1),a=o.calculateIntersection(n,e.range(),1);return e.linkRangeIntersection=r,e.linkDomainIntersection=a,e.property().focused()!==!0&&void 0===ot||(Ct.updateElement(),Ot.updateElement()),Se([r,n,a])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),rt&&(ee(rt),Q(rt),at===!1&&wt.setParentNode(rt)),ot&&te(ot),void S()):(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1===n.layers().length&&!n.loops()){ +var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop())return o.calculateLoopPath(e);var t=e.label(),n=o.calculateIntersection(t,e.domain(),1),r=o.calculateIntersection(t,e.range(),1);return Se([n,t,r])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),void S())}function f(){function e(e){Te.selectionModules().forEach(function(t){t.handle(e)})}se.on("click",function(n){Ke===!0&&G()===!0?(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n))):e(n)}),se.on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))}),le.selectAll(".label").on("click",function(n){e(n),Ke===!0&&G()===!0&&(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n)))}),le.selectAll(".label").on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))})}function h(e){if(De.options().getGeneralMetaObject().iri){var t=De.options().getGeneralMetaObject().iri+e.id();return e.iri()===t}return!1}function v(){if(pt===!0)return Me.translate(Ve),void Me.scale(Be);var e=!1;if(t.event.sourceEvent&&t.event.sourceEvent.deltaY&&(e=!0),e===!1){if(ze===!0)return;return Be=t.event.scale,Ve=t.event.translate,ne.attr("transform","translate("+Ve+")scale("+Be+")"),S(),void De.options().zoomSlider().updateZoomSliderValue(Be)}Be=t.event.scale,Ve=t.event.translate,ne.transition().tween("attr.translate",function(){return function(e){ze=!0;var n=t.transform(ne.attr("transform"));Ve[0]=n.translate[0],Ve[1]=n.translate[1],Be=n.scale[0],S(),De.options().zoomSlider().updateZoomSliderValue(Be)}}).each("end",function(){ze=!1}).attr("transform","translate("+Ve+")scale("+Be+")").ease("linear").duration(250)}function g(){b(),ne=t.selectAll(Te.graphContainerSelector()).append("svg").classed("vowlGraph",!0).attr("width",Te.width()).attr("height",Te.height()).call(Me).append("g");var e=t.selectAll(".vowlGraph");Qe=e.on("dblclick.zoom"),et=e.on("touchstart"),e.on("touchstart",Z),lt===!0?e.on("dblclick.zoom",De.modified_dblClickFunction):e.on("dblclick.zoom",Qe)}function y(){Ee=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("addDataPropertyElement",!0).attr("transform","translate(0,0)"),Ee.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",-8).attr("y1",0).attr("x2",8).attr("y2",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",0).attr("y1",-8).attr("x2",0).attr("y2",8).append("title").text("Add Datatype Property"),De.options().useAccuracyHelper()&&Ee.append("circle").attr("r",15).attr("cx",-7).attr("cy",7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject()),xe=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("deleteParentElement",!0).attr("transform","translate(0,0)"),xe.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Delete This Node");var e=5;xe.append("line").attr("x1",-e).attr("y1",-e).attr("x2",e).attr("y2",e).append("title").text("Delete This Node"),xe.append("line").attr("x1",e).attr("y1",-e).attr("x2",-e).attr("y2",e).append("title").text("Delete This Node"),De.options().useAccuracyHelper()&&xe.append("circle").attr("r",15).attr("cx",7).attr("cy",-7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject())}function m(){var e;if(ne){ne.selectAll("*").remove(),ie=ne.append("g").classed("linkContainer",!0),ae=ne.append("g").classed("cardinalityContainer",!0),oe=ne.append("g").classed("labelContainer",!0),re=ne.append("g").classed("nodeContainer",!0);var n=ne.append("g").classed("linkContainer",!0);tt=ne.append("g").classed("editContainer",!0),we=ne.append("g").classed("editContainer",!0),n.classed("hidden-in-export",!0),we.classed("hidden-in-export",!0),tt.classed("hidden-in-export",!0),e=ie.append("defs");var r=tt.selectAll(".node").data(nt).enter().append("g").classed("node",!0).classed("hidden-in-export",!0).attr("id",function(e){return e.id()}).call(me);r.each(function(e){e.svgRoot(t.select(this)),e.svgPathLayer(n),"shadowClone"===e.type()?(e.drawClone(),e.hideClone(!0)):(e.drawNode(),e.hideDragger(!0))}),y(),e=ie.append("defs"),void 0===pe&&(pe=[]),se=re.selectAll(".node").data(pe).enter().append("g").classed("node",!0).attr("id",function(e){return e.id()}).call(me),se.each(function(e){e.draw(t.select(this))}),void 0===fe&&(fe=[]),le=oe.selectAll(".labelGroup").data(fe).enter().append("g").classed("labelGroup",!0).call(me),le.each(function(e){var n=e.draw(t.select(this));e.property().labelObject(e),n||t.select(this).remove()}),le.each(function(e){if(this.parentNode&&i.isRdfsSubClassOf(e.property())){var t=this.parentNode;t.insertBefore(this,t.firstChild)}}),void 0===ve&&(ve=[]),de=ae.selectAll(".cardinality").data(ve).enter().append("g").classed("cardinality",!0),de.each(function(e){var n=e.drawCardinality(t.select(this));n||t.select(this).remove()}),void 0===he&&(he=[]),ue=ie.selectAll(".link").data(he).enter().append("g").classed("link",!0),ue.each(function(n){n.draw(t.select(this),e)}),ce=ue.selectAll("path"),f()}}function b(){ne&&t.select(ne.node().parentNode).remove()}function x(){Ze=[];for(var e,t=0;t0)for(var r=0;r0?(ne.style("opacity","0"),ye.on("tick",c)):(ne.style("opacity","1"),ft===!0?ye.on("tick",d):ye.on("tick",p)),ye.start()):(ye.stop(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),n.setErrorMode()),De.options().clearMetaObject(),De.options().clearGeneralMetaObject(),De.options().editSidebar().clearMetaObjectValue(),void 0!==Te.data()){var a=Te.data().header;if(a){if(a.iri&&De.options().addOrUpdateGeneralObjectEntry("iri",a.iri),a.title&&De.options().addOrUpdateGeneralObjectEntry("title",a.title),a.author&&De.options().addOrUpdateGeneralObjectEntry("author",a.author),a.version&&De.options().addOrUpdateGeneralObjectEntry("version",a.version),a.description&&De.options().addOrUpdateGeneralObjectEntry("description",a.description),a.prefixList){var i=a.prefixList;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];De.options().addPrefix(s,l)}}if(a.other){var u=a.other;for(var f in u)if(u.hasOwnProperty(f)){var h=u[f];h.hasOwnProperty("identifier")&&h.hasOwnProperty("value")&&De.options().addOrUpdateMetaObjectEntry(h.identfier,h.value)}}}}var v=r.clone(ge);Te.filterModules().forEach(function(e){v=P(e,v,!0)}),w(ge),Re.parseSettings(),qe=Re.settingsImported(),We=!0,Re.settingsImportGraphZoomAndTranslation()===!0&&(We=!1),De.options().searchMenu().requestDictionaryUpdate(),De.options().editSidebar().updateGeneralOntologyInfo(),De.options().editSidebar().updatePrefixUi(),De.options().editSidebar().updateElementWidth()}function C(){he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function k(){var e=Te.literalFilter().enabled();De.executeEmptyLiteralFilter(),Te.literalFilter().enabled(e);var t=r.clone(ge);Te.filterModules().forEach(function(e){t=P(e,t)}),Te.focuserModule().handle(void 0,!0),pe=t.nodes,ve=t.properties,he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function P(e,t,n){return he=a.createLinks(t.properties),_(t.nodes,he),n&&e.initialize&&e.initialize(t.nodes,t.properties),e.filter(t.nodes,t.properties),{nodes:e.filteredNodes(),properties:e.filteredProperties()}}function _(e,t){for(var n=0,r=e.length;n0)for(var e=ye.nodes(),t=0;tr||f<0||f>o){p<0&&f<0?(v=0,g=0):p>0&&pr&&f<0?(v=r,g=0):p>r&&f>0&&fr&&f>o?(v=r,g=o):p>0&&po?(v=p,g=o):p<0&&f>o?(v=0,g=o):p<0&&f>0&&f2500&&(u=2500),ne.attr("transform",N(a,n,r)).transition().duration(u).attrTween("transform",function(){return function(e){return N(l(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S()})}function H(e,t,n,r){var o,a,i=r[0];return i?(o=(e-n[0])/i,a=(t-n[1])/i):(o=(e-n[0])/r,a=(t-n[1])/r),{x:o,y:a}}function B(e,t){var n=De.options().width(),r=De.options().height(),o=T(e.x,e.y,Ve,Be),a=o.x,i=o.y,s=!(a<0||a>n||i<0||i>r);return s}function W(){Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),wt.hideDragger(!0),Ee&&Ee.classed("hidden",!0),xe&&xe.classed("hidden",!0),rt&&rt.pinned()===!1&&(rt.locked(De.paused()),rt.frozen(De.paused())),ot&&ot.pinned()===!1&&(ot.locked(De.paused()),ot.frozen(De.paused()))}function z(e){return t.map(e.values(),function(e){return(new e).type().toLowerCase()})}function V(e){var n,r,o=!0,a=t.select("#defaultClass").node().title;r=xt.get(a.toLowerCase()),n=new r(De);var i=!1;"owl:Thing"===a?n.label("Thing"):(n.label("NewClass"),i=!0),n.x=e.x,n.y=e.y,n.px=n.x,n.py=n.y,n.id("Class"+st++),n.baseIri(t.select("#iriEditor").node().value),n.iri(n.baseIri()+n.id()),q(n,o),Te.focuserModule().handle(n,!0),n.frozen(De.paused()),n.locked(De.paused()),n.enableEditing(i)}function q(e){ge.nodes.push(e),pe.indexOf(e)===-1&&pe.push(e),w(ge),De.getUpdateDictionary(),De.fastUpdate()}function U(e,n,r){var o=t.select("#defaultProperty").node().title;if(De.sanityCheckProperty(e,n,o)===!1)return!1;var a=Et.get(o.toLowerCase()),i=new a(De);if(i.id("objectProperty"+it++),i.domain(e),i.range(n),i.label("newObjectProperty"),i.baseIri(t.select("#iriEditor").node().value),i.iri(i.baseIri()+i.id()),De.propertyCheckExistenceChecker(i,e,n)===!1)return!1;var s=!1;"owl:objectProperty"===o&&(s=!0);var l=.49*(e.x+n.x),u=.49*(e.y+n.y);if(e===n){var c=r[0]-e.x,d=r[1]-e.y,p=Math.sqrt(c*c+d*d),f=c/p,h=d/p;isNaN(p)&&(f=0,h=-1);var v=2*e.actualRadius()+50;l=e.x+v*f,u=e.y+v*h}e.addProperty(i),n.addProperty(i),ge.properties.push(i),ve.indexOf(i)===-1&&ve.push(i),De.fastUpdate(),i.labelObject().x=l,i.labelObject().px=l,i.labelObject().y=u,i.labelObject().py=u,i.frozen(De.paused()),i.locked(De.paused()),e.frozen(De.paused()),e.locked(De.paused()),n.frozen(De.paused()),n.locked(De.paused()),w(ge),De.getUpdateDictionary(),Te.focuserModule().handle(i),De.activateHoverElementsForProperties(!0,i,!1,Ke),i.labelObject().increasedLoopAngle=!0,i.enableEditing(s)}function G(){var e=t.event.timeStamp,n=1;return t.event&&t.event.touches&&t.event.touches.length&&(n=t.event.touches.length),e-be<300&&1===n&&(t.event.stopPropagation(),lt===!0)?(t.event.preventDefault(),t.event.stopPropagation(),be=e,!0):(be=e,!1)}function Z(){pt=!0;var e=t.event.timeStamp;return e-be<300&&1===t.event.touches.length?(t.event.stopPropagation(),void(lt===!0?(t.event.preventDefault(),t.event.stopPropagation(),Me.translate(Ve),Me.scale(Be),De.modified_dblTouchFunction()):(pt=!1,et&&et()))):(pt=!1,be=e,void(et&&et()))}function $(e){if(e!==!0){if(rt){if(rt.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&rt.editingTextElement===!1&&(rt.frozen(!1),rt.locked(!1))},1e3)}if(ot){if(ot.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),ot&&ot.focused()===!0&&De.options().drawPropertyDraggerOnHover()===!0&&(ot.labelObject().increasedLoopAngle=!1,p()),ot&&ot.pinned()===!1&&De.paused()===!1&&ot.editingTextElement===!1&&(ot.frozen(!1),ot.locked(!1))},1e3)}}}function X(){wt.nodeElement.classed("classDraggerNodeHovered",!0),wt.nodeElement.classed("classDraggerNode",!1),J()}function Y(){wt.nodeElement.classed("classDraggerNodeHovered",!1),wt.nodeElement.classed("classDraggerNode",!0),K()}function J(e){e!==!0&&clearTimeout(Oe)}function K(e){if(rt){if(De.ignoreOtherHoverEvents()===!0||e===!0||rt.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&(rt.frozen(!1),rt.locked(!1)))},1e3)}if(ot){if(De.ignoreOtherHoverEvents()===!0||e===!0||ot.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),ot&&ot.pinned()===!1&&De.paused()===!1&&(ot.frozen(!1),ot.locked(!1)))},1e3)}}function Q(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x-o,n=e.y+a,Ee.attr("transform","translate("+t+","+n+")")}}function ee(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x+o,n=e.y-a}else t=e.x+.5*e.width()+6,n=e.y-.5*e.height()-6;xe.attr("transform","translate("+t+","+n+")")}function te(e,t){if(e&&e.labelElement()){var n=[e.labelObject().x,e.labelObject().y],r=parseFloat(e.getShapeElement().attr("width")),o=parseFloat(e.getShapeElement().attr("height")),a=n[0]+.5*r+6,i=n[1]-.5*o-6;"translate(0,15)"===e.labelElement().attr("transform")&&(i+=15),"translate(0,-15)"===e.labelElement().attr("transform")&&(i-=15),xe.attr("transform","translate("+a+","+i+")")}else xe.classed("hidden",!0)}var ne,re,oe,ae,ie,se,le,ue,ce,de,pe,fe,he,ve,ge,ye,me,be,xe,Ee,we,Oe,Ce,ke,Pe,_e,je,Me,De={},Le=20,Ae=10,Se=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal"),Te=n(64)(),Re=n(65)(De),Ie="default",Ne=!1,Fe=!0,He=!1,Be=1,We=!1,ze=!1,Ve=[0,0],qe=!1,Ue=[],Ge=[],Ze=[],$e=0,Xe=1,Ye=.8,Je=-1,Ke=!1,Qe=null,et=null,tt=null,nt=[],rt=null,ot=null,at=!1,it=0,st=0,lt=!0,ut=t.select("#FPS_Statistics"),ct=!1,dt=!1,pt=!1,ft=!1,ht=!1,vt=!1,gt=!1,yt=!0,mt=!1,bt=!1,xt=z(s),Et=z(l),wt=n(68)(De),Ot=n(69)(De),Ct=n(70)(De),kt=n(71)(De);De.math=function(){return o},De.isEditorMode=function(){return lt},De.getGlobalDOF=function(){return Je},De.setGlobalDOF=function(e){Je=e},De.updateZoomSliderValueFromOutside=function(){De.options().zoomSlider().updateZoomSliderValue(Be)},De.setDefaultZoom=function(e){Xe=e,De.reset(),De.options().zoomSlider().updateZoomSliderValue(Xe)},De.setTargetZoom=function(e){Ye=e},De.graphOptions=function(){return Te},De.scaleFactor=function(){return Be},De.translation=function(){return Ve},De.graphNodeElements=function(){return se},De.graphLabelElements=function(){return fe},De.graphLinkElements=function(){return he},De.setSliderZoom=function(e){var n=.5*De.options().width(),r=.5*De.options().height(),o=H(n,r,Ve,Be),a=[o.x,o.y,De.options().height()/Be],i=[o.x,o.y,De.options().height()/e],s=t.interpolateZoom(a,i);ne.attr("transform",N(a,n,r)).transition().duration(1).attrTween("transform",function(){return function(e){return N(s(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be)})},De.setZoom=function(e){Me.scale(e)},De.setTranslation=function(e){Me.translate([e[0],e[1]])},De.options=function(){return Te},De.getUpdateDictionary=function(){return Re.getDictionary()},De.language=function(e){return arguments.length?(Ie!==e&&(Ie=e||"default",m(),p(),De.options().searchMenu().requestDictionaryUpdate(),De.resetSearchHighlight()),De):Ie},De.lazyRefresh=function(){m(),p()},De.adjustingGraphSize=function(e){mt=e},De.showReloadButtonAfterLayoutOptimization=function(e){bt=e},De.showEditorHintIfNeeded=function(){ht===!1&<===!0&&(ht=!0,De.options().warningModule().showEditorHint())},De.setForceTickFunctionWithFPS=function(){ft=!0,ye&&ct===!0&&ye.on("tick",d)},De.setDefaultForceTickFunction=function(){ft=!1,ye&&ct===!0&&ye.on("tick",p)},De.updatePropertyDraggerElements=function(e){"owl:DatatypeProperty"!==e.type()?(kt.setParentProperty(e),Ot.setParentProperty(e),Ot.hideDragger(!1),Ot.addMouseEvents(),Ct.setParentProperty(e),Ct.hideDragger(!1),Ct.addMouseEvents()):(Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0))},De.getUnfilteredData=function(){return ge},De.getClassDataForTtlExport=function(){for(var e=ge.nodes,t=[],n=0;nn&&(o=n);var a=.5*De.options().width(),i=.5*De.options().height(),s=H(a,i,Ve,Be),l=[s.x,s.y,De.options().height()/Be],u=[s.x,s.y,De.options().height()/o],c=t.interpolateZoom(l,u);ne.attr("transform",N(l,a,i)).transition().duration(250).attrTween("transform",function(){return function(e){return N(c(e),a,i)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S(),Te.zoomSlider().updateZoomSliderValue(Be)})};var Pt=null;De.clearAllGraphData=function(){Pt=De.graphNodeElements()&&De.graphNodeElements().length>0?De.options().exportMenu().createJSON_exportObject():null,ye.stop(),ge&&(ge.nodes=[],ge.properties=[])},De.getCachedJsonObj=function(){return Pt},De.clearGraphData=function(){ye.stop();var e=De.options().sidebar();e&&e.clearOntologyInformation(),ne&&g()},De.updateProgressBarMode=function(){var e=De.options().loadingModule(),t=e.getProgressBarMode();switch(t){case 0:e.setErrorMode();break;case 1:e.setBusyMode();break;case 2:e.setPercentMode();break;default:e.setPercentMode()}},De.setFilterWarning=function(e){gt=e},De.handleOnLoadingError=function(){ye.stop(),De.clearGraphData(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").classed("busyProgressBar",!1),De.options().loadingModule().setErrorMode(),De.options().loadingModule().showErrorDetailsMessage()},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0){if(ze===!0)return;var e=ye.nodes()[Ue[$e]];$e++,$e%=Ue.length,e.id&&e.foreground(),e.property&&e.property().foreground(),F(e)}},De.resetSearchHighlight=function(){Ue=[],Ge=[];var e,t=ge.nodes,n=ge.properties;for(e=0;e0?(t.select("#locateSearchResult").classed("highlighted",!0),t.select("#locateSearchResult").node().title="Locate search term"):(t.select("#locateSearchResult").classed("highlighted",!1),t.select("#locateSearchResult").node().title="Nothing to locate")},De.highLightNodes=function(e){if(0!==e.length){Ue=[],Ge=e;for(var n=[],r=0;rMe.scaleExtent()[1]&&(h=Me.scaleExtent()[1]),hMe.scaleExtent()[1]&&(g=Me.scaleExtent()[1]),g2500&&(w=2500),ne.attr("transform",N(b,f,h)).transition().duration(w).attrTween("transform",function(){return function(t){if(e){var n=_t(),r=n[0](t);return N(r,f,h)}return N(E(t),f,h)}}).each("end",function(){e||(ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be))})},De.isADraggerActive=function(){return wt.mouseButtonPressed===!0||Ct.mouseButtonPressed===!0||Ot.mouseButtonPressed===!0},De.changeNodeType=function(e){var n=t.select("#typeEditor").node().value;if(De.classesSanityCheck(e,n)===!1)return void De.options().editSidebar().updateSelectionInformation(e);var r=xt.get(n.toLowerCase()),o=new r(De);if(o.x=e.x,o.y=e.y,o.px=e.x,o.py=e.y,o.id(e.id()),o.copyInformation(e),"owl:Thing"===n?o.label("Thing"):i.isDatatype(e)===!1&&(void 0!==e.backupLabel()?o.label(e.backupLabel()):void 0!==o.backupLabel()?o.label(o.backupLabel()):o.label("NewClass")),"rdfs:Datatype"===n)if("undefined"===o.dType())o.label("undefined");else{var a=o.dType().split(":")[1];o.label(a)}var s;for(s=0;sa?null:"rect"===r.renderType()?null:r===rt&&o<=rt.actualRadius()?r:r===rt&&o>rt.actualRadius()?null:r}return o>r.actualRadius()+30?null:r},De.genericPropertySanityCheck=function(e,t,n,r,o){return e===t&&"rdfs:subClassOf"===n?(De.options().warningModule().showWarning(r,"rdfs:subClassOf can not be created as loops (domain == range)",o,1,!1),!1):e===t&&"owl:disjointWith"===n?(De.options().warningModule().showWarning(r,"owl:disjointWith can not be created as loops (domain == range)",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:someValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===t.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not be connected to owl:Thing",o,1,!1),!1):"owl:Thing"!==t.type()||"owl:someValuesFrom"!==n||(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not be connected to owl:Thing",o,1,!1),!1)},De.checkIfIriClassAlreadyExist=function(e){for(var t=ge.nodes,n=0;n2){var s="You are about to delete 1 class and "+n.length+" properties";0!==o&&(s="You are about to delete 1 class, "+o+" datatypes and "+n.length+" properties"),De.options().warningModule().responseWarning("Removing elements",s,"Awaiting response!",De.removeNodesViaResponse,[r,n],!1)}else{for(a=0;a1&&(Te.literalFilter().filter(ge.nodes,ge.properties),ge.nodes=Te.literalFilter().filteredNodes(),ge.properties=Te.literalFilter().filteredProperties())},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0&&n(l)?t>1?x(l,t-1,n,r,o):a(o,l):r||(o[o.length]=l)}return o}function E(e,t){return e&&$t(e,t,dn)}function w(e,t){return b(t,function(t){return Te(e[t])})}function O(e){return te(e)}function C(e,t){return e>t}function k(e){return Ne(e)&&O(e)==yt}function P(e,t,n,r,o){return e===t||(null==e||null==t||!Ne(e)&&!Ne(t)?e!==e&&t!==t:_(e,t,n,r,P,o))}function _(e,t,n,r,o,a){var i=nn(e),s=nn(t),l=i?ht:O(e),u=s?ht:O(t);l=l==ft?wt:l,u=u==ft?wt:u;var c=l==wt,d=u==wt,p=l==u;a||(a=[]);var f=Jt(a,function(t){return t[0]==e}),h=Jt(a,function(e){return e[0]==t});if(f&&h)return f[1]==t;if(a.push([e,t]),a.push([t,e]),p&&!c){var v=i?Z(e,t,n,r,o,a):$(e,t,l,n,r,o,a);return a.pop(),v}if(!(n&st)){var g=c&&Nt.call(e,"__wrapped__"),y=d&&Nt.call(t,"__wrapped__");if(g||y){var m=g?e.value():e,b=y?t.value():t,v=o(m,b,n,r,a);return a.pop(),v}}if(!p)return!1;var v=X(e,t,n,r,o,a);return a.pop(),v}function j(e){return Ne(e)&&O(e)==Ct}function M(e){return"function"==typeof e?e:null==e?Ye:("object"==typeof e?A:s)(e)}function D(e,t){return eo?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++rt||a&&i&&l&&!s&&!u||r&&i&&l||!n&&l||!o)return 1;if(!r&&!a&&!u&&e1?n[o-1]:ot;for(a=e.length>3&&"function"==typeof a?(o--,a):ot,t=Object(t);++r-1?o[a?t[i]:i]:ot}}function G(e,t,n,r){function o(){for(var t=-1,s=arguments.length,l=-1,u=r.length,c=Array(u+s),d=this&&this!==At&&this instanceof o?i:e;++ls))return!1;for(var u=-1,c=!0,d=n<?[]:ot;++u-1&&e%1==0&&e0&&(n=t.apply(this,arguments)),e<=1&&(t=ot),n}}function ke(e){if("function"!=typeof e)throw new TypeError(it);return function(){var t=arguments;return!e.apply(this,t)}}function Pe(e){return Ce(2,e)}function _e(e){return Ie(e)?nn(e)?I(e):B(e,qt(e)):e}function je(e,t){return e===t||e!==e&&t!==t}function Me(e){return null!=e&&Re(e.length)&&!Te(e)}function De(e){return e===!0||e===!1||Ne(e)&&O(e)==gt}function Le(e){return Me(e)&&(nn(e)||We(e)||Te(e.splice)||tn(e))?!e.length:!qt(e).length}function Ae(e,t){return P(e,t)}function Se(e){return"number"==typeof e&&Vt(e)}function Te(e){if(!Ie(e))return!1;var t=O(e);return t==bt||t==xt||t==vt||t==Ot}function Re(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=pt}function Ie(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ne(e){return null!=e&&"object"==typeof e}function Fe(e){return Be(e)&&e!=+e}function He(e){return null===e}function Be(e){return"number"==typeof e||Ne(e)&&O(e)==Et}function We(e){return"string"==typeof e||!nn(e)&&Ne(e)&&O(e)==kt}function ze(e){return e===ot}function Ve(e){return Me(e)?e.length?I(e):[]:$e(e)}function qe(e){return"string"==typeof e?e:null==e?"":e+""}function Ue(e,t){var n=Gt(e);return null==t?n:ln(n,t)}function Ge(e,t){return null!=e&&Nt.call(e,t)}function Ze(e,t,n){var r=null==e?ot:e[t];return r===ot&&(r=n),Te(r)?r.call(e):r}function $e(e){return null==e?[]:c(e,dn(e))}function Xe(e){return e=qe(e),e&&_t.test(e)?e.replace(Pt,Tt):e}function Ye(e){return e}function Je(e){return A(ln({},e))}function Ke(e,t,n){var r=dn(t),o=w(t,r);null!=n||Ie(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=w(t,dn(t)));var i=!(Ie(n)&&"chain"in n&&!n.chain),s=Te(e);return Zt(o,function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=I(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,a([this.value()],arguments))})}),e}function Qe(){return At._===this&&(At._=Bt),this}function et(){}function tt(e){var t=++Ft;return qe(e)+t}function nt(e){return e&&e.length?m(e,Ye,C):ot}function rt(e){return e&&e.length?m(e,Ye,D):ot}var ot,at="4.17.11",it="Expected a function",st=1,lt=2,ut=1,ct=32,dt=1/0,pt=9007199254740991,ft="[object Arguments]",ht="[object Array]",vt="[object AsyncFunction]",gt="[object Boolean]",yt="[object Date]",mt="[object Error]",bt="[object Function]",xt="[object GeneratorFunction]",Et="[object Number]",wt="[object Object]",Ot="[object Proxy]",Ct="[object RegExp]",kt="[object String]",Pt=/[&<>"']/g,_t=RegExp(Pt.source),jt=/^(?:0|[1-9]\d*)$/,Mt={"&":"&","<":"<",">":">",'"':""","'":"'"},Dt="object"==typeof e&&e&&e.Object===Object&&e,Lt="object"==typeof self&&self&&self.Object===Object&&self,At=Dt||Lt||Function("return this")(),St="object"==typeof t&&t&&!t.nodeType&&t,Tt=(St&&"object"==typeof o&&o&&!o.nodeType&&o,l(Mt)),Rt=Array.prototype,It=Object.prototype,Nt=It.hasOwnProperty,Ft=0,Ht=It.toString,Bt=At._,Wt=Object.create,zt=It.propertyIsEnumerable,Vt=At.isFinite,qt=d(Object.keys,Object),Ut=Math.max,Gt=function(){function e(){}return function(t){if(!Ie(t))return{};if(Wt)return Wt(t);e.prototype=t;var n=new e;return e.prototype=ot,n}}();f.prototype=Gt(p.prototype),f.prototype.constructor=f;var Zt=z(E),$t=V(),Xt=et,Yt=Ye,Jt=U(ae),Kt=T(function(e,t,n){return G(e,ut|ct,t,n)}),Qt=T(function(e,t){return g(e,1,t)}),en=T(function(e,t,n){return g(e,sn(t)||0,n)}),tn=Xt(function(){return arguments}())?Xt:function(e){return Ne(e)&&Nt.call(e,"callee")&&!zt.call(e,"callee")},nn=Array.isArray,rn=k,on=j,an=Number,sn=Number,ln=W(function(e,t){B(t,qt(t),e)}),un=W(function(e,t){B(t,ee(t),e)}),cn=T(function(e,t){e=Object(e);var n=-1,r=t.length,o=r>2?t[2]:ot;for(o&&Q(t[0],t[1],o)&&(r=1);++n=0){e.visualAttributes().push(o);break}}function n(e){var t,n,r;for(t=0,n=x.length;t=0&&e.indications().push(r)}function r(e){var t,n,r;for(t=0,n=E.length;t=0&&e.indications().push(r)}var o={},a="anonymous",i="datatype",s="deprecated",l="external",u="object",c="rdf",d="asymmetric",p="functional",f="inverse functional",h="irreflexive",v="key",g="reflexive",y="symmetric",m="transitive",b=[[s,i,u,c],[a]],x=[s,l],E=[d,p,f,h,v,g,y,m];return o.parseClassAttributes=function(t){t.attributes()instanceof Array&&(e(t),n(t))},o.parsePropertyAttributes=function(t){t.attributes()instanceof Array&&(e(t),r(t))},function(){return o}}()},function(e,t,n){(function(t){function r(e){return function(t){return e[t]}}function o(e,n){var r=a(e,n),o=t.set(r.keys());if(o.remove(v),o.remove(g),1===o.size()){var i=o.values()[0],s=r.get(i);if(1===s.length)return s[0]}}function a(e,n){var r=t.map();return e.forEach(function(e){if(void 0!==e){var t=n[e.range()],o=t.type();r.has(o)||r.set(o,[]),r.get(o).push(t)}}),r}function i(e,t){var n;return n=p.isDatatypeProperty(e)?new d(t):new c(t),n.id(h+e.id()),n}function s(e,t,n,r){var o=[];return e.forEach(function(e){if(void 0!==e&&void 0!==t){var a=e.range();e.range(t.id()),l(a,n)||o.push(a),r.add(e.id())}}),o}function l(e,t){for(var n=0;n-1?(p=void 0,d.classed("deprecatedproperty",!0)):d.classed("deprecatedproperty",!1),d.style("fill",p);var f=e.equivalentsString(),h=f?",":"",v=new r(t.rootNodeLayer,p);v.addText(e.labelForCurrentLanguage(),"",h),v.addEquivalents(f),v.addSubText(e.indicationString());var g=.5*(t.s_x+t.e_x),y=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+g+","+y+")"),t.rootNodeLayer.classed("hidden",!0),t.pathElement.classed("hidden",!0)},t.hideClone=function(e){t.rootNodeLayer&&t.rootNodeLayer.classed("hidden",e),t.pathElement&&t.pathElement.classed("hidden",e)},t.hideParentProperty=function(e){var n=t.parent.labelObject();n&&("translate(0,15)"!==t.parent.labelElement().attr("transform")&&"translate(0,-15)"!==t.parent.labelElement().attr("transform")||t.parent.inverse().hide(e)),t.parent.hide(e)},t.id=function(e){return arguments.length?void(t.nodeId=e):t.nodeId},t.svgPathLayer=function(e){t.pathLayer=e.append("g")},t.svgRoot=function(e){return arguments.length?(t.rootElement=e,void(t.rootNodeLayer=t.rootElement.append("g"))):t.rootElement},t.drawClone=function(){t.pathElement=t.pathLayer.append("line"),t.pathElement.attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",0)},t.updateElement=function(){t.pathElement.attr("x1",t.e_x).attr("y1",t.e_y).attr("x2",t.s_x).attr("y2",t.s_y);var e=.5*(t.s_x+t.e_x),n=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+e+","+n+")")},t.setInitialPosition=function(){var e=t.parent.labelObject();if(e.linkRangeIntersection&&e.linkDomainIntersection){var n=e.linkRangeIntersection,r=e.linkDomainIntersection;t.e_x=r.x,t.e_y=r.y,t.s_x=n.x,t.s_y=n.y}t.updateElement()},t.setPositionDomain=function(e,n){var r=t.parent.range().x,i=t.parent.range().y;if(o.isDatatype(t.parent.range())===!0){var s=a.calculateIntersection({x:e,y:n},t.parent.range(),0);t.s_x=s.x,t.s_y=s.y}else{var l=r-e,u=i-n,c=Math.sqrt(l*l+u*u),d=l/c,p=u/c;t.s_x=r-d*t.parent.range().actualRadius(),t.s_y=i-p*t.parent.range().actualRadius()}t.e_x=e,t.e_y=n,t.updateElement()},t.setPosition=function(e,n){t.s_x=e,t.s_y=n;var r=t.parent.domain().x,o=t.parent.domain().y,a=e-r,i=n-o,s=Math.sqrt(a*a+i*i),l=a/s,u=i/s;t.e_x=r+l*t.parent.domain().actualRadius(),t.e_y=o+u*t.parent.domain().actualRadius(),t.updateElement()},t}},function(e,t){e.exports=function(e){function t(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function n(t){var n={base:"",resource:""};if(void 0===t)return n={base:"ERROR",resource:"NOT FOUND"};var r,o;return t.indexOf("#")>-1?(r=t.substring(t.lastIndexOf("#")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r):(r=t.substring(t.lastIndexOf("/")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r),n}var r,o={};return o.updatePrefixModel=function(){r=e.options().prefixList()},o.validURL=function(e){return t(e)},o.getPrefixRepresentationForFullURI=function(e){o.updatePrefixModel();var t=n(e);for(var a in r)if(r.hasOwnProperty(a)&&r[a]===t.base)return a+":"+t.resource;return":"===t.base?":"+t.resource:e},o}},function(e,t,n){(function(t){var r=n(58);e.exports=function(){function e(e){return e.filter(function(e){return!(e.visualAttributes().indexOf("deprecated")>=0)&&e.attributes().indexOf("external")>=0})}function n(e){for(var n=o(e),i=n.entries(),s=t.scale.linear().domain([0,i.length-1]).range(r.find(p,{type:v}).range).interpolate(t.interpolateHsl),l=0;l=0&&s.splice(n,1)}}),{nodes:s,properties:l}},function(){return t}}()},function(e,t,n){var r=n(46);e.exports=function(){function e(){var e,t,o,a=[];for(e=0,t=n.length;e=0?n<=t?n:(e.getGraphObject().setGlobalDOF(t),t):e.getDefaultDegreeValue()}function a(e){for(var t=0,n=0,r=e.length;n=e}}var c,d,p,f,h,v,g,y,m={},b=!0,x=50;return m.initialize=function(r,o){g=-1;var i=a(r);h instanceof Function&&h(i),e.setDefaultDegreeValue(t(r,o,i));var s=n(i);y instanceof Function?(y(s),s>0&&(e.highlightForDegreeSlider(!0),e.getGraphObject().setFilterWarning(!0))):console.error("No degree setter function set.")},m.filter=function(e,t){c=e,d=t,this.enabled()&&(v instanceof Function?s(v()):console.error("No degree query function set.")),p=c,f=d,0===p.length&&(y(0),p=e,f=t),g=v()},m.setMaxDegreeSetter=function(e){h=e},m.setDegreeGetter=function(e){v=e},m.setDegreeSetter=function(e){y=e},m.enabled=function(e){return arguments.length?(b=e,m):b},m.filteredNodes=function(){return p},m.filteredProperties=function(){return f},m}},function(e,t){e.exports=function(e){var t,n,r,o,a=!0,i={},s=a;return i.filter=function(a,i){t=a,n=i,e.options().scaleNodesByIndividuals(s),r=t,o=n},i.enabled=function(e){return arguments.length?(s=e,i):s},i.reset=function(){s=a},i.filteredNodes=function(){return r},i.filteredProperties=function(){return o},i}},function(e,t,n){var r=n(63)();e.exports=function(){function e(){i=i.filter(t),a=a.filter(n)}function t(e){return!r.isObjectProperty(e)}function n(e){var t=!r.isThing(e),n=o(e,i);return t||n}function o(e,n){for(var r=0;ro?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e,t){var n=typeof e;return t=null==t?r:t,!!t&&("number"==n||"symbol"!=n&&o.test(e))&&e>-1&&e%1==0&&e0&&n(c)?t>1?r(c,t-1,n,i,s):o(s,c):i||(s[s.length]=c)}return s}var o=n(107),a=n(109);e.exports=r},function(e,t,n){function r(e){return i(e)||a(e)||!!(s&&e&&e[s])}var o=n(92),a=n(110),i=n(112),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){var r=n(111),o=n(104),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){function r(e){return a(e)&&o(e)==i}var o=n(91),a=n(104),i="[object Arguments]";e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=c&&(p=u,f=!1,t=new o(t));e:for(;++d-1}var o=n(135);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(135);e.exports=r},function(e,t,n){var r=n(122),o=n(93),a=r(o,"Map");e.exports=a},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(142);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(141);e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return!!n&&o(e,t,0)>-1}var o=n(149);e.exports=r},function(e,t,n){function r(e,t,n){return t===t?i(e,t,n):o(e,a,n)}var o=n(150),a=n(151),i=n(152);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,a=Date.now;e.exports=n},function(e,t,n){function r(e){return a(e)&&o(e)}var o=n(89),a=n(104);e.exports=r},function(e,t,n){var r=n(115),o=n(108),a=n(168),i=n(157),s=n(166),l=n(228),u=i(function(e,t){var n=l(t);return s(n)&&(n=void 0),s(e)?r(e,o(t,1,s,!0),a(n,2)):[]});e.exports=u},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?a(e[0],e[1]):o(e):l(e)}var o=n(169),a=n(211),i=n(158),s=n(112),l=n(225);e.exports=r},function(e,t,n){function r(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(170),a=n(208),i=n(210);e.exports=r},function(e,t,n){function r(e,t,n,r){var l=n.length,u=l,c=!r;if(null==e)return!u;for(e=Object(e);l--;){var d=n[l];if(c&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++lp))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var v=-1,g=!0,y=n&l?new o:void 0;for(c.set(e,t),c.set(t,e);++vi?0:i+n),r=void 0===r||r>i?i:o(r),r<0&&(r+=i),r=n>r?0:a(r);n=t?e:t)),e}e.exports=n},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var l=null==n?0:i(n);return l<0&&(l=s(r+l,0)),o(e,a(t,3),l)}var o=n(150),a=n(168),i=n(100),s=Math.max;e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var u=r-1;return void 0!==n&&(u=i(n),u=n<0?s(r+u,0):l(u,r-1)),o(e,a(t,3),u,!0)}var o=n(150),a=n(168),i=n(100),s=Math.max,l=Math.min;e.exports=r},function(e,t,n){e.exports=n(242)},function(e,t){function n(e){return e&&e.length?e[0]:void 0}e.exports=n},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,1):[]}var o=n(108);e.exports=r},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,a):[]}var o=n(108),a=1/0;e.exports=r},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return n?(t=void 0===t?1:a(t),o(e,t)):[]}var o=n(108),a=n(100);e.exports=r},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r={};++t=120&&y.length>=120)?new o(f&&y):void 0}y=e[0];var m=-1,b=h[0];e:for(;++m-1;)f!==e&&c.call(f,h,1),c.call(e,h,1);return e}var o=n(154),a=n(149),i=n(262),s=n(155),l=n(113),u=Array.prototype,c=u.splice;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=n-1,a=e.length;++ot||i&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!a)return 1;if(!r&&!i&&!c&&e>>1,c=e[u];null!==c&&!i(c)&&(n?c<=t:c>>1;e.exports=r},function(e,t,n){function r(e,t,n,r){t=n(t);for(var a=0,u=null==e?0:e.length,c=t!==t,d=null===t,p=o(t),f=void 0===t;a=c){var g=t?null:l(e);if(g)return u(g);f=!1,d=s,v=new o}else v=t?[]:h;e:for(;++r1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,o(e,n)});e.exports=a},function(e,t,n){(function(t){e.exports=function(e){var n,r={};return r.handle=function(r){if(!t.event.defaultPrevented){var o=!0;n===r&&(o=!1),e instanceof Function&&e(o?r:void 0),n=o?r:void 0}},r.reset=function(){n&&(e(void 0),n=void 0)},r}}).call(t,n(6))},function(e,t,n){var r=n(20);e.exports=function(){function e(){var e=c.filterNodesAndTidy(o,a,t);o=e.nodes,a=e.properties}function t(e){return!(e instanceof r)}var o,a,i,s,l={},u=!1,c=n(76)();return l.filter=function(t,n){o=t,a=n,this.enabled()&&e(),i=o,s=a},l.enabled=function(e){return arguments.length?(u=e,l):u},l.filteredNodes=function(){return i},l.filteredProperties=function(){return s},l}},function(e,t,n){(function(t){var r=n(20),o=n(31),a=n(30),i=n(63)();e.exports=function(){function e(){h=0,v=0,g=0,y=0,m=0,b=0,x=0,E=0}function s(e,t){h=e.length;var r,o,a,i=n(62)();for(r=0,o=t.length;r1)return!1}return!0}function i(e,t){var n,r,o,a=[];for(r=0,o=e.length;r + +406 Not Acceptable + + +

    Not Acceptable

    +

    An appropriate representation of the requested resource could not be found on this server.

    + Available variants: + + \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.2.1/OOPSevaluation/evaluation/bootstrap.css b/dist/vocabulary/mapping/0.2.1/OOPSevaluation/evaluation/bootstrap.css new file mode 100644 index 0000000..b17ff4c --- /dev/null +++ b/dist/vocabulary/mapping/0.2.1/OOPSevaluation/evaluation/bootstrap.css @@ -0,0 +1,7155 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +audio, +canvas, +video { + display: inline-block; +} + +audio:not([controls]) { + display: none; + height: 0; +} + +[hidden], +template { + display: none; +} + +html { + font-family: sans-serif; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +body { + margin: 0; +} + +a { + background: transparent; +} + +a:focus { + outline: thin dotted; +} + +a:active, +a:hover { + outline: 0; +} + +h1 { + margin: 0.67em 0; + font-size: 2em; +} + +abbr[title] { + border-bottom: 1px dotted; +} + +b, +strong { + font-weight: bold; +} + +dfn { + font-style: italic; +} + +hr { + height: 0; + -moz-box-sizing: content-box; + box-sizing: content-box; +} + +mark { + color: #000; + background: #ff0; +} + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +pre { + white-space: pre-wrap; +} + +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} + +small { + font-size: 80%; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +img { + border: 0; +} + +svg:not(:root) { + overflow: hidden; +} + +figure { + margin: 0; +} + +fieldset { + padding: 0.35em 0.625em 0.75em; + margin: 0 2px; + border: 1px solid #c0c0c0; +} + +legend { + padding: 0; + border: 0; +} + +button, +input, +select, +textarea { + margin: 0; + font-family: inherit; + font-size: 100%; +} + +button, +input { + line-height: normal; +} + +button, +select { + text-transform: none; +} + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + cursor: pointer; + -webkit-appearance: button; +} + +button[disabled], +html input[disabled] { + cursor: default; +} + +input[type="checkbox"], +input[type="radio"] { + padding: 0; + box-sizing: border-box; +} + +input[type="search"] { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + -webkit-appearance: textfield; +} + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; +} + +textarea { + overflow: auto; + vertical-align: top; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +@media print { + * { + color: #000 !important; + text-shadow: none !important; + background: transparent !important; + box-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + a[href^="javascript:"]:after, + a[href^="#"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + @page { + margin: 2cm .5cm; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + select { + background: #fff !important; + } + .navbar { + display: none; + } + .table td, + .table th { + background-color: #fff !important; + } + .btn > .caret, + .dropup > .btn > .caret { + border-top-color: #000 !important; + } + .label { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #ddd !important; + } +} + +*, +*:before, +*:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +html { + font-size: 62.5%; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +body { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 1.428571429; + color: #333333; + background-color: #ffffff; +} + +input, +button, +select, +textarea { + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +a { + color: #428bca; + text-decoration: none; +} + +a:hover, +a:focus { + color: #2a6496; + text-decoration: underline; +} + +a:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +img { + vertical-align: middle; +} + +.img-responsive { + display: block; + height: auto; + max-width: 100%; +} + +.img-rounded { + border-radius: 6px; +} + +.img-thumbnail { + display: inline-block; + height: auto; + max-width: 100%; + padding: 4px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.img-circle { + border-radius: 50%; +} + +hr { + margin-top: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid #eeeeee; +} + +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} + +h1, +h2, +h3, +h4, +h5, +h6, +.h1, +.h2, +.h3, +.h4, +.h5, +.h6 { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 500; + line-height: 1.1; + color: inherit; +} + +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small, +.h1 small, +.h2 small, +.h3 small, +.h4 small, +.h5 small, +.h6 small, +h1 .small, +h2 .small, +h3 .small, +h4 .small, +h5 .small, +h6 .small, +.h1 .small, +.h2 .small, +.h3 .small, +.h4 .small, +.h5 .small, +.h6 .small { + font-weight: normal; + line-height: 1; + color: #999999; +} + +h1, +h2, +h3 { + margin-top: 20px; + margin-bottom: 10px; +} + +h1 small, +h2 small, +h3 small, +h1 .small, +h2 .small, +h3 .small { + font-size: 65%; +} + +h4, +h5, +h6 { + margin-top: 10px; + margin-bottom: 10px; +} + +h4 small, +h5 small, +h6 small, +h4 .small, +h5 .small, +h6 .small { + font-size: 75%; +} + +h1, +.h1 { + font-size: 36px; +} + +h2, +.h2 { + font-size: 30px; +} + +h3, +.h3 { + font-size: 24px; +} + +h4, +.h4 { + font-size: 18px; +} + +h5, +.h5 { + font-size: 14px; +} + +h6, +.h6 { + font-size: 12px; +} + +p { + margin: 0 0 10px; +} + +.lead { + margin-bottom: 20px; + font-size: 16px; + font-weight: 200; + line-height: 1.4; +} + +@media (min-width: 768px) { + .lead { + font-size: 21px; + } +} + +small, +.small { + font-size: 85%; +} + +cite { + font-style: normal; +} + +.text-muted { + color: #999999; +} + +.text-primary { + color: #428bca; +} + +.text-primary:hover { + color: #3071a9; +} + +.text-warning { + color: #8a6d3b; +} + +.text-warning:hover { + color: #66512c; +} + +.text-danger { + color: #a94442; +} + +.text-danger:hover { + color: #843534; +} + +.text-success { + color: #3c763d; +} + +.text-success:hover { + color: #2b542c; +} + +.text-info { + color: #31708f; +} + +.text-info:hover { + color: #245269; +} + +.text-left { + text-align: left; +} + +.text-right { + text-align: right; +} + +.text-center { + text-align: center; +} + +.page-header { + padding-bottom: 9px; + margin: 40px 0 20px; + border-bottom: 1px solid #eeeeee; +} + +ul, +ol { + margin-top: 0; + margin-bottom: 10px; +} + +ul ul, +ol ul, +ul ol, +ol ol { + margin-bottom: 0; +} + +.list-unstyled { + padding-left: 0; + list-style: none; +} + +.list-inline { + padding-left: 0; + list-style: none; +} + +.list-inline > li { + display: inline-block; + padding-right: 5px; + padding-left: 5px; +} + +.list-inline > li:first-child { + padding-left: 0; +} + +dl { + margin-top: 0; + margin-bottom: 20px; +} + +dt, +dd { + line-height: 1.428571429; +} + +dt { + font-weight: bold; +} + +dd { + margin-left: 0; +} + +@media (min-width: 768px) { + .dl-horizontal dt { + float: left; + width: 160px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; + } + .dl-horizontal dd { + margin-left: 180px; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } +} + +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #999999; +} + +.initialism { + font-size: 90%; + text-transform: uppercase; +} + +blockquote { + padding: 10px 20px; + margin: 0 0 20px; + border-left: 5px solid #eeeeee; +} + +blockquote p { + font-size: 17.5px; + font-weight: 300; + line-height: 1.25; +} + +blockquote p:last-child { + margin-bottom: 0; +} + +blockquote small, +blockquote .small { + display: block; + line-height: 1.428571429; + color: #999999; +} + +blockquote small:before, +blockquote .small:before { + content: '\2014 \00A0'; +} + +blockquote.pull-right { + padding-right: 15px; + padding-left: 0; + border-right: 5px solid #eeeeee; + border-left: 0; +} + +blockquote.pull-right p, +blockquote.pull-right small, +blockquote.pull-right .small { + text-align: right; +} + +blockquote.pull-right small:before, +blockquote.pull-right .small:before { + content: ''; +} + +blockquote.pull-right small:after, +blockquote.pull-right .small:after { + content: '\00A0 \2014'; +} + +blockquote:before, +blockquote:after { + content: ""; +} + +address { + margin-bottom: 20px; + font-style: normal; + line-height: 1.428571429; +} + +code, +kbd, +pre, +samp { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; +} + +code { + padding: 2px 4px; + font-size: 90%; + color: #c7254e; + white-space: nowrap; + background-color: #f9f2f4; + border-radius: 4px; +} + +pre { + display: block; + padding: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 1.428571429; + color: #333333; + word-break: break-all; + word-wrap: break-word; + background-color: #f5f5f5; + border: 1px solid #cccccc; + border-radius: 4px; +} + +pre code { + padding: 0; + font-size: inherit; + color: inherit; + white-space: pre-wrap; + background-color: transparent; + border-radius: 0; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +.container { + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +@media (min-width: 768px) { + .container { + width: 750px; + } +} + +@media (min-width: 992px) { + .container { + width: 970px; + } +} + +@media (min-width: 1200px) { + .container { + width: 1170px; + } +} + +.row { + margin-right: -15px; + margin-left: -15px; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.col-xs-1, +.col-sm-1, +.col-md-1, +.col-lg-1, +.col-xs-2, +.col-sm-2, +.col-md-2, +.col-lg-2, +.col-xs-3, +.col-sm-3, +.col-md-3, +.col-lg-3, +.col-xs-4, +.col-sm-4, +.col-md-4, +.col-lg-4, +.col-xs-5, +.col-sm-5, +.col-md-5, +.col-lg-5, +.col-xs-6, +.col-sm-6, +.col-md-6, +.col-lg-6, +.col-xs-7, +.col-sm-7, +.col-md-7, +.col-lg-7, +.col-xs-8, +.col-sm-8, +.col-md-8, +.col-lg-8, +.col-xs-9, +.col-sm-9, +.col-md-9, +.col-lg-9, +.col-xs-10, +.col-sm-10, +.col-md-10, +.col-lg-10, +.col-xs-11, +.col-sm-11, +.col-md-11, +.col-lg-11, +.col-xs-12, +.col-sm-12, +.col-md-12, +.col-lg-12 { + position: relative; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; +} + +.col-xs-1, +.col-xs-2, +.col-xs-3, +.col-xs-4, +.col-xs-5, +.col-xs-6, +.col-xs-7, +.col-xs-8, +.col-xs-9, +.col-xs-10, +.col-xs-11, +.col-xs-12 { + float: left; +} + +.col-xs-12 { + width: 100%; +} + +.col-xs-11 { + width: 91.66666666666666%; +} + +.col-xs-10 { + width: 83.33333333333334%; +} + +.col-xs-9 { + width: 75%; +} + +.col-xs-8 { + width: 66.66666666666666%; +} + +.col-xs-7 { + width: 58.333333333333336%; +} + +.col-xs-6 { + width: 50%; +} + +.col-xs-5 { + width: 41.66666666666667%; +} + +.col-xs-4 { + width: 33.33333333333333%; +} + +.col-xs-3 { + width: 25%; +} + +.col-xs-2 { + width: 16.666666666666664%; +} + +.col-xs-1 { + width: 8.333333333333332%; +} + +.col-xs-pull-12 { + right: 100%; +} + +.col-xs-pull-11 { + right: 91.66666666666666%; +} + +.col-xs-pull-10 { + right: 83.33333333333334%; +} + +.col-xs-pull-9 { + right: 75%; +} + +.col-xs-pull-8 { + right: 66.66666666666666%; +} + +.col-xs-pull-7 { + right: 58.333333333333336%; +} + +.col-xs-pull-6 { + right: 50%; +} + +.col-xs-pull-5 { + right: 41.66666666666667%; +} + +.col-xs-pull-4 { + right: 33.33333333333333%; +} + +.col-xs-pull-3 { + right: 25%; +} + +.col-xs-pull-2 { + right: 16.666666666666664%; +} + +.col-xs-pull-1 { + right: 8.333333333333332%; +} + +.col-xs-pull-0 { + right: 0; +} + +.col-xs-push-12 { + left: 100%; +} + +.col-xs-push-11 { + left: 91.66666666666666%; +} + +.col-xs-push-10 { + left: 83.33333333333334%; +} + +.col-xs-push-9 { + left: 75%; +} + +.col-xs-push-8 { + left: 66.66666666666666%; +} + +.col-xs-push-7 { + left: 58.333333333333336%; +} + +.col-xs-push-6 { + left: 50%; +} + +.col-xs-push-5 { + left: 41.66666666666667%; +} + +.col-xs-push-4 { + left: 33.33333333333333%; +} + +.col-xs-push-3 { + left: 25%; +} + +.col-xs-push-2 { + left: 16.666666666666664%; +} + +.col-xs-push-1 { + left: 8.333333333333332%; +} + +.col-xs-push-0 { + left: 0; +} + +.col-xs-offset-12 { + margin-left: 100%; +} + +.col-xs-offset-11 { + margin-left: 91.66666666666666%; +} + +.col-xs-offset-10 { + margin-left: 83.33333333333334%; +} + +.col-xs-offset-9 { + margin-left: 75%; +} + +.col-xs-offset-8 { + margin-left: 66.66666666666666%; +} + +.col-xs-offset-7 { + margin-left: 58.333333333333336%; +} + +.col-xs-offset-6 { + margin-left: 50%; +} + +.col-xs-offset-5 { + margin-left: 41.66666666666667%; +} + +.col-xs-offset-4 { + margin-left: 33.33333333333333%; +} + +.col-xs-offset-3 { + margin-left: 25%; +} + +.col-xs-offset-2 { + margin-left: 16.666666666666664%; +} + +.col-xs-offset-1 { + margin-left: 8.333333333333332%; +} + +.col-xs-offset-0 { + margin-left: 0; +} + +@media (min-width: 768px) { + .col-sm-1, + .col-sm-2, + .col-sm-3, + .col-sm-4, + .col-sm-5, + .col-sm-6, + .col-sm-7, + .col-sm-8, + .col-sm-9, + .col-sm-10, + .col-sm-11, + .col-sm-12 { + float: left; + } + .col-sm-12 { + width: 100%; + } + .col-sm-11 { + width: 91.66666666666666%; + } + .col-sm-10 { + width: 83.33333333333334%; + } + .col-sm-9 { + width: 75%; + } + .col-sm-8 { + width: 66.66666666666666%; + } + .col-sm-7 { + width: 58.333333333333336%; + } + .col-sm-6 { + width: 50%; + } + .col-sm-5 { + width: 41.66666666666667%; + } + .col-sm-4 { + width: 33.33333333333333%; + } + .col-sm-3 { + width: 25%; + } + .col-sm-2 { + width: 16.666666666666664%; + } + .col-sm-1 { + width: 8.333333333333332%; + } + .col-sm-pull-12 { + right: 100%; + } + .col-sm-pull-11 { + right: 91.66666666666666%; + } + .col-sm-pull-10 { + right: 83.33333333333334%; + } + .col-sm-pull-9 { + right: 75%; + } + .col-sm-pull-8 { + right: 66.66666666666666%; + } + .col-sm-pull-7 { + right: 58.333333333333336%; + } + .col-sm-pull-6 { + right: 50%; + } + .col-sm-pull-5 { + right: 41.66666666666667%; + } + .col-sm-pull-4 { + right: 33.33333333333333%; + } + .col-sm-pull-3 { + right: 25%; + } + .col-sm-pull-2 { + right: 16.666666666666664%; + } + .col-sm-pull-1 { + right: 8.333333333333332%; + } + .col-sm-pull-0 { + right: 0; + } + .col-sm-push-12 { + left: 100%; + } + .col-sm-push-11 { + left: 91.66666666666666%; + } + .col-sm-push-10 { + left: 83.33333333333334%; + } + .col-sm-push-9 { + left: 75%; + } + .col-sm-push-8 { + left: 66.66666666666666%; + } + .col-sm-push-7 { + left: 58.333333333333336%; + } + .col-sm-push-6 { + left: 50%; + } + .col-sm-push-5 { + left: 41.66666666666667%; + } + .col-sm-push-4 { + left: 33.33333333333333%; + } + .col-sm-push-3 { + left: 25%; + } + .col-sm-push-2 { + left: 16.666666666666664%; + } + .col-sm-push-1 { + left: 8.333333333333332%; + } + .col-sm-push-0 { + left: 0; + } + .col-sm-offset-12 { + margin-left: 100%; + } + .col-sm-offset-11 { + margin-left: 91.66666666666666%; + } + .col-sm-offset-10 { + margin-left: 83.33333333333334%; + } + .col-sm-offset-9 { + margin-left: 75%; + } + .col-sm-offset-8 { + margin-left: 66.66666666666666%; + } + .col-sm-offset-7 { + margin-left: 58.333333333333336%; + } + .col-sm-offset-6 { + margin-left: 50%; + } + .col-sm-offset-5 { + margin-left: 41.66666666666667%; + } + .col-sm-offset-4 { + margin-left: 33.33333333333333%; + } + .col-sm-offset-3 { + margin-left: 25%; + } + .col-sm-offset-2 { + margin-left: 16.666666666666664%; + } + .col-sm-offset-1 { + margin-left: 8.333333333333332%; + } + .col-sm-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 992px) { + .col-md-1, + .col-md-2, + .col-md-3, + .col-md-4, + .col-md-5, + .col-md-6, + .col-md-7, + .col-md-8, + .col-md-9, + .col-md-10, + .col-md-11, + .col-md-12 { + float: left; + } + .col-md-12 { + width: 100%; + } + .col-md-11 { + width: 91.66666666666666%; + } + .col-md-10 { + width: 83.33333333333334%; + } + .col-md-9 { + width: 75%; + } + .col-md-8 { + width: 66.66666666666666%; + } + .col-md-7 { + width: 58.333333333333336%; + } + .col-md-6 { + width: 50%; + } + .col-md-5 { + width: 41.66666666666667%; + } + .col-md-4 { + width: 33.33333333333333%; + } + .col-md-3 { + width: 25%; + } + .col-md-2 { + width: 16.666666666666664%; + } + .col-md-1 { + width: 8.333333333333332%; + } + .col-md-pull-12 { + right: 100%; + } + .col-md-pull-11 { + right: 91.66666666666666%; + } + .col-md-pull-10 { + right: 83.33333333333334%; + } + .col-md-pull-9 { + right: 75%; + } + .col-md-pull-8 { + right: 66.66666666666666%; + } + .col-md-pull-7 { + right: 58.333333333333336%; + } + .col-md-pull-6 { + right: 50%; + } + .col-md-pull-5 { + right: 41.66666666666667%; + } + .col-md-pull-4 { + right: 33.33333333333333%; + } + .col-md-pull-3 { + right: 25%; + } + .col-md-pull-2 { + right: 16.666666666666664%; + } + .col-md-pull-1 { + right: 8.333333333333332%; + } + .col-md-pull-0 { + right: 0; + } + .col-md-push-12 { + left: 100%; + } + .col-md-push-11 { + left: 91.66666666666666%; + } + .col-md-push-10 { + left: 83.33333333333334%; + } + .col-md-push-9 { + left: 75%; + } + .col-md-push-8 { + left: 66.66666666666666%; + } + .col-md-push-7 { + left: 58.333333333333336%; + } + .col-md-push-6 { + left: 50%; + } + .col-md-push-5 { + left: 41.66666666666667%; + } + .col-md-push-4 { + left: 33.33333333333333%; + } + .col-md-push-3 { + left: 25%; + } + .col-md-push-2 { + left: 16.666666666666664%; + } + .col-md-push-1 { + left: 8.333333333333332%; + } + .col-md-push-0 { + left: 0; + } + .col-md-offset-12 { + margin-left: 100%; + } + .col-md-offset-11 { + margin-left: 91.66666666666666%; + } + .col-md-offset-10 { + margin-left: 83.33333333333334%; + } + .col-md-offset-9 { + margin-left: 75%; + } + .col-md-offset-8 { + margin-left: 66.66666666666666%; + } + .col-md-offset-7 { + margin-left: 58.333333333333336%; + } + .col-md-offset-6 { + margin-left: 50%; + } + .col-md-offset-5 { + margin-left: 41.66666666666667%; + } + .col-md-offset-4 { + margin-left: 33.33333333333333%; + } + .col-md-offset-3 { + margin-left: 25%; + } + .col-md-offset-2 { + margin-left: 16.666666666666664%; + } + .col-md-offset-1 { + margin-left: 8.333333333333332%; + } + .col-md-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 1200px) { + .col-lg-1, + .col-lg-2, + .col-lg-3, + .col-lg-4, + .col-lg-5, + .col-lg-6, + .col-lg-7, + .col-lg-8, + .col-lg-9, + .col-lg-10, + .col-lg-11, + .col-lg-12 { + float: left; + } + .col-lg-12 { + width: 100%; + } + .col-lg-11 { + width: 91.66666666666666%; + } + .col-lg-10 { + width: 83.33333333333334%; + } + .col-lg-9 { + width: 75%; + } + .col-lg-8 { + width: 66.66666666666666%; + } + .col-lg-7 { + width: 58.333333333333336%; + } + .col-lg-6 { + width: 50%; + } + .col-lg-5 { + width: 41.66666666666667%; + } + .col-lg-4 { + width: 33.33333333333333%; + } + .col-lg-3 { + width: 25%; + } + .col-lg-2 { + width: 16.666666666666664%; + } + .col-lg-1 { + width: 8.333333333333332%; + } + .col-lg-pull-12 { + right: 100%; + } + .col-lg-pull-11 { + right: 91.66666666666666%; + } + .col-lg-pull-10 { + right: 83.33333333333334%; + } + .col-lg-pull-9 { + right: 75%; + } + .col-lg-pull-8 { + right: 66.66666666666666%; + } + .col-lg-pull-7 { + right: 58.333333333333336%; + } + .col-lg-pull-6 { + right: 50%; + } + .col-lg-pull-5 { + right: 41.66666666666667%; + } + .col-lg-pull-4 { + right: 33.33333333333333%; + } + .col-lg-pull-3 { + right: 25%; + } + .col-lg-pull-2 { + right: 16.666666666666664%; + } + .col-lg-pull-1 { + right: 8.333333333333332%; + } + .col-lg-pull-0 { + right: 0; + } + .col-lg-push-12 { + left: 100%; + } + .col-lg-push-11 { + left: 91.66666666666666%; + } + .col-lg-push-10 { + left: 83.33333333333334%; + } + .col-lg-push-9 { + left: 75%; + } + .col-lg-push-8 { + left: 66.66666666666666%; + } + .col-lg-push-7 { + left: 58.333333333333336%; + } + .col-lg-push-6 { + left: 50%; + } + .col-lg-push-5 { + left: 41.66666666666667%; + } + .col-lg-push-4 { + left: 33.33333333333333%; + } + .col-lg-push-3 { + left: 25%; + } + .col-lg-push-2 { + left: 16.666666666666664%; + } + .col-lg-push-1 { + left: 8.333333333333332%; + } + .col-lg-push-0 { + left: 0; + } + .col-lg-offset-12 { + margin-left: 100%; + } + .col-lg-offset-11 { + margin-left: 91.66666666666666%; + } + .col-lg-offset-10 { + margin-left: 83.33333333333334%; + } + .col-lg-offset-9 { + margin-left: 75%; + } + .col-lg-offset-8 { + margin-left: 66.66666666666666%; + } + .col-lg-offset-7 { + margin-left: 58.333333333333336%; + } + .col-lg-offset-6 { + margin-left: 50%; + } + .col-lg-offset-5 { + margin-left: 41.66666666666667%; + } + .col-lg-offset-4 { + margin-left: 33.33333333333333%; + } + .col-lg-offset-3 { + margin-left: 25%; + } + .col-lg-offset-2 { + margin-left: 16.666666666666664%; + } + .col-lg-offset-1 { + margin-left: 8.333333333333332%; + } + .col-lg-offset-0 { + margin-left: 0; + } +} + +table { + max-width: 100%; + background-color: transparent; +} + +th { + text-align: left; +} + +.table { + width: 100%; + margin-bottom: 20px; +} + +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + padding: 8px; + line-height: 1.428571429; + vertical-align: top; + border-top: 1px solid #dddddd; +} + +.table > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #dddddd; +} + +.table > caption + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > th, +.table > thead:first-child > tr:first-child > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > td { + border-top: 0; +} + +.table > tbody + tbody { + border-top: 2px solid #dddddd; +} + +.table .table { + background-color: #ffffff; +} + +.table-condensed > thead > tr > th, +.table-condensed > tbody > tr > th, +.table-condensed > tfoot > tr > th, +.table-condensed > thead > tr > td, +.table-condensed > tbody > tr > td, +.table-condensed > tfoot > tr > td { + padding: 5px; +} + +.table-bordered { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > tbody > tr > th, +.table-bordered > tfoot > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > td { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td { + border-bottom-width: 2px; +} + +.table-striped > tbody > tr:nth-child(odd) > td, +.table-striped > tbody > tr:nth-child(odd) > th { + background-color: #f9f9f9; +} + +.table-hover > tbody > tr:hover > td, +.table-hover > tbody > tr:hover > th { + background-color: #f5f5f5; +} + +table col[class*="col-"] { + position: static; + display: table-column; + float: none; +} + +table td[class*="col-"], +table th[class*="col-"] { + display: table-cell; + float: none; +} + +.table > thead > tr > .active, +.table > tbody > tr > .active, +.table > tfoot > tr > .active, +.table > thead > .active > td, +.table > tbody > .active > td, +.table > tfoot > .active > td, +.table > thead > .active > th, +.table > tbody > .active > th, +.table > tfoot > .active > th { + background-color: #f5f5f5; +} + +.table-hover > tbody > tr > .active:hover, +.table-hover > tbody > .active:hover > td, +.table-hover > tbody > .active:hover > th { + background-color: #e8e8e8; +} + +.table > thead > tr > .success, +.table > tbody > tr > .success, +.table > tfoot > tr > .success, +.table > thead > .success > td, +.table > tbody > .success > td, +.table > tfoot > .success > td, +.table > thead > .success > th, +.table > tbody > .success > th, +.table > tfoot > .success > th { + background-color: #dff0d8; +} + +.table-hover > tbody > tr > .success:hover, +.table-hover > tbody > .success:hover > td, +.table-hover > tbody > .success:hover > th { + background-color: #d0e9c6; +} + +.table > thead > tr > .danger, +.table > tbody > tr > .danger, +.table > tfoot > tr > .danger, +.table > thead > .danger > td, +.table > tbody > .danger > td, +.table > tfoot > .danger > td, +.table > thead > .danger > th, +.table > tbody > .danger > th, +.table > tfoot > .danger > th { + background-color: #f2dede; +} + +.table-hover > tbody > tr > .danger:hover, +.table-hover > tbody > .danger:hover > td, +.table-hover > tbody > .danger:hover > th { + background-color: #ebcccc; +} + +.table > thead > tr > .warning, +.table > tbody > tr > .warning, +.table > tfoot > tr > .warning, +.table > thead > .warning > td, +.table > tbody > .warning > td, +.table > tfoot > .warning > td, +.table > thead > .warning > th, +.table > tbody > .warning > th, +.table > tfoot > .warning > th { + background-color: #fcf8e3; +} + +.table-hover > tbody > tr > .warning:hover, +.table-hover > tbody > .warning:hover > td, +.table-hover > tbody > .warning:hover > th { + background-color: #faf2cc; +} + +@media (max-width: 767px) { + .table-responsive { + width: 100%; + margin-bottom: 15px; + overflow-x: scroll; + overflow-y: hidden; + border: 1px solid #dddddd; + -ms-overflow-style: -ms-autohiding-scrollbar; + -webkit-overflow-scrolling: touch; + } + .table-responsive > .table { + margin-bottom: 0; + } + .table-responsive > .table > thead > tr > th, + .table-responsive > .table > tbody > tr > th, + .table-responsive > .table > tfoot > tr > th, + .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > td { + white-space: nowrap; + } + .table-responsive > .table-bordered { + border: 0; + } + .table-responsive > .table-bordered > thead > tr > th:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, + .table-responsive > .table-bordered > tfoot > tr > th:first-child, + .table-responsive > .table-bordered > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; + } + .table-responsive > .table-bordered > thead > tr > th:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, + .table-responsive > .table-bordered > tfoot > tr > th:last-child, + .table-responsive > .table-bordered > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; + } + .table-responsive > .table-bordered > tbody > tr:last-child > th, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, + .table-responsive > .table-bordered > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; + } +} + +fieldset { + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: inherit; + color: #333333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} + +label { + display: inline-block; + margin-bottom: 5px; + font-weight: bold; +} + +input[type="search"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + /* IE8-9 */ + + line-height: normal; +} + +input[type="file"] { + display: block; +} + +select[multiple], +select[size] { + height: auto; +} + +select optgroup { + font-family: inherit; + font-size: inherit; + font-style: inherit; +} + +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +input[type="number"]::-webkit-outer-spin-button, +input[type="number"]::-webkit-inner-spin-button { + height: auto; +} + +output { + display: block; + padding-top: 7px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; +} + +.form-control { + display: block; + width: 100%; + height: 34px; + padding: 6px 12px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; + background-color: #ffffff; + background-image: none; + border: 1px solid #cccccc; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; +} + +.form-control:focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); +} + +.form-control:-moz-placeholder { + color: #999999; +} + +.form-control::-moz-placeholder { + color: #999999; + opacity: 1; +} + +.form-control:-ms-input-placeholder { + color: #999999; +} + +.form-control::-webkit-input-placeholder { + color: #999999; +} + +.form-control[disabled], +.form-control[readonly], +fieldset[disabled] .form-control { + cursor: not-allowed; + background-color: #eeeeee; +} + +textarea.form-control { + height: auto; +} + +.form-group { + margin-bottom: 15px; +} + +.radio, +.checkbox { + display: block; + min-height: 20px; + padding-left: 20px; + margin-top: 10px; + margin-bottom: 10px; + vertical-align: middle; +} + +.radio label, +.checkbox label { + display: inline; + margin-bottom: 0; + font-weight: normal; + cursor: pointer; +} + +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + float: left; + margin-left: -20px; +} + +.radio + .radio, +.checkbox + .checkbox { + margin-top: -5px; +} + +.radio-inline, +.checkbox-inline { + display: inline-block; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + vertical-align: middle; + cursor: pointer; +} + +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; +} + +input[type="radio"][disabled], +input[type="checkbox"][disabled], +.radio[disabled], +.radio-inline[disabled], +.checkbox[disabled], +.checkbox-inline[disabled], +fieldset[disabled] input[type="radio"], +fieldset[disabled] input[type="checkbox"], +fieldset[disabled] .radio, +fieldset[disabled] .radio-inline, +fieldset[disabled] .checkbox, +fieldset[disabled] .checkbox-inline { + cursor: not-allowed; +} + +.input-sm { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-sm { + height: 30px; + line-height: 30px; +} + +textarea.input-sm { + height: auto; +} + +.input-lg { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-lg { + height: 46px; + line-height: 46px; +} + +textarea.input-lg { + height: auto; +} + +.has-warning .help-block, +.has-warning .control-label, +.has-warning .radio, +.has-warning .checkbox, +.has-warning .radio-inline, +.has-warning .checkbox-inline { + color: #8a6d3b; +} + +.has-warning .form-control { + border-color: #8a6d3b; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-warning .form-control:focus { + border-color: #66512c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; +} + +.has-warning .input-group-addon { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #8a6d3b; +} + +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline { + color: #a94442; +} + +.has-error .form-control { + border-color: #a94442; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-error .form-control:focus { + border-color: #843534; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; +} + +.has-error .input-group-addon { + color: #a94442; + background-color: #f2dede; + border-color: #a94442; +} + +.has-success .help-block, +.has-success .control-label, +.has-success .radio, +.has-success .checkbox, +.has-success .radio-inline, +.has-success .checkbox-inline { + color: #3c763d; +} + +.has-success .form-control { + border-color: #3c763d; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-success .form-control:focus { + border-color: #2b542c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; +} + +.has-success .input-group-addon { + color: #3c763d; + background-color: #dff0d8; + border-color: #3c763d; +} + +.form-control-static { + margin-bottom: 0; +} + +.help-block { + display: block; + margin-top: 5px; + margin-bottom: 10px; + color: #737373; +} + +@media (min-width: 768px) { + .form-inline .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .form-control { + display: inline-block; + } + .form-inline select.form-control { + width: auto; + } + .form-inline .radio, + .form-inline .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .form-inline .radio input[type="radio"], + .form-inline .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +.form-horizontal .control-label, +.form-horizontal .radio, +.form-horizontal .checkbox, +.form-horizontal .radio-inline, +.form-horizontal .checkbox-inline { + padding-top: 7px; + margin-top: 0; + margin-bottom: 0; +} + +.form-horizontal .radio, +.form-horizontal .checkbox { + min-height: 27px; +} + +.form-horizontal .form-group { + margin-right: -15px; + margin-left: -15px; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-control-static { + padding-top: 7px; +} + +@media (min-width: 768px) { + .form-horizontal .control-label { + text-align: right; + } +} + +.btn { + display: inline-block; + padding: 6px 12px; + margin-bottom: 0; + font-size: 14px; + font-weight: normal; + line-height: 1.428571429; + text-align: center; + white-space: nowrap; + vertical-align: middle; + cursor: pointer; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; +} + +.btn:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +.btn:hover, +.btn:focus { + color: #333333; + text-decoration: none; +} + +.btn:active, +.btn.active { + background-image: none; + outline: 0; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn.disabled, +.btn[disabled], +fieldset[disabled] .btn { + pointer-events: none; + cursor: not-allowed; + opacity: 0.65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-default { + color: #333333; + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default:hover, +.btn-default:focus, +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + color: #333333; + background-color: #ebebeb; + border-color: #adadad; +} + +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + background-image: none; +} + +.btn-default.disabled, +.btn-default[disabled], +fieldset[disabled] .btn-default, +.btn-default.disabled:hover, +.btn-default[disabled]:hover, +fieldset[disabled] .btn-default:hover, +.btn-default.disabled:focus, +.btn-default[disabled]:focus, +fieldset[disabled] .btn-default:focus, +.btn-default.disabled:active, +.btn-default[disabled]:active, +fieldset[disabled] .btn-default:active, +.btn-default.disabled.active, +.btn-default[disabled].active, +fieldset[disabled] .btn-default.active { + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default .badge { + color: #ffffff; + background-color: #fff; +} + +.btn-primary { + color: #ffffff; + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary:hover, +.btn-primary:focus, +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + color: #ffffff; + background-color: #3276b1; + border-color: #285e8e; +} + +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + background-image: none; +} + +.btn-primary.disabled, +.btn-primary[disabled], +fieldset[disabled] .btn-primary, +.btn-primary.disabled:hover, +.btn-primary[disabled]:hover, +fieldset[disabled] .btn-primary:hover, +.btn-primary.disabled:focus, +.btn-primary[disabled]:focus, +fieldset[disabled] .btn-primary:focus, +.btn-primary.disabled:active, +.btn-primary[disabled]:active, +fieldset[disabled] .btn-primary:active, +.btn-primary.disabled.active, +.btn-primary[disabled].active, +fieldset[disabled] .btn-primary.active { + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary .badge { + color: #428bca; + background-color: #fff; +} + +.btn-warning { + color: #ffffff; + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning:hover, +.btn-warning:focus, +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + color: #ffffff; + background-color: #ed9c28; + border-color: #d58512; +} + +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + background-image: none; +} + +.btn-warning.disabled, +.btn-warning[disabled], +fieldset[disabled] .btn-warning, +.btn-warning.disabled:hover, +.btn-warning[disabled]:hover, +fieldset[disabled] .btn-warning:hover, +.btn-warning.disabled:focus, +.btn-warning[disabled]:focus, +fieldset[disabled] .btn-warning:focus, +.btn-warning.disabled:active, +.btn-warning[disabled]:active, +fieldset[disabled] .btn-warning:active, +.btn-warning.disabled.active, +.btn-warning[disabled].active, +fieldset[disabled] .btn-warning.active { + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning .badge { + color: #f0ad4e; + background-color: #fff; +} + +.btn-danger { + color: #ffffff; + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger:hover, +.btn-danger:focus, +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + color: #ffffff; + background-color: #d2322d; + border-color: #ac2925; +} + +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + background-image: none; +} + +.btn-danger.disabled, +.btn-danger[disabled], +fieldset[disabled] .btn-danger, +.btn-danger.disabled:hover, +.btn-danger[disabled]:hover, +fieldset[disabled] .btn-danger:hover, +.btn-danger.disabled:focus, +.btn-danger[disabled]:focus, +fieldset[disabled] .btn-danger:focus, +.btn-danger.disabled:active, +.btn-danger[disabled]:active, +fieldset[disabled] .btn-danger:active, +.btn-danger.disabled.active, +.btn-danger[disabled].active, +fieldset[disabled] .btn-danger.active { + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger .badge { + color: #d9534f; + background-color: #fff; +} + +.btn-success { + color: #ffffff; + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success:hover, +.btn-success:focus, +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + color: #ffffff; + background-color: #47a447; + border-color: #398439; +} + +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + background-image: none; +} + +.btn-success.disabled, +.btn-success[disabled], +fieldset[disabled] .btn-success, +.btn-success.disabled:hover, +.btn-success[disabled]:hover, +fieldset[disabled] .btn-success:hover, +.btn-success.disabled:focus, +.btn-success[disabled]:focus, +fieldset[disabled] .btn-success:focus, +.btn-success.disabled:active, +.btn-success[disabled]:active, +fieldset[disabled] .btn-success:active, +.btn-success.disabled.active, +.btn-success[disabled].active, +fieldset[disabled] .btn-success.active { + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success .badge { + color: #5cb85c; + background-color: #fff; +} + +.btn-info { + color: #ffffff; + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info:hover, +.btn-info:focus, +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + color: #ffffff; + background-color: #39b3d7; + border-color: #269abc; +} + +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + background-image: none; +} + +.btn-info.disabled, +.btn-info[disabled], +fieldset[disabled] .btn-info, +.btn-info.disabled:hover, +.btn-info[disabled]:hover, +fieldset[disabled] .btn-info:hover, +.btn-info.disabled:focus, +.btn-info[disabled]:focus, +fieldset[disabled] .btn-info:focus, +.btn-info.disabled:active, +.btn-info[disabled]:active, +fieldset[disabled] .btn-info:active, +.btn-info.disabled.active, +.btn-info[disabled].active, +fieldset[disabled] .btn-info.active { + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info .badge { + color: #5bc0de; + background-color: #fff; +} + +.btn-link { + font-weight: normal; + color: #428bca; + cursor: pointer; + border-radius: 0; +} + +.btn-link, +.btn-link:active, +.btn-link[disabled], +fieldset[disabled] .btn-link { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-link, +.btn-link:hover, +.btn-link:focus, +.btn-link:active { + border-color: transparent; +} + +.btn-link:hover, +.btn-link:focus { + color: #2a6496; + text-decoration: underline; + background-color: transparent; +} + +.btn-link[disabled]:hover, +fieldset[disabled] .btn-link:hover, +.btn-link[disabled]:focus, +fieldset[disabled] .btn-link:focus { + color: #999999; + text-decoration: none; +} + +.btn-lg { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-sm { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-xs { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-block { + display: block; + width: 100%; + padding-right: 0; + padding-left: 0; +} + +.btn-block + .btn-block { + margin-top: 5px; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.fade { + opacity: 0; + -webkit-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} + +.fade.in { + opacity: 1; +} + +.collapse { + display: none; +} + +.collapse.in { + display: block; +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition: height 0.35s ease; + transition: height 0.35s ease; +} + +@font-face { + font-family: 'Glyphicons Halflings'; + src: url('../fonts/glyphicons-halflings-regular.eot'); + src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg'); +} + +.glyphicon { + position: relative; + top: 1px; + display: inline-block; + font-family: 'Glyphicons Halflings'; + -webkit-font-smoothing: antialiased; + font-style: normal; + font-weight: normal; + line-height: 1; + -moz-osx-font-smoothing: grayscale; +} + +.glyphicon:empty { + width: 1em; +} + +.glyphicon-asterisk:before { + content: "\2a"; +} + +.glyphicon-plus:before { + content: "\2b"; +} + +.glyphicon-euro:before { + content: "\20ac"; +} + +.glyphicon-minus:before { + content: "\2212"; +} + +.glyphicon-cloud:before { + content: "\2601"; +} + +.glyphicon-envelope:before { + content: "\2709"; +} + +.glyphicon-pencil:before { + content: "\270f"; +} + +.glyphicon-glass:before { + content: "\e001"; +} + +.glyphicon-music:before { + content: "\e002"; +} + +.glyphicon-search:before { + content: "\e003"; +} + +.glyphicon-heart:before { + content: "\e005"; +} + +.glyphicon-star:before { + content: "\e006"; +} + +.glyphicon-star-empty:before { + content: "\e007"; +} + +.glyphicon-user:before { + content: "\e008"; +} + +.glyphicon-film:before { + content: "\e009"; +} + +.glyphicon-th-large:before { + content: "\e010"; +} + +.glyphicon-th:before { + content: "\e011"; +} + +.glyphicon-th-list:before { + content: "\e012"; +} + +.glyphicon-ok:before { + content: "\e013"; +} + +.glyphicon-remove:before { + content: "\e014"; +} + +.glyphicon-zoom-in:before { + content: "\e015"; +} + +.glyphicon-zoom-out:before { + content: "\e016"; +} + +.glyphicon-off:before { + content: "\e017"; +} + +.glyphicon-signal:before { + content: "\e018"; +} + +.glyphicon-cog:before { + content: "\e019"; +} + +.glyphicon-trash:before { + content: "\e020"; +} + +.glyphicon-home:before { + content: "\e021"; +} + +.glyphicon-file:before { + content: "\e022"; +} + +.glyphicon-time:before { + content: "\e023"; +} + +.glyphicon-road:before { + content: "\e024"; +} + +.glyphicon-download-alt:before { + content: "\e025"; +} + +.glyphicon-download:before { + content: "\e026"; +} + +.glyphicon-upload:before { + content: "\e027"; +} + +.glyphicon-inbox:before { + content: "\e028"; +} + +.glyphicon-play-circle:before { + content: "\e029"; +} + +.glyphicon-repeat:before { + content: "\e030"; +} + +.glyphicon-refresh:before { + content: "\e031"; +} + +.glyphicon-list-alt:before { + content: "\e032"; +} + +.glyphicon-lock:before { + content: "\e033"; +} + +.glyphicon-flag:before { + content: "\e034"; +} + +.glyphicon-headphones:before { + content: "\e035"; +} + +.glyphicon-volume-off:before { + content: "\e036"; +} + +.glyphicon-volume-down:before { + content: "\e037"; +} + +.glyphicon-volume-up:before { + content: "\e038"; +} + +.glyphicon-qrcode:before { + content: "\e039"; +} + +.glyphicon-barcode:before { + content: "\e040"; +} + +.glyphicon-tag:before { + content: "\e041"; +} + +.glyphicon-tags:before { + content: "\e042"; +} + +.glyphicon-book:before { + content: "\e043"; +} + +.glyphicon-bookmark:before { + content: "\e044"; +} + +.glyphicon-print:before { + content: "\e045"; +} + +.glyphicon-camera:before { + content: "\e046"; +} + +.glyphicon-font:before { + content: "\e047"; +} + +.glyphicon-bold:before { + content: "\e048"; +} + +.glyphicon-italic:before { + content: "\e049"; +} + +.glyphicon-text-height:before { + content: "\e050"; +} + +.glyphicon-text-width:before { + content: "\e051"; +} + +.glyphicon-align-left:before { + content: "\e052"; +} + +.glyphicon-align-center:before { + content: "\e053"; +} + +.glyphicon-align-right:before { + content: "\e054"; +} + +.glyphicon-align-justify:before { + content: "\e055"; +} + +.glyphicon-list:before { + content: "\e056"; +} + +.glyphicon-indent-left:before { + content: "\e057"; +} + +.glyphicon-indent-right:before { + content: "\e058"; +} + +.glyphicon-facetime-video:before { + content: "\e059"; +} + +.glyphicon-picture:before { + content: "\e060"; +} + +.glyphicon-map-marker:before { + content: "\e062"; +} + +.glyphicon-adjust:before { + content: "\e063"; +} + +.glyphicon-tint:before { + content: "\e064"; +} + +.glyphicon-edit:before { + content: "\e065"; +} + +.glyphicon-share:before { + content: "\e066"; +} + +.glyphicon-check:before { + content: "\e067"; +} + +.glyphicon-move:before { + content: "\e068"; +} + +.glyphicon-step-backward:before { + content: "\e069"; +} + +.glyphicon-fast-backward:before { + content: "\e070"; +} + +.glyphicon-backward:before { + content: "\e071"; +} + +.glyphicon-play:before { + content: "\e072"; +} + +.glyphicon-pause:before { + content: "\e073"; +} + +.glyphicon-stop:before { + content: "\e074"; +} + +.glyphicon-forward:before { + content: "\e075"; +} + +.glyphicon-fast-forward:before { + content: "\e076"; +} + +.glyphicon-step-forward:before { + content: "\e077"; +} + +.glyphicon-eject:before { + content: "\e078"; +} + +.glyphicon-chevron-left:before { + content: "\e079"; +} + +.glyphicon-chevron-right:before { + content: "\e080"; +} + +.glyphicon-plus-sign:before { + content: "\e081"; +} + +.glyphicon-minus-sign:before { + content: "\e082"; +} + +.glyphicon-remove-sign:before { + content: "\e083"; +} + +.glyphicon-ok-sign:before { + content: "\e084"; +} + +.glyphicon-question-sign:before { + content: "\e085"; +} + +.glyphicon-info-sign:before { + content: "\e086"; +} + +.glyphicon-screenshot:before { + content: "\e087"; +} + +.glyphicon-remove-circle:before { + content: "\e088"; +} + +.glyphicon-ok-circle:before { + content: "\e089"; +} + +.glyphicon-ban-circle:before { + content: "\e090"; +} + +.glyphicon-arrow-left:before { + content: "\e091"; +} + +.glyphicon-arrow-right:before { + content: "\e092"; +} + +.glyphicon-arrow-up:before { + content: "\e093"; +} + +.glyphicon-arrow-down:before { + content: "\e094"; +} + +.glyphicon-share-alt:before { + content: "\e095"; +} + +.glyphicon-resize-full:before { + content: "\e096"; +} + +.glyphicon-resize-small:before { + content: "\e097"; +} + +.glyphicon-exclamation-sign:before { + content: "\e101"; +} + +.glyphicon-gift:before { + content: "\e102"; +} + +.glyphicon-leaf:before { + content: "\e103"; +} + +.glyphicon-fire:before { + content: "\e104"; +} + +.glyphicon-eye-open:before { + content: "\e105"; +} + +.glyphicon-eye-close:before { + content: "\e106"; +} + +.glyphicon-warning-sign:before { + content: "\e107"; +} + +.glyphicon-plane:before { + content: "\e108"; +} + +.glyphicon-calendar:before { + content: "\e109"; +} + +.glyphicon-random:before { + content: "\e110"; +} + +.glyphicon-comment:before { + content: "\e111"; +} + +.glyphicon-magnet:before { + content: "\e112"; +} + +.glyphicon-chevron-up:before { + content: "\e113"; +} + +.glyphicon-chevron-down:before { + content: "\e114"; +} + +.glyphicon-retweet:before { + content: "\e115"; +} + +.glyphicon-shopping-cart:before { + content: "\e116"; +} + +.glyphicon-folder-close:before { + content: "\e117"; +} + +.glyphicon-folder-open:before { + content: "\e118"; +} + +.glyphicon-resize-vertical:before { + content: "\e119"; +} + +.glyphicon-resize-horizontal:before { + content: "\e120"; +} + +.glyphicon-hdd:before { + content: "\e121"; +} + +.glyphicon-bullhorn:before { + content: "\e122"; +} + +.glyphicon-bell:before { + content: "\e123"; +} + +.glyphicon-certificate:before { + content: "\e124"; +} + +.glyphicon-thumbs-up:before { + content: "\e125"; +} + +.glyphicon-thumbs-down:before { + content: "\e126"; +} + +.glyphicon-hand-right:before { + content: "\e127"; +} + +.glyphicon-hand-left:before { + content: "\e128"; +} + +.glyphicon-hand-up:before { + content: "\e129"; +} + +.glyphicon-hand-down:before { + content: "\e130"; +} + +.glyphicon-circle-arrow-right:before { + content: "\e131"; +} + +.glyphicon-circle-arrow-left:before { + content: "\e132"; +} + +.glyphicon-circle-arrow-up:before { + content: "\e133"; +} + +.glyphicon-circle-arrow-down:before { + content: "\e134"; +} + +.glyphicon-globe:before { + content: "\e135"; +} + +.glyphicon-wrench:before { + content: "\e136"; +} + +.glyphicon-tasks:before { + content: "\e137"; +} + +.glyphicon-filter:before { + content: "\e138"; +} + +.glyphicon-briefcase:before { + content: "\e139"; +} + +.glyphicon-fullscreen:before { + content: "\e140"; +} + +.glyphicon-dashboard:before { + content: "\e141"; +} + +.glyphicon-paperclip:before { + content: "\e142"; +} + +.glyphicon-heart-empty:before { + content: "\e143"; +} + +.glyphicon-link:before { + content: "\e144"; +} + +.glyphicon-phone:before { + content: "\e145"; +} + +.glyphicon-pushpin:before { + content: "\e146"; +} + +.glyphicon-usd:before { + content: "\e148"; +} + +.glyphicon-gbp:before { + content: "\e149"; +} + +.glyphicon-sort:before { + content: "\e150"; +} + +.glyphicon-sort-by-alphabet:before { + content: "\e151"; +} + +.glyphicon-sort-by-alphabet-alt:before { + content: "\e152"; +} + +.glyphicon-sort-by-order:before { + content: "\e153"; +} + +.glyphicon-sort-by-order-alt:before { + content: "\e154"; +} + +.glyphicon-sort-by-attributes:before { + content: "\e155"; +} + +.glyphicon-sort-by-attributes-alt:before { + content: "\e156"; +} + +.glyphicon-unchecked:before { + content: "\e157"; +} + +.glyphicon-expand:before { + content: "\e158"; +} + +.glyphicon-collapse-down:before { + content: "\e159"; +} + +.glyphicon-collapse-up:before { + content: "\e160"; +} + +.glyphicon-log-in:before { + content: "\e161"; +} + +.glyphicon-flash:before { + content: "\e162"; +} + +.glyphicon-log-out:before { + content: "\e163"; +} + +.glyphicon-new-window:before { + content: "\e164"; +} + +.glyphicon-record:before { + content: "\e165"; +} + +.glyphicon-save:before { + content: "\e166"; +} + +.glyphicon-open:before { + content: "\e167"; +} + +.glyphicon-saved:before { + content: "\e168"; +} + +.glyphicon-import:before { + content: "\e169"; +} + +.glyphicon-export:before { + content: "\e170"; +} + +.glyphicon-send:before { + content: "\e171"; +} + +.glyphicon-floppy-disk:before { + content: "\e172"; +} + +.glyphicon-floppy-saved:before { + content: "\e173"; +} + +.glyphicon-floppy-remove:before { + content: "\e174"; +} + +.glyphicon-floppy-save:before { + content: "\e175"; +} + +.glyphicon-floppy-open:before { + content: "\e176"; +} + +.glyphicon-credit-card:before { + content: "\e177"; +} + +.glyphicon-transfer:before { + content: "\e178"; +} + +.glyphicon-cutlery:before { + content: "\e179"; +} + +.glyphicon-header:before { + content: "\e180"; +} + +.glyphicon-compressed:before { + content: "\e181"; +} + +.glyphicon-earphone:before { + content: "\e182"; +} + +.glyphicon-phone-alt:before { + content: "\e183"; +} + +.glyphicon-tower:before { + content: "\e184"; +} + +.glyphicon-stats:before { + content: "\e185"; +} + +.glyphicon-sd-video:before { + content: "\e186"; +} + +.glyphicon-hd-video:before { + content: "\e187"; +} + +.glyphicon-subtitles:before { + content: "\e188"; +} + +.glyphicon-sound-stereo:before { + content: "\e189"; +} + +.glyphicon-sound-dolby:before { + content: "\e190"; +} + +.glyphicon-sound-5-1:before { + content: "\e191"; +} + +.glyphicon-sound-6-1:before { + content: "\e192"; +} + +.glyphicon-sound-7-1:before { + content: "\e193"; +} + +.glyphicon-copyright-mark:before { + content: "\e194"; +} + +.glyphicon-registration-mark:before { + content: "\e195"; +} + +.glyphicon-cloud-download:before { + content: "\e197"; +} + +.glyphicon-cloud-upload:before { + content: "\e198"; +} + +.glyphicon-tree-conifer:before { + content: "\e199"; +} + +.glyphicon-tree-deciduous:before { + content: "\e200"; +} + +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px solid; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} + +.dropdown { + position: relative; +} + +.dropdown-toggle:focus { + outline: 0; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + font-size: 14px; + list-style: none; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 4px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + background-clip: padding-box; +} + +.dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.dropdown-menu .divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.428571429; + color: #333333; + white-space: nowrap; +} + +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + color: #262626; + text-decoration: none; + background-color: #f5f5f5; +} + +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #ffffff; + text-decoration: none; + background-color: #428bca; + outline: 0; +} + +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #999999; +} + +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + cursor: not-allowed; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.open > .dropdown-menu { + display: block; +} + +.open > a { + outline: 0; +} + +.dropdown-header { + display: block; + padding: 3px 20px; + font-size: 12px; + line-height: 1.428571429; + color: #999999; +} + +.dropdown-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 990; +} + +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} + +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + border-top: 0; + border-bottom: 4px solid; + content: ""; +} + +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 1px; +} + +@media (min-width: 768px) { + .navbar-right .dropdown-menu { + right: 0; + left: auto; + } +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} + +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + float: left; +} + +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover, +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus, +.btn-group > .btn:active, +.btn-group-vertical > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn.active { + z-index: 2; +} + +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus { + outline: none; +} + +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group { + margin-left: -1px; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar .btn-group { + float: left; +} + +.btn-toolbar > .btn + .btn, +.btn-toolbar > .btn-group + .btn, +.btn-toolbar > .btn + .btn-group, +.btn-toolbar > .btn-group + .btn-group { + margin-left: 5px; +} + +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0; +} + +.btn-group > .btn:first-child { + margin-left: 0; +} + +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group > .btn-group { + float: left; +} + +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group > .btn-group:first-child > .btn:last-child, +.btn-group > .btn-group:first-child > .dropdown-toggle { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn-group:last-child > .btn:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} + +.btn-group-xs > .btn { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-sm > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-lg > .btn { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-group > .btn + .dropdown-toggle { + padding-right: 8px; + padding-left: 8px; +} + +.btn-group > .btn-lg + .dropdown-toggle { + padding-right: 12px; + padding-left: 12px; +} + +.btn-group.open .dropdown-toggle { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn-group.open .dropdown-toggle.btn-link { + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn .caret { + margin-left: 0; +} + +.btn-lg .caret { + border-width: 5px 5px 0; + border-bottom-width: 0; +} + +.dropup .btn-lg .caret { + border-width: 0 5px 5px; +} + +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group, +.btn-group-vertical > .btn-group > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group > .btn { + float: none; +} + +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} + +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-top-right-radius: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 0; +} + +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group-vertical > .btn-group:first-child > .btn:last-child, +.btn-group-vertical > .btn-group:first-child > .dropdown-toggle { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn-group:last-child > .btn:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.btn-group-justified { + display: table; + width: 100%; + border-collapse: separate; + table-layout: fixed; +} + +.btn-group-justified > .btn, +.btn-group-justified > .btn-group { + display: table-cell; + float: none; + width: 1%; +} + +.btn-group-justified > .btn-group .btn { + width: 100%; +} + +[data-toggle="buttons"] > .btn > input[type="radio"], +[data-toggle="buttons"] > .btn > input[type="checkbox"] { + display: none; +} + +.input-group { + position: relative; + display: table; + border-collapse: separate; +} + +.input-group[class*="col-"] { + float: none; + padding-right: 0; + padding-left: 0; +} + +.input-group .form-control { + width: 100%; + margin-bottom: 0; +} + +.input-group-lg > .form-control, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-group-lg > .form-control, +select.input-group-lg > .input-group-addon, +select.input-group-lg > .input-group-btn > .btn { + height: 46px; + line-height: 46px; +} + +textarea.input-group-lg > .form-control, +textarea.input-group-lg > .input-group-addon, +textarea.input-group-lg > .input-group-btn > .btn { + height: auto; +} + +.input-group-sm > .form-control, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-group-sm > .form-control, +select.input-group-sm > .input-group-addon, +select.input-group-sm > .input-group-btn > .btn { + height: 30px; + line-height: 30px; +} + +textarea.input-group-sm > .form-control, +textarea.input-group-sm > .input-group-addon, +textarea.input-group-sm > .input-group-btn > .btn { + height: auto; +} + +.input-group-addon, +.input-group-btn, +.input-group .form-control { + display: table-cell; +} + +.input-group-addon:not(:first-child):not(:last-child), +.input-group-btn:not(:first-child):not(:last-child), +.input-group .form-control:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.input-group-addon, +.input-group-btn { + width: 1%; + white-space: nowrap; + vertical-align: middle; +} + +.input-group-addon { + padding: 6px 12px; + font-size: 14px; + font-weight: normal; + line-height: 1; + color: #555555; + text-align: center; + background-color: #eeeeee; + border: 1px solid #cccccc; + border-radius: 4px; +} + +.input-group-addon.input-sm { + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; +} + +.input-group-addon.input-lg { + padding: 10px 16px; + font-size: 18px; + border-radius: 6px; +} + +.input-group-addon input[type="radio"], +.input-group-addon input[type="checkbox"] { + margin-top: 0; +} + +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group-addon:first-child { + border-right: 0; +} + +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.input-group-addon:last-child { + border-left: 0; +} + +.input-group-btn { + position: relative; + white-space: nowrap; +} + +.input-group-btn:first-child > .btn { + margin-right: -1px; +} + +.input-group-btn:last-child > .btn { + margin-left: -1px; +} + +.input-group-btn > .btn { + position: relative; +} + +.input-group-btn > .btn + .btn { + margin-left: -4px; +} + +.input-group-btn > .btn:hover, +.input-group-btn > .btn:active { + z-index: 2; +} + +.nav { + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav > li { + position: relative; + display: block; +} + +.nav > li > a { + position: relative; + display: block; + padding: 10px 15px; +} + +.nav > li > a:hover, +.nav > li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.nav > li.disabled > a { + color: #999999; +} + +.nav > li.disabled > a:hover, +.nav > li.disabled > a:focus { + color: #999999; + text-decoration: none; + cursor: not-allowed; + background-color: transparent; +} + +.nav .open > a, +.nav .open > a:hover, +.nav .open > a:focus { + background-color: #eeeeee; + border-color: #428bca; +} + +.nav .nav-divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.nav > li > a > img { + max-width: none; +} + +.nav-tabs { + border-bottom: 1px solid #dddddd; +} + +.nav-tabs > li { + float: left; + margin-bottom: -1px; +} + +.nav-tabs > li > a { + margin-right: 2px; + line-height: 1.428571429; + border: 1px solid transparent; + border-radius: 4px 4px 0 0; +} + +.nav-tabs > li > a:hover { + border-color: #eeeeee #eeeeee #dddddd; +} + +.nav-tabs > li.active > a, +.nav-tabs > li.active > a:hover, +.nav-tabs > li.active > a:focus { + color: #555555; + cursor: default; + background-color: #ffffff; + border: 1px solid #dddddd; + border-bottom-color: transparent; +} + +.nav-tabs.nav-justified { + width: 100%; + border-bottom: 0; +} + +.nav-tabs.nav-justified > li { + float: none; +} + +.nav-tabs.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-tabs.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-tabs.nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs.nav-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs.nav-justified > .active > a, +.nav-tabs.nav-justified > .active > a:hover, +.nav-tabs.nav-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs.nav-justified > .active > a, + .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs.nav-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.nav-pills > li { + float: left; +} + +.nav-pills > li > a { + border-radius: 4px; +} + +.nav-pills > li + li { + margin-left: 2px; +} + +.nav-pills > li.active > a, +.nav-pills > li.active > a:hover, +.nav-pills > li.active > a:focus { + color: #ffffff; + background-color: #428bca; +} + +.nav-stacked > li { + float: none; +} + +.nav-stacked > li + li { + margin-top: 2px; + margin-left: 0; +} + +.nav-justified { + width: 100%; +} + +.nav-justified > li { + float: none; +} + +.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs-justified { + border-bottom: 0; +} + +.nav-tabs-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs-justified > .active > a, +.nav-tabs-justified > .active > a:hover, +.nav-tabs-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs-justified > .active > a, + .nav-tabs-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.tab-content > .tab-pane { + display: none; +} + +.tab-content > .active { + display: block; +} + +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar { + position: relative; + min-height: 50px; + margin-bottom: 20px; + border: 1px solid transparent; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar { + border-radius: 4px; + } +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar-header { + float: left; + } +} + +.navbar-collapse { + max-height: 340px; + padding-right: 15px; + padding-left: 15px; + overflow-x: visible; + border-top: 1px solid transparent; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); + -webkit-overflow-scrolling: touch; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse.in { + overflow-y: auto; +} + +@media (min-width: 768px) { + .navbar-collapse { + width: auto; + border-top: 0; + box-shadow: none; + } + .navbar-collapse.collapse { + display: block !important; + height: auto !important; + padding-bottom: 0; + overflow: visible !important; + } + .navbar-collapse.in { + overflow-y: visible; + } + .navbar-fixed-top .navbar-collapse, + .navbar-static-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + padding-right: 0; + padding-left: 0; + } +} + +.container > .navbar-header, +.container > .navbar-collapse { + margin-right: -15px; + margin-left: -15px; +} + +@media (min-width: 768px) { + .container > .navbar-header, + .container > .navbar-collapse { + margin-right: 0; + margin-left: 0; + } +} + +.navbar-static-top { + z-index: 1000; + border-width: 0 0 1px; +} + +@media (min-width: 768px) { + .navbar-static-top { + border-radius: 0; + } +} + +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; +} + +@media (min-width: 768px) { + .navbar-fixed-top, + .navbar-fixed-bottom { + border-radius: 0; + } +} + +.navbar-fixed-top { + top: 0; + border-width: 0 0 1px; +} + +.navbar-fixed-bottom { + bottom: 0; + margin-bottom: 0; + border-width: 1px 0 0; +} + +.navbar-brand { + float: left; + padding: 15px 15px; + font-size: 18px; + line-height: 20px; +} + +.navbar-brand:hover, +.navbar-brand:focus { + text-decoration: none; +} + +@media (min-width: 768px) { + .navbar > .container .navbar-brand { + margin-left: -15px; + } +} + +.navbar-toggle { + position: relative; + float: right; + padding: 9px 10px; + margin-top: 8px; + margin-right: 15px; + margin-bottom: 8px; + background-color: transparent; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; +} + +.navbar-toggle .icon-bar { + display: block; + width: 22px; + height: 2px; + border-radius: 1px; +} + +.navbar-toggle .icon-bar + .icon-bar { + margin-top: 4px; +} + +@media (min-width: 768px) { + .navbar-toggle { + display: none; + } +} + +.navbar-nav { + margin: 7.5px -15px; +} + +.navbar-nav > li > a { + padding-top: 10px; + padding-bottom: 10px; + line-height: 20px; +} + +@media (max-width: 767px) { + .navbar-nav .open .dropdown-menu { + position: static; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + box-shadow: none; + } + .navbar-nav .open .dropdown-menu > li > a, + .navbar-nav .open .dropdown-menu .dropdown-header { + padding: 5px 15px 5px 25px; + } + .navbar-nav .open .dropdown-menu > li > a { + line-height: 20px; + } + .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-nav .open .dropdown-menu > li > a:focus { + background-image: none; + } +} + +@media (min-width: 768px) { + .navbar-nav { + float: left; + margin: 0; + } + .navbar-nav > li { + float: left; + } + .navbar-nav > li > a { + padding-top: 15px; + padding-bottom: 15px; + } + .navbar-nav.navbar-right:last-child { + margin-right: -15px; + } +} + +@media (min-width: 768px) { + .navbar-left { + float: left !important; + } + .navbar-right { + float: right !important; + } +} + +.navbar-form { + padding: 10px 15px; + margin-top: 8px; + margin-right: -15px; + margin-bottom: 8px; + margin-left: -15px; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); +} + +@media (min-width: 768px) { + .navbar-form .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .form-control { + display: inline-block; + } + .navbar-form select.form-control { + width: auto; + } + .navbar-form .radio, + .navbar-form .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .navbar-form .radio input[type="radio"], + .navbar-form .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +@media (max-width: 767px) { + .navbar-form .form-group { + margin-bottom: 5px; + } +} + +@media (min-width: 768px) { + .navbar-form { + width: auto; + padding-top: 0; + padding-bottom: 0; + margin-right: 0; + margin-left: 0; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .navbar-form.navbar-right:last-child { + margin-right: -15px; + } +} + +.navbar-nav > li > .dropdown-menu { + margin-top: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.navbar-nav.pull-right > li > .dropdown-menu, +.navbar-nav > li > .dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.navbar-btn { + margin-top: 8px; + margin-bottom: 8px; +} + +.navbar-btn.btn-sm { + margin-top: 10px; + margin-bottom: 10px; +} + +.navbar-btn.btn-xs { + margin-top: 14px; + margin-bottom: 14px; +} + +.navbar-text { + margin-top: 15px; + margin-bottom: 15px; +} + +@media (min-width: 768px) { + .navbar-text { + float: left; + margin-right: 15px; + margin-left: 15px; + } + .navbar-text.navbar-right:last-child { + margin-right: 0; + } +} + +.navbar-default { + background-color: #f8f8f8; + border-color: #e7e7e7; +} + +.navbar-default .navbar-brand { + color: #777777; +} + +.navbar-default .navbar-brand:hover, +.navbar-default .navbar-brand:focus { + color: #5e5e5e; + background-color: transparent; +} + +.navbar-default .navbar-text { + color: #777777; +} + +.navbar-default .navbar-nav > li > a { + color: #777777; +} + +.navbar-default .navbar-nav > li > a:hover, +.navbar-default .navbar-nav > li > a:focus { + color: #333333; + background-color: transparent; +} + +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .disabled > a, +.navbar-default .navbar-nav > .disabled > a:hover, +.navbar-default .navbar-nav > .disabled > a:focus { + color: #cccccc; + background-color: transparent; +} + +.navbar-default .navbar-toggle { + border-color: #dddddd; +} + +.navbar-default .navbar-toggle:hover, +.navbar-default .navbar-toggle:focus { + background-color: #dddddd; +} + +.navbar-default .navbar-toggle .icon-bar { + background-color: #cccccc; +} + +.navbar-default .navbar-collapse, +.navbar-default .navbar-form { + border-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .open > a, +.navbar-default .navbar-nav > .open > a:hover, +.navbar-default .navbar-nav > .open > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a { + color: #777777; + } + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + color: #333333; + background-color: transparent; + } + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #555555; + background-color: #e7e7e7; + } + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #cccccc; + background-color: transparent; + } +} + +.navbar-default .navbar-link { + color: #777777; +} + +.navbar-default .navbar-link:hover { + color: #333333; +} + +.navbar-inverse { + background-color: #222222; + border-color: #080808; +} + +.navbar-inverse .navbar-brand { + color: #999999; +} + +.navbar-inverse .navbar-brand:hover, +.navbar-inverse .navbar-brand:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-text { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a:hover, +.navbar-inverse .navbar-nav > li > a:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-nav > .active > a, +.navbar-inverse .navbar-nav > .active > a:hover, +.navbar-inverse .navbar-nav > .active > a:focus { + color: #ffffff; + background-color: #080808; +} + +.navbar-inverse .navbar-nav > .disabled > a, +.navbar-inverse .navbar-nav > .disabled > a:hover, +.navbar-inverse .navbar-nav > .disabled > a:focus { + color: #444444; + background-color: transparent; +} + +.navbar-inverse .navbar-toggle { + border-color: #333333; +} + +.navbar-inverse .navbar-toggle:hover, +.navbar-inverse .navbar-toggle:focus { + background-color: #333333; +} + +.navbar-inverse .navbar-toggle .icon-bar { + background-color: #ffffff; +} + +.navbar-inverse .navbar-collapse, +.navbar-inverse .navbar-form { + border-color: #101010; +} + +.navbar-inverse .navbar-nav > .open > a, +.navbar-inverse .navbar-nav > .open > a:hover, +.navbar-inverse .navbar-nav > .open > a:focus { + color: #ffffff; + background-color: #080808; +} + +@media (max-width: 767px) { + .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { + border-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu .divider { + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { + color: #999999; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + color: #ffffff; + background-color: transparent; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #ffffff; + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #444444; + background-color: transparent; + } +} + +.navbar-inverse .navbar-link { + color: #999999; +} + +.navbar-inverse .navbar-link:hover { + color: #ffffff; +} + +.breadcrumb { + padding: 8px 15px; + margin-bottom: 20px; + list-style: none; + background-color: #f5f5f5; + border-radius: 4px; +} + +.breadcrumb > li { + display: inline-block; +} + +.breadcrumb > li + li:before { + padding: 0 5px; + color: #cccccc; + content: "/\00a0"; +} + +.breadcrumb > .active { + color: #999999; +} + +.pagination { + display: inline-block; + padding-left: 0; + margin: 20px 0; + border-radius: 4px; +} + +.pagination > li { + display: inline; +} + +.pagination > li > a, +.pagination > li > span { + position: relative; + float: left; + padding: 6px 12px; + margin-left: -1px; + line-height: 1.428571429; + text-decoration: none; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.pagination > li:first-child > a, +.pagination > li:first-child > span { + margin-left: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} + +.pagination > li:last-child > a, +.pagination > li:last-child > span { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} + +.pagination > li > a:hover, +.pagination > li > span:hover, +.pagination > li > a:focus, +.pagination > li > span:focus { + background-color: #eeeeee; +} + +.pagination > .active > a, +.pagination > .active > span, +.pagination > .active > a:hover, +.pagination > .active > span:hover, +.pagination > .active > a:focus, +.pagination > .active > span:focus { + z-index: 2; + color: #ffffff; + cursor: default; + background-color: #428bca; + border-color: #428bca; +} + +.pagination > .disabled > span, +.pagination > .disabled > span:hover, +.pagination > .disabled > span:focus, +.pagination > .disabled > a, +.pagination > .disabled > a:hover, +.pagination > .disabled > a:focus { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; + border-color: #dddddd; +} + +.pagination-lg > li > a, +.pagination-lg > li > span { + padding: 10px 16px; + font-size: 18px; +} + +.pagination-lg > li:first-child > a, +.pagination-lg > li:first-child > span { + border-bottom-left-radius: 6px; + border-top-left-radius: 6px; +} + +.pagination-lg > li:last-child > a, +.pagination-lg > li:last-child > span { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; +} + +.pagination-sm > li > a, +.pagination-sm > li > span { + padding: 5px 10px; + font-size: 12px; +} + +.pagination-sm > li:first-child > a, +.pagination-sm > li:first-child > span { + border-bottom-left-radius: 3px; + border-top-left-radius: 3px; +} + +.pagination-sm > li:last-child > a, +.pagination-sm > li:last-child > span { + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} + +.pager { + padding-left: 0; + margin: 20px 0; + text-align: center; + list-style: none; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager li { + display: inline; +} + +.pager li > a, +.pager li > span { + display: inline-block; + padding: 5px 14px; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 15px; +} + +.pager li > a:hover, +.pager li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.pager .next > a, +.pager .next > span { + float: right; +} + +.pager .previous > a, +.pager .previous > span { + float: left; +} + +.pager .disabled > a, +.pager .disabled > a:hover, +.pager .disabled > a:focus, +.pager .disabled > span { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; +} + +.label { + display: inline; + padding: .2em .6em .3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25em; +} + +.label[href]:hover, +.label[href]:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +.label:empty { + display: none; +} + +.btn .label { + position: relative; + top: -1px; +} + +.label-default { + background-color: #999999; +} + +.label-default[href]:hover, +.label-default[href]:focus { + background-color: #808080; +} + +.label-primary { + background-color: #428bca; +} + +.label-primary[href]:hover, +.label-primary[href]:focus { + background-color: #3071a9; +} + +.label-success { + background-color: #5cb85c; +} + +.label-success[href]:hover, +.label-success[href]:focus { + background-color: #449d44; +} + +.label-info { + background-color: #5bc0de; +} + +.label-info[href]:hover, +.label-info[href]:focus { + background-color: #31b0d5; +} + +.label-warning { + background-color: #f0ad4e; +} + +.label-warning[href]:hover, +.label-warning[href]:focus { + background-color: #ec971f; +} + +.label-minor { + background-color: #fad664; +} +.label-minor[href]:hover, +.label-minor[href]:focus { + background-color: #f8c933; +} + +.label-danger { + background-color: #d9534f; +} + +.label-danger[href]:hover, +.label-danger[href]:focus { + background-color: #c9302c; +} + +.badge { + display: inline-block; + min-width: 10px; + padding: 3px 7px; + font-size: 12px; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + background-color: #999999; + border-radius: 10px; +} + +.badge:empty { + display: none; +} + +.btn .badge { + position: relative; + top: -1px; +} + +a.badge:hover, +a.badge:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +a.list-group-item.active > .badge, +.nav-pills > .active > a > .badge { + color: #428bca; + background-color: #ffffff; +} + +.nav-pills > li > a > .badge { + margin-left: 3px; +} + +/*.jumbotron { + padding: 30px; + margin-bottom: 30px; + font-size: 21px; + font-weight: 200; + line-height: 2.1428571435; + color: inherit; + background-color: #eeeeee; +} + +.jumbotron h1, +.jumbotron .h1 { + line-height: 1; + color: inherit; +} + +.jumbotron p { + line-height: 1.4; +} + +.container .jumbotron { + border-radius: 6px; +} + +.jumbotron .container { + max-width: 100%; +} + +@media screen and (min-width: 768px) { + .jumbotron { + padding-top: 48px; + padding-bottom: 48px; + } + .container .jumbotron { + padding-right: 60px; + padding-left: 60px; + } + .jumbotron h1, + .jumbotron .h1 { + font-size: 63px; + } +}*/ + +.thumbnail { + display: block; + padding: 4px; + margin-bottom: 20px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.thumbnail > img, +.thumbnail a > img { + display: block; + height: auto; + max-width: 100%; + margin-right: auto; + margin-left: auto; +} + +a.thumbnail:hover, +a.thumbnail:focus, +a.thumbnail.active { + border-color: #428bca; +} + +.thumbnail .caption { + padding: 9px; + color: #333333; +} + +.alert { + padding: 15px; + margin-bottom: 20px; + border: 1px solid transparent; + border-radius: 4px; +} + +.alert h4 { + margin-top: 0; + color: inherit; +} + +.alert .alert-link { + font-weight: bold; +} + +.alert > p, +.alert > ul { + margin-bottom: 0; +} + +.alert > p + p { + margin-top: 5px; +} + +.alert-dismissable { + padding-right: 35px; +} + +.alert-dismissable .close { + position: relative; + top: -2px; + right: -21px; + color: inherit; +} + +.alert-success { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.alert-success hr { + border-top-color: #c9e2b3; +} + +.alert-success .alert-link { + color: #2b542c; +} + +.alert-info { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.alert-info hr { + border-top-color: #a6e1ec; +} + +.alert-info .alert-link { + color: #245269; +} + +.alert-warning { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.alert-warning hr { + border-top-color: #f7e1b5; +} + +.alert-warning .alert-link { + color: #66512c; +} + +.alert-danger { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.alert-danger hr { + border-top-color: #e4b9c0; +} + +.alert-danger .alert-link { + color: #843534; +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +.progress { + height: 20px; + margin-bottom: 20px; + overflow: hidden; + background-color: #f5f5f5; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.progress-bar { + float: left; + width: 0; + height: 100%; + font-size: 12px; + line-height: 20px; + color: #ffffff; + text-align: center; + background-color: #428bca; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -webkit-transition: width 0.6s ease; + transition: width 0.6s ease; +} + +.progress-striped .progress-bar { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-size: 40px 40px; +} + +.progress.active .progress-bar { + -webkit-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} + +.progress-bar-success { + background-color: #5cb85c; +} + +.progress-striped .progress-bar-success { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-info { + background-color: #5bc0de; +} + +.progress-striped .progress-bar-info { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-warning { + background-color: #f0ad4e; +} + +.progress-striped .progress-bar-warning { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-danger { + background-color: #d9534f; +} + +.progress-striped .progress-bar-danger { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.media, +.media-body { + overflow: hidden; + zoom: 1; +} + +.media, +.media .media { + margin-top: 15px; +} + +.media:first-child { + margin-top: 0; +} + +.media-object { + display: block; +} + +.media-heading { + margin: 0 0 5px; +} + +.media > .pull-left { + margin-right: 10px; +} + +.media > .pull-right { + margin-left: 10px; +} + +.media-list { + padding-left: 0; + list-style: none; +} + +.list-group { + padding-left: 0; + margin-bottom: 20px; +} + +.list-group-item { + position: relative; + display: block; + padding: 10px 15px; + margin-bottom: -1px; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.list-group-item:first-child { + border-top-right-radius: 4px; + border-top-left-radius: 4px; +} + +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} + +.list-group-item > .badge { + float: right; +} + +.list-group-item > .badge + .badge { + margin-right: 5px; +} + +a.list-group-item { + color: #555555; +} + +a.list-group-item .list-group-item-heading { + color: #333333; +} + +a.list-group-item:hover, +a.list-group-item:focus { + text-decoration: none; + background-color: #f5f5f5; +} + +a.list-group-item.active, +a.list-group-item.active:hover, +a.list-group-item.active:focus { + z-index: 2; + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +a.list-group-item.active .list-group-item-heading, +a.list-group-item.active:hover .list-group-item-heading, +a.list-group-item.active:focus .list-group-item-heading { + color: inherit; +} + +a.list-group-item.active .list-group-item-text, +a.list-group-item.active:hover .list-group-item-text, +a.list-group-item.active:focus .list-group-item-text { + color: #e1edf7; +} + +.list-group-item-heading { + margin-top: 0; + margin-bottom: 5px; +} + +.list-group-item-text { + margin-bottom: 0; + line-height: 1.3; +} + +.panel { + margin-bottom: 20px; + background-color: #ffffff; + border: 1px solid transparent; + border-radius: 4px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.panel-body { + padding: 15px; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel > .list-group { + margin-bottom: 0; +} + +.panel > .list-group .list-group-item { + border-width: 1px 0; +} + +.panel > .list-group .list-group-item:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.panel > .list-group .list-group-item:last-child { + border-bottom: 0; +} + +.panel-heading + .list-group .list-group-item:first-child { + border-top-width: 0; +} + +.panel > .table, +.panel > .table-responsive > .table { + margin-bottom: 0; +} + +.panel > .panel-body + .table, +.panel > .panel-body + .table-responsive { + border-top: 1px solid #dddddd; +} + +.panel > .table > tbody:first-child th, +.panel > .table > tbody:first-child td { + border-top: 0; +} + +.panel > .table-bordered, +.panel > .table-responsive > .table-bordered { + border: 0; +} + +.panel > .table-bordered > thead > tr > th:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, +.panel > .table-bordered > tbody > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, +.panel > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-bordered > thead > tr > td:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, +.panel > .table-bordered > tbody > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, +.panel > .table-bordered > tfoot > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; +} + +.panel > .table-bordered > thead > tr > th:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, +.panel > .table-bordered > tbody > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, +.panel > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-bordered > thead > tr > td:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, +.panel > .table-bordered > tbody > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, +.panel > .table-bordered > tfoot > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; +} + +.panel > .table-bordered > thead > tr:last-child > th, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > th, +.panel > .table-bordered > tbody > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, +.panel > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-bordered > thead > tr:last-child > td, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > td, +.panel > .table-bordered > tbody > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, +.panel > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; +} + +.panel > .table-responsive { + margin-bottom: 0; + border: 0; +} + +.panel-heading { + padding: 10px 15px; + border-bottom: 1px solid transparent; + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} + +.panel-heading > .dropdown .dropdown-toggle { + color: inherit; +} + +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: 16px; + color: inherit; +} + +.panel-title > a { + color: inherit; +} + +.panel-footer { + padding: 10px 15px; + background-color: #f5f5f5; + border-top: 1px solid #dddddd; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} + +.panel-group .panel { + margin-bottom: 0; + overflow: hidden; + border-radius: 4px; +} + +.panel-group .panel + .panel { + margin-top: 5px; +} + +.panel-group .panel-heading { + border-bottom: 0; +} + +.panel-group .panel-heading + .panel-collapse .panel-body { + border-top: 1px solid #dddddd; +} + +.panel-group .panel-footer { + border-top: 0; +} + +.panel-group .panel-footer + .panel-collapse .panel-body { + border-bottom: 1px solid #dddddd; +} + +.panel-default { + border-color: #dddddd; +} + +.panel-default > .panel-heading { + color: #333333; + background-color: #f5f5f5; + border-color: #dddddd; +} + +.panel-default > .panel-heading + .panel-collapse .panel-body { + border-top-color: #dddddd; +} + +.panel-default > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #dddddd; +} + +.panel-primary { + border-color: #428bca; +} + +.panel-primary > .panel-heading { + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +.panel-primary > .panel-heading + .panel-collapse .panel-body { + border-top-color: #428bca; +} + +.panel-primary > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #428bca; +} + +.panel-success { + border-color: #d6e9c6; +} + +.panel-success > .panel-heading { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.panel-success > .panel-heading + .panel-collapse .panel-body { + border-top-color: #d6e9c6; +} + +.panel-success > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #d6e9c6; +} + +.panel-warning { + border-color: #faebcc; +} + +.panel-warning > .panel-heading { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.panel-warning > .panel-heading + .panel-collapse .panel-body { + border-top-color: #faebcc; +} + +.panel-warning > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #faebcc; +} + +.panel-danger { + border-color: #ebccd1; +} + +.panel-danger > .panel-heading { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.panel-danger > .panel-heading + .panel-collapse .panel-body { + border-top-color: #ebccd1; +} + +.panel-danger > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #ebccd1; +} + +.panel-info { + border-color: #bce8f1; +} + +.panel-info > .panel-heading { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.panel-info > .panel-heading + .panel-collapse .panel-body { + border-top-color: #bce8f1; +} + +.panel-info > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #bce8f1; +} + +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e3e3e3; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, 0.15); +} + +.well-lg { + padding: 24px; + border-radius: 6px; +} + +.well-sm { + padding: 9px; + border-radius: 3px; +} + +.close { + float: right; + font-size: 21px; + font-weight: bold; + line-height: 1; + color: #000000; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} + +.close:hover, +.close:focus { + color: #000000; + text-decoration: none; + cursor: pointer; + opacity: 0.5; + filter: alpha(opacity=50); +} + +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} + +.modal-open { + overflow: hidden; +} + +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + display: none; + overflow: auto; + overflow-y: scroll; +} + +.modal.fade .modal-dialog { + -webkit-transform: translate(0, -25%); + -ms-transform: translate(0, -25%); + transform: translate(0, -25%); + -webkit-transition: -webkit-transform 0.3s ease-out; + -moz-transition: -moz-transform 0.3s ease-out; + -o-transition: -o-transform 0.3s ease-out; + transition: transform 0.3s ease-out; +} + +.modal.in .modal-dialog { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); +} + +.modal-dialog { + position: relative; + z-index: 1050; + width: auto; + margin: 10px; +} + +.modal-content { + position: relative; + background-color: #ffffff; + border: 1px solid #999999; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + outline: none; + -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + background-clip: padding-box; +} + +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1030; + background-color: #000000; +} + +.modal-backdrop.fade { + opacity: 0; + filter: alpha(opacity=0); +} + +.modal-backdrop.in { + opacity: 0.5; + filter: alpha(opacity=50); +} + +.modal-header { + min-height: 16.428571429px; + padding: 15px; + border-bottom: 1px solid #e5e5e5; +} + +.modal-header .close { + margin-top: -2px; +} + +.modal-title { + margin: 0; + line-height: 1.428571429; +} + +.modal-body { + position: relative; + padding: 20px; +} + +.modal-footer { + padding: 19px 20px 20px; + margin-top: 15px; + text-align: right; + border-top: 1px solid #e5e5e5; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer .btn + .btn { + margin-bottom: 0; + margin-left: 5px; +} + +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} + +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} + +@media screen and (min-width: 768px) { + .modal-dialog { + width: 600px; + margin: 30px auto; + } + .modal-content { + -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + } +} + +.tooltip { + position: absolute; + z-index: 1030; + display: block; + font-size: 12px; + line-height: 1.4; + opacity: 0; + filter: alpha(opacity=0); + visibility: visible; +} + +.tooltip.in { + opacity: 0.9; + filter: alpha(opacity=90); +} + +.tooltip.top { + padding: 5px 0; + margin-top: -3px; +} + +.tooltip.right { + padding: 0 5px; + margin-left: 3px; +} + +.tooltip.bottom { + padding: 5px 0; + margin-top: 3px; +} + +.tooltip.left { + padding: 0 5px; + margin-left: -3px; +} + +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: #ffffff; + text-align: center; + text-decoration: none; + background-color: #000000; + border-radius: 4px; +} + +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-left .tooltip-arrow { + bottom: 0; + left: 5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-right .tooltip-arrow { + right: 5px; + bottom: 0; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-right-color: #000000; + border-width: 5px 5px 5px 0; +} + +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-left-color: #000000; + border-width: 5px 0 5px 5px; +} + +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-left .tooltip-arrow { + top: 0; + left: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-right .tooltip-arrow { + top: 0; + right: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1010; + display: none; + max-width: 276px; + padding: 1px; + text-align: left; + white-space: normal; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + background-clip: padding-box; +} + +.popover.top { + margin-top: -10px; +} + +.popover.right { + margin-left: 10px; +} + +.popover.bottom { + margin-top: 10px; +} + +.popover.left { + margin-left: -10px; +} + +.popover-title { + padding: 8px 14px; + margin: 0; + font-size: 14px; + font-weight: normal; + line-height: 18px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-radius: 5px 5px 0 0; +} + +.popover-content { + padding: 9px 14px; +} + +.popover .arrow, +.popover .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.popover .arrow { + border-width: 11px; +} + +.popover .arrow:after { + border-width: 10px; + content: ""; +} + +.popover.top .arrow { + bottom: -11px; + left: 50%; + margin-left: -11px; + border-top-color: #999999; + border-top-color: rgba(0, 0, 0, 0.25); + border-bottom-width: 0; +} + +.popover.top .arrow:after { + bottom: 1px; + margin-left: -10px; + border-top-color: #ffffff; + border-bottom-width: 0; + content: " "; +} + +.popover.right .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-right-color: #999999; + border-right-color: rgba(0, 0, 0, 0.25); + border-left-width: 0; +} + +.popover.right .arrow:after { + bottom: -10px; + left: 1px; + border-right-color: #ffffff; + border-left-width: 0; + content: " "; +} + +.popover.bottom .arrow { + top: -11px; + left: 50%; + margin-left: -11px; + border-bottom-color: #999999; + border-bottom-color: rgba(0, 0, 0, 0.25); + border-top-width: 0; +} + +.popover.bottom .arrow:after { + top: 1px; + margin-left: -10px; + border-bottom-color: #ffffff; + border-top-width: 0; + content: " "; +} + +.popover.left .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-left-color: #999999; + border-left-color: rgba(0, 0, 0, 0.25); + border-right-width: 0; +} + +.popover.left .arrow:after { + right: 1px; + bottom: -10px; + border-left-color: #ffffff; + border-right-width: 0; + content: " "; +} + +.carousel { + position: relative; +} + +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} + +.carousel-inner > .item { + position: relative; + display: none; + -webkit-transition: 0.6s ease-in-out left; + transition: 0.6s ease-in-out left; +} + +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + display: block; + height: auto; + max-width: 100%; + line-height: 1; +} + +.carousel-inner > .active, +.carousel-inner > .next, +.carousel-inner > .prev { + display: block; +} + +.carousel-inner > .active { + left: 0; +} + +.carousel-inner > .next, +.carousel-inner > .prev { + position: absolute; + top: 0; + width: 100%; +} + +.carousel-inner > .next { + left: 100%; +} + +.carousel-inner > .prev { + left: -100%; +} + +.carousel-inner > .next.left, +.carousel-inner > .prev.right { + left: 0; +} + +.carousel-inner > .active.left { + left: -100%; +} + +.carousel-inner > .active.right { + left: 100%; +} + +.carousel-control { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 15%; + font-size: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); + opacity: 0.5; + filter: alpha(opacity=50); +} + +.carousel-control.left { + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0), color-stop(rgba(0, 0, 0, 0.0001) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); +} + +.carousel-control.right { + right: 0; + left: auto; + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0), color-stop(rgba(0, 0, 0, 0.5) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); +} + +.carousel-control:hover, +.carousel-control:focus { + color: #ffffff; + text-decoration: none; + outline: none; + opacity: 0.9; + filter: alpha(opacity=90); +} + +.carousel-control .icon-prev, +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-left, +.carousel-control .glyphicon-chevron-right { + position: absolute; + top: 50%; + z-index: 5; + display: inline-block; +} + +.carousel-control .icon-prev, +.carousel-control .glyphicon-chevron-left { + left: 50%; +} + +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-right { + right: 50%; +} + +.carousel-control .icon-prev, +.carousel-control .icon-next { + width: 20px; + height: 20px; + margin-top: -10px; + margin-left: -10px; + font-family: serif; +} + +.carousel-control .icon-prev:before { + content: '\2039'; +} + +.carousel-control .icon-next:before { + content: '\203a'; +} + +.carousel-indicators { + position: absolute; + bottom: 10px; + left: 50%; + z-index: 15; + width: 60%; + padding-left: 0; + margin-left: -30%; + text-align: center; + list-style: none; +} + +.carousel-indicators li { + display: inline-block; + width: 10px; + height: 10px; + margin: 1px; + text-indent: -999px; + cursor: pointer; + background-color: #000 \9; + background-color: rgba(0, 0, 0, 0); + border: 1px solid #ffffff; + border-radius: 10px; +} + +.carousel-indicators .active { + width: 12px; + height: 12px; + margin: 0; + background-color: #ffffff; +} + +.carousel-caption { + position: absolute; + right: 15%; + bottom: 20px; + left: 15%; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); +} + +.carousel-caption .btn { + text-shadow: none; +} + +@media screen and (min-width: 768px) { + .carousel-control .glyphicons-chevron-left, + .carousel-control .glyphicons-chevron-right, + .carousel-control .icon-prev, + .carousel-control .icon-next { + width: 30px; + height: 30px; + margin-top: -15px; + margin-left: -15px; + font-size: 30px; + } + .carousel-caption { + right: 20%; + left: 20%; + padding-bottom: 30px; + } + .carousel-indicators { + bottom: 20px; + } +} + +.clearfix:before, +.clearfix:after { + display: table; + content: " "; +} + +.clearfix:after { + clear: both; +} + +.center-block { + display: block; + margin-right: auto; + margin-left: auto; +} + +.pull-right { + float: right !important; +} + +.pull-left { + float: left !important; +} + +.hide { + display: none !important; +} + +.show { + display: block !important; +} + +.invisible { + visibility: hidden; +} + +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.hidden { + display: none !important; + visibility: hidden !important; +} + +.affix { + position: fixed; +} + +@-ms-viewport { + width: device-width; +} + +.visible-xs, +tr.visible-xs, +th.visible-xs, +td.visible-xs { + display: none !important; +} + +@media (max-width: 767px) { + .visible-xs { + display: block !important; + } + table.visible-xs { + display: table; + } + tr.visible-xs { + display: table-row !important; + } + th.visible-xs, + td.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-xs.visible-sm { + display: block !important; + } + table.visible-xs.visible-sm { + display: table; + } + tr.visible-xs.visible-sm { + display: table-row !important; + } + th.visible-xs.visible-sm, + td.visible-xs.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-xs.visible-md { + display: block !important; + } + table.visible-xs.visible-md { + display: table; + } + tr.visible-xs.visible-md { + display: table-row !important; + } + th.visible-xs.visible-md, + td.visible-xs.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-xs.visible-lg { + display: block !important; + } + table.visible-xs.visible-lg { + display: table; + } + tr.visible-xs.visible-lg { + display: table-row !important; + } + th.visible-xs.visible-lg, + td.visible-xs.visible-lg { + display: table-cell !important; + } +} + +.visible-sm, +tr.visible-sm, +th.visible-sm, +td.visible-sm { + display: none !important; +} + +@media (max-width: 767px) { + .visible-sm.visible-xs { + display: block !important; + } + table.visible-sm.visible-xs { + display: table; + } + tr.visible-sm.visible-xs { + display: table-row !important; + } + th.visible-sm.visible-xs, + td.visible-sm.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm { + display: block !important; + } + table.visible-sm { + display: table; + } + tr.visible-sm { + display: table-row !important; + } + th.visible-sm, + td.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-sm.visible-md { + display: block !important; + } + table.visible-sm.visible-md { + display: table; + } + tr.visible-sm.visible-md { + display: table-row !important; + } + th.visible-sm.visible-md, + td.visible-sm.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-sm.visible-lg { + display: block !important; + } + table.visible-sm.visible-lg { + display: table; + } + tr.visible-sm.visible-lg { + display: table-row !important; + } + th.visible-sm.visible-lg, + td.visible-sm.visible-lg { + display: table-cell !important; + } +} + +.visible-md, +tr.visible-md, +th.visible-md, +td.visible-md { + display: none !important; +} + +@media (max-width: 767px) { + .visible-md.visible-xs { + display: block !important; + } + table.visible-md.visible-xs { + display: table; + } + tr.visible-md.visible-xs { + display: table-row !important; + } + th.visible-md.visible-xs, + td.visible-md.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-md.visible-sm { + display: block !important; + } + table.visible-md.visible-sm { + display: table; + } + tr.visible-md.visible-sm { + display: table-row !important; + } + th.visible-md.visible-sm, + td.visible-md.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md { + display: block !important; + } + table.visible-md { + display: table; + } + tr.visible-md { + display: table-row !important; + } + th.visible-md, + td.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-md.visible-lg { + display: block !important; + } + table.visible-md.visible-lg { + display: table; + } + tr.visible-md.visible-lg { + display: table-row !important; + } + th.visible-md.visible-lg, + td.visible-md.visible-lg { + display: table-cell !important; + } +} + +.visible-lg, +tr.visible-lg, +th.visible-lg, +td.visible-lg { + display: none !important; +} + +@media (max-width: 767px) { + .visible-lg.visible-xs { + display: block !important; + } + table.visible-lg.visible-xs { + display: table; + } + tr.visible-lg.visible-xs { + display: table-row !important; + } + th.visible-lg.visible-xs, + td.visible-lg.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-lg.visible-sm { + display: block !important; + } + table.visible-lg.visible-sm { + display: table; + } + tr.visible-lg.visible-sm { + display: table-row !important; + } + th.visible-lg.visible-sm, + td.visible-lg.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-lg.visible-md { + display: block !important; + } + table.visible-lg.visible-md { + display: table; + } + tr.visible-lg.visible-md { + display: table-row !important; + } + th.visible-lg.visible-md, + td.visible-lg.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-lg { + display: block !important; + } + table.visible-lg { + display: table; + } + tr.visible-lg { + display: table-row !important; + } + th.visible-lg, + td.visible-lg { + display: table-cell !important; + } +} + +.hidden-xs { + display: block !important; +} + +table.hidden-xs { + display: table; +} + +tr.hidden-xs { + display: table-row !important; +} + +th.hidden-xs, +td.hidden-xs { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-xs, + tr.hidden-xs, + th.hidden-xs, + td.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-xs.hidden-sm, + tr.hidden-xs.hidden-sm, + th.hidden-xs.hidden-sm, + td.hidden-xs.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-xs.hidden-md, + tr.hidden-xs.hidden-md, + th.hidden-xs.hidden-md, + td.hidden-xs.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-xs.hidden-lg, + tr.hidden-xs.hidden-lg, + th.hidden-xs.hidden-lg, + td.hidden-xs.hidden-lg { + display: none !important; + } +} + +.hidden-sm { + display: block !important; +} + +table.hidden-sm { + display: table; +} + +tr.hidden-sm { + display: table-row !important; +} + +th.hidden-sm, +td.hidden-sm { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-sm.hidden-xs, + tr.hidden-sm.hidden-xs, + th.hidden-sm.hidden-xs, + td.hidden-sm.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-sm, + tr.hidden-sm, + th.hidden-sm, + td.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-sm.hidden-md, + tr.hidden-sm.hidden-md, + th.hidden-sm.hidden-md, + td.hidden-sm.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-sm.hidden-lg, + tr.hidden-sm.hidden-lg, + th.hidden-sm.hidden-lg, + td.hidden-sm.hidden-lg { + display: none !important; + } +} + +.hidden-md { + display: block !important; +} + +table.hidden-md { + display: table; +} + +tr.hidden-md { + display: table-row !important; +} + +th.hidden-md, +td.hidden-md { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-md.hidden-xs, + tr.hidden-md.hidden-xs, + th.hidden-md.hidden-xs, + td.hidden-md.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-md.hidden-sm, + tr.hidden-md.hidden-sm, + th.hidden-md.hidden-sm, + td.hidden-md.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-md, + tr.hidden-md, + th.hidden-md, + td.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-md.hidden-lg, + tr.hidden-md.hidden-lg, + th.hidden-md.hidden-lg, + td.hidden-md.hidden-lg { + display: none !important; + } +} + +.hidden-lg { + display: block !important; +} + +table.hidden-lg { + display: table; +} + +tr.hidden-lg { + display: table-row !important; +} + +th.hidden-lg, +td.hidden-lg { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-lg.hidden-xs, + tr.hidden-lg.hidden-xs, + th.hidden-lg.hidden-xs, + td.hidden-lg.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-lg.hidden-sm, + tr.hidden-lg.hidden-sm, + th.hidden-lg.hidden-sm, + td.hidden-lg.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-lg.hidden-md, + tr.hidden-lg.hidden-md, + th.hidden-lg.hidden-md, + td.hidden-lg.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-lg, + tr.hidden-lg, + th.hidden-lg, + td.hidden-lg { + display: none !important; + } +} + +.visible-print, +tr.visible-print, +th.visible-print, +td.visible-print { + display: none !important; +} + +@media print { + .visible-print { + display: block !important; + } + table.visible-print { + display: table; + } + tr.visible-print { + display: table-row !important; + } + th.visible-print, + td.visible-print { + display: table-cell !important; + } + .hidden-print, + tr.hidden-print, + th.hidden-print, + td.hidden-print { + display: none !important; + } +} + + +/*Added by Maria*/ + + /* Main marketing message and sign up button */ + .jumbotron { + margin: 0px 0; + text-align: center; + } + .jumbotron h1 { + font-size: 80px; + line-height: 1; + } + .jumbotron .lead { + font-size: 20px; + line-height: 1.25; + } + .jumbotron .btn { + font-size: 21px; + padding: 14px 24px; + } + + /* Supporting marketing content */ + .marketing { + margin: 60px 0; + } + .marketing p + h4 { + margin-top: 28px; + } \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.2.1/OOPSevaluation/evaluation/bootstrap.min.js b/dist/vocabulary/mapping/0.2.1/OOPSevaluation/evaluation/bootstrap.min.js new file mode 100644 index 0000000..1a6258e --- /dev/null +++ b/dist/vocabulary/mapping/0.2.1/OOPSevaluation/evaluation/bootstrap.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +if("undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]'),b=!0;if(a.length){var c=this.$element.find("input");"radio"===c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?b=!1:a.find(".active").removeClass("active")),b&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}b&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery); \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.2.1/OOPSevaluation/evaluation/jquery-1.11.0.js b/dist/vocabulary/mapping/0.2.1/OOPSevaluation/evaluation/jquery-1.11.0.js new file mode 100644 index 0000000..3c88fa8 --- /dev/null +++ b/dist/vocabulary/mapping/0.2.1/OOPSevaluation/evaluation/jquery-1.11.0.js @@ -0,0 +1,10337 @@ +/*! + * jQuery JavaScript Library v1.11.0 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-23T21:02Z + */ + +(function( global, factory ) { + + if ( typeof module === "object" && typeof module.exports === "object" ) { + // For CommonJS and CommonJS-like environments where a proper window is present, + // execute the factory and get jQuery + // For environments that do not inherently posses a window with a document + // (such as Node.js), expose a jQuery-making factory as module.exports + // This accentuates the need for the creation of a real window + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Can't do this because several apps including ASP.NET trace +// the stack via arguments.caller.callee and Firefox dies if +// you try to trace through "use strict" call chains. (#13335) +// Support: Firefox 18+ +// + +var deletedIds = []; + +var slice = deletedIds.slice; + +var concat = deletedIds.concat; + +var push = deletedIds.push; + +var indexOf = deletedIds.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var trim = "".trim; + +var support = {}; + + + +var + version = "1.11.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }; + +jQuery.fn = jQuery.prototype = { + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // Start with an empty selector + selector: "", + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num != null ? + + // Return a 'clean' array + ( num < 0 ? this[ num + this.length ] : this[ num ] ) : + + // Return just the object + slice.call( this ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + ret.context = this.context; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: deletedIds.sort, + splice: deletedIds.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var src, copyIsArray, copy, name, options, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + isWindow: function( obj ) { + /* jshint eqeqeq: false */ + return obj != null && obj == obj.window; + }, + + isNumeric: function( obj ) { + // parseFloat NaNs numeric-cast false positives (null|true|false|"") + // ...but misinterprets leading-number strings, particularly hex literals ("0x...") + // subtraction forces infinities to NaN + return obj - parseFloat( obj ) >= 0; + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + isPlainObject: function( obj ) { + var key; + + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + try { + // Not own constructor property must be Object + if ( obj.constructor && + !hasOwn.call(obj, "constructor") && + !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + } catch ( e ) { + // IE8,9 Will throw exceptions on certain host objects #9897 + return false; + } + + // Support: IE<9 + // Handle iteration over inherited properties before own properties. + if ( support.ownLast ) { + for ( key in obj ) { + return hasOwn.call( obj, key ); + } + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + for ( key in obj ) {} + + return key === undefined || hasOwn.call( obj, key ); + }, + + type: function( obj ) { + if ( obj == null ) { + return obj + ""; + } + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call(obj) ] || "object" : + typeof obj; + }, + + // Evaluates a script in a global context + // Workarounds based on findings by Jim Driscoll + // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context + globalEval: function( data ) { + if ( data && jQuery.trim( data ) ) { + // We use execScript on Internet Explorer + // We use an anonymous function so that context is window + // rather than jQuery in Firefox + ( window.execScript || function( data ) { + window[ "eval" ].call( window, data ); + } )( data ); + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + // args is for internal usage only + each: function( obj, callback, args ) { + var value, + i = 0, + length = obj.length, + isArray = isArraylike( obj ); + + if ( args ) { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } + } + + return obj; + }, + + // Use native String.trim function wherever possible + trim: trim && !trim.call("\uFEFF\xA0") ? + function( text ) { + return text == null ? + "" : + trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArraylike( Object(arr) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + var len; + + if ( arr ) { + if ( indexOf ) { + return indexOf.call( arr, elem, i ); + } + + len = arr.length; + i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; + + for ( ; i < len; i++ ) { + // Skip accessing in sparse arrays + if ( i in arr && arr[ i ] === elem ) { + return i; + } + } + } + + return -1; + }, + + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + while ( j < len ) { + first[ i++ ] = second[ j++ ]; + } + + // Support: IE<9 + // Workaround casting of .length to NaN on otherwise arraylike objects (e.g., NodeLists) + if ( len !== len ) { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, + i = 0, + length = elems.length, + isArray = isArraylike( elems ), + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var args, proxy, tmp; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + now: function() { + return +( new Date() ); + }, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +}); + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +function isArraylike( obj ) { + var length = obj.length, + type = jQuery.type( obj ); + + if ( type === "function" || jQuery.isWindow( obj ) ) { + return false; + } + + if ( obj.nodeType === 1 && length ) { + return true; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v1.10.16 + * http://sizzlejs.com/ + * + * Copyright 2013 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-13 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + compile, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + -(new Date()), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // General-purpose constants + strundefined = typeof undefined, + MAX_NEGATIVE = 1 << 31, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf if we can't use a native one + indexOf = arr.indexOf || function( elem ) { + var i = 0, + len = this.length; + for ( ; i < len; i++ ) { + if ( this[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + // http://www.w3.org/TR/css3-syntax/#characters + characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", + + // Loosely modeled on CSS identifier characters + // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors + // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = characterEncoding.replace( "w", "w#" ), + + // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + + "*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", + + // Prefer arguments quoted, + // then not containing pseudos/brackets, + // then attribute selectors/non-parenthetical expressions, + // then anything else + // These preferences are here to reduce the number of selectors + // needing tokenize in the PSEUDO preFilter + pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + characterEncoding + ")" ), + "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), + "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + rescape = /'|\\/g, + + // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }; + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var match, elem, m, nodeType, + // QSA vars + i, groups, old, nid, newContext, newSelector; + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + + context = context || document; + results = results || []; + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { + return []; + } + + if ( documentIsHTML && !seed ) { + + // Shortcuts + if ( (match = rquickExpr.exec( selector )) ) { + // Speed-up: Sizzle("#ID") + if ( (m = match[1]) ) { + if ( nodeType === 9 ) { + elem = context.getElementById( m ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document (jQuery #6963) + if ( elem && elem.parentNode ) { + // Handle the case where IE, Opera, and Webkit return items + // by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + } else { + // Context is not a document + if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && + contains( context, elem ) && elem.id === m ) { + results.push( elem ); + return results; + } + } + + // Speed-up: Sizzle("TAG") + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Speed-up: Sizzle(".CLASS") + } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) { + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // QSA path + if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + nid = old = expando; + newContext = context; + newSelector = nodeType === 9 && selector; + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + groups = tokenize( selector ); + + if ( (old = context.getAttribute("id")) ) { + nid = old.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", nid ); + } + nid = "[id='" + nid + "'] "; + + i = groups.length; + while ( i-- ) { + groups[i] = nid + toSelector( groups[i] ); + } + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context; + newSelector = groups.join(","); + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch(qsaError) { + } finally { + if ( !old ) { + context.removeAttribute("id"); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {Function(string, Object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created div and expects a boolean result + */ +function assert( fn ) { + var div = document.createElement("div"); + + try { + return !!fn( div ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( div.parentNode ) { + div.parentNode.removeChild( div ); + } + // release memory in IE + div = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = attrs.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + ( ~b.sourceIndex || MAX_NEGATIVE ) - + ( ~a.sourceIndex || MAX_NEGATIVE ); + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== strundefined && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, + doc = node ? node.ownerDocument || node : preferredDoc, + parent = doc.defaultView; + + // If no document and documentElement is available, return + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Set our document + document = doc; + docElem = doc.documentElement; + + // Support tests + documentIsHTML = !isXML( doc ); + + // Support: IE>8 + // If iframe document is assigned to "document" variable and if iframe has been reloaded, + // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936 + // IE6-8 do not support the defaultView property so parent will be undefined + if ( parent && parent !== parent.top ) { + // IE11 does not have attachEvent, so all must suffer + if ( parent.addEventListener ) { + parent.addEventListener( "unload", function() { + setDocument(); + }, false ); + } else if ( parent.attachEvent ) { + parent.attachEvent( "onunload", function() { + setDocument(); + }); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans) + support.attributes = assert(function( div ) { + div.className = "i"; + return !div.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( div ) { + div.appendChild( doc.createComment("") ); + return !div.getElementsByTagName("*").length; + }); + + // Check if getElementsByClassName can be trusted + support.getElementsByClassName = rnative.test( doc.getElementsByClassName ) && assert(function( div ) { + div.innerHTML = "
    "; + + // Support: Safari<4 + // Catch class over-caching + div.firstChild.className = "i"; + // Support: Opera<10 + // Catch gEBCN failure to find non-leading classes + return div.getElementsByClassName("i").length === 2; + }); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( div ) { + docElem.appendChild( div ).id = expando; + return !doc.getElementsByName || !doc.getElementsByName( expando ).length; + }); + + // ID find and filter + if ( support.getById ) { + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== strundefined && documentIsHTML ) { + var m = context.getElementById( id ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + }; + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + } else { + // Support: IE6/7 + // getElementById is not reliable as a find shortcut + delete Expr.find["ID"]; + + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== strundefined ) { + return context.getElementsByTagName( tag ); + } + } : + function( tag, context ) { + var elem, + tmp = [], + i = 0, + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See http://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + div.innerHTML = ""; + + // Support: IE8, Opera 10-12 + // Nothing should be selected when empty strings follow ^= or $= or *= + if ( div.querySelectorAll("[t^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + }); + + assert(function( div ) { + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = doc.createElement("input"); + input.setAttribute( "type", "hidden" ); + div.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( div.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + div.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( div, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully does not implement inclusive descendent + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === doc ? -1 : + b === doc ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return doc; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch(e) {} + } + + return Sizzle( expr, document, null, [elem] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[5] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] && match[4] !== undefined ) { + match[2] = match[4]; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, outerCache, node, diff, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + // Seek `elem` from a previously-cached index + outerCache = parent[ expando ] || (parent[ expando ] = {}); + cache = outerCache[ type ] || []; + nodeIndex = cache[0] === dirruns && cache[1]; + diff = cache[0] === dirruns && cache[2]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + outerCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + // Use previously-cached element index if available + } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { + diff = cache[1]; + + // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) + } else { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { + // Cache the index of each encountered element + if ( useCache ) { + (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf.call( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +function tokenize( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +} + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + if ( (oldCache = outerCache[ dir ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + outerCache[ dir ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf.call( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context !== document && context; + } + + // Add elements passing elementMatchers directly to results + // Keep `i` a string if there are no elements so `matchedCount` will be "00" below + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // Apply set filters to unmatched elements + matchedCount += i; + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !group ) { + group = tokenize( selector ); + } + i = group.length; + while ( i-- ) { + cached = matcherFromTokens( group[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + } + return cached; +}; + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function select( selector, context, results, seed ) { + var i, tokens, token, type, find, + match = tokenize( selector ); + + if ( !seed ) { + // Try to minimize operations if there is only one group + if ( match.length === 1 ) { + + // Take a shortcut and set the context if the root selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + support.getById && context.nodeType === 9 && documentIsHTML && + Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + } + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + } + + // Compile and execute a filtering function + // Provide `match` to avoid retokenization if we modified the selector above + compile( selector, match )( + seed, + context, + !documentIsHTML, + results, + rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +} + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome<14 +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( div1 ) { + // Should return 1, but returns 4 (following) + return div1.compareDocumentPosition( document.createElement("div") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( div ) { + div.innerHTML = ""; + return div.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( div ) { + div.innerHTML = ""; + div.firstChild.setAttribute( "value", "" ); + return div.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( div ) { + return div.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.pseudos; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + + +var rneedsContext = jQuery.expr.match.needsContext; + +var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); + + + +var risSimple = /^.[^:#\[\.,]*$/; + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + /* jshint -W018 */ + return !!qualifier.call( elem, i, elem ) !== not; + }); + + } + + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + }); + + } + + if ( typeof qualifier === "string" ) { + if ( risSimple.test( qualifier ) ) { + return jQuery.filter( qualifier, elements, not ); + } + + qualifier = jQuery.filter( qualifier, elements ); + } + + return jQuery.grep( elements, function( elem ) { + return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not; + }); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 && elem.nodeType === 1 ? + jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : + jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + })); +}; + +jQuery.fn.extend({ + find: function( selector ) { + var i, + ret = [], + self = this, + len = self.length; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }) ); + } + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + // Needed because $( selector, context ) becomes $( context ).find( selector ) + ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); + ret.selector = this.selector ? this.selector + " " + selector : selector; + return ret; + }, + filter: function( selector ) { + return this.pushStack( winnow(this, selector || [], false) ); + }, + not: function( selector ) { + return this.pushStack( winnow(this, selector || [], true) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +}); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // Use the correct document accordingly with window argument (sandbox) + document = window.document, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, + + init = jQuery.fn.init = function( selector, context ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + + // scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[1], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + // Properties of context are called as methods if possible + if ( jQuery.isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || rootjQuery ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return typeof rootjQuery.ready !== "undefined" ? + rootjQuery.ready( selector ) : + // Execute immediately if ready is not present + selector( jQuery ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.extend({ + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +jQuery.fn.extend({ + has: function( target ) { + var i, + targets = jQuery( target, this ), + len = targets.length; + + return this.filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) { + // Always skip document fragments + if ( cur.nodeType < 11 && (pos ? + pos.index(cur) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector(cur, selectors)) ) { + + matched.push( cur ); + break; + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return jQuery.inArray( this[0], jQuery( elem ) ); + } + + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.unique( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter(selector) + ); + } +}); + +function sibling( cur, dir ) { + do { + cur = cur[ dir ]; + } while ( cur && cur.nodeType !== 1 ); + + return cur; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + if ( this.length > 1 ) { + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + ret = jQuery.unique( ret ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + } + + return this.pushStack( ret ); + }; +}); +var rnotwhite = (/\S+/g); + + + +// String to Object options format cache +var optionsCache = {}; + +// Convert String-formatted options into Object-formatted ones and store in cache +function createOptions( options ) { + var object = optionsCache[ options ] = {}; + jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) { + object[ flag ] = true; + }); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + ( optionsCache[ options ] || createOptions( options ) ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + // Last fire value (for non-forgettable lists) + memory, + // Flag to know if list was already fired + fired, + // End of the loop when firing + firingLength, + // Index of currently firing callback (modified by remove if needed) + firingIndex, + // First callback to fire (used internally by add and fireWith) + firingStart, + // Actual callback list + list = [], + // Stack of fire calls for repeatable lists + stack = !options.once && [], + // Fire callbacks + fire = function( data ) { + memory = options.memory && data; + fired = true; + firingIndex = firingStart || 0; + firingStart = 0; + firingLength = list.length; + firing = true; + for ( ; list && firingIndex < firingLength; firingIndex++ ) { + if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { + memory = false; // To prevent further calls using add + break; + } + } + firing = false; + if ( list ) { + if ( stack ) { + if ( stack.length ) { + fire( stack.shift() ); + } + } else if ( memory ) { + list = []; + } else { + self.disable(); + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + // First, we save the current length + var start = list.length; + (function add( args ) { + jQuery.each( args, function( _, arg ) { + var type = jQuery.type( arg ); + if ( type === "function" ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && type !== "string" ) { + // Inspect recursively + add( arg ); + } + }); + })( arguments ); + // Do we need to add the callbacks to the + // current firing batch? + if ( firing ) { + firingLength = list.length; + // With memory, if we're not firing then + // we should call right away + } else if ( memory ) { + firingStart = start; + fire( memory ); + } + } + return this; + }, + // Remove a callback from the list + remove: function() { + if ( list ) { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + // Handle firing indexes + if ( firing ) { + if ( index <= firingLength ) { + firingLength--; + } + if ( index <= firingIndex ) { + firingIndex--; + } + } + } + }); + } + return this; + }, + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); + }, + // Remove all callbacks from the list + empty: function() { + list = []; + firingLength = 0; + return this; + }, + // Have the list do nothing anymore + disable: function() { + list = stack = memory = undefined; + return this; + }, + // Is it disabled? + disabled: function() { + return !list; + }, + // Lock the list in its current state + lock: function() { + stack = undefined; + if ( !memory ) { + self.disable(); + } + return this; + }, + // Is it locked? + locked: function() { + return !stack; + }, + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( list && ( !fired || stack ) ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + if ( firing ) { + stack.push( args ); + } else { + fire( args ); + } + } + return this; + }, + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +jQuery.extend({ + + Deferred: function( func ) { + var tuples = [ + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], + [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], + [ "notify", "progress", jQuery.Callbacks("memory") ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred(function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[1] ](function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .done( newDefer.resolve ) + .fail( newDefer.reject ) + .progress( newDefer.notify ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); + } + }); + }); + fns = null; + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[1] ] = list.add; + + // Handle state + if ( stateString ) { + list.add(function() { + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] + deferred[ tuple[0] ] = function() { + deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); + return this; + }; + deferred[ tuple[0] + "With" ] = list.fireWith; + }); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( values === progressValues ) { + deferred.notifyWith( contexts, values ); + + } else if ( !(--remaining) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ) + .progress( updateFunc( i, progressContexts, progressValues ) ); + } else { + --remaining; + } + } + } + + // if we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +}); + + +// The deferred used on DOM ready +var readyList; + +jQuery.fn.ready = function( fn ) { + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; +}; + +jQuery.extend({ + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger("ready").off("ready"); + } + } +}); + +/** + * Clean-up method for dom ready events + */ +function detach() { + if ( document.addEventListener ) { + document.removeEventListener( "DOMContentLoaded", completed, false ); + window.removeEventListener( "load", completed, false ); + + } else { + document.detachEvent( "onreadystatechange", completed ); + window.detachEvent( "onload", completed ); + } +} + +/** + * The ready event handler and self cleanup method + */ +function completed() { + // readyState === "complete" is good enough for us to call the dom ready in oldIE + if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { + detach(); + jQuery.ready(); + } +} + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called after the browser event has already occurred. + // we once tried to use readyState "interactive" here, but it caused issues like the one + // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + setTimeout( jQuery.ready ); + + // Standards-based browsers support DOMContentLoaded + } else if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed, false ); + + // If IE event model is used + } else { + // Ensure firing before onload, maybe late but safe also for iframes + document.attachEvent( "onreadystatechange", completed ); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", completed ); + + // If IE and not a frame + // continually check to see if the document is ready + var top = false; + + try { + top = window.frameElement == null && document.documentElement; + } catch(e) {} + + if ( top && top.doScroll ) { + (function doScrollCheck() { + if ( !jQuery.isReady ) { + + try { + // Use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + top.doScroll("left"); + } catch(e) { + return setTimeout( doScrollCheck, 50 ); + } + + // detach all dom ready events + detach(); + + // and execute any waiting functions + jQuery.ready(); + } + })(); + } + } + } + return readyList.promise( obj ); +}; + + +var strundefined = typeof undefined; + + + +// Support: IE<9 +// Iteration over object's inherited properties before its own +var i; +for ( i in jQuery( support ) ) { + break; +} +support.ownLast = i !== "0"; + +// Note: most support tests are defined in their respective modules. +// false until the test is run +support.inlineBlockNeedsLayout = false; + +jQuery(function() { + // We need to execute this one support test ASAP because we need to know + // if body.style.zoom needs to be set. + + var container, div, + body = document.getElementsByTagName("body")[0]; + + if ( !body ) { + // Return for frameset docs that don't have a body + return; + } + + // Setup + container = document.createElement( "div" ); + container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; + + div = document.createElement( "div" ); + body.appendChild( container ).appendChild( div ); + + if ( typeof div.style.zoom !== strundefined ) { + // Support: IE<8 + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + div.style.cssText = "border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1"; + + if ( (support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 )) ) { + // Prevent IE 6 from affecting layout for positioned elements #11048 + // Prevent IE from shrinking the body in IE 7 mode #12869 + // Support: IE<8 + body.style.zoom = 1; + } + } + + body.removeChild( container ); + + // Null elements to avoid leaks in IE + container = div = null; +}); + + + + +(function() { + var div = document.createElement( "div" ); + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +/** + * Determines whether an object can have data + */ +jQuery.acceptData = function( elem ) { + var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ], + nodeType = +elem.nodeType || 1; + + // Do not set data on non-element DOM nodes because it will not be cleared (#8335). + return nodeType !== 1 && nodeType !== 9 ? + false : + + // Nodes accept data unless otherwise specified; rejection can be conditional + !noData || noData !== true && elem.getAttribute("classid") === noData; +}; + + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /([A-Z])/g; + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + + var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + +// checks a cache object for emptiness +function isEmptyDataObject( obj ) { + var name; + for ( name in obj ) { + + // if the public data object is empty, the private is still empty + if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { + continue; + } + if ( name !== "toJSON" ) { + return false; + } + } + + return true; +} + +function internalData( elem, name, data, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var ret, thisCache, + internalKey = jQuery.expando, + + // We have to handle DOM nodes and JS objects differently because IE6-7 + // can't GC object references properly across the DOM-JS boundary + isNode = elem.nodeType, + + // Only DOM nodes need the global jQuery cache; JS object data is + // attached directly to the object so GC can occur automatically + cache = isNode ? jQuery.cache : elem, + + // Only defining an ID for JS objects if its cache already exists allows + // the code to shortcut on the same path as a DOM node with no cache + id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; + + // Avoid doing any more work than we need to when trying to get data on an + // object that has no data at all + if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) { + return; + } + + if ( !id ) { + // Only DOM nodes need a new unique ID for each element since their data + // ends up in the global cache + if ( isNode ) { + id = elem[ internalKey ] = deletedIds.pop() || jQuery.guid++; + } else { + id = internalKey; + } + } + + if ( !cache[ id ] ) { + // Avoid exposing jQuery metadata on plain JS objects when the object + // is serialized using JSON.stringify + cache[ id ] = isNode ? {} : { toJSON: jQuery.noop }; + } + + // An object can be passed to jQuery.data instead of a key/value pair; this gets + // shallow copied over onto the existing cache + if ( typeof name === "object" || typeof name === "function" ) { + if ( pvt ) { + cache[ id ] = jQuery.extend( cache[ id ], name ); + } else { + cache[ id ].data = jQuery.extend( cache[ id ].data, name ); + } + } + + thisCache = cache[ id ]; + + // jQuery data() is stored in a separate object inside the object's internal data + // cache in order to avoid key collisions between internal data and user-defined + // data. + if ( !pvt ) { + if ( !thisCache.data ) { + thisCache.data = {}; + } + + thisCache = thisCache.data; + } + + if ( data !== undefined ) { + thisCache[ jQuery.camelCase( name ) ] = data; + } + + // Check for both converted-to-camel and non-converted data property names + // If a data property was specified + if ( typeof name === "string" ) { + + // First Try to find as-is property data + ret = thisCache[ name ]; + + // Test for null|undefined property data + if ( ret == null ) { + + // Try to find the camelCased property + ret = thisCache[ jQuery.camelCase( name ) ]; + } + } else { + ret = thisCache; + } + + return ret; +} + +function internalRemoveData( elem, name, pvt ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, i, + isNode = elem.nodeType, + + // See jQuery.data for more information + cache = isNode ? jQuery.cache : elem, + id = isNode ? elem[ jQuery.expando ] : jQuery.expando; + + // If there is already no cache entry for this object, there is no + // purpose in continuing + if ( !cache[ id ] ) { + return; + } + + if ( name ) { + + thisCache = pvt ? cache[ id ] : cache[ id ].data; + + if ( thisCache ) { + + // Support array or space separated string names for data keys + if ( !jQuery.isArray( name ) ) { + + // try the string as a key before any manipulation + if ( name in thisCache ) { + name = [ name ]; + } else { + + // split the camel cased version by spaces unless a key with the spaces exists + name = jQuery.camelCase( name ); + if ( name in thisCache ) { + name = [ name ]; + } else { + name = name.split(" "); + } + } + } else { + // If "name" is an array of keys... + // When data is initially created, via ("key", "val") signature, + // keys will be converted to camelCase. + // Since there is no way to tell _how_ a key was added, remove + // both plain key and camelCase key. #12786 + // This will only penalize the array argument path. + name = name.concat( jQuery.map( name, jQuery.camelCase ) ); + } + + i = name.length; + while ( i-- ) { + delete thisCache[ name[i] ]; + } + + // If there is no data left in the cache, we want to continue + // and let the cache object itself get destroyed + if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) { + return; + } + } + } + + // See jQuery.data for more information + if ( !pvt ) { + delete cache[ id ].data; + + // Don't destroy the parent cache unless the internal data object + // had been the only thing left in it + if ( !isEmptyDataObject( cache[ id ] ) ) { + return; + } + } + + // Destroy the cache + if ( isNode ) { + jQuery.cleanData( [ elem ], true ); + + // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) + /* jshint eqeqeq: false */ + } else if ( support.deleteExpando || cache != cache.window ) { + /* jshint eqeqeq: true */ + delete cache[ id ]; + + // When all else fails, null + } else { + cache[ id ] = null; + } +} + +jQuery.extend({ + cache: {}, + + // The following elements (space-suffixed to avoid Object.prototype collisions) + // throw uncatchable exceptions if you attempt to set expando properties + noData: { + "applet ": true, + "embed ": true, + // ...but Flash objects (which have this classid) *can* handle expandos + "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" + }, + + hasData: function( elem ) { + elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; + return !!elem && !isEmptyDataObject( elem ); + }, + + data: function( elem, name, data ) { + return internalData( elem, name, data ); + }, + + removeData: function( elem, name ) { + return internalRemoveData( elem, name ); + }, + + // For internal use only. + _data: function( elem, name, data ) { + return internalData( elem, name, data, true ); + }, + + _removeData: function( elem, name ) { + return internalRemoveData( elem, name, true ); + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var i, name, data, + elem = this[0], + attrs = elem && elem.attributes; + + // Special expections of .data basically thwart jQuery.access, + // so implement the relevant behavior ourselves + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = jQuery.data( elem ); + + if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + name = attrs[i].name; + + if ( name.indexOf("data-") === 0 ) { + name = jQuery.camelCase( name.slice(5) ); + + dataAttr( elem, name, data[ name ] ); + } + } + jQuery._data( elem, "parsedAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + return arguments.length > 1 ? + + // Sets one value + this.each(function() { + jQuery.data( this, key, value ); + }) : + + // Gets one value + // Try to fetch any internally stored data first + elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : undefined; + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + + +jQuery.extend({ + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = jQuery._data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray(data) ) { + queue = jQuery._data( elem, type, jQuery.makeArray(data) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // not intended for public consumption - generates a queueHooks object, or returns the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return jQuery._data( elem, key ) || jQuery._data( elem, key, { + empty: jQuery.Callbacks("once memory").add(function() { + jQuery._removeData( elem, type + "queue" ); + jQuery._removeData( elem, key ); + }) + }); + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[0], type ); + } + + return data === undefined ? + this : + this.each(function() { + var queue = jQuery.queue( this, type, data ); + + // ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = jQuery._data( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +}); +var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var isHidden = function( elem, el ) { + // isHidden might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); + }; + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + length = elems.length, + bulk = key == null; + + // Sets many values + if ( jQuery.type( key ) === "object" ) { + chainable = true; + for ( i in key ) { + jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !jQuery.isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < length; i++ ) { + fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); + } + } + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + length ? fn( elems[0], key ) : emptyGet; +}; +var rcheckableType = (/^(?:checkbox|radio)$/i); + + + +(function() { + var fragment = document.createDocumentFragment(), + div = document.createElement("div"), + input = document.createElement("input"); + + // Setup + div.setAttribute( "className", "t" ); + div.innerHTML = "
    a"; + + // IE strips leading whitespace when .innerHTML is used + support.leadingWhitespace = div.firstChild.nodeType === 3; + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + support.tbody = !div.getElementsByTagName( "tbody" ).length; + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + support.htmlSerialize = !!div.getElementsByTagName( "link" ).length; + + // Makes sure cloning an html5 element does not cause problems + // Where outerHTML is undefined, this still works + support.html5Clone = + document.createElement( "nav" ).cloneNode( true ).outerHTML !== "<:nav>"; + + // Check if a disconnected checkbox will retain its checked + // value of true after appended to the DOM (IE6/7) + input.type = "checkbox"; + input.checked = true; + fragment.appendChild( input ); + support.appendChecked = input.checked; + + // Make sure textarea (and checkbox) defaultValue is properly cloned + // Support: IE6-IE11+ + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // #11217 - WebKit loses check when the name is after the checked attribute + fragment.appendChild( div ); + div.innerHTML = ""; + + // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3 + // old WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE<9 + // Opera does not clone events (and typeof div.attachEvent === undefined). + // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() + support.noCloneEvent = true; + if ( div.attachEvent ) { + div.attachEvent( "onclick", function() { + support.noCloneEvent = false; + }); + + div.cloneNode( true ).click(); + } + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + fragment = div = input = null; +})(); + + +(function() { + var i, eventName, + div = document.createElement( "div" ); + + // Support: IE<9 (lack submit/change bubble), Firefox 23+ (lack focusin event) + for ( i in { submit: true, change: true, focusin: true }) { + eventName = "on" + i; + + if ( !(support[ i + "Bubbles" ] = eventName in window) ) { + // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP) + div.setAttribute( eventName, "t" ); + support[ i + "Bubbles" ] = div.attributes[ eventName ].expando === false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +var rformElems = /^(?:input|select|textarea)$/i, + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|contextmenu)|click/, + rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + var tmp, events, t, handleObjIn, + special, eventHandle, handleObj, + handlers, type, namespaces, origType, + elemData = jQuery._data( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !(events = elemData.events) ) { + events = elemData.events = {}; + } + if ( !(eventHandle = elemData.handle) ) { + eventHandle = elemData.handle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== strundefined && (!e || jQuery.event.triggered !== e.type) ? + jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : + undefined; + }; + // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events + eventHandle.elem = elem; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend({ + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join(".") + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !(handlers = events[ type ]) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener/attachEvent if the special events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + var j, handleObj, tmp, + origCount, t, events, + special, handlers, type, + namespaces, origType, + elemData = jQuery.hasData( elem ) && jQuery._data( elem ); + + if ( !elemData || !(events = elemData.events) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + delete elemData.handle; + + // removeData also checks for emptiness and clears the expando if empty + // so use it instead of delete + jQuery._removeData( elem, "events" ); + } + }, + + trigger: function( event, data, elem, onlyHandlers ) { + var handle, ontype, cur, + bubbleType, special, tmp, i, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; + + cur = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf(".") >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf(":") < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join("."); + event.namespace_re = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === (elem.ownerDocument || document) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { + + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && jQuery.acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) && + jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Can't use an .isFunction() check here because IE6/7 fails that test. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + try { + elem[ type ](); + } catch ( e ) { + // IE<9 dies on focus/blur to hidden element (#1486,#12518) + // only reproducible on winXP IE8 native, not IE9 in IE8 mode + } + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event ); + + var i, ret, handleObj, matched, j, + handlerQueue = [], + args = slice.call( arguments ), + handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) + .apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( (event.result = ret) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var sel, handleObj, matches, i, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + // Black-hole SVG instance trees (#13180) + // Avoid non-left-click bubbling in Firefox (#3861) + if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { + + /* jshint eqeqeq: false */ + for ( ; cur != this; cur = cur.parentNode || this ) { + /* jshint eqeqeq: true */ + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matches[ sel ] === undefined ) { + matches[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) >= 0 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matches[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push({ elem: cur, handlers: matches }); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( delegateCount < handlers.length ) { + handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); + } + + return handlerQueue; + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, copy, + type = event.type, + originalEvent = event, + fixHook = this.fixHooks[ type ]; + + if ( !fixHook ) { + this.fixHooks[ type ] = fixHook = + rmouseEvent.test( type ) ? this.mouseHooks : + rkeyEvent.test( type ) ? this.keyHooks : + {}; + } + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = new jQuery.Event( originalEvent ); + + i = copy.length; + while ( i-- ) { + prop = copy[ i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Support: IE<9 + // Fix target property (#1925) + if ( !event.target ) { + event.target = originalEvent.srcElement || document; + } + + // Support: Chrome 23+, Safari? + // Target should not be a text node (#504, #13143) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // Support: IE<9 + // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) + event.metaKey = !!event.metaKey; + + return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split(" "), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function( event, original ) { + var body, eventDoc, doc, + button = original.button, + fromElement = original.fromElement; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && fromElement ) { + event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + special: { + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + try { + this.focus(); + return false; + } catch ( e ) { + // Support: IE<9 + // If we error on focus to hidden element (#1486, #12518), + // let .trigger() run the handlers + } + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return jQuery.nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Even when returnValue equals to undefined Firefox will still show alert + if ( event.result !== undefined ) { + event.originalEvent.returnValue = event.result; + } + } + } + }, + + simulate: function( type, elem, event, bubble ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true, + originalEvent: {} + } + ); + if ( bubble ) { + jQuery.event.trigger( e, null, elem ); + } else { + jQuery.event.dispatch.call( elem, e ); + } + if ( e.isDefaultPrevented() ) { + event.preventDefault(); + } + } +}; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + var name = "on" + type; + + if ( elem.detachEvent ) { + + // #8545, #7054, preventing memory leaks for custom events in IE6-8 + // detachEvent needed property on element, by name of that event, to properly expose it to GC + if ( typeof elem[ name ] === strundefined ) { + elem[ name ] = null; + } + + elem.detachEvent( name, handle ); + } + }; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !(this instanceof jQuery.Event) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && ( + // Support: IE < 9 + src.returnValue === false || + // Support: Android < 4.0 + src.getPreventDefault && src.getPreventDefault() ) ? + returnTrue : + returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + if ( !e ) { + return; + } + + // If preventDefault exists, run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // Support: IE + // Otherwise set the returnValue property of the original event to false + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + if ( !e ) { + return; + } + // If stopPropagation exists, run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + + // Support: IE + // Set the cancelBubble property of the original event to true + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + } +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mousenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || (related !== target && !jQuery.contains( target, related )) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +}); + +// IE submit delegation +if ( !support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Lazy-add a submit handler when a descendant form may potentially be submitted + jQuery.event.add( this, "click._submit keypress._submit", function( e ) { + // Node name check avoids a VML-related crash in IE (#9807) + var elem = e.target, + form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; + if ( form && !jQuery._data( form, "submitBubbles" ) ) { + jQuery.event.add( form, "submit._submit", function( event ) { + event._submit_bubble = true; + }); + jQuery._data( form, "submitBubbles", true ); + } + }); + // return undefined since we don't need an event listener + }, + + postDispatch: function( event ) { + // If form was submitted by the user, bubble the event up the tree + if ( event._submit_bubble ) { + delete event._submit_bubble; + if ( this.parentNode && !event.isTrigger ) { + jQuery.event.simulate( "submit", this.parentNode, event, true ); + } + } + }, + + teardown: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Remove delegated handlers; cleanData eventually reaps submit handlers attached above + jQuery.event.remove( this, "._submit" ); + } + }; +} + +// IE change delegation and checkbox/radio fix +if ( !support.changeBubbles ) { + + jQuery.event.special.change = { + + setup: function() { + + if ( rformElems.test( this.nodeName ) ) { + // IE doesn't fire change on a check/radio until blur; trigger it on click + // after a propertychange. Eat the blur-change in special.change.handle. + // This still fires onchange a second time for check/radio after blur. + if ( this.type === "checkbox" || this.type === "radio" ) { + jQuery.event.add( this, "propertychange._change", function( event ) { + if ( event.originalEvent.propertyName === "checked" ) { + this._just_changed = true; + } + }); + jQuery.event.add( this, "click._change", function( event ) { + if ( this._just_changed && !event.isTrigger ) { + this._just_changed = false; + } + // Allow triggered, simulated change events (#11500) + jQuery.event.simulate( "change", this, event, true ); + }); + } + return false; + } + // Delegated event; lazy-add a change handler on descendant inputs + jQuery.event.add( this, "beforeactivate._change", function( e ) { + var elem = e.target; + + if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { + jQuery.event.add( elem, "change._change", function( event ) { + if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { + jQuery.event.simulate( "change", this.parentNode, event, true ); + } + }); + jQuery._data( elem, "changeBubbles", true ); + } + }); + }, + + handle: function( event ) { + var elem = event.target; + + // Swallow native change events from checkbox/radio, we already triggered them above + if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { + return event.handleObj.handler.apply( this, arguments ); + } + }, + + teardown: function() { + jQuery.event.remove( this, "._change" ); + + return !rformElems.test( this.nodeName ); + } + }; +} + +// Create "bubbling" focus and blur events +if ( !support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + jQuery._data( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + jQuery._removeData( doc, fix ); + } else { + jQuery._data( doc, fix, attaches ); + } + } + }; + }); +} + +jQuery.fn.extend({ + + on: function( types, selector, data, fn, /*INTERNAL*/ one ) { + var type, origFn; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + this.on( type, selector, data, types[ type ], one ); + } + return this; + } + + if ( data == null && fn == null ) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return this; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return this.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + }); + }, + one: function( types, selector, data, fn ) { + return this.on( types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each(function() { + jQuery.event.remove( this, types, fn, selector ); + }); + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + triggerHandler: function( type, data ) { + var elem = this[0]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +}); + + +function createSafeFragment( document ) { + var list = nodeNames.split( "|" ), + safeFrag = document.createDocumentFragment(); + + if ( safeFrag.createElement ) { + while ( list.length ) { + safeFrag.createElement( + list.pop() + ); + } + } + return safeFrag; +} + +var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + + "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", + rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, + rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, + rtagName = /<([\w:]+)/, + rtbody = /\s*$/g, + + // We have to close these tags to support XHTML (#13200) + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "
    ", "
    " ], + area: [ 1, "", "" ], + param: [ 1, "", "" ], + thead: [ 1, "", "
    " ], + tr: [ 2, "", "
    " ], + col: [ 2, "", "
    " ], + td: [ 3, "", "
    " ], + + // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, + // unless wrapped in a div with non-breaking characters in front of it. + _default: support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X
    ", "
    " ] + }, + safeFragment = createSafeFragment( document ), + fragmentDiv = safeFragment.appendChild( document.createElement("div") ); + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +function getAll( context, tag ) { + var elems, elem, + i = 0, + found = typeof context.getElementsByTagName !== strundefined ? context.getElementsByTagName( tag || "*" ) : + typeof context.querySelectorAll !== strundefined ? context.querySelectorAll( tag || "*" ) : + undefined; + + if ( !found ) { + for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { + if ( !tag || jQuery.nodeName( elem, tag ) ) { + found.push( elem ); + } else { + jQuery.merge( found, getAll( elem, tag ) ); + } + } + } + + return tag === undefined || tag && jQuery.nodeName( context, tag ) ? + jQuery.merge( [ context ], found ) : + found; +} + +// Used in buildFragment, fixes the defaultChecked property +function fixDefaultChecked( elem ) { + if ( rcheckableType.test( elem.type ) ) { + elem.defaultChecked = elem.checked; + } +} + +// Support: IE<8 +// Manipulating tables requires a tbody +function manipulationTarget( elem, content ) { + return jQuery.nodeName( elem, "table" ) && + jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ? + + elem.getElementsByTagName("tbody")[0] || + elem.appendChild( elem.ownerDocument.createElement("tbody") ) : + elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + var match = rscriptTypeMasked.exec( elem.type ); + if ( match ) { + elem.type = match[1]; + } else { + elem.removeAttribute("type"); + } + return elem; +} + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var elem, + i = 0; + for ( ; (elem = elems[i]) != null; i++ ) { + jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); + } +} + +function cloneCopyEvent( src, dest ) { + + if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { + return; + } + + var type, i, l, + oldData = jQuery._data( src ), + curData = jQuery._data( dest, oldData ), + events = oldData.events; + + if ( events ) { + delete curData.handle; + curData.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + + // make the cloned public data object a copy from the original + if ( curData.data ) { + curData.data = jQuery.extend( {}, curData.data ); + } +} + +function fixCloneNodeIssues( src, dest ) { + var nodeName, e, data; + + // We do not need to do anything for non-Elements + if ( dest.nodeType !== 1 ) { + return; + } + + nodeName = dest.nodeName.toLowerCase(); + + // IE6-8 copies events bound via attachEvent when using cloneNode. + if ( !support.noCloneEvent && dest[ jQuery.expando ] ) { + data = jQuery._data( dest ); + + for ( e in data.events ) { + jQuery.removeEvent( dest, e, data.handle ); + } + + // Event data gets referenced instead of copied if the expando gets copied too + dest.removeAttribute( jQuery.expando ); + } + + // IE blanks contents when cloning scripts, and tries to evaluate newly-set text + if ( nodeName === "script" && dest.text !== src.text ) { + disableScript( dest ).text = src.text; + restoreScript( dest ); + + // IE6-10 improperly clones children of object elements using classid. + // IE10 throws NoModificationAllowedError if parent is null, #12132. + } else if ( nodeName === "object" ) { + if ( dest.parentNode ) { + dest.outerHTML = src.outerHTML; + } + + // This path appears unavoidable for IE9. When cloning an object + // element in IE9, the outerHTML strategy above is not sufficient. + // If the src has innerHTML and the destination does not, + // copy the src.innerHTML into the dest.innerHTML. #10324 + if ( support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { + dest.innerHTML = src.innerHTML; + } + + } else if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + // IE6-8 fails to persist the checked state of a cloned checkbox + // or radio button. Worse, IE6-7 fail to give the cloned element + // a checked appearance if the defaultChecked value isn't also set + + dest.defaultChecked = dest.checked = src.checked; + + // IE6-7 get confused and end up setting the value of a cloned + // checkbox/radio button to an empty string instead of "on" + if ( dest.value !== src.value ) { + dest.value = src.value; + } + + // IE6-8 fails to return the selected option to the default selected + // state when cloning options + } else if ( nodeName === "option" ) { + dest.defaultSelected = dest.selected = src.defaultSelected; + + // IE6-8 fails to set the defaultValue to the correct value when + // cloning other types of input fields + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +jQuery.extend({ + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var destElements, node, clone, i, srcElements, + inPage = jQuery.contains( elem.ownerDocument, elem ); + + if ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { + clone = elem.cloneNode( true ); + + // IE<=8 does not properly clone detached, unknown element nodes + } else { + fragmentDiv.innerHTML = elem.outerHTML; + fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); + } + + if ( (!support.noCloneEvent || !support.noCloneChecked) && + (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { + + // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + // Fix all IE cloning issues + for ( i = 0; (node = srcElements[i]) != null; ++i ) { + // Ensure that the destination node is not null; Fixes #9587 + if ( destElements[i] ) { + fixCloneNodeIssues( node, destElements[i] ); + } + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0; (node = srcElements[i]) != null; i++ ) { + cloneCopyEvent( node, destElements[i] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + destElements = srcElements = node = null; + + // Return the cloned set + return clone; + }, + + buildFragment: function( elems, context, scripts, selection ) { + var j, elem, contains, + tmp, tag, tbody, wrap, + l = elems.length, + + // Ensure a safe fragment + safe = createSafeFragment( context ), + + nodes = [], + i = 0; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( jQuery.type( elem ) === "object" ) { + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || safe.appendChild( context.createElement("div") ); + + // Deserialize a standard representation + tag = (rtagName.exec( elem ) || [ "", "" ])[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + + tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1>" ) + wrap[2]; + + // Descend through wrappers to the right content + j = wrap[0]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Manually add leading whitespace removed by IE + if ( !support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { + nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); + } + + // Remove IE's autoinserted from table fragments + if ( !support.tbody ) { + + // String was a , *may* have spurious + elem = tag === "table" && !rtbody.test( elem ) ? + tmp.firstChild : + + // String was a bare or + wrap[1] === "
    " && !rtbody.test( elem ) ? + tmp : + 0; + + j = elem && elem.childNodes.length; + while ( j-- ) { + if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { + elem.removeChild( tbody ); + } + } + } + + jQuery.merge( nodes, tmp.childNodes ); + + // Fix #12392 for WebKit and IE > 9 + tmp.textContent = ""; + + // Fix #12392 for oldIE + while ( tmp.firstChild ) { + tmp.removeChild( tmp.firstChild ); + } + + // Remember the top-level container for proper cleanup + tmp = safe.lastChild; + } + } + } + + // Fix #11356: Clear elements from fragment + if ( tmp ) { + safe.removeChild( tmp ); + } + + // Reset defaultChecked for any radios and checkboxes + // about to be appended to the DOM in IE 6/7 (#8060) + if ( !support.appendChecked ) { + jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); + } + + i = 0; + while ( (elem = nodes[ i++ ]) ) { + + // #4087 - If origin and destination elements are the same, and this is + // that element, do not do anything + if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( safe.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( (elem = tmp[ j++ ]) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + tmp = null; + + return safe; + }, + + cleanData: function( elems, /* internal */ acceptData ) { + var elem, type, id, data, + i = 0, + internalKey = jQuery.expando, + cache = jQuery.cache, + deleteExpando = support.deleteExpando, + special = jQuery.event.special; + + for ( ; (elem = elems[i]) != null; i++ ) { + if ( acceptData || jQuery.acceptData( elem ) ) { + + id = elem[ internalKey ]; + data = id && cache[ id ]; + + if ( data ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Remove cache only if it was not already removed by jQuery.event.remove + if ( cache[ id ] ) { + + delete cache[ id ]; + + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( deleteExpando ) { + delete elem[ internalKey ]; + + } else if ( typeof elem.removeAttribute !== strundefined ) { + elem.removeAttribute( internalKey ); + + } else { + elem[ internalKey ] = null; + } + + deletedIds.push( id ); + } + } + } + } + } +}); + +jQuery.fn.extend({ + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); + }, null, value, arguments.length ); + }, + + append: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + }); + }, + + prepend: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + }); + }, + + before: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + }); + }, + + after: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + }); + }, + + remove: function( selector, keepData /* Internal Use Only */ ) { + var elem, + elems = selector ? jQuery.filter( selector, this ) : this, + i = 0; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( !keepData && elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem ) ); + } + + if ( elem.parentNode ) { + if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { + setGlobalEval( getAll( elem, "script" ) ); + } + elem.parentNode.removeChild( elem ); + } + } + + return this; + }, + + empty: function() { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + } + + // Remove any remaining nodes + while ( elem.firstChild ) { + elem.removeChild( elem.firstChild ); + } + + // If this is a select, ensure that it displays empty (#12336) + // Support: IE<9 + if ( elem.options && jQuery.nodeName( elem, "select" ) ) { + elem.options.length = 0; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map(function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + }); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined ) { + return elem.nodeType === 1 ? + elem.innerHTML.replace( rinlinejQuery, "" ) : + undefined; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + ( support.htmlSerialize || !rnoshimcache.test( value ) ) && + ( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && + !wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) { + + value = value.replace( rxhtmlTag, "<$1>" ); + + try { + for (; i < l; i++ ) { + // Remove element nodes and prevent memory leaks + elem = this[i] || {}; + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch(e) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var arg = arguments[ 0 ]; + + // Make the changes, replacing each context element with the new content + this.domManip( arguments, function( elem ) { + arg = this.parentNode; + + jQuery.cleanData( getAll( this ) ); + + if ( arg ) { + arg.replaceChild( elem, this ); + } + }); + + // Force removal if there was no new content (e.g., from empty arguments) + return arg && (arg.length || arg.nodeType) ? this : this.remove(); + }, + + detach: function( selector ) { + return this.remove( selector, true ); + }, + + domManip: function( args, callback ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var first, node, hasScripts, + scripts, doc, fragment, + i = 0, + l = this.length, + set = this, + iNoClone = l - 1, + value = args[0], + isFunction = jQuery.isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( isFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return this.each(function( index ) { + var self = set.eq( index ); + if ( isFunction ) { + args[0] = value.call( this, index, self.html() ); + } + self.domManip( args, callback ); + }); + } + + if ( l ) { + fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + if ( first ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( this[i], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { + + if ( node.src ) { + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl ) { + jQuery._evalUrl( node.src ); + } + } else { + jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); + } + } + } + } + + // Fix #11809: Avoid leaking memory + fragment = first = null; + } + } + + return this; + } +}); + +jQuery.each({ + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + i = 0, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone(true); + jQuery( insert[i] )[ original ]( elems ); + + // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +}); + + +var iframe, + elemdisplay = {}; + +/** + * Retrieve the actual display of a element + * @param {String} name nodeName of the element + * @param {Object} doc Document object + */ +// Called only from within defaultDisplay +function actualDisplay( name, doc ) { + var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), + + // getDefaultComputedStyle might be reliably used only on attached element + display = window.getDefaultComputedStyle ? + + // Use of this method is a temporary fix (more like optmization) until something better comes along, + // since it was removed from specification and supported only in FF + window.getDefaultComputedStyle( elem[ 0 ] ).display : jQuery.css( elem[ 0 ], "display" ); + + // We don't have any data stored on the element, + // so use "detach" method as fast way to get rid of the element + elem.detach(); + + return display; +} + +/** + * Try to determine the default display value of an element + * @param {String} nodeName + */ +function defaultDisplay( nodeName ) { + var doc = document, + display = elemdisplay[ nodeName ]; + + if ( !display ) { + display = actualDisplay( nodeName, doc ); + + // If the simple way fails, read from inside an iframe + if ( display === "none" || !display ) { + + // Use the already-created iframe if possible + iframe = (iframe || jQuery( " diff --git a/dist/vocabulary/mapping/0.2.1/sections/references-en.html b/dist/vocabulary/mapping/0.2.1/sections/references-en.html new file mode 100644 index 0000000..2093dc4 --- /dev/null +++ b/dist/vocabulary/mapping/0.2.1/sections/references-en.html @@ -0,0 +1,5 @@ + +

    References back to ToC

    + +Add your references here. It is recommended to have them as a list. + diff --git a/dist/vocabulary/mapping/0.2.1/webvowl/css/webvowl.app.css b/dist/vocabulary/mapping/0.2.1/webvowl/css/webvowl.app.css new file mode 100644 index 0000000..2ceaead --- /dev/null +++ b/dist/vocabulary/mapping/0.2.1/webvowl/css/webvowl.app.css @@ -0,0 +1,6 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans);html{-ms-content-zooming:none}#loading-progress{width:50%;margin:10px 0}#layoutLoadingProgressBarContainer{height:50px;text-align:left;line-height:1.5}#FPS_Statistics{padding-left:60px;padding-top:60px}#additionalInformationContainer{position:absolute;top:10px;right:50px}#modeOfOperationString{padding-left:34px}#close_directUploadBtn,#direct-text-input,#directUploadBtn{border:1px solid #34495e;width:100%;margin-top:5px;cursor:pointer}#di_controls>ul{list-style:none;margin:0;padding:5px 0 0 5px}#progressBarContext{border-radius:10px;background-color:#bdc3c7;height:25px;border:1px solid #000;margin:auto}#progressBarValue{border-radius:9px;width:0;background-color:#2980b9;height:25px;line-height:1.5;text-align:center}.dbEntry{background-color:#fff;color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntrySelected{color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntry:focus,.dbEntry:hover,.dbEntrySelected{background-color:#bdc3c7}.searchMenuEntry{background-color:#fff;bottom:0;font-size:14px;min-width:50px;margin:0;padding:0;z-index:99;border-radius:4px 4px 0 0;border:1px solid rgba(0,0,0,.15);-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;border-bottom:none;display:none;position:absolute;list-style:none}.searchInputText{background-color:#fff;color:#000;border:#000;text-decoration:none;max-width:150px;overflow:hidden;text-overflow:ellipsis;margin:0}iframe,img{border:none}.hidden{display:none!important}.clear{clear:both}a{color:#69c;text-decoration:none}a:hover{color:#3498db}#optionsArea a{color:#2980b9}#optionsArea a.highlighted{background-color:#d90}.toolTipMenu li.highlighted{background-color:#feb}#browserCheck{background-color:red;padding:5px 0;position:absolute;text-align:center;width:100%}#browserCheck a{color:#fff}#browserCheck a:hover{text-decoration:underline}@-webkit-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-o-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-webkit-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-o-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-moz-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-o-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-webkit-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-moz-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-o-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-webkit-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-moz-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-o-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-webkit-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-moz-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-o-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes msg_CollapseAnimation{0%{top:0}to{top:-400px}}@-webkit-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-moz-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-o-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-webkit-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-moz-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-o-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-webkit-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-o-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-o-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}body{background:#18202a;font-size:14px;font-family:Open Sans,Helvetica,Arial,sans-serif;line-height:1;overflow:hidden;position:fixed}body,main{height:100%;margin:0;padding:0;width:100%}#canvasArea,main{position:relative}#canvasArea{margin:0;padding:0;width:78%}#canvasArea #graph{margin:0 0 2px;background-color:#ecf0f1;width:100%}#canvasArea #graph,#canvasArea svg{box-sizing:border-box;overflow:hidden;padding:0}#canvasArea svg{margin:0}#logo{position:fixed;pointer-events:none}#logo h2{color:#3498db;margin:0;line-height:.7;text-align:center;font-size:24px}#logo h2 span{color:#34495e;font-size:16px}@media screen and (max-device-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-device-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}.checkboxContainer input,.checkboxContainer label{vertical-align:middle}.selected-ontology{background-color:#eee}#credits{border-top:1px solid #bdc3c7;font-size:.9em}.slideOption{position:relative;padding:8px 5px;outline:none}.slideOption .value{float:right;outline:none}.slideOption input[type=range]{box-sizing:border-box;margin:0;outline:none;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#eee}.slideOption input[type=range]::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]::-moz-range-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]:hover{outline:none}.slideOption input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none;margin-top:-3px}.slideOption input[type=range]::-moz-range-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none}.slideOption input[type=range]::-moz-range-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]::-webkit-slider-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]:active,.slideOption input[type=range]:focus{outline:none}.slideOption input[type=range]::-moz-range-thumb:active,.slideOption input[type=range]::-moz-range-thumb:focus{outline:none}.slideOption input[type=range]::-webkit-slider-thumb:active,.slideOption input[type=range]::-webkit-slider-thumb:focus{outline:none}.slideOption input[type=range]:disabled{box-sizing:border-box;margin:0;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#787878}.slideOption input[type=range]:disabled::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled::-moz-range-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled{outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{-webkit-appearance:none;background-color:#363636;border-radius:3px;border:1px solid #aaa;transition:all .5s ease;height:10px;width:30px;margin-top:-3px}.slideOption input[type=range]:disabled::-moz-range-thumb{-webkit-appearance:none;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;background-color:#aaa;outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{background-color:#aaa;outline:none}.slideOption input[type=range]:disabled:hover::-moz-range-thumb{background-color:#404040;outline:none}.slideOption input[type=range]:disabled:hover::-webkit-slider-thumb{background-color:#404040;outline:none}#detailsArea{top:0;right:0;bottom:0;color:#bdc3c7;height:100%;width:22%;overflow-y:auto;overflow-x:hidden;position:fixed;border-left:1px solid #34495e}#detailsArea h1{border-bottom:1px solid #34495e;color:#ecf0f1;display:block;font-weight:100;font-size:1.5em;margin:0;padding:10px 0;text-align:center}#generalDetails{width:auto;box-sizing:border-box;height:100%}#generalDetails span #about{border-bottom:1px solid #34495e;display:block;padding:10px;text-align:center;word-wrap:break-word;color:#69c}#generalDetails h4{background:#1b252e;color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 0;text-align:center}#detailsArea #generalDetails h5{border-bottom:1px solid #34495e;font-size:.9em;font-weight:100;margin:0;padding:5px;text-align:center}#description{text-align:justify}.accordion-container p{font-size:.9em;line-height:1.3;margin:5px 10px}.statisticDetails span{padding:10px}.statisticDetails div,.statisticDetails span{font-weight:100;font-style:italic;margin:10px 0}.statisticDetails div{padding:0 10px;display:inline}#selection-details .propDetails a{color:#69c}#selection-details .propDetails>span{font-weight:100;font-style:italic;padding:0 10px}#selection-details #classEquivUri span,#selection-details #disjointNodes span{padding:0}#selection-details .propDetails div{font-weight:100;font-style:italic;margin:10px 0;padding:0 10px;display:inline}#selection-details .propDetails div span{padding:0}.subclass{fill:#ecf0f1}.accordion-trigger{background:#24323e;cursor:pointer;padding:.5em}.accordion-trigger.accordion-trigger-active:before{padding-right:4px;content:"\25BC"}.accordion-trigger:not(.accordion-trigger-active):before{padding-right:4px;content:"\25BA"}.accordion-container.scrollable{max-height:40%;overflow:auto}.small-whitespace-separator{height:3px}#language{background:transparent;border:1px solid #34495e;color:#ecf0f1}#language option{background-color:#24323e}.converter-form:not(:first-child){margin-top:5px}.converter-form label{display:inline-block;line-height:normal}.converter-form input{box-sizing:border-box;height:20px;width:74%;border:1px solid #34495e}.converter-form button{float:right;padding:0;width:25%;background-color:#ecf0f1}#file-converter-label,.converter-form button{cursor:pointer;height:20px;border:1px solid #34495e}#file-converter-label{box-sizing:border-box;width:74%}#killWarning{cursor:pointer;color:#fff;font-weight:700}#copyBt{box-sizing:border-box;height:20px;width:31%;border:1px solid #34495e}#sidebarExpandButton{height:24px;width:24px;box-sizing:border-box;top:10px;color:#000;float:right;position:absolute;right:0;border:1px solid #000;text-align:center;font-size:1.5em;cursor:pointer}.dropdownMenuClass{height:20px;float:right;border:1px solid #34495e;background-color:#34495e;color:#fff;text-align:left;width:auto}#typeEditForm_datatype{padding-top:5px}#typeEditor,#typeEditor_datatype{width:165px}#leftSideBarCollapseButton{box-sizing:border-box;top:50px;color:#000;position:absolute;left:200px;border:1px solid #000;cursor:pointer;width:24px;height:24px;font-size:1.5em;text-align:center}#leftSideBarCollapseButton:hover,#sidebarExpandButton:hover{background-color:#d90}.spanForCharSelection{padding-left:25px}.nodeEditSpan{color:#000;background-color:#fff;text-align:center;border:none;padding-top:6px}.nodeEditSpan:focus{outline:none;border:none}.foreignelements{border:none}.foreignelements:focus{outline:none;border:none}#leftSideBarContent{color:#000;float:left;position:absolute;left:0;background-color:#18202a;width:100%;height:100%}#leftSideBarContent>h3{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0 0 5px;padding:10px 0;text-align:left}#generalDetailsEdit{color:#ecf0f1}#generalDetailsEdit>div{padding:5px}#generalDetailsEdit>h3{font-size:1.1em;margin:0 0 5px;padding:10px 0}#generalDetailsEdit>h3,.subAccordion{color:#ecf0f1;display:block;font-weight:100;text-align:left}.subAccordion{font-size:.8em;margin:0;padding:5px}.boxed,.subAccordionDescription{padding:0 5px}.separatorLineRight{border-right:1px solid red}.editPrefixButton:hover{color:#ff972d;cursor:pointer}.editPrefixIcon:hover{stroke:#ff972d;stroke-width:1px;cursor:pointer}.editPrefixIcon{stroke:#fffff;stroke-width:1px;cursor:pointer}.deletePrefixButton:hover{color:#ff972d;cursor:pointer}.deletePrefixButton{color:red;cursor:pointer}.invisiblePrefixButton{cursor:default;color:#18202a}#containerForAddPrefixButton{width:100%;margin-top:5px}.roundedButton{border:1px solid #000;border-radius:20px;padding:0 5px;background:#fff;cursor:pointer;color:#000;outline:none}.roundedButton:hover{background:#318638;cursor:pointer;color:#fff;outline:none}#prefixURL_Description{padding:5px 0 0}.prefixIRIElements{display:inline-block;padding:3px;border-bottom:1px solid #34495e;width:100%}.prefixInput{width:30px;display:inline-block;margin-right:5px}.prefixURL{width:100px;display:inline-block;paddig-left:5px}.selectedDefaultElement{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;max-width:200px}#editHeader,#leftHeader{color:#ecf0f1;background-color:#394f5a;display:block;font-size:1.1em;font-weight:100;text-align:center}#leftHeader{padding:10px 0;margin:0}.containerForDefaultSelection{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 20px;text-align:left}.defaultSelected{color:#a15d05;background-color:#283943}.containerForDefaultSelection:hover{color:#f19505;background-color:#394f5a;display:block;cursor:pointer}#containerForLeftSideBar{top:50px;float:left;position:absolute;background-color:#1b252e;left:0;width:200px;height:200px;overflow-y:auto;overflow-x:hidden}#leftSideBar{width:100%;background-color:#18202a}#loading-info{box-sizing:border-box;position:absolute;text-align:center;width:100%;height:80%;top:0}#loading-info>div{display:inline-block;color:#fff;background-color:#18202a;border-bottom-left-radius:2px;border-bottom-right-radius:2px}#loading-info>*>*{padding:5px}#loading-info{pointer-events:none}#loading-progress{pointer-events:auto;min-width:220px;border-radius:10px}#show-loadingInfo-button{font-size:12px;color:#fff;cursor:pointer;text-align:center}#loadingIndicator_closeButton:hover{color:#ff972d;cursor:pointer}#loadingIndicator_closeButton{color:#ffe30f;cursor:pointer;padding-bottom:5px;float:right}.busyProgressBar{background-color:#000;height:25px;position:relative;animation:busy 2s linear infinite}@-webkit-keyframes busy{0%{left:0}50%{left:80%}to{left:0}}#bulletPoint_container{padding-left:15px;margin-top:0;margin-bottom:0}#bulletPoint_container>div{margin-left:-15px}#loadingInfo-container{box-sizing:border-box;text-align:left;line-height:1.2;padding-top:5px;overflow:auto;height:120px;min-height:40px;background-color:#3c3c3c}#error-description-button{margin:5px 0 0;font-size:12px;color:#69c;cursor:pointer;text-align:center}#error-description-container{box-sizing:border-box;text-align:left}#error-description-container pre{background-color:#34495e;padding:2px;margin:0;white-space:pre-wrap;max-height:calc(100vh - 125px);max-width:75vw;overflow:auto}.spin{display:inline-block;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.truncate{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.color-mode-switch{float:right;width:90px;cursor:pointer;height:20px;padding:0;border:0;color:#555;background-color:#eceeef;box-shadow:0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.color-mode-switch:focus{outline-width:0}.color-mode-switch.active{color:#fff;background-color:#32cd32;box-shadow:inset 0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.filterMenuButtonHighlight{background-color:#d90}@-webkit-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-moz-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-o-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}.buttonPulse{-webkit-animation-name:buttonAnimation;-moz-animation-name:buttonAnimation;-o-animation-name:buttonAnimation;animation-name:buttonAnimation;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s;-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}#m_about{max-width:200px;width:200px;position:absolute}#m_modes{max-width:160px;width:160px;position:absolute}#m_filter{max-width:170px;width:170px;position:absolute}#m_gravity{max-width:180px;width:180px;position:absolute}#m_export{max-width:160px;width:160px;position:absolute}#exportedUrl{width:100px}#m_select{max-width:300px;width:300px;position:absolute}#m_config{max-width:240px;width:240px;position:absolute}#m_search{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#swipeBarContainer{position:fixed;width:77.8%;height:40px;margin:0;padding:0;bottom:0}#menuElementContainer{margin:0;padding:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;text-align:right;list-style-type:none}#menuElementContainer>li{display:inline-block;box-sizing:border-box;text-align:left;position:relative;height:40px;font-size:14px;color:#fff;padding:12px 0 0;margin-left:-4px}#menuElementContainer>li>a{color:#fff;padding:9px 12px 12px 30px}.menuElementSvgElement{height:20px;width:20px;display:block;position:absolute;top:10px;left:8px}.btn_shadowed{background-color:#fefefe;box-shadow:1px 1px 1px gray}.reloadCachedOntologyIcon{height:20px;width:108px;display:block;position:absolute;top:20px;left:3px;border:1px solid #000;border-radius:10px;cursor:pointer}.reloadCachedOntologyIcon:disabled{background:#f4f4f4;cursor:auto;border:1px solid #a9a9a9}.reloadCachedOntologyIcon:hover{background:#d90;cursor:pointer}.disabledReloadElement{cursor:auto;background:#f4f4f4;pointer-events:auto;border:1px solid #a9a9a9;color:#bbb}.disabledReloadElement:hover{cursor:auto;background:#eee;pointer-events:auto}#menuElementContainer>li>input{color:#000;padding:.1em .3em .1em 1.5em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:120px}#menuElementContainer>li>a:hover{box-sizing:border-box;background:#1b252e;color:#bdc3c7}#empty:hover{box-sizing:border-box;background:#e1e1e1;color:#2980b9}#empty.disabled,.disabled{pointer-events:none;cursor:default;color:#979797}.toolTipMenu{-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;background-color:#fff;border:1px solid rgba(0,0,0,.15);border-bottom:none;border-radius:4px 4px 0 0;bottom:0;display:none;font-size:14px;list-style:none;margin:0;padding:0;white-space:normal;position:absolute;z-index:99}.toolTipMenu>li:first-of-type{border:none}.toolTipMenu a{color:#2980b9}.toolTipMenu>li{border-top:1px solid #bdc3c7}.toolTipMenu li{color:#2980b9;display:block}#menuElementContainer>li:hover .toolTipMenu{display:block}#menuElementContainer li>ul.toolTipMenu li a:hover{background:#e1e1e1}#scrollLeftButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;left:0}#scrollLeftButton:focus{outline:none}#scrollLeftButton:before{content:"<"}#scrollRightButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;right:0}#scrollRightButton:focus{outline:none}#scrollLeftButton:hover,#scrollRightButton:hover{color:#bdc3c7}#scrollRightButton:before{content:">"}#centerGraphButton,#zoomInButton,#zoomOutButton{border:1px solid #000;text-align:center;margin:-1px 0 0;font-size:1.5em;padding:0;height:28px}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#zoomOutButton{line-height:22px}#centerGraphButton,#zoomInButton{line-height:25px}#zoomSlider>p:hover{background-color:#d90}#zoomSliderParagraph{color:#000;padding-top:5px;margin:-1px 0 0;border:1px solid #000;height:150px}p#zoomSliderParagraph:hover{background-color:#fff}#zoomSlider{width:28px;margin-top:-2px;padding:0;font-size:1.5em;cursor:pointer;position:absolute;right:20px;bottom:20px;color:#000;box-sizing:border-box}#menuElementContainer>li>a:before{font-size:1em;margin:0;padding:0 6px 0 0}#menuElementContainer a.highlighted{background-color:#d90} + /*!*padding: 0 0.2em;*!*/.inner-addon{position:relative}.gearIcon,.searchIcon{position:absolute;width:17px;height:17px;pointer-events:none}.gearIcon{left:-5px} + /*!*padding: 0 0.2em;*!*/ + /*!*color: black;*!*/ + /*!*content: "\2315";*!*/ + /*!*content: "\2315" or "\1F50D"*!;*/li#c_search{padding:0 5px;margin-left:5px;height:20px}li#c_locate{padding:0}#c_locate>a{font-size:2em;padding:0}a#pause-button{padding:12px}a#pause-button.paused:before{content:"\25BA"}a#pause-button.paused:hover{background-color:#d90;color:#fff}a#pause-button:not(.paused):before{content:"II"}.toolTipMenu li:hover{background-color:#e1e1e1}#emptyLiHover,#emptyLiHover:hover{background-color:#fff}.toggleOption li:hover{background-color:#e1e1e1}.toggleOption{padding:8px 5px}#converter-option:hover{background-color:#fff}.option,.toolTipMenu li a:only-child{display:block;float:none;padding:8px 5px}.customLocate{padding:0;background-color:#32cd32}a#locateSearchResult{padding-top:50px}#zoomSliderElement{color:#000;position:relative;padding-top:0;width:155px;height:24px;background-color:transparent;-webkit-transform-origin-x:73px;-webkit-transform-origin-y:73px;-webkit-transform:rotate(-90deg);-moz-transform-origin:73px 73px;transform:rotate(-90deg);transform-origin:73px 73px;-webkit-appearance:none;outline:none;margin:4px 0}#zoomSliderElement::-webkit-scrollbar{height:0}#zoomSliderElement:hover{cursor:crosshair}#zoomSliderElement::-webkit-slider-runnable-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-moz-range-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-webkit-slider-thumb{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#fff;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb{background:#fff}#zoomSliderElement::-ms-thumb,#zoomSliderElement::-ms-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb:hover{background:#d90}#zoomSliderElement::-webkit-slider-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#d90;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-moz-range-thumb,#zoomSliderElement::-moz-range-thumb:hover{border:1px solid #000;height:10px;width:30px;border-radius:3px;cursor:pointer;outline:none}#zoomSliderElement::-moz-range-thumb:hover{background:#d90}#zoomSliderElement::-moz-focus-outer{border:0}#locateSearchResult:focus{outline:none}a#locateSearchResult.highlighted:hover{background-color:#d90;color:red}a#locateSearchResult{outline:none;padding-bottom:0;padding-top:0;position:relative;top:5px}#editorHint{padding:5px;position:absolute;text-align:center;width:100%;pointer-events:none}#editorHint label{pointer-events:auto;float:right;padding:5px;color:#fd0}#editorHint label:hover{text-decoration:underline;cursor:pointer}#editorHint>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:5px}#WarningErrorMessagesContainer{position:absolute;text-align:center;top:0;pointer-events:none}#WarningErrorMessages{position:relative;width:50%;pointer-events:auto;margin:10px 0;padding-right:12px;overflow-y:auto;overflow-x:hidden}#WarningErrorMessages label{color:#fd0}#WarningErrorMessages label,#WarningErrorMessages span{pointer-events:auto;float:right;padding:5px}#WarningErrorMessages label:hover{text-decoration:underline;cursor:pointer}#WarningErrorMessages>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:10px;border:1px solid #ecf0f1;width:70%}#WarningErrorMessagesContent>ul{-webkit-padding-start:20px;padding:0 16px}#WarningErrorMessagesContent>ul>li{padding:5px}.textLineEditWithLabel{display:inline-block;width:100%;border-bottom:1px solid #34495e;padding:2px 0}.converter-form-Editor label{line-height:normal}.descriptionTextClass,.prefixIRIElements input{background-color:#34495e;color:#fff}.prefixIRIElements input{border:1px solid #34495e}.prefixIRIElements input:disabled{background-color:#18202a;border:1px solid #18202a;color:#fff}.converter-form-Editor input{float:right;border:1px solid #34495e;background-color:#34495e;color:#fff}.converter-form-Editor input:disabled{background-color:#545350;border:1px solid #34495e;color:#939798}.disabledLabelForSlider{color:gray} \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.2.1/webvowl/css/webvowl.css b/dist/vocabulary/mapping/0.2.1/webvowl/css/webvowl.css new file mode 100644 index 0000000..335ea85 --- /dev/null +++ b/dist/vocabulary/mapping/0.2.1/webvowl/css/webvowl.css @@ -0,0 +1 @@ +.text{font-family:Helvetica,Arial,sans-serif;font-size:12px}.subtext{font-size:9px}.text.instance-count{fill:#666}.external+text .instance-count{fill:#aaa}.cardinality{font-size:10px}.embedded,.text{pointer-events:none}.allvaluesfromproperty,.class,.disjoint,.disjointwith,.equivalentproperty,.functionalproperty,.inversefunctionalproperty,.object,.objectproperty,.somevaluesfromproperty,.symmetricproperty,.transitiveproperty{fill:#acf}.datatypeproperty,.label .datatype{fill:#9c6}.rdf,.rdfproperty{fill:#c9c}.literal,.node .datatype{fill:#fc3}.deprecated,.deprecatedproperty{fill:#ccc}.nofill,path{fill:none}marker path{fill:#000}.class,.fineline,line,path{stroke:#000}.external+text,.subclass,.subclassproperty,.white{fill:#fff}.cardinality.focused,.cardinality.hovered,.class.hovered,.filled.focused,.filled.hovered,.hoveredForEditing,.property.hovered,.values-from.filled.hovered{fill:red!important;cursor:pointer}.feature{fill:red;cursor:pointer}@-webkit-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-moz-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-o-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}.searchResultA{-webkit-animation-name:pulseAnimation;-moz-animation-name:pulseAnimation;-o-animation-name:pulseAnimation;animation-name:pulseAnimation;-webkit-animation-duration:.8s;-moz-animation-duration:.8s;-o-animation-duration:.8s;animation-duration:.8s;-webkit-transform:translateZ(0);-o-transform:translateZ(0);-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}.searchResultA,.searchResultB{fill:none;stroke-width:5;stroke:red}.hovered-MathSymbol{fill:none}.focused,.hovered-MathSymbol,path.hovered{stroke:red!important}.feature:hover,.feature_hover,.indirect-highlighting{fill:#f90;cursor:pointer}.values-from{stroke:#69c}.symbol,.values-from.filled{fill:#69c}.class,line,path{stroke-width:2}.fineline{stroke-width:1}.anonymous,.dashed{stroke-dasharray:8}.dotted{stroke-dasharray:3}circle.focused,rect.focused{stroke-width:4px}.nostroke{stroke:none}.addDataPropertyElement{fill:#9c6!important;cursor:pointer;stroke-width:2;stroke:#000}.addDataPropertyElement:hover{fill:#f90!important;cursor:pointer;stroke-width:2;stroke:#000}.superHiddenElement{fill:rgba(255,153,0,.4);cursor:pointer;stroke-width:0;stroke:#000}.superOpacityElement{opacity:0}.deleteParentElement:hover{fill:#f90;cursor:pointer;stroke-width:2;stroke:#000}.deleteParentElement{fill:red;cursor:pointer;stroke-width:2;stroke:#000}.classDraggerNodeHovered,.classNodeDragPath{stroke:#000;stroke-width:2px}.classDraggerNodeHovered{fill:#f90;cursor:pointer}.classDraggerNode{fill:#acf;stroke:#000;stroke-width:2px}marker path{stroke-dasharray:100} \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.2.1/webvowl/data/foaf.json b/dist/vocabulary/mapping/0.2.1/webvowl/data/foaf.json new file mode 100644 index 0000000..beaaffc --- /dev/null +++ b/dist/vocabulary/mapping/0.2.1/webvowl/data/foaf.json @@ -0,0 +1,2894 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.6), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "undefined" ], + "baseIris" : [ "http://schema.org", "http://www.w3.org/2000/01/rdf-schema", "http://www.w3.org/2003/01/geo/wgs84_pos", "http://purl.org/dc/terms", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "http://www.w3.org/2000/10/swap/pim/contact", "http://www.w3.org/2004/02/skos/core" ], + "prefixList" : { + "owl" : "http://www.w3.org/2002/07/owl#", + "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "wot" : "http://xmlns.com/wot/0.1/", + "xsd" : "http://www.w3.org/2001/XMLSchema#", + "dc" : "http://purl.org/dc/elements/1.1/", + "xml" : "http://www.w3.org/XML/1998/namespace", + "vs" : "http://www.w3.org/2003/06/sw-vocab-status/ns#", + "foaf" : "http://xmlns.com/foaf/0.1/", + "rdfs" : "http://www.w3.org/2000/01/rdf-schema#" + }, + "title" : { + "undefined" : "Friend of a Friend (FOAF) vocabulary" + }, + "iri" : "http://xmlns.com/foaf/0.1/", + "description" : { + "undefined" : "The Friend of a Friend (FOAF) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language." + }, + "other" : { + "title" : [ { + "identifier" : "title", + "language" : "undefined", + "value" : "Friend of a Friend (FOAF) vocabulary", + "type" : "label" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "3", + "type" : "owl:Thing" + }, { + "id" : "9", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:equivalentClass" + }, { + "id" : "18", + "type" : "owl:Thing" + }, { + "id" : "19", + "type" : "owl:Thing" + }, { + "id" : "5", + "type" : "owl:Thing" + }, { + "id" : "20", + "type" : "rdfs:Literal" + }, { + "id" : "8", + "type" : "rdfs:Literal" + }, { + "id" : "11", + "type" : "owl:Class" + }, { + "id" : "21", + "type" : "owl:Thing" + }, { + "id" : "22", + "type" : "rdfs:Literal" + }, { + "id" : "24", + "type" : "rdfs:Literal" + }, { + "id" : "26", + "type" : "rdfs:Literal" + }, { + "id" : "27", + "type" : "rdfs:Literal" + }, { + "id" : "37", + "type" : "owl:equivalentClass" + }, { + "id" : "45", + "type" : "rdfs:Literal" + }, { + "id" : "46", + "type" : "rdfs:Literal" + }, { + "id" : "53", + "type" : "rdfs:Literal" + }, { + "id" : "56", + "type" : "rdfs:Literal" + }, { + "id" : "59", + "type" : "rdfs:Literal" + }, { + "id" : "60", + "type" : "owl:Class" + }, { + "id" : "61", + "type" : "rdfs:Literal" + }, { + "id" : "6", + "type" : "rdfs:Literal" + }, { + "id" : "62", + "type" : "rdfs:Literal" + }, { + "id" : "12", + "type" : "owl:equivalentClass" + }, { + "id" : "55", + "type" : "rdfs:Literal" + }, { + "id" : "69", + "type" : "rdfs:Literal" + }, { + "id" : "71", + "type" : "owl:Class" + }, { + "id" : "36", + "type" : "owl:Class" + }, { + "id" : "86", + "type" : "owl:Class" + }, { + "id" : "83", + "type" : "owl:Class" + }, { + "id" : "94", + "type" : "owl:Class" + }, { + "id" : "73", + "type" : "rdfs:Literal" + }, { + "id" : "68", + "type" : "rdfs:Literal" + }, { + "id" : "93", + "type" : "rdfs:Literal" + }, { + "id" : "33", + "type" : "owl:Thing" + }, { + "id" : "49", + "type" : "rdfs:Literal" + }, { + "id" : "29", + "type" : "owl:Thing" + }, { + "id" : "101", + "type" : "rdfs:Literal" + }, { + "id" : "39", + "type" : "owl:Thing" + }, { + "id" : "63", + "type" : "owl:equivalentClass" + }, { + "id" : "64", + "type" : "owl:equivalentClass" + }, { + "id" : "102", + "type" : "owl:equivalentClass" + }, { + "id" : "78", + "type" : "owl:Class" + }, { + "id" : "77", + "type" : "owl:Class" + }, { + "id" : "13", + "type" : "owl:equivalentClass" + }, { + "id" : "58", + "type" : "rdfs:Literal" + }, { + "id" : "100", + "type" : "rdfs:Literal" + }, { + "id" : "106", + "type" : "rdfs:Literal" + }, { + "id" : "52", + "type" : "rdfs:Literal" + }, { + "id" : "88", + "type" : "rdfs:Literal" + }, { + "id" : "118", + "type" : "rdfs:Literal" + }, { + "id" : "126", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:equivalentClass" + }, { + "id" : "32", + "type" : "owl:equivalentClass" + }, { + "id" : "10", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "3", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2004/02/skos/core#Concept", + "baseIri" : "http://www.w3.org/2004/02/skos/core", + "instances" : 0, + "label" : { + "IRI-based" : "Concept", + "undefined" : "Concept" + }, + "attributes" : [ "external" ], + "id" : "9" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Agent", + "equivalent" : [ "13" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Agent", + "undefined" : "Agent" + }, + "subClasses" : [ "10", "11", "12" ], + "comment" : { + "undefined" : "An agent (eg. person, group, software or physical artifact)." + }, + "attributes" : [ "equivalent" ], + "id" : "1" + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "18", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "19", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "5", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "20", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "8", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Organization", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Organization", + "undefined" : "Organization" + }, + "comment" : { + "undefined" : "An organization." + }, + "id" : "11", + "superClasses" : [ "1" ] + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "21", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "22", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "24", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "26", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "27", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://schema.org/CreativeWork", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "CreativeWork" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "37" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "45", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "46", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "53", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "56", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "59", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Project", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Project", + "undefined" : "Project" + }, + "comment" : { + "undefined" : "A project (a collective endeavour of some kind)." + }, + "id" : "60" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "61", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "6", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "62", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "equivalent" : [ "63", "64" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Person", + "undefined" : "Person" + }, + "comment" : { + "undefined" : "A person." + }, + "attributes" : [ "equivalent" ], + "id" : "12", + "superClasses" : [ "1", "36" ] + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "55", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "69", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/PersonalProfileDocument", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "PersonalProfileDocument", + "undefined" : "PersonalProfileDocument" + }, + "comment" : { + "undefined" : "A personal profile RDF document." + }, + "id" : "71", + "superClasses" : [ "2" ] + }, { + "iri" : "http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing", + "baseIri" : "http://www.w3.org/2003/01/geo/wgs84_pos", + "instances" : 0, + "label" : { + "IRI-based" : "SpatialThing", + "undefined" : "Spatial Thing" + }, + "subClasses" : [ "12" ], + "attributes" : [ "external" ], + "id" : "36" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineChatAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineChatAccount", + "undefined" : "Online Chat Account" + }, + "comment" : { + "undefined" : "An online chat account." + }, + "id" : "86", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineGamingAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineGamingAccount", + "undefined" : "Online Gaming Account" + }, + "comment" : { + "undefined" : "An online gaming account." + }, + "id" : "83", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/LabelProperty", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "LabelProperty", + "undefined" : "Label Property" + }, + "comment" : { + "undefined" : "A foaf:LabelProperty is any RDF property with texual values that serve as labels." + }, + "id" : "94" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "73", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "68", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "93", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "33", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "49", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "29", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "101", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "39", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/10/swap/pim/contact#Person", + "baseIri" : "http://www.w3.org/2000/10/swap/pim/contact", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "63" + }, { + "iri" : "http://schema.org/Person", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "64" + }, { + "iri" : "http://schema.org/ImageObject", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "ImageObject" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "102" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineAccount", + "undefined" : "Online Account" + }, + "subClasses" : [ "77", "86", "83" ], + "comment" : { + "undefined" : "An online account." + }, + "id" : "78" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineEcommerceAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineEcommerceAccount", + "undefined" : "Online E-commerce Account" + }, + "comment" : { + "undefined" : "An online e-commerce account." + }, + "id" : "77", + "superClasses" : [ "78" ] + }, { + "iri" : "http://purl.org/dc/terms/Agent", + "baseIri" : "http://purl.org/dc/terms", + "instances" : 0, + "label" : { + "IRI-based" : "Agent" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "13" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "58", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "100", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "106", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "52", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "88", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "118", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Class", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "instances" : 0, + "label" : { + "IRI-based" : "Class" + }, + "attributes" : [ "external" ], + "id" : "126" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Document", + "equivalent" : [ "37" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Document", + "undefined" : "Document" + }, + "subClasses" : [ "71", "32" ], + "comment" : { + "undefined" : "A document." + }, + "attributes" : [ "equivalent" ], + "id" : "2" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Image", + "equivalent" : [ "102" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Image", + "undefined" : "Image" + }, + "comment" : { + "undefined" : "An image." + }, + "attributes" : [ "equivalent" ], + "id" : "32", + "superClasses" : [ "2" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/Group", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Group", + "undefined" : "Group" + }, + "comment" : { + "undefined" : "A class of Agents." + }, + "id" : "10", + "superClasses" : [ "1" ] + } ], + "property" : [ { + "id" : "0", + "type" : "owl:objectProperty" + }, { + "id" : "4", + "type" : "owl:datatypeProperty" + }, { + "id" : "7", + "type" : "owl:datatypeProperty" + }, { + "id" : "14", + "type" : "owl:objectProperty" + }, { + "id" : "16", + "type" : "owl:objectProperty" + }, { + "id" : "17", + "type" : "owl:objectProperty" + }, { + "id" : "23", + "type" : "owl:objectProperty" + }, { + "id" : "25", + "type" : "owl:objectProperty" + }, { + "id" : "28", + "type" : "owl:objectProperty" + }, { + "id" : "30", + "type" : "owl:objectProperty" + }, { + "id" : "31", + "type" : "owl:objectProperty" + }, { + "id" : "35", + "type" : "owl:objectProperty" + }, { + "id" : "38", + "type" : "owl:objectProperty" + }, { + "id" : "44", + "type" : "owl:datatypeProperty" + }, { + "id" : "47", + "type" : "owl:objectProperty" + }, { + "id" : "48", + "type" : "owl:datatypeProperty" + }, { + "id" : "50", + "type" : "owl:objectProperty" + }, { + "id" : "51", + "type" : "owl:datatypeProperty" + }, { + "id" : "54", + "type" : "owl:datatypeProperty" + }, { + "id" : "57", + "type" : "owl:datatypeProperty" + }, { + "id" : "65", + "type" : "owl:datatypeProperty" + }, { + "id" : "66", + "type" : "owl:datatypeProperty" + }, { + "id" : "67", + "type" : "owl:datatypeProperty" + }, { + "id" : "70", + "type" : "owl:datatypeProperty" + }, { + "id" : "72", + "type" : "owl:datatypeProperty" + }, { + "id" : "15", + "type" : "owl:objectProperty" + }, { + "id" : "74", + "type" : "rdfs:SubClassOf" + }, { + "id" : "75", + "type" : "rdfs:SubClassOf" + }, { + "id" : "76", + "type" : "rdfs:SubClassOf" + }, { + "id" : "79", + "type" : "rdfs:SubClassOf" + }, { + "id" : "80", + "type" : "owl:objectProperty" + }, { + "id" : "81", + "type" : "owl:objectProperty" + }, { + "id" : "82", + "type" : "rdfs:SubClassOf" + }, { + "id" : "34", + "type" : "owl:objectProperty" + }, { + "id" : "85", + "type" : "rdfs:SubClassOf" + }, { + "id" : "87", + "type" : "owl:datatypeProperty" + }, { + "id" : "89", + "type" : "rdfs:SubClassOf" + }, { + "id" : "90", + "type" : "rdfs:SubClassOf" + }, { + "id" : "91", + "type" : "owl:objectProperty" + }, { + "id" : "92", + "type" : "owl:datatypeProperty" + }, { + "id" : "95", + "type" : "owl:datatypeProperty" + }, { + "id" : "96", + "type" : "owl:objectProperty" + }, { + "id" : "97", + "type" : "owl:datatypeProperty" + }, { + "id" : "98", + "type" : "rdfs:SubClassOf" + }, { + "id" : "99", + "type" : "owl:datatypeProperty" + }, { + "id" : "43", + "type" : "owl:objectProperty" + }, { + "id" : "42", + "type" : "owl:objectProperty" + }, { + "id" : "103", + "type" : "owl:datatypeProperty" + }, { + "id" : "104", + "type" : "owl:objectProperty" + }, { + "id" : "105", + "type" : "owl:datatypeProperty" + }, { + "id" : "107", + "type" : "owl:objectProperty" + }, { + "id" : "108", + "type" : "owl:datatypeProperty" + }, { + "id" : "109", + "type" : "owl:objectProperty" + }, { + "id" : "110", + "type" : "owl:objectProperty" + }, { + "id" : "40", + "type" : "owl:objectProperty" + }, { + "id" : "41", + "type" : "owl:objectProperty" + }, { + "id" : "84", + "type" : "owl:objectProperty" + }, { + "id" : "111", + "type" : "owl:datatypeProperty" + }, { + "id" : "112", + "type" : "owl:datatypeProperty" + }, { + "id" : "113", + "type" : "owl:datatypeProperty" + }, { + "id" : "114", + "type" : "owl:objectProperty" + }, { + "id" : "116", + "type" : "owl:disjointWith" + }, { + "id" : "117", + "type" : "owl:disjointWith" + }, { + "id" : "119", + "type" : "owl:datatypeProperty" + }, { + "id" : "120", + "type" : "owl:disjointWith" + }, { + "id" : "121", + "type" : "owl:disjointWith" + }, { + "id" : "122", + "type" : "owl:objectProperty" + }, { + "id" : "123", + "type" : "owl:datatypeProperty" + }, { + "id" : "124", + "type" : "owl:objectProperty" + }, { + "id" : "125", + "type" : "owl:datatypeProperty" + }, { + "id" : "127", + "type" : "owl:datatypeProperty" + }, { + "id" : "115", + "type" : "owl:objectProperty" + }, { + "id" : "128", + "type" : "owl:objectProperty" + }, { + "id" : "129", + "type" : "owl:objectProperty" + } ], + "propertyAttribute" : [ { + "iri" : "http://xmlns.com/foaf/0.1/interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "interest", + "undefined" : "interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A page about a topic of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "0" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox_sha1sum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "6", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox_sha1sum", + "undefined" : "sha1sum of a personal mailbox URI name" + }, + "domain" : "5", + "comment" : { + "undefined" : "The sha1sum of the URI of an Internet mailbox associated with exactly one owner, the first owner of the mailbox." + }, + "attributes" : [ "datatype" ], + "id" : "4" + }, { + "iri" : "http://xmlns.com/foaf/0.1/nick", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "8", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "nick", + "undefined" : "nickname" + }, + "domain" : "5", + "comment" : { + "undefined" : "A short informal nickname characterising an agent (includes login identifiers, IRC and other chat nicknames)." + }, + "attributes" : [ "datatype" ], + "id" : "7" + }, { + "iri" : "http://xmlns.com/foaf/0.1/openid", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "openid", + "undefined" : "openid" + }, + "superproperty" : [ "15" ], + "domain" : "1", + "comment" : { + "undefined" : "An OpenID for an Agent." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "14" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workInfoHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workInfoHomepage", + "undefined" : "work info homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A work info homepage of some person; a page about their work for some organization." + }, + "attributes" : [ "object" ], + "id" : "16" + }, { + "iri" : "http://xmlns.com/foaf/0.1/pastProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "pastProject", + "undefined" : "past project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A project this person has previously worked on." + }, + "attributes" : [ "object" ], + "id" : "17" + }, { + "iri" : "http://xmlns.com/foaf/0.1/theme", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "theme", + "undefined" : "theme" + }, + "domain" : "19", + "comment" : { + "undefined" : "A theme." + }, + "attributes" : [ "object" ], + "id" : "23" + }, { + "iri" : "http://xmlns.com/foaf/0.1/knows", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "12", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "knows", + "undefined" : "knows" + }, + "domain" : "12", + "comment" : { + "undefined" : "A person known by this person (indicating some level of reciprocated interaction between the parties)." + }, + "attributes" : [ "object" ], + "id" : "25" + }, { + "iri" : "http://xmlns.com/foaf/0.1/focus", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "29", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "focus", + "undefined" : "focus" + }, + "domain" : "9", + "comment" : { + "undefined" : "The underlying or 'focal' entity associated with some SKOS-described concept." + }, + "attributes" : [ "object" ], + "id" : "28" + }, { + "iri" : "http://xmlns.com/foaf/0.1/phone", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "phone", + "undefined" : "phone" + }, + "domain" : "19", + "comment" : { + "undefined" : "A phone, specified using fully qualified tel: URI scheme (refs: http://www.w3.org/Addressing/schemes.html#tel)." + }, + "attributes" : [ "object" ], + "id" : "30" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depicts", + "inverse" : "34", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "33", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depicts", + "undefined" : "depicts" + }, + "domain" : "32", + "comment" : { + "undefined" : "A thing depicted in this representation." + }, + "attributes" : [ "object" ], + "id" : "31" + }, { + "iri" : "http://xmlns.com/foaf/0.1/based_near", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "36", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "based_near", + "undefined" : "based near" + }, + "domain" : "36", + "comment" : { + "undefined" : "A location that something is based near, for some broadly human notion of near." + }, + "attributes" : [ "object" ], + "id" : "35" + }, { + "iri" : "http://xmlns.com/foaf/0.1/page", + "inverse" : "40", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "page", + "undefined" : "page" + }, + "domain" : "39", + "subproperty" : [ "15", "41", "42", "43" ], + "comment" : { + "undefined" : "A page or document about this thing." + }, + "attributes" : [ "object" ], + "id" : "38" + }, { + "iri" : "http://xmlns.com/foaf/0.1/geekcode", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "26", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "geekcode", + "undefined" : "geekcode" + }, + "domain" : "12", + "comment" : { + "undefined" : "A textual geekcode for this person, see http://www.geekcode.com/geek.html" + }, + "attributes" : [ "datatype" ], + "id" : "44" + }, { + "iri" : "http://xmlns.com/foaf/0.1/primaryTopic", + "inverse" : "15", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "primaryTopic", + "undefined" : "primary topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "The primary topic of some page or document." + }, + "attributes" : [ "object", "functional" ], + "id" : "47" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "49", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenName", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "48" + }, { + "iri" : "http://xmlns.com/foaf/0.1/schoolHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "schoolHomepage", + "undefined" : "schoolHomepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A homepage of a school attended by the person." + }, + "attributes" : [ "object" ], + "id" : "50" + }, { + "iri" : "http://xmlns.com/foaf/0.1/gender", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "52", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "gender", + "undefined" : "gender" + }, + "domain" : "1", + "comment" : { + "undefined" : "The gender of this Agent (typically but not necessarily 'male' or 'female')." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "51" + }, { + "iri" : "http://xmlns.com/foaf/0.1/dnaChecksum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "55", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "dnaChecksum", + "undefined" : "DNA checksum" + }, + "domain" : "19", + "comment" : { + "undefined" : "A checksum for the DNA of some thing. Joke." + }, + "attributes" : [ "datatype" ], + "id" : "54" + }, { + "iri" : "http://xmlns.com/foaf/0.1/lastName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "58", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "lastName", + "undefined" : "lastName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The last name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "57" + }, { + "iri" : "http://xmlns.com/foaf/0.1/status", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "45", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "status", + "undefined" : "status" + }, + "domain" : "1", + "comment" : { + "undefined" : "A string expressing what the user is happy for the general public (normally) to know about their current activity." + }, + "attributes" : [ "datatype" ], + "id" : "65" + }, { + "iri" : "http://xmlns.com/foaf/0.1/yahooChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "46", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "yahooChatID", + "undefined" : "Yahoo chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A Yahoo chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "66" + }, { + "iri" : "http://xmlns.com/foaf/0.1/name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "68", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "name", + "undefined" : "name" + }, + "domain" : "19", + "comment" : { + "undefined" : "A name for some thing." + }, + "attributes" : [ "datatype" ], + "id" : "67" + }, { + "iri" : "http://xmlns.com/foaf/0.1/icqChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "53", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "icqChatID", + "undefined" : "ICQ chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An ICQ chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "70" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "73", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenname", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "72" + }, { + "iri" : "http://xmlns.com/foaf/0.1/isPrimaryTopicOf", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "isPrimaryTopicOf", + "undefined" : "is primary topic of" + }, + "superproperty" : [ "38" ], + "domain" : "39", + "subproperty" : [ "14", "43" ], + "comment" : { + "undefined" : "A document that this thing is the primary topic of." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "15" + }, { + "range" : "2", + "domain" : "32", + "attributes" : [ "anonymous", "object" ], + "id" : "74" + }, { + "range" : "2", + "domain" : "71", + "attributes" : [ "anonymous", "object" ], + "id" : "75" + }, { + "range" : "78", + "domain" : "77", + "attributes" : [ "anonymous", "object" ], + "id" : "76" + }, { + "range" : "36", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "79" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountServiceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountServiceHomepage", + "undefined" : "account service homepage" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates a homepage of the service provide for this online account." + }, + "attributes" : [ "object" ], + "id" : "80" + }, { + "iri" : "http://xmlns.com/foaf/0.1/logo", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "logo", + "undefined" : "logo" + }, + "domain" : "19", + "comment" : { + "undefined" : "A logo representing some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "81" + }, { + "range" : "78", + "domain" : "83", + "attributes" : [ "anonymous", "object" ], + "id" : "82" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depiction", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depiction", + "undefined" : "depiction" + }, + "domain" : "33", + "subproperty" : [ "84" ], + "comment" : { + "undefined" : "A depiction of some thing." + }, + "attributes" : [ "object" ], + "id" : "34" + }, { + "range" : "78", + "domain" : "86", + "attributes" : [ "anonymous", "object" ], + "id" : "85" + }, { + "iri" : "http://xmlns.com/foaf/0.1/family_name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "88", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "family_name", + "undefined" : "family_name" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "87" + }, { + "range" : "1", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "89" + }, { + "range" : "1", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "90" + }, { + "iri" : "http://xmlns.com/foaf/0.1/fundedBy", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "fundedBy", + "undefined" : "funded by" + }, + "domain" : "19", + "comment" : { + "undefined" : "An organization funding a project or person." + }, + "attributes" : [ "object" ], + "id" : "91" + }, { + "iri" : "http://xmlns.com/foaf/0.1/title", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "93", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "title", + "undefined" : "title" + }, + "domain" : "19", + "comment" : { + "undefined" : "Title (Mr, Mrs, Ms, Dr. etc)" + }, + "attributes" : [ "datatype" ], + "id" : "92" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "59", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountName", + "undefined" : "account name" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates the name (identifier) associated with this online account." + }, + "attributes" : [ "datatype" ], + "id" : "95" + }, { + "iri" : "http://xmlns.com/foaf/0.1/account", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "account", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "96" + }, { + "iri" : "http://xmlns.com/foaf/0.1/jabberID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "69", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "jabberID", + "undefined" : "jabber ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A jabber ID for something." + }, + "attributes" : [ "datatype" ], + "id" : "97" + }, { + "range" : "1", + "domain" : "10", + "attributes" : [ "anonymous", "object" ], + "id" : "98" + }, { + "iri" : "http://xmlns.com/foaf/0.1/age", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "100", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "age", + "undefined" : "age" + }, + "domain" : "1", + "comment" : { + "undefined" : "The age in years of some agent." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "99" + }, { + "iri" : "http://xmlns.com/foaf/0.1/homepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "homepage", + "undefined" : "homepage" + }, + "superproperty" : [ "15", "38" ], + "domain" : "39", + "comment" : { + "undefined" : "A homepage for some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "43" + }, { + "iri" : "http://xmlns.com/foaf/0.1/tipjar", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "tipjar", + "undefined" : "tipjar" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A tipjar document for this agent, describing means for payment and reward." + }, + "attributes" : [ "object" ], + "id" : "42" + }, { + "iri" : "http://xmlns.com/foaf/0.1/msnChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "61", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "msnChatID", + "undefined" : "MSN chat ID" + }, + "domain" : "5", + "comment" : { + "undefined" : "An MSN chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "103" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic_interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic_interest", + "undefined" : "topic_interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A thing of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "104" + }, { + "iri" : "http://xmlns.com/foaf/0.1/aimChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "106", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "aimChatID", + "undefined" : "AIM chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An AIM chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "105" + }, { + "iri" : "http://xmlns.com/foaf/0.1/currentProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "currentProject", + "undefined" : "current project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A current project this person works on." + }, + "attributes" : [ "object" ], + "id" : "107" + }, { + "iri" : "http://xmlns.com/foaf/0.1/skypeID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "20", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "skypeID", + "undefined" : "Skype ID" + }, + "domain" : "1", + "comment" : { + "undefined" : "A Skype ID" + }, + "attributes" : [ "datatype" ], + "id" : "108" + }, { + "iri" : "http://xmlns.com/foaf/0.1/holdsAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "holdsAccount", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "109" + }, { + "iri" : "http://xmlns.com/foaf/0.1/thumbnail", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "thumbnail", + "undefined" : "thumbnail" + }, + "domain" : "32", + "comment" : { + "undefined" : "A derived thumbnail image." + }, + "attributes" : [ "object" ], + "id" : "110" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic", + "undefined" : "topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "A topic of some page or document." + }, + "attributes" : [ "object" ], + "id" : "40" + }, { + "iri" : "http://xmlns.com/foaf/0.1/weblog", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "weblog", + "undefined" : "weblog" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A weblog of some thing (whether person, group, company etc.)." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "41" + }, { + "iri" : "http://xmlns.com/foaf/0.1/img", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "img", + "undefined" : "image" + }, + "superproperty" : [ "34" ], + "domain" : "12", + "comment" : { + "undefined" : "An image that can be used to represent some thing (ie. those depictions which are particularly representative of something, eg. one's photo on a homepage)." + }, + "attributes" : [ "object" ], + "id" : "84" + }, { + "iri" : "http://xmlns.com/foaf/0.1/birthday", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "56", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "birthday", + "undefined" : "birthday" + }, + "domain" : "1", + "comment" : { + "undefined" : "The birthday of this Agent, represented in mm-dd string form, eg. '12-31'." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "111" + }, { + "iri" : "http://xmlns.com/foaf/0.1/sha1", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "101", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "sha1", + "undefined" : "sha1sum (hex)" + }, + "domain" : "2", + "comment" : { + "undefined" : "A sha1sum hash, in hex." + }, + "attributes" : [ "datatype" ], + "id" : "112" + }, { + "iri" : "http://xmlns.com/foaf/0.1/firstName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "24", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "firstName", + "undefined" : "firstName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The first name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "113" + }, { + "iri" : "http://xmlns.com/foaf/0.1/made", + "inverse" : "115", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "made", + "undefined" : "made" + }, + "domain" : "1", + "comment" : { + "undefined" : "Something that was made by this agent." + }, + "attributes" : [ "object" ], + "id" : "114" + }, { + "range" : "60", + "domain" : "2", + "attributes" : [ "anonymous", "object" ], + "id" : "116" + }, { + "range" : "12", + "domain" : "60", + "attributes" : [ "anonymous", "object" ], + "id" : "117" + }, { + "iri" : "http://xmlns.com/foaf/0.1/familyName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "62", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "familyName", + "undefined" : "familyName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "119" + }, { + "range" : "2", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "120" + }, { + "range" : "12", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "121" + }, { + "iri" : "http://xmlns.com/foaf/0.1/member", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "member", + "undefined" : "member" + }, + "domain" : "10", + "comment" : { + "undefined" : "Indicates a member of a Group" + }, + "attributes" : [ "object" ], + "id" : "122" + }, { + "iri" : "http://xmlns.com/foaf/0.1/plan", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "27", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "plan", + "undefined" : "plan" + }, + "domain" : "12", + "comment" : { + "undefined" : "A .plan comment, in the tradition of finger and '.plan' files." + }, + "attributes" : [ "datatype" ], + "id" : "123" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox", + "undefined" : "personal mailbox" + }, + "domain" : "1", + "comment" : { + "undefined" : "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox. This is a 'static inverse functional property', in that there is (across time and change) at most one individual that ever has any particular value for foaf:mbox." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "124" + }, { + "iri" : "http://xmlns.com/foaf/0.1/surname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "118", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "surname", + "undefined" : "Surname" + }, + "domain" : "12", + "comment" : { + "undefined" : "The surname of some person." + }, + "attributes" : [ "datatype" ], + "id" : "125" + }, { + "iri" : "http://xmlns.com/foaf/0.1/myersBriggs", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "22", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "myersBriggs", + "undefined" : "myersBriggs" + }, + "domain" : "12", + "comment" : { + "undefined" : "A Myers Briggs (MBTI) personality classification." + }, + "attributes" : [ "datatype" ], + "id" : "127" + }, { + "iri" : "http://xmlns.com/foaf/0.1/maker", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "maker", + "undefined" : "maker" + }, + "domain" : "18", + "comment" : { + "undefined" : "An agent that made this thing." + }, + "attributes" : [ "object" ], + "id" : "115" + }, { + "iri" : "http://xmlns.com/foaf/0.1/publications", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "publications", + "undefined" : "publications" + }, + "domain" : "12", + "comment" : { + "undefined" : "A link to the publications of this person." + }, + "attributes" : [ "object" ], + "id" : "128" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workplaceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workplaceHomepage", + "undefined" : "workplace homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A workplace homepage of some person; the homepage of an organization they work for." + }, + "attributes" : [ "object" ], + "id" : "129" + } ] +} \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.2.1/webvowl/data/ontology.json b/dist/vocabulary/mapping/0.2.1/webvowl/data/ontology.json new file mode 100644 index 0000000..6c0c8e6 --- /dev/null +++ b/dist/vocabulary/mapping/0.2.1/webvowl/data/ontology.json @@ -0,0 +1,787 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.5), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "en", "undefined" ], + "baseIris" : [ "http://www.w3.org/1999/02/22-rdf-syntax-ns", "http://purl.org/vocommons/voaf", "http://www.w3.org/2000/01/rdf-schema", "https://w3id.org/function/vocabulary/mapping", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "https://w3id.org/function/ontology" ], + "title" : { + "en" : "The Function Ontology - Mapping vocabulary" + }, + "iri" : "https://w3id.org/function/vocabulary/mapping#", + "version" : "0.2.1", + "author" : [ "https://ben.de-meester.org/#me" ], + "description" : { + "en" : "The Function Ontology Implementation Mapping vocabulary specifies terms relevant to link FnO models to implementations. The specification is online at https://w3id.org/function/spec" + }, + "labels" : { + "en" : "The Function Ontology - Mapping vocabulary" + }, + "comments" : { + "en" : "- Version 0.2.1: Updated metadata\r\n- Version 0.2.0: ReturnMapping\r\n- Version 0.1.0: creation." + }, + "other" : { + "priorVersion" : [ { + "identifier" : "priorVersion", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping/0.2.0", + "type" : "iri" + } ], + "creator" : [ { + "identifier" : "creator", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + } ], + "created" : [ { + "identifier" : "created", + "language" : "undefined", + "value" : "2019-05-21", + "type" : "label" + } ], + "versionInfo" : [ { + "identifier" : "versionInfo", + "language" : "undefined", + "value" : "0.2.1", + "type" : "label" + } ], + "source" : [ { + "identifier" : "source", + "language" : "undefined", + "value" : "https://w3id.org/function/spec", + "type" : "iri" + } ], + "title" : [ { + "identifier" : "title", + "language" : "en", + "value" : "The Function Ontology - Mapping vocabulary", + "type" : "label" + } ], + "backwardCompatibleWith" : [ { + "identifier" : "backwardCompatibleWith", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping/0.2.0", + "type" : "iri" + } ], + "seeAlso" : [ { + "identifier" : "seeAlso", + "language" : "undefined", + "value" : "https://w3id.org/function/spec", + "type" : "iri" + } ], + "license" : [ { + "identifier" : "license", + "language" : "undefined", + "value" : "http://creativecommons.org/license/by/3.0/", + "type" : "iri" + } ], + "primaryTopic" : [ { + "identifier" : "primaryTopic", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "preferredNamespacePrefix" : [ { + "identifier" : "preferredNamespacePrefix", + "language" : "undefined", + "value" : "fnom", + "type" : "label" + } ], + "rights" : [ { + "identifier" : "rights", + "language" : "en", + "value" : "Copyright Ghent University imec IDLab", + "type" : "label" + } ], + "modified" : [ { + "identifier" : "modified", + "language" : "undefined", + "value" : "2020-12-23", + "type" : "label" + } ], + "logo" : [ { + "identifier" : "logo", + "language" : "undefined", + "value" : "https://w3id.org/function/img/fno_favicon.png", + "type" : "iri" + } ], + "publisher" : [ { + "identifier" : "publisher", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + } ], + "bibliographicCitation" : [ { + "identifier" : "bibliographicCitation", + "language" : "undefined", + "value" : "De Meester, B.; Seymoens, T.; Dimou, A. & Verborgh, R. Implementation-independent Function Reuse. Future Generation Computer Systems, Elsevier BV, 2020, 110, 946-959 ", + "type" : "label" + } ], + "preferredNamespaceUri" : [ { + "identifier" : "preferredNamespaceUri", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping#", + "type" : "label" + } ], + "issued" : [ { + "identifier" : "issued", + "language" : "undefined", + "value" : "2019-05-21", + "type" : "label" + } ], + "doi" : [ { + "identifier" : "doi", + "language" : "undefined", + "value" : "10.5281/zenodo.595382", + "type" : "label" + } ], + "depiction" : [ { + "identifier" : "depiction", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/resources/images/fno-full.png", + "type" : "iri" + } ], + "status" : [ { + "identifier" : "status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "3", + "type" : "rdfs:Datatype" + }, { + "id" : "4", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "rdfs:Datatype" + }, { + "id" : "5", + "type" : "rdfs:Datatype" + }, { + "id" : "6", + "type" : "owl:Thing" + }, { + "id" : "7", + "type" : "owl:Thing" + }, { + "id" : "14", + "type" : "owl:Class" + }, { + "id" : "17", + "type" : "owl:Class" + }, { + "id" : "20", + "type" : "rdfs:Datatype" + }, { + "id" : "21", + "type" : "rdfs:Datatype" + }, { + "id" : "11", + "type" : "owl:Class" + }, { + "id" : "18", + "type" : "owl:Class" + }, { + "id" : "13", + "type" : "owl:Class" + }, { + "id" : "10", + "type" : "owl:Class" + }, { + "id" : "23", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:Class" + }, { + "id" : "24", + "type" : "owl:Class" + }, { + "id" : "28", + "type" : "owl:Class" + }, { + "id" : "29", + "type" : "owl:Class" + }, { + "id" : "16", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "http://www.w3.org/2001/XMLSchema#string", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "3", + "label" : { + "IRI-based" : "string", + "undefined" : "string" + } + }, { + "iri" : "https://w3id.org/function/ontology#MethodMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "MethodMapping" + }, + "subClasses" : [ "1" ], + "attributes" : [ "external" ], + "id" : "4" + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#string", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "2", + "label" : { + "IRI-based" : "string", + "undefined" : "string" + } + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#boolean", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "5", + "label" : { + "IRI-based" : "boolean" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "6", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "7", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "https://w3id.org/function/ontology#Parameter", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "Parameter" + }, + "attributes" : [ "external" ], + "id" : "14" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#ConstantParameterMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "ConstantParameterMapping", + "en" : "Constant Parameter Mapping" + }, + "comment" : { + "en" : "A constant parameter mapping uses a property string to map a parameter of an fno:Implementation to a constant value" + }, + "id" : "17", + "superClasses" : [ "18" ] + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#string", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "20", + "label" : { + "IRI-based" : "string", + "undefined" : "string" + } + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#int", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "21", + "label" : { + "IRI-based" : "int" + } + }, { + "iri" : "https://w3id.org/function/ontology#ReturnMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "ReturnMapping" + }, + "subClasses" : [ "10", "13" ], + "attributes" : [ "external" ], + "id" : "11" + }, { + "iri" : "https://w3id.org/function/ontology#ParameterMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "ParameterMapping" + }, + "subClasses" : [ "23", "17", "24" ], + "attributes" : [ "external" ], + "id" : "18" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#DefaultReturnMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "DefaultReturnMapping", + "en" : "Default Return Mapping" + }, + "comment" : { + "en" : "A default return mapping links the return value of the method to a fno:Output" + }, + "id" : "13", + "superClasses" : [ "11" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#ExceptionReturnMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "ExceptionReturnMapping", + "en" : "Exception Return Mapping" + }, + "comment" : { + "en" : "An exception return mapping links the thrown exception of the method to a fno:Output" + }, + "id" : "10", + "superClasses" : [ "11" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#PropertyParameterMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "PropertyParameterMapping", + "en" : "Property Parameter Mapping" + }, + "comment" : { + "en" : "A property parameter mapping uses a property string to map a parameter of an fno:Implementation to an fno:Parameter" + }, + "id" : "23", + "superClasses" : [ "18" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#StringMethodMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "StringMethodMapping", + "en" : "String Method Mapping" + }, + "comment" : { + "en" : "A string method mapping uses a string to map a method of an fno:Implementation to an fno:Function" + }, + "id" : "1", + "superClasses" : [ "4" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#PositionParameterMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "PositionParameterMapping", + "en" : "Position Parameter Mapping" + }, + "comment" : { + "en" : "A position parameter mapping uses a position to map a parameter of an fno:Implementation to an fno:Parameter" + }, + "id" : "24", + "superClasses" : [ "18" ] + }, { + "iri" : "http://purl.org/vocommons/voaf#Vocabulary", + "baseIri" : "http://purl.org/vocommons/voaf", + "instances" : 0, + "label" : { + "IRI-based" : "Vocabulary" + }, + "individuals" : [ { + "iri" : "https://w3id.org/function/vocabulary/mapping#", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "labels" : { } + } ], + "attributes" : [ "external" ], + "id" : "28" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "individuals" : [ { + "iri" : "https://ben.de-meester.org/#me", + "baseIri" : "https://ben.de-meester.org/", + "annotations" : { + "name" : [ { + "identifier" : "name", + "language" : "en", + "value" : "Ben De Meester", + "type" : "label" + } ], + "mbox" : [ { + "identifier" : "mbox", + "language" : "undefined", + "value" : "mailto:Ben.DeMeester@UGent.be", + "type" : "label" + } ] + }, + "labels" : { + "IRI-based" : "me", + "en" : "Ben De Meester" + } + } ], + "attributes" : [ "external" ], + "id" : "29" + }, { + "iri" : "https://w3id.org/function/ontology#Output", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "Output" + }, + "attributes" : [ "external" ], + "id" : "16" + } ], + "property" : [ { + "id" : "0", + "type" : "owl:datatypeProperty" + }, { + "id" : "8", + "type" : "rdfs:SubClassOf" + }, { + "id" : "9", + "type" : "rdfs:SubClassOf" + }, { + "id" : "12", + "type" : "rdfs:SubClassOf" + }, { + "id" : "15", + "type" : "owl:objectProperty" + }, { + "id" : "19", + "type" : "owl:datatypeProperty" + }, { + "id" : "22", + "type" : "owl:datatypeProperty" + }, { + "id" : "25", + "type" : "owl:datatypeProperty" + }, { + "id" : "26", + "type" : "owl:objectProperty" + }, { + "id" : "27", + "type" : "rdfs:SubClassOf" + }, { + "id" : "30", + "type" : "owl:datatypeProperty" + }, { + "id" : "31", + "type" : "rdfs:SubClassOf" + }, { + "id" : "32", + "type" : "rdfs:SubClassOf" + } ], + "propertyAttribute" : [ { + "iri" : "https://w3id.org/function/vocabulary/mapping#method-name", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "method-name", + "en" : "method name" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a method name to a method mapping." + }, + "attributes" : [ "datatype" ], + "id" : "0" + }, { + "range" : "4", + "domain" : "1", + "attributes" : [ "anonymous", "object" ], + "id" : "8" + }, { + "range" : "11", + "domain" : "10", + "attributes" : [ "anonymous", "object" ], + "id" : "9" + }, { + "range" : "11", + "domain" : "13", + "attributes" : [ "anonymous", "object" ], + "id" : "12" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#functionOutput", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "16", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "functionOutput", + "en" : "function output" + }, + "domain" : "7", + "comment" : { + "en" : "Connects a function output to a return mapping." + }, + "attributes" : [ "object" ], + "id" : "15" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#implementationProperty", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "implementationProperty", + "en" : "implementation property" + }, + "domain" : "6", + "comment" : { + "en" : "Connects an implementation parameter label to a parameter mapping." + }, + "attributes" : [ "datatype" ], + "id" : "19" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#repeatableParameter", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "5", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "repeatableParameter", + "en" : "repeatable parameter value" + }, + "domain" : "6", + "comment" : { + "en" : "Flag indicating whether the parameter can be repeated." + }, + "attributes" : [ "datatype" ], + "id" : "22" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#implementationParameterPosition", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "21", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "implementationParameterPosition", + "en" : "implementation parameter position" + }, + "domain" : "6", + "comment" : { + "en" : "Connects an implementation parameter position to a parameter mapping." + }, + "attributes" : [ "datatype" ], + "id" : "25" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#functionParameter", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "14", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "functionParameter", + "en" : "function parameter" + }, + "domain" : "24", + "comment" : { + "en" : "Connects a function parameter to a parameter mapping." + }, + "attributes" : [ "object" ], + "id" : "26" + }, { + "range" : "18", + "domain" : "23", + "attributes" : [ "anonymous", "object" ], + "id" : "27" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#constantParameterValue", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "20", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "constantParameterValue", + "en" : "constant parameter value" + }, + "domain" : "6", + "comment" : { + "en" : "Connects an implementation constant to a parameter value." + }, + "attributes" : [ "datatype" ], + "id" : "30" + }, { + "range" : "18", + "domain" : "24", + "attributes" : [ "anonymous", "object" ], + "id" : "31" + }, { + "range" : "18", + "domain" : "17", + "attributes" : [ "anonymous", "object" ], + "id" : "32" + } ] +} \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.2.1/webvowl/favicon.ico b/dist/vocabulary/mapping/0.2.1/webvowl/favicon.ico new file mode 100644 index 0000000..a857d51 Binary files /dev/null and b/dist/vocabulary/mapping/0.2.1/webvowl/favicon.ico differ diff --git a/dist/vocabulary/mapping/0.2.1/webvowl/index.html b/dist/vocabulary/mapping/0.2.1/webvowl/index.html new file mode 100644 index 0000000..09acde5 --- /dev/null +++ b/dist/vocabulary/mapping/0.2.1/webvowl/index.html @@ -0,0 +1,480 @@ + + + + + + + + + + + + + + + WebVOWL + + + +
    +
    + + + + + + +
    + + + + +
    +
    +
    + +
    +
    >
    + +
    + +
    + + +
    +
    +
    +

    +

    +

    +

    +

    -

    +
    +
    + + +
    +
    +
    +
    + + + +
    + + + + + + + \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.2.1/webvowl/js/d3.min.js b/dist/vocabulary/mapping/0.2.1/webvowl/js/d3.min.js new file mode 100644 index 0000000..1664873 --- /dev/null +++ b/dist/vocabulary/mapping/0.2.1/webvowl/js/d3.min.js @@ -0,0 +1,5 @@ +!function(){function n(n){return n&&(n.ownerDocument||n.document||n).documentElement}function t(n){return n&&(n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView)}function e(n,t){return t>n?-1:n>t?1:n>=t?0:NaN}function r(n){return null===n?NaN:+n}function i(n){return!isNaN(n)}function u(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)<0?r=u+1:i=u}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)>0?i=u:r=u+1}return r}}}function o(n){return n.length}function a(n){for(var t=1;n*t%1;)t*=10;return t}function l(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function c(){this._=Object.create(null)}function f(n){return(n+="")===bo||n[0]===_o?_o+n:n}function s(n){return(n+="")[0]===_o?n.slice(1):n}function h(n){return f(n)in this._}function p(n){return(n=f(n))in this._&&delete this._[n]}function g(){var n=[];for(var t in this._)n.push(s(t));return n}function v(){var n=0;for(var t in this._)++n;return n}function d(){for(var n in this._)return!1;return!0}function y(){this._=Object.create(null)}function m(n){return n}function M(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function x(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e=0,r=wo.length;r>e;++e){var i=wo[e]+t;if(i in n)return i}}function b(){}function _(){}function w(n){function t(){for(var t,r=e,i=-1,u=r.length;++ie;e++)for(var i,u=n[e],o=0,a=u.length;a>o;o++)(i=u[o])&&t(i,o,e);return n}function Z(n){return ko(n,qo),n}function V(n){var t,e;return function(r,i,u){var o,a=n[u].update,l=a.length;for(u!=e&&(e=u,t=0),i>=t&&(t=i+1);!(o=a[t])&&++t0&&(n=n.slice(0,a));var c=To.get(n);return c&&(n=c,l=B),a?t?i:r:t?b:u}function $(n,t){return function(e){var r=ao.event;ao.event=e,t[0]=this.__data__;try{n.apply(this,t)}finally{ao.event=r}}}function B(n,t){var e=$(n,t);return function(n){var t=this,r=n.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||e.call(t,n)}}function W(e){var r=".dragsuppress-"+ ++Do,i="click"+r,u=ao.select(t(e)).on("touchmove"+r,S).on("dragstart"+r,S).on("selectstart"+r,S);if(null==Ro&&(Ro="onselectstart"in e?!1:x(e.style,"userSelect")),Ro){var o=n(e).style,a=o[Ro];o[Ro]="none"}return function(n){if(u.on(r,null),Ro&&(o[Ro]=a),n){var t=function(){u.on(i,null)};u.on(i,function(){S(),t()},!0),setTimeout(t,0)}}}function J(n,e){e.changedTouches&&(e=e.changedTouches[0]);var r=n.ownerSVGElement||n;if(r.createSVGPoint){var i=r.createSVGPoint();if(0>Po){var u=t(n);if(u.scrollX||u.scrollY){r=ao.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var o=r[0][0].getScreenCTM();Po=!(o.f||o.e),r.remove()}}return Po?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),i=i.matrixTransform(n.getScreenCTM().inverse()),[i.x,i.y]}var a=n.getBoundingClientRect();return[e.clientX-a.left-n.clientLeft,e.clientY-a.top-n.clientTop]}function G(){return ao.event.changedTouches[0].identifier}function K(n){return n>0?1:0>n?-1:0}function Q(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(t[1]-n[1])*(e[0]-n[0])}function nn(n){return n>1?0:-1>n?Fo:Math.acos(n)}function tn(n){return n>1?Io:-1>n?-Io:Math.asin(n)}function en(n){return((n=Math.exp(n))-1/n)/2}function rn(n){return((n=Math.exp(n))+1/n)/2}function un(n){return((n=Math.exp(2*n))-1)/(n+1)}function on(n){return(n=Math.sin(n/2))*n}function an(){}function ln(n,t,e){return this instanceof ln?(this.h=+n,this.s=+t,void(this.l=+e)):arguments.length<2?n instanceof ln?new ln(n.h,n.s,n.l):_n(""+n,wn,ln):new ln(n,t,e)}function cn(n,t,e){function r(n){return n>360?n-=360:0>n&&(n+=360),60>n?u+(o-u)*n/60:180>n?o:240>n?u+(o-u)*(240-n)/60:u}function i(n){return Math.round(255*r(n))}var u,o;return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:0>t?0:t>1?1:t,e=0>e?0:e>1?1:e,o=.5>=e?e*(1+t):e+t-e*t,u=2*e-o,new mn(i(n+120),i(n),i(n-120))}function fn(n,t,e){return this instanceof fn?(this.h=+n,this.c=+t,void(this.l=+e)):arguments.length<2?n instanceof fn?new fn(n.h,n.c,n.l):n instanceof hn?gn(n.l,n.a,n.b):gn((n=Sn((n=ao.rgb(n)).r,n.g,n.b)).l,n.a,n.b):new fn(n,t,e)}function sn(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new hn(e,Math.cos(n*=Yo)*t,Math.sin(n)*t)}function hn(n,t,e){return this instanceof hn?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof hn?new hn(n.l,n.a,n.b):n instanceof fn?sn(n.h,n.c,n.l):Sn((n=mn(n)).r,n.g,n.b):new hn(n,t,e)}function pn(n,t,e){var r=(n+16)/116,i=r+t/500,u=r-e/200;return i=vn(i)*na,r=vn(r)*ta,u=vn(u)*ea,new mn(yn(3.2404542*i-1.5371385*r-.4985314*u),yn(-.969266*i+1.8760108*r+.041556*u),yn(.0556434*i-.2040259*r+1.0572252*u))}function gn(n,t,e){return n>0?new fn(Math.atan2(e,t)*Zo,Math.sqrt(t*t+e*e),n):new fn(NaN,NaN,n)}function vn(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function dn(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function yn(n){return Math.round(255*(.00304>=n?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function mn(n,t,e){return this instanceof mn?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof mn?new mn(n.r,n.g,n.b):_n(""+n,mn,cn):new mn(n,t,e)}function Mn(n){return new mn(n>>16,n>>8&255,255&n)}function xn(n){return Mn(n)+""}function bn(n){return 16>n?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function _n(n,t,e){var r,i,u,o=0,a=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(Nn(i[0]),Nn(i[1]),Nn(i[2]))}return(u=ua.get(n))?t(u.r,u.g,u.b):(null==n||"#"!==n.charAt(0)||isNaN(u=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&u)>>4,o=o>>4|o,a=240&u,a=a>>4|a,l=15&u,l=l<<4|l):7===n.length&&(o=(16711680&u)>>16,a=(65280&u)>>8,l=255&u)),t(o,a,l))}function wn(n,t,e){var r,i,u=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-u,l=(o+u)/2;return a?(i=.5>l?a/(o+u):a/(2-o-u),r=n==o?(t-e)/a+(e>t?6:0):t==o?(e-n)/a+2:(n-t)/a+4,r*=60):(r=NaN,i=l>0&&1>l?0:r),new ln(r,i,l)}function Sn(n,t,e){n=kn(n),t=kn(t),e=kn(e);var r=dn((.4124564*n+.3575761*t+.1804375*e)/na),i=dn((.2126729*n+.7151522*t+.072175*e)/ta),u=dn((.0193339*n+.119192*t+.9503041*e)/ea);return hn(116*i-16,500*(r-i),200*(i-u))}function kn(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Nn(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}function En(n){return"function"==typeof n?n:function(){return n}}function An(n){return function(t,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=null),Cn(t,e,n,r)}}function Cn(n,t,e,r){function i(){var n,t=l.status;if(!t&&Ln(l)||t>=200&&300>t||304===t){try{n=e.call(u,l)}catch(r){return void o.error.call(u,r)}o.load.call(u,n)}else o.error.call(u,l)}var u={},o=ao.dispatch("beforesend","progress","load","error"),a={},l=new XMLHttpRequest,c=null;return!this.XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(n)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=i:l.onreadystatechange=function(){l.readyState>3&&i()},l.onprogress=function(n){var t=ao.event;ao.event=n;try{o.progress.call(u,l)}finally{ao.event=t}},u.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?a[n]:(null==t?delete a[n]:a[n]=t+"",u)},u.mimeType=function(n){return arguments.length?(t=null==n?null:n+"",u):t},u.responseType=function(n){return arguments.length?(c=n,u):c},u.response=function(n){return e=n,u},["get","post"].forEach(function(n){u[n]=function(){return u.send.apply(u,[n].concat(co(arguments)))}}),u.send=function(e,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),l.open(e,n,!0),null==t||"accept"in a||(a.accept=t+",*/*"),l.setRequestHeader)for(var f in a)l.setRequestHeader(f,a[f]);return null!=t&&l.overrideMimeType&&l.overrideMimeType(t),null!=c&&(l.responseType=c),null!=i&&u.on("error",i).on("load",function(n){i(null,n)}),o.beforesend.call(u,l),l.send(null==r?null:r),u},u.abort=function(){return l.abort(),u},ao.rebind(u,o,"on"),null==r?u:u.get(zn(r))}function zn(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}function Ln(n){var t=n.responseType;return t&&"text"!==t?n.response:n.responseText}function qn(n,t,e){var r=arguments.length;2>r&&(t=0),3>r&&(e=Date.now());var i=e+t,u={c:n,t:i,n:null};return aa?aa.n=u:oa=u,aa=u,la||(ca=clearTimeout(ca),la=1,fa(Tn)),u}function Tn(){var n=Rn(),t=Dn()-n;t>24?(isFinite(t)&&(clearTimeout(ca),ca=setTimeout(Tn,t)),la=0):(la=1,fa(Tn))}function Rn(){for(var n=Date.now(),t=oa;t;)n>=t.t&&t.c(n-t.t)&&(t.c=null),t=t.n;return n}function Dn(){for(var n,t=oa,e=1/0;t;)t.c?(t.t8?function(n){return n/e}:function(n){return n*e},symbol:n}}function jn(n){var t=n.decimal,e=n.thousands,r=n.grouping,i=n.currency,u=r&&e?function(n,t){for(var i=n.length,u=[],o=0,a=r[0],l=0;i>0&&a>0&&(l+a+1>t&&(a=Math.max(1,t-l)),u.push(n.substring(i-=a,i+a)),!((l+=a+1)>t));)a=r[o=(o+1)%r.length];return u.reverse().join(e)}:m;return function(n){var e=ha.exec(n),r=e[1]||" ",o=e[2]||">",a=e[3]||"-",l=e[4]||"",c=e[5],f=+e[6],s=e[7],h=e[8],p=e[9],g=1,v="",d="",y=!1,m=!0;switch(h&&(h=+h.substring(1)),(c||"0"===r&&"="===o)&&(c=r="0",o="="),p){case"n":s=!0,p="g";break;case"%":g=100,d="%",p="f";break;case"p":g=100,d="%",p="r";break;case"b":case"o":case"x":case"X":"#"===l&&(v="0"+p.toLowerCase());case"c":m=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===l&&(v=i[0],d=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=pa.get(p)||Fn;var M=c&&s;return function(n){var e=d;if(y&&n%1)return"";var i=0>n||0===n&&0>1/n?(n=-n,"-"):"-"===a?"":a;if(0>g){var l=ao.formatPrefix(n,h);n=l.scale(n),e=l.symbol+d}else n*=g;n=p(n,h);var x,b,_=n.lastIndexOf(".");if(0>_){var w=m?n.lastIndexOf("e"):-1;0>w?(x=n,b=""):(x=n.substring(0,w),b=n.substring(w))}else x=n.substring(0,_),b=t+n.substring(_+1);!c&&s&&(x=u(x,1/0));var S=v.length+x.length+b.length+(M?0:i.length),k=f>S?new Array(S=f-S+1).join(r):"";return M&&(x=u(k+x,k.length?f-b.length:1/0)),i+=v,n=x+b,("<"===o?i+n+k:">"===o?k+i+n:"^"===o?k.substring(0,S>>=1)+i+n+k.substring(S):i+(M?n:k+n))+e}}}function Fn(n){return n+""}function Hn(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function On(n,t,e){function r(t){var e=n(t),r=u(e,1);return r-t>t-e?e:r}function i(e){return t(e=n(new va(e-1)),1),e}function u(n,e){return t(n=new va(+n),e),n}function o(n,r,u){var o=i(n),a=[];if(u>1)for(;r>o;)e(o)%u||a.push(new Date(+o)),t(o,1);else for(;r>o;)a.push(new Date(+o)),t(o,1);return a}function a(n,t,e){try{va=Hn;var r=new Hn;return r._=n,o(r,t,e)}finally{va=Date}}n.floor=n,n.round=r,n.ceil=i,n.offset=u,n.range=o;var l=n.utc=In(n);return l.floor=l,l.round=In(r),l.ceil=In(i),l.offset=In(u),l.range=a,n}function In(n){return function(t,e){try{va=Hn;var r=new Hn;return r._=t,n(r,e)._}finally{va=Date}}}function Yn(n){function t(n){function t(t){for(var e,i,u,o=[],a=-1,l=0;++aa;){if(r>=c)return-1;if(i=t.charCodeAt(a++),37===i){if(o=t.charAt(a++),u=C[o in ya?t.charAt(a++):o],!u||(r=u(n,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function r(n,t,e){_.lastIndex=0;var r=_.exec(t.slice(e));return r?(n.w=w.get(r[0].toLowerCase()),e+r[0].length):-1}function i(n,t,e){x.lastIndex=0;var r=x.exec(t.slice(e));return r?(n.w=b.get(r[0].toLowerCase()),e+r[0].length):-1}function u(n,t,e){N.lastIndex=0;var r=N.exec(t.slice(e));return r?(n.m=E.get(r[0].toLowerCase()),e+r[0].length):-1}function o(n,t,e){S.lastIndex=0;var r=S.exec(t.slice(e));return r?(n.m=k.get(r[0].toLowerCase()),e+r[0].length):-1}function a(n,t,r){return e(n,A.c.toString(),t,r)}function l(n,t,r){return e(n,A.x.toString(),t,r)}function c(n,t,r){return e(n,A.X.toString(),t,r)}function f(n,t,e){var r=M.get(t.slice(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)}var s=n.dateTime,h=n.date,p=n.time,g=n.periods,v=n.days,d=n.shortDays,y=n.months,m=n.shortMonths;t.utc=function(n){function e(n){try{va=Hn;var t=new va;return t._=n,r(t)}finally{va=Date}}var r=t(n);return e.parse=function(n){try{va=Hn;var t=r.parse(n);return t&&t._}finally{va=Date}},e.toString=r.toString,e},t.multi=t.utc.multi=ct;var M=ao.map(),x=Vn(v),b=Xn(v),_=Vn(d),w=Xn(d),S=Vn(y),k=Xn(y),N=Vn(m),E=Xn(m);g.forEach(function(n,t){M.set(n.toLowerCase(),t)});var A={a:function(n){return d[n.getDay()]},A:function(n){return v[n.getDay()]},b:function(n){return m[n.getMonth()]},B:function(n){return y[n.getMonth()]},c:t(s),d:function(n,t){return Zn(n.getDate(),t,2)},e:function(n,t){return Zn(n.getDate(),t,2)},H:function(n,t){return Zn(n.getHours(),t,2)},I:function(n,t){return Zn(n.getHours()%12||12,t,2)},j:function(n,t){return Zn(1+ga.dayOfYear(n),t,3)},L:function(n,t){return Zn(n.getMilliseconds(),t,3)},m:function(n,t){return Zn(n.getMonth()+1,t,2)},M:function(n,t){return Zn(n.getMinutes(),t,2)},p:function(n){return g[+(n.getHours()>=12)]},S:function(n,t){return Zn(n.getSeconds(),t,2)},U:function(n,t){return Zn(ga.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return Zn(ga.mondayOfYear(n),t,2)},x:t(h),X:t(p),y:function(n,t){return Zn(n.getFullYear()%100,t,2)},Y:function(n,t){return Zn(n.getFullYear()%1e4,t,4)},Z:at,"%":function(){return"%"}},C={a:r,A:i,b:u,B:o,c:a,d:tt,e:tt,H:rt,I:rt,j:et,L:ot,m:nt,M:it,p:f,S:ut,U:Bn,w:$n,W:Wn,x:l,X:c,y:Gn,Y:Jn,Z:Kn,"%":lt};return t}function Zn(n,t,e){var r=0>n?"-":"",i=(r?-n:n)+"",u=i.length;return r+(e>u?new Array(e-u+1).join(t)+i:i)}function Vn(n){return new RegExp("^(?:"+n.map(ao.requote).join("|")+")","i")}function Xn(n){for(var t=new c,e=-1,r=n.length;++e68?1900:2e3)}function nt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function tt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function et(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function rt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function it(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function ut(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function ot(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function at(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=xo(t)/60|0,i=xo(t)%60;return e+Zn(r,"0",2)+Zn(i,"0",2)}function lt(n,t,e){Ma.lastIndex=0;var r=Ma.exec(t.slice(e,e+1));return r?e+r[0].length:-1}function ct(n){for(var t=n.length,e=-1;++e=0?1:-1,a=o*e,l=Math.cos(t),c=Math.sin(t),f=u*c,s=i*l+f*Math.cos(a),h=f*o*Math.sin(a);ka.add(Math.atan2(h,s)),r=n,i=l,u=c}var t,e,r,i,u;Na.point=function(o,a){Na.point=n,r=(t=o)*Yo,i=Math.cos(a=(e=a)*Yo/2+Fo/4),u=Math.sin(a)},Na.lineEnd=function(){n(t,e)}}function dt(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function yt(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function mt(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function Mt(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function xt(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function bt(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function _t(n){return[Math.atan2(n[1],n[0]),tn(n[2])]}function wt(n,t){return xo(n[0]-t[0])a;++a)i.point((e=n[a])[0],e[1]);return void i.lineEnd()}var l=new Tt(e,n,null,!0),c=new Tt(e,null,l,!1);l.o=c,u.push(l),o.push(c),l=new Tt(r,n,null,!1),c=new Tt(r,null,l,!0),l.o=c,u.push(l),o.push(c)}}),o.sort(t),qt(u),qt(o),u.length){for(var a=0,l=e,c=o.length;c>a;++a)o[a].e=l=!l;for(var f,s,h=u[0];;){for(var p=h,g=!0;p.v;)if((p=p.n)===h)return;f=p.z,i.lineStart();do{if(p.v=p.o.v=!0,p.e){if(g)for(var a=0,c=f.length;c>a;++a)i.point((s=f[a])[0],s[1]);else r(p.x,p.n.x,1,i);p=p.n}else{if(g){f=p.p.z;for(var a=f.length-1;a>=0;--a)i.point((s=f[a])[0],s[1])}else r(p.x,p.p.x,-1,i);p=p.p}p=p.o,f=p.z,g=!g}while(!p.v);i.lineEnd()}}}function qt(n){if(t=n.length){for(var t,e,r=0,i=n[0];++r0){for(b||(u.polygonStart(),b=!0),u.lineStart();++o1&&2&t&&e.push(e.pop().concat(e.shift())),p.push(e.filter(Dt))}var p,g,v,d=t(u),y=i.invert(r[0],r[1]),m={point:o,lineStart:l,lineEnd:c,polygonStart:function(){m.point=f,m.lineStart=s,m.lineEnd=h,p=[],g=[]},polygonEnd:function(){m.point=o,m.lineStart=l,m.lineEnd=c,p=ao.merge(p);var n=Ot(y,g);p.length?(b||(u.polygonStart(),b=!0),Lt(p,Ut,n,e,u)):n&&(b||(u.polygonStart(),b=!0),u.lineStart(),e(null,null,1,u),u.lineEnd()),b&&(u.polygonEnd(),b=!1),p=g=null},sphere:function(){u.polygonStart(),u.lineStart(),e(null,null,1,u),u.lineEnd(),u.polygonEnd()}},M=Pt(),x=t(M),b=!1;return m}}function Dt(n){return n.length>1}function Pt(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:b,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Ut(n,t){return((n=n.x)[0]<0?n[1]-Io-Uo:Io-n[1])-((t=t.x)[0]<0?t[1]-Io-Uo:Io-t[1])}function jt(n){var t,e=NaN,r=NaN,i=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(u,o){var a=u>0?Fo:-Fo,l=xo(u-e);xo(l-Fo)0?Io:-Io),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(a,r),n.point(u,r),t=0):i!==a&&l>=Fo&&(xo(e-i)Uo?Math.atan((Math.sin(t)*(u=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(t))*Math.sin(n))/(i*u*o)):(t+r)/2}function Ht(n,t,e,r){var i;if(null==n)i=e*Io,r.point(-Fo,i),r.point(0,i),r.point(Fo,i),r.point(Fo,0),r.point(Fo,-i),r.point(0,-i),r.point(-Fo,-i),r.point(-Fo,0),r.point(-Fo,i);else if(xo(n[0]-t[0])>Uo){var u=n[0]a;++a){var c=t[a],f=c.length;if(f)for(var s=c[0],h=s[0],p=s[1]/2+Fo/4,g=Math.sin(p),v=Math.cos(p),d=1;;){d===f&&(d=0),n=c[d];var y=n[0],m=n[1]/2+Fo/4,M=Math.sin(m),x=Math.cos(m),b=y-h,_=b>=0?1:-1,w=_*b,S=w>Fo,k=g*M;if(ka.add(Math.atan2(k*_*Math.sin(w),v*x+k*Math.cos(w))),u+=S?b+_*Ho:b,S^h>=e^y>=e){var N=mt(dt(s),dt(n));bt(N);var E=mt(i,N);bt(E);var A=(S^b>=0?-1:1)*tn(E[2]);(r>A||r===A&&(N[0]||N[1]))&&(o+=S^b>=0?1:-1)}if(!d++)break;h=y,g=M,v=x,s=n}}return(-Uo>u||Uo>u&&-Uo>ka)^1&o}function It(n){function t(n,t){return Math.cos(n)*Math.cos(t)>u}function e(n){var e,u,l,c,f;return{lineStart:function(){c=l=!1,f=1},point:function(s,h){var p,g=[s,h],v=t(s,h),d=o?v?0:i(s,h):v?i(s+(0>s?Fo:-Fo),h):0;if(!e&&(c=l=v)&&n.lineStart(),v!==l&&(p=r(e,g),(wt(e,p)||wt(g,p))&&(g[0]+=Uo,g[1]+=Uo,v=t(g[0],g[1]))),v!==l)f=0,v?(n.lineStart(),p=r(g,e),n.point(p[0],p[1])):(p=r(e,g),n.point(p[0],p[1]),n.lineEnd()),e=p;else if(a&&e&&o^v){var y;d&u||!(y=r(g,e,!0))||(f=0,o?(n.lineStart(),n.point(y[0][0],y[0][1]),n.point(y[1][0],y[1][1]),n.lineEnd()):(n.point(y[1][0],y[1][1]),n.lineEnd(),n.lineStart(),n.point(y[0][0],y[0][1])))}!v||e&&wt(e,g)||n.point(g[0],g[1]),e=g,l=v,u=d},lineEnd:function(){l&&n.lineEnd(),e=null},clean:function(){return f|(c&&l)<<1}}}function r(n,t,e){var r=dt(n),i=dt(t),o=[1,0,0],a=mt(r,i),l=yt(a,a),c=a[0],f=l-c*c;if(!f)return!e&&n;var s=u*l/f,h=-u*c/f,p=mt(o,a),g=xt(o,s),v=xt(a,h);Mt(g,v);var d=p,y=yt(g,d),m=yt(d,d),M=y*y-m*(yt(g,g)-1);if(!(0>M)){var x=Math.sqrt(M),b=xt(d,(-y-x)/m);if(Mt(b,g),b=_t(b),!e)return b;var _,w=n[0],S=t[0],k=n[1],N=t[1];w>S&&(_=w,w=S,S=_);var E=S-w,A=xo(E-Fo)E;if(!A&&k>N&&(_=k,k=N,N=_),C?A?k+N>0^b[1]<(xo(b[0]-w)Fo^(w<=b[0]&&b[0]<=S)){var z=xt(d,(-y+x)/m);return Mt(z,g),[b,_t(z)]}}}function i(t,e){var r=o?n:Fo-n,i=0;return-r>t?i|=1:t>r&&(i|=2),-r>e?i|=4:e>r&&(i|=8),i}var u=Math.cos(n),o=u>0,a=xo(u)>Uo,l=ve(n,6*Yo);return Rt(t,e,l,o?[0,-n]:[-Fo,n-Fo])}function Yt(n,t,e,r){return function(i){var u,o=i.a,a=i.b,l=o.x,c=o.y,f=a.x,s=a.y,h=0,p=1,g=f-l,v=s-c;if(u=n-l,g||!(u>0)){if(u/=g,0>g){if(h>u)return;p>u&&(p=u)}else if(g>0){if(u>p)return;u>h&&(h=u)}if(u=e-l,g||!(0>u)){if(u/=g,0>g){if(u>p)return;u>h&&(h=u)}else if(g>0){if(h>u)return;p>u&&(p=u)}if(u=t-c,v||!(u>0)){if(u/=v,0>v){if(h>u)return;p>u&&(p=u)}else if(v>0){if(u>p)return;u>h&&(h=u)}if(u=r-c,v||!(0>u)){if(u/=v,0>v){if(u>p)return;u>h&&(h=u)}else if(v>0){if(h>u)return;p>u&&(p=u)}return h>0&&(i.a={x:l+h*g,y:c+h*v}),1>p&&(i.b={x:l+p*g,y:c+p*v}),i}}}}}}function Zt(n,t,e,r){function i(r,i){return xo(r[0]-n)0?0:3:xo(r[0]-e)0?2:1:xo(r[1]-t)0?1:0:i>0?3:2}function u(n,t){return o(n.x,t.x)}function o(n,t){var e=i(n,1),r=i(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}return function(a){function l(n){for(var t=0,e=d.length,r=n[1],i=0;e>i;++i)for(var u,o=1,a=d[i],l=a.length,c=a[0];l>o;++o)u=a[o],c[1]<=r?u[1]>r&&Q(c,u,n)>0&&++t:u[1]<=r&&Q(c,u,n)<0&&--t,c=u;return 0!==t}function c(u,a,l,c){var f=0,s=0;if(null==u||(f=i(u,l))!==(s=i(a,l))||o(u,a)<0^l>0){do c.point(0===f||3===f?n:e,f>1?r:t);while((f=(f+l+4)%4)!==s)}else c.point(a[0],a[1])}function f(i,u){return i>=n&&e>=i&&u>=t&&r>=u}function s(n,t){f(n,t)&&a.point(n,t)}function h(){C.point=g,d&&d.push(y=[]),S=!0,w=!1,b=_=NaN}function p(){v&&(g(m,M),x&&w&&E.rejoin(),v.push(E.buffer())),C.point=s,w&&a.lineEnd()}function g(n,t){n=Math.max(-Ha,Math.min(Ha,n)),t=Math.max(-Ha,Math.min(Ha,t));var e=f(n,t);if(d&&y.push([n,t]),S)m=n,M=t,x=e,S=!1,e&&(a.lineStart(),a.point(n,t));else if(e&&w)a.point(n,t);else{var r={a:{x:b,y:_},b:{x:n,y:t}};A(r)?(w||(a.lineStart(),a.point(r.a.x,r.a.y)),a.point(r.b.x,r.b.y),e||a.lineEnd(),k=!1):e&&(a.lineStart(),a.point(n,t),k=!1)}b=n,_=t,w=e}var v,d,y,m,M,x,b,_,w,S,k,N=a,E=Pt(),A=Yt(n,t,e,r),C={point:s,lineStart:h,lineEnd:p,polygonStart:function(){a=E,v=[],d=[],k=!0},polygonEnd:function(){a=N,v=ao.merge(v);var t=l([n,r]),e=k&&t,i=v.length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),c(null,null,1,a),a.lineEnd()),i&&Lt(v,u,t,c,a),a.polygonEnd()),v=d=y=null}};return C}}function Vt(n){var t=0,e=Fo/3,r=ae(n),i=r(t,e);return i.parallels=function(n){return arguments.length?r(t=n[0]*Fo/180,e=n[1]*Fo/180):[t/Fo*180,e/Fo*180]},i}function Xt(n,t){function e(n,t){var e=Math.sqrt(u-2*i*Math.sin(t))/i;return[e*Math.sin(n*=i),o-e*Math.cos(n)]}var r=Math.sin(n),i=(r+Math.sin(t))/2,u=1+r*(2*i-r),o=Math.sqrt(u)/i;return e.invert=function(n,t){var e=o-t;return[Math.atan2(n,e)/i,tn((u-(n*n+e*e)*i*i)/(2*i))]},e}function $t(){function n(n,t){Ia+=i*n-r*t,r=n,i=t}var t,e,r,i;$a.point=function(u,o){$a.point=n,t=r=u,e=i=o},$a.lineEnd=function(){n(t,e)}}function Bt(n,t){Ya>n&&(Ya=n),n>Va&&(Va=n),Za>t&&(Za=t),t>Xa&&(Xa=t)}function Wt(){function n(n,t){o.push("M",n,",",t,u)}function t(n,t){o.push("M",n,",",t),a.point=e}function e(n,t){o.push("L",n,",",t)}function r(){a.point=n}function i(){o.push("Z")}var u=Jt(4.5),o=[],a={point:n,lineStart:function(){a.point=t},lineEnd:r,polygonStart:function(){a.lineEnd=i},polygonEnd:function(){a.lineEnd=r,a.point=n},pointRadius:function(n){return u=Jt(n),a},result:function(){if(o.length){var n=o.join("");return o=[],n}}};return a}function Jt(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function Gt(n,t){Ca+=n,za+=t,++La}function Kt(){function n(n,r){var i=n-t,u=r-e,o=Math.sqrt(i*i+u*u);qa+=o*(t+n)/2,Ta+=o*(e+r)/2,Ra+=o,Gt(t=n,e=r)}var t,e;Wa.point=function(r,i){Wa.point=n,Gt(t=r,e=i)}}function Qt(){Wa.point=Gt}function ne(){function n(n,t){var e=n-r,u=t-i,o=Math.sqrt(e*e+u*u);qa+=o*(r+n)/2,Ta+=o*(i+t)/2,Ra+=o,o=i*n-r*t,Da+=o*(r+n),Pa+=o*(i+t),Ua+=3*o,Gt(r=n,i=t)}var t,e,r,i;Wa.point=function(u,o){Wa.point=n,Gt(t=r=u,e=i=o)},Wa.lineEnd=function(){n(t,e)}}function te(n){function t(t,e){n.moveTo(t+o,e),n.arc(t,e,o,0,Ho)}function e(t,e){n.moveTo(t,e),a.point=r}function r(t,e){n.lineTo(t,e)}function i(){a.point=t}function u(){n.closePath()}var o=4.5,a={point:t,lineStart:function(){a.point=e},lineEnd:i,polygonStart:function(){a.lineEnd=u},polygonEnd:function(){a.lineEnd=i,a.point=t},pointRadius:function(n){return o=n,a},result:b};return a}function ee(n){function t(n){return(a?r:e)(n)}function e(t){return ue(t,function(e,r){e=n(e,r),t.point(e[0],e[1])})}function r(t){function e(e,r){e=n(e,r),t.point(e[0],e[1])}function r(){M=NaN,S.point=u,t.lineStart()}function u(e,r){var u=dt([e,r]),o=n(e,r);i(M,x,m,b,_,w,M=o[0],x=o[1],m=e,b=u[0],_=u[1],w=u[2],a,t),t.point(M,x)}function o(){S.point=e,t.lineEnd()}function l(){ +r(),S.point=c,S.lineEnd=f}function c(n,t){u(s=n,h=t),p=M,g=x,v=b,d=_,y=w,S.point=u}function f(){i(M,x,m,b,_,w,p,g,s,v,d,y,a,t),S.lineEnd=o,o()}var s,h,p,g,v,d,y,m,M,x,b,_,w,S={point:e,lineStart:r,lineEnd:o,polygonStart:function(){t.polygonStart(),S.lineStart=l},polygonEnd:function(){t.polygonEnd(),S.lineStart=r}};return S}function i(t,e,r,a,l,c,f,s,h,p,g,v,d,y){var m=f-t,M=s-e,x=m*m+M*M;if(x>4*u&&d--){var b=a+p,_=l+g,w=c+v,S=Math.sqrt(b*b+_*_+w*w),k=Math.asin(w/=S),N=xo(xo(w)-1)u||xo((m*z+M*L)/x-.5)>.3||o>a*p+l*g+c*v)&&(i(t,e,r,a,l,c,A,C,N,b/=S,_/=S,w,d,y),y.point(A,C),i(A,C,N,b,_,w,f,s,h,p,g,v,d,y))}}var u=.5,o=Math.cos(30*Yo),a=16;return t.precision=function(n){return arguments.length?(a=(u=n*n)>0&&16,t):Math.sqrt(u)},t}function re(n){var t=ee(function(t,e){return n([t*Zo,e*Zo])});return function(n){return le(t(n))}}function ie(n){this.stream=n}function ue(n,t){return{point:t,sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}function oe(n){return ae(function(){return n})()}function ae(n){function t(n){return n=a(n[0]*Yo,n[1]*Yo),[n[0]*h+l,c-n[1]*h]}function e(n){return n=a.invert((n[0]-l)/h,(c-n[1])/h),n&&[n[0]*Zo,n[1]*Zo]}function r(){a=Ct(o=se(y,M,x),u);var n=u(v,d);return l=p-n[0]*h,c=g+n[1]*h,i()}function i(){return f&&(f.valid=!1,f=null),t}var u,o,a,l,c,f,s=ee(function(n,t){return n=u(n,t),[n[0]*h+l,c-n[1]*h]}),h=150,p=480,g=250,v=0,d=0,y=0,M=0,x=0,b=Fa,_=m,w=null,S=null;return t.stream=function(n){return f&&(f.valid=!1),f=le(b(o,s(_(n)))),f.valid=!0,f},t.clipAngle=function(n){return arguments.length?(b=null==n?(w=n,Fa):It((w=+n)*Yo),i()):w},t.clipExtent=function(n){return arguments.length?(S=n,_=n?Zt(n[0][0],n[0][1],n[1][0],n[1][1]):m,i()):S},t.scale=function(n){return arguments.length?(h=+n,r()):h},t.translate=function(n){return arguments.length?(p=+n[0],g=+n[1],r()):[p,g]},t.center=function(n){return arguments.length?(v=n[0]%360*Yo,d=n[1]%360*Yo,r()):[v*Zo,d*Zo]},t.rotate=function(n){return arguments.length?(y=n[0]%360*Yo,M=n[1]%360*Yo,x=n.length>2?n[2]%360*Yo:0,r()):[y*Zo,M*Zo,x*Zo]},ao.rebind(t,s,"precision"),function(){return u=n.apply(this,arguments),t.invert=u.invert&&e,r()}}function le(n){return ue(n,function(t,e){n.point(t*Yo,e*Yo)})}function ce(n,t){return[n,t]}function fe(n,t){return[n>Fo?n-Ho:-Fo>n?n+Ho:n,t]}function se(n,t,e){return n?t||e?Ct(pe(n),ge(t,e)):pe(n):t||e?ge(t,e):fe}function he(n){return function(t,e){return t+=n,[t>Fo?t-Ho:-Fo>t?t+Ho:t,e]}}function pe(n){var t=he(n);return t.invert=he(-n),t}function ge(n,t){function e(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*r+a*i;return[Math.atan2(l*u-f*o,a*r-c*i),tn(f*u+l*o)]}var r=Math.cos(n),i=Math.sin(n),u=Math.cos(t),o=Math.sin(t);return e.invert=function(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*u-l*o;return[Math.atan2(l*u+c*o,a*r+f*i),tn(f*r-a*i)]},e}function ve(n,t){var e=Math.cos(n),r=Math.sin(n);return function(i,u,o,a){var l=o*t;null!=i?(i=de(e,i),u=de(e,u),(o>0?u>i:i>u)&&(i+=o*Ho)):(i=n+o*Ho,u=n-.5*l);for(var c,f=i;o>0?f>u:u>f;f-=l)a.point((c=_t([e,-r*Math.cos(f),-r*Math.sin(f)]))[0],c[1])}}function de(n,t){var e=dt(t);e[0]-=n,bt(e);var r=nn(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Uo)%(2*Math.PI)}function ye(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[n,t]})}}function me(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[t,n]})}}function Me(n){return n.source}function xe(n){return n.target}function be(n,t,e,r){var i=Math.cos(t),u=Math.sin(t),o=Math.cos(r),a=Math.sin(r),l=i*Math.cos(n),c=i*Math.sin(n),f=o*Math.cos(e),s=o*Math.sin(e),h=2*Math.asin(Math.sqrt(on(r-t)+i*o*on(e-n))),p=1/Math.sin(h),g=h?function(n){var t=Math.sin(n*=h)*p,e=Math.sin(h-n)*p,r=e*l+t*f,i=e*c+t*s,o=e*u+t*a;return[Math.atan2(i,r)*Zo,Math.atan2(o,Math.sqrt(r*r+i*i))*Zo]}:function(){return[n*Zo,t*Zo]};return g.distance=h,g}function _e(){function n(n,i){var u=Math.sin(i*=Yo),o=Math.cos(i),a=xo((n*=Yo)-t),l=Math.cos(a);Ja+=Math.atan2(Math.sqrt((a=o*Math.sin(a))*a+(a=r*u-e*o*l)*a),e*u+r*o*l),t=n,e=u,r=o}var t,e,r;Ga.point=function(i,u){t=i*Yo,e=Math.sin(u*=Yo),r=Math.cos(u),Ga.point=n},Ga.lineEnd=function(){Ga.point=Ga.lineEnd=b}}function we(n,t){function e(t,e){var r=Math.cos(t),i=Math.cos(e),u=n(r*i);return[u*i*Math.sin(t),u*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),i=t(r),u=Math.sin(i),o=Math.cos(i);return[Math.atan2(n*u,r*o),Math.asin(r&&e*u/r)]},e}function Se(n,t){function e(n,t){o>0?-Io+Uo>t&&(t=-Io+Uo):t>Io-Uo&&(t=Io-Uo);var e=o/Math.pow(i(t),u);return[e*Math.sin(u*n),o-e*Math.cos(u*n)]}var r=Math.cos(n),i=function(n){return Math.tan(Fo/4+n/2)},u=n===t?Math.sin(n):Math.log(r/Math.cos(t))/Math.log(i(t)/i(n)),o=r*Math.pow(i(n),u)/u;return u?(e.invert=function(n,t){var e=o-t,r=K(u)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/u,2*Math.atan(Math.pow(o/r,1/u))-Io]},e):Ne}function ke(n,t){function e(n,t){var e=u-t;return[e*Math.sin(i*n),u-e*Math.cos(i*n)]}var r=Math.cos(n),i=n===t?Math.sin(n):(r-Math.cos(t))/(t-n),u=r/i+n;return xo(i)i;i++){for(;r>1&&Q(n[e[r-2]],n[e[r-1]],n[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function qe(n,t){return n[0]-t[0]||n[1]-t[1]}function Te(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function Re(n,t,e,r){var i=n[0],u=e[0],o=t[0]-i,a=r[0]-u,l=n[1],c=e[1],f=t[1]-l,s=r[1]-c,h=(a*(l-c)-s*(i-u))/(s*o-a*f);return[i+h*o,l+h*f]}function De(n){var t=n[0],e=n[n.length-1];return!(t[0]-e[0]||t[1]-e[1])}function Pe(){rr(this),this.edge=this.site=this.circle=null}function Ue(n){var t=cl.pop()||new Pe;return t.site=n,t}function je(n){Be(n),ol.remove(n),cl.push(n),rr(n)}function Fe(n){var t=n.circle,e=t.x,r=t.cy,i={x:e,y:r},u=n.P,o=n.N,a=[n];je(n);for(var l=u;l.circle&&xo(e-l.circle.x)f;++f)c=a[f],l=a[f-1],nr(c.edge,l.site,c.site,i);l=a[0],c=a[s-1],c.edge=Ke(l.site,c.site,null,i),$e(l),$e(c)}function He(n){for(var t,e,r,i,u=n.x,o=n.y,a=ol._;a;)if(r=Oe(a,o)-u,r>Uo)a=a.L;else{if(i=u-Ie(a,o),!(i>Uo)){r>-Uo?(t=a.P,e=a):i>-Uo?(t=a,e=a.N):t=e=a;break}if(!a.R){t=a;break}a=a.R}var l=Ue(n);if(ol.insert(t,l),t||e){if(t===e)return Be(t),e=Ue(t.site),ol.insert(l,e),l.edge=e.edge=Ke(t.site,l.site),$e(t),void $e(e);if(!e)return void(l.edge=Ke(t.site,l.site));Be(t),Be(e);var c=t.site,f=c.x,s=c.y,h=n.x-f,p=n.y-s,g=e.site,v=g.x-f,d=g.y-s,y=2*(h*d-p*v),m=h*h+p*p,M=v*v+d*d,x={x:(d*m-p*M)/y+f,y:(h*M-v*m)/y+s};nr(e.edge,c,g,x),l.edge=Ke(c,n,null,x),e.edge=Ke(n,g,null,x),$e(t),$e(e)}}function Oe(n,t){var e=n.site,r=e.x,i=e.y,u=i-t;if(!u)return r;var o=n.P;if(!o)return-(1/0);e=o.site;var a=e.x,l=e.y,c=l-t;if(!c)return a;var f=a-r,s=1/u-1/c,h=f/c;return s?(-h+Math.sqrt(h*h-2*s*(f*f/(-2*c)-l+c/2+i-u/2)))/s+r:(r+a)/2}function Ie(n,t){var e=n.N;if(e)return Oe(e,t);var r=n.site;return r.y===t?r.x:1/0}function Ye(n){this.site=n,this.edges=[]}function Ze(n){for(var t,e,r,i,u,o,a,l,c,f,s=n[0][0],h=n[1][0],p=n[0][1],g=n[1][1],v=ul,d=v.length;d--;)if(u=v[d],u&&u.prepare())for(a=u.edges,l=a.length,o=0;l>o;)f=a[o].end(),r=f.x,i=f.y,c=a[++o%l].start(),t=c.x,e=c.y,(xo(r-t)>Uo||xo(i-e)>Uo)&&(a.splice(o,0,new tr(Qe(u.site,f,xo(r-s)Uo?{x:s,y:xo(t-s)Uo?{x:xo(e-g)Uo?{x:h,y:xo(t-h)Uo?{x:xo(e-p)=-jo)){var p=l*l+c*c,g=f*f+s*s,v=(s*p-c*g)/h,d=(l*g-f*p)/h,s=d+a,y=fl.pop()||new Xe;y.arc=n,y.site=i,y.x=v+o,y.y=s+Math.sqrt(v*v+d*d),y.cy=s,n.circle=y;for(var m=null,M=ll._;M;)if(y.yd||d>=a)return;if(h>g){if(u){if(u.y>=c)return}else u={x:d,y:l};e={x:d,y:c}}else{if(u){if(u.yr||r>1)if(h>g){if(u){if(u.y>=c)return}else u={x:(l-i)/r,y:l};e={x:(c-i)/r,y:c}}else{if(u){if(u.yp){if(u){if(u.x>=a)return}else u={x:o,y:r*o+i};e={x:a,y:r*a+i}}else{if(u){if(u.xu||s>o||r>h||i>p)){if(g=n.point){var g,v=t-n.x,d=e-n.y,y=v*v+d*d;if(l>y){var m=Math.sqrt(l=y);r=t-m,i=e-m,u=t+m,o=e+m,a=g}}for(var M=n.nodes,x=.5*(f+h),b=.5*(s+p),_=t>=x,w=e>=b,S=w<<1|_,k=S+4;k>S;++S)if(n=M[3&S])switch(3&S){case 0:c(n,f,s,x,b);break;case 1:c(n,x,s,h,b);break;case 2:c(n,f,b,x,p);break;case 3:c(n,x,b,h,p)}}}(n,r,i,u,o),a}function vr(n,t){n=ao.rgb(n),t=ao.rgb(t);var e=n.r,r=n.g,i=n.b,u=t.r-e,o=t.g-r,a=t.b-i;return function(n){return"#"+bn(Math.round(e+u*n))+bn(Math.round(r+o*n))+bn(Math.round(i+a*n))}}function dr(n,t){var e,r={},i={};for(e in n)e in t?r[e]=Mr(n[e],t[e]):i[e]=n[e];for(e in t)e in n||(i[e]=t[e]);return function(n){for(e in r)i[e]=r[e](n);return i}}function yr(n,t){return n=+n,t=+t,function(e){return n*(1-e)+t*e}}function mr(n,t){var e,r,i,u=hl.lastIndex=pl.lastIndex=0,o=-1,a=[],l=[];for(n+="",t+="";(e=hl.exec(n))&&(r=pl.exec(t));)(i=r.index)>u&&(i=t.slice(u,i),a[o]?a[o]+=i:a[++o]=i),(e=e[0])===(r=r[0])?a[o]?a[o]+=r:a[++o]=r:(a[++o]=null,l.push({i:o,x:yr(e,r)})),u=pl.lastIndex;return ur;++r)a[(e=l[r]).i]=e.x(n);return a.join("")})}function Mr(n,t){for(var e,r=ao.interpolators.length;--r>=0&&!(e=ao.interpolators[r](n,t)););return e}function xr(n,t){var e,r=[],i=[],u=n.length,o=t.length,a=Math.min(n.length,t.length);for(e=0;a>e;++e)r.push(Mr(n[e],t[e]));for(;u>e;++e)i[e]=n[e];for(;o>e;++e)i[e]=t[e];return function(n){for(e=0;a>e;++e)i[e]=r[e](n);return i}}function br(n){return function(t){return 0>=t?0:t>=1?1:n(t)}}function _r(n){return function(t){return 1-n(1-t)}}function wr(n){return function(t){return.5*(.5>t?n(2*t):2-n(2-2*t))}}function Sr(n){return n*n}function kr(n){return n*n*n}function Nr(n){if(0>=n)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(.5>n?e:3*(n-t)+e-.75)}function Er(n){return function(t){return Math.pow(t,n)}}function Ar(n){return 1-Math.cos(n*Io)}function Cr(n){return Math.pow(2,10*(n-1))}function zr(n){return 1-Math.sqrt(1-n*n)}function Lr(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/Ho*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,-10*r)*Math.sin((r-e)*Ho/t)}}function qr(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}}function Tr(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function Rr(n,t){n=ao.hcl(n),t=ao.hcl(t);var e=n.h,r=n.c,i=n.l,u=t.h-e,o=t.c-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.c:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return sn(e+u*n,r+o*n,i+a*n)+""}}function Dr(n,t){n=ao.hsl(n),t=ao.hsl(t);var e=n.h,r=n.s,i=n.l,u=t.h-e,o=t.s-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.s:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return cn(e+u*n,r+o*n,i+a*n)+""}}function Pr(n,t){n=ao.lab(n),t=ao.lab(t);var e=n.l,r=n.a,i=n.b,u=t.l-e,o=t.a-r,a=t.b-i;return function(n){return pn(e+u*n,r+o*n,i+a*n)+""}}function Ur(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function jr(n){var t=[n.a,n.b],e=[n.c,n.d],r=Hr(t),i=Fr(t,e),u=Hr(Or(e,t,-i))||0;t[0]*e[1]180?t+=360:t-n>180&&(n+=360),r.push({i:e.push(Ir(e)+"rotate(",null,")")-2,x:yr(n,t)})):t&&e.push(Ir(e)+"rotate("+t+")")}function Vr(n,t,e,r){n!==t?r.push({i:e.push(Ir(e)+"skewX(",null,")")-2,x:yr(n,t)}):t&&e.push(Ir(e)+"skewX("+t+")")}function Xr(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push(Ir(e)+"scale(",null,",",null,")");r.push({i:i-4,x:yr(n[0],t[0])},{i:i-2,x:yr(n[1],t[1])})}else 1===t[0]&&1===t[1]||e.push(Ir(e)+"scale("+t+")")}function $r(n,t){var e=[],r=[];return n=ao.transform(n),t=ao.transform(t),Yr(n.translate,t.translate,e,r),Zr(n.rotate,t.rotate,e,r),Vr(n.skew,t.skew,e,r),Xr(n.scale,t.scale,e,r),n=t=null,function(n){for(var t,i=-1,u=r.length;++i=0;)e.push(i[r])}function oi(n,t){for(var e=[n],r=[];null!=(n=e.pop());)if(r.push(n),(u=n.children)&&(i=u.length))for(var i,u,o=-1;++oe;++e)(t=n[e][1])>i&&(r=e,i=t);return r}function yi(n){return n.reduce(mi,0)}function mi(n,t){return n+t[1]}function Mi(n,t){return xi(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function xi(n,t){for(var e=-1,r=+n[0],i=(n[1]-r)/t,u=[];++e<=t;)u[e]=i*e+r;return u}function bi(n){return[ao.min(n),ao.max(n)]}function _i(n,t){return n.value-t.value}function wi(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function Si(n,t){n._pack_next=t,t._pack_prev=n}function ki(n,t){var e=t.x-n.x,r=t.y-n.y,i=n.r+t.r;return.999*i*i>e*e+r*r}function Ni(n){function t(n){f=Math.min(n.x-n.r,f),s=Math.max(n.x+n.r,s),h=Math.min(n.y-n.r,h),p=Math.max(n.y+n.r,p)}if((e=n.children)&&(c=e.length)){var e,r,i,u,o,a,l,c,f=1/0,s=-(1/0),h=1/0,p=-(1/0);if(e.forEach(Ei),r=e[0],r.x=-r.r,r.y=0,t(r),c>1&&(i=e[1],i.x=i.r,i.y=0,t(i),c>2))for(u=e[2],zi(r,i,u),t(u),wi(r,u),r._pack_prev=u,wi(u,i),i=r._pack_next,o=3;c>o;o++){zi(r,i,u=e[o]);var g=0,v=1,d=1;for(a=i._pack_next;a!==i;a=a._pack_next,v++)if(ki(a,u)){g=1;break}if(1==g)for(l=r._pack_prev;l!==a._pack_prev&&!ki(l,u);l=l._pack_prev,d++);g?(d>v||v==d&&i.ro;o++)u=e[o],u.x-=y,u.y-=m,M=Math.max(M,u.r+Math.sqrt(u.x*u.x+u.y*u.y));n.r=M,e.forEach(Ai)}}function Ei(n){n._pack_next=n._pack_prev=n}function Ai(n){delete n._pack_next,delete n._pack_prev}function Ci(n,t,e,r){var i=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,i)for(var u=-1,o=i.length;++u=0;)t=i[u],t.z+=e,t.m+=e,e+=t.s+(r+=t.c)}function Pi(n,t,e){return n.a.parent===t.parent?n.a:e}function Ui(n){return 1+ao.max(n,function(n){return n.y})}function ji(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}function Fi(n){var t=n.children;return t&&t.length?Fi(t[0]):n}function Hi(n){var t,e=n.children;return e&&(t=e.length)?Hi(e[t-1]):n}function Oi(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function Ii(n,t){var e=n.x+t[3],r=n.y+t[0],i=n.dx-t[1]-t[3],u=n.dy-t[0]-t[2];return 0>i&&(e+=i/2,i=0),0>u&&(r+=u/2,u=0),{x:e,y:r,dx:i,dy:u}}function Yi(n){var t=n[0],e=n[n.length-1];return e>t?[t,e]:[e,t]}function Zi(n){return n.rangeExtent?n.rangeExtent():Yi(n.range())}function Vi(n,t,e,r){var i=e(n[0],n[1]),u=r(t[0],t[1]);return function(n){return u(i(n))}}function Xi(n,t){var e,r=0,i=n.length-1,u=n[r],o=n[i];return u>o&&(e=r,r=i,i=e,e=u,u=o,o=e),n[r]=t.floor(u),n[i]=t.ceil(o),n}function $i(n){return n?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:Sl}function Bi(n,t,e,r){var i=[],u=[],o=0,a=Math.min(n.length,t.length)-1;for(n[a]2?Bi:Vi,l=r?Wr:Br;return o=i(n,t,l,e),a=i(t,n,l,Mr),u}function u(n){return o(n)}var o,a;return u.invert=function(n){return a(n)},u.domain=function(t){return arguments.length?(n=t.map(Number),i()):n},u.range=function(n){return arguments.length?(t=n,i()):t},u.rangeRound=function(n){return u.range(n).interpolate(Ur)},u.clamp=function(n){return arguments.length?(r=n,i()):r},u.interpolate=function(n){return arguments.length?(e=n,i()):e},u.ticks=function(t){return Qi(n,t)},u.tickFormat=function(t,e){return nu(n,t,e)},u.nice=function(t){return Gi(n,t),i()},u.copy=function(){return Wi(n,t,e,r)},i()}function Ji(n,t){return ao.rebind(n,t,"range","rangeRound","interpolate","clamp")}function Gi(n,t){return Xi(n,$i(Ki(n,t)[2])),Xi(n,$i(Ki(n,t)[2])),n}function Ki(n,t){null==t&&(t=10);var e=Yi(n),r=e[1]-e[0],i=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),u=t/r*i;return.15>=u?i*=10:.35>=u?i*=5:.75>=u&&(i*=2),e[0]=Math.ceil(e[0]/i)*i,e[1]=Math.floor(e[1]/i)*i+.5*i,e[2]=i,e}function Qi(n,t){return ao.range.apply(ao,Ki(n,t))}function nu(n,t,e){var r=Ki(n,t);if(e){var i=ha.exec(e);if(i.shift(),"s"===i[8]){var u=ao.formatPrefix(Math.max(xo(r[0]),xo(r[1])));return i[7]||(i[7]="."+tu(u.scale(r[2]))),i[8]="f",e=ao.format(i.join("")),function(n){return e(u.scale(n))+u.symbol}}i[7]||(i[7]="."+eu(i[8],r)),e=i.join("")}else e=",."+tu(r[2])+"f";return ao.format(e)}function tu(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}function eu(n,t){var e=tu(t[2]);return n in kl?Math.abs(e-tu(Math.max(xo(t[0]),xo(t[1]))))+ +("e"!==n):e-2*("%"===n)}function ru(n,t,e,r){function i(n){return(e?Math.log(0>n?0:n):-Math.log(n>0?0:-n))/Math.log(t)}function u(n){return e?Math.pow(t,n):-Math.pow(t,-n)}function o(t){return n(i(t))}return o.invert=function(t){return u(n.invert(t))},o.domain=function(t){return arguments.length?(e=t[0]>=0,n.domain((r=t.map(Number)).map(i)),o):r},o.base=function(e){return arguments.length?(t=+e,n.domain(r.map(i)),o):t},o.nice=function(){var t=Xi(r.map(i),e?Math:El);return n.domain(t),r=t.map(u),o},o.ticks=function(){var n=Yi(r),o=[],a=n[0],l=n[1],c=Math.floor(i(a)),f=Math.ceil(i(l)),s=t%1?2:t;if(isFinite(f-c)){if(e){for(;f>c;c++)for(var h=1;s>h;h++)o.push(u(c)*h);o.push(u(c))}else for(o.push(u(c));c++0;h--)o.push(u(c)*h);for(c=0;o[c]l;f--);o=o.slice(c,f)}return o},o.tickFormat=function(n,e){if(!arguments.length)return Nl;arguments.length<2?e=Nl:"function"!=typeof e&&(e=ao.format(e));var r=Math.max(1,t*n/o.ticks().length);return function(n){var o=n/u(Math.round(i(n)));return t-.5>o*t&&(o*=t),r>=o?e(n):""}},o.copy=function(){return ru(n.copy(),t,e,r)},Ji(o,n)}function iu(n,t,e){function r(t){return n(i(t))}var i=uu(t),u=uu(1/t);return r.invert=function(t){return u(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain((e=t.map(Number)).map(i)),r):e},r.ticks=function(n){return Qi(e,n)},r.tickFormat=function(n,t){return nu(e,n,t)},r.nice=function(n){return r.domain(Gi(e,n))},r.exponent=function(o){return arguments.length?(i=uu(t=o),u=uu(1/t),n.domain(e.map(i)),r):t},r.copy=function(){return iu(n.copy(),t,e)},Ji(r,n)}function uu(n){return function(t){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}}function ou(n,t){function e(e){return u[((i.get(e)||("range"===t.t?i.set(e,n.push(e)):NaN))-1)%u.length]}function r(t,e){return ao.range(n.length).map(function(n){return t+e*n})}var i,u,o;return e.domain=function(r){if(!arguments.length)return n;n=[],i=new c;for(var u,o=-1,a=r.length;++oe?[NaN,NaN]:[e>0?a[e-1]:n[0],et?NaN:t/u+n,[t,t+1/u]},r.copy=function(){return lu(n,t,e)},i()}function cu(n,t){function e(e){return e>=e?t[ao.bisect(n,e)]:void 0}return e.domain=function(t){return arguments.length?(n=t,e):n},e.range=function(n){return arguments.length?(t=n,e):t},e.invertExtent=function(e){return e=t.indexOf(e),[n[e-1],n[e]]},e.copy=function(){return cu(n,t)},e}function fu(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return Qi(n,t)},t.tickFormat=function(t,e){return nu(n,t,e)},t.copy=function(){return fu(n)},t}function su(){return 0}function hu(n){return n.innerRadius}function pu(n){return n.outerRadius}function gu(n){return n.startAngle}function vu(n){return n.endAngle}function du(n){return n&&n.padAngle}function yu(n,t,e,r){return(n-e)*t-(t-r)*n>0?0:1}function mu(n,t,e,r,i){var u=n[0]-t[0],o=n[1]-t[1],a=(i?r:-r)/Math.sqrt(u*u+o*o),l=a*o,c=-a*u,f=n[0]+l,s=n[1]+c,h=t[0]+l,p=t[1]+c,g=(f+h)/2,v=(s+p)/2,d=h-f,y=p-s,m=d*d+y*y,M=e-r,x=f*p-h*s,b=(0>y?-1:1)*Math.sqrt(Math.max(0,M*M*m-x*x)),_=(x*y-d*b)/m,w=(-x*d-y*b)/m,S=(x*y+d*b)/m,k=(-x*d+y*b)/m,N=_-g,E=w-v,A=S-g,C=k-v;return N*N+E*E>A*A+C*C&&(_=S,w=k),[[_-l,w-c],[_*e/M,w*e/M]]}function Mu(n){function t(t){function o(){c.push("M",u(n(f),a))}for(var l,c=[],f=[],s=-1,h=t.length,p=En(e),g=En(r);++s1?n.join("L"):n+"Z"}function bu(n){return n.join("L")+"Z"}function _u(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1&&i.push("H",r[0]),i.join("")}function wu(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1){a=t[1],u=n[l],l++,r+="C"+(i[0]+o[0])+","+(i[1]+o[1])+","+(u[0]-a[0])+","+(u[1]-a[1])+","+u[0]+","+u[1];for(var c=2;c9&&(i=3*t/Math.sqrt(i),o[a]=i*e,o[a+1]=i*r));for(a=-1;++a<=l;)i=(n[Math.min(l,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),u.push([i||0,o[a]*i||0]);return u}function Fu(n){return n.length<3?xu(n):n[0]+Au(n,ju(n))}function Hu(n){for(var t,e,r,i=-1,u=n.length;++i=t?o(n-t):void(f.c=o)}function o(e){var i=g.active,u=g[i];u&&(u.timer.c=null,u.timer.t=NaN,--g.count,delete g[i],u.event&&u.event.interrupt.call(n,n.__data__,u.index));for(var o in g)if(r>+o){var c=g[o];c.timer.c=null,c.timer.t=NaN,--g.count,delete g[o]}f.c=a,qn(function(){return f.c&&a(e||1)&&(f.c=null,f.t=NaN),1},0,l),g.active=r,v.event&&v.event.start.call(n,n.__data__,t),p=[],v.tween.forEach(function(e,r){(r=r.call(n,n.__data__,t))&&p.push(r)}),h=v.ease,s=v.duration}function a(i){for(var u=i/s,o=h(u),a=p.length;a>0;)p[--a].call(n,o);return u>=1?(v.event&&v.event.end.call(n,n.__data__,t),--g.count?delete g[r]:delete n[e],1):void 0}var l,f,s,h,p,g=n[e]||(n[e]={active:0,count:0}),v=g[r];v||(l=i.time,f=qn(u,0,l),v=g[r]={tween:new c,time:l,timer:f,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++g.count)}function no(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate("+(isFinite(r)?r:e(n))+",0)"})}function to(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate(0,"+(isFinite(r)?r:e(n))+")"})}function eo(n){return n.toISOString()}function ro(n,t,e){function r(t){return n(t)}function i(n,e){var r=n[1]-n[0],i=r/e,u=ao.bisect(Kl,i);return u==Kl.length?[t.year,Ki(n.map(function(n){return n/31536e6}),e)[2]]:u?t[i/Kl[u-1]1?{floor:function(t){for(;e(t=n.floor(t));)t=io(t-1);return t},ceil:function(t){for(;e(t=n.ceil(t));)t=io(+t+1);return t}}:n))},r.ticks=function(n,t){var e=Yi(r.domain()),u=null==n?i(e,10):"number"==typeof n?i(e,n):!n.range&&[{range:n},t];return u&&(n=u[0],t=u[1]),n.range(e[0],io(+e[1]+1),1>t?1:t)},r.tickFormat=function(){return e},r.copy=function(){return ro(n.copy(),t,e)},Ji(r,n)}function io(n){return new Date(n)}function uo(n){return JSON.parse(n.responseText)}function oo(n){var t=fo.createRange();return t.selectNode(fo.body),t.createContextualFragment(n.responseText)}var ao={version:"3.5.17"},lo=[].slice,co=function(n){return lo.call(n)},fo=this.document;if(fo)try{co(fo.documentElement.childNodes)[0].nodeType}catch(so){co=function(n){for(var t=n.length,e=new Array(t);t--;)e[t]=n[t];return e}}if(Date.now||(Date.now=function(){return+new Date}),fo)try{fo.createElement("DIV").style.setProperty("opacity",0,"")}catch(ho){var po=this.Element.prototype,go=po.setAttribute,vo=po.setAttributeNS,yo=this.CSSStyleDeclaration.prototype,mo=yo.setProperty;po.setAttribute=function(n,t){go.call(this,n,t+"")},po.setAttributeNS=function(n,t,e){vo.call(this,n,t,e+"")},yo.setProperty=function(n,t,e){mo.call(this,n,t+"",e)}}ao.ascending=e,ao.descending=function(n,t){return n>t?-1:t>n?1:t>=n?0:NaN},ao.min=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ir&&(e=r)}else{for(;++i=r){e=r;break}for(;++ir&&(e=r)}return e},ao.max=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ie&&(e=r)}else{for(;++i=r){e=r;break}for(;++ie&&(e=r)}return e},ao.extent=function(n,t){var e,r,i,u=-1,o=n.length;if(1===arguments.length){for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}else{for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}return[e,i]},ao.sum=function(n,t){var e,r=0,u=n.length,o=-1;if(1===arguments.length)for(;++o1?l/(f-1):void 0},ao.deviation=function(){var n=ao.variance.apply(this,arguments);return n?Math.sqrt(n):n};var Mo=u(e);ao.bisectLeft=Mo.left,ao.bisect=ao.bisectRight=Mo.right,ao.bisector=function(n){return u(1===n.length?function(t,r){return e(n(t),r)}:n)},ao.shuffle=function(n,t,e){(u=arguments.length)<3&&(e=n.length,2>u&&(t=0));for(var r,i,u=e-t;u;)i=Math.random()*u--|0,r=n[u+t],n[u+t]=n[i+t],n[i+t]=r;return n},ao.permute=function(n,t){for(var e=t.length,r=new Array(e);e--;)r[e]=n[t[e]];return r},ao.pairs=function(n){for(var t,e=0,r=n.length-1,i=n[0],u=new Array(0>r?0:r);r>e;)u[e]=[t=i,i=n[++e]];return u},ao.transpose=function(n){if(!(i=n.length))return[];for(var t=-1,e=ao.min(n,o),r=new Array(e);++t=0;)for(r=n[i],t=r.length;--t>=0;)e[--o]=r[t];return e};var xo=Math.abs;ao.range=function(n,t,e){if(arguments.length<3&&(e=1,arguments.length<2&&(t=n,n=0)),(t-n)/e===1/0)throw new Error("infinite range");var r,i=[],u=a(xo(e)),o=-1;if(n*=u,t*=u,e*=u,0>e)for(;(r=n+e*++o)>t;)i.push(r/u);else for(;(r=n+e*++o)=u.length)return r?r.call(i,o):e?o.sort(e):o;for(var l,f,s,h,p=-1,g=o.length,v=u[a++],d=new c;++p=u.length)return n;var r=[],i=o[e++];return n.forEach(function(n,i){r.push({key:n,values:t(i,e)})}),i?r.sort(function(n,t){return i(n.key,t.key)}):r}var e,r,i={},u=[],o=[];return i.map=function(t,e){return n(e,t,0)},i.entries=function(e){return t(n(ao.map,e,0),0)},i.key=function(n){return u.push(n),i},i.sortKeys=function(n){return o[u.length-1]=n,i},i.sortValues=function(n){return e=n,i},i.rollup=function(n){return r=n,i},i},ao.set=function(n){var t=new y;if(n)for(var e=0,r=n.length;r>e;++e)t.add(n[e]);return t},l(y,{has:h,add:function(n){return this._[f(n+="")]=!0,n},remove:p,values:g,size:v,empty:d,forEach:function(n){for(var t in this._)n.call(this,s(t))}}),ao.behavior={},ao.rebind=function(n,t){for(var e,r=1,i=arguments.length;++r=0&&(r=n.slice(e+1),n=n.slice(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},ao.event=null,ao.requote=function(n){return n.replace(So,"\\$&")};var So=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ko={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]},No=function(n,t){return t.querySelector(n)},Eo=function(n,t){return t.querySelectorAll(n)},Ao=function(n,t){var e=n.matches||n[x(n,"matchesSelector")];return(Ao=function(n,t){return e.call(n,t)})(n,t)};"function"==typeof Sizzle&&(No=function(n,t){return Sizzle(n,t)[0]||null},Eo=Sizzle,Ao=Sizzle.matchesSelector),ao.selection=function(){return ao.select(fo.documentElement)};var Co=ao.selection.prototype=[];Co.select=function(n){var t,e,r,i,u=[];n=A(n);for(var o=-1,a=this.length;++o=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),Lo.hasOwnProperty(e)?{space:Lo[e],local:n}:n}},Co.attr=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node();return n=ao.ns.qualify(n),n.local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(z(t,n[t]));return this}return this.each(z(n,t))},Co.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=T(n)).length,i=-1;if(t=e.classList){for(;++ii){if("string"!=typeof n){2>i&&(e="");for(r in n)this.each(P(r,n[r],e));return this}if(2>i){var u=this.node();return t(u).getComputedStyle(u,null).getPropertyValue(n)}r=""}return this.each(P(n,e,r))},Co.property=function(n,t){if(arguments.length<2){if("string"==typeof n)return this.node()[n];for(t in n)this.each(U(t,n[t]));return this}return this.each(U(n,t))},Co.text=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.textContent=null==t?"":t}:null==n?function(){this.textContent=""}:function(){this.textContent=n}):this.node().textContent},Co.html=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}:null==n?function(){this.innerHTML=""}:function(){this.innerHTML=n}):this.node().innerHTML},Co.append=function(n){return n=j(n),this.select(function(){return this.appendChild(n.apply(this,arguments))})},Co.insert=function(n,t){return n=j(n),t=A(t),this.select(function(){return this.insertBefore(n.apply(this,arguments),t.apply(this,arguments)||null)})},Co.remove=function(){return this.each(F)},Co.data=function(n,t){function e(n,e){var r,i,u,o=n.length,s=e.length,h=Math.min(o,s),p=new Array(s),g=new Array(s),v=new Array(o);if(t){var d,y=new c,m=new Array(o);for(r=-1;++rr;++r)g[r]=H(e[r]);for(;o>r;++r)v[r]=n[r]}g.update=p,g.parentNode=p.parentNode=v.parentNode=n.parentNode,a.push(g),l.push(p),f.push(v)}var r,i,u=-1,o=this.length;if(!arguments.length){for(n=new Array(o=(r=this[0]).length);++uu;u++){i.push(t=[]),t.parentNode=(e=this[u]).parentNode;for(var a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return E(i)},Co.order=function(){for(var n=-1,t=this.length;++n=0;)(e=r[i])&&(u&&u!==e.nextSibling&&u.parentNode.insertBefore(e,u),u=e);return this},Co.sort=function(n){n=I.apply(this,arguments);for(var t=-1,e=this.length;++tn;n++)for(var e=this[n],r=0,i=e.length;i>r;r++){var u=e[r];if(u)return u}return null},Co.size=function(){var n=0;return Y(this,function(){++n}),n};var qo=[];ao.selection.enter=Z,ao.selection.enter.prototype=qo,qo.append=Co.append,qo.empty=Co.empty,qo.node=Co.node,qo.call=Co.call,qo.size=Co.size,qo.select=function(n){for(var t,e,r,i,u,o=[],a=-1,l=this.length;++ar){if("string"!=typeof n){2>r&&(t=!1);for(e in n)this.each(X(e,n[e],t));return this}if(2>r)return(r=this.node()["__on"+n])&&r._;e=!1}return this.each(X(n,t,e))};var To=ao.map({mouseenter:"mouseover",mouseleave:"mouseout"});fo&&To.forEach(function(n){"on"+n in fo&&To.remove(n)});var Ro,Do=0;ao.mouse=function(n){return J(n,k())};var Po=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;ao.touch=function(n,t,e){if(arguments.length<3&&(e=t,t=k().changedTouches),t)for(var r,i=0,u=t.length;u>i;++i)if((r=t[i]).identifier===e)return J(n,r)},ao.behavior.drag=function(){function n(){this.on("mousedown.drag",u).on("touchstart.drag",o)}function e(n,t,e,u,o){return function(){function a(){var n,e,r=t(h,v);r&&(n=r[0]-M[0],e=r[1]-M[1],g|=n|e,M=r,p({type:"drag",x:r[0]+c[0],y:r[1]+c[1],dx:n,dy:e}))}function l(){t(h,v)&&(y.on(u+d,null).on(o+d,null),m(g),p({type:"dragend"}))}var c,f=this,s=ao.event.target.correspondingElement||ao.event.target,h=f.parentNode,p=r.of(f,arguments),g=0,v=n(),d=".drag"+(null==v?"":"-"+v),y=ao.select(e(s)).on(u+d,a).on(o+d,l),m=W(s),M=t(h,v);i?(c=i.apply(f,arguments),c=[c.x-M[0],c.y-M[1]]):c=[0,0],p({type:"dragstart"})}}var r=N(n,"drag","dragstart","dragend"),i=null,u=e(b,ao.mouse,t,"mousemove","mouseup"),o=e(G,ao.touch,m,"touchmove","touchend");return n.origin=function(t){return arguments.length?(i=t,n):i},ao.rebind(n,r,"on")},ao.touches=function(n,t){return arguments.length<2&&(t=k().touches),t?co(t).map(function(t){var e=J(n,t);return e.identifier=t.identifier,e}):[]};var Uo=1e-6,jo=Uo*Uo,Fo=Math.PI,Ho=2*Fo,Oo=Ho-Uo,Io=Fo/2,Yo=Fo/180,Zo=180/Fo,Vo=Math.SQRT2,Xo=2,$o=4;ao.interpolateZoom=function(n,t){var e,r,i=n[0],u=n[1],o=n[2],a=t[0],l=t[1],c=t[2],f=a-i,s=l-u,h=f*f+s*s;if(jo>h)r=Math.log(c/o)/Vo,e=function(n){return[i+n*f,u+n*s,o*Math.exp(Vo*n*r)]};else{var p=Math.sqrt(h),g=(c*c-o*o+$o*h)/(2*o*Xo*p),v=(c*c-o*o-$o*h)/(2*c*Xo*p),d=Math.log(Math.sqrt(g*g+1)-g),y=Math.log(Math.sqrt(v*v+1)-v);r=(y-d)/Vo,e=function(n){var t=n*r,e=rn(d),a=o/(Xo*p)*(e*un(Vo*t+d)-en(d));return[i+a*f,u+a*s,o*e/rn(Vo*t+d)]}}return e.duration=1e3*r,e},ao.behavior.zoom=function(){function n(n){n.on(L,s).on(Wo+".zoom",p).on("dblclick.zoom",g).on(R,h)}function e(n){return[(n[0]-k.x)/k.k,(n[1]-k.y)/k.k]}function r(n){return[n[0]*k.k+k.x,n[1]*k.k+k.y]}function i(n){k.k=Math.max(A[0],Math.min(A[1],n))}function u(n,t){t=r(t),k.x+=n[0]-t[0],k.y+=n[1]-t[1]}function o(t,e,r,o){t.__chart__={x:k.x,y:k.y,k:k.k},i(Math.pow(2,o)),u(d=e,r),t=ao.select(t),C>0&&(t=t.transition().duration(C)),t.call(n.event)}function a(){b&&b.domain(x.range().map(function(n){return(n-k.x)/k.k}).map(x.invert)),w&&w.domain(_.range().map(function(n){return(n-k.y)/k.k}).map(_.invert))}function l(n){z++||n({type:"zoomstart"})}function c(n){a(),n({type:"zoom",scale:k.k,translate:[k.x,k.y]})}function f(n){--z||(n({type:"zoomend"}),d=null)}function s(){function n(){a=1,u(ao.mouse(i),h),c(o)}function r(){s.on(q,null).on(T,null),p(a),f(o)}var i=this,o=D.of(i,arguments),a=0,s=ao.select(t(i)).on(q,n).on(T,r),h=e(ao.mouse(i)),p=W(i);Il.call(i),l(o)}function h(){function n(){var n=ao.touches(g);return p=k.k,n.forEach(function(n){n.identifier in d&&(d[n.identifier]=e(n))}),n}function t(){var t=ao.event.target;ao.select(t).on(x,r).on(b,a),_.push(t);for(var e=ao.event.changedTouches,i=0,u=e.length;u>i;++i)d[e[i].identifier]=null;var l=n(),c=Date.now();if(1===l.length){if(500>c-M){var f=l[0];o(g,f,d[f.identifier],Math.floor(Math.log(k.k)/Math.LN2)+1),S()}M=c}else if(l.length>1){var f=l[0],s=l[1],h=f[0]-s[0],p=f[1]-s[1];y=h*h+p*p}}function r(){var n,t,e,r,o=ao.touches(g);Il.call(g);for(var a=0,l=o.length;l>a;++a,r=null)if(e=o[a],r=d[e.identifier]){if(t)break;n=e,t=r}if(r){var f=(f=e[0]-n[0])*f+(f=e[1]-n[1])*f,s=y&&Math.sqrt(f/y);n=[(n[0]+e[0])/2,(n[1]+e[1])/2],t=[(t[0]+r[0])/2,(t[1]+r[1])/2],i(s*p)}M=null,u(n,t),c(v)}function a(){if(ao.event.touches.length){for(var t=ao.event.changedTouches,e=0,r=t.length;r>e;++e)delete d[t[e].identifier];for(var i in d)return void n()}ao.selectAll(_).on(m,null),w.on(L,s).on(R,h),N(),f(v)}var p,g=this,v=D.of(g,arguments),d={},y=0,m=".zoom-"+ao.event.changedTouches[0].identifier,x="touchmove"+m,b="touchend"+m,_=[],w=ao.select(g),N=W(g);t(),l(v),w.on(L,null).on(R,t)}function p(){var n=D.of(this,arguments);m?clearTimeout(m):(Il.call(this),v=e(d=y||ao.mouse(this)),l(n)),m=setTimeout(function(){m=null,f(n)},50),S(),i(Math.pow(2,.002*Bo())*k.k),u(d,v),c(n)}function g(){var n=ao.mouse(this),t=Math.log(k.k)/Math.LN2;o(this,n,e(n),ao.event.shiftKey?Math.ceil(t)-1:Math.floor(t)+1)}var v,d,y,m,M,x,b,_,w,k={x:0,y:0,k:1},E=[960,500],A=Jo,C=250,z=0,L="mousedown.zoom",q="mousemove.zoom",T="mouseup.zoom",R="touchstart.zoom",D=N(n,"zoomstart","zoom","zoomend");return Wo||(Wo="onwheel"in fo?(Bo=function(){return-ao.event.deltaY*(ao.event.deltaMode?120:1)},"wheel"):"onmousewheel"in fo?(Bo=function(){return ao.event.wheelDelta},"mousewheel"):(Bo=function(){return-ao.event.detail},"MozMousePixelScroll")),n.event=function(n){n.each(function(){var n=D.of(this,arguments),t=k;Hl?ao.select(this).transition().each("start.zoom",function(){k=this.__chart__||{x:0,y:0,k:1},l(n)}).tween("zoom:zoom",function(){var e=E[0],r=E[1],i=d?d[0]:e/2,u=d?d[1]:r/2,o=ao.interpolateZoom([(i-k.x)/k.k,(u-k.y)/k.k,e/k.k],[(i-t.x)/t.k,(u-t.y)/t.k,e/t.k]);return function(t){var r=o(t),a=e/r[2];this.__chart__=k={x:i-r[0]*a,y:u-r[1]*a,k:a},c(n)}}).each("interrupt.zoom",function(){f(n)}).each("end.zoom",function(){f(n)}):(this.__chart__=k,l(n),c(n),f(n))})},n.translate=function(t){return arguments.length?(k={x:+t[0],y:+t[1],k:k.k},a(),n):[k.x,k.y]},n.scale=function(t){return arguments.length?(k={x:k.x,y:k.y,k:null},i(+t),a(),n):k.k},n.scaleExtent=function(t){return arguments.length?(A=null==t?Jo:[+t[0],+t[1]],n):A},n.center=function(t){return arguments.length?(y=t&&[+t[0],+t[1]],n):y},n.size=function(t){return arguments.length?(E=t&&[+t[0],+t[1]],n):E},n.duration=function(t){return arguments.length?(C=+t,n):C},n.x=function(t){return arguments.length?(b=t,x=t.copy(),k={x:0,y:0,k:1},n):b},n.y=function(t){return arguments.length?(w=t,_=t.copy(),k={x:0,y:0,k:1},n):w},ao.rebind(n,D,"on")};var Bo,Wo,Jo=[0,1/0];ao.color=an,an.prototype.toString=function(){return this.rgb()+""},ao.hsl=ln;var Go=ln.prototype=new an;Go.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,this.l/n)},Go.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,n*this.l)},Go.rgb=function(){return cn(this.h,this.s,this.l)},ao.hcl=fn;var Ko=fn.prototype=new an;Ko.brighter=function(n){return new fn(this.h,this.c,Math.min(100,this.l+Qo*(arguments.length?n:1)))},Ko.darker=function(n){return new fn(this.h,this.c,Math.max(0,this.l-Qo*(arguments.length?n:1)))},Ko.rgb=function(){return sn(this.h,this.c,this.l).rgb()},ao.lab=hn;var Qo=18,na=.95047,ta=1,ea=1.08883,ra=hn.prototype=new an;ra.brighter=function(n){return new hn(Math.min(100,this.l+Qo*(arguments.length?n:1)),this.a,this.b)},ra.darker=function(n){return new hn(Math.max(0,this.l-Qo*(arguments.length?n:1)),this.a,this.b)},ra.rgb=function(){return pn(this.l,this.a,this.b)},ao.rgb=mn;var ia=mn.prototype=new an;ia.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,i=30;return t||e||r?(t&&i>t&&(t=i),e&&i>e&&(e=i),r&&i>r&&(r=i),new mn(Math.min(255,t/n),Math.min(255,e/n),Math.min(255,r/n))):new mn(i,i,i)},ia.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new mn(n*this.r,n*this.g,n*this.b)},ia.hsl=function(){return wn(this.r,this.g,this.b)},ia.toString=function(){return"#"+bn(this.r)+bn(this.g)+bn(this.b)};var ua=ao.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});ua.forEach(function(n,t){ua.set(n,Mn(t))}),ao.functor=En,ao.xhr=An(m),ao.dsv=function(n,t){function e(n,e,u){arguments.length<3&&(u=e,e=null);var o=Cn(n,t,null==e?r:i(e),u);return o.row=function(n){return arguments.length?o.response(null==(e=n)?r:i(n)):e},o}function r(n){return e.parse(n.responseText)}function i(n){return function(t){return e.parse(t.responseText,n)}}function u(t){return t.map(o).join(n)}function o(n){return a.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}var a=new RegExp('["'+n+"\n]"),l=n.charCodeAt(0);return e.parse=function(n,t){var r;return e.parseRows(n,function(n,e){if(r)return r(n,e-1);var i=new Function("d","return {"+n.map(function(n,t){return JSON.stringify(n)+": d["+t+"]"}).join(",")+"}");r=t?function(n,e){return t(i(n),e)}:i})},e.parseRows=function(n,t){function e(){if(f>=c)return o;if(i)return i=!1,u;var t=f;if(34===n.charCodeAt(t)){for(var e=t;e++f;){var r=n.charCodeAt(f++),a=1;if(10===r)i=!0;else if(13===r)i=!0,10===n.charCodeAt(f)&&(++f,++a);else if(r!==l)continue;return n.slice(t,f-a)}return n.slice(t)}for(var r,i,u={},o={},a=[],c=n.length,f=0,s=0;(r=e())!==o;){for(var h=[];r!==u&&r!==o;)h.push(r),r=e();t&&null==(h=t(h,s++))||a.push(h)}return a},e.format=function(t){if(Array.isArray(t[0]))return e.formatRows(t);var r=new y,i=[];return t.forEach(function(n){for(var t in n)r.has(t)||i.push(r.add(t))}),[i.map(o).join(n)].concat(t.map(function(t){return i.map(function(n){return o(t[n])}).join(n)})).join("\n")},e.formatRows=function(n){return n.map(u).join("\n")},e},ao.csv=ao.dsv(",","text/csv"),ao.tsv=ao.dsv(" ","text/tab-separated-values");var oa,aa,la,ca,fa=this[x(this,"requestAnimationFrame")]||function(n){setTimeout(n,17)};ao.timer=function(){qn.apply(this,arguments)},ao.timer.flush=function(){Rn(),Dn()},ao.round=function(n,t){return t?Math.round(n*(t=Math.pow(10,t)))/t:Math.round(n)};var sa=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"].map(Un);ao.formatPrefix=function(n,t){var e=0;return(n=+n)&&(0>n&&(n*=-1),t&&(n=ao.round(n,Pn(n,t))),e=1+Math.floor(1e-12+Math.log(n)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((e-1)/3)))),sa[8+e/3]};var ha=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,pa=ao.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,t){return(n=ao.round(n,Pn(n,t))).toFixed(Math.max(0,Math.min(20,Pn(n*(1+1e-15),t))))}}),ga=ao.time={},va=Date;Hn.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){da.setUTCDate.apply(this._,arguments)},setDay:function(){da.setUTCDay.apply(this._,arguments)},setFullYear:function(){da.setUTCFullYear.apply(this._,arguments)},setHours:function(){da.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){da.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){da.setUTCMinutes.apply(this._,arguments)},setMonth:function(){da.setUTCMonth.apply(this._,arguments)},setSeconds:function(){da.setUTCSeconds.apply(this._,arguments)},setTime:function(){da.setTime.apply(this._,arguments)}};var da=Date.prototype;ga.year=On(function(n){return n=ga.day(n),n.setMonth(0,1),n},function(n,t){n.setFullYear(n.getFullYear()+t)},function(n){return n.getFullYear()}),ga.years=ga.year.range,ga.years.utc=ga.year.utc.range,ga.day=On(function(n){var t=new va(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t},function(n,t){n.setDate(n.getDate()+t)},function(n){return n.getDate()-1}),ga.days=ga.day.range,ga.days.utc=ga.day.utc.range,ga.dayOfYear=function(n){var t=ga.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(n,t){t=7-t;var e=ga[n]=On(function(n){return(n=ga.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n},function(n,t){n.setDate(n.getDate()+7*Math.floor(t))},function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)-(e!==t)});ga[n+"s"]=e.range,ga[n+"s"].utc=e.utc.range,ga[n+"OfYear"]=function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)}}),ga.week=ga.sunday,ga.weeks=ga.sunday.range,ga.weeks.utc=ga.sunday.utc.range,ga.weekOfYear=ga.sundayOfYear;var ya={"-":"",_:" ",0:"0"},ma=/^\s*\d+/,Ma=/^%/;ao.locale=function(n){return{numberFormat:jn(n),timeFormat:Yn(n)}};var xa=ao.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"], +shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});ao.format=xa.numberFormat,ao.geo={},ft.prototype={s:0,t:0,add:function(n){st(n,this.t,ba),st(ba.s,this.s,this),this.s?this.t+=ba.t:this.s=ba.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var ba=new ft;ao.geo.stream=function(n,t){n&&_a.hasOwnProperty(n.type)?_a[n.type](n,t):ht(n,t)};var _a={Feature:function(n,t){ht(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,i=e.length;++rn?4*Fo+n:n,Na.lineStart=Na.lineEnd=Na.point=b}};ao.geo.bounds=function(){function n(n,t){M.push(x=[f=n,h=n]),s>t&&(s=t),t>p&&(p=t)}function t(t,e){var r=dt([t*Yo,e*Yo]);if(y){var i=mt(y,r),u=[i[1],-i[0],0],o=mt(u,i);bt(o),o=_t(o);var l=t-g,c=l>0?1:-1,v=o[0]*Zo*c,d=xo(l)>180;if(d^(v>c*g&&c*t>v)){var m=o[1]*Zo;m>p&&(p=m)}else if(v=(v+360)%360-180,d^(v>c*g&&c*t>v)){var m=-o[1]*Zo;s>m&&(s=m)}else s>e&&(s=e),e>p&&(p=e);d?g>t?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t):h>=f?(f>t&&(f=t),t>h&&(h=t)):t>g?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t)}else n(t,e);y=r,g=t}function e(){b.point=t}function r(){x[0]=f,x[1]=h,b.point=n,y=null}function i(n,e){if(y){var r=n-g;m+=xo(r)>180?r+(r>0?360:-360):r}else v=n,d=e;Na.point(n,e),t(n,e)}function u(){Na.lineStart()}function o(){i(v,d),Na.lineEnd(),xo(m)>Uo&&(f=-(h=180)),x[0]=f,x[1]=h,y=null}function a(n,t){return(t-=n)<0?t+360:t}function l(n,t){return n[0]-t[0]}function c(n,t){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nka?(f=-(h=180),s=-(p=90)):m>Uo?p=90:-Uo>m&&(s=-90),x[0]=f,x[1]=h}};return function(n){p=h=-(f=s=1/0),M=[],ao.geo.stream(n,b);var t=M.length;if(t){M.sort(l);for(var e,r=1,i=M[0],u=[i];t>r;++r)e=M[r],c(e[0],i)||c(e[1],i)?(a(i[0],e[1])>a(i[0],i[1])&&(i[1]=e[1]),a(e[0],i[1])>a(i[0],i[1])&&(i[0]=e[0])):u.push(i=e);for(var o,e,g=-(1/0),t=u.length-1,r=0,i=u[t];t>=r;i=e,++r)e=u[r],(o=a(i[1],e[0]))>g&&(g=o,f=e[0],h=i[1])}return M=x=null,f===1/0||s===1/0?[[NaN,NaN],[NaN,NaN]]:[[f,s],[h,p]]}}(),ao.geo.centroid=function(n){Ea=Aa=Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,ja);var t=Da,e=Pa,r=Ua,i=t*t+e*e+r*r;return jo>i&&(t=qa,e=Ta,r=Ra,Uo>Aa&&(t=Ca,e=za,r=La),i=t*t+e*e+r*r,jo>i)?[NaN,NaN]:[Math.atan2(e,t)*Zo,tn(r/Math.sqrt(i))*Zo]};var Ea,Aa,Ca,za,La,qa,Ta,Ra,Da,Pa,Ua,ja={sphere:b,point:St,lineStart:Nt,lineEnd:Et,polygonStart:function(){ja.lineStart=At},polygonEnd:function(){ja.lineStart=Nt}},Fa=Rt(zt,jt,Ht,[-Fo,-Fo/2]),Ha=1e9;ao.geo.clipExtent=function(){var n,t,e,r,i,u,o={stream:function(n){return i&&(i.valid=!1),i=u(n),i.valid=!0,i},extent:function(a){return arguments.length?(u=Zt(n=+a[0][0],t=+a[0][1],e=+a[1][0],r=+a[1][1]),i&&(i.valid=!1,i=null),o):[[n,t],[e,r]]}};return o.extent([[0,0],[960,500]])},(ao.geo.conicEqualArea=function(){return Vt(Xt)}).raw=Xt,ao.geo.albers=function(){return ao.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},ao.geo.albersUsa=function(){function n(n){var u=n[0],o=n[1];return t=null,e(u,o),t||(r(u,o),t)||i(u,o),t}var t,e,r,i,u=ao.geo.albers(),o=ao.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=ao.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(n,e){t=[n,e]}};return n.invert=function(n){var t=u.scale(),e=u.translate(),r=(n[0]-e[0])/t,i=(n[1]-e[1])/t;return(i>=.12&&.234>i&&r>=-.425&&-.214>r?o:i>=.166&&.234>i&&r>=-.214&&-.115>r?a:u).invert(n)},n.stream=function(n){var t=u.stream(n),e=o.stream(n),r=a.stream(n);return{point:function(n,i){t.point(n,i),e.point(n,i),r.point(n,i)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},n.precision=function(t){return arguments.length?(u.precision(t),o.precision(t),a.precision(t),n):u.precision()},n.scale=function(t){return arguments.length?(u.scale(t),o.scale(.35*t),a.scale(t),n.translate(u.translate())):u.scale()},n.translate=function(t){if(!arguments.length)return u.translate();var c=u.scale(),f=+t[0],s=+t[1];return e=u.translate(t).clipExtent([[f-.455*c,s-.238*c],[f+.455*c,s+.238*c]]).stream(l).point,r=o.translate([f-.307*c,s+.201*c]).clipExtent([[f-.425*c+Uo,s+.12*c+Uo],[f-.214*c-Uo,s+.234*c-Uo]]).stream(l).point,i=a.translate([f-.205*c,s+.212*c]).clipExtent([[f-.214*c+Uo,s+.166*c+Uo],[f-.115*c-Uo,s+.234*c-Uo]]).stream(l).point,n},n.scale(1070)};var Oa,Ia,Ya,Za,Va,Xa,$a={point:b,lineStart:b,lineEnd:b,polygonStart:function(){Ia=0,$a.lineStart=$t},polygonEnd:function(){$a.lineStart=$a.lineEnd=$a.point=b,Oa+=xo(Ia/2)}},Ba={point:Bt,lineStart:b,lineEnd:b,polygonStart:b,polygonEnd:b},Wa={point:Gt,lineStart:Kt,lineEnd:Qt,polygonStart:function(){Wa.lineStart=ne},polygonEnd:function(){Wa.point=Gt,Wa.lineStart=Kt,Wa.lineEnd=Qt}};ao.geo.path=function(){function n(n){return n&&("function"==typeof a&&u.pointRadius(+a.apply(this,arguments)),o&&o.valid||(o=i(u)),ao.geo.stream(n,o)),u.result()}function t(){return o=null,n}var e,r,i,u,o,a=4.5;return n.area=function(n){return Oa=0,ao.geo.stream(n,i($a)),Oa},n.centroid=function(n){return Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,i(Wa)),Ua?[Da/Ua,Pa/Ua]:Ra?[qa/Ra,Ta/Ra]:La?[Ca/La,za/La]:[NaN,NaN]},n.bounds=function(n){return Va=Xa=-(Ya=Za=1/0),ao.geo.stream(n,i(Ba)),[[Ya,Za],[Va,Xa]]},n.projection=function(n){return arguments.length?(i=(e=n)?n.stream||re(n):m,t()):e},n.context=function(n){return arguments.length?(u=null==(r=n)?new Wt:new te(n),"function"!=typeof a&&u.pointRadius(a),t()):r},n.pointRadius=function(t){return arguments.length?(a="function"==typeof t?t:(u.pointRadius(+t),+t),n):a},n.projection(ao.geo.albersUsa()).context(null)},ao.geo.transform=function(n){return{stream:function(t){var e=new ie(t);for(var r in n)e[r]=n[r];return e}}},ie.prototype={point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},ao.geo.projection=oe,ao.geo.projectionMutator=ae,(ao.geo.equirectangular=function(){return oe(ce)}).raw=ce.invert=ce,ao.geo.rotation=function(n){function t(t){return t=n(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t}return n=se(n[0]%360*Yo,n[1]*Yo,n.length>2?n[2]*Yo:0),t.invert=function(t){return t=n.invert(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t},t},fe.invert=ce,ao.geo.circle=function(){function n(){var n="function"==typeof r?r.apply(this,arguments):r,t=se(-n[0]*Yo,-n[1]*Yo,0).invert,i=[];return e(null,null,1,{point:function(n,e){i.push(n=t(n,e)),n[0]*=Zo,n[1]*=Zo}}),{type:"Polygon",coordinates:[i]}}var t,e,r=[0,0],i=6;return n.origin=function(t){return arguments.length?(r=t,n):r},n.angle=function(r){return arguments.length?(e=ve((t=+r)*Yo,i*Yo),n):t},n.precision=function(r){return arguments.length?(e=ve(t*Yo,(i=+r)*Yo),n):i},n.angle(90)},ao.geo.distance=function(n,t){var e,r=(t[0]-n[0])*Yo,i=n[1]*Yo,u=t[1]*Yo,o=Math.sin(r),a=Math.cos(r),l=Math.sin(i),c=Math.cos(i),f=Math.sin(u),s=Math.cos(u);return Math.atan2(Math.sqrt((e=s*o)*e+(e=c*f-l*s*a)*e),l*f+c*s*a)},ao.geo.graticule=function(){function n(){return{type:"MultiLineString",coordinates:t()}}function t(){return ao.range(Math.ceil(u/d)*d,i,d).map(h).concat(ao.range(Math.ceil(c/y)*y,l,y).map(p)).concat(ao.range(Math.ceil(r/g)*g,e,g).filter(function(n){return xo(n%d)>Uo}).map(f)).concat(ao.range(Math.ceil(a/v)*v,o,v).filter(function(n){return xo(n%y)>Uo}).map(s))}var e,r,i,u,o,a,l,c,f,s,h,p,g=10,v=g,d=90,y=360,m=2.5;return n.lines=function(){return t().map(function(n){return{type:"LineString",coordinates:n}})},n.outline=function(){return{type:"Polygon",coordinates:[h(u).concat(p(l).slice(1),h(i).reverse().slice(1),p(c).reverse().slice(1))]}},n.extent=function(t){return arguments.length?n.majorExtent(t).minorExtent(t):n.minorExtent()},n.majorExtent=function(t){return arguments.length?(u=+t[0][0],i=+t[1][0],c=+t[0][1],l=+t[1][1],u>i&&(t=u,u=i,i=t),c>l&&(t=c,c=l,l=t),n.precision(m)):[[u,c],[i,l]]},n.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],o=+t[1][1],r>e&&(t=r,r=e,e=t),a>o&&(t=a,a=o,o=t),n.precision(m)):[[r,a],[e,o]]},n.step=function(t){return arguments.length?n.majorStep(t).minorStep(t):n.minorStep()},n.majorStep=function(t){return arguments.length?(d=+t[0],y=+t[1],n):[d,y]},n.minorStep=function(t){return arguments.length?(g=+t[0],v=+t[1],n):[g,v]},n.precision=function(t){return arguments.length?(m=+t,f=ye(a,o,90),s=me(r,e,m),h=ye(c,l,90),p=me(u,i,m),n):m},n.majorExtent([[-180,-90+Uo],[180,90-Uo]]).minorExtent([[-180,-80-Uo],[180,80+Uo]])},ao.geo.greatArc=function(){function n(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),e||i.apply(this,arguments)]}}var t,e,r=Me,i=xe;return n.distance=function(){return ao.geo.distance(t||r.apply(this,arguments),e||i.apply(this,arguments))},n.source=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,n):r},n.target=function(t){return arguments.length?(i=t,e="function"==typeof t?null:t,n):i},n.precision=function(){return arguments.length?n:0},n},ao.geo.interpolate=function(n,t){return be(n[0]*Yo,n[1]*Yo,t[0]*Yo,t[1]*Yo)},ao.geo.length=function(n){return Ja=0,ao.geo.stream(n,Ga),Ja};var Ja,Ga={sphere:b,point:b,lineStart:_e,lineEnd:b,polygonStart:b,polygonEnd:b},Ka=we(function(n){return Math.sqrt(2/(1+n))},function(n){return 2*Math.asin(n/2)});(ao.geo.azimuthalEqualArea=function(){return oe(Ka)}).raw=Ka;var Qa=we(function(n){var t=Math.acos(n);return t&&t/Math.sin(t)},m);(ao.geo.azimuthalEquidistant=function(){return oe(Qa)}).raw=Qa,(ao.geo.conicConformal=function(){return Vt(Se)}).raw=Se,(ao.geo.conicEquidistant=function(){return Vt(ke)}).raw=ke;var nl=we(function(n){return 1/n},Math.atan);(ao.geo.gnomonic=function(){return oe(nl)}).raw=nl,Ne.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Io]},(ao.geo.mercator=function(){return Ee(Ne)}).raw=Ne;var tl=we(function(){return 1},Math.asin);(ao.geo.orthographic=function(){return oe(tl)}).raw=tl;var el=we(function(n){return 1/(1+n)},function(n){return 2*Math.atan(n)});(ao.geo.stereographic=function(){return oe(el)}).raw=el,Ae.invert=function(n,t){return[-t,2*Math.atan(Math.exp(n))-Io]},(ao.geo.transverseMercator=function(){var n=Ee(Ae),t=n.center,e=n.rotate;return n.center=function(n){return n?t([-n[1],n[0]]):(n=t(),[n[1],-n[0]])},n.rotate=function(n){return n?e([n[0],n[1],n.length>2?n[2]+90:90]):(n=e(),[n[0],n[1],n[2]-90])},e([0,0,90])}).raw=Ae,ao.geom={},ao.geom.hull=function(n){function t(n){if(n.length<3)return[];var t,i=En(e),u=En(r),o=n.length,a=[],l=[];for(t=0;o>t;t++)a.push([+i.call(this,n[t],t),+u.call(this,n[t],t),t]);for(a.sort(qe),t=0;o>t;t++)l.push([a[t][0],-a[t][1]]);var c=Le(a),f=Le(l),s=f[0]===c[0],h=f[f.length-1]===c[c.length-1],p=[];for(t=c.length-1;t>=0;--t)p.push(n[a[c[t]][2]]);for(t=+s;t=r&&c.x<=u&&c.y>=i&&c.y<=o?[[r,o],[u,o],[u,i],[r,i]]:[];f.point=n[a]}),t}function e(n){return n.map(function(n,t){return{x:Math.round(u(n,t)/Uo)*Uo,y:Math.round(o(n,t)/Uo)*Uo,i:t}})}var r=Ce,i=ze,u=r,o=i,a=sl;return n?t(n):(t.links=function(n){return ar(e(n)).edges.filter(function(n){return n.l&&n.r}).map(function(t){return{source:n[t.l.i],target:n[t.r.i]}})},t.triangles=function(n){var t=[];return ar(e(n)).cells.forEach(function(e,r){for(var i,u,o=e.site,a=e.edges.sort(Ve),l=-1,c=a.length,f=a[c-1].edge,s=f.l===o?f.r:f.l;++l=c,h=r>=f,p=h<<1|s;n.leaf=!1,n=n.nodes[p]||(n.nodes[p]=hr()),s?i=c:a=c,h?o=f:l=f,u(n,t,e,r,i,o,a,l)}var f,s,h,p,g,v,d,y,m,M=En(a),x=En(l);if(null!=t)v=t,d=e,y=r,m=i;else if(y=m=-(v=d=1/0),s=[],h=[],g=n.length,o)for(p=0;g>p;++p)f=n[p],f.xy&&(y=f.x),f.y>m&&(m=f.y),s.push(f.x),h.push(f.y);else for(p=0;g>p;++p){var b=+M(f=n[p],p),_=+x(f,p);v>b&&(v=b),d>_&&(d=_),b>y&&(y=b),_>m&&(m=_),s.push(b),h.push(_)}var w=y-v,S=m-d;w>S?m=d+w:y=v+S;var k=hr();if(k.add=function(n){u(k,n,+M(n,++p),+x(n,p),v,d,y,m)},k.visit=function(n){pr(n,k,v,d,y,m)},k.find=function(n){return gr(k,n[0],n[1],v,d,y,m)},p=-1,null==t){for(;++p=0?n.slice(0,t):n,r=t>=0?n.slice(t+1):"in";return e=vl.get(e)||gl,r=dl.get(r)||m,br(r(e.apply(null,lo.call(arguments,1))))},ao.interpolateHcl=Rr,ao.interpolateHsl=Dr,ao.interpolateLab=Pr,ao.interpolateRound=Ur,ao.transform=function(n){var t=fo.createElementNS(ao.ns.prefix.svg,"g");return(ao.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new jr(e?e.matrix:yl)})(n)},jr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var yl={a:1,b:0,c:0,d:1,e:0,f:0};ao.interpolateTransform=$r,ao.layout={},ao.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++ea*a/y){if(v>l){var c=t.charge/l;n.px-=u*c,n.py-=o*c}return!0}if(t.point&&l&&v>l){var c=t.pointCharge/l;n.px-=u*c,n.py-=o*c}}return!t.charge}}function t(n){n.px=ao.event.x,n.py=ao.event.y,l.resume()}var e,r,i,u,o,a,l={},c=ao.dispatch("start","tick","end"),f=[1,1],s=.9,h=ml,p=Ml,g=-30,v=xl,d=.1,y=.64,M=[],x=[];return l.tick=function(){if((i*=.99)<.005)return e=null,c.end({type:"end",alpha:i=0}),!0;var t,r,l,h,p,v,y,m,b,_=M.length,w=x.length;for(r=0;w>r;++r)l=x[r],h=l.source,p=l.target,m=p.x-h.x,b=p.y-h.y,(v=m*m+b*b)&&(v=i*o[r]*((v=Math.sqrt(v))-u[r])/v,m*=v,b*=v,p.x-=m*(y=h.weight+p.weight?h.weight/(h.weight+p.weight):.5),p.y-=b*y,h.x+=m*(y=1-y),h.y+=b*y);if((y=i*d)&&(m=f[0]/2,b=f[1]/2,r=-1,y))for(;++r<_;)l=M[r],l.x+=(m-l.x)*y,l.y+=(b-l.y)*y;if(g)for(ri(t=ao.geom.quadtree(M),i,a),r=-1;++r<_;)(l=M[r]).fixed||t.visit(n(l));for(r=-1;++r<_;)l=M[r],l.fixed?(l.x=l.px,l.y=l.py):(l.x-=(l.px-(l.px=l.x))*s,l.y-=(l.py-(l.py=l.y))*s);c.tick({type:"tick",alpha:i})},l.nodes=function(n){return arguments.length?(M=n,l):M},l.links=function(n){return arguments.length?(x=n,l):x},l.size=function(n){return arguments.length?(f=n,l):f},l.linkDistance=function(n){return arguments.length?(h="function"==typeof n?n:+n,l):h},l.distance=l.linkDistance,l.linkStrength=function(n){return arguments.length?(p="function"==typeof n?n:+n,l):p},l.friction=function(n){return arguments.length?(s=+n,l):s},l.charge=function(n){return arguments.length?(g="function"==typeof n?n:+n,l):g},l.chargeDistance=function(n){return arguments.length?(v=n*n,l):Math.sqrt(v)},l.gravity=function(n){return arguments.length?(d=+n,l):d},l.theta=function(n){return arguments.length?(y=n*n,l):Math.sqrt(y)},l.alpha=function(n){return arguments.length?(n=+n,i?n>0?i=n:(e.c=null,e.t=NaN,e=null,c.end({type:"end",alpha:i=0})):n>0&&(c.start({type:"start",alpha:i=n}),e=qn(l.tick)),l):i},l.start=function(){function n(n,r){if(!e){for(e=new Array(i),l=0;i>l;++l)e[l]=[];for(l=0;c>l;++l){var u=x[l];e[u.source.index].push(u.target),e[u.target.index].push(u.source)}}for(var o,a=e[t],l=-1,f=a.length;++lt;++t)(r=M[t]).index=t,r.weight=0;for(t=0;c>t;++t)r=x[t],"number"==typeof r.source&&(r.source=M[r.source]),"number"==typeof r.target&&(r.target=M[r.target]),++r.source.weight,++r.target.weight;for(t=0;i>t;++t)r=M[t],isNaN(r.x)&&(r.x=n("x",s)),isNaN(r.y)&&(r.y=n("y",v)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(u=[],"function"==typeof h)for(t=0;c>t;++t)u[t]=+h.call(this,x[t],t);else for(t=0;c>t;++t)u[t]=h;if(o=[],"function"==typeof p)for(t=0;c>t;++t)o[t]=+p.call(this,x[t],t);else for(t=0;c>t;++t)o[t]=p;if(a=[],"function"==typeof g)for(t=0;i>t;++t)a[t]=+g.call(this,M[t],t);else for(t=0;i>t;++t)a[t]=g;return l.resume()},l.resume=function(){return l.alpha(.1)},l.stop=function(){return l.alpha(0)},l.drag=function(){return r||(r=ao.behavior.drag().origin(m).on("dragstart.force",Qr).on("drag.force",t).on("dragend.force",ni)),arguments.length?void this.on("mouseover.force",ti).on("mouseout.force",ei).call(r):r},ao.rebind(l,c,"on")};var ml=20,Ml=1,xl=1/0;ao.layout.hierarchy=function(){function n(i){var u,o=[i],a=[];for(i.depth=0;null!=(u=o.pop());)if(a.push(u),(c=e.call(n,u,u.depth))&&(l=c.length)){for(var l,c,f;--l>=0;)o.push(f=c[l]),f.parent=u,f.depth=u.depth+1;r&&(u.value=0),u.children=c}else r&&(u.value=+r.call(n,u,u.depth)||0),delete u.children;return oi(i,function(n){var e,i;t&&(e=n.children)&&e.sort(t),r&&(i=n.parent)&&(i.value+=n.value)}),a}var t=ci,e=ai,r=li;return n.sort=function(e){return arguments.length?(t=e,n):t},n.children=function(t){return arguments.length?(e=t,n):e},n.value=function(t){return arguments.length?(r=t,n):r},n.revalue=function(t){return r&&(ui(t,function(n){n.children&&(n.value=0)}),oi(t,function(t){var e;t.children||(t.value=+r.call(n,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)})),t},n},ao.layout.partition=function(){function n(t,e,r,i){var u=t.children;if(t.x=e,t.y=t.depth*i,t.dx=r,t.dy=i,u&&(o=u.length)){var o,a,l,c=-1;for(r=t.value?r/t.value:0;++cs?-1:1),g=ao.sum(c),v=g?(s-l*p)/g:0,d=ao.range(l),y=[];return null!=e&&d.sort(e===bl?function(n,t){return c[t]-c[n]}:function(n,t){return e(o[n],o[t])}),d.forEach(function(n){y[n]={data:o[n],value:a=c[n],startAngle:f,endAngle:f+=a*v+p,padAngle:h}}),y}var t=Number,e=bl,r=0,i=Ho,u=0;return n.value=function(e){return arguments.length?(t=e,n):t},n.sort=function(t){return arguments.length?(e=t,n):e},n.startAngle=function(t){return arguments.length?(r=t,n):r},n.endAngle=function(t){return arguments.length?(i=t,n):i},n.padAngle=function(t){return arguments.length?(u=t,n):u},n};var bl={};ao.layout.stack=function(){function n(a,l){if(!(h=a.length))return a;var c=a.map(function(e,r){return t.call(n,e,r)}),f=c.map(function(t){return t.map(function(t,e){return[u.call(n,t,e),o.call(n,t,e)]})}),s=e.call(n,f,l);c=ao.permute(c,s),f=ao.permute(f,s);var h,p,g,v,d=r.call(n,f,l),y=c[0].length;for(g=0;y>g;++g)for(i.call(n,c[0][g],v=d[g],f[0][g][1]),p=1;h>p;++p)i.call(n,c[p][g],v+=f[p-1][g][1],f[p][g][1]);return a}var t=m,e=gi,r=vi,i=pi,u=si,o=hi;return n.values=function(e){return arguments.length?(t=e,n):t},n.order=function(t){return arguments.length?(e="function"==typeof t?t:_l.get(t)||gi,n):e},n.offset=function(t){return arguments.length?(r="function"==typeof t?t:wl.get(t)||vi,n):r},n.x=function(t){return arguments.length?(u=t,n):u},n.y=function(t){return arguments.length?(o=t,n):o},n.out=function(t){return arguments.length?(i=t,n):i},n};var _l=ao.map({"inside-out":function(n){var t,e,r=n.length,i=n.map(di),u=n.map(yi),o=ao.range(r).sort(function(n,t){return i[n]-i[t]}),a=0,l=0,c=[],f=[];for(t=0;r>t;++t)e=o[t],l>a?(a+=u[e],c.push(e)):(l+=u[e],f.push(e));return f.reverse().concat(c)},reverse:function(n){return ao.range(n.length).reverse()},"default":gi}),wl=ao.map({silhouette:function(n){var t,e,r,i=n.length,u=n[0].length,o=[],a=0,l=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];r>a&&(a=r),o.push(r)}for(e=0;u>e;++e)l[e]=(a-o[e])/2;return l},wiggle:function(n){var t,e,r,i,u,o,a,l,c,f=n.length,s=n[0],h=s.length,p=[];for(p[0]=l=c=0,e=1;h>e;++e){for(t=0,i=0;f>t;++t)i+=n[t][e][1];for(t=0,u=0,a=s[e][0]-s[e-1][0];f>t;++t){for(r=0,o=(n[t][e][1]-n[t][e-1][1])/(2*a);t>r;++r)o+=(n[r][e][1]-n[r][e-1][1])/a;u+=o*n[t][e][1]}p[e]=l-=i?u/i*a:0,c>l&&(c=l)}for(e=0;h>e;++e)p[e]-=c;return p},expand:function(n){var t,e,r,i=n.length,u=n[0].length,o=1/i,a=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];if(r)for(t=0;i>t;t++)n[t][e][1]/=r;else for(t=0;i>t;t++)n[t][e][1]=o}for(e=0;u>e;++e)a[e]=0;return a},zero:vi});ao.layout.histogram=function(){function n(n,u){for(var o,a,l=[],c=n.map(e,this),f=r.call(this,c,u),s=i.call(this,f,c,u),u=-1,h=c.length,p=s.length-1,g=t?1:1/h;++u0)for(u=-1;++u=f[0]&&a<=f[1]&&(o=l[ao.bisect(s,a,1,p)-1],o.y+=g,o.push(n[u]));return l}var t=!0,e=Number,r=bi,i=Mi;return n.value=function(t){return arguments.length?(e=t,n):e},n.range=function(t){return arguments.length?(r=En(t),n):r},n.bins=function(t){return arguments.length?(i="number"==typeof t?function(n){return xi(n,t)}:En(t),n):i},n.frequency=function(e){return arguments.length?(t=!!e,n):t},n},ao.layout.pack=function(){function n(n,u){var o=e.call(this,n,u),a=o[0],l=i[0],c=i[1],f=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(a.x=a.y=0,oi(a,function(n){n.r=+f(n.value)}),oi(a,Ni),r){var s=r*(t?1:Math.max(2*a.r/l,2*a.r/c))/2;oi(a,function(n){n.r+=s}),oi(a,Ni),oi(a,function(n){n.r-=s})}return Ci(a,l/2,c/2,t?1:1/Math.max(2*a.r/l,2*a.r/c)),o}var t,e=ao.layout.hierarchy().sort(_i),r=0,i=[1,1];return n.size=function(t){return arguments.length?(i=t,n):i},n.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,n):t},n.padding=function(t){return arguments.length?(r=+t,n):r},ii(n,e)},ao.layout.tree=function(){function n(n,i){var f=o.call(this,n,i),s=f[0],h=t(s);if(oi(h,e),h.parent.m=-h.z,ui(h,r),c)ui(s,u);else{var p=s,g=s,v=s;ui(s,function(n){n.xg.x&&(g=n),n.depth>v.depth&&(v=n)});var d=a(p,g)/2-p.x,y=l[0]/(g.x+a(g,p)/2+d),m=l[1]/(v.depth||1);ui(s,function(n){n.x=(n.x+d)*y,n.y=n.depth*m})}return f}function t(n){for(var t,e={A:null,children:[n]},r=[e];null!=(t=r.pop());)for(var i,u=t.children,o=0,a=u.length;a>o;++o)r.push((u[o]=i={_:u[o],parent:t,children:(i=u[o].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=i);return e.children[0]}function e(n){var t=n.children,e=n.parent.children,r=n.i?e[n.i-1]:null;if(t.length){Di(n);var u=(t[0].z+t[t.length-1].z)/2;r?(n.z=r.z+a(n._,r._),n.m=n.z-u):n.z=u}else r&&(n.z=r.z+a(n._,r._));n.parent.A=i(n,r,n.parent.A||e[0])}function r(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function i(n,t,e){if(t){for(var r,i=n,u=n,o=t,l=i.parent.children[0],c=i.m,f=u.m,s=o.m,h=l.m;o=Ti(o),i=qi(i),o&&i;)l=qi(l),u=Ti(u),u.a=n,r=o.z+s-i.z-c+a(o._,i._),r>0&&(Ri(Pi(o,n,e),n,r),c+=r,f+=r),s+=o.m,c+=i.m,h+=l.m,f+=u.m;o&&!Ti(u)&&(u.t=o,u.m+=s-f),i&&!qi(l)&&(l.t=i,l.m+=c-h,e=n)}return e}function u(n){n.x*=l[0],n.y=n.depth*l[1]}var o=ao.layout.hierarchy().sort(null).value(null),a=Li,l=[1,1],c=null;return n.separation=function(t){return arguments.length?(a=t,n):a},n.size=function(t){return arguments.length?(c=null==(l=t)?u:null,n):c?null:l},n.nodeSize=function(t){return arguments.length?(c=null==(l=t)?null:u,n):c?l:null},ii(n,o)},ao.layout.cluster=function(){function n(n,u){var o,a=t.call(this,n,u),l=a[0],c=0;oi(l,function(n){var t=n.children;t&&t.length?(n.x=ji(t),n.y=Ui(t)):(n.x=o?c+=e(n,o):0,n.y=0,o=n)});var f=Fi(l),s=Hi(l),h=f.x-e(f,s)/2,p=s.x+e(s,f)/2;return oi(l,i?function(n){n.x=(n.x-l.x)*r[0],n.y=(l.y-n.y)*r[1]}:function(n){n.x=(n.x-h)/(p-h)*r[0],n.y=(1-(l.y?n.y/l.y:1))*r[1]}),a}var t=ao.layout.hierarchy().sort(null).value(null),e=Li,r=[1,1],i=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(i=null==(r=t),n):i?null:r},n.nodeSize=function(t){return arguments.length?(i=null!=(r=t),n):i?r:null},ii(n,t)},ao.layout.treemap=function(){function n(n,t){for(var e,r,i=-1,u=n.length;++it?0:t),e.area=isNaN(r)||0>=r?0:r}function t(e){var u=e.children;if(u&&u.length){var o,a,l,c=s(e),f=[],h=u.slice(),g=1/0,v="slice"===p?c.dx:"dice"===p?c.dy:"slice-dice"===p?1&e.depth?c.dy:c.dx:Math.min(c.dx,c.dy);for(n(h,c.dx*c.dy/e.value),f.area=0;(l=h.length)>0;)f.push(o=h[l-1]),f.area+=o.area,"squarify"!==p||(a=r(f,v))<=g?(h.pop(),g=a):(f.area-=f.pop().area,i(f,v,c,!1),v=Math.min(c.dx,c.dy),f.length=f.area=0,g=1/0);f.length&&(i(f,v,c,!0),f.length=f.area=0),u.forEach(t)}}function e(t){var r=t.children;if(r&&r.length){var u,o=s(t),a=r.slice(),l=[];for(n(a,o.dx*o.dy/t.value),l.area=0;u=a.pop();)l.push(u),l.area+=u.area,null!=u.z&&(i(l,u.z?o.dx:o.dy,o,!a.length),l.length=l.area=0);r.forEach(e)}}function r(n,t){for(var e,r=n.area,i=0,u=1/0,o=-1,a=n.length;++oe&&(u=e),e>i&&(i=e));return r*=r,t*=t,r?Math.max(t*i*g/r,r/(t*u*g)):1/0}function i(n,t,e,r){var i,u=-1,o=n.length,a=e.x,c=e.y,f=t?l(n.area/t):0; +if(t==e.dx){for((r||f>e.dy)&&(f=e.dy);++ue.dx)&&(f=e.dx);++ue&&(t=1),1>e&&(n=0),function(){var e,r,i;do e=2*Math.random()-1,r=2*Math.random()-1,i=e*e+r*r;while(!i||i>1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var n=ao.random.normal.apply(ao,arguments);return function(){return Math.exp(n())}},bates:function(n){var t=ao.random.irwinHall(n);return function(){return t()/n}},irwinHall:function(n){return function(){for(var t=0,e=0;n>e;e++)t+=Math.random();return t}}},ao.scale={};var Sl={floor:m,ceil:m};ao.scale.linear=function(){return Wi([0,1],[0,1],Mr,!1)};var kl={s:1,g:1,p:1,r:1,e:1};ao.scale.log=function(){return ru(ao.scale.linear().domain([0,1]),10,!0,[1,10])};var Nl=ao.format(".0e"),El={floor:function(n){return-Math.ceil(-n)},ceil:function(n){return-Math.floor(-n)}};ao.scale.pow=function(){return iu(ao.scale.linear(),1,[0,1])},ao.scale.sqrt=function(){return ao.scale.pow().exponent(.5)},ao.scale.ordinal=function(){return ou([],{t:"range",a:[[]]})},ao.scale.category10=function(){return ao.scale.ordinal().range(Al)},ao.scale.category20=function(){return ao.scale.ordinal().range(Cl)},ao.scale.category20b=function(){return ao.scale.ordinal().range(zl)},ao.scale.category20c=function(){return ao.scale.ordinal().range(Ll)};var Al=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(xn),Cl=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(xn),zl=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(xn),Ll=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(xn);ao.scale.quantile=function(){return au([],[])},ao.scale.quantize=function(){return lu(0,1,[0,1])},ao.scale.threshold=function(){return cu([.5],[0,1])},ao.scale.identity=function(){return fu([0,1])},ao.svg={},ao.svg.arc=function(){function n(){var n=Math.max(0,+e.apply(this,arguments)),c=Math.max(0,+r.apply(this,arguments)),f=o.apply(this,arguments)-Io,s=a.apply(this,arguments)-Io,h=Math.abs(s-f),p=f>s?0:1;if(n>c&&(g=c,c=n,n=g),h>=Oo)return t(c,p)+(n?t(n,1-p):"")+"Z";var g,v,d,y,m,M,x,b,_,w,S,k,N=0,E=0,A=[];if((y=(+l.apply(this,arguments)||0)/2)&&(d=u===ql?Math.sqrt(n*n+c*c):+u.apply(this,arguments),p||(E*=-1),c&&(E=tn(d/c*Math.sin(y))),n&&(N=tn(d/n*Math.sin(y)))),c){m=c*Math.cos(f+E),M=c*Math.sin(f+E),x=c*Math.cos(s-E),b=c*Math.sin(s-E);var C=Math.abs(s-f-2*E)<=Fo?0:1;if(E&&yu(m,M,x,b)===p^C){var z=(f+s)/2;m=c*Math.cos(z),M=c*Math.sin(z),x=b=null}}else m=M=0;if(n){_=n*Math.cos(s-N),w=n*Math.sin(s-N),S=n*Math.cos(f+N),k=n*Math.sin(f+N);var L=Math.abs(f-s+2*N)<=Fo?0:1;if(N&&yu(_,w,S,k)===1-p^L){var q=(f+s)/2;_=n*Math.cos(q),w=n*Math.sin(q),S=k=null}}else _=w=0;if(h>Uo&&(g=Math.min(Math.abs(c-n)/2,+i.apply(this,arguments)))>.001){v=c>n^p?0:1;var T=g,R=g;if(Fo>h){var D=null==S?[_,w]:null==x?[m,M]:Re([m,M],[S,k],[x,b],[_,w]),P=m-D[0],U=M-D[1],j=x-D[0],F=b-D[1],H=1/Math.sin(Math.acos((P*j+U*F)/(Math.sqrt(P*P+U*U)*Math.sqrt(j*j+F*F)))/2),O=Math.sqrt(D[0]*D[0]+D[1]*D[1]);R=Math.min(g,(n-O)/(H-1)),T=Math.min(g,(c-O)/(H+1))}if(null!=x){var I=mu(null==S?[_,w]:[S,k],[m,M],c,T,p),Y=mu([x,b],[_,w],c,T,p);g===T?A.push("M",I[0],"A",T,",",T," 0 0,",v," ",I[1],"A",c,",",c," 0 ",1-p^yu(I[1][0],I[1][1],Y[1][0],Y[1][1]),",",p," ",Y[1],"A",T,",",T," 0 0,",v," ",Y[0]):A.push("M",I[0],"A",T,",",T," 0 1,",v," ",Y[0])}else A.push("M",m,",",M);if(null!=S){var Z=mu([m,M],[S,k],n,-R,p),V=mu([_,w],null==x?[m,M]:[x,b],n,-R,p);g===R?A.push("L",V[0],"A",R,",",R," 0 0,",v," ",V[1],"A",n,",",n," 0 ",p^yu(V[1][0],V[1][1],Z[1][0],Z[1][1]),",",1-p," ",Z[1],"A",R,",",R," 0 0,",v," ",Z[0]):A.push("L",V[0],"A",R,",",R," 0 0,",v," ",Z[0])}else A.push("L",_,",",w)}else A.push("M",m,",",M),null!=x&&A.push("A",c,",",c," 0 ",C,",",p," ",x,",",b),A.push("L",_,",",w),null!=S&&A.push("A",n,",",n," 0 ",L,",",1-p," ",S,",",k);return A.push("Z"),A.join("")}function t(n,t){return"M0,"+n+"A"+n+","+n+" 0 1,"+t+" 0,"+-n+"A"+n+","+n+" 0 1,"+t+" 0,"+n}var e=hu,r=pu,i=su,u=ql,o=gu,a=vu,l=du;return n.innerRadius=function(t){return arguments.length?(e=En(t),n):e},n.outerRadius=function(t){return arguments.length?(r=En(t),n):r},n.cornerRadius=function(t){return arguments.length?(i=En(t),n):i},n.padRadius=function(t){return arguments.length?(u=t==ql?ql:En(t),n):u},n.startAngle=function(t){return arguments.length?(o=En(t),n):o},n.endAngle=function(t){return arguments.length?(a=En(t),n):a},n.padAngle=function(t){return arguments.length?(l=En(t),n):l},n.centroid=function(){var n=(+e.apply(this,arguments)+ +r.apply(this,arguments))/2,t=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-Io;return[Math.cos(t)*n,Math.sin(t)*n]},n};var ql="auto";ao.svg.line=function(){return Mu(m)};var Tl=ao.map({linear:xu,"linear-closed":bu,step:_u,"step-before":wu,"step-after":Su,basis:zu,"basis-open":Lu,"basis-closed":qu,bundle:Tu,cardinal:Eu,"cardinal-open":ku,"cardinal-closed":Nu,monotone:Fu});Tl.forEach(function(n,t){t.key=n,t.closed=/-closed$/.test(n)});var Rl=[0,2/3,1/3,0],Dl=[0,1/3,2/3,0],Pl=[0,1/6,2/3,1/6];ao.svg.line.radial=function(){var n=Mu(Hu);return n.radius=n.x,delete n.x,n.angle=n.y,delete n.y,n},wu.reverse=Su,Su.reverse=wu,ao.svg.area=function(){return Ou(m)},ao.svg.area.radial=function(){var n=Ou(Hu);return n.radius=n.x,delete n.x,n.innerRadius=n.x0,delete n.x0,n.outerRadius=n.x1,delete n.x1,n.angle=n.y,delete n.y,n.startAngle=n.y0,delete n.y0,n.endAngle=n.y1,delete n.y1,n},ao.svg.chord=function(){function n(n,a){var l=t(this,u,n,a),c=t(this,o,n,a);return"M"+l.p0+r(l.r,l.p1,l.a1-l.a0)+(e(l,c)?i(l.r,l.p1,l.r,l.p0):i(l.r,l.p1,c.r,c.p0)+r(c.r,c.p1,c.a1-c.a0)+i(c.r,c.p1,l.r,l.p0))+"Z"}function t(n,t,e,r){var i=t.call(n,e,r),u=a.call(n,i,r),o=l.call(n,i,r)-Io,f=c.call(n,i,r)-Io;return{r:u,a0:o,a1:f,p0:[u*Math.cos(o),u*Math.sin(o)],p1:[u*Math.cos(f),u*Math.sin(f)]}}function e(n,t){return n.a0==t.a0&&n.a1==t.a1}function r(n,t,e){return"A"+n+","+n+" 0 "+ +(e>Fo)+",1 "+t}function i(n,t,e,r){return"Q 0,0 "+r}var u=Me,o=xe,a=Iu,l=gu,c=vu;return n.radius=function(t){return arguments.length?(a=En(t),n):a},n.source=function(t){return arguments.length?(u=En(t),n):u},n.target=function(t){return arguments.length?(o=En(t),n):o},n.startAngle=function(t){return arguments.length?(l=En(t),n):l},n.endAngle=function(t){return arguments.length?(c=En(t),n):c},n},ao.svg.diagonal=function(){function n(n,i){var u=t.call(this,n,i),o=e.call(this,n,i),a=(u.y+o.y)/2,l=[u,{x:u.x,y:a},{x:o.x,y:a},o];return l=l.map(r),"M"+l[0]+"C"+l[1]+" "+l[2]+" "+l[3]}var t=Me,e=xe,r=Yu;return n.source=function(e){return arguments.length?(t=En(e),n):t},n.target=function(t){return arguments.length?(e=En(t),n):e},n.projection=function(t){return arguments.length?(r=t,n):r},n},ao.svg.diagonal.radial=function(){var n=ao.svg.diagonal(),t=Yu,e=n.projection;return n.projection=function(n){return arguments.length?e(Zu(t=n)):t},n},ao.svg.symbol=function(){function n(n,r){return(Ul.get(t.call(this,n,r))||$u)(e.call(this,n,r))}var t=Xu,e=Vu;return n.type=function(e){return arguments.length?(t=En(e),n):t},n.size=function(t){return arguments.length?(e=En(t),n):e},n};var Ul=ao.map({circle:$u,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*Fl)),e=t*Fl;return"M0,"+-t+"L"+e+",0 0,"+t+" "+-e+",0Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}});ao.svg.symbolTypes=Ul.keys();var jl=Math.sqrt(3),Fl=Math.tan(30*Yo);Co.transition=function(n){for(var t,e,r=Hl||++Zl,i=Ku(n),u=[],o=Ol||{time:Date.now(),ease:Nr,delay:0,duration:250},a=-1,l=this.length;++au;u++){i.push(t=[]);for(var e=this[u],a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return Wu(i,this.namespace,this.id)},Yl.tween=function(n,t){var e=this.id,r=this.namespace;return arguments.length<2?this.node()[r][e].tween.get(n):Y(this,null==t?function(t){t[r][e].tween.remove(n)}:function(i){i[r][e].tween.set(n,t)})},Yl.attr=function(n,t){function e(){this.removeAttribute(a)}function r(){this.removeAttributeNS(a.space,a.local)}function i(n){return null==n?e:(n+="",function(){var t,e=this.getAttribute(a);return e!==n&&(t=o(e,n),function(n){this.setAttribute(a,t(n))})})}function u(n){return null==n?r:(n+="",function(){var t,e=this.getAttributeNS(a.space,a.local);return e!==n&&(t=o(e,n),function(n){this.setAttributeNS(a.space,a.local,t(n))})})}if(arguments.length<2){for(t in n)this.attr(t,n[t]);return this}var o="transform"==n?$r:Mr,a=ao.ns.qualify(n);return Ju(this,"attr."+n,t,a.local?u:i)},Yl.attrTween=function(n,t){function e(n,e){var r=t.call(this,n,e,this.getAttribute(i));return r&&function(n){this.setAttribute(i,r(n))}}function r(n,e){var r=t.call(this,n,e,this.getAttributeNS(i.space,i.local));return r&&function(n){this.setAttributeNS(i.space,i.local,r(n))}}var i=ao.ns.qualify(n);return this.tween("attr."+n,i.local?r:e)},Yl.style=function(n,e,r){function i(){this.style.removeProperty(n)}function u(e){return null==e?i:(e+="",function(){var i,u=t(this).getComputedStyle(this,null).getPropertyValue(n);return u!==e&&(i=Mr(u,e),function(t){this.style.setProperty(n,i(t),r)})})}var o=arguments.length;if(3>o){if("string"!=typeof n){2>o&&(e="");for(r in n)this.style(r,n[r],e);return this}r=""}return Ju(this,"style."+n,e,u)},Yl.styleTween=function(n,e,r){function i(i,u){var o=e.call(this,i,u,t(this).getComputedStyle(this,null).getPropertyValue(n));return o&&function(t){this.style.setProperty(n,o(t),r)}}return arguments.length<3&&(r=""),this.tween("style."+n,i)},Yl.text=function(n){return Ju(this,"text",n,Gu)},Yl.remove=function(){var n=this.namespace;return this.each("end.transition",function(){var t;this[n].count<2&&(t=this.parentNode)&&t.removeChild(this)})},Yl.ease=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].ease:("function"!=typeof n&&(n=ao.ease.apply(ao,arguments)),Y(this,function(r){r[e][t].ease=n}))},Yl.delay=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].delay:Y(this,"function"==typeof n?function(r,i,u){r[e][t].delay=+n.call(r,r.__data__,i,u)}:(n=+n,function(r){r[e][t].delay=n}))},Yl.duration=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].duration:Y(this,"function"==typeof n?function(r,i,u){r[e][t].duration=Math.max(1,n.call(r,r.__data__,i,u))}:(n=Math.max(1,n),function(r){r[e][t].duration=n}))},Yl.each=function(n,t){var e=this.id,r=this.namespace;if(arguments.length<2){var i=Ol,u=Hl;try{Hl=e,Y(this,function(t,i,u){Ol=t[r][e],n.call(t,t.__data__,i,u)})}finally{Ol=i,Hl=u}}else Y(this,function(i){var u=i[r][e];(u.event||(u.event=ao.dispatch("start","end","interrupt"))).on(n,t)});return this},Yl.transition=function(){for(var n,t,e,r,i=this.id,u=++Zl,o=this.namespace,a=[],l=0,c=this.length;c>l;l++){a.push(n=[]);for(var t=this[l],f=0,s=t.length;s>f;f++)(e=t[f])&&(r=e[o][i],Qu(e,f,o,u,{time:r.time,ease:r.ease,delay:r.delay+r.duration,duration:r.duration})),n.push(e)}return Wu(a,o,u)},ao.svg.axis=function(){function n(n){n.each(function(){var n,c=ao.select(this),f=this.__chart__||e,s=this.__chart__=e.copy(),h=null==l?s.ticks?s.ticks.apply(s,a):s.domain():l,p=null==t?s.tickFormat?s.tickFormat.apply(s,a):m:t,g=c.selectAll(".tick").data(h,s),v=g.enter().insert("g",".domain").attr("class","tick").style("opacity",Uo),d=ao.transition(g.exit()).style("opacity",Uo).remove(),y=ao.transition(g.order()).style("opacity",1),M=Math.max(i,0)+o,x=Zi(s),b=c.selectAll(".domain").data([0]),_=(b.enter().append("path").attr("class","domain"),ao.transition(b));v.append("line"),v.append("text");var w,S,k,N,E=v.select("line"),A=y.select("line"),C=g.select("text").text(p),z=v.select("text"),L=y.select("text"),q="top"===r||"left"===r?-1:1;if("bottom"===r||"top"===r?(n=no,w="x",k="y",S="x2",N="y2",C.attr("dy",0>q?"0em":".71em").style("text-anchor","middle"),_.attr("d","M"+x[0]+","+q*u+"V0H"+x[1]+"V"+q*u)):(n=to,w="y",k="x",S="y2",N="x2",C.attr("dy",".32em").style("text-anchor",0>q?"end":"start"),_.attr("d","M"+q*u+","+x[0]+"H0V"+x[1]+"H"+q*u)),E.attr(N,q*i),z.attr(k,q*M),A.attr(S,0).attr(N,q*i),L.attr(w,0).attr(k,q*M),s.rangeBand){var T=s,R=T.rangeBand()/2;f=s=function(n){return T(n)+R}}else f.rangeBand?f=s:d.call(n,s,f);v.call(n,f,s),y.call(n,s,s)})}var t,e=ao.scale.linear(),r=Vl,i=6,u=6,o=3,a=[10],l=null;return n.scale=function(t){return arguments.length?(e=t,n):e},n.orient=function(t){return arguments.length?(r=t in Xl?t+"":Vl,n):r},n.ticks=function(){return arguments.length?(a=co(arguments),n):a},n.tickValues=function(t){return arguments.length?(l=t,n):l},n.tickFormat=function(e){return arguments.length?(t=e,n):t},n.tickSize=function(t){var e=arguments.length;return e?(i=+t,u=+arguments[e-1],n):i},n.innerTickSize=function(t){return arguments.length?(i=+t,n):i},n.outerTickSize=function(t){return arguments.length?(u=+t,n):u},n.tickPadding=function(t){return arguments.length?(o=+t,n):o},n.tickSubdivide=function(){return arguments.length&&n},n};var Vl="bottom",Xl={top:1,right:1,bottom:1,left:1};ao.svg.brush=function(){function n(t){t.each(function(){var t=ao.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",u).on("touchstart.brush",u),o=t.selectAll(".background").data([0]);o.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),t.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var a=t.selectAll(".resize").data(v,m);a.exit().remove(),a.enter().append("g").attr("class",function(n){return"resize "+n}).style("cursor",function(n){return $l[n]}).append("rect").attr("x",function(n){return/[ew]$/.test(n)?-3:null}).attr("y",function(n){return/^[ns]/.test(n)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),a.style("display",n.empty()?"none":null);var l,s=ao.transition(t),h=ao.transition(o);c&&(l=Zi(c),h.attr("x",l[0]).attr("width",l[1]-l[0]),r(s)),f&&(l=Zi(f),h.attr("y",l[0]).attr("height",l[1]-l[0]),i(s)),e(s)})}function e(n){n.selectAll(".resize").attr("transform",function(n){return"translate("+s[+/e$/.test(n)]+","+h[+/^s/.test(n)]+")"})}function r(n){n.select(".extent").attr("x",s[0]),n.selectAll(".extent,.n>rect,.s>rect").attr("width",s[1]-s[0])}function i(n){n.select(".extent").attr("y",h[0]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",h[1]-h[0])}function u(){function u(){32==ao.event.keyCode&&(C||(M=null,L[0]-=s[1],L[1]-=h[1],C=2),S())}function v(){32==ao.event.keyCode&&2==C&&(L[0]+=s[1],L[1]+=h[1],C=0,S())}function d(){var n=ao.mouse(b),t=!1;x&&(n[0]+=x[0],n[1]+=x[1]),C||(ao.event.altKey?(M||(M=[(s[0]+s[1])/2,(h[0]+h[1])/2]),L[0]=s[+(n[0]f?(i=r,r=f):i=f),v[0]!=r||v[1]!=i?(e?a=null:o=null,v[0]=r,v[1]=i,!0):void 0}function m(){d(),k.style("pointer-events","all").selectAll(".resize").style("display",n.empty()?"none":null),ao.select("body").style("cursor",null),q.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),z(),w({type:"brushend"})}var M,x,b=this,_=ao.select(ao.event.target),w=l.of(b,arguments),k=ao.select(b),N=_.datum(),E=!/^(n|s)$/.test(N)&&c,A=!/^(e|w)$/.test(N)&&f,C=_.classed("extent"),z=W(b),L=ao.mouse(b),q=ao.select(t(b)).on("keydown.brush",u).on("keyup.brush",v);if(ao.event.changedTouches?q.on("touchmove.brush",d).on("touchend.brush",m):q.on("mousemove.brush",d).on("mouseup.brush",m),k.interrupt().selectAll("*").interrupt(),C)L[0]=s[0]-L[0],L[1]=h[0]-L[1];else if(N){var T=+/w$/.test(N),R=+/^n/.test(N);x=[s[1-T]-L[0],h[1-R]-L[1]],L[0]=s[T],L[1]=h[R]}else ao.event.altKey&&(M=L.slice());k.style("pointer-events","none").selectAll(".resize").style("display",null),ao.select("body").style("cursor",_.style("cursor")),w({type:"brushstart"}),d()}var o,a,l=N(n,"brushstart","brush","brushend"),c=null,f=null,s=[0,0],h=[0,0],p=!0,g=!0,v=Bl[0];return n.event=function(n){n.each(function(){var n=l.of(this,arguments),t={x:s,y:h,i:o,j:a},e=this.__chart__||t;this.__chart__=t,Hl?ao.select(this).transition().each("start.brush",function(){o=e.i,a=e.j,s=e.x,h=e.y,n({type:"brushstart"})}).tween("brush:brush",function(){var e=xr(s,t.x),r=xr(h,t.y);return o=a=null,function(i){s=t.x=e(i),h=t.y=r(i),n({type:"brush",mode:"resize"})}}).each("end.brush",function(){o=t.i,a=t.j,n({type:"brush",mode:"resize"}),n({type:"brushend"})}):(n({type:"brushstart"}),n({type:"brush",mode:"resize"}),n({type:"brushend"}))})},n.x=function(t){return arguments.length?(c=t,v=Bl[!c<<1|!f],n):c},n.y=function(t){return arguments.length?(f=t,v=Bl[!c<<1|!f],n):f},n.clamp=function(t){return arguments.length?(c&&f?(p=!!t[0],g=!!t[1]):c?p=!!t:f&&(g=!!t),n):c&&f?[p,g]:c?p:f?g:null},n.extent=function(t){var e,r,i,u,l;return arguments.length?(c&&(e=t[0],r=t[1],f&&(e=e[0],r=r[0]),o=[e,r],c.invert&&(e=c(e),r=c(r)),e>r&&(l=e,e=r,r=l),e==s[0]&&r==s[1]||(s=[e,r])),f&&(i=t[0],u=t[1],c&&(i=i[1],u=u[1]),a=[i,u],f.invert&&(i=f(i),u=f(u)),i>u&&(l=i,i=u,u=l),i==h[0]&&u==h[1]||(h=[i,u])),n):(c&&(o?(e=o[0],r=o[1]):(e=s[0],r=s[1],c.invert&&(e=c.invert(e),r=c.invert(r)),e>r&&(l=e,e=r,r=l))),f&&(a?(i=a[0],u=a[1]):(i=h[0],u=h[1],f.invert&&(i=f.invert(i),u=f.invert(u)),i>u&&(l=i,i=u,u=l))),c&&f?[[e,i],[r,u]]:c?[e,r]:f&&[i,u])},n.clear=function(){return n.empty()||(s=[0,0],h=[0,0],o=a=null),n},n.empty=function(){return!!c&&s[0]==s[1]||!!f&&h[0]==h[1]},ao.rebind(n,l,"on")};var $l={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Bl=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Wl=ga.format=xa.timeFormat,Jl=Wl.utc,Gl=Jl("%Y-%m-%dT%H:%M:%S.%LZ");Wl.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?eo:Gl,eo.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},eo.toString=Gl.toString,ga.second=On(function(n){return new va(1e3*Math.floor(n/1e3))},function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))},function(n){return n.getSeconds()}),ga.seconds=ga.second.range,ga.seconds.utc=ga.second.utc.range,ga.minute=On(function(n){return new va(6e4*Math.floor(n/6e4))},function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))},function(n){return n.getMinutes()}),ga.minutes=ga.minute.range,ga.minutes.utc=ga.minute.utc.range,ga.hour=On(function(n){var t=n.getTimezoneOffset()/60;return new va(36e5*(Math.floor(n/36e5-t)+t))},function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))},function(n){return n.getHours()}),ga.hours=ga.hour.range,ga.hours.utc=ga.hour.utc.range,ga.month=On(function(n){return n=ga.day(n),n.setDate(1),n},function(n,t){n.setMonth(n.getMonth()+t)},function(n){return n.getMonth()}),ga.months=ga.month.range,ga.months.utc=ga.month.utc.range;var Kl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Ql=[[ga.second,1],[ga.second,5],[ga.second,15],[ga.second,30],[ga.minute,1],[ga.minute,5],[ga.minute,15],[ga.minute,30],[ga.hour,1],[ga.hour,3],[ga.hour,6],[ga.hour,12],[ga.day,1],[ga.day,2],[ga.week,1],[ga.month,1],[ga.month,3],[ga.year,1]],nc=Wl.multi([[".%L",function(n){return n.getMilliseconds()}],[":%S",function(n){return n.getSeconds()}],["%I:%M",function(n){return n.getMinutes()}],["%I %p",function(n){return n.getHours()}],["%a %d",function(n){return n.getDay()&&1!=n.getDate()}],["%b %d",function(n){return 1!=n.getDate()}],["%B",function(n){return n.getMonth()}],["%Y",zt]]),tc={range:function(n,t,e){return ao.range(Math.ceil(n/e)*e,+t,e).map(io)},floor:m,ceil:m};Ql.year=ga.year,ga.scale=function(){return ro(ao.scale.linear(),Ql,nc)};var ec=Ql.map(function(n){return[n[0].utc,n[1]]}),rc=Jl.multi([[".%L",function(n){return n.getUTCMilliseconds()}],[":%S",function(n){return n.getUTCSeconds()}],["%I:%M",function(n){return n.getUTCMinutes()}],["%I %p",function(n){return n.getUTCHours()}],["%a %d",function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],["%b %d",function(n){return 1!=n.getUTCDate()}],["%B",function(n){return n.getUTCMonth()}],["%Y",zt]]);ec.year=ga.year.utc,ga.scale.utc=function(){return ro(ao.scale.linear(),ec,rc)},ao.text=An(function(n){return n.responseText}),ao.json=function(n,t){return Cn(n,"application/json",uo,t)},ao.html=function(n,t){return Cn(n,"text/html",oo,t)},ao.xml=An(function(n){return n.responseXML}),"function"==typeof define&&define.amd?(this.d3=ao,define(ao)):"object"==typeof module&&module.exports?module.exports=ao:this.d3=ao}(); \ No newline at end of file diff --git a/dist/vocabulary/mapping/0.2.1/webvowl/js/webvowl.app.js b/dist/vocabulary/mapping/0.2.1/webvowl/js/webvowl.app.js new file mode 100644 index 0000000..f3eba7c --- /dev/null +++ b/dist/vocabulary/mapping/0.2.1/webvowl/js/webvowl.app.js @@ -0,0 +1,5 @@ +webvowl.app=function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}({0:function(e,t,n){n(319),n(321),e.exports=n(322)},6:function(e,t){e.exports=d3},91:function(e,t,n){function o(e){return null==e?void 0===e?s:l:d&&d in Object(e)?r(e):a(e)}var i=n(92),r=n(95),a=n(96),l="[object Null]",s="[object Undefined]",d=i?i.toStringTag:void 0;e.exports=o},92:function(e,t,n){var o=n(93),i=o.Symbol;e.exports=i},93:function(e,t,n){var o=n(94),i="object"==typeof self&&self&&self.Object===Object&&self,r=o||i||Function("return this")();e.exports=r},94:function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},95:function(e,t,n){function o(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var o=!0}catch(e){}var i=l.call(e);return o&&(t?e[s]=n:delete e[s]),i}var i=n(92),r=Object.prototype,a=r.hasOwnProperty,l=r.toString,s=i?i.toStringTag:void 0;e.exports=o},96:function(e,t){function n(e){return i.call(e)}var o=Object.prototype,i=o.toString;e.exports=n},103:function(e,t,n){function o(e){return"symbol"==typeof e||r(e)&&i(e)==a}var i=n(91),r=n(104),a="[object Symbol]";e.exports=o},104:function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},112:function(e,t){var n=Array.isArray;e.exports=n},154:function(e,t){function n(e,t){for(var n=-1,o=null==e?0:e.length,i=Array(o);++n0?(g.classed("hidden",!1),h.classed("hidden",!1),k.updateScrollButtonVisibility()):(g.classed("hidden",!0),h.classed("hidden",!0)),_.updateElementWidth()}function i(){var e=window.innerHeight-40,n=e,o=e-30,i=150;if(n<150)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").classed("hidden",!0),t.select("#zoomInButton").classed("hidden",!0),void t.select("#centerGraphButton").classed("hidden",!0);t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").classed("hidden",!1),t.select("#zoomInButton").classed("hidden",!1),t.select("#centerGraphButton").classed("hidden",!1);var r=o-20,a=r-20;if(n<280)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),void t.select("#centerGraphButton").style("top",a+"px");var l=o-i;r=l-20,a=r-20,t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),t.select("#centerGraphButton").style("top",a+"px"),t.select("#zoomSliderParagraph").style("top",l+"px")}function r(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function a(){var e,t,n=-1,o=/(?:\b(MS)?IE\s+|\bTrident\/7\.0;.*\s+rv:|\bEdge\/)(\d+)/.test(navigator.userAgent);if(o)return n=parseInt("12");var i=/Trident.*rv[ :]*11\./.test(navigator.userAgent);return i?n=parseInt("11"):("Microsoft Internet Explorer"===navigator.appName?(e=navigator.userAgent,t=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))):"Netscape"===navigator.appName&&(e=navigator.userAgent,t=new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))),n)}var l=1,s={},d=webvowl.graph(),c=d.graphOptions(),p=webvowl.util.languageTools(),u="#graph",f=n(323)(d),h=n(325)(d),g=n(326)(d),v=n(327)(d),m=n(328)(d),y=n(329)(d),b=n(333)(d),x=n(334)(d),w=n(335)(d),k=n(336)(d),C=n(337)(d),L=n(338)(d),M=n(339)(d),_=n(340)(d),E=n(341)(d),O=n(342)(d),S=n(343)(d),F=n(344)(d),I=webvowl.modules.colorExternalsSwitch(d),T=webvowl.modules.compactNotationSwitch(d),A=webvowl.modules.datatypeFilter(),P=webvowl.modules.disjointFilter(),B=webvowl.modules.focuser(d),D=webvowl.modules.emptyLiteralFilter(),R=webvowl.modules.nodeDegreeFilter(h),W=webvowl.modules.nodeScalingSwitch(d),N=webvowl.modules.objectPropertyFilter(),H=webvowl.modules.pickAndPin(),j=webvowl.modules.selectionDetailsDisplayer(L.updateSelectionInformation),z=webvowl.modules.statistics(),V=webvowl.modules.subclassFilter(),U=webvowl.modules.setOperatorFilter();return s.getOptions=function(){return webvowl.opts},s.getGraph=function(){return webvowl.gr},s.initialize=function(){window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)},window.cancelAnimationFrame=window.cancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)},c.graphContainerSelector(u),c.selectionModules().push(B),c.selectionModules().push(j),c.selectionModules().push(H),c.filterModules().push(D),c.filterModules().push(z),c.filterModules().push(R),c.filterModules().push(A),c.filterModules().push(N),c.filterModules().push(V),c.filterModules().push(P),c.filterModules().push(U),c.filterModules().push(W),c.filterModules().push(T),c.filterModules().push(I),t.select(window).on("resize",o),f.setup(),g.setup(),h.setup(A,N,V,P,U,R),v.setup(H,W,T,I),b.setup(),L.setup(),O.setup(),M.setup(),_.setup(),m.setup();var n=a();if(n>0&&n<=11)console.log("Agent version "+n),console.log("This agent is not supported"),t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!0),t.select("#optionsArea").classed("hidden",!0),t.select("#logo").classed("hidden",!0);else{t.select("#logo").classed("hidden",!1),12===n?(t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!1)):t.select("#browserCheck").classed("hidden",!0),x.setup([g,h,v,B,j,b]),w.setup(),k.setup(),C.setup(),c.literalFilter(D),c.nodeDegreeFilter(R),c.loadingModule(O),c.filterMenu(h),c.modeMenu(v),c.gravityMenu(g),c.pausedMenu(b),c.pickAndPinModule(H),c.resetMenu(x),c.searchMenu(w),c.ontologyMenu(y),c.navigationMenu(k),c.sidebar(L),c.leftSidebar(M),c.editSidebar(_),c.exportMenu(f),c.graphObject(d),c.zoomSlider(C),c.warningModule(S),c.directInputModule(F),c.datatypeFilter(A),c.objectPropertyFilter(N),c.subclassFilter(V),c.setOperatorFilter(U),c.disjointPropertyFilter(P),c.focuserModule(B),c.colorExternalsModule(I),c.compactNotationModule(T),y.setup(e),E.setup(),M.showSidebar(0),M.hideCollapseButton(!0),d.start();var i=t.select("#modeOfOperationString");i.style("font-size","0.6em"),i.style("font-style","italic"),o();var r,l=d.options().width(),s=d.options().height();r=Math.min(l,s)/1e3;var p=!0;p===!1&&d.setForceTickFunctionWithFPS(),d.setDefaultZoom(r),t.selectAll(".debugOption").classed("hidden",p);var G=t.select("body");if(t.select(document).on("keydown",function(e){8===t.event.keyCode&&t.event.target===G.node()&&t.event.preventDefault(),t.event.ctrlKey&&t.event.shiftKey&&68===t.event.keyCode&&(d.options().executeHiddenDebugFeatuers(),t.event.preventDefault())}),t.select("#maxLabelWidthSliderOption")){var q=!d.options().dynamicLabelWidth();t.select("#maxLabelWidthSlider").node().disabled=q,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",q),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",q)}t.select("#blockGraphInteractions").style("position","absolute").style("top","0").style("background-color","#bdbdbd").style("opacity","0.5").style("pointer-events","auto").style("width",d.options().width()+"px").style("height",d.options().height()+"px").on("click",function(){t.event.preventDefault(),t.event.stopPropagation()}).on("dblclick",function(){t.event.preventDefault(),t.event.stopPropagation()}),t.select("#direct-text-input").on("click",function(){F.setDirectInputMode()}),t.select("#blockGraphInteractions").node().draggable=!1,c.prefixModule(webvowl.util.prefixTools(d)),o(),L.updateOntologyInformation(void 0,z),O.parseUrlAndLoadOntology(),c.debugMenu(m),m.updateSettings(),t.select("#reloadSvgIcon").on("click",function(){return t.select("#reloadSvgIcon").node().disabled===!0?void d.options().ontologyMenu().clearCachedVersion():(t.select("#reloadCachedOntology").classed("hidden",!0),void d.options().ontologyMenu().reloadCachedOntology())}),webvowl.opts=c,webvowl.gr=d}},s}}).call(t,n(6))},323:function(e,t,n){(function(t){e.exports=function(e){function o(){var n=M.requestExport(),o=M.resultingTTL_Content();if(console.log("Exporter was successful: "+n),n){var i="NewOntology",r="data:text/json;charset=utf-8,"+encodeURIComponent(o);x.attr("href",r).attr("download",i+".ttl")}else console.log("ShowWarning!"),e.options().warningModule().showExporterWarning(),console.log("Stay on the page! "+window.location.href),x.attr("href",window.location.href),t.event.preventDefault()}function i(){t.select("#exportedUrl").node().focus(),t.select("#exportedUrl").node().select(),document.execCommand("copy"),e.options().navigationMenu().hideAllMenus(),t.event.preventDefault()}function r(e,t){var n=0,o="opts=";for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],a=t[i];r!==a&&(o+=i+"="+a+";",n++)}return o+="",0===n?"":o}function a(){e.options().navigationMenu().hideAllMenus();var n,o,i,r=t.select(e.options().graphContainerSelector()).select("svg");s(),u(),n=r.attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML,n="\n"+n,o=l(n),i="data:image/svg+xml;base64,"+btoa(o),m.attr("href",i).attr("download",y+".svg"),f(),h(),e.lazyRefresh()}function l(e){var t,n,o,i=[],r=e.length;for(t=0;t0){var J=z.node().getPointAtLength(O-18),Y=J.x-10*j,X=J.y+10*H;X*=-1;var K="black";Z.indexOf("A")>-1&&(Z="$\\forall$"),Z.indexOf("E")>-1&&(Z="$\\exists$"),i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily },text="+K+"] at ("+Y+"pt, "+X+"pt) (cardinalityText"+a+") {"+Z+"};\n "}if(S.property().inverse()){z=S.pathObj(),O=Math.floor(z.node().getTotalLength());var Q=z.node().getPointAtLength(4),ee=z.node().getPointAtLength(0),te=z.node().getPointAtLength(6);D=Q.x,R=Q.y,W=ee.x,N=ee.y,H=W-D,j=N-R,_=Math.sqrt(H*H+j*j),H/=_,j/=_,E=-1*Math.atan2(j,H)*(180/Math.PI),E-=90,h=te.x,g=te.y,1!==S.layers().length||S.loops()?(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_marker"+a+") {};\n "):(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_single_marker"+a+") {};\n ")}}}for(l.each(function(e){u=e.x,f=-e.y,r=e.labelForCurrentLanguage(),void 0===r&&(r="");var t="owlClass";"owl:Thing"!==e.type()&&"owl:Nothing"!==e.type()||(t="owlThing"),"owl:equivalentClass"===e.type()&&(t="owlEquivalentClass");var n="";if(e.textBlock){var o=e.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===o&&(n=", text=black"),"rgb(255, 255, 255)"===o&&(n=", text=white");var l=e.textBlock()._textBlock().node().children;if(l[0]){r=l[0].innerHTML,e.individuals()&&e.individuals().length===parseInt(l[0].innerHTML)&&(r="{\\color{gray} "+l[0].innerHTML+" }");for(var s=1;s-1&&(i+="\\definecolor{Node"+a+"_COLOR}{HTML}{CCCCCC} \n ",d=", fill=Node"+a+"_COLOR ");var g=u-7,v=u+7,m=f+20;"owl:unionOf"===e.type()&&"owl:disjointUnionOf"===e.type()||(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:unionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[text=black] at ("+u+"pt, "+f+"pt) (unionText13) {$\\mathbf{\\cup}$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:disjointUnionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (disjointUnoinText"+a+") {1};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:complementOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+u+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{18pt}{18}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (unionText13) {$\\neg$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:intersectionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\filldraw[even odd rule,fill=owlClassColor,line width=1pt] ("+g+"pt, "+f+"pt) circle (12.5pt) ("+v+"pt, "+f+"pt) circle (12.5pt);\n ",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (intersectionText"+a+") {$\\cap$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),a++}),a=0;a-1?"\\\\ {\\small "+le[se].innerHTML+" }":"\\\\ "+le[se].innerHTML}}}if("setOperatorProperty"!==ne.type()){var ce="owlObjectProperty";"owl:DatatypeProperty"===ne.type()&&(ce="owlDatatypeProperty"),"rdfs:subClassOf"===ne.type()&&(ce="rdfsSubClassOf"),"rdf:Property"===ne.type()&&(ce="rdfProperty");var pe="";if(ne.backgroundColor()){var ue=ne.backgroundColor();ue.toUpperCase(),ue=ue.slice(1,ue.length),i+="\\definecolor{property"+a+"_COLOR}{HTML}{"+ue+"} \n ",pe=", fill=property"+a+"_COLOR "}ne.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{property"+a+"_COLOR}{HTML}{CCCCCC} \n ",pe=", fill=property"+a+"_COLOR ");var fe="",he=ne.textWidth();if(fe=",minimum width="+he+"pt","owl:disjointWith"!==ne.type())if(ne.inverse()){var ge=ne.inverse(),ve=ge.labelForCurrentLanguage();void 0===ve&&(ve="");var me="";if(ge.textBlock&&ge.textBlock()){var ye=ge.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===ye&&(me=", text=black"),"rgb(255, 255, 255)"===ye&&(me=", text=white");var be=ge.textBlock()._textBlock().node().children;if(be[0]){ve=be[0].innerHTML;for(var xe=1;xe-1?"\\\\ {\\small "+be[xe].innerHTML+" }":"\\\\ "+be[xe].innerHTML; +}}}var ke="owlObjectProperty",Ce="";if(ge.backgroundColor()){var Le=ge.backgroundColor();Le.toUpperCase(),Le=Le.slice(1,Le.length),i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{"+Le+"} \n ",Ce=", fill=inv_property"+a+"_COLOR "}ge.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{CCCCCC} \n ",Ce=", fill=inv_property"+a+"_COLOR ");var Me="",_e=ge.textWidth(),Ee=ie-14,Oe=ie+14;Me=",minimum width="+_e+"pt",i+="% Createing Inverse Property \n",i+="\\node["+ke+" "+Me+" "+Ce+" "+me+"] at ("+oe+"pt, "+Ee+"pt) (property"+a+") {"+ve.replaceAll("_","\\_ ")+"};\n",i+="% "+ke+" vs "+ce+"\n",i+="% "+Me+" vs "+fe+"\n",i+="% "+Ce+" vs "+pe+"\n",i+="% "+me+" vs "+re+"\n",i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+Oe+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"}else i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n";else{var Se=oe-12,Fe=oe+12,Ie=ie-20;i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (Node"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Se+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Fe+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+re+"] at ("+oe+"pt, "+Ie+"pt) (Node_text"+a+") {",e.options().compactNotation()===!1&&(i+="(disjoint)"),i+="};\n"}}}i+="\\end{tikzpicture}\n}\n \\end{center}\n";var Te="data:text/json;charset=utf-8,"+encodeURIComponent(i);w.attr("href",Te).attr("download",y+".tex")}var m,y,b,x,w,k,C,L={},M=n(324)(e);String.prototype.replaceAll=function(e,t){var n=this;return n.split(e).join(t)},L.setup=function(){m=t.select("#exportSvg").on("click",a),b=t.select("#exportJson").on("click",g),k=t.select("#copyBt").on("click",i),w=t.select("#exportTex").on("click",v),x=t.select("#exportTurtle").on("click",o);var n=t.select("#m_export");n.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries(),L.exportAsUrl()})},L.setFilename=function(e){y=e||"export"},L.setJsonText=function(e){C=e},L.exportAsUrl=function(){var n={};n.sidebar=e.options().sidebar().getSidebarVisibility();var o=e.options().filterMenu().getDefaultDegreeValue(),i=e.options().filterMenu().getDegreeSliderValue();parseInt(o)===parseInt(i)?n.doc=-1:n.doc=i,n.cd=e.options().classDistance(),n.dd=e.options().datatypeDistance(),e.editorMode()===!0?n.editorMode="true":n.editorMode="false",n.filter_datatypes=String(e.options().filterMenu().getCheckBoxValue("datatypeFilterCheckbox")),n.filter_sco=String(e.options().filterMenu().getCheckBoxValue("subclassFilterCheckbox")),n.filter_disjoint=String(e.options().filterMenu().getCheckBoxValue("disjointFilterCheckbox")),n.filter_setOperator=String(e.options().filterMenu().getCheckBoxValue("setoperatorFilterCheckbox")),n.filter_objectProperties=String(e.options().filterMenu().getCheckBoxValue("objectPropertyFilterCheckbox")),n.mode_dynamic=String(e.options().dynamicLabelWidth()),n.mode_scaling=String(e.options().modeMenu().getCheckBoxValue("nodescalingModuleCheckbox")),n.mode_compact=String(e.options().modeMenu().getCheckBoxValue("compactnotationModuleCheckbox")),n.mode_colorExt=String(e.options().modeMenu().getCheckBoxValue("colorexternalsModuleCheckbox")),n.mode_multiColor=String(e.options().modeMenu().colorModeState()),n.mode_pnp=String(e.options().modeMenu().getCheckBoxValue("pickandpinModuleCheckbox")),n.debugFeatures=String(!e.options().getHideDebugFeatures()),n.rect=0;var a,l=e.options().initialConfig(),s=r(l,n),d=String(location);if(0===s.length){var c=location.hash;d=d.split(c)[0];var p=c.lastIndexOf("#");if(p===-1)return a=t.select("#exportedUrl").node(),a.value=String(location),void(a.title=String(location));var u=c.slice(p,c.length);return a=t.select("#exportedUrl").node(),a.value=d+u,void(a.title=d+u)}var f,h=(d.match(/#/g)||[]).length;if(void 0!==h&&0!==h||(f=d+"#"+s),h>0){var g,v=d.split("#");for(v[1].indexOf("opts=")>=0?(v[1]=s,f=v[0]):(f=v[0]+"#",f+=s),g=1;g0&&(f+="#"+v[g])}a=t.select("#exportedUrl").node(),a.value=f,a.title=f},L.createJSON_exportObject=function(){var t,n,o,i=e.getUnfilteredData(),r=e.options().data()._comment,a=e.options().getGeneralMetaObject(),l=e.options().data().header;a.iri&&a.iri!==l.iri&&(l.iri=a.iri),a.title&&a.title!==l.title&&(l.title=a.title),a.version&&a.version!==l.version&&(l.version=a.version),a.author&&a.author!==l.author&&(l.author=a.author),a.description&&a.description!==l.description&&(l.description=a.description);var s={};s._comment=r,s.header=l,s.namespace=e.options().data().namespace,void 0===s.namespace&&(s.namespace=[]);var d=i.nodes,c=d.length,p=[],u=[];for(t=0;t0&&(h.attributes=d[t].attributes()),d[t].comment()&&(h.comment=d[t].comment()),d[t].annotations()&&(h.annotations=d[t].annotations()),d[t].description()&&(h.description=d[t].description()),d[t].individuals().length>0){var g=[],v=d[t].individuals();for(n=0;n0){y=[];var b=d[t].equivalents();for(n=0;n0&&(w.attributes=b[n].attributes()),b[n].comment()&&(w.comment=b[n].comment()),b[n].individuals().length>0&&(w.individuals=b[n].individuals()),b[n].annotations()&&(w.annotations=b[n].annotations()),b[n].description()&&(w.description=b[n].description()),b[n].individuals().length>0){var k=[],C=b[t].individuals();for(o=0;o0&&(h.equivalent=y),u.push(h)}var M=i.properties,_=M.length,E=[],O=[];for(t=0;t<_;t++){var S={},F={};if(S.id=M[t].id(),S.type=M[t].type(),E.push(S),F.id=M[t].id(),F.iri=M[t].iri(),F.baseIri=M[t].baseIri(),F.label=M[t].label(),M[t].attributes().length>0&&(F.attributes=M[t].attributes()),M[t].comment()&&(F.comment=M[t].comment()),M[t].annotations()&&(F.annotations=M[t].annotations()),M[t].maxCardinality()&&(F.maxCardinality=M[t].maxCardinality()),M[t].minCardinality()&&(F.minCardinality=M[t].minCardinality()),M[t].cardinality()&&(F.cardinality=M[t].cardinality()),M[t].description()&&(F.description=M[t].description()),F.domain=M[t].domain().id(),F.range=M[t].range().id(),M[t].subproperties()){var I=M[t].subproperties(),T=[];for(n=0;n":n[t].prefixRepresentation=i}for(t=0;t":o[t].prefixRepresentation=r}}function n(){if(0!==y.length){x+="### Property Definitions (Number of Property) "+y.length+" ###\r\n";for(var e=0;e=0}function r(t){var n=t.prefixRepresentation,o="rdf:type",r=t.type();"owl:equivalentClass"===t.type()&&(r="owl:Class"),"owl:disjointUnionOf"===t.type()&&(r="owl:Class"),"owl:unionOf"===t.type()&&(r="owl:Class");var a=[],s=[];if(t.union())for(var d=t.union(),c=0;c":b,g+=m+" owl:equivalentClass "+x+" ;\r\n"}if(t.commentForCurrentLanguage()&&(g+=m+' rdfs:comment "'+t.commentForCurrentLanguage()+'" ;\r\n'),t.annotations()){var k=t.annotations();for(var L in k)if(k.hasOwnProperty(L)){var M=k[L],_=M[0],E=_.identifier,O=_.value;"isDefinedBy"===E&&(g+=m+" rdfs:isDefinedBy <"+O+"> ;\r\n"),"term_status"===E&&(g+=m+' vs:term_status "'+O+'" ;\r\n')}}if(a.length>0){g+=m+" owl:disjointUnionOf (";for(var S=0;S":F,g+=m+m+I+" \n"}g+=") ;\r\n"}if(s.length>0){g+=m+" rdfs:subClassOf [ rdf:type owl:Class ; \r\n",g+=m+m+" owl:unionOf ( ";for(var T=0;T":A,g+=m+m+m+P+" \n"}g+=") ;\r\n"}var B,D=e.getUnfilteredData().properties,R=[];for(B=0;B ;\r\n"),"term_status"===x&&(a+=s+' vs:term_status "'+w+'" ;\r\n')}}if("owl:Thing"===c.type()&&"owl:Thing"===p.type()&&"object"!=typeof e.label()&&0===e.label().length&&(d=!0),d===!0){var k=a.substring(0,a.length-2);return a=k+" . \r\n"}var L;if("owl:Thing"===c.type()&&"owl:Thing"===p.type())L=v(s,e.label(),"rdfs:label",!0),a+=L;else{L=v(s,e.label(),"rdfs:label"),a+=L,"owl:Thing"!==c.type()&&(a+=s+" rdfs:domain "+c.prefixRepresentation+";\r\n"),"owl:Thing"!==p.type()&&(a+=s+" rdfs:range "+p.prefixRepresentation+";\r\n");var M=a,_=M.lastIndexOf(";");a=M.substring(0,_)+" . \r\n"}return a}function l(e){return void 0===e?"WHYEMPTYNAME?":new Array(e.length+1).join(" ")}function s(){x+="#################################################################\r\n",x+="### Generated with the experimental alpha version of the TTL exporter of WebVOWL (version 1.1.3) http://visualdataweb.de/webvowl/ ###\r\n",x+="#################################################################\r\n\r\n"}function d(){var t=e.options().getGeneralMetaObjectProperty("iri"),n=e.options().prefixList(),o=[];o.push("@prefix : \t\t<"+t+"> .");for(var i in n)n.hasOwnProperty(i)&&o.push("@prefix "+i+": \t\t<"+n[i]+"> .");o.push("@base \t\t\t<"+t+"> .\r\n");for(var r=0;r");x+="<"+t+"> rdf:type owl:Ontology ;\r\n"+p(n)+u(n)+h(n)+f(n);var o=x,i=o.lastIndexOf(";");x=o.substring(0,i)+" . \r\n"}function p(e){return g(e,"title","dc:title")}function u(e){return g(e,"description","dc:description")}function f(t){var n=e.options().getGeneralMetaObjectProperty("author");if(n){if("object"!=typeof n){if(0===n.length)return"";var o=t+' dc:creator "'+n+'";\r\n';return o}for(var i=t+' dc:creator "',r=0;r0&&(n=-1);var i=parseInt(s.attr("max")),r=parseInt(s.property("value")),a=r+n;r!==a&&a>=0&&a<=i&&(s.property("value",a),s.on("input")(),e.update()),t.event.preventDefault()}function r(e,t){e.property("value",t).on("input")()}function a(){p.node().addEventListener("animationend",function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!0)})}var l,s,d={},c=[],p=(t.select("#m_filter"),t.select("#c_filter a")),u=t.select("#nodeDegreeFilteringOption"),f=0;return d.setDefaultDegreeValue=function(e){f=e},d.getDefaultDegreeValue=function(){return f},d.getGraphObject=function(){return e},d.getCheckBoxContainer=function(){return c},d.getDegreeSliderValue=function(){return s.property("value")},d.setup=function(t,i,r,l,s,c){p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),p.on("mouseleave",function(){d.highlightForDegreeSlider(!1)}),n(t,"datatype","Datatype properties","#datatypeFilteringOption"),n(i,"objectProperty","Object properties","#objectPropertyFilteringOption"),n(r,"subclass","Solitary subclasses","#subclassFilteringOption"),n(l,"disjoint","Class disjointness","#disjointFilteringOption"),n(s,"setoperator","Set operators","#setOperatorFilteringOption"),o(c,u),a()},d.reset=function(){c.forEach(function(e){var t=e.checkbox,n=e.defaultState,o=t.property("checked");o!==n&&(t.property("checked",n),t.on("click")())}),r(s,0),s.on("change")()},d.killButtonAnimation=function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!1)},d.highlightForDegreeSlider=function(e){if(arguments.length||(e=!0),p.classed("highlighted",e),u.classed("highlighted",e),p.classed("buttonPulse")===!0&&e===!0){p.classed("buttonPulse",!1);var t=setTimeout(function(){p.classed("buttonPulse",e),clearTimeout(t)},100)}else p.classed("buttonPulse",e),p.classed("filterMenuButtonHighlight",e)},d.setCheckBoxValue=function(e,t){for(var n=0;n0?d.highlightForDegreeSlider(!0):d.highlightForDegreeSlider(!1),c.forEach(function(t){var n=t.checkbox;n.on("click")(e)}),s.on("input")(),s.on("change")()},d}}).call(t,n(6))},326:function(e,t,n){(function(t){e.exports=function(e){function n(n,i,a,l){var s,d,c=l();s=t.select(n).append("div").datum({distanceFunction:l}).classed("distanceSliderContainer",!0);var p=s.append("input").attr("id",i+"DistanceSlider").attr("type","range").attr("min",10).attr("max",600).attr("value",l()).attr("step",10);s.append("label").classed("description",!0).attr("for",i+"DistanceSlider").text(a),d=s.append("label").classed("value",!0).attr("for",i+"DistanceSlider").text(l()),r.push(p),p.on("focusout",function(){e.updateStyle()}),p.on("input",function(){var t=p.property("value");l(t),o(c),d.text(t),e.updateStyle()}),p.on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=10),n.deltaY>0&&(e=-10);var o=parseInt(p.property("value")),i=o+e;i!==o&&(p.property("value",i),l(i),p.on("input")()),t.event.preventDefault()})}function o(e){var t=Math.max(a.classDistance(),a.datatypeDistance()),n=t/e,o=l*n;a.charge(o)}var i={},r=[],a=e.graphOptions(),l=a.charge();return i.setup=function(){var o=t.select("#m_gravity");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("#classSliderOption","class","Class distance",a.classDistance),n("#datatypeSliderOption","datatype","Datatype distance",a.datatypeDistance)},i.reset=function(){r.forEach(function(e){e.property("value",function(e){return e.distanceFunction()}),e.on("input")()})},i}}).call(t,n(6))},327:function(e,t,n){(function(t){e.exports=function(e){function n(n,o,i,r,a){var l=t.select(i).append("div").classed("checkboxContainer",!0),s=l.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());s.on("click",function(n){var o=s.property("checked");r(o),t.select("#maxLabelWidthSlider").node().disabled=!o,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",!o),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",!o),a>0&&e.animateDynamicLabelWidth()}),l.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&l.append("label").attr("style","font-size:10px;padding-top:3px").text("(experimental)"),d=s}function o(n,o,i,r){var a=t.select(i).append("div").classed("checkboxContainer",!0),l=a.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());l.on("click",function(t){var n=l.property("checked");r(n),n===!0&&e.showEditorHintIfNeeded()}),a.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&a.append("label").attr("style","font-size:10px;padding-top:3px").text(" (experimental)")}function i(n,o,i,r,a){var l,s;return l=t.select(r).append("div").classed("checkboxContainer",!0).datum({module:n,defaultState:n.enabled()}),s=l.append("input").classed("moduleCheckbox",!0).attr("id",o+"ModuleCheckbox").attr("type","checkbox").property("checked",n.enabled()),f.push(s),s.on("click",function(t,n){var o=s.property("checked");t.module.enabled(o),a&&n!==!0&&(e.executeColorExternalsModule(),e.executeCompactNotationModule(),e.lazyRefresh())}),l.append("label").attr("for",o+"ModuleCheckbox").text(i),l}function r(t,n){var o=t.append("button").datum({active:!1}).classed("color-mode-switch",!0);return a(o,n),o.on("click",function(t){var i=o.datum();i.active=!i.active,a(o,n),n.enabled()&&t!==!0&&(e.executeColorExternalsModule(),e.lazyRefresh())}),o}function a(e,t){var n=e.datum().active,o=l(n);e.classed("active",n).text(o.text),t&&t.colorModeType(o.type)}function l(e){return e?p:c}var s,d,c={text:"Multicolor",type:"same"},p={text:"Multicolor",type:"gradient"},u={},f=[];return u.colorModeState=function(e){return arguments.length?(s.datum().active=e,u):s.datum().active},u.setDynamicLabelWidth=function(e){d.property("checked",e)},u.getCheckBoxContainer=function(){return f},u.colorModeSwitch=function(){return s},u.setup=function(a,l,d,c){var p=t.select("#m_modes");p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("labelWidth","Dynamic label width","#dynamicLabelWidth",e.options().dynamicLabelWidth,1),o("editorMode","Editing ","#editMode",e.editorMode),i(a,"pickandpin","Pick & pin","#pickAndPinOption",!1),i(l,"nodescaling","Node scaling","#nodeScalingOption",!0),i(d,"compactnotation","Compact notation","#compactNotationOption",!0);var u=i(c,"colorexternals","Color externals","#colorExternalsOption",!0);s=r(u,c)},u.reset=function(){f.forEach(function(e){var t=e.datum().defaultState,n=e.property("checked");n!==t&&(e.property("checked",t),e.on("click")(e.datum())),e.datum().module.reset()}),s.datum().active=!0,s.on("click")()},u.setCheckBoxValue=function(e,t){for(var n=0;n li > a").attr("href",location.hash||"#")}function i(e){var n=t.select("#bulletPoint_container"),o=n.append("div");o.node().innerHTML=e,E.scrollDownDetails()}function r(e){var n=t.select("#bulletPoint_container"),o=n.node().getElementsByTagName("LI"),i=o.length-1;if(i>=0){var r=o[i].innerHTML;o[i].innerHTML=r+e}E.scrollDownDetails()}function a(e){var n=t.select("#bulletPoint_container"),o=n.append("li");o.node().innerHTML=e,t.select("#currentLoadingStep").node().innerHTML=e,E.scrollDownDetails()}function l(){var e=t.select("#iri-converter-button"),n=t.select("#iri-converter-input");n.on("input",function(){x();var t=""===n.property("value");e.attr("disabled",t||void 0)}).on("click",function(){x()}),t.select("#iri-converter-form").on("submit",function(){for(var e=n.property("value"),o=e.replace(/%20/g," ");o.beginsWith(" ");)o=o.substr(1,o.length);for(;o.endsWith(" ");)o=o.substr(0,o.length-1);e=o;var i=e.toLowerCase();return i.endsWith(".json")?(location.hash="url="+e,n.property("value",""),n.on("input")()):(location.hash="iri="+e,n.property("value",""),n.on("input")()),t.event.preventDefault(),!1})}function s(){var n=t.select("#file-converter-input"),o=t.select("#file-converter-label"),i=t.select("#file-converter-button");n.on("change",function(){var t=n.property("files");t.length<=0?(o.text("Select ontology file"),i.property("disabled",!0)):(o.text(t[0].name),L=t[0].name,i.property("disabled",!1),i.node().click(),e.options().navigationMenu().hideAllMenus())}),i.on("click",function(){var e=n.property("files")[0];if(!e)return!1;var t="file="+e.name;location.hash==="#"+t?E.parseUrlAndLoadOntology():location.hash=t})}function d(e){var n=t.select("#o2vConverterContainer");if(!n.node()){var o=t.select("#bulletPoint_container"),i=o.append("div");n=i.append("ul"),n.attr("id","o2vConverterContainer"),n.style("margin-left","-25px")}for(var r=n.node().children,a=r.length,l=0;l0&&(s=n.append("li"),s.attr("type","disc"),s.node().innerHTML=p.replace(/\n/g,"
    "))}s&&(s.node().innerHTML+="
    "),E.scrollDownDetails()}function c(e,n){t.xhr("loadingStatus?sessionId="+_,"application/text",function(t,o){t&&(console.log("ontologyMenu getLoadingStatusOnceCallBacked throws error"),console.log("---------Error -----------"),console.log(t),console.log("---------Request -----------"),console.log(o)),d(o.responseText),e(n)})}function p(){t.xhr("loadingStatus?sessionId="+_,"application/text",function(e,t){e&&(console.log("ontologyMenu getLoadingStatusTimeLooped throws error"),console.log("---------Error -----------"),console.log(e),console.log("---------Request -----------"),console.log(t)),T===!1&&(d(t.responseText),u())})}function u(){clearTimeout(M),T===!1&&(M=setTimeout(function(){p()},1e3))}function f(e){t.xhr("loadingStatus","application/text",function(t,n){void 0!==n?d(n.responseText+"
    "+e):i(e)})}function h(e){var t=e[2];return t!==_?(console.log("The conversion process for file:"+e[1]+" has been canceled!"),void S.conversionFinished(t)):(E.loadFromOWL2VOWL(e[0],e[1]),void S.conversionFinished())}function g(e){var t=e[2];return t!==_?void console.log("The conversion process for file:"+e[1]+" has been canceled!"):void E.loadFromOWL2VOWL(e[0],e[1])}function v(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function m(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function y(e,t,n){T=!1,u();var o=new FormData;o.append("ontology",e),o.append("sessionId",n);var i=new XMLHttpRequest;i.open("POST","convert",!0),i.onload=function(){clearTimeout(M),T=!0,c(b,[i,t,n])},u(),i.send(o)}function b(t){var n=t[0],o=t[1],i=t[2];return i!==_?(console.log("The conversion process for file:"+o+" has been canceled!"),void S.conversionFinished(i)):void(200===n.status?(E.loadFromOWL2VOWL(n.responseText,o),S.conversionFinished()):(f('Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),e.handleOnLoadingError(),S.conversionFinished()))}function x(){function e(){n.style("display",void 0),clearTimeout(C),t.select(window).on("click",void 0).on("keydown",void 0),n.on("mouseover",void 0)}var n=t.select("#select .toolTipMenu");n.on("click",function(){t.event.stopPropagation()}).on("keydown",function(){t.event.stopPropagation()}),n.style("display","block"),clearTimeout(C),C=setTimeout(function(){e()},3e3),t.select(window).on("click",function(){e()}).on("keydown",function(){e()}),n.on("mouseover",function(){e()})}function w(){t.select("#layoutLoadingProgressBarContainer").classed("hidden",!1),F.classed("hidden",!1),I.classed("hidden",!1)}function k(){F.classed("hidden",!0)}var C,L,M,_,E,O,S={},F=t.select("#loading-info"),I=t.select("#loading-progress"),T=!1,A=!1,P={},B="";return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},S.getLoadingFunction=function(){return O},S.clearCachedVersion=function(){P[B]&&(P[B]=void 0)},S.reloadCachedOntology=function(){S.clearCachedVersion(),e.clearGraphData(),E.parseUrlAndLoadOntology(!1)},S.cachedOntology=function(n){if(B=n,P[n]){var o=String(location.hash);t.select("#reloadSvgIcon").node().disabled=!1,e.showReloadButtonAfterLayoutOptimization(!0),o.indexOf("#file")>-1?(t.select("#reloadSvgIcon").node().disabled=!0,t.select("#reloadCachedOntology").node().title="reloading original version not possible, please reload the file",t.select("#reloadSvgIcon").classed("disabledReloadElement",!0),t.select("#svgStringText").style("fill","gray"),t.select("#svgStringText").classed("noselect",!0)):(t.select("#reloadCachedOntology").node().title="generate new visualization and overwrite cached ontology",t.select("#reloadSvgIcon").classed("disabledReloadElement",!1),t.select("#svgStringText").style("fill","black"),t.select("#svgStringText").classed("noselect",!0))}else e.showReloadButtonAfterLayoutOptimization(!1);return P[n]},S.setCachedOntology=function(e,t){P[e]=t,B=e},S.getErrorStatus=function(){return A},S.setup=function(o){O=o,E=e.options().loadingModule();var i=t.select("#m_select");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),l(),s();var r=t.select("#error-description-button").datum({open:!1});r.on("click",function(e){var n=t.select("#error-description-container"),o=t.select(this);e.open=!e.open;var i=e.open;i?o.text("Hide error details"):o.text("Show error details"),n.classed("hidden",!i)}),n(),E.setOntologyMenu(S)},S.stopLoadingTimer=function(){T=!0,clearTimeout(M)},S.setIriText=function(e){t.select("#iri-converter-input").node().value=e,t.select("#iri-converter-button").attr("disabled",!1),t.select("#iri-converter-form").on("submit")()},S.clearDetailInformation=function(){for(var e=t.select("#bulletPoint_container"),n=e.node().children,o=n.length,i=0;i",""":'"',"'":"'"},r=o(i);e.exports=r},332:function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},333:function(e,t,n){(function(t){e.exports=function(e){function n(){o(),i()}function o(){r.classed("paused",function(e){return e.paused})}function i(){r.datum().paused?r.text("Resume"):r.text("Pause")}var r,a={};return a.setup=function(){var o=t.select("#pauseOption");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),r=t.select("#pause-button").datum({paused:!1}).on("click",function(t){e.paused(!t.paused),t.paused=!t.paused,n(),r.classed("highlighted",t.paused)}),n()},a.setPauseValue=function(t){r.datum().paused=t,e.paused(t),r.classed("highlighted",t),n()},a.reset=function(){a.setPauseValue(!1)},a}}).call(t,n(6))},334:function(e,t,n){(function(t){e.exports=function(e){function n(){e.resetSearchHighlight(),e.options().searchMenu().clearText(),r.classDistance(a.classDistance()),r.datatypeDistance(a.datatypeDistance()),r.charge(a.charge()),r.gravity(a.gravity()),r.linkStrength(a.linkStrength()),e.reset(),o.forEach(function(e){e.reset()}),e.updateStyle()}var o,i={},r=e.graphOptions(),a=webvowl.options();return i.setup=function(i){o=i,t.select("#reset-button").on("click",n);var r=t.select("#resetOption");r.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()})},i}}).call(t,n(6))},335:function(e,t,n){(function(t){e.exports=function(e){function n(){b=e.getUpdateDictionary(),M=!1,k=[],C=[];var t,n=[],o=[];for(t=0;t0)for(var r=b[t].equivalentsString(),a=r.split(", "),l=0;l=0&&s=a&&i[s].setAttribute("class","dbEntrySelected"),h>=0&&h=0&&i[s].setAttribute("class","dbEntry")))}function s(){for(var e=F.node().children,t=e.length,n=0;n-1&&(E.push(k[e]),O.push(e)))}}function c(e,n){n||(n="text");var o=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),i=document.getElementById("width-test").offsetWidth;return o.remove(),i}function p(e){for(var t,n,o,i=250,r="dbEntry",a=e;;){if(t=c(a,r),t<=i)break;if(n=t/i,o=Math.floor(a.length/n),a.length===o)break;a=a.substring(0,o)}return e.length>a.length?e.substring(0,a.length-6):e}function u(){var n,o,i,r=E,a=[],l=[],s=v.node().value.toLowerCase();for(n=E.length,n>L&&(n=L),o=0;o-1&&h<=d&&m<=c&&(u=f,d=h,c=m)}a.push(r[u]),l.push(O[u]),r[u]=""}n=E.length,n>L&&(n=L);var b=0;for(o=0;o1)for(var T=0;T1&&_===!1?k!==I&&(C+="... ("+I+"/"+k+")"):C+="...",x.title=a[o]):k>1&&_===!1&&(C+=k!==I?" ("+I+"/"+k+")":" ("+k+")");var P=t.select(x);1===k||_===!0?void 0===S[w[0]]&&(P.style("color","#979797"),x.title=a[o]+"\nElement is filtered out.",x.onclick=function(){},t.select(x).style("cursor","default"),b++):(I<1?(P.style("color","#979797"),x.onclick=function(){},x.title=a[o]+"\nAll elements are filtered out.",t.select(x).style("cursor","default"),b++):P.style("color",""),I1&&(x.title=a[o]+"\n"+I+"/"+k+" elements are visible.")),P.node().innerHTML=C,F.node().appendChild(x)}}function f(){s(),d(),u()}function h(){return S.classed("highlighted",!1),S.node().title="Nothing to locate",M&&n(),e.resetSearchHighlight(),0===k.length?void console.log("dictionary is empty"):(x=v.node().value,s(),0!==x.length&&(d(),u()),void w.showSearchEntries())}function g(t){return function(){var n=t,o=y[n],i=C[n];v.node().value=i,e.resetSearchHighlight(),e.highLightNodes(o),S.node().title="Locate search term",i!==x&&f(),w.hideSearchEntries()}}var v,m,y,b,x,w={},k=[],C=[],L=6,M=!0,_=!1,E=[],O=[],S=t.select("#locateSearchResult"),F=(t.select("#c_search"),t.select("#m_search"));return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},w.requestDictionaryUpdate=function(){M=!0;for(var e=F.node().children,t=e.length,n=0;n=h?void n():void(y=requestAnimationFrame(o))}function i(){return f-=5,x.scrollLeft=f,b.updateScrollButtonVisibility(),f<=0?void n():void(y=requestAnimationFrame(i))}function r(){M=[],_=[];var e,r=[],c=[],p=x.children,u=p.length;for(e=0;e-1?_[e]="m_"+r[e]:_[e]=void 0,t.select("#"+M[e]).on("mouseover",a),t.select("#"+M[e]).on("mouseout",l),t.select("#"+M[e]).on("click",s),t.select("#"+M[e]).on("touchstart",d);t.select("#menuElementContainer").on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=20),n.deltaY>0&&(e=-20),x.scrollLeft+=e,b.hideAllMenus(),b.updateScrollButtonVisibility()}),t.select("#scrollRightButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#scrollLeftButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#menuElementContainer").on("scroll",function(){b.updateScrollButtonVisibility(),b.hideAllMenus()})}function a(){b.hideAllMenus(),L||p(this.id)}function l(){c(this.id)}function s(){var e=_[M.indexOf(this.id)];if(e){var n=t.select("#"+e);n&&("block"===n.style("display")?n.style("display","none"):p(this.id))}}function d(){L=!0}function c(e){v=t.select("#"+e),"c_search"!==e&&(t.select("#"+e).select("path").style("stroke-width","0"),t.select("#"+e).select("path").style("fill","#fff"))}function p(n){v=t.select("#"+n).node();var o=_[M.indexOf(n)];o&&("c_search"!==n&&(t.select("#"+n).select("path").style("stroke-width","0"),t.select("#"+n).select("path").style("fill","#bdc3c7")),g=t.select("#"+o),g.style("display","block"),"m_export"===o&&e.options().exportMenu().exportAsUrl(),u())}function u(){if(v){var e=v.offsetLeft,t=x.scrollLeft,n=e-t,o=Math.max(0,n),i=x.getBoundingClientRect().width,r=g.node().getBoundingClientRect().width;o+r>i&&(o=i-r),o=Math.max(0,o),g.style("left",o+"px")}}var f,h,g,v,m,y,b={},x=t.select("#menuElementContainer").node(),w=t.select("#menuContainer").node(),k=t.select("#scrollLeftButton"),C=t.select("#scrollRightButton"),L=!1,M=[],_=[];return b.hideAllMenus=function(){t.selectAll(".toolTipMenu").style("display","none")},b.updateScrollButtonVisibility=function(){h=x.scrollWidth-x.clientWidth-2,0===x.scrollLeft?k.classed("hidden",!0):k.classed("hidden",!1),x.scrollLeft>h?C.classed("hidden",!0):C.classed("hidden",!1)},b.setup=function(){r(),t.select("#graph").on("mouseover",function(){b.hideAllMenus()}),t.select("#generalDetails").on("mouseover",function(){b.hideAllMenus()})},b}}).call(t,n(6))},337:function(e,t,n){(function(t){e.exports=function(e){function n(){cancelAnimationFrame(a),cancelAnimationFrame(l)}function o(){s*=.98,su&&(s=u),e.setSliderZoom(s),l=requestAnimationFrame(i)}var r,a,l,s,d,c={},p=e.options().minMagnification(),u=e.options().maxMagnification(),f=!0,h=e.options().width(),g=e.options().height();return r=Math.min(h,g)/1e3,c.setup=function(){d=t.select("#zoomSliderParagraph").append("input").datum({}).attr("id","zoomSliderElement").attr("type","range").attr("value",r).attr("min",p).attr("max",u).attr("step",(u-p)/40).attr("title","zoom factor").on("input",function(){c.zooming()}),t.select("#zoomOutButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom out"),t.select("#zoomInButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom in"),t.select("#centerGraphButton").on("click",function(){e.options().navigationMenu().hideAllMenus(),e.forceRelocationEvent()}).attr("title","center graph")},c.showSlider=function(e){return arguments.length?(t.select("#zoomSlider").classed("hidden",!e),void(f=e)):f},c.zooming=function(){e.options().navigationMenu().hideAllMenus();var t=d.property("value");d.attr("value",t),e.setSliderZoom(t)},c.updateZoomSliderValue=function(e){d&&(d.attr("value",e),d.property("value",e))},c}}).call(t,n(6))},338:function(e,t,n){(function(t){e.exports=function(e){function n(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");e(t.selectAll(".accordion-trigger:not(.accordion-trigger-active) + div")),o.on("click",function(){var o=t.select(this),i=t.selectAll(".accordion-trigger-active");o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(e(t.selectAll(".accordion-trigger-active + div")),i.classed("accordion-trigger-active",!1),n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0))})}function o(n){n=n||[],n.sort(function(e,t){return e===webvowl.util.constants().LANG_IRIBASED?-1:t===webvowl.util.constants().LANG_IRIBASED?1:e===webvowl.util.constants().LANG_UNDEFINED?-1:t===webvowl.util.constants().LANG_UNDEFINED?1:e.localeCompare(t)});var o=t.select("#language").on("change",function(){e.language(t.event.target.value),r(),C.updateSelectionInformation(k)});o.selectAll("option").remove(),o.selectAll("option").data(n).enter().append("option").attr("value",function(e){return e}).text(function(e){return e}),i(o,n,"en")||i(o,n,webvowl.util.constants().LANG_UNDEFINED)||i(o,n,webvowl.util.constants().LANG_IRIBASED)}function i(t,n,o){var i=n.indexOf(o);return i>=0&&(t.property("selectedIndex",i),e.language(o),!0)}function r(){var n=L.textInLanguage(w.title,e.language());t.select("#title").text(n||"No title available"),t.select("#about").attr("href",w.iri).attr("target","_blank").text(w.iri),t.select("#version").text(w.version||"--");var o=w.author;"string"==typeof o?t.select("#authors").text(o):o instanceof Array?t.select("#authors").text(o.join(", ")):t.select("#authors").text("--");var i=L.textInLanguage(w.description,e.language());t.select("#description").text(i||"No description available.")}function a(e,n){e=e||{},t.select("#classCount").text(e.classCount||n.classCount()),t.select("#objectPropertyCount").text(e.objectPropertyCount||n.objectPropertyCount()),t.select("#datatypePropertyCount").text(e.datatypePropertyCount||n.datatypePropertyCount()),t.select("#individualCount").text(e.totalIndividualCount||n.totalIndividualCount()),t.select("#nodeCount").text(n.nodeCount()),t.select("#edgeCount").text(n.edgeCount())}function l(e){var n=t.select("#ontology-metadata");n.selectAll("*").remove(),s(n,e),n.selectAll(".annotation").size()<=0&&n.append("p").text("No annotations available.")}function s(e,n){n=n||{};var o=[];for(var i in n)n.hasOwnProperty(i)&&o.push(n[i][0]);e.selectAll(".annotation").remove(),e.selectAll(".annotation").data(o).enter().append("p").classed("annotation",!0).classed("statisticDetails",!0).text(function(e){return e.identifier+":"}).append("span").each(function(e){h(t.select(this),e.value,"iri"===e.type?e.value:void 0)})}function d(){c(!1,!1,!0)}function c(e,n,o){t.select("#classSelectionInformation").classed("hidden",!e),t.select("#propertySelectionInformation").classed("hidden",!n),t.select("#noSelectionInformation").classed("hidden",!o)}function p(e){u(),f(t.select("#propname"),e.labelForCurrentLanguage(),e.iri()),t.select("#typeProp").text(e.type()),void 0!==e.inverse()?(t.select("#inverse").classed("hidden",!1),f(t.select("#inverse span"),e.inverse().labelForCurrentLanguage(),e.inverse().iri())):t.select("#inverse").classed("hidden",!0);var n=t.select("#propEquivUri");b(n,e.equivalents()),b(t.select("#subproperties"),e.subproperties()),b(t.select("#superproperties"),e.superproperties()),void 0!==e.minCardinality()?(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!1),t.select("#minCardinality span").text(e.minCardinality()),t.select("#maxCardinality").classed("hidden",!1),void 0!==e.maxCardinality()?t.select("#maxCardinality span").text(e.maxCardinality()):t.select("#maxCardinality span").text("*")):void 0!==e.cardinality()?(t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0),t.select("#infoCardinality").classed("hidden",!1),t.select("#infoCardinality span").text(e.cardinality())):(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0)),f(t.select("#domain"),e.domain().labelForCurrentLanguage(),e.domain().iri()),f(t.select("#range"),e.range().labelForCurrentLanguage(),e.range().iri()),g(e.attributes(),t.select("#propAttributes")),x(t.select("#propDescription"),e.descriptionForCurrentLanguage()),x(t.select("#propComment"),e.commentForCurrentLanguage()),s(t.select("#propertySelectionInformation"),e.annotations())}function u(){c(!1,!0,!1)}function f(e,n,o){var i=t.select(e.node().parentNode);n?(e.selectAll("*").remove(),h(e,n,o),i.classed("hidden",!1)):i.classed("hidden",!0)}function h(e,t,n){var o;o=n?e.append("a").attr("href",n).attr("title",n).attr("target","_blank"):e.append("span"),o.text(t)}function g(e,n){var o=t.select(n.node().parentNode);e&&e.length>0&&(v("object",e),v("datatype",e),v("rdf",e)),e&&e.length>0?(n.text(e.join(", ")),o.classed("hidden",!1)):o.classed("hidden",!0)}function v(e,t){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function m(e){y(),f(t.select("#name"),e.labelForCurrentLanguage(),e.iri());var n=t.select("#classEquivUri");b(n,e.equivalents()),t.select("#typeNode").text(e.type()),b(t.select("#individuals"),e.individuals());var o=t.select("#disjointNodes"),i=t.select(o.node().parentNode);void 0!==e.disjointWith()?(o.selectAll("*").remove(),e.disjointWith().forEach(function(e,t){t>0&&o.append("span").text(", "),h(o,e.labelForCurrentLanguage(),e.iri())}),i.classed("hidden",!1)):i.classed("hidden",!0),g(e.attributes(),t.select("#classAttributes")),x(t.select("#nodeDescription"),e.descriptionForCurrentLanguage()),x(t.select("#nodeComment"),e.commentForCurrentLanguage()),s(t.select("#classSelectionInformation"),e.annotations())}function y(){c(!0,!1,!1)}function b(e,n){var o=t.select(e.node().parentNode);n&&n.length?(e.selectAll("*").remove(),n.forEach(function(t,n){n>0&&e.append("span").text(", "),h(e,t.labelForCurrentLanguage(),t.iri())}),o.classed("hidden",!1)):o.classed("hidden",!0)}function x(e,n){var o=t.select(e.node().parentNode),i=!!n;n&&e.text(n),o.classed("hidden",!i)}var w,k,C={},L=webvowl.util.languageTools(),M=webvowl.util.elementTools(),_=1,E=t.select("#detailsArea"),O=t.select("#canvasArea"),S=t.select("#swipeBarContainer"),F=t.select("#sidebarExpandButton");return C.clearOntologyInformation=function(){t.select("#title").text("No title available"),t.select("#about").attr("href","#").attr("target","_blank").text("not given"),t.select("#version").text("--"),t.select("#authors").text("--"),t.select("#description").text("No description available.");var e=t.select("#ontology-metadata");e.selectAll("*").remove(),t.select("#classCount").text("0"),t.select("#objectPropertyCount").text("0"),t.select("#datatypePropertyCount").text("0"),t.select("#individualCount").text("0"),t.select("#nodeCount").text("0"),t.select("#edgeCount").text("0");var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");n&&t.select("#selection-details-trigger").node().click(),d()},C.updateOntologyInformation=function(e,t){e=e||{},w=e.header||{},r(),a(void 0,t),l(w.other),C.updateSelectionInformation(void 0),o(w.languages)},C.updateSelectionInformation=function(e){if(k=e,!t.event||!t.event.defaultPrevented){var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");if(e&&!n)t.select("#selection-details-trigger").node().click();else if(!e&&n)return void d();M.isProperty(e)?p(e):M.isNode(e)&&m(e)}},C.showSidebar=function(n,o){1===n&&(_=!0,F.node().innerHTML=">",E.classed("hidden",!0),o===!0?(E.classed("hidden",!_),O.style("width","78%"),O.style("-webkit-animation-name","none"),S.style("width","78%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","78%"),O.style("-webkit-animation-name","sbCollapseAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","78%"),S.style("-webkit-animation-name","sbCollapseAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_ExpandRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth-.22*window.innerWidth),e.options().navigationMenu().updateScrollButtonVisibility()),0===n&&(_=!1,E.classed("hidden",!0),F.node().innerHTML="<",o===!0?(O.style("width","100%"),O.style("-webkit-animation-name","none"),S.style("width","100%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","100%"),O.style("-webkit-animation-name","sbExpandAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","100%"),S.style("-webkit-animation-name","sbExpandAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_CollapseRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility())},C.isSidebarVisible=function(){return _},C.updateSideBarVis=function(e){var t=C.getSidebarVisibility();C.showSidebar(parseInt(t),e)},C.getSidebarVisibility=function(){var e=E.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},C.initSideBarAnimation=function(){O.node().addEventListener("animationend",function(){E.classed("hidden",!_),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility()})},C.setup=function(){n(),C.initSideBarAnimation(),F.on("click",function(){e.options().navigationMenu().hideAllMenus();var t=parseInt(C.getSidebarVisibility());1===t?C.showSidebar(0):C.showSidebar(1)})},C.updateShowedInformation=function(){var n=e.editorMode();t.select("#generalDetails").classed("hidden",n),t.select("#generalDetailsEdit").classed("hidden",!n),e.options().editSidebar().updateGeneralOntologyInfo(),e.options().sidebar().updateGeneralOntologyInfo()},C.updateGeneralOntologyInfo=function(){var n=e.options().getGeneralMetaObject(),o=e&&e.language?e.language():null;n.hasOwnProperty("title")&&("object"==typeof n.title?t.select("#title").node().value=L.textInLanguage(n.title,o):t.select("#title").node().innerHTML=n.title),n.hasOwnProperty("iri")&&(t.select("#about").node().innerHTML=n.iri),n.hasOwnProperty("iri")&&(t.select("#about").node().href=n.iri),n.hasOwnProperty("version")&&(t.select("#version").node().innerHTML=n.version),n.hasOwnProperty("author")&&(t.select("#authors").node().innerHTML=n.author),n.hasOwnProperty("description")&&("object"==typeof n.description?t.select("#description").node().innerHTML=L.textInLanguage(n.description,o):t.select("#description").node().innerHTML=n.description)},C}}).call(t,n(6))},339:function(e,t,n){(function(t){e.exports=function(e){function n(e){for(var t=0;t"),e.updateCanvasContainerSize(),void e.options().navigationMenu().updateScrollButtonVisibility()):(t.select("#leftSideBarCollapseButton").classed("hidden",!0),1===n&&(u=!0,i.node().innerHTML="<",g.style("-webkit-animation-name","l_sbExpandAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_ExpandLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s")),void(0===n&&(u=!1,h.classed("hidden",!0),i.node().innerHTML=">",g.style("-webkit-animation-name","l_sbCollapseAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_CollapseLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("left","0"))))},c.getSidebarVisibility=function(){var e=h.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},c}}).call(t,n(6))},340:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=t.select("#typeEditor_datatype").node(),n=["undefined","xsd:boolean","xsd:double","xsd:integer","xsd:string"],o=0;o0){var s=e.options().prefixList()[a];if(void 0===s)return console.log("ERROR __________________"),e.options().warningModule().showWarning("Invalid Element IRI","Could not resolve prefix '"+s+"'","Restoring previous IRI for Element"+n.iri(),1,!1),void(t.select("#element_iriEditor").node().value=n.iri());if(0===l.length)return e.options().warningModule().showWarning("Invalid Element IRI","Input IRI is EMPTY","Restoring previous IRI for Element"+n.iri(),1,!1),console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());o=s+l}else o=i+l}else{if(0===o.length)return console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());console.log("Tryig to use the input!"),o=i+o}}return o}function f(n){var o,i=u(n),r=e.options().getGeneralMetaObjectProperty("iri");if(F.isNode(n)){if(o=e.checkIfIriClassAlreadyExist(i),o!==!1)return e.options().warningModule().showWarning("Already seen this class","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),2,!1,o),void O.updateSelectionInformation(n);n.iri(i)}return F.isProperty(n)===!0&&(o=O.checkProperIriChange(n,i),o!==!1)?(e.options().warningModule().showWarning("Already seen this property","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),1,!1,o),void O.updateSelectionInformation(n)):(n.iri(i),c(r,i)===!0?(b(n,"external"),n.backgroundColor("#36C"),n.redrawElement(),n.redrawLabelText()):(x(n,"external"),n.backgroundColor(void 0),n.redrawElement(),n.redrawLabelText()),n.focused()&&(e.options().focuserModule().handle(n,!0),e.options().focuserModule().handle(n,!0)),t.select("#element_iriEditor").node().value=I.getPrefixRepresentationForFullURI(i),void O.updateSelectionInformation(n))}function h(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function g(e){e.label(t.select("#element_labelEditor").node().value),e.redrawLabelText()}function v(e){M=e;var n,o=t.select("#property_characteristics_Selection"),i=o.node().children;if(i)for(var r=i.length,a=0;a-1){var l=o.append("span");l.classed("spanForCharSelection",!0),l.node().innerHTML="external"}var s,d;if(F.isNode(e)===!0){var c=["deprecated"];for(n=0;n=0}function y(){var e=this.checked,t=this.getAttribute("characteristics");e===!0?b(M,t):x(M,t),M.redrawElement(),M.focused(!1),M.toggleFocus()}function b(e,t){if(e.attributes().indexOf(t)===-1){var n=e.attributes();n.push(t),e.attributes(n)}if(e.indications().indexOf(t)===-1){var o=e.indications();o.push(t),e.indications(o)}var i;if(e.visualAttributes().indexOf(t)===-1&&(i=e.visualAttributes(),i.push(t),e.visualAttributes(i)),m(e,"external")&&m(e,"deprecated")){i=e.visualAttributes();var r=i.indexOf("external");r>-1&&i.splice(r,1),e.visualAttributes(i)}}function x(e,t){var n=e.attributes(),o=e.indications(),i=e.visualAttributes(),r=n.indexOf(t);r>=0&&n.splice(r,1);var a=o.indexOf(t);a>-1&&o.splice(a,1);var l=i.indexOf(t);l>-1&&i.splice(l,1),e.attributes(n),e.indications(o),e.visualAttributes(i),"deprecated"===t&&("owl:Class"===e.type()&&e.styleClass("class"),"owl:DatatypeProperty"===e.type()&&e.styleClass("datatypeproperty"),"owl:ObjectProperty"===e.type()&&e.styleClass("objectproperty"),"owl:disjointWith"===e.type()&&e.styleClass("disjointwith"))}function w(e){return"owl:Thing"!==e.type()&&"rdfs:subClassOf"!==e.type()&&"rdfs:Literal"!==e.type()&&"rdfs:Datatype"!==e.type()&&"rdfs:disjointWith"!==e.type()}function k(t){F.isNode(t)&&e.changeNodeType(t)===!1&&(F.isDatatype(t)===!0,O.updateSelectionInformation(t)),F.isProperty(t)&&e.changePropertyType(t)===!1&&O.updateSelectionInformation(t)}function C(e){var t=[];return F.isProperty(e)?("owl:DatatypeProperty"===e.type()?t.push("owl:DatatypeProperty"):(t.push("owl:ObjectProperty"),e.domain()!==e.range()&&t.push("rdfs:subClassOf"),t.push("owl:disjointWith"),t.push("owl:allValuesFrom"),t.push("owl:someValuesFrom")),t):("rect"===e.renderType()?(t.push("rdfs:Literal"),t.push("rdfs:Datatype")):(t.push("owl:Class"),t.push("owl:Thing")),t)}function L(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");o.on("click",function(){var o=t.select(this);o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0)),O.updateElementWidth()})}var M,_,E,O={},S=webvowl.util.languageTools(),F=webvowl.util.elementTools(),I=webvowl.util.prefixTools(e),T=!1;return O.clearMetaObjectValue=function(){t.select("#titleEditor").node().value="",t.select("#iriEditor").node().value="",t.select("#versionEditor").node().value="",t.select("#authorsEditor").node().value="",t.select("#descriptionEditor").node().value=""},O.updatePrefixUi=function(){O.updateElementWidth();for(var e=t.select("#prefixURL_Container");e.node().firstChild;)e.node().removeChild(e.node().firstChild);a()},O.setup=function(){L(),a(),r(),n(),t.select("#titleEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value))}),t.select("#iriEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri"))}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri")))}),t.select("#versionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value))}),t.select("#authorsEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value))}),t.select("#descriptionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("description",t.select("#descriptionEditor").node().value)}),O.updateElementWidth()},O.updateEditDeleteButtonIds=function(e,n){t.select("#prefixInputFor_"+e).node().id="prefixInputFor_"+n,t.select("#prefixURLFor_"+e).node().id="prefixURLFor_"+n,t.select("#deleteButtonFor_"+e).node().id="deleteButtonFor_"+n,t.select("#editButtonFor_"+e).node().id="editButtonFor_"+n,t.select("#prefixContainerFor_"+e).node().id="prefixContainerFor_"+n},O.checkForExistingURL=function(t){var n,o=e.getUnfilteredData().properties;for(n=0;n0&&(e=-10);var o=parseInt(s.property("value")),i=o+e;i!==o&&(s.property("value",i),r(i),s.on("input")()),t.event.preventDefault()}})}function o(n,o,i,a,l){var s=t.select(i).append("div").classed("checkboxContainer",!0),d=s.append("input").classed("moduleCheckbox",!0).attr("id",n+"ConfigCheckbox").attr("type","checkbox").property("checked",a());d.on("click",function(t){var n=d.property("checked");a(n),t!==!0&&(1===l&&e.lazyRefresh(),2===l&&e.update(),3===l&&e.updateDraggerElements())}),r.push(d),s.append("label").attr("for",n+"ConfigCheckbox").text(o)}var i={},r=[];return i.setup=function(){var i=t.select("#m_modes");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),o("showZoomSlider","Zoom controls","#zoomSliderOption",e.options().zoomSlider().showSlider,0),n("#maxLabelWidthSliderOption","maxLabelWidth","Max label width",e.options().maxLabelWidth)},i.setCheckBoxValue=function(e,t){for(var n=0;nTrying to convert with other communication protocol."),e(t)}function i(e){f.append_message_toLastBulletPoint("
    Trying to convert with other communication protocol.");var t=e[0],n=e[1],o=new FormData;o.append("ontology",t);var i=new XMLHttpRequest;i.open("POST","convert",!0);var r="";i.onload=function(){200===i.status&&(r=i.responseText,f.setCachedOntology(n,r),h=n,L=!0,f.append_message_toLastBulletPoint("
    Success, but you are using a deprecated OWL2VOWL service!"),s(r))},i.onreadystatechange=function(){4===i.readyState&&0===i.status&&(f.append_message_toLastBulletPoint("
    Old protocol also failed to establish connection to OWL2VOWL service!"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage())},i.send(o)}function r(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){O.setBusyMode(),t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage()):(u=o.responseText,f.setConversionID(u),n[0]=n[0]+"&sessionId="+u,n.push(u),e(n))})}function a(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),i(n)):(u=o.responseText,f.setConversionID(u),console.log("Request Session ID:"+u),e(n[0],n[1],u))})}function l(n){var o;n.indexOf("new_ontology")!==-1&&(O.hideLoadingIndicator(),e.showEditorHintIfNeeded(),o="./data/new_ontology.json"),C=!1;var i="";if(f.cachedOntology(n))f.append_bulletPoint("Loading already cached ontology: "+n),i=f.cachedOntology(n),C=!0,O.showLoadingIndicator(),s(i);else{var r="./data/"+n+".json";o&&(r=o),t.xhr(r,"application/json",function(t,o){var r=!t;r?(i=o.responseText,s(i)):(f.append_bulletPoint("Failed to load: "+n),f.append_message_toLastBulletPoint(" ERROR STATUS: "+t.status),e.handleOnLoadingError(),O.setErrorMode())})}}function s(e){f.append_bulletPoint("Reading ontology graph ... ");var t=f.getLoadingFunction();t(e,h,"noAlternativeNameYet")}function d(e){var t=(e.match(/#/g)||[]).length,n=[];if(t>0)for(var o=e.split("#"),i=1;i=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else h=e[0],n()}function r(e){if(e[0].indexOf(a)>=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else n();h=e[1]}var a="opts=";switch(t.length){case 0:n();break;case 1:i(t);break;case 2:r(t);break;default:console.log("To many input parameters , loading default config"),n(),h="ERROR_TO_MANY_INPUT_PARAMETERS"}}function p(e){var t="iri=",n="url=",o="file=",i=-1;return i=e.substr(0,o.length)===o?v:e.substr(0,n.length)===n?m:e.substr(0,t.length)===t?y:g}var u,f,h,g=0,v=1,m=2,y=3,b=0,x=1,w=2,k=1,C=!1,L=!1,M=!1,_=!0,E="ontology",O={},S=t.select("#loading-info"),F=t.select("#loadingInfo-container"),I=t.select("#show-loadingInfo-button"),T=t.select("#loadingIndicator_closeButton");return O.checkForScreenSize=function(){var n=e.options().width(),o=e.options().height();n<270?t.select("#loading-info").classed("hidden",!0):_===!0?t.select("#loading-info").classed("hidden",!1):t.select("#loading-info").classed("hidden",!0),o<150?t.select("#loadingInfo_msgBox").classed("hidden",!0):t.select("#loadingInfo_msgBox").classed("hidden",!1),o<80?(t.select("#progressBarContext").classed("hidden",!0),t.select("#layoutLoadingProgressBarContainer").style("height","20px")):(t.select("#progressBarContext").classed("hidden",!1),t.select("#layoutLoadingProgressBarContainer").style("height","50px"))},O.getProgressBarMode=function(){return k},O.successfullyLoadedOntology=function(){return C},O.missingImportsWarning=function(){return L},O.setOntologyMenu=function(e){f=e},O.showErrorDetailsMessage=function(){O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!0),O.scrollDownDetails()},O.showWarningDetailsMessage=function(){t.select("#currentLoadingStep").style("color","#ff0"),O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!1),O.scrollDownDetails()},O.scrollDownDetails=function(){var e=t.select("#loadingInfo-container").node();e.scrollTop=e.scrollHeight},O.hideLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!0),_=!1},O.showLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!1),_=!0},O.setup=function(){F.classed("hidden",!M),I.on("click",function(){M=!M,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)}),T.on("click",function(){S.classed("hidden",!0)}),O.setBusyMode()},O.updateSize=function(){M=!F.classed("hidden"),F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.getDetailsState=function(){return M},O.expandDetails=function(){M=!0,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.collapseDetails=function(){M=!1,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.setBusyMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").style("width","20%"),t.select("#progressBarValue").classed("busyProgressBar",!0),k=x},O.setSuccessful=function(){t.select("#currentLoadingStep").style("color","#0f0")},O.setErrorMode=function(){t.select("#currentLoadingStep").style("color","#f00"),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="",k=b},O.setPercentMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="0%",t.select("#progressBarValue").style("width","0%"),k=w},O.setPercentValue=function(e){t.select("#progressBarValue").node().innherHTML=e},O.emptyGraphContentError=function(){e.clearGraphData(),f.append_message_toLastBulletPoint("failed"),f.append_message_toLastBulletPoint('
    Error: Received empty graph'),C=!1,e.handleOnLoadingError(),O.setErrorMode()},O.isThreadCanceled=function(){},O.initializeLoader=function(n){if(n===!0&&null!==e.getCachedJsonObj()){var o=JSON.stringify(e.getCachedJsonObj()),i=h;f.setCachedOntology(i,o)}u=-1e4,f.setConversionID(u),f.stopLoadingTimer(),e.clearGraphData(),O.setBusyMode(),O.showLoadingIndicator(),O.collapseDetails(),L=!1,t.select("#loadingIndicator_closeButton").classed("hidden",!0),f.clearDetailInformation()},O.parseUrlAndLoadOntology=function(n){var o=!0;n===!1&&(o=!1),e.clearAllGraphData(),O.initializeLoader(o);var i=String(location),r=d(i);h=E,c(r);var a=p(h);switch(t.select("#progressBarValue").node().innerHTML=" ",a){case 0:O.from_presetOntology(h);break;case 1:O.from_FileUpload(h);break;case 2:O.from_JSON_URL(h);break;case 3:O.from_IRI_URL(h);break;default:console.log("Could not identify loading method , or not IMPLEMENTED YET")}},O.from_JSON_URL=function(e){var t=decodeURIComponent(e.slice("url=".length));h=t;var o="";f.cachedOntology(t)?(f.append_bulletPoint("Loading already cached ontology: "+t),o=f.cachedOntology(t),C=!0,s(o)):(f.append_message("Retrieving ontology from JSON URL "+t),n(f.callbackLoad_JSON_FromURL,["read?json="+t,t]))},O.requestServerTimeStampForDirectInput=function(e,n){t.xhr("serverTimeStamp","application/text",function(o,i){o?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage(),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").text("0%")):(u=i.responseText,f.setConversionID(u),e(n,["conversionID"+u,u]))})},O.from_IRI_URL=function(e){var t=decodeURIComponent(e.slice("iri=".length));h=t;var n="";if(f.cachedOntology(t))f.append_bulletPoint("Loading already cached ontology: "+t),n=f.cachedOntology(t),C=!0,s(n);else{var o=encodeURIComponent(t);f.append_bulletPoint("Retrieving ontology from IRI: "+t),r(f.callbackLoad_Ontology_FromIRI,["convert?iri="+o,t])}},O.from_FileUpload=function(n){O.setBusyMode();var o=decodeURIComponent(n.slice("file=".length));h=o;var i="";if(f.cachedOntology(o))f.append_bulletPoint("Loading already cached ontology: "+o),i=f.cachedOntology(o),C=!0,s(i);else{f.append_bulletPoint("Retrieving ontology from file: "+o);var r=t.select("#file-converter-input").property("files")[0];if(!r||o&&o!==r.name)return f.append_message_toLastBulletPoint('
    No cached version of "'+o+'" was found.
    Please reupload the file.'),O.setErrorMode(),t.select("#progressBarValue").classed("busyProgressBar",!1),void e.handleOnLoadingError();if(o=r.name,o.match(/\.json$/)){f.setConversionID(-1e4);var l=new FileReader;l.readAsText(r),l.onload=function(){i=l.result,h=o,s(i)}}else{var d=[r,o];a(f.callbackLoadFromOntology,d)}}},O.directInput=function(e){f.clearDetailInformation(),s(e)},O.loadFromOWL2VOWL=function(e,n){C=!1;var o=t.select("#bulletPoint_container").node().innerHTML;o.indexOf("(with warnings)")!==-1&&(L=!0),f.cachedOntology(e)?(f.append_bulletPoint("Loading already cached ontology: "+n),s(e)):s(e)},O.from_presetOntology=function(e){f.append_bulletPoint("Retrieving ontology: "+e),l(e)},O.notValidJsonFile=function(){e.clearGraphData(),f.append_message_toLastBulletPoint(" failed"),f.append_message_toLastBulletPoint("
    Error: Received empty graph"),C=!1,e.handleOnLoadingError()},O.validJsonFile=function(){f.append_message_toLastBulletPoint("done"),C=!0},O}}).call(t,n(6))},343:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=document.styleSheets[1].cssRules,t=0;tYou can now modify an existing ontology or create a new one via the ontology menu.
    You can save any ontology using the export menu (and exporting it as TTL file).",o.style("padding","5px"),o.style("line-height","1.2em"),o.style("font-size","1.2em");var a=t.append("ul");a.append("li").node().innerHTML="Create a class with double click / tap on empty canvas area.",a.append("li").node().innerHTML="Edit names with double click / tap on element.",a.append("li").node().innerHTML="Selection of default constructors is provided in the left sidebar.",a.append("li").node().innerHTML="Additional editing functionality is provided in the right sidebar.";var d=t.append("label");d.node().id="killWarningErrorMessages_"+e,d.node().innerHTML="Got It",d.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showMessage=function(e){var t=l[e];t.classed("hidden",!1),t.style("-webkit-animation-name","warn_ExpandAnimation"),t.style("-webkit-animation-duration","0.5s")},r.closeMessage=function(e){var n;if(void 0===e){var o=this.id;n=o.split("_")[1]}else n=e;e&&e.indexOf("_")!==-1&&(n=e.split("_")[1]),d[n]=!1;var i=l[n];i.style("-webkit-animation-name","warn_CollapseAnimation"),i.style("-webkit-animation-duration","0.5s");for(var r=i.node().getBoundingClientRect().height,a=i.node().parentNode,s=[],c=a.children,u=c.length,f=i.node().id,h=!1,g=0;g0){var v=f.append("div");v.style("padding","5px");var m=v.append("div");m.style("display","inline-flex"),m.node().innerHTML="Warning:",m.style("padding-right","3px");var y=v.append("div");y.style("display","inline-flex"),y.style("max-width",g+"px"),y.node().innerHTML=n}if(o.length>0){var b=f.append("div");b.style("padding","5px");var x=b.append("div");x.style("display","inline-flex"),x.style("padding-right","3px"),x.node().innerHTML="Reason:";var w=b.append("div");w.style("display","inline-flex"),w.style("max-width",g+"px"),w.node().innerHTML=o}if(i.length>0){var k=f.append("div");k.style("padding","5px");var C=k.append("div");C.style("display","inline-flex"),C.style("padding-right","8px"),C.node().innerHTML="Action:";var L=k.append("div");L.style("display","inline-flex"),L.style("max-width",g+"px"),L.node().innerHTML=i}var M=f.append("label");M.node().id="killWarningErrorMessages_"+u,M.node().innerHTML="Continue",M.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0),a(c[0],c[1],c[2],c[3])}),f.append("span").node().innerHTML="|";var _=f.append("label");_.node().id="cancelButton_"+u,_.node().innerHTML="Cancel",_.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0)}),h.classed("hidden",!1),h.style("-webkit-animation-name","warn_ExpandAnimation"),h.style("-webkit-animation-duration","0.5s")},r.showFilterHint=function(){var e=r.addMessageBox(),t=s[e],n=l[e];d[e]=!0,o=e;var i=t.append("div");i.node().innerHTML="Collapsing filter activated.
    The number of visualized elements has been automatically reduced.
    Use the degree of collapsing slider in the filter menu to adjust the visualization.

    Note: A performance decrease could be experienced with a growing amount of visual elements in the graph.",i.style("padding","5px"),i.style("line-height","1.2em"),i.style("font-size","1.2em");var a=t.append("label");a.node().id="killFilterMessages_"+e,a.node().innerHTML="Got It",a.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showWarning=function(t,n,o,i,a,c){var p=r.addMessageBox(),u=s[p],f=l[p];d[p]=!0;var h=.5*e.options().width();if(t.length>0){var g=u.append("div");g.style("padding","5px");var v=g.append("div");v.style("display","inline-flex"),v.node().innerHTML="Warning:",v.style("padding-right","3px");var m=g.append("div");m.style("display","inline-flex"),m.style("max-width",h+"px"),m.node().innerHTML=t}if(n.length>0){var y=u.append("div");y.style("padding","5px");var b=y.append("div");b.style("display","inline-flex"),b.style("padding-right","3px"),b.node().innerHTML="Reason:";var x=y.append("div");x.style("display","inline-flex"),x.style("max-width",h+"px"),x.node().innerHTML=n}if(o.length>0){var w=u.append("div");w.style("padding","5px");var k=w.append("div");k.style("display","inline-flex"),k.style("padding-right","8px"),k.node().innerHTML="Action:";var C=w.append("div");C.style("display","inline-flex"),C.style("max-width",h+"px"),C.node().innerHTML=o}var L;if(1===i&&(L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage)),2===i){L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage),u.append("span").node().innerHTML="|";var M=u.append("label");M.node().id="zoomElementThing_"+p,M.node().innerHTML="Zoom to element ",M.on("click",function(){e.zoomToElementInGraph(c)}),u.append("span").node().innerHTML="|";var _=u.append("label");_.node().id="showElementThing_"+p,_.node().innerHTML="Indicate element",_.on("click",function(){c.halo()===!1?(c.drawHalo(),e.updatePulseIds([c.id()])):(c.removeHalo(),c.drawHalo(),e.updatePulseIds([c.id()]))})}f.classed("hidden",!1),f.style("-webkit-animation-name","warn_ExpandAnimation"),f.style("-webkit-animation-duration","0.5s"),f.classed("hidden",!1)},r}}).call(t,n(6))},344:function(e,t,n){(function(t){e.exports=function(e){var n={},o=t.select("#DirectInputContent");o.style("top","0"),o.style("position","absolute");var i=t.select("#directInputTextArea"),r=!1;return o.style("border","1px solid black"),o.style("padding","5px"),o.style("background","#fff"),n.handleDirectUpload=function(){var o,r=i.node().value;try{o=JSON.parse(r),e.options().loadingModule().directInput(r),o.class.length>0&&n.setDirectInputMode(!1)}catch(n){try{e.options().loadingModule().initializeLoader(),e.options().loadingModule().requestServerTimeStampForDirectInput(e.options().ontologyMenu().callbackLoad_Ontology_From_DirectInput,r)}catch(e){console.log("Error "+e),t.select("#Error_onLoad").classed("hidden",!1),t.select("#Error_onLoad").node().innerHTML="Failed to convert the input!"}}},n.handleCloseButton=function(){n.setDirectInputMode(!1)},n.updateLayout=function(){var t=e.options().width(),n=e.options().height();i.style("width",.4*t+"px"),i.style("height",.7*n+"px")},n.setDirectInputMode=function(e){r=e?e:!r,n.updateLayout(),t.select("#Error_onLoad").classed("hidden",!0),o.classed("hidden",!r)},t.select("#directUploadBtn").on("click",n.handleDirectUpload),t.select("#close_directUploadBtn").on("click",n.handleCloseButton),n}}).call(t,n(6))}}); diff --git a/dist/vocabulary/mapping/0.2.1/webvowl/js/webvowl.js b/dist/vocabulary/mapping/0.2.1/webvowl/js/webvowl.js new file mode 100644 index 0000000..fe3a381 --- /dev/null +++ b/dist/vocabulary/mapping/0.2.1/webvowl/js/webvowl.js @@ -0,0 +1,7 @@ +webvowl=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){function r(e,t){var n=t.key.replace(":","").toLowerCase();e[n]=t.value}n(1);var o=n(5)(),a=n(40)(),i={};i.graph=n(57),i.options=n(64),i.version="1.1.4",i.util={},i.util.constants=n(12),i.util.languageTools=n(11),i.util.elementTools=n(63),i.util.prefixTools=n(72),i.modules={},i.modules.colorExternalsSwitch=n(73),i.modules.compactNotationSwitch=n(74),i.modules.datatypeFilter=n(75),i.modules.disjointFilter=n(77),i.modules.focuser=n(78),i.modules.emptyLiteralFilter=n(79),i.modules.nodeDegreeFilter=n(80),i.modules.nodeScalingSwitch=n(81),i.modules.objectPropertyFilter=n(82),i.modules.pickAndPin=n(83),i.modules.selectionDetailsDisplayer=n(315),i.modules.setOperatorFilter=n(316),i.modules.statistics=n(317),i.modules.subclassFilter=n(318),i.nodes={},o.entries().forEach(function(e){r(i.nodes,e)}),i.properties={},a.entries().forEach(function(e){r(i.properties,e)}),e.exports=i},function(e,t){},,,,function(e,t,n){(function(t){var r=[];r.push(n(7)),r.push(n(18)),r.push(n(19)),r.push(n(26)),r.push(n(27)),r.push(n(28)),r.push(n(29)),r.push(n(30)),r.push(n(31)),r.push(n(32)),r.push(n(33)),r.push(n(34)),r.push(n(38)),r.push(n(39));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t){e.exports=d3},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["external"]).type("ExternalClass")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(9),o=n(14),a=n(17)();e.exports=function(){var e=function(e){function t(){var t=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(t=void 0);var n=new o(u.nodeElement(),t),r=u.equivalentsString(),a=r?",":"";return n.addText(u.labelForCurrentLanguage(),"",a),n.addEquivalents(r),e.options().compactNotation()||n.addSubText(u.indicationString()),n.addInstanceCount(u.individuals().length),n}r.apply(this,arguments);var n,i,s,l,u=this,c=!1,d=50,p=null,f=!1;this.setRectangularRepresentation=function(e){f=e},this.getRectangularRepresentation=function(){return f},this.getHalos=function(){return p},this.collapsible=function(e){return arguments.length?(c=e,this):c},this.textBlock=function(e){return arguments.length?(l=e,this):l},this.radius=function(e){return arguments.length?(d=e,this):d},this.setHoverHighlighting=function(e){u.nodeElement().selectAll("circle").classed("hovered",e)},this.textWidth=function(e){var t=2*this.actualRadius();if(e){var n=Math.abs(e)/this.actualRadius(),r=n<=1;t=r?Math.cos(n)*t:0}return t},this.toggleFocus=function(){u.focused(!u.focused()),u.nodeElement()&&u.nodeElement().select("circle").classed("focused",u.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.actualRadius=function(){if(!e.options().scaleNodesByIndividuals()||u.individuals().length<=0)return u.radius();var t=8,n=Math.log(u.individuals().length+1)*t+5;return u.radius()+n},this.distanceToBorder=function(){return u.actualRadius()},this.removeHalo=function(){u.halo()&&(u.halo(!1),p&&p.remove())},this.drawHalo=function(e){if(u.halo(!0),p=f===!0?a.drawRectHalo(u.nodeElement(),80,80,5):a.drawHalo(u.nodeElement(),u.actualRadius(),this.removeHalo),e===!1){var t=p.selectAll(".searchResultA");t.classed("searchResultA",!1),t.classed("searchResultB",!0),t.attr("animationRunning",!1)}},this.drawPin=function(){u.pinned(!0);var t=-.7*u.actualRadius(),n=-.7*u.actualRadius();i=a.drawPin(u.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){u.pinned(!1),i&&i.remove(),e.updateStyle()},this.drawCollapsingButton=function(){n=u.nodeElement().append("g").classed("hidden-in-export",!0).attr("transform",function(){var e=-.4*u.actualRadius(),t=.5*u.actualRadius();return"translate("+e+","+t+")"}),n.append("rect").classed("class pin feature",!0).attr("x",0).attr("y",0).attr("width",40).attr("height",24),n.append("line").attr("x1",13).attr("y1",12).attr("x2",27).attr("y2",12),n.append("line").attr("x1",20).attr("y1",6).attr("x2",20).attr("y2",18)},this.draw=function(e,t){var n=u.collectCssClasses();u.nodeElement(e);var r=u.backgroundColor();null===r&&(r=void 0),u.attributes().indexOf("deprecated")>-1&&(r=void 0),t instanceof Array&&(n=n.concat(t)),s=f===!0?a.appendRectangularClass(e,80,80,n,u.labelForCurrentLanguage(),r):a.appendCircularClass(e,u.actualRadius(),n,u.labelForCurrentLanguage(),r),u.postDrawActions(e)},this.redrawElement=function(){s.remove(),l.remove();var e=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(e=void 0);var t=u.collectCssClasses();s=f===!0?a.appendRectangularClass(u.nodeElement(),80,80,t,u.labelForCurrentLanguage(),e):a.appendCircularClass(u.nodeElement(),u.actualRadius(),t,u.labelForCurrentLanguage(),e),u.postDrawActions(u.nodeElement())},this.postDrawActions=function(){u.textBlock(t()),u.addMouseListeners(),u.pinned()&&u.drawPin(),u.halo()&&u.drawHalo(!1),u.collapsible()&&u.drawCollapsingButton()},this.redrawLabelText=function(){u.textBlock().remove(),u.textBlock(t()),s.select("title").text(u.labelForCurrentLanguage())},this.equivalentsString=function(){var e=u.equivalents();if(e)return e.map(function(e){return e.labelForCurrentLanguage()}).join(", ")}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(13)();e.exports=function(){var e=function(e){function n(){if(!g.mouseEntered()&&b!==!0){var t=g.nodeElement().node(),n=t.parentNode;g.animationProcess()===!1&&n.appendChild(t),e.isTouchDevice()===!1?(g.setHoverHighlighting(!0),g.mouseEntered(!0),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g)):e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g,!0)}}function a(){g.setHoverHighlighting(!1),g.mouseEntered(!1),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!1)}r.apply(this,arguments);var i,s,l,u,c,d,p,f,h,v,g=this,y=[],m="round",b=!1,x=[];g.editingTextElement=!1,this.isPropertyAssignedToThisElement=function(e){if(console.log("Element IRI :"+e.iri()),"rdfs:subClassOf"===e.type())for(var t=0;t0?this.LINE_DISTANCE:0;e.attr("dy",n+o+"px")},r.prototype.getTextBox=function(){return this._textBlock()},r.prototype._repositionTextBlock=function(){var e=this._lineCount();if(e<1)return void this._textBlock().attr("y",0);var t=this._textBlock().node().getBBox().height;this._textBlock().attr("y",.5*-t+"px")},r.prototype._lineCount=function(){return this._textBlock().property("childElementCount")}},function(e,t,n){(function(t){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}var r=4,o={};o.truncate=function(e,t,o,a){if(t-=isNaN(a)?r:a,isNaN(t)||t<=0)return e;for(var i,s,l,u=e;;){if(s=n(u,o),s<=t)break;if(l=s/t,i=Math.floor(u.length/l),u.length===i)break;u=u.substring(0,i)}return e.length>u.length?e.substring(0,u.length-3)+"...":e},e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){(function(t){function n(e,t){var n=e.append("text").classed("text",!0).style("fill",this._getTextColor(t)).attr("text-anchor","middle");this._textBlock=function(){return n}}function r(e){return.3*(e.r/255)+.59*(e.g/255)+.11*(e.b/255)}e.exports=n,n.prototype.LINE_DISTANCE=1,n.prototype.CSS_CLASSES={default:"text",subtext:"subtext",instanceCount:"instance-count"},n.prototype.DARK_TEXT_COLOR="#000",n.prototype.LIGHT_TEXT_COLOR="#fff",n.prototype.translation=function(e,t){return this._textBlock().attr("transform","translate("+e+", "+t+")"),this},n.prototype.remove=function(){return this._textBlock().remove(),this},n.prototype._applyPreAndPostFix=function(e,t,n){return t&&(e=t+e),n&&(e+=n),e},n.prototype._getTextColor=function(e){if(!e)return n.prototype.DARK_TEXT_COLOR;var o=t.rgb(e);return r(o)>.5?n.prototype.DARK_TEXT_COLOR:n.prototype.LIGHT_TEXT_COLOR}}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e,t){t instanceof Array&&t.forEach(function(t){e.classed(t,!0)})}function n(e,t){t&&e.append("title").text(t)}function r(e,t){t&&e.style("fill",t)}var o={};return o.appendCircularClass=function(t,o,a,i,s){var l=t.append("circle").classed("class",!0).attr("r",o);return e(l,a),n(l,i),r(l,s),l},o.appendRectangularClass=function(t,o,a,i,s,l){var u=t.append("rect").classed("class",!0).attr("x",-o/2).attr("y",-a/2).attr("width",o).attr("height",a);return e(u,i),n(u,s),r(u,l),u},o.drawPin=function(e,n,r,o,a,i){var s=e.append("g").classed("hidden-in-export",!0).attr("transform","translate("+n+","+r+")"),l=s.append("circle").classed("class pin feature",!0).attr("r",12).on("click",function(){o&&o(),t.event.stopPropagation()});return s.append("line").attr("x1",0).attr("x2",0).attr("y1",12).attr("y2",16),i===!0&&s.append("circle").attr("r",15).attr("cx",-7).attr("cy",-7).classed("superHiddenElement ",!0).classed("superOpacityElement",!a()).on("click",function(){o&&o(),t.event.stopPropagation()}).on("mouseover",function(){l.classed("feature_hover",!0)}).on("mouseout",function(){l.classed("feature_hover",!1)}),s},o.drawRectHalo=function(e,t,n,r){var o;if(o=e.nodeElement?e.nodeElement():e.labelElement()){var a=o.append("g").classed("hidden-in-export",!0);return a.append("rect").classed("searchResultA",!0).attr("x",(-t-r)/2).attr("y",(-r-n)/2).attr("width",t+r).attr("height",n+r),a.attr("animationRunning",!0),a.node().addEventListener("webkitAnimationEnd",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a.node().addEventListener("animationend",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a}},o.drawHalo=function(e,t){if(void 0===e)return null;var n=e.append("g").classed("hidden-in-export",!0);return n.append("circle",":first-child").classed("searchResultA",!0).attr("r",t+15),n.attr("animationRunning",!0),n.node().addEventListener("webkitAnimationEnd",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n.node().addEventListener("animationend",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n},function(){return o}}()}).call(t,n(6))},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.type("owl:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("complementof").type("owl:complementOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0);r.append("circle").attr("class","symbol").classed("fineline",!0).attr("r",10),r.append("path").attr("class","nofill").attr("d","m -7,-1.5 12,0 0,6").attr("transform","scale(.5)"),r.attr("transform","translate(-"+(t.radius()-15)/100+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(21),o=n(22),a=n(8),i=n(17)();e.exports=function(){var e=function(e){a.apply(this,arguments);var t=this,n=t.setHoverHighlighting,s=t.postDrawActions;this.setHoverHighlighting=function(e){n(e),t.links().filter(function(e){return e instanceof o}).filter(function(e){return e.domain().equals(t)}).forEach(function(t){t.property().setHighlighting(e)})},this.draw=function(e){t.nodeElement(e),i.appendCircularClass(e,t.actualRadius(),t.collectCssClasses().join(" "),t.labelForCurrentLanguage(),t.backgroundColor())},this.postDrawActions=function(){s(),t.textBlock().remove();var n=new r(t.nodeElement(),t.backgroundColor()),o=t.equivalentsString(),a=o?-30:-17,i=o?",":"";n.addText(t.labelForCurrentLanguage(),a,"",i),n.addEquivalents(o,-17),e.options().compactNotation()?n.addInstanceCount(t.individuals().length,17):t.indicationString().length>0?(n.addSubText(t.indicationString(),17),n.addInstanceCount(t.individuals().length,30)):n.addInstanceCount(t.individuals().length,17),t.textBlock(n)}};return e.prototype=Object.create(a.prototype),e.prototype.constructor=e,e}()},function(e,t,n){function r(e,t){a.apply(this,arguments)}var o=n(15)(),a=n(16);e.exports=r,r.prototype=Object.create(a.prototype),r.prototype.constructor=r,r.prototype.addText=function(e,t,n,r){e&&this.addTextline(e,this.CSS_CLASSES.default,t,n,r)},r.prototype.addSubText=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.subtext,t,"(",")")},r.prototype.addEquivalents=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.default,t)},r.prototype.addInstanceCount=function(e,t){e&&this.addTextline(e.toString(),this.CSS_CLASSES.instanceCount,t)},r.prototype.addTextline=function(e,t,n,r,a){var i=o.truncate(e,this._textBlock().datum().textWidth(n),t),s=this._textBlock().append("tspan").classed(this.CSS_CLASSES.default,!0).classed(t,!0).text(this._applyPreAndPostFix(i,r,a)).attr("x",0);this._repositionTextLine(s,n)},r.prototype._repositionTextLine=function(e,t){var n=window.getComputedStyle(e.node()).getPropertyValue("font-size"),r=parseFloat(n),o=1/3*r;e.attr("y",o+(t||0)+"px")}},function(e,t,n){function r(e,t,n){s.apply(this,arguments)}function o(e,t){var n=i(e,t);n.attr("refX",-8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function a(e,t){var n=i(e,t);n.attr("refX",8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function i(e,t){return e.append("marker").datum(t).attr("id",t.markerId()).attr("viewBox","-10 -10 20 20").attr("markerWidth",20).attr("markerHeight",20).attr("markerUnits","userSpaceOnUse").attr("orient","auto")}var s=n(23);e.exports=r,r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.draw=function(e,t){var n=this.label().property(),r=this.label().inverse();o(t,n),r&&a(t,r),s.prototype.draw.apply(this,arguments),e.attr("marker-start","url(#"+n.markerId()+")"),r&&e.attr("marker-end","url(#"+r.markerId()+")")}},function(e,t,n){function r(e,t,r){var a,i,s,l,u,c=new o(r,this),d=n(25)(e,c,this),p=n(25)(c,t,this);this.layers=function(e){return arguments.length?(a=e,this):a},this.layerIndex=function(e){return arguments.length?(i=e,this):i},this.loops=function(e){return arguments.length?(s=e,this):s},this.loopIndex=function(e){return arguments.length?(l=e,this):l},this.domain=function(){return e},this.label=function(){return c},this.linkParts=function(){return[p,d]},this.range=function(){return t},this.pathObj=function(e){return arguments.length?void(u=e):u}}var o=n(24);e.exports=r,r.prototype.draw=function(e){var t=this.label().property(),n=this.label().inverse();t.linkGroup(e),n&&n.linkGroup(e);var r=e.append("path");r.classed("link-path",!0).classed(this.domain().cssClassOfNode(),!0).classed(this.range().cssClassOfNode(),!0).classed(t.linkType(),!0),this.pathObj(r)},r.prototype.inverse=function(){return this.label().inverse()},r.prototype.isLoop=function(){return this.domain().equals(this.range())},r.prototype.property=function(){return this.label().property()}},function(e,t){function n(e,t){this.link=function(){return t},this.property=function(){return e},Object.defineProperty(this,"fixed",{get:function(){var t=!!e.inverse()&&e.inverse().fixed;return e.fixed||t},set:function(t){e.fixed=t,e.inverse()&&(e.inverse().fixed=t)}}),this.frozen=e.frozen,this.locked=e.locked,this.pinned=e.pinned}e.exports=n,n.prototype.actualRadius=function(){return this.property().actualRadius()},n.prototype.draw=function(e){return this.property().draw(e)},n.prototype.inverse=function(){return this.property().inverse()},n.prototype.equals=function(e){if(!e)return!1;var t=e instanceof n,r=this.property().equals(e.property()),o=!1;return this.inverse()?o=this.inverse().equals(e.inverse()):e.inverse()||(o=!0),t&&r&&o}},function(e,t){e.exports=function(e,t,n){var r={},o=e,a=n,i=t;return Object.defineProperties(r,{source:{value:o,writable:!0},target:{value:i,writable:!0}}),r.domain=function(){return o},r.link=function(){return a},r.range=function(){return i},r}},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).type("owl:DeprecatedClass").styleClass("deprecated").indications(["deprecated"])};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("disjointunionof").type("owl:disjointUnionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("text").attr("class","link").text("1").attr("transform","scale(.7)translate(3,5)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8),o=n(17)();e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n=4,a=this,i=a.actualRadius;this.styleClass("equivalentclass").type("owl:equivalentClass"),this.actualRadius=function(){return i()+n},this.redrawElement=function(){t.remove(),a.textBlock().remove();var e=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(e=void 0);var r=a.collectCssClasses();t=a.nodeElement().append("g"),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),e)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),console.log(r),console.log(a.attributes()),console.log("what is bgColor"+e),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),e)),a.postDrawActions(a.nodeElement())},this.draw=function(e){var r=a.collectCssClasses();a.nodeElement(e),t=e.append("g");var i=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(i=void 0),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),i)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),i)),a.postDrawActions()},a.setHoverHighlighting=function(e){a.nodeElement().selectAll("circle:last-of-type").classed("hovered",e)}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){function t(){var e=18,t=5,n=-(e/2),r=7,o=5,a=e-o,i="M"+t+","+n,s="c"+r+","+o+" "+r+","+a+" 0,"+e,l="c"+-r+","+-o+" "+-r+","+-a+" 0,"+-e;return i+s+l}r.apply(this,arguments);var n=this,o=n.draw,a=t();this.styleClass("intersectionof").type("owl:intersectionOf"),this.draw=function(e){o(e);var t=e.append("g").classed("embedded",!0),r=10;t.append("path").attr("class","nostroke").classed("symbol",!0).attr("d",a),t.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("circle").attr("cx",10).attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("path").attr("class","nofill").attr("d","m 9,5 c 0,-2 0,-4 0,-6 0,0 0,0 0,0 0,0 0,-1.8 -1,-2.3 -0.7,-0.6 -1.7,-0.8 -2.9,-0.8 -1.2,0 -2,0 -3,0.8 -0.7,0.5 -1,1.4 -1,2.3 0,2 0,4 0,6").attr("transform","scale(.5)translate(5,0)"),t.attr("transform","translate(-"+(n.radius()-15)/7+",-"+(n.radius()-15)/100+")"),n.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(31);e.exports=function(){var e=function(e){r.apply(this,arguments),this.label("Nothing").type("owl:Nothing").iri("http://www.w3.org/2002/07/owl#Nothing")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.label("Thing").type("owl:Thing").iri("http://www.w3.org/2002/07/owl#Thing").radius(30),this.draw=function(e){t(e,["white","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("unionof").type("owl:unionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("path").attr("class","link").attr("d","m 1,-3 c 0,2 0,4 0,6 0,0 0,0 0,0 0,2 2,3 4,3 2,0 4,-1 4,-3 0,-2 0,-4 0,-6").attr("transform","scale(.5)translate(5,0)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).type("rdfs:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t="undefined";this.attributes(["datatype"]).type("rdfs:Datatype").styleClass("datatype"),this.dType=function(e){return arguments.length?void(t=e):t}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(36);e.exports=function(){var e=function(e){r.apply(this,arguments)};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(9),o=n(14),a=n(17)(),i=n(37)();e.exports=function(){var e=function(e){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth; +return r.remove(),o}r.apply(this,arguments);var s,l,u,c,d=this,p=20,f=60,h=80,v=80,g=80,y=p/2;d.renderType("rect"),this.height=function(e){return arguments.length?(p=e,this):p},this.width=function(e){return arguments.length?(f=e,this):f},this.getHalos=function(){return l},this.actualRadius=function(){return y},this.distanceToBorder=function(e,t){return i.distanceToBorder(d,e,t)},this.setHoverHighlighting=function(e){d.nodeElement().selectAll("rect").classed("hovered",e);var t=d.getHalos();if(t){var n=t.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0)}},this.textWidth=function(){return h},this.width=function(){return h},this.getMyWidth=function(){var e=d.labelForCurrentLanguage();v=n(e,"text")+20;var t=d.indicationString(),r=n(t,"subtext")+20;return r>v&&(v=r),v},this.textWidth=function(){return d.width()},this.toggleFocus=function(){d.focused(!d.focused()),d.nodeElement().select("rect").classed("focused",d.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.draw=function(t,n){var r=d.collectCssClasses();d.nodeElement(t),n instanceof Array&&(r=r.concat(n)),h=e.options().dynamicLabelWidth()===!0?Math.min(d.getMyWidth(),e.options().maxLabelWidth()):g,f=h,u=a.appendRectangularClass(t,d.width(),d.height(),r,d.labelForCurrentLanguage(),d.backgroundColor()),c=new o(t,d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.addMouseListeners(),d.pinned()&&d.drawPin(),d.halo()&&d.drawHalo(!1)},this.drawPin=function(){d.pinned(!0);var t=-.5*h+5,n=-1.1*p;s=a.drawPin(d.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){d.pinned(!1),s&&s.remove(),e.updateStyle()},this.removeHalo=function(){d.halo(!1),l&&(l.remove(),l=null)},this.drawHalo=function(e){d.halo(!0);var t=0;if(l=a.drawRectHalo(d,this.width(),this.height(),t),e===!1){var n=l.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0),n.attr("animationRunning",!1)}if(d.pinned()){var r=s.node(),o=r.parentNode;o.appendChild(r)}},this.updateTextElement=function(){c.updateAllTextElements()},this.textBlock=function(){return c},this.redrawLabelText=function(){c.remove(),c=new o(d.nodeElement(),d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),u.select("title").text(d.labelForCurrentLanguage())},this.animateDynamicLabelWidth=function(t){d.removeHalo();var n=d.height();if(t===!0?(h=Math.min(d.getMyWidth(),e.options().maxLabelWidth()),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n}).each("end",function(){d.updateTextElement()})):(h=g,d.updateTextElement(),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n})),d.pinned()===!0&&s){var r=.5*h-10,o=-1.1*n;s.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}},this.addTextLabelElement=function(){var e=d.nodeElement();c=new o(e,this.backgroundColor()),c.addText(d.labelForCurrentLanguage())}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()}).call(t,n(6))},function(e,t){var n={};e.exports=function(){return n},n.distanceToBorder=function(e,t,n){var r,o=e.width(),a=e.height(),i=Math.abs(n/t),s=a/o;if(i<=s){var l=t/(o/2),u=n/l;r=Math.sqrt(Math.pow(o/2,2)+Math.pow(u,2))}else{var c=n/(a/2),d=t/c;r=Math.sqrt(Math.pow(a/2,2)+Math.pow(d,2))}return r}},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw,n=this.label;this.attributes(["datatype"]).label("Literal").styleClass("literal").type("rdfs:Literal").iri("http://www.w3.org/2000/01/rdf-schema#Literal"),this.draw=function(e){t(e,["dashed"])},this.label=function(e){return arguments.length?this:n()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.attributes(["rdf"]).label("Resource").radius(30).styleClass("rdfsresource").type("rdfs:Resource"),this.draw=function(e){t(e,["rdf","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=[];r.push(n(41)),r.push(n(44)),r.push(n(45)),r.push(n(46)),r.push(n(47)),r.push(n(48)),r.push(n(49)),r.push(n(50)),r.push(n(51)),r.push(n(52)),r.push(n(53)),r.push(n(54)),r.push(n(55)),r.push(n(56));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("allvaluesfromproperty").type("owl:allValuesFrom"),this.generateCardinalityText=function(){var e="A",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(14),a=n(17)(),i=n(13)(),s=n(37)();n(43)();e.exports=function(){var e=28,n=80,l=e/2,u=function(e){function n(){var e=[];return T.subproperties()&&(e=e.concat(T.subproperties())),T.superproperties()&&(e=e.concat(T.superproperties())),e}function l(){var e=n();e.forEach(function(e){e.foreground&&e.foreground()})}function u(){T.mouseEntered()||P===!0||(T.mouseEntered(!0),T.setHighlighting(!0),T.foreground(),l())}function c(){T.mouseEntered(!1),T.setHighlighting(!1)}function d(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}function p(t){if(e.ignoreOtherHoverEvents()===!1){var n=!1;T.inverse()&&(n=!0),t===!0&&e.activateHoverElementsForProperties(t,T,n)}}r.apply(this,arguments);var f,h,v,g,y,m,b,x,E,w,O,C,k,P,_,j,M,D,L,A,S,T=this,R="normal",I="filled",N=!0,F=80,H=80,B=[];this.existingPropertyIRI=function(t){return e.options().editSidebar().checkForExistingURL(t)},this.getHalos=function(){return M},this.getPin=function(){return j},this.labelObject=function(e,t){return arguments.length?(A=e,void(T.inverse()&&t!==!0&&T.inverse().labelObject(e,!0))):A},this.hide=function(e){T.labelElement().classed("hidden",e),T.linkGroup().classed("hidden",e),T.cardinalityElement()&&T.cardinalityElement().classed("hidden",e)},this.cardinality=function(e){return arguments.length?(f=e,this):f},this.cardinalityElement=function(e){return arguments.length?(w=e,this):w},this.domain=function(e){return arguments.length?(h=e,this):h},this.inverse=function(e){return arguments.length?(v=e,this):v},this.labelElement=function(e){return arguments.length?(O=e,this):O},this.labelVisible=function(e){return arguments.length?(N=e,this):N},this.link=function(e){return arguments.length?(g=e,this):g},this.linkGroup=function(e){return arguments.length?(C=e,this):C},this.linkType=function(e){return arguments.length?(R=e,this):R},this.markerElement=function(e){return arguments.length?(k=e,this):k},this.markerType=function(e){return arguments.length?(I=e,this):I},this.maxCardinality=function(e){return arguments.length?(m=e,this):m},this.minCardinality=function(e){return arguments.length?(y=e,this):y},this.range=function(e){return arguments.length?(b=e,this):b},this.redundantProperties=function(e){return arguments.length?(B=e,this):B},this.subproperties=function(e){return arguments.length?(x=e,this):x},this.superproperties=function(e){return arguments.length?(E=e,this):E},this.distanceToBorder=function(e,t){return s.distanceToBorder(T,e,t)},this.linkHasMarker=function(){return"dashed"!==R},this.markerId=function(){return"marker"+T.id()},this.toggleFocus=function(){T.focused(!T.focused()),O.select("rect").classed("focused",T.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.getShapeElement=function(){return D},this.textBlock=function(){return L},this.redrawElement=function(){D.remove(),L.remove(),T.drawLabel(T.labelElement()),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth())},this.draw=function(t){function n(e){var n=t.append("g").datum(e).classed("label",!0).attr("id",e.id());return e.drawLabel(n),n}if(T.labelVisible()){if(F=e.options().dynamicLabelWidth()===!0?Math.min(T.getMyWidth(),e.options().maxLabelWidth()):H,T.labelElement(n(T)),T.inverse()){var r=T.height()/2+1;T.inverse().labelElement(n(T.inverse())),T.labelElement().attr("transform","translate(0,-"+r+")"),T.inverse().labelElement().attr("transform","translate(0,"+r+")")}return T.pinned()?T.drawPin():T.inverse()&&T.inverse().pinned()&&T.inverse().drawPin(),T.halo()&&T.drawHalo(!1),T.labelElement()}},this.addRect=function(e){var t=e.append("rect").classed(T.styleClass(),!0).classed("property",!0).attr("x",-T.width()/2).attr("y",-T.height()/2).attr("width",T.width()).attr("height",T.height()).on("mouseover",function(){u()}).on("mouseout",function(){c()});t.append("title").text(T.labelForCurrentLanguage()),T.visualAttributes()&&t.classed(T.visualAttributes(),!0);var n=T.backgroundColor();return T.attributes().indexOf("deprecated")>-1?(n=void 0,t.classed("deprecatedproperty",!0)):t.classed("deprecatedproperty",!1),t.style("fill",n),t},this.drawLabel=function(e){D=this.addRect(e);var t=T.equivalentsString(),n=t?",":"",r=T.backgroundColor();T.attributes().indexOf("deprecated")>-1&&(r=void 0),L=new o(e,r),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.equivalentsString=function(){var e=T.equivalents();if(e)return e.map(function(e){return void 0===e||"string"==typeof e?"ERROR":e.labelForCurrentLanguage()}).join(", ")},this.drawCardinality=function(e){var t=this.generateCardinalityText();return!!t&&(T.cardinalityElement(e),0===t.indexOf("A")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -8.8832678,-11.303355 -7.97e-4,0 0.717374,1.833297 8.22987151,21.371761 8.66826659,-21.2123526 0.797082,-1.9927054 0.02471,0 -0.8218553,1.9927054 -2.2517565,5.4201577 -12.4444429,8e-6 -2.2019394,-5.5795821 z").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):0===t.indexOf("E")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -5.5788451,-8.0958763 10.8749368,0 0,8.34681523 -9.5707468,0.040132 9.5707468,-0.040132 0,8.42707237 -10.9150654,0").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):(e.append("text").classed("cardinality",!0).attr("text-anchor","middle").attr("dy","0.5ex").text(t),!0))},this.generateCardinalityText=function(){if(T.cardinality())return T.cardinality();if(T.minCardinality()||T.maxCardinality()){var e=T.minCardinality()||"*",t=T.maxCardinality()||"*";return e+".."+t}},T.setHighlighting=function(t){T.labelElement&&T.labelElement()&&T.labelElement().select("rect").classed("hovered",t),T.linkGroup().selectAll("path, text").classed("hovered",t),T.markerElement()&&(T.markerElement().select("path").classed("hovered",t),T.cardinalityElement()&&(T.cardinalityElement().selectAll("path").classed("hovered-MathSymbol",t),T.cardinalityElement().classed("hovered",t)));var r=n();r.forEach(function(e){e.labelElement&&e.labelElement()&&e.labelElement().select("rect").classed("indirect-highlighting",t)});var o=!1;e.ignoreOtherHoverEvents()===!1&&(T.inverse()&&(o=!0),e.isTouchDevice()===!1?e.activateHoverElementsForProperties(t,T,o):(T.labelElement().select("rect").classed("hovered",!1),T.linkGroup().selectAll("path, text").classed("hovered",!1),T.markerElement()&&(T.markerElement().select("path").classed("hovered",!1),T.cardinalityElement()&&T.cardinalityElement().classed("hovered",!1)),e.activateHoverElementsForProperties(t,T,o,!0)))},this.foreground=function(){if(T.labelElement()&&null!==T.labelElement().node().parentNode){var e=T.labelElement().node().parentNode,t=e.parentNode,n=T.linkGroup().node(),r=T.linkGroup().node().parentNode;T.animationProcess()===!1&&t.appendChild(e),r.appendChild(n)}},this.drawPin=function(){if(T.pinned(!0),F=e.options().dynamicLabelWidth()===!0?T.getMyWidth():H,T.inverse()){var t=T.labelElement().attr("transform"),n=T.inverse().labelElement().attr("transform"),r=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(t)[2],o=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(n)[2];j=rF&&(F=n),F},this.textWidth=function(){return F},this.width=function(){return F},this.animateDynamicLabelWidth=function(t){if(T.removeHalo(),void 0!==D){var n=T.height();if(t===!0?(F=Math.min(T.getMyWidth(),e.options().maxLabelWidth()),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n}).each("end",function(){T.updateTextElement()})):(F=H,T.updateTextElement(),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n})),T.pinned()===!0&&j){var r=-.5*F+10,o=-25;j.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}}},this.redrawLabelText=function(){L.remove(),T.addTextLabelElement(),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),D.select("title").text(T.labelForCurrentLanguage())},this.addTextLabelElement=function(){var e=T.labelElement(),t=T.equivalentsString(),n=t?",":"";L=new o(e,this.backgroundColor()),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.updateTextElement=function(){L.updateAllTextElements()},this.enableEditing=function(e){e!==!1&&T.raiseDoubleClickEdit(!0)},this.raiseDoubleClickEdit=function(n){if(t.selectAll(".foreignelements").remove(),void 0===T.labelElement()||"owl:disjointWith"===this.type()||"rdfs:subClassOf"===this.type())return void console.log("No Container found");void 0!==_&&T.labelElement().selectAll(".foreignelements").remove(),S=void 0,e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),T.editingTextElement=!0,P=!0,T.labelElement().selectAll("rect").classed("hoveredForEditing",!0),T.frozen(!0),e.killDelayedTimer(),e.ignoreOtherHoverEvents(!1),_=T.labelElement().append("foreignObject").attr("x",-.5*T.textWidth()).attr("y",-13).attr("height",25).attr("class","foreignelements").on("dragstart",function(){return!1}).attr("width",T.textWidth()-2);var r=_.append("xhtml:input").attr("class","nodeEditSpan").attr("id",T.id()).attr("align","center").attr("contentEditable","true").on("dragstart",function(){return!1}),o="#f00",a=T.textWidth()-2;r.style({align:"center",color:"black",width:a+"px","background-color":o,"border-bottom":"2px solid black"});var i=r.node();i.value=T.labelForCurrentLanguage(),i.focus(),i.select(),t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation(),r.on("click",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mouseout",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mousedown",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}).on("keydown",function(){13===t.event.keyCode&&(this.blur(),T.frozen(!1),T.locked(!1))}).on("keyup",function(){if(n){var o=r.node().value,a=o.replaceAll(" ","_"),i=T.baseIri()+a;S=i,t.select("#element_iriEditor").node().title=i,t.select("#element_iriEditor").node().value=e.options().prefixModule().getPrefixRepresentationForFullURI(i)}t.select("#element_labelEditor").node().value=r.node().value}).on("blur",function(){T.editingTextElement=!1,P=!1,T.labelElement().selectAll("rect").classed("hoveredForEditing",!1);var t=r.node().value;if(T.labelElement().selectAll(".foreignelements").remove(),T.label(t),T.backupLabel(t),T.redrawLabelText(),p(!0),e.showHoverElementsAfterAnimation(T,!1),e.ignoreOtherHoverEvents(!1),T.frozen(e.paused()),T.locked(e.paused()),T.domain().frozen(e.paused()),T.domain().locked(e.paused()),T.range().frozen(e.paused()),T.range().locked(e.paused()),e.removeEditElements(),S){var n=e.options().editSidebar().checkProperIriChange(T,S);n!==!1&&e.options().warningModule().showWarning("Already seen this property","Input IRI: "+S+" for element: "+T.labelForCurrentLanguage()+" already been set","Continuing with duplicate property!",1,!1,n),T.iri(S)}e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),e.updatePropertyDraggerElements(T)})},T.copyInformation=function(e){T.label(e.label()),T.iri(e.iri()),T.baseIri(e.baseIri()),"owl:ObjectProperty"!==e.type()&&"owl:DatatypeProperty"!==e.type()||T.backupLabel(e.label()),void 0!==e.backupLabel()&&T.backupLabel(e.backupLabel())},i.addTo(this)};return u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.height=function(){return e},u.prototype.width=function(){return n},u.prototype.actualRadius=function(){return l},u.prototype.textWidth=u.prototype.width,u}()}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e){return e%=360,e<0&&(e+=360),Math.PI*e/180}function n(e){return e*(180/Math.PI)}var r={},o=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal").tension(-1);return r.calculateNormalVector=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=-o,i=r,s=Math.sqrt(a*a+i*i),l=0!==s?n/s:0;return{x:a*l,y:i*l}},r.getLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i);o.increasedLoopAngle===!0&&(s=120);var l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,E]},r.calculateLoopPath=function(t){var r=t.domain(),a=t.label(),i=360/t.loops().length,s=.8*i,l=Math.min(60,s);a.increasedLoopAngle===!0&&(l=120);var u=a.x-r.x,c=a.y-r.y,d=Math.atan2(c,u),p=n(d),f=p-l/2,h=p+l/2,v=e(f),g=e(h),y=Math.cos(v)*r.actualRadius(),m=Math.sin(v)*r.actualRadius(),b=Math.cos(g)*r.actualRadius(),x=Math.sin(g)*r.actualRadius(),E={x:r.x+y,y:r.y+m},w={x:r.x+b,y:r.y+x};return o([E,t.label(),w])},r.calculateLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i),l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,t.label(),E]},r.calculateIntersection=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=Math.sqrt(r*r+o*o);if(0===a)return{x:e.x,y:e.y};var i=t.distanceToBorder(r,o),s=(a-(i+n))/a,l=r*s+e.x,u=o*s+e.y;return{x:l,y:u}},r.calculateCenter=function(e,t){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}},function(){return r}}()}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["datatype"]).styleClass("datatypeproperty").type("owl:DatatypeProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).styleClass("deprecatedproperty").type("owl:DeprecatedProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42),o=n(14);e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n="Disjoint With";this.label=function(e){return arguments.length?this:n},this.linkType("dashed").styleClass("disjointwith").type("owl:disjointWith"),this.drawLabel=function(n){t=this.addRect(n),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",-12.5).attr("r",10),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",12.5).attr("r",10);var r=new o(n,this.backgroundColor());e.options().compactNotation()||r.addSubText("disjoint"),r.translation(0,20)},this.getShapeElement=function(){return t},this.markerElement=function(){}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.styleClass("equivalentproperty").type("owl:equivalentProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["functional"]).styleClass("functionalproperty").type("owl:FunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["inverse functional"]).styleClass("inversefunctionalproperty").type("owl:InverseFunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["object"]).styleClass("objectproperty").type("owl:ObjectProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("somevaluesfromproperty").type("owl:someValuesFrom"),this.generateCardinalityText=function(){var e="E",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["symmetric"]).styleClass("symmetricproperty").type("owl:SymmetricProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["transitive"]).styleClass("transitiveproperty").type("owl:TransitiveProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).styleClass("rdfproperty").type("rdf:Property")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw,o="Subclass of";this.draw=function(r){return t.labelVisible(!e.options().compactNotation()),n(r)},this.label=function(e){return arguments.length?this:o},this.linkType("dotted").markerType("white").styleClass("subclass").type("rdfs:subClassOf"),t.baseIri("http://www.w3.org/2000/01/rdf-schema#"),t.iri("http://www.w3.org/2000/01/rdf-schema#subClassOf")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.labelVisible(!1).linkType("dashed").markerType("white").styleClass("setoperatorproperty").type("setOperatorProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(58),o=n(43)(),a=n(60)(),i=n(63)(),s=n(5)(),l=n(40)();e.exports=function(e){function u(){Te.graphContainerSelector(e);var n=!1;ye=t.layout.force().on("tick",c),me=t.behavior.drag().origin(function(e){return e}).on("dragstart",function(e){t.event.sourceEvent.stopPropagation(),De.ignoreOtherHoverEvents(!0),e.type&&"Class_dragger"===e.type()?(wt.mouseButtonPressed=!0,clearTimeout(Oe),wt.selectedViaTouch(!0),e.parentNode().locked(!0),at=!0):e.type&&"Range_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):e.type&&"Domain_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):(e.locked(!0),n=!1)}).on("drag",function(e){e.type&&"Class_dragger"===e.type()?(clearTimeout(Oe),wt.setPosition(t.event.x,t.event.y)):e.type&&"Range_dragger"===e.type()?(clearTimeout(Oe),Ot.setPosition(t.event.x,t.event.y),kt.setPosition(t.event.x,t.event.y),Ct.updateElementViaRangeDragger(t.event.x,t.event.y)):e.type&&"Domain_dragger"===e.type()?(clearTimeout(Oe),Ct.setPosition(t.event.x,t.event.y),kt.setPositionDomain(t.event.x,t.event.y),Ot.updateElementViaDomainDragger(t.event.x,t.event.y)):(e.px=t.event.x,e.py=t.event.y,ye.resume(),S(),n=!0,e.renderType&&"round"===e.renderType()&&wt.setParentNode(e))}).on("dragend",function(e){if(De.ignoreOtherHoverEvents(!1),e.type&&"Class_dragger"===e.type()){var t=wt.x,r=wt.y;clearTimeout(Oe),wt.mouseButtonPressed=!1,wt.selectedViaTouch(!1),e.setParentNode(e.parentNode());var o=[t,r],a=De.getTargetNode(o);a&&U(e.parentNode(),a,o),Ke===!1&&K(),at=!1}else if(e.type&&"Range_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var s=Ot.x,l=Ot.y,u=[s,l],c=De.getTargetNode(u);i.isDatatype(c)===!0&&(c=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),null===c?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateRange(c),De.update(),kt.hideParentProperty(!1))}else if(e.type&&"Domain_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var d=Ct.x,p=Ct.y,f=[d,p],h=De.getTargetNode(f);i.isDatatype(h)===!0&&(h=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),kt.hideClone(!0),null===h?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateDomain(h),De.update(),kt.hideParentProperty(!1))}else{e.locked(!1);var v=De.options().pickAndPinModule();v.enabled()===!0&&n===!0&&(e.id&&v.handle(e,!0),e.property&&v.handle(e.property(),!0))}}),Me=t.behavior.zoom().duration(150).scaleExtent([Te.minMagnification(),Te.maxMagnification()]).on("zoom",v),nt.push(wt),nt.push(Ot),nt.push(Ct),nt.push(kt),ye.stop()}function c(){if(ct=!1,De.options().loadingModule().successfullyLoadedOntology()===!1)return ye.stop(),t.select("#progressBarValue").node().innerHTML="",De.updateProgressBarMode(),De.options().loadingModule().showErrorDetailsMessage(c),void(yt&&mt===!1&&De.options().loadingModule().collapseDetails("hiddenRecalculatePositions"));if(He===!1){var e=1-10*ye.alpha(),n=parseInt(200*e)+"%";De.options().loadingModule().setPercentValue(n),t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,e>.49&&(He=!0,ne&&(ne.style("opacity","1"),n="100%",t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,De.options().ontologyMenu().append_message_toLastBulletPoint("done"),t.select("#reloadCachedOntology").classed("hidden",!bt),gt===!0&&vt===!1&&(De.options().warningModule().showFilterHint(),vt=!0)),Fe&&(De.paused()===!1&&ye.resume(),Fe=!1),ct=!0,ft===!0?(ye.on("tick",d),d()):(ye.on("tick",p),p()),We===!0&&ye.nodes().length>0&&(ye.nodes().length<10?De.forceRelocationEvent(!0):De.forceRelocationEvent(),We=!1),De.showEditorHintIfNeeded(),De.options().loadingModule().missingImportsWarning()===!1?(De.options().loadingModule().hideLoadingIndicator(),De.options().ontologyMenu().append_bulletPoint("Successfully loaded ontology"),De.options().loadingModule().setSuccessful()):(De.options().loadingModule().showWarningDetailsMessage(),De.options().ontologyMenu().append_bulletPoint("Loaded ontology with warnings")))}}function d(){p(),_e=Date.now();var e=_e-je,t=(1e3/e).toFixed(2);ut.node().innerHTML="FPS: "+t+"
    Nodes: "+ye.nodes().length+"
    Links: "+ye.links().length,je=Date.now()}function p(){return lt?(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1!==n.layers().length||n.loops())e.linkDomainIntersection=o.calculateIntersection(n.label(),n.domain(),0),e.linkRangeIntersection=o.calculateIntersection(n.label(),n.range(),0),n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement());else{var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y,e.linkRangeIntersection=a,e.linkDomainIntersection=r,n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement())}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop()){var t=o.getLoopPoints(e);return e.label().linkRangeIntersection=t[1],e.label().linkDomainIntersection=t[0],e.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement()),o.calculateLoopPath(e)}var n=e.label(),r=o.calculateIntersection(n,e.domain(),1),a=o.calculateIntersection(n,e.range(),1);return e.linkRangeIntersection=r,e.linkDomainIntersection=a,e.property().focused()!==!0&&void 0===ot||(Ct.updateElement(),Ot.updateElement()),Se([r,n,a])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),rt&&(ee(rt),Q(rt),at===!1&&wt.setParentNode(rt)),ot&&te(ot),void S()):(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1===n.layers().length&&!n.loops()){ +var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop())return o.calculateLoopPath(e);var t=e.label(),n=o.calculateIntersection(t,e.domain(),1),r=o.calculateIntersection(t,e.range(),1);return Se([n,t,r])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),void S())}function f(){function e(e){Te.selectionModules().forEach(function(t){t.handle(e)})}se.on("click",function(n){Ke===!0&&G()===!0?(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n))):e(n)}),se.on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))}),le.selectAll(".label").on("click",function(n){e(n),Ke===!0&&G()===!0&&(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n)))}),le.selectAll(".label").on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))})}function h(e){if(De.options().getGeneralMetaObject().iri){var t=De.options().getGeneralMetaObject().iri+e.id();return e.iri()===t}return!1}function v(){if(pt===!0)return Me.translate(Ve),void Me.scale(Be);var e=!1;if(t.event.sourceEvent&&t.event.sourceEvent.deltaY&&(e=!0),e===!1){if(ze===!0)return;return Be=t.event.scale,Ve=t.event.translate,ne.attr("transform","translate("+Ve+")scale("+Be+")"),S(),void De.options().zoomSlider().updateZoomSliderValue(Be)}Be=t.event.scale,Ve=t.event.translate,ne.transition().tween("attr.translate",function(){return function(e){ze=!0;var n=t.transform(ne.attr("transform"));Ve[0]=n.translate[0],Ve[1]=n.translate[1],Be=n.scale[0],S(),De.options().zoomSlider().updateZoomSliderValue(Be)}}).each("end",function(){ze=!1}).attr("transform","translate("+Ve+")scale("+Be+")").ease("linear").duration(250)}function g(){b(),ne=t.selectAll(Te.graphContainerSelector()).append("svg").classed("vowlGraph",!0).attr("width",Te.width()).attr("height",Te.height()).call(Me).append("g");var e=t.selectAll(".vowlGraph");Qe=e.on("dblclick.zoom"),et=e.on("touchstart"),e.on("touchstart",Z),lt===!0?e.on("dblclick.zoom",De.modified_dblClickFunction):e.on("dblclick.zoom",Qe)}function y(){Ee=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("addDataPropertyElement",!0).attr("transform","translate(0,0)"),Ee.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",-8).attr("y1",0).attr("x2",8).attr("y2",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",0).attr("y1",-8).attr("x2",0).attr("y2",8).append("title").text("Add Datatype Property"),De.options().useAccuracyHelper()&&Ee.append("circle").attr("r",15).attr("cx",-7).attr("cy",7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject()),xe=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("deleteParentElement",!0).attr("transform","translate(0,0)"),xe.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Delete This Node");var e=5;xe.append("line").attr("x1",-e).attr("y1",-e).attr("x2",e).attr("y2",e).append("title").text("Delete This Node"),xe.append("line").attr("x1",e).attr("y1",-e).attr("x2",-e).attr("y2",e).append("title").text("Delete This Node"),De.options().useAccuracyHelper()&&xe.append("circle").attr("r",15).attr("cx",7).attr("cy",-7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject())}function m(){var e;if(ne){ne.selectAll("*").remove(),ie=ne.append("g").classed("linkContainer",!0),ae=ne.append("g").classed("cardinalityContainer",!0),oe=ne.append("g").classed("labelContainer",!0),re=ne.append("g").classed("nodeContainer",!0);var n=ne.append("g").classed("linkContainer",!0);tt=ne.append("g").classed("editContainer",!0),we=ne.append("g").classed("editContainer",!0),n.classed("hidden-in-export",!0),we.classed("hidden-in-export",!0),tt.classed("hidden-in-export",!0),e=ie.append("defs");var r=tt.selectAll(".node").data(nt).enter().append("g").classed("node",!0).classed("hidden-in-export",!0).attr("id",function(e){return e.id()}).call(me);r.each(function(e){e.svgRoot(t.select(this)),e.svgPathLayer(n),"shadowClone"===e.type()?(e.drawClone(),e.hideClone(!0)):(e.drawNode(),e.hideDragger(!0))}),y(),e=ie.append("defs"),void 0===pe&&(pe=[]),se=re.selectAll(".node").data(pe).enter().append("g").classed("node",!0).attr("id",function(e){return e.id()}).call(me),se.each(function(e){e.draw(t.select(this))}),void 0===fe&&(fe=[]),le=oe.selectAll(".labelGroup").data(fe).enter().append("g").classed("labelGroup",!0).call(me),le.each(function(e){var n=e.draw(t.select(this));e.property().labelObject(e),n||t.select(this).remove()}),le.each(function(e){if(this.parentNode&&i.isRdfsSubClassOf(e.property())){var t=this.parentNode;t.insertBefore(this,t.firstChild)}}),void 0===ve&&(ve=[]),de=ae.selectAll(".cardinality").data(ve).enter().append("g").classed("cardinality",!0),de.each(function(e){var n=e.drawCardinality(t.select(this));n||t.select(this).remove()}),void 0===he&&(he=[]),ue=ie.selectAll(".link").data(he).enter().append("g").classed("link",!0),ue.each(function(n){n.draw(t.select(this),e)}),ce=ue.selectAll("path"),f()}}function b(){ne&&t.select(ne.node().parentNode).remove()}function x(){Ze=[];for(var e,t=0;t0)for(var r=0;r0?(ne.style("opacity","0"),ye.on("tick",c)):(ne.style("opacity","1"),ft===!0?ye.on("tick",d):ye.on("tick",p)),ye.start()):(ye.stop(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),n.setErrorMode()),De.options().clearMetaObject(),De.options().clearGeneralMetaObject(),De.options().editSidebar().clearMetaObjectValue(),void 0!==Te.data()){var a=Te.data().header;if(a){if(a.iri&&De.options().addOrUpdateGeneralObjectEntry("iri",a.iri),a.title&&De.options().addOrUpdateGeneralObjectEntry("title",a.title),a.author&&De.options().addOrUpdateGeneralObjectEntry("author",a.author),a.version&&De.options().addOrUpdateGeneralObjectEntry("version",a.version),a.description&&De.options().addOrUpdateGeneralObjectEntry("description",a.description),a.prefixList){var i=a.prefixList;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];De.options().addPrefix(s,l)}}if(a.other){var u=a.other;for(var f in u)if(u.hasOwnProperty(f)){var h=u[f];h.hasOwnProperty("identifier")&&h.hasOwnProperty("value")&&De.options().addOrUpdateMetaObjectEntry(h.identfier,h.value)}}}}var v=r.clone(ge);Te.filterModules().forEach(function(e){v=P(e,v,!0)}),w(ge),Re.parseSettings(),qe=Re.settingsImported(),We=!0,Re.settingsImportGraphZoomAndTranslation()===!0&&(We=!1),De.options().searchMenu().requestDictionaryUpdate(),De.options().editSidebar().updateGeneralOntologyInfo(),De.options().editSidebar().updatePrefixUi(),De.options().editSidebar().updateElementWidth()}function C(){he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function k(){var e=Te.literalFilter().enabled();De.executeEmptyLiteralFilter(),Te.literalFilter().enabled(e);var t=r.clone(ge);Te.filterModules().forEach(function(e){t=P(e,t)}),Te.focuserModule().handle(void 0,!0),pe=t.nodes,ve=t.properties,he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function P(e,t,n){return he=a.createLinks(t.properties),_(t.nodes,he),n&&e.initialize&&e.initialize(t.nodes,t.properties),e.filter(t.nodes,t.properties),{nodes:e.filteredNodes(),properties:e.filteredProperties()}}function _(e,t){for(var n=0,r=e.length;n0)for(var e=ye.nodes(),t=0;tr||f<0||f>o){p<0&&f<0?(v=0,g=0):p>0&&pr&&f<0?(v=r,g=0):p>r&&f>0&&fr&&f>o?(v=r,g=o):p>0&&po?(v=p,g=o):p<0&&f>o?(v=0,g=o):p<0&&f>0&&f2500&&(u=2500),ne.attr("transform",N(a,n,r)).transition().duration(u).attrTween("transform",function(){return function(e){return N(l(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S()})}function H(e,t,n,r){var o,a,i=r[0];return i?(o=(e-n[0])/i,a=(t-n[1])/i):(o=(e-n[0])/r,a=(t-n[1])/r),{x:o,y:a}}function B(e,t){var n=De.options().width(),r=De.options().height(),o=T(e.x,e.y,Ve,Be),a=o.x,i=o.y,s=!(a<0||a>n||i<0||i>r);return s}function W(){Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),wt.hideDragger(!0),Ee&&Ee.classed("hidden",!0),xe&&xe.classed("hidden",!0),rt&&rt.pinned()===!1&&(rt.locked(De.paused()),rt.frozen(De.paused())),ot&&ot.pinned()===!1&&(ot.locked(De.paused()),ot.frozen(De.paused()))}function z(e){return t.map(e.values(),function(e){return(new e).type().toLowerCase()})}function V(e){var n,r,o=!0,a=t.select("#defaultClass").node().title;r=xt.get(a.toLowerCase()),n=new r(De);var i=!1;"owl:Thing"===a?n.label("Thing"):(n.label("NewClass"),i=!0),n.x=e.x,n.y=e.y,n.px=n.x,n.py=n.y,n.id("Class"+st++),n.baseIri(t.select("#iriEditor").node().value),n.iri(n.baseIri()+n.id()),q(n,o),Te.focuserModule().handle(n,!0),n.frozen(De.paused()),n.locked(De.paused()),n.enableEditing(i)}function q(e){ge.nodes.push(e),pe.indexOf(e)===-1&&pe.push(e),w(ge),De.getUpdateDictionary(),De.fastUpdate()}function U(e,n,r){var o=t.select("#defaultProperty").node().title;if(De.sanityCheckProperty(e,n,o)===!1)return!1;var a=Et.get(o.toLowerCase()),i=new a(De);if(i.id("objectProperty"+it++),i.domain(e),i.range(n),i.label("newObjectProperty"),i.baseIri(t.select("#iriEditor").node().value),i.iri(i.baseIri()+i.id()),De.propertyCheckExistenceChecker(i,e,n)===!1)return!1;var s=!1;"owl:objectProperty"===o&&(s=!0);var l=.49*(e.x+n.x),u=.49*(e.y+n.y);if(e===n){var c=r[0]-e.x,d=r[1]-e.y,p=Math.sqrt(c*c+d*d),f=c/p,h=d/p;isNaN(p)&&(f=0,h=-1);var v=2*e.actualRadius()+50;l=e.x+v*f,u=e.y+v*h}e.addProperty(i),n.addProperty(i),ge.properties.push(i),ve.indexOf(i)===-1&&ve.push(i),De.fastUpdate(),i.labelObject().x=l,i.labelObject().px=l,i.labelObject().y=u,i.labelObject().py=u,i.frozen(De.paused()),i.locked(De.paused()),e.frozen(De.paused()),e.locked(De.paused()),n.frozen(De.paused()),n.locked(De.paused()),w(ge),De.getUpdateDictionary(),Te.focuserModule().handle(i),De.activateHoverElementsForProperties(!0,i,!1,Ke),i.labelObject().increasedLoopAngle=!0,i.enableEditing(s)}function G(){var e=t.event.timeStamp,n=1;return t.event&&t.event.touches&&t.event.touches.length&&(n=t.event.touches.length),e-be<300&&1===n&&(t.event.stopPropagation(),lt===!0)?(t.event.preventDefault(),t.event.stopPropagation(),be=e,!0):(be=e,!1)}function Z(){pt=!0;var e=t.event.timeStamp;return e-be<300&&1===t.event.touches.length?(t.event.stopPropagation(),void(lt===!0?(t.event.preventDefault(),t.event.stopPropagation(),Me.translate(Ve),Me.scale(Be),De.modified_dblTouchFunction()):(pt=!1,et&&et()))):(pt=!1,be=e,void(et&&et()))}function $(e){if(e!==!0){if(rt){if(rt.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&rt.editingTextElement===!1&&(rt.frozen(!1),rt.locked(!1))},1e3)}if(ot){if(ot.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),ot&&ot.focused()===!0&&De.options().drawPropertyDraggerOnHover()===!0&&(ot.labelObject().increasedLoopAngle=!1,p()),ot&&ot.pinned()===!1&&De.paused()===!1&&ot.editingTextElement===!1&&(ot.frozen(!1),ot.locked(!1))},1e3)}}}function X(){wt.nodeElement.classed("classDraggerNodeHovered",!0),wt.nodeElement.classed("classDraggerNode",!1),J()}function Y(){wt.nodeElement.classed("classDraggerNodeHovered",!1),wt.nodeElement.classed("classDraggerNode",!0),K()}function J(e){e!==!0&&clearTimeout(Oe)}function K(e){if(rt){if(De.ignoreOtherHoverEvents()===!0||e===!0||rt.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&(rt.frozen(!1),rt.locked(!1)))},1e3)}if(ot){if(De.ignoreOtherHoverEvents()===!0||e===!0||ot.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),ot&&ot.pinned()===!1&&De.paused()===!1&&(ot.frozen(!1),ot.locked(!1)))},1e3)}}function Q(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x-o,n=e.y+a,Ee.attr("transform","translate("+t+","+n+")")}}function ee(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x+o,n=e.y-a}else t=e.x+.5*e.width()+6,n=e.y-.5*e.height()-6;xe.attr("transform","translate("+t+","+n+")")}function te(e,t){if(e&&e.labelElement()){var n=[e.labelObject().x,e.labelObject().y],r=parseFloat(e.getShapeElement().attr("width")),o=parseFloat(e.getShapeElement().attr("height")),a=n[0]+.5*r+6,i=n[1]-.5*o-6;"translate(0,15)"===e.labelElement().attr("transform")&&(i+=15),"translate(0,-15)"===e.labelElement().attr("transform")&&(i-=15),xe.attr("transform","translate("+a+","+i+")")}else xe.classed("hidden",!0)}var ne,re,oe,ae,ie,se,le,ue,ce,de,pe,fe,he,ve,ge,ye,me,be,xe,Ee,we,Oe,Ce,ke,Pe,_e,je,Me,De={},Le=20,Ae=10,Se=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal"),Te=n(64)(),Re=n(65)(De),Ie="default",Ne=!1,Fe=!0,He=!1,Be=1,We=!1,ze=!1,Ve=[0,0],qe=!1,Ue=[],Ge=[],Ze=[],$e=0,Xe=1,Ye=.8,Je=-1,Ke=!1,Qe=null,et=null,tt=null,nt=[],rt=null,ot=null,at=!1,it=0,st=0,lt=!0,ut=t.select("#FPS_Statistics"),ct=!1,dt=!1,pt=!1,ft=!1,ht=!1,vt=!1,gt=!1,yt=!0,mt=!1,bt=!1,xt=z(s),Et=z(l),wt=n(68)(De),Ot=n(69)(De),Ct=n(70)(De),kt=n(71)(De);De.math=function(){return o},De.isEditorMode=function(){return lt},De.getGlobalDOF=function(){return Je},De.setGlobalDOF=function(e){Je=e},De.updateZoomSliderValueFromOutside=function(){De.options().zoomSlider().updateZoomSliderValue(Be)},De.setDefaultZoom=function(e){Xe=e,De.reset(),De.options().zoomSlider().updateZoomSliderValue(Xe)},De.setTargetZoom=function(e){Ye=e},De.graphOptions=function(){return Te},De.scaleFactor=function(){return Be},De.translation=function(){return Ve},De.graphNodeElements=function(){return se},De.graphLabelElements=function(){return fe},De.graphLinkElements=function(){return he},De.setSliderZoom=function(e){var n=.5*De.options().width(),r=.5*De.options().height(),o=H(n,r,Ve,Be),a=[o.x,o.y,De.options().height()/Be],i=[o.x,o.y,De.options().height()/e],s=t.interpolateZoom(a,i);ne.attr("transform",N(a,n,r)).transition().duration(1).attrTween("transform",function(){return function(e){return N(s(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be)})},De.setZoom=function(e){Me.scale(e)},De.setTranslation=function(e){Me.translate([e[0],e[1]])},De.options=function(){return Te},De.getUpdateDictionary=function(){return Re.getDictionary()},De.language=function(e){return arguments.length?(Ie!==e&&(Ie=e||"default",m(),p(),De.options().searchMenu().requestDictionaryUpdate(),De.resetSearchHighlight()),De):Ie},De.lazyRefresh=function(){m(),p()},De.adjustingGraphSize=function(e){mt=e},De.showReloadButtonAfterLayoutOptimization=function(e){bt=e},De.showEditorHintIfNeeded=function(){ht===!1&<===!0&&(ht=!0,De.options().warningModule().showEditorHint())},De.setForceTickFunctionWithFPS=function(){ft=!0,ye&&ct===!0&&ye.on("tick",d)},De.setDefaultForceTickFunction=function(){ft=!1,ye&&ct===!0&&ye.on("tick",p)},De.updatePropertyDraggerElements=function(e){"owl:DatatypeProperty"!==e.type()?(kt.setParentProperty(e),Ot.setParentProperty(e),Ot.hideDragger(!1),Ot.addMouseEvents(),Ct.setParentProperty(e),Ct.hideDragger(!1),Ct.addMouseEvents()):(Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0))},De.getUnfilteredData=function(){return ge},De.getClassDataForTtlExport=function(){for(var e=ge.nodes,t=[],n=0;nn&&(o=n);var a=.5*De.options().width(),i=.5*De.options().height(),s=H(a,i,Ve,Be),l=[s.x,s.y,De.options().height()/Be],u=[s.x,s.y,De.options().height()/o],c=t.interpolateZoom(l,u);ne.attr("transform",N(l,a,i)).transition().duration(250).attrTween("transform",function(){return function(e){return N(c(e),a,i)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S(),Te.zoomSlider().updateZoomSliderValue(Be)})};var Pt=null;De.clearAllGraphData=function(){Pt=De.graphNodeElements()&&De.graphNodeElements().length>0?De.options().exportMenu().createJSON_exportObject():null,ye.stop(),ge&&(ge.nodes=[],ge.properties=[])},De.getCachedJsonObj=function(){return Pt},De.clearGraphData=function(){ye.stop();var e=De.options().sidebar();e&&e.clearOntologyInformation(),ne&&g()},De.updateProgressBarMode=function(){var e=De.options().loadingModule(),t=e.getProgressBarMode();switch(t){case 0:e.setErrorMode();break;case 1:e.setBusyMode();break;case 2:e.setPercentMode();break;default:e.setPercentMode()}},De.setFilterWarning=function(e){gt=e},De.handleOnLoadingError=function(){ye.stop(),De.clearGraphData(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").classed("busyProgressBar",!1),De.options().loadingModule().setErrorMode(),De.options().loadingModule().showErrorDetailsMessage()},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0){if(ze===!0)return;var e=ye.nodes()[Ue[$e]];$e++,$e%=Ue.length,e.id&&e.foreground(),e.property&&e.property().foreground(),F(e)}},De.resetSearchHighlight=function(){Ue=[],Ge=[];var e,t=ge.nodes,n=ge.properties;for(e=0;e0?(t.select("#locateSearchResult").classed("highlighted",!0),t.select("#locateSearchResult").node().title="Locate search term"):(t.select("#locateSearchResult").classed("highlighted",!1),t.select("#locateSearchResult").node().title="Nothing to locate")},De.highLightNodes=function(e){if(0!==e.length){Ue=[],Ge=e;for(var n=[],r=0;rMe.scaleExtent()[1]&&(h=Me.scaleExtent()[1]),hMe.scaleExtent()[1]&&(g=Me.scaleExtent()[1]),g2500&&(w=2500),ne.attr("transform",N(b,f,h)).transition().duration(w).attrTween("transform",function(){return function(t){if(e){var n=_t(),r=n[0](t);return N(r,f,h)}return N(E(t),f,h)}}).each("end",function(){e||(ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be))})},De.isADraggerActive=function(){return wt.mouseButtonPressed===!0||Ct.mouseButtonPressed===!0||Ot.mouseButtonPressed===!0},De.changeNodeType=function(e){var n=t.select("#typeEditor").node().value;if(De.classesSanityCheck(e,n)===!1)return void De.options().editSidebar().updateSelectionInformation(e);var r=xt.get(n.toLowerCase()),o=new r(De);if(o.x=e.x,o.y=e.y,o.px=e.x,o.py=e.y,o.id(e.id()),o.copyInformation(e),"owl:Thing"===n?o.label("Thing"):i.isDatatype(e)===!1&&(void 0!==e.backupLabel()?o.label(e.backupLabel()):void 0!==o.backupLabel()?o.label(o.backupLabel()):o.label("NewClass")),"rdfs:Datatype"===n)if("undefined"===o.dType())o.label("undefined");else{var a=o.dType().split(":")[1];o.label(a)}var s;for(s=0;sa?null:"rect"===r.renderType()?null:r===rt&&o<=rt.actualRadius()?r:r===rt&&o>rt.actualRadius()?null:r}return o>r.actualRadius()+30?null:r},De.genericPropertySanityCheck=function(e,t,n,r,o){return e===t&&"rdfs:subClassOf"===n?(De.options().warningModule().showWarning(r,"rdfs:subClassOf can not be created as loops (domain == range)",o,1,!1),!1):e===t&&"owl:disjointWith"===n?(De.options().warningModule().showWarning(r,"owl:disjointWith can not be created as loops (domain == range)",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:someValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===t.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not be connected to owl:Thing",o,1,!1),!1):"owl:Thing"!==t.type()||"owl:someValuesFrom"!==n||(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not be connected to owl:Thing",o,1,!1),!1)},De.checkIfIriClassAlreadyExist=function(e){for(var t=ge.nodes,n=0;n2){var s="You are about to delete 1 class and "+n.length+" properties";0!==o&&(s="You are about to delete 1 class, "+o+" datatypes and "+n.length+" properties"),De.options().warningModule().responseWarning("Removing elements",s,"Awaiting response!",De.removeNodesViaResponse,[r,n],!1)}else{for(a=0;a1&&(Te.literalFilter().filter(ge.nodes,ge.properties),ge.nodes=Te.literalFilter().filteredNodes(),ge.properties=Te.literalFilter().filteredProperties())},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0&&n(l)?t>1?x(l,t-1,n,r,o):a(o,l):r||(o[o.length]=l)}return o}function E(e,t){return e&&$t(e,t,dn)}function w(e,t){return b(t,function(t){return Te(e[t])})}function O(e){return te(e)}function C(e,t){return e>t}function k(e){return Ne(e)&&O(e)==yt}function P(e,t,n,r,o){return e===t||(null==e||null==t||!Ne(e)&&!Ne(t)?e!==e&&t!==t:_(e,t,n,r,P,o))}function _(e,t,n,r,o,a){var i=nn(e),s=nn(t),l=i?ht:O(e),u=s?ht:O(t);l=l==ft?wt:l,u=u==ft?wt:u;var c=l==wt,d=u==wt,p=l==u;a||(a=[]);var f=Jt(a,function(t){return t[0]==e}),h=Jt(a,function(e){return e[0]==t});if(f&&h)return f[1]==t;if(a.push([e,t]),a.push([t,e]),p&&!c){var v=i?Z(e,t,n,r,o,a):$(e,t,l,n,r,o,a);return a.pop(),v}if(!(n&st)){var g=c&&Nt.call(e,"__wrapped__"),y=d&&Nt.call(t,"__wrapped__");if(g||y){var m=g?e.value():e,b=y?t.value():t,v=o(m,b,n,r,a);return a.pop(),v}}if(!p)return!1;var v=X(e,t,n,r,o,a);return a.pop(),v}function j(e){return Ne(e)&&O(e)==Ct}function M(e){return"function"==typeof e?e:null==e?Ye:("object"==typeof e?A:s)(e)}function D(e,t){return eo?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++rt||a&&i&&l&&!s&&!u||r&&i&&l||!n&&l||!o)return 1;if(!r&&!a&&!u&&e1?n[o-1]:ot;for(a=e.length>3&&"function"==typeof a?(o--,a):ot,t=Object(t);++r-1?o[a?t[i]:i]:ot}}function G(e,t,n,r){function o(){for(var t=-1,s=arguments.length,l=-1,u=r.length,c=Array(u+s),d=this&&this!==At&&this instanceof o?i:e;++ls))return!1;for(var u=-1,c=!0,d=n<?[]:ot;++u-1&&e%1==0&&e0&&(n=t.apply(this,arguments)),e<=1&&(t=ot),n}}function ke(e){if("function"!=typeof e)throw new TypeError(it);return function(){var t=arguments;return!e.apply(this,t)}}function Pe(e){return Ce(2,e)}function _e(e){return Ie(e)?nn(e)?I(e):B(e,qt(e)):e}function je(e,t){return e===t||e!==e&&t!==t}function Me(e){return null!=e&&Re(e.length)&&!Te(e)}function De(e){return e===!0||e===!1||Ne(e)&&O(e)==gt}function Le(e){return Me(e)&&(nn(e)||We(e)||Te(e.splice)||tn(e))?!e.length:!qt(e).length}function Ae(e,t){return P(e,t)}function Se(e){return"number"==typeof e&&Vt(e)}function Te(e){if(!Ie(e))return!1;var t=O(e);return t==bt||t==xt||t==vt||t==Ot}function Re(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=pt}function Ie(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ne(e){return null!=e&&"object"==typeof e}function Fe(e){return Be(e)&&e!=+e}function He(e){return null===e}function Be(e){return"number"==typeof e||Ne(e)&&O(e)==Et}function We(e){return"string"==typeof e||!nn(e)&&Ne(e)&&O(e)==kt}function ze(e){return e===ot}function Ve(e){return Me(e)?e.length?I(e):[]:$e(e)}function qe(e){return"string"==typeof e?e:null==e?"":e+""}function Ue(e,t){var n=Gt(e);return null==t?n:ln(n,t)}function Ge(e,t){return null!=e&&Nt.call(e,t)}function Ze(e,t,n){var r=null==e?ot:e[t];return r===ot&&(r=n),Te(r)?r.call(e):r}function $e(e){return null==e?[]:c(e,dn(e))}function Xe(e){return e=qe(e),e&&_t.test(e)?e.replace(Pt,Tt):e}function Ye(e){return e}function Je(e){return A(ln({},e))}function Ke(e,t,n){var r=dn(t),o=w(t,r);null!=n||Ie(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=w(t,dn(t)));var i=!(Ie(n)&&"chain"in n&&!n.chain),s=Te(e);return Zt(o,function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=I(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,a([this.value()],arguments))})}),e}function Qe(){return At._===this&&(At._=Bt),this}function et(){}function tt(e){var t=++Ft;return qe(e)+t}function nt(e){return e&&e.length?m(e,Ye,C):ot}function rt(e){return e&&e.length?m(e,Ye,D):ot}var ot,at="4.17.11",it="Expected a function",st=1,lt=2,ut=1,ct=32,dt=1/0,pt=9007199254740991,ft="[object Arguments]",ht="[object Array]",vt="[object AsyncFunction]",gt="[object Boolean]",yt="[object Date]",mt="[object Error]",bt="[object Function]",xt="[object GeneratorFunction]",Et="[object Number]",wt="[object Object]",Ot="[object Proxy]",Ct="[object RegExp]",kt="[object String]",Pt=/[&<>"']/g,_t=RegExp(Pt.source),jt=/^(?:0|[1-9]\d*)$/,Mt={"&":"&","<":"<",">":">",'"':""","'":"'"},Dt="object"==typeof e&&e&&e.Object===Object&&e,Lt="object"==typeof self&&self&&self.Object===Object&&self,At=Dt||Lt||Function("return this")(),St="object"==typeof t&&t&&!t.nodeType&&t,Tt=(St&&"object"==typeof o&&o&&!o.nodeType&&o,l(Mt)),Rt=Array.prototype,It=Object.prototype,Nt=It.hasOwnProperty,Ft=0,Ht=It.toString,Bt=At._,Wt=Object.create,zt=It.propertyIsEnumerable,Vt=At.isFinite,qt=d(Object.keys,Object),Ut=Math.max,Gt=function(){function e(){}return function(t){if(!Ie(t))return{};if(Wt)return Wt(t);e.prototype=t;var n=new e;return e.prototype=ot,n}}();f.prototype=Gt(p.prototype),f.prototype.constructor=f;var Zt=z(E),$t=V(),Xt=et,Yt=Ye,Jt=U(ae),Kt=T(function(e,t,n){return G(e,ut|ct,t,n)}),Qt=T(function(e,t){return g(e,1,t)}),en=T(function(e,t,n){return g(e,sn(t)||0,n)}),tn=Xt(function(){return arguments}())?Xt:function(e){return Ne(e)&&Nt.call(e,"callee")&&!zt.call(e,"callee")},nn=Array.isArray,rn=k,on=j,an=Number,sn=Number,ln=W(function(e,t){B(t,qt(t),e)}),un=W(function(e,t){B(t,ee(t),e)}),cn=T(function(e,t){e=Object(e);var n=-1,r=t.length,o=r>2?t[2]:ot;for(o&&Q(t[0],t[1],o)&&(r=1);++n=0){e.visualAttributes().push(o);break}}function n(e){var t,n,r;for(t=0,n=x.length;t=0&&e.indications().push(r)}function r(e){var t,n,r;for(t=0,n=E.length;t=0&&e.indications().push(r)}var o={},a="anonymous",i="datatype",s="deprecated",l="external",u="object",c="rdf",d="asymmetric",p="functional",f="inverse functional",h="irreflexive",v="key",g="reflexive",y="symmetric",m="transitive",b=[[s,i,u,c],[a]],x=[s,l],E=[d,p,f,h,v,g,y,m];return o.parseClassAttributes=function(t){t.attributes()instanceof Array&&(e(t),n(t))},o.parsePropertyAttributes=function(t){t.attributes()instanceof Array&&(e(t),r(t))},function(){return o}}()},function(e,t,n){(function(t){function r(e){return function(t){return e[t]}}function o(e,n){var r=a(e,n),o=t.set(r.keys());if(o.remove(v),o.remove(g),1===o.size()){var i=o.values()[0],s=r.get(i);if(1===s.length)return s[0]}}function a(e,n){var r=t.map();return e.forEach(function(e){if(void 0!==e){var t=n[e.range()],o=t.type();r.has(o)||r.set(o,[]),r.get(o).push(t)}}),r}function i(e,t){var n;return n=p.isDatatypeProperty(e)?new d(t):new c(t),n.id(h+e.id()),n}function s(e,t,n,r){var o=[];return e.forEach(function(e){if(void 0!==e&&void 0!==t){var a=e.range();e.range(t.id()),l(a,n)||o.push(a),r.add(e.id())}}),o}function l(e,t){for(var n=0;n-1?(p=void 0,d.classed("deprecatedproperty",!0)):d.classed("deprecatedproperty",!1),d.style("fill",p);var f=e.equivalentsString(),h=f?",":"",v=new r(t.rootNodeLayer,p);v.addText(e.labelForCurrentLanguage(),"",h),v.addEquivalents(f),v.addSubText(e.indicationString());var g=.5*(t.s_x+t.e_x),y=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+g+","+y+")"),t.rootNodeLayer.classed("hidden",!0),t.pathElement.classed("hidden",!0)},t.hideClone=function(e){t.rootNodeLayer&&t.rootNodeLayer.classed("hidden",e),t.pathElement&&t.pathElement.classed("hidden",e)},t.hideParentProperty=function(e){var n=t.parent.labelObject();n&&("translate(0,15)"!==t.parent.labelElement().attr("transform")&&"translate(0,-15)"!==t.parent.labelElement().attr("transform")||t.parent.inverse().hide(e)),t.parent.hide(e)},t.id=function(e){return arguments.length?void(t.nodeId=e):t.nodeId},t.svgPathLayer=function(e){t.pathLayer=e.append("g")},t.svgRoot=function(e){return arguments.length?(t.rootElement=e,void(t.rootNodeLayer=t.rootElement.append("g"))):t.rootElement},t.drawClone=function(){t.pathElement=t.pathLayer.append("line"),t.pathElement.attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",0)},t.updateElement=function(){t.pathElement.attr("x1",t.e_x).attr("y1",t.e_y).attr("x2",t.s_x).attr("y2",t.s_y);var e=.5*(t.s_x+t.e_x),n=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+e+","+n+")")},t.setInitialPosition=function(){var e=t.parent.labelObject();if(e.linkRangeIntersection&&e.linkDomainIntersection){var n=e.linkRangeIntersection,r=e.linkDomainIntersection;t.e_x=r.x,t.e_y=r.y,t.s_x=n.x,t.s_y=n.y}t.updateElement()},t.setPositionDomain=function(e,n){var r=t.parent.range().x,i=t.parent.range().y;if(o.isDatatype(t.parent.range())===!0){var s=a.calculateIntersection({x:e,y:n},t.parent.range(),0);t.s_x=s.x,t.s_y=s.y}else{var l=r-e,u=i-n,c=Math.sqrt(l*l+u*u),d=l/c,p=u/c;t.s_x=r-d*t.parent.range().actualRadius(),t.s_y=i-p*t.parent.range().actualRadius()}t.e_x=e,t.e_y=n,t.updateElement()},t.setPosition=function(e,n){t.s_x=e,t.s_y=n;var r=t.parent.domain().x,o=t.parent.domain().y,a=e-r,i=n-o,s=Math.sqrt(a*a+i*i),l=a/s,u=i/s;t.e_x=r+l*t.parent.domain().actualRadius(),t.e_y=o+u*t.parent.domain().actualRadius(),t.updateElement()},t}},function(e,t){e.exports=function(e){function t(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function n(t){var n={base:"",resource:""};if(void 0===t)return n={base:"ERROR",resource:"NOT FOUND"};var r,o;return t.indexOf("#")>-1?(r=t.substring(t.lastIndexOf("#")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r):(r=t.substring(t.lastIndexOf("/")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r),n}var r,o={};return o.updatePrefixModel=function(){r=e.options().prefixList()},o.validURL=function(e){return t(e)},o.getPrefixRepresentationForFullURI=function(e){o.updatePrefixModel();var t=n(e);for(var a in r)if(r.hasOwnProperty(a)&&r[a]===t.base)return a+":"+t.resource;return":"===t.base?":"+t.resource:e},o}},function(e,t,n){(function(t){var r=n(58);e.exports=function(){function e(e){return e.filter(function(e){return!(e.visualAttributes().indexOf("deprecated")>=0)&&e.attributes().indexOf("external")>=0})}function n(e){for(var n=o(e),i=n.entries(),s=t.scale.linear().domain([0,i.length-1]).range(r.find(p,{type:v}).range).interpolate(t.interpolateHsl),l=0;l=0&&s.splice(n,1)}}),{nodes:s,properties:l}},function(){return t}}()},function(e,t,n){var r=n(46);e.exports=function(){function e(){var e,t,o,a=[];for(e=0,t=n.length;e=0?n<=t?n:(e.getGraphObject().setGlobalDOF(t),t):e.getDefaultDegreeValue()}function a(e){for(var t=0,n=0,r=e.length;n=e}}var c,d,p,f,h,v,g,y,m={},b=!0,x=50;return m.initialize=function(r,o){g=-1;var i=a(r);h instanceof Function&&h(i),e.setDefaultDegreeValue(t(r,o,i));var s=n(i);y instanceof Function?(y(s),s>0&&(e.highlightForDegreeSlider(!0),e.getGraphObject().setFilterWarning(!0))):console.error("No degree setter function set.")},m.filter=function(e,t){c=e,d=t,this.enabled()&&(v instanceof Function?s(v()):console.error("No degree query function set.")),p=c,f=d,0===p.length&&(y(0),p=e,f=t),g=v()},m.setMaxDegreeSetter=function(e){h=e},m.setDegreeGetter=function(e){v=e},m.setDegreeSetter=function(e){y=e},m.enabled=function(e){return arguments.length?(b=e,m):b},m.filteredNodes=function(){return p},m.filteredProperties=function(){return f},m}},function(e,t){e.exports=function(e){var t,n,r,o,a=!0,i={},s=a;return i.filter=function(a,i){t=a,n=i,e.options().scaleNodesByIndividuals(s),r=t,o=n},i.enabled=function(e){return arguments.length?(s=e,i):s},i.reset=function(){s=a},i.filteredNodes=function(){return r},i.filteredProperties=function(){return o},i}},function(e,t,n){var r=n(63)();e.exports=function(){function e(){i=i.filter(t),a=a.filter(n)}function t(e){return!r.isObjectProperty(e)}function n(e){var t=!r.isThing(e),n=o(e,i);return t||n}function o(e,n){for(var r=0;ro?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e,t){var n=typeof e;return t=null==t?r:t,!!t&&("number"==n||"symbol"!=n&&o.test(e))&&e>-1&&e%1==0&&e0&&n(c)?t>1?r(c,t-1,n,i,s):o(s,c):i||(s[s.length]=c)}return s}var o=n(107),a=n(109);e.exports=r},function(e,t,n){function r(e){return i(e)||a(e)||!!(s&&e&&e[s])}var o=n(92),a=n(110),i=n(112),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){var r=n(111),o=n(104),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){function r(e){return a(e)&&o(e)==i}var o=n(91),a=n(104),i="[object Arguments]";e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=c&&(p=u,f=!1,t=new o(t));e:for(;++d-1}var o=n(135);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(135);e.exports=r},function(e,t,n){var r=n(122),o=n(93),a=r(o,"Map");e.exports=a},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(142);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(141);e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return!!n&&o(e,t,0)>-1}var o=n(149);e.exports=r},function(e,t,n){function r(e,t,n){return t===t?i(e,t,n):o(e,a,n)}var o=n(150),a=n(151),i=n(152);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,a=Date.now;e.exports=n},function(e,t,n){function r(e){return a(e)&&o(e)}var o=n(89),a=n(104);e.exports=r},function(e,t,n){var r=n(115),o=n(108),a=n(168),i=n(157),s=n(166),l=n(228),u=i(function(e,t){var n=l(t);return s(n)&&(n=void 0),s(e)?r(e,o(t,1,s,!0),a(n,2)):[]});e.exports=u},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?a(e[0],e[1]):o(e):l(e)}var o=n(169),a=n(211),i=n(158),s=n(112),l=n(225);e.exports=r},function(e,t,n){function r(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(170),a=n(208),i=n(210);e.exports=r},function(e,t,n){function r(e,t,n,r){var l=n.length,u=l,c=!r;if(null==e)return!u;for(e=Object(e);l--;){var d=n[l];if(c&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++lp))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var v=-1,g=!0,y=n&l?new o:void 0;for(c.set(e,t),c.set(t,e);++vi?0:i+n),r=void 0===r||r>i?i:o(r),r<0&&(r+=i),r=n>r?0:a(r);n=t?e:t)),e}e.exports=n},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var l=null==n?0:i(n);return l<0&&(l=s(r+l,0)),o(e,a(t,3),l)}var o=n(150),a=n(168),i=n(100),s=Math.max;e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var u=r-1;return void 0!==n&&(u=i(n),u=n<0?s(r+u,0):l(u,r-1)),o(e,a(t,3),u,!0)}var o=n(150),a=n(168),i=n(100),s=Math.max,l=Math.min;e.exports=r},function(e,t,n){e.exports=n(242)},function(e,t){function n(e){return e&&e.length?e[0]:void 0}e.exports=n},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,1):[]}var o=n(108);e.exports=r},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,a):[]}var o=n(108),a=1/0;e.exports=r},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return n?(t=void 0===t?1:a(t),o(e,t)):[]}var o=n(108),a=n(100);e.exports=r},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r={};++t=120&&y.length>=120)?new o(f&&y):void 0}y=e[0];var m=-1,b=h[0];e:for(;++m-1;)f!==e&&c.call(f,h,1),c.call(e,h,1);return e}var o=n(154),a=n(149),i=n(262),s=n(155),l=n(113),u=Array.prototype,c=u.splice;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=n-1,a=e.length;++ot||i&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!a)return 1;if(!r&&!i&&!c&&e>>1,c=e[u];null!==c&&!i(c)&&(n?c<=t:c>>1;e.exports=r},function(e,t,n){function r(e,t,n,r){t=n(t);for(var a=0,u=null==e?0:e.length,c=t!==t,d=null===t,p=o(t),f=void 0===t;a=c){var g=t?null:l(e);if(g)return u(g);f=!1,d=s,v=new o}else v=t?[]:h;e:for(;++r1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,o(e,n)});e.exports=a},function(e,t,n){(function(t){e.exports=function(e){var n,r={};return r.handle=function(r){if(!t.event.defaultPrevented){var o=!0;n===r&&(o=!1),e instanceof Function&&e(o?r:void 0),n=o?r:void 0}},r.reset=function(){n&&(e(void 0),n=void 0)},r}}).call(t,n(6))},function(e,t,n){var r=n(20);e.exports=function(){function e(){var e=c.filterNodesAndTidy(o,a,t);o=e.nodes,a=e.properties}function t(e){return!(e instanceof r)}var o,a,i,s,l={},u=!1,c=n(76)();return l.filter=function(t,n){o=t,a=n,this.enabled()&&e(),i=o,s=a},l.enabled=function(e){return arguments.length?(u=e,l):u},l.filteredNodes=function(){return i},l.filteredProperties=function(){return s},l}},function(e,t,n){(function(t){var r=n(20),o=n(31),a=n(30),i=n(63)();e.exports=function(){function e(){h=0,v=0,g=0,y=0,m=0,b=0,x=0,E=0}function s(e,t){h=e.length;var r,o,a,i=n(62)();for(r=0,o=t.length;r1)return!1}return!0}function i(e,t){var n,r,o,a=[];for(r=0,o=e.length;r + +406 Not Acceptable + + +

    Not Acceptable

    +

    An appropriate representation of the requested resource could not be found on this server.

    + Available variants: + + \ No newline at end of file diff --git a/dist/vocabulary/mapping/OOPSevaluation/evaluation/bootstrap.css b/dist/vocabulary/mapping/OOPSevaluation/evaluation/bootstrap.css new file mode 100644 index 0000000..b17ff4c --- /dev/null +++ b/dist/vocabulary/mapping/OOPSevaluation/evaluation/bootstrap.css @@ -0,0 +1,7155 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section, +summary { + display: block; +} + +audio, +canvas, +video { + display: inline-block; +} + +audio:not([controls]) { + display: none; + height: 0; +} + +[hidden], +template { + display: none; +} + +html { + font-family: sans-serif; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +body { + margin: 0; +} + +a { + background: transparent; +} + +a:focus { + outline: thin dotted; +} + +a:active, +a:hover { + outline: 0; +} + +h1 { + margin: 0.67em 0; + font-size: 2em; +} + +abbr[title] { + border-bottom: 1px dotted; +} + +b, +strong { + font-weight: bold; +} + +dfn { + font-style: italic; +} + +hr { + height: 0; + -moz-box-sizing: content-box; + box-sizing: content-box; +} + +mark { + color: #000; + background: #ff0; +} + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +pre { + white-space: pre-wrap; +} + +q { + quotes: "\201C" "\201D" "\2018" "\2019"; +} + +small { + font-size: 80%; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +img { + border: 0; +} + +svg:not(:root) { + overflow: hidden; +} + +figure { + margin: 0; +} + +fieldset { + padding: 0.35em 0.625em 0.75em; + margin: 0 2px; + border: 1px solid #c0c0c0; +} + +legend { + padding: 0; + border: 0; +} + +button, +input, +select, +textarea { + margin: 0; + font-family: inherit; + font-size: 100%; +} + +button, +input { + line-height: normal; +} + +button, +select { + text-transform: none; +} + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + cursor: pointer; + -webkit-appearance: button; +} + +button[disabled], +html input[disabled] { + cursor: default; +} + +input[type="checkbox"], +input[type="radio"] { + padding: 0; + box-sizing: border-box; +} + +input[type="search"] { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + -webkit-appearance: textfield; +} + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; +} + +textarea { + overflow: auto; + vertical-align: top; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +@media print { + * { + color: #000 !important; + text-shadow: none !important; + background: transparent !important; + box-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + a[href^="javascript:"]:after, + a[href^="#"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + @page { + margin: 2cm .5cm; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + select { + background: #fff !important; + } + .navbar { + display: none; + } + .table td, + .table th { + background-color: #fff !important; + } + .btn > .caret, + .dropup > .btn > .caret { + border-top-color: #000 !important; + } + .label { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #ddd !important; + } +} + +*, +*:before, +*:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +html { + font-size: 62.5%; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +body { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 1.428571429; + color: #333333; + background-color: #ffffff; +} + +input, +button, +select, +textarea { + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +a { + color: #428bca; + text-decoration: none; +} + +a:hover, +a:focus { + color: #2a6496; + text-decoration: underline; +} + +a:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +img { + vertical-align: middle; +} + +.img-responsive { + display: block; + height: auto; + max-width: 100%; +} + +.img-rounded { + border-radius: 6px; +} + +.img-thumbnail { + display: inline-block; + height: auto; + max-width: 100%; + padding: 4px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.img-circle { + border-radius: 50%; +} + +hr { + margin-top: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid #eeeeee; +} + +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} + +h1, +h2, +h3, +h4, +h5, +h6, +.h1, +.h2, +.h3, +.h4, +.h5, +.h6 { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 500; + line-height: 1.1; + color: inherit; +} + +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small, +.h1 small, +.h2 small, +.h3 small, +.h4 small, +.h5 small, +.h6 small, +h1 .small, +h2 .small, +h3 .small, +h4 .small, +h5 .small, +h6 .small, +.h1 .small, +.h2 .small, +.h3 .small, +.h4 .small, +.h5 .small, +.h6 .small { + font-weight: normal; + line-height: 1; + color: #999999; +} + +h1, +h2, +h3 { + margin-top: 20px; + margin-bottom: 10px; +} + +h1 small, +h2 small, +h3 small, +h1 .small, +h2 .small, +h3 .small { + font-size: 65%; +} + +h4, +h5, +h6 { + margin-top: 10px; + margin-bottom: 10px; +} + +h4 small, +h5 small, +h6 small, +h4 .small, +h5 .small, +h6 .small { + font-size: 75%; +} + +h1, +.h1 { + font-size: 36px; +} + +h2, +.h2 { + font-size: 30px; +} + +h3, +.h3 { + font-size: 24px; +} + +h4, +.h4 { + font-size: 18px; +} + +h5, +.h5 { + font-size: 14px; +} + +h6, +.h6 { + font-size: 12px; +} + +p { + margin: 0 0 10px; +} + +.lead { + margin-bottom: 20px; + font-size: 16px; + font-weight: 200; + line-height: 1.4; +} + +@media (min-width: 768px) { + .lead { + font-size: 21px; + } +} + +small, +.small { + font-size: 85%; +} + +cite { + font-style: normal; +} + +.text-muted { + color: #999999; +} + +.text-primary { + color: #428bca; +} + +.text-primary:hover { + color: #3071a9; +} + +.text-warning { + color: #8a6d3b; +} + +.text-warning:hover { + color: #66512c; +} + +.text-danger { + color: #a94442; +} + +.text-danger:hover { + color: #843534; +} + +.text-success { + color: #3c763d; +} + +.text-success:hover { + color: #2b542c; +} + +.text-info { + color: #31708f; +} + +.text-info:hover { + color: #245269; +} + +.text-left { + text-align: left; +} + +.text-right { + text-align: right; +} + +.text-center { + text-align: center; +} + +.page-header { + padding-bottom: 9px; + margin: 40px 0 20px; + border-bottom: 1px solid #eeeeee; +} + +ul, +ol { + margin-top: 0; + margin-bottom: 10px; +} + +ul ul, +ol ul, +ul ol, +ol ol { + margin-bottom: 0; +} + +.list-unstyled { + padding-left: 0; + list-style: none; +} + +.list-inline { + padding-left: 0; + list-style: none; +} + +.list-inline > li { + display: inline-block; + padding-right: 5px; + padding-left: 5px; +} + +.list-inline > li:first-child { + padding-left: 0; +} + +dl { + margin-top: 0; + margin-bottom: 20px; +} + +dt, +dd { + line-height: 1.428571429; +} + +dt { + font-weight: bold; +} + +dd { + margin-left: 0; +} + +@media (min-width: 768px) { + .dl-horizontal dt { + float: left; + width: 160px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; + } + .dl-horizontal dd { + margin-left: 180px; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } + .dl-horizontal dd:before, + .dl-horizontal dd:after { + display: table; + content: " "; + } + .dl-horizontal dd:after { + clear: both; + } +} + +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #999999; +} + +.initialism { + font-size: 90%; + text-transform: uppercase; +} + +blockquote { + padding: 10px 20px; + margin: 0 0 20px; + border-left: 5px solid #eeeeee; +} + +blockquote p { + font-size: 17.5px; + font-weight: 300; + line-height: 1.25; +} + +blockquote p:last-child { + margin-bottom: 0; +} + +blockquote small, +blockquote .small { + display: block; + line-height: 1.428571429; + color: #999999; +} + +blockquote small:before, +blockquote .small:before { + content: '\2014 \00A0'; +} + +blockquote.pull-right { + padding-right: 15px; + padding-left: 0; + border-right: 5px solid #eeeeee; + border-left: 0; +} + +blockquote.pull-right p, +blockquote.pull-right small, +blockquote.pull-right .small { + text-align: right; +} + +blockquote.pull-right small:before, +blockquote.pull-right .small:before { + content: ''; +} + +blockquote.pull-right small:after, +blockquote.pull-right .small:after { + content: '\00A0 \2014'; +} + +blockquote:before, +blockquote:after { + content: ""; +} + +address { + margin-bottom: 20px; + font-style: normal; + line-height: 1.428571429; +} + +code, +kbd, +pre, +samp { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; +} + +code { + padding: 2px 4px; + font-size: 90%; + color: #c7254e; + white-space: nowrap; + background-color: #f9f2f4; + border-radius: 4px; +} + +pre { + display: block; + padding: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 1.428571429; + color: #333333; + word-break: break-all; + word-wrap: break-word; + background-color: #f5f5f5; + border: 1px solid #cccccc; + border-radius: 4px; +} + +pre code { + padding: 0; + font-size: inherit; + color: inherit; + white-space: pre-wrap; + background-color: transparent; + border-radius: 0; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +.container { + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +.container:before, +.container:after { + display: table; + content: " "; +} + +.container:after { + clear: both; +} + +@media (min-width: 768px) { + .container { + width: 750px; + } +} + +@media (min-width: 992px) { + .container { + width: 970px; + } +} + +@media (min-width: 1200px) { + .container { + width: 1170px; + } +} + +.row { + margin-right: -15px; + margin-left: -15px; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.col-xs-1, +.col-sm-1, +.col-md-1, +.col-lg-1, +.col-xs-2, +.col-sm-2, +.col-md-2, +.col-lg-2, +.col-xs-3, +.col-sm-3, +.col-md-3, +.col-lg-3, +.col-xs-4, +.col-sm-4, +.col-md-4, +.col-lg-4, +.col-xs-5, +.col-sm-5, +.col-md-5, +.col-lg-5, +.col-xs-6, +.col-sm-6, +.col-md-6, +.col-lg-6, +.col-xs-7, +.col-sm-7, +.col-md-7, +.col-lg-7, +.col-xs-8, +.col-sm-8, +.col-md-8, +.col-lg-8, +.col-xs-9, +.col-sm-9, +.col-md-9, +.col-lg-9, +.col-xs-10, +.col-sm-10, +.col-md-10, +.col-lg-10, +.col-xs-11, +.col-sm-11, +.col-md-11, +.col-lg-11, +.col-xs-12, +.col-sm-12, +.col-md-12, +.col-lg-12 { + position: relative; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; +} + +.col-xs-1, +.col-xs-2, +.col-xs-3, +.col-xs-4, +.col-xs-5, +.col-xs-6, +.col-xs-7, +.col-xs-8, +.col-xs-9, +.col-xs-10, +.col-xs-11, +.col-xs-12 { + float: left; +} + +.col-xs-12 { + width: 100%; +} + +.col-xs-11 { + width: 91.66666666666666%; +} + +.col-xs-10 { + width: 83.33333333333334%; +} + +.col-xs-9 { + width: 75%; +} + +.col-xs-8 { + width: 66.66666666666666%; +} + +.col-xs-7 { + width: 58.333333333333336%; +} + +.col-xs-6 { + width: 50%; +} + +.col-xs-5 { + width: 41.66666666666667%; +} + +.col-xs-4 { + width: 33.33333333333333%; +} + +.col-xs-3 { + width: 25%; +} + +.col-xs-2 { + width: 16.666666666666664%; +} + +.col-xs-1 { + width: 8.333333333333332%; +} + +.col-xs-pull-12 { + right: 100%; +} + +.col-xs-pull-11 { + right: 91.66666666666666%; +} + +.col-xs-pull-10 { + right: 83.33333333333334%; +} + +.col-xs-pull-9 { + right: 75%; +} + +.col-xs-pull-8 { + right: 66.66666666666666%; +} + +.col-xs-pull-7 { + right: 58.333333333333336%; +} + +.col-xs-pull-6 { + right: 50%; +} + +.col-xs-pull-5 { + right: 41.66666666666667%; +} + +.col-xs-pull-4 { + right: 33.33333333333333%; +} + +.col-xs-pull-3 { + right: 25%; +} + +.col-xs-pull-2 { + right: 16.666666666666664%; +} + +.col-xs-pull-1 { + right: 8.333333333333332%; +} + +.col-xs-pull-0 { + right: 0; +} + +.col-xs-push-12 { + left: 100%; +} + +.col-xs-push-11 { + left: 91.66666666666666%; +} + +.col-xs-push-10 { + left: 83.33333333333334%; +} + +.col-xs-push-9 { + left: 75%; +} + +.col-xs-push-8 { + left: 66.66666666666666%; +} + +.col-xs-push-7 { + left: 58.333333333333336%; +} + +.col-xs-push-6 { + left: 50%; +} + +.col-xs-push-5 { + left: 41.66666666666667%; +} + +.col-xs-push-4 { + left: 33.33333333333333%; +} + +.col-xs-push-3 { + left: 25%; +} + +.col-xs-push-2 { + left: 16.666666666666664%; +} + +.col-xs-push-1 { + left: 8.333333333333332%; +} + +.col-xs-push-0 { + left: 0; +} + +.col-xs-offset-12 { + margin-left: 100%; +} + +.col-xs-offset-11 { + margin-left: 91.66666666666666%; +} + +.col-xs-offset-10 { + margin-left: 83.33333333333334%; +} + +.col-xs-offset-9 { + margin-left: 75%; +} + +.col-xs-offset-8 { + margin-left: 66.66666666666666%; +} + +.col-xs-offset-7 { + margin-left: 58.333333333333336%; +} + +.col-xs-offset-6 { + margin-left: 50%; +} + +.col-xs-offset-5 { + margin-left: 41.66666666666667%; +} + +.col-xs-offset-4 { + margin-left: 33.33333333333333%; +} + +.col-xs-offset-3 { + margin-left: 25%; +} + +.col-xs-offset-2 { + margin-left: 16.666666666666664%; +} + +.col-xs-offset-1 { + margin-left: 8.333333333333332%; +} + +.col-xs-offset-0 { + margin-left: 0; +} + +@media (min-width: 768px) { + .col-sm-1, + .col-sm-2, + .col-sm-3, + .col-sm-4, + .col-sm-5, + .col-sm-6, + .col-sm-7, + .col-sm-8, + .col-sm-9, + .col-sm-10, + .col-sm-11, + .col-sm-12 { + float: left; + } + .col-sm-12 { + width: 100%; + } + .col-sm-11 { + width: 91.66666666666666%; + } + .col-sm-10 { + width: 83.33333333333334%; + } + .col-sm-9 { + width: 75%; + } + .col-sm-8 { + width: 66.66666666666666%; + } + .col-sm-7 { + width: 58.333333333333336%; + } + .col-sm-6 { + width: 50%; + } + .col-sm-5 { + width: 41.66666666666667%; + } + .col-sm-4 { + width: 33.33333333333333%; + } + .col-sm-3 { + width: 25%; + } + .col-sm-2 { + width: 16.666666666666664%; + } + .col-sm-1 { + width: 8.333333333333332%; + } + .col-sm-pull-12 { + right: 100%; + } + .col-sm-pull-11 { + right: 91.66666666666666%; + } + .col-sm-pull-10 { + right: 83.33333333333334%; + } + .col-sm-pull-9 { + right: 75%; + } + .col-sm-pull-8 { + right: 66.66666666666666%; + } + .col-sm-pull-7 { + right: 58.333333333333336%; + } + .col-sm-pull-6 { + right: 50%; + } + .col-sm-pull-5 { + right: 41.66666666666667%; + } + .col-sm-pull-4 { + right: 33.33333333333333%; + } + .col-sm-pull-3 { + right: 25%; + } + .col-sm-pull-2 { + right: 16.666666666666664%; + } + .col-sm-pull-1 { + right: 8.333333333333332%; + } + .col-sm-pull-0 { + right: 0; + } + .col-sm-push-12 { + left: 100%; + } + .col-sm-push-11 { + left: 91.66666666666666%; + } + .col-sm-push-10 { + left: 83.33333333333334%; + } + .col-sm-push-9 { + left: 75%; + } + .col-sm-push-8 { + left: 66.66666666666666%; + } + .col-sm-push-7 { + left: 58.333333333333336%; + } + .col-sm-push-6 { + left: 50%; + } + .col-sm-push-5 { + left: 41.66666666666667%; + } + .col-sm-push-4 { + left: 33.33333333333333%; + } + .col-sm-push-3 { + left: 25%; + } + .col-sm-push-2 { + left: 16.666666666666664%; + } + .col-sm-push-1 { + left: 8.333333333333332%; + } + .col-sm-push-0 { + left: 0; + } + .col-sm-offset-12 { + margin-left: 100%; + } + .col-sm-offset-11 { + margin-left: 91.66666666666666%; + } + .col-sm-offset-10 { + margin-left: 83.33333333333334%; + } + .col-sm-offset-9 { + margin-left: 75%; + } + .col-sm-offset-8 { + margin-left: 66.66666666666666%; + } + .col-sm-offset-7 { + margin-left: 58.333333333333336%; + } + .col-sm-offset-6 { + margin-left: 50%; + } + .col-sm-offset-5 { + margin-left: 41.66666666666667%; + } + .col-sm-offset-4 { + margin-left: 33.33333333333333%; + } + .col-sm-offset-3 { + margin-left: 25%; + } + .col-sm-offset-2 { + margin-left: 16.666666666666664%; + } + .col-sm-offset-1 { + margin-left: 8.333333333333332%; + } + .col-sm-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 992px) { + .col-md-1, + .col-md-2, + .col-md-3, + .col-md-4, + .col-md-5, + .col-md-6, + .col-md-7, + .col-md-8, + .col-md-9, + .col-md-10, + .col-md-11, + .col-md-12 { + float: left; + } + .col-md-12 { + width: 100%; + } + .col-md-11 { + width: 91.66666666666666%; + } + .col-md-10 { + width: 83.33333333333334%; + } + .col-md-9 { + width: 75%; + } + .col-md-8 { + width: 66.66666666666666%; + } + .col-md-7 { + width: 58.333333333333336%; + } + .col-md-6 { + width: 50%; + } + .col-md-5 { + width: 41.66666666666667%; + } + .col-md-4 { + width: 33.33333333333333%; + } + .col-md-3 { + width: 25%; + } + .col-md-2 { + width: 16.666666666666664%; + } + .col-md-1 { + width: 8.333333333333332%; + } + .col-md-pull-12 { + right: 100%; + } + .col-md-pull-11 { + right: 91.66666666666666%; + } + .col-md-pull-10 { + right: 83.33333333333334%; + } + .col-md-pull-9 { + right: 75%; + } + .col-md-pull-8 { + right: 66.66666666666666%; + } + .col-md-pull-7 { + right: 58.333333333333336%; + } + .col-md-pull-6 { + right: 50%; + } + .col-md-pull-5 { + right: 41.66666666666667%; + } + .col-md-pull-4 { + right: 33.33333333333333%; + } + .col-md-pull-3 { + right: 25%; + } + .col-md-pull-2 { + right: 16.666666666666664%; + } + .col-md-pull-1 { + right: 8.333333333333332%; + } + .col-md-pull-0 { + right: 0; + } + .col-md-push-12 { + left: 100%; + } + .col-md-push-11 { + left: 91.66666666666666%; + } + .col-md-push-10 { + left: 83.33333333333334%; + } + .col-md-push-9 { + left: 75%; + } + .col-md-push-8 { + left: 66.66666666666666%; + } + .col-md-push-7 { + left: 58.333333333333336%; + } + .col-md-push-6 { + left: 50%; + } + .col-md-push-5 { + left: 41.66666666666667%; + } + .col-md-push-4 { + left: 33.33333333333333%; + } + .col-md-push-3 { + left: 25%; + } + .col-md-push-2 { + left: 16.666666666666664%; + } + .col-md-push-1 { + left: 8.333333333333332%; + } + .col-md-push-0 { + left: 0; + } + .col-md-offset-12 { + margin-left: 100%; + } + .col-md-offset-11 { + margin-left: 91.66666666666666%; + } + .col-md-offset-10 { + margin-left: 83.33333333333334%; + } + .col-md-offset-9 { + margin-left: 75%; + } + .col-md-offset-8 { + margin-left: 66.66666666666666%; + } + .col-md-offset-7 { + margin-left: 58.333333333333336%; + } + .col-md-offset-6 { + margin-left: 50%; + } + .col-md-offset-5 { + margin-left: 41.66666666666667%; + } + .col-md-offset-4 { + margin-left: 33.33333333333333%; + } + .col-md-offset-3 { + margin-left: 25%; + } + .col-md-offset-2 { + margin-left: 16.666666666666664%; + } + .col-md-offset-1 { + margin-left: 8.333333333333332%; + } + .col-md-offset-0 { + margin-left: 0; + } +} + +@media (min-width: 1200px) { + .col-lg-1, + .col-lg-2, + .col-lg-3, + .col-lg-4, + .col-lg-5, + .col-lg-6, + .col-lg-7, + .col-lg-8, + .col-lg-9, + .col-lg-10, + .col-lg-11, + .col-lg-12 { + float: left; + } + .col-lg-12 { + width: 100%; + } + .col-lg-11 { + width: 91.66666666666666%; + } + .col-lg-10 { + width: 83.33333333333334%; + } + .col-lg-9 { + width: 75%; + } + .col-lg-8 { + width: 66.66666666666666%; + } + .col-lg-7 { + width: 58.333333333333336%; + } + .col-lg-6 { + width: 50%; + } + .col-lg-5 { + width: 41.66666666666667%; + } + .col-lg-4 { + width: 33.33333333333333%; + } + .col-lg-3 { + width: 25%; + } + .col-lg-2 { + width: 16.666666666666664%; + } + .col-lg-1 { + width: 8.333333333333332%; + } + .col-lg-pull-12 { + right: 100%; + } + .col-lg-pull-11 { + right: 91.66666666666666%; + } + .col-lg-pull-10 { + right: 83.33333333333334%; + } + .col-lg-pull-9 { + right: 75%; + } + .col-lg-pull-8 { + right: 66.66666666666666%; + } + .col-lg-pull-7 { + right: 58.333333333333336%; + } + .col-lg-pull-6 { + right: 50%; + } + .col-lg-pull-5 { + right: 41.66666666666667%; + } + .col-lg-pull-4 { + right: 33.33333333333333%; + } + .col-lg-pull-3 { + right: 25%; + } + .col-lg-pull-2 { + right: 16.666666666666664%; + } + .col-lg-pull-1 { + right: 8.333333333333332%; + } + .col-lg-pull-0 { + right: 0; + } + .col-lg-push-12 { + left: 100%; + } + .col-lg-push-11 { + left: 91.66666666666666%; + } + .col-lg-push-10 { + left: 83.33333333333334%; + } + .col-lg-push-9 { + left: 75%; + } + .col-lg-push-8 { + left: 66.66666666666666%; + } + .col-lg-push-7 { + left: 58.333333333333336%; + } + .col-lg-push-6 { + left: 50%; + } + .col-lg-push-5 { + left: 41.66666666666667%; + } + .col-lg-push-4 { + left: 33.33333333333333%; + } + .col-lg-push-3 { + left: 25%; + } + .col-lg-push-2 { + left: 16.666666666666664%; + } + .col-lg-push-1 { + left: 8.333333333333332%; + } + .col-lg-push-0 { + left: 0; + } + .col-lg-offset-12 { + margin-left: 100%; + } + .col-lg-offset-11 { + margin-left: 91.66666666666666%; + } + .col-lg-offset-10 { + margin-left: 83.33333333333334%; + } + .col-lg-offset-9 { + margin-left: 75%; + } + .col-lg-offset-8 { + margin-left: 66.66666666666666%; + } + .col-lg-offset-7 { + margin-left: 58.333333333333336%; + } + .col-lg-offset-6 { + margin-left: 50%; + } + .col-lg-offset-5 { + margin-left: 41.66666666666667%; + } + .col-lg-offset-4 { + margin-left: 33.33333333333333%; + } + .col-lg-offset-3 { + margin-left: 25%; + } + .col-lg-offset-2 { + margin-left: 16.666666666666664%; + } + .col-lg-offset-1 { + margin-left: 8.333333333333332%; + } + .col-lg-offset-0 { + margin-left: 0; + } +} + +table { + max-width: 100%; + background-color: transparent; +} + +th { + text-align: left; +} + +.table { + width: 100%; + margin-bottom: 20px; +} + +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + padding: 8px; + line-height: 1.428571429; + vertical-align: top; + border-top: 1px solid #dddddd; +} + +.table > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #dddddd; +} + +.table > caption + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > th, +.table > thead:first-child > tr:first-child > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > td { + border-top: 0; +} + +.table > tbody + tbody { + border-top: 2px solid #dddddd; +} + +.table .table { + background-color: #ffffff; +} + +.table-condensed > thead > tr > th, +.table-condensed > tbody > tr > th, +.table-condensed > tfoot > tr > th, +.table-condensed > thead > tr > td, +.table-condensed > tbody > tr > td, +.table-condensed > tfoot > tr > td { + padding: 5px; +} + +.table-bordered { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > tbody > tr > th, +.table-bordered > tfoot > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > td { + border: 1px solid #dddddd; +} + +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td { + border-bottom-width: 2px; +} + +.table-striped > tbody > tr:nth-child(odd) > td, +.table-striped > tbody > tr:nth-child(odd) > th { + background-color: #f9f9f9; +} + +.table-hover > tbody > tr:hover > td, +.table-hover > tbody > tr:hover > th { + background-color: #f5f5f5; +} + +table col[class*="col-"] { + position: static; + display: table-column; + float: none; +} + +table td[class*="col-"], +table th[class*="col-"] { + display: table-cell; + float: none; +} + +.table > thead > tr > .active, +.table > tbody > tr > .active, +.table > tfoot > tr > .active, +.table > thead > .active > td, +.table > tbody > .active > td, +.table > tfoot > .active > td, +.table > thead > .active > th, +.table > tbody > .active > th, +.table > tfoot > .active > th { + background-color: #f5f5f5; +} + +.table-hover > tbody > tr > .active:hover, +.table-hover > tbody > .active:hover > td, +.table-hover > tbody > .active:hover > th { + background-color: #e8e8e8; +} + +.table > thead > tr > .success, +.table > tbody > tr > .success, +.table > tfoot > tr > .success, +.table > thead > .success > td, +.table > tbody > .success > td, +.table > tfoot > .success > td, +.table > thead > .success > th, +.table > tbody > .success > th, +.table > tfoot > .success > th { + background-color: #dff0d8; +} + +.table-hover > tbody > tr > .success:hover, +.table-hover > tbody > .success:hover > td, +.table-hover > tbody > .success:hover > th { + background-color: #d0e9c6; +} + +.table > thead > tr > .danger, +.table > tbody > tr > .danger, +.table > tfoot > tr > .danger, +.table > thead > .danger > td, +.table > tbody > .danger > td, +.table > tfoot > .danger > td, +.table > thead > .danger > th, +.table > tbody > .danger > th, +.table > tfoot > .danger > th { + background-color: #f2dede; +} + +.table-hover > tbody > tr > .danger:hover, +.table-hover > tbody > .danger:hover > td, +.table-hover > tbody > .danger:hover > th { + background-color: #ebcccc; +} + +.table > thead > tr > .warning, +.table > tbody > tr > .warning, +.table > tfoot > tr > .warning, +.table > thead > .warning > td, +.table > tbody > .warning > td, +.table > tfoot > .warning > td, +.table > thead > .warning > th, +.table > tbody > .warning > th, +.table > tfoot > .warning > th { + background-color: #fcf8e3; +} + +.table-hover > tbody > tr > .warning:hover, +.table-hover > tbody > .warning:hover > td, +.table-hover > tbody > .warning:hover > th { + background-color: #faf2cc; +} + +@media (max-width: 767px) { + .table-responsive { + width: 100%; + margin-bottom: 15px; + overflow-x: scroll; + overflow-y: hidden; + border: 1px solid #dddddd; + -ms-overflow-style: -ms-autohiding-scrollbar; + -webkit-overflow-scrolling: touch; + } + .table-responsive > .table { + margin-bottom: 0; + } + .table-responsive > .table > thead > tr > th, + .table-responsive > .table > tbody > tr > th, + .table-responsive > .table > tfoot > tr > th, + .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > td { + white-space: nowrap; + } + .table-responsive > .table-bordered { + border: 0; + } + .table-responsive > .table-bordered > thead > tr > th:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, + .table-responsive > .table-bordered > tfoot > tr > th:first-child, + .table-responsive > .table-bordered > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; + } + .table-responsive > .table-bordered > thead > tr > th:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, + .table-responsive > .table-bordered > tfoot > tr > th:last-child, + .table-responsive > .table-bordered > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; + } + .table-responsive > .table-bordered > tbody > tr:last-child > th, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, + .table-responsive > .table-bordered > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; + } +} + +fieldset { + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: inherit; + color: #333333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} + +label { + display: inline-block; + margin-bottom: 5px; + font-weight: bold; +} + +input[type="search"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + /* IE8-9 */ + + line-height: normal; +} + +input[type="file"] { + display: block; +} + +select[multiple], +select[size] { + height: auto; +} + +select optgroup { + font-family: inherit; + font-size: inherit; + font-style: inherit; +} + +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +input[type="number"]::-webkit-outer-spin-button, +input[type="number"]::-webkit-inner-spin-button { + height: auto; +} + +output { + display: block; + padding-top: 7px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; +} + +.form-control { + display: block; + width: 100%; + height: 34px; + padding: 6px 12px; + font-size: 14px; + line-height: 1.428571429; + color: #555555; + vertical-align: middle; + background-color: #ffffff; + background-image: none; + border: 1px solid #cccccc; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; +} + +.form-control:focus { + border-color: #66afe9; + outline: 0; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); +} + +.form-control:-moz-placeholder { + color: #999999; +} + +.form-control::-moz-placeholder { + color: #999999; + opacity: 1; +} + +.form-control:-ms-input-placeholder { + color: #999999; +} + +.form-control::-webkit-input-placeholder { + color: #999999; +} + +.form-control[disabled], +.form-control[readonly], +fieldset[disabled] .form-control { + cursor: not-allowed; + background-color: #eeeeee; +} + +textarea.form-control { + height: auto; +} + +.form-group { + margin-bottom: 15px; +} + +.radio, +.checkbox { + display: block; + min-height: 20px; + padding-left: 20px; + margin-top: 10px; + margin-bottom: 10px; + vertical-align: middle; +} + +.radio label, +.checkbox label { + display: inline; + margin-bottom: 0; + font-weight: normal; + cursor: pointer; +} + +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + float: left; + margin-left: -20px; +} + +.radio + .radio, +.checkbox + .checkbox { + margin-top: -5px; +} + +.radio-inline, +.checkbox-inline { + display: inline-block; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + vertical-align: middle; + cursor: pointer; +} + +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; +} + +input[type="radio"][disabled], +input[type="checkbox"][disabled], +.radio[disabled], +.radio-inline[disabled], +.checkbox[disabled], +.checkbox-inline[disabled], +fieldset[disabled] input[type="radio"], +fieldset[disabled] input[type="checkbox"], +fieldset[disabled] .radio, +fieldset[disabled] .radio-inline, +fieldset[disabled] .checkbox, +fieldset[disabled] .checkbox-inline { + cursor: not-allowed; +} + +.input-sm { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-sm { + height: 30px; + line-height: 30px; +} + +textarea.input-sm { + height: auto; +} + +.input-lg { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-lg { + height: 46px; + line-height: 46px; +} + +textarea.input-lg { + height: auto; +} + +.has-warning .help-block, +.has-warning .control-label, +.has-warning .radio, +.has-warning .checkbox, +.has-warning .radio-inline, +.has-warning .checkbox-inline { + color: #8a6d3b; +} + +.has-warning .form-control { + border-color: #8a6d3b; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-warning .form-control:focus { + border-color: #66512c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; +} + +.has-warning .input-group-addon { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #8a6d3b; +} + +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline { + color: #a94442; +} + +.has-error .form-control { + border-color: #a94442; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-error .form-control:focus { + border-color: #843534; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; +} + +.has-error .input-group-addon { + color: #a94442; + background-color: #f2dede; + border-color: #a94442; +} + +.has-success .help-block, +.has-success .control-label, +.has-success .radio, +.has-success .checkbox, +.has-success .radio-inline, +.has-success .checkbox-inline { + color: #3c763d; +} + +.has-success .form-control { + border-color: #3c763d; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.has-success .form-control:focus { + border-color: #2b542c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; +} + +.has-success .input-group-addon { + color: #3c763d; + background-color: #dff0d8; + border-color: #3c763d; +} + +.form-control-static { + margin-bottom: 0; +} + +.help-block { + display: block; + margin-top: 5px; + margin-bottom: 10px; + color: #737373; +} + +@media (min-width: 768px) { + .form-inline .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .form-control { + display: inline-block; + } + .form-inline select.form-control { + width: auto; + } + .form-inline .radio, + .form-inline .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .form-inline .radio input[type="radio"], + .form-inline .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +.form-horizontal .control-label, +.form-horizontal .radio, +.form-horizontal .checkbox, +.form-horizontal .radio-inline, +.form-horizontal .checkbox-inline { + padding-top: 7px; + margin-top: 0; + margin-bottom: 0; +} + +.form-horizontal .radio, +.form-horizontal .checkbox { + min-height: 27px; +} + +.form-horizontal .form-group { + margin-right: -15px; + margin-left: -15px; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-group:before, +.form-horizontal .form-group:after { + display: table; + content: " "; +} + +.form-horizontal .form-group:after { + clear: both; +} + +.form-horizontal .form-control-static { + padding-top: 7px; +} + +@media (min-width: 768px) { + .form-horizontal .control-label { + text-align: right; + } +} + +.btn { + display: inline-block; + padding: 6px 12px; + margin-bottom: 0; + font-size: 14px; + font-weight: normal; + line-height: 1.428571429; + text-align: center; + white-space: nowrap; + vertical-align: middle; + cursor: pointer; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; +} + +.btn:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +.btn:hover, +.btn:focus { + color: #333333; + text-decoration: none; +} + +.btn:active, +.btn.active { + background-image: none; + outline: 0; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn.disabled, +.btn[disabled], +fieldset[disabled] .btn { + pointer-events: none; + cursor: not-allowed; + opacity: 0.65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-default { + color: #333333; + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default:hover, +.btn-default:focus, +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + color: #333333; + background-color: #ebebeb; + border-color: #adadad; +} + +.btn-default:active, +.btn-default.active, +.open .dropdown-toggle.btn-default { + background-image: none; +} + +.btn-default.disabled, +.btn-default[disabled], +fieldset[disabled] .btn-default, +.btn-default.disabled:hover, +.btn-default[disabled]:hover, +fieldset[disabled] .btn-default:hover, +.btn-default.disabled:focus, +.btn-default[disabled]:focus, +fieldset[disabled] .btn-default:focus, +.btn-default.disabled:active, +.btn-default[disabled]:active, +fieldset[disabled] .btn-default:active, +.btn-default.disabled.active, +.btn-default[disabled].active, +fieldset[disabled] .btn-default.active { + background-color: #ffffff; + border-color: #cccccc; +} + +.btn-default .badge { + color: #ffffff; + background-color: #fff; +} + +.btn-primary { + color: #ffffff; + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary:hover, +.btn-primary:focus, +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + color: #ffffff; + background-color: #3276b1; + border-color: #285e8e; +} + +.btn-primary:active, +.btn-primary.active, +.open .dropdown-toggle.btn-primary { + background-image: none; +} + +.btn-primary.disabled, +.btn-primary[disabled], +fieldset[disabled] .btn-primary, +.btn-primary.disabled:hover, +.btn-primary[disabled]:hover, +fieldset[disabled] .btn-primary:hover, +.btn-primary.disabled:focus, +.btn-primary[disabled]:focus, +fieldset[disabled] .btn-primary:focus, +.btn-primary.disabled:active, +.btn-primary[disabled]:active, +fieldset[disabled] .btn-primary:active, +.btn-primary.disabled.active, +.btn-primary[disabled].active, +fieldset[disabled] .btn-primary.active { + background-color: #428bca; + border-color: #357ebd; +} + +.btn-primary .badge { + color: #428bca; + background-color: #fff; +} + +.btn-warning { + color: #ffffff; + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning:hover, +.btn-warning:focus, +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + color: #ffffff; + background-color: #ed9c28; + border-color: #d58512; +} + +.btn-warning:active, +.btn-warning.active, +.open .dropdown-toggle.btn-warning { + background-image: none; +} + +.btn-warning.disabled, +.btn-warning[disabled], +fieldset[disabled] .btn-warning, +.btn-warning.disabled:hover, +.btn-warning[disabled]:hover, +fieldset[disabled] .btn-warning:hover, +.btn-warning.disabled:focus, +.btn-warning[disabled]:focus, +fieldset[disabled] .btn-warning:focus, +.btn-warning.disabled:active, +.btn-warning[disabled]:active, +fieldset[disabled] .btn-warning:active, +.btn-warning.disabled.active, +.btn-warning[disabled].active, +fieldset[disabled] .btn-warning.active { + background-color: #f0ad4e; + border-color: #eea236; +} + +.btn-warning .badge { + color: #f0ad4e; + background-color: #fff; +} + +.btn-danger { + color: #ffffff; + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger:hover, +.btn-danger:focus, +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + color: #ffffff; + background-color: #d2322d; + border-color: #ac2925; +} + +.btn-danger:active, +.btn-danger.active, +.open .dropdown-toggle.btn-danger { + background-image: none; +} + +.btn-danger.disabled, +.btn-danger[disabled], +fieldset[disabled] .btn-danger, +.btn-danger.disabled:hover, +.btn-danger[disabled]:hover, +fieldset[disabled] .btn-danger:hover, +.btn-danger.disabled:focus, +.btn-danger[disabled]:focus, +fieldset[disabled] .btn-danger:focus, +.btn-danger.disabled:active, +.btn-danger[disabled]:active, +fieldset[disabled] .btn-danger:active, +.btn-danger.disabled.active, +.btn-danger[disabled].active, +fieldset[disabled] .btn-danger.active { + background-color: #d9534f; + border-color: #d43f3a; +} + +.btn-danger .badge { + color: #d9534f; + background-color: #fff; +} + +.btn-success { + color: #ffffff; + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success:hover, +.btn-success:focus, +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + color: #ffffff; + background-color: #47a447; + border-color: #398439; +} + +.btn-success:active, +.btn-success.active, +.open .dropdown-toggle.btn-success { + background-image: none; +} + +.btn-success.disabled, +.btn-success[disabled], +fieldset[disabled] .btn-success, +.btn-success.disabled:hover, +.btn-success[disabled]:hover, +fieldset[disabled] .btn-success:hover, +.btn-success.disabled:focus, +.btn-success[disabled]:focus, +fieldset[disabled] .btn-success:focus, +.btn-success.disabled:active, +.btn-success[disabled]:active, +fieldset[disabled] .btn-success:active, +.btn-success.disabled.active, +.btn-success[disabled].active, +fieldset[disabled] .btn-success.active { + background-color: #5cb85c; + border-color: #4cae4c; +} + +.btn-success .badge { + color: #5cb85c; + background-color: #fff; +} + +.btn-info { + color: #ffffff; + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info:hover, +.btn-info:focus, +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + color: #ffffff; + background-color: #39b3d7; + border-color: #269abc; +} + +.btn-info:active, +.btn-info.active, +.open .dropdown-toggle.btn-info { + background-image: none; +} + +.btn-info.disabled, +.btn-info[disabled], +fieldset[disabled] .btn-info, +.btn-info.disabled:hover, +.btn-info[disabled]:hover, +fieldset[disabled] .btn-info:hover, +.btn-info.disabled:focus, +.btn-info[disabled]:focus, +fieldset[disabled] .btn-info:focus, +.btn-info.disabled:active, +.btn-info[disabled]:active, +fieldset[disabled] .btn-info:active, +.btn-info.disabled.active, +.btn-info[disabled].active, +fieldset[disabled] .btn-info.active { + background-color: #5bc0de; + border-color: #46b8da; +} + +.btn-info .badge { + color: #5bc0de; + background-color: #fff; +} + +.btn-link { + font-weight: normal; + color: #428bca; + cursor: pointer; + border-radius: 0; +} + +.btn-link, +.btn-link:active, +.btn-link[disabled], +fieldset[disabled] .btn-link { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-link, +.btn-link:hover, +.btn-link:focus, +.btn-link:active { + border-color: transparent; +} + +.btn-link:hover, +.btn-link:focus { + color: #2a6496; + text-decoration: underline; + background-color: transparent; +} + +.btn-link[disabled]:hover, +fieldset[disabled] .btn-link:hover, +.btn-link[disabled]:focus, +fieldset[disabled] .btn-link:focus { + color: #999999; + text-decoration: none; +} + +.btn-lg { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-sm { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-xs { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-block { + display: block; + width: 100%; + padding-right: 0; + padding-left: 0; +} + +.btn-block + .btn-block { + margin-top: 5px; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.fade { + opacity: 0; + -webkit-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} + +.fade.in { + opacity: 1; +} + +.collapse { + display: none; +} + +.collapse.in { + display: block; +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition: height 0.35s ease; + transition: height 0.35s ease; +} + +@font-face { + font-family: 'Glyphicons Halflings'; + src: url('../fonts/glyphicons-halflings-regular.eot'); + src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg'); +} + +.glyphicon { + position: relative; + top: 1px; + display: inline-block; + font-family: 'Glyphicons Halflings'; + -webkit-font-smoothing: antialiased; + font-style: normal; + font-weight: normal; + line-height: 1; + -moz-osx-font-smoothing: grayscale; +} + +.glyphicon:empty { + width: 1em; +} + +.glyphicon-asterisk:before { + content: "\2a"; +} + +.glyphicon-plus:before { + content: "\2b"; +} + +.glyphicon-euro:before { + content: "\20ac"; +} + +.glyphicon-minus:before { + content: "\2212"; +} + +.glyphicon-cloud:before { + content: "\2601"; +} + +.glyphicon-envelope:before { + content: "\2709"; +} + +.glyphicon-pencil:before { + content: "\270f"; +} + +.glyphicon-glass:before { + content: "\e001"; +} + +.glyphicon-music:before { + content: "\e002"; +} + +.glyphicon-search:before { + content: "\e003"; +} + +.glyphicon-heart:before { + content: "\e005"; +} + +.glyphicon-star:before { + content: "\e006"; +} + +.glyphicon-star-empty:before { + content: "\e007"; +} + +.glyphicon-user:before { + content: "\e008"; +} + +.glyphicon-film:before { + content: "\e009"; +} + +.glyphicon-th-large:before { + content: "\e010"; +} + +.glyphicon-th:before { + content: "\e011"; +} + +.glyphicon-th-list:before { + content: "\e012"; +} + +.glyphicon-ok:before { + content: "\e013"; +} + +.glyphicon-remove:before { + content: "\e014"; +} + +.glyphicon-zoom-in:before { + content: "\e015"; +} + +.glyphicon-zoom-out:before { + content: "\e016"; +} + +.glyphicon-off:before { + content: "\e017"; +} + +.glyphicon-signal:before { + content: "\e018"; +} + +.glyphicon-cog:before { + content: "\e019"; +} + +.glyphicon-trash:before { + content: "\e020"; +} + +.glyphicon-home:before { + content: "\e021"; +} + +.glyphicon-file:before { + content: "\e022"; +} + +.glyphicon-time:before { + content: "\e023"; +} + +.glyphicon-road:before { + content: "\e024"; +} + +.glyphicon-download-alt:before { + content: "\e025"; +} + +.glyphicon-download:before { + content: "\e026"; +} + +.glyphicon-upload:before { + content: "\e027"; +} + +.glyphicon-inbox:before { + content: "\e028"; +} + +.glyphicon-play-circle:before { + content: "\e029"; +} + +.glyphicon-repeat:before { + content: "\e030"; +} + +.glyphicon-refresh:before { + content: "\e031"; +} + +.glyphicon-list-alt:before { + content: "\e032"; +} + +.glyphicon-lock:before { + content: "\e033"; +} + +.glyphicon-flag:before { + content: "\e034"; +} + +.glyphicon-headphones:before { + content: "\e035"; +} + +.glyphicon-volume-off:before { + content: "\e036"; +} + +.glyphicon-volume-down:before { + content: "\e037"; +} + +.glyphicon-volume-up:before { + content: "\e038"; +} + +.glyphicon-qrcode:before { + content: "\e039"; +} + +.glyphicon-barcode:before { + content: "\e040"; +} + +.glyphicon-tag:before { + content: "\e041"; +} + +.glyphicon-tags:before { + content: "\e042"; +} + +.glyphicon-book:before { + content: "\e043"; +} + +.glyphicon-bookmark:before { + content: "\e044"; +} + +.glyphicon-print:before { + content: "\e045"; +} + +.glyphicon-camera:before { + content: "\e046"; +} + +.glyphicon-font:before { + content: "\e047"; +} + +.glyphicon-bold:before { + content: "\e048"; +} + +.glyphicon-italic:before { + content: "\e049"; +} + +.glyphicon-text-height:before { + content: "\e050"; +} + +.glyphicon-text-width:before { + content: "\e051"; +} + +.glyphicon-align-left:before { + content: "\e052"; +} + +.glyphicon-align-center:before { + content: "\e053"; +} + +.glyphicon-align-right:before { + content: "\e054"; +} + +.glyphicon-align-justify:before { + content: "\e055"; +} + +.glyphicon-list:before { + content: "\e056"; +} + +.glyphicon-indent-left:before { + content: "\e057"; +} + +.glyphicon-indent-right:before { + content: "\e058"; +} + +.glyphicon-facetime-video:before { + content: "\e059"; +} + +.glyphicon-picture:before { + content: "\e060"; +} + +.glyphicon-map-marker:before { + content: "\e062"; +} + +.glyphicon-adjust:before { + content: "\e063"; +} + +.glyphicon-tint:before { + content: "\e064"; +} + +.glyphicon-edit:before { + content: "\e065"; +} + +.glyphicon-share:before { + content: "\e066"; +} + +.glyphicon-check:before { + content: "\e067"; +} + +.glyphicon-move:before { + content: "\e068"; +} + +.glyphicon-step-backward:before { + content: "\e069"; +} + +.glyphicon-fast-backward:before { + content: "\e070"; +} + +.glyphicon-backward:before { + content: "\e071"; +} + +.glyphicon-play:before { + content: "\e072"; +} + +.glyphicon-pause:before { + content: "\e073"; +} + +.glyphicon-stop:before { + content: "\e074"; +} + +.glyphicon-forward:before { + content: "\e075"; +} + +.glyphicon-fast-forward:before { + content: "\e076"; +} + +.glyphicon-step-forward:before { + content: "\e077"; +} + +.glyphicon-eject:before { + content: "\e078"; +} + +.glyphicon-chevron-left:before { + content: "\e079"; +} + +.glyphicon-chevron-right:before { + content: "\e080"; +} + +.glyphicon-plus-sign:before { + content: "\e081"; +} + +.glyphicon-minus-sign:before { + content: "\e082"; +} + +.glyphicon-remove-sign:before { + content: "\e083"; +} + +.glyphicon-ok-sign:before { + content: "\e084"; +} + +.glyphicon-question-sign:before { + content: "\e085"; +} + +.glyphicon-info-sign:before { + content: "\e086"; +} + +.glyphicon-screenshot:before { + content: "\e087"; +} + +.glyphicon-remove-circle:before { + content: "\e088"; +} + +.glyphicon-ok-circle:before { + content: "\e089"; +} + +.glyphicon-ban-circle:before { + content: "\e090"; +} + +.glyphicon-arrow-left:before { + content: "\e091"; +} + +.glyphicon-arrow-right:before { + content: "\e092"; +} + +.glyphicon-arrow-up:before { + content: "\e093"; +} + +.glyphicon-arrow-down:before { + content: "\e094"; +} + +.glyphicon-share-alt:before { + content: "\e095"; +} + +.glyphicon-resize-full:before { + content: "\e096"; +} + +.glyphicon-resize-small:before { + content: "\e097"; +} + +.glyphicon-exclamation-sign:before { + content: "\e101"; +} + +.glyphicon-gift:before { + content: "\e102"; +} + +.glyphicon-leaf:before { + content: "\e103"; +} + +.glyphicon-fire:before { + content: "\e104"; +} + +.glyphicon-eye-open:before { + content: "\e105"; +} + +.glyphicon-eye-close:before { + content: "\e106"; +} + +.glyphicon-warning-sign:before { + content: "\e107"; +} + +.glyphicon-plane:before { + content: "\e108"; +} + +.glyphicon-calendar:before { + content: "\e109"; +} + +.glyphicon-random:before { + content: "\e110"; +} + +.glyphicon-comment:before { + content: "\e111"; +} + +.glyphicon-magnet:before { + content: "\e112"; +} + +.glyphicon-chevron-up:before { + content: "\e113"; +} + +.glyphicon-chevron-down:before { + content: "\e114"; +} + +.glyphicon-retweet:before { + content: "\e115"; +} + +.glyphicon-shopping-cart:before { + content: "\e116"; +} + +.glyphicon-folder-close:before { + content: "\e117"; +} + +.glyphicon-folder-open:before { + content: "\e118"; +} + +.glyphicon-resize-vertical:before { + content: "\e119"; +} + +.glyphicon-resize-horizontal:before { + content: "\e120"; +} + +.glyphicon-hdd:before { + content: "\e121"; +} + +.glyphicon-bullhorn:before { + content: "\e122"; +} + +.glyphicon-bell:before { + content: "\e123"; +} + +.glyphicon-certificate:before { + content: "\e124"; +} + +.glyphicon-thumbs-up:before { + content: "\e125"; +} + +.glyphicon-thumbs-down:before { + content: "\e126"; +} + +.glyphicon-hand-right:before { + content: "\e127"; +} + +.glyphicon-hand-left:before { + content: "\e128"; +} + +.glyphicon-hand-up:before { + content: "\e129"; +} + +.glyphicon-hand-down:before { + content: "\e130"; +} + +.glyphicon-circle-arrow-right:before { + content: "\e131"; +} + +.glyphicon-circle-arrow-left:before { + content: "\e132"; +} + +.glyphicon-circle-arrow-up:before { + content: "\e133"; +} + +.glyphicon-circle-arrow-down:before { + content: "\e134"; +} + +.glyphicon-globe:before { + content: "\e135"; +} + +.glyphicon-wrench:before { + content: "\e136"; +} + +.glyphicon-tasks:before { + content: "\e137"; +} + +.glyphicon-filter:before { + content: "\e138"; +} + +.glyphicon-briefcase:before { + content: "\e139"; +} + +.glyphicon-fullscreen:before { + content: "\e140"; +} + +.glyphicon-dashboard:before { + content: "\e141"; +} + +.glyphicon-paperclip:before { + content: "\e142"; +} + +.glyphicon-heart-empty:before { + content: "\e143"; +} + +.glyphicon-link:before { + content: "\e144"; +} + +.glyphicon-phone:before { + content: "\e145"; +} + +.glyphicon-pushpin:before { + content: "\e146"; +} + +.glyphicon-usd:before { + content: "\e148"; +} + +.glyphicon-gbp:before { + content: "\e149"; +} + +.glyphicon-sort:before { + content: "\e150"; +} + +.glyphicon-sort-by-alphabet:before { + content: "\e151"; +} + +.glyphicon-sort-by-alphabet-alt:before { + content: "\e152"; +} + +.glyphicon-sort-by-order:before { + content: "\e153"; +} + +.glyphicon-sort-by-order-alt:before { + content: "\e154"; +} + +.glyphicon-sort-by-attributes:before { + content: "\e155"; +} + +.glyphicon-sort-by-attributes-alt:before { + content: "\e156"; +} + +.glyphicon-unchecked:before { + content: "\e157"; +} + +.glyphicon-expand:before { + content: "\e158"; +} + +.glyphicon-collapse-down:before { + content: "\e159"; +} + +.glyphicon-collapse-up:before { + content: "\e160"; +} + +.glyphicon-log-in:before { + content: "\e161"; +} + +.glyphicon-flash:before { + content: "\e162"; +} + +.glyphicon-log-out:before { + content: "\e163"; +} + +.glyphicon-new-window:before { + content: "\e164"; +} + +.glyphicon-record:before { + content: "\e165"; +} + +.glyphicon-save:before { + content: "\e166"; +} + +.glyphicon-open:before { + content: "\e167"; +} + +.glyphicon-saved:before { + content: "\e168"; +} + +.glyphicon-import:before { + content: "\e169"; +} + +.glyphicon-export:before { + content: "\e170"; +} + +.glyphicon-send:before { + content: "\e171"; +} + +.glyphicon-floppy-disk:before { + content: "\e172"; +} + +.glyphicon-floppy-saved:before { + content: "\e173"; +} + +.glyphicon-floppy-remove:before { + content: "\e174"; +} + +.glyphicon-floppy-save:before { + content: "\e175"; +} + +.glyphicon-floppy-open:before { + content: "\e176"; +} + +.glyphicon-credit-card:before { + content: "\e177"; +} + +.glyphicon-transfer:before { + content: "\e178"; +} + +.glyphicon-cutlery:before { + content: "\e179"; +} + +.glyphicon-header:before { + content: "\e180"; +} + +.glyphicon-compressed:before { + content: "\e181"; +} + +.glyphicon-earphone:before { + content: "\e182"; +} + +.glyphicon-phone-alt:before { + content: "\e183"; +} + +.glyphicon-tower:before { + content: "\e184"; +} + +.glyphicon-stats:before { + content: "\e185"; +} + +.glyphicon-sd-video:before { + content: "\e186"; +} + +.glyphicon-hd-video:before { + content: "\e187"; +} + +.glyphicon-subtitles:before { + content: "\e188"; +} + +.glyphicon-sound-stereo:before { + content: "\e189"; +} + +.glyphicon-sound-dolby:before { + content: "\e190"; +} + +.glyphicon-sound-5-1:before { + content: "\e191"; +} + +.glyphicon-sound-6-1:before { + content: "\e192"; +} + +.glyphicon-sound-7-1:before { + content: "\e193"; +} + +.glyphicon-copyright-mark:before { + content: "\e194"; +} + +.glyphicon-registration-mark:before { + content: "\e195"; +} + +.glyphicon-cloud-download:before { + content: "\e197"; +} + +.glyphicon-cloud-upload:before { + content: "\e198"; +} + +.glyphicon-tree-conifer:before { + content: "\e199"; +} + +.glyphicon-tree-deciduous:before { + content: "\e200"; +} + +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px solid; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} + +.dropdown { + position: relative; +} + +.dropdown-toggle:focus { + outline: 0; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + font-size: 14px; + list-style: none; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 4px; + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); + background-clip: padding-box; +} + +.dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.dropdown-menu .divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.428571429; + color: #333333; + white-space: nowrap; +} + +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + color: #262626; + text-decoration: none; + background-color: #f5f5f5; +} + +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #ffffff; + text-decoration: none; + background-color: #428bca; + outline: 0; +} + +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #999999; +} + +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + cursor: not-allowed; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.open > .dropdown-menu { + display: block; +} + +.open > a { + outline: 0; +} + +.dropdown-header { + display: block; + padding: 3px 20px; + font-size: 12px; + line-height: 1.428571429; + color: #999999; +} + +.dropdown-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 990; +} + +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} + +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + border-top: 0; + border-bottom: 4px solid; + content: ""; +} + +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 1px; +} + +@media (min-width: 768px) { + .navbar-right .dropdown-menu { + right: 0; + left: auto; + } +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} + +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + float: left; +} + +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover, +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus, +.btn-group > .btn:active, +.btn-group-vertical > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn.active { + z-index: 2; +} + +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus { + outline: none; +} + +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group { + margin-left: -1px; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar:before, +.btn-toolbar:after { + display: table; + content: " "; +} + +.btn-toolbar:after { + clear: both; +} + +.btn-toolbar .btn-group { + float: left; +} + +.btn-toolbar > .btn + .btn, +.btn-toolbar > .btn-group + .btn, +.btn-toolbar > .btn + .btn-group, +.btn-toolbar > .btn-group + .btn-group { + margin-left: 5px; +} + +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0; +} + +.btn-group > .btn:first-child { + margin-left: 0; +} + +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group > .btn-group { + float: left; +} + +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group > .btn-group:first-child > .btn:last-child, +.btn-group > .btn-group:first-child > .dropdown-toggle { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn-group:last-child > .btn:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} + +.btn-group-xs > .btn { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-sm > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +.btn-group-lg > .btn { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +.btn-group > .btn + .dropdown-toggle { + padding-right: 8px; + padding-left: 8px; +} + +.btn-group > .btn-lg + .dropdown-toggle { + padding-right: 12px; + padding-left: 12px; +} + +.btn-group.open .dropdown-toggle { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn-group.open .dropdown-toggle.btn-link { + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn .caret { + margin-left: 0; +} + +.btn-lg .caret { + border-width: 5px 5px 0; + border-bottom-width: 0; +} + +.dropup .btn-lg .caret { + border-width: 0 5px 5px; +} + +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group, +.btn-group-vertical > .btn-group > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group:before, +.btn-group-vertical > .btn-group:after { + display: table; + content: " "; +} + +.btn-group-vertical > .btn-group:after { + clear: both; +} + +.btn-group-vertical > .btn-group > .btn { + float: none; +} + +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} + +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-top-right-radius: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 0; +} + +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} + +.btn-group-vertical > .btn-group:first-child > .btn:last-child, +.btn-group-vertical > .btn-group:first-child > .dropdown-toggle { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn-group:last-child > .btn:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.btn-group-justified { + display: table; + width: 100%; + border-collapse: separate; + table-layout: fixed; +} + +.btn-group-justified > .btn, +.btn-group-justified > .btn-group { + display: table-cell; + float: none; + width: 1%; +} + +.btn-group-justified > .btn-group .btn { + width: 100%; +} + +[data-toggle="buttons"] > .btn > input[type="radio"], +[data-toggle="buttons"] > .btn > input[type="checkbox"] { + display: none; +} + +.input-group { + position: relative; + display: table; + border-collapse: separate; +} + +.input-group[class*="col-"] { + float: none; + padding-right: 0; + padding-left: 0; +} + +.input-group .form-control { + width: 100%; + margin-bottom: 0; +} + +.input-group-lg > .form-control, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px; +} + +select.input-group-lg > .form-control, +select.input-group-lg > .input-group-addon, +select.input-group-lg > .input-group-btn > .btn { + height: 46px; + line-height: 46px; +} + +textarea.input-group-lg > .form-control, +textarea.input-group-lg > .input-group-addon, +textarea.input-group-lg > .input-group-btn > .btn { + height: auto; +} + +.input-group-sm > .form-control, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} + +select.input-group-sm > .form-control, +select.input-group-sm > .input-group-addon, +select.input-group-sm > .input-group-btn > .btn { + height: 30px; + line-height: 30px; +} + +textarea.input-group-sm > .form-control, +textarea.input-group-sm > .input-group-addon, +textarea.input-group-sm > .input-group-btn > .btn { + height: auto; +} + +.input-group-addon, +.input-group-btn, +.input-group .form-control { + display: table-cell; +} + +.input-group-addon:not(:first-child):not(:last-child), +.input-group-btn:not(:first-child):not(:last-child), +.input-group .form-control:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.input-group-addon, +.input-group-btn { + width: 1%; + white-space: nowrap; + vertical-align: middle; +} + +.input-group-addon { + padding: 6px 12px; + font-size: 14px; + font-weight: normal; + line-height: 1; + color: #555555; + text-align: center; + background-color: #eeeeee; + border: 1px solid #cccccc; + border-radius: 4px; +} + +.input-group-addon.input-sm { + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; +} + +.input-group-addon.input-lg { + padding: 10px 16px; + font-size: 18px; + border-radius: 6px; +} + +.input-group-addon input[type="radio"], +.input-group-addon input[type="checkbox"] { + margin-top: 0; +} + +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group-addon:first-child { + border-right: 0; +} + +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} + +.input-group-addon:last-child { + border-left: 0; +} + +.input-group-btn { + position: relative; + white-space: nowrap; +} + +.input-group-btn:first-child > .btn { + margin-right: -1px; +} + +.input-group-btn:last-child > .btn { + margin-left: -1px; +} + +.input-group-btn > .btn { + position: relative; +} + +.input-group-btn > .btn + .btn { + margin-left: -4px; +} + +.input-group-btn > .btn:hover, +.input-group-btn > .btn:active { + z-index: 2; +} + +.nav { + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav:before, +.nav:after { + display: table; + content: " "; +} + +.nav:after { + clear: both; +} + +.nav > li { + position: relative; + display: block; +} + +.nav > li > a { + position: relative; + display: block; + padding: 10px 15px; +} + +.nav > li > a:hover, +.nav > li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.nav > li.disabled > a { + color: #999999; +} + +.nav > li.disabled > a:hover, +.nav > li.disabled > a:focus { + color: #999999; + text-decoration: none; + cursor: not-allowed; + background-color: transparent; +} + +.nav .open > a, +.nav .open > a:hover, +.nav .open > a:focus { + background-color: #eeeeee; + border-color: #428bca; +} + +.nav .nav-divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} + +.nav > li > a > img { + max-width: none; +} + +.nav-tabs { + border-bottom: 1px solid #dddddd; +} + +.nav-tabs > li { + float: left; + margin-bottom: -1px; +} + +.nav-tabs > li > a { + margin-right: 2px; + line-height: 1.428571429; + border: 1px solid transparent; + border-radius: 4px 4px 0 0; +} + +.nav-tabs > li > a:hover { + border-color: #eeeeee #eeeeee #dddddd; +} + +.nav-tabs > li.active > a, +.nav-tabs > li.active > a:hover, +.nav-tabs > li.active > a:focus { + color: #555555; + cursor: default; + background-color: #ffffff; + border: 1px solid #dddddd; + border-bottom-color: transparent; +} + +.nav-tabs.nav-justified { + width: 100%; + border-bottom: 0; +} + +.nav-tabs.nav-justified > li { + float: none; +} + +.nav-tabs.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-tabs.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-tabs.nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs.nav-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs.nav-justified > .active > a, +.nav-tabs.nav-justified > .active > a:hover, +.nav-tabs.nav-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs.nav-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs.nav-justified > .active > a, + .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs.nav-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.nav-pills > li { + float: left; +} + +.nav-pills > li > a { + border-radius: 4px; +} + +.nav-pills > li + li { + margin-left: 2px; +} + +.nav-pills > li.active > a, +.nav-pills > li.active > a:hover, +.nav-pills > li.active > a:focus { + color: #ffffff; + background-color: #428bca; +} + +.nav-stacked > li { + float: none; +} + +.nav-stacked > li + li { + margin-top: 2px; + margin-left: 0; +} + +.nav-justified { + width: 100%; +} + +.nav-justified > li { + float: none; +} + +.nav-justified > li > a { + margin-bottom: 5px; + text-align: center; +} + +.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} + +@media (min-width: 768px) { + .nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-justified > li > a { + margin-bottom: 0; + } +} + +.nav-tabs-justified { + border-bottom: 0; +} + +.nav-tabs-justified > li > a { + margin-right: 0; + border-radius: 4px; +} + +.nav-tabs-justified > .active > a, +.nav-tabs-justified > .active > a:hover, +.nav-tabs-justified > .active > a:focus { + border: 1px solid #dddddd; +} + +@media (min-width: 768px) { + .nav-tabs-justified > li > a { + border-bottom: 1px solid #dddddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs-justified > .active > a, + .nav-tabs-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus { + border-bottom-color: #ffffff; + } +} + +.tab-content > .tab-pane { + display: none; +} + +.tab-content > .active { + display: block; +} + +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar { + position: relative; + min-height: 50px; + margin-bottom: 20px; + border: 1px solid transparent; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +.navbar:before, +.navbar:after { + display: table; + content: " "; +} + +.navbar:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar { + border-radius: 4px; + } +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +.navbar-header:before, +.navbar-header:after { + display: table; + content: " "; +} + +.navbar-header:after { + clear: both; +} + +@media (min-width: 768px) { + .navbar-header { + float: left; + } +} + +.navbar-collapse { + max-height: 340px; + padding-right: 15px; + padding-left: 15px; + overflow-x: visible; + border-top: 1px solid transparent; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); + -webkit-overflow-scrolling: touch; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse:before, +.navbar-collapse:after { + display: table; + content: " "; +} + +.navbar-collapse:after { + clear: both; +} + +.navbar-collapse.in { + overflow-y: auto; +} + +@media (min-width: 768px) { + .navbar-collapse { + width: auto; + border-top: 0; + box-shadow: none; + } + .navbar-collapse.collapse { + display: block !important; + height: auto !important; + padding-bottom: 0; + overflow: visible !important; + } + .navbar-collapse.in { + overflow-y: visible; + } + .navbar-fixed-top .navbar-collapse, + .navbar-static-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + padding-right: 0; + padding-left: 0; + } +} + +.container > .navbar-header, +.container > .navbar-collapse { + margin-right: -15px; + margin-left: -15px; +} + +@media (min-width: 768px) { + .container > .navbar-header, + .container > .navbar-collapse { + margin-right: 0; + margin-left: 0; + } +} + +.navbar-static-top { + z-index: 1000; + border-width: 0 0 1px; +} + +@media (min-width: 768px) { + .navbar-static-top { + border-radius: 0; + } +} + +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; +} + +@media (min-width: 768px) { + .navbar-fixed-top, + .navbar-fixed-bottom { + border-radius: 0; + } +} + +.navbar-fixed-top { + top: 0; + border-width: 0 0 1px; +} + +.navbar-fixed-bottom { + bottom: 0; + margin-bottom: 0; + border-width: 1px 0 0; +} + +.navbar-brand { + float: left; + padding: 15px 15px; + font-size: 18px; + line-height: 20px; +} + +.navbar-brand:hover, +.navbar-brand:focus { + text-decoration: none; +} + +@media (min-width: 768px) { + .navbar > .container .navbar-brand { + margin-left: -15px; + } +} + +.navbar-toggle { + position: relative; + float: right; + padding: 9px 10px; + margin-top: 8px; + margin-right: 15px; + margin-bottom: 8px; + background-color: transparent; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; +} + +.navbar-toggle .icon-bar { + display: block; + width: 22px; + height: 2px; + border-radius: 1px; +} + +.navbar-toggle .icon-bar + .icon-bar { + margin-top: 4px; +} + +@media (min-width: 768px) { + .navbar-toggle { + display: none; + } +} + +.navbar-nav { + margin: 7.5px -15px; +} + +.navbar-nav > li > a { + padding-top: 10px; + padding-bottom: 10px; + line-height: 20px; +} + +@media (max-width: 767px) { + .navbar-nav .open .dropdown-menu { + position: static; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + box-shadow: none; + } + .navbar-nav .open .dropdown-menu > li > a, + .navbar-nav .open .dropdown-menu .dropdown-header { + padding: 5px 15px 5px 25px; + } + .navbar-nav .open .dropdown-menu > li > a { + line-height: 20px; + } + .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-nav .open .dropdown-menu > li > a:focus { + background-image: none; + } +} + +@media (min-width: 768px) { + .navbar-nav { + float: left; + margin: 0; + } + .navbar-nav > li { + float: left; + } + .navbar-nav > li > a { + padding-top: 15px; + padding-bottom: 15px; + } + .navbar-nav.navbar-right:last-child { + margin-right: -15px; + } +} + +@media (min-width: 768px) { + .navbar-left { + float: left !important; + } + .navbar-right { + float: right !important; + } +} + +.navbar-form { + padding: 10px 15px; + margin-top: 8px; + margin-right: -15px; + margin-bottom: 8px; + margin-left: -15px; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); +} + +@media (min-width: 768px) { + .navbar-form .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .navbar-form .form-control { + display: inline-block; + } + .navbar-form select.form-control { + width: auto; + } + .navbar-form .radio, + .navbar-form .checkbox { + display: inline-block; + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .navbar-form .radio input[type="radio"], + .navbar-form .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } +} + +@media (max-width: 767px) { + .navbar-form .form-group { + margin-bottom: 5px; + } +} + +@media (min-width: 768px) { + .navbar-form { + width: auto; + padding-top: 0; + padding-bottom: 0; + margin-right: 0; + margin-left: 0; + border: 0; + -webkit-box-shadow: none; + box-shadow: none; + } + .navbar-form.navbar-right:last-child { + margin-right: -15px; + } +} + +.navbar-nav > li > .dropdown-menu { + margin-top: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.navbar-nav.pull-right > li > .dropdown-menu, +.navbar-nav > li > .dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.navbar-btn { + margin-top: 8px; + margin-bottom: 8px; +} + +.navbar-btn.btn-sm { + margin-top: 10px; + margin-bottom: 10px; +} + +.navbar-btn.btn-xs { + margin-top: 14px; + margin-bottom: 14px; +} + +.navbar-text { + margin-top: 15px; + margin-bottom: 15px; +} + +@media (min-width: 768px) { + .navbar-text { + float: left; + margin-right: 15px; + margin-left: 15px; + } + .navbar-text.navbar-right:last-child { + margin-right: 0; + } +} + +.navbar-default { + background-color: #f8f8f8; + border-color: #e7e7e7; +} + +.navbar-default .navbar-brand { + color: #777777; +} + +.navbar-default .navbar-brand:hover, +.navbar-default .navbar-brand:focus { + color: #5e5e5e; + background-color: transparent; +} + +.navbar-default .navbar-text { + color: #777777; +} + +.navbar-default .navbar-nav > li > a { + color: #777777; +} + +.navbar-default .navbar-nav > li > a:hover, +.navbar-default .navbar-nav > li > a:focus { + color: #333333; + background-color: transparent; +} + +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .disabled > a, +.navbar-default .navbar-nav > .disabled > a:hover, +.navbar-default .navbar-nav > .disabled > a:focus { + color: #cccccc; + background-color: transparent; +} + +.navbar-default .navbar-toggle { + border-color: #dddddd; +} + +.navbar-default .navbar-toggle:hover, +.navbar-default .navbar-toggle:focus { + background-color: #dddddd; +} + +.navbar-default .navbar-toggle .icon-bar { + background-color: #cccccc; +} + +.navbar-default .navbar-collapse, +.navbar-default .navbar-form { + border-color: #e7e7e7; +} + +.navbar-default .navbar-nav > .open > a, +.navbar-default .navbar-nav > .open > a:hover, +.navbar-default .navbar-nav > .open > a:focus { + color: #555555; + background-color: #e7e7e7; +} + +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a { + color: #777777; + } + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + color: #333333; + background-color: transparent; + } + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #555555; + background-color: #e7e7e7; + } + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #cccccc; + background-color: transparent; + } +} + +.navbar-default .navbar-link { + color: #777777; +} + +.navbar-default .navbar-link:hover { + color: #333333; +} + +.navbar-inverse { + background-color: #222222; + border-color: #080808; +} + +.navbar-inverse .navbar-brand { + color: #999999; +} + +.navbar-inverse .navbar-brand:hover, +.navbar-inverse .navbar-brand:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-text { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a { + color: #999999; +} + +.navbar-inverse .navbar-nav > li > a:hover, +.navbar-inverse .navbar-nav > li > a:focus { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .navbar-nav > .active > a, +.navbar-inverse .navbar-nav > .active > a:hover, +.navbar-inverse .navbar-nav > .active > a:focus { + color: #ffffff; + background-color: #080808; +} + +.navbar-inverse .navbar-nav > .disabled > a, +.navbar-inverse .navbar-nav > .disabled > a:hover, +.navbar-inverse .navbar-nav > .disabled > a:focus { + color: #444444; + background-color: transparent; +} + +.navbar-inverse .navbar-toggle { + border-color: #333333; +} + +.navbar-inverse .navbar-toggle:hover, +.navbar-inverse .navbar-toggle:focus { + background-color: #333333; +} + +.navbar-inverse .navbar-toggle .icon-bar { + background-color: #ffffff; +} + +.navbar-inverse .navbar-collapse, +.navbar-inverse .navbar-form { + border-color: #101010; +} + +.navbar-inverse .navbar-nav > .open > a, +.navbar-inverse .navbar-nav > .open > a:hover, +.navbar-inverse .navbar-nav > .open > a:focus { + color: #ffffff; + background-color: #080808; +} + +@media (max-width: 767px) { + .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { + border-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu .divider { + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { + color: #999999; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + color: #ffffff; + background-color: transparent; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #ffffff; + background-color: #080808; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #444444; + background-color: transparent; + } +} + +.navbar-inverse .navbar-link { + color: #999999; +} + +.navbar-inverse .navbar-link:hover { + color: #ffffff; +} + +.breadcrumb { + padding: 8px 15px; + margin-bottom: 20px; + list-style: none; + background-color: #f5f5f5; + border-radius: 4px; +} + +.breadcrumb > li { + display: inline-block; +} + +.breadcrumb > li + li:before { + padding: 0 5px; + color: #cccccc; + content: "/\00a0"; +} + +.breadcrumb > .active { + color: #999999; +} + +.pagination { + display: inline-block; + padding-left: 0; + margin: 20px 0; + border-radius: 4px; +} + +.pagination > li { + display: inline; +} + +.pagination > li > a, +.pagination > li > span { + position: relative; + float: left; + padding: 6px 12px; + margin-left: -1px; + line-height: 1.428571429; + text-decoration: none; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.pagination > li:first-child > a, +.pagination > li:first-child > span { + margin-left: 0; + border-bottom-left-radius: 4px; + border-top-left-radius: 4px; +} + +.pagination > li:last-child > a, +.pagination > li:last-child > span { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} + +.pagination > li > a:hover, +.pagination > li > span:hover, +.pagination > li > a:focus, +.pagination > li > span:focus { + background-color: #eeeeee; +} + +.pagination > .active > a, +.pagination > .active > span, +.pagination > .active > a:hover, +.pagination > .active > span:hover, +.pagination > .active > a:focus, +.pagination > .active > span:focus { + z-index: 2; + color: #ffffff; + cursor: default; + background-color: #428bca; + border-color: #428bca; +} + +.pagination > .disabled > span, +.pagination > .disabled > span:hover, +.pagination > .disabled > span:focus, +.pagination > .disabled > a, +.pagination > .disabled > a:hover, +.pagination > .disabled > a:focus { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; + border-color: #dddddd; +} + +.pagination-lg > li > a, +.pagination-lg > li > span { + padding: 10px 16px; + font-size: 18px; +} + +.pagination-lg > li:first-child > a, +.pagination-lg > li:first-child > span { + border-bottom-left-radius: 6px; + border-top-left-radius: 6px; +} + +.pagination-lg > li:last-child > a, +.pagination-lg > li:last-child > span { + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; +} + +.pagination-sm > li > a, +.pagination-sm > li > span { + padding: 5px 10px; + font-size: 12px; +} + +.pagination-sm > li:first-child > a, +.pagination-sm > li:first-child > span { + border-bottom-left-radius: 3px; + border-top-left-radius: 3px; +} + +.pagination-sm > li:last-child > a, +.pagination-sm > li:last-child > span { + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} + +.pager { + padding-left: 0; + margin: 20px 0; + text-align: center; + list-style: none; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager:before, +.pager:after { + display: table; + content: " "; +} + +.pager:after { + clear: both; +} + +.pager li { + display: inline; +} + +.pager li > a, +.pager li > span { + display: inline-block; + padding: 5px 14px; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 15px; +} + +.pager li > a:hover, +.pager li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.pager .next > a, +.pager .next > span { + float: right; +} + +.pager .previous > a, +.pager .previous > span { + float: left; +} + +.pager .disabled > a, +.pager .disabled > a:hover, +.pager .disabled > a:focus, +.pager .disabled > span { + color: #999999; + cursor: not-allowed; + background-color: #ffffff; +} + +.label { + display: inline; + padding: .2em .6em .3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25em; +} + +.label[href]:hover, +.label[href]:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +.label:empty { + display: none; +} + +.btn .label { + position: relative; + top: -1px; +} + +.label-default { + background-color: #999999; +} + +.label-default[href]:hover, +.label-default[href]:focus { + background-color: #808080; +} + +.label-primary { + background-color: #428bca; +} + +.label-primary[href]:hover, +.label-primary[href]:focus { + background-color: #3071a9; +} + +.label-success { + background-color: #5cb85c; +} + +.label-success[href]:hover, +.label-success[href]:focus { + background-color: #449d44; +} + +.label-info { + background-color: #5bc0de; +} + +.label-info[href]:hover, +.label-info[href]:focus { + background-color: #31b0d5; +} + +.label-warning { + background-color: #f0ad4e; +} + +.label-warning[href]:hover, +.label-warning[href]:focus { + background-color: #ec971f; +} + +.label-minor { + background-color: #fad664; +} +.label-minor[href]:hover, +.label-minor[href]:focus { + background-color: #f8c933; +} + +.label-danger { + background-color: #d9534f; +} + +.label-danger[href]:hover, +.label-danger[href]:focus { + background-color: #c9302c; +} + +.badge { + display: inline-block; + min-width: 10px; + padding: 3px 7px; + font-size: 12px; + font-weight: bold; + line-height: 1; + color: #ffffff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + background-color: #999999; + border-radius: 10px; +} + +.badge:empty { + display: none; +} + +.btn .badge { + position: relative; + top: -1px; +} + +a.badge:hover, +a.badge:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +a.list-group-item.active > .badge, +.nav-pills > .active > a > .badge { + color: #428bca; + background-color: #ffffff; +} + +.nav-pills > li > a > .badge { + margin-left: 3px; +} + +/*.jumbotron { + padding: 30px; + margin-bottom: 30px; + font-size: 21px; + font-weight: 200; + line-height: 2.1428571435; + color: inherit; + background-color: #eeeeee; +} + +.jumbotron h1, +.jumbotron .h1 { + line-height: 1; + color: inherit; +} + +.jumbotron p { + line-height: 1.4; +} + +.container .jumbotron { + border-radius: 6px; +} + +.jumbotron .container { + max-width: 100%; +} + +@media screen and (min-width: 768px) { + .jumbotron { + padding-top: 48px; + padding-bottom: 48px; + } + .container .jumbotron { + padding-right: 60px; + padding-left: 60px; + } + .jumbotron h1, + .jumbotron .h1 { + font-size: 63px; + } +}*/ + +.thumbnail { + display: block; + padding: 4px; + margin-bottom: 20px; + line-height: 1.428571429; + background-color: #ffffff; + border: 1px solid #dddddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.thumbnail > img, +.thumbnail a > img { + display: block; + height: auto; + max-width: 100%; + margin-right: auto; + margin-left: auto; +} + +a.thumbnail:hover, +a.thumbnail:focus, +a.thumbnail.active { + border-color: #428bca; +} + +.thumbnail .caption { + padding: 9px; + color: #333333; +} + +.alert { + padding: 15px; + margin-bottom: 20px; + border: 1px solid transparent; + border-radius: 4px; +} + +.alert h4 { + margin-top: 0; + color: inherit; +} + +.alert .alert-link { + font-weight: bold; +} + +.alert > p, +.alert > ul { + margin-bottom: 0; +} + +.alert > p + p { + margin-top: 5px; +} + +.alert-dismissable { + padding-right: 35px; +} + +.alert-dismissable .close { + position: relative; + top: -2px; + right: -21px; + color: inherit; +} + +.alert-success { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.alert-success hr { + border-top-color: #c9e2b3; +} + +.alert-success .alert-link { + color: #2b542c; +} + +.alert-info { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.alert-info hr { + border-top-color: #a6e1ec; +} + +.alert-info .alert-link { + color: #245269; +} + +.alert-warning { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.alert-warning hr { + border-top-color: #f7e1b5; +} + +.alert-warning .alert-link { + color: #66512c; +} + +.alert-danger { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.alert-danger hr { + border-top-color: #e4b9c0; +} + +.alert-danger .alert-link { + color: #843534; +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +.progress { + height: 20px; + margin-bottom: 20px; + overflow: hidden; + background-color: #f5f5f5; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.progress-bar { + float: left; + width: 0; + height: 100%; + font-size: 12px; + line-height: 20px; + color: #ffffff; + text-align: center; + background-color: #428bca; + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -webkit-transition: width 0.6s ease; + transition: width 0.6s ease; +} + +.progress-striped .progress-bar { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-size: 40px 40px; +} + +.progress.active .progress-bar { + -webkit-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} + +.progress-bar-success { + background-color: #5cb85c; +} + +.progress-striped .progress-bar-success { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-info { + background-color: #5bc0de; +} + +.progress-striped .progress-bar-info { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-warning { + background-color: #f0ad4e; +} + +.progress-striped .progress-bar-warning { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-bar-danger { + background-color: #d9534f; +} + +.progress-striped .progress-bar-danger { + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.media, +.media-body { + overflow: hidden; + zoom: 1; +} + +.media, +.media .media { + margin-top: 15px; +} + +.media:first-child { + margin-top: 0; +} + +.media-object { + display: block; +} + +.media-heading { + margin: 0 0 5px; +} + +.media > .pull-left { + margin-right: 10px; +} + +.media > .pull-right { + margin-left: 10px; +} + +.media-list { + padding-left: 0; + list-style: none; +} + +.list-group { + padding-left: 0; + margin-bottom: 20px; +} + +.list-group-item { + position: relative; + display: block; + padding: 10px 15px; + margin-bottom: -1px; + background-color: #ffffff; + border: 1px solid #dddddd; +} + +.list-group-item:first-child { + border-top-right-radius: 4px; + border-top-left-radius: 4px; +} + +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} + +.list-group-item > .badge { + float: right; +} + +.list-group-item > .badge + .badge { + margin-right: 5px; +} + +a.list-group-item { + color: #555555; +} + +a.list-group-item .list-group-item-heading { + color: #333333; +} + +a.list-group-item:hover, +a.list-group-item:focus { + text-decoration: none; + background-color: #f5f5f5; +} + +a.list-group-item.active, +a.list-group-item.active:hover, +a.list-group-item.active:focus { + z-index: 2; + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +a.list-group-item.active .list-group-item-heading, +a.list-group-item.active:hover .list-group-item-heading, +a.list-group-item.active:focus .list-group-item-heading { + color: inherit; +} + +a.list-group-item.active .list-group-item-text, +a.list-group-item.active:hover .list-group-item-text, +a.list-group-item.active:focus .list-group-item-text { + color: #e1edf7; +} + +.list-group-item-heading { + margin-top: 0; + margin-bottom: 5px; +} + +.list-group-item-text { + margin-bottom: 0; + line-height: 1.3; +} + +.panel { + margin-bottom: 20px; + background-color: #ffffff; + border: 1px solid transparent; + border-radius: 4px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.panel-body { + padding: 15px; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel-body:before, +.panel-body:after { + display: table; + content: " "; +} + +.panel-body:after { + clear: both; +} + +.panel > .list-group { + margin-bottom: 0; +} + +.panel > .list-group .list-group-item { + border-width: 1px 0; +} + +.panel > .list-group .list-group-item:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} + +.panel > .list-group .list-group-item:last-child { + border-bottom: 0; +} + +.panel-heading + .list-group .list-group-item:first-child { + border-top-width: 0; +} + +.panel > .table, +.panel > .table-responsive > .table { + margin-bottom: 0; +} + +.panel > .panel-body + .table, +.panel > .panel-body + .table-responsive { + border-top: 1px solid #dddddd; +} + +.panel > .table > tbody:first-child th, +.panel > .table > tbody:first-child td { + border-top: 0; +} + +.panel > .table-bordered, +.panel > .table-responsive > .table-bordered { + border: 0; +} + +.panel > .table-bordered > thead > tr > th:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, +.panel > .table-bordered > tbody > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, +.panel > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-bordered > thead > tr > td:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, +.panel > .table-bordered > tbody > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, +.panel > .table-bordered > tfoot > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; +} + +.panel > .table-bordered > thead > tr > th:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, +.panel > .table-bordered > tbody > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, +.panel > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-bordered > thead > tr > td:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, +.panel > .table-bordered > tbody > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, +.panel > .table-bordered > tfoot > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; +} + +.panel > .table-bordered > thead > tr:last-child > th, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > th, +.panel > .table-bordered > tbody > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, +.panel > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-bordered > thead > tr:last-child > td, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > td, +.panel > .table-bordered > tbody > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, +.panel > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; +} + +.panel > .table-responsive { + margin-bottom: 0; + border: 0; +} + +.panel-heading { + padding: 10px 15px; + border-bottom: 1px solid transparent; + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} + +.panel-heading > .dropdown .dropdown-toggle { + color: inherit; +} + +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: 16px; + color: inherit; +} + +.panel-title > a { + color: inherit; +} + +.panel-footer { + padding: 10px 15px; + background-color: #f5f5f5; + border-top: 1px solid #dddddd; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} + +.panel-group .panel { + margin-bottom: 0; + overflow: hidden; + border-radius: 4px; +} + +.panel-group .panel + .panel { + margin-top: 5px; +} + +.panel-group .panel-heading { + border-bottom: 0; +} + +.panel-group .panel-heading + .panel-collapse .panel-body { + border-top: 1px solid #dddddd; +} + +.panel-group .panel-footer { + border-top: 0; +} + +.panel-group .panel-footer + .panel-collapse .panel-body { + border-bottom: 1px solid #dddddd; +} + +.panel-default { + border-color: #dddddd; +} + +.panel-default > .panel-heading { + color: #333333; + background-color: #f5f5f5; + border-color: #dddddd; +} + +.panel-default > .panel-heading + .panel-collapse .panel-body { + border-top-color: #dddddd; +} + +.panel-default > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #dddddd; +} + +.panel-primary { + border-color: #428bca; +} + +.panel-primary > .panel-heading { + color: #ffffff; + background-color: #428bca; + border-color: #428bca; +} + +.panel-primary > .panel-heading + .panel-collapse .panel-body { + border-top-color: #428bca; +} + +.panel-primary > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #428bca; +} + +.panel-success { + border-color: #d6e9c6; +} + +.panel-success > .panel-heading { + color: #3c763d; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.panel-success > .panel-heading + .panel-collapse .panel-body { + border-top-color: #d6e9c6; +} + +.panel-success > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #d6e9c6; +} + +.panel-warning { + border-color: #faebcc; +} + +.panel-warning > .panel-heading { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faebcc; +} + +.panel-warning > .panel-heading + .panel-collapse .panel-body { + border-top-color: #faebcc; +} + +.panel-warning > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #faebcc; +} + +.panel-danger { + border-color: #ebccd1; +} + +.panel-danger > .panel-heading { + color: #a94442; + background-color: #f2dede; + border-color: #ebccd1; +} + +.panel-danger > .panel-heading + .panel-collapse .panel-body { + border-top-color: #ebccd1; +} + +.panel-danger > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #ebccd1; +} + +.panel-info { + border-color: #bce8f1; +} + +.panel-info > .panel-heading { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.panel-info > .panel-heading + .panel-collapse .panel-body { + border-top-color: #bce8f1; +} + +.panel-info > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #bce8f1; +} + +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e3e3e3; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, 0.15); +} + +.well-lg { + padding: 24px; + border-radius: 6px; +} + +.well-sm { + padding: 9px; + border-radius: 3px; +} + +.close { + float: right; + font-size: 21px; + font-weight: bold; + line-height: 1; + color: #000000; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} + +.close:hover, +.close:focus { + color: #000000; + text-decoration: none; + cursor: pointer; + opacity: 0.5; + filter: alpha(opacity=50); +} + +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} + +.modal-open { + overflow: hidden; +} + +.modal { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + display: none; + overflow: auto; + overflow-y: scroll; +} + +.modal.fade .modal-dialog { + -webkit-transform: translate(0, -25%); + -ms-transform: translate(0, -25%); + transform: translate(0, -25%); + -webkit-transition: -webkit-transform 0.3s ease-out; + -moz-transition: -moz-transform 0.3s ease-out; + -o-transition: -o-transform 0.3s ease-out; + transition: transform 0.3s ease-out; +} + +.modal.in .modal-dialog { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); +} + +.modal-dialog { + position: relative; + z-index: 1050; + width: auto; + margin: 10px; +} + +.modal-content { + position: relative; + background-color: #ffffff; + border: 1px solid #999999; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + outline: none; + -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + background-clip: padding-box; +} + +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1030; + background-color: #000000; +} + +.modal-backdrop.fade { + opacity: 0; + filter: alpha(opacity=0); +} + +.modal-backdrop.in { + opacity: 0.5; + filter: alpha(opacity=50); +} + +.modal-header { + min-height: 16.428571429px; + padding: 15px; + border-bottom: 1px solid #e5e5e5; +} + +.modal-header .close { + margin-top: -2px; +} + +.modal-title { + margin: 0; + line-height: 1.428571429; +} + +.modal-body { + position: relative; + padding: 20px; +} + +.modal-footer { + padding: 19px 20px 20px; + margin-top: 15px; + text-align: right; + border-top: 1px solid #e5e5e5; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + content: " "; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer .btn + .btn { + margin-bottom: 0; + margin-left: 5px; +} + +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} + +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} + +@media screen and (min-width: 768px) { + .modal-dialog { + width: 600px; + margin: 30px auto; + } + .modal-content { + -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); + } +} + +.tooltip { + position: absolute; + z-index: 1030; + display: block; + font-size: 12px; + line-height: 1.4; + opacity: 0; + filter: alpha(opacity=0); + visibility: visible; +} + +.tooltip.in { + opacity: 0.9; + filter: alpha(opacity=90); +} + +.tooltip.top { + padding: 5px 0; + margin-top: -3px; +} + +.tooltip.right { + padding: 0 5px; + margin-left: 3px; +} + +.tooltip.bottom { + padding: 5px 0; + margin-top: 3px; +} + +.tooltip.left { + padding: 0 5px; + margin-left: -3px; +} + +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: #ffffff; + text-align: center; + text-decoration: none; + background-color: #000000; + border-radius: 4px; +} + +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-left .tooltip-arrow { + bottom: 0; + left: 5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.top-right .tooltip-arrow { + right: 5px; + bottom: 0; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-right-color: #000000; + border-width: 5px 5px 5px 0; +} + +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-left-color: #000000; + border-width: 5px 0 5px 5px; +} + +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-left .tooltip-arrow { + top: 0; + left: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.tooltip.bottom-right .tooltip-arrow { + top: 0; + right: 5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1010; + display: none; + max-width: 276px; + padding: 1px; + text-align: left; + white-space: normal; + background-color: #ffffff; + border: 1px solid #cccccc; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + background-clip: padding-box; +} + +.popover.top { + margin-top: -10px; +} + +.popover.right { + margin-left: 10px; +} + +.popover.bottom { + margin-top: 10px; +} + +.popover.left { + margin-left: -10px; +} + +.popover-title { + padding: 8px 14px; + margin: 0; + font-size: 14px; + font-weight: normal; + line-height: 18px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-radius: 5px 5px 0 0; +} + +.popover-content { + padding: 9px 14px; +} + +.popover .arrow, +.popover .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.popover .arrow { + border-width: 11px; +} + +.popover .arrow:after { + border-width: 10px; + content: ""; +} + +.popover.top .arrow { + bottom: -11px; + left: 50%; + margin-left: -11px; + border-top-color: #999999; + border-top-color: rgba(0, 0, 0, 0.25); + border-bottom-width: 0; +} + +.popover.top .arrow:after { + bottom: 1px; + margin-left: -10px; + border-top-color: #ffffff; + border-bottom-width: 0; + content: " "; +} + +.popover.right .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-right-color: #999999; + border-right-color: rgba(0, 0, 0, 0.25); + border-left-width: 0; +} + +.popover.right .arrow:after { + bottom: -10px; + left: 1px; + border-right-color: #ffffff; + border-left-width: 0; + content: " "; +} + +.popover.bottom .arrow { + top: -11px; + left: 50%; + margin-left: -11px; + border-bottom-color: #999999; + border-bottom-color: rgba(0, 0, 0, 0.25); + border-top-width: 0; +} + +.popover.bottom .arrow:after { + top: 1px; + margin-left: -10px; + border-bottom-color: #ffffff; + border-top-width: 0; + content: " "; +} + +.popover.left .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-left-color: #999999; + border-left-color: rgba(0, 0, 0, 0.25); + border-right-width: 0; +} + +.popover.left .arrow:after { + right: 1px; + bottom: -10px; + border-left-color: #ffffff; + border-right-width: 0; + content: " "; +} + +.carousel { + position: relative; +} + +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} + +.carousel-inner > .item { + position: relative; + display: none; + -webkit-transition: 0.6s ease-in-out left; + transition: 0.6s ease-in-out left; +} + +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + display: block; + height: auto; + max-width: 100%; + line-height: 1; +} + +.carousel-inner > .active, +.carousel-inner > .next, +.carousel-inner > .prev { + display: block; +} + +.carousel-inner > .active { + left: 0; +} + +.carousel-inner > .next, +.carousel-inner > .prev { + position: absolute; + top: 0; + width: 100%; +} + +.carousel-inner > .next { + left: 100%; +} + +.carousel-inner > .prev { + left: -100%; +} + +.carousel-inner > .next.left, +.carousel-inner > .prev.right { + left: 0; +} + +.carousel-inner > .active.left { + left: -100%; +} + +.carousel-inner > .active.right { + left: 100%; +} + +.carousel-control { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 15%; + font-size: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); + opacity: 0.5; + filter: alpha(opacity=50); +} + +.carousel-control.left { + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0), color-stop(rgba(0, 0, 0, 0.0001) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); +} + +.carousel-control.right { + right: 0; + left: auto; + background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0), color-stop(rgba(0, 0, 0, 0.5) 100%)); + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); +} + +.carousel-control:hover, +.carousel-control:focus { + color: #ffffff; + text-decoration: none; + outline: none; + opacity: 0.9; + filter: alpha(opacity=90); +} + +.carousel-control .icon-prev, +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-left, +.carousel-control .glyphicon-chevron-right { + position: absolute; + top: 50%; + z-index: 5; + display: inline-block; +} + +.carousel-control .icon-prev, +.carousel-control .glyphicon-chevron-left { + left: 50%; +} + +.carousel-control .icon-next, +.carousel-control .glyphicon-chevron-right { + right: 50%; +} + +.carousel-control .icon-prev, +.carousel-control .icon-next { + width: 20px; + height: 20px; + margin-top: -10px; + margin-left: -10px; + font-family: serif; +} + +.carousel-control .icon-prev:before { + content: '\2039'; +} + +.carousel-control .icon-next:before { + content: '\203a'; +} + +.carousel-indicators { + position: absolute; + bottom: 10px; + left: 50%; + z-index: 15; + width: 60%; + padding-left: 0; + margin-left: -30%; + text-align: center; + list-style: none; +} + +.carousel-indicators li { + display: inline-block; + width: 10px; + height: 10px; + margin: 1px; + text-indent: -999px; + cursor: pointer; + background-color: #000 \9; + background-color: rgba(0, 0, 0, 0); + border: 1px solid #ffffff; + border-radius: 10px; +} + +.carousel-indicators .active { + width: 12px; + height: 12px; + margin: 0; + background-color: #ffffff; +} + +.carousel-caption { + position: absolute; + right: 15%; + bottom: 20px; + left: 15%; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #ffffff; + text-align: center; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); +} + +.carousel-caption .btn { + text-shadow: none; +} + +@media screen and (min-width: 768px) { + .carousel-control .glyphicons-chevron-left, + .carousel-control .glyphicons-chevron-right, + .carousel-control .icon-prev, + .carousel-control .icon-next { + width: 30px; + height: 30px; + margin-top: -15px; + margin-left: -15px; + font-size: 30px; + } + .carousel-caption { + right: 20%; + left: 20%; + padding-bottom: 30px; + } + .carousel-indicators { + bottom: 20px; + } +} + +.clearfix:before, +.clearfix:after { + display: table; + content: " "; +} + +.clearfix:after { + clear: both; +} + +.center-block { + display: block; + margin-right: auto; + margin-left: auto; +} + +.pull-right { + float: right !important; +} + +.pull-left { + float: left !important; +} + +.hide { + display: none !important; +} + +.show { + display: block !important; +} + +.invisible { + visibility: hidden; +} + +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.hidden { + display: none !important; + visibility: hidden !important; +} + +.affix { + position: fixed; +} + +@-ms-viewport { + width: device-width; +} + +.visible-xs, +tr.visible-xs, +th.visible-xs, +td.visible-xs { + display: none !important; +} + +@media (max-width: 767px) { + .visible-xs { + display: block !important; + } + table.visible-xs { + display: table; + } + tr.visible-xs { + display: table-row !important; + } + th.visible-xs, + td.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-xs.visible-sm { + display: block !important; + } + table.visible-xs.visible-sm { + display: table; + } + tr.visible-xs.visible-sm { + display: table-row !important; + } + th.visible-xs.visible-sm, + td.visible-xs.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-xs.visible-md { + display: block !important; + } + table.visible-xs.visible-md { + display: table; + } + tr.visible-xs.visible-md { + display: table-row !important; + } + th.visible-xs.visible-md, + td.visible-xs.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-xs.visible-lg { + display: block !important; + } + table.visible-xs.visible-lg { + display: table; + } + tr.visible-xs.visible-lg { + display: table-row !important; + } + th.visible-xs.visible-lg, + td.visible-xs.visible-lg { + display: table-cell !important; + } +} + +.visible-sm, +tr.visible-sm, +th.visible-sm, +td.visible-sm { + display: none !important; +} + +@media (max-width: 767px) { + .visible-sm.visible-xs { + display: block !important; + } + table.visible-sm.visible-xs { + display: table; + } + tr.visible-sm.visible-xs { + display: table-row !important; + } + th.visible-sm.visible-xs, + td.visible-sm.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm { + display: block !important; + } + table.visible-sm { + display: table; + } + tr.visible-sm { + display: table-row !important; + } + th.visible-sm, + td.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-sm.visible-md { + display: block !important; + } + table.visible-sm.visible-md { + display: table; + } + tr.visible-sm.visible-md { + display: table-row !important; + } + th.visible-sm.visible-md, + td.visible-sm.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-sm.visible-lg { + display: block !important; + } + table.visible-sm.visible-lg { + display: table; + } + tr.visible-sm.visible-lg { + display: table-row !important; + } + th.visible-sm.visible-lg, + td.visible-sm.visible-lg { + display: table-cell !important; + } +} + +.visible-md, +tr.visible-md, +th.visible-md, +td.visible-md { + display: none !important; +} + +@media (max-width: 767px) { + .visible-md.visible-xs { + display: block !important; + } + table.visible-md.visible-xs { + display: table; + } + tr.visible-md.visible-xs { + display: table-row !important; + } + th.visible-md.visible-xs, + td.visible-md.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-md.visible-sm { + display: block !important; + } + table.visible-md.visible-sm { + display: table; + } + tr.visible-md.visible-sm { + display: table-row !important; + } + th.visible-md.visible-sm, + td.visible-md.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md { + display: block !important; + } + table.visible-md { + display: table; + } + tr.visible-md { + display: table-row !important; + } + th.visible-md, + td.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-md.visible-lg { + display: block !important; + } + table.visible-md.visible-lg { + display: table; + } + tr.visible-md.visible-lg { + display: table-row !important; + } + th.visible-md.visible-lg, + td.visible-md.visible-lg { + display: table-cell !important; + } +} + +.visible-lg, +tr.visible-lg, +th.visible-lg, +td.visible-lg { + display: none !important; +} + +@media (max-width: 767px) { + .visible-lg.visible-xs { + display: block !important; + } + table.visible-lg.visible-xs { + display: table; + } + tr.visible-lg.visible-xs { + display: table-row !important; + } + th.visible-lg.visible-xs, + td.visible-lg.visible-xs { + display: table-cell !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-lg.visible-sm { + display: block !important; + } + table.visible-lg.visible-sm { + display: table; + } + tr.visible-lg.visible-sm { + display: table-row !important; + } + th.visible-lg.visible-sm, + td.visible-lg.visible-sm { + display: table-cell !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-lg.visible-md { + display: block !important; + } + table.visible-lg.visible-md { + display: table; + } + tr.visible-lg.visible-md { + display: table-row !important; + } + th.visible-lg.visible-md, + td.visible-lg.visible-md { + display: table-cell !important; + } +} + +@media (min-width: 1200px) { + .visible-lg { + display: block !important; + } + table.visible-lg { + display: table; + } + tr.visible-lg { + display: table-row !important; + } + th.visible-lg, + td.visible-lg { + display: table-cell !important; + } +} + +.hidden-xs { + display: block !important; +} + +table.hidden-xs { + display: table; +} + +tr.hidden-xs { + display: table-row !important; +} + +th.hidden-xs, +td.hidden-xs { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-xs, + tr.hidden-xs, + th.hidden-xs, + td.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-xs.hidden-sm, + tr.hidden-xs.hidden-sm, + th.hidden-xs.hidden-sm, + td.hidden-xs.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-xs.hidden-md, + tr.hidden-xs.hidden-md, + th.hidden-xs.hidden-md, + td.hidden-xs.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-xs.hidden-lg, + tr.hidden-xs.hidden-lg, + th.hidden-xs.hidden-lg, + td.hidden-xs.hidden-lg { + display: none !important; + } +} + +.hidden-sm { + display: block !important; +} + +table.hidden-sm { + display: table; +} + +tr.hidden-sm { + display: table-row !important; +} + +th.hidden-sm, +td.hidden-sm { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-sm.hidden-xs, + tr.hidden-sm.hidden-xs, + th.hidden-sm.hidden-xs, + td.hidden-sm.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-sm, + tr.hidden-sm, + th.hidden-sm, + td.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-sm.hidden-md, + tr.hidden-sm.hidden-md, + th.hidden-sm.hidden-md, + td.hidden-sm.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-sm.hidden-lg, + tr.hidden-sm.hidden-lg, + th.hidden-sm.hidden-lg, + td.hidden-sm.hidden-lg { + display: none !important; + } +} + +.hidden-md { + display: block !important; +} + +table.hidden-md { + display: table; +} + +tr.hidden-md { + display: table-row !important; +} + +th.hidden-md, +td.hidden-md { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-md.hidden-xs, + tr.hidden-md.hidden-xs, + th.hidden-md.hidden-xs, + td.hidden-md.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-md.hidden-sm, + tr.hidden-md.hidden-sm, + th.hidden-md.hidden-sm, + td.hidden-md.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-md, + tr.hidden-md, + th.hidden-md, + td.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-md.hidden-lg, + tr.hidden-md.hidden-lg, + th.hidden-md.hidden-lg, + td.hidden-md.hidden-lg { + display: none !important; + } +} + +.hidden-lg { + display: block !important; +} + +table.hidden-lg { + display: table; +} + +tr.hidden-lg { + display: table-row !important; +} + +th.hidden-lg, +td.hidden-lg { + display: table-cell !important; +} + +@media (max-width: 767px) { + .hidden-lg.hidden-xs, + tr.hidden-lg.hidden-xs, + th.hidden-lg.hidden-xs, + td.hidden-lg.hidden-xs { + display: none !important; + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-lg.hidden-sm, + tr.hidden-lg.hidden-sm, + th.hidden-lg.hidden-sm, + td.hidden-lg.hidden-sm { + display: none !important; + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-lg.hidden-md, + tr.hidden-lg.hidden-md, + th.hidden-lg.hidden-md, + td.hidden-lg.hidden-md { + display: none !important; + } +} + +@media (min-width: 1200px) { + .hidden-lg, + tr.hidden-lg, + th.hidden-lg, + td.hidden-lg { + display: none !important; + } +} + +.visible-print, +tr.visible-print, +th.visible-print, +td.visible-print { + display: none !important; +} + +@media print { + .visible-print { + display: block !important; + } + table.visible-print { + display: table; + } + tr.visible-print { + display: table-row !important; + } + th.visible-print, + td.visible-print { + display: table-cell !important; + } + .hidden-print, + tr.hidden-print, + th.hidden-print, + td.hidden-print { + display: none !important; + } +} + + +/*Added by Maria*/ + + /* Main marketing message and sign up button */ + .jumbotron { + margin: 0px 0; + text-align: center; + } + .jumbotron h1 { + font-size: 80px; + line-height: 1; + } + .jumbotron .lead { + font-size: 20px; + line-height: 1.25; + } + .jumbotron .btn { + font-size: 21px; + padding: 14px 24px; + } + + /* Supporting marketing content */ + .marketing { + margin: 60px 0; + } + .marketing p + h4 { + margin-top: 28px; + } \ No newline at end of file diff --git a/dist/vocabulary/mapping/OOPSevaluation/evaluation/bootstrap.min.js b/dist/vocabulary/mapping/OOPSevaluation/evaluation/bootstrap.min.js new file mode 100644 index 0000000..1a6258e --- /dev/null +++ b/dist/vocabulary/mapping/OOPSevaluation/evaluation/bootstrap.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.0.3 (http://getbootstrap.com) + * Copyright 2013 Twitter, Inc. + * Licensed under http://www.apache.org/licenses/LICENSE-2.0 + */ + +if("undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]'),b=!0;if(a.length){var c=this.$element.find("input");"radio"===c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?b=!1:a.find(".active").removeClass("active")),b&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}b&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery); \ No newline at end of file diff --git a/dist/vocabulary/mapping/OOPSevaluation/evaluation/jquery-1.11.0.js b/dist/vocabulary/mapping/OOPSevaluation/evaluation/jquery-1.11.0.js new file mode 100644 index 0000000..3c88fa8 --- /dev/null +++ b/dist/vocabulary/mapping/OOPSevaluation/evaluation/jquery-1.11.0.js @@ -0,0 +1,10337 @@ +/*! + * jQuery JavaScript Library v1.11.0 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-23T21:02Z + */ + +(function( global, factory ) { + + if ( typeof module === "object" && typeof module.exports === "object" ) { + // For CommonJS and CommonJS-like environments where a proper window is present, + // execute the factory and get jQuery + // For environments that do not inherently posses a window with a document + // (such as Node.js), expose a jQuery-making factory as module.exports + // This accentuates the need for the creation of a real window + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Can't do this because several apps including ASP.NET trace +// the stack via arguments.caller.callee and Firefox dies if +// you try to trace through "use strict" call chains. (#13335) +// Support: Firefox 18+ +// + +var deletedIds = []; + +var slice = deletedIds.slice; + +var concat = deletedIds.concat; + +var push = deletedIds.push; + +var indexOf = deletedIds.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var trim = "".trim; + +var support = {}; + + + +var + version = "1.11.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }; + +jQuery.fn = jQuery.prototype = { + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // Start with an empty selector + selector: "", + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num != null ? + + // Return a 'clean' array + ( num < 0 ? this[ num + this.length ] : this[ num ] ) : + + // Return just the object + slice.call( this ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + ret.context = this.context; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: deletedIds.sort, + splice: deletedIds.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var src, copyIsArray, copy, name, options, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + isWindow: function( obj ) { + /* jshint eqeqeq: false */ + return obj != null && obj == obj.window; + }, + + isNumeric: function( obj ) { + // parseFloat NaNs numeric-cast false positives (null|true|false|"") + // ...but misinterprets leading-number strings, particularly hex literals ("0x...") + // subtraction forces infinities to NaN + return obj - parseFloat( obj ) >= 0; + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + isPlainObject: function( obj ) { + var key; + + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + try { + // Not own constructor property must be Object + if ( obj.constructor && + !hasOwn.call(obj, "constructor") && + !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + } catch ( e ) { + // IE8,9 Will throw exceptions on certain host objects #9897 + return false; + } + + // Support: IE<9 + // Handle iteration over inherited properties before own properties. + if ( support.ownLast ) { + for ( key in obj ) { + return hasOwn.call( obj, key ); + } + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + for ( key in obj ) {} + + return key === undefined || hasOwn.call( obj, key ); + }, + + type: function( obj ) { + if ( obj == null ) { + return obj + ""; + } + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call(obj) ] || "object" : + typeof obj; + }, + + // Evaluates a script in a global context + // Workarounds based on findings by Jim Driscoll + // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context + globalEval: function( data ) { + if ( data && jQuery.trim( data ) ) { + // We use execScript on Internet Explorer + // We use an anonymous function so that context is window + // rather than jQuery in Firefox + ( window.execScript || function( data ) { + window[ "eval" ].call( window, data ); + } )( data ); + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + // args is for internal usage only + each: function( obj, callback, args ) { + var value, + i = 0, + length = obj.length, + isArray = isArraylike( obj ); + + if ( args ) { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } + } + + return obj; + }, + + // Use native String.trim function wherever possible + trim: trim && !trim.call("\uFEFF\xA0") ? + function( text ) { + return text == null ? + "" : + trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArraylike( Object(arr) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + var len; + + if ( arr ) { + if ( indexOf ) { + return indexOf.call( arr, elem, i ); + } + + len = arr.length; + i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; + + for ( ; i < len; i++ ) { + // Skip accessing in sparse arrays + if ( i in arr && arr[ i ] === elem ) { + return i; + } + } + } + + return -1; + }, + + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + while ( j < len ) { + first[ i++ ] = second[ j++ ]; + } + + // Support: IE<9 + // Workaround casting of .length to NaN on otherwise arraylike objects (e.g., NodeLists) + if ( len !== len ) { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, + i = 0, + length = elems.length, + isArray = isArraylike( elems ), + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var args, proxy, tmp; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + now: function() { + return +( new Date() ); + }, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +}); + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +function isArraylike( obj ) { + var length = obj.length, + type = jQuery.type( obj ); + + if ( type === "function" || jQuery.isWindow( obj ) ) { + return false; + } + + if ( obj.nodeType === 1 && length ) { + return true; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v1.10.16 + * http://sizzlejs.com/ + * + * Copyright 2013 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2014-01-13 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + compile, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + -(new Date()), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // General-purpose constants + strundefined = typeof undefined, + MAX_NEGATIVE = 1 << 31, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf if we can't use a native one + indexOf = arr.indexOf || function( elem ) { + var i = 0, + len = this.length; + for ( ; i < len; i++ ) { + if ( this[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + // http://www.w3.org/TR/css3-syntax/#characters + characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", + + // Loosely modeled on CSS identifier characters + // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors + // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = characterEncoding.replace( "w", "w#" ), + + // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + + "*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", + + // Prefer arguments quoted, + // then not containing pseudos/brackets, + // then attribute selectors/non-parenthetical expressions, + // then anything else + // These preferences are here to reduce the number of selectors + // needing tokenize in the PSEUDO preFilter + pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + characterEncoding + ")" ), + "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), + "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + rescape = /'|\\/g, + + // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }; + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var match, elem, m, nodeType, + // QSA vars + i, groups, old, nid, newContext, newSelector; + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + + context = context || document; + results = results || []; + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { + return []; + } + + if ( documentIsHTML && !seed ) { + + // Shortcuts + if ( (match = rquickExpr.exec( selector )) ) { + // Speed-up: Sizzle("#ID") + if ( (m = match[1]) ) { + if ( nodeType === 9 ) { + elem = context.getElementById( m ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document (jQuery #6963) + if ( elem && elem.parentNode ) { + // Handle the case where IE, Opera, and Webkit return items + // by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + } else { + // Context is not a document + if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && + contains( context, elem ) && elem.id === m ) { + results.push( elem ); + return results; + } + } + + // Speed-up: Sizzle("TAG") + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Speed-up: Sizzle(".CLASS") + } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) { + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // QSA path + if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + nid = old = expando; + newContext = context; + newSelector = nodeType === 9 && selector; + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + groups = tokenize( selector ); + + if ( (old = context.getAttribute("id")) ) { + nid = old.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", nid ); + } + nid = "[id='" + nid + "'] "; + + i = groups.length; + while ( i-- ) { + groups[i] = nid + toSelector( groups[i] ); + } + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context; + newSelector = groups.join(","); + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch(qsaError) { + } finally { + if ( !old ) { + context.removeAttribute("id"); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {Function(string, Object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created div and expects a boolean result + */ +function assert( fn ) { + var div = document.createElement("div"); + + try { + return !!fn( div ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( div.parentNode ) { + div.parentNode.removeChild( div ); + } + // release memory in IE + div = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = attrs.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + ( ~b.sourceIndex || MAX_NEGATIVE ) - + ( ~a.sourceIndex || MAX_NEGATIVE ); + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== strundefined && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, + doc = node ? node.ownerDocument || node : preferredDoc, + parent = doc.defaultView; + + // If no document and documentElement is available, return + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Set our document + document = doc; + docElem = doc.documentElement; + + // Support tests + documentIsHTML = !isXML( doc ); + + // Support: IE>8 + // If iframe document is assigned to "document" variable and if iframe has been reloaded, + // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936 + // IE6-8 do not support the defaultView property so parent will be undefined + if ( parent && parent !== parent.top ) { + // IE11 does not have attachEvent, so all must suffer + if ( parent.addEventListener ) { + parent.addEventListener( "unload", function() { + setDocument(); + }, false ); + } else if ( parent.attachEvent ) { + parent.attachEvent( "onunload", function() { + setDocument(); + }); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans) + support.attributes = assert(function( div ) { + div.className = "i"; + return !div.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( div ) { + div.appendChild( doc.createComment("") ); + return !div.getElementsByTagName("*").length; + }); + + // Check if getElementsByClassName can be trusted + support.getElementsByClassName = rnative.test( doc.getElementsByClassName ) && assert(function( div ) { + div.innerHTML = "
    "; + + // Support: Safari<4 + // Catch class over-caching + div.firstChild.className = "i"; + // Support: Opera<10 + // Catch gEBCN failure to find non-leading classes + return div.getElementsByClassName("i").length === 2; + }); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( div ) { + docElem.appendChild( div ).id = expando; + return !doc.getElementsByName || !doc.getElementsByName( expando ).length; + }); + + // ID find and filter + if ( support.getById ) { + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== strundefined && documentIsHTML ) { + var m = context.getElementById( id ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + }; + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + } else { + // Support: IE6/7 + // getElementById is not reliable as a find shortcut + delete Expr.find["ID"]; + + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== strundefined ) { + return context.getElementsByTagName( tag ); + } + } : + function( tag, context ) { + var elem, + tmp = [], + i = 0, + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See http://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + div.innerHTML = ""; + + // Support: IE8, Opera 10-12 + // Nothing should be selected when empty strings follow ^= or $= or *= + if ( div.querySelectorAll("[t^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + }); + + assert(function( div ) { + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = doc.createElement("input"); + input.setAttribute( "type", "hidden" ); + div.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( div.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + div.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( div, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully does not implement inclusive descendent + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === doc ? -1 : + b === doc ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return doc; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch(e) {} + } + + return Sizzle( expr, document, null, [elem] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[5] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] && match[4] !== undefined ) { + match[2] = match[4]; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, outerCache, node, diff, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + // Seek `elem` from a previously-cached index + outerCache = parent[ expando ] || (parent[ expando ] = {}); + cache = outerCache[ type ] || []; + nodeIndex = cache[0] === dirruns && cache[1]; + diff = cache[0] === dirruns && cache[2]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + outerCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + // Use previously-cached element index if available + } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { + diff = cache[1]; + + // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) + } else { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { + // Cache the index of each encountered element + if ( useCache ) { + (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf.call( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +function tokenize( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +} + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + if ( (oldCache = outerCache[ dir ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + outerCache[ dir ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf.call( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context !== document && context; + } + + // Add elements passing elementMatchers directly to results + // Keep `i` a string if there are no elements so `matchedCount` will be "00" below + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // Apply set filters to unmatched elements + matchedCount += i; + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !group ) { + group = tokenize( selector ); + } + i = group.length; + while ( i-- ) { + cached = matcherFromTokens( group[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + } + return cached; +}; + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function select( selector, context, results, seed ) { + var i, tokens, token, type, find, + match = tokenize( selector ); + + if ( !seed ) { + // Try to minimize operations if there is only one group + if ( match.length === 1 ) { + + // Take a shortcut and set the context if the root selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + support.getById && context.nodeType === 9 && documentIsHTML && + Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + } + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + } + + // Compile and execute a filtering function + // Provide `match` to avoid retokenization if we modified the selector above + compile( selector, match )( + seed, + context, + !documentIsHTML, + results, + rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +} + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome<14 +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( div1 ) { + // Should return 1, but returns 4 (following) + return div1.compareDocumentPosition( document.createElement("div") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( div ) { + div.innerHTML = ""; + return div.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( div ) { + div.innerHTML = ""; + div.firstChild.setAttribute( "value", "" ); + return div.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( div ) { + return div.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.pseudos; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + + +var rneedsContext = jQuery.expr.match.needsContext; + +var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); + + + +var risSimple = /^.[^:#\[\.,]*$/; + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + /* jshint -W018 */ + return !!qualifier.call( elem, i, elem ) !== not; + }); + + } + + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + }); + + } + + if ( typeof qualifier === "string" ) { + if ( risSimple.test( qualifier ) ) { + return jQuery.filter( qualifier, elements, not ); + } + + qualifier = jQuery.filter( qualifier, elements ); + } + + return jQuery.grep( elements, function( elem ) { + return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not; + }); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 && elem.nodeType === 1 ? + jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : + jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + })); +}; + +jQuery.fn.extend({ + find: function( selector ) { + var i, + ret = [], + self = this, + len = self.length; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }) ); + } + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + // Needed because $( selector, context ) becomes $( context ).find( selector ) + ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); + ret.selector = this.selector ? this.selector + " " + selector : selector; + return ret; + }, + filter: function( selector ) { + return this.pushStack( winnow(this, selector || [], false) ); + }, + not: function( selector ) { + return this.pushStack( winnow(this, selector || [], true) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +}); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // Use the correct document accordingly with window argument (sandbox) + document = window.document, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, + + init = jQuery.fn.init = function( selector, context ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + + // scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[1], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + // Properties of context are called as methods if possible + if ( jQuery.isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || rootjQuery ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return typeof rootjQuery.ready !== "undefined" ? + rootjQuery.ready( selector ) : + // Execute immediately if ready is not present + selector( jQuery ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.extend({ + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +jQuery.fn.extend({ + has: function( target ) { + var i, + targets = jQuery( target, this ), + len = targets.length; + + return this.filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) { + // Always skip document fragments + if ( cur.nodeType < 11 && (pos ? + pos.index(cur) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector(cur, selectors)) ) { + + matched.push( cur ); + break; + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return jQuery.inArray( this[0], jQuery( elem ) ); + } + + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.unique( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter(selector) + ); + } +}); + +function sibling( cur, dir ) { + do { + cur = cur[ dir ]; + } while ( cur && cur.nodeType !== 1 ); + + return cur; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + if ( this.length > 1 ) { + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + ret = jQuery.unique( ret ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + } + + return this.pushStack( ret ); + }; +}); +var rnotwhite = (/\S+/g); + + + +// String to Object options format cache +var optionsCache = {}; + +// Convert String-formatted options into Object-formatted ones and store in cache +function createOptions( options ) { + var object = optionsCache[ options ] = {}; + jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) { + object[ flag ] = true; + }); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + ( optionsCache[ options ] || createOptions( options ) ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + // Last fire value (for non-forgettable lists) + memory, + // Flag to know if list was already fired + fired, + // End of the loop when firing + firingLength, + // Index of currently firing callback (modified by remove if needed) + firingIndex, + // First callback to fire (used internally by add and fireWith) + firingStart, + // Actual callback list + list = [], + // Stack of fire calls for repeatable lists + stack = !options.once && [], + // Fire callbacks + fire = function( data ) { + memory = options.memory && data; + fired = true; + firingIndex = firingStart || 0; + firingStart = 0; + firingLength = list.length; + firing = true; + for ( ; list && firingIndex < firingLength; firingIndex++ ) { + if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { + memory = false; // To prevent further calls using add + break; + } + } + firing = false; + if ( list ) { + if ( stack ) { + if ( stack.length ) { + fire( stack.shift() ); + } + } else if ( memory ) { + list = []; + } else { + self.disable(); + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + // First, we save the current length + var start = list.length; + (function add( args ) { + jQuery.each( args, function( _, arg ) { + var type = jQuery.type( arg ); + if ( type === "function" ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && type !== "string" ) { + // Inspect recursively + add( arg ); + } + }); + })( arguments ); + // Do we need to add the callbacks to the + // current firing batch? + if ( firing ) { + firingLength = list.length; + // With memory, if we're not firing then + // we should call right away + } else if ( memory ) { + firingStart = start; + fire( memory ); + } + } + return this; + }, + // Remove a callback from the list + remove: function() { + if ( list ) { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + // Handle firing indexes + if ( firing ) { + if ( index <= firingLength ) { + firingLength--; + } + if ( index <= firingIndex ) { + firingIndex--; + } + } + } + }); + } + return this; + }, + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); + }, + // Remove all callbacks from the list + empty: function() { + list = []; + firingLength = 0; + return this; + }, + // Have the list do nothing anymore + disable: function() { + list = stack = memory = undefined; + return this; + }, + // Is it disabled? + disabled: function() { + return !list; + }, + // Lock the list in its current state + lock: function() { + stack = undefined; + if ( !memory ) { + self.disable(); + } + return this; + }, + // Is it locked? + locked: function() { + return !stack; + }, + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( list && ( !fired || stack ) ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + if ( firing ) { + stack.push( args ); + } else { + fire( args ); + } + } + return this; + }, + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +jQuery.extend({ + + Deferred: function( func ) { + var tuples = [ + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], + [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], + [ "notify", "progress", jQuery.Callbacks("memory") ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred(function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[1] ](function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .done( newDefer.resolve ) + .fail( newDefer.reject ) + .progress( newDefer.notify ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); + } + }); + }); + fns = null; + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[1] ] = list.add; + + // Handle state + if ( stateString ) { + list.add(function() { + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] + deferred[ tuple[0] ] = function() { + deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); + return this; + }; + deferred[ tuple[0] + "With" ] = list.fireWith; + }); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( values === progressValues ) { + deferred.notifyWith( contexts, values ); + + } else if ( !(--remaining) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ) + .progress( updateFunc( i, progressContexts, progressValues ) ); + } else { + --remaining; + } + } + } + + // if we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +}); + + +// The deferred used on DOM ready +var readyList; + +jQuery.fn.ready = function( fn ) { + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; +}; + +jQuery.extend({ + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger("ready").off("ready"); + } + } +}); + +/** + * Clean-up method for dom ready events + */ +function detach() { + if ( document.addEventListener ) { + document.removeEventListener( "DOMContentLoaded", completed, false ); + window.removeEventListener( "load", completed, false ); + + } else { + document.detachEvent( "onreadystatechange", completed ); + window.detachEvent( "onload", completed ); + } +} + +/** + * The ready event handler and self cleanup method + */ +function completed() { + // readyState === "complete" is good enough for us to call the dom ready in oldIE + if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { + detach(); + jQuery.ready(); + } +} + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called after the browser event has already occurred. + // we once tried to use readyState "interactive" here, but it caused issues like the one + // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + setTimeout( jQuery.ready ); + + // Standards-based browsers support DOMContentLoaded + } else if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed, false ); + + // If IE event model is used + } else { + // Ensure firing before onload, maybe late but safe also for iframes + document.attachEvent( "onreadystatechange", completed ); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", completed ); + + // If IE and not a frame + // continually check to see if the document is ready + var top = false; + + try { + top = window.frameElement == null && document.documentElement; + } catch(e) {} + + if ( top && top.doScroll ) { + (function doScrollCheck() { + if ( !jQuery.isReady ) { + + try { + // Use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + top.doScroll("left"); + } catch(e) { + return setTimeout( doScrollCheck, 50 ); + } + + // detach all dom ready events + detach(); + + // and execute any waiting functions + jQuery.ready(); + } + })(); + } + } + } + return readyList.promise( obj ); +}; + + +var strundefined = typeof undefined; + + + +// Support: IE<9 +// Iteration over object's inherited properties before its own +var i; +for ( i in jQuery( support ) ) { + break; +} +support.ownLast = i !== "0"; + +// Note: most support tests are defined in their respective modules. +// false until the test is run +support.inlineBlockNeedsLayout = false; + +jQuery(function() { + // We need to execute this one support test ASAP because we need to know + // if body.style.zoom needs to be set. + + var container, div, + body = document.getElementsByTagName("body")[0]; + + if ( !body ) { + // Return for frameset docs that don't have a body + return; + } + + // Setup + container = document.createElement( "div" ); + container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; + + div = document.createElement( "div" ); + body.appendChild( container ).appendChild( div ); + + if ( typeof div.style.zoom !== strundefined ) { + // Support: IE<8 + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + div.style.cssText = "border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1"; + + if ( (support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 )) ) { + // Prevent IE 6 from affecting layout for positioned elements #11048 + // Prevent IE from shrinking the body in IE 7 mode #12869 + // Support: IE<8 + body.style.zoom = 1; + } + } + + body.removeChild( container ); + + // Null elements to avoid leaks in IE + container = div = null; +}); + + + + +(function() { + var div = document.createElement( "div" ); + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +/** + * Determines whether an object can have data + */ +jQuery.acceptData = function( elem ) { + var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ], + nodeType = +elem.nodeType || 1; + + // Do not set data on non-element DOM nodes because it will not be cleared (#8335). + return nodeType !== 1 && nodeType !== 9 ? + false : + + // Nodes accept data unless otherwise specified; rejection can be conditional + !noData || noData !== true && elem.getAttribute("classid") === noData; +}; + + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /([A-Z])/g; + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + + var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + +// checks a cache object for emptiness +function isEmptyDataObject( obj ) { + var name; + for ( name in obj ) { + + // if the public data object is empty, the private is still empty + if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { + continue; + } + if ( name !== "toJSON" ) { + return false; + } + } + + return true; +} + +function internalData( elem, name, data, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var ret, thisCache, + internalKey = jQuery.expando, + + // We have to handle DOM nodes and JS objects differently because IE6-7 + // can't GC object references properly across the DOM-JS boundary + isNode = elem.nodeType, + + // Only DOM nodes need the global jQuery cache; JS object data is + // attached directly to the object so GC can occur automatically + cache = isNode ? jQuery.cache : elem, + + // Only defining an ID for JS objects if its cache already exists allows + // the code to shortcut on the same path as a DOM node with no cache + id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; + + // Avoid doing any more work than we need to when trying to get data on an + // object that has no data at all + if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) { + return; + } + + if ( !id ) { + // Only DOM nodes need a new unique ID for each element since their data + // ends up in the global cache + if ( isNode ) { + id = elem[ internalKey ] = deletedIds.pop() || jQuery.guid++; + } else { + id = internalKey; + } + } + + if ( !cache[ id ] ) { + // Avoid exposing jQuery metadata on plain JS objects when the object + // is serialized using JSON.stringify + cache[ id ] = isNode ? {} : { toJSON: jQuery.noop }; + } + + // An object can be passed to jQuery.data instead of a key/value pair; this gets + // shallow copied over onto the existing cache + if ( typeof name === "object" || typeof name === "function" ) { + if ( pvt ) { + cache[ id ] = jQuery.extend( cache[ id ], name ); + } else { + cache[ id ].data = jQuery.extend( cache[ id ].data, name ); + } + } + + thisCache = cache[ id ]; + + // jQuery data() is stored in a separate object inside the object's internal data + // cache in order to avoid key collisions between internal data and user-defined + // data. + if ( !pvt ) { + if ( !thisCache.data ) { + thisCache.data = {}; + } + + thisCache = thisCache.data; + } + + if ( data !== undefined ) { + thisCache[ jQuery.camelCase( name ) ] = data; + } + + // Check for both converted-to-camel and non-converted data property names + // If a data property was specified + if ( typeof name === "string" ) { + + // First Try to find as-is property data + ret = thisCache[ name ]; + + // Test for null|undefined property data + if ( ret == null ) { + + // Try to find the camelCased property + ret = thisCache[ jQuery.camelCase( name ) ]; + } + } else { + ret = thisCache; + } + + return ret; +} + +function internalRemoveData( elem, name, pvt ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, i, + isNode = elem.nodeType, + + // See jQuery.data for more information + cache = isNode ? jQuery.cache : elem, + id = isNode ? elem[ jQuery.expando ] : jQuery.expando; + + // If there is already no cache entry for this object, there is no + // purpose in continuing + if ( !cache[ id ] ) { + return; + } + + if ( name ) { + + thisCache = pvt ? cache[ id ] : cache[ id ].data; + + if ( thisCache ) { + + // Support array or space separated string names for data keys + if ( !jQuery.isArray( name ) ) { + + // try the string as a key before any manipulation + if ( name in thisCache ) { + name = [ name ]; + } else { + + // split the camel cased version by spaces unless a key with the spaces exists + name = jQuery.camelCase( name ); + if ( name in thisCache ) { + name = [ name ]; + } else { + name = name.split(" "); + } + } + } else { + // If "name" is an array of keys... + // When data is initially created, via ("key", "val") signature, + // keys will be converted to camelCase. + // Since there is no way to tell _how_ a key was added, remove + // both plain key and camelCase key. #12786 + // This will only penalize the array argument path. + name = name.concat( jQuery.map( name, jQuery.camelCase ) ); + } + + i = name.length; + while ( i-- ) { + delete thisCache[ name[i] ]; + } + + // If there is no data left in the cache, we want to continue + // and let the cache object itself get destroyed + if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) { + return; + } + } + } + + // See jQuery.data for more information + if ( !pvt ) { + delete cache[ id ].data; + + // Don't destroy the parent cache unless the internal data object + // had been the only thing left in it + if ( !isEmptyDataObject( cache[ id ] ) ) { + return; + } + } + + // Destroy the cache + if ( isNode ) { + jQuery.cleanData( [ elem ], true ); + + // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) + /* jshint eqeqeq: false */ + } else if ( support.deleteExpando || cache != cache.window ) { + /* jshint eqeqeq: true */ + delete cache[ id ]; + + // When all else fails, null + } else { + cache[ id ] = null; + } +} + +jQuery.extend({ + cache: {}, + + // The following elements (space-suffixed to avoid Object.prototype collisions) + // throw uncatchable exceptions if you attempt to set expando properties + noData: { + "applet ": true, + "embed ": true, + // ...but Flash objects (which have this classid) *can* handle expandos + "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" + }, + + hasData: function( elem ) { + elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; + return !!elem && !isEmptyDataObject( elem ); + }, + + data: function( elem, name, data ) { + return internalData( elem, name, data ); + }, + + removeData: function( elem, name ) { + return internalRemoveData( elem, name ); + }, + + // For internal use only. + _data: function( elem, name, data ) { + return internalData( elem, name, data, true ); + }, + + _removeData: function( elem, name ) { + return internalRemoveData( elem, name, true ); + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var i, name, data, + elem = this[0], + attrs = elem && elem.attributes; + + // Special expections of .data basically thwart jQuery.access, + // so implement the relevant behavior ourselves + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = jQuery.data( elem ); + + if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + name = attrs[i].name; + + if ( name.indexOf("data-") === 0 ) { + name = jQuery.camelCase( name.slice(5) ); + + dataAttr( elem, name, data[ name ] ); + } + } + jQuery._data( elem, "parsedAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + return arguments.length > 1 ? + + // Sets one value + this.each(function() { + jQuery.data( this, key, value ); + }) : + + // Gets one value + // Try to fetch any internally stored data first + elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : undefined; + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + + +jQuery.extend({ + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = jQuery._data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray(data) ) { + queue = jQuery._data( elem, type, jQuery.makeArray(data) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // not intended for public consumption - generates a queueHooks object, or returns the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return jQuery._data( elem, key ) || jQuery._data( elem, key, { + empty: jQuery.Callbacks("once memory").add(function() { + jQuery._removeData( elem, type + "queue" ); + jQuery._removeData( elem, key ); + }) + }); + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[0], type ); + } + + return data === undefined ? + this : + this.each(function() { + var queue = jQuery.queue( this, type, data ); + + // ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = jQuery._data( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +}); +var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var isHidden = function( elem, el ) { + // isHidden might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); + }; + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + length = elems.length, + bulk = key == null; + + // Sets many values + if ( jQuery.type( key ) === "object" ) { + chainable = true; + for ( i in key ) { + jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !jQuery.isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < length; i++ ) { + fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); + } + } + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + length ? fn( elems[0], key ) : emptyGet; +}; +var rcheckableType = (/^(?:checkbox|radio)$/i); + + + +(function() { + var fragment = document.createDocumentFragment(), + div = document.createElement("div"), + input = document.createElement("input"); + + // Setup + div.setAttribute( "className", "t" ); + div.innerHTML = "
    a"; + + // IE strips leading whitespace when .innerHTML is used + support.leadingWhitespace = div.firstChild.nodeType === 3; + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + support.tbody = !div.getElementsByTagName( "tbody" ).length; + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + support.htmlSerialize = !!div.getElementsByTagName( "link" ).length; + + // Makes sure cloning an html5 element does not cause problems + // Where outerHTML is undefined, this still works + support.html5Clone = + document.createElement( "nav" ).cloneNode( true ).outerHTML !== "<:nav>"; + + // Check if a disconnected checkbox will retain its checked + // value of true after appended to the DOM (IE6/7) + input.type = "checkbox"; + input.checked = true; + fragment.appendChild( input ); + support.appendChecked = input.checked; + + // Make sure textarea (and checkbox) defaultValue is properly cloned + // Support: IE6-IE11+ + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // #11217 - WebKit loses check when the name is after the checked attribute + fragment.appendChild( div ); + div.innerHTML = ""; + + // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3 + // old WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE<9 + // Opera does not clone events (and typeof div.attachEvent === undefined). + // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() + support.noCloneEvent = true; + if ( div.attachEvent ) { + div.attachEvent( "onclick", function() { + support.noCloneEvent = false; + }); + + div.cloneNode( true ).click(); + } + + // Execute the test only if not already executed in another module. + if (support.deleteExpando == null) { + // Support: IE<9 + support.deleteExpando = true; + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + } + + // Null elements to avoid leaks in IE. + fragment = div = input = null; +})(); + + +(function() { + var i, eventName, + div = document.createElement( "div" ); + + // Support: IE<9 (lack submit/change bubble), Firefox 23+ (lack focusin event) + for ( i in { submit: true, change: true, focusin: true }) { + eventName = "on" + i; + + if ( !(support[ i + "Bubbles" ] = eventName in window) ) { + // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP) + div.setAttribute( eventName, "t" ); + support[ i + "Bubbles" ] = div.attributes[ eventName ].expando === false; + } + } + + // Null elements to avoid leaks in IE. + div = null; +})(); + + +var rformElems = /^(?:input|select|textarea)$/i, + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|contextmenu)|click/, + rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + var tmp, events, t, handleObjIn, + special, eventHandle, handleObj, + handlers, type, namespaces, origType, + elemData = jQuery._data( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !(events = elemData.events) ) { + events = elemData.events = {}; + } + if ( !(eventHandle = elemData.handle) ) { + eventHandle = elemData.handle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== strundefined && (!e || jQuery.event.triggered !== e.type) ? + jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : + undefined; + }; + // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events + eventHandle.elem = elem; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend({ + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join(".") + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !(handlers = events[ type ]) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener/attachEvent if the special events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + var j, handleObj, tmp, + origCount, t, events, + special, handlers, type, + namespaces, origType, + elemData = jQuery.hasData( elem ) && jQuery._data( elem ); + + if ( !elemData || !(events = elemData.events) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + delete elemData.handle; + + // removeData also checks for emptiness and clears the expando if empty + // so use it instead of delete + jQuery._removeData( elem, "events" ); + } + }, + + trigger: function( event, data, elem, onlyHandlers ) { + var handle, ontype, cur, + bubbleType, special, tmp, i, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; + + cur = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf(".") >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf(":") < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join("."); + event.namespace_re = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === (elem.ownerDocument || document) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { + + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && jQuery.acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) && + jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Can't use an .isFunction() check here because IE6/7 fails that test. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + try { + elem[ type ](); + } catch ( e ) { + // IE<9 dies on focus/blur to hidden element (#1486,#12518) + // only reproducible on winXP IE8 native, not IE9 in IE8 mode + } + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event ); + + var i, ret, handleObj, matched, j, + handlerQueue = [], + args = slice.call( arguments ), + handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) + .apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( (event.result = ret) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var sel, handleObj, matches, i, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + // Black-hole SVG instance trees (#13180) + // Avoid non-left-click bubbling in Firefox (#3861) + if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { + + /* jshint eqeqeq: false */ + for ( ; cur != this; cur = cur.parentNode || this ) { + /* jshint eqeqeq: true */ + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matches[ sel ] === undefined ) { + matches[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) >= 0 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matches[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push({ elem: cur, handlers: matches }); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( delegateCount < handlers.length ) { + handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); + } + + return handlerQueue; + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, copy, + type = event.type, + originalEvent = event, + fixHook = this.fixHooks[ type ]; + + if ( !fixHook ) { + this.fixHooks[ type ] = fixHook = + rmouseEvent.test( type ) ? this.mouseHooks : + rkeyEvent.test( type ) ? this.keyHooks : + {}; + } + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = new jQuery.Event( originalEvent ); + + i = copy.length; + while ( i-- ) { + prop = copy[ i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Support: IE<9 + // Fix target property (#1925) + if ( !event.target ) { + event.target = originalEvent.srcElement || document; + } + + // Support: Chrome 23+, Safari? + // Target should not be a text node (#504, #13143) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // Support: IE<9 + // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) + event.metaKey = !!event.metaKey; + + return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split(" "), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function( event, original ) { + var body, eventDoc, doc, + button = original.button, + fromElement = original.fromElement; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && fromElement ) { + event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + special: { + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + try { + this.focus(); + return false; + } catch ( e ) { + // Support: IE<9 + // If we error on focus to hidden element (#1486, #12518), + // let .trigger() run the handlers + } + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return jQuery.nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Even when returnValue equals to undefined Firefox will still show alert + if ( event.result !== undefined ) { + event.originalEvent.returnValue = event.result; + } + } + } + }, + + simulate: function( type, elem, event, bubble ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true, + originalEvent: {} + } + ); + if ( bubble ) { + jQuery.event.trigger( e, null, elem ); + } else { + jQuery.event.dispatch.call( elem, e ); + } + if ( e.isDefaultPrevented() ) { + event.preventDefault(); + } + } +}; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + var name = "on" + type; + + if ( elem.detachEvent ) { + + // #8545, #7054, preventing memory leaks for custom events in IE6-8 + // detachEvent needed property on element, by name of that event, to properly expose it to GC + if ( typeof elem[ name ] === strundefined ) { + elem[ name ] = null; + } + + elem.detachEvent( name, handle ); + } + }; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !(this instanceof jQuery.Event) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && ( + // Support: IE < 9 + src.returnValue === false || + // Support: Android < 4.0 + src.getPreventDefault && src.getPreventDefault() ) ? + returnTrue : + returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + if ( !e ) { + return; + } + + // If preventDefault exists, run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // Support: IE + // Otherwise set the returnValue property of the original event to false + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + if ( !e ) { + return; + } + // If stopPropagation exists, run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + + // Support: IE + // Set the cancelBubble property of the original event to true + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + } +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mousenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || (related !== target && !jQuery.contains( target, related )) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +}); + +// IE submit delegation +if ( !support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Lazy-add a submit handler when a descendant form may potentially be submitted + jQuery.event.add( this, "click._submit keypress._submit", function( e ) { + // Node name check avoids a VML-related crash in IE (#9807) + var elem = e.target, + form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; + if ( form && !jQuery._data( form, "submitBubbles" ) ) { + jQuery.event.add( form, "submit._submit", function( event ) { + event._submit_bubble = true; + }); + jQuery._data( form, "submitBubbles", true ); + } + }); + // return undefined since we don't need an event listener + }, + + postDispatch: function( event ) { + // If form was submitted by the user, bubble the event up the tree + if ( event._submit_bubble ) { + delete event._submit_bubble; + if ( this.parentNode && !event.isTrigger ) { + jQuery.event.simulate( "submit", this.parentNode, event, true ); + } + } + }, + + teardown: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Remove delegated handlers; cleanData eventually reaps submit handlers attached above + jQuery.event.remove( this, "._submit" ); + } + }; +} + +// IE change delegation and checkbox/radio fix +if ( !support.changeBubbles ) { + + jQuery.event.special.change = { + + setup: function() { + + if ( rformElems.test( this.nodeName ) ) { + // IE doesn't fire change on a check/radio until blur; trigger it on click + // after a propertychange. Eat the blur-change in special.change.handle. + // This still fires onchange a second time for check/radio after blur. + if ( this.type === "checkbox" || this.type === "radio" ) { + jQuery.event.add( this, "propertychange._change", function( event ) { + if ( event.originalEvent.propertyName === "checked" ) { + this._just_changed = true; + } + }); + jQuery.event.add( this, "click._change", function( event ) { + if ( this._just_changed && !event.isTrigger ) { + this._just_changed = false; + } + // Allow triggered, simulated change events (#11500) + jQuery.event.simulate( "change", this, event, true ); + }); + } + return false; + } + // Delegated event; lazy-add a change handler on descendant inputs + jQuery.event.add( this, "beforeactivate._change", function( e ) { + var elem = e.target; + + if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { + jQuery.event.add( elem, "change._change", function( event ) { + if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { + jQuery.event.simulate( "change", this.parentNode, event, true ); + } + }); + jQuery._data( elem, "changeBubbles", true ); + } + }); + }, + + handle: function( event ) { + var elem = event.target; + + // Swallow native change events from checkbox/radio, we already triggered them above + if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { + return event.handleObj.handler.apply( this, arguments ); + } + }, + + teardown: function() { + jQuery.event.remove( this, "._change" ); + + return !rformElems.test( this.nodeName ); + } + }; +} + +// Create "bubbling" focus and blur events +if ( !support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + jQuery._data( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this, + attaches = jQuery._data( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + jQuery._removeData( doc, fix ); + } else { + jQuery._data( doc, fix, attaches ); + } + } + }; + }); +} + +jQuery.fn.extend({ + + on: function( types, selector, data, fn, /*INTERNAL*/ one ) { + var type, origFn; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + this.on( type, selector, data, types[ type ], one ); + } + return this; + } + + if ( data == null && fn == null ) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return this; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return this.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + }); + }, + one: function( types, selector, data, fn ) { + return this.on( types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each(function() { + jQuery.event.remove( this, types, fn, selector ); + }); + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + triggerHandler: function( type, data ) { + var elem = this[0]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +}); + + +function createSafeFragment( document ) { + var list = nodeNames.split( "|" ), + safeFrag = document.createDocumentFragment(); + + if ( safeFrag.createElement ) { + while ( list.length ) { + safeFrag.createElement( + list.pop() + ); + } + } + return safeFrag; +} + +var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + + "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", + rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, + rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, + rtagName = /<([\w:]+)/, + rtbody = /\s*$/g, + + // We have to close these tags to support XHTML (#13200) + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "
    ", "
    " ], + area: [ 1, "", "" ], + param: [ 1, "", "" ], + thead: [ 1, "", "
    " ], + tr: [ 2, "", "
    " ], + col: [ 2, "", "
    " ], + td: [ 3, "", "
    " ], + + // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, + // unless wrapped in a div with non-breaking characters in front of it. + _default: support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X
    ", "
    " ] + }, + safeFragment = createSafeFragment( document ), + fragmentDiv = safeFragment.appendChild( document.createElement("div") ); + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +function getAll( context, tag ) { + var elems, elem, + i = 0, + found = typeof context.getElementsByTagName !== strundefined ? context.getElementsByTagName( tag || "*" ) : + typeof context.querySelectorAll !== strundefined ? context.querySelectorAll( tag || "*" ) : + undefined; + + if ( !found ) { + for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { + if ( !tag || jQuery.nodeName( elem, tag ) ) { + found.push( elem ); + } else { + jQuery.merge( found, getAll( elem, tag ) ); + } + } + } + + return tag === undefined || tag && jQuery.nodeName( context, tag ) ? + jQuery.merge( [ context ], found ) : + found; +} + +// Used in buildFragment, fixes the defaultChecked property +function fixDefaultChecked( elem ) { + if ( rcheckableType.test( elem.type ) ) { + elem.defaultChecked = elem.checked; + } +} + +// Support: IE<8 +// Manipulating tables requires a tbody +function manipulationTarget( elem, content ) { + return jQuery.nodeName( elem, "table" ) && + jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ? + + elem.getElementsByTagName("tbody")[0] || + elem.appendChild( elem.ownerDocument.createElement("tbody") ) : + elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + var match = rscriptTypeMasked.exec( elem.type ); + if ( match ) { + elem.type = match[1]; + } else { + elem.removeAttribute("type"); + } + return elem; +} + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var elem, + i = 0; + for ( ; (elem = elems[i]) != null; i++ ) { + jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); + } +} + +function cloneCopyEvent( src, dest ) { + + if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { + return; + } + + var type, i, l, + oldData = jQuery._data( src ), + curData = jQuery._data( dest, oldData ), + events = oldData.events; + + if ( events ) { + delete curData.handle; + curData.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + + // make the cloned public data object a copy from the original + if ( curData.data ) { + curData.data = jQuery.extend( {}, curData.data ); + } +} + +function fixCloneNodeIssues( src, dest ) { + var nodeName, e, data; + + // We do not need to do anything for non-Elements + if ( dest.nodeType !== 1 ) { + return; + } + + nodeName = dest.nodeName.toLowerCase(); + + // IE6-8 copies events bound via attachEvent when using cloneNode. + if ( !support.noCloneEvent && dest[ jQuery.expando ] ) { + data = jQuery._data( dest ); + + for ( e in data.events ) { + jQuery.removeEvent( dest, e, data.handle ); + } + + // Event data gets referenced instead of copied if the expando gets copied too + dest.removeAttribute( jQuery.expando ); + } + + // IE blanks contents when cloning scripts, and tries to evaluate newly-set text + if ( nodeName === "script" && dest.text !== src.text ) { + disableScript( dest ).text = src.text; + restoreScript( dest ); + + // IE6-10 improperly clones children of object elements using classid. + // IE10 throws NoModificationAllowedError if parent is null, #12132. + } else if ( nodeName === "object" ) { + if ( dest.parentNode ) { + dest.outerHTML = src.outerHTML; + } + + // This path appears unavoidable for IE9. When cloning an object + // element in IE9, the outerHTML strategy above is not sufficient. + // If the src has innerHTML and the destination does not, + // copy the src.innerHTML into the dest.innerHTML. #10324 + if ( support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { + dest.innerHTML = src.innerHTML; + } + + } else if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + // IE6-8 fails to persist the checked state of a cloned checkbox + // or radio button. Worse, IE6-7 fail to give the cloned element + // a checked appearance if the defaultChecked value isn't also set + + dest.defaultChecked = dest.checked = src.checked; + + // IE6-7 get confused and end up setting the value of a cloned + // checkbox/radio button to an empty string instead of "on" + if ( dest.value !== src.value ) { + dest.value = src.value; + } + + // IE6-8 fails to return the selected option to the default selected + // state when cloning options + } else if ( nodeName === "option" ) { + dest.defaultSelected = dest.selected = src.defaultSelected; + + // IE6-8 fails to set the defaultValue to the correct value when + // cloning other types of input fields + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +jQuery.extend({ + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var destElements, node, clone, i, srcElements, + inPage = jQuery.contains( elem.ownerDocument, elem ); + + if ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { + clone = elem.cloneNode( true ); + + // IE<=8 does not properly clone detached, unknown element nodes + } else { + fragmentDiv.innerHTML = elem.outerHTML; + fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); + } + + if ( (!support.noCloneEvent || !support.noCloneChecked) && + (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { + + // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + // Fix all IE cloning issues + for ( i = 0; (node = srcElements[i]) != null; ++i ) { + // Ensure that the destination node is not null; Fixes #9587 + if ( destElements[i] ) { + fixCloneNodeIssues( node, destElements[i] ); + } + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0; (node = srcElements[i]) != null; i++ ) { + cloneCopyEvent( node, destElements[i] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + destElements = srcElements = node = null; + + // Return the cloned set + return clone; + }, + + buildFragment: function( elems, context, scripts, selection ) { + var j, elem, contains, + tmp, tag, tbody, wrap, + l = elems.length, + + // Ensure a safe fragment + safe = createSafeFragment( context ), + + nodes = [], + i = 0; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( jQuery.type( elem ) === "object" ) { + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || safe.appendChild( context.createElement("div") ); + + // Deserialize a standard representation + tag = (rtagName.exec( elem ) || [ "", "" ])[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + + tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1>" ) + wrap[2]; + + // Descend through wrappers to the right content + j = wrap[0]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Manually add leading whitespace removed by IE + if ( !support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { + nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); + } + + // Remove IE's autoinserted from table fragments + if ( !support.tbody ) { + + // String was a , *may* have spurious + elem = tag === "table" && !rtbody.test( elem ) ? + tmp.firstChild : + + // String was a bare or + wrap[1] === "
    " && !rtbody.test( elem ) ? + tmp : + 0; + + j = elem && elem.childNodes.length; + while ( j-- ) { + if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { + elem.removeChild( tbody ); + } + } + } + + jQuery.merge( nodes, tmp.childNodes ); + + // Fix #12392 for WebKit and IE > 9 + tmp.textContent = ""; + + // Fix #12392 for oldIE + while ( tmp.firstChild ) { + tmp.removeChild( tmp.firstChild ); + } + + // Remember the top-level container for proper cleanup + tmp = safe.lastChild; + } + } + } + + // Fix #11356: Clear elements from fragment + if ( tmp ) { + safe.removeChild( tmp ); + } + + // Reset defaultChecked for any radios and checkboxes + // about to be appended to the DOM in IE 6/7 (#8060) + if ( !support.appendChecked ) { + jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); + } + + i = 0; + while ( (elem = nodes[ i++ ]) ) { + + // #4087 - If origin and destination elements are the same, and this is + // that element, do not do anything + if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( safe.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( (elem = tmp[ j++ ]) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + tmp = null; + + return safe; + }, + + cleanData: function( elems, /* internal */ acceptData ) { + var elem, type, id, data, + i = 0, + internalKey = jQuery.expando, + cache = jQuery.cache, + deleteExpando = support.deleteExpando, + special = jQuery.event.special; + + for ( ; (elem = elems[i]) != null; i++ ) { + if ( acceptData || jQuery.acceptData( elem ) ) { + + id = elem[ internalKey ]; + data = id && cache[ id ]; + + if ( data ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Remove cache only if it was not already removed by jQuery.event.remove + if ( cache[ id ] ) { + + delete cache[ id ]; + + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( deleteExpando ) { + delete elem[ internalKey ]; + + } else if ( typeof elem.removeAttribute !== strundefined ) { + elem.removeAttribute( internalKey ); + + } else { + elem[ internalKey ] = null; + } + + deletedIds.push( id ); + } + } + } + } + } +}); + +jQuery.fn.extend({ + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); + }, null, value, arguments.length ); + }, + + append: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + }); + }, + + prepend: function() { + return this.domManip( arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + }); + }, + + before: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + }); + }, + + after: function() { + return this.domManip( arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + }); + }, + + remove: function( selector, keepData /* Internal Use Only */ ) { + var elem, + elems = selector ? jQuery.filter( selector, this ) : this, + i = 0; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( !keepData && elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem ) ); + } + + if ( elem.parentNode ) { + if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { + setGlobalEval( getAll( elem, "script" ) ); + } + elem.parentNode.removeChild( elem ); + } + } + + return this; + }, + + empty: function() { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + } + + // Remove any remaining nodes + while ( elem.firstChild ) { + elem.removeChild( elem.firstChild ); + } + + // If this is a select, ensure that it displays empty (#12336) + // Support: IE<9 + if ( elem.options && jQuery.nodeName( elem, "select" ) ) { + elem.options.length = 0; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map(function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + }); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined ) { + return elem.nodeType === 1 ? + elem.innerHTML.replace( rinlinejQuery, "" ) : + undefined; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + ( support.htmlSerialize || !rnoshimcache.test( value ) ) && + ( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && + !wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) { + + value = value.replace( rxhtmlTag, "<$1>" ); + + try { + for (; i < l; i++ ) { + // Remove element nodes and prevent memory leaks + elem = this[i] || {}; + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch(e) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var arg = arguments[ 0 ]; + + // Make the changes, replacing each context element with the new content + this.domManip( arguments, function( elem ) { + arg = this.parentNode; + + jQuery.cleanData( getAll( this ) ); + + if ( arg ) { + arg.replaceChild( elem, this ); + } + }); + + // Force removal if there was no new content (e.g., from empty arguments) + return arg && (arg.length || arg.nodeType) ? this : this.remove(); + }, + + detach: function( selector ) { + return this.remove( selector, true ); + }, + + domManip: function( args, callback ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var first, node, hasScripts, + scripts, doc, fragment, + i = 0, + l = this.length, + set = this, + iNoClone = l - 1, + value = args[0], + isFunction = jQuery.isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( isFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return this.each(function( index ) { + var self = set.eq( index ); + if ( isFunction ) { + args[0] = value.call( this, index, self.html() ); + } + self.domManip( args, callback ); + }); + } + + if ( l ) { + fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + if ( first ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( this[i], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { + + if ( node.src ) { + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl ) { + jQuery._evalUrl( node.src ); + } + } else { + jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); + } + } + } + } + + // Fix #11809: Avoid leaking memory + fragment = first = null; + } + } + + return this; + } +}); + +jQuery.each({ + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + i = 0, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone(true); + jQuery( insert[i] )[ original ]( elems ); + + // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +}); + + +var iframe, + elemdisplay = {}; + +/** + * Retrieve the actual display of a element + * @param {String} name nodeName of the element + * @param {Object} doc Document object + */ +// Called only from within defaultDisplay +function actualDisplay( name, doc ) { + var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), + + // getDefaultComputedStyle might be reliably used only on attached element + display = window.getDefaultComputedStyle ? + + // Use of this method is a temporary fix (more like optmization) until something better comes along, + // since it was removed from specification and supported only in FF + window.getDefaultComputedStyle( elem[ 0 ] ).display : jQuery.css( elem[ 0 ], "display" ); + + // We don't have any data stored on the element, + // so use "detach" method as fast way to get rid of the element + elem.detach(); + + return display; +} + +/** + * Try to determine the default display value of an element + * @param {String} nodeName + */ +function defaultDisplay( nodeName ) { + var doc = document, + display = elemdisplay[ nodeName ]; + + if ( !display ) { + display = actualDisplay( nodeName, doc ); + + // If the simple way fails, read from inside an iframe + if ( display === "none" || !display ) { + + // Use the already-created iframe if possible + iframe = (iframe || jQuery( " diff --git a/dist/vocabulary/mapping/sections/references-en.html b/dist/vocabulary/mapping/sections/references-en.html new file mode 100644 index 0000000..2093dc4 --- /dev/null +++ b/dist/vocabulary/mapping/sections/references-en.html @@ -0,0 +1,5 @@ + +

    References back to ToC

    + +Add your references here. It is recommended to have them as a list. + diff --git a/dist/vocabulary/mapping/webvowl/css/webvowl.app.css b/dist/vocabulary/mapping/webvowl/css/webvowl.app.css new file mode 100644 index 0000000..2ceaead --- /dev/null +++ b/dist/vocabulary/mapping/webvowl/css/webvowl.app.css @@ -0,0 +1,6 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans);html{-ms-content-zooming:none}#loading-progress{width:50%;margin:10px 0}#layoutLoadingProgressBarContainer{height:50px;text-align:left;line-height:1.5}#FPS_Statistics{padding-left:60px;padding-top:60px}#additionalInformationContainer{position:absolute;top:10px;right:50px}#modeOfOperationString{padding-left:34px}#close_directUploadBtn,#direct-text-input,#directUploadBtn{border:1px solid #34495e;width:100%;margin-top:5px;cursor:pointer}#di_controls>ul{list-style:none;margin:0;padding:5px 0 0 5px}#progressBarContext{border-radius:10px;background-color:#bdc3c7;height:25px;border:1px solid #000;margin:auto}#progressBarValue{border-radius:9px;width:0;background-color:#2980b9;height:25px;line-height:1.5;text-align:center}.dbEntry{background-color:#fff;color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntrySelected{color:#2980b9;padding:10px;font-size:14px;border:none;cursor:pointer}.dbEntry:focus,.dbEntry:hover,.dbEntrySelected{background-color:#bdc3c7}.searchMenuEntry{background-color:#fff;bottom:0;font-size:14px;min-width:50px;margin:0;padding:0;z-index:99;border-radius:4px 4px 0 0;border:1px solid rgba(0,0,0,.15);-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;border-bottom:none;display:none;position:absolute;list-style:none}.searchInputText{background-color:#fff;color:#000;border:#000;text-decoration:none;max-width:150px;overflow:hidden;text-overflow:ellipsis;margin:0}iframe,img{border:none}.hidden{display:none!important}.clear{clear:both}a{color:#69c;text-decoration:none}a:hover{color:#3498db}#optionsArea a{color:#2980b9}#optionsArea a.highlighted{background-color:#d90}.toolTipMenu li.highlighted{background-color:#feb}#browserCheck{background-color:red;padding:5px 0;position:absolute;text-align:center;width:100%}#browserCheck a{color:#fff}#browserCheck a:hover{text-decoration:underline}@-webkit-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-o-keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@keyframes sbExpandAnimation{0%{width:78%}to{width:100%}}@-webkit-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-o-keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@keyframes sbCollapseAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-moz-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-o-keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@keyframes l_sbExpandAnimation{0%{width:0}to{width:200px}}@-webkit-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-moz-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-o-keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@keyframes l_sbCollapseAnimation{0%{width:200px}to{width:0}}@-webkit-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-moz-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-o-keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@keyframes warn_ExpandAnimation{0%{top:-500px}to{top:0}}@-webkit-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-moz-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@-o-keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes warn_CollapseAnimation{0%{top:0}to{top:-400px}}@keyframes msg_CollapseAnimation{0%{top:0}to{top:-400px}}@-webkit-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-moz-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-o-keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@keyframes warn_ExpandLeftBarAnimation{0%{left:0}to{left:100px}}@-webkit-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-moz-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-o-keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@keyframes warn_CollapseLeftBarAnimation{0%{left:100px}to{left:0}}@-webkit-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-moz-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-o-keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@keyframes warn_ExpandRightBarAnimation{0%{width:100%}to{width:78%}}@-webkit-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-moz-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@-o-keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}@keyframes warn_CollapseRightBarAnimation{0%{width:78%}to{width:100%}}body{background:#18202a;font-size:14px;font-family:Open Sans,Helvetica,Arial,sans-serif;line-height:1;overflow:hidden;position:fixed}body,main{height:100%;margin:0;padding:0;width:100%}#canvasArea,main{position:relative}#canvasArea{margin:0;padding:0;width:78%}#canvasArea #graph{margin:0 0 2px;background-color:#ecf0f1;width:100%}#canvasArea #graph,#canvasArea svg{box-sizing:border-box;overflow:hidden;padding:0}#canvasArea svg{margin:0}#logo{position:fixed;pointer-events:none}#logo h2{color:#3498db;margin:0;line-height:.7;text-align:center;font-size:24px}#logo h2 span{color:#34495e;font-size:16px}@media screen and (max-device-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-height:800px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-device-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}@media screen and (max-width:1200px){#logo h2{font-size:calc(8px + 1vmin)}#logo h2 span{font-size:calc(3px + 1vmin)}}.checkboxContainer input,.checkboxContainer label{vertical-align:middle}.selected-ontology{background-color:#eee}#credits{border-top:1px solid #bdc3c7;font-size:.9em}.slideOption{position:relative;padding:8px 5px;outline:none}.slideOption .value{float:right;outline:none}.slideOption input[type=range]{box-sizing:border-box;margin:0;outline:none;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#eee}.slideOption input[type=range]::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]::-moz-range-track{-webkit-appearance:none;background-color:#3071a9;height:3px}.slideOption input[type=range]:hover{outline:none}.slideOption input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none;margin-top:-3px}.slideOption input[type=range]::-moz-range-thumb{-webkit-appearance:none;background-color:#fff;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;outline:none}.slideOption input[type=range]::-moz-range-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]::-webkit-slider-thumb:hover{background-color:#d90;outline:none}.slideOption input[type=range]:active,.slideOption input[type=range]:focus{outline:none}.slideOption input[type=range]::-moz-range-thumb:active,.slideOption input[type=range]::-moz-range-thumb:focus{outline:none}.slideOption input[type=range]::-webkit-slider-thumb:active,.slideOption input[type=range]::-webkit-slider-thumb:focus{outline:none}.slideOption input[type=range]:disabled{box-sizing:border-box;margin:0;-webkit-appearance:none;-moz-appearance:none;border-radius:3px;height:12px;width:100%;box-shadow:none;left:0;position:relative;transition:all .5s ease;background-color:#787878}.slideOption input[type=range]:disabled::-webkit-slider-runnable-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled::-moz-range-track{-webkit-appearance:none;background-color:#373737;height:3px}.slideOption input[type=range]:disabled{outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{-webkit-appearance:none;background-color:#363636;border-radius:3px;border:1px solid #aaa;transition:all .5s ease;height:10px;width:30px;margin-top:-3px}.slideOption input[type=range]:disabled::-moz-range-thumb{-webkit-appearance:none;border-radius:3px;border:1px solid #000;transition:all .5s ease;height:10px;width:30px;background-color:#aaa;outline:none}.slideOption input[type=range]:disabled::-webkit-slider-thumb{background-color:#aaa;outline:none}.slideOption input[type=range]:disabled:hover::-moz-range-thumb{background-color:#404040;outline:none}.slideOption input[type=range]:disabled:hover::-webkit-slider-thumb{background-color:#404040;outline:none}#detailsArea{top:0;right:0;bottom:0;color:#bdc3c7;height:100%;width:22%;overflow-y:auto;overflow-x:hidden;position:fixed;border-left:1px solid #34495e}#detailsArea h1{border-bottom:1px solid #34495e;color:#ecf0f1;display:block;font-weight:100;font-size:1.5em;margin:0;padding:10px 0;text-align:center}#generalDetails{width:auto;box-sizing:border-box;height:100%}#generalDetails span #about{border-bottom:1px solid #34495e;display:block;padding:10px;text-align:center;word-wrap:break-word;color:#69c}#generalDetails h4{background:#1b252e;color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 0;text-align:center}#detailsArea #generalDetails h5{border-bottom:1px solid #34495e;font-size:.9em;font-weight:100;margin:0;padding:5px;text-align:center}#description{text-align:justify}.accordion-container p{font-size:.9em;line-height:1.3;margin:5px 10px}.statisticDetails span{padding:10px}.statisticDetails div,.statisticDetails span{font-weight:100;font-style:italic;margin:10px 0}.statisticDetails div{padding:0 10px;display:inline}#selection-details .propDetails a{color:#69c}#selection-details .propDetails>span{font-weight:100;font-style:italic;padding:0 10px}#selection-details #classEquivUri span,#selection-details #disjointNodes span{padding:0}#selection-details .propDetails div{font-weight:100;font-style:italic;margin:10px 0;padding:0 10px;display:inline}#selection-details .propDetails div span{padding:0}.subclass{fill:#ecf0f1}.accordion-trigger{background:#24323e;cursor:pointer;padding:.5em}.accordion-trigger.accordion-trigger-active:before{padding-right:4px;content:"\25BC"}.accordion-trigger:not(.accordion-trigger-active):before{padding-right:4px;content:"\25BA"}.accordion-container.scrollable{max-height:40%;overflow:auto}.small-whitespace-separator{height:3px}#language{background:transparent;border:1px solid #34495e;color:#ecf0f1}#language option{background-color:#24323e}.converter-form:not(:first-child){margin-top:5px}.converter-form label{display:inline-block;line-height:normal}.converter-form input{box-sizing:border-box;height:20px;width:74%;border:1px solid #34495e}.converter-form button{float:right;padding:0;width:25%;background-color:#ecf0f1}#file-converter-label,.converter-form button{cursor:pointer;height:20px;border:1px solid #34495e}#file-converter-label{box-sizing:border-box;width:74%}#killWarning{cursor:pointer;color:#fff;font-weight:700}#copyBt{box-sizing:border-box;height:20px;width:31%;border:1px solid #34495e}#sidebarExpandButton{height:24px;width:24px;box-sizing:border-box;top:10px;color:#000;float:right;position:absolute;right:0;border:1px solid #000;text-align:center;font-size:1.5em;cursor:pointer}.dropdownMenuClass{height:20px;float:right;border:1px solid #34495e;background-color:#34495e;color:#fff;text-align:left;width:auto}#typeEditForm_datatype{padding-top:5px}#typeEditor,#typeEditor_datatype{width:165px}#leftSideBarCollapseButton{box-sizing:border-box;top:50px;color:#000;position:absolute;left:200px;border:1px solid #000;cursor:pointer;width:24px;height:24px;font-size:1.5em;text-align:center}#leftSideBarCollapseButton:hover,#sidebarExpandButton:hover{background-color:#d90}.spanForCharSelection{padding-left:25px}.nodeEditSpan{color:#000;background-color:#fff;text-align:center;border:none;padding-top:6px}.nodeEditSpan:focus{outline:none;border:none}.foreignelements{border:none}.foreignelements:focus{outline:none;border:none}#leftSideBarContent{color:#000;float:left;position:absolute;left:0;background-color:#18202a;width:100%;height:100%}#leftSideBarContent>h3{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0 0 5px;padding:10px 0;text-align:left}#generalDetailsEdit{color:#ecf0f1}#generalDetailsEdit>div{padding:5px}#generalDetailsEdit>h3{font-size:1.1em;margin:0 0 5px;padding:10px 0}#generalDetailsEdit>h3,.subAccordion{color:#ecf0f1;display:block;font-weight:100;text-align:left}.subAccordion{font-size:.8em;margin:0;padding:5px}.boxed,.subAccordionDescription{padding:0 5px}.separatorLineRight{border-right:1px solid red}.editPrefixButton:hover{color:#ff972d;cursor:pointer}.editPrefixIcon:hover{stroke:#ff972d;stroke-width:1px;cursor:pointer}.editPrefixIcon{stroke:#fffff;stroke-width:1px;cursor:pointer}.deletePrefixButton:hover{color:#ff972d;cursor:pointer}.deletePrefixButton{color:red;cursor:pointer}.invisiblePrefixButton{cursor:default;color:#18202a}#containerForAddPrefixButton{width:100%;margin-top:5px}.roundedButton{border:1px solid #000;border-radius:20px;padding:0 5px;background:#fff;cursor:pointer;color:#000;outline:none}.roundedButton:hover{background:#318638;cursor:pointer;color:#fff;outline:none}#prefixURL_Description{padding:5px 0 0}.prefixIRIElements{display:inline-block;padding:3px;border-bottom:1px solid #34495e;width:100%}.prefixInput{width:30px;display:inline-block;margin-right:5px}.prefixURL{width:100px;display:inline-block;paddig-left:5px}.selectedDefaultElement{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;max-width:200px}#editHeader,#leftHeader{color:#ecf0f1;background-color:#394f5a;display:block;font-size:1.1em;font-weight:100;text-align:center}#leftHeader{padding:10px 0;margin:0}.containerForDefaultSelection{color:#ecf0f1;display:block;font-size:1.1em;font-weight:100;margin:0;padding:10px 20px;text-align:left}.defaultSelected{color:#a15d05;background-color:#283943}.containerForDefaultSelection:hover{color:#f19505;background-color:#394f5a;display:block;cursor:pointer}#containerForLeftSideBar{top:50px;float:left;position:absolute;background-color:#1b252e;left:0;width:200px;height:200px;overflow-y:auto;overflow-x:hidden}#leftSideBar{width:100%;background-color:#18202a}#loading-info{box-sizing:border-box;position:absolute;text-align:center;width:100%;height:80%;top:0}#loading-info>div{display:inline-block;color:#fff;background-color:#18202a;border-bottom-left-radius:2px;border-bottom-right-radius:2px}#loading-info>*>*{padding:5px}#loading-info{pointer-events:none}#loading-progress{pointer-events:auto;min-width:220px;border-radius:10px}#show-loadingInfo-button{font-size:12px;color:#fff;cursor:pointer;text-align:center}#loadingIndicator_closeButton:hover{color:#ff972d;cursor:pointer}#loadingIndicator_closeButton{color:#ffe30f;cursor:pointer;padding-bottom:5px;float:right}.busyProgressBar{background-color:#000;height:25px;position:relative;animation:busy 2s linear infinite}@-webkit-keyframes busy{0%{left:0}50%{left:80%}to{left:0}}#bulletPoint_container{padding-left:15px;margin-top:0;margin-bottom:0}#bulletPoint_container>div{margin-left:-15px}#loadingInfo-container{box-sizing:border-box;text-align:left;line-height:1.2;padding-top:5px;overflow:auto;height:120px;min-height:40px;background-color:#3c3c3c}#error-description-button{margin:5px 0 0;font-size:12px;color:#69c;cursor:pointer;text-align:center}#error-description-container{box-sizing:border-box;text-align:left}#error-description-container pre{background-color:#34495e;padding:2px;margin:0;white-space:pre-wrap;max-height:calc(100vh - 125px);max-width:75vw;overflow:auto}.spin{display:inline-block;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.truncate{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.color-mode-switch{float:right;width:90px;cursor:pointer;height:20px;padding:0;border:0;color:#555;background-color:#eceeef;box-shadow:0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.color-mode-switch:focus{outline-width:0}.color-mode-switch.active{color:#fff;background-color:#32cd32;box-shadow:inset 0 1px 4px rgba(0,0,0,.2),inset 0 0 3px rgba(0,0,0,.1)}.filterMenuButtonHighlight{background-color:#d90}@-webkit-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-moz-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@-o-keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}@keyframes buttonAnimation{0%{background-color:unset}to{background-color:#d90}}.buttonPulse{-webkit-animation-name:buttonAnimation;-moz-animation-name:buttonAnimation;-o-animation-name:buttonAnimation;animation-name:buttonAnimation;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-o-animation-duration:.5s;animation-duration:.5s;-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}#m_about{max-width:200px;width:200px;position:absolute}#m_modes{max-width:160px;width:160px;position:absolute}#m_filter{max-width:170px;width:170px;position:absolute}#m_gravity{max-width:180px;width:180px;position:absolute}#m_export{max-width:160px;width:160px;position:absolute}#exportedUrl{width:100px}#m_select{max-width:300px;width:300px;position:absolute}#m_config{max-width:240px;width:240px;position:absolute}#m_search{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#swipeBarContainer{position:fixed;width:77.8%;height:40px;margin:0;padding:0;bottom:0}#menuElementContainer{margin:0;padding:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;text-align:right;list-style-type:none}#menuElementContainer>li{display:inline-block;box-sizing:border-box;text-align:left;position:relative;height:40px;font-size:14px;color:#fff;padding:12px 0 0;margin-left:-4px}#menuElementContainer>li>a{color:#fff;padding:9px 12px 12px 30px}.menuElementSvgElement{height:20px;width:20px;display:block;position:absolute;top:10px;left:8px}.btn_shadowed{background-color:#fefefe;box-shadow:1px 1px 1px gray}.reloadCachedOntologyIcon{height:20px;width:108px;display:block;position:absolute;top:20px;left:3px;border:1px solid #000;border-radius:10px;cursor:pointer}.reloadCachedOntologyIcon:disabled{background:#f4f4f4;cursor:auto;border:1px solid #a9a9a9}.reloadCachedOntologyIcon:hover{background:#d90;cursor:pointer}.disabledReloadElement{cursor:auto;background:#f4f4f4;pointer-events:auto;border:1px solid #a9a9a9;color:#bbb}.disabledReloadElement:hover{cursor:auto;background:#eee;pointer-events:auto}#menuElementContainer>li>input{color:#000;padding:.1em .3em .1em 1.5em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:120px}#menuElementContainer>li>a:hover{box-sizing:border-box;background:#1b252e;color:#bdc3c7}#empty:hover{box-sizing:border-box;background:#e1e1e1;color:#2980b9}#empty.disabled,.disabled{pointer-events:none;cursor:default;color:#979797}.toolTipMenu{-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);box-sizing:border-box;background-color:#fff;border:1px solid rgba(0,0,0,.15);border-bottom:none;border-radius:4px 4px 0 0;bottom:0;display:none;font-size:14px;list-style:none;margin:0;padding:0;white-space:normal;position:absolute;z-index:99}.toolTipMenu>li:first-of-type{border:none}.toolTipMenu a{color:#2980b9}.toolTipMenu>li{border-top:1px solid #bdc3c7}.toolTipMenu li{color:#2980b9;display:block}#menuElementContainer>li:hover .toolTipMenu{display:block}#menuElementContainer li>ul.toolTipMenu li a:hover{background:#e1e1e1}#scrollLeftButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;left:0}#scrollLeftButton:focus{outline:none}#scrollLeftButton:before{content:"<"}#scrollRightButton{height:30px;width:30px;padding:5px 0 5px 10px;color:#fff;cursor:pointer;position:absolute;margin-top:-2px;font-size:2em;background-color:#24323e;right:0}#scrollRightButton:focus{outline:none}#scrollLeftButton:hover,#scrollRightButton:hover{color:#bdc3c7}#scrollRightButton:before{content:">"}#centerGraphButton,#zoomInButton,#zoomOutButton{border:1px solid #000;text-align:center;margin:-1px 0 0;font-size:1.5em;padding:0;height:28px}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#zoomOutButton{line-height:22px}#centerGraphButton,#zoomInButton{line-height:25px}#zoomSlider>p:hover{background-color:#d90}#zoomSliderParagraph{color:#000;padding-top:5px;margin:-1px 0 0;border:1px solid #000;height:150px}p#zoomSliderParagraph:hover{background-color:#fff}#zoomSlider{width:28px;margin-top:-2px;padding:0;font-size:1.5em;cursor:pointer;position:absolute;right:20px;bottom:20px;color:#000;box-sizing:border-box}#menuElementContainer>li>a:before{font-size:1em;margin:0;padding:0 6px 0 0}#menuElementContainer a.highlighted{background-color:#d90} + /*!*padding: 0 0.2em;*!*/.inner-addon{position:relative}.gearIcon,.searchIcon{position:absolute;width:17px;height:17px;pointer-events:none}.gearIcon{left:-5px} + /*!*padding: 0 0.2em;*!*/ + /*!*color: black;*!*/ + /*!*content: "\2315";*!*/ + /*!*content: "\2315" or "\1F50D"*!;*/li#c_search{padding:0 5px;margin-left:5px;height:20px}li#c_locate{padding:0}#c_locate>a{font-size:2em;padding:0}a#pause-button{padding:12px}a#pause-button.paused:before{content:"\25BA"}a#pause-button.paused:hover{background-color:#d90;color:#fff}a#pause-button:not(.paused):before{content:"II"}.toolTipMenu li:hover{background-color:#e1e1e1}#emptyLiHover,#emptyLiHover:hover{background-color:#fff}.toggleOption li:hover{background-color:#e1e1e1}.toggleOption{padding:8px 5px}#converter-option:hover{background-color:#fff}.option,.toolTipMenu li a:only-child{display:block;float:none;padding:8px 5px}.customLocate{padding:0;background-color:#32cd32}a#locateSearchResult{padding-top:50px}#zoomSliderElement{color:#000;position:relative;padding-top:0;width:155px;height:24px;background-color:transparent;-webkit-transform-origin-x:73px;-webkit-transform-origin-y:73px;-webkit-transform:rotate(-90deg);-moz-transform-origin:73px 73px;transform:rotate(-90deg);transform-origin:73px 73px;-webkit-appearance:none;outline:none;margin:4px 0}#zoomSliderElement::-webkit-scrollbar{height:0}#zoomSliderElement:hover{cursor:crosshair}#zoomSliderElement::-webkit-slider-runnable-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-moz-range-track{width:100%;height:5px;cursor:pointer;background:#3071a9}#zoomSliderElement::-webkit-slider-thumb{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#fff;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb{background:#fff}#zoomSliderElement::-ms-thumb,#zoomSliderElement::-ms-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-ms-thumb:hover{background:#d90}#zoomSliderElement::-webkit-slider-thumb:hover{-webkit-appearance:none;border:1px solid #000;height:10px;width:30px;margin-right:50px;border-radius:3px;background:#d90;cursor:pointer;outline:none;margin-top:-3px}#zoomSliderElement::-moz-range-thumb,#zoomSliderElement::-moz-range-thumb:hover{border:1px solid #000;height:10px;width:30px;border-radius:3px;cursor:pointer;outline:none}#zoomSliderElement::-moz-range-thumb:hover{background:#d90}#zoomSliderElement::-moz-focus-outer{border:0}#locateSearchResult:focus{outline:none}a#locateSearchResult.highlighted:hover{background-color:#d90;color:red}a#locateSearchResult{outline:none;padding-bottom:0;padding-top:0;position:relative;top:5px}#editorHint{padding:5px;position:absolute;text-align:center;width:100%;pointer-events:none}#editorHint label{pointer-events:auto;float:right;padding:5px;color:#fd0}#editorHint label:hover{text-decoration:underline;cursor:pointer}#editorHint>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:5px}#WarningErrorMessagesContainer{position:absolute;text-align:center;top:0;pointer-events:none}#WarningErrorMessages{position:relative;width:50%;pointer-events:auto;margin:10px 0;padding-right:12px;overflow-y:auto;overflow-x:hidden}#WarningErrorMessages label{color:#fd0}#WarningErrorMessages label,#WarningErrorMessages span{pointer-events:auto;float:right;padding:5px}#WarningErrorMessages label:hover{text-decoration:underline;cursor:pointer}#WarningErrorMessages>div{pointer-events:auto;text-align:left;display:inline-block;color:#fff;font-size:.8em;background-color:#18202a;padding:5px;border-radius:10px;border:1px solid #ecf0f1;width:70%}#WarningErrorMessagesContent>ul{-webkit-padding-start:20px;padding:0 16px}#WarningErrorMessagesContent>ul>li{padding:5px}.textLineEditWithLabel{display:inline-block;width:100%;border-bottom:1px solid #34495e;padding:2px 0}.converter-form-Editor label{line-height:normal}.descriptionTextClass,.prefixIRIElements input{background-color:#34495e;color:#fff}.prefixIRIElements input{border:1px solid #34495e}.prefixIRIElements input:disabled{background-color:#18202a;border:1px solid #18202a;color:#fff}.converter-form-Editor input{float:right;border:1px solid #34495e;background-color:#34495e;color:#fff}.converter-form-Editor input:disabled{background-color:#545350;border:1px solid #34495e;color:#939798}.disabledLabelForSlider{color:gray} \ No newline at end of file diff --git a/dist/vocabulary/mapping/webvowl/css/webvowl.css b/dist/vocabulary/mapping/webvowl/css/webvowl.css new file mode 100644 index 0000000..335ea85 --- /dev/null +++ b/dist/vocabulary/mapping/webvowl/css/webvowl.css @@ -0,0 +1 @@ +.text{font-family:Helvetica,Arial,sans-serif;font-size:12px}.subtext{font-size:9px}.text.instance-count{fill:#666}.external+text .instance-count{fill:#aaa}.cardinality{font-size:10px}.embedded,.text{pointer-events:none}.allvaluesfromproperty,.class,.disjoint,.disjointwith,.equivalentproperty,.functionalproperty,.inversefunctionalproperty,.object,.objectproperty,.somevaluesfromproperty,.symmetricproperty,.transitiveproperty{fill:#acf}.datatypeproperty,.label .datatype{fill:#9c6}.rdf,.rdfproperty{fill:#c9c}.literal,.node .datatype{fill:#fc3}.deprecated,.deprecatedproperty{fill:#ccc}.nofill,path{fill:none}marker path{fill:#000}.class,.fineline,line,path{stroke:#000}.external+text,.subclass,.subclassproperty,.white{fill:#fff}.cardinality.focused,.cardinality.hovered,.class.hovered,.filled.focused,.filled.hovered,.hoveredForEditing,.property.hovered,.values-from.filled.hovered{fill:red!important;cursor:pointer}.feature{fill:red;cursor:pointer}@-webkit-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-moz-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@-o-keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}@keyframes pulseAnimation{0%{-webkit-transform:scale(1.5);stroke-width:3.33}50%{stroke-width:4}to{-webkit-transform:scale(1);stroke-width:5}}.searchResultA{-webkit-animation-name:pulseAnimation;-moz-animation-name:pulseAnimation;-o-animation-name:pulseAnimation;animation-name:pulseAnimation;-webkit-animation-duration:.8s;-moz-animation-duration:.8s;-o-animation-duration:.8s;animation-duration:.8s;-webkit-transform:translateZ(0);-o-transform:translateZ(0);-webkit-animation-iteration-count:3;-moz-animation-iteration-count:3;-o-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-timing-function:linear;-moz-animation-timing-function:linear;-o-animation-timing-function:linear;animation-timing-function:linear}.searchResultA,.searchResultB{fill:none;stroke-width:5;stroke:red}.hovered-MathSymbol{fill:none}.focused,.hovered-MathSymbol,path.hovered{stroke:red!important}.feature:hover,.feature_hover,.indirect-highlighting{fill:#f90;cursor:pointer}.values-from{stroke:#69c}.symbol,.values-from.filled{fill:#69c}.class,line,path{stroke-width:2}.fineline{stroke-width:1}.anonymous,.dashed{stroke-dasharray:8}.dotted{stroke-dasharray:3}circle.focused,rect.focused{stroke-width:4px}.nostroke{stroke:none}.addDataPropertyElement{fill:#9c6!important;cursor:pointer;stroke-width:2;stroke:#000}.addDataPropertyElement:hover{fill:#f90!important;cursor:pointer;stroke-width:2;stroke:#000}.superHiddenElement{fill:rgba(255,153,0,.4);cursor:pointer;stroke-width:0;stroke:#000}.superOpacityElement{opacity:0}.deleteParentElement:hover{fill:#f90;cursor:pointer;stroke-width:2;stroke:#000}.deleteParentElement{fill:red;cursor:pointer;stroke-width:2;stroke:#000}.classDraggerNodeHovered,.classNodeDragPath{stroke:#000;stroke-width:2px}.classDraggerNodeHovered{fill:#f90;cursor:pointer}.classDraggerNode{fill:#acf;stroke:#000;stroke-width:2px}marker path{stroke-dasharray:100} \ No newline at end of file diff --git a/dist/vocabulary/mapping/webvowl/data/foaf.json b/dist/vocabulary/mapping/webvowl/data/foaf.json new file mode 100644 index 0000000..beaaffc --- /dev/null +++ b/dist/vocabulary/mapping/webvowl/data/foaf.json @@ -0,0 +1,2894 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.6), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "undefined" ], + "baseIris" : [ "http://schema.org", "http://www.w3.org/2000/01/rdf-schema", "http://www.w3.org/2003/01/geo/wgs84_pos", "http://purl.org/dc/terms", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "http://www.w3.org/2000/10/swap/pim/contact", "http://www.w3.org/2004/02/skos/core" ], + "prefixList" : { + "owl" : "http://www.w3.org/2002/07/owl#", + "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "wot" : "http://xmlns.com/wot/0.1/", + "xsd" : "http://www.w3.org/2001/XMLSchema#", + "dc" : "http://purl.org/dc/elements/1.1/", + "xml" : "http://www.w3.org/XML/1998/namespace", + "vs" : "http://www.w3.org/2003/06/sw-vocab-status/ns#", + "foaf" : "http://xmlns.com/foaf/0.1/", + "rdfs" : "http://www.w3.org/2000/01/rdf-schema#" + }, + "title" : { + "undefined" : "Friend of a Friend (FOAF) vocabulary" + }, + "iri" : "http://xmlns.com/foaf/0.1/", + "description" : { + "undefined" : "The Friend of a Friend (FOAF) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language." + }, + "other" : { + "title" : [ { + "identifier" : "title", + "language" : "undefined", + "value" : "Friend of a Friend (FOAF) vocabulary", + "type" : "label" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "3", + "type" : "owl:Thing" + }, { + "id" : "9", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:equivalentClass" + }, { + "id" : "18", + "type" : "owl:Thing" + }, { + "id" : "19", + "type" : "owl:Thing" + }, { + "id" : "5", + "type" : "owl:Thing" + }, { + "id" : "20", + "type" : "rdfs:Literal" + }, { + "id" : "8", + "type" : "rdfs:Literal" + }, { + "id" : "11", + "type" : "owl:Class" + }, { + "id" : "21", + "type" : "owl:Thing" + }, { + "id" : "22", + "type" : "rdfs:Literal" + }, { + "id" : "24", + "type" : "rdfs:Literal" + }, { + "id" : "26", + "type" : "rdfs:Literal" + }, { + "id" : "27", + "type" : "rdfs:Literal" + }, { + "id" : "37", + "type" : "owl:equivalentClass" + }, { + "id" : "45", + "type" : "rdfs:Literal" + }, { + "id" : "46", + "type" : "rdfs:Literal" + }, { + "id" : "53", + "type" : "rdfs:Literal" + }, { + "id" : "56", + "type" : "rdfs:Literal" + }, { + "id" : "59", + "type" : "rdfs:Literal" + }, { + "id" : "60", + "type" : "owl:Class" + }, { + "id" : "61", + "type" : "rdfs:Literal" + }, { + "id" : "6", + "type" : "rdfs:Literal" + }, { + "id" : "62", + "type" : "rdfs:Literal" + }, { + "id" : "12", + "type" : "owl:equivalentClass" + }, { + "id" : "55", + "type" : "rdfs:Literal" + }, { + "id" : "69", + "type" : "rdfs:Literal" + }, { + "id" : "71", + "type" : "owl:Class" + }, { + "id" : "36", + "type" : "owl:Class" + }, { + "id" : "86", + "type" : "owl:Class" + }, { + "id" : "83", + "type" : "owl:Class" + }, { + "id" : "94", + "type" : "owl:Class" + }, { + "id" : "73", + "type" : "rdfs:Literal" + }, { + "id" : "68", + "type" : "rdfs:Literal" + }, { + "id" : "93", + "type" : "rdfs:Literal" + }, { + "id" : "33", + "type" : "owl:Thing" + }, { + "id" : "49", + "type" : "rdfs:Literal" + }, { + "id" : "29", + "type" : "owl:Thing" + }, { + "id" : "101", + "type" : "rdfs:Literal" + }, { + "id" : "39", + "type" : "owl:Thing" + }, { + "id" : "63", + "type" : "owl:equivalentClass" + }, { + "id" : "64", + "type" : "owl:equivalentClass" + }, { + "id" : "102", + "type" : "owl:equivalentClass" + }, { + "id" : "78", + "type" : "owl:Class" + }, { + "id" : "77", + "type" : "owl:Class" + }, { + "id" : "13", + "type" : "owl:equivalentClass" + }, { + "id" : "58", + "type" : "rdfs:Literal" + }, { + "id" : "100", + "type" : "rdfs:Literal" + }, { + "id" : "106", + "type" : "rdfs:Literal" + }, { + "id" : "52", + "type" : "rdfs:Literal" + }, { + "id" : "88", + "type" : "rdfs:Literal" + }, { + "id" : "118", + "type" : "rdfs:Literal" + }, { + "id" : "126", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:equivalentClass" + }, { + "id" : "32", + "type" : "owl:equivalentClass" + }, { + "id" : "10", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "3", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2004/02/skos/core#Concept", + "baseIri" : "http://www.w3.org/2004/02/skos/core", + "instances" : 0, + "label" : { + "IRI-based" : "Concept", + "undefined" : "Concept" + }, + "attributes" : [ "external" ], + "id" : "9" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Agent", + "equivalent" : [ "13" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Agent", + "undefined" : "Agent" + }, + "subClasses" : [ "10", "11", "12" ], + "comment" : { + "undefined" : "An agent (eg. person, group, software or physical artifact)." + }, + "attributes" : [ "equivalent" ], + "id" : "1" + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "18", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "19", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "5", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "20", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "8", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Organization", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Organization", + "undefined" : "Organization" + }, + "comment" : { + "undefined" : "An organization." + }, + "id" : "11", + "superClasses" : [ "1" ] + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "21", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "22", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "24", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "26", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "27", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://schema.org/CreativeWork", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "CreativeWork" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "37" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "45", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "46", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "53", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "56", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "59", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Project", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Project", + "undefined" : "Project" + }, + "comment" : { + "undefined" : "A project (a collective endeavour of some kind)." + }, + "id" : "60" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "61", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "6", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "62", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "equivalent" : [ "63", "64" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Person", + "undefined" : "Person" + }, + "comment" : { + "undefined" : "A person." + }, + "attributes" : [ "equivalent" ], + "id" : "12", + "superClasses" : [ "1", "36" ] + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "55", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "69", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://xmlns.com/foaf/0.1/PersonalProfileDocument", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "PersonalProfileDocument", + "undefined" : "PersonalProfileDocument" + }, + "comment" : { + "undefined" : "A personal profile RDF document." + }, + "id" : "71", + "superClasses" : [ "2" ] + }, { + "iri" : "http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing", + "baseIri" : "http://www.w3.org/2003/01/geo/wgs84_pos", + "instances" : 0, + "label" : { + "IRI-based" : "SpatialThing", + "undefined" : "Spatial Thing" + }, + "subClasses" : [ "12" ], + "attributes" : [ "external" ], + "id" : "36" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineChatAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineChatAccount", + "undefined" : "Online Chat Account" + }, + "comment" : { + "undefined" : "An online chat account." + }, + "id" : "86", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineGamingAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineGamingAccount", + "undefined" : "Online Gaming Account" + }, + "comment" : { + "undefined" : "An online gaming account." + }, + "id" : "83", + "superClasses" : [ "78" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/LabelProperty", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "LabelProperty", + "undefined" : "Label Property" + }, + "comment" : { + "undefined" : "A foaf:LabelProperty is any RDF property with texual values that serve as labels." + }, + "id" : "94" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "73", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "68", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "93", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "33", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "49", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "29", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "id" : "101", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "39", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2000/10/swap/pim/contact#Person", + "baseIri" : "http://www.w3.org/2000/10/swap/pim/contact", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "63" + }, { + "iri" : "http://schema.org/Person", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "64" + }, { + "iri" : "http://schema.org/ImageObject", + "baseIri" : "http://schema.org", + "instances" : 0, + "label" : { + "IRI-based" : "ImageObject" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "102" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineAccount", + "undefined" : "Online Account" + }, + "subClasses" : [ "77", "86", "83" ], + "comment" : { + "undefined" : "An online account." + }, + "id" : "78" + }, { + "iri" : "http://xmlns.com/foaf/0.1/OnlineEcommerceAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "OnlineEcommerceAccount", + "undefined" : "Online E-commerce Account" + }, + "comment" : { + "undefined" : "An online e-commerce account." + }, + "id" : "77", + "superClasses" : [ "78" ] + }, { + "iri" : "http://purl.org/dc/terms/Agent", + "baseIri" : "http://purl.org/dc/terms", + "instances" : 0, + "label" : { + "IRI-based" : "Agent" + }, + "attributes" : [ "equivalent", "external" ], + "id" : "13" + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "58", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "100", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "106", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "52", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "88", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Literal", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "id" : "118", + "label" : { + "IRI-based" : "Literal", + "undefined" : "Literal" + } + }, { + "iri" : "http://www.w3.org/2000/01/rdf-schema#Class", + "baseIri" : "http://www.w3.org/2000/01/rdf-schema", + "instances" : 0, + "label" : { + "IRI-based" : "Class" + }, + "attributes" : [ "external" ], + "id" : "126" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Document", + "equivalent" : [ "37" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Document", + "undefined" : "Document" + }, + "subClasses" : [ "71", "32" ], + "comment" : { + "undefined" : "A document." + }, + "attributes" : [ "equivalent" ], + "id" : "2" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Image", + "equivalent" : [ "102" ], + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Image", + "undefined" : "Image" + }, + "comment" : { + "undefined" : "An image." + }, + "attributes" : [ "equivalent" ], + "id" : "32", + "superClasses" : [ "2" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/Group", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "annotations" : { + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "Group", + "undefined" : "Group" + }, + "comment" : { + "undefined" : "A class of Agents." + }, + "id" : "10", + "superClasses" : [ "1" ] + } ], + "property" : [ { + "id" : "0", + "type" : "owl:objectProperty" + }, { + "id" : "4", + "type" : "owl:datatypeProperty" + }, { + "id" : "7", + "type" : "owl:datatypeProperty" + }, { + "id" : "14", + "type" : "owl:objectProperty" + }, { + "id" : "16", + "type" : "owl:objectProperty" + }, { + "id" : "17", + "type" : "owl:objectProperty" + }, { + "id" : "23", + "type" : "owl:objectProperty" + }, { + "id" : "25", + "type" : "owl:objectProperty" + }, { + "id" : "28", + "type" : "owl:objectProperty" + }, { + "id" : "30", + "type" : "owl:objectProperty" + }, { + "id" : "31", + "type" : "owl:objectProperty" + }, { + "id" : "35", + "type" : "owl:objectProperty" + }, { + "id" : "38", + "type" : "owl:objectProperty" + }, { + "id" : "44", + "type" : "owl:datatypeProperty" + }, { + "id" : "47", + "type" : "owl:objectProperty" + }, { + "id" : "48", + "type" : "owl:datatypeProperty" + }, { + "id" : "50", + "type" : "owl:objectProperty" + }, { + "id" : "51", + "type" : "owl:datatypeProperty" + }, { + "id" : "54", + "type" : "owl:datatypeProperty" + }, { + "id" : "57", + "type" : "owl:datatypeProperty" + }, { + "id" : "65", + "type" : "owl:datatypeProperty" + }, { + "id" : "66", + "type" : "owl:datatypeProperty" + }, { + "id" : "67", + "type" : "owl:datatypeProperty" + }, { + "id" : "70", + "type" : "owl:datatypeProperty" + }, { + "id" : "72", + "type" : "owl:datatypeProperty" + }, { + "id" : "15", + "type" : "owl:objectProperty" + }, { + "id" : "74", + "type" : "rdfs:SubClassOf" + }, { + "id" : "75", + "type" : "rdfs:SubClassOf" + }, { + "id" : "76", + "type" : "rdfs:SubClassOf" + }, { + "id" : "79", + "type" : "rdfs:SubClassOf" + }, { + "id" : "80", + "type" : "owl:objectProperty" + }, { + "id" : "81", + "type" : "owl:objectProperty" + }, { + "id" : "82", + "type" : "rdfs:SubClassOf" + }, { + "id" : "34", + "type" : "owl:objectProperty" + }, { + "id" : "85", + "type" : "rdfs:SubClassOf" + }, { + "id" : "87", + "type" : "owl:datatypeProperty" + }, { + "id" : "89", + "type" : "rdfs:SubClassOf" + }, { + "id" : "90", + "type" : "rdfs:SubClassOf" + }, { + "id" : "91", + "type" : "owl:objectProperty" + }, { + "id" : "92", + "type" : "owl:datatypeProperty" + }, { + "id" : "95", + "type" : "owl:datatypeProperty" + }, { + "id" : "96", + "type" : "owl:objectProperty" + }, { + "id" : "97", + "type" : "owl:datatypeProperty" + }, { + "id" : "98", + "type" : "rdfs:SubClassOf" + }, { + "id" : "99", + "type" : "owl:datatypeProperty" + }, { + "id" : "43", + "type" : "owl:objectProperty" + }, { + "id" : "42", + "type" : "owl:objectProperty" + }, { + "id" : "103", + "type" : "owl:datatypeProperty" + }, { + "id" : "104", + "type" : "owl:objectProperty" + }, { + "id" : "105", + "type" : "owl:datatypeProperty" + }, { + "id" : "107", + "type" : "owl:objectProperty" + }, { + "id" : "108", + "type" : "owl:datatypeProperty" + }, { + "id" : "109", + "type" : "owl:objectProperty" + }, { + "id" : "110", + "type" : "owl:objectProperty" + }, { + "id" : "40", + "type" : "owl:objectProperty" + }, { + "id" : "41", + "type" : "owl:objectProperty" + }, { + "id" : "84", + "type" : "owl:objectProperty" + }, { + "id" : "111", + "type" : "owl:datatypeProperty" + }, { + "id" : "112", + "type" : "owl:datatypeProperty" + }, { + "id" : "113", + "type" : "owl:datatypeProperty" + }, { + "id" : "114", + "type" : "owl:objectProperty" + }, { + "id" : "116", + "type" : "owl:disjointWith" + }, { + "id" : "117", + "type" : "owl:disjointWith" + }, { + "id" : "119", + "type" : "owl:datatypeProperty" + }, { + "id" : "120", + "type" : "owl:disjointWith" + }, { + "id" : "121", + "type" : "owl:disjointWith" + }, { + "id" : "122", + "type" : "owl:objectProperty" + }, { + "id" : "123", + "type" : "owl:datatypeProperty" + }, { + "id" : "124", + "type" : "owl:objectProperty" + }, { + "id" : "125", + "type" : "owl:datatypeProperty" + }, { + "id" : "127", + "type" : "owl:datatypeProperty" + }, { + "id" : "115", + "type" : "owl:objectProperty" + }, { + "id" : "128", + "type" : "owl:objectProperty" + }, { + "id" : "129", + "type" : "owl:objectProperty" + } ], + "propertyAttribute" : [ { + "iri" : "http://xmlns.com/foaf/0.1/interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "interest", + "undefined" : "interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A page about a topic of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "0" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox_sha1sum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "6", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox_sha1sum", + "undefined" : "sha1sum of a personal mailbox URI name" + }, + "domain" : "5", + "comment" : { + "undefined" : "The sha1sum of the URI of an Internet mailbox associated with exactly one owner, the first owner of the mailbox." + }, + "attributes" : [ "datatype" ], + "id" : "4" + }, { + "iri" : "http://xmlns.com/foaf/0.1/nick", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "8", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "nick", + "undefined" : "nickname" + }, + "domain" : "5", + "comment" : { + "undefined" : "A short informal nickname characterising an agent (includes login identifiers, IRC and other chat nicknames)." + }, + "attributes" : [ "datatype" ], + "id" : "7" + }, { + "iri" : "http://xmlns.com/foaf/0.1/openid", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "openid", + "undefined" : "openid" + }, + "superproperty" : [ "15" ], + "domain" : "1", + "comment" : { + "undefined" : "An OpenID for an Agent." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "14" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workInfoHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workInfoHomepage", + "undefined" : "work info homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A work info homepage of some person; a page about their work for some organization." + }, + "attributes" : [ "object" ], + "id" : "16" + }, { + "iri" : "http://xmlns.com/foaf/0.1/pastProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "pastProject", + "undefined" : "past project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A project this person has previously worked on." + }, + "attributes" : [ "object" ], + "id" : "17" + }, { + "iri" : "http://xmlns.com/foaf/0.1/theme", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "theme", + "undefined" : "theme" + }, + "domain" : "19", + "comment" : { + "undefined" : "A theme." + }, + "attributes" : [ "object" ], + "id" : "23" + }, { + "iri" : "http://xmlns.com/foaf/0.1/knows", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "12", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "knows", + "undefined" : "knows" + }, + "domain" : "12", + "comment" : { + "undefined" : "A person known by this person (indicating some level of reciprocated interaction between the parties)." + }, + "attributes" : [ "object" ], + "id" : "25" + }, { + "iri" : "http://xmlns.com/foaf/0.1/focus", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "29", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "focus", + "undefined" : "focus" + }, + "domain" : "9", + "comment" : { + "undefined" : "The underlying or 'focal' entity associated with some SKOS-described concept." + }, + "attributes" : [ "object" ], + "id" : "28" + }, { + "iri" : "http://xmlns.com/foaf/0.1/phone", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "phone", + "undefined" : "phone" + }, + "domain" : "19", + "comment" : { + "undefined" : "A phone, specified using fully qualified tel: URI scheme (refs: http://www.w3.org/Addressing/schemes.html#tel)." + }, + "attributes" : [ "object" ], + "id" : "30" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depicts", + "inverse" : "34", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "33", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depicts", + "undefined" : "depicts" + }, + "domain" : "32", + "comment" : { + "undefined" : "A thing depicted in this representation." + }, + "attributes" : [ "object" ], + "id" : "31" + }, { + "iri" : "http://xmlns.com/foaf/0.1/based_near", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "36", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "based_near", + "undefined" : "based near" + }, + "domain" : "36", + "comment" : { + "undefined" : "A location that something is based near, for some broadly human notion of near." + }, + "attributes" : [ "object" ], + "id" : "35" + }, { + "iri" : "http://xmlns.com/foaf/0.1/page", + "inverse" : "40", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "page", + "undefined" : "page" + }, + "domain" : "39", + "subproperty" : [ "15", "41", "42", "43" ], + "comment" : { + "undefined" : "A page or document about this thing." + }, + "attributes" : [ "object" ], + "id" : "38" + }, { + "iri" : "http://xmlns.com/foaf/0.1/geekcode", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "26", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "geekcode", + "undefined" : "geekcode" + }, + "domain" : "12", + "comment" : { + "undefined" : "A textual geekcode for this person, see http://www.geekcode.com/geek.html" + }, + "attributes" : [ "datatype" ], + "id" : "44" + }, { + "iri" : "http://xmlns.com/foaf/0.1/primaryTopic", + "inverse" : "15", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "primaryTopic", + "undefined" : "primary topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "The primary topic of some page or document." + }, + "attributes" : [ "object", "functional" ], + "id" : "47" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "49", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenName", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "48" + }, { + "iri" : "http://xmlns.com/foaf/0.1/schoolHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "schoolHomepage", + "undefined" : "schoolHomepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A homepage of a school attended by the person." + }, + "attributes" : [ "object" ], + "id" : "50" + }, { + "iri" : "http://xmlns.com/foaf/0.1/gender", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "52", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "gender", + "undefined" : "gender" + }, + "domain" : "1", + "comment" : { + "undefined" : "The gender of this Agent (typically but not necessarily 'male' or 'female')." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "51" + }, { + "iri" : "http://xmlns.com/foaf/0.1/dnaChecksum", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "55", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "dnaChecksum", + "undefined" : "DNA checksum" + }, + "domain" : "19", + "comment" : { + "undefined" : "A checksum for the DNA of some thing. Joke." + }, + "attributes" : [ "datatype" ], + "id" : "54" + }, { + "iri" : "http://xmlns.com/foaf/0.1/lastName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "58", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "lastName", + "undefined" : "lastName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The last name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "57" + }, { + "iri" : "http://xmlns.com/foaf/0.1/status", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "45", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "status", + "undefined" : "status" + }, + "domain" : "1", + "comment" : { + "undefined" : "A string expressing what the user is happy for the general public (normally) to know about their current activity." + }, + "attributes" : [ "datatype" ], + "id" : "65" + }, { + "iri" : "http://xmlns.com/foaf/0.1/yahooChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "46", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "yahooChatID", + "undefined" : "Yahoo chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A Yahoo chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "66" + }, { + "iri" : "http://xmlns.com/foaf/0.1/name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "68", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "name", + "undefined" : "name" + }, + "domain" : "19", + "comment" : { + "undefined" : "A name for some thing." + }, + "attributes" : [ "datatype" ], + "id" : "67" + }, { + "iri" : "http://xmlns.com/foaf/0.1/icqChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "53", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "icqChatID", + "undefined" : "ICQ chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An ICQ chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "70" + }, { + "iri" : "http://xmlns.com/foaf/0.1/givenname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "73", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "givenname", + "undefined" : "Given name" + }, + "domain" : "19", + "comment" : { + "undefined" : "The given name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "72" + }, { + "iri" : "http://xmlns.com/foaf/0.1/isPrimaryTopicOf", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "isPrimaryTopicOf", + "undefined" : "is primary topic of" + }, + "superproperty" : [ "38" ], + "domain" : "39", + "subproperty" : [ "14", "43" ], + "comment" : { + "undefined" : "A document that this thing is the primary topic of." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "15" + }, { + "range" : "2", + "domain" : "32", + "attributes" : [ "anonymous", "object" ], + "id" : "74" + }, { + "range" : "2", + "domain" : "71", + "attributes" : [ "anonymous", "object" ], + "id" : "75" + }, { + "range" : "78", + "domain" : "77", + "attributes" : [ "anonymous", "object" ], + "id" : "76" + }, { + "range" : "36", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "79" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountServiceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountServiceHomepage", + "undefined" : "account service homepage" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates a homepage of the service provide for this online account." + }, + "attributes" : [ "object" ], + "id" : "80" + }, { + "iri" : "http://xmlns.com/foaf/0.1/logo", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "logo", + "undefined" : "logo" + }, + "domain" : "19", + "comment" : { + "undefined" : "A logo representing some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "81" + }, { + "range" : "78", + "domain" : "83", + "attributes" : [ "anonymous", "object" ], + "id" : "82" + }, { + "iri" : "http://xmlns.com/foaf/0.1/depiction", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "depiction", + "undefined" : "depiction" + }, + "domain" : "33", + "subproperty" : [ "84" ], + "comment" : { + "undefined" : "A depiction of some thing." + }, + "attributes" : [ "object" ], + "id" : "34" + }, { + "range" : "78", + "domain" : "86", + "attributes" : [ "anonymous", "object" ], + "id" : "85" + }, { + "iri" : "http://xmlns.com/foaf/0.1/family_name", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "88", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "family_name", + "undefined" : "family_name" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "87" + }, { + "range" : "1", + "domain" : "12", + "attributes" : [ "anonymous", "object" ], + "id" : "89" + }, { + "range" : "1", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "90" + }, { + "iri" : "http://xmlns.com/foaf/0.1/fundedBy", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "19", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "fundedBy", + "undefined" : "funded by" + }, + "domain" : "19", + "comment" : { + "undefined" : "An organization funding a project or person." + }, + "attributes" : [ "object" ], + "id" : "91" + }, { + "iri" : "http://xmlns.com/foaf/0.1/title", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "93", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "title", + "undefined" : "title" + }, + "domain" : "19", + "comment" : { + "undefined" : "Title (Mr, Mrs, Ms, Dr. etc)" + }, + "attributes" : [ "datatype" ], + "id" : "92" + }, { + "iri" : "http://xmlns.com/foaf/0.1/accountName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "59", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "accountName", + "undefined" : "account name" + }, + "domain" : "78", + "comment" : { + "undefined" : "Indicates the name (identifier) associated with this online account." + }, + "attributes" : [ "datatype" ], + "id" : "95" + }, { + "iri" : "http://xmlns.com/foaf/0.1/account", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "account", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "96" + }, { + "iri" : "http://xmlns.com/foaf/0.1/jabberID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "69", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "jabberID", + "undefined" : "jabber ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "A jabber ID for something." + }, + "attributes" : [ "datatype" ], + "id" : "97" + }, { + "range" : "1", + "domain" : "10", + "attributes" : [ "anonymous", "object" ], + "id" : "98" + }, { + "iri" : "http://xmlns.com/foaf/0.1/age", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "100", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "age", + "undefined" : "age" + }, + "domain" : "1", + "comment" : { + "undefined" : "The age in years of some agent." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "99" + }, { + "iri" : "http://xmlns.com/foaf/0.1/homepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "homepage", + "undefined" : "homepage" + }, + "superproperty" : [ "15", "38" ], + "domain" : "39", + "comment" : { + "undefined" : "A homepage for some thing." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "43" + }, { + "iri" : "http://xmlns.com/foaf/0.1/tipjar", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "tipjar", + "undefined" : "tipjar" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A tipjar document for this agent, describing means for payment and reward." + }, + "attributes" : [ "object" ], + "id" : "42" + }, { + "iri" : "http://xmlns.com/foaf/0.1/msnChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "61", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "msnChatID", + "undefined" : "MSN chat ID" + }, + "domain" : "5", + "comment" : { + "undefined" : "An MSN chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "103" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic_interest", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic_interest", + "undefined" : "topic_interest" + }, + "domain" : "1", + "comment" : { + "undefined" : "A thing of interest to this person." + }, + "attributes" : [ "object" ], + "id" : "104" + }, { + "iri" : "http://xmlns.com/foaf/0.1/aimChatID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "106", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "aimChatID", + "undefined" : "AIM chat ID" + }, + "domain" : "19", + "comment" : { + "undefined" : "An AIM chat ID" + }, + "attributes" : [ "datatype" ], + "id" : "105" + }, { + "iri" : "http://xmlns.com/foaf/0.1/currentProject", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "currentProject", + "undefined" : "current project" + }, + "domain" : "12", + "comment" : { + "undefined" : "A current project this person works on." + }, + "attributes" : [ "object" ], + "id" : "107" + }, { + "iri" : "http://xmlns.com/foaf/0.1/skypeID", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "20", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "skypeID", + "undefined" : "Skype ID" + }, + "domain" : "1", + "comment" : { + "undefined" : "A Skype ID" + }, + "attributes" : [ "datatype" ], + "id" : "108" + }, { + "iri" : "http://xmlns.com/foaf/0.1/holdsAccount", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "78", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "holdsAccount", + "undefined" : "account" + }, + "domain" : "1", + "comment" : { + "undefined" : "Indicates an account held by this agent." + }, + "attributes" : [ "object" ], + "id" : "109" + }, { + "iri" : "http://xmlns.com/foaf/0.1/thumbnail", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "thumbnail", + "undefined" : "thumbnail" + }, + "domain" : "32", + "comment" : { + "undefined" : "A derived thumbnail image." + }, + "attributes" : [ "object" ], + "id" : "110" + }, { + "iri" : "http://xmlns.com/foaf/0.1/topic", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "39", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "topic", + "undefined" : "topic" + }, + "domain" : "2", + "comment" : { + "undefined" : "A topic of some page or document." + }, + "attributes" : [ "object" ], + "id" : "40" + }, { + "iri" : "http://xmlns.com/foaf/0.1/weblog", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "weblog", + "undefined" : "weblog" + }, + "superproperty" : [ "38" ], + "domain" : "1", + "comment" : { + "undefined" : "A weblog of some thing (whether person, group, company etc.)." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "41" + }, { + "iri" : "http://xmlns.com/foaf/0.1/img", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "32", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "img", + "undefined" : "image" + }, + "superproperty" : [ "34" ], + "domain" : "12", + "comment" : { + "undefined" : "An image that can be used to represent some thing (ie. those depictions which are particularly representative of something, eg. one's photo on a homepage)." + }, + "attributes" : [ "object" ], + "id" : "84" + }, { + "iri" : "http://xmlns.com/foaf/0.1/birthday", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "56", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "birthday", + "undefined" : "birthday" + }, + "domain" : "1", + "comment" : { + "undefined" : "The birthday of this Agent, represented in mm-dd string form, eg. '12-31'." + }, + "attributes" : [ "datatype", "functional" ], + "id" : "111" + }, { + "iri" : "http://xmlns.com/foaf/0.1/sha1", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "101", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "unstable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "sha1", + "undefined" : "sha1sum (hex)" + }, + "domain" : "2", + "comment" : { + "undefined" : "A sha1sum hash, in hex." + }, + "attributes" : [ "datatype" ], + "id" : "112" + }, { + "iri" : "http://xmlns.com/foaf/0.1/firstName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "24", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "firstName", + "undefined" : "firstName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The first name of a person." + }, + "attributes" : [ "datatype" ], + "id" : "113" + }, { + "iri" : "http://xmlns.com/foaf/0.1/made", + "inverse" : "115", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "made", + "undefined" : "made" + }, + "domain" : "1", + "comment" : { + "undefined" : "Something that was made by this agent." + }, + "attributes" : [ "object" ], + "id" : "114" + }, { + "range" : "60", + "domain" : "2", + "attributes" : [ "anonymous", "object" ], + "id" : "116" + }, { + "range" : "12", + "domain" : "60", + "attributes" : [ "anonymous", "object" ], + "id" : "117" + }, { + "iri" : "http://xmlns.com/foaf/0.1/familyName", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "62", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "familyName", + "undefined" : "familyName" + }, + "domain" : "12", + "comment" : { + "undefined" : "The family name of some person." + }, + "attributes" : [ "datatype" ], + "id" : "119" + }, { + "range" : "2", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "120" + }, { + "range" : "12", + "domain" : "11", + "attributes" : [ "anonymous", "object" ], + "id" : "121" + }, { + "iri" : "http://xmlns.com/foaf/0.1/member", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "member", + "undefined" : "member" + }, + "domain" : "10", + "comment" : { + "undefined" : "Indicates a member of a Group" + }, + "attributes" : [ "object" ], + "id" : "122" + }, { + "iri" : "http://xmlns.com/foaf/0.1/plan", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "27", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "plan", + "undefined" : "plan" + }, + "domain" : "12", + "comment" : { + "undefined" : "A .plan comment, in the tradition of finger and '.plan' files." + }, + "attributes" : [ "datatype" ], + "id" : "123" + }, { + "iri" : "http://xmlns.com/foaf/0.1/mbox", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "18", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "mbox", + "undefined" : "personal mailbox" + }, + "domain" : "1", + "comment" : { + "undefined" : "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox. This is a 'static inverse functional property', in that there is (across time and change) at most one individual that ever has any particular value for foaf:mbox." + }, + "attributes" : [ "object", "inverse functional" ], + "id" : "124" + }, { + "iri" : "http://xmlns.com/foaf/0.1/surname", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "118", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "archaic", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "surname", + "undefined" : "Surname" + }, + "domain" : "12", + "comment" : { + "undefined" : "The surname of some person." + }, + "attributes" : [ "datatype" ], + "id" : "125" + }, { + "iri" : "http://xmlns.com/foaf/0.1/myersBriggs", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "22", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "myersBriggs", + "undefined" : "myersBriggs" + }, + "domain" : "12", + "comment" : { + "undefined" : "A Myers Briggs (MBTI) personality classification." + }, + "attributes" : [ "datatype" ], + "id" : "127" + }, { + "iri" : "http://xmlns.com/foaf/0.1/maker", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "1", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "stable", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "maker", + "undefined" : "maker" + }, + "domain" : "18", + "comment" : { + "undefined" : "An agent that made this thing." + }, + "attributes" : [ "object" ], + "id" : "115" + }, { + "iri" : "http://xmlns.com/foaf/0.1/publications", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "publications", + "undefined" : "publications" + }, + "domain" : "12", + "comment" : { + "undefined" : "A link to the publications of this person." + }, + "attributes" : [ "object" ], + "id" : "128" + }, { + "iri" : "http://xmlns.com/foaf/0.1/workplaceHomepage", + "baseIri" : "http://xmlns.com/foaf/0.1", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "http://xmlns.com/foaf/0.1/", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "workplaceHomepage", + "undefined" : "workplace homepage" + }, + "domain" : "12", + "comment" : { + "undefined" : "A workplace homepage of some person; the homepage of an organization they work for." + }, + "attributes" : [ "object" ], + "id" : "129" + } ] +} \ No newline at end of file diff --git a/dist/vocabulary/mapping/webvowl/data/ontology.json b/dist/vocabulary/mapping/webvowl/data/ontology.json new file mode 100644 index 0000000..6c0c8e6 --- /dev/null +++ b/dist/vocabulary/mapping/webvowl/data/ontology.json @@ -0,0 +1,787 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.5), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "en", "undefined" ], + "baseIris" : [ "http://www.w3.org/1999/02/22-rdf-syntax-ns", "http://purl.org/vocommons/voaf", "http://www.w3.org/2000/01/rdf-schema", "https://w3id.org/function/vocabulary/mapping", "http://www.w3.org/2001/XMLSchema", "http://xmlns.com/foaf/0.1", "https://w3id.org/function/ontology" ], + "title" : { + "en" : "The Function Ontology - Mapping vocabulary" + }, + "iri" : "https://w3id.org/function/vocabulary/mapping#", + "version" : "0.2.1", + "author" : [ "https://ben.de-meester.org/#me" ], + "description" : { + "en" : "The Function Ontology Implementation Mapping vocabulary specifies terms relevant to link FnO models to implementations. The specification is online at https://w3id.org/function/spec" + }, + "labels" : { + "en" : "The Function Ontology - Mapping vocabulary" + }, + "comments" : { + "en" : "- Version 0.2.1: Updated metadata\r\n- Version 0.2.0: ReturnMapping\r\n- Version 0.1.0: creation." + }, + "other" : { + "priorVersion" : [ { + "identifier" : "priorVersion", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping/0.2.0", + "type" : "iri" + } ], + "creator" : [ { + "identifier" : "creator", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + } ], + "created" : [ { + "identifier" : "created", + "language" : "undefined", + "value" : "2019-05-21", + "type" : "label" + } ], + "versionInfo" : [ { + "identifier" : "versionInfo", + "language" : "undefined", + "value" : "0.2.1", + "type" : "label" + } ], + "source" : [ { + "identifier" : "source", + "language" : "undefined", + "value" : "https://w3id.org/function/spec", + "type" : "iri" + } ], + "title" : [ { + "identifier" : "title", + "language" : "en", + "value" : "The Function Ontology - Mapping vocabulary", + "type" : "label" + } ], + "backwardCompatibleWith" : [ { + "identifier" : "backwardCompatibleWith", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping/0.2.0", + "type" : "iri" + } ], + "seeAlso" : [ { + "identifier" : "seeAlso", + "language" : "undefined", + "value" : "https://w3id.org/function/spec", + "type" : "iri" + } ], + "license" : [ { + "identifier" : "license", + "language" : "undefined", + "value" : "http://creativecommons.org/license/by/3.0/", + "type" : "iri" + } ], + "primaryTopic" : [ { + "identifier" : "primaryTopic", + "language" : "undefined", + "value" : "https://w3id.org/function/ontology", + "type" : "iri" + } ], + "preferredNamespacePrefix" : [ { + "identifier" : "preferredNamespacePrefix", + "language" : "undefined", + "value" : "fnom", + "type" : "label" + } ], + "rights" : [ { + "identifier" : "rights", + "language" : "en", + "value" : "Copyright Ghent University imec IDLab", + "type" : "label" + } ], + "modified" : [ { + "identifier" : "modified", + "language" : "undefined", + "value" : "2020-12-23", + "type" : "label" + } ], + "logo" : [ { + "identifier" : "logo", + "language" : "undefined", + "value" : "https://w3id.org/function/img/fno_favicon.png", + "type" : "iri" + } ], + "publisher" : [ { + "identifier" : "publisher", + "language" : "undefined", + "value" : "https://ben.de-meester.org/#me", + "type" : "iri" + } ], + "bibliographicCitation" : [ { + "identifier" : "bibliographicCitation", + "language" : "undefined", + "value" : "De Meester, B.; Seymoens, T.; Dimou, A. & Verborgh, R. Implementation-independent Function Reuse. Future Generation Computer Systems, Elsevier BV, 2020, 110, 946-959 ", + "type" : "label" + } ], + "preferredNamespaceUri" : [ { + "identifier" : "preferredNamespaceUri", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping#", + "type" : "label" + } ], + "issued" : [ { + "identifier" : "issued", + "language" : "undefined", + "value" : "2019-05-21", + "type" : "label" + } ], + "doi" : [ { + "identifier" : "doi", + "language" : "undefined", + "value" : "10.5281/zenodo.595382", + "type" : "label" + } ], + "depiction" : [ { + "identifier" : "depiction", + "language" : "undefined", + "value" : "https://w3id.org/function/spec/resources/images/fno-full.png", + "type" : "iri" + } ], + "status" : [ { + "identifier" : "status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "3", + "type" : "rdfs:Datatype" + }, { + "id" : "4", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "rdfs:Datatype" + }, { + "id" : "5", + "type" : "rdfs:Datatype" + }, { + "id" : "6", + "type" : "owl:Thing" + }, { + "id" : "7", + "type" : "owl:Thing" + }, { + "id" : "14", + "type" : "owl:Class" + }, { + "id" : "17", + "type" : "owl:Class" + }, { + "id" : "20", + "type" : "rdfs:Datatype" + }, { + "id" : "21", + "type" : "rdfs:Datatype" + }, { + "id" : "11", + "type" : "owl:Class" + }, { + "id" : "18", + "type" : "owl:Class" + }, { + "id" : "13", + "type" : "owl:Class" + }, { + "id" : "10", + "type" : "owl:Class" + }, { + "id" : "23", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:Class" + }, { + "id" : "24", + "type" : "owl:Class" + }, { + "id" : "28", + "type" : "owl:Class" + }, { + "id" : "29", + "type" : "owl:Class" + }, { + "id" : "16", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "http://www.w3.org/2001/XMLSchema#string", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "3", + "label" : { + "IRI-based" : "string", + "undefined" : "string" + } + }, { + "iri" : "https://w3id.org/function/ontology#MethodMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "MethodMapping" + }, + "subClasses" : [ "1" ], + "attributes" : [ "external" ], + "id" : "4" + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#string", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "2", + "label" : { + "IRI-based" : "string", + "undefined" : "string" + } + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#boolean", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "5", + "label" : { + "IRI-based" : "boolean" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "6", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "http://www.w3.org/2002/07/owl#Thing", + "baseIri" : "http://owl2vowl.de", + "id" : "7", + "label" : { + "undefined" : "Thing" + } + }, { + "iri" : "https://w3id.org/function/ontology#Parameter", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "Parameter" + }, + "attributes" : [ "external" ], + "id" : "14" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#ConstantParameterMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "ConstantParameterMapping", + "en" : "Constant Parameter Mapping" + }, + "comment" : { + "en" : "A constant parameter mapping uses a property string to map a parameter of an fno:Implementation to a constant value" + }, + "id" : "17", + "superClasses" : [ "18" ] + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#string", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "20", + "label" : { + "IRI-based" : "string", + "undefined" : "string" + } + }, { + "iri" : "http://www.w3.org/2001/XMLSchema#int", + "baseIri" : "http://www.w3.org/2001/XMLSchema", + "id" : "21", + "label" : { + "IRI-based" : "int" + } + }, { + "iri" : "https://w3id.org/function/ontology#ReturnMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "ReturnMapping" + }, + "subClasses" : [ "10", "13" ], + "attributes" : [ "external" ], + "id" : "11" + }, { + "iri" : "https://w3id.org/function/ontology#ParameterMapping", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "ParameterMapping" + }, + "subClasses" : [ "23", "17", "24" ], + "attributes" : [ "external" ], + "id" : "18" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#DefaultReturnMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "DefaultReturnMapping", + "en" : "Default Return Mapping" + }, + "comment" : { + "en" : "A default return mapping links the return value of the method to a fno:Output" + }, + "id" : "13", + "superClasses" : [ "11" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#ExceptionReturnMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "ExceptionReturnMapping", + "en" : "Exception Return Mapping" + }, + "comment" : { + "en" : "An exception return mapping links the thrown exception of the method to a fno:Output" + }, + "id" : "10", + "superClasses" : [ "11" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#PropertyParameterMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "PropertyParameterMapping", + "en" : "Property Parameter Mapping" + }, + "comment" : { + "en" : "A property parameter mapping uses a property string to map a parameter of an fno:Implementation to an fno:Parameter" + }, + "id" : "23", + "superClasses" : [ "18" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#StringMethodMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "StringMethodMapping", + "en" : "String Method Mapping" + }, + "comment" : { + "en" : "A string method mapping uses a string to map a method of an fno:Implementation to an fno:Function" + }, + "id" : "1", + "superClasses" : [ "4" ] + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#PositionParameterMapping", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "instances" : 0, + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "PositionParameterMapping", + "en" : "Position Parameter Mapping" + }, + "comment" : { + "en" : "A position parameter mapping uses a position to map a parameter of an fno:Implementation to an fno:Parameter" + }, + "id" : "24", + "superClasses" : [ "18" ] + }, { + "iri" : "http://purl.org/vocommons/voaf#Vocabulary", + "baseIri" : "http://purl.org/vocommons/voaf", + "instances" : 0, + "label" : { + "IRI-based" : "Vocabulary" + }, + "individuals" : [ { + "iri" : "https://w3id.org/function/vocabulary/mapping#", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "labels" : { } + } ], + "attributes" : [ "external" ], + "id" : "28" + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "individuals" : [ { + "iri" : "https://ben.de-meester.org/#me", + "baseIri" : "https://ben.de-meester.org/", + "annotations" : { + "name" : [ { + "identifier" : "name", + "language" : "en", + "value" : "Ben De Meester", + "type" : "label" + } ], + "mbox" : [ { + "identifier" : "mbox", + "language" : "undefined", + "value" : "mailto:Ben.DeMeester@UGent.be", + "type" : "label" + } ] + }, + "labels" : { + "IRI-based" : "me", + "en" : "Ben De Meester" + } + } ], + "attributes" : [ "external" ], + "id" : "29" + }, { + "iri" : "https://w3id.org/function/ontology#Output", + "baseIri" : "https://w3id.org/function/ontology", + "instances" : 0, + "label" : { + "IRI-based" : "Output" + }, + "attributes" : [ "external" ], + "id" : "16" + } ], + "property" : [ { + "id" : "0", + "type" : "owl:datatypeProperty" + }, { + "id" : "8", + "type" : "rdfs:SubClassOf" + }, { + "id" : "9", + "type" : "rdfs:SubClassOf" + }, { + "id" : "12", + "type" : "rdfs:SubClassOf" + }, { + "id" : "15", + "type" : "owl:objectProperty" + }, { + "id" : "19", + "type" : "owl:datatypeProperty" + }, { + "id" : "22", + "type" : "owl:datatypeProperty" + }, { + "id" : "25", + "type" : "owl:datatypeProperty" + }, { + "id" : "26", + "type" : "owl:objectProperty" + }, { + "id" : "27", + "type" : "rdfs:SubClassOf" + }, { + "id" : "30", + "type" : "owl:datatypeProperty" + }, { + "id" : "31", + "type" : "rdfs:SubClassOf" + }, { + "id" : "32", + "type" : "rdfs:SubClassOf" + } ], + "propertyAttribute" : [ { + "iri" : "https://w3id.org/function/vocabulary/mapping#method-name", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "2", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "method-name", + "en" : "method name" + }, + "domain" : "1", + "comment" : { + "en" : "Connects a method name to a method mapping." + }, + "attributes" : [ "datatype" ], + "id" : "0" + }, { + "range" : "4", + "domain" : "1", + "attributes" : [ "anonymous", "object" ], + "id" : "8" + }, { + "range" : "11", + "domain" : "10", + "attributes" : [ "anonymous", "object" ], + "id" : "9" + }, { + "range" : "11", + "domain" : "13", + "attributes" : [ "anonymous", "object" ], + "id" : "12" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#functionOutput", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "16", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "functionOutput", + "en" : "function output" + }, + "domain" : "7", + "comment" : { + "en" : "Connects a function output to a return mapping." + }, + "attributes" : [ "object" ], + "id" : "15" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#implementationProperty", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "3", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "implementationProperty", + "en" : "implementation property" + }, + "domain" : "6", + "comment" : { + "en" : "Connects an implementation parameter label to a parameter mapping." + }, + "attributes" : [ "datatype" ], + "id" : "19" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#repeatableParameter", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "5", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "repeatableParameter", + "en" : "repeatable parameter value" + }, + "domain" : "6", + "comment" : { + "en" : "Flag indicating whether the parameter can be repeated." + }, + "attributes" : [ "datatype" ], + "id" : "22" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#implementationParameterPosition", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "21", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "implementationParameterPosition", + "en" : "implementation parameter position" + }, + "domain" : "6", + "comment" : { + "en" : "Connects an implementation parameter position to a parameter mapping." + }, + "attributes" : [ "datatype" ], + "id" : "25" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#functionParameter", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "14", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "functionParameter", + "en" : "function parameter" + }, + "domain" : "24", + "comment" : { + "en" : "Connects a function parameter to a parameter mapping." + }, + "attributes" : [ "object" ], + "id" : "26" + }, { + "range" : "18", + "domain" : "23", + "attributes" : [ "anonymous", "object" ], + "id" : "27" + }, { + "iri" : "https://w3id.org/function/vocabulary/mapping#constantParameterValue", + "baseIri" : "https://w3id.org/function/vocabulary/mapping", + "range" : "20", + "annotations" : { + "isDefinedBy" : [ { + "identifier" : "isDefinedBy", + "language" : "undefined", + "value" : "https://w3id.org/function/vocabulary/mapping", + "type" : "iri" + } ], + "term_status" : [ { + "identifier" : "term_status", + "language" : "undefined", + "value" : "testing", + "type" : "label" + } ] + }, + "label" : { + "IRI-based" : "constantParameterValue", + "en" : "constant parameter value" + }, + "domain" : "6", + "comment" : { + "en" : "Connects an implementation constant to a parameter value." + }, + "attributes" : [ "datatype" ], + "id" : "30" + }, { + "range" : "18", + "domain" : "24", + "attributes" : [ "anonymous", "object" ], + "id" : "31" + }, { + "range" : "18", + "domain" : "17", + "attributes" : [ "anonymous", "object" ], + "id" : "32" + } ] +} \ No newline at end of file diff --git a/dist/vocabulary/mapping/webvowl/favicon.ico b/dist/vocabulary/mapping/webvowl/favicon.ico new file mode 100644 index 0000000..a857d51 Binary files /dev/null and b/dist/vocabulary/mapping/webvowl/favicon.ico differ diff --git a/dist/vocabulary/mapping/webvowl/index.html b/dist/vocabulary/mapping/webvowl/index.html new file mode 100644 index 0000000..09acde5 --- /dev/null +++ b/dist/vocabulary/mapping/webvowl/index.html @@ -0,0 +1,480 @@ + + + + + + + + + + + + + + + WebVOWL + + + +
    +
    + + + + + + +
    + + + + +
    +
    +
    + +
    +
    >
    + +
    + +
    + + +
    +
    +
    +

    +

    +

    +

    +

    -

    +
    +
    + + +
    +
    +
    +
    + + + +
    + + + + + + + \ No newline at end of file diff --git a/dist/vocabulary/mapping/webvowl/js/d3.min.js b/dist/vocabulary/mapping/webvowl/js/d3.min.js new file mode 100644 index 0000000..1664873 --- /dev/null +++ b/dist/vocabulary/mapping/webvowl/js/d3.min.js @@ -0,0 +1,5 @@ +!function(){function n(n){return n&&(n.ownerDocument||n.document||n).documentElement}function t(n){return n&&(n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView)}function e(n,t){return t>n?-1:n>t?1:n>=t?0:NaN}function r(n){return null===n?NaN:+n}function i(n){return!isNaN(n)}function u(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)<0?r=u+1:i=u}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n(t[u],e)>0?i=u:r=u+1}return r}}}function o(n){return n.length}function a(n){for(var t=1;n*t%1;)t*=10;return t}function l(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function c(){this._=Object.create(null)}function f(n){return(n+="")===bo||n[0]===_o?_o+n:n}function s(n){return(n+="")[0]===_o?n.slice(1):n}function h(n){return f(n)in this._}function p(n){return(n=f(n))in this._&&delete this._[n]}function g(){var n=[];for(var t in this._)n.push(s(t));return n}function v(){var n=0;for(var t in this._)++n;return n}function d(){for(var n in this._)return!1;return!0}function y(){this._=Object.create(null)}function m(n){return n}function M(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function x(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e=0,r=wo.length;r>e;++e){var i=wo[e]+t;if(i in n)return i}}function b(){}function _(){}function w(n){function t(){for(var t,r=e,i=-1,u=r.length;++ie;e++)for(var i,u=n[e],o=0,a=u.length;a>o;o++)(i=u[o])&&t(i,o,e);return n}function Z(n){return ko(n,qo),n}function V(n){var t,e;return function(r,i,u){var o,a=n[u].update,l=a.length;for(u!=e&&(e=u,t=0),i>=t&&(t=i+1);!(o=a[t])&&++t0&&(n=n.slice(0,a));var c=To.get(n);return c&&(n=c,l=B),a?t?i:r:t?b:u}function $(n,t){return function(e){var r=ao.event;ao.event=e,t[0]=this.__data__;try{n.apply(this,t)}finally{ao.event=r}}}function B(n,t){var e=$(n,t);return function(n){var t=this,r=n.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||e.call(t,n)}}function W(e){var r=".dragsuppress-"+ ++Do,i="click"+r,u=ao.select(t(e)).on("touchmove"+r,S).on("dragstart"+r,S).on("selectstart"+r,S);if(null==Ro&&(Ro="onselectstart"in e?!1:x(e.style,"userSelect")),Ro){var o=n(e).style,a=o[Ro];o[Ro]="none"}return function(n){if(u.on(r,null),Ro&&(o[Ro]=a),n){var t=function(){u.on(i,null)};u.on(i,function(){S(),t()},!0),setTimeout(t,0)}}}function J(n,e){e.changedTouches&&(e=e.changedTouches[0]);var r=n.ownerSVGElement||n;if(r.createSVGPoint){var i=r.createSVGPoint();if(0>Po){var u=t(n);if(u.scrollX||u.scrollY){r=ao.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var o=r[0][0].getScreenCTM();Po=!(o.f||o.e),r.remove()}}return Po?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),i=i.matrixTransform(n.getScreenCTM().inverse()),[i.x,i.y]}var a=n.getBoundingClientRect();return[e.clientX-a.left-n.clientLeft,e.clientY-a.top-n.clientTop]}function G(){return ao.event.changedTouches[0].identifier}function K(n){return n>0?1:0>n?-1:0}function Q(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(t[1]-n[1])*(e[0]-n[0])}function nn(n){return n>1?0:-1>n?Fo:Math.acos(n)}function tn(n){return n>1?Io:-1>n?-Io:Math.asin(n)}function en(n){return((n=Math.exp(n))-1/n)/2}function rn(n){return((n=Math.exp(n))+1/n)/2}function un(n){return((n=Math.exp(2*n))-1)/(n+1)}function on(n){return(n=Math.sin(n/2))*n}function an(){}function ln(n,t,e){return this instanceof ln?(this.h=+n,this.s=+t,void(this.l=+e)):arguments.length<2?n instanceof ln?new ln(n.h,n.s,n.l):_n(""+n,wn,ln):new ln(n,t,e)}function cn(n,t,e){function r(n){return n>360?n-=360:0>n&&(n+=360),60>n?u+(o-u)*n/60:180>n?o:240>n?u+(o-u)*(240-n)/60:u}function i(n){return Math.round(255*r(n))}var u,o;return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:0>t?0:t>1?1:t,e=0>e?0:e>1?1:e,o=.5>=e?e*(1+t):e+t-e*t,u=2*e-o,new mn(i(n+120),i(n),i(n-120))}function fn(n,t,e){return this instanceof fn?(this.h=+n,this.c=+t,void(this.l=+e)):arguments.length<2?n instanceof fn?new fn(n.h,n.c,n.l):n instanceof hn?gn(n.l,n.a,n.b):gn((n=Sn((n=ao.rgb(n)).r,n.g,n.b)).l,n.a,n.b):new fn(n,t,e)}function sn(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new hn(e,Math.cos(n*=Yo)*t,Math.sin(n)*t)}function hn(n,t,e){return this instanceof hn?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof hn?new hn(n.l,n.a,n.b):n instanceof fn?sn(n.h,n.c,n.l):Sn((n=mn(n)).r,n.g,n.b):new hn(n,t,e)}function pn(n,t,e){var r=(n+16)/116,i=r+t/500,u=r-e/200;return i=vn(i)*na,r=vn(r)*ta,u=vn(u)*ea,new mn(yn(3.2404542*i-1.5371385*r-.4985314*u),yn(-.969266*i+1.8760108*r+.041556*u),yn(.0556434*i-.2040259*r+1.0572252*u))}function gn(n,t,e){return n>0?new fn(Math.atan2(e,t)*Zo,Math.sqrt(t*t+e*e),n):new fn(NaN,NaN,n)}function vn(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function dn(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function yn(n){return Math.round(255*(.00304>=n?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function mn(n,t,e){return this instanceof mn?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof mn?new mn(n.r,n.g,n.b):_n(""+n,mn,cn):new mn(n,t,e)}function Mn(n){return new mn(n>>16,n>>8&255,255&n)}function xn(n){return Mn(n)+""}function bn(n){return 16>n?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function _n(n,t,e){var r,i,u,o=0,a=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(Nn(i[0]),Nn(i[1]),Nn(i[2]))}return(u=ua.get(n))?t(u.r,u.g,u.b):(null==n||"#"!==n.charAt(0)||isNaN(u=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&u)>>4,o=o>>4|o,a=240&u,a=a>>4|a,l=15&u,l=l<<4|l):7===n.length&&(o=(16711680&u)>>16,a=(65280&u)>>8,l=255&u)),t(o,a,l))}function wn(n,t,e){var r,i,u=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-u,l=(o+u)/2;return a?(i=.5>l?a/(o+u):a/(2-o-u),r=n==o?(t-e)/a+(e>t?6:0):t==o?(e-n)/a+2:(n-t)/a+4,r*=60):(r=NaN,i=l>0&&1>l?0:r),new ln(r,i,l)}function Sn(n,t,e){n=kn(n),t=kn(t),e=kn(e);var r=dn((.4124564*n+.3575761*t+.1804375*e)/na),i=dn((.2126729*n+.7151522*t+.072175*e)/ta),u=dn((.0193339*n+.119192*t+.9503041*e)/ea);return hn(116*i-16,500*(r-i),200*(i-u))}function kn(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Nn(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}function En(n){return"function"==typeof n?n:function(){return n}}function An(n){return function(t,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=null),Cn(t,e,n,r)}}function Cn(n,t,e,r){function i(){var n,t=l.status;if(!t&&Ln(l)||t>=200&&300>t||304===t){try{n=e.call(u,l)}catch(r){return void o.error.call(u,r)}o.load.call(u,n)}else o.error.call(u,l)}var u={},o=ao.dispatch("beforesend","progress","load","error"),a={},l=new XMLHttpRequest,c=null;return!this.XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(n)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=i:l.onreadystatechange=function(){l.readyState>3&&i()},l.onprogress=function(n){var t=ao.event;ao.event=n;try{o.progress.call(u,l)}finally{ao.event=t}},u.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?a[n]:(null==t?delete a[n]:a[n]=t+"",u)},u.mimeType=function(n){return arguments.length?(t=null==n?null:n+"",u):t},u.responseType=function(n){return arguments.length?(c=n,u):c},u.response=function(n){return e=n,u},["get","post"].forEach(function(n){u[n]=function(){return u.send.apply(u,[n].concat(co(arguments)))}}),u.send=function(e,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),l.open(e,n,!0),null==t||"accept"in a||(a.accept=t+",*/*"),l.setRequestHeader)for(var f in a)l.setRequestHeader(f,a[f]);return null!=t&&l.overrideMimeType&&l.overrideMimeType(t),null!=c&&(l.responseType=c),null!=i&&u.on("error",i).on("load",function(n){i(null,n)}),o.beforesend.call(u,l),l.send(null==r?null:r),u},u.abort=function(){return l.abort(),u},ao.rebind(u,o,"on"),null==r?u:u.get(zn(r))}function zn(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}function Ln(n){var t=n.responseType;return t&&"text"!==t?n.response:n.responseText}function qn(n,t,e){var r=arguments.length;2>r&&(t=0),3>r&&(e=Date.now());var i=e+t,u={c:n,t:i,n:null};return aa?aa.n=u:oa=u,aa=u,la||(ca=clearTimeout(ca),la=1,fa(Tn)),u}function Tn(){var n=Rn(),t=Dn()-n;t>24?(isFinite(t)&&(clearTimeout(ca),ca=setTimeout(Tn,t)),la=0):(la=1,fa(Tn))}function Rn(){for(var n=Date.now(),t=oa;t;)n>=t.t&&t.c(n-t.t)&&(t.c=null),t=t.n;return n}function Dn(){for(var n,t=oa,e=1/0;t;)t.c?(t.t8?function(n){return n/e}:function(n){return n*e},symbol:n}}function jn(n){var t=n.decimal,e=n.thousands,r=n.grouping,i=n.currency,u=r&&e?function(n,t){for(var i=n.length,u=[],o=0,a=r[0],l=0;i>0&&a>0&&(l+a+1>t&&(a=Math.max(1,t-l)),u.push(n.substring(i-=a,i+a)),!((l+=a+1)>t));)a=r[o=(o+1)%r.length];return u.reverse().join(e)}:m;return function(n){var e=ha.exec(n),r=e[1]||" ",o=e[2]||">",a=e[3]||"-",l=e[4]||"",c=e[5],f=+e[6],s=e[7],h=e[8],p=e[9],g=1,v="",d="",y=!1,m=!0;switch(h&&(h=+h.substring(1)),(c||"0"===r&&"="===o)&&(c=r="0",o="="),p){case"n":s=!0,p="g";break;case"%":g=100,d="%",p="f";break;case"p":g=100,d="%",p="r";break;case"b":case"o":case"x":case"X":"#"===l&&(v="0"+p.toLowerCase());case"c":m=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===l&&(v=i[0],d=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=pa.get(p)||Fn;var M=c&&s;return function(n){var e=d;if(y&&n%1)return"";var i=0>n||0===n&&0>1/n?(n=-n,"-"):"-"===a?"":a;if(0>g){var l=ao.formatPrefix(n,h);n=l.scale(n),e=l.symbol+d}else n*=g;n=p(n,h);var x,b,_=n.lastIndexOf(".");if(0>_){var w=m?n.lastIndexOf("e"):-1;0>w?(x=n,b=""):(x=n.substring(0,w),b=n.substring(w))}else x=n.substring(0,_),b=t+n.substring(_+1);!c&&s&&(x=u(x,1/0));var S=v.length+x.length+b.length+(M?0:i.length),k=f>S?new Array(S=f-S+1).join(r):"";return M&&(x=u(k+x,k.length?f-b.length:1/0)),i+=v,n=x+b,("<"===o?i+n+k:">"===o?k+i+n:"^"===o?k.substring(0,S>>=1)+i+n+k.substring(S):i+(M?n:k+n))+e}}}function Fn(n){return n+""}function Hn(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function On(n,t,e){function r(t){var e=n(t),r=u(e,1);return r-t>t-e?e:r}function i(e){return t(e=n(new va(e-1)),1),e}function u(n,e){return t(n=new va(+n),e),n}function o(n,r,u){var o=i(n),a=[];if(u>1)for(;r>o;)e(o)%u||a.push(new Date(+o)),t(o,1);else for(;r>o;)a.push(new Date(+o)),t(o,1);return a}function a(n,t,e){try{va=Hn;var r=new Hn;return r._=n,o(r,t,e)}finally{va=Date}}n.floor=n,n.round=r,n.ceil=i,n.offset=u,n.range=o;var l=n.utc=In(n);return l.floor=l,l.round=In(r),l.ceil=In(i),l.offset=In(u),l.range=a,n}function In(n){return function(t,e){try{va=Hn;var r=new Hn;return r._=t,n(r,e)._}finally{va=Date}}}function Yn(n){function t(n){function t(t){for(var e,i,u,o=[],a=-1,l=0;++aa;){if(r>=c)return-1;if(i=t.charCodeAt(a++),37===i){if(o=t.charAt(a++),u=C[o in ya?t.charAt(a++):o],!u||(r=u(n,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function r(n,t,e){_.lastIndex=0;var r=_.exec(t.slice(e));return r?(n.w=w.get(r[0].toLowerCase()),e+r[0].length):-1}function i(n,t,e){x.lastIndex=0;var r=x.exec(t.slice(e));return r?(n.w=b.get(r[0].toLowerCase()),e+r[0].length):-1}function u(n,t,e){N.lastIndex=0;var r=N.exec(t.slice(e));return r?(n.m=E.get(r[0].toLowerCase()),e+r[0].length):-1}function o(n,t,e){S.lastIndex=0;var r=S.exec(t.slice(e));return r?(n.m=k.get(r[0].toLowerCase()),e+r[0].length):-1}function a(n,t,r){return e(n,A.c.toString(),t,r)}function l(n,t,r){return e(n,A.x.toString(),t,r)}function c(n,t,r){return e(n,A.X.toString(),t,r)}function f(n,t,e){var r=M.get(t.slice(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)}var s=n.dateTime,h=n.date,p=n.time,g=n.periods,v=n.days,d=n.shortDays,y=n.months,m=n.shortMonths;t.utc=function(n){function e(n){try{va=Hn;var t=new va;return t._=n,r(t)}finally{va=Date}}var r=t(n);return e.parse=function(n){try{va=Hn;var t=r.parse(n);return t&&t._}finally{va=Date}},e.toString=r.toString,e},t.multi=t.utc.multi=ct;var M=ao.map(),x=Vn(v),b=Xn(v),_=Vn(d),w=Xn(d),S=Vn(y),k=Xn(y),N=Vn(m),E=Xn(m);g.forEach(function(n,t){M.set(n.toLowerCase(),t)});var A={a:function(n){return d[n.getDay()]},A:function(n){return v[n.getDay()]},b:function(n){return m[n.getMonth()]},B:function(n){return y[n.getMonth()]},c:t(s),d:function(n,t){return Zn(n.getDate(),t,2)},e:function(n,t){return Zn(n.getDate(),t,2)},H:function(n,t){return Zn(n.getHours(),t,2)},I:function(n,t){return Zn(n.getHours()%12||12,t,2)},j:function(n,t){return Zn(1+ga.dayOfYear(n),t,3)},L:function(n,t){return Zn(n.getMilliseconds(),t,3)},m:function(n,t){return Zn(n.getMonth()+1,t,2)},M:function(n,t){return Zn(n.getMinutes(),t,2)},p:function(n){return g[+(n.getHours()>=12)]},S:function(n,t){return Zn(n.getSeconds(),t,2)},U:function(n,t){return Zn(ga.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return Zn(ga.mondayOfYear(n),t,2)},x:t(h),X:t(p),y:function(n,t){return Zn(n.getFullYear()%100,t,2)},Y:function(n,t){return Zn(n.getFullYear()%1e4,t,4)},Z:at,"%":function(){return"%"}},C={a:r,A:i,b:u,B:o,c:a,d:tt,e:tt,H:rt,I:rt,j:et,L:ot,m:nt,M:it,p:f,S:ut,U:Bn,w:$n,W:Wn,x:l,X:c,y:Gn,Y:Jn,Z:Kn,"%":lt};return t}function Zn(n,t,e){var r=0>n?"-":"",i=(r?-n:n)+"",u=i.length;return r+(e>u?new Array(e-u+1).join(t)+i:i)}function Vn(n){return new RegExp("^(?:"+n.map(ao.requote).join("|")+")","i")}function Xn(n){for(var t=new c,e=-1,r=n.length;++e68?1900:2e3)}function nt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function tt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function et(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function rt(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function it(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function ut(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function ot(n,t,e){ma.lastIndex=0;var r=ma.exec(t.slice(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function at(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=xo(t)/60|0,i=xo(t)%60;return e+Zn(r,"0",2)+Zn(i,"0",2)}function lt(n,t,e){Ma.lastIndex=0;var r=Ma.exec(t.slice(e,e+1));return r?e+r[0].length:-1}function ct(n){for(var t=n.length,e=-1;++e=0?1:-1,a=o*e,l=Math.cos(t),c=Math.sin(t),f=u*c,s=i*l+f*Math.cos(a),h=f*o*Math.sin(a);ka.add(Math.atan2(h,s)),r=n,i=l,u=c}var t,e,r,i,u;Na.point=function(o,a){Na.point=n,r=(t=o)*Yo,i=Math.cos(a=(e=a)*Yo/2+Fo/4),u=Math.sin(a)},Na.lineEnd=function(){n(t,e)}}function dt(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function yt(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function mt(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function Mt(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function xt(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function bt(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function _t(n){return[Math.atan2(n[1],n[0]),tn(n[2])]}function wt(n,t){return xo(n[0]-t[0])a;++a)i.point((e=n[a])[0],e[1]);return void i.lineEnd()}var l=new Tt(e,n,null,!0),c=new Tt(e,null,l,!1);l.o=c,u.push(l),o.push(c),l=new Tt(r,n,null,!1),c=new Tt(r,null,l,!0),l.o=c,u.push(l),o.push(c)}}),o.sort(t),qt(u),qt(o),u.length){for(var a=0,l=e,c=o.length;c>a;++a)o[a].e=l=!l;for(var f,s,h=u[0];;){for(var p=h,g=!0;p.v;)if((p=p.n)===h)return;f=p.z,i.lineStart();do{if(p.v=p.o.v=!0,p.e){if(g)for(var a=0,c=f.length;c>a;++a)i.point((s=f[a])[0],s[1]);else r(p.x,p.n.x,1,i);p=p.n}else{if(g){f=p.p.z;for(var a=f.length-1;a>=0;--a)i.point((s=f[a])[0],s[1])}else r(p.x,p.p.x,-1,i);p=p.p}p=p.o,f=p.z,g=!g}while(!p.v);i.lineEnd()}}}function qt(n){if(t=n.length){for(var t,e,r=0,i=n[0];++r0){for(b||(u.polygonStart(),b=!0),u.lineStart();++o1&&2&t&&e.push(e.pop().concat(e.shift())),p.push(e.filter(Dt))}var p,g,v,d=t(u),y=i.invert(r[0],r[1]),m={point:o,lineStart:l,lineEnd:c,polygonStart:function(){m.point=f,m.lineStart=s,m.lineEnd=h,p=[],g=[]},polygonEnd:function(){m.point=o,m.lineStart=l,m.lineEnd=c,p=ao.merge(p);var n=Ot(y,g);p.length?(b||(u.polygonStart(),b=!0),Lt(p,Ut,n,e,u)):n&&(b||(u.polygonStart(),b=!0),u.lineStart(),e(null,null,1,u),u.lineEnd()),b&&(u.polygonEnd(),b=!1),p=g=null},sphere:function(){u.polygonStart(),u.lineStart(),e(null,null,1,u),u.lineEnd(),u.polygonEnd()}},M=Pt(),x=t(M),b=!1;return m}}function Dt(n){return n.length>1}function Pt(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:b,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Ut(n,t){return((n=n.x)[0]<0?n[1]-Io-Uo:Io-n[1])-((t=t.x)[0]<0?t[1]-Io-Uo:Io-t[1])}function jt(n){var t,e=NaN,r=NaN,i=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(u,o){var a=u>0?Fo:-Fo,l=xo(u-e);xo(l-Fo)0?Io:-Io),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(a,r),n.point(u,r),t=0):i!==a&&l>=Fo&&(xo(e-i)Uo?Math.atan((Math.sin(t)*(u=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(t))*Math.sin(n))/(i*u*o)):(t+r)/2}function Ht(n,t,e,r){var i;if(null==n)i=e*Io,r.point(-Fo,i),r.point(0,i),r.point(Fo,i),r.point(Fo,0),r.point(Fo,-i),r.point(0,-i),r.point(-Fo,-i),r.point(-Fo,0),r.point(-Fo,i);else if(xo(n[0]-t[0])>Uo){var u=n[0]a;++a){var c=t[a],f=c.length;if(f)for(var s=c[0],h=s[0],p=s[1]/2+Fo/4,g=Math.sin(p),v=Math.cos(p),d=1;;){d===f&&(d=0),n=c[d];var y=n[0],m=n[1]/2+Fo/4,M=Math.sin(m),x=Math.cos(m),b=y-h,_=b>=0?1:-1,w=_*b,S=w>Fo,k=g*M;if(ka.add(Math.atan2(k*_*Math.sin(w),v*x+k*Math.cos(w))),u+=S?b+_*Ho:b,S^h>=e^y>=e){var N=mt(dt(s),dt(n));bt(N);var E=mt(i,N);bt(E);var A=(S^b>=0?-1:1)*tn(E[2]);(r>A||r===A&&(N[0]||N[1]))&&(o+=S^b>=0?1:-1)}if(!d++)break;h=y,g=M,v=x,s=n}}return(-Uo>u||Uo>u&&-Uo>ka)^1&o}function It(n){function t(n,t){return Math.cos(n)*Math.cos(t)>u}function e(n){var e,u,l,c,f;return{lineStart:function(){c=l=!1,f=1},point:function(s,h){var p,g=[s,h],v=t(s,h),d=o?v?0:i(s,h):v?i(s+(0>s?Fo:-Fo),h):0;if(!e&&(c=l=v)&&n.lineStart(),v!==l&&(p=r(e,g),(wt(e,p)||wt(g,p))&&(g[0]+=Uo,g[1]+=Uo,v=t(g[0],g[1]))),v!==l)f=0,v?(n.lineStart(),p=r(g,e),n.point(p[0],p[1])):(p=r(e,g),n.point(p[0],p[1]),n.lineEnd()),e=p;else if(a&&e&&o^v){var y;d&u||!(y=r(g,e,!0))||(f=0,o?(n.lineStart(),n.point(y[0][0],y[0][1]),n.point(y[1][0],y[1][1]),n.lineEnd()):(n.point(y[1][0],y[1][1]),n.lineEnd(),n.lineStart(),n.point(y[0][0],y[0][1])))}!v||e&&wt(e,g)||n.point(g[0],g[1]),e=g,l=v,u=d},lineEnd:function(){l&&n.lineEnd(),e=null},clean:function(){return f|(c&&l)<<1}}}function r(n,t,e){var r=dt(n),i=dt(t),o=[1,0,0],a=mt(r,i),l=yt(a,a),c=a[0],f=l-c*c;if(!f)return!e&&n;var s=u*l/f,h=-u*c/f,p=mt(o,a),g=xt(o,s),v=xt(a,h);Mt(g,v);var d=p,y=yt(g,d),m=yt(d,d),M=y*y-m*(yt(g,g)-1);if(!(0>M)){var x=Math.sqrt(M),b=xt(d,(-y-x)/m);if(Mt(b,g),b=_t(b),!e)return b;var _,w=n[0],S=t[0],k=n[1],N=t[1];w>S&&(_=w,w=S,S=_);var E=S-w,A=xo(E-Fo)E;if(!A&&k>N&&(_=k,k=N,N=_),C?A?k+N>0^b[1]<(xo(b[0]-w)Fo^(w<=b[0]&&b[0]<=S)){var z=xt(d,(-y+x)/m);return Mt(z,g),[b,_t(z)]}}}function i(t,e){var r=o?n:Fo-n,i=0;return-r>t?i|=1:t>r&&(i|=2),-r>e?i|=4:e>r&&(i|=8),i}var u=Math.cos(n),o=u>0,a=xo(u)>Uo,l=ve(n,6*Yo);return Rt(t,e,l,o?[0,-n]:[-Fo,n-Fo])}function Yt(n,t,e,r){return function(i){var u,o=i.a,a=i.b,l=o.x,c=o.y,f=a.x,s=a.y,h=0,p=1,g=f-l,v=s-c;if(u=n-l,g||!(u>0)){if(u/=g,0>g){if(h>u)return;p>u&&(p=u)}else if(g>0){if(u>p)return;u>h&&(h=u)}if(u=e-l,g||!(0>u)){if(u/=g,0>g){if(u>p)return;u>h&&(h=u)}else if(g>0){if(h>u)return;p>u&&(p=u)}if(u=t-c,v||!(u>0)){if(u/=v,0>v){if(h>u)return;p>u&&(p=u)}else if(v>0){if(u>p)return;u>h&&(h=u)}if(u=r-c,v||!(0>u)){if(u/=v,0>v){if(u>p)return;u>h&&(h=u)}else if(v>0){if(h>u)return;p>u&&(p=u)}return h>0&&(i.a={x:l+h*g,y:c+h*v}),1>p&&(i.b={x:l+p*g,y:c+p*v}),i}}}}}}function Zt(n,t,e,r){function i(r,i){return xo(r[0]-n)0?0:3:xo(r[0]-e)0?2:1:xo(r[1]-t)0?1:0:i>0?3:2}function u(n,t){return o(n.x,t.x)}function o(n,t){var e=i(n,1),r=i(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}return function(a){function l(n){for(var t=0,e=d.length,r=n[1],i=0;e>i;++i)for(var u,o=1,a=d[i],l=a.length,c=a[0];l>o;++o)u=a[o],c[1]<=r?u[1]>r&&Q(c,u,n)>0&&++t:u[1]<=r&&Q(c,u,n)<0&&--t,c=u;return 0!==t}function c(u,a,l,c){var f=0,s=0;if(null==u||(f=i(u,l))!==(s=i(a,l))||o(u,a)<0^l>0){do c.point(0===f||3===f?n:e,f>1?r:t);while((f=(f+l+4)%4)!==s)}else c.point(a[0],a[1])}function f(i,u){return i>=n&&e>=i&&u>=t&&r>=u}function s(n,t){f(n,t)&&a.point(n,t)}function h(){C.point=g,d&&d.push(y=[]),S=!0,w=!1,b=_=NaN}function p(){v&&(g(m,M),x&&w&&E.rejoin(),v.push(E.buffer())),C.point=s,w&&a.lineEnd()}function g(n,t){n=Math.max(-Ha,Math.min(Ha,n)),t=Math.max(-Ha,Math.min(Ha,t));var e=f(n,t);if(d&&y.push([n,t]),S)m=n,M=t,x=e,S=!1,e&&(a.lineStart(),a.point(n,t));else if(e&&w)a.point(n,t);else{var r={a:{x:b,y:_},b:{x:n,y:t}};A(r)?(w||(a.lineStart(),a.point(r.a.x,r.a.y)),a.point(r.b.x,r.b.y),e||a.lineEnd(),k=!1):e&&(a.lineStart(),a.point(n,t),k=!1)}b=n,_=t,w=e}var v,d,y,m,M,x,b,_,w,S,k,N=a,E=Pt(),A=Yt(n,t,e,r),C={point:s,lineStart:h,lineEnd:p,polygonStart:function(){a=E,v=[],d=[],k=!0},polygonEnd:function(){a=N,v=ao.merge(v);var t=l([n,r]),e=k&&t,i=v.length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),c(null,null,1,a),a.lineEnd()),i&&Lt(v,u,t,c,a),a.polygonEnd()),v=d=y=null}};return C}}function Vt(n){var t=0,e=Fo/3,r=ae(n),i=r(t,e);return i.parallels=function(n){return arguments.length?r(t=n[0]*Fo/180,e=n[1]*Fo/180):[t/Fo*180,e/Fo*180]},i}function Xt(n,t){function e(n,t){var e=Math.sqrt(u-2*i*Math.sin(t))/i;return[e*Math.sin(n*=i),o-e*Math.cos(n)]}var r=Math.sin(n),i=(r+Math.sin(t))/2,u=1+r*(2*i-r),o=Math.sqrt(u)/i;return e.invert=function(n,t){var e=o-t;return[Math.atan2(n,e)/i,tn((u-(n*n+e*e)*i*i)/(2*i))]},e}function $t(){function n(n,t){Ia+=i*n-r*t,r=n,i=t}var t,e,r,i;$a.point=function(u,o){$a.point=n,t=r=u,e=i=o},$a.lineEnd=function(){n(t,e)}}function Bt(n,t){Ya>n&&(Ya=n),n>Va&&(Va=n),Za>t&&(Za=t),t>Xa&&(Xa=t)}function Wt(){function n(n,t){o.push("M",n,",",t,u)}function t(n,t){o.push("M",n,",",t),a.point=e}function e(n,t){o.push("L",n,",",t)}function r(){a.point=n}function i(){o.push("Z")}var u=Jt(4.5),o=[],a={point:n,lineStart:function(){a.point=t},lineEnd:r,polygonStart:function(){a.lineEnd=i},polygonEnd:function(){a.lineEnd=r,a.point=n},pointRadius:function(n){return u=Jt(n),a},result:function(){if(o.length){var n=o.join("");return o=[],n}}};return a}function Jt(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function Gt(n,t){Ca+=n,za+=t,++La}function Kt(){function n(n,r){var i=n-t,u=r-e,o=Math.sqrt(i*i+u*u);qa+=o*(t+n)/2,Ta+=o*(e+r)/2,Ra+=o,Gt(t=n,e=r)}var t,e;Wa.point=function(r,i){Wa.point=n,Gt(t=r,e=i)}}function Qt(){Wa.point=Gt}function ne(){function n(n,t){var e=n-r,u=t-i,o=Math.sqrt(e*e+u*u);qa+=o*(r+n)/2,Ta+=o*(i+t)/2,Ra+=o,o=i*n-r*t,Da+=o*(r+n),Pa+=o*(i+t),Ua+=3*o,Gt(r=n,i=t)}var t,e,r,i;Wa.point=function(u,o){Wa.point=n,Gt(t=r=u,e=i=o)},Wa.lineEnd=function(){n(t,e)}}function te(n){function t(t,e){n.moveTo(t+o,e),n.arc(t,e,o,0,Ho)}function e(t,e){n.moveTo(t,e),a.point=r}function r(t,e){n.lineTo(t,e)}function i(){a.point=t}function u(){n.closePath()}var o=4.5,a={point:t,lineStart:function(){a.point=e},lineEnd:i,polygonStart:function(){a.lineEnd=u},polygonEnd:function(){a.lineEnd=i,a.point=t},pointRadius:function(n){return o=n,a},result:b};return a}function ee(n){function t(n){return(a?r:e)(n)}function e(t){return ue(t,function(e,r){e=n(e,r),t.point(e[0],e[1])})}function r(t){function e(e,r){e=n(e,r),t.point(e[0],e[1])}function r(){M=NaN,S.point=u,t.lineStart()}function u(e,r){var u=dt([e,r]),o=n(e,r);i(M,x,m,b,_,w,M=o[0],x=o[1],m=e,b=u[0],_=u[1],w=u[2],a,t),t.point(M,x)}function o(){S.point=e,t.lineEnd()}function l(){ +r(),S.point=c,S.lineEnd=f}function c(n,t){u(s=n,h=t),p=M,g=x,v=b,d=_,y=w,S.point=u}function f(){i(M,x,m,b,_,w,p,g,s,v,d,y,a,t),S.lineEnd=o,o()}var s,h,p,g,v,d,y,m,M,x,b,_,w,S={point:e,lineStart:r,lineEnd:o,polygonStart:function(){t.polygonStart(),S.lineStart=l},polygonEnd:function(){t.polygonEnd(),S.lineStart=r}};return S}function i(t,e,r,a,l,c,f,s,h,p,g,v,d,y){var m=f-t,M=s-e,x=m*m+M*M;if(x>4*u&&d--){var b=a+p,_=l+g,w=c+v,S=Math.sqrt(b*b+_*_+w*w),k=Math.asin(w/=S),N=xo(xo(w)-1)u||xo((m*z+M*L)/x-.5)>.3||o>a*p+l*g+c*v)&&(i(t,e,r,a,l,c,A,C,N,b/=S,_/=S,w,d,y),y.point(A,C),i(A,C,N,b,_,w,f,s,h,p,g,v,d,y))}}var u=.5,o=Math.cos(30*Yo),a=16;return t.precision=function(n){return arguments.length?(a=(u=n*n)>0&&16,t):Math.sqrt(u)},t}function re(n){var t=ee(function(t,e){return n([t*Zo,e*Zo])});return function(n){return le(t(n))}}function ie(n){this.stream=n}function ue(n,t){return{point:t,sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}function oe(n){return ae(function(){return n})()}function ae(n){function t(n){return n=a(n[0]*Yo,n[1]*Yo),[n[0]*h+l,c-n[1]*h]}function e(n){return n=a.invert((n[0]-l)/h,(c-n[1])/h),n&&[n[0]*Zo,n[1]*Zo]}function r(){a=Ct(o=se(y,M,x),u);var n=u(v,d);return l=p-n[0]*h,c=g+n[1]*h,i()}function i(){return f&&(f.valid=!1,f=null),t}var u,o,a,l,c,f,s=ee(function(n,t){return n=u(n,t),[n[0]*h+l,c-n[1]*h]}),h=150,p=480,g=250,v=0,d=0,y=0,M=0,x=0,b=Fa,_=m,w=null,S=null;return t.stream=function(n){return f&&(f.valid=!1),f=le(b(o,s(_(n)))),f.valid=!0,f},t.clipAngle=function(n){return arguments.length?(b=null==n?(w=n,Fa):It((w=+n)*Yo),i()):w},t.clipExtent=function(n){return arguments.length?(S=n,_=n?Zt(n[0][0],n[0][1],n[1][0],n[1][1]):m,i()):S},t.scale=function(n){return arguments.length?(h=+n,r()):h},t.translate=function(n){return arguments.length?(p=+n[0],g=+n[1],r()):[p,g]},t.center=function(n){return arguments.length?(v=n[0]%360*Yo,d=n[1]%360*Yo,r()):[v*Zo,d*Zo]},t.rotate=function(n){return arguments.length?(y=n[0]%360*Yo,M=n[1]%360*Yo,x=n.length>2?n[2]%360*Yo:0,r()):[y*Zo,M*Zo,x*Zo]},ao.rebind(t,s,"precision"),function(){return u=n.apply(this,arguments),t.invert=u.invert&&e,r()}}function le(n){return ue(n,function(t,e){n.point(t*Yo,e*Yo)})}function ce(n,t){return[n,t]}function fe(n,t){return[n>Fo?n-Ho:-Fo>n?n+Ho:n,t]}function se(n,t,e){return n?t||e?Ct(pe(n),ge(t,e)):pe(n):t||e?ge(t,e):fe}function he(n){return function(t,e){return t+=n,[t>Fo?t-Ho:-Fo>t?t+Ho:t,e]}}function pe(n){var t=he(n);return t.invert=he(-n),t}function ge(n,t){function e(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*r+a*i;return[Math.atan2(l*u-f*o,a*r-c*i),tn(f*u+l*o)]}var r=Math.cos(n),i=Math.sin(n),u=Math.cos(t),o=Math.sin(t);return e.invert=function(n,t){var e=Math.cos(t),a=Math.cos(n)*e,l=Math.sin(n)*e,c=Math.sin(t),f=c*u-l*o;return[Math.atan2(l*u+c*o,a*r+f*i),tn(f*r-a*i)]},e}function ve(n,t){var e=Math.cos(n),r=Math.sin(n);return function(i,u,o,a){var l=o*t;null!=i?(i=de(e,i),u=de(e,u),(o>0?u>i:i>u)&&(i+=o*Ho)):(i=n+o*Ho,u=n-.5*l);for(var c,f=i;o>0?f>u:u>f;f-=l)a.point((c=_t([e,-r*Math.cos(f),-r*Math.sin(f)]))[0],c[1])}}function de(n,t){var e=dt(t);e[0]-=n,bt(e);var r=nn(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Uo)%(2*Math.PI)}function ye(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[n,t]})}}function me(n,t,e){var r=ao.range(n,t-Uo,e).concat(t);return function(n){return r.map(function(t){return[t,n]})}}function Me(n){return n.source}function xe(n){return n.target}function be(n,t,e,r){var i=Math.cos(t),u=Math.sin(t),o=Math.cos(r),a=Math.sin(r),l=i*Math.cos(n),c=i*Math.sin(n),f=o*Math.cos(e),s=o*Math.sin(e),h=2*Math.asin(Math.sqrt(on(r-t)+i*o*on(e-n))),p=1/Math.sin(h),g=h?function(n){var t=Math.sin(n*=h)*p,e=Math.sin(h-n)*p,r=e*l+t*f,i=e*c+t*s,o=e*u+t*a;return[Math.atan2(i,r)*Zo,Math.atan2(o,Math.sqrt(r*r+i*i))*Zo]}:function(){return[n*Zo,t*Zo]};return g.distance=h,g}function _e(){function n(n,i){var u=Math.sin(i*=Yo),o=Math.cos(i),a=xo((n*=Yo)-t),l=Math.cos(a);Ja+=Math.atan2(Math.sqrt((a=o*Math.sin(a))*a+(a=r*u-e*o*l)*a),e*u+r*o*l),t=n,e=u,r=o}var t,e,r;Ga.point=function(i,u){t=i*Yo,e=Math.sin(u*=Yo),r=Math.cos(u),Ga.point=n},Ga.lineEnd=function(){Ga.point=Ga.lineEnd=b}}function we(n,t){function e(t,e){var r=Math.cos(t),i=Math.cos(e),u=n(r*i);return[u*i*Math.sin(t),u*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),i=t(r),u=Math.sin(i),o=Math.cos(i);return[Math.atan2(n*u,r*o),Math.asin(r&&e*u/r)]},e}function Se(n,t){function e(n,t){o>0?-Io+Uo>t&&(t=-Io+Uo):t>Io-Uo&&(t=Io-Uo);var e=o/Math.pow(i(t),u);return[e*Math.sin(u*n),o-e*Math.cos(u*n)]}var r=Math.cos(n),i=function(n){return Math.tan(Fo/4+n/2)},u=n===t?Math.sin(n):Math.log(r/Math.cos(t))/Math.log(i(t)/i(n)),o=r*Math.pow(i(n),u)/u;return u?(e.invert=function(n,t){var e=o-t,r=K(u)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/u,2*Math.atan(Math.pow(o/r,1/u))-Io]},e):Ne}function ke(n,t){function e(n,t){var e=u-t;return[e*Math.sin(i*n),u-e*Math.cos(i*n)]}var r=Math.cos(n),i=n===t?Math.sin(n):(r-Math.cos(t))/(t-n),u=r/i+n;return xo(i)i;i++){for(;r>1&&Q(n[e[r-2]],n[e[r-1]],n[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function qe(n,t){return n[0]-t[0]||n[1]-t[1]}function Te(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function Re(n,t,e,r){var i=n[0],u=e[0],o=t[0]-i,a=r[0]-u,l=n[1],c=e[1],f=t[1]-l,s=r[1]-c,h=(a*(l-c)-s*(i-u))/(s*o-a*f);return[i+h*o,l+h*f]}function De(n){var t=n[0],e=n[n.length-1];return!(t[0]-e[0]||t[1]-e[1])}function Pe(){rr(this),this.edge=this.site=this.circle=null}function Ue(n){var t=cl.pop()||new Pe;return t.site=n,t}function je(n){Be(n),ol.remove(n),cl.push(n),rr(n)}function Fe(n){var t=n.circle,e=t.x,r=t.cy,i={x:e,y:r},u=n.P,o=n.N,a=[n];je(n);for(var l=u;l.circle&&xo(e-l.circle.x)f;++f)c=a[f],l=a[f-1],nr(c.edge,l.site,c.site,i);l=a[0],c=a[s-1],c.edge=Ke(l.site,c.site,null,i),$e(l),$e(c)}function He(n){for(var t,e,r,i,u=n.x,o=n.y,a=ol._;a;)if(r=Oe(a,o)-u,r>Uo)a=a.L;else{if(i=u-Ie(a,o),!(i>Uo)){r>-Uo?(t=a.P,e=a):i>-Uo?(t=a,e=a.N):t=e=a;break}if(!a.R){t=a;break}a=a.R}var l=Ue(n);if(ol.insert(t,l),t||e){if(t===e)return Be(t),e=Ue(t.site),ol.insert(l,e),l.edge=e.edge=Ke(t.site,l.site),$e(t),void $e(e);if(!e)return void(l.edge=Ke(t.site,l.site));Be(t),Be(e);var c=t.site,f=c.x,s=c.y,h=n.x-f,p=n.y-s,g=e.site,v=g.x-f,d=g.y-s,y=2*(h*d-p*v),m=h*h+p*p,M=v*v+d*d,x={x:(d*m-p*M)/y+f,y:(h*M-v*m)/y+s};nr(e.edge,c,g,x),l.edge=Ke(c,n,null,x),e.edge=Ke(n,g,null,x),$e(t),$e(e)}}function Oe(n,t){var e=n.site,r=e.x,i=e.y,u=i-t;if(!u)return r;var o=n.P;if(!o)return-(1/0);e=o.site;var a=e.x,l=e.y,c=l-t;if(!c)return a;var f=a-r,s=1/u-1/c,h=f/c;return s?(-h+Math.sqrt(h*h-2*s*(f*f/(-2*c)-l+c/2+i-u/2)))/s+r:(r+a)/2}function Ie(n,t){var e=n.N;if(e)return Oe(e,t);var r=n.site;return r.y===t?r.x:1/0}function Ye(n){this.site=n,this.edges=[]}function Ze(n){for(var t,e,r,i,u,o,a,l,c,f,s=n[0][0],h=n[1][0],p=n[0][1],g=n[1][1],v=ul,d=v.length;d--;)if(u=v[d],u&&u.prepare())for(a=u.edges,l=a.length,o=0;l>o;)f=a[o].end(),r=f.x,i=f.y,c=a[++o%l].start(),t=c.x,e=c.y,(xo(r-t)>Uo||xo(i-e)>Uo)&&(a.splice(o,0,new tr(Qe(u.site,f,xo(r-s)Uo?{x:s,y:xo(t-s)Uo?{x:xo(e-g)Uo?{x:h,y:xo(t-h)Uo?{x:xo(e-p)=-jo)){var p=l*l+c*c,g=f*f+s*s,v=(s*p-c*g)/h,d=(l*g-f*p)/h,s=d+a,y=fl.pop()||new Xe;y.arc=n,y.site=i,y.x=v+o,y.y=s+Math.sqrt(v*v+d*d),y.cy=s,n.circle=y;for(var m=null,M=ll._;M;)if(y.yd||d>=a)return;if(h>g){if(u){if(u.y>=c)return}else u={x:d,y:l};e={x:d,y:c}}else{if(u){if(u.yr||r>1)if(h>g){if(u){if(u.y>=c)return}else u={x:(l-i)/r,y:l};e={x:(c-i)/r,y:c}}else{if(u){if(u.yp){if(u){if(u.x>=a)return}else u={x:o,y:r*o+i};e={x:a,y:r*a+i}}else{if(u){if(u.xu||s>o||r>h||i>p)){if(g=n.point){var g,v=t-n.x,d=e-n.y,y=v*v+d*d;if(l>y){var m=Math.sqrt(l=y);r=t-m,i=e-m,u=t+m,o=e+m,a=g}}for(var M=n.nodes,x=.5*(f+h),b=.5*(s+p),_=t>=x,w=e>=b,S=w<<1|_,k=S+4;k>S;++S)if(n=M[3&S])switch(3&S){case 0:c(n,f,s,x,b);break;case 1:c(n,x,s,h,b);break;case 2:c(n,f,b,x,p);break;case 3:c(n,x,b,h,p)}}}(n,r,i,u,o),a}function vr(n,t){n=ao.rgb(n),t=ao.rgb(t);var e=n.r,r=n.g,i=n.b,u=t.r-e,o=t.g-r,a=t.b-i;return function(n){return"#"+bn(Math.round(e+u*n))+bn(Math.round(r+o*n))+bn(Math.round(i+a*n))}}function dr(n,t){var e,r={},i={};for(e in n)e in t?r[e]=Mr(n[e],t[e]):i[e]=n[e];for(e in t)e in n||(i[e]=t[e]);return function(n){for(e in r)i[e]=r[e](n);return i}}function yr(n,t){return n=+n,t=+t,function(e){return n*(1-e)+t*e}}function mr(n,t){var e,r,i,u=hl.lastIndex=pl.lastIndex=0,o=-1,a=[],l=[];for(n+="",t+="";(e=hl.exec(n))&&(r=pl.exec(t));)(i=r.index)>u&&(i=t.slice(u,i),a[o]?a[o]+=i:a[++o]=i),(e=e[0])===(r=r[0])?a[o]?a[o]+=r:a[++o]=r:(a[++o]=null,l.push({i:o,x:yr(e,r)})),u=pl.lastIndex;return ur;++r)a[(e=l[r]).i]=e.x(n);return a.join("")})}function Mr(n,t){for(var e,r=ao.interpolators.length;--r>=0&&!(e=ao.interpolators[r](n,t)););return e}function xr(n,t){var e,r=[],i=[],u=n.length,o=t.length,a=Math.min(n.length,t.length);for(e=0;a>e;++e)r.push(Mr(n[e],t[e]));for(;u>e;++e)i[e]=n[e];for(;o>e;++e)i[e]=t[e];return function(n){for(e=0;a>e;++e)i[e]=r[e](n);return i}}function br(n){return function(t){return 0>=t?0:t>=1?1:n(t)}}function _r(n){return function(t){return 1-n(1-t)}}function wr(n){return function(t){return.5*(.5>t?n(2*t):2-n(2-2*t))}}function Sr(n){return n*n}function kr(n){return n*n*n}function Nr(n){if(0>=n)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(.5>n?e:3*(n-t)+e-.75)}function Er(n){return function(t){return Math.pow(t,n)}}function Ar(n){return 1-Math.cos(n*Io)}function Cr(n){return Math.pow(2,10*(n-1))}function zr(n){return 1-Math.sqrt(1-n*n)}function Lr(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/Ho*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,-10*r)*Math.sin((r-e)*Ho/t)}}function qr(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}}function Tr(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function Rr(n,t){n=ao.hcl(n),t=ao.hcl(t);var e=n.h,r=n.c,i=n.l,u=t.h-e,o=t.c-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.c:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return sn(e+u*n,r+o*n,i+a*n)+""}}function Dr(n,t){n=ao.hsl(n),t=ao.hsl(t);var e=n.h,r=n.s,i=n.l,u=t.h-e,o=t.s-r,a=t.l-i;return isNaN(o)&&(o=0,r=isNaN(r)?t.s:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(n){return cn(e+u*n,r+o*n,i+a*n)+""}}function Pr(n,t){n=ao.lab(n),t=ao.lab(t);var e=n.l,r=n.a,i=n.b,u=t.l-e,o=t.a-r,a=t.b-i;return function(n){return pn(e+u*n,r+o*n,i+a*n)+""}}function Ur(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function jr(n){var t=[n.a,n.b],e=[n.c,n.d],r=Hr(t),i=Fr(t,e),u=Hr(Or(e,t,-i))||0;t[0]*e[1]180?t+=360:t-n>180&&(n+=360),r.push({i:e.push(Ir(e)+"rotate(",null,")")-2,x:yr(n,t)})):t&&e.push(Ir(e)+"rotate("+t+")")}function Vr(n,t,e,r){n!==t?r.push({i:e.push(Ir(e)+"skewX(",null,")")-2,x:yr(n,t)}):t&&e.push(Ir(e)+"skewX("+t+")")}function Xr(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push(Ir(e)+"scale(",null,",",null,")");r.push({i:i-4,x:yr(n[0],t[0])},{i:i-2,x:yr(n[1],t[1])})}else 1===t[0]&&1===t[1]||e.push(Ir(e)+"scale("+t+")")}function $r(n,t){var e=[],r=[];return n=ao.transform(n),t=ao.transform(t),Yr(n.translate,t.translate,e,r),Zr(n.rotate,t.rotate,e,r),Vr(n.skew,t.skew,e,r),Xr(n.scale,t.scale,e,r),n=t=null,function(n){for(var t,i=-1,u=r.length;++i=0;)e.push(i[r])}function oi(n,t){for(var e=[n],r=[];null!=(n=e.pop());)if(r.push(n),(u=n.children)&&(i=u.length))for(var i,u,o=-1;++oe;++e)(t=n[e][1])>i&&(r=e,i=t);return r}function yi(n){return n.reduce(mi,0)}function mi(n,t){return n+t[1]}function Mi(n,t){return xi(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function xi(n,t){for(var e=-1,r=+n[0],i=(n[1]-r)/t,u=[];++e<=t;)u[e]=i*e+r;return u}function bi(n){return[ao.min(n),ao.max(n)]}function _i(n,t){return n.value-t.value}function wi(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function Si(n,t){n._pack_next=t,t._pack_prev=n}function ki(n,t){var e=t.x-n.x,r=t.y-n.y,i=n.r+t.r;return.999*i*i>e*e+r*r}function Ni(n){function t(n){f=Math.min(n.x-n.r,f),s=Math.max(n.x+n.r,s),h=Math.min(n.y-n.r,h),p=Math.max(n.y+n.r,p)}if((e=n.children)&&(c=e.length)){var e,r,i,u,o,a,l,c,f=1/0,s=-(1/0),h=1/0,p=-(1/0);if(e.forEach(Ei),r=e[0],r.x=-r.r,r.y=0,t(r),c>1&&(i=e[1],i.x=i.r,i.y=0,t(i),c>2))for(u=e[2],zi(r,i,u),t(u),wi(r,u),r._pack_prev=u,wi(u,i),i=r._pack_next,o=3;c>o;o++){zi(r,i,u=e[o]);var g=0,v=1,d=1;for(a=i._pack_next;a!==i;a=a._pack_next,v++)if(ki(a,u)){g=1;break}if(1==g)for(l=r._pack_prev;l!==a._pack_prev&&!ki(l,u);l=l._pack_prev,d++);g?(d>v||v==d&&i.ro;o++)u=e[o],u.x-=y,u.y-=m,M=Math.max(M,u.r+Math.sqrt(u.x*u.x+u.y*u.y));n.r=M,e.forEach(Ai)}}function Ei(n){n._pack_next=n._pack_prev=n}function Ai(n){delete n._pack_next,delete n._pack_prev}function Ci(n,t,e,r){var i=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,i)for(var u=-1,o=i.length;++u=0;)t=i[u],t.z+=e,t.m+=e,e+=t.s+(r+=t.c)}function Pi(n,t,e){return n.a.parent===t.parent?n.a:e}function Ui(n){return 1+ao.max(n,function(n){return n.y})}function ji(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}function Fi(n){var t=n.children;return t&&t.length?Fi(t[0]):n}function Hi(n){var t,e=n.children;return e&&(t=e.length)?Hi(e[t-1]):n}function Oi(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function Ii(n,t){var e=n.x+t[3],r=n.y+t[0],i=n.dx-t[1]-t[3],u=n.dy-t[0]-t[2];return 0>i&&(e+=i/2,i=0),0>u&&(r+=u/2,u=0),{x:e,y:r,dx:i,dy:u}}function Yi(n){var t=n[0],e=n[n.length-1];return e>t?[t,e]:[e,t]}function Zi(n){return n.rangeExtent?n.rangeExtent():Yi(n.range())}function Vi(n,t,e,r){var i=e(n[0],n[1]),u=r(t[0],t[1]);return function(n){return u(i(n))}}function Xi(n,t){var e,r=0,i=n.length-1,u=n[r],o=n[i];return u>o&&(e=r,r=i,i=e,e=u,u=o,o=e),n[r]=t.floor(u),n[i]=t.ceil(o),n}function $i(n){return n?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:Sl}function Bi(n,t,e,r){var i=[],u=[],o=0,a=Math.min(n.length,t.length)-1;for(n[a]2?Bi:Vi,l=r?Wr:Br;return o=i(n,t,l,e),a=i(t,n,l,Mr),u}function u(n){return o(n)}var o,a;return u.invert=function(n){return a(n)},u.domain=function(t){return arguments.length?(n=t.map(Number),i()):n},u.range=function(n){return arguments.length?(t=n,i()):t},u.rangeRound=function(n){return u.range(n).interpolate(Ur)},u.clamp=function(n){return arguments.length?(r=n,i()):r},u.interpolate=function(n){return arguments.length?(e=n,i()):e},u.ticks=function(t){return Qi(n,t)},u.tickFormat=function(t,e){return nu(n,t,e)},u.nice=function(t){return Gi(n,t),i()},u.copy=function(){return Wi(n,t,e,r)},i()}function Ji(n,t){return ao.rebind(n,t,"range","rangeRound","interpolate","clamp")}function Gi(n,t){return Xi(n,$i(Ki(n,t)[2])),Xi(n,$i(Ki(n,t)[2])),n}function Ki(n,t){null==t&&(t=10);var e=Yi(n),r=e[1]-e[0],i=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),u=t/r*i;return.15>=u?i*=10:.35>=u?i*=5:.75>=u&&(i*=2),e[0]=Math.ceil(e[0]/i)*i,e[1]=Math.floor(e[1]/i)*i+.5*i,e[2]=i,e}function Qi(n,t){return ao.range.apply(ao,Ki(n,t))}function nu(n,t,e){var r=Ki(n,t);if(e){var i=ha.exec(e);if(i.shift(),"s"===i[8]){var u=ao.formatPrefix(Math.max(xo(r[0]),xo(r[1])));return i[7]||(i[7]="."+tu(u.scale(r[2]))),i[8]="f",e=ao.format(i.join("")),function(n){return e(u.scale(n))+u.symbol}}i[7]||(i[7]="."+eu(i[8],r)),e=i.join("")}else e=",."+tu(r[2])+"f";return ao.format(e)}function tu(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}function eu(n,t){var e=tu(t[2]);return n in kl?Math.abs(e-tu(Math.max(xo(t[0]),xo(t[1]))))+ +("e"!==n):e-2*("%"===n)}function ru(n,t,e,r){function i(n){return(e?Math.log(0>n?0:n):-Math.log(n>0?0:-n))/Math.log(t)}function u(n){return e?Math.pow(t,n):-Math.pow(t,-n)}function o(t){return n(i(t))}return o.invert=function(t){return u(n.invert(t))},o.domain=function(t){return arguments.length?(e=t[0]>=0,n.domain((r=t.map(Number)).map(i)),o):r},o.base=function(e){return arguments.length?(t=+e,n.domain(r.map(i)),o):t},o.nice=function(){var t=Xi(r.map(i),e?Math:El);return n.domain(t),r=t.map(u),o},o.ticks=function(){var n=Yi(r),o=[],a=n[0],l=n[1],c=Math.floor(i(a)),f=Math.ceil(i(l)),s=t%1?2:t;if(isFinite(f-c)){if(e){for(;f>c;c++)for(var h=1;s>h;h++)o.push(u(c)*h);o.push(u(c))}else for(o.push(u(c));c++0;h--)o.push(u(c)*h);for(c=0;o[c]l;f--);o=o.slice(c,f)}return o},o.tickFormat=function(n,e){if(!arguments.length)return Nl;arguments.length<2?e=Nl:"function"!=typeof e&&(e=ao.format(e));var r=Math.max(1,t*n/o.ticks().length);return function(n){var o=n/u(Math.round(i(n)));return t-.5>o*t&&(o*=t),r>=o?e(n):""}},o.copy=function(){return ru(n.copy(),t,e,r)},Ji(o,n)}function iu(n,t,e){function r(t){return n(i(t))}var i=uu(t),u=uu(1/t);return r.invert=function(t){return u(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain((e=t.map(Number)).map(i)),r):e},r.ticks=function(n){return Qi(e,n)},r.tickFormat=function(n,t){return nu(e,n,t)},r.nice=function(n){return r.domain(Gi(e,n))},r.exponent=function(o){return arguments.length?(i=uu(t=o),u=uu(1/t),n.domain(e.map(i)),r):t},r.copy=function(){return iu(n.copy(),t,e)},Ji(r,n)}function uu(n){return function(t){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}}function ou(n,t){function e(e){return u[((i.get(e)||("range"===t.t?i.set(e,n.push(e)):NaN))-1)%u.length]}function r(t,e){return ao.range(n.length).map(function(n){return t+e*n})}var i,u,o;return e.domain=function(r){if(!arguments.length)return n;n=[],i=new c;for(var u,o=-1,a=r.length;++oe?[NaN,NaN]:[e>0?a[e-1]:n[0],et?NaN:t/u+n,[t,t+1/u]},r.copy=function(){return lu(n,t,e)},i()}function cu(n,t){function e(e){return e>=e?t[ao.bisect(n,e)]:void 0}return e.domain=function(t){return arguments.length?(n=t,e):n},e.range=function(n){return arguments.length?(t=n,e):t},e.invertExtent=function(e){return e=t.indexOf(e),[n[e-1],n[e]]},e.copy=function(){return cu(n,t)},e}function fu(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return Qi(n,t)},t.tickFormat=function(t,e){return nu(n,t,e)},t.copy=function(){return fu(n)},t}function su(){return 0}function hu(n){return n.innerRadius}function pu(n){return n.outerRadius}function gu(n){return n.startAngle}function vu(n){return n.endAngle}function du(n){return n&&n.padAngle}function yu(n,t,e,r){return(n-e)*t-(t-r)*n>0?0:1}function mu(n,t,e,r,i){var u=n[0]-t[0],o=n[1]-t[1],a=(i?r:-r)/Math.sqrt(u*u+o*o),l=a*o,c=-a*u,f=n[0]+l,s=n[1]+c,h=t[0]+l,p=t[1]+c,g=(f+h)/2,v=(s+p)/2,d=h-f,y=p-s,m=d*d+y*y,M=e-r,x=f*p-h*s,b=(0>y?-1:1)*Math.sqrt(Math.max(0,M*M*m-x*x)),_=(x*y-d*b)/m,w=(-x*d-y*b)/m,S=(x*y+d*b)/m,k=(-x*d+y*b)/m,N=_-g,E=w-v,A=S-g,C=k-v;return N*N+E*E>A*A+C*C&&(_=S,w=k),[[_-l,w-c],[_*e/M,w*e/M]]}function Mu(n){function t(t){function o(){c.push("M",u(n(f),a))}for(var l,c=[],f=[],s=-1,h=t.length,p=En(e),g=En(r);++s1?n.join("L"):n+"Z"}function bu(n){return n.join("L")+"Z"}function _u(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1&&i.push("H",r[0]),i.join("")}function wu(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1){a=t[1],u=n[l],l++,r+="C"+(i[0]+o[0])+","+(i[1]+o[1])+","+(u[0]-a[0])+","+(u[1]-a[1])+","+u[0]+","+u[1];for(var c=2;c9&&(i=3*t/Math.sqrt(i),o[a]=i*e,o[a+1]=i*r));for(a=-1;++a<=l;)i=(n[Math.min(l,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),u.push([i||0,o[a]*i||0]);return u}function Fu(n){return n.length<3?xu(n):n[0]+Au(n,ju(n))}function Hu(n){for(var t,e,r,i=-1,u=n.length;++i=t?o(n-t):void(f.c=o)}function o(e){var i=g.active,u=g[i];u&&(u.timer.c=null,u.timer.t=NaN,--g.count,delete g[i],u.event&&u.event.interrupt.call(n,n.__data__,u.index));for(var o in g)if(r>+o){var c=g[o];c.timer.c=null,c.timer.t=NaN,--g.count,delete g[o]}f.c=a,qn(function(){return f.c&&a(e||1)&&(f.c=null,f.t=NaN),1},0,l),g.active=r,v.event&&v.event.start.call(n,n.__data__,t),p=[],v.tween.forEach(function(e,r){(r=r.call(n,n.__data__,t))&&p.push(r)}),h=v.ease,s=v.duration}function a(i){for(var u=i/s,o=h(u),a=p.length;a>0;)p[--a].call(n,o);return u>=1?(v.event&&v.event.end.call(n,n.__data__,t),--g.count?delete g[r]:delete n[e],1):void 0}var l,f,s,h,p,g=n[e]||(n[e]={active:0,count:0}),v=g[r];v||(l=i.time,f=qn(u,0,l),v=g[r]={tween:new c,time:l,timer:f,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++g.count)}function no(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate("+(isFinite(r)?r:e(n))+",0)"})}function to(n,t,e){n.attr("transform",function(n){var r=t(n);return"translate(0,"+(isFinite(r)?r:e(n))+")"})}function eo(n){return n.toISOString()}function ro(n,t,e){function r(t){return n(t)}function i(n,e){var r=n[1]-n[0],i=r/e,u=ao.bisect(Kl,i);return u==Kl.length?[t.year,Ki(n.map(function(n){return n/31536e6}),e)[2]]:u?t[i/Kl[u-1]1?{floor:function(t){for(;e(t=n.floor(t));)t=io(t-1);return t},ceil:function(t){for(;e(t=n.ceil(t));)t=io(+t+1);return t}}:n))},r.ticks=function(n,t){var e=Yi(r.domain()),u=null==n?i(e,10):"number"==typeof n?i(e,n):!n.range&&[{range:n},t];return u&&(n=u[0],t=u[1]),n.range(e[0],io(+e[1]+1),1>t?1:t)},r.tickFormat=function(){return e},r.copy=function(){return ro(n.copy(),t,e)},Ji(r,n)}function io(n){return new Date(n)}function uo(n){return JSON.parse(n.responseText)}function oo(n){var t=fo.createRange();return t.selectNode(fo.body),t.createContextualFragment(n.responseText)}var ao={version:"3.5.17"},lo=[].slice,co=function(n){return lo.call(n)},fo=this.document;if(fo)try{co(fo.documentElement.childNodes)[0].nodeType}catch(so){co=function(n){for(var t=n.length,e=new Array(t);t--;)e[t]=n[t];return e}}if(Date.now||(Date.now=function(){return+new Date}),fo)try{fo.createElement("DIV").style.setProperty("opacity",0,"")}catch(ho){var po=this.Element.prototype,go=po.setAttribute,vo=po.setAttributeNS,yo=this.CSSStyleDeclaration.prototype,mo=yo.setProperty;po.setAttribute=function(n,t){go.call(this,n,t+"")},po.setAttributeNS=function(n,t,e){vo.call(this,n,t,e+"")},yo.setProperty=function(n,t,e){mo.call(this,n,t+"",e)}}ao.ascending=e,ao.descending=function(n,t){return n>t?-1:t>n?1:t>=n?0:NaN},ao.min=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ir&&(e=r)}else{for(;++i=r){e=r;break}for(;++ir&&(e=r)}return e},ao.max=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ie&&(e=r)}else{for(;++i=r){e=r;break}for(;++ie&&(e=r)}return e},ao.extent=function(n,t){var e,r,i,u=-1,o=n.length;if(1===arguments.length){for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}else{for(;++u=r){e=i=r;break}for(;++ur&&(e=r),r>i&&(i=r))}return[e,i]},ao.sum=function(n,t){var e,r=0,u=n.length,o=-1;if(1===arguments.length)for(;++o1?l/(f-1):void 0},ao.deviation=function(){var n=ao.variance.apply(this,arguments);return n?Math.sqrt(n):n};var Mo=u(e);ao.bisectLeft=Mo.left,ao.bisect=ao.bisectRight=Mo.right,ao.bisector=function(n){return u(1===n.length?function(t,r){return e(n(t),r)}:n)},ao.shuffle=function(n,t,e){(u=arguments.length)<3&&(e=n.length,2>u&&(t=0));for(var r,i,u=e-t;u;)i=Math.random()*u--|0,r=n[u+t],n[u+t]=n[i+t],n[i+t]=r;return n},ao.permute=function(n,t){for(var e=t.length,r=new Array(e);e--;)r[e]=n[t[e]];return r},ao.pairs=function(n){for(var t,e=0,r=n.length-1,i=n[0],u=new Array(0>r?0:r);r>e;)u[e]=[t=i,i=n[++e]];return u},ao.transpose=function(n){if(!(i=n.length))return[];for(var t=-1,e=ao.min(n,o),r=new Array(e);++t=0;)for(r=n[i],t=r.length;--t>=0;)e[--o]=r[t];return e};var xo=Math.abs;ao.range=function(n,t,e){if(arguments.length<3&&(e=1,arguments.length<2&&(t=n,n=0)),(t-n)/e===1/0)throw new Error("infinite range");var r,i=[],u=a(xo(e)),o=-1;if(n*=u,t*=u,e*=u,0>e)for(;(r=n+e*++o)>t;)i.push(r/u);else for(;(r=n+e*++o)=u.length)return r?r.call(i,o):e?o.sort(e):o;for(var l,f,s,h,p=-1,g=o.length,v=u[a++],d=new c;++p=u.length)return n;var r=[],i=o[e++];return n.forEach(function(n,i){r.push({key:n,values:t(i,e)})}),i?r.sort(function(n,t){return i(n.key,t.key)}):r}var e,r,i={},u=[],o=[];return i.map=function(t,e){return n(e,t,0)},i.entries=function(e){return t(n(ao.map,e,0),0)},i.key=function(n){return u.push(n),i},i.sortKeys=function(n){return o[u.length-1]=n,i},i.sortValues=function(n){return e=n,i},i.rollup=function(n){return r=n,i},i},ao.set=function(n){var t=new y;if(n)for(var e=0,r=n.length;r>e;++e)t.add(n[e]);return t},l(y,{has:h,add:function(n){return this._[f(n+="")]=!0,n},remove:p,values:g,size:v,empty:d,forEach:function(n){for(var t in this._)n.call(this,s(t))}}),ao.behavior={},ao.rebind=function(n,t){for(var e,r=1,i=arguments.length;++r=0&&(r=n.slice(e+1),n=n.slice(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},ao.event=null,ao.requote=function(n){return n.replace(So,"\\$&")};var So=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ko={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]},No=function(n,t){return t.querySelector(n)},Eo=function(n,t){return t.querySelectorAll(n)},Ao=function(n,t){var e=n.matches||n[x(n,"matchesSelector")];return(Ao=function(n,t){return e.call(n,t)})(n,t)};"function"==typeof Sizzle&&(No=function(n,t){return Sizzle(n,t)[0]||null},Eo=Sizzle,Ao=Sizzle.matchesSelector),ao.selection=function(){return ao.select(fo.documentElement)};var Co=ao.selection.prototype=[];Co.select=function(n){var t,e,r,i,u=[];n=A(n);for(var o=-1,a=this.length;++o=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),Lo.hasOwnProperty(e)?{space:Lo[e],local:n}:n}},Co.attr=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node();return n=ao.ns.qualify(n),n.local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(z(t,n[t]));return this}return this.each(z(n,t))},Co.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=T(n)).length,i=-1;if(t=e.classList){for(;++ii){if("string"!=typeof n){2>i&&(e="");for(r in n)this.each(P(r,n[r],e));return this}if(2>i){var u=this.node();return t(u).getComputedStyle(u,null).getPropertyValue(n)}r=""}return this.each(P(n,e,r))},Co.property=function(n,t){if(arguments.length<2){if("string"==typeof n)return this.node()[n];for(t in n)this.each(U(t,n[t]));return this}return this.each(U(n,t))},Co.text=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.textContent=null==t?"":t}:null==n?function(){this.textContent=""}:function(){this.textContent=n}):this.node().textContent},Co.html=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}:null==n?function(){this.innerHTML=""}:function(){this.innerHTML=n}):this.node().innerHTML},Co.append=function(n){return n=j(n),this.select(function(){return this.appendChild(n.apply(this,arguments))})},Co.insert=function(n,t){return n=j(n),t=A(t),this.select(function(){return this.insertBefore(n.apply(this,arguments),t.apply(this,arguments)||null)})},Co.remove=function(){return this.each(F)},Co.data=function(n,t){function e(n,e){var r,i,u,o=n.length,s=e.length,h=Math.min(o,s),p=new Array(s),g=new Array(s),v=new Array(o);if(t){var d,y=new c,m=new Array(o);for(r=-1;++rr;++r)g[r]=H(e[r]);for(;o>r;++r)v[r]=n[r]}g.update=p,g.parentNode=p.parentNode=v.parentNode=n.parentNode,a.push(g),l.push(p),f.push(v)}var r,i,u=-1,o=this.length;if(!arguments.length){for(n=new Array(o=(r=this[0]).length);++uu;u++){i.push(t=[]),t.parentNode=(e=this[u]).parentNode;for(var a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return E(i)},Co.order=function(){for(var n=-1,t=this.length;++n=0;)(e=r[i])&&(u&&u!==e.nextSibling&&u.parentNode.insertBefore(e,u),u=e);return this},Co.sort=function(n){n=I.apply(this,arguments);for(var t=-1,e=this.length;++tn;n++)for(var e=this[n],r=0,i=e.length;i>r;r++){var u=e[r];if(u)return u}return null},Co.size=function(){var n=0;return Y(this,function(){++n}),n};var qo=[];ao.selection.enter=Z,ao.selection.enter.prototype=qo,qo.append=Co.append,qo.empty=Co.empty,qo.node=Co.node,qo.call=Co.call,qo.size=Co.size,qo.select=function(n){for(var t,e,r,i,u,o=[],a=-1,l=this.length;++ar){if("string"!=typeof n){2>r&&(t=!1);for(e in n)this.each(X(e,n[e],t));return this}if(2>r)return(r=this.node()["__on"+n])&&r._;e=!1}return this.each(X(n,t,e))};var To=ao.map({mouseenter:"mouseover",mouseleave:"mouseout"});fo&&To.forEach(function(n){"on"+n in fo&&To.remove(n)});var Ro,Do=0;ao.mouse=function(n){return J(n,k())};var Po=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;ao.touch=function(n,t,e){if(arguments.length<3&&(e=t,t=k().changedTouches),t)for(var r,i=0,u=t.length;u>i;++i)if((r=t[i]).identifier===e)return J(n,r)},ao.behavior.drag=function(){function n(){this.on("mousedown.drag",u).on("touchstart.drag",o)}function e(n,t,e,u,o){return function(){function a(){var n,e,r=t(h,v);r&&(n=r[0]-M[0],e=r[1]-M[1],g|=n|e,M=r,p({type:"drag",x:r[0]+c[0],y:r[1]+c[1],dx:n,dy:e}))}function l(){t(h,v)&&(y.on(u+d,null).on(o+d,null),m(g),p({type:"dragend"}))}var c,f=this,s=ao.event.target.correspondingElement||ao.event.target,h=f.parentNode,p=r.of(f,arguments),g=0,v=n(),d=".drag"+(null==v?"":"-"+v),y=ao.select(e(s)).on(u+d,a).on(o+d,l),m=W(s),M=t(h,v);i?(c=i.apply(f,arguments),c=[c.x-M[0],c.y-M[1]]):c=[0,0],p({type:"dragstart"})}}var r=N(n,"drag","dragstart","dragend"),i=null,u=e(b,ao.mouse,t,"mousemove","mouseup"),o=e(G,ao.touch,m,"touchmove","touchend");return n.origin=function(t){return arguments.length?(i=t,n):i},ao.rebind(n,r,"on")},ao.touches=function(n,t){return arguments.length<2&&(t=k().touches),t?co(t).map(function(t){var e=J(n,t);return e.identifier=t.identifier,e}):[]};var Uo=1e-6,jo=Uo*Uo,Fo=Math.PI,Ho=2*Fo,Oo=Ho-Uo,Io=Fo/2,Yo=Fo/180,Zo=180/Fo,Vo=Math.SQRT2,Xo=2,$o=4;ao.interpolateZoom=function(n,t){var e,r,i=n[0],u=n[1],o=n[2],a=t[0],l=t[1],c=t[2],f=a-i,s=l-u,h=f*f+s*s;if(jo>h)r=Math.log(c/o)/Vo,e=function(n){return[i+n*f,u+n*s,o*Math.exp(Vo*n*r)]};else{var p=Math.sqrt(h),g=(c*c-o*o+$o*h)/(2*o*Xo*p),v=(c*c-o*o-$o*h)/(2*c*Xo*p),d=Math.log(Math.sqrt(g*g+1)-g),y=Math.log(Math.sqrt(v*v+1)-v);r=(y-d)/Vo,e=function(n){var t=n*r,e=rn(d),a=o/(Xo*p)*(e*un(Vo*t+d)-en(d));return[i+a*f,u+a*s,o*e/rn(Vo*t+d)]}}return e.duration=1e3*r,e},ao.behavior.zoom=function(){function n(n){n.on(L,s).on(Wo+".zoom",p).on("dblclick.zoom",g).on(R,h)}function e(n){return[(n[0]-k.x)/k.k,(n[1]-k.y)/k.k]}function r(n){return[n[0]*k.k+k.x,n[1]*k.k+k.y]}function i(n){k.k=Math.max(A[0],Math.min(A[1],n))}function u(n,t){t=r(t),k.x+=n[0]-t[0],k.y+=n[1]-t[1]}function o(t,e,r,o){t.__chart__={x:k.x,y:k.y,k:k.k},i(Math.pow(2,o)),u(d=e,r),t=ao.select(t),C>0&&(t=t.transition().duration(C)),t.call(n.event)}function a(){b&&b.domain(x.range().map(function(n){return(n-k.x)/k.k}).map(x.invert)),w&&w.domain(_.range().map(function(n){return(n-k.y)/k.k}).map(_.invert))}function l(n){z++||n({type:"zoomstart"})}function c(n){a(),n({type:"zoom",scale:k.k,translate:[k.x,k.y]})}function f(n){--z||(n({type:"zoomend"}),d=null)}function s(){function n(){a=1,u(ao.mouse(i),h),c(o)}function r(){s.on(q,null).on(T,null),p(a),f(o)}var i=this,o=D.of(i,arguments),a=0,s=ao.select(t(i)).on(q,n).on(T,r),h=e(ao.mouse(i)),p=W(i);Il.call(i),l(o)}function h(){function n(){var n=ao.touches(g);return p=k.k,n.forEach(function(n){n.identifier in d&&(d[n.identifier]=e(n))}),n}function t(){var t=ao.event.target;ao.select(t).on(x,r).on(b,a),_.push(t);for(var e=ao.event.changedTouches,i=0,u=e.length;u>i;++i)d[e[i].identifier]=null;var l=n(),c=Date.now();if(1===l.length){if(500>c-M){var f=l[0];o(g,f,d[f.identifier],Math.floor(Math.log(k.k)/Math.LN2)+1),S()}M=c}else if(l.length>1){var f=l[0],s=l[1],h=f[0]-s[0],p=f[1]-s[1];y=h*h+p*p}}function r(){var n,t,e,r,o=ao.touches(g);Il.call(g);for(var a=0,l=o.length;l>a;++a,r=null)if(e=o[a],r=d[e.identifier]){if(t)break;n=e,t=r}if(r){var f=(f=e[0]-n[0])*f+(f=e[1]-n[1])*f,s=y&&Math.sqrt(f/y);n=[(n[0]+e[0])/2,(n[1]+e[1])/2],t=[(t[0]+r[0])/2,(t[1]+r[1])/2],i(s*p)}M=null,u(n,t),c(v)}function a(){if(ao.event.touches.length){for(var t=ao.event.changedTouches,e=0,r=t.length;r>e;++e)delete d[t[e].identifier];for(var i in d)return void n()}ao.selectAll(_).on(m,null),w.on(L,s).on(R,h),N(),f(v)}var p,g=this,v=D.of(g,arguments),d={},y=0,m=".zoom-"+ao.event.changedTouches[0].identifier,x="touchmove"+m,b="touchend"+m,_=[],w=ao.select(g),N=W(g);t(),l(v),w.on(L,null).on(R,t)}function p(){var n=D.of(this,arguments);m?clearTimeout(m):(Il.call(this),v=e(d=y||ao.mouse(this)),l(n)),m=setTimeout(function(){m=null,f(n)},50),S(),i(Math.pow(2,.002*Bo())*k.k),u(d,v),c(n)}function g(){var n=ao.mouse(this),t=Math.log(k.k)/Math.LN2;o(this,n,e(n),ao.event.shiftKey?Math.ceil(t)-1:Math.floor(t)+1)}var v,d,y,m,M,x,b,_,w,k={x:0,y:0,k:1},E=[960,500],A=Jo,C=250,z=0,L="mousedown.zoom",q="mousemove.zoom",T="mouseup.zoom",R="touchstart.zoom",D=N(n,"zoomstart","zoom","zoomend");return Wo||(Wo="onwheel"in fo?(Bo=function(){return-ao.event.deltaY*(ao.event.deltaMode?120:1)},"wheel"):"onmousewheel"in fo?(Bo=function(){return ao.event.wheelDelta},"mousewheel"):(Bo=function(){return-ao.event.detail},"MozMousePixelScroll")),n.event=function(n){n.each(function(){var n=D.of(this,arguments),t=k;Hl?ao.select(this).transition().each("start.zoom",function(){k=this.__chart__||{x:0,y:0,k:1},l(n)}).tween("zoom:zoom",function(){var e=E[0],r=E[1],i=d?d[0]:e/2,u=d?d[1]:r/2,o=ao.interpolateZoom([(i-k.x)/k.k,(u-k.y)/k.k,e/k.k],[(i-t.x)/t.k,(u-t.y)/t.k,e/t.k]);return function(t){var r=o(t),a=e/r[2];this.__chart__=k={x:i-r[0]*a,y:u-r[1]*a,k:a},c(n)}}).each("interrupt.zoom",function(){f(n)}).each("end.zoom",function(){f(n)}):(this.__chart__=k,l(n),c(n),f(n))})},n.translate=function(t){return arguments.length?(k={x:+t[0],y:+t[1],k:k.k},a(),n):[k.x,k.y]},n.scale=function(t){return arguments.length?(k={x:k.x,y:k.y,k:null},i(+t),a(),n):k.k},n.scaleExtent=function(t){return arguments.length?(A=null==t?Jo:[+t[0],+t[1]],n):A},n.center=function(t){return arguments.length?(y=t&&[+t[0],+t[1]],n):y},n.size=function(t){return arguments.length?(E=t&&[+t[0],+t[1]],n):E},n.duration=function(t){return arguments.length?(C=+t,n):C},n.x=function(t){return arguments.length?(b=t,x=t.copy(),k={x:0,y:0,k:1},n):b},n.y=function(t){return arguments.length?(w=t,_=t.copy(),k={x:0,y:0,k:1},n):w},ao.rebind(n,D,"on")};var Bo,Wo,Jo=[0,1/0];ao.color=an,an.prototype.toString=function(){return this.rgb()+""},ao.hsl=ln;var Go=ln.prototype=new an;Go.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,this.l/n)},Go.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new ln(this.h,this.s,n*this.l)},Go.rgb=function(){return cn(this.h,this.s,this.l)},ao.hcl=fn;var Ko=fn.prototype=new an;Ko.brighter=function(n){return new fn(this.h,this.c,Math.min(100,this.l+Qo*(arguments.length?n:1)))},Ko.darker=function(n){return new fn(this.h,this.c,Math.max(0,this.l-Qo*(arguments.length?n:1)))},Ko.rgb=function(){return sn(this.h,this.c,this.l).rgb()},ao.lab=hn;var Qo=18,na=.95047,ta=1,ea=1.08883,ra=hn.prototype=new an;ra.brighter=function(n){return new hn(Math.min(100,this.l+Qo*(arguments.length?n:1)),this.a,this.b)},ra.darker=function(n){return new hn(Math.max(0,this.l-Qo*(arguments.length?n:1)),this.a,this.b)},ra.rgb=function(){return pn(this.l,this.a,this.b)},ao.rgb=mn;var ia=mn.prototype=new an;ia.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,i=30;return t||e||r?(t&&i>t&&(t=i),e&&i>e&&(e=i),r&&i>r&&(r=i),new mn(Math.min(255,t/n),Math.min(255,e/n),Math.min(255,r/n))):new mn(i,i,i)},ia.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new mn(n*this.r,n*this.g,n*this.b)},ia.hsl=function(){return wn(this.r,this.g,this.b)},ia.toString=function(){return"#"+bn(this.r)+bn(this.g)+bn(this.b)};var ua=ao.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});ua.forEach(function(n,t){ua.set(n,Mn(t))}),ao.functor=En,ao.xhr=An(m),ao.dsv=function(n,t){function e(n,e,u){arguments.length<3&&(u=e,e=null);var o=Cn(n,t,null==e?r:i(e),u);return o.row=function(n){return arguments.length?o.response(null==(e=n)?r:i(n)):e},o}function r(n){return e.parse(n.responseText)}function i(n){return function(t){return e.parse(t.responseText,n)}}function u(t){return t.map(o).join(n)}function o(n){return a.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}var a=new RegExp('["'+n+"\n]"),l=n.charCodeAt(0);return e.parse=function(n,t){var r;return e.parseRows(n,function(n,e){if(r)return r(n,e-1);var i=new Function("d","return {"+n.map(function(n,t){return JSON.stringify(n)+": d["+t+"]"}).join(",")+"}");r=t?function(n,e){return t(i(n),e)}:i})},e.parseRows=function(n,t){function e(){if(f>=c)return o;if(i)return i=!1,u;var t=f;if(34===n.charCodeAt(t)){for(var e=t;e++f;){var r=n.charCodeAt(f++),a=1;if(10===r)i=!0;else if(13===r)i=!0,10===n.charCodeAt(f)&&(++f,++a);else if(r!==l)continue;return n.slice(t,f-a)}return n.slice(t)}for(var r,i,u={},o={},a=[],c=n.length,f=0,s=0;(r=e())!==o;){for(var h=[];r!==u&&r!==o;)h.push(r),r=e();t&&null==(h=t(h,s++))||a.push(h)}return a},e.format=function(t){if(Array.isArray(t[0]))return e.formatRows(t);var r=new y,i=[];return t.forEach(function(n){for(var t in n)r.has(t)||i.push(r.add(t))}),[i.map(o).join(n)].concat(t.map(function(t){return i.map(function(n){return o(t[n])}).join(n)})).join("\n")},e.formatRows=function(n){return n.map(u).join("\n")},e},ao.csv=ao.dsv(",","text/csv"),ao.tsv=ao.dsv(" ","text/tab-separated-values");var oa,aa,la,ca,fa=this[x(this,"requestAnimationFrame")]||function(n){setTimeout(n,17)};ao.timer=function(){qn.apply(this,arguments)},ao.timer.flush=function(){Rn(),Dn()},ao.round=function(n,t){return t?Math.round(n*(t=Math.pow(10,t)))/t:Math.round(n)};var sa=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"].map(Un);ao.formatPrefix=function(n,t){var e=0;return(n=+n)&&(0>n&&(n*=-1),t&&(n=ao.round(n,Pn(n,t))),e=1+Math.floor(1e-12+Math.log(n)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((e-1)/3)))),sa[8+e/3]};var ha=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,pa=ao.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,t){return(n=ao.round(n,Pn(n,t))).toFixed(Math.max(0,Math.min(20,Pn(n*(1+1e-15),t))))}}),ga=ao.time={},va=Date;Hn.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){da.setUTCDate.apply(this._,arguments)},setDay:function(){da.setUTCDay.apply(this._,arguments)},setFullYear:function(){da.setUTCFullYear.apply(this._,arguments)},setHours:function(){da.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){da.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){da.setUTCMinutes.apply(this._,arguments)},setMonth:function(){da.setUTCMonth.apply(this._,arguments)},setSeconds:function(){da.setUTCSeconds.apply(this._,arguments)},setTime:function(){da.setTime.apply(this._,arguments)}};var da=Date.prototype;ga.year=On(function(n){return n=ga.day(n),n.setMonth(0,1),n},function(n,t){n.setFullYear(n.getFullYear()+t)},function(n){return n.getFullYear()}),ga.years=ga.year.range,ga.years.utc=ga.year.utc.range,ga.day=On(function(n){var t=new va(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t},function(n,t){n.setDate(n.getDate()+t)},function(n){return n.getDate()-1}),ga.days=ga.day.range,ga.days.utc=ga.day.utc.range,ga.dayOfYear=function(n){var t=ga.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(n,t){t=7-t;var e=ga[n]=On(function(n){return(n=ga.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n},function(n,t){n.setDate(n.getDate()+7*Math.floor(t))},function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)-(e!==t)});ga[n+"s"]=e.range,ga[n+"s"].utc=e.utc.range,ga[n+"OfYear"]=function(n){var e=ga.year(n).getDay();return Math.floor((ga.dayOfYear(n)+(e+t)%7)/7)}}),ga.week=ga.sunday,ga.weeks=ga.sunday.range,ga.weeks.utc=ga.sunday.utc.range,ga.weekOfYear=ga.sundayOfYear;var ya={"-":"",_:" ",0:"0"},ma=/^\s*\d+/,Ma=/^%/;ao.locale=function(n){return{numberFormat:jn(n),timeFormat:Yn(n)}};var xa=ao.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"], +shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});ao.format=xa.numberFormat,ao.geo={},ft.prototype={s:0,t:0,add:function(n){st(n,this.t,ba),st(ba.s,this.s,this),this.s?this.t+=ba.t:this.s=ba.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var ba=new ft;ao.geo.stream=function(n,t){n&&_a.hasOwnProperty(n.type)?_a[n.type](n,t):ht(n,t)};var _a={Feature:function(n,t){ht(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,i=e.length;++rn?4*Fo+n:n,Na.lineStart=Na.lineEnd=Na.point=b}};ao.geo.bounds=function(){function n(n,t){M.push(x=[f=n,h=n]),s>t&&(s=t),t>p&&(p=t)}function t(t,e){var r=dt([t*Yo,e*Yo]);if(y){var i=mt(y,r),u=[i[1],-i[0],0],o=mt(u,i);bt(o),o=_t(o);var l=t-g,c=l>0?1:-1,v=o[0]*Zo*c,d=xo(l)>180;if(d^(v>c*g&&c*t>v)){var m=o[1]*Zo;m>p&&(p=m)}else if(v=(v+360)%360-180,d^(v>c*g&&c*t>v)){var m=-o[1]*Zo;s>m&&(s=m)}else s>e&&(s=e),e>p&&(p=e);d?g>t?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t):h>=f?(f>t&&(f=t),t>h&&(h=t)):t>g?a(f,t)>a(f,h)&&(h=t):a(t,h)>a(f,h)&&(f=t)}else n(t,e);y=r,g=t}function e(){b.point=t}function r(){x[0]=f,x[1]=h,b.point=n,y=null}function i(n,e){if(y){var r=n-g;m+=xo(r)>180?r+(r>0?360:-360):r}else v=n,d=e;Na.point(n,e),t(n,e)}function u(){Na.lineStart()}function o(){i(v,d),Na.lineEnd(),xo(m)>Uo&&(f=-(h=180)),x[0]=f,x[1]=h,y=null}function a(n,t){return(t-=n)<0?t+360:t}function l(n,t){return n[0]-t[0]}function c(n,t){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nka?(f=-(h=180),s=-(p=90)):m>Uo?p=90:-Uo>m&&(s=-90),x[0]=f,x[1]=h}};return function(n){p=h=-(f=s=1/0),M=[],ao.geo.stream(n,b);var t=M.length;if(t){M.sort(l);for(var e,r=1,i=M[0],u=[i];t>r;++r)e=M[r],c(e[0],i)||c(e[1],i)?(a(i[0],e[1])>a(i[0],i[1])&&(i[1]=e[1]),a(e[0],i[1])>a(i[0],i[1])&&(i[0]=e[0])):u.push(i=e);for(var o,e,g=-(1/0),t=u.length-1,r=0,i=u[t];t>=r;i=e,++r)e=u[r],(o=a(i[1],e[0]))>g&&(g=o,f=e[0],h=i[1])}return M=x=null,f===1/0||s===1/0?[[NaN,NaN],[NaN,NaN]]:[[f,s],[h,p]]}}(),ao.geo.centroid=function(n){Ea=Aa=Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,ja);var t=Da,e=Pa,r=Ua,i=t*t+e*e+r*r;return jo>i&&(t=qa,e=Ta,r=Ra,Uo>Aa&&(t=Ca,e=za,r=La),i=t*t+e*e+r*r,jo>i)?[NaN,NaN]:[Math.atan2(e,t)*Zo,tn(r/Math.sqrt(i))*Zo]};var Ea,Aa,Ca,za,La,qa,Ta,Ra,Da,Pa,Ua,ja={sphere:b,point:St,lineStart:Nt,lineEnd:Et,polygonStart:function(){ja.lineStart=At},polygonEnd:function(){ja.lineStart=Nt}},Fa=Rt(zt,jt,Ht,[-Fo,-Fo/2]),Ha=1e9;ao.geo.clipExtent=function(){var n,t,e,r,i,u,o={stream:function(n){return i&&(i.valid=!1),i=u(n),i.valid=!0,i},extent:function(a){return arguments.length?(u=Zt(n=+a[0][0],t=+a[0][1],e=+a[1][0],r=+a[1][1]),i&&(i.valid=!1,i=null),o):[[n,t],[e,r]]}};return o.extent([[0,0],[960,500]])},(ao.geo.conicEqualArea=function(){return Vt(Xt)}).raw=Xt,ao.geo.albers=function(){return ao.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},ao.geo.albersUsa=function(){function n(n){var u=n[0],o=n[1];return t=null,e(u,o),t||(r(u,o),t)||i(u,o),t}var t,e,r,i,u=ao.geo.albers(),o=ao.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=ao.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(n,e){t=[n,e]}};return n.invert=function(n){var t=u.scale(),e=u.translate(),r=(n[0]-e[0])/t,i=(n[1]-e[1])/t;return(i>=.12&&.234>i&&r>=-.425&&-.214>r?o:i>=.166&&.234>i&&r>=-.214&&-.115>r?a:u).invert(n)},n.stream=function(n){var t=u.stream(n),e=o.stream(n),r=a.stream(n);return{point:function(n,i){t.point(n,i),e.point(n,i),r.point(n,i)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},n.precision=function(t){return arguments.length?(u.precision(t),o.precision(t),a.precision(t),n):u.precision()},n.scale=function(t){return arguments.length?(u.scale(t),o.scale(.35*t),a.scale(t),n.translate(u.translate())):u.scale()},n.translate=function(t){if(!arguments.length)return u.translate();var c=u.scale(),f=+t[0],s=+t[1];return e=u.translate(t).clipExtent([[f-.455*c,s-.238*c],[f+.455*c,s+.238*c]]).stream(l).point,r=o.translate([f-.307*c,s+.201*c]).clipExtent([[f-.425*c+Uo,s+.12*c+Uo],[f-.214*c-Uo,s+.234*c-Uo]]).stream(l).point,i=a.translate([f-.205*c,s+.212*c]).clipExtent([[f-.214*c+Uo,s+.166*c+Uo],[f-.115*c-Uo,s+.234*c-Uo]]).stream(l).point,n},n.scale(1070)};var Oa,Ia,Ya,Za,Va,Xa,$a={point:b,lineStart:b,lineEnd:b,polygonStart:function(){Ia=0,$a.lineStart=$t},polygonEnd:function(){$a.lineStart=$a.lineEnd=$a.point=b,Oa+=xo(Ia/2)}},Ba={point:Bt,lineStart:b,lineEnd:b,polygonStart:b,polygonEnd:b},Wa={point:Gt,lineStart:Kt,lineEnd:Qt,polygonStart:function(){Wa.lineStart=ne},polygonEnd:function(){Wa.point=Gt,Wa.lineStart=Kt,Wa.lineEnd=Qt}};ao.geo.path=function(){function n(n){return n&&("function"==typeof a&&u.pointRadius(+a.apply(this,arguments)),o&&o.valid||(o=i(u)),ao.geo.stream(n,o)),u.result()}function t(){return o=null,n}var e,r,i,u,o,a=4.5;return n.area=function(n){return Oa=0,ao.geo.stream(n,i($a)),Oa},n.centroid=function(n){return Ca=za=La=qa=Ta=Ra=Da=Pa=Ua=0,ao.geo.stream(n,i(Wa)),Ua?[Da/Ua,Pa/Ua]:Ra?[qa/Ra,Ta/Ra]:La?[Ca/La,za/La]:[NaN,NaN]},n.bounds=function(n){return Va=Xa=-(Ya=Za=1/0),ao.geo.stream(n,i(Ba)),[[Ya,Za],[Va,Xa]]},n.projection=function(n){return arguments.length?(i=(e=n)?n.stream||re(n):m,t()):e},n.context=function(n){return arguments.length?(u=null==(r=n)?new Wt:new te(n),"function"!=typeof a&&u.pointRadius(a),t()):r},n.pointRadius=function(t){return arguments.length?(a="function"==typeof t?t:(u.pointRadius(+t),+t),n):a},n.projection(ao.geo.albersUsa()).context(null)},ao.geo.transform=function(n){return{stream:function(t){var e=new ie(t);for(var r in n)e[r]=n[r];return e}}},ie.prototype={point:function(n,t){this.stream.point(n,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},ao.geo.projection=oe,ao.geo.projectionMutator=ae,(ao.geo.equirectangular=function(){return oe(ce)}).raw=ce.invert=ce,ao.geo.rotation=function(n){function t(t){return t=n(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t}return n=se(n[0]%360*Yo,n[1]*Yo,n.length>2?n[2]*Yo:0),t.invert=function(t){return t=n.invert(t[0]*Yo,t[1]*Yo),t[0]*=Zo,t[1]*=Zo,t},t},fe.invert=ce,ao.geo.circle=function(){function n(){var n="function"==typeof r?r.apply(this,arguments):r,t=se(-n[0]*Yo,-n[1]*Yo,0).invert,i=[];return e(null,null,1,{point:function(n,e){i.push(n=t(n,e)),n[0]*=Zo,n[1]*=Zo}}),{type:"Polygon",coordinates:[i]}}var t,e,r=[0,0],i=6;return n.origin=function(t){return arguments.length?(r=t,n):r},n.angle=function(r){return arguments.length?(e=ve((t=+r)*Yo,i*Yo),n):t},n.precision=function(r){return arguments.length?(e=ve(t*Yo,(i=+r)*Yo),n):i},n.angle(90)},ao.geo.distance=function(n,t){var e,r=(t[0]-n[0])*Yo,i=n[1]*Yo,u=t[1]*Yo,o=Math.sin(r),a=Math.cos(r),l=Math.sin(i),c=Math.cos(i),f=Math.sin(u),s=Math.cos(u);return Math.atan2(Math.sqrt((e=s*o)*e+(e=c*f-l*s*a)*e),l*f+c*s*a)},ao.geo.graticule=function(){function n(){return{type:"MultiLineString",coordinates:t()}}function t(){return ao.range(Math.ceil(u/d)*d,i,d).map(h).concat(ao.range(Math.ceil(c/y)*y,l,y).map(p)).concat(ao.range(Math.ceil(r/g)*g,e,g).filter(function(n){return xo(n%d)>Uo}).map(f)).concat(ao.range(Math.ceil(a/v)*v,o,v).filter(function(n){return xo(n%y)>Uo}).map(s))}var e,r,i,u,o,a,l,c,f,s,h,p,g=10,v=g,d=90,y=360,m=2.5;return n.lines=function(){return t().map(function(n){return{type:"LineString",coordinates:n}})},n.outline=function(){return{type:"Polygon",coordinates:[h(u).concat(p(l).slice(1),h(i).reverse().slice(1),p(c).reverse().slice(1))]}},n.extent=function(t){return arguments.length?n.majorExtent(t).minorExtent(t):n.minorExtent()},n.majorExtent=function(t){return arguments.length?(u=+t[0][0],i=+t[1][0],c=+t[0][1],l=+t[1][1],u>i&&(t=u,u=i,i=t),c>l&&(t=c,c=l,l=t),n.precision(m)):[[u,c],[i,l]]},n.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],o=+t[1][1],r>e&&(t=r,r=e,e=t),a>o&&(t=a,a=o,o=t),n.precision(m)):[[r,a],[e,o]]},n.step=function(t){return arguments.length?n.majorStep(t).minorStep(t):n.minorStep()},n.majorStep=function(t){return arguments.length?(d=+t[0],y=+t[1],n):[d,y]},n.minorStep=function(t){return arguments.length?(g=+t[0],v=+t[1],n):[g,v]},n.precision=function(t){return arguments.length?(m=+t,f=ye(a,o,90),s=me(r,e,m),h=ye(c,l,90),p=me(u,i,m),n):m},n.majorExtent([[-180,-90+Uo],[180,90-Uo]]).minorExtent([[-180,-80-Uo],[180,80+Uo]])},ao.geo.greatArc=function(){function n(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),e||i.apply(this,arguments)]}}var t,e,r=Me,i=xe;return n.distance=function(){return ao.geo.distance(t||r.apply(this,arguments),e||i.apply(this,arguments))},n.source=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,n):r},n.target=function(t){return arguments.length?(i=t,e="function"==typeof t?null:t,n):i},n.precision=function(){return arguments.length?n:0},n},ao.geo.interpolate=function(n,t){return be(n[0]*Yo,n[1]*Yo,t[0]*Yo,t[1]*Yo)},ao.geo.length=function(n){return Ja=0,ao.geo.stream(n,Ga),Ja};var Ja,Ga={sphere:b,point:b,lineStart:_e,lineEnd:b,polygonStart:b,polygonEnd:b},Ka=we(function(n){return Math.sqrt(2/(1+n))},function(n){return 2*Math.asin(n/2)});(ao.geo.azimuthalEqualArea=function(){return oe(Ka)}).raw=Ka;var Qa=we(function(n){var t=Math.acos(n);return t&&t/Math.sin(t)},m);(ao.geo.azimuthalEquidistant=function(){return oe(Qa)}).raw=Qa,(ao.geo.conicConformal=function(){return Vt(Se)}).raw=Se,(ao.geo.conicEquidistant=function(){return Vt(ke)}).raw=ke;var nl=we(function(n){return 1/n},Math.atan);(ao.geo.gnomonic=function(){return oe(nl)}).raw=nl,Ne.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Io]},(ao.geo.mercator=function(){return Ee(Ne)}).raw=Ne;var tl=we(function(){return 1},Math.asin);(ao.geo.orthographic=function(){return oe(tl)}).raw=tl;var el=we(function(n){return 1/(1+n)},function(n){return 2*Math.atan(n)});(ao.geo.stereographic=function(){return oe(el)}).raw=el,Ae.invert=function(n,t){return[-t,2*Math.atan(Math.exp(n))-Io]},(ao.geo.transverseMercator=function(){var n=Ee(Ae),t=n.center,e=n.rotate;return n.center=function(n){return n?t([-n[1],n[0]]):(n=t(),[n[1],-n[0]])},n.rotate=function(n){return n?e([n[0],n[1],n.length>2?n[2]+90:90]):(n=e(),[n[0],n[1],n[2]-90])},e([0,0,90])}).raw=Ae,ao.geom={},ao.geom.hull=function(n){function t(n){if(n.length<3)return[];var t,i=En(e),u=En(r),o=n.length,a=[],l=[];for(t=0;o>t;t++)a.push([+i.call(this,n[t],t),+u.call(this,n[t],t),t]);for(a.sort(qe),t=0;o>t;t++)l.push([a[t][0],-a[t][1]]);var c=Le(a),f=Le(l),s=f[0]===c[0],h=f[f.length-1]===c[c.length-1],p=[];for(t=c.length-1;t>=0;--t)p.push(n[a[c[t]][2]]);for(t=+s;t=r&&c.x<=u&&c.y>=i&&c.y<=o?[[r,o],[u,o],[u,i],[r,i]]:[];f.point=n[a]}),t}function e(n){return n.map(function(n,t){return{x:Math.round(u(n,t)/Uo)*Uo,y:Math.round(o(n,t)/Uo)*Uo,i:t}})}var r=Ce,i=ze,u=r,o=i,a=sl;return n?t(n):(t.links=function(n){return ar(e(n)).edges.filter(function(n){return n.l&&n.r}).map(function(t){return{source:n[t.l.i],target:n[t.r.i]}})},t.triangles=function(n){var t=[];return ar(e(n)).cells.forEach(function(e,r){for(var i,u,o=e.site,a=e.edges.sort(Ve),l=-1,c=a.length,f=a[c-1].edge,s=f.l===o?f.r:f.l;++l=c,h=r>=f,p=h<<1|s;n.leaf=!1,n=n.nodes[p]||(n.nodes[p]=hr()),s?i=c:a=c,h?o=f:l=f,u(n,t,e,r,i,o,a,l)}var f,s,h,p,g,v,d,y,m,M=En(a),x=En(l);if(null!=t)v=t,d=e,y=r,m=i;else if(y=m=-(v=d=1/0),s=[],h=[],g=n.length,o)for(p=0;g>p;++p)f=n[p],f.xy&&(y=f.x),f.y>m&&(m=f.y),s.push(f.x),h.push(f.y);else for(p=0;g>p;++p){var b=+M(f=n[p],p),_=+x(f,p);v>b&&(v=b),d>_&&(d=_),b>y&&(y=b),_>m&&(m=_),s.push(b),h.push(_)}var w=y-v,S=m-d;w>S?m=d+w:y=v+S;var k=hr();if(k.add=function(n){u(k,n,+M(n,++p),+x(n,p),v,d,y,m)},k.visit=function(n){pr(n,k,v,d,y,m)},k.find=function(n){return gr(k,n[0],n[1],v,d,y,m)},p=-1,null==t){for(;++p=0?n.slice(0,t):n,r=t>=0?n.slice(t+1):"in";return e=vl.get(e)||gl,r=dl.get(r)||m,br(r(e.apply(null,lo.call(arguments,1))))},ao.interpolateHcl=Rr,ao.interpolateHsl=Dr,ao.interpolateLab=Pr,ao.interpolateRound=Ur,ao.transform=function(n){var t=fo.createElementNS(ao.ns.prefix.svg,"g");return(ao.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new jr(e?e.matrix:yl)})(n)},jr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var yl={a:1,b:0,c:0,d:1,e:0,f:0};ao.interpolateTransform=$r,ao.layout={},ao.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++ea*a/y){if(v>l){var c=t.charge/l;n.px-=u*c,n.py-=o*c}return!0}if(t.point&&l&&v>l){var c=t.pointCharge/l;n.px-=u*c,n.py-=o*c}}return!t.charge}}function t(n){n.px=ao.event.x,n.py=ao.event.y,l.resume()}var e,r,i,u,o,a,l={},c=ao.dispatch("start","tick","end"),f=[1,1],s=.9,h=ml,p=Ml,g=-30,v=xl,d=.1,y=.64,M=[],x=[];return l.tick=function(){if((i*=.99)<.005)return e=null,c.end({type:"end",alpha:i=0}),!0;var t,r,l,h,p,v,y,m,b,_=M.length,w=x.length;for(r=0;w>r;++r)l=x[r],h=l.source,p=l.target,m=p.x-h.x,b=p.y-h.y,(v=m*m+b*b)&&(v=i*o[r]*((v=Math.sqrt(v))-u[r])/v,m*=v,b*=v,p.x-=m*(y=h.weight+p.weight?h.weight/(h.weight+p.weight):.5),p.y-=b*y,h.x+=m*(y=1-y),h.y+=b*y);if((y=i*d)&&(m=f[0]/2,b=f[1]/2,r=-1,y))for(;++r<_;)l=M[r],l.x+=(m-l.x)*y,l.y+=(b-l.y)*y;if(g)for(ri(t=ao.geom.quadtree(M),i,a),r=-1;++r<_;)(l=M[r]).fixed||t.visit(n(l));for(r=-1;++r<_;)l=M[r],l.fixed?(l.x=l.px,l.y=l.py):(l.x-=(l.px-(l.px=l.x))*s,l.y-=(l.py-(l.py=l.y))*s);c.tick({type:"tick",alpha:i})},l.nodes=function(n){return arguments.length?(M=n,l):M},l.links=function(n){return arguments.length?(x=n,l):x},l.size=function(n){return arguments.length?(f=n,l):f},l.linkDistance=function(n){return arguments.length?(h="function"==typeof n?n:+n,l):h},l.distance=l.linkDistance,l.linkStrength=function(n){return arguments.length?(p="function"==typeof n?n:+n,l):p},l.friction=function(n){return arguments.length?(s=+n,l):s},l.charge=function(n){return arguments.length?(g="function"==typeof n?n:+n,l):g},l.chargeDistance=function(n){return arguments.length?(v=n*n,l):Math.sqrt(v)},l.gravity=function(n){return arguments.length?(d=+n,l):d},l.theta=function(n){return arguments.length?(y=n*n,l):Math.sqrt(y)},l.alpha=function(n){return arguments.length?(n=+n,i?n>0?i=n:(e.c=null,e.t=NaN,e=null,c.end({type:"end",alpha:i=0})):n>0&&(c.start({type:"start",alpha:i=n}),e=qn(l.tick)),l):i},l.start=function(){function n(n,r){if(!e){for(e=new Array(i),l=0;i>l;++l)e[l]=[];for(l=0;c>l;++l){var u=x[l];e[u.source.index].push(u.target),e[u.target.index].push(u.source)}}for(var o,a=e[t],l=-1,f=a.length;++lt;++t)(r=M[t]).index=t,r.weight=0;for(t=0;c>t;++t)r=x[t],"number"==typeof r.source&&(r.source=M[r.source]),"number"==typeof r.target&&(r.target=M[r.target]),++r.source.weight,++r.target.weight;for(t=0;i>t;++t)r=M[t],isNaN(r.x)&&(r.x=n("x",s)),isNaN(r.y)&&(r.y=n("y",v)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(u=[],"function"==typeof h)for(t=0;c>t;++t)u[t]=+h.call(this,x[t],t);else for(t=0;c>t;++t)u[t]=h;if(o=[],"function"==typeof p)for(t=0;c>t;++t)o[t]=+p.call(this,x[t],t);else for(t=0;c>t;++t)o[t]=p;if(a=[],"function"==typeof g)for(t=0;i>t;++t)a[t]=+g.call(this,M[t],t);else for(t=0;i>t;++t)a[t]=g;return l.resume()},l.resume=function(){return l.alpha(.1)},l.stop=function(){return l.alpha(0)},l.drag=function(){return r||(r=ao.behavior.drag().origin(m).on("dragstart.force",Qr).on("drag.force",t).on("dragend.force",ni)),arguments.length?void this.on("mouseover.force",ti).on("mouseout.force",ei).call(r):r},ao.rebind(l,c,"on")};var ml=20,Ml=1,xl=1/0;ao.layout.hierarchy=function(){function n(i){var u,o=[i],a=[];for(i.depth=0;null!=(u=o.pop());)if(a.push(u),(c=e.call(n,u,u.depth))&&(l=c.length)){for(var l,c,f;--l>=0;)o.push(f=c[l]),f.parent=u,f.depth=u.depth+1;r&&(u.value=0),u.children=c}else r&&(u.value=+r.call(n,u,u.depth)||0),delete u.children;return oi(i,function(n){var e,i;t&&(e=n.children)&&e.sort(t),r&&(i=n.parent)&&(i.value+=n.value)}),a}var t=ci,e=ai,r=li;return n.sort=function(e){return arguments.length?(t=e,n):t},n.children=function(t){return arguments.length?(e=t,n):e},n.value=function(t){return arguments.length?(r=t,n):r},n.revalue=function(t){return r&&(ui(t,function(n){n.children&&(n.value=0)}),oi(t,function(t){var e;t.children||(t.value=+r.call(n,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)})),t},n},ao.layout.partition=function(){function n(t,e,r,i){var u=t.children;if(t.x=e,t.y=t.depth*i,t.dx=r,t.dy=i,u&&(o=u.length)){var o,a,l,c=-1;for(r=t.value?r/t.value:0;++cs?-1:1),g=ao.sum(c),v=g?(s-l*p)/g:0,d=ao.range(l),y=[];return null!=e&&d.sort(e===bl?function(n,t){return c[t]-c[n]}:function(n,t){return e(o[n],o[t])}),d.forEach(function(n){y[n]={data:o[n],value:a=c[n],startAngle:f,endAngle:f+=a*v+p,padAngle:h}}),y}var t=Number,e=bl,r=0,i=Ho,u=0;return n.value=function(e){return arguments.length?(t=e,n):t},n.sort=function(t){return arguments.length?(e=t,n):e},n.startAngle=function(t){return arguments.length?(r=t,n):r},n.endAngle=function(t){return arguments.length?(i=t,n):i},n.padAngle=function(t){return arguments.length?(u=t,n):u},n};var bl={};ao.layout.stack=function(){function n(a,l){if(!(h=a.length))return a;var c=a.map(function(e,r){return t.call(n,e,r)}),f=c.map(function(t){return t.map(function(t,e){return[u.call(n,t,e),o.call(n,t,e)]})}),s=e.call(n,f,l);c=ao.permute(c,s),f=ao.permute(f,s);var h,p,g,v,d=r.call(n,f,l),y=c[0].length;for(g=0;y>g;++g)for(i.call(n,c[0][g],v=d[g],f[0][g][1]),p=1;h>p;++p)i.call(n,c[p][g],v+=f[p-1][g][1],f[p][g][1]);return a}var t=m,e=gi,r=vi,i=pi,u=si,o=hi;return n.values=function(e){return arguments.length?(t=e,n):t},n.order=function(t){return arguments.length?(e="function"==typeof t?t:_l.get(t)||gi,n):e},n.offset=function(t){return arguments.length?(r="function"==typeof t?t:wl.get(t)||vi,n):r},n.x=function(t){return arguments.length?(u=t,n):u},n.y=function(t){return arguments.length?(o=t,n):o},n.out=function(t){return arguments.length?(i=t,n):i},n};var _l=ao.map({"inside-out":function(n){var t,e,r=n.length,i=n.map(di),u=n.map(yi),o=ao.range(r).sort(function(n,t){return i[n]-i[t]}),a=0,l=0,c=[],f=[];for(t=0;r>t;++t)e=o[t],l>a?(a+=u[e],c.push(e)):(l+=u[e],f.push(e));return f.reverse().concat(c)},reverse:function(n){return ao.range(n.length).reverse()},"default":gi}),wl=ao.map({silhouette:function(n){var t,e,r,i=n.length,u=n[0].length,o=[],a=0,l=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];r>a&&(a=r),o.push(r)}for(e=0;u>e;++e)l[e]=(a-o[e])/2;return l},wiggle:function(n){var t,e,r,i,u,o,a,l,c,f=n.length,s=n[0],h=s.length,p=[];for(p[0]=l=c=0,e=1;h>e;++e){for(t=0,i=0;f>t;++t)i+=n[t][e][1];for(t=0,u=0,a=s[e][0]-s[e-1][0];f>t;++t){for(r=0,o=(n[t][e][1]-n[t][e-1][1])/(2*a);t>r;++r)o+=(n[r][e][1]-n[r][e-1][1])/a;u+=o*n[t][e][1]}p[e]=l-=i?u/i*a:0,c>l&&(c=l)}for(e=0;h>e;++e)p[e]-=c;return p},expand:function(n){var t,e,r,i=n.length,u=n[0].length,o=1/i,a=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];if(r)for(t=0;i>t;t++)n[t][e][1]/=r;else for(t=0;i>t;t++)n[t][e][1]=o}for(e=0;u>e;++e)a[e]=0;return a},zero:vi});ao.layout.histogram=function(){function n(n,u){for(var o,a,l=[],c=n.map(e,this),f=r.call(this,c,u),s=i.call(this,f,c,u),u=-1,h=c.length,p=s.length-1,g=t?1:1/h;++u0)for(u=-1;++u=f[0]&&a<=f[1]&&(o=l[ao.bisect(s,a,1,p)-1],o.y+=g,o.push(n[u]));return l}var t=!0,e=Number,r=bi,i=Mi;return n.value=function(t){return arguments.length?(e=t,n):e},n.range=function(t){return arguments.length?(r=En(t),n):r},n.bins=function(t){return arguments.length?(i="number"==typeof t?function(n){return xi(n,t)}:En(t),n):i},n.frequency=function(e){return arguments.length?(t=!!e,n):t},n},ao.layout.pack=function(){function n(n,u){var o=e.call(this,n,u),a=o[0],l=i[0],c=i[1],f=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(a.x=a.y=0,oi(a,function(n){n.r=+f(n.value)}),oi(a,Ni),r){var s=r*(t?1:Math.max(2*a.r/l,2*a.r/c))/2;oi(a,function(n){n.r+=s}),oi(a,Ni),oi(a,function(n){n.r-=s})}return Ci(a,l/2,c/2,t?1:1/Math.max(2*a.r/l,2*a.r/c)),o}var t,e=ao.layout.hierarchy().sort(_i),r=0,i=[1,1];return n.size=function(t){return arguments.length?(i=t,n):i},n.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,n):t},n.padding=function(t){return arguments.length?(r=+t,n):r},ii(n,e)},ao.layout.tree=function(){function n(n,i){var f=o.call(this,n,i),s=f[0],h=t(s);if(oi(h,e),h.parent.m=-h.z,ui(h,r),c)ui(s,u);else{var p=s,g=s,v=s;ui(s,function(n){n.xg.x&&(g=n),n.depth>v.depth&&(v=n)});var d=a(p,g)/2-p.x,y=l[0]/(g.x+a(g,p)/2+d),m=l[1]/(v.depth||1);ui(s,function(n){n.x=(n.x+d)*y,n.y=n.depth*m})}return f}function t(n){for(var t,e={A:null,children:[n]},r=[e];null!=(t=r.pop());)for(var i,u=t.children,o=0,a=u.length;a>o;++o)r.push((u[o]=i={_:u[o],parent:t,children:(i=u[o].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=i);return e.children[0]}function e(n){var t=n.children,e=n.parent.children,r=n.i?e[n.i-1]:null;if(t.length){Di(n);var u=(t[0].z+t[t.length-1].z)/2;r?(n.z=r.z+a(n._,r._),n.m=n.z-u):n.z=u}else r&&(n.z=r.z+a(n._,r._));n.parent.A=i(n,r,n.parent.A||e[0])}function r(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function i(n,t,e){if(t){for(var r,i=n,u=n,o=t,l=i.parent.children[0],c=i.m,f=u.m,s=o.m,h=l.m;o=Ti(o),i=qi(i),o&&i;)l=qi(l),u=Ti(u),u.a=n,r=o.z+s-i.z-c+a(o._,i._),r>0&&(Ri(Pi(o,n,e),n,r),c+=r,f+=r),s+=o.m,c+=i.m,h+=l.m,f+=u.m;o&&!Ti(u)&&(u.t=o,u.m+=s-f),i&&!qi(l)&&(l.t=i,l.m+=c-h,e=n)}return e}function u(n){n.x*=l[0],n.y=n.depth*l[1]}var o=ao.layout.hierarchy().sort(null).value(null),a=Li,l=[1,1],c=null;return n.separation=function(t){return arguments.length?(a=t,n):a},n.size=function(t){return arguments.length?(c=null==(l=t)?u:null,n):c?null:l},n.nodeSize=function(t){return arguments.length?(c=null==(l=t)?null:u,n):c?l:null},ii(n,o)},ao.layout.cluster=function(){function n(n,u){var o,a=t.call(this,n,u),l=a[0],c=0;oi(l,function(n){var t=n.children;t&&t.length?(n.x=ji(t),n.y=Ui(t)):(n.x=o?c+=e(n,o):0,n.y=0,o=n)});var f=Fi(l),s=Hi(l),h=f.x-e(f,s)/2,p=s.x+e(s,f)/2;return oi(l,i?function(n){n.x=(n.x-l.x)*r[0],n.y=(l.y-n.y)*r[1]}:function(n){n.x=(n.x-h)/(p-h)*r[0],n.y=(1-(l.y?n.y/l.y:1))*r[1]}),a}var t=ao.layout.hierarchy().sort(null).value(null),e=Li,r=[1,1],i=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(i=null==(r=t),n):i?null:r},n.nodeSize=function(t){return arguments.length?(i=null!=(r=t),n):i?r:null},ii(n,t)},ao.layout.treemap=function(){function n(n,t){for(var e,r,i=-1,u=n.length;++it?0:t),e.area=isNaN(r)||0>=r?0:r}function t(e){var u=e.children;if(u&&u.length){var o,a,l,c=s(e),f=[],h=u.slice(),g=1/0,v="slice"===p?c.dx:"dice"===p?c.dy:"slice-dice"===p?1&e.depth?c.dy:c.dx:Math.min(c.dx,c.dy);for(n(h,c.dx*c.dy/e.value),f.area=0;(l=h.length)>0;)f.push(o=h[l-1]),f.area+=o.area,"squarify"!==p||(a=r(f,v))<=g?(h.pop(),g=a):(f.area-=f.pop().area,i(f,v,c,!1),v=Math.min(c.dx,c.dy),f.length=f.area=0,g=1/0);f.length&&(i(f,v,c,!0),f.length=f.area=0),u.forEach(t)}}function e(t){var r=t.children;if(r&&r.length){var u,o=s(t),a=r.slice(),l=[];for(n(a,o.dx*o.dy/t.value),l.area=0;u=a.pop();)l.push(u),l.area+=u.area,null!=u.z&&(i(l,u.z?o.dx:o.dy,o,!a.length),l.length=l.area=0);r.forEach(e)}}function r(n,t){for(var e,r=n.area,i=0,u=1/0,o=-1,a=n.length;++oe&&(u=e),e>i&&(i=e));return r*=r,t*=t,r?Math.max(t*i*g/r,r/(t*u*g)):1/0}function i(n,t,e,r){var i,u=-1,o=n.length,a=e.x,c=e.y,f=t?l(n.area/t):0; +if(t==e.dx){for((r||f>e.dy)&&(f=e.dy);++ue.dx)&&(f=e.dx);++ue&&(t=1),1>e&&(n=0),function(){var e,r,i;do e=2*Math.random()-1,r=2*Math.random()-1,i=e*e+r*r;while(!i||i>1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var n=ao.random.normal.apply(ao,arguments);return function(){return Math.exp(n())}},bates:function(n){var t=ao.random.irwinHall(n);return function(){return t()/n}},irwinHall:function(n){return function(){for(var t=0,e=0;n>e;e++)t+=Math.random();return t}}},ao.scale={};var Sl={floor:m,ceil:m};ao.scale.linear=function(){return Wi([0,1],[0,1],Mr,!1)};var kl={s:1,g:1,p:1,r:1,e:1};ao.scale.log=function(){return ru(ao.scale.linear().domain([0,1]),10,!0,[1,10])};var Nl=ao.format(".0e"),El={floor:function(n){return-Math.ceil(-n)},ceil:function(n){return-Math.floor(-n)}};ao.scale.pow=function(){return iu(ao.scale.linear(),1,[0,1])},ao.scale.sqrt=function(){return ao.scale.pow().exponent(.5)},ao.scale.ordinal=function(){return ou([],{t:"range",a:[[]]})},ao.scale.category10=function(){return ao.scale.ordinal().range(Al)},ao.scale.category20=function(){return ao.scale.ordinal().range(Cl)},ao.scale.category20b=function(){return ao.scale.ordinal().range(zl)},ao.scale.category20c=function(){return ao.scale.ordinal().range(Ll)};var Al=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(xn),Cl=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(xn),zl=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(xn),Ll=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(xn);ao.scale.quantile=function(){return au([],[])},ao.scale.quantize=function(){return lu(0,1,[0,1])},ao.scale.threshold=function(){return cu([.5],[0,1])},ao.scale.identity=function(){return fu([0,1])},ao.svg={},ao.svg.arc=function(){function n(){var n=Math.max(0,+e.apply(this,arguments)),c=Math.max(0,+r.apply(this,arguments)),f=o.apply(this,arguments)-Io,s=a.apply(this,arguments)-Io,h=Math.abs(s-f),p=f>s?0:1;if(n>c&&(g=c,c=n,n=g),h>=Oo)return t(c,p)+(n?t(n,1-p):"")+"Z";var g,v,d,y,m,M,x,b,_,w,S,k,N=0,E=0,A=[];if((y=(+l.apply(this,arguments)||0)/2)&&(d=u===ql?Math.sqrt(n*n+c*c):+u.apply(this,arguments),p||(E*=-1),c&&(E=tn(d/c*Math.sin(y))),n&&(N=tn(d/n*Math.sin(y)))),c){m=c*Math.cos(f+E),M=c*Math.sin(f+E),x=c*Math.cos(s-E),b=c*Math.sin(s-E);var C=Math.abs(s-f-2*E)<=Fo?0:1;if(E&&yu(m,M,x,b)===p^C){var z=(f+s)/2;m=c*Math.cos(z),M=c*Math.sin(z),x=b=null}}else m=M=0;if(n){_=n*Math.cos(s-N),w=n*Math.sin(s-N),S=n*Math.cos(f+N),k=n*Math.sin(f+N);var L=Math.abs(f-s+2*N)<=Fo?0:1;if(N&&yu(_,w,S,k)===1-p^L){var q=(f+s)/2;_=n*Math.cos(q),w=n*Math.sin(q),S=k=null}}else _=w=0;if(h>Uo&&(g=Math.min(Math.abs(c-n)/2,+i.apply(this,arguments)))>.001){v=c>n^p?0:1;var T=g,R=g;if(Fo>h){var D=null==S?[_,w]:null==x?[m,M]:Re([m,M],[S,k],[x,b],[_,w]),P=m-D[0],U=M-D[1],j=x-D[0],F=b-D[1],H=1/Math.sin(Math.acos((P*j+U*F)/(Math.sqrt(P*P+U*U)*Math.sqrt(j*j+F*F)))/2),O=Math.sqrt(D[0]*D[0]+D[1]*D[1]);R=Math.min(g,(n-O)/(H-1)),T=Math.min(g,(c-O)/(H+1))}if(null!=x){var I=mu(null==S?[_,w]:[S,k],[m,M],c,T,p),Y=mu([x,b],[_,w],c,T,p);g===T?A.push("M",I[0],"A",T,",",T," 0 0,",v," ",I[1],"A",c,",",c," 0 ",1-p^yu(I[1][0],I[1][1],Y[1][0],Y[1][1]),",",p," ",Y[1],"A",T,",",T," 0 0,",v," ",Y[0]):A.push("M",I[0],"A",T,",",T," 0 1,",v," ",Y[0])}else A.push("M",m,",",M);if(null!=S){var Z=mu([m,M],[S,k],n,-R,p),V=mu([_,w],null==x?[m,M]:[x,b],n,-R,p);g===R?A.push("L",V[0],"A",R,",",R," 0 0,",v," ",V[1],"A",n,",",n," 0 ",p^yu(V[1][0],V[1][1],Z[1][0],Z[1][1]),",",1-p," ",Z[1],"A",R,",",R," 0 0,",v," ",Z[0]):A.push("L",V[0],"A",R,",",R," 0 0,",v," ",Z[0])}else A.push("L",_,",",w)}else A.push("M",m,",",M),null!=x&&A.push("A",c,",",c," 0 ",C,",",p," ",x,",",b),A.push("L",_,",",w),null!=S&&A.push("A",n,",",n," 0 ",L,",",1-p," ",S,",",k);return A.push("Z"),A.join("")}function t(n,t){return"M0,"+n+"A"+n+","+n+" 0 1,"+t+" 0,"+-n+"A"+n+","+n+" 0 1,"+t+" 0,"+n}var e=hu,r=pu,i=su,u=ql,o=gu,a=vu,l=du;return n.innerRadius=function(t){return arguments.length?(e=En(t),n):e},n.outerRadius=function(t){return arguments.length?(r=En(t),n):r},n.cornerRadius=function(t){return arguments.length?(i=En(t),n):i},n.padRadius=function(t){return arguments.length?(u=t==ql?ql:En(t),n):u},n.startAngle=function(t){return arguments.length?(o=En(t),n):o},n.endAngle=function(t){return arguments.length?(a=En(t),n):a},n.padAngle=function(t){return arguments.length?(l=En(t),n):l},n.centroid=function(){var n=(+e.apply(this,arguments)+ +r.apply(this,arguments))/2,t=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-Io;return[Math.cos(t)*n,Math.sin(t)*n]},n};var ql="auto";ao.svg.line=function(){return Mu(m)};var Tl=ao.map({linear:xu,"linear-closed":bu,step:_u,"step-before":wu,"step-after":Su,basis:zu,"basis-open":Lu,"basis-closed":qu,bundle:Tu,cardinal:Eu,"cardinal-open":ku,"cardinal-closed":Nu,monotone:Fu});Tl.forEach(function(n,t){t.key=n,t.closed=/-closed$/.test(n)});var Rl=[0,2/3,1/3,0],Dl=[0,1/3,2/3,0],Pl=[0,1/6,2/3,1/6];ao.svg.line.radial=function(){var n=Mu(Hu);return n.radius=n.x,delete n.x,n.angle=n.y,delete n.y,n},wu.reverse=Su,Su.reverse=wu,ao.svg.area=function(){return Ou(m)},ao.svg.area.radial=function(){var n=Ou(Hu);return n.radius=n.x,delete n.x,n.innerRadius=n.x0,delete n.x0,n.outerRadius=n.x1,delete n.x1,n.angle=n.y,delete n.y,n.startAngle=n.y0,delete n.y0,n.endAngle=n.y1,delete n.y1,n},ao.svg.chord=function(){function n(n,a){var l=t(this,u,n,a),c=t(this,o,n,a);return"M"+l.p0+r(l.r,l.p1,l.a1-l.a0)+(e(l,c)?i(l.r,l.p1,l.r,l.p0):i(l.r,l.p1,c.r,c.p0)+r(c.r,c.p1,c.a1-c.a0)+i(c.r,c.p1,l.r,l.p0))+"Z"}function t(n,t,e,r){var i=t.call(n,e,r),u=a.call(n,i,r),o=l.call(n,i,r)-Io,f=c.call(n,i,r)-Io;return{r:u,a0:o,a1:f,p0:[u*Math.cos(o),u*Math.sin(o)],p1:[u*Math.cos(f),u*Math.sin(f)]}}function e(n,t){return n.a0==t.a0&&n.a1==t.a1}function r(n,t,e){return"A"+n+","+n+" 0 "+ +(e>Fo)+",1 "+t}function i(n,t,e,r){return"Q 0,0 "+r}var u=Me,o=xe,a=Iu,l=gu,c=vu;return n.radius=function(t){return arguments.length?(a=En(t),n):a},n.source=function(t){return arguments.length?(u=En(t),n):u},n.target=function(t){return arguments.length?(o=En(t),n):o},n.startAngle=function(t){return arguments.length?(l=En(t),n):l},n.endAngle=function(t){return arguments.length?(c=En(t),n):c},n},ao.svg.diagonal=function(){function n(n,i){var u=t.call(this,n,i),o=e.call(this,n,i),a=(u.y+o.y)/2,l=[u,{x:u.x,y:a},{x:o.x,y:a},o];return l=l.map(r),"M"+l[0]+"C"+l[1]+" "+l[2]+" "+l[3]}var t=Me,e=xe,r=Yu;return n.source=function(e){return arguments.length?(t=En(e),n):t},n.target=function(t){return arguments.length?(e=En(t),n):e},n.projection=function(t){return arguments.length?(r=t,n):r},n},ao.svg.diagonal.radial=function(){var n=ao.svg.diagonal(),t=Yu,e=n.projection;return n.projection=function(n){return arguments.length?e(Zu(t=n)):t},n},ao.svg.symbol=function(){function n(n,r){return(Ul.get(t.call(this,n,r))||$u)(e.call(this,n,r))}var t=Xu,e=Vu;return n.type=function(e){return arguments.length?(t=En(e),n):t},n.size=function(t){return arguments.length?(e=En(t),n):e},n};var Ul=ao.map({circle:$u,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*Fl)),e=t*Fl;return"M0,"+-t+"L"+e+",0 0,"+t+" "+-e+",0Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/jl),e=t*jl/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}});ao.svg.symbolTypes=Ul.keys();var jl=Math.sqrt(3),Fl=Math.tan(30*Yo);Co.transition=function(n){for(var t,e,r=Hl||++Zl,i=Ku(n),u=[],o=Ol||{time:Date.now(),ease:Nr,delay:0,duration:250},a=-1,l=this.length;++au;u++){i.push(t=[]);for(var e=this[u],a=0,l=e.length;l>a;a++)(r=e[a])&&n.call(r,r.__data__,a,u)&&t.push(r)}return Wu(i,this.namespace,this.id)},Yl.tween=function(n,t){var e=this.id,r=this.namespace;return arguments.length<2?this.node()[r][e].tween.get(n):Y(this,null==t?function(t){t[r][e].tween.remove(n)}:function(i){i[r][e].tween.set(n,t)})},Yl.attr=function(n,t){function e(){this.removeAttribute(a)}function r(){this.removeAttributeNS(a.space,a.local)}function i(n){return null==n?e:(n+="",function(){var t,e=this.getAttribute(a);return e!==n&&(t=o(e,n),function(n){this.setAttribute(a,t(n))})})}function u(n){return null==n?r:(n+="",function(){var t,e=this.getAttributeNS(a.space,a.local);return e!==n&&(t=o(e,n),function(n){this.setAttributeNS(a.space,a.local,t(n))})})}if(arguments.length<2){for(t in n)this.attr(t,n[t]);return this}var o="transform"==n?$r:Mr,a=ao.ns.qualify(n);return Ju(this,"attr."+n,t,a.local?u:i)},Yl.attrTween=function(n,t){function e(n,e){var r=t.call(this,n,e,this.getAttribute(i));return r&&function(n){this.setAttribute(i,r(n))}}function r(n,e){var r=t.call(this,n,e,this.getAttributeNS(i.space,i.local));return r&&function(n){this.setAttributeNS(i.space,i.local,r(n))}}var i=ao.ns.qualify(n);return this.tween("attr."+n,i.local?r:e)},Yl.style=function(n,e,r){function i(){this.style.removeProperty(n)}function u(e){return null==e?i:(e+="",function(){var i,u=t(this).getComputedStyle(this,null).getPropertyValue(n);return u!==e&&(i=Mr(u,e),function(t){this.style.setProperty(n,i(t),r)})})}var o=arguments.length;if(3>o){if("string"!=typeof n){2>o&&(e="");for(r in n)this.style(r,n[r],e);return this}r=""}return Ju(this,"style."+n,e,u)},Yl.styleTween=function(n,e,r){function i(i,u){var o=e.call(this,i,u,t(this).getComputedStyle(this,null).getPropertyValue(n));return o&&function(t){this.style.setProperty(n,o(t),r)}}return arguments.length<3&&(r=""),this.tween("style."+n,i)},Yl.text=function(n){return Ju(this,"text",n,Gu)},Yl.remove=function(){var n=this.namespace;return this.each("end.transition",function(){var t;this[n].count<2&&(t=this.parentNode)&&t.removeChild(this)})},Yl.ease=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].ease:("function"!=typeof n&&(n=ao.ease.apply(ao,arguments)),Y(this,function(r){r[e][t].ease=n}))},Yl.delay=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].delay:Y(this,"function"==typeof n?function(r,i,u){r[e][t].delay=+n.call(r,r.__data__,i,u)}:(n=+n,function(r){r[e][t].delay=n}))},Yl.duration=function(n){var t=this.id,e=this.namespace;return arguments.length<1?this.node()[e][t].duration:Y(this,"function"==typeof n?function(r,i,u){r[e][t].duration=Math.max(1,n.call(r,r.__data__,i,u))}:(n=Math.max(1,n),function(r){r[e][t].duration=n}))},Yl.each=function(n,t){var e=this.id,r=this.namespace;if(arguments.length<2){var i=Ol,u=Hl;try{Hl=e,Y(this,function(t,i,u){Ol=t[r][e],n.call(t,t.__data__,i,u)})}finally{Ol=i,Hl=u}}else Y(this,function(i){var u=i[r][e];(u.event||(u.event=ao.dispatch("start","end","interrupt"))).on(n,t)});return this},Yl.transition=function(){for(var n,t,e,r,i=this.id,u=++Zl,o=this.namespace,a=[],l=0,c=this.length;c>l;l++){a.push(n=[]);for(var t=this[l],f=0,s=t.length;s>f;f++)(e=t[f])&&(r=e[o][i],Qu(e,f,o,u,{time:r.time,ease:r.ease,delay:r.delay+r.duration,duration:r.duration})),n.push(e)}return Wu(a,o,u)},ao.svg.axis=function(){function n(n){n.each(function(){var n,c=ao.select(this),f=this.__chart__||e,s=this.__chart__=e.copy(),h=null==l?s.ticks?s.ticks.apply(s,a):s.domain():l,p=null==t?s.tickFormat?s.tickFormat.apply(s,a):m:t,g=c.selectAll(".tick").data(h,s),v=g.enter().insert("g",".domain").attr("class","tick").style("opacity",Uo),d=ao.transition(g.exit()).style("opacity",Uo).remove(),y=ao.transition(g.order()).style("opacity",1),M=Math.max(i,0)+o,x=Zi(s),b=c.selectAll(".domain").data([0]),_=(b.enter().append("path").attr("class","domain"),ao.transition(b));v.append("line"),v.append("text");var w,S,k,N,E=v.select("line"),A=y.select("line"),C=g.select("text").text(p),z=v.select("text"),L=y.select("text"),q="top"===r||"left"===r?-1:1;if("bottom"===r||"top"===r?(n=no,w="x",k="y",S="x2",N="y2",C.attr("dy",0>q?"0em":".71em").style("text-anchor","middle"),_.attr("d","M"+x[0]+","+q*u+"V0H"+x[1]+"V"+q*u)):(n=to,w="y",k="x",S="y2",N="x2",C.attr("dy",".32em").style("text-anchor",0>q?"end":"start"),_.attr("d","M"+q*u+","+x[0]+"H0V"+x[1]+"H"+q*u)),E.attr(N,q*i),z.attr(k,q*M),A.attr(S,0).attr(N,q*i),L.attr(w,0).attr(k,q*M),s.rangeBand){var T=s,R=T.rangeBand()/2;f=s=function(n){return T(n)+R}}else f.rangeBand?f=s:d.call(n,s,f);v.call(n,f,s),y.call(n,s,s)})}var t,e=ao.scale.linear(),r=Vl,i=6,u=6,o=3,a=[10],l=null;return n.scale=function(t){return arguments.length?(e=t,n):e},n.orient=function(t){return arguments.length?(r=t in Xl?t+"":Vl,n):r},n.ticks=function(){return arguments.length?(a=co(arguments),n):a},n.tickValues=function(t){return arguments.length?(l=t,n):l},n.tickFormat=function(e){return arguments.length?(t=e,n):t},n.tickSize=function(t){var e=arguments.length;return e?(i=+t,u=+arguments[e-1],n):i},n.innerTickSize=function(t){return arguments.length?(i=+t,n):i},n.outerTickSize=function(t){return arguments.length?(u=+t,n):u},n.tickPadding=function(t){return arguments.length?(o=+t,n):o},n.tickSubdivide=function(){return arguments.length&&n},n};var Vl="bottom",Xl={top:1,right:1,bottom:1,left:1};ao.svg.brush=function(){function n(t){t.each(function(){var t=ao.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",u).on("touchstart.brush",u),o=t.selectAll(".background").data([0]);o.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),t.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var a=t.selectAll(".resize").data(v,m);a.exit().remove(),a.enter().append("g").attr("class",function(n){return"resize "+n}).style("cursor",function(n){return $l[n]}).append("rect").attr("x",function(n){return/[ew]$/.test(n)?-3:null}).attr("y",function(n){return/^[ns]/.test(n)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),a.style("display",n.empty()?"none":null);var l,s=ao.transition(t),h=ao.transition(o);c&&(l=Zi(c),h.attr("x",l[0]).attr("width",l[1]-l[0]),r(s)),f&&(l=Zi(f),h.attr("y",l[0]).attr("height",l[1]-l[0]),i(s)),e(s)})}function e(n){n.selectAll(".resize").attr("transform",function(n){return"translate("+s[+/e$/.test(n)]+","+h[+/^s/.test(n)]+")"})}function r(n){n.select(".extent").attr("x",s[0]),n.selectAll(".extent,.n>rect,.s>rect").attr("width",s[1]-s[0])}function i(n){n.select(".extent").attr("y",h[0]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",h[1]-h[0])}function u(){function u(){32==ao.event.keyCode&&(C||(M=null,L[0]-=s[1],L[1]-=h[1],C=2),S())}function v(){32==ao.event.keyCode&&2==C&&(L[0]+=s[1],L[1]+=h[1],C=0,S())}function d(){var n=ao.mouse(b),t=!1;x&&(n[0]+=x[0],n[1]+=x[1]),C||(ao.event.altKey?(M||(M=[(s[0]+s[1])/2,(h[0]+h[1])/2]),L[0]=s[+(n[0]f?(i=r,r=f):i=f),v[0]!=r||v[1]!=i?(e?a=null:o=null,v[0]=r,v[1]=i,!0):void 0}function m(){d(),k.style("pointer-events","all").selectAll(".resize").style("display",n.empty()?"none":null),ao.select("body").style("cursor",null),q.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),z(),w({type:"brushend"})}var M,x,b=this,_=ao.select(ao.event.target),w=l.of(b,arguments),k=ao.select(b),N=_.datum(),E=!/^(n|s)$/.test(N)&&c,A=!/^(e|w)$/.test(N)&&f,C=_.classed("extent"),z=W(b),L=ao.mouse(b),q=ao.select(t(b)).on("keydown.brush",u).on("keyup.brush",v);if(ao.event.changedTouches?q.on("touchmove.brush",d).on("touchend.brush",m):q.on("mousemove.brush",d).on("mouseup.brush",m),k.interrupt().selectAll("*").interrupt(),C)L[0]=s[0]-L[0],L[1]=h[0]-L[1];else if(N){var T=+/w$/.test(N),R=+/^n/.test(N);x=[s[1-T]-L[0],h[1-R]-L[1]],L[0]=s[T],L[1]=h[R]}else ao.event.altKey&&(M=L.slice());k.style("pointer-events","none").selectAll(".resize").style("display",null),ao.select("body").style("cursor",_.style("cursor")),w({type:"brushstart"}),d()}var o,a,l=N(n,"brushstart","brush","brushend"),c=null,f=null,s=[0,0],h=[0,0],p=!0,g=!0,v=Bl[0];return n.event=function(n){n.each(function(){var n=l.of(this,arguments),t={x:s,y:h,i:o,j:a},e=this.__chart__||t;this.__chart__=t,Hl?ao.select(this).transition().each("start.brush",function(){o=e.i,a=e.j,s=e.x,h=e.y,n({type:"brushstart"})}).tween("brush:brush",function(){var e=xr(s,t.x),r=xr(h,t.y);return o=a=null,function(i){s=t.x=e(i),h=t.y=r(i),n({type:"brush",mode:"resize"})}}).each("end.brush",function(){o=t.i,a=t.j,n({type:"brush",mode:"resize"}),n({type:"brushend"})}):(n({type:"brushstart"}),n({type:"brush",mode:"resize"}),n({type:"brushend"}))})},n.x=function(t){return arguments.length?(c=t,v=Bl[!c<<1|!f],n):c},n.y=function(t){return arguments.length?(f=t,v=Bl[!c<<1|!f],n):f},n.clamp=function(t){return arguments.length?(c&&f?(p=!!t[0],g=!!t[1]):c?p=!!t:f&&(g=!!t),n):c&&f?[p,g]:c?p:f?g:null},n.extent=function(t){var e,r,i,u,l;return arguments.length?(c&&(e=t[0],r=t[1],f&&(e=e[0],r=r[0]),o=[e,r],c.invert&&(e=c(e),r=c(r)),e>r&&(l=e,e=r,r=l),e==s[0]&&r==s[1]||(s=[e,r])),f&&(i=t[0],u=t[1],c&&(i=i[1],u=u[1]),a=[i,u],f.invert&&(i=f(i),u=f(u)),i>u&&(l=i,i=u,u=l),i==h[0]&&u==h[1]||(h=[i,u])),n):(c&&(o?(e=o[0],r=o[1]):(e=s[0],r=s[1],c.invert&&(e=c.invert(e),r=c.invert(r)),e>r&&(l=e,e=r,r=l))),f&&(a?(i=a[0],u=a[1]):(i=h[0],u=h[1],f.invert&&(i=f.invert(i),u=f.invert(u)),i>u&&(l=i,i=u,u=l))),c&&f?[[e,i],[r,u]]:c?[e,r]:f&&[i,u])},n.clear=function(){return n.empty()||(s=[0,0],h=[0,0],o=a=null),n},n.empty=function(){return!!c&&s[0]==s[1]||!!f&&h[0]==h[1]},ao.rebind(n,l,"on")};var $l={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Bl=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Wl=ga.format=xa.timeFormat,Jl=Wl.utc,Gl=Jl("%Y-%m-%dT%H:%M:%S.%LZ");Wl.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?eo:Gl,eo.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},eo.toString=Gl.toString,ga.second=On(function(n){return new va(1e3*Math.floor(n/1e3))},function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))},function(n){return n.getSeconds()}),ga.seconds=ga.second.range,ga.seconds.utc=ga.second.utc.range,ga.minute=On(function(n){return new va(6e4*Math.floor(n/6e4))},function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))},function(n){return n.getMinutes()}),ga.minutes=ga.minute.range,ga.minutes.utc=ga.minute.utc.range,ga.hour=On(function(n){var t=n.getTimezoneOffset()/60;return new va(36e5*(Math.floor(n/36e5-t)+t))},function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))},function(n){return n.getHours()}),ga.hours=ga.hour.range,ga.hours.utc=ga.hour.utc.range,ga.month=On(function(n){return n=ga.day(n),n.setDate(1),n},function(n,t){n.setMonth(n.getMonth()+t)},function(n){return n.getMonth()}),ga.months=ga.month.range,ga.months.utc=ga.month.utc.range;var Kl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Ql=[[ga.second,1],[ga.second,5],[ga.second,15],[ga.second,30],[ga.minute,1],[ga.minute,5],[ga.minute,15],[ga.minute,30],[ga.hour,1],[ga.hour,3],[ga.hour,6],[ga.hour,12],[ga.day,1],[ga.day,2],[ga.week,1],[ga.month,1],[ga.month,3],[ga.year,1]],nc=Wl.multi([[".%L",function(n){return n.getMilliseconds()}],[":%S",function(n){return n.getSeconds()}],["%I:%M",function(n){return n.getMinutes()}],["%I %p",function(n){return n.getHours()}],["%a %d",function(n){return n.getDay()&&1!=n.getDate()}],["%b %d",function(n){return 1!=n.getDate()}],["%B",function(n){return n.getMonth()}],["%Y",zt]]),tc={range:function(n,t,e){return ao.range(Math.ceil(n/e)*e,+t,e).map(io)},floor:m,ceil:m};Ql.year=ga.year,ga.scale=function(){return ro(ao.scale.linear(),Ql,nc)};var ec=Ql.map(function(n){return[n[0].utc,n[1]]}),rc=Jl.multi([[".%L",function(n){return n.getUTCMilliseconds()}],[":%S",function(n){return n.getUTCSeconds()}],["%I:%M",function(n){return n.getUTCMinutes()}],["%I %p",function(n){return n.getUTCHours()}],["%a %d",function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],["%b %d",function(n){return 1!=n.getUTCDate()}],["%B",function(n){return n.getUTCMonth()}],["%Y",zt]]);ec.year=ga.year.utc,ga.scale.utc=function(){return ro(ao.scale.linear(),ec,rc)},ao.text=An(function(n){return n.responseText}),ao.json=function(n,t){return Cn(n,"application/json",uo,t)},ao.html=function(n,t){return Cn(n,"text/html",oo,t)},ao.xml=An(function(n){return n.responseXML}),"function"==typeof define&&define.amd?(this.d3=ao,define(ao)):"object"==typeof module&&module.exports?module.exports=ao:this.d3=ao}(); \ No newline at end of file diff --git a/dist/vocabulary/mapping/webvowl/js/webvowl.app.js b/dist/vocabulary/mapping/webvowl/js/webvowl.app.js new file mode 100644 index 0000000..f3eba7c --- /dev/null +++ b/dist/vocabulary/mapping/webvowl/js/webvowl.app.js @@ -0,0 +1,5 @@ +webvowl.app=function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}({0:function(e,t,n){n(319),n(321),e.exports=n(322)},6:function(e,t){e.exports=d3},91:function(e,t,n){function o(e){return null==e?void 0===e?s:l:d&&d in Object(e)?r(e):a(e)}var i=n(92),r=n(95),a=n(96),l="[object Null]",s="[object Undefined]",d=i?i.toStringTag:void 0;e.exports=o},92:function(e,t,n){var o=n(93),i=o.Symbol;e.exports=i},93:function(e,t,n){var o=n(94),i="object"==typeof self&&self&&self.Object===Object&&self,r=o||i||Function("return this")();e.exports=r},94:function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},95:function(e,t,n){function o(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var o=!0}catch(e){}var i=l.call(e);return o&&(t?e[s]=n:delete e[s]),i}var i=n(92),r=Object.prototype,a=r.hasOwnProperty,l=r.toString,s=i?i.toStringTag:void 0;e.exports=o},96:function(e,t){function n(e){return i.call(e)}var o=Object.prototype,i=o.toString;e.exports=n},103:function(e,t,n){function o(e){return"symbol"==typeof e||r(e)&&i(e)==a}var i=n(91),r=n(104),a="[object Symbol]";e.exports=o},104:function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},112:function(e,t){var n=Array.isArray;e.exports=n},154:function(e,t){function n(e,t){for(var n=-1,o=null==e?0:e.length,i=Array(o);++n0?(g.classed("hidden",!1),h.classed("hidden",!1),k.updateScrollButtonVisibility()):(g.classed("hidden",!0),h.classed("hidden",!0)),_.updateElementWidth()}function i(){var e=window.innerHeight-40,n=e,o=e-30,i=150;if(n<150)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").classed("hidden",!0),t.select("#zoomInButton").classed("hidden",!0),void t.select("#centerGraphButton").classed("hidden",!0);t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").classed("hidden",!1),t.select("#zoomInButton").classed("hidden",!1),t.select("#centerGraphButton").classed("hidden",!1);var r=o-20,a=r-20;if(n<280)return t.select("#zoomSliderParagraph").classed("hidden",!0),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),void t.select("#centerGraphButton").style("top",a+"px");var l=o-i;r=l-20,a=r-20,t.select("#zoomSliderParagraph").classed("hidden",!1),t.select("#zoomOutButton").style("top",o+"px"),t.select("#zoomInButton").style("top",r+"px"),t.select("#centerGraphButton").style("top",a+"px"),t.select("#zoomSliderParagraph").style("top",l+"px")}function r(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function a(){var e,t,n=-1,o=/(?:\b(MS)?IE\s+|\bTrident\/7\.0;.*\s+rv:|\bEdge\/)(\d+)/.test(navigator.userAgent);if(o)return n=parseInt("12");var i=/Trident.*rv[ :]*11\./.test(navigator.userAgent);return i?n=parseInt("11"):("Microsoft Internet Explorer"===navigator.appName?(e=navigator.userAgent,t=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))):"Netscape"===navigator.appName&&(e=navigator.userAgent,t=new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})"),null!==t.exec(e)&&(n=parseFloat(RegExp.$1))),n)}var l=1,s={},d=webvowl.graph(),c=d.graphOptions(),p=webvowl.util.languageTools(),u="#graph",f=n(323)(d),h=n(325)(d),g=n(326)(d),v=n(327)(d),m=n(328)(d),y=n(329)(d),b=n(333)(d),x=n(334)(d),w=n(335)(d),k=n(336)(d),C=n(337)(d),L=n(338)(d),M=n(339)(d),_=n(340)(d),E=n(341)(d),O=n(342)(d),S=n(343)(d),F=n(344)(d),I=webvowl.modules.colorExternalsSwitch(d),T=webvowl.modules.compactNotationSwitch(d),A=webvowl.modules.datatypeFilter(),P=webvowl.modules.disjointFilter(),B=webvowl.modules.focuser(d),D=webvowl.modules.emptyLiteralFilter(),R=webvowl.modules.nodeDegreeFilter(h),W=webvowl.modules.nodeScalingSwitch(d),N=webvowl.modules.objectPropertyFilter(),H=webvowl.modules.pickAndPin(),j=webvowl.modules.selectionDetailsDisplayer(L.updateSelectionInformation),z=webvowl.modules.statistics(),V=webvowl.modules.subclassFilter(),U=webvowl.modules.setOperatorFilter();return s.getOptions=function(){return webvowl.opts},s.getGraph=function(){return webvowl.gr},s.initialize=function(){window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)},window.cancelAnimationFrame=window.cancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)},c.graphContainerSelector(u),c.selectionModules().push(B),c.selectionModules().push(j),c.selectionModules().push(H),c.filterModules().push(D),c.filterModules().push(z),c.filterModules().push(R),c.filterModules().push(A),c.filterModules().push(N),c.filterModules().push(V),c.filterModules().push(P),c.filterModules().push(U),c.filterModules().push(W),c.filterModules().push(T),c.filterModules().push(I),t.select(window).on("resize",o),f.setup(),g.setup(),h.setup(A,N,V,P,U,R),v.setup(H,W,T,I),b.setup(),L.setup(),O.setup(),M.setup(),_.setup(),m.setup();var n=a();if(n>0&&n<=11)console.log("Agent version "+n),console.log("This agent is not supported"),t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!0),t.select("#optionsArea").classed("hidden",!0),t.select("#logo").classed("hidden",!0);else{t.select("#logo").classed("hidden",!1),12===n?(t.select("#browserCheck").classed("hidden",!1),t.select("#killWarning").classed("hidden",!1)):t.select("#browserCheck").classed("hidden",!0),x.setup([g,h,v,B,j,b]),w.setup(),k.setup(),C.setup(),c.literalFilter(D),c.nodeDegreeFilter(R),c.loadingModule(O),c.filterMenu(h),c.modeMenu(v),c.gravityMenu(g),c.pausedMenu(b),c.pickAndPinModule(H),c.resetMenu(x),c.searchMenu(w),c.ontologyMenu(y),c.navigationMenu(k),c.sidebar(L),c.leftSidebar(M),c.editSidebar(_),c.exportMenu(f),c.graphObject(d),c.zoomSlider(C),c.warningModule(S),c.directInputModule(F),c.datatypeFilter(A),c.objectPropertyFilter(N),c.subclassFilter(V),c.setOperatorFilter(U),c.disjointPropertyFilter(P),c.focuserModule(B),c.colorExternalsModule(I),c.compactNotationModule(T),y.setup(e),E.setup(),M.showSidebar(0),M.hideCollapseButton(!0),d.start();var i=t.select("#modeOfOperationString");i.style("font-size","0.6em"),i.style("font-style","italic"),o();var r,l=d.options().width(),s=d.options().height();r=Math.min(l,s)/1e3;var p=!0;p===!1&&d.setForceTickFunctionWithFPS(),d.setDefaultZoom(r),t.selectAll(".debugOption").classed("hidden",p);var G=t.select("body");if(t.select(document).on("keydown",function(e){8===t.event.keyCode&&t.event.target===G.node()&&t.event.preventDefault(),t.event.ctrlKey&&t.event.shiftKey&&68===t.event.keyCode&&(d.options().executeHiddenDebugFeatuers(),t.event.preventDefault())}),t.select("#maxLabelWidthSliderOption")){var q=!d.options().dynamicLabelWidth();t.select("#maxLabelWidthSlider").node().disabled=q,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",q),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",q)}t.select("#blockGraphInteractions").style("position","absolute").style("top","0").style("background-color","#bdbdbd").style("opacity","0.5").style("pointer-events","auto").style("width",d.options().width()+"px").style("height",d.options().height()+"px").on("click",function(){t.event.preventDefault(),t.event.stopPropagation()}).on("dblclick",function(){t.event.preventDefault(),t.event.stopPropagation()}),t.select("#direct-text-input").on("click",function(){F.setDirectInputMode()}),t.select("#blockGraphInteractions").node().draggable=!1,c.prefixModule(webvowl.util.prefixTools(d)),o(),L.updateOntologyInformation(void 0,z),O.parseUrlAndLoadOntology(),c.debugMenu(m),m.updateSettings(),t.select("#reloadSvgIcon").on("click",function(){return t.select("#reloadSvgIcon").node().disabled===!0?void d.options().ontologyMenu().clearCachedVersion():(t.select("#reloadCachedOntology").classed("hidden",!0),void d.options().ontologyMenu().reloadCachedOntology())}),webvowl.opts=c,webvowl.gr=d}},s}}).call(t,n(6))},323:function(e,t,n){(function(t){e.exports=function(e){function o(){var n=M.requestExport(),o=M.resultingTTL_Content();if(console.log("Exporter was successful: "+n),n){var i="NewOntology",r="data:text/json;charset=utf-8,"+encodeURIComponent(o);x.attr("href",r).attr("download",i+".ttl")}else console.log("ShowWarning!"),e.options().warningModule().showExporterWarning(),console.log("Stay on the page! "+window.location.href),x.attr("href",window.location.href),t.event.preventDefault()}function i(){t.select("#exportedUrl").node().focus(),t.select("#exportedUrl").node().select(),document.execCommand("copy"),e.options().navigationMenu().hideAllMenus(),t.event.preventDefault()}function r(e,t){var n=0,o="opts=";for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],a=t[i];r!==a&&(o+=i+"="+a+";",n++)}return o+="",0===n?"":o}function a(){e.options().navigationMenu().hideAllMenus();var n,o,i,r=t.select(e.options().graphContainerSelector()).select("svg");s(),u(),n=r.attr("version",1.1).attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML,n="\n"+n,o=l(n),i="data:image/svg+xml;base64,"+btoa(o),m.attr("href",i).attr("download",y+".svg"),f(),h(),e.lazyRefresh()}function l(e){var t,n,o,i=[],r=e.length;for(t=0;t0){var J=z.node().getPointAtLength(O-18),Y=J.x-10*j,X=J.y+10*H;X*=-1;var K="black";Z.indexOf("A")>-1&&(Z="$\\forall$"),Z.indexOf("E")>-1&&(Z="$\\exists$"),i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily },text="+K+"] at ("+Y+"pt, "+X+"pt) (cardinalityText"+a+") {"+Z+"};\n "}if(S.property().inverse()){z=S.pathObj(),O=Math.floor(z.node().getTotalLength());var Q=z.node().getPointAtLength(4),ee=z.node().getPointAtLength(0),te=z.node().getPointAtLength(6);D=Q.x,R=Q.y,W=ee.x,N=ee.y,H=W-D,j=N-R,_=Math.sqrt(H*H+j*j),H/=_,j/=_,E=-1*Math.atan2(j,H)*(180/Math.PI),E-=90,h=te.x,g=te.y,1!==S.layers().length||S.loops()?(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_marker"+a+") {};\n "):(g*=-1,i+="\\node["+P+", rotate="+E+"] at ("+h+"pt, "+g+"pt) (INV_single_marker"+a+") {};\n ")}}}for(l.each(function(e){u=e.x,f=-e.y,r=e.labelForCurrentLanguage(),void 0===r&&(r="");var t="owlClass";"owl:Thing"!==e.type()&&"owl:Nothing"!==e.type()||(t="owlThing"),"owl:equivalentClass"===e.type()&&(t="owlEquivalentClass");var n="";if(e.textBlock){var o=e.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===o&&(n=", text=black"),"rgb(255, 255, 255)"===o&&(n=", text=white");var l=e.textBlock()._textBlock().node().children;if(l[0]){r=l[0].innerHTML,e.individuals()&&e.individuals().length===parseInt(l[0].innerHTML)&&(r="{\\color{gray} "+l[0].innerHTML+" }");for(var s=1;s-1&&(i+="\\definecolor{Node"+a+"_COLOR}{HTML}{CCCCCC} \n ",d=", fill=Node"+a+"_COLOR ");var g=u-7,v=u+7,m=f+20;"owl:unionOf"===e.type()&&"owl:disjointUnionOf"===e.type()||(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:unionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[text=black] at ("+u+"pt, "+f+"pt) (unionText13) {$\\mathbf{\\cup}$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:disjointUnionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (disjointUnoinText"+a+") {1};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:complementOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+u+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{18pt}{18}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (unionText13) {$\\neg$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),"owl:intersectionOf"===e.type()&&(i+="\\node["+t+" "+c+" "+d+" "+n+"] at ("+u+"pt, "+f+"pt) (Node"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf , text=black] at ("+v+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\node[unionOf ,fill=none , text=black] at ("+g+"pt, "+f+"pt) (SymbolNode"+a+") {};\n",i+="\\filldraw[even odd rule,fill=owlClassColor,line width=1pt] ("+g+"pt, "+f+"pt) circle (12.5pt) ("+v+"pt, "+f+"pt) circle (12.5pt);\n ",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+f+"pt) (intersectionText"+a+") {$\\cap$};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+n+"] at ("+u+"pt, "+m+"pt) (Node_text"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"),a++}),a=0;a-1?"\\\\ {\\small "+le[se].innerHTML+" }":"\\\\ "+le[se].innerHTML}}}if("setOperatorProperty"!==ne.type()){var ce="owlObjectProperty";"owl:DatatypeProperty"===ne.type()&&(ce="owlDatatypeProperty"),"rdfs:subClassOf"===ne.type()&&(ce="rdfsSubClassOf"),"rdf:Property"===ne.type()&&(ce="rdfProperty");var pe="";if(ne.backgroundColor()){var ue=ne.backgroundColor();ue.toUpperCase(),ue=ue.slice(1,ue.length),i+="\\definecolor{property"+a+"_COLOR}{HTML}{"+ue+"} \n ",pe=", fill=property"+a+"_COLOR "}ne.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{property"+a+"_COLOR}{HTML}{CCCCCC} \n ",pe=", fill=property"+a+"_COLOR ");var fe="",he=ne.textWidth();if(fe=",minimum width="+he+"pt","owl:disjointWith"!==ne.type())if(ne.inverse()){var ge=ne.inverse(),ve=ge.labelForCurrentLanguage();void 0===ve&&(ve="");var me="";if(ge.textBlock&&ge.textBlock()){var ye=ge.textBlock()._textBlock().style("fill");"rgb(0, 0, 0)"===ye&&(me=", text=black"),"rgb(255, 255, 255)"===ye&&(me=", text=white");var be=ge.textBlock()._textBlock().node().children;if(be[0]){ve=be[0].innerHTML;for(var xe=1;xe-1?"\\\\ {\\small "+be[xe].innerHTML+" }":"\\\\ "+be[xe].innerHTML; +}}}var ke="owlObjectProperty",Ce="";if(ge.backgroundColor()){var Le=ge.backgroundColor();Le.toUpperCase(),Le=Le.slice(1,Le.length),i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{"+Le+"} \n ",Ce=", fill=inv_property"+a+"_COLOR "}ge.attributes().indexOf("deprecated")>-1&&(i+="\\definecolor{inv_property"+a+"_COLOR}{HTML}{CCCCCC} \n ",Ce=", fill=inv_property"+a+"_COLOR ");var Me="",_e=ge.textWidth(),Ee=ie-14,Oe=ie+14;Me=",minimum width="+_e+"pt",i+="% Createing Inverse Property \n",i+="\\node["+ke+" "+Me+" "+Ce+" "+me+"] at ("+oe+"pt, "+Ee+"pt) (property"+a+") {"+ve.replaceAll("_","\\_ ")+"};\n",i+="% "+ke+" vs "+ce+"\n",i+="% "+Me+" vs "+fe+"\n",i+="% "+Ce+" vs "+pe+"\n",i+="% "+me+" vs "+re+"\n",i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+Oe+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n"}else i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (property"+a+") {"+r.replaceAll("_","\\_ ")+"};\n";else{var Se=oe-12,Fe=oe+12,Ie=ie-20;i+="\\node["+ce+" "+fe+" "+pe+" "+re+"] at ("+oe+"pt, "+ie+"pt) (Node"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Se+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[disjointWith , text=black] at ("+Fe+"pt, "+ie+"pt) (SymbolNode"+a+") {};\n",i+="\\node[font={\\fontsize{12pt}{12}\\selectfont \\sffamily }"+re+"] at ("+oe+"pt, "+Ie+"pt) (Node_text"+a+") {",e.options().compactNotation()===!1&&(i+="(disjoint)"),i+="};\n"}}}i+="\\end{tikzpicture}\n}\n \\end{center}\n";var Te="data:text/json;charset=utf-8,"+encodeURIComponent(i);w.attr("href",Te).attr("download",y+".tex")}var m,y,b,x,w,k,C,L={},M=n(324)(e);String.prototype.replaceAll=function(e,t){var n=this;return n.split(e).join(t)},L.setup=function(){m=t.select("#exportSvg").on("click",a),b=t.select("#exportJson").on("click",g),k=t.select("#copyBt").on("click",i),w=t.select("#exportTex").on("click",v),x=t.select("#exportTurtle").on("click",o);var n=t.select("#m_export");n.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries(),L.exportAsUrl()})},L.setFilename=function(e){y=e||"export"},L.setJsonText=function(e){C=e},L.exportAsUrl=function(){var n={};n.sidebar=e.options().sidebar().getSidebarVisibility();var o=e.options().filterMenu().getDefaultDegreeValue(),i=e.options().filterMenu().getDegreeSliderValue();parseInt(o)===parseInt(i)?n.doc=-1:n.doc=i,n.cd=e.options().classDistance(),n.dd=e.options().datatypeDistance(),e.editorMode()===!0?n.editorMode="true":n.editorMode="false",n.filter_datatypes=String(e.options().filterMenu().getCheckBoxValue("datatypeFilterCheckbox")),n.filter_sco=String(e.options().filterMenu().getCheckBoxValue("subclassFilterCheckbox")),n.filter_disjoint=String(e.options().filterMenu().getCheckBoxValue("disjointFilterCheckbox")),n.filter_setOperator=String(e.options().filterMenu().getCheckBoxValue("setoperatorFilterCheckbox")),n.filter_objectProperties=String(e.options().filterMenu().getCheckBoxValue("objectPropertyFilterCheckbox")),n.mode_dynamic=String(e.options().dynamicLabelWidth()),n.mode_scaling=String(e.options().modeMenu().getCheckBoxValue("nodescalingModuleCheckbox")),n.mode_compact=String(e.options().modeMenu().getCheckBoxValue("compactnotationModuleCheckbox")),n.mode_colorExt=String(e.options().modeMenu().getCheckBoxValue("colorexternalsModuleCheckbox")),n.mode_multiColor=String(e.options().modeMenu().colorModeState()),n.mode_pnp=String(e.options().modeMenu().getCheckBoxValue("pickandpinModuleCheckbox")),n.debugFeatures=String(!e.options().getHideDebugFeatures()),n.rect=0;var a,l=e.options().initialConfig(),s=r(l,n),d=String(location);if(0===s.length){var c=location.hash;d=d.split(c)[0];var p=c.lastIndexOf("#");if(p===-1)return a=t.select("#exportedUrl").node(),a.value=String(location),void(a.title=String(location));var u=c.slice(p,c.length);return a=t.select("#exportedUrl").node(),a.value=d+u,void(a.title=d+u)}var f,h=(d.match(/#/g)||[]).length;if(void 0!==h&&0!==h||(f=d+"#"+s),h>0){var g,v=d.split("#");for(v[1].indexOf("opts=")>=0?(v[1]=s,f=v[0]):(f=v[0]+"#",f+=s),g=1;g0&&(f+="#"+v[g])}a=t.select("#exportedUrl").node(),a.value=f,a.title=f},L.createJSON_exportObject=function(){var t,n,o,i=e.getUnfilteredData(),r=e.options().data()._comment,a=e.options().getGeneralMetaObject(),l=e.options().data().header;a.iri&&a.iri!==l.iri&&(l.iri=a.iri),a.title&&a.title!==l.title&&(l.title=a.title),a.version&&a.version!==l.version&&(l.version=a.version),a.author&&a.author!==l.author&&(l.author=a.author),a.description&&a.description!==l.description&&(l.description=a.description);var s={};s._comment=r,s.header=l,s.namespace=e.options().data().namespace,void 0===s.namespace&&(s.namespace=[]);var d=i.nodes,c=d.length,p=[],u=[];for(t=0;t0&&(h.attributes=d[t].attributes()),d[t].comment()&&(h.comment=d[t].comment()),d[t].annotations()&&(h.annotations=d[t].annotations()),d[t].description()&&(h.description=d[t].description()),d[t].individuals().length>0){var g=[],v=d[t].individuals();for(n=0;n0){y=[];var b=d[t].equivalents();for(n=0;n0&&(w.attributes=b[n].attributes()),b[n].comment()&&(w.comment=b[n].comment()),b[n].individuals().length>0&&(w.individuals=b[n].individuals()),b[n].annotations()&&(w.annotations=b[n].annotations()),b[n].description()&&(w.description=b[n].description()),b[n].individuals().length>0){var k=[],C=b[t].individuals();for(o=0;o0&&(h.equivalent=y),u.push(h)}var M=i.properties,_=M.length,E=[],O=[];for(t=0;t<_;t++){var S={},F={};if(S.id=M[t].id(),S.type=M[t].type(),E.push(S),F.id=M[t].id(),F.iri=M[t].iri(),F.baseIri=M[t].baseIri(),F.label=M[t].label(),M[t].attributes().length>0&&(F.attributes=M[t].attributes()),M[t].comment()&&(F.comment=M[t].comment()),M[t].annotations()&&(F.annotations=M[t].annotations()),M[t].maxCardinality()&&(F.maxCardinality=M[t].maxCardinality()),M[t].minCardinality()&&(F.minCardinality=M[t].minCardinality()),M[t].cardinality()&&(F.cardinality=M[t].cardinality()),M[t].description()&&(F.description=M[t].description()),F.domain=M[t].domain().id(),F.range=M[t].range().id(),M[t].subproperties()){var I=M[t].subproperties(),T=[];for(n=0;n":n[t].prefixRepresentation=i}for(t=0;t":o[t].prefixRepresentation=r}}function n(){if(0!==y.length){x+="### Property Definitions (Number of Property) "+y.length+" ###\r\n";for(var e=0;e=0}function r(t){var n=t.prefixRepresentation,o="rdf:type",r=t.type();"owl:equivalentClass"===t.type()&&(r="owl:Class"),"owl:disjointUnionOf"===t.type()&&(r="owl:Class"),"owl:unionOf"===t.type()&&(r="owl:Class");var a=[],s=[];if(t.union())for(var d=t.union(),c=0;c":b,g+=m+" owl:equivalentClass "+x+" ;\r\n"}if(t.commentForCurrentLanguage()&&(g+=m+' rdfs:comment "'+t.commentForCurrentLanguage()+'" ;\r\n'),t.annotations()){var k=t.annotations();for(var L in k)if(k.hasOwnProperty(L)){var M=k[L],_=M[0],E=_.identifier,O=_.value;"isDefinedBy"===E&&(g+=m+" rdfs:isDefinedBy <"+O+"> ;\r\n"),"term_status"===E&&(g+=m+' vs:term_status "'+O+'" ;\r\n')}}if(a.length>0){g+=m+" owl:disjointUnionOf (";for(var S=0;S":F,g+=m+m+I+" \n"}g+=") ;\r\n"}if(s.length>0){g+=m+" rdfs:subClassOf [ rdf:type owl:Class ; \r\n",g+=m+m+" owl:unionOf ( ";for(var T=0;T":A,g+=m+m+m+P+" \n"}g+=") ;\r\n"}var B,D=e.getUnfilteredData().properties,R=[];for(B=0;B ;\r\n"),"term_status"===x&&(a+=s+' vs:term_status "'+w+'" ;\r\n')}}if("owl:Thing"===c.type()&&"owl:Thing"===p.type()&&"object"!=typeof e.label()&&0===e.label().length&&(d=!0),d===!0){var k=a.substring(0,a.length-2);return a=k+" . \r\n"}var L;if("owl:Thing"===c.type()&&"owl:Thing"===p.type())L=v(s,e.label(),"rdfs:label",!0),a+=L;else{L=v(s,e.label(),"rdfs:label"),a+=L,"owl:Thing"!==c.type()&&(a+=s+" rdfs:domain "+c.prefixRepresentation+";\r\n"),"owl:Thing"!==p.type()&&(a+=s+" rdfs:range "+p.prefixRepresentation+";\r\n");var M=a,_=M.lastIndexOf(";");a=M.substring(0,_)+" . \r\n"}return a}function l(e){return void 0===e?"WHYEMPTYNAME?":new Array(e.length+1).join(" ")}function s(){x+="#################################################################\r\n",x+="### Generated with the experimental alpha version of the TTL exporter of WebVOWL (version 1.1.3) http://visualdataweb.de/webvowl/ ###\r\n",x+="#################################################################\r\n\r\n"}function d(){var t=e.options().getGeneralMetaObjectProperty("iri"),n=e.options().prefixList(),o=[];o.push("@prefix : \t\t<"+t+"> .");for(var i in n)n.hasOwnProperty(i)&&o.push("@prefix "+i+": \t\t<"+n[i]+"> .");o.push("@base \t\t\t<"+t+"> .\r\n");for(var r=0;r");x+="<"+t+"> rdf:type owl:Ontology ;\r\n"+p(n)+u(n)+h(n)+f(n);var o=x,i=o.lastIndexOf(";");x=o.substring(0,i)+" . \r\n"}function p(e){return g(e,"title","dc:title")}function u(e){return g(e,"description","dc:description")}function f(t){var n=e.options().getGeneralMetaObjectProperty("author");if(n){if("object"!=typeof n){if(0===n.length)return"";var o=t+' dc:creator "'+n+'";\r\n';return o}for(var i=t+' dc:creator "',r=0;r0&&(n=-1);var i=parseInt(s.attr("max")),r=parseInt(s.property("value")),a=r+n;r!==a&&a>=0&&a<=i&&(s.property("value",a),s.on("input")(),e.update()),t.event.preventDefault()}function r(e,t){e.property("value",t).on("input")()}function a(){p.node().addEventListener("animationend",function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!0)})}var l,s,d={},c=[],p=(t.select("#m_filter"),t.select("#c_filter a")),u=t.select("#nodeDegreeFilteringOption"),f=0;return d.setDefaultDegreeValue=function(e){f=e},d.getDefaultDegreeValue=function(){return f},d.getGraphObject=function(){return e},d.getCheckBoxContainer=function(){return c},d.getDegreeSliderValue=function(){return s.property("value")},d.setup=function(t,i,r,l,s,c){p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),p.on("mouseleave",function(){d.highlightForDegreeSlider(!1)}),n(t,"datatype","Datatype properties","#datatypeFilteringOption"),n(i,"objectProperty","Object properties","#objectPropertyFilteringOption"),n(r,"subclass","Solitary subclasses","#subclassFilteringOption"),n(l,"disjoint","Class disjointness","#disjointFilteringOption"),n(s,"setoperator","Set operators","#setOperatorFilteringOption"),o(c,u),a()},d.reset=function(){c.forEach(function(e){var t=e.checkbox,n=e.defaultState,o=t.property("checked");o!==n&&(t.property("checked",n),t.on("click")())}),r(s,0),s.on("change")()},d.killButtonAnimation=function(){p.classed("buttonPulse",!1),p.classed("filterMenuButtonHighlight",!1)},d.highlightForDegreeSlider=function(e){if(arguments.length||(e=!0),p.classed("highlighted",e),u.classed("highlighted",e),p.classed("buttonPulse")===!0&&e===!0){p.classed("buttonPulse",!1);var t=setTimeout(function(){p.classed("buttonPulse",e),clearTimeout(t)},100)}else p.classed("buttonPulse",e),p.classed("filterMenuButtonHighlight",e)},d.setCheckBoxValue=function(e,t){for(var n=0;n0?d.highlightForDegreeSlider(!0):d.highlightForDegreeSlider(!1),c.forEach(function(t){var n=t.checkbox;n.on("click")(e)}),s.on("input")(),s.on("change")()},d}}).call(t,n(6))},326:function(e,t,n){(function(t){e.exports=function(e){function n(n,i,a,l){var s,d,c=l();s=t.select(n).append("div").datum({distanceFunction:l}).classed("distanceSliderContainer",!0);var p=s.append("input").attr("id",i+"DistanceSlider").attr("type","range").attr("min",10).attr("max",600).attr("value",l()).attr("step",10);s.append("label").classed("description",!0).attr("for",i+"DistanceSlider").text(a),d=s.append("label").classed("value",!0).attr("for",i+"DistanceSlider").text(l()),r.push(p),p.on("focusout",function(){e.updateStyle()}),p.on("input",function(){var t=p.property("value");l(t),o(c),d.text(t),e.updateStyle()}),p.on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=10),n.deltaY>0&&(e=-10);var o=parseInt(p.property("value")),i=o+e;i!==o&&(p.property("value",i),l(i),p.on("input")()),t.event.preventDefault()})}function o(e){var t=Math.max(a.classDistance(),a.datatypeDistance()),n=t/e,o=l*n;a.charge(o)}var i={},r=[],a=e.graphOptions(),l=a.charge();return i.setup=function(){var o=t.select("#m_gravity");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("#classSliderOption","class","Class distance",a.classDistance),n("#datatypeSliderOption","datatype","Datatype distance",a.datatypeDistance)},i.reset=function(){r.forEach(function(e){e.property("value",function(e){return e.distanceFunction()}),e.on("input")()})},i}}).call(t,n(6))},327:function(e,t,n){(function(t){e.exports=function(e){function n(n,o,i,r,a){var l=t.select(i).append("div").classed("checkboxContainer",!0),s=l.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());s.on("click",function(n){var o=s.property("checked");r(o),t.select("#maxLabelWidthSlider").node().disabled=!o,t.select("#maxLabelWidthvalueLabel").classed("disabledLabelForSlider",!o),t.select("#maxLabelWidthDescriptionLabel").classed("disabledLabelForSlider",!o),a>0&&e.animateDynamicLabelWidth()}),l.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&l.append("label").attr("style","font-size:10px;padding-top:3px").text("(experimental)"),d=s}function o(n,o,i,r){var a=t.select(i).append("div").classed("checkboxContainer",!0),l=a.append("input").classed("moduleCheckbox",!0).attr("id",n+"ModuleCheckbox").attr("type","checkbox").property("checked",r());l.on("click",function(t){var n=l.property("checked");r(n),n===!0&&e.showEditorHintIfNeeded()}),a.append("label").attr("for",n+"ModuleCheckbox").text(o),"editorMode"===n&&a.append("label").attr("style","font-size:10px;padding-top:3px").text(" (experimental)")}function i(n,o,i,r,a){var l,s;return l=t.select(r).append("div").classed("checkboxContainer",!0).datum({module:n,defaultState:n.enabled()}),s=l.append("input").classed("moduleCheckbox",!0).attr("id",o+"ModuleCheckbox").attr("type","checkbox").property("checked",n.enabled()),f.push(s),s.on("click",function(t,n){var o=s.property("checked");t.module.enabled(o),a&&n!==!0&&(e.executeColorExternalsModule(),e.executeCompactNotationModule(),e.lazyRefresh())}),l.append("label").attr("for",o+"ModuleCheckbox").text(i),l}function r(t,n){var o=t.append("button").datum({active:!1}).classed("color-mode-switch",!0);return a(o,n),o.on("click",function(t){var i=o.datum();i.active=!i.active,a(o,n),n.enabled()&&t!==!0&&(e.executeColorExternalsModule(),e.lazyRefresh())}),o}function a(e,t){var n=e.datum().active,o=l(n);e.classed("active",n).text(o.text),t&&t.colorModeType(o.type)}function l(e){return e?p:c}var s,d,c={text:"Multicolor",type:"same"},p={text:"Multicolor",type:"gradient"},u={},f=[];return u.colorModeState=function(e){return arguments.length?(s.datum().active=e,u):s.datum().active},u.setDynamicLabelWidth=function(e){d.property("checked",e)},u.getCheckBoxContainer=function(){return f},u.colorModeSwitch=function(){return s},u.setup=function(a,l,d,c){var p=t.select("#m_modes");p.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),n("labelWidth","Dynamic label width","#dynamicLabelWidth",e.options().dynamicLabelWidth,1),o("editorMode","Editing ","#editMode",e.editorMode),i(a,"pickandpin","Pick & pin","#pickAndPinOption",!1),i(l,"nodescaling","Node scaling","#nodeScalingOption",!0),i(d,"compactnotation","Compact notation","#compactNotationOption",!0);var u=i(c,"colorexternals","Color externals","#colorExternalsOption",!0);s=r(u,c)},u.reset=function(){f.forEach(function(e){var t=e.datum().defaultState,n=e.property("checked");n!==t&&(e.property("checked",t),e.on("click")(e.datum())),e.datum().module.reset()}),s.datum().active=!0,s.on("click")()},u.setCheckBoxValue=function(e,t){for(var n=0;n li > a").attr("href",location.hash||"#")}function i(e){var n=t.select("#bulletPoint_container"),o=n.append("div");o.node().innerHTML=e,E.scrollDownDetails()}function r(e){var n=t.select("#bulletPoint_container"),o=n.node().getElementsByTagName("LI"),i=o.length-1;if(i>=0){var r=o[i].innerHTML;o[i].innerHTML=r+e}E.scrollDownDetails()}function a(e){var n=t.select("#bulletPoint_container"),o=n.append("li");o.node().innerHTML=e,t.select("#currentLoadingStep").node().innerHTML=e,E.scrollDownDetails()}function l(){var e=t.select("#iri-converter-button"),n=t.select("#iri-converter-input");n.on("input",function(){x();var t=""===n.property("value");e.attr("disabled",t||void 0)}).on("click",function(){x()}),t.select("#iri-converter-form").on("submit",function(){for(var e=n.property("value"),o=e.replace(/%20/g," ");o.beginsWith(" ");)o=o.substr(1,o.length);for(;o.endsWith(" ");)o=o.substr(0,o.length-1);e=o;var i=e.toLowerCase();return i.endsWith(".json")?(location.hash="url="+e,n.property("value",""),n.on("input")()):(location.hash="iri="+e,n.property("value",""),n.on("input")()),t.event.preventDefault(),!1})}function s(){var n=t.select("#file-converter-input"),o=t.select("#file-converter-label"),i=t.select("#file-converter-button");n.on("change",function(){var t=n.property("files");t.length<=0?(o.text("Select ontology file"),i.property("disabled",!0)):(o.text(t[0].name),L=t[0].name,i.property("disabled",!1),i.node().click(),e.options().navigationMenu().hideAllMenus())}),i.on("click",function(){var e=n.property("files")[0];if(!e)return!1;var t="file="+e.name;location.hash==="#"+t?E.parseUrlAndLoadOntology():location.hash=t})}function d(e){var n=t.select("#o2vConverterContainer");if(!n.node()){var o=t.select("#bulletPoint_container"),i=o.append("div");n=i.append("ul"),n.attr("id","o2vConverterContainer"),n.style("margin-left","-25px")}for(var r=n.node().children,a=r.length,l=0;l0&&(s=n.append("li"),s.attr("type","disc"),s.node().innerHTML=p.replace(/\n/g,"
    "))}s&&(s.node().innerHTML+="
    "),E.scrollDownDetails()}function c(e,n){t.xhr("loadingStatus?sessionId="+_,"application/text",function(t,o){t&&(console.log("ontologyMenu getLoadingStatusOnceCallBacked throws error"),console.log("---------Error -----------"),console.log(t),console.log("---------Request -----------"),console.log(o)),d(o.responseText),e(n)})}function p(){t.xhr("loadingStatus?sessionId="+_,"application/text",function(e,t){e&&(console.log("ontologyMenu getLoadingStatusTimeLooped throws error"),console.log("---------Error -----------"),console.log(e),console.log("---------Request -----------"),console.log(t)),T===!1&&(d(t.responseText),u())})}function u(){clearTimeout(M),T===!1&&(M=setTimeout(function(){p()},1e3))}function f(e){t.xhr("loadingStatus","application/text",function(t,n){void 0!==n?d(n.responseText+"
    "+e):i(e)})}function h(e){var t=e[2];return t!==_?(console.log("The conversion process for file:"+e[1]+" has been canceled!"),void S.conversionFinished(t)):(E.loadFromOWL2VOWL(e[0],e[1]),void S.conversionFinished())}function g(e){var t=e[2];return t!==_?void console.log("The conversion process for file:"+e[1]+" has been canceled!"):void E.loadFromOWL2VOWL(e[0],e[1])}function v(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function m(t){var n=t[0],o=t[1],r=t[2];return r!==_?(console.log("This thread has been canceled!!"),void S.conversionFinished(r)):(f('
    Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),null!==n&&500===n.status&&i("Could not find ontology at the URL"),o&&0===o.responseText.length&&i("Received empty graph"),e.handleOnLoadingError(),void S.conversionFinished())}function y(e,t,n){T=!1,u();var o=new FormData;o.append("ontology",e),o.append("sessionId",n);var i=new XMLHttpRequest;i.open("POST","convert",!0),i.onload=function(){clearTimeout(M),T=!0,c(b,[i,t,n])},u(),i.send(o)}function b(t){var n=t[0],o=t[1],i=t[2];return i!==_?(console.log("The conversion process for file:"+o+" has been canceled!"),void S.conversionFinished(i)):void(200===n.status?(E.loadFromOWL2VOWL(n.responseText,o),S.conversionFinished()):(f('Failed to convert the file. Ontology could not be loaded.
    Is it a valid OWL ontology? Please check with OWL Validator'),e.handleOnLoadingError(),S.conversionFinished()))}function x(){function e(){n.style("display",void 0),clearTimeout(C),t.select(window).on("click",void 0).on("keydown",void 0),n.on("mouseover",void 0)}var n=t.select("#select .toolTipMenu");n.on("click",function(){t.event.stopPropagation()}).on("keydown",function(){t.event.stopPropagation()}),n.style("display","block"),clearTimeout(C),C=setTimeout(function(){e()},3e3),t.select(window).on("click",function(){e()}).on("keydown",function(){e()}),n.on("mouseover",function(){e()})}function w(){t.select("#layoutLoadingProgressBarContainer").classed("hidden",!1),F.classed("hidden",!1),I.classed("hidden",!1)}function k(){F.classed("hidden",!0)}var C,L,M,_,E,O,S={},F=t.select("#loading-info"),I=t.select("#loading-progress"),T=!1,A=!1,P={},B="";return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},S.getLoadingFunction=function(){return O},S.clearCachedVersion=function(){P[B]&&(P[B]=void 0)},S.reloadCachedOntology=function(){S.clearCachedVersion(),e.clearGraphData(),E.parseUrlAndLoadOntology(!1)},S.cachedOntology=function(n){if(B=n,P[n]){var o=String(location.hash);t.select("#reloadSvgIcon").node().disabled=!1,e.showReloadButtonAfterLayoutOptimization(!0),o.indexOf("#file")>-1?(t.select("#reloadSvgIcon").node().disabled=!0,t.select("#reloadCachedOntology").node().title="reloading original version not possible, please reload the file",t.select("#reloadSvgIcon").classed("disabledReloadElement",!0),t.select("#svgStringText").style("fill","gray"),t.select("#svgStringText").classed("noselect",!0)):(t.select("#reloadCachedOntology").node().title="generate new visualization and overwrite cached ontology",t.select("#reloadSvgIcon").classed("disabledReloadElement",!1),t.select("#svgStringText").style("fill","black"),t.select("#svgStringText").classed("noselect",!0))}else e.showReloadButtonAfterLayoutOptimization(!1);return P[n]},S.setCachedOntology=function(e,t){P[e]=t,B=e},S.getErrorStatus=function(){return A},S.setup=function(o){O=o,E=e.options().loadingModule();var i=t.select("#m_select");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),l(),s();var r=t.select("#error-description-button").datum({open:!1});r.on("click",function(e){var n=t.select("#error-description-container"),o=t.select(this);e.open=!e.open;var i=e.open;i?o.text("Hide error details"):o.text("Show error details"),n.classed("hidden",!i)}),n(),E.setOntologyMenu(S)},S.stopLoadingTimer=function(){T=!0,clearTimeout(M)},S.setIriText=function(e){t.select("#iri-converter-input").node().value=e,t.select("#iri-converter-button").attr("disabled",!1),t.select("#iri-converter-form").on("submit")()},S.clearDetailInformation=function(){for(var e=t.select("#bulletPoint_container"),n=e.node().children,o=n.length,i=0;i",""":'"',"'":"'"},r=o(i);e.exports=r},332:function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},333:function(e,t,n){(function(t){e.exports=function(e){function n(){o(),i()}function o(){r.classed("paused",function(e){return e.paused})}function i(){r.datum().paused?r.text("Resume"):r.text("Pause")}var r,a={};return a.setup=function(){var o=t.select("#pauseOption");o.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),r=t.select("#pause-button").datum({paused:!1}).on("click",function(t){e.paused(!t.paused),t.paused=!t.paused,n(),r.classed("highlighted",t.paused)}),n()},a.setPauseValue=function(t){r.datum().paused=t,e.paused(t),r.classed("highlighted",t),n()},a.reset=function(){a.setPauseValue(!1)},a}}).call(t,n(6))},334:function(e,t,n){(function(t){e.exports=function(e){function n(){e.resetSearchHighlight(),e.options().searchMenu().clearText(),r.classDistance(a.classDistance()),r.datatypeDistance(a.datatypeDistance()),r.charge(a.charge()),r.gravity(a.gravity()),r.linkStrength(a.linkStrength()),e.reset(),o.forEach(function(e){e.reset()}),e.updateStyle()}var o,i={},r=e.graphOptions(),a=webvowl.options();return i.setup=function(i){o=i,t.select("#reset-button").on("click",n);var r=t.select("#resetOption");r.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()})},i}}).call(t,n(6))},335:function(e,t,n){(function(t){e.exports=function(e){function n(){b=e.getUpdateDictionary(),M=!1,k=[],C=[];var t,n=[],o=[];for(t=0;t0)for(var r=b[t].equivalentsString(),a=r.split(", "),l=0;l=0&&s=a&&i[s].setAttribute("class","dbEntrySelected"),h>=0&&h=0&&i[s].setAttribute("class","dbEntry")))}function s(){for(var e=F.node().children,t=e.length,n=0;n-1&&(E.push(k[e]),O.push(e)))}}function c(e,n){n||(n="text");var o=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),i=document.getElementById("width-test").offsetWidth;return o.remove(),i}function p(e){for(var t,n,o,i=250,r="dbEntry",a=e;;){if(t=c(a,r),t<=i)break;if(n=t/i,o=Math.floor(a.length/n),a.length===o)break;a=a.substring(0,o)}return e.length>a.length?e.substring(0,a.length-6):e}function u(){var n,o,i,r=E,a=[],l=[],s=v.node().value.toLowerCase();for(n=E.length,n>L&&(n=L),o=0;o-1&&h<=d&&m<=c&&(u=f,d=h,c=m)}a.push(r[u]),l.push(O[u]),r[u]=""}n=E.length,n>L&&(n=L);var b=0;for(o=0;o1)for(var T=0;T1&&_===!1?k!==I&&(C+="... ("+I+"/"+k+")"):C+="...",x.title=a[o]):k>1&&_===!1&&(C+=k!==I?" ("+I+"/"+k+")":" ("+k+")");var P=t.select(x);1===k||_===!0?void 0===S[w[0]]&&(P.style("color","#979797"),x.title=a[o]+"\nElement is filtered out.",x.onclick=function(){},t.select(x).style("cursor","default"),b++):(I<1?(P.style("color","#979797"),x.onclick=function(){},x.title=a[o]+"\nAll elements are filtered out.",t.select(x).style("cursor","default"),b++):P.style("color",""),I1&&(x.title=a[o]+"\n"+I+"/"+k+" elements are visible.")),P.node().innerHTML=C,F.node().appendChild(x)}}function f(){s(),d(),u()}function h(){return S.classed("highlighted",!1),S.node().title="Nothing to locate",M&&n(),e.resetSearchHighlight(),0===k.length?void console.log("dictionary is empty"):(x=v.node().value,s(),0!==x.length&&(d(),u()),void w.showSearchEntries())}function g(t){return function(){var n=t,o=y[n],i=C[n];v.node().value=i,e.resetSearchHighlight(),e.highLightNodes(o),S.node().title="Locate search term",i!==x&&f(),w.hideSearchEntries()}}var v,m,y,b,x,w={},k=[],C=[],L=6,M=!0,_=!1,E=[],O=[],S=t.select("#locateSearchResult"),F=(t.select("#c_search"),t.select("#m_search"));return String.prototype.beginsWith=function(e){return 0===this.indexOf(e)},w.requestDictionaryUpdate=function(){M=!0;for(var e=F.node().children,t=e.length,n=0;n=h?void n():void(y=requestAnimationFrame(o))}function i(){return f-=5,x.scrollLeft=f,b.updateScrollButtonVisibility(),f<=0?void n():void(y=requestAnimationFrame(i))}function r(){M=[],_=[];var e,r=[],c=[],p=x.children,u=p.length;for(e=0;e-1?_[e]="m_"+r[e]:_[e]=void 0,t.select("#"+M[e]).on("mouseover",a),t.select("#"+M[e]).on("mouseout",l),t.select("#"+M[e]).on("click",s),t.select("#"+M[e]).on("touchstart",d);t.select("#menuElementContainer").on("wheel",function(){var e,n=t.event;n.deltaY<0&&(e=20),n.deltaY>0&&(e=-20),x.scrollLeft+=e,b.hideAllMenus(),b.updateScrollButtonVisibility()}),t.select("#scrollRightButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),y=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#scrollLeftButton").on("mousedown",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("touchstart",function(){f=x.scrollLeft,b.hideAllMenus(),m=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n),t.select("#menuElementContainer").on("scroll",function(){b.updateScrollButtonVisibility(),b.hideAllMenus()})}function a(){b.hideAllMenus(),L||p(this.id)}function l(){c(this.id)}function s(){var e=_[M.indexOf(this.id)];if(e){var n=t.select("#"+e);n&&("block"===n.style("display")?n.style("display","none"):p(this.id))}}function d(){L=!0}function c(e){v=t.select("#"+e),"c_search"!==e&&(t.select("#"+e).select("path").style("stroke-width","0"),t.select("#"+e).select("path").style("fill","#fff"))}function p(n){v=t.select("#"+n).node();var o=_[M.indexOf(n)];o&&("c_search"!==n&&(t.select("#"+n).select("path").style("stroke-width","0"),t.select("#"+n).select("path").style("fill","#bdc3c7")),g=t.select("#"+o),g.style("display","block"),"m_export"===o&&e.options().exportMenu().exportAsUrl(),u())}function u(){if(v){var e=v.offsetLeft,t=x.scrollLeft,n=e-t,o=Math.max(0,n),i=x.getBoundingClientRect().width,r=g.node().getBoundingClientRect().width;o+r>i&&(o=i-r),o=Math.max(0,o),g.style("left",o+"px")}}var f,h,g,v,m,y,b={},x=t.select("#menuElementContainer").node(),w=t.select("#menuContainer").node(),k=t.select("#scrollLeftButton"),C=t.select("#scrollRightButton"),L=!1,M=[],_=[];return b.hideAllMenus=function(){t.selectAll(".toolTipMenu").style("display","none")},b.updateScrollButtonVisibility=function(){h=x.scrollWidth-x.clientWidth-2,0===x.scrollLeft?k.classed("hidden",!0):k.classed("hidden",!1),x.scrollLeft>h?C.classed("hidden",!0):C.classed("hidden",!1)},b.setup=function(){r(),t.select("#graph").on("mouseover",function(){b.hideAllMenus()}),t.select("#generalDetails").on("mouseover",function(){b.hideAllMenus()})},b}}).call(t,n(6))},337:function(e,t,n){(function(t){e.exports=function(e){function n(){cancelAnimationFrame(a),cancelAnimationFrame(l)}function o(){s*=.98,su&&(s=u),e.setSliderZoom(s),l=requestAnimationFrame(i)}var r,a,l,s,d,c={},p=e.options().minMagnification(),u=e.options().maxMagnification(),f=!0,h=e.options().width(),g=e.options().height();return r=Math.min(h,g)/1e3,c.setup=function(){d=t.select("#zoomSliderParagraph").append("input").datum({}).attr("id","zoomSliderElement").attr("type","range").attr("value",r).attr("min",p).attr("max",u).attr("step",(u-p)/40).attr("title","zoom factor").on("input",function(){c.zooming()}),t.select("#zoomOutButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),a=requestAnimationFrame(o)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom out"),t.select("#zoomInButton").on("mousedown",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("touchstart",function(){e.options().navigationMenu().hideAllMenus(),s=e.scaleFactor(),l=requestAnimationFrame(i)}).on("mouseup",n).on("touchend",n).on("touchcancel",n).attr("title","zoom in"),t.select("#centerGraphButton").on("click",function(){e.options().navigationMenu().hideAllMenus(),e.forceRelocationEvent()}).attr("title","center graph")},c.showSlider=function(e){return arguments.length?(t.select("#zoomSlider").classed("hidden",!e),void(f=e)):f},c.zooming=function(){e.options().navigationMenu().hideAllMenus();var t=d.property("value");d.attr("value",t),e.setSliderZoom(t)},c.updateZoomSliderValue=function(e){d&&(d.attr("value",e),d.property("value",e))},c}}).call(t,n(6))},338:function(e,t,n){(function(t){e.exports=function(e){function n(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");e(t.selectAll(".accordion-trigger:not(.accordion-trigger-active) + div")),o.on("click",function(){var o=t.select(this),i=t.selectAll(".accordion-trigger-active");o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(e(t.selectAll(".accordion-trigger-active + div")),i.classed("accordion-trigger-active",!1),n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0))})}function o(n){n=n||[],n.sort(function(e,t){return e===webvowl.util.constants().LANG_IRIBASED?-1:t===webvowl.util.constants().LANG_IRIBASED?1:e===webvowl.util.constants().LANG_UNDEFINED?-1:t===webvowl.util.constants().LANG_UNDEFINED?1:e.localeCompare(t)});var o=t.select("#language").on("change",function(){e.language(t.event.target.value),r(),C.updateSelectionInformation(k)});o.selectAll("option").remove(),o.selectAll("option").data(n).enter().append("option").attr("value",function(e){return e}).text(function(e){return e}),i(o,n,"en")||i(o,n,webvowl.util.constants().LANG_UNDEFINED)||i(o,n,webvowl.util.constants().LANG_IRIBASED)}function i(t,n,o){var i=n.indexOf(o);return i>=0&&(t.property("selectedIndex",i),e.language(o),!0)}function r(){var n=L.textInLanguage(w.title,e.language());t.select("#title").text(n||"No title available"),t.select("#about").attr("href",w.iri).attr("target","_blank").text(w.iri),t.select("#version").text(w.version||"--");var o=w.author;"string"==typeof o?t.select("#authors").text(o):o instanceof Array?t.select("#authors").text(o.join(", ")):t.select("#authors").text("--");var i=L.textInLanguage(w.description,e.language());t.select("#description").text(i||"No description available.")}function a(e,n){e=e||{},t.select("#classCount").text(e.classCount||n.classCount()),t.select("#objectPropertyCount").text(e.objectPropertyCount||n.objectPropertyCount()),t.select("#datatypePropertyCount").text(e.datatypePropertyCount||n.datatypePropertyCount()),t.select("#individualCount").text(e.totalIndividualCount||n.totalIndividualCount()),t.select("#nodeCount").text(n.nodeCount()),t.select("#edgeCount").text(n.edgeCount())}function l(e){var n=t.select("#ontology-metadata");n.selectAll("*").remove(),s(n,e),n.selectAll(".annotation").size()<=0&&n.append("p").text("No annotations available.")}function s(e,n){n=n||{};var o=[];for(var i in n)n.hasOwnProperty(i)&&o.push(n[i][0]);e.selectAll(".annotation").remove(),e.selectAll(".annotation").data(o).enter().append("p").classed("annotation",!0).classed("statisticDetails",!0).text(function(e){return e.identifier+":"}).append("span").each(function(e){h(t.select(this),e.value,"iri"===e.type?e.value:void 0)})}function d(){c(!1,!1,!0)}function c(e,n,o){t.select("#classSelectionInformation").classed("hidden",!e),t.select("#propertySelectionInformation").classed("hidden",!n),t.select("#noSelectionInformation").classed("hidden",!o)}function p(e){u(),f(t.select("#propname"),e.labelForCurrentLanguage(),e.iri()),t.select("#typeProp").text(e.type()),void 0!==e.inverse()?(t.select("#inverse").classed("hidden",!1),f(t.select("#inverse span"),e.inverse().labelForCurrentLanguage(),e.inverse().iri())):t.select("#inverse").classed("hidden",!0);var n=t.select("#propEquivUri");b(n,e.equivalents()),b(t.select("#subproperties"),e.subproperties()),b(t.select("#superproperties"),e.superproperties()),void 0!==e.minCardinality()?(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!1),t.select("#minCardinality span").text(e.minCardinality()),t.select("#maxCardinality").classed("hidden",!1),void 0!==e.maxCardinality()?t.select("#maxCardinality span").text(e.maxCardinality()):t.select("#maxCardinality span").text("*")):void 0!==e.cardinality()?(t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0),t.select("#infoCardinality").classed("hidden",!1),t.select("#infoCardinality span").text(e.cardinality())):(t.select("#infoCardinality").classed("hidden",!0),t.select("#minCardinality").classed("hidden",!0),t.select("#maxCardinality").classed("hidden",!0)),f(t.select("#domain"),e.domain().labelForCurrentLanguage(),e.domain().iri()),f(t.select("#range"),e.range().labelForCurrentLanguage(),e.range().iri()),g(e.attributes(),t.select("#propAttributes")),x(t.select("#propDescription"),e.descriptionForCurrentLanguage()),x(t.select("#propComment"),e.commentForCurrentLanguage()),s(t.select("#propertySelectionInformation"),e.annotations())}function u(){c(!1,!0,!1)}function f(e,n,o){var i=t.select(e.node().parentNode);n?(e.selectAll("*").remove(),h(e,n,o),i.classed("hidden",!1)):i.classed("hidden",!0)}function h(e,t,n){var o;o=n?e.append("a").attr("href",n).attr("title",n).attr("target","_blank"):e.append("span"),o.text(t)}function g(e,n){var o=t.select(n.node().parentNode);e&&e.length>0&&(v("object",e),v("datatype",e),v("rdf",e)),e&&e.length>0?(n.text(e.join(", ")),o.classed("hidden",!1)):o.classed("hidden",!0)}function v(e,t){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function m(e){y(),f(t.select("#name"),e.labelForCurrentLanguage(),e.iri());var n=t.select("#classEquivUri");b(n,e.equivalents()),t.select("#typeNode").text(e.type()),b(t.select("#individuals"),e.individuals());var o=t.select("#disjointNodes"),i=t.select(o.node().parentNode);void 0!==e.disjointWith()?(o.selectAll("*").remove(),e.disjointWith().forEach(function(e,t){t>0&&o.append("span").text(", "),h(o,e.labelForCurrentLanguage(),e.iri())}),i.classed("hidden",!1)):i.classed("hidden",!0),g(e.attributes(),t.select("#classAttributes")),x(t.select("#nodeDescription"),e.descriptionForCurrentLanguage()),x(t.select("#nodeComment"),e.commentForCurrentLanguage()),s(t.select("#classSelectionInformation"),e.annotations())}function y(){c(!0,!1,!1)}function b(e,n){var o=t.select(e.node().parentNode);n&&n.length?(e.selectAll("*").remove(),n.forEach(function(t,n){n>0&&e.append("span").text(", "),h(e,t.labelForCurrentLanguage(),t.iri())}),o.classed("hidden",!1)):o.classed("hidden",!0)}function x(e,n){var o=t.select(e.node().parentNode),i=!!n;n&&e.text(n),o.classed("hidden",!i)}var w,k,C={},L=webvowl.util.languageTools(),M=webvowl.util.elementTools(),_=1,E=t.select("#detailsArea"),O=t.select("#canvasArea"),S=t.select("#swipeBarContainer"),F=t.select("#sidebarExpandButton");return C.clearOntologyInformation=function(){t.select("#title").text("No title available"),t.select("#about").attr("href","#").attr("target","_blank").text("not given"),t.select("#version").text("--"),t.select("#authors").text("--"),t.select("#description").text("No description available.");var e=t.select("#ontology-metadata");e.selectAll("*").remove(),t.select("#classCount").text("0"),t.select("#objectPropertyCount").text("0"),t.select("#datatypePropertyCount").text("0"),t.select("#individualCount").text("0"),t.select("#nodeCount").text("0"),t.select("#edgeCount").text("0");var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");n&&t.select("#selection-details-trigger").node().click(),d()},C.updateOntologyInformation=function(e,t){e=e||{},w=e.header||{},r(),a(void 0,t),l(w.other),C.updateSelectionInformation(void 0),o(w.languages)},C.updateSelectionInformation=function(e){if(k=e,!t.event||!t.event.defaultPrevented){var n=t.select("#selection-details-trigger").classed("accordion-trigger-active");if(e&&!n)t.select("#selection-details-trigger").node().click();else if(!e&&n)return void d();M.isProperty(e)?p(e):M.isNode(e)&&m(e)}},C.showSidebar=function(n,o){1===n&&(_=!0,F.node().innerHTML=">",E.classed("hidden",!0),o===!0?(E.classed("hidden",!_),O.style("width","78%"),O.style("-webkit-animation-name","none"),S.style("width","78%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","78%"),O.style("-webkit-animation-name","sbCollapseAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","78%"),S.style("-webkit-animation-name","sbCollapseAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","78%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_ExpandRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth-.22*window.innerWidth),e.options().navigationMenu().updateScrollButtonVisibility()),0===n&&(_=!1,E.classed("hidden",!0),F.node().innerHTML="<",o===!0?(O.style("width","100%"),O.style("-webkit-animation-name","none"),S.style("width","100%"),S.style("-webkit-animation-name","none"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","none")):(O.style("width","100%"),O.style("-webkit-animation-name","sbExpandAnimation"),O.style("-webkit-animation-duration","0.5s"),S.style("width","100%"),S.style("-webkit-animation-name","sbExpandAnimation"),S.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessagesContainer").style("width","100%"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-name","warn_CollapseRightBarAnimation"),t.select("#WarningErrorMessagesContainer").style("-webkit-animation-duration","0.5s")),e.options().width(window.innerWidth),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility())},C.isSidebarVisible=function(){return _},C.updateSideBarVis=function(e){var t=C.getSidebarVisibility();C.showSidebar(parseInt(t),e)},C.getSidebarVisibility=function(){var e=E.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},C.initSideBarAnimation=function(){O.node().addEventListener("animationend",function(){E.classed("hidden",!_),e.updateCanvasContainerSize(),e.options().navigationMenu().updateScrollButtonVisibility()})},C.setup=function(){n(),C.initSideBarAnimation(),F.on("click",function(){e.options().navigationMenu().hideAllMenus();var t=parseInt(C.getSidebarVisibility());1===t?C.showSidebar(0):C.showSidebar(1)})},C.updateShowedInformation=function(){var n=e.editorMode();t.select("#generalDetails").classed("hidden",n),t.select("#generalDetailsEdit").classed("hidden",!n),e.options().editSidebar().updateGeneralOntologyInfo(),e.options().sidebar().updateGeneralOntologyInfo()},C.updateGeneralOntologyInfo=function(){var n=e.options().getGeneralMetaObject(),o=e&&e.language?e.language():null;n.hasOwnProperty("title")&&("object"==typeof n.title?t.select("#title").node().value=L.textInLanguage(n.title,o):t.select("#title").node().innerHTML=n.title),n.hasOwnProperty("iri")&&(t.select("#about").node().innerHTML=n.iri),n.hasOwnProperty("iri")&&(t.select("#about").node().href=n.iri),n.hasOwnProperty("version")&&(t.select("#version").node().innerHTML=n.version),n.hasOwnProperty("author")&&(t.select("#authors").node().innerHTML=n.author),n.hasOwnProperty("description")&&("object"==typeof n.description?t.select("#description").node().innerHTML=L.textInLanguage(n.description,o):t.select("#description").node().innerHTML=n.description)},C}}).call(t,n(6))},339:function(e,t,n){(function(t){e.exports=function(e){function n(e){for(var t=0;t"),e.updateCanvasContainerSize(),void e.options().navigationMenu().updateScrollButtonVisibility()):(t.select("#leftSideBarCollapseButton").classed("hidden",!0),1===n&&(u=!0,i.node().innerHTML="<",g.style("-webkit-animation-name","l_sbExpandAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_ExpandLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s")),void(0===n&&(u=!1,h.classed("hidden",!0),i.node().innerHTML=">",g.style("-webkit-animation-name","l_sbCollapseAnimation"),g.style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("-webkit-animation-name","warn_CollapseLeftBarAnimation"),t.select("#WarningErrorMessages").style("-webkit-animation-duration","0.5s"),t.select("#WarningErrorMessages").style("left","0"))))},c.getSidebarVisibility=function(){var e=h.classed("hidden");return e===!1?String(1):e===!0?String(0):void 0},c}}).call(t,n(6))},340:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=t.select("#typeEditor_datatype").node(),n=["undefined","xsd:boolean","xsd:double","xsd:integer","xsd:string"],o=0;o0){var s=e.options().prefixList()[a];if(void 0===s)return console.log("ERROR __________________"),e.options().warningModule().showWarning("Invalid Element IRI","Could not resolve prefix '"+s+"'","Restoring previous IRI for Element"+n.iri(),1,!1),void(t.select("#element_iriEditor").node().value=n.iri());if(0===l.length)return e.options().warningModule().showWarning("Invalid Element IRI","Input IRI is EMPTY","Restoring previous IRI for Element"+n.iri(),1,!1),console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());o=s+l}else o=i+l}else{if(0===o.length)return console.log("NO INPUT PROVIDED"),void(t.select("#element_iriEditor").node().value=n.iri());console.log("Tryig to use the input!"),o=i+o}}return o}function f(n){var o,i=u(n),r=e.options().getGeneralMetaObjectProperty("iri");if(F.isNode(n)){if(o=e.checkIfIriClassAlreadyExist(i),o!==!1)return e.options().warningModule().showWarning("Already seen this class","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),2,!1,o),void O.updateSelectionInformation(n);n.iri(i)}return F.isProperty(n)===!0&&(o=O.checkProperIriChange(n,i),o!==!1)?(e.options().warningModule().showWarning("Already seen this property","Input IRI: "+i+" for element: "+n.labelForCurrentLanguage()+" already been set","Restoring previous IRI for Element : "+n.iri(),1,!1,o),void O.updateSelectionInformation(n)):(n.iri(i),c(r,i)===!0?(b(n,"external"),n.backgroundColor("#36C"),n.redrawElement(),n.redrawLabelText()):(x(n,"external"),n.backgroundColor(void 0),n.redrawElement(),n.redrawLabelText()),n.focused()&&(e.options().focuserModule().handle(n,!0),e.options().focuserModule().handle(n,!0)),t.select("#element_iriEditor").node().value=I.getPrefixRepresentationForFullURI(i),void O.updateSelectionInformation(n))}function h(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function g(e){e.label(t.select("#element_labelEditor").node().value),e.redrawLabelText()}function v(e){M=e;var n,o=t.select("#property_characteristics_Selection"),i=o.node().children;if(i)for(var r=i.length,a=0;a-1){var l=o.append("span");l.classed("spanForCharSelection",!0),l.node().innerHTML="external"}var s,d;if(F.isNode(e)===!0){var c=["deprecated"];for(n=0;n=0}function y(){var e=this.checked,t=this.getAttribute("characteristics");e===!0?b(M,t):x(M,t),M.redrawElement(),M.focused(!1),M.toggleFocus()}function b(e,t){if(e.attributes().indexOf(t)===-1){var n=e.attributes();n.push(t),e.attributes(n)}if(e.indications().indexOf(t)===-1){var o=e.indications();o.push(t),e.indications(o)}var i;if(e.visualAttributes().indexOf(t)===-1&&(i=e.visualAttributes(),i.push(t),e.visualAttributes(i)),m(e,"external")&&m(e,"deprecated")){i=e.visualAttributes();var r=i.indexOf("external");r>-1&&i.splice(r,1),e.visualAttributes(i)}}function x(e,t){var n=e.attributes(),o=e.indications(),i=e.visualAttributes(),r=n.indexOf(t);r>=0&&n.splice(r,1);var a=o.indexOf(t);a>-1&&o.splice(a,1);var l=i.indexOf(t);l>-1&&i.splice(l,1),e.attributes(n),e.indications(o),e.visualAttributes(i),"deprecated"===t&&("owl:Class"===e.type()&&e.styleClass("class"),"owl:DatatypeProperty"===e.type()&&e.styleClass("datatypeproperty"),"owl:ObjectProperty"===e.type()&&e.styleClass("objectproperty"),"owl:disjointWith"===e.type()&&e.styleClass("disjointwith"))}function w(e){return"owl:Thing"!==e.type()&&"rdfs:subClassOf"!==e.type()&&"rdfs:Literal"!==e.type()&&"rdfs:Datatype"!==e.type()&&"rdfs:disjointWith"!==e.type()}function k(t){F.isNode(t)&&e.changeNodeType(t)===!1&&(F.isDatatype(t)===!0,O.updateSelectionInformation(t)),F.isProperty(t)&&e.changePropertyType(t)===!1&&O.updateSelectionInformation(t)}function C(e){var t=[];return F.isProperty(e)?("owl:DatatypeProperty"===e.type()?t.push("owl:DatatypeProperty"):(t.push("owl:ObjectProperty"),e.domain()!==e.range()&&t.push("rdfs:subClassOf"),t.push("owl:disjointWith"),t.push("owl:allValuesFrom"),t.push("owl:someValuesFrom")),t):("rect"===e.renderType()?(t.push("rdfs:Literal"),t.push("rdfs:Datatype")):(t.push("owl:Class"),t.push("owl:Thing")),t)}function L(){function e(e){e.classed("hidden",!0)}function n(e){e.classed("hidden",!1)}var o=t.selectAll(".accordion-trigger");o.on("click",function(){var o=t.select(this);o.classed("accordion-trigger-active")?(e(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!1)):(n(t.select(o.node().nextElementSibling)),o.classed("accordion-trigger-active",!0)),O.updateElementWidth()})}var M,_,E,O={},S=webvowl.util.languageTools(),F=webvowl.util.elementTools(),I=webvowl.util.prefixTools(e),T=!1;return O.clearMetaObjectValue=function(){t.select("#titleEditor").node().value="",t.select("#iriEditor").node().value="",t.select("#versionEditor").node().value="",t.select("#authorsEditor").node().value="",t.select("#descriptionEditor").node().value=""},O.updatePrefixUi=function(){O.updateElementWidth();for(var e=t.select("#prefixURL_Container");e.node().firstChild;)e.node().removeChild(e.node().firstChild);a()},O.setup=function(){L(),a(),r(),n(),t.select("#titleEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("title",t.select("#titleEditor").node().value))}),t.select("#iriEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri"))}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("iri",t.select("#iriEditor").node().value)===!1&&(t.select("#iriEditor").node().value=e.options().getGeneralMetaObjectProperty("iri")))}),t.select("#versionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("version",t.select("#versionEditor").node().value))}),t.select("#authorsEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value)}).on("keydown",function(){t.event.stopPropagation(),13===t.event.keyCode&&(t.event.preventDefault(),e.options().addOrUpdateGeneralObjectEntry("author",t.select("#authorsEditor").node().value))}),t.select("#descriptionEditor").on("change",function(){e.options().addOrUpdateGeneralObjectEntry("description",t.select("#descriptionEditor").node().value)}),O.updateElementWidth()},O.updateEditDeleteButtonIds=function(e,n){t.select("#prefixInputFor_"+e).node().id="prefixInputFor_"+n,t.select("#prefixURLFor_"+e).node().id="prefixURLFor_"+n,t.select("#deleteButtonFor_"+e).node().id="deleteButtonFor_"+n,t.select("#editButtonFor_"+e).node().id="editButtonFor_"+n,t.select("#prefixContainerFor_"+e).node().id="prefixContainerFor_"+n},O.checkForExistingURL=function(t){var n,o=e.getUnfilteredData().properties;for(n=0;n0&&(e=-10);var o=parseInt(s.property("value")),i=o+e;i!==o&&(s.property("value",i),r(i),s.on("input")()),t.event.preventDefault()}})}function o(n,o,i,a,l){var s=t.select(i).append("div").classed("checkboxContainer",!0),d=s.append("input").classed("moduleCheckbox",!0).attr("id",n+"ConfigCheckbox").attr("type","checkbox").property("checked",a());d.on("click",function(t){var n=d.property("checked");a(n),t!==!0&&(1===l&&e.lazyRefresh(),2===l&&e.update(),3===l&&e.updateDraggerElements())}),r.push(d),s.append("label").attr("for",n+"ConfigCheckbox").text(o)}var i={},r=[];return i.setup=function(){var i=t.select("#m_modes");i.on("mouseover",function(){var t=e.options().searchMenu();t.hideSearchEntries()}),o("showZoomSlider","Zoom controls","#zoomSliderOption",e.options().zoomSlider().showSlider,0),n("#maxLabelWidthSliderOption","maxLabelWidth","Max label width",e.options().maxLabelWidth)},i.setCheckBoxValue=function(e,t){for(var n=0;nTrying to convert with other communication protocol."),e(t)}function i(e){f.append_message_toLastBulletPoint("
    Trying to convert with other communication protocol.");var t=e[0],n=e[1],o=new FormData;o.append("ontology",t);var i=new XMLHttpRequest;i.open("POST","convert",!0);var r="";i.onload=function(){200===i.status&&(r=i.responseText,f.setCachedOntology(n,r),h=n,L=!0,f.append_message_toLastBulletPoint("
    Success, but you are using a deprecated OWL2VOWL service!"),s(r))},i.onreadystatechange=function(){4===i.readyState&&0===i.status&&(f.append_message_toLastBulletPoint("
    Old protocol also failed to establish connection to OWL2VOWL service!"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage())},i.send(o)}function r(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){O.setBusyMode(),t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_bulletPoint("Failed to load ontology"),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage()):(u=o.responseText,f.setConversionID(u),n[0]=n[0]+"&sessionId="+u,n.push(u),e(n))})}function a(e,n){t.xhr("serverTimeStamp","application/text",function(t,o){t?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),i(n)):(u=o.responseText,f.setConversionID(u),console.log("Request Session ID:"+u),e(n[0],n[1],u))})}function l(n){var o;n.indexOf("new_ontology")!==-1&&(O.hideLoadingIndicator(),e.showEditorHintIfNeeded(),o="./data/new_ontology.json"),C=!1;var i="";if(f.cachedOntology(n))f.append_bulletPoint("Loading already cached ontology: "+n),i=f.cachedOntology(n),C=!0,O.showLoadingIndicator(),s(i);else{var r="./data/"+n+".json";o&&(r=o),t.xhr(r,"application/json",function(t,o){var r=!t;r?(i=o.responseText,s(i)):(f.append_bulletPoint("Failed to load: "+n),f.append_message_toLastBulletPoint(" ERROR STATUS: "+t.status),e.handleOnLoadingError(),O.setErrorMode())})}}function s(e){f.append_bulletPoint("Reading ontology graph ... ");var t=f.getLoadingFunction();t(e,h,"noAlternativeNameYet")}function d(e){var t=(e.match(/#/g)||[]).length,n=[];if(t>0)for(var o=e.split("#"),i=1;i=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else h=e[0],n()}function r(e){if(e[0].indexOf(a)>=0){var t=e[0].length,i=e[0].substr(5,t-6),r=i.split(";");o(r)}else n();h=e[1]}var a="opts=";switch(t.length){case 0:n();break;case 1:i(t);break;case 2:r(t);break;default:console.log("To many input parameters , loading default config"),n(),h="ERROR_TO_MANY_INPUT_PARAMETERS"}}function p(e){var t="iri=",n="url=",o="file=",i=-1;return i=e.substr(0,o.length)===o?v:e.substr(0,n.length)===n?m:e.substr(0,t.length)===t?y:g}var u,f,h,g=0,v=1,m=2,y=3,b=0,x=1,w=2,k=1,C=!1,L=!1,M=!1,_=!0,E="ontology",O={},S=t.select("#loading-info"),F=t.select("#loadingInfo-container"),I=t.select("#show-loadingInfo-button"),T=t.select("#loadingIndicator_closeButton");return O.checkForScreenSize=function(){var n=e.options().width(),o=e.options().height();n<270?t.select("#loading-info").classed("hidden",!0):_===!0?t.select("#loading-info").classed("hidden",!1):t.select("#loading-info").classed("hidden",!0),o<150?t.select("#loadingInfo_msgBox").classed("hidden",!0):t.select("#loadingInfo_msgBox").classed("hidden",!1),o<80?(t.select("#progressBarContext").classed("hidden",!0),t.select("#layoutLoadingProgressBarContainer").style("height","20px")):(t.select("#progressBarContext").classed("hidden",!1),t.select("#layoutLoadingProgressBarContainer").style("height","50px"))},O.getProgressBarMode=function(){return k},O.successfullyLoadedOntology=function(){return C},O.missingImportsWarning=function(){return L},O.setOntologyMenu=function(e){f=e},O.showErrorDetailsMessage=function(){O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!0),O.scrollDownDetails()},O.showWarningDetailsMessage=function(){t.select("#currentLoadingStep").style("color","#ff0"),O.showLoadingIndicator(),O.expandDetails(),t.select("#loadingIndicator_closeButton").classed("hidden",!1),O.scrollDownDetails()},O.scrollDownDetails=function(){var e=t.select("#loadingInfo-container").node();e.scrollTop=e.scrollHeight},O.hideLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!0),_=!1},O.showLoadingIndicator=function(){t.select("#loading-info").classed("hidden",!1),_=!0},O.setup=function(){F.classed("hidden",!M),I.on("click",function(){M=!M,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)}),T.on("click",function(){S.classed("hidden",!0)}),O.setBusyMode()},O.updateSize=function(){M=!F.classed("hidden"),F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.getDetailsState=function(){return M},O.expandDetails=function(){M=!0,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.collapseDetails=function(){M=!1,F.classed("hidden",!M),I.classed("accordion-trigger-active",M)},O.setBusyMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").style("width","20%"),t.select("#progressBarValue").classed("busyProgressBar",!0),k=x},O.setSuccessful=function(){t.select("#currentLoadingStep").style("color","#0f0")},O.setErrorMode=function(){t.select("#currentLoadingStep").style("color","#f00"),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="",k=b},O.setPercentMode=function(){t.select("#currentLoadingStep").style("color","#fff"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").node().innherHTML="0%",t.select("#progressBarValue").style("width","0%"),k=w},O.setPercentValue=function(e){t.select("#progressBarValue").node().innherHTML=e},O.emptyGraphContentError=function(){e.clearGraphData(),f.append_message_toLastBulletPoint("failed"),f.append_message_toLastBulletPoint('
    Error: Received empty graph'),C=!1,e.handleOnLoadingError(),O.setErrorMode()},O.isThreadCanceled=function(){},O.initializeLoader=function(n){if(n===!0&&null!==e.getCachedJsonObj()){var o=JSON.stringify(e.getCachedJsonObj()),i=h;f.setCachedOntology(i,o)}u=-1e4,f.setConversionID(u),f.stopLoadingTimer(),e.clearGraphData(),O.setBusyMode(),O.showLoadingIndicator(),O.collapseDetails(),L=!1,t.select("#loadingIndicator_closeButton").classed("hidden",!0),f.clearDetailInformation()},O.parseUrlAndLoadOntology=function(n){var o=!0;n===!1&&(o=!1),e.clearAllGraphData(),O.initializeLoader(o);var i=String(location),r=d(i);h=E,c(r);var a=p(h);switch(t.select("#progressBarValue").node().innerHTML=" ",a){case 0:O.from_presetOntology(h);break;case 1:O.from_FileUpload(h);break;case 2:O.from_JSON_URL(h);break;case 3:O.from_IRI_URL(h);break;default:console.log("Could not identify loading method , or not IMPLEMENTED YET")}},O.from_JSON_URL=function(e){var t=decodeURIComponent(e.slice("url=".length));h=t;var o="";f.cachedOntology(t)?(f.append_bulletPoint("Loading already cached ontology: "+t),o=f.cachedOntology(t),C=!0,s(o)):(f.append_message("Retrieving ontology from JSON URL "+t),n(f.callbackLoad_JSON_FromURL,["read?json="+t,t]))},O.requestServerTimeStampForDirectInput=function(e,n){t.xhr("serverTimeStamp","application/text",function(o,i){o?(f.append_bulletPoint("Could not establish connection to OWL2VOWL service"),O.setErrorMode(),f.append_message_toLastBulletPoint("
    Could not connect to OWL2VOWL service "),O.showErrorDetailsMessage(),t.select("#progressBarValue").style("width","0%"),t.select("#progressBarValue").classed("busyProgressBar",!1),t.select("#progressBarValue").text("0%")):(u=i.responseText,f.setConversionID(u),e(n,["conversionID"+u,u]))})},O.from_IRI_URL=function(e){var t=decodeURIComponent(e.slice("iri=".length));h=t;var n="";if(f.cachedOntology(t))f.append_bulletPoint("Loading already cached ontology: "+t),n=f.cachedOntology(t),C=!0,s(n);else{var o=encodeURIComponent(t);f.append_bulletPoint("Retrieving ontology from IRI: "+t),r(f.callbackLoad_Ontology_FromIRI,["convert?iri="+o,t])}},O.from_FileUpload=function(n){O.setBusyMode();var o=decodeURIComponent(n.slice("file=".length));h=o;var i="";if(f.cachedOntology(o))f.append_bulletPoint("Loading already cached ontology: "+o),i=f.cachedOntology(o),C=!0,s(i);else{f.append_bulletPoint("Retrieving ontology from file: "+o);var r=t.select("#file-converter-input").property("files")[0];if(!r||o&&o!==r.name)return f.append_message_toLastBulletPoint('
    No cached version of "'+o+'" was found.
    Please reupload the file.'),O.setErrorMode(),t.select("#progressBarValue").classed("busyProgressBar",!1),void e.handleOnLoadingError();if(o=r.name,o.match(/\.json$/)){f.setConversionID(-1e4);var l=new FileReader;l.readAsText(r),l.onload=function(){i=l.result,h=o,s(i)}}else{var d=[r,o];a(f.callbackLoadFromOntology,d)}}},O.directInput=function(e){f.clearDetailInformation(),s(e)},O.loadFromOWL2VOWL=function(e,n){C=!1;var o=t.select("#bulletPoint_container").node().innerHTML;o.indexOf("(with warnings)")!==-1&&(L=!0),f.cachedOntology(e)?(f.append_bulletPoint("Loading already cached ontology: "+n),s(e)):s(e)},O.from_presetOntology=function(e){f.append_bulletPoint("Retrieving ontology: "+e),l(e)},O.notValidJsonFile=function(){e.clearGraphData(),f.append_message_toLastBulletPoint(" failed"),f.append_message_toLastBulletPoint("
    Error: Received empty graph"),C=!1,e.handleOnLoadingError()},O.validJsonFile=function(){f.append_message_toLastBulletPoint("done"),C=!0},O}}).call(t,n(6))},343:function(e,t,n){(function(t){e.exports=function(e){function n(){for(var e=document.styleSheets[1].cssRules,t=0;tYou can now modify an existing ontology or create a new one via the ontology menu.
    You can save any ontology using the export menu (and exporting it as TTL file).",o.style("padding","5px"),o.style("line-height","1.2em"),o.style("font-size","1.2em");var a=t.append("ul");a.append("li").node().innerHTML="Create a class with double click / tap on empty canvas area.",a.append("li").node().innerHTML="Edit names with double click / tap on element.",a.append("li").node().innerHTML="Selection of default constructors is provided in the left sidebar.",a.append("li").node().innerHTML="Additional editing functionality is provided in the right sidebar.";var d=t.append("label");d.node().id="killWarningErrorMessages_"+e,d.node().innerHTML="Got It",d.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showMessage=function(e){var t=l[e];t.classed("hidden",!1),t.style("-webkit-animation-name","warn_ExpandAnimation"),t.style("-webkit-animation-duration","0.5s")},r.closeMessage=function(e){var n;if(void 0===e){var o=this.id;n=o.split("_")[1]}else n=e;e&&e.indexOf("_")!==-1&&(n=e.split("_")[1]),d[n]=!1;var i=l[n];i.style("-webkit-animation-name","warn_CollapseAnimation"),i.style("-webkit-animation-duration","0.5s");for(var r=i.node().getBoundingClientRect().height,a=i.node().parentNode,s=[],c=a.children,u=c.length,f=i.node().id,h=!1,g=0;g0){var v=f.append("div");v.style("padding","5px");var m=v.append("div");m.style("display","inline-flex"),m.node().innerHTML="Warning:",m.style("padding-right","3px");var y=v.append("div");y.style("display","inline-flex"),y.style("max-width",g+"px"),y.node().innerHTML=n}if(o.length>0){var b=f.append("div");b.style("padding","5px");var x=b.append("div");x.style("display","inline-flex"),x.style("padding-right","3px"),x.node().innerHTML="Reason:";var w=b.append("div");w.style("display","inline-flex"),w.style("max-width",g+"px"),w.node().innerHTML=o}if(i.length>0){var k=f.append("div");k.style("padding","5px");var C=k.append("div");C.style("display","inline-flex"),C.style("padding-right","8px"),C.node().innerHTML="Action:";var L=k.append("div");L.style("display","inline-flex"),L.style("max-width",g+"px"),L.node().innerHTML=i}var M=f.append("label");M.node().id="killWarningErrorMessages_"+u,M.node().innerHTML="Continue",M.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0),a(c[0],c[1],c[2],c[3])}),f.append("span").node().innerHTML="|";var _=f.append("label");_.node().id="cancelButton_"+u,_.node().innerHTML="Cancel",_.on("click",function(){r.closeMessage(this.id),t.select("#blockGraphInteractions").classed("hidden",!0)}),h.classed("hidden",!1),h.style("-webkit-animation-name","warn_ExpandAnimation"),h.style("-webkit-animation-duration","0.5s")},r.showFilterHint=function(){var e=r.addMessageBox(),t=s[e],n=l[e];d[e]=!0,o=e;var i=t.append("div");i.node().innerHTML="Collapsing filter activated.
    The number of visualized elements has been automatically reduced.
    Use the degree of collapsing slider in the filter menu to adjust the visualization.

    Note: A performance decrease could be experienced with a growing amount of visual elements in the graph.",i.style("padding","5px"),i.style("line-height","1.2em"),i.style("font-size","1.2em");var a=t.append("label");a.node().id="killFilterMessages_"+e,a.node().innerHTML="Got It",a.on("click",r.closeMessage),n.classed("hidden",!1),n.style("-webkit-animation-name","warn_ExpandAnimation"),n.style("-webkit-animation-duration","0.5s")},r.showWarning=function(t,n,o,i,a,c){var p=r.addMessageBox(),u=s[p],f=l[p];d[p]=!0;var h=.5*e.options().width();if(t.length>0){var g=u.append("div");g.style("padding","5px");var v=g.append("div");v.style("display","inline-flex"),v.node().innerHTML="Warning:",v.style("padding-right","3px");var m=g.append("div");m.style("display","inline-flex"),m.style("max-width",h+"px"),m.node().innerHTML=t}if(n.length>0){var y=u.append("div");y.style("padding","5px");var b=y.append("div");b.style("display","inline-flex"),b.style("padding-right","3px"),b.node().innerHTML="Reason:";var x=y.append("div");x.style("display","inline-flex"),x.style("max-width",h+"px"),x.node().innerHTML=n}if(o.length>0){var w=u.append("div");w.style("padding","5px");var k=w.append("div");k.style("display","inline-flex"),k.style("padding-right","8px"),k.node().innerHTML="Action:";var C=w.append("div");C.style("display","inline-flex"),C.style("max-width",h+"px"),C.node().innerHTML=o}var L;if(1===i&&(L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage)),2===i){L=u.append("label"),L.node().id="killWarningErrorMessages_"+p,L.node().innerHTML="Got It",L.on("click",r.closeMessage),u.append("span").node().innerHTML="|";var M=u.append("label");M.node().id="zoomElementThing_"+p,M.node().innerHTML="Zoom to element ",M.on("click",function(){e.zoomToElementInGraph(c)}),u.append("span").node().innerHTML="|";var _=u.append("label");_.node().id="showElementThing_"+p,_.node().innerHTML="Indicate element",_.on("click",function(){c.halo()===!1?(c.drawHalo(),e.updatePulseIds([c.id()])):(c.removeHalo(),c.drawHalo(),e.updatePulseIds([c.id()]))})}f.classed("hidden",!1),f.style("-webkit-animation-name","warn_ExpandAnimation"),f.style("-webkit-animation-duration","0.5s"),f.classed("hidden",!1)},r}}).call(t,n(6))},344:function(e,t,n){(function(t){e.exports=function(e){var n={},o=t.select("#DirectInputContent");o.style("top","0"),o.style("position","absolute");var i=t.select("#directInputTextArea"),r=!1;return o.style("border","1px solid black"),o.style("padding","5px"),o.style("background","#fff"),n.handleDirectUpload=function(){var o,r=i.node().value;try{o=JSON.parse(r),e.options().loadingModule().directInput(r),o.class.length>0&&n.setDirectInputMode(!1)}catch(n){try{e.options().loadingModule().initializeLoader(),e.options().loadingModule().requestServerTimeStampForDirectInput(e.options().ontologyMenu().callbackLoad_Ontology_From_DirectInput,r)}catch(e){console.log("Error "+e),t.select("#Error_onLoad").classed("hidden",!1),t.select("#Error_onLoad").node().innerHTML="Failed to convert the input!"}}},n.handleCloseButton=function(){n.setDirectInputMode(!1)},n.updateLayout=function(){var t=e.options().width(),n=e.options().height();i.style("width",.4*t+"px"),i.style("height",.7*n+"px")},n.setDirectInputMode=function(e){r=e?e:!r,n.updateLayout(),t.select("#Error_onLoad").classed("hidden",!0),o.classed("hidden",!r)},t.select("#directUploadBtn").on("click",n.handleDirectUpload),t.select("#close_directUploadBtn").on("click",n.handleCloseButton),n}}).call(t,n(6))}}); diff --git a/dist/vocabulary/mapping/webvowl/js/webvowl.js b/dist/vocabulary/mapping/webvowl/js/webvowl.js new file mode 100644 index 0000000..fe3a381 --- /dev/null +++ b/dist/vocabulary/mapping/webvowl/js/webvowl.js @@ -0,0 +1,7 @@ +webvowl=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){function r(e,t){var n=t.key.replace(":","").toLowerCase();e[n]=t.value}n(1);var o=n(5)(),a=n(40)(),i={};i.graph=n(57),i.options=n(64),i.version="1.1.4",i.util={},i.util.constants=n(12),i.util.languageTools=n(11),i.util.elementTools=n(63),i.util.prefixTools=n(72),i.modules={},i.modules.colorExternalsSwitch=n(73),i.modules.compactNotationSwitch=n(74),i.modules.datatypeFilter=n(75),i.modules.disjointFilter=n(77),i.modules.focuser=n(78),i.modules.emptyLiteralFilter=n(79),i.modules.nodeDegreeFilter=n(80),i.modules.nodeScalingSwitch=n(81),i.modules.objectPropertyFilter=n(82),i.modules.pickAndPin=n(83),i.modules.selectionDetailsDisplayer=n(315),i.modules.setOperatorFilter=n(316),i.modules.statistics=n(317),i.modules.subclassFilter=n(318),i.nodes={},o.entries().forEach(function(e){r(i.nodes,e)}),i.properties={},a.entries().forEach(function(e){r(i.properties,e)}),e.exports=i},function(e,t){},,,,function(e,t,n){(function(t){var r=[];r.push(n(7)),r.push(n(18)),r.push(n(19)),r.push(n(26)),r.push(n(27)),r.push(n(28)),r.push(n(29)),r.push(n(30)),r.push(n(31)),r.push(n(32)),r.push(n(33)),r.push(n(34)),r.push(n(38)),r.push(n(39));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t){e.exports=d3},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["external"]).type("ExternalClass")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(9),o=n(14),a=n(17)();e.exports=function(){var e=function(e){function t(){var t=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(t=void 0);var n=new o(u.nodeElement(),t),r=u.equivalentsString(),a=r?",":"";return n.addText(u.labelForCurrentLanguage(),"",a),n.addEquivalents(r),e.options().compactNotation()||n.addSubText(u.indicationString()),n.addInstanceCount(u.individuals().length),n}r.apply(this,arguments);var n,i,s,l,u=this,c=!1,d=50,p=null,f=!1;this.setRectangularRepresentation=function(e){f=e},this.getRectangularRepresentation=function(){return f},this.getHalos=function(){return p},this.collapsible=function(e){return arguments.length?(c=e,this):c},this.textBlock=function(e){return arguments.length?(l=e,this):l},this.radius=function(e){return arguments.length?(d=e,this):d},this.setHoverHighlighting=function(e){u.nodeElement().selectAll("circle").classed("hovered",e)},this.textWidth=function(e){var t=2*this.actualRadius();if(e){var n=Math.abs(e)/this.actualRadius(),r=n<=1;t=r?Math.cos(n)*t:0}return t},this.toggleFocus=function(){u.focused(!u.focused()),u.nodeElement()&&u.nodeElement().select("circle").classed("focused",u.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.actualRadius=function(){if(!e.options().scaleNodesByIndividuals()||u.individuals().length<=0)return u.radius();var t=8,n=Math.log(u.individuals().length+1)*t+5;return u.radius()+n},this.distanceToBorder=function(){return u.actualRadius()},this.removeHalo=function(){u.halo()&&(u.halo(!1),p&&p.remove())},this.drawHalo=function(e){if(u.halo(!0),p=f===!0?a.drawRectHalo(u.nodeElement(),80,80,5):a.drawHalo(u.nodeElement(),u.actualRadius(),this.removeHalo),e===!1){var t=p.selectAll(".searchResultA");t.classed("searchResultA",!1),t.classed("searchResultB",!0),t.attr("animationRunning",!1)}},this.drawPin=function(){u.pinned(!0);var t=-.7*u.actualRadius(),n=-.7*u.actualRadius();i=a.drawPin(u.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){u.pinned(!1),i&&i.remove(),e.updateStyle()},this.drawCollapsingButton=function(){n=u.nodeElement().append("g").classed("hidden-in-export",!0).attr("transform",function(){var e=-.4*u.actualRadius(),t=.5*u.actualRadius();return"translate("+e+","+t+")"}),n.append("rect").classed("class pin feature",!0).attr("x",0).attr("y",0).attr("width",40).attr("height",24),n.append("line").attr("x1",13).attr("y1",12).attr("x2",27).attr("y2",12),n.append("line").attr("x1",20).attr("y1",6).attr("x2",20).attr("y2",18)},this.draw=function(e,t){var n=u.collectCssClasses();u.nodeElement(e);var r=u.backgroundColor();null===r&&(r=void 0),u.attributes().indexOf("deprecated")>-1&&(r=void 0),t instanceof Array&&(n=n.concat(t)),s=f===!0?a.appendRectangularClass(e,80,80,n,u.labelForCurrentLanguage(),r):a.appendCircularClass(e,u.actualRadius(),n,u.labelForCurrentLanguage(),r),u.postDrawActions(e)},this.redrawElement=function(){s.remove(),l.remove();var e=u.backgroundColor();u.attributes().indexOf("deprecated")>-1&&(e=void 0);var t=u.collectCssClasses();s=f===!0?a.appendRectangularClass(u.nodeElement(),80,80,t,u.labelForCurrentLanguage(),e):a.appendCircularClass(u.nodeElement(),u.actualRadius(),t,u.labelForCurrentLanguage(),e),u.postDrawActions(u.nodeElement())},this.postDrawActions=function(){u.textBlock(t()),u.addMouseListeners(),u.pinned()&&u.drawPin(),u.halo()&&u.drawHalo(!1),u.collapsible()&&u.drawCollapsingButton()},this.redrawLabelText=function(){u.textBlock().remove(),u.textBlock(t()),s.select("title").text(u.labelForCurrentLanguage())},this.equivalentsString=function(){var e=u.equivalents();if(e)return e.map(function(e){return e.labelForCurrentLanguage()}).join(", ")}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(13)();e.exports=function(){var e=function(e){function n(){if(!g.mouseEntered()&&b!==!0){var t=g.nodeElement().node(),n=t.parentNode;g.animationProcess()===!1&&n.appendChild(t),e.isTouchDevice()===!1?(g.setHoverHighlighting(!0),g.mouseEntered(!0),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g)):e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!0,g,!0)}}function a(){g.setHoverHighlighting(!1),g.mouseEntered(!1),e.editorMode()===!0&&e.ignoreOtherHoverEvents()===!1&&e.activateHoverElements(!1)}r.apply(this,arguments);var i,s,l,u,c,d,p,f,h,v,g=this,y=[],m="round",b=!1,x=[];g.editingTextElement=!1,this.isPropertyAssignedToThisElement=function(e){if(console.log("Element IRI :"+e.iri()),"rdfs:subClassOf"===e.type())for(var t=0;t0?this.LINE_DISTANCE:0;e.attr("dy",n+o+"px")},r.prototype.getTextBox=function(){return this._textBlock()},r.prototype._repositionTextBlock=function(){var e=this._lineCount();if(e<1)return void this._textBlock().attr("y",0);var t=this._textBlock().node().getBBox().height;this._textBlock().attr("y",.5*-t+"px")},r.prototype._lineCount=function(){return this._textBlock().property("childElementCount")}},function(e,t,n){(function(t){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}var r=4,o={};o.truncate=function(e,t,o,a){if(t-=isNaN(a)?r:a,isNaN(t)||t<=0)return e;for(var i,s,l,u=e;;){if(s=n(u,o),s<=t)break;if(l=s/t,i=Math.floor(u.length/l),u.length===i)break;u=u.substring(0,i)}return e.length>u.length?e.substring(0,u.length-3)+"...":e},e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){(function(t){function n(e,t){var n=e.append("text").classed("text",!0).style("fill",this._getTextColor(t)).attr("text-anchor","middle");this._textBlock=function(){return n}}function r(e){return.3*(e.r/255)+.59*(e.g/255)+.11*(e.b/255)}e.exports=n,n.prototype.LINE_DISTANCE=1,n.prototype.CSS_CLASSES={default:"text",subtext:"subtext",instanceCount:"instance-count"},n.prototype.DARK_TEXT_COLOR="#000",n.prototype.LIGHT_TEXT_COLOR="#fff",n.prototype.translation=function(e,t){return this._textBlock().attr("transform","translate("+e+", "+t+")"),this},n.prototype.remove=function(){return this._textBlock().remove(),this},n.prototype._applyPreAndPostFix=function(e,t,n){return t&&(e=t+e),n&&(e+=n),e},n.prototype._getTextColor=function(e){if(!e)return n.prototype.DARK_TEXT_COLOR;var o=t.rgb(e);return r(o)>.5?n.prototype.DARK_TEXT_COLOR:n.prototype.LIGHT_TEXT_COLOR}}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e,t){t instanceof Array&&t.forEach(function(t){e.classed(t,!0)})}function n(e,t){t&&e.append("title").text(t)}function r(e,t){t&&e.style("fill",t)}var o={};return o.appendCircularClass=function(t,o,a,i,s){var l=t.append("circle").classed("class",!0).attr("r",o);return e(l,a),n(l,i),r(l,s),l},o.appendRectangularClass=function(t,o,a,i,s,l){var u=t.append("rect").classed("class",!0).attr("x",-o/2).attr("y",-a/2).attr("width",o).attr("height",a);return e(u,i),n(u,s),r(u,l),u},o.drawPin=function(e,n,r,o,a,i){var s=e.append("g").classed("hidden-in-export",!0).attr("transform","translate("+n+","+r+")"),l=s.append("circle").classed("class pin feature",!0).attr("r",12).on("click",function(){o&&o(),t.event.stopPropagation()});return s.append("line").attr("x1",0).attr("x2",0).attr("y1",12).attr("y2",16),i===!0&&s.append("circle").attr("r",15).attr("cx",-7).attr("cy",-7).classed("superHiddenElement ",!0).classed("superOpacityElement",!a()).on("click",function(){o&&o(),t.event.stopPropagation()}).on("mouseover",function(){l.classed("feature_hover",!0)}).on("mouseout",function(){l.classed("feature_hover",!1)}),s},o.drawRectHalo=function(e,t,n,r){var o;if(o=e.nodeElement?e.nodeElement():e.labelElement()){var a=o.append("g").classed("hidden-in-export",!0);return a.append("rect").classed("searchResultA",!0).attr("x",(-t-r)/2).attr("y",(-r-n)/2).attr("width",t+r).attr("height",n+r),a.attr("animationRunning",!0),a.node().addEventListener("webkitAnimationEnd",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a.node().addEventListener("animationend",function(){var e=a.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0),a.attr("animationRunning",!1)}),a}},o.drawHalo=function(e,t){if(void 0===e)return null;var n=e.append("g").classed("hidden-in-export",!0);return n.append("circle",":first-child").classed("searchResultA",!0).attr("r",t+15),n.attr("animationRunning",!0),n.node().addEventListener("webkitAnimationEnd",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n.node().addEventListener("animationend",function(){var e=n.selectAll(".searchResultA");e.classed("searchResultA",!1).classed("searchResultB",!0).attr("animationRunning",!1),n.attr("animationRunning",!1)}),n},function(){return o}}()}).call(t,n(6))},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.type("owl:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("complementof").type("owl:complementOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0);r.append("circle").attr("class","symbol").classed("fineline",!0).attr("r",10),r.append("path").attr("class","nofill").attr("d","m -7,-1.5 12,0 0,6").attr("transform","scale(.5)"),r.attr("transform","translate(-"+(t.radius()-15)/100+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(21),o=n(22),a=n(8),i=n(17)();e.exports=function(){var e=function(e){a.apply(this,arguments);var t=this,n=t.setHoverHighlighting,s=t.postDrawActions;this.setHoverHighlighting=function(e){n(e),t.links().filter(function(e){return e instanceof o}).filter(function(e){return e.domain().equals(t)}).forEach(function(t){t.property().setHighlighting(e)})},this.draw=function(e){t.nodeElement(e),i.appendCircularClass(e,t.actualRadius(),t.collectCssClasses().join(" "),t.labelForCurrentLanguage(),t.backgroundColor())},this.postDrawActions=function(){s(),t.textBlock().remove();var n=new r(t.nodeElement(),t.backgroundColor()),o=t.equivalentsString(),a=o?-30:-17,i=o?",":"";n.addText(t.labelForCurrentLanguage(),a,"",i),n.addEquivalents(o,-17),e.options().compactNotation()?n.addInstanceCount(t.individuals().length,17):t.indicationString().length>0?(n.addSubText(t.indicationString(),17),n.addInstanceCount(t.individuals().length,30)):n.addInstanceCount(t.individuals().length,17),t.textBlock(n)}};return e.prototype=Object.create(a.prototype),e.prototype.constructor=e,e}()},function(e,t,n){function r(e,t){a.apply(this,arguments)}var o=n(15)(),a=n(16);e.exports=r,r.prototype=Object.create(a.prototype),r.prototype.constructor=r,r.prototype.addText=function(e,t,n,r){e&&this.addTextline(e,this.CSS_CLASSES.default,t,n,r)},r.prototype.addSubText=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.subtext,t,"(",")")},r.prototype.addEquivalents=function(e,t){e&&this.addTextline(e,this.CSS_CLASSES.default,t)},r.prototype.addInstanceCount=function(e,t){e&&this.addTextline(e.toString(),this.CSS_CLASSES.instanceCount,t)},r.prototype.addTextline=function(e,t,n,r,a){var i=o.truncate(e,this._textBlock().datum().textWidth(n),t),s=this._textBlock().append("tspan").classed(this.CSS_CLASSES.default,!0).classed(t,!0).text(this._applyPreAndPostFix(i,r,a)).attr("x",0);this._repositionTextLine(s,n)},r.prototype._repositionTextLine=function(e,t){var n=window.getComputedStyle(e.node()).getPropertyValue("font-size"),r=parseFloat(n),o=1/3*r;e.attr("y",o+(t||0)+"px")}},function(e,t,n){function r(e,t,n){s.apply(this,arguments)}function o(e,t){var n=i(e,t);n.attr("refX",-8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function a(e,t){var n=i(e,t);n.attr("refX",8),n.append("path").attr("d","M0,-8L8,0L0,8L-8,0L0,-8L8,0").classed(t.markerType(),!0),t.markerElement(n)}function i(e,t){return e.append("marker").datum(t).attr("id",t.markerId()).attr("viewBox","-10 -10 20 20").attr("markerWidth",20).attr("markerHeight",20).attr("markerUnits","userSpaceOnUse").attr("orient","auto")}var s=n(23);e.exports=r,r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.draw=function(e,t){var n=this.label().property(),r=this.label().inverse();o(t,n),r&&a(t,r),s.prototype.draw.apply(this,arguments),e.attr("marker-start","url(#"+n.markerId()+")"),r&&e.attr("marker-end","url(#"+r.markerId()+")")}},function(e,t,n){function r(e,t,r){var a,i,s,l,u,c=new o(r,this),d=n(25)(e,c,this),p=n(25)(c,t,this);this.layers=function(e){return arguments.length?(a=e,this):a},this.layerIndex=function(e){return arguments.length?(i=e,this):i},this.loops=function(e){return arguments.length?(s=e,this):s},this.loopIndex=function(e){return arguments.length?(l=e,this):l},this.domain=function(){return e},this.label=function(){return c},this.linkParts=function(){return[p,d]},this.range=function(){return t},this.pathObj=function(e){return arguments.length?void(u=e):u}}var o=n(24);e.exports=r,r.prototype.draw=function(e){var t=this.label().property(),n=this.label().inverse();t.linkGroup(e),n&&n.linkGroup(e);var r=e.append("path");r.classed("link-path",!0).classed(this.domain().cssClassOfNode(),!0).classed(this.range().cssClassOfNode(),!0).classed(t.linkType(),!0),this.pathObj(r)},r.prototype.inverse=function(){return this.label().inverse()},r.prototype.isLoop=function(){return this.domain().equals(this.range())},r.prototype.property=function(){return this.label().property()}},function(e,t){function n(e,t){this.link=function(){return t},this.property=function(){return e},Object.defineProperty(this,"fixed",{get:function(){var t=!!e.inverse()&&e.inverse().fixed;return e.fixed||t},set:function(t){e.fixed=t,e.inverse()&&(e.inverse().fixed=t)}}),this.frozen=e.frozen,this.locked=e.locked,this.pinned=e.pinned}e.exports=n,n.prototype.actualRadius=function(){return this.property().actualRadius()},n.prototype.draw=function(e){return this.property().draw(e)},n.prototype.inverse=function(){return this.property().inverse()},n.prototype.equals=function(e){if(!e)return!1;var t=e instanceof n,r=this.property().equals(e.property()),o=!1;return this.inverse()?o=this.inverse().equals(e.inverse()):e.inverse()||(o=!0),t&&r&&o}},function(e,t){e.exports=function(e,t,n){var r={},o=e,a=n,i=t;return Object.defineProperties(r,{source:{value:o,writable:!0},target:{value:i,writable:!0}}),r.domain=function(){return o},r.link=function(){return a},r.range=function(){return i},r}},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).type("owl:DeprecatedClass").styleClass("deprecated").indications(["deprecated"])};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("disjointunionof").type("owl:disjointUnionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("text").attr("class","link").text("1").attr("transform","scale(.7)translate(3,5)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8),o=n(17)();e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n=4,a=this,i=a.actualRadius;this.styleClass("equivalentclass").type("owl:equivalentClass"),this.actualRadius=function(){return i()+n},this.redrawElement=function(){t.remove(),a.textBlock().remove();var e=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(e=void 0);var r=a.collectCssClasses();t=a.nodeElement().append("g"),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),e)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),console.log(r),console.log(a.attributes()),console.log("what is bgColor"+e),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),e)),a.postDrawActions(a.nodeElement())},this.draw=function(e){var r=a.collectCssClasses();a.nodeElement(e),t=e.append("g");var i=a.backgroundColor();a.attributes().indexOf("deprecated")>-1&&(i=void 0),a.getRectangularRepresentation()===!0?(o.appendRectangularClass(t,84,84,["white","embedded"]),o.appendRectangularClass(t,80-n,80-n,r,a.labelForCurrentLanguage(),i)):(o.appendCircularClass(t,a.actualRadius(),["white","embedded"]),o.appendCircularClass(t,a.actualRadius()-n,r,a.labelForCurrentLanguage(),i)),a.postDrawActions()},a.setHoverHighlighting=function(e){a.nodeElement().selectAll("circle:last-of-type").classed("hovered",e)}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){function t(){var e=18,t=5,n=-(e/2),r=7,o=5,a=e-o,i="M"+t+","+n,s="c"+r+","+o+" "+r+","+a+" 0,"+e,l="c"+-r+","+-o+" "+-r+","+-a+" 0,"+-e;return i+s+l}r.apply(this,arguments);var n=this,o=n.draw,a=t();this.styleClass("intersectionof").type("owl:intersectionOf"),this.draw=function(e){o(e);var t=e.append("g").classed("embedded",!0),r=10;t.append("path").attr("class","nostroke").classed("symbol",!0).attr("d",a),t.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("circle").attr("cx",10).attr("class","nofill").classed("fineline",!0).attr("r",r),t.append("path").attr("class","nofill").attr("d","m 9,5 c 0,-2 0,-4 0,-6 0,0 0,0 0,0 0,0 0,-1.8 -1,-2.3 -0.7,-0.6 -1.7,-0.8 -2.9,-0.8 -1.2,0 -2,0 -3,0.8 -0.7,0.5 -1,1.4 -1,2.3 0,2 0,4 0,6").attr("transform","scale(.5)translate(5,0)"),t.attr("transform","translate(-"+(n.radius()-15)/7+",-"+(n.radius()-15)/100+")"),n.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(31);e.exports=function(){var e=function(e){r.apply(this,arguments),this.label("Nothing").type("owl:Nothing").iri("http://www.w3.org/2002/07/owl#Nothing")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.label("Thing").type("owl:Thing").iri("http://www.w3.org/2002/07/owl#Thing").radius(30),this.draw=function(e){t(e,["white","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(20);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw;this.styleClass("unionof").type("owl:unionOf"),this.draw=function(e){n(e);var r=e.append("g").classed("embedded",!0),o=10;r.append("circle").attr("class","symbol").attr("r",o),r.append("circle").attr("cx",10).attr("class","symbol").classed("fineline",!0).attr("r",o),r.append("circle").attr("class","nofill").classed("fineline",!0).attr("r",o),r.append("path").attr("class","link").attr("d","m 1,-3 c 0,2 0,4 0,6 0,0 0,0 0,0 0,2 2,3 4,3 2,0 4,-1 4,-3 0,-2 0,-4 0,-6").attr("transform","scale(.5)translate(5,0)"),r.attr("transform","translate(-"+(t.radius()-15)/7+",-"+(t.radius()-15)/100+")"),t.postDrawActions()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).type("rdfs:Class")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t="undefined";this.attributes(["datatype"]).type("rdfs:Datatype").styleClass("datatype"),this.dType=function(e){return arguments.length?void(t=e):t}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(36);e.exports=function(){var e=function(e){r.apply(this,arguments)};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(9),o=n(14),a=n(17)(),i=n(37)();e.exports=function(){var e=function(e){function n(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth; +return r.remove(),o}r.apply(this,arguments);var s,l,u,c,d=this,p=20,f=60,h=80,v=80,g=80,y=p/2;d.renderType("rect"),this.height=function(e){return arguments.length?(p=e,this):p},this.width=function(e){return arguments.length?(f=e,this):f},this.getHalos=function(){return l},this.actualRadius=function(){return y},this.distanceToBorder=function(e,t){return i.distanceToBorder(d,e,t)},this.setHoverHighlighting=function(e){d.nodeElement().selectAll("rect").classed("hovered",e);var t=d.getHalos();if(t){var n=t.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0)}},this.textWidth=function(){return h},this.width=function(){return h},this.getMyWidth=function(){var e=d.labelForCurrentLanguage();v=n(e,"text")+20;var t=d.indicationString(),r=n(t,"subtext")+20;return r>v&&(v=r),v},this.textWidth=function(){return d.width()},this.toggleFocus=function(){d.focused(!d.focused()),d.nodeElement().select("rect").classed("focused",d.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.draw=function(t,n){var r=d.collectCssClasses();d.nodeElement(t),n instanceof Array&&(r=r.concat(n)),h=e.options().dynamicLabelWidth()===!0?Math.min(d.getMyWidth(),e.options().maxLabelWidth()):g,f=h,u=a.appendRectangularClass(t,d.width(),d.height(),r,d.labelForCurrentLanguage(),d.backgroundColor()),c=new o(t,d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.addMouseListeners(),d.pinned()&&d.drawPin(),d.halo()&&d.drawHalo(!1)},this.drawPin=function(){d.pinned(!0);var t=-.5*h+5,n=-1.1*p;s=a.drawPin(d.nodeElement(),t,n,this.removePin,e.options().showDraggerObject,e.options().useAccuracyHelper())},this.removePin=function(){d.pinned(!1),s&&s.remove(),e.updateStyle()},this.removeHalo=function(){d.halo(!1),l&&(l.remove(),l=null)},this.drawHalo=function(e){d.halo(!0);var t=0;if(l=a.drawRectHalo(d,this.width(),this.height(),t),e===!1){var n=l.selectAll(".searchResultA");n.classed("searchResultA",!1),n.classed("searchResultB",!0),n.attr("animationRunning",!1)}if(d.pinned()){var r=s.node(),o=r.parentNode;o.appendChild(r)}},this.updateTextElement=function(){c.updateAllTextElements()},this.textBlock=function(){return c},this.redrawLabelText=function(){c.remove(),c=new o(d.nodeElement(),d.backgroundColor()),c.addText(d.labelForCurrentLanguage()),d.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),u.select("title").text(d.labelForCurrentLanguage())},this.animateDynamicLabelWidth=function(t){d.removeHalo();var n=d.height();if(t===!0?(h=Math.min(d.getMyWidth(),e.options().maxLabelWidth()),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n}).each("end",function(){d.updateTextElement()})):(h=g,d.updateTextElement(),u.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-h/2,y:-n/2,width:h,height:n})),d.pinned()===!0&&s){var r=.5*h-10,o=-1.1*n;s.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}},this.addTextLabelElement=function(){var e=d.nodeElement();c=new o(e,this.backgroundColor()),c.addText(d.labelForCurrentLanguage())}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()}).call(t,n(6))},function(e,t){var n={};e.exports=function(){return n},n.distanceToBorder=function(e,t,n){var r,o=e.width(),a=e.height(),i=Math.abs(n/t),s=a/o;if(i<=s){var l=t/(o/2),u=n/l;r=Math.sqrt(Math.pow(o/2,2)+Math.pow(u,2))}else{var c=n/(a/2),d=t/c;r=Math.sqrt(Math.pow(a/2,2)+Math.pow(d,2))}return r}},function(e,t,n){var r=n(35);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw,n=this.label;this.attributes(["datatype"]).label("Literal").styleClass("literal").type("rdfs:Literal").iri("http://www.w3.org/2000/01/rdf-schema#Literal"),this.draw=function(e){t(e,["dashed"])},this.label=function(e){return arguments.length?this:n()}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(8);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.draw;this.attributes(["rdf"]).label("Resource").radius(30).styleClass("rdfsresource").type("rdfs:Resource"),this.draw=function(e){t(e,["rdf","dashed"])}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=[];r.push(n(41)),r.push(n(44)),r.push(n(45)),r.push(n(46)),r.push(n(47)),r.push(n(48)),r.push(n(49)),r.push(n(50)),r.push(n(51)),r.push(n(52)),r.push(n(53)),r.push(n(54)),r.push(n(55)),r.push(n(56));var o=t.map(r,function(e){return(new e).type()});e.exports=function(){return o}}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("allvaluesfromproperty").type("owl:allValuesFrom"),this.generateCardinalityText=function(){var e="A",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(10),o=n(14),a=n(17)(),i=n(13)(),s=n(37)();n(43)();e.exports=function(){var e=28,n=80,l=e/2,u=function(e){function n(){var e=[];return T.subproperties()&&(e=e.concat(T.subproperties())),T.superproperties()&&(e=e.concat(T.superproperties())),e}function l(){var e=n();e.forEach(function(e){e.foreground&&e.foreground()})}function u(){T.mouseEntered()||P===!0||(T.mouseEntered(!0),T.setHighlighting(!0),T.foreground(),l())}function c(){T.mouseEntered(!1),T.setHighlighting(!1)}function d(e,n){n||(n="text");var r=t.select("body").append("div").attr("class",n).attr("id","width-test").attr("style","position:absolute; float:left; white-space:nowrap; visibility:hidden;").text(e),o=document.getElementById("width-test").offsetWidth;return r.remove(),o}function p(t){if(e.ignoreOtherHoverEvents()===!1){var n=!1;T.inverse()&&(n=!0),t===!0&&e.activateHoverElementsForProperties(t,T,n)}}r.apply(this,arguments);var f,h,v,g,y,m,b,x,E,w,O,C,k,P,_,j,M,D,L,A,S,T=this,R="normal",I="filled",N=!0,F=80,H=80,B=[];this.existingPropertyIRI=function(t){return e.options().editSidebar().checkForExistingURL(t)},this.getHalos=function(){return M},this.getPin=function(){return j},this.labelObject=function(e,t){return arguments.length?(A=e,void(T.inverse()&&t!==!0&&T.inverse().labelObject(e,!0))):A},this.hide=function(e){T.labelElement().classed("hidden",e),T.linkGroup().classed("hidden",e),T.cardinalityElement()&&T.cardinalityElement().classed("hidden",e)},this.cardinality=function(e){return arguments.length?(f=e,this):f},this.cardinalityElement=function(e){return arguments.length?(w=e,this):w},this.domain=function(e){return arguments.length?(h=e,this):h},this.inverse=function(e){return arguments.length?(v=e,this):v},this.labelElement=function(e){return arguments.length?(O=e,this):O},this.labelVisible=function(e){return arguments.length?(N=e,this):N},this.link=function(e){return arguments.length?(g=e,this):g},this.linkGroup=function(e){return arguments.length?(C=e,this):C},this.linkType=function(e){return arguments.length?(R=e,this):R},this.markerElement=function(e){return arguments.length?(k=e,this):k},this.markerType=function(e){return arguments.length?(I=e,this):I},this.maxCardinality=function(e){return arguments.length?(m=e,this):m},this.minCardinality=function(e){return arguments.length?(y=e,this):y},this.range=function(e){return arguments.length?(b=e,this):b},this.redundantProperties=function(e){return arguments.length?(B=e,this):B},this.subproperties=function(e){return arguments.length?(x=e,this):x},this.superproperties=function(e){return arguments.length?(E=e,this):E},this.distanceToBorder=function(e,t){return s.distanceToBorder(T,e,t)},this.linkHasMarker=function(){return"dashed"!==R},this.markerId=function(){return"marker"+T.id()},this.toggleFocus=function(){T.focused(!T.focused()),O.select("rect").classed("focused",T.focused()),e.resetSearchHighlight(),e.options().searchMenu().clearText()},this.getShapeElement=function(){return D},this.textBlock=function(){return L},this.redrawElement=function(){D.remove(),L.remove(),T.drawLabel(T.labelElement()),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth())},this.draw=function(t){function n(e){var n=t.append("g").datum(e).classed("label",!0).attr("id",e.id());return e.drawLabel(n),n}if(T.labelVisible()){if(F=e.options().dynamicLabelWidth()===!0?Math.min(T.getMyWidth(),e.options().maxLabelWidth()):H,T.labelElement(n(T)),T.inverse()){var r=T.height()/2+1;T.inverse().labelElement(n(T.inverse())),T.labelElement().attr("transform","translate(0,-"+r+")"),T.inverse().labelElement().attr("transform","translate(0,"+r+")")}return T.pinned()?T.drawPin():T.inverse()&&T.inverse().pinned()&&T.inverse().drawPin(),T.halo()&&T.drawHalo(!1),T.labelElement()}},this.addRect=function(e){var t=e.append("rect").classed(T.styleClass(),!0).classed("property",!0).attr("x",-T.width()/2).attr("y",-T.height()/2).attr("width",T.width()).attr("height",T.height()).on("mouseover",function(){u()}).on("mouseout",function(){c()});t.append("title").text(T.labelForCurrentLanguage()),T.visualAttributes()&&t.classed(T.visualAttributes(),!0);var n=T.backgroundColor();return T.attributes().indexOf("deprecated")>-1?(n=void 0,t.classed("deprecatedproperty",!0)):t.classed("deprecatedproperty",!1),t.style("fill",n),t},this.drawLabel=function(e){D=this.addRect(e);var t=T.equivalentsString(),n=t?",":"",r=T.backgroundColor();T.attributes().indexOf("deprecated")>-1&&(r=void 0),L=new o(e,r),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.equivalentsString=function(){var e=T.equivalents();if(e)return e.map(function(e){return void 0===e||"string"==typeof e?"ERROR":e.labelForCurrentLanguage()}).join(", ")},this.drawCardinality=function(e){var t=this.generateCardinalityText();return!!t&&(T.cardinalityElement(e),0===t.indexOf("A")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -8.8832678,-11.303355 -7.97e-4,0 0.717374,1.833297 8.22987151,21.371761 8.66826659,-21.2123526 0.797082,-1.9927054 0.02471,0 -0.8218553,1.9927054 -2.2517565,5.4201577 -12.4444429,8e-6 -2.2019394,-5.5795821 z").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):0===t.indexOf("E")&&1===t.length?(e.classed("cardinality",!0).attr("text-anchor","middle").append("path").classed("cardinality",!0).attr("d","m -5.5788451,-8.0958763 10.8749368,0 0,8.34681523 -9.5707468,0.040132 9.5707468,-0.040132 0,8.42707237 -10.9150654,0").style("fill","none").attr("transform","matrix(0.5,0,0,0.5,0.5,0.5)"),!0):(e.append("text").classed("cardinality",!0).attr("text-anchor","middle").attr("dy","0.5ex").text(t),!0))},this.generateCardinalityText=function(){if(T.cardinality())return T.cardinality();if(T.minCardinality()||T.maxCardinality()){var e=T.minCardinality()||"*",t=T.maxCardinality()||"*";return e+".."+t}},T.setHighlighting=function(t){T.labelElement&&T.labelElement()&&T.labelElement().select("rect").classed("hovered",t),T.linkGroup().selectAll("path, text").classed("hovered",t),T.markerElement()&&(T.markerElement().select("path").classed("hovered",t),T.cardinalityElement()&&(T.cardinalityElement().selectAll("path").classed("hovered-MathSymbol",t),T.cardinalityElement().classed("hovered",t)));var r=n();r.forEach(function(e){e.labelElement&&e.labelElement()&&e.labelElement().select("rect").classed("indirect-highlighting",t)});var o=!1;e.ignoreOtherHoverEvents()===!1&&(T.inverse()&&(o=!0),e.isTouchDevice()===!1?e.activateHoverElementsForProperties(t,T,o):(T.labelElement().select("rect").classed("hovered",!1),T.linkGroup().selectAll("path, text").classed("hovered",!1),T.markerElement()&&(T.markerElement().select("path").classed("hovered",!1),T.cardinalityElement()&&T.cardinalityElement().classed("hovered",!1)),e.activateHoverElementsForProperties(t,T,o,!0)))},this.foreground=function(){if(T.labelElement()&&null!==T.labelElement().node().parentNode){var e=T.labelElement().node().parentNode,t=e.parentNode,n=T.linkGroup().node(),r=T.linkGroup().node().parentNode;T.animationProcess()===!1&&t.appendChild(e),r.appendChild(n)}},this.drawPin=function(){if(T.pinned(!0),F=e.options().dynamicLabelWidth()===!0?T.getMyWidth():H,T.inverse()){var t=T.labelElement().attr("transform"),n=T.inverse().labelElement().attr("transform"),r=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(t)[2],o=/translate\(\s*([^\s,)]+)[ ,]([^\s,)]+)/.exec(n)[2];j=rF&&(F=n),F},this.textWidth=function(){return F},this.width=function(){return F},this.animateDynamicLabelWidth=function(t){if(T.removeHalo(),void 0!==D){var n=T.height();if(t===!0?(F=Math.min(T.getMyWidth(),e.options().maxLabelWidth()),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n}).each("end",function(){T.updateTextElement()})):(F=H,T.updateTextElement(),D.transition().tween("attr",function(){}).ease("linear").duration(100).attr({x:-F/2,y:-n/2,width:F,height:n})),T.pinned()===!0&&j){var r=-.5*F+10,o=-25;j.transition().tween("attr.translate",function(){}).attr("transform","translate("+r+","+o+")").ease("linear").duration(100)}}},this.redrawLabelText=function(){L.remove(),T.addTextLabelElement(),T.animateDynamicLabelWidth(e.options().dynamicLabelWidth()),D.select("title").text(T.labelForCurrentLanguage())},this.addTextLabelElement=function(){var e=T.labelElement(),t=T.equivalentsString(),n=t?",":"";L=new o(e,this.backgroundColor()),L.addText(this.labelForCurrentLanguage(),"",n),L.addEquivalents(t),L.addSubText(this.indicationString())},this.updateTextElement=function(){L.updateAllTextElements()},this.enableEditing=function(e){e!==!1&&T.raiseDoubleClickEdit(!0)},this.raiseDoubleClickEdit=function(n){if(t.selectAll(".foreignelements").remove(),void 0===T.labelElement()||"owl:disjointWith"===this.type()||"rdfs:subClassOf"===this.type())return void console.log("No Container found");void 0!==_&&T.labelElement().selectAll(".foreignelements").remove(),S=void 0,e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),T.editingTextElement=!0,P=!0,T.labelElement().selectAll("rect").classed("hoveredForEditing",!0),T.frozen(!0),e.killDelayedTimer(),e.ignoreOtherHoverEvents(!1),_=T.labelElement().append("foreignObject").attr("x",-.5*T.textWidth()).attr("y",-13).attr("height",25).attr("class","foreignelements").on("dragstart",function(){return!1}).attr("width",T.textWidth()-2);var r=_.append("xhtml:input").attr("class","nodeEditSpan").attr("id",T.id()).attr("align","center").attr("contentEditable","true").on("dragstart",function(){return!1}),o="#f00",a=T.textWidth()-2;r.style({align:"center",color:"black",width:a+"px","background-color":o,"border-bottom":"2px solid black"});var i=r.node();i.value=T.labelForCurrentLanguage(),i.focus(),i.select(),t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation(),r.on("click",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mouseout",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}),r.on("mousedown",function(){t.event.stopPropagation&&t.event.stopPropagation(),t.event.sourceEvent&&t.event.sourceEvent.stopPropagation&&t.event.sourceEvent.stopPropagation()}).on("keydown",function(){13===t.event.keyCode&&(this.blur(),T.frozen(!1),T.locked(!1))}).on("keyup",function(){if(n){var o=r.node().value,a=o.replaceAll(" ","_"),i=T.baseIri()+a;S=i,t.select("#element_iriEditor").node().title=i,t.select("#element_iriEditor").node().value=e.options().prefixModule().getPrefixRepresentationForFullURI(i)}t.select("#element_labelEditor").node().value=r.node().value}).on("blur",function(){T.editingTextElement=!1,P=!1,T.labelElement().selectAll("rect").classed("hoveredForEditing",!1);var t=r.node().value;if(T.labelElement().selectAll(".foreignelements").remove(),T.label(t),T.backupLabel(t),T.redrawLabelText(),p(!0),e.showHoverElementsAfterAnimation(T,!1),e.ignoreOtherHoverEvents(!1),T.frozen(e.paused()),T.locked(e.paused()),T.domain().frozen(e.paused()),T.domain().locked(e.paused()),T.range().frozen(e.paused()),T.range().locked(e.paused()),e.removeEditElements(),S){var n=e.options().editSidebar().checkProperIriChange(T,S);n!==!1&&e.options().warningModule().showWarning("Already seen this property","Input IRI: "+S+" for element: "+T.labelForCurrentLanguage()+" already been set","Continuing with duplicate property!",1,!1,n),T.iri(S)}e.options().focuserModule().handle(void 0),e.options().focuserModule().handle(T),e.updatePropertyDraggerElements(T)})},T.copyInformation=function(e){T.label(e.label()),T.iri(e.iri()),T.baseIri(e.baseIri()),"owl:ObjectProperty"!==e.type()&&"owl:DatatypeProperty"!==e.type()||T.backupLabel(e.label()),void 0!==e.backupLabel()&&T.backupLabel(e.backupLabel())},i.addTo(this)};return u.prototype=Object.create(r.prototype),u.prototype.constructor=u,u.prototype.height=function(){return e},u.prototype.width=function(){return n},u.prototype.actualRadius=function(){return l},u.prototype.textWidth=u.prototype.width,u}()}).call(t,n(6))},function(e,t,n){(function(t){e.exports=function(){function e(e){return e%=360,e<0&&(e+=360),Math.PI*e/180}function n(e){return e*(180/Math.PI)}var r={},o=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal").tension(-1);return r.calculateNormalVector=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=-o,i=r,s=Math.sqrt(a*a+i*i),l=0!==s?n/s:0;return{x:a*l,y:i*l}},r.getLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i);o.increasedLoopAngle===!0&&(s=120);var l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,E]},r.calculateLoopPath=function(t){var r=t.domain(),a=t.label(),i=360/t.loops().length,s=.8*i,l=Math.min(60,s);a.increasedLoopAngle===!0&&(l=120);var u=a.x-r.x,c=a.y-r.y,d=Math.atan2(c,u),p=n(d),f=p-l/2,h=p+l/2,v=e(f),g=e(h),y=Math.cos(v)*r.actualRadius(),m=Math.sin(v)*r.actualRadius(),b=Math.cos(g)*r.actualRadius(),x=Math.sin(g)*r.actualRadius(),E={x:r.x+y,y:r.y+m},w={x:r.x+b,y:r.y+x};return o([E,t.label(),w])},r.calculateLoopPoints=function(t){var r=t.domain(),o=t.label(),a=360/t.loops().length,i=.8*a,s=Math.min(60,i),l=o.x-r.x,u=o.y-r.y,c=Math.atan2(u,l),d=n(c),p=d-s/2,f=d+s/2,h=e(p),v=e(f),g=Math.cos(h)*r.actualRadius(),y=Math.sin(h)*r.actualRadius(),m=Math.cos(v)*r.actualRadius(),b=Math.sin(v)*r.actualRadius(),x={x:r.x+g,y:r.y+y},E={x:r.x+m,y:r.y+b};return[x,t.label(),E]},r.calculateIntersection=function(e,t,n){var r=t.x-e.x,o=t.y-e.y,a=Math.sqrt(r*r+o*o);if(0===a)return{x:e.x,y:e.y};var i=t.distanceToBorder(r,o),s=(a-(i+n))/a,l=r*s+e.x,u=o*s+e.y;return{x:l,y:u}},r.calculateCenter=function(e,t){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}},function(){return r}}()}).call(t,n(6))},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["datatype"]).styleClass("datatypeproperty").type("owl:DatatypeProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["deprecated"]).styleClass("deprecatedproperty").type("owl:DeprecatedProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42),o=n(14);e.exports=function(){var e=function(e){r.apply(this,arguments);var t,n="Disjoint With";this.label=function(e){return arguments.length?this:n},this.linkType("dashed").styleClass("disjointwith").type("owl:disjointWith"),this.drawLabel=function(n){t=this.addRect(n),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",-12.5).attr("r",10),n.append("circle").classed("symbol",!0).classed("fineline",!0).classed("embedded",!0).attr("cx",12.5).attr("r",10);var r=new o(n,this.backgroundColor());e.options().compactNotation()||r.addSubText("disjoint"),r.translation(0,20)},this.getShapeElement=function(){return t},this.markerElement=function(){}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.styleClass("equivalentproperty").type("owl:equivalentProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["functional"]).styleClass("functionalproperty").type("owl:FunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["inverse functional"]).styleClass("inversefunctionalproperty").type("owl:InverseFunctionalProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["object"]).styleClass("objectproperty").type("owl:ObjectProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this.generateCardinalityText;this.linkType("values-from").markerType("filled values-from").styleClass("somevaluesfromproperty").type("owl:someValuesFrom"),this.generateCardinalityText=function(){var e="E",n=t();return n&&(e+=", "+n),e}};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["symmetric"]).styleClass("symmetricproperty").type("owl:SymmetricProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["transitive"]).styleClass("transitiveproperty").type("owl:TransitiveProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.attributes(["rdf"]).styleClass("rdfproperty").type("rdf:Property")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments);var t=this,n=t.draw,o="Subclass of";this.draw=function(r){return t.labelVisible(!e.options().compactNotation()),n(r)},this.label=function(e){return arguments.length?this:o},this.linkType("dotted").markerType("white").styleClass("subclass").type("rdfs:subClassOf"),t.baseIri("http://www.w3.org/2000/01/rdf-schema#"),t.iri("http://www.w3.org/2000/01/rdf-schema#subClassOf")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){var r=n(42);e.exports=function(){var e=function(e){r.apply(this,arguments),this.labelVisible(!1).linkType("dashed").markerType("white").styleClass("setoperatorproperty").type("setOperatorProperty")};return e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e}()},function(e,t,n){(function(t){var r=n(58),o=n(43)(),a=n(60)(),i=n(63)(),s=n(5)(),l=n(40)();e.exports=function(e){function u(){Te.graphContainerSelector(e);var n=!1;ye=t.layout.force().on("tick",c),me=t.behavior.drag().origin(function(e){return e}).on("dragstart",function(e){t.event.sourceEvent.stopPropagation(),De.ignoreOtherHoverEvents(!0),e.type&&"Class_dragger"===e.type()?(wt.mouseButtonPressed=!0,clearTimeout(Oe),wt.selectedViaTouch(!0),e.parentNode().locked(!0),at=!0):e.type&&"Range_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):e.type&&"Domain_dragger"===e.type()?(De.ignoreOtherHoverEvents(!0),clearTimeout(Oe),ke=kt.parentNode().domain(),Pe=kt.parentNode().range(),kt.setInitialPosition(),kt.hideClone(!1),kt.hideParentProperty(!0),kt.updateElement(),xe.classed("hidden",!0),Ee.classed("hidden",!0),ke.frozen(!0),ke.locked(!0),Pe.frozen(!0),Pe.locked(!0),Ct.updateElement(),Ct.mouseButtonPressed=!0,Ot.updateElement(),Ot.mouseButtonPressed=!0):(e.locked(!0),n=!1)}).on("drag",function(e){e.type&&"Class_dragger"===e.type()?(clearTimeout(Oe),wt.setPosition(t.event.x,t.event.y)):e.type&&"Range_dragger"===e.type()?(clearTimeout(Oe),Ot.setPosition(t.event.x,t.event.y),kt.setPosition(t.event.x,t.event.y),Ct.updateElementViaRangeDragger(t.event.x,t.event.y)):e.type&&"Domain_dragger"===e.type()?(clearTimeout(Oe),Ct.setPosition(t.event.x,t.event.y),kt.setPositionDomain(t.event.x,t.event.y),Ot.updateElementViaDomainDragger(t.event.x,t.event.y)):(e.px=t.event.x,e.py=t.event.y,ye.resume(),S(),n=!0,e.renderType&&"round"===e.renderType()&&wt.setParentNode(e))}).on("dragend",function(e){if(De.ignoreOtherHoverEvents(!1),e.type&&"Class_dragger"===e.type()){var t=wt.x,r=wt.y;clearTimeout(Oe),wt.mouseButtonPressed=!1,wt.selectedViaTouch(!1),e.setParentNode(e.parentNode());var o=[t,r],a=De.getTargetNode(o);a&&U(e.parentNode(),a,o),Ke===!1&&K(),at=!1}else if(e.type&&"Range_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var s=Ot.x,l=Ot.y,u=[s,l],c=De.getTargetNode(u);i.isDatatype(c)===!0&&(c=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),null===c?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateRange(c),De.update(),kt.hideParentProperty(!1))}else if(e.type&&"Domain_dragger"===e.type()){De.ignoreOtherHoverEvents(!1),ke.frozen(!1),ke.locked(!1),Pe.frozen(!1),Pe.locked(!1),Ot.mouseButtonPressed=!1,Ct.mouseButtonPressed=!1,Ct.updateElement(),Ot.updateElement(),kt.hideClone(!0);var d=Ct.x,p=Ct.y,f=[d,p],h=De.getTargetNode(f);i.isDatatype(h)===!0&&(h=null,console.log("---------------TARGET NODE IS A DATATYPE/ LITERAL ------------")),kt.hideClone(!0),null===h?(e.reDrawEverthing(),kt.hideParentProperty(!1)):(e.updateDomain(h),De.update(),kt.hideParentProperty(!1))}else{e.locked(!1);var v=De.options().pickAndPinModule();v.enabled()===!0&&n===!0&&(e.id&&v.handle(e,!0),e.property&&v.handle(e.property(),!0))}}),Me=t.behavior.zoom().duration(150).scaleExtent([Te.minMagnification(),Te.maxMagnification()]).on("zoom",v),nt.push(wt),nt.push(Ot),nt.push(Ct),nt.push(kt),ye.stop()}function c(){if(ct=!1,De.options().loadingModule().successfullyLoadedOntology()===!1)return ye.stop(),t.select("#progressBarValue").node().innerHTML="",De.updateProgressBarMode(),De.options().loadingModule().showErrorDetailsMessage(c),void(yt&&mt===!1&&De.options().loadingModule().collapseDetails("hiddenRecalculatePositions"));if(He===!1){var e=1-10*ye.alpha(),n=parseInt(200*e)+"%";De.options().loadingModule().setPercentValue(n),t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,e>.49&&(He=!0,ne&&(ne.style("opacity","1"),n="100%",t.select("#progressBarValue").style("width",n),t.select("#progressBarValue").node().innerHTML=n,De.options().ontologyMenu().append_message_toLastBulletPoint("done"),t.select("#reloadCachedOntology").classed("hidden",!bt),gt===!0&&vt===!1&&(De.options().warningModule().showFilterHint(),vt=!0)),Fe&&(De.paused()===!1&&ye.resume(),Fe=!1),ct=!0,ft===!0?(ye.on("tick",d),d()):(ye.on("tick",p),p()),We===!0&&ye.nodes().length>0&&(ye.nodes().length<10?De.forceRelocationEvent(!0):De.forceRelocationEvent(),We=!1),De.showEditorHintIfNeeded(),De.options().loadingModule().missingImportsWarning()===!1?(De.options().loadingModule().hideLoadingIndicator(),De.options().ontologyMenu().append_bulletPoint("Successfully loaded ontology"),De.options().loadingModule().setSuccessful()):(De.options().loadingModule().showWarningDetailsMessage(),De.options().ontologyMenu().append_bulletPoint("Loaded ontology with warnings")))}}function d(){p(),_e=Date.now();var e=_e-je,t=(1e3/e).toFixed(2);ut.node().innerHTML="FPS: "+t+"
    Nodes: "+ye.nodes().length+"
    Links: "+ye.links().length,je=Date.now()}function p(){return lt?(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1!==n.layers().length||n.loops())e.linkDomainIntersection=o.calculateIntersection(n.label(),n.domain(),0),e.linkRangeIntersection=o.calculateIntersection(n.label(),n.range(),0),n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement());else{var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y,e.linkRangeIntersection=a,e.linkDomainIntersection=r,n.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement())}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop()){var t=o.getLoopPoints(e);return e.label().linkRangeIntersection=t[1],e.label().linkDomainIntersection=t[0],e.property().focused()!==!0&&void 0===ot||(Ot.updateElement(),Ct.updateElement()),o.calculateLoopPath(e)}var n=e.label(),r=o.calculateIntersection(n,e.domain(),1),a=o.calculateIntersection(n,e.range(),1);return e.linkRangeIntersection=r,e.linkDomainIntersection=a,e.property().focused()!==!0&&void 0===ot||(Ct.updateElement(),Ot.updateElement()),Se([r,n,a])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),rt&&(ee(rt),Q(rt),at===!1&&wt.setParentNode(rt)),ot&&te(ot),void S()):(se.attr("transform",function(e){return"translate("+e.x+","+e.y+")"}),le.attr("transform",function(e){var t,n=e.link();if(1===n.layers().length&&!n.loops()){ +var r=o.calculateIntersection(n.range(),n.domain(),0),a=o.calculateIntersection(n.domain(),n.range(),0);t=o.calculateCenter(r,a),e.x=t.x,e.y=t.y}return"translate("+e.x+","+e.y+")"}),ce.attr("d",function(e){if(e.isLoop())return o.calculateLoopPath(e);var t=e.label(),n=o.calculateIntersection(t,e.domain(),1),r=o.calculateIntersection(t,e.range(),1);return Se([n,t,r])}),de.attr("transform",function(e){var t=e.link().label(),n=o.calculateIntersection(t,e.range(),Le),r=o.calculateNormalVector(t,e.range(),Ae);return"translate("+(n.x+r.x)+","+(n.y+r.y)+")"}),void S())}function f(){function e(e){Te.selectionModules().forEach(function(t){t.handle(e)})}se.on("click",function(n){Ke===!0&&G()===!0?(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n))):e(n)}),se.on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))}),le.selectAll(".label").on("click",function(n){e(n),Ke===!0&&G()===!0&&(t.event.stopPropagation(),lt===!0&&n.raiseDoubleClickEdit(h(n)))}),le.selectAll(".label").on("dblclick",function(e){t.event.stopPropagation(),lt===!0&&e.raiseDoubleClickEdit(h(e))})}function h(e){if(De.options().getGeneralMetaObject().iri){var t=De.options().getGeneralMetaObject().iri+e.id();return e.iri()===t}return!1}function v(){if(pt===!0)return Me.translate(Ve),void Me.scale(Be);var e=!1;if(t.event.sourceEvent&&t.event.sourceEvent.deltaY&&(e=!0),e===!1){if(ze===!0)return;return Be=t.event.scale,Ve=t.event.translate,ne.attr("transform","translate("+Ve+")scale("+Be+")"),S(),void De.options().zoomSlider().updateZoomSliderValue(Be)}Be=t.event.scale,Ve=t.event.translate,ne.transition().tween("attr.translate",function(){return function(e){ze=!0;var n=t.transform(ne.attr("transform"));Ve[0]=n.translate[0],Ve[1]=n.translate[1],Be=n.scale[0],S(),De.options().zoomSlider().updateZoomSliderValue(Be)}}).each("end",function(){ze=!1}).attr("transform","translate("+Ve+")scale("+Be+")").ease("linear").duration(250)}function g(){b(),ne=t.selectAll(Te.graphContainerSelector()).append("svg").classed("vowlGraph",!0).attr("width",Te.width()).attr("height",Te.height()).call(Me).append("g");var e=t.selectAll(".vowlGraph");Qe=e.on("dblclick.zoom"),et=e.on("touchstart"),e.on("touchstart",Z),lt===!0?e.on("dblclick.zoom",De.modified_dblClickFunction):e.on("dblclick.zoom",Qe)}function y(){Ee=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("addDataPropertyElement",!0).attr("transform","translate(0,0)"),Ee.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",-8).attr("y1",0).attr("x2",8).attr("y2",0).append("title").text("Add Datatype Property"),Ee.append("line").attr("x1",0).attr("y1",-8).attr("x2",0).attr("y2",8).append("title").text("Add Datatype Property"),De.options().useAccuracyHelper()&&Ee.append("circle").attr("r",15).attr("cx",-7).attr("cy",7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject()),xe=we.append("g").classed("hidden-in-export",!0).classed("hidden",!0).classed("deleteParentElement",!0).attr("transform","translate(0,0)"),xe.append("circle").attr("r",12).attr("cx",0).attr("cy",0).append("title").text("Delete This Node");var e=5;xe.append("line").attr("x1",-e).attr("y1",-e).attr("x2",e).attr("y2",e).append("title").text("Delete This Node"),xe.append("line").attr("x1",e).attr("y1",-e).attr("x2",-e).attr("y2",e).append("title").text("Delete This Node"),De.options().useAccuracyHelper()&&xe.append("circle").attr("r",15).attr("cx",7).attr("cy",-7).classed("superHiddenElement",!0).classed("superOpacityElement",!De.options().showDraggerObject())}function m(){var e;if(ne){ne.selectAll("*").remove(),ie=ne.append("g").classed("linkContainer",!0),ae=ne.append("g").classed("cardinalityContainer",!0),oe=ne.append("g").classed("labelContainer",!0),re=ne.append("g").classed("nodeContainer",!0);var n=ne.append("g").classed("linkContainer",!0);tt=ne.append("g").classed("editContainer",!0),we=ne.append("g").classed("editContainer",!0),n.classed("hidden-in-export",!0),we.classed("hidden-in-export",!0),tt.classed("hidden-in-export",!0),e=ie.append("defs");var r=tt.selectAll(".node").data(nt).enter().append("g").classed("node",!0).classed("hidden-in-export",!0).attr("id",function(e){return e.id()}).call(me);r.each(function(e){e.svgRoot(t.select(this)),e.svgPathLayer(n),"shadowClone"===e.type()?(e.drawClone(),e.hideClone(!0)):(e.drawNode(),e.hideDragger(!0))}),y(),e=ie.append("defs"),void 0===pe&&(pe=[]),se=re.selectAll(".node").data(pe).enter().append("g").classed("node",!0).attr("id",function(e){return e.id()}).call(me),se.each(function(e){e.draw(t.select(this))}),void 0===fe&&(fe=[]),le=oe.selectAll(".labelGroup").data(fe).enter().append("g").classed("labelGroup",!0).call(me),le.each(function(e){var n=e.draw(t.select(this));e.property().labelObject(e),n||t.select(this).remove()}),le.each(function(e){if(this.parentNode&&i.isRdfsSubClassOf(e.property())){var t=this.parentNode;t.insertBefore(this,t.firstChild)}}),void 0===ve&&(ve=[]),de=ae.selectAll(".cardinality").data(ve).enter().append("g").classed("cardinality",!0),de.each(function(e){var n=e.drawCardinality(t.select(this));n||t.select(this).remove()}),void 0===he&&(he=[]),ue=ie.selectAll(".link").data(he).enter().append("g").classed("link",!0),ue.each(function(n){n.draw(t.select(this),e)}),ce=ue.selectAll("path"),f()}}function b(){ne&&t.select(ne.node().parentNode).remove()}function x(){Ze=[];for(var e,t=0;t0)for(var r=0;r0?(ne.style("opacity","0"),ye.on("tick",c)):(ne.style("opacity","1"),ft===!0?ye.on("tick",d):ye.on("tick",p)),ye.start()):(ye.stop(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),n.setErrorMode()),De.options().clearMetaObject(),De.options().clearGeneralMetaObject(),De.options().editSidebar().clearMetaObjectValue(),void 0!==Te.data()){var a=Te.data().header;if(a){if(a.iri&&De.options().addOrUpdateGeneralObjectEntry("iri",a.iri),a.title&&De.options().addOrUpdateGeneralObjectEntry("title",a.title),a.author&&De.options().addOrUpdateGeneralObjectEntry("author",a.author),a.version&&De.options().addOrUpdateGeneralObjectEntry("version",a.version),a.description&&De.options().addOrUpdateGeneralObjectEntry("description",a.description),a.prefixList){var i=a.prefixList;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];De.options().addPrefix(s,l)}}if(a.other){var u=a.other;for(var f in u)if(u.hasOwnProperty(f)){var h=u[f];h.hasOwnProperty("identifier")&&h.hasOwnProperty("value")&&De.options().addOrUpdateMetaObjectEntry(h.identfier,h.value)}}}}var v=r.clone(ge);Te.filterModules().forEach(function(e){v=P(e,v,!0)}),w(ge),Re.parseSettings(),qe=Re.settingsImported(),We=!0,Re.settingsImportGraphZoomAndTranslation()===!0&&(We=!1),De.options().searchMenu().requestDictionaryUpdate(),De.options().editSidebar().updateGeneralOntologyInfo(),De.options().editSidebar().updatePrefixUi(),De.options().editSidebar().updateElementWidth()}function C(){he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function k(){var e=Te.literalFilter().enabled();De.executeEmptyLiteralFilter(),Te.literalFilter().enabled(e);var t=r.clone(ge);Te.filterModules().forEach(function(e){t=P(e,t)}),Te.focuserModule().handle(void 0,!0),pe=t.nodes,ve=t.properties,he=a.createLinks(ve),fe=he.map(function(e){return e.label()}),_(pe,he),j(pe,fe,he)}function P(e,t,n){return he=a.createLinks(t.properties),_(t.nodes,he),n&&e.initialize&&e.initialize(t.nodes,t.properties),e.filter(t.nodes,t.properties),{nodes:e.filteredNodes(),properties:e.filteredProperties()}}function _(e,t){for(var n=0,r=e.length;n0)for(var e=ye.nodes(),t=0;tr||f<0||f>o){p<0&&f<0?(v=0,g=0):p>0&&pr&&f<0?(v=r,g=0):p>r&&f>0&&fr&&f>o?(v=r,g=o):p>0&&po?(v=p,g=o):p<0&&f>o?(v=0,g=o):p<0&&f>0&&f2500&&(u=2500),ne.attr("transform",N(a,n,r)).transition().duration(u).attrTween("transform",function(){return function(e){return N(l(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S()})}function H(e,t,n,r){var o,a,i=r[0];return i?(o=(e-n[0])/i,a=(t-n[1])/i):(o=(e-n[0])/r,a=(t-n[1])/r),{x:o,y:a}}function B(e,t){var n=De.options().width(),r=De.options().height(),o=T(e.x,e.y,Ve,Be),a=o.x,i=o.y,s=!(a<0||a>n||i<0||i>r);return s}function W(){Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),wt.hideDragger(!0),Ee&&Ee.classed("hidden",!0),xe&&xe.classed("hidden",!0),rt&&rt.pinned()===!1&&(rt.locked(De.paused()),rt.frozen(De.paused())),ot&&ot.pinned()===!1&&(ot.locked(De.paused()),ot.frozen(De.paused()))}function z(e){return t.map(e.values(),function(e){return(new e).type().toLowerCase()})}function V(e){var n,r,o=!0,a=t.select("#defaultClass").node().title;r=xt.get(a.toLowerCase()),n=new r(De);var i=!1;"owl:Thing"===a?n.label("Thing"):(n.label("NewClass"),i=!0),n.x=e.x,n.y=e.y,n.px=n.x,n.py=n.y,n.id("Class"+st++),n.baseIri(t.select("#iriEditor").node().value),n.iri(n.baseIri()+n.id()),q(n,o),Te.focuserModule().handle(n,!0),n.frozen(De.paused()),n.locked(De.paused()),n.enableEditing(i)}function q(e){ge.nodes.push(e),pe.indexOf(e)===-1&&pe.push(e),w(ge),De.getUpdateDictionary(),De.fastUpdate()}function U(e,n,r){var o=t.select("#defaultProperty").node().title;if(De.sanityCheckProperty(e,n,o)===!1)return!1;var a=Et.get(o.toLowerCase()),i=new a(De);if(i.id("objectProperty"+it++),i.domain(e),i.range(n),i.label("newObjectProperty"),i.baseIri(t.select("#iriEditor").node().value),i.iri(i.baseIri()+i.id()),De.propertyCheckExistenceChecker(i,e,n)===!1)return!1;var s=!1;"owl:objectProperty"===o&&(s=!0);var l=.49*(e.x+n.x),u=.49*(e.y+n.y);if(e===n){var c=r[0]-e.x,d=r[1]-e.y,p=Math.sqrt(c*c+d*d),f=c/p,h=d/p;isNaN(p)&&(f=0,h=-1);var v=2*e.actualRadius()+50;l=e.x+v*f,u=e.y+v*h}e.addProperty(i),n.addProperty(i),ge.properties.push(i),ve.indexOf(i)===-1&&ve.push(i),De.fastUpdate(),i.labelObject().x=l,i.labelObject().px=l,i.labelObject().y=u,i.labelObject().py=u,i.frozen(De.paused()),i.locked(De.paused()),e.frozen(De.paused()),e.locked(De.paused()),n.frozen(De.paused()),n.locked(De.paused()),w(ge),De.getUpdateDictionary(),Te.focuserModule().handle(i),De.activateHoverElementsForProperties(!0,i,!1,Ke),i.labelObject().increasedLoopAngle=!0,i.enableEditing(s)}function G(){var e=t.event.timeStamp,n=1;return t.event&&t.event.touches&&t.event.touches.length&&(n=t.event.touches.length),e-be<300&&1===n&&(t.event.stopPropagation(),lt===!0)?(t.event.preventDefault(),t.event.stopPropagation(),be=e,!0):(be=e,!1)}function Z(){pt=!0;var e=t.event.timeStamp;return e-be<300&&1===t.event.touches.length?(t.event.stopPropagation(),void(lt===!0?(t.event.preventDefault(),t.event.stopPropagation(),Me.translate(Ve),Me.scale(Be),De.modified_dblTouchFunction()):(pt=!1,et&&et()))):(pt=!1,be=e,void(et&&et()))}function $(e){if(e!==!0){if(rt){if(rt.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&rt.editingTextElement===!1&&(rt.frozen(!1),rt.locked(!1))},1e3)}if(ot){if(ot.editingTextElement===!0)return;Oe=setTimeout(function(){xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0),ot&&ot.focused()===!0&&De.options().drawPropertyDraggerOnHover()===!0&&(ot.labelObject().increasedLoopAngle=!1,p()),ot&&ot.pinned()===!1&&De.paused()===!1&&ot.editingTextElement===!1&&(ot.frozen(!1),ot.locked(!1))},1e3)}}}function X(){wt.nodeElement.classed("classDraggerNodeHovered",!0),wt.nodeElement.classed("classDraggerNode",!1),J()}function Y(){wt.nodeElement.classed("classDraggerNodeHovered",!1),wt.nodeElement.classed("classDraggerNode",!0),K()}function J(e){e!==!0&&clearTimeout(Oe)}function K(e){if(rt){if(De.ignoreOtherHoverEvents()===!0||e===!0||rt.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),rt&&rt.pinned()===!1&&De.paused()===!1&&(rt.frozen(!1),rt.locked(!1)))},1e3)}if(ot){if(De.ignoreOtherHoverEvents()===!0||e===!0||ot.editingTextElement===!0)return;Oe=setTimeout(function(){De.isADraggerActive()!==!0&&(xe.classed("hidden",!0),Ee.classed("hidden",!0),wt.hideDragger(!0),ot&&ot.pinned()===!1&&De.paused()===!1&&(ot.frozen(!1),ot.locked(!1)))},1e3)}}function Q(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x-o,n=e.y+a,Ee.attr("transform","translate("+t+","+n+")")}}function ee(e){var t,n=0;if("round"===e.renderType()){var r=.5*Math.sqrt(2),o=r*e.actualRadius(),a=r*e.actualRadius();t=e.x+o,n=e.y-a}else t=e.x+.5*e.width()+6,n=e.y-.5*e.height()-6;xe.attr("transform","translate("+t+","+n+")")}function te(e,t){if(e&&e.labelElement()){var n=[e.labelObject().x,e.labelObject().y],r=parseFloat(e.getShapeElement().attr("width")),o=parseFloat(e.getShapeElement().attr("height")),a=n[0]+.5*r+6,i=n[1]-.5*o-6;"translate(0,15)"===e.labelElement().attr("transform")&&(i+=15),"translate(0,-15)"===e.labelElement().attr("transform")&&(i-=15),xe.attr("transform","translate("+a+","+i+")")}else xe.classed("hidden",!0)}var ne,re,oe,ae,ie,se,le,ue,ce,de,pe,fe,he,ve,ge,ye,me,be,xe,Ee,we,Oe,Ce,ke,Pe,_e,je,Me,De={},Le=20,Ae=10,Se=t.svg.line().x(function(e){return e.x}).y(function(e){return e.y}).interpolate("cardinal"),Te=n(64)(),Re=n(65)(De),Ie="default",Ne=!1,Fe=!0,He=!1,Be=1,We=!1,ze=!1,Ve=[0,0],qe=!1,Ue=[],Ge=[],Ze=[],$e=0,Xe=1,Ye=.8,Je=-1,Ke=!1,Qe=null,et=null,tt=null,nt=[],rt=null,ot=null,at=!1,it=0,st=0,lt=!0,ut=t.select("#FPS_Statistics"),ct=!1,dt=!1,pt=!1,ft=!1,ht=!1,vt=!1,gt=!1,yt=!0,mt=!1,bt=!1,xt=z(s),Et=z(l),wt=n(68)(De),Ot=n(69)(De),Ct=n(70)(De),kt=n(71)(De);De.math=function(){return o},De.isEditorMode=function(){return lt},De.getGlobalDOF=function(){return Je},De.setGlobalDOF=function(e){Je=e},De.updateZoomSliderValueFromOutside=function(){De.options().zoomSlider().updateZoomSliderValue(Be)},De.setDefaultZoom=function(e){Xe=e,De.reset(),De.options().zoomSlider().updateZoomSliderValue(Xe)},De.setTargetZoom=function(e){Ye=e},De.graphOptions=function(){return Te},De.scaleFactor=function(){return Be},De.translation=function(){return Ve},De.graphNodeElements=function(){return se},De.graphLabelElements=function(){return fe},De.graphLinkElements=function(){return he},De.setSliderZoom=function(e){var n=.5*De.options().width(),r=.5*De.options().height(),o=H(n,r,Ve,Be),a=[o.x,o.y,De.options().height()/Be],i=[o.x,o.y,De.options().height()/e],s=t.interpolateZoom(a,i);ne.attr("transform",N(a,n,r)).transition().duration(1).attrTween("transform",function(){return function(e){return N(s(e),n,r)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be)})},De.setZoom=function(e){Me.scale(e)},De.setTranslation=function(e){Me.translate([e[0],e[1]])},De.options=function(){return Te},De.getUpdateDictionary=function(){return Re.getDictionary()},De.language=function(e){return arguments.length?(Ie!==e&&(Ie=e||"default",m(),p(),De.options().searchMenu().requestDictionaryUpdate(),De.resetSearchHighlight()),De):Ie},De.lazyRefresh=function(){m(),p()},De.adjustingGraphSize=function(e){mt=e},De.showReloadButtonAfterLayoutOptimization=function(e){bt=e},De.showEditorHintIfNeeded=function(){ht===!1&<===!0&&(ht=!0,De.options().warningModule().showEditorHint())},De.setForceTickFunctionWithFPS=function(){ft=!0,ye&&ct===!0&&ye.on("tick",d)},De.setDefaultForceTickFunction=function(){ft=!1,ye&&ct===!0&&ye.on("tick",p)},De.updatePropertyDraggerElements=function(e){"owl:DatatypeProperty"!==e.type()?(kt.setParentProperty(e),Ot.setParentProperty(e),Ot.hideDragger(!1),Ot.addMouseEvents(),Ct.setParentProperty(e),Ct.hideDragger(!1),Ct.addMouseEvents()):(Ot.hideDragger(!0),Ct.hideDragger(!0),kt.hideClone(!0))},De.getUnfilteredData=function(){return ge},De.getClassDataForTtlExport=function(){for(var e=ge.nodes,t=[],n=0;nn&&(o=n);var a=.5*De.options().width(),i=.5*De.options().height(),s=H(a,i,Ve,Be),l=[s.x,s.y,De.options().height()/Be],u=[s.x,s.y,De.options().height()/o],c=t.interpolateZoom(l,u);ne.attr("transform",N(l,a,i)).transition().duration(250).attrTween("transform",function(){return function(e){return N(c(e),a,i)}}).each("end",function(){ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),S(),Te.zoomSlider().updateZoomSliderValue(Be)})};var Pt=null;De.clearAllGraphData=function(){Pt=De.graphNodeElements()&&De.graphNodeElements().length>0?De.options().exportMenu().createJSON_exportObject():null,ye.stop(),ge&&(ge.nodes=[],ge.properties=[])},De.getCachedJsonObj=function(){return Pt},De.clearGraphData=function(){ye.stop();var e=De.options().sidebar();e&&e.clearOntologyInformation(),ne&&g()},De.updateProgressBarMode=function(){var e=De.options().loadingModule(),t=e.getProgressBarMode();switch(t){case 0:e.setErrorMode();break;case 1:e.setBusyMode();break;case 2:e.setPercentMode();break;default:e.setPercentMode()}},De.setFilterWarning=function(e){gt=e},De.handleOnLoadingError=function(){ye.stop(),De.clearGraphData(),De.options().ontologyMenu().append_bulletPoint("Failed to load ontology"),t.select("#progressBarValue").node().innherHTML="",t.select("#progressBarValue").classed("busyProgressBar",!1),De.options().loadingModule().setErrorMode(),De.options().loadingModule().showErrorDetailsMessage()},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0){if(ze===!0)return;var e=ye.nodes()[Ue[$e]];$e++,$e%=Ue.length,e.id&&e.foreground(),e.property&&e.property().foreground(),F(e)}},De.resetSearchHighlight=function(){Ue=[],Ge=[];var e,t=ge.nodes,n=ge.properties;for(e=0;e0?(t.select("#locateSearchResult").classed("highlighted",!0),t.select("#locateSearchResult").node().title="Locate search term"):(t.select("#locateSearchResult").classed("highlighted",!1),t.select("#locateSearchResult").node().title="Nothing to locate")},De.highLightNodes=function(e){if(0!==e.length){Ue=[],Ge=e;for(var n=[],r=0;rMe.scaleExtent()[1]&&(h=Me.scaleExtent()[1]),hMe.scaleExtent()[1]&&(g=Me.scaleExtent()[1]),g2500&&(w=2500),ne.attr("transform",N(b,f,h)).transition().duration(w).attrTween("transform",function(){return function(t){if(e){var n=_t(),r=n[0](t);return N(r,f,h)}return N(E(t),f,h)}}).each("end",function(){e||(ne.attr("transform","translate("+Ve+")scale("+Be+")"),Me.translate(Ve),Me.scale(Be),De.options().zoomSlider().updateZoomSliderValue(Be))})},De.isADraggerActive=function(){return wt.mouseButtonPressed===!0||Ct.mouseButtonPressed===!0||Ot.mouseButtonPressed===!0},De.changeNodeType=function(e){var n=t.select("#typeEditor").node().value;if(De.classesSanityCheck(e,n)===!1)return void De.options().editSidebar().updateSelectionInformation(e);var r=xt.get(n.toLowerCase()),o=new r(De);if(o.x=e.x,o.y=e.y,o.px=e.x,o.py=e.y,o.id(e.id()),o.copyInformation(e),"owl:Thing"===n?o.label("Thing"):i.isDatatype(e)===!1&&(void 0!==e.backupLabel()?o.label(e.backupLabel()):void 0!==o.backupLabel()?o.label(o.backupLabel()):o.label("NewClass")),"rdfs:Datatype"===n)if("undefined"===o.dType())o.label("undefined");else{var a=o.dType().split(":")[1];o.label(a)}var s;for(s=0;sa?null:"rect"===r.renderType()?null:r===rt&&o<=rt.actualRadius()?r:r===rt&&o>rt.actualRadius()?null:r}return o>r.actualRadius()+30?null:r},De.genericPropertySanityCheck=function(e,t,n,r,o){return e===t&&"rdfs:subClassOf"===n?(De.options().warningModule().showWarning(r,"rdfs:subClassOf can not be created as loops (domain == range)",o,1,!1),!1):e===t&&"owl:disjointWith"===n?(De.options().warningModule().showWarning(r,"owl:disjointWith can not be created as loops (domain == range)",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===e.type()&&"owl:someValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not originate from owl:Thing",o,1,!1),!1):"owl:Thing"===t.type()&&"owl:allValuesFrom"===n?(De.options().warningModule().showWarning(r,"owl:allValuesFrom can not be connected to owl:Thing",o,1,!1),!1):"owl:Thing"!==t.type()||"owl:someValuesFrom"!==n||(De.options().warningModule().showWarning(r,"owl:someValuesFrom can not be connected to owl:Thing",o,1,!1),!1)},De.checkIfIriClassAlreadyExist=function(e){for(var t=ge.nodes,n=0;n2){var s="You are about to delete 1 class and "+n.length+" properties";0!==o&&(s="You are about to delete 1 class, "+o+" datatypes and "+n.length+" properties"),De.options().warningModule().responseWarning("Removing elements",s,"Awaiting response!",De.removeNodesViaResponse,[r,n],!1)}else{for(a=0;a1&&(Te.literalFilter().filter(ge.nodes,ge.properties),ge.nodes=Te.literalFilter().filteredNodes(),ge.properties=Te.literalFilter().filteredProperties())},De.animateDynamicLabelWidth=function(){var e,t=Te.dynamicLabelWidth();for(e=0;e0&&n(l)?t>1?x(l,t-1,n,r,o):a(o,l):r||(o[o.length]=l)}return o}function E(e,t){return e&&$t(e,t,dn)}function w(e,t){return b(t,function(t){return Te(e[t])})}function O(e){return te(e)}function C(e,t){return e>t}function k(e){return Ne(e)&&O(e)==yt}function P(e,t,n,r,o){return e===t||(null==e||null==t||!Ne(e)&&!Ne(t)?e!==e&&t!==t:_(e,t,n,r,P,o))}function _(e,t,n,r,o,a){var i=nn(e),s=nn(t),l=i?ht:O(e),u=s?ht:O(t);l=l==ft?wt:l,u=u==ft?wt:u;var c=l==wt,d=u==wt,p=l==u;a||(a=[]);var f=Jt(a,function(t){return t[0]==e}),h=Jt(a,function(e){return e[0]==t});if(f&&h)return f[1]==t;if(a.push([e,t]),a.push([t,e]),p&&!c){var v=i?Z(e,t,n,r,o,a):$(e,t,l,n,r,o,a);return a.pop(),v}if(!(n&st)){var g=c&&Nt.call(e,"__wrapped__"),y=d&&Nt.call(t,"__wrapped__");if(g||y){var m=g?e.value():e,b=y?t.value():t,v=o(m,b,n,r,a);return a.pop(),v}}if(!p)return!1;var v=X(e,t,n,r,o,a);return a.pop(),v}function j(e){return Ne(e)&&O(e)==Ct}function M(e){return"function"==typeof e?e:null==e?Ye:("object"==typeof e?A:s)(e)}function D(e,t){return eo?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++rt||a&&i&&l&&!s&&!u||r&&i&&l||!n&&l||!o)return 1;if(!r&&!a&&!u&&e1?n[o-1]:ot;for(a=e.length>3&&"function"==typeof a?(o--,a):ot,t=Object(t);++r-1?o[a?t[i]:i]:ot}}function G(e,t,n,r){function o(){for(var t=-1,s=arguments.length,l=-1,u=r.length,c=Array(u+s),d=this&&this!==At&&this instanceof o?i:e;++ls))return!1;for(var u=-1,c=!0,d=n<?[]:ot;++u-1&&e%1==0&&e0&&(n=t.apply(this,arguments)),e<=1&&(t=ot),n}}function ke(e){if("function"!=typeof e)throw new TypeError(it);return function(){var t=arguments;return!e.apply(this,t)}}function Pe(e){return Ce(2,e)}function _e(e){return Ie(e)?nn(e)?I(e):B(e,qt(e)):e}function je(e,t){return e===t||e!==e&&t!==t}function Me(e){return null!=e&&Re(e.length)&&!Te(e)}function De(e){return e===!0||e===!1||Ne(e)&&O(e)==gt}function Le(e){return Me(e)&&(nn(e)||We(e)||Te(e.splice)||tn(e))?!e.length:!qt(e).length}function Ae(e,t){return P(e,t)}function Se(e){return"number"==typeof e&&Vt(e)}function Te(e){if(!Ie(e))return!1;var t=O(e);return t==bt||t==xt||t==vt||t==Ot}function Re(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=pt}function Ie(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ne(e){return null!=e&&"object"==typeof e}function Fe(e){return Be(e)&&e!=+e}function He(e){return null===e}function Be(e){return"number"==typeof e||Ne(e)&&O(e)==Et}function We(e){return"string"==typeof e||!nn(e)&&Ne(e)&&O(e)==kt}function ze(e){return e===ot}function Ve(e){return Me(e)?e.length?I(e):[]:$e(e)}function qe(e){return"string"==typeof e?e:null==e?"":e+""}function Ue(e,t){var n=Gt(e);return null==t?n:ln(n,t)}function Ge(e,t){return null!=e&&Nt.call(e,t)}function Ze(e,t,n){var r=null==e?ot:e[t];return r===ot&&(r=n),Te(r)?r.call(e):r}function $e(e){return null==e?[]:c(e,dn(e))}function Xe(e){return e=qe(e),e&&_t.test(e)?e.replace(Pt,Tt):e}function Ye(e){return e}function Je(e){return A(ln({},e))}function Ke(e,t,n){var r=dn(t),o=w(t,r);null!=n||Ie(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=w(t,dn(t)));var i=!(Ie(n)&&"chain"in n&&!n.chain),s=Te(e);return Zt(o,function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=I(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,a([this.value()],arguments))})}),e}function Qe(){return At._===this&&(At._=Bt),this}function et(){}function tt(e){var t=++Ft;return qe(e)+t}function nt(e){return e&&e.length?m(e,Ye,C):ot}function rt(e){return e&&e.length?m(e,Ye,D):ot}var ot,at="4.17.11",it="Expected a function",st=1,lt=2,ut=1,ct=32,dt=1/0,pt=9007199254740991,ft="[object Arguments]",ht="[object Array]",vt="[object AsyncFunction]",gt="[object Boolean]",yt="[object Date]",mt="[object Error]",bt="[object Function]",xt="[object GeneratorFunction]",Et="[object Number]",wt="[object Object]",Ot="[object Proxy]",Ct="[object RegExp]",kt="[object String]",Pt=/[&<>"']/g,_t=RegExp(Pt.source),jt=/^(?:0|[1-9]\d*)$/,Mt={"&":"&","<":"<",">":">",'"':""","'":"'"},Dt="object"==typeof e&&e&&e.Object===Object&&e,Lt="object"==typeof self&&self&&self.Object===Object&&self,At=Dt||Lt||Function("return this")(),St="object"==typeof t&&t&&!t.nodeType&&t,Tt=(St&&"object"==typeof o&&o&&!o.nodeType&&o,l(Mt)),Rt=Array.prototype,It=Object.prototype,Nt=It.hasOwnProperty,Ft=0,Ht=It.toString,Bt=At._,Wt=Object.create,zt=It.propertyIsEnumerable,Vt=At.isFinite,qt=d(Object.keys,Object),Ut=Math.max,Gt=function(){function e(){}return function(t){if(!Ie(t))return{};if(Wt)return Wt(t);e.prototype=t;var n=new e;return e.prototype=ot,n}}();f.prototype=Gt(p.prototype),f.prototype.constructor=f;var Zt=z(E),$t=V(),Xt=et,Yt=Ye,Jt=U(ae),Kt=T(function(e,t,n){return G(e,ut|ct,t,n)}),Qt=T(function(e,t){return g(e,1,t)}),en=T(function(e,t,n){return g(e,sn(t)||0,n)}),tn=Xt(function(){return arguments}())?Xt:function(e){return Ne(e)&&Nt.call(e,"callee")&&!zt.call(e,"callee")},nn=Array.isArray,rn=k,on=j,an=Number,sn=Number,ln=W(function(e,t){B(t,qt(t),e)}),un=W(function(e,t){B(t,ee(t),e)}),cn=T(function(e,t){e=Object(e);var n=-1,r=t.length,o=r>2?t[2]:ot;for(o&&Q(t[0],t[1],o)&&(r=1);++n=0){e.visualAttributes().push(o);break}}function n(e){var t,n,r;for(t=0,n=x.length;t=0&&e.indications().push(r)}function r(e){var t,n,r;for(t=0,n=E.length;t=0&&e.indications().push(r)}var o={},a="anonymous",i="datatype",s="deprecated",l="external",u="object",c="rdf",d="asymmetric",p="functional",f="inverse functional",h="irreflexive",v="key",g="reflexive",y="symmetric",m="transitive",b=[[s,i,u,c],[a]],x=[s,l],E=[d,p,f,h,v,g,y,m];return o.parseClassAttributes=function(t){t.attributes()instanceof Array&&(e(t),n(t))},o.parsePropertyAttributes=function(t){t.attributes()instanceof Array&&(e(t),r(t))},function(){return o}}()},function(e,t,n){(function(t){function r(e){return function(t){return e[t]}}function o(e,n){var r=a(e,n),o=t.set(r.keys());if(o.remove(v),o.remove(g),1===o.size()){var i=o.values()[0],s=r.get(i);if(1===s.length)return s[0]}}function a(e,n){var r=t.map();return e.forEach(function(e){if(void 0!==e){var t=n[e.range()],o=t.type();r.has(o)||r.set(o,[]),r.get(o).push(t)}}),r}function i(e,t){var n;return n=p.isDatatypeProperty(e)?new d(t):new c(t),n.id(h+e.id()),n}function s(e,t,n,r){var o=[];return e.forEach(function(e){if(void 0!==e&&void 0!==t){var a=e.range();e.range(t.id()),l(a,n)||o.push(a),r.add(e.id())}}),o}function l(e,t){for(var n=0;n-1?(p=void 0,d.classed("deprecatedproperty",!0)):d.classed("deprecatedproperty",!1),d.style("fill",p);var f=e.equivalentsString(),h=f?",":"",v=new r(t.rootNodeLayer,p);v.addText(e.labelForCurrentLanguage(),"",h),v.addEquivalents(f),v.addSubText(e.indicationString());var g=.5*(t.s_x+t.e_x),y=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+g+","+y+")"),t.rootNodeLayer.classed("hidden",!0),t.pathElement.classed("hidden",!0)},t.hideClone=function(e){t.rootNodeLayer&&t.rootNodeLayer.classed("hidden",e),t.pathElement&&t.pathElement.classed("hidden",e)},t.hideParentProperty=function(e){var n=t.parent.labelObject();n&&("translate(0,15)"!==t.parent.labelElement().attr("transform")&&"translate(0,-15)"!==t.parent.labelElement().attr("transform")||t.parent.inverse().hide(e)),t.parent.hide(e)},t.id=function(e){return arguments.length?void(t.nodeId=e):t.nodeId},t.svgPathLayer=function(e){t.pathLayer=e.append("g")},t.svgRoot=function(e){return arguments.length?(t.rootElement=e,void(t.rootNodeLayer=t.rootElement.append("g"))):t.rootElement},t.drawClone=function(){t.pathElement=t.pathLayer.append("line"),t.pathElement.attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",0)},t.updateElement=function(){t.pathElement.attr("x1",t.e_x).attr("y1",t.e_y).attr("x2",t.s_x).attr("y2",t.s_y);var e=.5*(t.s_x+t.e_x),n=.5*(t.s_y+t.e_y);t.rootNodeLayer.attr("transform","translate("+e+","+n+")")},t.setInitialPosition=function(){var e=t.parent.labelObject();if(e.linkRangeIntersection&&e.linkDomainIntersection){var n=e.linkRangeIntersection,r=e.linkDomainIntersection;t.e_x=r.x,t.e_y=r.y,t.s_x=n.x,t.s_y=n.y}t.updateElement()},t.setPositionDomain=function(e,n){var r=t.parent.range().x,i=t.parent.range().y;if(o.isDatatype(t.parent.range())===!0){var s=a.calculateIntersection({x:e,y:n},t.parent.range(),0);t.s_x=s.x,t.s_y=s.y}else{var l=r-e,u=i-n,c=Math.sqrt(l*l+u*u),d=l/c,p=u/c;t.s_x=r-d*t.parent.range().actualRadius(),t.s_y=i-p*t.parent.range().actualRadius()}t.e_x=e,t.e_y=n,t.updateElement()},t.setPosition=function(e,n){t.s_x=e,t.s_y=n;var r=t.parent.domain().x,o=t.parent.domain().y,a=e-r,i=n-o,s=Math.sqrt(a*a+i*i),l=a/s,u=i/s;t.e_x=r+l*t.parent.domain().actualRadius(),t.e_y=o+u*t.parent.domain().actualRadius(),t.updateElement()},t}},function(e,t){e.exports=function(e){function t(e){var t=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return t.test(e)}function n(t){var n={base:"",resource:""};if(void 0===t)return n={base:"ERROR",resource:"NOT FOUND"};var r,o;return t.indexOf("#")>-1?(r=t.substring(t.lastIndexOf("#")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r):(r=t.substring(t.lastIndexOf("/")+1),o=t.substring(0,t.length-r.length),o===e.options().getGeneralMetaObjectProperty("iri")&&(o=":"),n.base=o,n.resource=r),n}var r,o={};return o.updatePrefixModel=function(){r=e.options().prefixList()},o.validURL=function(e){return t(e)},o.getPrefixRepresentationForFullURI=function(e){o.updatePrefixModel();var t=n(e);for(var a in r)if(r.hasOwnProperty(a)&&r[a]===t.base)return a+":"+t.resource;return":"===t.base?":"+t.resource:e},o}},function(e,t,n){(function(t){var r=n(58);e.exports=function(){function e(e){return e.filter(function(e){return!(e.visualAttributes().indexOf("deprecated")>=0)&&e.attributes().indexOf("external")>=0})}function n(e){for(var n=o(e),i=n.entries(),s=t.scale.linear().domain([0,i.length-1]).range(r.find(p,{type:v}).range).interpolate(t.interpolateHsl),l=0;l=0&&s.splice(n,1)}}),{nodes:s,properties:l}},function(){return t}}()},function(e,t,n){var r=n(46);e.exports=function(){function e(){var e,t,o,a=[];for(e=0,t=n.length;e=0?n<=t?n:(e.getGraphObject().setGlobalDOF(t),t):e.getDefaultDegreeValue()}function a(e){for(var t=0,n=0,r=e.length;n=e}}var c,d,p,f,h,v,g,y,m={},b=!0,x=50;return m.initialize=function(r,o){g=-1;var i=a(r);h instanceof Function&&h(i),e.setDefaultDegreeValue(t(r,o,i));var s=n(i);y instanceof Function?(y(s),s>0&&(e.highlightForDegreeSlider(!0),e.getGraphObject().setFilterWarning(!0))):console.error("No degree setter function set.")},m.filter=function(e,t){c=e,d=t,this.enabled()&&(v instanceof Function?s(v()):console.error("No degree query function set.")),p=c,f=d,0===p.length&&(y(0),p=e,f=t),g=v()},m.setMaxDegreeSetter=function(e){h=e},m.setDegreeGetter=function(e){v=e},m.setDegreeSetter=function(e){y=e},m.enabled=function(e){return arguments.length?(b=e,m):b},m.filteredNodes=function(){return p},m.filteredProperties=function(){return f},m}},function(e,t){e.exports=function(e){var t,n,r,o,a=!0,i={},s=a;return i.filter=function(a,i){t=a,n=i,e.options().scaleNodesByIndividuals(s),r=t,o=n},i.enabled=function(e){return arguments.length?(s=e,i):s},i.reset=function(){s=a},i.filteredNodes=function(){return r},i.filteredProperties=function(){return o},i}},function(e,t,n){var r=n(63)();e.exports=function(){function e(){i=i.filter(t),a=a.filter(n)}function t(e){return!r.isObjectProperty(e)}function n(e){var t=!r.isThing(e),n=o(e,i);return t||n}function o(e,n){for(var r=0;ro?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e,t){var n=typeof e;return t=null==t?r:t,!!t&&("number"==n||"symbol"!=n&&o.test(e))&&e>-1&&e%1==0&&e0&&n(c)?t>1?r(c,t-1,n,i,s):o(s,c):i||(s[s.length]=c)}return s}var o=n(107),a=n(109);e.exports=r},function(e,t,n){function r(e){return i(e)||a(e)||!!(s&&e&&e[s])}var o=n(92),a=n(110),i=n(112),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){var r=n(111),o=n(104),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){function r(e){return a(e)&&o(e)==i}var o=n(91),a=n(104),i="[object Arguments]";e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=c&&(p=u,f=!1,t=new o(t));e:for(;++d-1}var o=n(135);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(135);e.exports=r},function(e,t,n){var r=n(122),o=n(93),a=r(o,"Map");e.exports=a},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(142);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(141);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(141);e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return!!n&&o(e,t,0)>-1}var o=n(149);e.exports=r},function(e,t,n){function r(e,t,n){return t===t?i(e,t,n):o(e,a,n)}var o=n(150),a=n(151),i=n(152);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,a=Date.now;e.exports=n},function(e,t,n){function r(e){return a(e)&&o(e)}var o=n(89),a=n(104);e.exports=r},function(e,t,n){var r=n(115),o=n(108),a=n(168),i=n(157),s=n(166),l=n(228),u=i(function(e,t){var n=l(t);return s(n)&&(n=void 0),s(e)?r(e,o(t,1,s,!0),a(n,2)):[]});e.exports=u},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?a(e[0],e[1]):o(e):l(e)}var o=n(169),a=n(211),i=n(158),s=n(112),l=n(225);e.exports=r},function(e,t,n){function r(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(170),a=n(208),i=n(210);e.exports=r},function(e,t,n){function r(e,t,n,r){var l=n.length,u=l,c=!r;if(null==e)return!u;for(e=Object(e);l--;){var d=n[l];if(c&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++lp))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var v=-1,g=!0,y=n&l?new o:void 0;for(c.set(e,t),c.set(t,e);++vi?0:i+n),r=void 0===r||r>i?i:o(r),r<0&&(r+=i),r=n>r?0:a(r);n=t?e:t)),e}e.exports=n},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var l=null==n?0:i(n);return l<0&&(l=s(r+l,0)),o(e,a(t,3),l)}var o=n(150),a=n(168),i=n(100),s=Math.max;e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var u=r-1;return void 0!==n&&(u=i(n),u=n<0?s(r+u,0):l(u,r-1)),o(e,a(t,3),u,!0)}var o=n(150),a=n(168),i=n(100),s=Math.max,l=Math.min;e.exports=r},function(e,t,n){e.exports=n(242)},function(e,t){function n(e){return e&&e.length?e[0]:void 0}e.exports=n},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,1):[]}var o=n(108);e.exports=r},function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,a):[]}var o=n(108),a=1/0;e.exports=r},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return n?(t=void 0===t?1:a(t),o(e,t)):[]}var o=n(108),a=n(100);e.exports=r},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r={};++t=120&&y.length>=120)?new o(f&&y):void 0}y=e[0];var m=-1,b=h[0];e:for(;++m-1;)f!==e&&c.call(f,h,1),c.call(e,h,1);return e}var o=n(154),a=n(149),i=n(262),s=n(155),l=n(113),u=Array.prototype,c=u.splice;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=n-1,a=e.length;++ot||i&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!a)return 1;if(!r&&!i&&!c&&e>>1,c=e[u];null!==c&&!i(c)&&(n?c<=t:c>>1;e.exports=r},function(e,t,n){function r(e,t,n,r){t=n(t);for(var a=0,u=null==e?0:e.length,c=t!==t,d=null===t,p=o(t),f=void 0===t;a=c){var g=t?null:l(e);if(g)return u(g);f=!1,d=s,v=new o}else v=t?[]:h;e:for(;++r1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,o(e,n)});e.exports=a},function(e,t,n){(function(t){e.exports=function(e){var n,r={};return r.handle=function(r){if(!t.event.defaultPrevented){var o=!0;n===r&&(o=!1),e instanceof Function&&e(o?r:void 0),n=o?r:void 0}},r.reset=function(){n&&(e(void 0),n=void 0)},r}}).call(t,n(6))},function(e,t,n){var r=n(20);e.exports=function(){function e(){var e=c.filterNodesAndTidy(o,a,t);o=e.nodes,a=e.properties}function t(e){return!(e instanceof r)}var o,a,i,s,l={},u=!1,c=n(76)();return l.filter=function(t,n){o=t,a=n,this.enabled()&&e(),i=o,s=a},l.enabled=function(e){return arguments.length?(u=e,l):u},l.filteredNodes=function(){return i},l.filteredProperties=function(){return s},l}},function(e,t,n){(function(t){var r=n(20),o=n(31),a=n(30),i=n(63)();e.exports=function(){function e(){h=0,v=0,g=0,y=0,m=0,b=0,x=0,E=0}function s(e,t){h=e.length;var r,o,a,i=n(62)();for(r=0,o=t.length;r1)return!1}return!0}function i(e,t){var n,r,o,a=[];for(r=0,o=e.length;r . -@prefix owl: . -@prefix rdf: . -@prefix xml: . -@prefix xsd: . -@prefix foaf: . -@prefix rdfs: . -@prefix voaf: . -@prefix vann: . -@prefix vs: . -@prefix cc: . -@prefix max: . - -@base . -@prefix : . - - rdf:type owl:Ontology ; - - rdf:type voaf:Vocabulary; - - vann:preferredNamespacePrefix "fno"; - - vann:preferredNamespaceUri "https://w3id.org/function/ontology#"; - - rdfs:label "The Function Ontology"@en ; - - dct:title "The Function Ontology"@en ; - - dct:description "The Function Ontology allows to declare and describe functions. The specification is online at https://w3id.org/function/spec"@en; - - rdfs:comment """-Version 0.6.0: fno:ReturnMapping --Version 0.5.1: fno:type a ObjectProperty --Version 0.5.0: added Mapping and Implementation classes. --Version 0.4.1: wrong range definition, updated descriptions. --Version 0.4: added some properties --Version 0.3: improved comments. --Version 0.2: added extra metadata. --Version 0.1: creation."""@en ; - - owl:versionIRI ; - owl:versionInfo "0.6.0" ; - owl:priorVersion "https://w3id.org/function/ontology/0.5.1" ; - - rdfs:seeAlso ; - - dct:modified "2019-05-29"^^xsd:date ; - - dct:issued "2016-03-08"^^xsd:date ; - - dct:rights "Copyright © Ghent University – imec – IDLab"@en ; - - cc:license ; - - foaf:primaryTopic ; - - dct:creator ; - - dct:creator ; - - dct:publisher ; - - dct:contributor max: . - - rdf:type foaf:Person ; - - foaf:mbox "mailto:Ben.DeMeester@UGent.be"; - - foaf:name "Ben De Meester"@en ; - - rdfs:label "Ben De Meester"@en . - - rdf:type foaf:Person ; - - foaf:mbox "mailto:Anastasia.dimou@UGent.be" ; - - foaf:name "Anastasia Dimou"@en ; - - rdfs:label "Anastasia Dimou"@en . - -################################################################# -# -# Annotation properties -# -################################################################# - -### http://purl.org/dc/terms/issued - -dct:issued rdf:type owl:AnnotationProperty . - -### http://purl.org/dc/terms/modified - -dct:modified rdf:type owl:AnnotationProperty . - -### http://xmlns.com/foaf/0.1/primaryTopic - -foaf:primaryTopic rdf:type owl:AnnotationProperty . - -################################################################# -# -# Datatypes -# -################################################################# - -### http://www.w3.org/2001/XMLSchema#date - -xsd:date rdf:type rdfs:Datatype . - -################################################################# -# -# Object Properties -# -################################################################# - -### https://w3id.org/function/ontology#executes - -:executes rdf:type owl:ObjectProperty ; - - rdfs:label "executes"@en ; - - rdfs:comment "Connects a function to an execution definition"@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:domain :Execution ; - - rdfs:range :Function . - -### https://w3id.org/function/ontology#expects - -:expects rdf:type owl:ObjectProperty ; - - rdfs:label "expects"@en ; - - rdfs:comment "Connects a function description to an ordered list of zero or more parameter descriptions"@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:domain :Function ; - - rdfs:range rdf:List . - -### https://w3id.org/function/ontology#implements - -:implements rdf:type owl:ObjectProperty ; - - rdfs:label "implements"@en ; - - rdfs:comment "Connects a function to an algorithm it implements. A function can implement 0..n algorithms."@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:range :Algorithm ; - - rdfs:domain :Function . - -### https://w3id.org/function/ontology#returns - -:returns rdf:type owl:ObjectProperty ; - - rdfs:label "returns"@en ; - - rdfs:comment "Connects a description of a function to the description of the output"@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:domain :Function ; - - rdfs:range rdf:List . - -### https://w3id.org/function/ontology#solves - -:solves rdf:type owl:ObjectProperty ; - - rdfs:label "solves"@en ; - - rdfs:comment "Connects a description of a function to the description of a problem it tries to solve."@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:domain :Function ; - - rdfs:range :Problem . - -### https://w3id.org/function/ontology#predicate - -:predicate rdf:type rdf:Property ; - - rdfs:label "predicate"@en ; - - rdfs:comment "Connects a parameter description to the predicate used to link executions of this function to their parameter."@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:domain :Parameter ; - - rdfs:range rdf:Property . - -### https://w3id.org/function/ontology#type - -:type rdf:type owl:ObjectProperty ; - - rdfs:label "type"@en ; - - rdfs:comment "Connects an output or a parameter description to the type of instances of these parameters or outputs."@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" . - -### https://w3id.org/function/ontology#name - -:name rdf:type rdf:Property ; - - rdfs:label "name"@en ; - - rdfs:comment "Connects a function or a parameter to its name."@en ; - - rdfs:subPropertyOf rdfs:label ; - - rdfs:range xsd:string ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:domain :Function . - -### https://w3id.org/function/ontology#required - -:required rdf:type rdf:Property ; - - rdfs:label "required"@en ; - - rdfs:comment "Defines if a parameter or an output is required."@en ; - - rdfs:range xsd:boolean ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" . - -### https://w3id.org/function/ontology#nullable - -:nullable rdf:type rdf:Property ; - - rdfs:label "nullable"@en ; - - rdfs:comment "Defines if a parameteris nullable."@en ; - - rdfs:range xsd:boolean ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" . - -### https://w3id.org/function/ontology#function - -:function rdf:type owl:ObjectProperty ; - - rdfs:label "function"@en ; - - rdfs:comment "Connects a function to a mapping definition"@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:domain :Mapping ; - - rdfs:range :Function . - -### https://w3id.org/function/ontology#implementation - -:implementation rdf:type owl:ObjectProperty ; - - rdfs:label "implementation"@en ; - - rdfs:comment "Connects an implementation to a mapping definition"@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:domain :Mapping ; - - rdfs:range :Implementation . - -### https://w3id.org/function/ontology#methodMapping - -:methodMapping rdf:type owl:ObjectProperty ; - - rdfs:label "method mapping"@en ; - - rdfs:comment "Connects a method mapping to a mapping definition"@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:domain :Mapping ; - - rdfs:range :MethodMapping . - -### https://w3id.org/function/ontology#parameterMapping - -:parameterMapping rdf:type owl:ObjectProperty ; - - rdfs:label "parameter mapping"@en ; - - rdfs:comment "Connects a parameter mapping to a mapping definition"@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:domain :Mapping ; - - rdfs:range :ParameterMapping . - -### https://w3id.org/function/ontology#returnMapping - -:returnMapping rdf:type owl:ObjectProperty ; - - rdfs:label "return mapping"@en ; - - rdfs:comment "Connects a return mapping to a mapping definition"@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:domain :Mapping ; - - rdfs:range :ReturnMapping . - -### https://w3id.org/function/ontology#uses - -:uses rdf:type owl:ObjectProperty ; - - rdfs:label "uses"@en ; - - rdfs:comment "Connects an execution to a mapping definition"@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:domain :Execution ; - - rdfs:range :Mapping . - -################################################################# -# -# Classes -# -################################################################# - -### https://w3id.org/function/ontology#Algorithm - -:Algorithm rdf:type owl:Class ; - - rdfs:label "Algorithm"@en ; - - rdfs:comment "A declaration of an algorithm. An algorithm is a specified set of instructions, independent of its implementation. There is no one-to-one mapping between an algorithm and a problem."@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy . - -### https://w3id.org/function/ontology#Execution - -:Execution rdf:type owl:Class ; - - rdfs:label "Execution"@en ; - - rdfs:comment "An execution is the connection between a function and its input and output values."@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy . - -### https://w3id.org/function/ontology#Function - -:Function rdf:type owl:Class ; - - rdfs:label "Function"@en ; - - rdfs:comment "The declared function"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy . - -### https://w3id.org/function/ontology#Output - -:Output rdf:type owl:Class ; - - rdfs:label "Output"@en ; - - rdfs:comment "The definition of an output of a function"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy . - -### https://w3id.org/function/ontology#Parameter - -:Parameter rdf:type owl:Class ; - - rdfs:label "Parameter"@en ; - - rdfs:comment "The definition of a parameter to a certain function"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy . - -### https://w3id.org/function/ontology#Problem - -:Problem rdf:type owl:Class ; - - rdfs:label "Problem"@en ; - - rdfs:comment "A certain problem that a function solves"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy . - -### https://w3id.org/function/ontology#Implementation - -:Implementation rdf:type owl:Class ; - - rdfs:label "Implementation"@en ; - - rdfs:comment "A certain implementation of a function"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy . - -### https://w3id.org/function/ontology#Mapping - -:Mapping rdf:type owl:Class ; - - rdfs:label "Mapping"@en ; - - rdfs:comment "A mapping connects a function to an implementation"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy . - -### https://w3id.org/function/ontology#MethodMapping - -:MethodMapping rdf:type owl:Class ; - - rdfs:label "Method mapping"@en ; - - rdfs:comment "A method mapping unambiguously specifies how the abstract function can be mapped to the implemented method. This can be, e.g., the name of the method"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy . - -### https://w3id.org/function/ontology#ParameterMapping - -:ParameterMapping rdf:type owl:Class ; - - rdfs:label "Parameter mapping"@en ; - - rdfs:comment "A parameter mapping unambiguously specifies how the abstract parameter can be mapped to the implemented method's argument. For example: Parameter X is mapped to the third argument of the method (a position parameter mapping, common for programming languages), or to property with name Y of the method (a property parameter mapping, common for Web APIs)"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy . - -### https://w3id.org/function/ontology#ReturnMapping - -:ReturnMapping rdf:type owl:Class ; - - rdfs:label "Return mapping"@en ; - - rdfs:comment "A return mapping unambiguously specifies how the abstract output can be mapped to the implemented method's return value. For example: the return value of the method, or the thrown error of a the method"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy . +@prefix bibo: . +@prefix cc: . +@prefix dc: . +@prefix dcterms: . +@prefix foaf: . +@prefix max: . +@prefix obo: . +@prefix owl: . +@prefix pav: . +@prefix prov: . +@prefix rdf: . +@prefix rdfs: . +@prefix schema: . +@prefix skos: . +@prefix vann: . +@prefix voaf: . +@prefix vs: . +@prefix xml: . +@prefix xsd: . + +@base . +@prefix : . + + + rdf:type owl:Ontology ; + rdf:type voaf:Vocabulary ; + vann:preferredNamespaceUri "https://w3id.org/function/ontology#" ; + vann:preferredNamespacePrefix "fno" ; + dc:title "The Function Ontology"@en ; + rdfs:label "The Function Ontology"@en ; + dc:description + "The Function Ontology allows to declare and describe functions. The specification is online at https://w3id.org/function/spec. Copyright © Ghent University – imec – IDLab."@en ; + bibo:status "stable" ; + owl:versionIRI ; + owl:versionInfo "1.0.0" ; + owl:backwardCompatibleWith ; + owl:incompatibleWith , + , + , , + , , + ; + owl:priorVersion ; + dcterms:created "2016-03-08"^^xsd:date ; + dcterms:modified "2020-12-22"^^xsd:date ; + dcterms:issued "2016-03-08"^^xsd:date ; + dc:source ; + dcterms:creator , ; + dcterms:contributor max: ; + dcterms:publisher ; + bibo:doi "10.5281/zenodo.595382" ; + dcterms:bibliographicCitation + "De Meester, B.; Seymoens, T.; Dimou, A. & Verborgh, R. Implementation-independent Function Reuse. Future Generation Computer Systems, Elsevier BV, 2020, 110, 946-959 " ; + dc:rights "Copyright © Ghent University – imec – IDLab"@en ; + schema:license ; + foaf:logo ; + foaf:depiction ; + rdfs:seeAlso ; +# rdfs:comment """- Version 1.0.0: updated metadata and specified definitions, v1 +#- Version 0.6.0: fno:ReturnMapping +#- Version 0.5.1: fno:type a ObjectProperty +#- Version 0.5.0: added Mapping and Implementation classes. +#- Version 0.4.1: wrong range definition, updated descriptions. +#- Version 0.4: added some properties +#- Version 0.3: improved comments. +#- Version 0.2: added extra metadata. +#- Version 0.1: creation."""@en ; # Not recommended by https://w3id.org/widoco/bestPractices + foaf:primaryTopic + ; # Not recommended by https://w3id.org/widoco/bestPractices +. + + + rdf:type foaf:Person ; + foaf:mbox "mailto:Ben.DeMeester@UGent.be" ; + foaf:name "Ben De Meester"@en ; + rdfs:label "Ben De Meester"@en . + + + rdf:type foaf:Person ; + foaf:mbox "mailto:Anastasia.dimou@UGent.be" ; + foaf:name "Anastasia Dimou"@en ; + rdfs:label "Anastasia Dimou"@en . + +:Function + rdf:type owl:Class ; + rdfs:label "Function"@en ; + rdfs:comment + "A Function is a process that performs a specific task by associating one or more Parameters to an Output"@en ; + skos:note + "A Function is an actionable thing that can have input parameters, output, solve certain problems, and can be implemented using certain algorithms."@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "stable" ; +. + +:name + rdf:type owl:DatatypeProperty ; + rdfs:domain :Function ; + rdfs:range xsd:string ; + rdfs:subPropertyOf rdfs:label ; + rdfs:label "name"@en ; + rdfs:comment "Connects a function or a parameter to its name."@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "testing" ; +. + +:Problem + rdf:type owl:Class ; + rdfs:label "Problem"@en ; + rdfs:comment "A Problem is a general issue. Some problems can be solved by executing a certain Function."@en ; + skos:note + "For example, a Function can solve the doing a sum problem, however, \"global warming\" could also be perceived as a problem, with no single function to solve it."@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "testing" ; +. + +:solves + rdf:type owl:ObjectProperty ; + rdfs:domain :Function ; + rdfs:range :Problem ; + rdfs:label "solves"@en ; + rdfs:comment "Connects a description of a function to the description of a problem it tries to solve."@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "testing" ; +. + +:Algorithm + rdf:type owl:Class ; + rdfs:label "Algorithm"@en ; + rdfs:comment "An algorithm is a specified set of instructions, independent of its implementation."@en ; + skos:note """A function can be implemented using a known algorithm (e.g., Dijkstra's shortest path algorithm), +or use a combination of multiple algorithms to solve a certain problem. +A function does not have to be implemented by any algorithm or have to be mapped one-on-one to an algorithm. +It is not required to have a one-to-one mapping between an algorithm and a problem."""@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "testing" ; +. + +:implements + rdf:type owl:ObjectProperty ; + rdfs:domain :Function ; + rdfs:range :Algorithm ; + rdfs:label "implements"@en ; + rdfs:comment "Connects a function to an algorithm it implements. A function can implement 0..n algorithms."@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "testing" ; +. + +:Parameter + rdf:type owl:Class ; + rdfs:label "Parameter"@en ; + rdfs:comment "A Parameter is the description of the input value of a Function."@en ; + skos:note + "A Function expects a list of Parameters. This description actually defines which predicates to use when binding the values to the execution of the Function. The parameters are ordered in a list, and each parameter defines the relationship that is used for the execution. For this, the fno:predicate predicate MUST be used. All predicates are allowed, except for rdf:type and fno:executes. A Parameter can have a specific type or other metadata (e.g., required or not, having a default value or not)."@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "stable" ; +. + +:expects + rdf:type owl:ObjectProperty ; + rdfs:domain :Function ; + rdfs:range rdf:List ; + rdfs:label "expects"@en ; + rdfs:comment "Connects a function description to an ordered list of zero or more parameter descriptions"@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "stable" ; +. + +:predicate + rdf:type rdf:Property ; + rdfs:domain :Parameter ; + rdfs:range rdf:Property ; + rdfs:label "predicate"@en ; + rdfs:comment + "Connects a parameter description to the predicate used to link executions of this function to their parameter."@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "stable" ; +. + +:type + rdf:type owl:ObjectProperty ; + rdfs:domain :Parameter ; + rdfs:label "type"@en ; + rdfs:comment + "Connects an output or a parameter description to the type of instances of these parameters or outputs."@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "stable" ; +. + +:required + rdf:type rdf:Property ; + rdfs:domain :Parameter ; + rdfs:range xsd:boolean ; + rdfs:label "required"@en ; + rdfs:comment "Defines if a parameter or an output is required."@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "testing" ; +. + +:nullable + rdf:type rdf:Property ; + rdfs:domain :Parameter ; + rdfs:range xsd:boolean ; + rdfs:label "nullable"@en ; + rdfs:comment "Defines if a parameteris nullable."@en ; + rdfs:isDefinedBy ; +# TODO example? + vs:term_status "testing" ; +. + +:Execution + rdf:type owl:Class ; + rdfs:label "Execution"@en ; + rdfs:comment "An Execution is the connection between a Function and its Parameters and Outputs."@en ; + skos:note + " An Execution is the assignment of the values of the Parameters of a Function. An Execution has as result the value of the Output of the Function."@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "stable" ; +. + +:executes + rdf:type owl:ObjectProperty ; + rdfs:domain :Execution ; + rdfs:range :Function ; + rdfs:label "executes"@en ; + rdfs:comment "Connects a function to an execution definition"@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "stable" ; +. + +:Output + rdf:type owl:Class ; + rdfs:label "Output"@en ; + rdfs:comment "An Output is the description of the output value of a Function."@en ; + skos:note + "A Function can have multiple outputs, just as, e.g., callbacks in JavaScript can return multiple results, or a function could throw multiple types of errors."@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "stable" ; +. + +:returns + rdf:type owl:ObjectProperty ; + rdfs:domain :Function ; + rdfs:range rdf:List ; + rdfs:label "returns"@en ; + rdfs:comment "Connects a description of a function to the description of the output"@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "stable" ; +. + +:Implementation + rdf:type owl:Class ; + rdfs:label "Implementation"@en ; + rdfs:comment "An Implementation defines the internal workings of one or more Functions"@en ; + skos:note + "An Implementation depends on the used development context, i.e., the used programming language and execution environment. An Implementation could be, e.g., an NPM package."@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "testing" ; +. + +:Mapping + rdf:type owl:Class ; + rdfs:label "Mapping"@en ; + rdfs:comment "A Mapping links (abstract) Functions and (concrete) Implementations"@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "testing" ; +. + +:function + rdf:type owl:ObjectProperty ; + rdfs:domain :Mapping ; + rdfs:range :Function ; + rdfs:label "function"@en ; + rdfs:comment "Connects a function to a mapping definition"@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "testing" ; +. + +:implementation + rdf:type owl:ObjectProperty ; + rdfs:domain :Mapping ; + rdfs:range :Implementation ; + rdfs:label "implementation"@en ; + rdfs:comment "Connects an implementation to a mapping definition"@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "testing" ; +. + +:MethodMapping + rdf:type owl:Class ; + rdfs:label "Method mapping"@en ; + rdfs:comment + "A method mapping unambiguously specifies how the abstract function can be mapped to the implemented method. This can be, e.g., the name of the method"@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "testing" ; +. + +:methodMapping + rdf:type owl:ObjectProperty ; + rdfs:domain :Mapping ; + rdfs:range :MethodMapping ; + rdfs:label "method mapping"@en ; + rdfs:comment "Connects a method mapping to a mapping definition"@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "testing" ; +. + +:ParameterMapping + rdf:type owl:Class ; + rdfs:label "Parameter mapping"@en ; + rdfs:comment + "A parameter mapping unambiguously specifies how the abstract parameter can be mapped to the implemented method's argument. For example: Parameter X is mapped to the third argument of the method (a position parameter mapping, common for programming languages), or to property with name Y of the method (a property parameter mapping, common for Web APIs)"@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "testing" ; +. + +:parameterMapping + rdf:type owl:ObjectProperty ; + rdfs:domain :Mapping ; + rdfs:range :ParameterMapping ; + rdfs:label "parameter mapping"@en ; + rdfs:comment "Connects a parameter mapping to a mapping definition"@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "testing" ; +. + +:ReturnMapping + rdf:type owl:Class ; + rdfs:label "Return mapping"@en ; + rdfs:comment + "A return mapping unambiguously specifies how the abstract output can be mapped to the implemented method's return value. For example: the return value of the method, or the thrown error of a the method"@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "testing" ; +. + +:returnMapping + rdf:type owl:ObjectProperty ; + rdfs:domain :Mapping ; + rdfs:range :ReturnMapping ; + rdfs:label "return mapping"@en ; + rdfs:comment "Connects a return mapping to a mapping definition"@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "testing" ; +. + +:uses + rdf:type owl:ObjectProperty ; + rdfs:domain :Execution ; + rdfs:range :Mapping ; + rdfs:label "uses"@en ; + rdfs:comment "Connects an execution to a mapping definition"@en ; + rdfs:isDefinedBy ; + vann:example ; + vs:term_status "testing" ; +. diff --git a/fnoi.ttl b/fnoi.ttl index 9094b0a..7706678 100644 --- a/fnoi.ttl +++ b/fnoi.ttl @@ -1,185 +1,182 @@ -@prefix dct: . -@prefix owl: . -@prefix rdf: . -@prefix xml: . -@prefix xsd: . -@prefix foaf: . -@prefix rdfs: . -@prefix voaf: . -@prefix vann: . -@prefix vs: . -@prefix cc: . -@prefix fno: . - -@base . -@prefix : . - - rdf:type owl:Ontology ; - - rdf:type voaf:Vocabulary; - - vann:preferredNamespacePrefix "fnoi"; - - vann:preferredNamespaceUri "https://w3id.org/function/vocabulary/implementation#"; - - rdfs:label "The Function Ontology - Implementation vocabulary"@en ; - - dct:title "The Function Ontologyy - Implementation vocabulary"@en ; - - dct:description "The Function Ontology Implementation vocabulary specifies terms relevant to structure fno:Implementations. The specification is online at https://w3id.org/function/spec"@en; - - rdfs:comment """-Version 0.1.0: creation."""@en ; - -owl:versionIRI ; - owl:versionInfo "0.1.0" ; -# owl:priorVersion "https://w3id.org/function/vocabulary/implementation/0.0.0" ; - - rdfs:seeAlso ; - - dct:modified "2019-05-21"^^xsd:date ; - - dct:issued "2019-05-21"^^xsd:date ; - - dct:rights "Copyright © Ghent University – imec – IDLab"@en ; - - cc:license ; - - foaf:primaryTopic ; - - dct:creator ; - - dct:publisher . - - rdf:type foaf:Person ; - - foaf:mbox "mailto:Ben.DeMeester@UGent.be"; - - foaf:name "Ben De Meester"@en ; - - rdfs:label "Ben De Meester"@en . - -################################################################# -# -# Object Properties -# -################################################################# - -### https://w3id.org/function/vocabulary/implementation#class-name - -:class-name rdf:type rdf:Property ; - - rdfs:label "class name"@en ; - - rdfs:comment "Connects a class name to an implemenation description."@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:domain fno:Implementation ; - - rdfs:range xsd:string . - -################################################################# -# -# Classes -# -################################################################# - -### https://w3id.org/function/vocabulary/implementation#JavaScriptImplementation - -:JavaScriptImplementation rdf:type owl:Class ; - - rdfs:label "JavaScript Implementation"@en ; - - rdfs:comment "A fno:Implementation, coded in JavaScript"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy ; - - rdfs:subClassOf fno:Implementation . - -### https://w3id.org/function/vocabulary/implementation#NpmPackage - -:NpmPackage rdf:type owl:Class ; - - rdfs:label "NPM Package"@en ; - - rdfs:comment "A fno:Implementation, distributed as an NPM package"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy ; - - rdfs:subClassOf :JavaScriptImplementation . - -### https://w3id.org/function/vocabulary/implementation#JavaScriptFunction - -:JavaScriptFunction rdf:type owl:Class ; - - rdfs:label "JavaScript function"@en ; - - rdfs:comment "A fno:Implementation, distributed as a JavaScript snippet"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy ; - - rdfs:subClassOf :JavaScriptImplementation . - -### https://w3id.org/function/vocabulary/implementation#JavaImplementation - -:JavaImplementation rdf:type owl:Class ; - - rdfs:label "JAVA implementation"@en ; - - rdfs:comment "A fno:Implementation, coded in JAVA"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy ; - - rdfs:subClassOf fno:Implementation . - -### https://w3id.org/function/vocabulary/implementation#JavaImplementation - -:JavaClass rdf:type owl:Class ; - - rdfs:label "JAVA class"@en ; - - rdfs:comment "A fno:Implementation, distributed as a JAVA class snippet file"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy ; - - rdfs:subClassOf :JavaImplementation . - -### https://w3id.org/function/vocabulary/implementation#WebApi - -:WebApi rdf:type owl:Class ; - - rdfs:label "Web API"@en ; - - rdfs:comment "A fno:Implementation, distributed as a Web API"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy ; - - rdfs:subClassOf fno:Implementation . - -### https://w3id.org/function/vocabulary/implementation#JsonApi - -:JsonApi rdf:type owl:Class ; - - rdfs:label "JSON API"@en ; - - rdfs:comment "A fno:Implementation, distributed as a JSON (Hydra) API"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy ; - - rdfs:subClassOf :WebApi . +@prefix bibo: . +@prefix cc: . +@prefix dc: . +@prefix dcterms: . +@prefix fno: . +@prefix foaf: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . +@prefix schema: . +@prefix vann: . +@prefix voaf: . +@prefix vs: . +@prefix xml: . +@prefix xsd: . + +@base . +@prefix : . + + + rdf:type owl:Ontology ; + rdf:type voaf:Vocabulary ; + vann:preferredNamespaceUri "https://w3id.org/function/vocabulary/implementation#" ; + vann:preferredNamespacePrefix "fnoi" ; + dc:title "The Function Ontology - Implementation vocabulary"@en ; + rdfs:label "The Function Ontology - Implementation vocabulary"@en ; + dc:description + "The Function Ontology Implementation vocabulary specifies terms relevant to structure fno:Implementations. The specification is online at https://w3id.org/function/spec"@en ; + bibo:status "testing" ; + owl:versionIRI ; + owl:versionInfo "0.1.1" ; + owl:backwardCompatibleWith ; +# owl:incompatibleWith <> ; + owl:priorVersion ; + dcterms:created "2019-05-21"^^xsd:date ; + dcterms:modified "2020-12-23"^^xsd:date ; + dcterms:issued "2019-05-21"^^xsd:date ; + dc:source ; + dcterms:creator ; + dcterms:publisher ; + bibo:doi "10.5281/zenodo.595382" ; + dcterms:bibliographicCitation + "De Meester, B.; Seymoens, T.; Dimou, A. & Verborgh, R. Implementation-independent Function Reuse. Future Generation Computer Systems, Elsevier BV, 2020, 110, 946-959 " ; + dc:rights "Copyright © Ghent University – imec – IDLab"@en ; + schema:license ; + foaf:logo ; + foaf:depiction ; + rdfs:seeAlso ; + rdfs:comment """- Version 0.1.1: updated metadata +- Version 0.1.0: creation."""@en ; # Not recommended by https://w3id.org/widoco/bestPractices + foaf:primaryTopic + ; # Not recommended by https://w3id.org/widoco/bestPractices +. + + + rdf:type foaf:Person ; + foaf:mbox "mailto:Ben.DeMeester@UGent.be" ; + foaf:name "Ben De Meester"@en ; + rdfs:label "Ben De Meester"@en . + +:class-name + rdf:type rdf:Property ; + rdfs:domain fno:Implementation ; + rdfs:range xsd:string ; + rdfs:label "class name"@en ; + rdfs:comment "Connects a class name to an implemenation description."@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:OpenRefineImplementation + rdf:type owl:Class ; + rdfs:subClassOf fno:Implementation ; + rdfs:label "Openrefine Function"@en ; + rdfs:comment "A fno:Implementation, as used in OpenRefine"@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +### https://w3id.org/function/vocabulary/implementation#SPARQLImplementation + +:SPARQLImplementation + rdf:type owl:Class ; + rdfs:subClassOf fno:Implementation ; + rdfs:label "SPARQL Function"@en ; + rdfs:comment "A fno:Implementation, as used in a SPARQL query"@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:XPATHImplementation + rdf:type owl:Class ; + rdfs:subClassOf fno:Implementation ; + rdfs:label "XPath Function"@en ; + rdfs:comment "A fno:Implementation, as used in an XPath expression"@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:SQLImplementation + rdf:type owl:Class ; + rdfs:subClassOf fno:Implementation ; + rdfs:label "SQL Function"@en ; + rdfs:comment "A fno:Implementation, as used in a SQL query"@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:JavaScriptImplementation + rdf:type owl:Class ; + rdfs:subClassOf fno:Implementation ; + rdfs:label "JavaScript Function"@en ; + rdfs:comment "A fno:Implementation, coded in JavaScript"@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:NpmPackage + rdf:type owl:Class ; + rdfs:subClassOf :JavaScriptImplementation ; + rdfs:label "NPM Package"@en ; + rdfs:comment "A fno:Implementation, distributed as an NPM package"@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:JavaScriptFunction + rdf:type owl:Class ; + rdfs:subClassOf :JavaScriptImplementation ; + rdfs:label "JavaScript function"@en ; + rdfs:comment "A fno:Implementation, distributed as a JavaScript snippet"@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:JavaImplementation + rdf:type owl:Class ; + rdfs:subClassOf fno:Implementation ; + rdfs:label "JAVA implementation"@en ; + rdfs:comment "A fno:Implementation, coded in JAVA"@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:JavaClass + rdf:type owl:Class ; + rdfs:subClassOf :JavaImplementation ; + rdfs:label "JAVA class"@en ; + rdfs:comment "A fno:Implementation, distributed as a JAVA class snippet file"@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:WebApi + rdf:type owl:Class ; + rdfs:subClassOf fno:Implementation ; + rdfs:label "Web API"@en ; + rdfs:comment "A fno:Implementation, distributed as a Web API"@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:JsonApi + rdf:type owl:Class ; + rdfs:subClassOf :WebApi ; + rdfs:label "JSON API"@en ; + rdfs:comment "A fno:Implementation, distributed as a JSON (Hydra) API"@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. diff --git a/fnom.ttl b/fnom.ttl index 5256092..642abb5 100644 --- a/fnom.ttl +++ b/fnom.ttl @@ -1,218 +1,247 @@ -@prefix dct: . -@prefix owl: . -@prefix rdf: . -@prefix xml: . -@prefix xsd: . -@prefix foaf: . -@prefix rdfs: . -@prefix voaf: . -@prefix vann: . -@prefix vs: . -@prefix cc: . -@prefix fno: . - -@base . -@prefix : . - - rdf:type owl:Ontology ; - - rdf:type voaf:Vocabulary; - - vann:preferredNamespacePrefix "fnom"; - - vann:preferredNamespaceUri "https://w3id.org/function/vocabulary/mapping#"; - - rdfs:label "The Function Ontology - Implementation Mapping vocabulary"@en ; - - dct:title "The Function Ontology - Implementation Mapping vocabulary"@en ; - - dct:description "The Function Ontology Implementation Mapping vocabulary specifies terms relevant to link FnO models to implementations. The specification is online at https://w3id.org/function/spec"@en; - - rdfs:comment """-Version 0.2.0: ReturnMapping --Version 0.1.0: creation."""@en ; - - owl:versionIRI ; - - owl:versionInfo "0.2.0" ; - - owl:priorVersion "https://w3id.org/function/vocabulary/mapping/0.1.0" ; - - rdfs:seeAlso ; - - dct:modified "2019-05-29"^^xsd:date ; - - dct:issued "2019-05-21"^^xsd:date ; - - dct:rights "Copyright © Ghent University – imec – IDLab"@en ; - - cc:license ; - - foaf:primaryTopic ; - - dct:creator ; - - dct:publisher . - - rdf:type foaf:Person ; - - foaf:mbox "mailto:Ben.DeMeester@UGent.be"; - - foaf:name "Ben De Meester"@en ; - - rdfs:label "Ben De Meester"@en . - -################################################################# -# -# Object Properties -# -################################################################# - -### https://w3id.org/function/vocabulary/mapping#method-name - -:method-name rdf:type rdf:Property ; - - rdfs:label "method name"@en ; - - rdfs:comment "Connects a method name to a method mapping."@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:domain :StringMethodMapping ; - - rdfs:range xsd:string . - -### https://w3id.org/function/vocabulary/mapping#functionParameter - -:functionParameter rdf:type owl:ObjectProperty ; - - rdfs:label "function parameter"@en ; - - rdfs:comment "Connects a function parameter to a parameter mapping."@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:domain :PositionParameterMapping ; - - rdfs:range fno:Parameter . - -### https://w3id.org/function/vocabulary/mapping#implementationParameterPosition - -:implementationParameterPosition rdf:type rdf:Property ; - - rdfs:label "implementation parameter position"@en ; - - rdfs:comment "Connects an implementation parameter position to a parameter mapping."@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:domain :ParameterMapping ; - - rdfs:range xsd:int . - -### https://w3id.org/function/vocabulary/mapping#implementationProperty - -:implementationProperty rdf:type rdf:Property ; - - rdfs:label "implementation property"@en ; - - rdfs:comment "Connects an implementation parameter label to a parameter mapping."@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:domain :ParameterMapping ; - - rdfs:range xsd:string . - -### https://w3id.org/function/vocabulary/mapping#implementationProperty - -:functionOutput rdf:type rdf:Property ; - - rdfs:label "function output"@en ; - - rdfs:comment "Connects a function output to a return mapping."@en ; - - rdfs:isDefinedBy ; - - vs:term_status "testing" ; - - rdfs:domain :ReturnMapping ; - - rdfs:range fno:Output . - -################################################################# -# -# Classes -# -################################################################# - -### https://w3id.org/function/vocabulary/mapping#StringMethodMapping - -:StringMethodMapping rdf:type owl:Class ; - - rdfs:label "String Method Mapping"@en ; - - rdfs:comment "A string method mapping uses a string to map a method of an fno:Implementation to an fno:Function"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy ; - - rdfs:subClassOf fno:MethodMapping . - -### https://w3id.org/function/vocabulary/mapping#StringMethodMapping - -:PositionParameterMapping rdf:type owl:Class ; - - rdfs:label "Position Parameter Mapping"@en ; - - rdfs:comment "A position parameter mapping uses a position to map a parameter of an fno:Implementation to an fno:Parameter"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy ; - - rdfs:subClassOf fno:ParameterMapping . - -:PropertyParameterMapping rdf:type owl:Class ; - - rdfs:label "Property Parameter Mapping"@en ; - - rdfs:comment "A property parameter mapping uses a property string to map a parameter of an fno:Implementation to an fno:Parameter"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy ; - - rdfs:subClassOf fno:ParameterMapping . - -:DefaultReturnMapping rdf:type owl:Class ; - - rdfs:label "Default Return Mapping"@en ; - - rdfs:comment "A default return mapping links the return value of the method to a fno:Output"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy ; - - rdfs:subClassOf fno:ReturnMapping . - -:ExceptionReturnMapping rdf:type owl:Class ; - - rdfs:label "Exception Return Mapping"@en ; - - rdfs:comment "An exception return mapping links the thrown exception of the method to a fno:Output"@en ; - - vs:term_status "testing" ; - - rdfs:isDefinedBy ; - - rdfs:subClassOf fno:ReturnMapping . +@prefix bibo: . +@prefix cc: . +@prefix dc: . +@prefix dcterms: . +@prefix fno: . +@prefix foaf: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . +@prefix schema: . +@prefix skos: . +@prefix vann: . +@prefix voaf: . +@prefix vs: . +@prefix xml: . +@prefix xsd: . + +@base . +@prefix : . + + + rdf:type owl:Ontology ; + rdf:type voaf:Vocabulary ; + vann:preferredNamespaceUri "https://w3id.org/function/vocabulary/mapping#" ; + vann:preferredNamespacePrefix "fnom" ; + dc:title "The Function Ontology - Mapping vocabulary"@en ; + rdfs:label "The Function Ontology - Mapping vocabulary"@en ; + dc:description + "The Function Ontology Implementation Mapping vocabulary specifies terms relevant to link FnO models to implementations. The specification is online at https://w3id.org/function/spec"@en ; + bibo:status "testing" ; + owl:versionIRI ; + owl:versionInfo "0.2.1" ; + owl:backwardCompatibleWith ; +#owl:incompatibleWith <>; + owl:priorVersion ; + dcterms:created "2019-05-21"^^xsd:date ; + dcterms:modified "2020-12-23"^^xsd:date ; + dcterms:issued "2019-05-21"^^xsd:date ; + dc:source ; + dcterms:creator ; + dcterms:publisher ; + bibo:doi "10.5281/zenodo.595382" ; + dcterms:bibliographicCitation + "De Meester, B.; Seymoens, T.; Dimou, A. & Verborgh, R. Implementation-independent Function Reuse. Future Generation Computer Systems, Elsevier BV, 2020, 110, 946-959 " ; + dc:rights "Copyright © Ghent University – imec – IDLab"@en ; + schema:license ; + foaf:logo ; + foaf:depiction ; + rdfs:seeAlso ; + rdfs:comment """- Version 0.2.1: Updated metadata +- Version 0.2.0: ReturnMapping +- Version 0.1.0: creation."""@en ; # Not recommended by https://w3id.org/widoco/bestPractices + foaf:primaryTopic + ; # Not recommended by https://w3id.org/widoco/bestPractices +. + + + rdf:type foaf:Person ; + foaf:mbox "mailto:Ben.DeMeester@UGent.be" ; + foaf:name "Ben De Meester"@en ; + rdfs:label "Ben De Meester"@en . + +:method-name + rdf:type rdf:Property ; + rdfs:domain :StringMethodMapping ; + rdfs:range xsd:string ; + rdfs:label "method name"@en ; + rdfs:comment "Connects a method name to a method mapping."@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:functionParameter + rdf:type owl:ObjectProperty ; + rdfs:domain :PositionParameterMapping ; + rdfs:range fno:Parameter ; + rdfs:label "function parameter"@en ; + rdfs:comment "Connects a function parameter to a parameter mapping."@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:implementationParameterPosition + rdf:type rdf:Property ; + rdfs:domain :ParameterMapping ; + rdfs:range xsd:int ; + rdfs:label "implementation parameter position"@en ; + rdfs:comment "Connects an implementation parameter position to a parameter mapping."@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:constantParameterValue + rdf:type rdf:Property ; + rdfs:domain :ParameterMapping ; + rdfs:range xsd:string ; + rdfs:label "constant parameter value"@en ; + rdfs:comment "Connects an implementation constant to a parameter value."@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:repeatableParameter + rdf:type rdf:Property ; + rdfs:domain :ParameterMapping ; + rdfs:range xsd:boolean ; + rdfs:label "repeatable parameter value"@en ; + rdfs:comment "Flag indicating whether the parameter can be repeated."@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:implementationProperty + rdf:type rdf:Property ; + rdfs:domain :ParameterMapping ; + rdfs:range xsd:string ; + rdfs:label "implementation property"@en ; + rdfs:comment "Connects an implementation parameter label to a parameter mapping."@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:functionOutput + rdf:type rdf:Property ; + rdfs:domain :ReturnMapping ; + rdfs:range fno:Output ; + rdfs:label "function output"@en ; + rdfs:comment "Connects a function output to a return mapping."@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:StringMethodMapping + rdf:type owl:Class ; + rdfs:subClassOf fno:MethodMapping ; + rdfs:label "String Method Mapping"@en ; + rdfs:comment + "A string method mapping uses a string to map a method of an fno:Implementation to an fno:Function"@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:PositionParameterMapping + rdf:type owl:Class ; + rdfs:subClassOf fno:ParameterMapping ; + rdfs:label "Position Parameter Mapping"@en ; + rdfs:comment + "A position parameter mapping uses a position to map a parameter of an fno:Implementation to an fno:Parameter"@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:PropertyParameterMapping + rdf:type owl:Class ; + rdfs:subClassOf fno:ParameterMapping ; + rdfs:label "Property Parameter Mapping"@en ; + rdfs:comment + "A property parameter mapping uses a property string to map a parameter of an fno:Implementation to an fno:Parameter"@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:ConstantParameterMapping + rdf:type owl:Class ; + rdfs:subClassOf fno:ParameterMapping ; + rdfs:label "Constant Parameter Mapping"@en ; + rdfs:comment + "A constant parameter mapping uses a property string to map a parameter of an fno:Implementation to a constant value"@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:DefaultReturnMapping + rdf:type owl:Class ; + rdfs:subClassOf fno:ReturnMapping ; + rdfs:label "Default Return Mapping"@en ; + rdfs:comment "A default return mapping links the return value of the method to a fno:Output"@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +:ExceptionReturnMapping + rdf:type owl:Class ; + rdfs:subClassOf fno:ReturnMapping ; + rdfs:label "Exception Return Mapping"@en ; + rdfs:comment "An exception return mapping links the thrown exception of the method to a fno:Output"@en ; + rdfs:isDefinedBy ; +# vann:example <> ; # TODO + vs:term_status "testing" ; +. + +xsd:decimal + skos:narrower xsd:integer . + +xsd:anyAtomicType + skos:narrower xsd:decimal, rdf:List, xsd:decimal, xsd:dateTime, xsd:integer, xsd:string . + +xsd:integer + skos:broader xsd:decimal . + +xsd:decimal + skos:broader xsd:anyAtomicType . + +rdf:List + skos:broader xsd:anyAtomicType . + +xsd:decimal + skos:broader xsd:anyAtomicType . + +xsd:dateTime + skos:broader xsd:anyAtomicType . + +xsd:integer + skos:broader xsd:anyAtomicType . + +xsd:string + skos:broader xsd:anyAtomicType . + +xsd:integer + rdfs:label "integer" . + +xsd:decimal + rdfs:label "decimal" . + +rdf:List + rdfs:label "array" . + +xsd:dateTime + rdfs:label "dateTime" . + +xsd:string + rdfs:label "string" . + +xsd:anyAtomicType + rdfs:label "(any)" . diff --git a/functions.ttl b/functions.ttl index 62985f9..ce7a560 100644 --- a/functions.ttl +++ b/functions.ttl @@ -1,7 +1,8 @@ -@prefix fno: . -@prefix fns: . +@prefix fns: . +@prefix fno: . @prefix dcterms: . @prefix rdfs: . +@prefix xsd: . @prefix rdf: . @prefix skos: . @prefix void: . @@ -29,1085 +30,751 @@ fns:dataset a void:Dataset ; foaf:mbox "mailto:Ben.DeMeester@UGent.be"; foaf:name "Ben De Meester"@en ]; - dcterms:modified "2016-06-16"^^xsd:date; + dcterms:modified "2016-8-4"^^xsd:date; cc:license ; dcterms:issued "2016-04-30"^^xsd:date ; dcterms:rights "Copyright © Ghent University – iMinds – Data Science Lab"@en ; dcterms:subject ; dcterms:subject ; void:feature ; - void:exampleResource fns:prob_date ; + void:exampleResource fns:prob_date ; void:vocabulary . - :prob_date a fno:Problem ; - dcterms:title "The date problem"^^xsd:string ; + fno:name "The date problem"^^xsd:string ; dcterms:description ""^^xsd:string . :prob_timezone a fno:Problem ; - dcterms:title "The timezone problem"^^xsd:string ; + fno:name "The timezone problem"^^xsd:string ; dcterms:description "Getting the timezone of a string."^^xsd:string . :fn_timezone a fno:Function ; fno:solves :prob_timezone ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Duration String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_duration + fno:predicate :pred_duration ] . :fn_tz a fno:Function ; fno:solves :prob_timezone ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Timezone String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_string + fno:predicate :pred_string ] . :prob_day a fno:Problem ; - dcterms:title "The day problem"^^xsd:string ; + fno:name "The day problem"^^xsd:string ; dcterms:description "Extracting the day from a date/time literal."^^xsd:string . :fn_day a fno:Function ; fno:solves :prob_day ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_dateTime - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_dateTime ; rdfs:label "DateTime"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_integer + fno:predicate :pred_integer ] . :prob_month a fno:Problem ; - dcterms:title "The month problem"^^xsd:string ; + fno:name "The month problem"^^xsd:string ; dcterms:description "Extracting the month from a date/time literal."^^xsd:string . :fn_month a fno:Function ; fno:solves :prob_month ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_dateTime - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_dateTime ; rdfs:label "DateTime"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_integer + fno:predicate :pred_integer ] . :prob_hours a fno:Problem ; - dcterms:title "The hours problem"^^xsd:string ; + fno:name "The hours problem"^^xsd:string ; dcterms:description "Extracting the hours from a date/time literal."^^xsd:string . :fn_hours a fno:Function ; fno:solves :prob_hours ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_dateTime - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_dateTime ; rdfs:label "DateTime"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_integer + fno:predicate :pred_integer ] . :prob_seconds a fno:Problem ; - dcterms:title "The seconds problem"^^xsd:string ; + fno:name "The seconds problem"^^xsd:string ; dcterms:description "Extracting the seconds from a date/time literal."^^xsd:string . :fn_seconds a fno:Function ; fno:solves :prob_seconds ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_dateTime - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_dateTime ; rdfs:label "DateTime"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_integer + fno:predicate :pred_integer ] . :prob_minutes a fno:Problem ; - dcterms:title "The minutes problem"^^xsd:string ; + fno:name "The minutes problem"^^xsd:string ; dcterms:description "Extracting the minutes from a date/time literal."^^xsd:string . :fn_minutes a fno:Function ; fno:solves :prob_minutes ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_dateTime - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_dateTime ; rdfs:label "DateTime"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_integer + fno:predicate :pred_integer ] . :prob_year a fno:Problem ; - dcterms:title "The year problem"^^xsd:string ; + fno:name "The year problem"^^xsd:string ; dcterms:description "Extracting the year from a date/time literal."^^xsd:string . :fn_year a fno:Function ; fno:solves :prob_year ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_dateTime - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_dateTime ; rdfs:label "DateTime"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_integer + fno:predicate :pred_integer ] . :prob_now a fno:Problem ; - dcterms:title "The now problem"^^xsd:string ; + fno:name "The now problem"^^xsd:string ; dcterms:description "Getting the current date and time."^^xsd:string . :fn_now a fno:Function ; fno:solves :prob_now ; + fno:expects () ; fno:output [ a fno:Output; - rdf:predicate :pred_dateTime + fno:predicate :pred_dateTime ] . :prob_crypto a fno:Problem ; - dcterms:title "The crypto problem"^^xsd:string ; + fno:name "The crypto problem"^^xsd:string ; dcterms:description ""^^xsd:string . :prob_sha1 a fno:Problem ; - dcterms:title "The sha1 problem"^^xsd:string ; + fno:name "The sha1 problem"^^xsd:string ; dcterms:description "Calculating the SHA1 checksum."^^xsd:string . :fn_sha1 a fno:Function ; fno:solves :prob_sha1 ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Input String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_string + fno:predicate :pred_string ] . :prob_sha512 a fno:Problem ; - dcterms:title "The sha512 problem"^^xsd:string ; + fno:name "The sha512 problem"^^xsd:string ; dcterms:description "Calculating the SHA512 checksum."^^xsd:string . :fn_sha512 a fno:Function ; fno:solves :prob_sha512 ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Input String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_string + fno:predicate :pred_string ] . :prob_sha384 a fno:Problem ; - dcterms:title "The sha384 problem"^^xsd:string ; + fno:name "The sha384 problem"^^xsd:string ; dcterms:description "Calculating the SHA384 checksum."^^xsd:string . :fn_sha384 a fno:Function ; fno:solves :prob_sha384 ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Input String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_string + fno:predicate :pred_string ] . :prob_sha256 a fno:Problem ; - dcterms:title "The sha256 problem"^^xsd:string ; + fno:name "The sha256 problem"^^xsd:string ; dcterms:description "Calculating the SHA256 checksum."^^xsd:string . :fn_sha256 a fno:Function ; fno:solves :prob_sha256 ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Input String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_string + fno:predicate :pred_string ] . :prob_md5 a fno:Problem ; - dcterms:title "The md5 problem"^^xsd:string ; + fno:name "The md5 problem"^^xsd:string ; dcterms:description "Calculating the md5 checksum."^^xsd:string . :fn_md5 a fno:Function ; fno:solves :prob_md5 ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Input String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_string + fno:predicate :pred_string ] . :prob_mathematical a fno:Problem ; - dcterms:title "The mathematical problem"^^xsd:string ; + fno:name "The mathematical problem"^^xsd:string ; dcterms:description ""^^xsd:string . :prob_floor a fno:Problem ; - dcterms:title "The floor problem"^^xsd:string ; + fno:name "The floor problem"^^xsd:string ; dcterms:description "Returning the largest (closest to positive infinity) number with no fractional part that is not greater than the given value."^^xsd:string . :fn_floor a fno:Function ; fno:solves :prob_floor ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_number - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_number ; rdfs:label "Input Number"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_result + fno:predicate :pred_result ] . :prob_abs a fno:Problem ; - dcterms:title "The abs problem"^^xsd:string ; + fno:name "The abs problem"^^xsd:string ; dcterms:description "Returning the absolute value of the given value."^^xsd:string . :fn_abs a fno:Function ; fno:solves :prob_abs ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_number - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_number ; rdfs:label "Input Number"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_result + fno:predicate :pred_result ] . :prob_add a fno:Problem ; - dcterms:title "The add problem"^^xsd:string ; + fno:name "The add problem"^^xsd:string ; dcterms:description "Returning the sum of the given values."^^xsd:string . :fn_add a fno:Function ; fno:solves :prob_add ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_number - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_number - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_number ; rdfs:label "Input Number 1"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_number ; rdfs:label "Input Number 2"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_number + fno:predicate :pred_number ] . :prob_unaryMinus a fno:Problem ; - dcterms:title "The unaryMinus problem"^^xsd:string ; + fno:name "The unaryMinus problem"^^xsd:string ; dcterms:description "Returning the given value with the sign reversed."^^xsd:string . :fn_unaryMinus a fno:Function ; fno:solves :prob_unaryMinus ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_number - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_number ; rdfs:label "Input Number"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_number + fno:predicate :pred_number ] . :prob_sub a fno:Problem ; - dcterms:title "The sub problem"^^xsd:string ; + fno:name "The sub problem"^^xsd:string ; dcterms:description "Returning the arithmetic difference of the given values."^^xsd:string . :fn_sub a fno:Function ; fno:solves :prob_sub ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_number - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_number - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_number ; rdfs:label "Input Number 1"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_number ; rdfs:label "Input Number 2"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_number + fno:predicate :pred_number ] . :prob_mul a fno:Problem ; - dcterms:title "The mul problem"^^xsd:string ; + fno:name "The mul problem"^^xsd:string ; dcterms:description "Returning the arithmetic product of the given values."^^xsd:string . :fn_mul a fno:Function ; fno:solves :prob_mul ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_number - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_number - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_number ; rdfs:label "Input Number 1"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_number ; rdfs:label "Input Number 2"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_number + fno:predicate :pred_number ] . :prob_max a fno:Problem ; - dcterms:title "The max problem"^^xsd:string ; + fno:name "The max problem"^^xsd:string ; dcterms:description "Returning the largest value of the input."^^xsd:string . :fn_max a fno:Function ; fno:solves :prob_max ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_number - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_number - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_number ; rdfs:label "Input Number 1"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_number ; rdfs:label "Input Number 2"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_number + fno:predicate :pred_number ] . :prob_min a fno:Problem ; - dcterms:title "The min problem"^^xsd:string ; + fno:name "The min problem"^^xsd:string ; dcterms:description "Returning the smallest value of the input."^^xsd:string . :fn_min a fno:Function ; fno:solves :prob_min ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_number - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_number - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_number ; rdfs:label "Input Number"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_number ; rdfs:label "Input Number"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_number + fno:predicate :pred_number ] . :prob_divide a fno:Problem ; - dcterms:title "The divide problem"^^xsd:string ; + fno:name "The divide problem"^^xsd:string ; dcterms:description "Returning the arithmetic quotient of the given values."^^xsd:string . :fn_divide a fno:Function ; fno:solves :prob_divide ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_number - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_number - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_number ; rdfs:label "Input Number 1"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_number ; rdfs:label "Input Number 2"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_number + fno:predicate :pred_number ] . :prob_rand a fno:Problem ; - dcterms:title "The rand problem"^^xsd:string ; + fno:name "The rand problem"^^xsd:string ; dcterms:description "Returns a number between 0 (inclusive) and 1.0e0 (exclusive). Different numbers can be produced every time this function is invoked. Numbers should be produced with approximately equal probability."^^xsd:string . :fn_rand a fno:Function ; fno:solves :prob_rand ; + fno:expects () ; fno:output [ a fno:Output; - rdf:predicate :pred_number + fno:predicate :pred_number ] . :prob_round a fno:Problem ; - dcterms:title "The round problem"^^xsd:string ; + fno:name "The round problem"^^xsd:string ; dcterms:description "Returning the number with no fractional part that is closest to the argument. If there are two such numbers, then the one that is closest to positive infinity is returned."^^xsd:string . :fn_round a fno:Function ; fno:solves :prob_round ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_number - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_number ; rdfs:label "Input Number"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_number + fno:predicate :pred_number ] . :prob_ceil a fno:Problem ; - dcterms:title "The ceil problem"^^xsd:string ; + fno:name "The ceil problem"^^xsd:string ; dcterms:description "Returning the smallest (closest to negative infinity) number with no fractional part that is not less than the value of arg."^^xsd:string . :fn_ceil a fno:Function ; fno:solves :prob_ceil ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_number - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_number ; rdfs:label "Input Number"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_number + fno:predicate :pred_number ] . :prob_composition a fno:Problem ; - dcterms:title "The composition problem"^^xsd:string ; + fno:name "The composition problem"^^xsd:string ; dcterms:description ""^^xsd:string . :prob_if a fno:Problem ; - dcterms:title "The if problem"^^xsd:string ; + fno:name "The if problem"^^xsd:string ; dcterms:description "Doing an if-statement."^^xsd:string . :fn_if a fno:Function ; fno:solves :prob_if ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_eval - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_true - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_false - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_eval ; rdfs:label "Evaluation Function"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_true ; rdfs:label "Value if True"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_false ; rdfs:label "Value if False"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_result + fno:predicate :pred_result ] . :prob_misc a fno:Problem ; - dcterms:title "The misc problem"^^xsd:string ; + fno:name "The misc problem"^^xsd:string ; dcterms:description ""^^xsd:string . :prob_eval a fno:Problem ; - dcterms:title "The eval problem"^^xsd:string ; + fno:name "The eval problem"^^xsd:string ; dcterms:description "Evaluating a statement"^^xsd:string . :fn_eval a fno:Function ; fno:solves :prob_eval ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Statement String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_result + fno:predicate :pred_result ] . :prob_coalesce a fno:Problem ; - dcterms:title "The coalesce problem"^^xsd:string ; + fno:name "The coalesce problem"^^xsd:string ; dcterms:description "Returning the first bound argument."^^xsd:string . :fn_coalesce a fno:Function ; fno:solves :prob_coalesce ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_list - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_list ; rdfs:label "Input List"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_result + fno:predicate :pred_result ] . :prob_ontology a fno:Problem ; - dcterms:title "The ontology problem"^^xsd:string ; + fno:name "The ontology problem"^^xsd:string ; dcterms:description ""^^xsd:string . :prob_subPropertyOf a fno:Problem ; - dcterms:title "The subPropertyOf problem"^^xsd:string ; + fno:name "The subPropertyOf problem"^^xsd:string ; dcterms:description "Checking whether a given property is a (transitive) sub-property of another property."^^xsd:string . :fn_subPropertyOf a fno:Function ; fno:solves :prob_subPropertyOf ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_property - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_property - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_property ; rdfs:label "Sub-Property"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_property ; rdfs:label "Parent Property"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_bool + fno:predicate :pred_bool ] . :prob_objectCount a fno:Problem ; - dcterms:title "The objectCount problem"^^xsd:string ; + fno:name "The objectCount problem"^^xsd:string ; dcterms:description "Getting the number of values of a given property (?arg2) at a given subject (?arg1). The result is the number of matches of (?arg1, ?arg2, ?object)."^^xsd:string . :fn_objectCount a fno:Function ; fno:solves :prob_objectCount ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_resource - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_property - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_resource ; rdfs:label "Subject"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_property ; rdfs:label "Predicate"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_integer + fno:predicate :pred_integer ] . :prob_subjectCount a fno:Problem ; - dcterms:title "The subjectCount problem"^^xsd:string ; + fno:name "The subjectCount problem"^^xsd:string ; dcterms:description "Getting the number of values of a given property (?arg1) at a given object (?arg2). The result is the number of matches of (?subject, ?arg1, ?arg2)."^^xsd:string . :fn_subjectCount a fno:Function ; fno:solves :prob_subjectCount ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_property - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_resource - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_property ; rdfs:label "Predicate"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_resource ; rdfs:label "Object"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_integer + fno:predicate :pred_integer ] . :prob_object a fno:Problem ; - dcterms:title "The object problem"^^xsd:string ; + fno:name "The object problem"^^xsd:string ; dcterms:description "Getting the object of a given subject (?arg1) / predicate (?arg2) combination. Note that if multiple values are present then the result might be unpredictably random."^^xsd:string . :fn_object a fno:Function ; fno:solves :prob_object ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_resource - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_property - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_resource ; rdfs:label "Subject"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_property ; rdfs:label "Predicate"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_resource + fno:predicate :pred_resource ] . :prob_objectInGraph a fno:Problem ; - dcterms:title "The objectInGraph problem"^^xsd:string ; + fno:name "The objectInGraph problem"^^xsd:string ; dcterms:description "Gets the object of a given subject (?arg1) / predicate (?arg2) combination in a given graph ?arg3. Note that if multiple values are present then the result might be unpredictably random."^^xsd:string . :fn_objectInGraph a fno:Function ; fno:solves :prob_objectInGraph ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_resource - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_property - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_graph - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_resource ; rdfs:label "Subject"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_property ; rdfs:label "Predicate"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_graph ; rdfs:label "Graph"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_resource + fno:predicate :pred_resource ] . :prob_objectSubProp a fno:Problem ; - dcterms:title "The objectSubProp problem"^^xsd:string ; + fno:name "The objectSubProp problem"^^xsd:string ; dcterms:description "Getting the object of a given subject (?arg1) / predicate (?arg2) combination, also taking the sub-properties of ?arg2 into account. Note that if multiple values are present then the result might be unpredictably random."^^xsd:string . :fn_objectSubProp a fno:Function ; fno:solves :prob_objectSubProp ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_resource - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_property - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_resource ; rdfs:label "Subject"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_property ; rdfs:label "Predicate"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_resource + fno:predicate :pred_resource ] . :prob_strdt a fno:Problem ; - dcterms:title "The strdt problem"^^xsd:string ; + fno:name "The strdt problem"^^xsd:string ; dcterms:description "Constructing a literal with lexical form and type as specified by the arguments."^^xsd:string . :fn_strdt a fno:Function ; fno:solves :prob_strdt ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_iri - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Input String"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_iri ; rdfs:label "Data Type IRI"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_literal + fno:predicate :pred_literal ] . :prob_bnode a fno:Problem ; - dcterms:title "The bnode problem"^^xsd:string ; + fno:name "The bnode problem"^^xsd:string ; dcterms:description "Constructing a blank node that is distinct from all blank nodes in the dataset being queried and distinct from all blank nodes created by calls to this constructor for other query solutions. If the no argument form is used, every call results in a distinct blank node. If the form with a simple literal is used, every call results in distinct blank nodes for different simple literals, and the same blank node for calls with the same simple literal within expressions for one solution mapping."^^xsd:string . :fn_bnode a fno:Function ; fno:solves :prob_bnode ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_literal - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_literal ; rdfs:label "Literal to Derive Blank Node from"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_resource + fno:predicate :pred_resource ] . :prob_IRI a fno:Problem ; - dcterms:title "The IRI problem"^^xsd:string ; + fno:name "The IRI problem"^^xsd:string ; dcterms:description "Creating a IRI resource (node) from a given IRI string"^^xsd:string . :fn_IRI a fno:Function ; fno:solves :prob_IRI ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "IRI String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_resource + fno:predicate :pred_resource ] . :prob_datatype a fno:Problem ; - dcterms:title "The datatype problem"^^xsd:string ; + fno:name "The datatype problem"^^xsd:string ; dcterms:description "Returning the datatype IRI of argument ?arg1; returns xsd:string if the parameter is a simple literal."^^xsd:string . :fn_datatype a fno:Function ; fno:solves :prob_datatype ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Input String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_class + fno:predicate :pred_class ] . :prob_subClassOf a fno:Problem ; - dcterms:title "The subClassOf problem"^^xsd:string ; + fno:name "The subClassOf problem"^^xsd:string ; dcterms:description "Checks whether a given class (?arg1) is a (transitive) sub-class of another class (?arg2)."^^xsd:string . :fn_subClassOf a fno:Function ; fno:solves :prob_subClassOf ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_class - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_class - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_class ; rdfs:label "Sub Class"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_class ; rdfs:label "Parent Class"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_bool + fno:predicate :pred_bool ] . :prob_subject a fno:Problem ; - dcterms:title "The subject problem"^^xsd:string ; + fno:name "The subject problem"^^xsd:string ; dcterms:description "Gets the 'first' subject of a given predicate (?arg1)/object (?arg2) combination. Note that if multiple values are present then the result might be unpredictably random."^^xsd:string . :fn_subject a fno:Function ; fno:solves :prob_subject ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_property - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_resource - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_property ; rdfs:label "Predicate"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_resource ; rdfs:label "Object"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_resource + fno:predicate :pred_resource ] . :prob_bool a fno:Problem ; - dcterms:title "The bool problem"^^xsd:string ; + fno:name "The bool problem"^^xsd:string ; dcterms:description ""^^xsd:string . :prob_lt a fno:Problem ; - dcterms:title "The lt problem"^^xsd:string ; + fno:name "The lt problem"^^xsd:string ; dcterms:description "Returning true if ?arg1 < ?arg2."^^xsd:string . :fn_lt a fno:Function ; fno:solves :prob_lt ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_input - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_input - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_input ; rdfs:label "Input 1"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_input ; rdfs:label "Input 2"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_bool + fno:predicate :pred_bool ] . :prob_not a fno:Problem ; - dcterms:title "The not problem"^^xsd:string ; + fno:name "The not problem"^^xsd:string ; dcterms:description "Returning the boolean negation of the argument."^^xsd:string . :fn_not a fno:Function ; fno:solves :prob_not ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_input - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_input ; rdfs:label "Input"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_bool + fno:predicate :pred_bool ] . :prob_ne a fno:Problem ; - dcterms:title "The ne problem"^^xsd:string ; + fno:name "The ne problem"^^xsd:string ; dcterms:description "Returning true if ?arg1 != ?arg2."^^xsd:string . :fn_ne a fno:Function ; fno:solves :prob_ne ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_input - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_input - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_input ; rdfs:label "Input 1"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_input ; rdfs:label "Input 2"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_bool + fno:predicate :pred_bool ] . :prob_le a fno:Problem ; - dcterms:title "The le problem"^^xsd:string ; + fno:name "The le problem"^^xsd:string ; dcterms:description "Returning true if ?arg1 <= ?arg2."^^xsd:string . :fn_le a fno:Function ; fno:solves :prob_le ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_input - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_input - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_input ; rdfs:label "Input 1"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_input ; rdfs:label "Input 2"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_bool + fno:predicate :pred_bool ] . :prob_ge a fno:Problem ; - dcterms:title "The ge problem"^^xsd:string ; + fno:name "The ge problem"^^xsd:string ; dcterms:description "Returning true if ?arg1 >= ?arg2."^^xsd:string . :fn_ge a fno:Function ; fno:solves :prob_ge ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_input - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_input - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_input ; rdfs:label "Input 1"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_input ; rdfs:label "Input 2"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_bool + fno:predicate :pred_bool ] . :prob_isURI a fno:Problem ; - dcterms:title "The isURI problem"^^xsd:string ; + fno:name "The isURI problem"^^xsd:string ; dcterms:description "Checking whether a node is a URI."^^xsd:string . :fn_isURI a fno:Function ; fno:solves :prob_isURI ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_input - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_input ; rdfs:label "Input 1"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_bool + fno:predicate :pred_bool ] . :prob_eq a fno:Problem ; - dcterms:title "The eq problem"^^xsd:string ; + fno:name "The eq problem"^^xsd:string ; dcterms:description "Returning true if ?arg1 == ?arg2."^^xsd:string . :fn_eq a fno:Function ; fno:solves :prob_eq ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_input - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_input - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_input ; rdfs:label "Input 1"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_input ; rdfs:label "Input 2"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_bool + fno:predicate :pred_bool ] . :prob_and a fno:Problem ; - dcterms:title "The and problem"^^xsd:string ; + fno:name "The and problem"^^xsd:string ; dcterms:description "Returning the logical AND between two (boolean) operands."^^xsd:string . :fn_and a fno:Function ; fno:solves :prob_and ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_input - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_input - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_input ; rdfs:label "Input 1"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_input ; rdfs:label "Input 2"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_bool + fno:predicate :pred_bool ] . :prob_or a fno:Problem ; - dcterms:title "The or problem"^^xsd:string ; + fno:name "The or problem"^^xsd:string ; dcterms:description "Returning the logical OR between two (boolean) operands."^^xsd:string . :fn_or a fno:Function ; fno:solves :prob_or ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_input - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_input - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_input ; rdfs:label "Input 1"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_input ; rdfs:label "Input 2"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_bool + fno:predicate :pred_bool ] . :prob_string a fno:Problem ; - dcterms:title "The string problem"^^xsd:string ; + fno:name "The string problem"^^xsd:string ; dcterms:description ""^^xsd:string . :prob_encode_for_uri a fno:Problem ; - dcterms:title "The encode_for_uri problem"^^xsd:string ; + fno:name "The encode_for_uri problem"^^xsd:string ; dcterms:description "encoding for a URI"^^xsd:string . :fn_encode_for_uri a fno:Function ; fno:solves :prob_encode_for_uri ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Input String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_string + fno:predicate :pred_string ] . :prob_contains a fno:Problem ; - dcterms:title "The contains problem"^^xsd:string ; + fno:name "The contains problem"^^xsd:string ; dcterms:description "Whether a string contains another string"^^xsd:string . :fn_contains a fno:Function ; fno:solves :prob_contains ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Haystack String"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Needle String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_bool + fno:predicate :pred_bool ] . :prob_strends a fno:Problem ; - dcterms:title "The strends problem"^^xsd:string ; + fno:name "The strends problem"^^xsd:string ; dcterms:description "Whether a string ends another string"^^xsd:string . :fn_strends a fno:Function ; fno:solves :prob_strends ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Haystack String"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Needle String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_bool + fno:predicate :pred_bool ] . :prob_ucase a fno:Problem ; - dcterms:title "The ucase problem"^^xsd:string ; + fno:name "The ucase problem"^^xsd:string ; dcterms:description "Converting a string to upper case characters."^^xsd:string . :fn_ucase a fno:Function ; fno:solves :prob_ucase ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Input String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_string + fno:predicate :pred_string ] . :prob_lcase a fno:Problem ; - dcterms:title "The lcase problem"^^xsd:string ; + fno:name "The lcase problem"^^xsd:string ; dcterms:description "Converting a string to lower case characters."^^xsd:string . :fn_lcase a fno:Function ; fno:solves :prob_lcase ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Input String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_string + fno:predicate :pred_string ] . :prob_strstarts a fno:Problem ; - dcterms:title "The strstarts problem"^^xsd:string ; + fno:name "The strstarts problem"^^xsd:string ; dcterms:description "Whether a string starts another string"^^xsd:string . :fn_strstarts a fno:Function ; fno:solves :prob_strstarts ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Haystack String"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Needle String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_bool + fno:predicate :pred_bool ] . :prob_substr a fno:Problem ; - dcterms:title "The substr problem"^^xsd:string ; + fno:name "The substr problem"^^xsd:string ; dcterms:description "Getting the sub-string of a given string"^^xsd:string . :fn_substr a fno:Function ; fno:solves :prob_substr ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_integer - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_integer - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Input String"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_integer ; rdfs:label "Starting Index"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_integer ; rdfs:label "Length"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_string + fno:predicate :pred_string ] . :prob_strlen a fno:Problem ; - dcterms:title "The strlen problem"^^xsd:string ; + fno:name "The strlen problem"^^xsd:string ; dcterms:description "Computing the length of a given input string."^^xsd:string . :fn_strlen a fno:Function ; fno:solves :prob_strlen ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Input String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_integer + fno:predicate :pred_integer ] . :prob_strafter a fno:Problem ; - dcterms:title "The strafter problem"^^xsd:string ; + fno:name "The strafter problem"^^xsd:string ; dcterms:description "Returning a literal of the same kind (simple literal, plain literal same language tag, xsd:string) as the first argument arg1. The lexical form of the result is the substring of the value of arg1 that proceeds in arg1 the first occurrence of the lexical form of arg2; otherwise the lexical form of the result is the empty string. If the lexical form of arg2 is the empty string, the lexical form of the result is the emprty string."^^xsd:string . :fn_strafter a fno:Function ; fno:solves :prob_strafter ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "HayStack String"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Needle String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_string + fno:predicate :pred_string ] . :prob_replace a fno:Problem ; - dcterms:title "The replace problem"^^xsd:string ; + fno:name "The replace problem"^^xsd:string ; dcterms:description "Replacing each non-overlapping occurrence of a regular expression pattern with a replacement string. Regular expession matching may involve modifier flags."^^xsd:string . :fn_replace a fno:Function ; fno:solves :prob_replace ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Input String"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Search String"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Replacement String"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Flags"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_string + fno:predicate :pred_string ] . :prob_strbefore a fno:Problem ; - dcterms:title "The strbefore problem"^^xsd:string ; + fno:name "The strbefore problem"^^xsd:string ; dcterms:description "Returning a literal of the same kind (simple literal, plain literal same language tag, xsd:string) as the first argument arg1. The lexical form of the result is the substring of the value of arg1 that precedes in arg1 the first occurrence of the lexical form of arg2; otherwise the lexical form of the result is the empty string. If the lexical form of arg2 is the empty string, the lexical form of the result is the emprty string."^^xsd:string . :fn_strbefore a fno:Function ; fno:solves :prob_strbefore ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "HayStack String"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Needle String"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_string + fno:predicate :pred_string ] . :prob_concat a fno:Problem ; - dcterms:title "The concat problem"^^xsd:string ; + fno:name "The concat problem"^^xsd:string ; dcterms:description "Creating a single string by concatenating all arguments from left to right. Note that if any one of the arguments is unbound (null) then the whole result string will be unbound."^^xsd:string . :fn_concat a fno:Function ; fno:solves :prob_concat ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Input String 1"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Input String 2"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_string + fno:predicate :pred_string ] . :prob_regex a fno:Problem ; - dcterms:title "The regex problem"^^xsd:string ; + fno:name "The regex problem"^^xsd:string ; dcterms:description "Returning true if a string (?arg1) matches the regular expression supplied as a pattern (?arg2) as influenced by the value of flags (?arg3), otherwise returns false."^^xsd:string . :fn_regex a fno:Function ; fno:solves :prob_regex ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; - fno:parameter [ - a fno:Parameter; - rdf:predicate :pred_string - ] ; + fno:expects ([ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Input String"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Regular Expression String"^^xsd:string ] [ a fno:Parameter; fno:predicate :pred_string ; rdfs:label "Flags"^^xsd:string ]) ; fno:output [ a fno:Output; - rdf:predicate :pred_bool + fno:predicate :pred_bool ] . :prob_rdf a fno:Problem ; - dcterms:title "The rdf problem"^^xsd:string ; + fno:name "The rdf problem"^^xsd:string ; dcterms:description ""^^xsd:string . -:pred_string rdfs:range xsd:string . -:pred_date rdfs:range xsd:dateTime . -:pred_duration rdfs:range xsd:duration . -:pred_integer rdfs:range xsd:integer . -:pred_list rdfs:range rdf:List . -:pred_error rdfs:range :Error . -:pred_bool rdfs:range xsd:boolean . -:pred_property rdfs:range rdf:Property . -:pred_resource rdfs:range rdf:Resource . -:pred_class rdfs:range rdf:Class . +:pred_string fno:type xsd:string . +:pred_date fno:type xsd:dateTime . +:pred_duration fno:type xsd:duration . +:pred_integer fno:type xsd:integer . +:pred_list fno:type rdf:List . +:pred_error fno:type fns:Error . +:pred_bool fno:type xsd:boolean . +:pred_property fno:type rdf:Property . +:pred_resource fno:type rdf:Resource . +:pred_class fno:type rdf:Class . :prob_URI skos:broader :prob_IRI . :fn_objectInGraph skos:broader :fn_object . @@ -1210,4 +877,4 @@ fns:dataset a void:Dataset ; fno:solves :prob_ucase . fno:solves :prob_lcase . fno:solves :prob_strstarts . - fno:solves :prob_strends . \ No newline at end of file + fno:solves :prob_strends . diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..86801fa --- /dev/null +++ b/package-lock.json @@ -0,0 +1,641 @@ +{ + "requires": true, + "lockfileVersion": 1, + "dependencies": { + "@babel/runtime": { + "version": "7.12.5", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.5.tgz", + "integrity": "sha512-plcc+hbExy3McchJCEQG3knOsuh3HH+Prx1P6cLIkET/0dLuQDEnrT+s27Axgc9bqfsmNUNHfscgMUdBpC9xfg==", + "requires": { + "regenerator-runtime": "^0.13.4" + } + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + }, + "async": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.0.tgz", + "integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==" + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" + }, + "aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "requires": { + "tweetnacl": "^0.14.3" + } + }, + "call-bind": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.0.tgz", + "integrity": "sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==", + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.0" + } + }, + "canonicalize": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/canonicalize/-/canonicalize-1.0.5.tgz", + "integrity": "sha512-mAjKJPIyP0xqqv6IAkvso07StOmz6cmGtNDg3pXCSzXVZOqka7StIkAhJl/zHOi4M2CgpYfD6aeRWbnrmtvBEA==" + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + }, + "cross-fetch": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.6.tgz", + "integrity": "sha512-KBPUbqgFjzWlVcURG+Svp9TlhA5uliYtiNx/0r8nv0pdypeQCRJ9IaSIc3q/x3q8t3F75cHuwxVql1HFGHCNJQ==", + "requires": { + "node-fetch": "2.6.1" + } + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "requires": { + "assert-plus": "^1.0.0" + } + }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "requires": { + "object-keys": "^1.0.12" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "es-abstract": { + "version": "1.18.0-next.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz", + "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==", + "requires": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.2", + "is-negative-zero": "^2.0.0", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.1", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" + } + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "get-intrinsic": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.2.tgz", + "integrity": "sha512-aeX0vrFm21ILl3+JpFFRNe9aUvp6VFZb2/CTbgLb8j75kOhvoNYjt9d8KA/tJG4gSo8nzEDedRl0h7vDmBYRVg==", + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "requires": { + "assert-plus": "^1.0.0" + } + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" + }, + "har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "requires": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + } + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-symbols": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==" + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "is-callable": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz", + "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==" + }, + "is-date-object": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", + "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==" + }, + "is-negative-zero": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", + "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==" + }, + "is-regex": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz", + "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==", + "requires": { + "has-symbols": "^1.0.1" + } + }, + "is-symbol": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", + "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", + "requires": { + "has-symbols": "^1.0.1" + } + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" + }, + "json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + }, + "jsonld": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonld/-/jsonld-3.2.0.tgz", + "integrity": "sha512-re7FofG1iklGDlAthC4u5AMMt4l3qRNQbSI0nZTJu9vJG2R0QO6/yIhh8ZIh/M9Gg+EjXsULgQV/HEsltoVZBg==", + "requires": { + "canonicalize": "^1.0.1", + "lru-cache": "^5.1.1", + "object.fromentries": "^2.0.2", + "rdf-canonize": "^1.0.2", + "request": "^2.88.0", + "semver": "^6.3.0", + "xmldom": "0.1.19" + }, + "dependencies": { + "xmldom": { + "version": "0.1.19", + "resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.1.19.tgz", + "integrity": "sha1-Yx/Ad3bv2EEYvyUXGzftTQdaCrw=" + } + } + }, + "jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, + "lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "requires": { + "yallist": "^3.0.2" + } + }, + "mime-db": { + "version": "1.44.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", + "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==" + }, + "mime-types": { + "version": "2.1.27", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", + "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", + "requires": { + "mime-db": "1.44.0" + } + }, + "n3": { + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/n3/-/n3-1.6.4.tgz", + "integrity": "sha512-qiiBhW2nJ59cfQzi0nvZs5tSXkXgDXedIy3zNNuKjTwE8Bcvv95DTFJpOY9geg6of5T7z6cg+ZWcaHIij3svrA==", + "requires": { + "queue-microtask": "^1.1.2", + "readable-stream": "^3.6.0" + } + }, + "node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" + }, + "node-forge": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", + "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==" + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" + }, + "object-inspect": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.9.0.tgz", + "integrity": "sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw==" + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" + }, + "object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + } + }, + "object.fromentries": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.3.tgz", + "integrity": "sha512-IDUSMXs6LOSJBWE++L0lzIbSqHl9KDCfff2x/JSEIDtEUavUnyMYC2ZGay/04Zq4UT8lvd4xNhU4/YHKibAOlw==", + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1", + "has": "^1.0.3" + } + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + }, + "psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" + }, + "queue-microtask": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.2.tgz", + "integrity": "sha512-dB15eXv3p2jDlbOiNLyMabYg1/sXvppd8DP2J3EOCQ0AkuSXCW2tP7mnVouVLJKgUMY6yP0kcQDVpLCN13h4Xg==" + }, + "rdf-canonize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/rdf-canonize/-/rdf-canonize-1.2.0.tgz", + "integrity": "sha512-MQdcRDz4+82nUrEb3hNQangBDpmep15uMmnWclGi/1KS0bNVc8oHpoNI0PFLHZsvwgwRzH31bO1JAScqUAstvw==", + "requires": { + "node-forge": "^0.10.0", + "semver": "^6.3.0" + } + }, + "rdflib": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/rdflib/-/rdflib-2.1.3.tgz", + "integrity": "sha512-zLQbY6+M4Ea/U4i1RcIKWhPxrUm3/xfLyZE4HNxssb64UCTbYrHbiW3VxKOn9ExtjNVz4b6nqxHD5N9xOkWlgA==", + "requires": { + "@babel/runtime": "^7.12.5", + "async": "^3.2.0", + "cross-fetch": "^3.0.6", + "jsonld": "^3.2.0", + "n3": "^1.6.4", + "xmldom": "^0.4.0" + } + }, + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "regenerator-runtime": { + "version": "0.13.7", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", + "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==" + }, + "request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + }, + "sshpk": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", + "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, + "string.prototype.trimend": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.3.tgz", + "integrity": "sha512-ayH0pB+uf0U28CtjlLvL7NaohvR1amUvVZk+y3DYb0Ey2PUV5zPkkKy9+U1ndVEIXO8hNg18eIv9Jntbii+dKw==", + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + } + }, + "string.prototype.trimstart": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.3.tgz", + "integrity": "sha512-oBIBUy5lea5tt0ovtOFiEQaBkoBBkyJhZXzJYrSmDo5IUUqbOPvVezuRs/agBIdZ2p2Eo1FD6bD9USyBLfl3xg==", + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + } + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } + }, + "tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "requires": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + } + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" + }, + "uri-js": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz", + "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==", + "requires": { + "punycode": "^2.1.0" + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "xmldom": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.4.0.tgz", + "integrity": "sha512-2E93k08T30Ugs+34HBSTQLVtpi6mCddaY8uO+pMNk1pqSjV5vElzn4mmh6KLxN3hki8rNcHSYzILoh3TEWORvA==" + }, + "yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..37cf994 --- /dev/null +++ b/package.json @@ -0,0 +1,18 @@ +{ + "name": "function-ontology", + "version": "1.0.0", + "description": "Function Ontology maintenance repo", + "dependencies": { + "rdflib": "^2.1.3" + }, + "devDependencies": {}, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git@gitlab.ilabt.imec.be:fno/model/ontology.git" + }, + "author": "Ben De Meester", + "license": "MIT" +} diff --git a/shape.ttl b/shape.ttl new file mode 100644 index 0000000..9eae6f0 --- /dev/null +++ b/shape.ttl @@ -0,0 +1,262 @@ +@prefix fno: . +@prefix fnom: . +@prefix fnoi: . +@prefix doap: . +@prefix fnosh: . +@prefix sh: . +@prefix rdf: . +@prefix rdfs: . +@prefix xsd: . +@prefix dc: . + +fnosh:FunctionShape + a sh:NodeShape ; + sh:targetClass fno:Function ; + sh:property [ + sh:path fno:solves ; + sh:node fnosh:ProblemShape + ] ; + sh:property [ + sh:path fno:implements; + sh:maxCount 1; + sh:node fnosh:AlgorithmShape + ] ; + sh:property [ + sh:path fno:expects ; + sh:minCount 1; + sh:maxCount 1; + sh:node fnosh:ListShape + ] ; + sh:property [ + sh:path fno:returns ; + sh:minCount 1; + sh:maxCount 1; + sh:node fnosh:ListShape + ] . + +fnosh:ParameterShape + a sh:NodeShape ; + sh:targetClass fno:Parameter; + sh:property [ + sh:path fno:predicate ; + sh:maxCount 1; + sh:minCount 1 + ] ; + sh:property [ + sh:path fno:required ; + sh:maxCount 1 ; + sh:datatype xsd:boolean; + ] ; + sh:property [ + sh:path fno:type; + sh:maxCount 1; + sh:minCount 1 + ] . + +fnosh:OutputShape + a sh:NodeShape ; + sh:targetClass fno:Output; + sh:property [ + sh:path fno:predicate ; + sh:maxCount 1; + sh:minCount 1 + ] ; + sh:property [ + sh:path fno:required ; + sh:maxCount 1 ; + sh:datatype xsd:boolean; + ] ; + sh:property [ + sh:path fno:type; + sh:maxCount 1; + sh:minCount 1 + ] . + +fnosh:nameShape + a sh:NodeShape ; + sh:targetObjectsOf fno:name; + sh:datatype xsd:string . + +fnosh:descriptionShape + a sh:NodeShape ; + sh:targetObjectsOf dc:description; + sh:datatype xsd:string . + +fnosh:ProblemShape + a sh:NodeShape ; + sh:targetClass fno:Problem . + +fnosh:AlgorithmShape + a sh:NodeShape ; + sh:targetClass fno:Algorithm. + +fnosh:ExecutionShape + a sh:NodeShape ; + sh:targetClass fno:Execution ; + sh:property [ + sh:path fno:executes ; + sh:maxCount 1; + sh:node fnosh:FunctionShape + ] . + +fnosh:MappingShape + a sh:NodeShape ; + sh:targetClass fno:mapping ; + sh:property [ + sh:path fno:methodMapping ; + sh:minCount 1; + sh:maxCount 1; + sh:node fnosh:methodMappingShape + ] ; + sh:property [ + sh:path fno:parameterMapping ; + sh:node fnosh:parameterMappingShape + ] ; + sh:property [ + sh:path rdfs:seeAlso ; + sh:datatype xsd:string + ] ; + . + +fnosh:methodMappingShape + a sh:NodeShape ; + sh:targetClass fno:MethodMapping ; + . + +fnosh:stringMethodMappingShape + a sh:NodeShape ; + sh:targetClass fnom:StringMethodMapping ; + sh:property [ + sh:path fnom:method-name ; + sh:datatype xsd:string ; + ] ; + . + +fnosh:parameterMappingShape + a sh:NodeShape ; + sh:targetClass fno:ParameterMapping; + sh:property [ + sh:path fnom:functionParameter ; + sh:minCount 1; + sh:maxCount 1; + sh:node fnosh:FunctionShape + ] ; + sh:property [ + sh:path fnom:constantParameterValue; + sh:maxCount 1 + ] ; + sh:property [ + sh:path fnom:repeatableParameter; + sh:maxCount 1 + ] ; + . + +fnosh:positionParameterMappingShape + a sh:NodeShape ; + sh:targetClass fnom:PositionParameterMapping ; + sh:property [ + sh:path fnom:implementationParameterPosition ; + sh:minCount 1; + sh:maxCount 1; + sh:datatype xsd:integer ; + ] ; + . + +fnosh:PropertyParameterMappingShape + a sh:NodeShape ; + sh:targetClass fnom:PropertyParameterMapping ; + sh:property [ + sh:path fnom:implementationProperty; + sh:minCount 1; + sh:maxCount 1; + sh:datatype xsd:string + ] ; + . + +fnosh:JavaScriptFunctionShape + a sh:NodeShape ; + sh:targetClass fnoi:JavaScriptFunction ; + sh:property [ + sh:path doap:download-page ; + sh:datatype xsd:string ; + sh:minCount 1; + sh:maxCount 1 + ] ; + sh:property [ + sh:path doap:name ; + sh:datatype xsd:string ; + sh:minCount 1; + sh:maxCount 1 + ] ; + . + + +fnosh:NpmPackageShape + a sh:NodeShape ; + sh:targetClass fnoi:NpmPackage; + sh:property [ + sh:path doap:name ; + sh:datatype xsd:string ; + sh:minCount 1; + sh:maxCount 1 + ] ; + . + +fnosh:JavaClassShape + a sh:NodeShape ; + sh:targetClass fnoi:JavaClass; + sh:property [ + sh:path fnoi:class-name ; + sh:datatype xsd:string ; + sh:minCount 1; + sh:maxCount 1 + ] ; + sh:property [ + sh:path doap:download-page ; + sh:datatype xsd:string ; + sh:minCount 1; + sh:maxCount 1 + ] ; + . + +fnosh:ListShape + a sh:NodeShape ; + rdfs:label "List shape"@en ; + rdfs:comment "A shape describing well-formed RDF lists. Currently does not check for non-recursion. This could be expressed using SHACL-SPARQL."@en ; + rdfs:seeAlso ; + sh:property [ + sh:path [ sh:zeroOrMorePath rdf:rest ] ; + rdfs:comment "Each list member (including this node) must be have the shape fnosh:ListNodeShape."@en ; + sh:hasValue rdf:nil ; + sh:node fnosh:ListNodeShape ; + ] . + +fnosh:ListNodeShape + a sh:NodeShape ; + rdfs:label "List node shape"@en ; + rdfs:comment "Defines constraints on what it means for a node to be a node within a well-formed RDF list. Note that this does not check whether the rdf:rest items are also well-formed lists as this would lead to unsupported recursion."@en ; + sh:or ( [ + sh:hasValue rdf:nil ; + sh:property [ + sh:path rdf:first ; + sh:maxCount 0 ; + ] ; + sh:property [ + sh:path rdf:rest ; + sh:maxCount 0 ; + ] ; + ] + [ + sh:not [ sh:hasValue rdf:nil ] ; + sh:property [ + sh:path rdf:first ; + sh:maxCount 1 ; + sh:minCount 1 ; + # TODO set what kind of thinky + ] ; + sh:property [ + sh:path rdf:rest ; + sh:maxCount 1 ; + sh:minCount 1 ; + ] ; + ] ) .