From 86fb2270d4d57f83f80d4626e58c15c9a5339b1d Mon Sep 17 00:00:00 2001 From: SvenLieber Date: Tue, 18 Aug 2020 14:50:22 +0200 Subject: [PATCH 1/7] corrected namespace and wrong use of MeasurementProperties --- montolo-voc.ttl | 207 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 207 insertions(+) create mode 100644 montolo-voc.ttl diff --git a/montolo-voc.ttl b/montolo-voc.ttl new file mode 100644 index 0000000..e2152c7 --- /dev/null +++ b/montolo-voc.ttl @@ -0,0 +1,207 @@ +@prefix : . +@prefix cc: . +@prefix qb: . +@prefix dct: . +@prefix owl: . +@prefix rdf: . +@prefix xml: . +@prefix xsd: . +@prefix foaf: . +@prefix frbr: . +@prefix prov: . +@prefix rdfs: . +@prefix vann: . +@prefix voaf: . + + rdf:type owl:Ontology ; + vann:preferredNamespacePrefix "mov" ; + vann:preferredNamespaceUri "https://w3id.org/montolo/ns/montolo-voc#" ; + rdfs:label "MontoloVoc vocabulary"@en ; + dct:title "MontoloVoc vocabulary"@en ; + dct:description "The MontoloVoc vocabulary used to describe https://w3id.org/montolo"@en ; + rdfs:comment """-Version 1.0.0: Rebranded from LOVCube vocabulary."""@en ; + owl:versionIRI ; + owl:versionInfo "1.0.0" ; + rdfs:seeAlso ; + dct:modified "2019-07-19"^^xsd:date ; + dct:issued "2019-07-19"^^xsd:date ; + dct:created "2019-07-19"^^xsd:date ; + dct:rights "Copyright © Ghent University – imec – IDLab"@en ; + cc:license ; + foaf:primaryTopic ; + dct:creator ; + dct:contributor ; + dct:contributor [ foaf:name "Anastasia Dimou"@en ; + rdf:type foaf:Person ; + foaf:mbox "mailto:Anastasia.dimou@UGent.be" + ] ; + . + + rdf:type foaf:Person ; + foaf:mbox "mailto:sven.lieber@ugent.be" ; + foaf:name "Sven Lieber"@en . + + rdf:type foaf:Person ; + foaf:mbox "mailto:ben.demeester@ugent.be" ; + foaf:name "Ben De Meester"@en . + + +################################################################# +# Annotation properties +################################################################# + +### http://xmlns.com/foaf/0.1/mbox +foaf:mbox rdf:type owl:AnnotationProperty . + + +### http://xmlns.com/foaf/0.1/name +foaf:name rdf:type owl:AnnotationProperty . + + +################################################################# +# Object Properties +################################################################# + +:detectsRestrictionTypeExpression rdf:type owl:ObjectProperty ; + rdfs:domain :RestrictionTypeDetector ; + rdfs:range :RestrictionTypeExpression . + + +:hasRestrictionTypeDefinition rdf:type owl:ObjectProperty ; + rdfs:domain :RestrictionType ; + rdfs:range :RestrictionTypeDefinitionVersion . + + +################################################################# +# Classes +################################################################# + +### http://purl.org/linked-data/cube#DataSet +qb:DataSet rdf:type owl:Class . + + +### http://purl.org/linked-data/cube#DimensionProperty +qb:DimensionProperty rdf:type owl:Class . + + +### http://purl.org/linked-data/cube#MeasureProperty +qb:MeasureProperty rdf:type owl:Class . + + +### http://purl.org/linked-data/cube#Observation +qb:Observation rdf:type owl:Class . + + +### http://purl.org/vocab/frbr/core#Expression +frbr:Expression rdf:type owl:Class . + + +### http://purl.org/vocab/frbr/core#Work +frbr:Work rdf:type owl:Class . + + +### http://purl.org/vocommons/voaf#Vocabulary +voaf:Vocabulary rdf:type owl:Class . + + +### http://www.w3.org/ns/prov#Entity +prov:Entity rdf:type owl:Class . + + +### http://xmlns.com/foaf/0.1/Person +foaf:Person rdf:type owl:Class . + + +:Dataset rdf:type owl:Class ; + rdfs:subClassOf qb:DataSet , + prov:Entity . + + +:RestrictionType rdf:type owl:Class ; + rdfs:subClassOf frbr:Work , + prov:Entity ; + rdfs:comment "A certain type of restriction, which can be an axiom or a constraint. One example is the restriction type 'disjoint classes'."@en ; + rdfs:label "Restriction Type"@en . + + +:RestrictionTypeDefinition rdf:type owl:Class ; + rdfs:subClassOf frbr:Work , + prov:Entity ; + rdfs:label "Restriction Type Definition"@en . + + +:RestrictionTypeDefinitionVersion rdf:type owl:Class ; + rdfs:label "Restriction Type Definition Version"@en . + + +:RestrictionTypeDetector rdf:type owl:Class ; + rdfs:label "Restriction Type Detector"@en . + + +:RestrictionTypeExpression rdf:type owl:Class ; + rdfs:subClassOf frbr:Expression , + prov:Entity ; + rdfs:comment "One possible expression of a restriction type. One example might be the expression 'owl:disjointWith' for the restriction type 'disjoint classes'."@en ; + rdfs:label "Restriction Type Expression"@en . + + +:RestrictionTypeExpressionDetector rdf:type owl:Class ; + rdfs:subClassOf frbr:Work , + prov:Entity ; + rdfs:comment "A piece of software which is able to detect a certain restriction type expression."@en ; + rdfs:label "Restriction Type Expression Detector"@en . + + +:RestrictionTypeExpressionDetectorVersion rdf:type owl:Class ; + rdfs:subClassOf frbr:Expression , + prov:Entity ; + rdfs:comment "A concrete version of a restriction type expression detector."@en ; + rdfs:label "Restriction Type Expression Detector Version"@en . + + +:RestrictionTypeMeasure rdf:type owl:Class ; + rdfs:subClassOf prov:Entity ; + rdfs:label "Restriction Type Measure"@en . + + +:RestrictionTypeStatistic rdf:type owl:Class ; + rdfs:subClassOf qb:Observation , + prov:Entity ; + rdfs:label "Restriction Type Statistic"@en . + +:OntologyRepository rdfs:type owl:Class ; + rdfs:subClassOf prov:Entity ; + rdfs:label "Ontology Repository"@en . + +################################################################# +# Individuals +################################################################# + + +[ rdf:type foaf:Person ; + foaf:mbox "mailto:Anastasia.dimou@UGent.be" ; + foaf:name "Anastasia Dimou"@en +] . + +[ rdf:type foaf:Person ; + foaf:mbox "mailto:Anastasia.dimou@UGent.be" ; + foaf:name "Anastasia Dimou"@en + ] . + +################################################################# +# General axioms +################################################################# + +[ rdf:type owl:AllDisjointClasses ; + owl:members ( :RestrictionType + :RestrictionTypeDefinition + :RestrictionTypeExpression + :RestrictionTypeExpressionDetector + :RestrictionTypeExpressionDetectorVersion + :RestrictionTypeMeasure + :RestrictionTypeStatistic + ) + ] . + + +### Generated by the OWL API (version 4.2.8.20170104-2310) https://github.com/owlcs/owlapi From 59fe9560257d5ce26c3d7a70b2a109037600a8d8 Mon Sep 17 00:00:00 2001 From: SvenLieber Date: Wed, 19 Aug 2020 18:35:16 +0200 Subject: [PATCH 2/7] updated info --- README.md | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index e1209a7..1dc3eb1 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,25 @@ [![DOI](https://zenodo.org/badge/161186859.svg)](http://doi.org/10.5281/zenodo.2638002) -# Ontology Restriction Types +# MontoloVoc Vocabulary -Ontologies created with [OWL](https://www.w3.org/TR/owl2-overview/), -or in general using the [RDF](https://www.w3.org/TR/rdf11-concepts/) framework, might contain restrictions (axioms) to machine-understandably describe knowledge. +This repository contains the RDF/OWL based *MontoloVoc* vocabulary +which describes entities and statistics regarding RDF data models. +It is developed according to the UPON-light methodology. +Hence, the `requirements` folder contains information regarding the development process the documentation (ongoing work). -Several types of such restrictions exist, and so far it is not known which restriction types are used to which extent in practice. -This repository contains a vocabulary to describe restriction types, and corresponding restriction type expressions and measures ([MontoloVoc](montolo-voc.owl)). -Tools creating statistics about the use of restriction types in ontologies can use the *MontoloVoc* vocabulary to describe the statistics and refer to their structure. +# Ontology Restriction Types -# MontoloVoc Vocabulary +Ontologies created with [OWL](https://www.w3.org/TR/owl2-overview/), +or in general using the [RDF](https://www.w3.org/TR/rdf11-concepts/) framework, +might contain restrictions (axioms) to machine-understandably describe knowledge. +Similarly, restrictions might be expressed as constraints. -This repository contains the RDF/OWL based *MontoloVoc* vocabulary.. -It is developed according to the UPON-light methodology. -Hence, the `requirements` folder contains information regarding the development process the documentation (ongoing work). +This repository contains a vocabulary to describe +restriction types and corresponding restriction type expressions and measures ([MontoloVoc](montolo-voc.owl)). +Tools creating statistics about the use of restriction types in ontologies +can use the *MontoloVoc* vocabulary to describe the statistics and refer to their structure. # Montolo Restriction Types @@ -23,5 +27,5 @@ The vocabulary is used to describe concepts in [Montolo](https://github.com/IDLa such as *restriction types*, their *expressions* and RDF DataCube-based *measurements* and *dimensions*. Statistics based on these *Montolo* descriptions are available in the [MontoloStats](https://w3id.org/montolo/data/montolo-stats) dataset, -which covers 98% of [LOV](http://lov.linkeddata.es) and 97% [BioPortal](https://bioportal.bioontology.org) ontologies. +which covers 98% of [LOV](http://lov.linkeddata.es) and 565 ontologies from [BioPortal](https://bioportal.bioontology.org) ontologies. From 6b9c111f923ca3e1af86a36cb6925069f4f30d50 Mon Sep 17 00:00:00 2001 From: SvenLieber Date: Wed, 19 Aug 2020 18:42:50 +0200 Subject: [PATCH 3/7] adapted vocabulary extension and bumped to new version --- montolo-voc.ttl | 234 +++++++++++++++++++++--------------------------- 1 file changed, 101 insertions(+), 133 deletions(-) diff --git a/montolo-voc.ttl b/montolo-voc.ttl index e2152c7..d3fed50 100644 --- a/montolo-voc.ttl +++ b/montolo-voc.ttl @@ -20,10 +20,12 @@ dct:title "MontoloVoc vocabulary"@en ; dct:description "The MontoloVoc vocabulary used to describe https://w3id.org/montolo"@en ; rdfs:comment """-Version 1.0.0: Rebranded from LOVCube vocabulary."""@en ; - owl:versionIRI ; - owl:versionInfo "1.0.0" ; + rdfs:comment """-Version 2.0.0: Fixed semantic issues and removed unused classes"""@en ; + owl:versionIRI ; + owl:versionInfo "2.0.0" ; + owl:priorVersion ; rdfs:seeAlso ; - dct:modified "2019-07-19"^^xsd:date ; + dct:modified "2020-08-18"^^xsd:date ; dct:issued "2019-07-19"^^xsd:date ; dct:created "2019-07-19"^^xsd:date ; dct:rights "Copyright © Ghent University – imec – IDLab"@en ; @@ -31,11 +33,11 @@ foaf:primaryTopic ; dct:creator ; dct:contributor ; - dct:contributor [ foaf:name "Anastasia Dimou"@en ; - rdf:type foaf:Person ; - foaf:mbox "mailto:Anastasia.dimou@UGent.be" - ] ; - . + dct:contributor :natadimou . + +:natadimou rdf:type foaf:Person ; + foaf:name "Anastasia Dimou"@en ; + foaf:mbox "mailto:Anastasia.dimou@UGent.be" . rdf:type foaf:Person ; foaf:mbox "mailto:sven.lieber@ugent.be" ; @@ -46,28 +48,20 @@ foaf:name "Ben De Meester"@en . -################################################################# -# Annotation properties -################################################################# - -### http://xmlns.com/foaf/0.1/mbox -foaf:mbox rdf:type owl:AnnotationProperty . - - -### http://xmlns.com/foaf/0.1/name -foaf:name rdf:type owl:AnnotationProperty . - - ################################################################# # Object Properties ################################################################# :detectsRestrictionTypeExpression rdf:type owl:ObjectProperty ; - rdfs:domain :RestrictionTypeDetector ; + rdfs:label "detects restriction type expression" ; + rdfs:comment "Can be used to make the link between restriction types and restriction types expressions explicit." ; + rdfs:domain :RestrictionTypeExpressionDetector ; rdfs:range :RestrictionTypeExpression . :hasRestrictionTypeDefinition rdf:type owl:ObjectProperty ; + rdfs:label "has restriction type definition" ; + rdfs:comment "Links a restriction type to a specific version of a definition." ; rdfs:domain :RestrictionType ; rdfs:range :RestrictionTypeDefinitionVersion . @@ -76,117 +70,92 @@ foaf:name rdf:type owl:AnnotationProperty . # Classes ################################################################# -### http://purl.org/linked-data/cube#DataSet -qb:DataSet rdf:type owl:Class . - - -### http://purl.org/linked-data/cube#DimensionProperty -qb:DimensionProperty rdf:type owl:Class . - - -### http://purl.org/linked-data/cube#MeasureProperty -qb:MeasureProperty rdf:type owl:Class . - - -### http://purl.org/linked-data/cube#Observation -qb:Observation rdf:type owl:Class . - - -### http://purl.org/vocab/frbr/core#Expression -frbr:Expression rdf:type owl:Class . - - -### http://purl.org/vocab/frbr/core#Work -frbr:Work rdf:type owl:Class . - - -### http://purl.org/vocommons/voaf#Vocabulary -voaf:Vocabulary rdf:type owl:Class . - - -### http://www.w3.org/ns/prov#Entity -prov:Entity rdf:type owl:Class . - - -### http://xmlns.com/foaf/0.1/Person -foaf:Person rdf:type owl:Class . - - -:Dataset rdf:type owl:Class ; - rdfs:subClassOf qb:DataSet , - prov:Entity . - - -:RestrictionType rdf:type owl:Class ; - rdfs:subClassOf frbr:Work , - prov:Entity ; - rdfs:comment "A certain type of restriction, which can be an axiom or a constraint. One example is the restriction type 'disjoint classes'."@en ; - rdfs:label "Restriction Type"@en . - - -:RestrictionTypeDefinition rdf:type owl:Class ; - rdfs:subClassOf frbr:Work , - prov:Entity ; - rdfs:label "Restriction Type Definition"@en . - - -:RestrictionTypeDefinitionVersion rdf:type owl:Class ; - rdfs:label "Restriction Type Definition Version"@en . - - -:RestrictionTypeDetector rdf:type owl:Class ; - rdfs:label "Restriction Type Detector"@en . - - -:RestrictionTypeExpression rdf:type owl:Class ; - rdfs:subClassOf frbr:Expression , - prov:Entity ; - rdfs:comment "One possible expression of a restriction type. One example might be the expression 'owl:disjointWith' for the restriction type 'disjoint classes'."@en ; - rdfs:label "Restriction Type Expression"@en . - - -:RestrictionTypeExpressionDetector rdf:type owl:Class ; - rdfs:subClassOf frbr:Work , - prov:Entity ; - rdfs:comment "A piece of software which is able to detect a certain restriction type expression."@en ; - rdfs:label "Restriction Type Expression Detector"@en . - - -:RestrictionTypeExpressionDetectorVersion rdf:type owl:Class ; - rdfs:subClassOf frbr:Expression , - prov:Entity ; - rdfs:comment "A concrete version of a restriction type expression detector."@en ; - rdfs:label "Restriction Type Expression Detector Version"@en . - - -:RestrictionTypeMeasure rdf:type owl:Class ; - rdfs:subClassOf prov:Entity ; - rdfs:label "Restriction Type Measure"@en . - - -:RestrictionTypeStatistic rdf:type owl:Class ; - rdfs:subClassOf qb:Observation , - prov:Entity ; - rdfs:label "Restriction Type Statistic"@en . - -:OntologyRepository rdfs:type owl:Class ; - rdfs:subClassOf prov:Entity ; - rdfs:label "Ontology Repository"@en . - -################################################################# -# Individuals -################################################################# - - -[ rdf:type foaf:Person ; - foaf:mbox "mailto:Anastasia.dimou@UGent.be" ; - foaf:name "Anastasia Dimou"@en -] . - -[ rdf:type foaf:Person ; - foaf:mbox "mailto:Anastasia.dimou@UGent.be" ; - foaf:name "Anastasia Dimou"@en - ] . +:Dataset + rdf:type owl:Class ; + rdfs:label "Dataset" ; + rdfs:comment "A dataset of ontology statistics which are both a datacube dataset (qb:DataSet) and a PROV-O entity (prov:Entity)." ; + rdfs:subClassOf + qb:DataSet , + prov:Entity . + + +:RestrictionType + rdf:type owl:Class ; + rdfs:subClassOf + frbr:Work , + prov:Entity ; + rdfs:comment "A certain type of restriction, which can be an axiom or a constraint. One example is the restriction type 'disjoint classes'."@en ; + rdfs:label "Restriction Type"@en . + + +:RestrictionTypeDefinition + rdf:type owl:Class ; + rdfs:subClassOf + frbr:Work , + prov:Entity ; + rdfs:label "Restriction Type Definition"@en ; + rdfs:comment "A natural language definition of restriction types"@en . + + +:RestrictionTypeDefinitionVersion + rdf:type owl:Class ; + rdfs:label "Restriction Type Definition Version"@en ; + rdfs:comment "A specific version of a definition for a restriction type."@en . + + +:RestrictionTypeExpression + rdf:type owl:Class ; + rdfs:subClassOf + frbr:Expression , + prov:Entity ; + rdfs:comment "One possible expression of a restriction type. One example might be the expression 'owl:disjointWith' for the restriction type 'disjoint classes'."@en ; + rdfs:label "Restriction Type Expression"@en . + + +:RestrictionTypeExpressionDetector + rdf:type owl:Class ; + rdfs:subClassOf + frbr:Work , + prov:Entity ; + rdfs:comment "A piece of software which is able to detect a certain restriction type expression. Multiple versions of this detector might exist as separate entities"@en ; + rdfs:label "Restriction Type Expression Detector"@en . + + +:RestrictionTypeExpressionDetectorVersion + rdf:type owl:Class ; + rdfs:subClassOf + frbr:Expression , + prov:Entity ; + rdfs:comment "A concrete version of a restriction type expression detector."@en ; + rdfs:label "Restriction Type Expression Detector Version"@en . + + +:RestrictionTypeMeasure + rdf:type owl:Class ; + rdfs:subClassOf prov:Entity ; + rdfs:label "Restriction Type Measure"@en ; + rdfs:comment "A measure of a restriction type which follows the RDF Data Cube definition. Examples could be the 'occurrence' of a restriction type or 'hierarchy depth' etc."@en . + + +:RestrictionTypeStatistic + rdf:type owl:Class ; + rdfs:subClassOf + qb:Observation , + prov:Entity ; + rdfs:label "Restriction Type Statistic"@en ; + rdfs:comment "A restriction type statistic basically is a RDF Data Cube observation about restriction type use, but also a PROV-O entity such that provenance of it can be expressed."@en . + +:Repository + rdf:type owl:Class ; + rdfs:subClassOf prov:Entity ; + rdfs:label "Repository"@en ; + rdfs:comment "Any type of software repository from which input data is taken."@en . + +:OntologyRepository + rdf:type owl:Class ; + rdfs:subClassOf :Repository ; + rdfs:label "Ontology Repository"@en ; + rdfs:comment "A repository which hosts ontologies, examples could be Linked Open Vocabularies (LOV) or BioPortal."@en . ################################################################# # General axioms @@ -204,4 +173,3 @@ foaf:Person rdf:type owl:Class . ] . -### Generated by the OWL API (version 4.2.8.20170104-2310) https://github.com/owlcs/owlapi From 1ef71ce3919d1e0ced1b890569c9107d58c4e311 Mon Sep 17 00:00:00 2001 From: SvenLieber Date: Wed, 19 Aug 2020 18:43:20 +0200 Subject: [PATCH 4/7] added widoco documentation of both existing versions --- public/ns/montolo-voc/v1.0.0/.htaccess | 47 + public/ns/montolo-voc/v1.0.0/406.html | 10 + .../OOPSevaluation/evaluation/bootstrap.css | 7155 +++++++++++ .../evaluation/bootstrap.min.js | 7 + .../evaluation/jquery-1.11.0.js | 10337 ++++++++++++++++ .../evaluation/jquery.tablesorter.min.js | 4 + .../OOPSevaluation/evaluation/style.css | 40 + .../v1.0.0/OOPSevaluation/oopsEval.html | 148 + public/ns/montolo-voc/v1.0.0/index-en.html | 106 + public/ns/montolo-voc/v1.0.0/ontology.json | 363 + public/ns/montolo-voc/v1.0.0/ontology.nt | 260 + public/ns/montolo-voc/v1.0.0/ontology.ttl | 274 + public/ns/montolo-voc/v1.0.0/ontology.xml | 460 + .../v1.0.0/provenance/provenance-en.html | 20 + .../v1.0.0/provenance/provenance-en.ttl | 14 + public/ns/montolo-voc/v1.0.0/readme.md | 34 + .../ns/montolo-voc/v1.0.0/resources/extra.css | 124 + .../ns/montolo-voc/v1.0.0/resources/jquery.js | 18 + .../v1.0.0/resources/marked.min.js | 6 + .../ns/montolo-voc/v1.0.0/resources/owl.css | 248 + .../montolo-voc/v1.0.0/resources/primer.css | 103 + .../ns/montolo-voc/v1.0.0/resources/rec.css | 88 + .../v1.0.0/sections/abstract-en.html | 24 + .../v1.0.0/sections/crossref-en.html | 503 + .../v1.0.0/sections/description-en.html | 7 + .../v1.0.0/sections/introduction-en.html | 55 + .../v1.0.0/sections/overview-en.html | 80 + .../v1.0.0/sections/references-en.html | 6 + .../v1.0.0/webvowl/css/webvowl.app.css | 6 + .../v1.0.0/webvowl/css/webvowl.css | 1 + .../montolo-voc/v1.0.0/webvowl/data/foaf.json | 2894 +++++ .../v1.0.0/webvowl/data/ontology.json | 784 ++ .../ns/montolo-voc/v1.0.0/webvowl/favicon.ico | Bin 0 -> 1150 bytes .../ns/montolo-voc/v1.0.0/webvowl/index.html | 480 + .../montolo-voc/v1.0.0/webvowl/js/d3.min.js | 5 + .../v1.0.0/webvowl/js/webvowl.app.js | 5 + .../montolo-voc/v1.0.0/webvowl/js/webvowl.js | 7 + .../ns/montolo-voc/v1.0.0/webvowl/license.txt | 21 + public/ns/montolo-voc/v2.0.0/.htaccess | 47 + public/ns/montolo-voc/v2.0.0/406.html | 10 + .../OOPSevaluation/evaluation/bootstrap.css | 7155 +++++++++++ .../evaluation/bootstrap.min.js | 7 + .../evaluation/jquery-1.11.0.js | 10337 ++++++++++++++++ .../evaluation/jquery.tablesorter.min.js | 4 + .../OOPSevaluation/evaluation/style.css | 40 + .../v2.0.0/OOPSevaluation/oopsEval.html | 136 + public/ns/montolo-voc/v2.0.0/index-en.html | 107 + public/ns/montolo-voc/v2.0.0/ontology.json | 374 + public/ns/montolo-voc/v2.0.0/ontology.nt | 255 + public/ns/montolo-voc/v2.0.0/ontology.ttl | 263 + public/ns/montolo-voc/v2.0.0/ontology.xml | 437 + .../v2.0.0/provenance/provenance-en.html | 19 + .../v2.0.0/provenance/provenance-en.ttl | 16 + public/ns/montolo-voc/v2.0.0/readme.md | 34 + .../ns/montolo-voc/v2.0.0/resources/extra.css | 124 + .../ns/montolo-voc/v2.0.0/resources/jquery.js | 18 + .../v2.0.0/resources/marked.min.js | 6 + .../ns/montolo-voc/v2.0.0/resources/owl.css | 248 + .../montolo-voc/v2.0.0/resources/primer.css | 103 + .../ns/montolo-voc/v2.0.0/resources/rec.css | 88 + .../v2.0.0/sections/abstract-en.html | 24 + .../v2.0.0/sections/crossref-en.html | 569 + .../v2.0.0/sections/description-en.html | 7 + .../v2.0.0/sections/introduction-en.html | 54 + .../v2.0.0/sections/overview-en.html | 74 + .../v2.0.0/sections/references-en.html | 6 + .../v2.0.0/webvowl/css/webvowl.app.css | 6 + .../v2.0.0/webvowl/css/webvowl.css | 1 + .../montolo-voc/v2.0.0/webvowl/data/foaf.json | 2894 +++++ .../v2.0.0/webvowl/data/ontology.json | 781 ++ .../ns/montolo-voc/v2.0.0/webvowl/favicon.ico | Bin 0 -> 1150 bytes .../ns/montolo-voc/v2.0.0/webvowl/index.html | 480 + .../montolo-voc/v2.0.0/webvowl/js/d3.min.js | 5 + .../v2.0.0/webvowl/js/webvowl.app.js | 5 + .../montolo-voc/v2.0.0/webvowl/js/webvowl.js | 7 + .../ns/montolo-voc/v2.0.0/webvowl/license.txt | 21 + 76 files changed, 49506 insertions(+) create mode 100644 public/ns/montolo-voc/v1.0.0/.htaccess create mode 100644 public/ns/montolo-voc/v1.0.0/406.html create mode 100644 public/ns/montolo-voc/v1.0.0/OOPSevaluation/evaluation/bootstrap.css create mode 100644 public/ns/montolo-voc/v1.0.0/OOPSevaluation/evaluation/bootstrap.min.js create mode 100644 public/ns/montolo-voc/v1.0.0/OOPSevaluation/evaluation/jquery-1.11.0.js create mode 100644 public/ns/montolo-voc/v1.0.0/OOPSevaluation/evaluation/jquery.tablesorter.min.js create mode 100644 public/ns/montolo-voc/v1.0.0/OOPSevaluation/evaluation/style.css create mode 100644 public/ns/montolo-voc/v1.0.0/OOPSevaluation/oopsEval.html create mode 100644 public/ns/montolo-voc/v1.0.0/index-en.html create mode 100644 public/ns/montolo-voc/v1.0.0/ontology.json create mode 100644 public/ns/montolo-voc/v1.0.0/ontology.nt create mode 100644 public/ns/montolo-voc/v1.0.0/ontology.ttl create mode 100644 public/ns/montolo-voc/v1.0.0/ontology.xml create mode 100644 public/ns/montolo-voc/v1.0.0/provenance/provenance-en.html create mode 100644 public/ns/montolo-voc/v1.0.0/provenance/provenance-en.ttl create mode 100644 public/ns/montolo-voc/v1.0.0/readme.md create mode 100644 public/ns/montolo-voc/v1.0.0/resources/extra.css create mode 100644 public/ns/montolo-voc/v1.0.0/resources/jquery.js create mode 100644 public/ns/montolo-voc/v1.0.0/resources/marked.min.js create mode 100644 public/ns/montolo-voc/v1.0.0/resources/owl.css create mode 100644 public/ns/montolo-voc/v1.0.0/resources/primer.css create mode 100644 public/ns/montolo-voc/v1.0.0/resources/rec.css create mode 100644 public/ns/montolo-voc/v1.0.0/sections/abstract-en.html create mode 100644 public/ns/montolo-voc/v1.0.0/sections/crossref-en.html create mode 100644 public/ns/montolo-voc/v1.0.0/sections/description-en.html create mode 100644 public/ns/montolo-voc/v1.0.0/sections/introduction-en.html create mode 100644 public/ns/montolo-voc/v1.0.0/sections/overview-en.html create mode 100644 public/ns/montolo-voc/v1.0.0/sections/references-en.html create mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/css/webvowl.app.css create mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/css/webvowl.css create mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/data/foaf.json create mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/data/ontology.json create mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/favicon.ico create mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/index.html create mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/js/d3.min.js create mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/js/webvowl.app.js create mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/js/webvowl.js create mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/license.txt create mode 100644 public/ns/montolo-voc/v2.0.0/.htaccess create mode 100644 public/ns/montolo-voc/v2.0.0/406.html create mode 100644 public/ns/montolo-voc/v2.0.0/OOPSevaluation/evaluation/bootstrap.css create mode 100644 public/ns/montolo-voc/v2.0.0/OOPSevaluation/evaluation/bootstrap.min.js create mode 100644 public/ns/montolo-voc/v2.0.0/OOPSevaluation/evaluation/jquery-1.11.0.js create mode 100644 public/ns/montolo-voc/v2.0.0/OOPSevaluation/evaluation/jquery.tablesorter.min.js create mode 100644 public/ns/montolo-voc/v2.0.0/OOPSevaluation/evaluation/style.css create mode 100644 public/ns/montolo-voc/v2.0.0/OOPSevaluation/oopsEval.html create mode 100644 public/ns/montolo-voc/v2.0.0/index-en.html create mode 100644 public/ns/montolo-voc/v2.0.0/ontology.json create mode 100644 public/ns/montolo-voc/v2.0.0/ontology.nt create mode 100644 public/ns/montolo-voc/v2.0.0/ontology.ttl create mode 100644 public/ns/montolo-voc/v2.0.0/ontology.xml create mode 100644 public/ns/montolo-voc/v2.0.0/provenance/provenance-en.html create mode 100644 public/ns/montolo-voc/v2.0.0/provenance/provenance-en.ttl create mode 100644 public/ns/montolo-voc/v2.0.0/readme.md create mode 100644 public/ns/montolo-voc/v2.0.0/resources/extra.css create mode 100644 public/ns/montolo-voc/v2.0.0/resources/jquery.js create mode 100644 public/ns/montolo-voc/v2.0.0/resources/marked.min.js create mode 100644 public/ns/montolo-voc/v2.0.0/resources/owl.css create mode 100644 public/ns/montolo-voc/v2.0.0/resources/primer.css create mode 100644 public/ns/montolo-voc/v2.0.0/resources/rec.css create mode 100644 public/ns/montolo-voc/v2.0.0/sections/abstract-en.html create mode 100644 public/ns/montolo-voc/v2.0.0/sections/crossref-en.html create mode 100644 public/ns/montolo-voc/v2.0.0/sections/description-en.html create mode 100644 public/ns/montolo-voc/v2.0.0/sections/introduction-en.html create mode 100644 public/ns/montolo-voc/v2.0.0/sections/overview-en.html create mode 100644 public/ns/montolo-voc/v2.0.0/sections/references-en.html create mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/css/webvowl.app.css create mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/css/webvowl.css create mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/data/foaf.json create mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/data/ontology.json create mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/favicon.ico create mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/index.html create mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/js/d3.min.js create mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/js/webvowl.app.js create mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/js/webvowl.js create mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/license.txt diff --git a/public/ns/montolo-voc/v1.0.0/.htaccess b/public/ns/montolo-voc/v1.0.0/.htaccess new file mode 100644 index 0000000..23ff913 --- /dev/null +++ b/public/ns/montolo-voc/v1.0.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 https://w3id.org/montolo/ns/montolo-voc/montolo-voc + +# 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/public/ns/montolo-voc/v1.0.0/406.html b/public/ns/montolo-voc/v1.0.0/406.html new file mode 100644 index 0000000..2a3157a --- /dev/null +++ b/public/ns/montolo-voc/v1.0.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/public/ns/montolo-voc/v1.0.0/OOPSevaluation/evaluation/bootstrap.css b/public/ns/montolo-voc/v1.0.0/OOPSevaluation/evaluation/bootstrap.css new file mode 100644 index 0000000..b17ff4c --- /dev/null +++ b/public/ns/montolo-voc/v1.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/public/ns/montolo-voc/v1.0.0/OOPSevaluation/evaluation/bootstrap.min.js b/public/ns/montolo-voc/v1.0.0/OOPSevaluation/evaluation/bootstrap.min.js new file mode 100644 index 0000000..1a6258e --- /dev/null +++ b/public/ns/montolo-voc/v1.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/public/ns/montolo-voc/v1.0.0/OOPSevaluation/evaluation/jquery-1.11.0.js b/public/ns/montolo-voc/v1.0.0/OOPSevaluation/evaluation/jquery-1.11.0.js new file mode 100644 index 0000000..3c88fa8 --- /dev/null +++ b/public/ns/montolo-voc/v1.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/public/ns/montolo-voc/v1.0.0/sections/references-en.html b/public/ns/montolo-voc/v1.0.0/sections/references-en.html new file mode 100644 index 0000000..5501c97 --- /dev/null +++ b/public/ns/montolo-voc/v1.0.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/public/ns/montolo-voc/v1.0.0/webvowl/css/webvowl.app.css b/public/ns/montolo-voc/v1.0.0/webvowl/css/webvowl.app.css new file mode 100644 index 0000000..2ceaead --- /dev/null +++ b/public/ns/montolo-voc/v1.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/public/ns/montolo-voc/v1.0.0/webvowl/css/webvowl.css b/public/ns/montolo-voc/v1.0.0/webvowl/css/webvowl.css new file mode 100644 index 0000000..335ea85 --- /dev/null +++ b/public/ns/montolo-voc/v1.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/public/ns/montolo-voc/v1.0.0/webvowl/data/foaf.json b/public/ns/montolo-voc/v1.0.0/webvowl/data/foaf.json new file mode 100644 index 0000000..beaaffc --- /dev/null +++ b/public/ns/montolo-voc/v1.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/public/ns/montolo-voc/v1.0.0/webvowl/data/ontology.json b/public/ns/montolo-voc/v1.0.0/webvowl/data/ontology.json new file mode 100644 index 0000000..8ca0340 --- /dev/null +++ b/public/ns/montolo-voc/v1.0.0/webvowl/data/ontology.json @@ -0,0 +1,784 @@ +{ + "_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/ns/prov", "http://www.w3.org/2001/XMLSchema", "http://purl.org/linked-data/cube", "http://xmlns.com/foaf/0.1", "http://purl.org/vocab/frbr/core", "https://w3id.org/lovcube/ns/lovcube" ], + "title" : { + "en" : "MontoloVoc vocabulary" + }, + "iri" : "https://w3id.org/montolo/ns/montolo#", + "version" : "1.0.0", + "author" : [ "https://sven-lieber.org/profile#me" ], + "description" : { + "en" : "The MontoloVoc vocabulary used to describe https://w3id.org/montolo" + }, + "labels" : { + "en" : "MontoloVoc vocabulary" + }, + "comments" : { + "en" : "-Version 1.0.0: Rebranded from LOVCube vocabulary." + }, + "other" : { + "creator" : [ { + "identifier" : "creator", + "language" : "undefined", + "value" : "https://sven-lieber.org/profile#me", + "type" : "iri" + } ], + "created" : [ { + "identifier" : "created", + "language" : "undefined", + "value" : "2019-07-19", + "type" : "label" + } ], + "versionInfo" : [ { + "identifier" : "versionInfo", + "language" : "undefined", + "value" : "1.0.0", + "type" : "label" + } ], + "title" : [ { + "identifier" : "title", + "language" : "en", + "value" : "MontoloVoc vocabulary", + "type" : "label" + } ], + "seeAlso" : [ { + "identifier" : "seeAlso", + "language" : "undefined", + "value" : "https://w3id.org/montolo", + "type" : "iri" + } ], + "license" : [ { + "identifier" : "license", + "language" : "undefined", + "value" : "https://creativecommons.org/publicdomain/zero/1.0/", + "type" : "iri" + } ], + "contributor" : [ { + "identifier" : "contributor", + "language" : "undefined", + "value" : "_:genid-nodeid-node1dg5reushx1", + "type" : "iri" + }, { + "identifier" : "contributor", + "language" : "undefined", + "value" : "http://ben.de-meester.org/#me", + "type" : "iri" + } ], + "primaryTopic" : [ { + "identifier" : "primaryTopic", + "language" : "undefined", + "value" : "https://w3id.org/montolo", + "type" : "iri" + } ], + "preferredNamespacePrefix" : [ { + "identifier" : "preferredNamespacePrefix", + "language" : "undefined", + "value" : "mov", + "type" : "label" + } ], + "rights" : [ { + "identifier" : "rights", + "language" : "en", + "value" : "Copyright © Ghent University – imec – IDLab", + "type" : "label" + } ], + "modified" : [ { + "identifier" : "modified", + "language" : "undefined", + "value" : "2019-07-19", + "type" : "label" + } ], + "preferredNamespaceUri" : [ { + "identifier" : "preferredNamespaceUri", + "language" : "undefined", + "value" : "https://w3id.org/montolo/ns/montolo-voc#", + "type" : "label" + } ], + "issued" : [ { + "identifier" : "issued", + "language" : "undefined", + "value" : "2019-07-19", + "type" : "label" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "0", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:Class" + }, { + "id" : "6", + "type" : "owl:Class" + }, { + "id" : "8", + "type" : "owl:Class" + }, { + "id" : "13", + "type" : "owl:Class" + }, { + "id" : "15", + "type" : "owl:Class" + }, { + "id" : "10", + "type" : "owl:Class" + }, { + "id" : "5", + "type" : "owl:Class" + }, { + "id" : "16", + "type" : "owl:Class" + }, { + "id" : "12", + "type" : "owl:Class" + }, { + "id" : "9", + "type" : "owl:Class" + }, { + "id" : "14", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:Class" + }, { + "id" : "37", + "type" : "owl:Class" + }, { + "id" : "38", + "type" : "owl:Class" + }, { + "id" : "24", + "type" : "owl:Class" + }, { + "id" : "4", + "type" : "owl:Class" + }, { + "id" : "7", + "type" : "owl:Class" + }, { + "id" : "52", + "type" : "owl:Class" + }, { + "id" : "17", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "https://w3id.org/lovcube/ns/lovcube#RestrictionTypeDefinitionVersion", + "baseIri" : "https://w3id.org/lovcube/ns/lovcube", + "instances" : 0, + "label" : { + "IRI-based" : "RestrictionTypeDefinitionVersion", + "en" : "Restriction Type Definition Version" + }, + "attributes" : [ "external" ], + "id" : "0" + }, { + "iri" : "http://purl.org/linked-data/cube#Observation", + "baseIri" : "http://purl.org/linked-data/cube", + "instances" : 0, + "label" : { + "IRI-based" : "Observation" + }, + "subClasses" : [ "2" ], + "attributes" : [ "external" ], + "id" : "1" + }, { + "iri" : "https://w3id.org/lovcube/ns/lovcube#RestrictionTypeDefinition", + "baseIri" : "https://w3id.org/lovcube/ns/lovcube", + "instances" : 0, + "label" : { + "IRI-based" : "RestrictionTypeDefinition", + "en" : "Restriction Type Definition" + }, + "attributes" : [ "external" ], + "id" : "6", + "superClasses" : [ "7", "5" ] + }, { + "iri" : "http://purl.org/vocab/frbr/core#Expression", + "baseIri" : "http://purl.org/vocab/frbr/core", + "instances" : 0, + "label" : { + "IRI-based" : "Expression" + }, + "subClasses" : [ "9", "10" ], + "attributes" : [ "external" ], + "id" : "8" + }, { + "iri" : "http://purl.org/linked-data/cube#MeasureProperty", + "baseIri" : "http://purl.org/linked-data/cube", + "instances" : 0, + "label" : { + "IRI-based" : "MeasureProperty" + }, + "subClasses" : [ "14", "10" ], + "attributes" : [ "external" ], + "id" : "13" + }, { + "iri" : "https://w3id.org/lovcube/ns/lovcube#OntologyRepository", + "baseIri" : "https://w3id.org/lovcube/ns/lovcube", + "instances" : 0, + "label" : { + "IRI-based" : "OntologyRepository", + "en" : "Ontology Repository" + }, + "attributes" : [ "external" ], + "id" : "15", + "superClasses" : [ "5" ] + }, { + "iri" : "https://w3id.org/lovcube/ns/lovcube#RestrictionTypeExpressionDetectorVersion", + "baseIri" : "https://w3id.org/lovcube/ns/lovcube", + "instances" : 0, + "label" : { + "IRI-based" : "RestrictionTypeExpressionDetectorVersion", + "en" : "Restriction Type Expression Detector Version" + }, + "comment" : { + "en" : "A concrete version of a restriction type expression detector." + }, + "attributes" : [ "external" ], + "id" : "10", + "superClasses" : [ "5", "8", "13" ] + }, { + "iri" : "http://www.w3.org/ns/prov#Entity", + "baseIri" : "http://www.w3.org/ns/prov", + "instances" : 0, + "label" : { + "IRI-based" : "Entity" + }, + "subClasses" : [ "9", "6", "16", "4", "14", "2", "15", "17", "10" ], + "attributes" : [ "external" ], + "id" : "5" + }, { + "iri" : "https://w3id.org/lovcube/ns/lovcube#RestrictionType", + "baseIri" : "https://w3id.org/lovcube/ns/lovcube", + "instances" : 0, + "label" : { + "IRI-based" : "RestrictionType", + "en" : "Restriction Type" + }, + "comment" : { + "en" : "A certain type of restriction, which can be an axiom or a constraint. One example is the restriction type 'disjoint classes'." + }, + "attributes" : [ "external" ], + "id" : "16", + "superClasses" : [ "7", "5" ] + }, { + "iri" : "https://w3id.org/lovcube/ns/lovcube#RestrictionTypeDetector", + "baseIri" : "https://w3id.org/lovcube/ns/lovcube", + "instances" : 0, + "label" : { + "IRI-based" : "RestrictionTypeDetector", + "en" : "Restriction Type Detector" + }, + "attributes" : [ "external" ], + "id" : "12" + }, { + "iri" : "https://w3id.org/lovcube/ns/lovcube#RestrictionTypeExpression", + "baseIri" : "https://w3id.org/lovcube/ns/lovcube", + "instances" : 0, + "label" : { + "IRI-based" : "RestrictionTypeExpression", + "en" : "Restriction Type Expression" + }, + "comment" : { + "en" : "One possible expression of a restriction type. One example might be the expression 'owl:disjointWith' for the restriction type 'disjoint classes'." + }, + "attributes" : [ "external" ], + "id" : "9", + "superClasses" : [ "5", "8", "24" ] + }, { + "iri" : "https://w3id.org/lovcube/ns/lovcube#RestrictionTypeMeasure", + "baseIri" : "https://w3id.org/lovcube/ns/lovcube", + "instances" : 0, + "label" : { + "IRI-based" : "RestrictionTypeMeasure", + "en" : "Restriction Type Measure" + }, + "attributes" : [ "external" ], + "id" : "14", + "superClasses" : [ "5", "13" ] + }, { + "iri" : "https://w3id.org/lovcube/ns/lovcube#RestrictionTypeStatistic", + "baseIri" : "https://w3id.org/lovcube/ns/lovcube", + "instances" : 0, + "label" : { + "IRI-based" : "RestrictionTypeStatistic", + "en" : "Restriction Type Statistic" + }, + "attributes" : [ "external" ], + "id" : "2", + "superClasses" : [ "1", "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/lovcube/ns/lovcube", + "baseIri" : "https://w3id.org/lovcube/ns", + "labels" : { + "IRI-based" : "lovcube" + } + } ], + "attributes" : [ "external" ], + "id" : "37" + }, { + "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" + } + }, { + "iri" : "https://sven-lieber.org/profile#me", + "baseIri" : "https://sven-lieber.org/profile", + "annotations" : { + "name" : [ { + "identifier" : "name", + "language" : "en", + "value" : "Sven Lieber", + "type" : "label" + } ], + "mbox" : [ { + "identifier" : "mbox", + "language" : "undefined", + "value" : "mailto:sven.lieber@ugent.be", + "type" : "label" + } ] + }, + "labels" : { + "IRI-based" : "me" + } + } ], + "attributes" : [ "external" ], + "id" : "38" + }, { + "iri" : "http://purl.org/linked-data/cube#DimensionProperty", + "baseIri" : "http://purl.org/linked-data/cube", + "instances" : 0, + "label" : { + "IRI-based" : "DimensionProperty" + }, + "subClasses" : [ "9" ], + "attributes" : [ "external" ], + "id" : "24" + }, { + "iri" : "https://w3id.org/lovcube/ns/lovcube#RestrictionTypeExpressionDetector", + "baseIri" : "https://w3id.org/lovcube/ns/lovcube", + "instances" : 0, + "label" : { + "IRI-based" : "RestrictionTypeExpressionDetector", + "en" : "Restriction Type Expression Detector" + }, + "comment" : { + "en" : "A piece of software which is able to detect a certain restriction type expression." + }, + "attributes" : [ "external" ], + "id" : "4", + "superClasses" : [ "7", "5" ] + }, { + "iri" : "http://purl.org/vocab/frbr/core#Work", + "baseIri" : "http://purl.org/vocab/frbr/core", + "instances" : 0, + "label" : { + "IRI-based" : "Work" + }, + "subClasses" : [ "6", "16", "4" ], + "attributes" : [ "external" ], + "id" : "7" + }, { + "iri" : "http://purl.org/linked-data/cube#DataSet", + "baseIri" : "http://purl.org/linked-data/cube", + "instances" : 0, + "label" : { + "IRI-based" : "DataSet" + }, + "subClasses" : [ "17" ], + "attributes" : [ "external" ], + "id" : "52" + }, { + "iri" : "https://w3id.org/lovcube/ns/lovcube#Dataset", + "baseIri" : "https://w3id.org/lovcube/ns/lovcube", + "instances" : 0, + "label" : { + "IRI-based" : "Dataset" + }, + "attributes" : [ "external" ], + "id" : "17", + "superClasses" : [ "5", "52" ] + } ], + "property" : [ { + "id" : "3", + "type" : "rdfs:SubClassOf" + }, { + "id" : "11", + "type" : "owl:objectProperty" + }, { + "id" : "18", + "type" : "rdfs:SubClassOf" + }, { + "id" : "19", + "type" : "rdfs:SubClassOf" + }, { + "id" : "20", + "type" : "rdfs:SubClassOf" + }, { + "id" : "21", + "type" : "rdfs:SubClassOf" + }, { + "id" : "22", + "type" : "rdfs:SubClassOf" + }, { + "id" : "23", + "type" : "rdfs:SubClassOf" + }, { + "id" : "25", + "type" : "rdfs:SubClassOf" + }, { + "id" : "26", + "type" : "owl:disjointWith" + }, { + "id" : "27", + "type" : "rdfs:SubClassOf" + }, { + "id" : "28", + "type" : "rdfs:SubClassOf" + }, { + "id" : "29", + "type" : "owl:disjointWith" + }, { + "id" : "30", + "type" : "owl:disjointWith" + }, { + "id" : "31", + "type" : "owl:disjointWith" + }, { + "id" : "32", + "type" : "owl:disjointWith" + }, { + "id" : "33", + "type" : "owl:disjointWith" + }, { + "id" : "34", + "type" : "owl:disjointWith" + }, { + "id" : "35", + "type" : "owl:disjointWith" + }, { + "id" : "36", + "type" : "owl:disjointWith" + }, { + "id" : "39", + "type" : "owl:disjointWith" + }, { + "id" : "40", + "type" : "owl:disjointWith" + }, { + "id" : "41", + "type" : "owl:disjointWith" + }, { + "id" : "42", + "type" : "owl:disjointWith" + }, { + "id" : "43", + "type" : "owl:disjointWith" + }, { + "id" : "44", + "type" : "owl:disjointWith" + }, { + "id" : "45", + "type" : "owl:disjointWith" + }, { + "id" : "46", + "type" : "owl:disjointWith" + }, { + "id" : "47", + "type" : "owl:disjointWith" + }, { + "id" : "48", + "type" : "owl:disjointWith" + }, { + "id" : "49", + "type" : "owl:disjointWith" + }, { + "id" : "50", + "type" : "owl:disjointWith" + }, { + "id" : "51", + "type" : "owl:objectProperty" + }, { + "id" : "53", + "type" : "rdfs:SubClassOf" + }, { + "id" : "54", + "type" : "rdfs:SubClassOf" + }, { + "id" : "55", + "type" : "rdfs:SubClassOf" + }, { + "id" : "56", + "type" : "rdfs:SubClassOf" + }, { + "id" : "57", + "type" : "rdfs:SubClassOf" + }, { + "id" : "58", + "type" : "rdfs:SubClassOf" + }, { + "id" : "59", + "type" : "rdfs:SubClassOf" + }, { + "id" : "60", + "type" : "rdfs:SubClassOf" + }, { + "id" : "61", + "type" : "rdfs:SubClassOf" + } ], + "propertyAttribute" : [ { + "range" : "5", + "domain" : "4", + "attributes" : [ "object", "anonymous" ], + "id" : "3" + }, { + "iri" : "https://w3id.org/lovcube/ns/lovcube#detectsRestrictionTypeExpression", + "baseIri" : "https://w3id.org/lovcube/ns/lovcube", + "range" : "9", + "label" : { + "IRI-based" : "detectsRestrictionTypeExpression" + }, + "domain" : "12", + "attributes" : [ "external", "object" ], + "id" : "11" + }, { + "range" : "5", + "domain" : "16", + "attributes" : [ "object", "anonymous" ], + "id" : "18" + }, { + "range" : "5", + "domain" : "6", + "attributes" : [ "object", "anonymous" ], + "id" : "19" + }, { + "range" : "13", + "domain" : "10", + "attributes" : [ "object", "anonymous" ], + "id" : "20" + }, { + "range" : "13", + "domain" : "14", + "attributes" : [ "object", "anonymous" ], + "id" : "21" + }, { + "range" : "5", + "domain" : "9", + "attributes" : [ "object", "anonymous" ], + "id" : "22" + }, { + "range" : "24", + "domain" : "9", + "attributes" : [ "object", "anonymous" ], + "id" : "23" + }, { + "range" : "1", + "domain" : "2", + "attributes" : [ "object", "anonymous" ], + "id" : "25" + }, { + "range" : "2", + "domain" : "14", + "attributes" : [ "object", "anonymous" ], + "id" : "26" + }, { + "range" : "8", + "domain" : "10", + "attributes" : [ "object", "anonymous" ], + "id" : "27" + }, { + "range" : "8", + "domain" : "9", + "attributes" : [ "object", "anonymous" ], + "id" : "28" + }, { + "range" : "14", + "domain" : "10", + "attributes" : [ "object", "anonymous" ], + "id" : "29" + }, { + "range" : "2", + "domain" : "4", + "attributes" : [ "object", "anonymous" ], + "id" : "30" + }, { + "range" : "2", + "domain" : "10", + "attributes" : [ "object", "anonymous" ], + "id" : "31" + }, { + "range" : "2", + "domain" : "9", + "attributes" : [ "object", "anonymous" ], + "id" : "32" + }, { + "range" : "14", + "domain" : "9", + "attributes" : [ "object", "anonymous" ], + "id" : "33" + }, { + "range" : "14", + "domain" : "4", + "attributes" : [ "object", "anonymous" ], + "id" : "34" + }, { + "range" : "10", + "domain" : "4", + "attributes" : [ "object", "anonymous" ], + "id" : "35" + }, { + "range" : "2", + "domain" : "6", + "attributes" : [ "object", "anonymous" ], + "id" : "36" + }, { + "range" : "10", + "domain" : "9", + "attributes" : [ "object", "anonymous" ], + "id" : "39" + }, { + "range" : "4", + "domain" : "9", + "attributes" : [ "object", "anonymous" ], + "id" : "40" + }, { + "range" : "4", + "domain" : "16", + "attributes" : [ "object", "anonymous" ], + "id" : "41" + }, { + "range" : "10", + "domain" : "16", + "attributes" : [ "object", "anonymous" ], + "id" : "42" + }, { + "range" : "14", + "domain" : "16", + "attributes" : [ "object", "anonymous" ], + "id" : "43" + }, { + "range" : "2", + "domain" : "16", + "attributes" : [ "object", "anonymous" ], + "id" : "44" + }, { + "range" : "9", + "domain" : "6", + "attributes" : [ "object", "anonymous" ], + "id" : "45" + }, { + "range" : "4", + "domain" : "6", + "attributes" : [ "object", "anonymous" ], + "id" : "46" + }, { + "range" : "10", + "domain" : "6", + "attributes" : [ "object", "anonymous" ], + "id" : "47" + }, { + "range" : "14", + "domain" : "6", + "attributes" : [ "object", "anonymous" ], + "id" : "48" + }, { + "range" : "6", + "domain" : "16", + "attributes" : [ "object", "anonymous" ], + "id" : "49" + }, { + "range" : "9", + "domain" : "16", + "attributes" : [ "object", "anonymous" ], + "id" : "50" + }, { + "iri" : "https://w3id.org/lovcube/ns/lovcube#hasRestrictionTypeDefinition", + "baseIri" : "https://w3id.org/lovcube/ns/lovcube", + "range" : "0", + "label" : { + "IRI-based" : "hasRestrictionTypeDefinition" + }, + "domain" : "16", + "attributes" : [ "external", "object" ], + "id" : "51" + }, { + "range" : "52", + "domain" : "17", + "attributes" : [ "object", "anonymous" ], + "id" : "53" + }, { + "range" : "7", + "domain" : "6", + "attributes" : [ "object", "anonymous" ], + "id" : "54" + }, { + "range" : "5", + "domain" : "10", + "attributes" : [ "object", "anonymous" ], + "id" : "55" + }, { + "range" : "7", + "domain" : "4", + "attributes" : [ "object", "anonymous" ], + "id" : "56" + }, { + "range" : "7", + "domain" : "16", + "attributes" : [ "object", "anonymous" ], + "id" : "57" + }, { + "range" : "5", + "domain" : "2", + "attributes" : [ "object", "anonymous" ], + "id" : "58" + }, { + "range" : "5", + "domain" : "14", + "attributes" : [ "object", "anonymous" ], + "id" : "59" + }, { + "range" : "5", + "domain" : "17", + "attributes" : [ "object", "anonymous" ], + "id" : "60" + }, { + "range" : "5", + "domain" : "15", + "attributes" : [ "object", "anonymous" ], + "id" : "61" + } ] +} \ No newline at end of file diff --git a/public/ns/montolo-voc/v1.0.0/webvowl/favicon.ico b/public/ns/montolo-voc/v1.0.0/webvowl/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..a857d51f1c78d8be8fe2103fde3a10b9a72b041b GIT binary patch literal 1150 zcmZ{iTS(MF6vpSDMI@zZq!kjD5lIgVRzmkE>Ln?=j=Cg=A2Q=;BWM3#W7MP z4OJ>kDK(AIMUUUlNiAY5G~ADT4`TD^KT8_Ohu^q3+sPs_m<2K*IxH|v#-41e7dK;P#seDD5<=IR4*mZa&J>`|7t0Yd|ZNFMV^(Tu4PXs)p070(cT z!?_f^eR>stth4Tx_DRfLmW9@fxmak561{^wOJBD@=O%G|eu)J=ogRGq;DxWH4!xh= z@eUb`We(&Z^`+KH+K#5I(Dl(;dm3I}*$?#hqqD9Ct+!9=G~Qf0#5-8DzLm8+&pK1v zMLdUh{?#`W|INMS#$jEe~o`qM<7dT(J;9K4tKUTz-2=hhc!xn87uCUtA9+ykHIIoj@=L3^bY(rf8C zb+d?AL1<7QstXeM2J(1@MZbZ8en{=<^Ipostpi&T9x_VKKBkraA%Ih5$fyyJJfz1` zk2d~akaZ*9;?dNV2n!i0+8boJUpg=vTosV+>66AGdF5;zOj?e@ + + + + + + + + + + + + + + WebVOWL + + + +
+
+ + + + + + +
+ + + + +
+
+
+ +
+
>
+ +
+ +
+ + +
+
+
+

+

+

+

+

-

+
+
+ + +
+
+
+
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/public/ns/montolo-voc/v1.0.0/webvowl/js/d3.min.js b/public/ns/montolo-voc/v1.0.0/webvowl/js/d3.min.js new file mode 100644 index 0000000..1664873 --- /dev/null +++ b/public/ns/montolo-voc/v1.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/public/ns/montolo-voc/v1.0.0/webvowl/js/webvowl.app.js b/public/ns/montolo-voc/v1.0.0/webvowl/js/webvowl.app.js new file mode 100644 index 0000000..f3eba7c --- /dev/null +++ b/public/ns/montolo-voc/v1.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/public/ns/montolo-voc/v1.0.0/webvowl/js/webvowl.js b/public/ns/montolo-voc/v1.0.0/webvowl/js/webvowl.js new file mode 100644 index 0000000..fe3a381 --- /dev/null +++ b/public/ns/montolo-voc/v1.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/public/ns/montolo-voc/v2.0.0/OOPSevaluation/evaluation/bootstrap.css b/public/ns/montolo-voc/v2.0.0/OOPSevaluation/evaluation/bootstrap.css new file mode 100644 index 0000000..b17ff4c --- /dev/null +++ b/public/ns/montolo-voc/v2.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/public/ns/montolo-voc/v2.0.0/OOPSevaluation/evaluation/bootstrap.min.js b/public/ns/montolo-voc/v2.0.0/OOPSevaluation/evaluation/bootstrap.min.js new file mode 100644 index 0000000..1a6258e --- /dev/null +++ b/public/ns/montolo-voc/v2.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/public/ns/montolo-voc/v2.0.0/OOPSevaluation/evaluation/jquery-1.11.0.js b/public/ns/montolo-voc/v2.0.0/OOPSevaluation/evaluation/jquery-1.11.0.js new file mode 100644 index 0000000..3c88fa8 --- /dev/null +++ b/public/ns/montolo-voc/v2.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/public/ns/montolo-voc/v2.0.0/sections/references-en.html b/public/ns/montolo-voc/v2.0.0/sections/references-en.html new file mode 100644 index 0000000..5501c97 --- /dev/null +++ b/public/ns/montolo-voc/v2.0.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/public/ns/montolo-voc/v2.0.0/webvowl/css/webvowl.app.css b/public/ns/montolo-voc/v2.0.0/webvowl/css/webvowl.app.css new file mode 100644 index 0000000..d36fd15 --- /dev/null +++ b/public/ns/montolo-voc/v2.0.0/webvowl/css/webvowl.app.css @@ -0,0 +1,6 @@ +@import url(https://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/public/ns/montolo-voc/v2.0.0/webvowl/css/webvowl.css b/public/ns/montolo-voc/v2.0.0/webvowl/css/webvowl.css new file mode 100644 index 0000000..335ea85 --- /dev/null +++ b/public/ns/montolo-voc/v2.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/public/ns/montolo-voc/v2.0.0/webvowl/data/foaf.json b/public/ns/montolo-voc/v2.0.0/webvowl/data/foaf.json new file mode 100644 index 0000000..beaaffc --- /dev/null +++ b/public/ns/montolo-voc/v2.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/public/ns/montolo-voc/v2.0.0/webvowl/data/ontology.json b/public/ns/montolo-voc/v2.0.0/webvowl/data/ontology.json new file mode 100644 index 0000000..d37399f --- /dev/null +++ b/public/ns/montolo-voc/v2.0.0/webvowl/data/ontology.json @@ -0,0 +1,781 @@ +{ + "_comment" : "Created with OWL2VOWL (version 0.3.5), http://vowl.visualdataweb.org", + "header" : { + "languages" : [ "en", "undefined" ], + "baseIris" : [ "http://w3id.org/montolo/ns/montolo-voc", "http://www.w3.org/1999/02/22-rdf-syntax-ns", "http://www.w3.org/2000/01/rdf-schema", "http://www.w3.org/ns/prov", "http://www.w3.org/2001/XMLSchema", "http://purl.org/linked-data/cube", "http://xmlns.com/foaf/0.1", "http://purl.org/vocab/frbr/core" ], + "title" : { + "en" : "MontoloVoc vocabulary" + }, + "iri" : "https://w3id.org/montolo/ns/montolo-voc#", + "version" : "2.0.0", + "author" : [ "https://sven-lieber.org/profile#me" ], + "description" : { + "en" : "The MontoloVoc vocabulary used to describe https://w3id.org/montolo" + }, + "labels" : { + "en" : "MontoloVoc vocabulary" + }, + "comments" : { + "en" : "-Version 2.0.0: Fixed semantic issues and removed unused classes" + }, + "other" : { + "priorVersion" : [ { + "identifier" : "priorVersion", + "language" : "undefined", + "value" : "https://w3id.org/montolo/ns/montolo-voc#", + "type" : "iri" + } ], + "creator" : [ { + "identifier" : "creator", + "language" : "undefined", + "value" : "https://sven-lieber.org/profile#me", + "type" : "iri" + } ], + "created" : [ { + "identifier" : "created", + "language" : "undefined", + "value" : "2019-07-19", + "type" : "label" + } ], + "versionInfo" : [ { + "identifier" : "versionInfo", + "language" : "undefined", + "value" : "2.0.0", + "type" : "label" + } ], + "title" : [ { + "identifier" : "title", + "language" : "en", + "value" : "MontoloVoc vocabulary", + "type" : "label" + } ], + "seeAlso" : [ { + "identifier" : "seeAlso", + "language" : "undefined", + "value" : "https://w3id.org/montolo", + "type" : "iri" + } ], + "license" : [ { + "identifier" : "license", + "language" : "undefined", + "value" : "https://creativecommons.org/publicdomain/zero/1.0/", + "type" : "iri" + } ], + "contributor" : [ { + "identifier" : "contributor", + "language" : "undefined", + "value" : "http://ben.de-meester.org/#me", + "type" : "iri" + }, { + "identifier" : "contributor", + "language" : "undefined", + "value" : "http://w3id.org/montolo/ns/montolo-voc#natadimou", + "type" : "iri" + } ], + "primaryTopic" : [ { + "identifier" : "primaryTopic", + "language" : "undefined", + "value" : "https://w3id.org/montolo", + "type" : "iri" + } ], + "rights" : [ { + "identifier" : "rights", + "language" : "en", + "value" : "Copyright © Ghent University – imec – IDLab", + "type" : "label" + } ], + "preferredNamespacePrefix" : [ { + "identifier" : "preferredNamespacePrefix", + "language" : "undefined", + "value" : "mov", + "type" : "label" + } ], + "modified" : [ { + "identifier" : "modified", + "language" : "undefined", + "value" : "2020-08-18", + "type" : "label" + } ], + "preferredNamespaceUri" : [ { + "identifier" : "preferredNamespaceUri", + "language" : "undefined", + "value" : "https://w3id.org/montolo/ns/montolo-voc#", + "type" : "label" + } ], + "issued" : [ { + "identifier" : "issued", + "language" : "undefined", + "value" : "2019-07-19", + "type" : "label" + } ] + } + }, + "namespace" : [ ], + "class" : [ { + "id" : "0", + "type" : "owl:Class" + }, { + "id" : "3", + "type" : "owl:Class" + }, { + "id" : "2", + "type" : "owl:Class" + }, { + "id" : "8", + "type" : "owl:Class" + }, { + "id" : "1", + "type" : "owl:Class" + }, { + "id" : "14", + "type" : "owl:Class" + }, { + "id" : "12", + "type" : "owl:Class" + }, { + "id" : "36", + "type" : "owl:Class" + }, { + "id" : "6", + "type" : "owl:Class" + }, { + "id" : "7", + "type" : "owl:Class" + }, { + "id" : "47", + "type" : "owl:Class" + }, { + "id" : "13", + "type" : "owl:Class" + }, { + "id" : "4", + "type" : "owl:Class" + }, { + "id" : "26", + "type" : "owl:Class" + }, { + "id" : "19", + "type" : "owl:Class" + }, { + "id" : "10", + "type" : "owl:Class" + }, { + "id" : "11", + "type" : "owl:Class" + } ], + "classAttribute" : [ { + "iri" : "http://w3id.org/montolo/ns/montolo-voc#RestrictionTypeExpression", + "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", + "instances" : 0, + "label" : { + "IRI-based" : "RestrictionTypeExpression", + "en" : "Restriction Type Expression" + }, + "comment" : { + "en" : "One possible expression of a restriction type. One example might be the expression 'owl:disjointWith' for the restriction type 'disjoint classes'." + }, + "attributes" : [ "external" ], + "id" : "0", + "superClasses" : [ "1", "2" ] + }, { + "iri" : "http://purl.org/linked-data/cube#Observation", + "baseIri" : "http://purl.org/linked-data/cube", + "instances" : 0, + "label" : { + "IRI-based" : "Observation" + }, + "subClasses" : [ "4" ], + "attributes" : [ "external" ], + "id" : "3" + }, { + "iri" : "http://purl.org/vocab/frbr/core#Expression", + "baseIri" : "http://purl.org/vocab/frbr/core", + "instances" : 0, + "label" : { + "IRI-based" : "Expression" + }, + "subClasses" : [ "0", "7" ], + "attributes" : [ "external" ], + "id" : "2" + }, { + "iri" : "http://w3id.org/montolo/ns/montolo-voc#RestrictionTypeMeasure", + "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", + "instances" : 0, + "label" : { + "IRI-based" : "RestrictionTypeMeasure", + "en" : "Restriction Type Measure" + }, + "comment" : { + "en" : "A measure of a restriction type which follows the RDF Data Cube definition. Examples could be the 'occurrence' of a restriction type or 'hierarchy depth' etc." + }, + "attributes" : [ "external" ], + "id" : "8", + "superClasses" : [ "1" ] + }, { + "iri" : "http://www.w3.org/ns/prov#Entity", + "baseIri" : "http://www.w3.org/ns/prov", + "instances" : 0, + "label" : { + "IRI-based" : "Entity" + }, + "subClasses" : [ "0", "11", "12", "13", "8", "14", "6", "7", "4" ], + "attributes" : [ "external" ], + "id" : "1" + }, { + "iri" : "http://w3id.org/montolo/ns/montolo-voc#Dataset", + "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", + "instances" : 0, + "label" : { + "IRI-based" : "Dataset", + "undefined" : "Dataset" + }, + "comment" : { + "undefined" : "A dataset of ontology statistics which are both a datacube dataset (qb:DataSet) and a PROV-O entity (prov:Entity)." + }, + "attributes" : [ "external" ], + "id" : "14", + "superClasses" : [ "1", "19" ] + }, { + "iri" : "http://w3id.org/montolo/ns/montolo-voc#RestrictionTypeExpressionDetector", + "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", + "instances" : 0, + "label" : { + "IRI-based" : "RestrictionTypeExpressionDetector", + "en" : "Restriction Type Expression Detector" + }, + "comment" : { + "en" : "A piece of software which is able to detect a certain restriction type expression. Multiple versions of this detector might exist as separate entities" + }, + "attributes" : [ "external" ], + "id" : "12", + "superClasses" : [ "26", "1" ] + }, { + "iri" : "http://xmlns.com/foaf/0.1/Person", + "baseIri" : "http://xmlns.com/foaf/0.1", + "instances" : 0, + "label" : { + "IRI-based" : "Person" + }, + "individuals" : [ { + "iri" : "http://w3id.org/montolo/ns/montolo-voc#natadimou", + "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", + "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" : "natadimou" + } + }, { + "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" + } + }, { + "iri" : "https://sven-lieber.org/profile#me", + "baseIri" : "https://sven-lieber.org/profile", + "annotations" : { + "name" : [ { + "identifier" : "name", + "language" : "en", + "value" : "Sven Lieber", + "type" : "label" + } ], + "mbox" : [ { + "identifier" : "mbox", + "language" : "undefined", + "value" : "mailto:sven.lieber@ugent.be", + "type" : "label" + } ] + }, + "labels" : { + "IRI-based" : "me" + } + } ], + "attributes" : [ "external" ], + "id" : "36" + }, { + "iri" : "http://w3id.org/montolo/ns/montolo-voc#RestrictionType", + "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", + "instances" : 0, + "label" : { + "IRI-based" : "RestrictionType", + "en" : "Restriction Type" + }, + "comment" : { + "en" : "A certain type of restriction, which can be an axiom or a constraint. One example is the restriction type 'disjoint classes'." + }, + "attributes" : [ "external" ], + "id" : "6", + "superClasses" : [ "26", "1" ] + }, { + "iri" : "http://w3id.org/montolo/ns/montolo-voc#RestrictionTypeExpressionDetectorVersion", + "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", + "instances" : 0, + "label" : { + "IRI-based" : "RestrictionTypeExpressionDetectorVersion", + "en" : "Restriction Type Expression Detector Version" + }, + "comment" : { + "en" : "A concrete version of a restriction type expression detector." + }, + "attributes" : [ "external" ], + "id" : "7", + "superClasses" : [ "1", "2" ] + }, { + "iri" : "http://w3id.org/montolo/ns/montolo-voc#OntologyRepository", + "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", + "instances" : 0, + "label" : { + "IRI-based" : "OntologyRepository", + "en" : "Ontology Repository" + }, + "comment" : { + "en" : "A repository which hosts ontologies, examples could be Linked Open Vocabularies (LOV) or BioPortal." + }, + "attributes" : [ "external" ], + "id" : "47", + "superClasses" : [ "11" ] + }, { + "iri" : "http://w3id.org/montolo/ns/montolo-voc#RestrictionTypeDefinition", + "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", + "instances" : 0, + "label" : { + "IRI-based" : "RestrictionTypeDefinition", + "en" : "Restriction Type Definition" + }, + "comment" : { + "en" : "A natural language definition of restriction types" + }, + "attributes" : [ "external" ], + "id" : "13", + "superClasses" : [ "26", "1" ] + }, { + "iri" : "http://w3id.org/montolo/ns/montolo-voc#RestrictionTypeStatistic", + "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", + "instances" : 0, + "label" : { + "IRI-based" : "RestrictionTypeStatistic", + "en" : "Restriction Type Statistic" + }, + "comment" : { + "en" : "A restriction type statistic basically is a RDF Data Cube observation about restriction type use, but also a PROV-O entity such that provenance of it can be expressed." + }, + "attributes" : [ "external" ], + "id" : "4", + "superClasses" : [ "3", "1" ] + }, { + "iri" : "http://purl.org/vocab/frbr/core#Work", + "baseIri" : "http://purl.org/vocab/frbr/core", + "instances" : 0, + "label" : { + "IRI-based" : "Work" + }, + "subClasses" : [ "12", "13", "6" ], + "attributes" : [ "external" ], + "id" : "26" + }, { + "iri" : "http://purl.org/linked-data/cube#DataSet", + "baseIri" : "http://purl.org/linked-data/cube", + "instances" : 0, + "label" : { + "IRI-based" : "DataSet" + }, + "subClasses" : [ "14" ], + "attributes" : [ "external" ], + "id" : "19" + }, { + "iri" : "http://w3id.org/montolo/ns/montolo-voc#RestrictionTypeDefinitionVersion", + "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", + "instances" : 0, + "label" : { + "IRI-based" : "RestrictionTypeDefinitionVersion", + "en" : "Restriction Type Definition Version" + }, + "comment" : { + "en" : "A specific version of a definition for a restriction type." + }, + "attributes" : [ "external" ], + "id" : "10" + }, { + "iri" : "http://w3id.org/montolo/ns/montolo-voc#Repository", + "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", + "instances" : 0, + "label" : { + "IRI-based" : "Repository", + "en" : "Repository" + }, + "subClasses" : [ "47" ], + "comment" : { + "en" : "Any type of software repository from which input data is taken." + }, + "attributes" : [ "external" ], + "id" : "11", + "superClasses" : [ "1" ] + } ], + "property" : [ { + "id" : "5", + "type" : "rdfs:SubClassOf" + }, { + "id" : "9", + "type" : "owl:objectProperty" + }, { + "id" : "15", + "type" : "rdfs:SubClassOf" + }, { + "id" : "16", + "type" : "rdfs:SubClassOf" + }, { + "id" : "17", + "type" : "rdfs:SubClassOf" + }, { + "id" : "18", + "type" : "rdfs:SubClassOf" + }, { + "id" : "20", + "type" : "rdfs:SubClassOf" + }, { + "id" : "21", + "type" : "rdfs:SubClassOf" + }, { + "id" : "22", + "type" : "rdfs:SubClassOf" + }, { + "id" : "23", + "type" : "owl:disjointWith" + }, { + "id" : "24", + "type" : "rdfs:SubClassOf" + }, { + "id" : "25", + "type" : "rdfs:SubClassOf" + }, { + "id" : "27", + "type" : "owl:objectProperty" + }, { + "id" : "28", + "type" : "owl:disjointWith" + }, { + "id" : "29", + "type" : "owl:disjointWith" + }, { + "id" : "30", + "type" : "owl:disjointWith" + }, { + "id" : "31", + "type" : "owl:disjointWith" + }, { + "id" : "32", + "type" : "owl:disjointWith" + }, { + "id" : "33", + "type" : "owl:disjointWith" + }, { + "id" : "34", + "type" : "owl:disjointWith" + }, { + "id" : "35", + "type" : "owl:disjointWith" + }, { + "id" : "37", + "type" : "owl:disjointWith" + }, { + "id" : "38", + "type" : "owl:disjointWith" + }, { + "id" : "39", + "type" : "owl:disjointWith" + }, { + "id" : "40", + "type" : "owl:disjointWith" + }, { + "id" : "41", + "type" : "owl:disjointWith" + }, { + "id" : "42", + "type" : "owl:disjointWith" + }, { + "id" : "43", + "type" : "owl:disjointWith" + }, { + "id" : "44", + "type" : "owl:disjointWith" + }, { + "id" : "45", + "type" : "owl:disjointWith" + }, { + "id" : "46", + "type" : "owl:disjointWith" + }, { + "id" : "48", + "type" : "owl:disjointWith" + }, { + "id" : "49", + "type" : "owl:disjointWith" + }, { + "id" : "50", + "type" : "rdfs:SubClassOf" + }, { + "id" : "51", + "type" : "rdfs:SubClassOf" + }, { + "id" : "52", + "type" : "rdfs:SubClassOf" + }, { + "id" : "53", + "type" : "rdfs:SubClassOf" + }, { + "id" : "54", + "type" : "rdfs:SubClassOf" + }, { + "id" : "55", + "type" : "rdfs:SubClassOf" + }, { + "id" : "56", + "type" : "rdfs:SubClassOf" + } ], + "propertyAttribute" : [ { + "range" : "1", + "domain" : "6", + "attributes" : [ "object", "anonymous" ], + "id" : "5" + }, { + "iri" : "http://w3id.org/montolo/ns/montolo-voc#hasRestrictionTypeDefinition", + "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", + "range" : "10", + "label" : { + "IRI-based" : "hasRestrictionTypeDefinition", + "undefined" : "has restriction type definition" + }, + "domain" : "6", + "comment" : { + "undefined" : "Links a restriction type to a specific version of a definition." + }, + "attributes" : [ "external", "object" ], + "id" : "9" + }, { + "range" : "1", + "domain" : "14", + "attributes" : [ "object", "anonymous" ], + "id" : "15" + }, { + "range" : "1", + "domain" : "8", + "attributes" : [ "object", "anonymous" ], + "id" : "16" + }, { + "range" : "1", + "domain" : "11", + "attributes" : [ "object", "anonymous" ], + "id" : "17" + }, { + "range" : "1", + "domain" : "0", + "attributes" : [ "object", "anonymous" ], + "id" : "18" + }, { + "range" : "1", + "domain" : "13", + "attributes" : [ "object", "anonymous" ], + "id" : "20" + }, { + "range" : "1", + "domain" : "12", + "attributes" : [ "object", "anonymous" ], + "id" : "21" + }, { + "range" : "3", + "domain" : "4", + "attributes" : [ "object", "anonymous" ], + "id" : "22" + }, { + "range" : "4", + "domain" : "8", + "attributes" : [ "object", "anonymous" ], + "id" : "23" + }, { + "range" : "2", + "domain" : "7", + "attributes" : [ "object", "anonymous" ], + "id" : "24" + }, { + "range" : "2", + "domain" : "0", + "attributes" : [ "object", "anonymous" ], + "id" : "25" + }, { + "iri" : "http://w3id.org/montolo/ns/montolo-voc#detectsRestrictionTypeExpression", + "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", + "range" : "0", + "label" : { + "IRI-based" : "detectsRestrictionTypeExpression", + "undefined" : "detects restriction type expression" + }, + "domain" : "12", + "comment" : { + "undefined" : "Can be used to make the link between restriction types and restriction types expressions explicit." + }, + "attributes" : [ "external", "object" ], + "id" : "27" + }, { + "range" : "8", + "domain" : "7", + "attributes" : [ "object", "anonymous" ], + "id" : "28" + }, { + "range" : "4", + "domain" : "12", + "attributes" : [ "object", "anonymous" ], + "id" : "29" + }, { + "range" : "4", + "domain" : "7", + "attributes" : [ "object", "anonymous" ], + "id" : "30" + }, { + "range" : "4", + "domain" : "0", + "attributes" : [ "object", "anonymous" ], + "id" : "31" + }, { + "range" : "8", + "domain" : "0", + "attributes" : [ "object", "anonymous" ], + "id" : "32" + }, { + "range" : "8", + "domain" : "12", + "attributes" : [ "object", "anonymous" ], + "id" : "33" + }, { + "range" : "7", + "domain" : "12", + "attributes" : [ "object", "anonymous" ], + "id" : "34" + }, { + "range" : "4", + "domain" : "13", + "attributes" : [ "object", "anonymous" ], + "id" : "35" + }, { + "range" : "7", + "domain" : "0", + "attributes" : [ "object", "anonymous" ], + "id" : "37" + }, { + "range" : "12", + "domain" : "0", + "attributes" : [ "object", "anonymous" ], + "id" : "38" + }, { + "range" : "12", + "domain" : "6", + "attributes" : [ "object", "anonymous" ], + "id" : "39" + }, { + "range" : "7", + "domain" : "6", + "attributes" : [ "object", "anonymous" ], + "id" : "40" + }, { + "range" : "8", + "domain" : "6", + "attributes" : [ "object", "anonymous" ], + "id" : "41" + }, { + "range" : "4", + "domain" : "6", + "attributes" : [ "object", "anonymous" ], + "id" : "42" + }, { + "range" : "0", + "domain" : "13", + "attributes" : [ "object", "anonymous" ], + "id" : "43" + }, { + "range" : "12", + "domain" : "13", + "attributes" : [ "object", "anonymous" ], + "id" : "44" + }, { + "range" : "7", + "domain" : "13", + "attributes" : [ "object", "anonymous" ], + "id" : "45" + }, { + "range" : "8", + "domain" : "13", + "attributes" : [ "object", "anonymous" ], + "id" : "46" + }, { + "range" : "13", + "domain" : "6", + "attributes" : [ "object", "anonymous" ], + "id" : "48" + }, { + "range" : "0", + "domain" : "6", + "attributes" : [ "object", "anonymous" ], + "id" : "49" + }, { + "range" : "19", + "domain" : "14", + "attributes" : [ "object", "anonymous" ], + "id" : "50" + }, { + "range" : "26", + "domain" : "6", + "attributes" : [ "object", "anonymous" ], + "id" : "51" + }, { + "range" : "11", + "domain" : "47", + "attributes" : [ "object", "anonymous" ], + "id" : "52" + }, { + "range" : "1", + "domain" : "4", + "attributes" : [ "object", "anonymous" ], + "id" : "53" + }, { + "range" : "1", + "domain" : "7", + "attributes" : [ "object", "anonymous" ], + "id" : "54" + }, { + "range" : "26", + "domain" : "13", + "attributes" : [ "object", "anonymous" ], + "id" : "55" + }, { + "range" : "26", + "domain" : "12", + "attributes" : [ "object", "anonymous" ], + "id" : "56" + } ] +} \ No newline at end of file diff --git a/public/ns/montolo-voc/v2.0.0/webvowl/favicon.ico b/public/ns/montolo-voc/v2.0.0/webvowl/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..a857d51f1c78d8be8fe2103fde3a10b9a72b041b GIT binary patch literal 1150 zcmZ{iTS(MF6vpSDMI@zZq!kjD5lIgVRzmkE>Ln?=j=Cg=A2Q=;BWM3#W7MP z4OJ>kDK(AIMUUUlNiAY5G~ADT4`TD^KT8_Ohu^q3+sPs_m<2K*IxH|v#-41e7dK;P#seDD5<=IR4*mZa&J>`|7t0Yd|ZNFMV^(Tu4PXs)p070(cT z!?_f^eR>stth4Tx_DRfLmW9@fxmak561{^wOJBD@=O%G|eu)J=ogRGq;DxWH4!xh= z@eUb`We(&Z^`+KH+K#5I(Dl(;dm3I}*$?#hqqD9Ct+!9=G~Qf0#5-8DzLm8+&pK1v zMLdUh{?#`W|INMS#$jEe~o`qM<7dT(J;9K4tKUTz-2=hhc!xn87uCUtA9+ykHIIoj@=L3^bY(rf8C zb+d?AL1<7QstXeM2J(1@MZbZ8en{=<^Ipostpi&T9x_VKKBkraA%Ih5$fyyJJfz1` zk2d~akaZ*9;?dNV2n!i0+8boJUpg=vTosV+>66AGdF5;zOj?e@ + + + + + + + + + + + + + + WebVOWL + + + +
+
+ + + + + + +
+ + + + +
+
+
+ +
+
>
+ +
+ +
+ + +
+
+
+

+

+

+

+

-

+
+
+ + +
+
+
+
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/public/ns/montolo-voc/v2.0.0/webvowl/js/d3.min.js b/public/ns/montolo-voc/v2.0.0/webvowl/js/d3.min.js new file mode 100644 index 0000000..1664873 --- /dev/null +++ b/public/ns/montolo-voc/v2.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/public/ns/montolo-voc/v2.0.0/webvowl/js/webvowl.app.js b/public/ns/montolo-voc/v2.0.0/webvowl/js/webvowl.app.js new file mode 100644 index 0000000..f3eba7c --- /dev/null +++ b/public/ns/montolo-voc/v2.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/public/ns/montolo-voc/v2.0.0/webvowl/js/webvowl.js b/public/ns/montolo-voc/v2.0.0/webvowl/js/webvowl.js new file mode 100644 index 0000000..fe3a381 --- /dev/null +++ b/public/ns/montolo-voc/v2.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 Date: Wed, 19 Aug 2020 18:44:44 +0200 Subject: [PATCH 5/7] removed resources --- montolo-voc.owl | 229 -- .../ns/montolo-voc/v1.0.0/resources/extra.css | 124 - .../ns/montolo-voc/v1.0.0/resources/jquery.js | 18 - .../v1.0.0/resources/marked.min.js | 6 - .../ns/montolo-voc/v1.0.0/resources/owl.css | 248 -- .../montolo-voc/v1.0.0/resources/primer.css | 103 - .../ns/montolo-voc/v1.0.0/resources/rec.css | 88 - .../v1.0.0/webvowl/css/webvowl.app.css | 6 - .../v1.0.0/webvowl/css/webvowl.css | 1 - .../montolo-voc/v1.0.0/webvowl/data/foaf.json | 2894 ----------------- .../v1.0.0/webvowl/data/ontology.json | 784 ----- .../ns/montolo-voc/v1.0.0/webvowl/favicon.ico | Bin 1150 -> 0 bytes .../ns/montolo-voc/v1.0.0/webvowl/index.html | 480 --- .../montolo-voc/v1.0.0/webvowl/js/d3.min.js | 5 - .../v1.0.0/webvowl/js/webvowl.app.js | 5 - .../montolo-voc/v1.0.0/webvowl/js/webvowl.js | 7 - .../ns/montolo-voc/v1.0.0/webvowl/license.txt | 21 - .../ns/montolo-voc/v2.0.0/resources/extra.css | 124 - .../ns/montolo-voc/v2.0.0/resources/jquery.js | 18 - .../v2.0.0/resources/marked.min.js | 6 - .../ns/montolo-voc/v2.0.0/resources/owl.css | 248 -- .../montolo-voc/v2.0.0/resources/primer.css | 103 - .../ns/montolo-voc/v2.0.0/resources/rec.css | 88 - .../v2.0.0/webvowl/css/webvowl.app.css | 6 - .../v2.0.0/webvowl/css/webvowl.css | 1 - .../montolo-voc/v2.0.0/webvowl/data/foaf.json | 2894 ----------------- .../v2.0.0/webvowl/data/ontology.json | 781 ----- .../ns/montolo-voc/v2.0.0/webvowl/favicon.ico | Bin 1150 -> 0 bytes .../ns/montolo-voc/v2.0.0/webvowl/index.html | 480 --- .../montolo-voc/v2.0.0/webvowl/js/d3.min.js | 5 - .../v2.0.0/webvowl/js/webvowl.app.js | 5 - .../montolo-voc/v2.0.0/webvowl/js/webvowl.js | 7 - .../ns/montolo-voc/v2.0.0/webvowl/license.txt | 21 - 33 files changed, 9806 deletions(-) delete mode 100644 montolo-voc.owl delete mode 100644 public/ns/montolo-voc/v1.0.0/resources/extra.css delete mode 100644 public/ns/montolo-voc/v1.0.0/resources/jquery.js delete mode 100644 public/ns/montolo-voc/v1.0.0/resources/marked.min.js delete mode 100644 public/ns/montolo-voc/v1.0.0/resources/owl.css delete mode 100644 public/ns/montolo-voc/v1.0.0/resources/primer.css delete mode 100644 public/ns/montolo-voc/v1.0.0/resources/rec.css delete mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/css/webvowl.app.css delete mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/css/webvowl.css delete mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/data/foaf.json delete mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/data/ontology.json delete mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/favicon.ico delete mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/index.html delete mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/js/d3.min.js delete mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/js/webvowl.app.js delete mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/js/webvowl.js delete mode 100644 public/ns/montolo-voc/v1.0.0/webvowl/license.txt delete mode 100644 public/ns/montolo-voc/v2.0.0/resources/extra.css delete mode 100644 public/ns/montolo-voc/v2.0.0/resources/jquery.js delete mode 100644 public/ns/montolo-voc/v2.0.0/resources/marked.min.js delete mode 100644 public/ns/montolo-voc/v2.0.0/resources/owl.css delete mode 100644 public/ns/montolo-voc/v2.0.0/resources/primer.css delete mode 100644 public/ns/montolo-voc/v2.0.0/resources/rec.css delete mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/css/webvowl.app.css delete mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/css/webvowl.css delete mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/data/foaf.json delete mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/data/ontology.json delete mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/favicon.ico delete mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/index.html delete mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/js/d3.min.js delete mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/js/webvowl.app.js delete mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/js/webvowl.js delete mode 100644 public/ns/montolo-voc/v2.0.0/webvowl/license.txt diff --git a/montolo-voc.owl b/montolo-voc.owl deleted file mode 100644 index ecbe661..0000000 --- a/montolo-voc.owl +++ /dev/null @@ -1,229 +0,0 @@ -@prefix : . -@prefix cc: . -@prefix qb: . -@prefix dct: . -@prefix owl: . -@prefix rdf: . -@prefix xml: . -@prefix xsd: . -@prefix foaf: . -@prefix frbr: . -@prefix prov: . -@prefix rdfs: . -@prefix vann: . -@prefix voaf: . -@base . - - rdf:type owl:Ontology ; - vann:preferredNamespacePrefix "mov" ; - vann:preferredNamespaceUri "https://w3id.org/montolo/ns/montolo-voc#" ; - rdfs:label "MontoloVoc vocabulary"@en ; - dct:title "MontoloVoc vocabulary"@en ; - dct:description "The MontoloVoc vocabulary used to describe https://w3id.org/montolo"@en ; - rdfs:comment """-Version 1.0.0: Rebranded from LOVCube vocabulary."""@en ; - owl:versionIRI ; - owl:versionInfo "1.0.0" ; - rdfs:seeAlso ; - dct:modified "2019-07-19"^^xsd:date ; - dct:issued "2019-07-19"^^xsd:date ; - dct:created "2019-07-19"^^xsd:date ; - dct:rights "Copyright © Ghent University – imec – IDLab"@en ; - cc:license ; - foaf:primaryTopic ; - dct:creator ; - dct:contributor ; - dct:contributor [ foaf:name "Anastasia Dimou"@en ; - rdf:type foaf:Person ; - foaf:mbox "mailto:Anastasia.dimou@UGent.be" - ] ; - . - - rdf:type foaf:Person ; - foaf:mbox "mailto:sven.lieber@ugent.be" ; - foaf:name "Sven Lieber"@en . - - rdf:type foaf:Person ; - foaf:mbox "mailto:ben.demeester@ugent.be" ; - foaf:name "Ben De Meester"@en . - - -################################################################# -# Annotation properties -################################################################# - -### http://xmlns.com/foaf/0.1/mbox -foaf:mbox rdf:type owl:AnnotationProperty . - - -### http://xmlns.com/foaf/0.1/name -foaf:name rdf:type owl:AnnotationProperty . - - -################################################################# -# Object Properties -################################################################# - -### https://w3id.org/lovcube/ns/lovcube#detectsRestrictionTypeExpression -:detectsRestrictionTypeExpression rdf:type owl:ObjectProperty ; - rdfs:domain :RestrictionTypeDetector ; - rdfs:range :RestrictionTypeExpression . - - -### https://w3id.org/lovcube/ns/lovcube#hasRestrictionTypeDefinition -:hasRestrictionTypeDefinition rdf:type owl:ObjectProperty ; - rdfs:domain :RestrictionType ; - rdfs:range :RestrictionTypeDefinitionVersion . - - -################################################################# -# Classes -################################################################# - -### http://purl.org/linked-data/cube#DataSet -qb:DataSet rdf:type owl:Class . - - -### http://purl.org/linked-data/cube#DimensionProperty -qb:DimensionProperty rdf:type owl:Class . - - -### http://purl.org/linked-data/cube#MeasureProperty -qb:MeasureProperty rdf:type owl:Class . - - -### http://purl.org/linked-data/cube#Observation -qb:Observation rdf:type owl:Class . - - -### http://purl.org/vocab/frbr/core#Expression -frbr:Expression rdf:type owl:Class . - - -### http://purl.org/vocab/frbr/core#Work -frbr:Work rdf:type owl:Class . - - -### http://purl.org/vocommons/voaf#Vocabulary -voaf:Vocabulary rdf:type owl:Class . - - -### http://www.w3.org/ns/prov#Entity -prov:Entity rdf:type owl:Class . - - -### http://xmlns.com/foaf/0.1/Person -foaf:Person rdf:type owl:Class . - - -### https://w3id.org/lovcube/ns/lovcube#Dataset -:Dataset rdf:type owl:Class ; - rdfs:subClassOf qb:DataSet , - prov:Entity . - - -### https://w3id.org/lovcube/ns/lovcube#RestrictionType -:RestrictionType rdf:type owl:Class ; - rdfs:subClassOf frbr:Work , - prov:Entity ; - rdfs:comment "A certain type of restriction, which can be an axiom or a constraint. One example is the restriction type 'disjoint classes'."@en ; - rdfs:label "" , - "Restriction Type"@en . - - -### https://w3id.org/lovcube/ns/lovcube#RestrictionTypeDefinition -:RestrictionTypeDefinition rdf:type owl:Class ; - rdfs:subClassOf frbr:Work , - prov:Entity ; - rdfs:label "Restriction Type Definition"@en . - - -### https://w3id.org/lovcube/ns/lovcube#RestrictionTypeDefinitionVersion -:RestrictionTypeDefinitionVersion rdf:type owl:Class ; - rdfs:label "Restriction Type Definition Version"@en . - - -### https://w3id.org/lovcube/ns/lovcube#RestrictionTypeDetector -:RestrictionTypeDetector rdf:type owl:Class ; - rdfs:label "Restriction Type Detector"@en . - - -### https://w3id.org/lovcube/ns/lovcube#RestrictionTypeExpression -:RestrictionTypeExpression rdf:type owl:Class ; - rdfs:subClassOf qb:DimensionProperty , - frbr:Expression , - prov:Entity ; - rdfs:comment "One possible expression of a restriction type. One example might be the expression 'owl:disjointWith' for the restriction type 'disjoint classes'."@en ; - rdfs:label "Restriction Type Expression"@en . - - -### https://w3id.org/lovcube/ns/lovcube#RestrictionTypeExpressionDetector -:RestrictionTypeExpressionDetector rdf:type owl:Class ; - rdfs:subClassOf frbr:Work , - prov:Entity ; - rdfs:comment "A piece of software which is able to detect a certain restriction type expression."@en ; - rdfs:label "Restriction Type Expression Detector"@en . - - -### https://w3id.org/lovcube/ns/lovcube#RestrictionTypeExpressionDetectorVersion -:RestrictionTypeExpressionDetectorVersion rdf:type owl:Class ; - rdfs:subClassOf qb:MeasureProperty , - frbr:Expression , - prov:Entity ; - rdfs:comment "A concrete version of a restriction type expression detector."@en ; - rdfs:label "Restriction Type Expression Detector Version"@en . - - -### https://w3id.org/lovcube/ns/lovcube#RestrictionTypeMeasure -:RestrictionTypeMeasure rdf:type owl:Class ; - rdfs:subClassOf qb:MeasureProperty , - prov:Entity ; - rdfs:label "Restriction Type Measure"@en . - - -### https://w3id.org/lovcube/ns/lovcube#RestrictionTypeStatistic -:RestrictionTypeStatistic rdf:type owl:Class ; - rdfs:subClassOf qb:Observation , - prov:Entity ; - rdfs:label "Restriction Type Statistic"@en . - -### https://w3id.org/lovcube/ns/lovcube#OntologyRepository -:OntologyRepository rdfs:type owl:Class ; - rdfs:subClassOf prov:Entity ; - rdfs:label "Ontology Repository"@en . - -################################################################# -# Individuals -################################################################# - -### https://w3id.org/lovcube/ns/lovcube - rdf:type owl:NamedIndividual , - voaf:Vocabulary . - - -[ rdf:type foaf:Person ; - foaf:mbox "mailto:Anastasia.dimou@UGent.be" ; - foaf:name "Anastasia Dimou"@en -] . - -[ rdf:type foaf:Person ; - foaf:mbox "mailto:Anastasia.dimou@UGent.be" ; - foaf:name "Anastasia Dimou"@en - ] . - -################################################################# -# General axioms -################################################################# - -[ rdf:type owl:AllDisjointClasses ; - owl:members ( :RestrictionType - :RestrictionTypeDefinition - :RestrictionTypeExpression - :RestrictionTypeExpressionDetector - :RestrictionTypeExpressionDetectorVersion - :RestrictionTypeMeasure - :RestrictionTypeStatistic - ) - ] . - - -### Generated by the OWL API (version 4.2.8.20170104-2310) https://github.com/owlcs/owlapi diff --git a/public/ns/montolo-voc/v1.0.0/resources/extra.css b/public/ns/montolo-voc/v1.0.0/resources/extra.css deleted file mode 100644 index 38e86dc..0000000 --- a/public/ns/montolo-voc/v1.0.0/resources/extra.css +++ /dev/null @@ -1,124 +0,0 @@ -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/public/ns/montolo-voc/v1.0.0/resources/jquery.js b/public/ns/montolo-voc/v1.0.0/resources/jquery.js deleted file mode 100644 index e67db74..0000000 --- a/public/ns/montolo-voc/v1.0.0/resources/jquery.js +++ /dev/null @@ -1,18 +0,0 @@ -/*! - * 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/public/ns/montolo-voc/v1.0.0/resources/marked.min.js b/public/ns/montolo-voc/v1.0.0/resources/marked.min.js deleted file mode 100644 index 1d736f9..0000000 --- a/public/ns/montolo-voc/v1.0.0/resources/marked.min.js +++ /dev/null @@ -1,6 +0,0 @@ -/** - * 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/public/ns/montolo-voc/v1.0.0/resources/owl.css b/public/ns/montolo-voc/v1.0.0/resources/owl.css deleted file mode 100644 index 9e80a25..0000000 --- a/public/ns/montolo-voc/v1.0.0/resources/owl.css +++ /dev/null @@ -1,248 +0,0 @@ -.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/public/ns/montolo-voc/v1.0.0/resources/primer.css b/public/ns/montolo-voc/v1.0.0/resources/primer.css deleted file mode 100644 index fc28be7..0000000 --- a/public/ns/montolo-voc/v1.0.0/resources/primer.css +++ /dev/null @@ -1,103 +0,0 @@ -/* 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/public/ns/montolo-voc/v1.0.0/resources/rec.css b/public/ns/montolo-voc/v1.0.0/resources/rec.css deleted file mode 100644 index 55d481d..0000000 --- a/public/ns/montolo-voc/v1.0.0/resources/rec.css +++ /dev/null @@ -1,88 +0,0 @@ -/* 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/public/ns/montolo-voc/v1.0.0/webvowl/css/webvowl.app.css b/public/ns/montolo-voc/v1.0.0/webvowl/css/webvowl.app.css deleted file mode 100644 index 2ceaead..0000000 --- a/public/ns/montolo-voc/v1.0.0/webvowl/css/webvowl.app.css +++ /dev/null @@ -1,6 +0,0 @@ -@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/public/ns/montolo-voc/v1.0.0/webvowl/css/webvowl.css b/public/ns/montolo-voc/v1.0.0/webvowl/css/webvowl.css deleted file mode 100644 index 335ea85..0000000 --- a/public/ns/montolo-voc/v1.0.0/webvowl/css/webvowl.css +++ /dev/null @@ -1 +0,0 @@ -.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/public/ns/montolo-voc/v1.0.0/webvowl/data/foaf.json b/public/ns/montolo-voc/v1.0.0/webvowl/data/foaf.json deleted file mode 100644 index beaaffc..0000000 --- a/public/ns/montolo-voc/v1.0.0/webvowl/data/foaf.json +++ /dev/null @@ -1,2894 +0,0 @@ -{ - "_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/public/ns/montolo-voc/v1.0.0/webvowl/data/ontology.json b/public/ns/montolo-voc/v1.0.0/webvowl/data/ontology.json deleted file mode 100644 index 8ca0340..0000000 --- a/public/ns/montolo-voc/v1.0.0/webvowl/data/ontology.json +++ /dev/null @@ -1,784 +0,0 @@ -{ - "_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/ns/prov", "http://www.w3.org/2001/XMLSchema", "http://purl.org/linked-data/cube", "http://xmlns.com/foaf/0.1", "http://purl.org/vocab/frbr/core", "https://w3id.org/lovcube/ns/lovcube" ], - "title" : { - "en" : "MontoloVoc vocabulary" - }, - "iri" : "https://w3id.org/montolo/ns/montolo#", - "version" : "1.0.0", - "author" : [ "https://sven-lieber.org/profile#me" ], - "description" : { - "en" : "The MontoloVoc vocabulary used to describe https://w3id.org/montolo" - }, - "labels" : { - "en" : "MontoloVoc vocabulary" - }, - "comments" : { - "en" : "-Version 1.0.0: Rebranded from LOVCube vocabulary." - }, - "other" : { - "creator" : [ { - "identifier" : "creator", - "language" : "undefined", - "value" : "https://sven-lieber.org/profile#me", - "type" : "iri" - } ], - "created" : [ { - "identifier" : "created", - "language" : "undefined", - "value" : "2019-07-19", - "type" : "label" - } ], - "versionInfo" : [ { - "identifier" : "versionInfo", - "language" : "undefined", - "value" : "1.0.0", - "type" : "label" - } ], - "title" : [ { - "identifier" : "title", - "language" : "en", - "value" : "MontoloVoc vocabulary", - "type" : "label" - } ], - "seeAlso" : [ { - "identifier" : "seeAlso", - "language" : "undefined", - "value" : "https://w3id.org/montolo", - "type" : "iri" - } ], - "license" : [ { - "identifier" : "license", - "language" : "undefined", - "value" : "https://creativecommons.org/publicdomain/zero/1.0/", - "type" : "iri" - } ], - "contributor" : [ { - "identifier" : "contributor", - "language" : "undefined", - "value" : "_:genid-nodeid-node1dg5reushx1", - "type" : "iri" - }, { - "identifier" : "contributor", - "language" : "undefined", - "value" : "http://ben.de-meester.org/#me", - "type" : "iri" - } ], - "primaryTopic" : [ { - "identifier" : "primaryTopic", - "language" : "undefined", - "value" : "https://w3id.org/montolo", - "type" : "iri" - } ], - "preferredNamespacePrefix" : [ { - "identifier" : "preferredNamespacePrefix", - "language" : "undefined", - "value" : "mov", - "type" : "label" - } ], - "rights" : [ { - "identifier" : "rights", - "language" : "en", - "value" : "Copyright © Ghent University – imec – IDLab", - "type" : "label" - } ], - "modified" : [ { - "identifier" : "modified", - "language" : "undefined", - "value" : "2019-07-19", - "type" : "label" - } ], - "preferredNamespaceUri" : [ { - "identifier" : "preferredNamespaceUri", - "language" : "undefined", - "value" : "https://w3id.org/montolo/ns/montolo-voc#", - "type" : "label" - } ], - "issued" : [ { - "identifier" : "issued", - "language" : "undefined", - "value" : "2019-07-19", - "type" : "label" - } ] - } - }, - "namespace" : [ ], - "class" : [ { - "id" : "0", - "type" : "owl:Class" - }, { - "id" : "1", - "type" : "owl:Class" - }, { - "id" : "6", - "type" : "owl:Class" - }, { - "id" : "8", - "type" : "owl:Class" - }, { - "id" : "13", - "type" : "owl:Class" - }, { - "id" : "15", - "type" : "owl:Class" - }, { - "id" : "10", - "type" : "owl:Class" - }, { - "id" : "5", - "type" : "owl:Class" - }, { - "id" : "16", - "type" : "owl:Class" - }, { - "id" : "12", - "type" : "owl:Class" - }, { - "id" : "9", - "type" : "owl:Class" - }, { - "id" : "14", - "type" : "owl:Class" - }, { - "id" : "2", - "type" : "owl:Class" - }, { - "id" : "37", - "type" : "owl:Class" - }, { - "id" : "38", - "type" : "owl:Class" - }, { - "id" : "24", - "type" : "owl:Class" - }, { - "id" : "4", - "type" : "owl:Class" - }, { - "id" : "7", - "type" : "owl:Class" - }, { - "id" : "52", - "type" : "owl:Class" - }, { - "id" : "17", - "type" : "owl:Class" - } ], - "classAttribute" : [ { - "iri" : "https://w3id.org/lovcube/ns/lovcube#RestrictionTypeDefinitionVersion", - "baseIri" : "https://w3id.org/lovcube/ns/lovcube", - "instances" : 0, - "label" : { - "IRI-based" : "RestrictionTypeDefinitionVersion", - "en" : "Restriction Type Definition Version" - }, - "attributes" : [ "external" ], - "id" : "0" - }, { - "iri" : "http://purl.org/linked-data/cube#Observation", - "baseIri" : "http://purl.org/linked-data/cube", - "instances" : 0, - "label" : { - "IRI-based" : "Observation" - }, - "subClasses" : [ "2" ], - "attributes" : [ "external" ], - "id" : "1" - }, { - "iri" : "https://w3id.org/lovcube/ns/lovcube#RestrictionTypeDefinition", - "baseIri" : "https://w3id.org/lovcube/ns/lovcube", - "instances" : 0, - "label" : { - "IRI-based" : "RestrictionTypeDefinition", - "en" : "Restriction Type Definition" - }, - "attributes" : [ "external" ], - "id" : "6", - "superClasses" : [ "7", "5" ] - }, { - "iri" : "http://purl.org/vocab/frbr/core#Expression", - "baseIri" : "http://purl.org/vocab/frbr/core", - "instances" : 0, - "label" : { - "IRI-based" : "Expression" - }, - "subClasses" : [ "9", "10" ], - "attributes" : [ "external" ], - "id" : "8" - }, { - "iri" : "http://purl.org/linked-data/cube#MeasureProperty", - "baseIri" : "http://purl.org/linked-data/cube", - "instances" : 0, - "label" : { - "IRI-based" : "MeasureProperty" - }, - "subClasses" : [ "14", "10" ], - "attributes" : [ "external" ], - "id" : "13" - }, { - "iri" : "https://w3id.org/lovcube/ns/lovcube#OntologyRepository", - "baseIri" : "https://w3id.org/lovcube/ns/lovcube", - "instances" : 0, - "label" : { - "IRI-based" : "OntologyRepository", - "en" : "Ontology Repository" - }, - "attributes" : [ "external" ], - "id" : "15", - "superClasses" : [ "5" ] - }, { - "iri" : "https://w3id.org/lovcube/ns/lovcube#RestrictionTypeExpressionDetectorVersion", - "baseIri" : "https://w3id.org/lovcube/ns/lovcube", - "instances" : 0, - "label" : { - "IRI-based" : "RestrictionTypeExpressionDetectorVersion", - "en" : "Restriction Type Expression Detector Version" - }, - "comment" : { - "en" : "A concrete version of a restriction type expression detector." - }, - "attributes" : [ "external" ], - "id" : "10", - "superClasses" : [ "5", "8", "13" ] - }, { - "iri" : "http://www.w3.org/ns/prov#Entity", - "baseIri" : "http://www.w3.org/ns/prov", - "instances" : 0, - "label" : { - "IRI-based" : "Entity" - }, - "subClasses" : [ "9", "6", "16", "4", "14", "2", "15", "17", "10" ], - "attributes" : [ "external" ], - "id" : "5" - }, { - "iri" : "https://w3id.org/lovcube/ns/lovcube#RestrictionType", - "baseIri" : "https://w3id.org/lovcube/ns/lovcube", - "instances" : 0, - "label" : { - "IRI-based" : "RestrictionType", - "en" : "Restriction Type" - }, - "comment" : { - "en" : "A certain type of restriction, which can be an axiom or a constraint. One example is the restriction type 'disjoint classes'." - }, - "attributes" : [ "external" ], - "id" : "16", - "superClasses" : [ "7", "5" ] - }, { - "iri" : "https://w3id.org/lovcube/ns/lovcube#RestrictionTypeDetector", - "baseIri" : "https://w3id.org/lovcube/ns/lovcube", - "instances" : 0, - "label" : { - "IRI-based" : "RestrictionTypeDetector", - "en" : "Restriction Type Detector" - }, - "attributes" : [ "external" ], - "id" : "12" - }, { - "iri" : "https://w3id.org/lovcube/ns/lovcube#RestrictionTypeExpression", - "baseIri" : "https://w3id.org/lovcube/ns/lovcube", - "instances" : 0, - "label" : { - "IRI-based" : "RestrictionTypeExpression", - "en" : "Restriction Type Expression" - }, - "comment" : { - "en" : "One possible expression of a restriction type. One example might be the expression 'owl:disjointWith' for the restriction type 'disjoint classes'." - }, - "attributes" : [ "external" ], - "id" : "9", - "superClasses" : [ "5", "8", "24" ] - }, { - "iri" : "https://w3id.org/lovcube/ns/lovcube#RestrictionTypeMeasure", - "baseIri" : "https://w3id.org/lovcube/ns/lovcube", - "instances" : 0, - "label" : { - "IRI-based" : "RestrictionTypeMeasure", - "en" : "Restriction Type Measure" - }, - "attributes" : [ "external" ], - "id" : "14", - "superClasses" : [ "5", "13" ] - }, { - "iri" : "https://w3id.org/lovcube/ns/lovcube#RestrictionTypeStatistic", - "baseIri" : "https://w3id.org/lovcube/ns/lovcube", - "instances" : 0, - "label" : { - "IRI-based" : "RestrictionTypeStatistic", - "en" : "Restriction Type Statistic" - }, - "attributes" : [ "external" ], - "id" : "2", - "superClasses" : [ "1", "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/lovcube/ns/lovcube", - "baseIri" : "https://w3id.org/lovcube/ns", - "labels" : { - "IRI-based" : "lovcube" - } - } ], - "attributes" : [ "external" ], - "id" : "37" - }, { - "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" - } - }, { - "iri" : "https://sven-lieber.org/profile#me", - "baseIri" : "https://sven-lieber.org/profile", - "annotations" : { - "name" : [ { - "identifier" : "name", - "language" : "en", - "value" : "Sven Lieber", - "type" : "label" - } ], - "mbox" : [ { - "identifier" : "mbox", - "language" : "undefined", - "value" : "mailto:sven.lieber@ugent.be", - "type" : "label" - } ] - }, - "labels" : { - "IRI-based" : "me" - } - } ], - "attributes" : [ "external" ], - "id" : "38" - }, { - "iri" : "http://purl.org/linked-data/cube#DimensionProperty", - "baseIri" : "http://purl.org/linked-data/cube", - "instances" : 0, - "label" : { - "IRI-based" : "DimensionProperty" - }, - "subClasses" : [ "9" ], - "attributes" : [ "external" ], - "id" : "24" - }, { - "iri" : "https://w3id.org/lovcube/ns/lovcube#RestrictionTypeExpressionDetector", - "baseIri" : "https://w3id.org/lovcube/ns/lovcube", - "instances" : 0, - "label" : { - "IRI-based" : "RestrictionTypeExpressionDetector", - "en" : "Restriction Type Expression Detector" - }, - "comment" : { - "en" : "A piece of software which is able to detect a certain restriction type expression." - }, - "attributes" : [ "external" ], - "id" : "4", - "superClasses" : [ "7", "5" ] - }, { - "iri" : "http://purl.org/vocab/frbr/core#Work", - "baseIri" : "http://purl.org/vocab/frbr/core", - "instances" : 0, - "label" : { - "IRI-based" : "Work" - }, - "subClasses" : [ "6", "16", "4" ], - "attributes" : [ "external" ], - "id" : "7" - }, { - "iri" : "http://purl.org/linked-data/cube#DataSet", - "baseIri" : "http://purl.org/linked-data/cube", - "instances" : 0, - "label" : { - "IRI-based" : "DataSet" - }, - "subClasses" : [ "17" ], - "attributes" : [ "external" ], - "id" : "52" - }, { - "iri" : "https://w3id.org/lovcube/ns/lovcube#Dataset", - "baseIri" : "https://w3id.org/lovcube/ns/lovcube", - "instances" : 0, - "label" : { - "IRI-based" : "Dataset" - }, - "attributes" : [ "external" ], - "id" : "17", - "superClasses" : [ "5", "52" ] - } ], - "property" : [ { - "id" : "3", - "type" : "rdfs:SubClassOf" - }, { - "id" : "11", - "type" : "owl:objectProperty" - }, { - "id" : "18", - "type" : "rdfs:SubClassOf" - }, { - "id" : "19", - "type" : "rdfs:SubClassOf" - }, { - "id" : "20", - "type" : "rdfs:SubClassOf" - }, { - "id" : "21", - "type" : "rdfs:SubClassOf" - }, { - "id" : "22", - "type" : "rdfs:SubClassOf" - }, { - "id" : "23", - "type" : "rdfs:SubClassOf" - }, { - "id" : "25", - "type" : "rdfs:SubClassOf" - }, { - "id" : "26", - "type" : "owl:disjointWith" - }, { - "id" : "27", - "type" : "rdfs:SubClassOf" - }, { - "id" : "28", - "type" : "rdfs:SubClassOf" - }, { - "id" : "29", - "type" : "owl:disjointWith" - }, { - "id" : "30", - "type" : "owl:disjointWith" - }, { - "id" : "31", - "type" : "owl:disjointWith" - }, { - "id" : "32", - "type" : "owl:disjointWith" - }, { - "id" : "33", - "type" : "owl:disjointWith" - }, { - "id" : "34", - "type" : "owl:disjointWith" - }, { - "id" : "35", - "type" : "owl:disjointWith" - }, { - "id" : "36", - "type" : "owl:disjointWith" - }, { - "id" : "39", - "type" : "owl:disjointWith" - }, { - "id" : "40", - "type" : "owl:disjointWith" - }, { - "id" : "41", - "type" : "owl:disjointWith" - }, { - "id" : "42", - "type" : "owl:disjointWith" - }, { - "id" : "43", - "type" : "owl:disjointWith" - }, { - "id" : "44", - "type" : "owl:disjointWith" - }, { - "id" : "45", - "type" : "owl:disjointWith" - }, { - "id" : "46", - "type" : "owl:disjointWith" - }, { - "id" : "47", - "type" : "owl:disjointWith" - }, { - "id" : "48", - "type" : "owl:disjointWith" - }, { - "id" : "49", - "type" : "owl:disjointWith" - }, { - "id" : "50", - "type" : "owl:disjointWith" - }, { - "id" : "51", - "type" : "owl:objectProperty" - }, { - "id" : "53", - "type" : "rdfs:SubClassOf" - }, { - "id" : "54", - "type" : "rdfs:SubClassOf" - }, { - "id" : "55", - "type" : "rdfs:SubClassOf" - }, { - "id" : "56", - "type" : "rdfs:SubClassOf" - }, { - "id" : "57", - "type" : "rdfs:SubClassOf" - }, { - "id" : "58", - "type" : "rdfs:SubClassOf" - }, { - "id" : "59", - "type" : "rdfs:SubClassOf" - }, { - "id" : "60", - "type" : "rdfs:SubClassOf" - }, { - "id" : "61", - "type" : "rdfs:SubClassOf" - } ], - "propertyAttribute" : [ { - "range" : "5", - "domain" : "4", - "attributes" : [ "object", "anonymous" ], - "id" : "3" - }, { - "iri" : "https://w3id.org/lovcube/ns/lovcube#detectsRestrictionTypeExpression", - "baseIri" : "https://w3id.org/lovcube/ns/lovcube", - "range" : "9", - "label" : { - "IRI-based" : "detectsRestrictionTypeExpression" - }, - "domain" : "12", - "attributes" : [ "external", "object" ], - "id" : "11" - }, { - "range" : "5", - "domain" : "16", - "attributes" : [ "object", "anonymous" ], - "id" : "18" - }, { - "range" : "5", - "domain" : "6", - "attributes" : [ "object", "anonymous" ], - "id" : "19" - }, { - "range" : "13", - "domain" : "10", - "attributes" : [ "object", "anonymous" ], - "id" : "20" - }, { - "range" : "13", - "domain" : "14", - "attributes" : [ "object", "anonymous" ], - "id" : "21" - }, { - "range" : "5", - "domain" : "9", - "attributes" : [ "object", "anonymous" ], - "id" : "22" - }, { - "range" : "24", - "domain" : "9", - "attributes" : [ "object", "anonymous" ], - "id" : "23" - }, { - "range" : "1", - "domain" : "2", - "attributes" : [ "object", "anonymous" ], - "id" : "25" - }, { - "range" : "2", - "domain" : "14", - "attributes" : [ "object", "anonymous" ], - "id" : "26" - }, { - "range" : "8", - "domain" : "10", - "attributes" : [ "object", "anonymous" ], - "id" : "27" - }, { - "range" : "8", - "domain" : "9", - "attributes" : [ "object", "anonymous" ], - "id" : "28" - }, { - "range" : "14", - "domain" : "10", - "attributes" : [ "object", "anonymous" ], - "id" : "29" - }, { - "range" : "2", - "domain" : "4", - "attributes" : [ "object", "anonymous" ], - "id" : "30" - }, { - "range" : "2", - "domain" : "10", - "attributes" : [ "object", "anonymous" ], - "id" : "31" - }, { - "range" : "2", - "domain" : "9", - "attributes" : [ "object", "anonymous" ], - "id" : "32" - }, { - "range" : "14", - "domain" : "9", - "attributes" : [ "object", "anonymous" ], - "id" : "33" - }, { - "range" : "14", - "domain" : "4", - "attributes" : [ "object", "anonymous" ], - "id" : "34" - }, { - "range" : "10", - "domain" : "4", - "attributes" : [ "object", "anonymous" ], - "id" : "35" - }, { - "range" : "2", - "domain" : "6", - "attributes" : [ "object", "anonymous" ], - "id" : "36" - }, { - "range" : "10", - "domain" : "9", - "attributes" : [ "object", "anonymous" ], - "id" : "39" - }, { - "range" : "4", - "domain" : "9", - "attributes" : [ "object", "anonymous" ], - "id" : "40" - }, { - "range" : "4", - "domain" : "16", - "attributes" : [ "object", "anonymous" ], - "id" : "41" - }, { - "range" : "10", - "domain" : "16", - "attributes" : [ "object", "anonymous" ], - "id" : "42" - }, { - "range" : "14", - "domain" : "16", - "attributes" : [ "object", "anonymous" ], - "id" : "43" - }, { - "range" : "2", - "domain" : "16", - "attributes" : [ "object", "anonymous" ], - "id" : "44" - }, { - "range" : "9", - "domain" : "6", - "attributes" : [ "object", "anonymous" ], - "id" : "45" - }, { - "range" : "4", - "domain" : "6", - "attributes" : [ "object", "anonymous" ], - "id" : "46" - }, { - "range" : "10", - "domain" : "6", - "attributes" : [ "object", "anonymous" ], - "id" : "47" - }, { - "range" : "14", - "domain" : "6", - "attributes" : [ "object", "anonymous" ], - "id" : "48" - }, { - "range" : "6", - "domain" : "16", - "attributes" : [ "object", "anonymous" ], - "id" : "49" - }, { - "range" : "9", - "domain" : "16", - "attributes" : [ "object", "anonymous" ], - "id" : "50" - }, { - "iri" : "https://w3id.org/lovcube/ns/lovcube#hasRestrictionTypeDefinition", - "baseIri" : "https://w3id.org/lovcube/ns/lovcube", - "range" : "0", - "label" : { - "IRI-based" : "hasRestrictionTypeDefinition" - }, - "domain" : "16", - "attributes" : [ "external", "object" ], - "id" : "51" - }, { - "range" : "52", - "domain" : "17", - "attributes" : [ "object", "anonymous" ], - "id" : "53" - }, { - "range" : "7", - "domain" : "6", - "attributes" : [ "object", "anonymous" ], - "id" : "54" - }, { - "range" : "5", - "domain" : "10", - "attributes" : [ "object", "anonymous" ], - "id" : "55" - }, { - "range" : "7", - "domain" : "4", - "attributes" : [ "object", "anonymous" ], - "id" : "56" - }, { - "range" : "7", - "domain" : "16", - "attributes" : [ "object", "anonymous" ], - "id" : "57" - }, { - "range" : "5", - "domain" : "2", - "attributes" : [ "object", "anonymous" ], - "id" : "58" - }, { - "range" : "5", - "domain" : "14", - "attributes" : [ "object", "anonymous" ], - "id" : "59" - }, { - "range" : "5", - "domain" : "17", - "attributes" : [ "object", "anonymous" ], - "id" : "60" - }, { - "range" : "5", - "domain" : "15", - "attributes" : [ "object", "anonymous" ], - "id" : "61" - } ] -} \ No newline at end of file diff --git a/public/ns/montolo-voc/v1.0.0/webvowl/favicon.ico b/public/ns/montolo-voc/v1.0.0/webvowl/favicon.ico deleted file mode 100644 index a857d51f1c78d8be8fe2103fde3a10b9a72b041b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1150 zcmZ{iTS(MF6vpSDMI@zZq!kjD5lIgVRzmkE>Ln?=j=Cg=A2Q=;BWM3#W7MP z4OJ>kDK(AIMUUUlNiAY5G~ADT4`TD^KT8_Ohu^q3+sPs_m<2K*IxH|v#-41e7dK;P#seDD5<=IR4*mZa&J>`|7t0Yd|ZNFMV^(Tu4PXs)p070(cT z!?_f^eR>stth4Tx_DRfLmW9@fxmak561{^wOJBD@=O%G|eu)J=ogRGq;DxWH4!xh= z@eUb`We(&Z^`+KH+K#5I(Dl(;dm3I}*$?#hqqD9Ct+!9=G~Qf0#5-8DzLm8+&pK1v zMLdUh{?#`W|INMS#$jEe~o`qM<7dT(J;9K4tKUTz-2=hhc!xn87uCUtA9+ykHIIoj@=L3^bY(rf8C zb+d?AL1<7QstXeM2J(1@MZbZ8en{=<^Ipostpi&T9x_VKKBkraA%Ih5$fyyJJfz1` zk2d~akaZ*9;?dNV2n!i0+8boJUpg=vTosV+>66AGdF5;zOj?e@ - - - - - - - - - - - - - - WebVOWL - - - -
    -
    - - - - - - -
    - - - - -
    -
    -
    - -
    -
    >
    - -
    - -
    - - -
    -
    -
    -

    -

    +

    -

    -

    -

    -
    -
    - - -
    -
    -
    -
    - - - -
    - - - - - - - \ No newline at end of file diff --git a/public/ns/montolo-voc/v1.0.0/webvowl/js/d3.min.js b/public/ns/montolo-voc/v1.0.0/webvowl/js/d3.min.js deleted file mode 100644 index 1664873..0000000 --- a/public/ns/montolo-voc/v1.0.0/webvowl/js/d3.min.js +++ /dev/null @@ -1,5 +0,0 @@ -!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/public/ns/montolo-voc/v1.0.0/webvowl/js/webvowl.app.js b/public/ns/montolo-voc/v1.0.0/webvowl/js/webvowl.app.js deleted file mode 100644 index f3eba7c..0000000 --- a/public/ns/montolo-voc/v1.0.0/webvowl/js/webvowl.app.js +++ /dev/null @@ -1,5 +0,0 @@ -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/public/ns/montolo-voc/v1.0.0/webvowl/js/webvowl.js b/public/ns/montolo-voc/v1.0.0/webvowl/js/webvowl.js deleted file mode 100644 index fe3a381..0000000 --- a/public/ns/montolo-voc/v1.0.0/webvowl/js/webvowl.js +++ /dev/null @@ -1,7 +0,0 @@ -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").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/public/ns/montolo-voc/v2.0.0/resources/marked.min.js b/public/ns/montolo-voc/v2.0.0/resources/marked.min.js deleted file mode 100644 index 1d736f9..0000000 --- a/public/ns/montolo-voc/v2.0.0/resources/marked.min.js +++ /dev/null @@ -1,6 +0,0 @@ -/** - * 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/public/ns/montolo-voc/v2.0.0/resources/owl.css b/public/ns/montolo-voc/v2.0.0/resources/owl.css deleted file mode 100644 index 9e80a25..0000000 --- a/public/ns/montolo-voc/v2.0.0/resources/owl.css +++ /dev/null @@ -1,248 +0,0 @@ -.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/public/ns/montolo-voc/v2.0.0/resources/primer.css b/public/ns/montolo-voc/v2.0.0/resources/primer.css deleted file mode 100644 index fc28be7..0000000 --- a/public/ns/montolo-voc/v2.0.0/resources/primer.css +++ /dev/null @@ -1,103 +0,0 @@ -/* 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/public/ns/montolo-voc/v2.0.0/resources/rec.css b/public/ns/montolo-voc/v2.0.0/resources/rec.css deleted file mode 100644 index 55d481d..0000000 --- a/public/ns/montolo-voc/v2.0.0/resources/rec.css +++ /dev/null @@ -1,88 +0,0 @@ -/* 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/public/ns/montolo-voc/v2.0.0/webvowl/css/webvowl.app.css b/public/ns/montolo-voc/v2.0.0/webvowl/css/webvowl.app.css deleted file mode 100644 index d36fd15..0000000 --- a/public/ns/montolo-voc/v2.0.0/webvowl/css/webvowl.app.css +++ /dev/null @@ -1,6 +0,0 @@ -@import url(https://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/public/ns/montolo-voc/v2.0.0/webvowl/css/webvowl.css b/public/ns/montolo-voc/v2.0.0/webvowl/css/webvowl.css deleted file mode 100644 index 335ea85..0000000 --- a/public/ns/montolo-voc/v2.0.0/webvowl/css/webvowl.css +++ /dev/null @@ -1 +0,0 @@ -.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/public/ns/montolo-voc/v2.0.0/webvowl/data/foaf.json b/public/ns/montolo-voc/v2.0.0/webvowl/data/foaf.json deleted file mode 100644 index beaaffc..0000000 --- a/public/ns/montolo-voc/v2.0.0/webvowl/data/foaf.json +++ /dev/null @@ -1,2894 +0,0 @@ -{ - "_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/public/ns/montolo-voc/v2.0.0/webvowl/data/ontology.json b/public/ns/montolo-voc/v2.0.0/webvowl/data/ontology.json deleted file mode 100644 index d37399f..0000000 --- a/public/ns/montolo-voc/v2.0.0/webvowl/data/ontology.json +++ /dev/null @@ -1,781 +0,0 @@ -{ - "_comment" : "Created with OWL2VOWL (version 0.3.5), http://vowl.visualdataweb.org", - "header" : { - "languages" : [ "en", "undefined" ], - "baseIris" : [ "http://w3id.org/montolo/ns/montolo-voc", "http://www.w3.org/1999/02/22-rdf-syntax-ns", "http://www.w3.org/2000/01/rdf-schema", "http://www.w3.org/ns/prov", "http://www.w3.org/2001/XMLSchema", "http://purl.org/linked-data/cube", "http://xmlns.com/foaf/0.1", "http://purl.org/vocab/frbr/core" ], - "title" : { - "en" : "MontoloVoc vocabulary" - }, - "iri" : "https://w3id.org/montolo/ns/montolo-voc#", - "version" : "2.0.0", - "author" : [ "https://sven-lieber.org/profile#me" ], - "description" : { - "en" : "The MontoloVoc vocabulary used to describe https://w3id.org/montolo" - }, - "labels" : { - "en" : "MontoloVoc vocabulary" - }, - "comments" : { - "en" : "-Version 2.0.0: Fixed semantic issues and removed unused classes" - }, - "other" : { - "priorVersion" : [ { - "identifier" : "priorVersion", - "language" : "undefined", - "value" : "https://w3id.org/montolo/ns/montolo-voc#", - "type" : "iri" - } ], - "creator" : [ { - "identifier" : "creator", - "language" : "undefined", - "value" : "https://sven-lieber.org/profile#me", - "type" : "iri" - } ], - "created" : [ { - "identifier" : "created", - "language" : "undefined", - "value" : "2019-07-19", - "type" : "label" - } ], - "versionInfo" : [ { - "identifier" : "versionInfo", - "language" : "undefined", - "value" : "2.0.0", - "type" : "label" - } ], - "title" : [ { - "identifier" : "title", - "language" : "en", - "value" : "MontoloVoc vocabulary", - "type" : "label" - } ], - "seeAlso" : [ { - "identifier" : "seeAlso", - "language" : "undefined", - "value" : "https://w3id.org/montolo", - "type" : "iri" - } ], - "license" : [ { - "identifier" : "license", - "language" : "undefined", - "value" : "https://creativecommons.org/publicdomain/zero/1.0/", - "type" : "iri" - } ], - "contributor" : [ { - "identifier" : "contributor", - "language" : "undefined", - "value" : "http://ben.de-meester.org/#me", - "type" : "iri" - }, { - "identifier" : "contributor", - "language" : "undefined", - "value" : "http://w3id.org/montolo/ns/montolo-voc#natadimou", - "type" : "iri" - } ], - "primaryTopic" : [ { - "identifier" : "primaryTopic", - "language" : "undefined", - "value" : "https://w3id.org/montolo", - "type" : "iri" - } ], - "rights" : [ { - "identifier" : "rights", - "language" : "en", - "value" : "Copyright © Ghent University – imec – IDLab", - "type" : "label" - } ], - "preferredNamespacePrefix" : [ { - "identifier" : "preferredNamespacePrefix", - "language" : "undefined", - "value" : "mov", - "type" : "label" - } ], - "modified" : [ { - "identifier" : "modified", - "language" : "undefined", - "value" : "2020-08-18", - "type" : "label" - } ], - "preferredNamespaceUri" : [ { - "identifier" : "preferredNamespaceUri", - "language" : "undefined", - "value" : "https://w3id.org/montolo/ns/montolo-voc#", - "type" : "label" - } ], - "issued" : [ { - "identifier" : "issued", - "language" : "undefined", - "value" : "2019-07-19", - "type" : "label" - } ] - } - }, - "namespace" : [ ], - "class" : [ { - "id" : "0", - "type" : "owl:Class" - }, { - "id" : "3", - "type" : "owl:Class" - }, { - "id" : "2", - "type" : "owl:Class" - }, { - "id" : "8", - "type" : "owl:Class" - }, { - "id" : "1", - "type" : "owl:Class" - }, { - "id" : "14", - "type" : "owl:Class" - }, { - "id" : "12", - "type" : "owl:Class" - }, { - "id" : "36", - "type" : "owl:Class" - }, { - "id" : "6", - "type" : "owl:Class" - }, { - "id" : "7", - "type" : "owl:Class" - }, { - "id" : "47", - "type" : "owl:Class" - }, { - "id" : "13", - "type" : "owl:Class" - }, { - "id" : "4", - "type" : "owl:Class" - }, { - "id" : "26", - "type" : "owl:Class" - }, { - "id" : "19", - "type" : "owl:Class" - }, { - "id" : "10", - "type" : "owl:Class" - }, { - "id" : "11", - "type" : "owl:Class" - } ], - "classAttribute" : [ { - "iri" : "http://w3id.org/montolo/ns/montolo-voc#RestrictionTypeExpression", - "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", - "instances" : 0, - "label" : { - "IRI-based" : "RestrictionTypeExpression", - "en" : "Restriction Type Expression" - }, - "comment" : { - "en" : "One possible expression of a restriction type. One example might be the expression 'owl:disjointWith' for the restriction type 'disjoint classes'." - }, - "attributes" : [ "external" ], - "id" : "0", - "superClasses" : [ "1", "2" ] - }, { - "iri" : "http://purl.org/linked-data/cube#Observation", - "baseIri" : "http://purl.org/linked-data/cube", - "instances" : 0, - "label" : { - "IRI-based" : "Observation" - }, - "subClasses" : [ "4" ], - "attributes" : [ "external" ], - "id" : "3" - }, { - "iri" : "http://purl.org/vocab/frbr/core#Expression", - "baseIri" : "http://purl.org/vocab/frbr/core", - "instances" : 0, - "label" : { - "IRI-based" : "Expression" - }, - "subClasses" : [ "0", "7" ], - "attributes" : [ "external" ], - "id" : "2" - }, { - "iri" : "http://w3id.org/montolo/ns/montolo-voc#RestrictionTypeMeasure", - "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", - "instances" : 0, - "label" : { - "IRI-based" : "RestrictionTypeMeasure", - "en" : "Restriction Type Measure" - }, - "comment" : { - "en" : "A measure of a restriction type which follows the RDF Data Cube definition. Examples could be the 'occurrence' of a restriction type or 'hierarchy depth' etc." - }, - "attributes" : [ "external" ], - "id" : "8", - "superClasses" : [ "1" ] - }, { - "iri" : "http://www.w3.org/ns/prov#Entity", - "baseIri" : "http://www.w3.org/ns/prov", - "instances" : 0, - "label" : { - "IRI-based" : "Entity" - }, - "subClasses" : [ "0", "11", "12", "13", "8", "14", "6", "7", "4" ], - "attributes" : [ "external" ], - "id" : "1" - }, { - "iri" : "http://w3id.org/montolo/ns/montolo-voc#Dataset", - "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", - "instances" : 0, - "label" : { - "IRI-based" : "Dataset", - "undefined" : "Dataset" - }, - "comment" : { - "undefined" : "A dataset of ontology statistics which are both a datacube dataset (qb:DataSet) and a PROV-O entity (prov:Entity)." - }, - "attributes" : [ "external" ], - "id" : "14", - "superClasses" : [ "1", "19" ] - }, { - "iri" : "http://w3id.org/montolo/ns/montolo-voc#RestrictionTypeExpressionDetector", - "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", - "instances" : 0, - "label" : { - "IRI-based" : "RestrictionTypeExpressionDetector", - "en" : "Restriction Type Expression Detector" - }, - "comment" : { - "en" : "A piece of software which is able to detect a certain restriction type expression. Multiple versions of this detector might exist as separate entities" - }, - "attributes" : [ "external" ], - "id" : "12", - "superClasses" : [ "26", "1" ] - }, { - "iri" : "http://xmlns.com/foaf/0.1/Person", - "baseIri" : "http://xmlns.com/foaf/0.1", - "instances" : 0, - "label" : { - "IRI-based" : "Person" - }, - "individuals" : [ { - "iri" : "http://w3id.org/montolo/ns/montolo-voc#natadimou", - "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", - "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" : "natadimou" - } - }, { - "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" - } - }, { - "iri" : "https://sven-lieber.org/profile#me", - "baseIri" : "https://sven-lieber.org/profile", - "annotations" : { - "name" : [ { - "identifier" : "name", - "language" : "en", - "value" : "Sven Lieber", - "type" : "label" - } ], - "mbox" : [ { - "identifier" : "mbox", - "language" : "undefined", - "value" : "mailto:sven.lieber@ugent.be", - "type" : "label" - } ] - }, - "labels" : { - "IRI-based" : "me" - } - } ], - "attributes" : [ "external" ], - "id" : "36" - }, { - "iri" : "http://w3id.org/montolo/ns/montolo-voc#RestrictionType", - "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", - "instances" : 0, - "label" : { - "IRI-based" : "RestrictionType", - "en" : "Restriction Type" - }, - "comment" : { - "en" : "A certain type of restriction, which can be an axiom or a constraint. One example is the restriction type 'disjoint classes'." - }, - "attributes" : [ "external" ], - "id" : "6", - "superClasses" : [ "26", "1" ] - }, { - "iri" : "http://w3id.org/montolo/ns/montolo-voc#RestrictionTypeExpressionDetectorVersion", - "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", - "instances" : 0, - "label" : { - "IRI-based" : "RestrictionTypeExpressionDetectorVersion", - "en" : "Restriction Type Expression Detector Version" - }, - "comment" : { - "en" : "A concrete version of a restriction type expression detector." - }, - "attributes" : [ "external" ], - "id" : "7", - "superClasses" : [ "1", "2" ] - }, { - "iri" : "http://w3id.org/montolo/ns/montolo-voc#OntologyRepository", - "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", - "instances" : 0, - "label" : { - "IRI-based" : "OntologyRepository", - "en" : "Ontology Repository" - }, - "comment" : { - "en" : "A repository which hosts ontologies, examples could be Linked Open Vocabularies (LOV) or BioPortal." - }, - "attributes" : [ "external" ], - "id" : "47", - "superClasses" : [ "11" ] - }, { - "iri" : "http://w3id.org/montolo/ns/montolo-voc#RestrictionTypeDefinition", - "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", - "instances" : 0, - "label" : { - "IRI-based" : "RestrictionTypeDefinition", - "en" : "Restriction Type Definition" - }, - "comment" : { - "en" : "A natural language definition of restriction types" - }, - "attributes" : [ "external" ], - "id" : "13", - "superClasses" : [ "26", "1" ] - }, { - "iri" : "http://w3id.org/montolo/ns/montolo-voc#RestrictionTypeStatistic", - "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", - "instances" : 0, - "label" : { - "IRI-based" : "RestrictionTypeStatistic", - "en" : "Restriction Type Statistic" - }, - "comment" : { - "en" : "A restriction type statistic basically is a RDF Data Cube observation about restriction type use, but also a PROV-O entity such that provenance of it can be expressed." - }, - "attributes" : [ "external" ], - "id" : "4", - "superClasses" : [ "3", "1" ] - }, { - "iri" : "http://purl.org/vocab/frbr/core#Work", - "baseIri" : "http://purl.org/vocab/frbr/core", - "instances" : 0, - "label" : { - "IRI-based" : "Work" - }, - "subClasses" : [ "12", "13", "6" ], - "attributes" : [ "external" ], - "id" : "26" - }, { - "iri" : "http://purl.org/linked-data/cube#DataSet", - "baseIri" : "http://purl.org/linked-data/cube", - "instances" : 0, - "label" : { - "IRI-based" : "DataSet" - }, - "subClasses" : [ "14" ], - "attributes" : [ "external" ], - "id" : "19" - }, { - "iri" : "http://w3id.org/montolo/ns/montolo-voc#RestrictionTypeDefinitionVersion", - "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", - "instances" : 0, - "label" : { - "IRI-based" : "RestrictionTypeDefinitionVersion", - "en" : "Restriction Type Definition Version" - }, - "comment" : { - "en" : "A specific version of a definition for a restriction type." - }, - "attributes" : [ "external" ], - "id" : "10" - }, { - "iri" : "http://w3id.org/montolo/ns/montolo-voc#Repository", - "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", - "instances" : 0, - "label" : { - "IRI-based" : "Repository", - "en" : "Repository" - }, - "subClasses" : [ "47" ], - "comment" : { - "en" : "Any type of software repository from which input data is taken." - }, - "attributes" : [ "external" ], - "id" : "11", - "superClasses" : [ "1" ] - } ], - "property" : [ { - "id" : "5", - "type" : "rdfs:SubClassOf" - }, { - "id" : "9", - "type" : "owl:objectProperty" - }, { - "id" : "15", - "type" : "rdfs:SubClassOf" - }, { - "id" : "16", - "type" : "rdfs:SubClassOf" - }, { - "id" : "17", - "type" : "rdfs:SubClassOf" - }, { - "id" : "18", - "type" : "rdfs:SubClassOf" - }, { - "id" : "20", - "type" : "rdfs:SubClassOf" - }, { - "id" : "21", - "type" : "rdfs:SubClassOf" - }, { - "id" : "22", - "type" : "rdfs:SubClassOf" - }, { - "id" : "23", - "type" : "owl:disjointWith" - }, { - "id" : "24", - "type" : "rdfs:SubClassOf" - }, { - "id" : "25", - "type" : "rdfs:SubClassOf" - }, { - "id" : "27", - "type" : "owl:objectProperty" - }, { - "id" : "28", - "type" : "owl:disjointWith" - }, { - "id" : "29", - "type" : "owl:disjointWith" - }, { - "id" : "30", - "type" : "owl:disjointWith" - }, { - "id" : "31", - "type" : "owl:disjointWith" - }, { - "id" : "32", - "type" : "owl:disjointWith" - }, { - "id" : "33", - "type" : "owl:disjointWith" - }, { - "id" : "34", - "type" : "owl:disjointWith" - }, { - "id" : "35", - "type" : "owl:disjointWith" - }, { - "id" : "37", - "type" : "owl:disjointWith" - }, { - "id" : "38", - "type" : "owl:disjointWith" - }, { - "id" : "39", - "type" : "owl:disjointWith" - }, { - "id" : "40", - "type" : "owl:disjointWith" - }, { - "id" : "41", - "type" : "owl:disjointWith" - }, { - "id" : "42", - "type" : "owl:disjointWith" - }, { - "id" : "43", - "type" : "owl:disjointWith" - }, { - "id" : "44", - "type" : "owl:disjointWith" - }, { - "id" : "45", - "type" : "owl:disjointWith" - }, { - "id" : "46", - "type" : "owl:disjointWith" - }, { - "id" : "48", - "type" : "owl:disjointWith" - }, { - "id" : "49", - "type" : "owl:disjointWith" - }, { - "id" : "50", - "type" : "rdfs:SubClassOf" - }, { - "id" : "51", - "type" : "rdfs:SubClassOf" - }, { - "id" : "52", - "type" : "rdfs:SubClassOf" - }, { - "id" : "53", - "type" : "rdfs:SubClassOf" - }, { - "id" : "54", - "type" : "rdfs:SubClassOf" - }, { - "id" : "55", - "type" : "rdfs:SubClassOf" - }, { - "id" : "56", - "type" : "rdfs:SubClassOf" - } ], - "propertyAttribute" : [ { - "range" : "1", - "domain" : "6", - "attributes" : [ "object", "anonymous" ], - "id" : "5" - }, { - "iri" : "http://w3id.org/montolo/ns/montolo-voc#hasRestrictionTypeDefinition", - "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", - "range" : "10", - "label" : { - "IRI-based" : "hasRestrictionTypeDefinition", - "undefined" : "has restriction type definition" - }, - "domain" : "6", - "comment" : { - "undefined" : "Links a restriction type to a specific version of a definition." - }, - "attributes" : [ "external", "object" ], - "id" : "9" - }, { - "range" : "1", - "domain" : "14", - "attributes" : [ "object", "anonymous" ], - "id" : "15" - }, { - "range" : "1", - "domain" : "8", - "attributes" : [ "object", "anonymous" ], - "id" : "16" - }, { - "range" : "1", - "domain" : "11", - "attributes" : [ "object", "anonymous" ], - "id" : "17" - }, { - "range" : "1", - "domain" : "0", - "attributes" : [ "object", "anonymous" ], - "id" : "18" - }, { - "range" : "1", - "domain" : "13", - "attributes" : [ "object", "anonymous" ], - "id" : "20" - }, { - "range" : "1", - "domain" : "12", - "attributes" : [ "object", "anonymous" ], - "id" : "21" - }, { - "range" : "3", - "domain" : "4", - "attributes" : [ "object", "anonymous" ], - "id" : "22" - }, { - "range" : "4", - "domain" : "8", - "attributes" : [ "object", "anonymous" ], - "id" : "23" - }, { - "range" : "2", - "domain" : "7", - "attributes" : [ "object", "anonymous" ], - "id" : "24" - }, { - "range" : "2", - "domain" : "0", - "attributes" : [ "object", "anonymous" ], - "id" : "25" - }, { - "iri" : "http://w3id.org/montolo/ns/montolo-voc#detectsRestrictionTypeExpression", - "baseIri" : "http://w3id.org/montolo/ns/montolo-voc", - "range" : "0", - "label" : { - "IRI-based" : "detectsRestrictionTypeExpression", - "undefined" : "detects restriction type expression" - }, - "domain" : "12", - "comment" : { - "undefined" : "Can be used to make the link between restriction types and restriction types expressions explicit." - }, - "attributes" : [ "external", "object" ], - "id" : "27" - }, { - "range" : "8", - "domain" : "7", - "attributes" : [ "object", "anonymous" ], - "id" : "28" - }, { - "range" : "4", - "domain" : "12", - "attributes" : [ "object", "anonymous" ], - "id" : "29" - }, { - "range" : "4", - "domain" : "7", - "attributes" : [ "object", "anonymous" ], - "id" : "30" - }, { - "range" : "4", - "domain" : "0", - "attributes" : [ "object", "anonymous" ], - "id" : "31" - }, { - "range" : "8", - "domain" : "0", - "attributes" : [ "object", "anonymous" ], - "id" : "32" - }, { - "range" : "8", - "domain" : "12", - "attributes" : [ "object", "anonymous" ], - "id" : "33" - }, { - "range" : "7", - "domain" : "12", - "attributes" : [ "object", "anonymous" ], - "id" : "34" - }, { - "range" : "4", - "domain" : "13", - "attributes" : [ "object", "anonymous" ], - "id" : "35" - }, { - "range" : "7", - "domain" : "0", - "attributes" : [ "object", "anonymous" ], - "id" : "37" - }, { - "range" : "12", - "domain" : "0", - "attributes" : [ "object", "anonymous" ], - "id" : "38" - }, { - "range" : "12", - "domain" : "6", - "attributes" : [ "object", "anonymous" ], - "id" : "39" - }, { - "range" : "7", - "domain" : "6", - "attributes" : [ "object", "anonymous" ], - "id" : "40" - }, { - "range" : "8", - "domain" : "6", - "attributes" : [ "object", "anonymous" ], - "id" : "41" - }, { - "range" : "4", - "domain" : "6", - "attributes" : [ "object", "anonymous" ], - "id" : "42" - }, { - "range" : "0", - "domain" : "13", - "attributes" : [ "object", "anonymous" ], - "id" : "43" - }, { - "range" : "12", - "domain" : "13", - "attributes" : [ "object", "anonymous" ], - "id" : "44" - }, { - "range" : "7", - "domain" : "13", - "attributes" : [ "object", "anonymous" ], - "id" : "45" - }, { - "range" : "8", - "domain" : "13", - "attributes" : [ "object", "anonymous" ], - "id" : "46" - }, { - "range" : "13", - "domain" : "6", - "attributes" : [ "object", "anonymous" ], - "id" : "48" - }, { - "range" : "0", - "domain" : "6", - "attributes" : [ "object", "anonymous" ], - "id" : "49" - }, { - "range" : "19", - "domain" : "14", - "attributes" : [ "object", "anonymous" ], - "id" : "50" - }, { - "range" : "26", - "domain" : "6", - "attributes" : [ "object", "anonymous" ], - "id" : "51" - }, { - "range" : "11", - "domain" : "47", - "attributes" : [ "object", "anonymous" ], - "id" : "52" - }, { - "range" : "1", - "domain" : "4", - "attributes" : [ "object", "anonymous" ], - "id" : "53" - }, { - "range" : "1", - "domain" : "7", - "attributes" : [ "object", "anonymous" ], - "id" : "54" - }, { - "range" : "26", - "domain" : "13", - "attributes" : [ "object", "anonymous" ], - "id" : "55" - }, { - "range" : "26", - "domain" : "12", - "attributes" : [ "object", "anonymous" ], - "id" : "56" - } ] -} \ No newline at end of file diff --git a/public/ns/montolo-voc/v2.0.0/webvowl/favicon.ico b/public/ns/montolo-voc/v2.0.0/webvowl/favicon.ico deleted file mode 100644 index a857d51f1c78d8be8fe2103fde3a10b9a72b041b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1150 zcmZ{iTS(MF6vpSDMI@zZq!kjD5lIgVRzmkE>Ln?=j=Cg=A2Q=;BWM3#W7MP z4OJ>kDK(AIMUUUlNiAY5G~ADT4`TD^KT8_Ohu^q3+sPs_m<2K*IxH|v#-41e7dK;P#seDD5<=IR4*mZa&J>`|7t0Yd|ZNFMV^(Tu4PXs)p070(cT z!?_f^eR>stth4Tx_DRfLmW9@fxmak561{^wOJBD@=O%G|eu)J=ogRGq;DxWH4!xh= z@eUb`We(&Z^`+KH+K#5I(Dl(;dm3I}*$?#hqqD9Ct+!9=G~Qf0#5-8DzLm8+&pK1v zMLdUh{?#`W|INMS#$jEe~o`qM<7dT(J;9K4tKUTz-2=hhc!xn87uCUtA9+ykHIIoj@=L3^bY(rf8C zb+d?AL1<7QstXeM2J(1@MZbZ8en{=<^Ipostpi&T9x_VKKBkraA%Ih5$fyyJJfz1` zk2d~akaZ*9;?dNV2n!i0+8boJUpg=vTosV+>66AGdF5;zOj?e@ - - - - - - - - - - - - - - WebVOWL - - - -
    -
    - - - - - - -
    - - - - -
    -
    -
    - -
    -
    >
    - -
    - -
    - - -
    -
    -
    -

    -

    +

    -

    -

    -

    -
    -
    - - -
    -
    -
    -
    - - - -
    - - - - - - - \ No newline at end of file diff --git a/public/ns/montolo-voc/v2.0.0/webvowl/js/d3.min.js b/public/ns/montolo-voc/v2.0.0/webvowl/js/d3.min.js deleted file mode 100644 index 1664873..0000000 --- a/public/ns/montolo-voc/v2.0.0/webvowl/js/d3.min.js +++ /dev/null @@ -1,5 +0,0 @@ -!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/public/ns/montolo-voc/v2.0.0/webvowl/js/webvowl.app.js b/public/ns/montolo-voc/v2.0.0/webvowl/js/webvowl.app.js deleted file mode 100644 index f3eba7c..0000000 --- a/public/ns/montolo-voc/v2.0.0/webvowl/js/webvowl.app.js +++ /dev/null @@ -1,5 +0,0 @@ -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/public/ns/montolo-voc/v2.0.0/webvowl/js/webvowl.js b/public/ns/montolo-voc/v2.0.0/webvowl/js/webvowl.js deleted file mode 100644 index fe3a381..0000000 --- a/public/ns/montolo-voc/v2.0.0/webvowl/js/webvowl.js +++ /dev/null @@ -1,7 +0,0 @@ -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 Date: Wed, 19 Aug 2020 19:05:49 +0200 Subject: [PATCH 6/7] Added changelog --- CHANGELOG.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..3899dc8 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,38 @@ +# 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). + +## [2.0.0] - 2020-08-19 + +### Added + +- Class `:Repository` +- `:OntologyRepository` class now a subclass of the new `:Repository` class +- added several `rdfs:comment` triples to provide further information + +### Removed + +- Class `:RestrictionTypeDetector` removed as *detection* can only be performed by `:RestrictionTypeExpressionDetector` +- Subclass statement removed: Class `:RestrictionTypeExpressionDetectorVersion` was accidentally a subclass of `qb:MeasureProperty` +- Subclass statement removed: Class `:RestrictionTypeMeasure` was accidentally a subclass of `qb:MeasureProperty` +- Several class and property definitions from other ontologies removed which initially were inserted by Protege +- Definitions of the outdated lovcube ontology, this was supposed to be already rebranded to montolo-voc + +### Changed + +- Domain of `:detectsRestrictionTypeExpression` was changed from `:RestrictionTypeDetector` to `:RestrictionTypeExpressionDetector` +- File extension of the ontology changed from `.owl` to `.ttl` as it already contained turtle + + + +## [1.0.0] - 2019-07-19 + +### Added + +- First official version + +[1.0.0]: https://github.com/IDLabResearch/montolo-voc/releases/tag/v1.0.0 +[2.0.0]: https://github.com/IDLabResearch/montolo-voc/compare/v1.0.0...v2.0.0 From afcd11384793587634c52e9c889b864677eceaea Mon Sep 17 00:00:00 2001 From: SvenLieber Date: Wed, 19 Aug 2020 19:07:57 +0200 Subject: [PATCH 7/7] provided more info --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3899dc8..c37cd72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Class `:Repository` +- Class `:Repository` as not all RDF input data might come from an ontology repository, e.g. SHACL files from GitHub - `:OntologyRepository` class now a subclass of the new `:Repository` class - added several `rdfs:comment` triples to provide further information