├── .idea ├── .name ├── copyright │ └── profiles_settings.xml ├── scopes │ └── scope_settings.xml ├── vcs.xml ├── inspectionProfiles │ ├── profiles_settings.xml │ └── Project_Default.xml ├── libraries │ ├── Gradle__ognl_ognl_3_0_8.xml │ ├── Gradle__org_yaml_snakeyaml_1_16.xml │ ├── Gradle__joda_time_joda_time_2_8_2.xml │ ├── Gradle__org_slf4j_slf4j_api_1_7_13.xml │ ├── Gradle__aopalliance_aopalliance_1_0.xml │ ├── Gradle__com_fasterxml_classmate_1_1_0.xml │ ├── Gradle__org_codehaus_groovy_groovy_2_4_4.xml │ ├── Gradle__org_slf4j_jul_to_slf4j_1_7_13.xml │ ├── Gradle__org_slf4j_jcl_over_slf4j_1_7_13.xml │ ├── Gradle__ch_qos_logback_logback_core_1_1_3.xml │ ├── Gradle__org_javassist_javassist_3_18_1_GA.xml │ ├── Gradle__org_slf4j_log4j_over_slf4j_1_7_13.xml │ ├── Gradle__ch_qos_logback_logback_classic_1_1_3.xml │ ├── Gradle__org_mongodb_mongo_java_driver_2_13_3.xml │ ├── Gradle__org_thymeleaf_thymeleaf_2_1_4_RELEASE.xml │ ├── Gradle__org_unbescape_unbescape_1_1_0_RELEASE.xml │ ├── Gradle__org_jetbrains_kotlin_kotlin_stdlib_1_0_0.xml │ ├── Gradle__org_jetbrains_kotlin_kotlin_runtime_1_0_0.xml │ ├── Gradle__com_fasterxml_jackson_core_jackson_core_2_6_5.xml │ ├── Gradle__javax_validation_validation_api_1_1_0_Final.xml │ ├── Gradle__org_jboss_logging_jboss_logging_3_3_0_Final.xml │ ├── Gradle__org_springframework_spring_aop_4_2_4_RELEASE.xml │ ├── Gradle__org_springframework_spring_web_4_2_4_RELEASE.xml │ ├── Gradle__org_apache_tomcat_embed_tomcat_embed_el_8_0_30.xml │ ├── Gradle__org_springframework_spring_core_4_2_4_RELEASE.xml │ ├── Gradle__org_jetbrains_kotlin_kotlin_nosql_0_1_SNAPSHOT.xml │ ├── Gradle__org_springframework_spring_beans_4_2_4_RELEASE.xml │ ├── Gradle__com_fasterxml_jackson_core_jackson_databind_2_6_5.xml │ ├── Gradle__org_apache_tomcat_embed_tomcat_embed_core_8_0_30.xml │ ├── Gradle__org_hibernate_hibernate_validator_5_2_2_Final.xml │ ├── Gradle__org_springframework_spring_webmvc_4_2_4_RELEASE.xml │ ├── Gradle__org_thymeleaf_thymeleaf_spring4_2_1_4_RELEASE.xml │ ├── Gradle__org_springframework_boot_spring_boot_1_3_2_RELEASE.xml │ ├── Gradle__org_springframework_spring_context_4_2_4_RELEASE.xml │ ├── Gradle__com_fasterxml_jackson_core_jackson_annotations_2_6_5.xml │ ├── Gradle__org_springframework_spring_expression_4_2_4_RELEASE.xml │ ├── Gradle__org_apache_tomcat_embed_tomcat_embed_websocket_8_0_30.xml │ ├── Gradle__nz_net_ultraq_thymeleaf_thymeleaf_layout_dialect_1_3_1.xml │ ├── Gradle__org_apache_tomcat_embed_tomcat_embed_logging_juli_8_0_30.xml │ ├── Gradle__org_springframework_boot_spring_boot_starter_1_3_2_RELEASE.xml │ ├── Gradle__org_springframework_boot_spring_boot_starter_web_1_3_2_RELEASE.xml │ ├── Gradle__org_springframework_boot_spring_boot_autoconfigure_1_3_2_RELEASE.xml │ ├── Gradle__org_springframework_boot_spring_boot_starter_tomcat_1_3_2_RELEASE.xml │ ├── Gradle__org_springframework_boot_spring_boot_starter_logging_1_3_2_RELEASE.xml │ ├── Gradle__org_springframework_boot_spring_boot_starter_thymeleaf_1_3_2_RELEASE.xml │ ├── Gradle__org_springframework_boot_spring_boot_starter_validation_1_3_2_RELEASE.xml │ └── Gradle__org_jetbrains_kotlin_kotlin_nosql_mongodb_0_1_SNAPSHOT.xml ├── misc.xml ├── gradle.xml ├── modules.xml ├── modules │ ├── kotlin-nosql-mongodb-petclinic.iml │ ├── kotlin-nosql-mongodb-petclinic_main.iml │ └── kotlin-nosql-mongodb-petclinic_test.iml ├── encodings.xml ├── compiler.xml └── uiDesigner.xml ├── Procfile ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── src └── main │ ├── webapp │ └── resources │ │ ├── images │ │ ├── bg.jpg │ │ ├── loader-large.gif │ │ ├── loader-mini.gif │ │ ├── loader-small.gif │ │ ├── loader-medium.gif │ │ ├── loader-large-inverted.gif │ │ ├── loader-medium-inverted.gif │ │ ├── loader-mini-inverted.gif │ │ └── loader-small-inverted.gif │ │ ├── fonts │ │ ├── icons.eot │ │ ├── icons.otf │ │ ├── icons.ttf │ │ ├── icons.woff │ │ ├── basic.icons.eot │ │ ├── basic.icons.ttf │ │ ├── basic.icons.woff │ │ └── basic.icons.svg │ │ └── css │ │ └── default.css │ ├── kotlin │ └── kotlinx │ │ └── nosql │ │ └── mongodb │ │ └── samples │ │ └── petclinic │ │ ├── data │ │ ├── PetType.kt │ │ ├── Vet.kt │ │ ├── Speciality.kt │ │ ├── Visit.kt │ │ ├── Pet.kt │ │ └── Owner.kt │ │ └── controllers │ │ ├── AppController.kt │ │ ├── petTypes │ │ └── PetTypeController.kt │ │ ├── specialities │ │ └── SpecialityController.kt │ │ ├── pets │ │ ├── PetController.kt │ │ └── VisitController.kt │ │ ├── AppConfig.kt │ │ ├── vets │ │ └── VetController.kt │ │ └── owners │ │ └── OwnerController.kt │ └── resources │ └── templates │ ├── fragments │ ├── bodyFooter.html │ ├── bodyHeader.html │ └── headTag.html │ ├── specialities │ ├── index.html │ ├── add.html │ └── edit.html │ ├── petTypes │ ├── add.html │ ├── edit.html │ └── index.html │ ├── vets │ ├── index.html │ ├── add.html │ └── edit.html │ ├── owners │ ├── index.html │ ├── view.html │ ├── add.html │ └── edit.html │ ├── visits │ ├── add.html │ └── edit.html │ └── pets │ ├── add.html │ └── edit.html ├── gradlew.bat └── gradlew /.idea/.name: -------------------------------------------------------------------------------- 1 | kotlin-nosql-mongodb-petclinic -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: ./build/install/app/bin/app -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'kotlin-nosql-mongodb-petclinic' 2 | 3 | -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheptsov/kotlin-nosql-mongodb-petclinic/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /src/main/webapp/resources/images/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheptsov/kotlin-nosql-mongodb-petclinic/HEAD/src/main/webapp/resources/images/bg.jpg -------------------------------------------------------------------------------- /src/main/webapp/resources/fonts/icons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheptsov/kotlin-nosql-mongodb-petclinic/HEAD/src/main/webapp/resources/fonts/icons.eot -------------------------------------------------------------------------------- /src/main/webapp/resources/fonts/icons.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheptsov/kotlin-nosql-mongodb-petclinic/HEAD/src/main/webapp/resources/fonts/icons.otf -------------------------------------------------------------------------------- /src/main/webapp/resources/fonts/icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheptsov/kotlin-nosql-mongodb-petclinic/HEAD/src/main/webapp/resources/fonts/icons.ttf -------------------------------------------------------------------------------- /src/main/webapp/resources/fonts/icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheptsov/kotlin-nosql-mongodb-petclinic/HEAD/src/main/webapp/resources/fonts/icons.woff -------------------------------------------------------------------------------- /src/main/webapp/resources/fonts/basic.icons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheptsov/kotlin-nosql-mongodb-petclinic/HEAD/src/main/webapp/resources/fonts/basic.icons.eot -------------------------------------------------------------------------------- /src/main/webapp/resources/fonts/basic.icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheptsov/kotlin-nosql-mongodb-petclinic/HEAD/src/main/webapp/resources/fonts/basic.icons.ttf -------------------------------------------------------------------------------- /src/main/webapp/resources/fonts/basic.icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheptsov/kotlin-nosql-mongodb-petclinic/HEAD/src/main/webapp/resources/fonts/basic.icons.woff -------------------------------------------------------------------------------- /src/main/webapp/resources/images/loader-large.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheptsov/kotlin-nosql-mongodb-petclinic/HEAD/src/main/webapp/resources/images/loader-large.gif -------------------------------------------------------------------------------- /src/main/webapp/resources/images/loader-mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheptsov/kotlin-nosql-mongodb-petclinic/HEAD/src/main/webapp/resources/images/loader-mini.gif -------------------------------------------------------------------------------- /src/main/webapp/resources/images/loader-small.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheptsov/kotlin-nosql-mongodb-petclinic/HEAD/src/main/webapp/resources/images/loader-small.gif -------------------------------------------------------------------------------- /src/main/webapp/resources/images/loader-medium.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheptsov/kotlin-nosql-mongodb-petclinic/HEAD/src/main/webapp/resources/images/loader-medium.gif -------------------------------------------------------------------------------- /.idea/scopes/scope_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /src/main/webapp/resources/images/loader-large-inverted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheptsov/kotlin-nosql-mongodb-petclinic/HEAD/src/main/webapp/resources/images/loader-large-inverted.gif -------------------------------------------------------------------------------- /src/main/webapp/resources/images/loader-medium-inverted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheptsov/kotlin-nosql-mongodb-petclinic/HEAD/src/main/webapp/resources/images/loader-medium-inverted.gif -------------------------------------------------------------------------------- /src/main/webapp/resources/images/loader-mini-inverted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheptsov/kotlin-nosql-mongodb-petclinic/HEAD/src/main/webapp/resources/images/loader-mini-inverted.gif -------------------------------------------------------------------------------- /src/main/webapp/resources/images/loader-small-inverted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheptsov/kotlin-nosql-mongodb-petclinic/HEAD/src/main/webapp/resources/images/loader-small-inverted.gif -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sun Mar 16 11:15:48 MSK 2014 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=http\://services.gradle.org/distributions/gradle-2.3-all.zip 7 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /src/main/kotlin/kotlinx/nosql/mongodb/samples/petclinic/data/PetType.kt: -------------------------------------------------------------------------------- 1 | package kotlinx.nosql.mongodb.samples.petclinic.data 2 | 3 | import kotlinx.nosql.mongodb.* 4 | import kotlinx.nosql.* 5 | import kotlinx.nosql.mongodb.DocumentSchema 6 | import org.joda.time.DateTime 7 | 8 | object PetTypes : DocumentSchema("petTypes", PetType::class) { 9 | val name = string("name") 10 | } 11 | 12 | data class PetType(val name: String) { 13 | val id : Id? = null 14 | } -------------------------------------------------------------------------------- /.idea/libraries/Gradle__ognl_ognl_3_0_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_yaml_snakeyaml_1_16.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/main/kotlin/kotlinx/nosql/mongodb/samples/petclinic/data/Vet.kt: -------------------------------------------------------------------------------- 1 | package kotlinx.nosql.mongodb.samples.petclinic.data 2 | 3 | import kotlinx.nosql.mongodb.* 4 | import kotlinx.nosql.* 5 | import kotlinx.nosql.mongodb.DocumentSchema 6 | 7 | object Vets : DocumentSchema("vets", Vet::class) { 8 | val firstName = string("firstName") 9 | val lastName = string("lastName") 10 | val specialities = setOfString("specialities") 11 | } 12 | 13 | data class Vet(val firstName: String, val lastName : String, val specialities: Set) { 14 | val id : Id? = null 15 | } -------------------------------------------------------------------------------- /.idea/libraries/Gradle__joda_time_joda_time_2_8_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__aopalliance_aopalliance_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/main/kotlin/kotlinx/nosql/mongodb/samples/petclinic/data/Speciality.kt: -------------------------------------------------------------------------------- 1 | package kotlinx.nosql.mongodb.samples.petclinic.data 2 | 3 | import kotlinx.nosql.mongodb.* 4 | import kotlinx.nosql.* 5 | import kotlinx.nosql.mongodb.DocumentSchema 6 | import org.joda.time.DateTime 7 | 8 | object Specialities : DocumentSchema("specialities", Speciality::class) { 9 | val name = string("name"); 10 | 11 | init { 12 | ensureIndex(unique = true, ascending = arrayOf(name)) 13 | } 14 | } 15 | 16 | data class Speciality(val name: String) { 17 | val id : Id? = null 18 | } -------------------------------------------------------------------------------- /.idea/libraries/Gradle__com_fasterxml_classmate_1_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_codehaus_groovy_groovy_2_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_slf4j_jul_to_slf4j_1_7_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/main/kotlin/kotlinx/nosql/mongodb/samples/petclinic/data/Visit.kt: -------------------------------------------------------------------------------- 1 | package kotlinx.nosql.mongodb.samples.petclinic.data 2 | 3 | import kotlinx.nosql.mongodb.* 4 | import kotlinx.nosql.* 5 | import kotlinx.nosql.mongodb.DocumentSchema 6 | import org.joda.time.LocalDate 7 | 8 | object Visits : DocumentSchema("visists", Visit::class) { 9 | val visitDate = date("date") 10 | val description = string("description") 11 | val petId = id("petId", Pets) 12 | } 13 | 14 | data class Visit(val visitDate: LocalDate, val description: String, val petId: Id) { 15 | val id : Id? = null 16 | } -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_slf4j_jcl_over_slf4j_1_7_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__ch_qos_logback_logback_core_1_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_javassist_javassist_3_18_1_GA.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_slf4j_log4j_over_slf4j_1_7_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__ch_qos_logback_logback_classic_1_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_mongodb_mongo_java_driver_2_13_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_thymeleaf_thymeleaf_2_1_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_unbescape_unbescape_1_1_0_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_1_0_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_runtime_1_0_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__com_fasterxml_jackson_core_jackson_core_2_6_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/main/kotlin/kotlinx/nosql/mongodb/samples/petclinic/data/Pet.kt: -------------------------------------------------------------------------------- 1 | package kotlinx.nosql.mongodb.samples.petclinic.data 2 | 3 | import kotlinx.nosql.mongodb.* 4 | import kotlinx.nosql.* 5 | import kotlinx.nosql.mongodb.DocumentSchema 6 | import org.joda.time.LocalDate 7 | 8 | object Pets : DocumentSchema("pets", Pet::class) { 9 | val name = string("name") 10 | val birthDate = date("birthDate") 11 | val typeId = id("typeId", PetTypes) 12 | val ownerId = id("ownerId", Owners) 13 | } 14 | 15 | data class Pet(val name: String, val birthDate: LocalDate, val typeId: Id, val ownerId: Id) { 16 | val id : Id? = null 17 | } -------------------------------------------------------------------------------- /.idea/libraries/Gradle__javax_validation_validation_api_1_1_0_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_jboss_logging_jboss_logging_3_3_0_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_springframework_spring_aop_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_springframework_spring_web_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_apache_tomcat_embed_tomcat_embed_el_8_0_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_springframework_spring_core_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_nosql_0_1_SNAPSHOT.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_springframework_spring_beans_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__com_fasterxml_jackson_core_jackson_databind_2_6_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_apache_tomcat_embed_tomcat_embed_core_8_0_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/main/webapp/resources/css/default.css: -------------------------------------------------------------------------------- 1 | html, body { 2 | font-size: 15px; 3 | height: 100%; 4 | } 5 | 6 | body { 7 | font-family: "Open Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif; 8 | background: #FFFFFF; 9 | background-image: url("../images/bg.jpg"); 10 | margin: 0px; 11 | padding: 0px; 12 | color: #555555; 13 | text-rendering: optimizeLegibility; 14 | min-width: 320px; 15 | } 16 | 17 | #example .container { 18 | width: auto; 19 | margin: 0 200px; 20 | } 21 | 22 | #example .ui.menu { 23 | padding: 0 200px; 24 | } 25 | 26 | #example .ui.footer.list { 27 | display: block; 28 | text-align: center; 29 | margin-bottom: 1.5rem; 30 | } -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_hibernate_hibernate_validator_5_2_2_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_springframework_spring_webmvc_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_thymeleaf_thymeleaf_spring4_2_1_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_springframework_boot_spring_boot_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_springframework_spring_context_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__com_fasterxml_jackson_core_jackson_annotations_2_6_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_springframework_spring_expression_4_2_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_apache_tomcat_embed_tomcat_embed_websocket_8_0_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__nz_net_ultraq_thymeleaf_thymeleaf_layout_dialect_1_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/main/resources/templates/fragments/bodyFooter.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 |
7 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_apache_tomcat_embed_tomcat_embed_logging_juli_8_0_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_springframework_boot_spring_boot_starter_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_springframework_boot_spring_boot_starter_web_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_springframework_boot_spring_boot_autoconfigure_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_springframework_boot_spring_boot_starter_tomcat_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/main/kotlin/kotlinx/nosql/mongodb/samples/petclinic/data/Owner.kt: -------------------------------------------------------------------------------- 1 | package kotlinx.nosql.mongodb.samples.petclinic.data 2 | 3 | import kotlinx.nosql.* 4 | import org.joda.time.DateTime 5 | import kotlinx.nosql.mongodb.DocumentSchema 6 | 7 | object Owners : DocumentSchema("owners", Owner::class) { 8 | val firstName = string("firstName") 9 | val lastName = string("lastName") 10 | val address = string("address") 11 | val city = string("city") 12 | val telephone = string("telephone") 13 | 14 | init { 15 | ensureIndex(text = arrayOf(firstName, lastName, telephone)) 16 | } 17 | } 18 | 19 | data class Owner(val firstName: String, val lastName: String, val address: String, val city: String, val telephone: String) { 20 | val id: Id? = null 21 | } 22 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_springframework_boot_spring_boot_starter_logging_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/modules/kotlin-nosql-mongodb-petclinic.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_springframework_boot_spring_boot_starter_thymeleaf_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_springframework_boot_spring_boot_starter_validation_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/main/resources/templates/fragments/bodyHeader.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/main/resources/templates/fragments/headTag.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | <script type="text/javascript"> 18 | $("document").ready(function() { 19 | $('.ui.radio.checkbox').checkbox(); 20 | $('.ui.checkbox').checkbox(); 21 | }) 22 | </script> 23 | </head> 24 | <body> 25 | </body> 26 | </html> -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8"?> 2 | <project version="4"> 3 | <component name="CompilerConfiguration"> 4 | <option name="DEFAULT_COMPILER" value="Javac" /> 5 | <resourceExtensions /> 6 | <wildcardResourcePatterns> 7 | <entry name="!?*.java" /> 8 | <entry name="!?*.form" /> 9 | <entry name="!?*.class" /> 10 | <entry name="!?*.groovy" /> 11 | <entry name="!?*.scala" /> 12 | <entry name="!?*.flex" /> 13 | <entry name="!?*.kt" /> 14 | <entry name="!?*.clj" /> 15 | </wildcardResourcePatterns> 16 | <annotationProcessing> 17 | <profile default="true" name="Default" enabled="false"> 18 | <processorPath useClasspath="true" /> 19 | </profile> 20 | </annotationProcessing> 21 | <bytecodeTargetLevel> 22 | <module name="kotlin-nosql-mongodb-petclinic_main" target="1.8" /> 23 | <module name="kotlin-nosql-mongodb-petclinic_test" target="1.8" /> 24 | </bytecodeTargetLevel> 25 | </component> 26 | </project> -------------------------------------------------------------------------------- /src/main/resources/templates/specialities/index.html: -------------------------------------------------------------------------------- 1 | <!doctype html> 2 | <html xmlns:th="http://www.thymeleaf.org" lang="en-US"> 3 | <head th:replace="fragments/headTag :: headTag (title='Specialities')"></head> 4 | <body> 5 | 6 | <div th:include="fragments/bodyHeader (tab='specialities')" th:remove="tag"></div> 7 | 8 | <div class="container"> 9 | <div class="ui grid"> 10 | <div class="nine wide column"> 11 | <h1 class="ui header">Specialities</h1> 12 | </div> 13 | <div class="seven wide column"> 14 | <a href="add" class="ui button green" style="float: right; margin-left: 1em;">Add Speciality</a> 15 | </div> 16 | </div> 17 | 18 | <table class="ui table segment" th:if="${not specialities.isEmpty()}"> 19 | <thead> 20 | <tr> 21 | <th>Name</th> 22 | </tr> 23 | </thead> 24 | <tbody> 25 | <tr th:each="speciality: ${specialities}"> 26 | <td> <a th:text="${speciality.name}" th:href="@{edit(id=${speciality.id})}"></a></td> 27 | </tr> 28 | </tbody> 29 | </table> 30 | </div> 31 | 32 | <div th:include="fragments/bodyFooter" th:remove="tag"></div> 33 | </body> 34 | </html> -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | <component name="InspectionProjectProfileManager"> 2 | <profile version="1.0" is_locked="false"> 3 | <option name="myName" value="Project Default" /> 4 | <option name="myLocal" value="false" /> 5 | <inspection_tool class="CssUnknownProperty" enabled="true" level="WARNING" enabled_by_default="true"> 6 | <option name="myCustomPropertiesEnabled" value="true" /> 7 | <option name="myIgnoreVendorSpecificProperties" value="false" /> 8 | <option name="myCustomPropertiesList"> 9 | <value> 10 | <list size="1"> 11 | <item index="0" class="java.lang.String" itemvalue="text-rendering" /> 12 | </list> 13 | </value> 14 | </option> 15 | </inspection_tool> 16 | <inspection_tool class="HtmlUnknownAttribute" enabled="true" level="WARNING" enabled_by_default="true"> 17 | <option name="myValues"> 18 | <value> 19 | <list size="1"> 20 | <item index="0" class="java.lang.String" itemvalue="tiles:replace" /> 21 | </list> 22 | </value> 23 | </option> 24 | <option name="myCustomValuesEnabled" value="true" /> 25 | </inspection_tool> 26 | </profile> 27 | </component> -------------------------------------------------------------------------------- /src/main/resources/templates/petTypes/add.html: -------------------------------------------------------------------------------- 1 | <!doctype html> 2 | <html xmlns:th="http://www.thymeleaf.org" lang="en-US"> 3 | <head th:replace="fragments/headTag :: headTag (title='Add Pet Type')"></head> 4 | <body> 5 | 6 | <script type="text/javascript"> 7 | $(document).ready(function(){ 8 | $(".ui.form").form({ 9 | name : { 10 | identifier : 'name', 11 | rules : [ 12 | { 13 | type : 'empty', 14 | prompt : 'Please enter name' 15 | } 16 | ] 17 | } 18 | }) 19 | }) 20 | </script> 21 | 22 | <div th:include="fragments/bodyHeader (tab='add petType')" th:remove="tag"></div> 23 | 24 | <div class="container"> 25 | <h1 class="ui header">Add Pet Type</h1> 26 | 27 | <form method="post" action="add" role="form" class="ui form"> 28 | <div class="field"> 29 | <label for="name">Name</label> 30 | <input type="text" id="name" name="name" placeholder="Name"/> 31 | </div> 32 | <button type="submit" class="ui blue submit button">Save</button> 33 | </form> 34 | </div> 35 | 36 | <div th:include="fragments/bodyFooter" th:remove="tag"></div> 37 | </body> 38 | </html> -------------------------------------------------------------------------------- /src/main/resources/templates/specialities/add.html: -------------------------------------------------------------------------------- 1 | <!doctype html> 2 | <html xmlns:th="http://www.thymeleaf.org" lang="en-US"> 3 | <head th:replace="fragments/headTag :: headTag (title='Add Speciality')"></head> 4 | <body> 5 | 6 | <script type="text/javascript"> 7 | $(document).ready(function(){ 8 | $(".ui.form").form({ 9 | name : { 10 | identifier : 'name', 11 | rules : [ 12 | { 13 | type : 'empty', 14 | prompt : 'Please enter name' 15 | } 16 | ] 17 | } 18 | }) 19 | }) 20 | </script> 21 | 22 | <div th:include="fragments/bodyHeader (tab='add speciality')" th:remove="tag"></div> 23 | 24 | <div class="container"> 25 | <h1 class="ui header">Add Speciality</h1> 26 | 27 | <form method="post" action="add" role="form" class="ui form"> 28 | <div class="field"> 29 | <label for="name">Name</label> 30 | <input type="text" id="name" name="name" placeholder="Name"/> 31 | </div> 32 | <button type="submit" class="ui blue submit button">Save</button> 33 | </form> 34 | </div> 35 | 36 | <div th:include="fragments/bodyFooter" th:remove="tag"></div> 37 | </body> 38 | </html> -------------------------------------------------------------------------------- /src/main/resources/templates/petTypes/edit.html: -------------------------------------------------------------------------------- 1 | <!doctype html> 2 | <html xmlns:th="http://www.thymeleaf.org" lang="en-US"> 3 | <head th:replace="fragments/headTag :: headTag (title='Edit Pet Type')"></head> 4 | <body> 5 | 6 | <script type="text/javascript"> 7 | $(document).ready(function(){ 8 | $(".ui.form").form({ 9 | name : { 10 | identifier : 'name', 11 | rules : [ 12 | { 13 | type : 'empty', 14 | prompt : 'Please enter name' 15 | } 16 | ] 17 | } 18 | }) 19 | }) 20 | </script> 21 | 22 | <div th:include="fragments/bodyHeader (tab='edit petType')" th:remove="tag"></div> 23 | 24 | <div class="container"> 25 | <h1 class="ui header">Edit Pet Type</h1> 26 | 27 | <form method="post" action="edit" role="form" class="ui form"> 28 | <input type="hidden" id="id" name="id" th:value="${id}"/> 29 | <div class="field"> 30 | <label for="name">Name</label> 31 | <input type="text" id="name" name="name" placeholder="Name" 32 | th:value="${name}"/> 33 | </div> 34 | <button type="submit" class="ui blue submit button">Save</button> 35 | </form> 36 | </div> 37 | 38 | <div th:include="fragments/bodyFooter" th:remove="tag"></div> 39 | </body> 40 | </html> -------------------------------------------------------------------------------- /src/main/resources/templates/specialities/edit.html: -------------------------------------------------------------------------------- 1 | <!doctype html> 2 | <html xmlns:th="http://www.thymeleaf.org" lang="en-US"> 3 | <head th:replace="fragments/headTag :: headTag (title='Edit Speciality')"></head> 4 | <body> 5 | 6 | <script type="text/javascript"> 7 | $(document).ready(function(){ 8 | $(".ui.form").form({ 9 | name : { 10 | identifier : 'name', 11 | rules : [ 12 | { 13 | type : 'empty', 14 | prompt : 'Please enter name' 15 | } 16 | ] 17 | } 18 | }) 19 | }) 20 | </script> 21 | 22 | <div th:include="fragments/bodyHeader (tab='edit speciality')" th:remove="tag"></div> 23 | 24 | <div class="container"> 25 | <h1 class="ui header">Edit Speciality</h1> 26 | 27 | <form method="post" action="edit" role="form" class="ui form"> 28 | <input type="hidden" id="id" name="id" th:value="${id}"/> 29 | <div class="field"> 30 | <label for="name">Name</label> 31 | <input type="text" id="name" name="name" placeholder="Name" 32 | th:value="${name}"/> 33 | </div> 34 | <button type="submit" class="ui blue submit button">Save</button> 35 | </form> 36 | </div> 37 | 38 | <div th:include="fragments/bodyFooter" th:remove="tag"></div> 39 | </body> 40 | </html> -------------------------------------------------------------------------------- /src/main/kotlin/kotlinx/nosql/mongodb/samples/petclinic/controllers/AppController.kt: -------------------------------------------------------------------------------- 1 | package kotlinx.nosql.mongodb.samples.petclinic.controllers 2 | 3 | import org.springframework.boot.SpringApplication 4 | import org.springframework.boot.autoconfigure.EnableAutoConfiguration 5 | import org.springframework.context.annotation.ComponentScan 6 | import org.springframework.stereotype.Controller 7 | import org.springframework.web.bind.annotation.ResponseBody 8 | import org.springframework.web.bind.annotation.RequestMapping 9 | import org.thymeleaf.templateresolver.ServletContextTemplateResolver 10 | import org.springframework.context.annotation.Bean 11 | 12 | @Controller 13 | @ComponentScan 14 | @EnableAutoConfiguration 15 | class AppController { 16 | @RequestMapping(value = "/") 17 | fun home(): String { 18 | return "redirect:/owners/" 19 | } 20 | 21 | @Bean 22 | fun templateResolver(): ServletContextTemplateResolver { 23 | val resolver = ServletContextTemplateResolver() 24 | resolver.setPrefix("/resources/views/"); 25 | resolver.setSuffix(".html"); 26 | resolver.setTemplateMode("HTML5"); 27 | resolver.setCacheable(false); 28 | return resolver; 29 | } 30 | } 31 | 32 | fun main(args: Array<String>) { 33 | System.setProperty("server.port", System.getenv("PORT")!!) 34 | SpringApplication.run(arrayOf(AppController::class.java), args); 35 | } 36 | -------------------------------------------------------------------------------- /src/main/resources/templates/vets/index.html: -------------------------------------------------------------------------------- 1 | <!doctype html> 2 | <html xmlns:th="http://www.thymeleaf.org" lang="en-US"> 3 | <head th:replace="fragments/headTag :: headTag (title='Veterinarians')"></head> 4 | <body> 5 | 6 | <div th:include="fragments/bodyHeader (tab='vets')" th:remove="tag"></div> 7 | 8 | <div class="container"> 9 | <div class="ui grid"> 10 | <div class="nine wide column"> 11 | <h1 class="ui header">Veterinarians</h1> 12 | </div> 13 | <div class="seven wide column"> 14 | <a href="add" class="ui button green" style="float: right; margin-left: 1em;">Add Veterinarian</a> 15 | </div> 16 | </div> 17 | 18 | <table class="ui table segment" th:if="${not vets.isEmpty()}"> 19 | <thead> 20 | <tr> 21 | <th>Name</th> 22 | <th>Specialities</th> 23 | </tr> 24 | </thead> 25 | <tbody> 26 | <tr th:each="vet: ${vets}"> 27 | <td> <a th:text="${vet.firstName} + ' ' + ${vet.lastName}" th:href="@{edit(id=${vet.id})}"></a></td> 28 | <td> 29 | <div th:if="${not vet.specialities.isEmpty()}"> 30 | <span class="ui small teal label" th:each="speciality: ${vet.specialities}" th:text="${speciality}"/> 31 | </div> 32 | </td> 33 | </tr> 34 | </tbody> 35 | </table> 36 | </div> 37 | 38 | <div th:include="fragments/bodyFooter" th:remove="tag"></div> 39 | </body> 40 | </html> -------------------------------------------------------------------------------- /src/main/resources/templates/petTypes/index.html: -------------------------------------------------------------------------------- 1 | <!doctype html> 2 | <html xmlns:th="http://www.thymeleaf.org" lang="en-US"> 3 | <head th:replace="fragments/headTag :: headTag (title='Pet Types')"></head> 4 | <body> 5 | 6 | <div th:include="fragments/bodyHeader (tab='petTypes')" th:remove="tag"></div> 7 | 8 | <div class="container"> 9 | <div class="ui grid"> 10 | <div class="nine wide column"> 11 | <h1 class="ui header">Pet Types</h1> 12 | </div> 13 | <div class="seven wide column"> 14 | <a href="add" class="ui button green" style="float: right; margin-left: 1em;">Add Pet Type</a> 15 | </div> 16 | </div> 17 | 18 | <table class="ui table segment" th:if="${not petTypes.isEmpty()}"> 19 | <thead> 20 | <tr> 21 | <th>Name</th> 22 | <!--<th style="width: 30%"></th>--> 23 | </tr> 24 | </thead> 25 | <tbody> 26 | <tr th:each="petType: ${petTypes}"> 27 | <td> <a th:text="${petType.name}" th:href="@{edit(id=${petType.id})}"></a></td> 28 | <!--<td> 29 | <a href="@{edit(id=${petType.id})}" class="ui mini button blue" style="float: left; margin-right: 1em;">Edit</a> 30 | <form th:action="@{delete(id=${petType.id})}" method="post" style="float: left; margin-right: 1em;"><input type="submit" 31 | class="ui mini button red" 32 | value="Delete"/> 33 | </form> 34 | </td>--> 35 | </tr> 36 | </tbody> 37 | </table> 38 | </div> 39 | 40 | <div th:include="fragments/bodyFooter" th:remove="tag"></div> 41 | </body> 42 | </html> -------------------------------------------------------------------------------- /src/main/resources/templates/owners/index.html: -------------------------------------------------------------------------------- 1 | <!doctype html> 2 | <html xmlns:th="http://www.thymeleaf.org" lang="en-US"> 3 | <head th:replace="fragments/headTag :: headTag (title='Owners')"></head> 4 | <body> 5 | 6 | <div th:include="fragments/bodyHeader (tab='owners')" th:remove="tag"></div> 7 | 8 | <div class="container"> 9 | <div class="ui grid"> 10 | <div class="seven wide column"> 11 | <h1 class="ui header">Owners</h1> 12 | </div> 13 | <div class="nine wide column"> 14 | <div class="ui icon input" style="float: right; margin-left: 1em;"> 15 | <form action="" method="get"> 16 | <input name="q" type="text" placeholder="Find owners..." th:value="${searchQuery}"/> 17 | </form> 18 | <i class="circular search icon"></i> 19 | </div> 20 | <a href="add" class="ui button green" style="float: right; margin-left: 1em;">Add Owner</a> 21 | </div> 22 | </div> 23 | 24 | <table class="ui table segment" th:if="${not owners.isEmpty()}"> 25 | <thead> 26 | <tr> 27 | <th>Name</th> 28 | <th>City</th> 29 | <th>Address</th> 30 | <th>Telephone</th> 31 | <th>Pets</th> 32 | </tr> 33 | </thead> 34 | <tbody> 35 | <tr th:each="owner: ${owners}"> 36 | <td><a th:href="@{/owners/view(id=${owner.first.id})}" 37 | th:text="${owner.first.firstName} + ' ' + ${owner.first.lastName}"></a></td> 38 | <td th:text="${owner.first.city}"></td> 39 | <td th:text="${owner.first.address}"></td> 40 | <td th:text="${owner.first.telephone}"></td> 41 | <td> 42 | <div th:if="${not owner.second.isEmpty()}"> 43 | <span class="ui small label teal" th:each="pet: ${owner.second}" th:text="${pet.name}"/> 44 | </div> 45 | </td> 46 | </tr> 47 | </tbody> 48 | </table> 49 | </div> 50 | 51 | <div th:include="fragments/bodyFooter" th:remove="tag"></div> 52 | </body> 53 | </html> -------------------------------------------------------------------------------- /src/main/resources/templates/vets/add.html: -------------------------------------------------------------------------------- 1 | <!doctype html> 2 | <html xmlns:th="http://www.thymeleaf.org" lang="en-US"> 3 | <head th:replace="fragments/headTag :: headTag (title='Add Veterinarian')"> 4 | </head> 5 | <body> 6 | 7 | <script type="text/javascript"> 8 | $(document).ready(function(){ 9 | $(".ui.form").form({ 10 | firstName : { 11 | identifier : 'firstName', 12 | rules : [ 13 | { 14 | type : 'empty', 15 | prompt : 'Please first name' 16 | } 17 | ] 18 | }, 19 | lastName : { 20 | identifier : 'lastName', 21 | rules : [ 22 | { 23 | type : 'empty', 24 | prompt : 'Please last name' 25 | } 26 | ] 27 | } 28 | }) 29 | }) 30 | </script> 31 | 32 | <div th:include="fragments/bodyHeader (tab='add vet')" th:remove="tag"></div> 33 | 34 | <div class="container"> 35 | <h1 class="ui header">Add Veterinarian</h1> 36 | 37 | <form method="post" action="add" role="form" class="ui form"> 38 | <div class="field"> 39 | <label for="firstName">First Name</label> 40 | <input type="text" id="firstName" name="firstName" placeholder="First Name"/> 41 | </div> 42 | <div class="field"> 43 | <label for="lastName">Last Name</label> 44 | <input type="text" id="lastName" name="lastName" placeholder="Last Name"/> 45 | </div> 46 | <div class="field"> 47 | <label>Specialities</label> 48 | </div> 49 | <div class="ui segment"> 50 | <div th:each="speciality : ${specialities}" class="field"> 51 | <div class="ui checkbox"> 52 | <input type="checkbox" th:name="${speciality.name}"/> 53 | <label th:text="${speciality.name}"/> 54 | </div> 55 | </div> 56 | </div> 57 | <button type="submit" class="ui green submit button">Add</button> 58 | </form> 59 | </div> 60 | 61 | <div th:include="fragments/bodyFooter" th:remove="tag"></div> 62 | </body> 63 | </html> -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_nosql_mongodb_0_1_SNAPSHOT.xml: -------------------------------------------------------------------------------- 1 | <component name="libraryTable"> 2 | <library name="Gradle: org.jetbrains.kotlin:kotlin-nosql-mongodb:0.1-SNAPSHOT"> 3 | <CLASSES> 4 | <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-nosql-mongodb/0.1-SNAPSHOT/ed025cf427cfd932aba384c0870eb1a4f55b26b8/kotlin-nosql-mongodb-0.1-SNAPSHOT.jar!/" /> 5 | <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-nosql-mongodb/0.1-SNAPSHOT/b7f1ad4cd89a4cda976720b9ed2f186af76619f7/kotlin-nosql-mongodb-0.1-SNAPSHOT.jar!/" /> 6 | <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-nosql-mongodb/0.1-SNAPSHOT/b82babe3cbe286f712dec861269ff974dd8aea7f/kotlin-nosql-mongodb-0.1-SNAPSHOT.jar!/" /> 7 | <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-nosql-mongodb/0.1-SNAPSHOT/2bf83793da66ce6fca548f35a346a88dc2038256/kotlin-nosql-mongodb-0.1-SNAPSHOT.jar!/" /> 8 | <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-nosql-mongodb/0.1-SNAPSHOT/8a5562c77c47ae704c00a89a66e6f1cce36cfd45/kotlin-nosql-mongodb-0.1-SNAPSHOT.jar!/" /> 9 | </CLASSES> 10 | <JAVADOC /> 11 | <SOURCES> 12 | <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-nosql-mongodb/0.1-SNAPSHOT/c77b3b139d5ced0fe5abd75b4061b41dadc866ab/kotlin-nosql-mongodb-0.1-SNAPSHOT-sources.jar!/" /> 13 | <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-nosql-mongodb/0.1-SNAPSHOT/bc9ee301f51f0804ef4e29a98f7a19926ae925fa/kotlin-nosql-mongodb-0.1-SNAPSHOT-sources.jar!/" /> 14 | <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-nosql-mongodb/0.1-SNAPSHOT/1e2f2da5599fcb5ccaca791c058b1a94ffc64b7b/kotlin-nosql-mongodb-0.1-SNAPSHOT-sources.jar!/" /> 15 | <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-nosql-mongodb/0.1-SNAPSHOT/cca0d84d2453ec1993c7169f48d7e4de4c0a6d5e/kotlin-nosql-mongodb-0.1-SNAPSHOT-sources.jar!/" /> 16 | <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-nosql-mongodb/0.1-SNAPSHOT/d2fadc192cfde7832cb346d6bca28c60522c98ba/kotlin-nosql-mongodb-0.1-SNAPSHOT-sources.jar!/" /> 17 | </SOURCES> 18 | </library> 19 | </component> -------------------------------------------------------------------------------- /src/main/resources/templates/vets/edit.html: -------------------------------------------------------------------------------- 1 | <!doctype html> 2 | <html xmlns:th="http://www.thymeleaf.org" lang="en-US"> 3 | <head th:replace="fragments/headTag :: headTag (title='Edit Veterinarian')"> 4 | </head> 5 | <body> 6 | 7 | <script type="text/javascript"> 8 | $(document).ready(function(){ 9 | $(".ui.form").form({ 10 | firstName : { 11 | identifier : 'firstName', 12 | rules : [ 13 | { 14 | type : 'empty', 15 | prompt : 'Please first name' 16 | } 17 | ] 18 | }, 19 | lastName : { 20 | identifier : 'lastName', 21 | rules : [ 22 | { 23 | type : 'empty', 24 | prompt : 'Please last name' 25 | } 26 | ] 27 | } 28 | }) 29 | }) 30 | </script> 31 | 32 | <div th:include="fragments/bodyHeader (tab='edit vet')" th:remove="tag"></div> 33 | 34 | <div class="container"> 35 | <h1 class="ui header">Edit Veterinarian</h1> 36 | 37 | <form method="post" action="edit" role="form" class="ui form"> 38 | <input name="id" type="hidden" th:value="${vet.id}"/> 39 | 40 | <div class="field"> 41 | <label for="firstName">First Name</label> 42 | <input type="text" id="firstName" name="firstName" placeholder="First Name" th:value="${vet.firstName}"/> 43 | </div> 44 | <div class="field"> 45 | <label for="lastName">Last Name</label> 46 | <input type="text" id="lastName" name="lastName" placeholder="Last Name" th:value="${vet.lastName}"/> 47 | </div> 48 | <div class="field"> 49 | <label>Specialities</label> 50 | </div> 51 | <div class="ui segment"> 52 | <div th:each="speciality : ${specialities}" class="field"> 53 | <div class="ui checkbox"> 54 | <input type="checkbox" th:name="${speciality.name}" th:checked="${vet.specialities.contains(speciality.name)}"/> 55 | <label th:text="${speciality.name}"/> 56 | </div> 57 | </div> 58 | </div> 59 | <button type="submit" class="ui green submit button">Save</button> 60 | </form> 61 | </div> 62 | 63 | <div th:include="fragments/bodyFooter" th:remove="tag"></div> 64 | </body> 65 | </html> -------------------------------------------------------------------------------- /src/main/resources/templates/visits/add.html: -------------------------------------------------------------------------------- 1 | <!doctype html> 2 | <html xmlns:th="http://www.thymeleaf.org" lang="en-US"> 3 | <head th:replace="fragments/headTag :: headTag (title='Add Pet Visit')"></head> 4 | <body> 5 | 6 | <script type="text/javascript"> 7 | $(document).ready(function(){ 8 | $(".ui.form").form({ 9 | date : { 10 | identifier : 'date', 11 | rules : [ 12 | { 13 | type : 'empty', 14 | prompt : 'Please date' 15 | } 16 | ] 17 | }, 18 | description : { 19 | identifier : 'description', 20 | rules : [ 21 | { 22 | type : 'empty', 23 | prompt : 'Please description' 24 | } 25 | ] 26 | } 27 | }) 28 | }) 29 | </script> 30 | 31 | <div th:include="fragments/bodyHeader (tab='add visit')" th:remove="tag"></div> 32 | 33 | <div class="container"> 34 | <h1 class="ui header">Add Pet Visit</h1> 35 | 36 | <form method="post" action="add" role="form" class="ui form"> 37 | <input name="petId" type="hidden" th:value="${pet.id}"/> 38 | 39 | <div class="field"> 40 | <label for="ownerName">Owner</label> 41 | <input type="text" id="ownerName" th:value="${owner.firstName + ' ' + owner.lastName}" readonly="true"/> 42 | </div> 43 | <div class="field"> 44 | <label for="petName">Pet</label> 45 | <input type="text" id="petName" th:value="${pet.name}" readonly="true"/> 46 | </div> 47 | <div class="field"> 48 | <label for="petBirthDate">Birth Date</label> 49 | <input type="text" id="petBirthDate" th:value="${pet.birthDate.toString('dd/MM/yyyy')}" readonly="true"/> 50 | </div> 51 | <div class="date field"> 52 | <label for="date">Date</label> 53 | <input type="text" id="date" name="date" placeholder="dd/MM/yyyy"/> 54 | </div> 55 | <div class="field"> 56 | <label for="description">Description</label> 57 | <input type="text" id="description" name="description" placeholder="Description"/> 58 | </div> 59 | <button type="submit" class="ui blue submit button">Add</button> 60 | </form> 61 | </div> 62 | 63 | <div th:include="fragments/bodyFooter" th:remove="tag"></div> 64 | </body> 65 | </html> -------------------------------------------------------------------------------- /src/main/resources/templates/pets/add.html: -------------------------------------------------------------------------------- 1 | <!doctype html> 2 | <html xmlns:th="http://www.thymeleaf.org" lang="en-US"> 3 | <head th:replace="fragments/headTag :: headTag (title='Add Pet')"></head> 4 | <body> 5 | 6 | <script type="text/javascript"> 7 | $(document).ready(function(){ 8 | $(".ui.form").form({ 9 | name : { 10 | identifier : 'name', 11 | rules : [ 12 | { 13 | type : 'empty', 14 | prompt : 'Please enter pet name' 15 | } 16 | ] 17 | }, 18 | birthDate : { 19 | identifier : 'birthDate', 20 | rules : [ 21 | { 22 | type : 'empty', 23 | prompt : 'Please enter birth date' 24 | } 25 | ] 26 | } 27 | }) 28 | }) 29 | </script> 30 | 31 | <div th:include="fragments/bodyHeader (tab='add pet')" th:remove="tag"></div> 32 | 33 | <div class="container"> 34 | <h1 class="ui header">Add Pet</h1> 35 | 36 | <form method="post" action="add" role="form" class="ui form"> 37 | <input name="ownerId" type="hidden" th:value="${owner.id}"/> 38 | 39 | <div class="field"> 40 | <label for="ownerName">Owner</label> 41 | <input type="text" id="ownerName" th:value="${owner.firstName + ' ' + owner.lastName}" readonly="true"/> 42 | </div> 43 | <div class="field"> 44 | <label for="name">Name</label> 45 | <input type="text" id="name" name="name" placeholder="Name"/> 46 | </div> 47 | <div class="date field"> 48 | <label for="birthDate">Birth Date</label> 49 | <input type="text" id="birthDate" name="birthDate" placeholder="dd/MM/yyyy"/> 50 | </div> 51 | <div class="field"> 52 | <label>Type</label> 53 | </div> 54 | <div class="grouped inline fields ui segment"> 55 | <div th:each="petType : ${petTypes}" class="field"> 56 | <div class="ui radio checkbox"> 57 | <input type="radio" name="typeId" 58 | th:value="${petType.id}"/> 59 | <label th:text="${petType.name}"/> 60 | </div> 61 | </div> 62 | </div> 63 | <button type="submit" class="ui blue submit button">Save</button> 64 | </form> 65 | </div> 66 | 67 | <div th:include="fragments/bodyFooter" th:remove="tag"></div> 68 | </body> 69 | </html> -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | if exist "%JAVA_EXE%" goto init 38 | echo. 39 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 40 | echo. 41 | echo Please set the JAVA_HOME variable in your environment to match the 42 | echo location of your Java installation. 43 | goto fail 44 | :init 45 | @rem Get command-line arguments, handling Windowz variants 46 | if not "%OS%" == "Windows_NT" goto win9xME_args 47 | if "%@eval[2+2]" == "4" goto 4NT_args 48 | :win9xME_args 49 | @rem Slurp the command line arguments. 50 | set CMD_LINE_ARGS= 51 | set _SKIP=2 52 | :win9xME_args_slurp 53 | if "x%~1" == "x" goto execute 54 | set CMD_LINE_ARGS=%* 55 | goto execute 56 | :4NT_args 57 | @rem Get arguments from the 4NT Shell from JP Software 58 | set CMD_LINE_ARGS=%$ 59 | :execute 60 | @rem Setup the command line 61 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 62 | @rem Execute Gradle 63 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 64 | :end 65 | @rem End local scope for the variables with windows NT shell 66 | if "%ERRORLEVEL%"=="0" goto mainEnd 67 | :fail 68 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 69 | rem the _cmd.exe /c_ return code! 70 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 71 | exit /b 1 72 | :mainEnd 73 | if "%OS%"=="Windows_NT" endlocal 74 | :omega -------------------------------------------------------------------------------- /src/main/resources/templates/visits/edit.html: -------------------------------------------------------------------------------- 1 | <!doctype html> 2 | <html xmlns:th="http://www.thymeleaf.org" lang="en-US"> 3 | <head th:replace="fragments/headTag :: headTag (title='Add Pet Visit')"></head> 4 | <body> 5 | 6 | <script type="text/javascript"> 7 | $(document).ready(function(){ 8 | $(".ui.form").form({ 9 | date : { 10 | identifier : 'date', 11 | rules : [ 12 | { 13 | type : 'empty', 14 | prompt : 'Please date' 15 | } 16 | ] 17 | }, 18 | description : { 19 | identifier : 'description', 20 | rules : [ 21 | { 22 | type : 'empty', 23 | prompt : 'Please description' 24 | } 25 | ] 26 | } 27 | }) 28 | }) 29 | </script> 30 | 31 | <div th:include="fragments/bodyHeader (tab='edit visit')" th:remove="tag"></div> 32 | 33 | <div class="container"> 34 | <h1 class="ui header">Edit Pet Visit</h1> 35 | 36 | <form method="post" action="edit" role="form" class="ui form"> 37 | <input name="id" type="hidden" th:value="${id}"/> 38 | <input name="petId" type="hidden" th:value="${pet.id}"/> 39 | 40 | <div class="field"> 41 | <label for="ownerName">Owner</label> 42 | <input type="text" id="ownerName" th:value="${owner.firstName + ' ' + owner.lastName}" readonly="true"/> 43 | </div> 44 | <div class="field"> 45 | <label for="petName">Pet</label> 46 | <input type="text" id="petName" th:value="${pet.name}" readonly="true"/> 47 | </div> 48 | <div class="field"> 49 | <label for="petBirthDate">Birth Date</label> 50 | <input type="text" id="petBirthDate" th:value="${pet.birthDate.toString('dd/MM/yyyy')}" readonly="true"/> 51 | </div> 52 | <div class="date field"> 53 | <label for="date">Date</label> 54 | <input type="text" id="date" name="date" th:value="${date.toString('dd/MM/yyyy')}" placeholder="dd/MM/yyyy"/> 55 | </div> 56 | <div class="field"> 57 | <label for="description">Description</label> 58 | <input type="text" id="description" name="description" th:value="${description}" placeholder="Description" 59 | required="true"/> 60 | </div> 61 | <button type="submit" class="ui blue submit button">Save</button> 62 | </form> 63 | </div> 64 | 65 | <div th:include="fragments/bodyFooter" th:remove="tag"></div> 66 | </body> 67 | </html> -------------------------------------------------------------------------------- /src/main/resources/templates/pets/edit.html: -------------------------------------------------------------------------------- 1 | <!doctype html> 2 | <html xmlns:th="http://www.thymeleaf.org" lang="en-US"> 3 | <head th:replace="fragments/headTag :: headTag (title='Edit Pet')"></head> 4 | <body> 5 | 6 | <script type="text/javascript"> 7 | $(document).ready(function(){ 8 | $(".ui.form").form({ 9 | name : { 10 | identifier : 'name', 11 | rules : [ 12 | { 13 | type : 'empty', 14 | prompt : 'Please enter pet name' 15 | } 16 | ] 17 | }, 18 | birthDate : { 19 | identifier : 'birthDate', 20 | rules : [ 21 | { 22 | type : 'empty', 23 | prompt : 'Please enter birth date' 24 | } 25 | ] 26 | } 27 | }) 28 | }) 29 | </script> 30 | 31 | <div th:include="fragments/bodyHeader (tab='edit pet')" th:remove="tag"></div> 32 | 33 | <div class="container"> 34 | <h1 class="ui header">Edit Pet</h1> 35 | 36 | <form method="post" action="edit" role="form" class="ui form"> 37 | <input name="id" type="hidden" th:value="${pet.id}"/> 38 | 39 | <div class="field"> 40 | <label for="ownerName">Owner</label> 41 | <input type="text" id="ownerName" th:value="${owner.firstName + ' ' + owner.lastName}" readonly="true"/> 42 | </div> 43 | <div class="field"> 44 | <label for="name">Name</label> 45 | <input type="text" id="name" name="name" placeholder="Name" th:value="${pet.name}"/> 46 | </div> 47 | <div class="date field"> 48 | <label for="birthDate">Birth Date</label> 49 | <input type="text" id="birthDate" name="birthDate" placeholder="dd/MM/yyyy" 50 | th:value="${pet.birthDate.toString('dd/MM/yyyy')}"/> 51 | </div> 52 | <div class="field"> 53 | <label>Type</label> 54 | </div> 55 | <div class="grouped inline fields ui segment"> 56 | <div th:each="petType : ${petTypes}" class="field"> 57 | <div class="ui radio checkbox"> 58 | <input type="radio" th:field="*{pet.typeId}" name="typeId" 59 | th:value="${petType.id}"/> 60 | <label th:text="${petType.name}"/> 61 | </div> 62 | </div> 63 | </div> 64 | <button type="submit" class="ui blue submit button">Save</button> 65 | </form> 66 | </div> 67 | 68 | <div th:include="fragments/bodyFooter" th:remove="tag"></div> 69 | </body> 70 | </html> -------------------------------------------------------------------------------- /src/main/kotlin/kotlinx/nosql/mongodb/samples/petclinic/controllers/petTypes/PetTypeController.kt: -------------------------------------------------------------------------------- 1 | package kotlinx.nosql.mongodb.samples.petclinic.controllers.owners 2 | 3 | import org.springframework.stereotype.Controller 4 | import org.springframework.web.bind.annotation.RequestMapping 5 | import kotlinx.nosql.mongodb.* 6 | import kotlinx.nosql.* 7 | import org.springframework.ui.Model 8 | import kotlinx.nosql.mongodb.samples.petclinic.data.Owners 9 | import org.springframework.web.bind.annotation.RequestParam 10 | import org.springframework.web.bind.annotation.RequestMethod 11 | import kotlinx.nosql.mongodb.samples.petclinic.data.Owner 12 | import kotlinx.nosql.mongodb.samples.petclinic.data.Pets 13 | import org.springframework.beans.factory.annotation.Autowired 14 | import kotlinx.nosql.mongodb.samples.petclinic.data.PetTypes 15 | import kotlinx.nosql.mongodb.samples.petclinic.data.Pet 16 | import kotlinx.nosql.mongodb.samples.petclinic.data.PetType 17 | import java.util.regex.Pattern 18 | 19 | @Controller @RequestMapping(value = "/petTypes") 20 | class PetTypeController @Autowired constructor (val db: MongoDB) { 21 | @RequestMapping("/add", method = arrayOf(RequestMethod.GET)) 22 | fun add(): String { 23 | return "petTypes/add" 24 | } 25 | 26 | @RequestMapping(value = "/add", method = arrayOf(RequestMethod.POST)) 27 | public fun add(@RequestParam("name") nameParam: String): String { 28 | db.withSession { 29 | PetTypes.insert(PetType(nameParam)) 30 | } 31 | return "redirect:/petTypes/"; 32 | } 33 | 34 | @RequestMapping(value = "/edit", method = arrayOf(RequestMethod.POST)) 35 | public fun edit(@RequestParam("id") idParam: String, 36 | @RequestParam("name") nameParam: String): String { 37 | db.withSession { 38 | PetTypes.find { id.equal(Id(idParam)) }.projection { name }.update(nameParam) 39 | } 40 | return "redirect:/petTypes/"; 41 | } 42 | 43 | @RequestMapping("/edit", method = arrayOf(RequestMethod.GET)) 44 | fun edit(@RequestParam("id") idParam: String, model: Model): String { 45 | db.withSession { 46 | val petType = PetTypes.find { id.equal(Id(idParam)) }.single() 47 | model.addAttribute("id", petType.id!!.value) 48 | model.addAttribute("name", petType.name) 49 | } 50 | return "petTypes/edit" 51 | } 52 | 53 | @RequestMapping("/delete", method = arrayOf(RequestMethod.POST)) 54 | fun delete(@RequestParam("id") idParam: String): String { 55 | db.withSession { 56 | PetTypes.find { id.equal(Id(idParam)) }.remove() 57 | } 58 | return "redirect:/petTypes/"; 59 | } 60 | 61 | @RequestMapping("/", method = arrayOf(RequestMethod.GET)) 62 | fun index(model: Model): String { 63 | db.withSession { 64 | model.addAttribute("petTypes", PetTypes.find().toList()) 65 | } 66 | return "petTypes/index" 67 | } 68 | } -------------------------------------------------------------------------------- /src/main/kotlin/kotlinx/nosql/mongodb/samples/petclinic/controllers/specialities/SpecialityController.kt: -------------------------------------------------------------------------------- 1 | package kotlinx.nosql.mongodb.samples.petclinic.controllers.owners 2 | 3 | import org.springframework.stereotype.Controller 4 | import org.springframework.web.bind.annotation.RequestMapping 5 | import kotlinx.nosql.mongodb.* 6 | import kotlinx.nosql.* 7 | import org.springframework.ui.Model 8 | import kotlinx.nosql.mongodb.samples.petclinic.data.Owners 9 | import org.springframework.web.bind.annotation.RequestParam 10 | import org.springframework.web.bind.annotation.RequestMethod 11 | import kotlinx.nosql.mongodb.samples.petclinic.data.Owner 12 | import kotlinx.nosql.mongodb.samples.petclinic.data.Pets 13 | import org.springframework.beans.factory.annotation.Autowired 14 | import kotlinx.nosql.mongodb.samples.petclinic.data.PetTypes 15 | import kotlinx.nosql.mongodb.samples.petclinic.data.Pet 16 | import kotlinx.nosql.mongodb.samples.petclinic.data.PetType 17 | import java.util.regex.Pattern 18 | import kotlinx.nosql.mongodb.samples.petclinic.data.Specialities 19 | import kotlinx.nosql.mongodb.samples.petclinic.data.Speciality 20 | 21 | @Controller @RequestMapping(value = "/specialities") 22 | class SpecialityController @Autowired constructor (val db: MongoDB) { 23 | @RequestMapping("/add", method = arrayOf(RequestMethod.GET)) 24 | fun add(): String { 25 | return "specialities/add" 26 | } 27 | 28 | @RequestMapping(value = "/add", method = arrayOf(RequestMethod.POST)) 29 | public fun add(@RequestParam("name") nameParam: String): String { 30 | db.withSession { 31 | Specialities.insert(Speciality(nameParam)) 32 | } 33 | return "redirect:/specialities/"; 34 | } 35 | 36 | @RequestMapping(value = "/edit", method = arrayOf(RequestMethod.POST)) 37 | public fun edit(@RequestParam("id") idParam: String, 38 | @RequestParam("name") nameParam: String): String { 39 | db.withSession { 40 | Specialities.find{ id.equal(Id(idParam)) }.projection { name }.update(nameParam) 41 | } 42 | return "redirect:/specialities/"; 43 | } 44 | 45 | @RequestMapping("/edit", method = arrayOf(RequestMethod.GET)) 46 | fun edit(@RequestParam("id") idParam: String, model: Model): String { 47 | db.withSession { 48 | val speciality = Specialities.find { id.equal(Id(idParam)) }.single() 49 | model.addAttribute("id", speciality.id!!.value) 50 | model.addAttribute("name", speciality.name) 51 | } 52 | return "specialities/edit" 53 | } 54 | 55 | @RequestMapping("/delete", method = arrayOf(RequestMethod.POST)) 56 | fun delete(@RequestParam("id") idParam: String): String { 57 | db.withSession { 58 | Specialities.find { id.equal(Id(idParam)) }.remove() 59 | } 60 | return "redirect:/specialities/"; 61 | } 62 | 63 | @RequestMapping("/", method = arrayOf(RequestMethod.GET)) 64 | fun index(model: Model): String { 65 | db.withSession { 66 | model.addAttribute("specialities", Specialities.find().toList()) 67 | } 68 | return "specialities/index" 69 | } 70 | } -------------------------------------------------------------------------------- /src/main/resources/templates/owners/view.html: -------------------------------------------------------------------------------- 1 | <!doctype html> 2 | <html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/html" lang="en-US"> 3 | <head th:replace="fragments/headTag :: headTag (title='Owner')"></head> 4 | <body> 5 | 6 | <div th:include="fragments/bodyHeader (tab='view owner')" th:remove="tag"></div> 7 | 8 | <div class="container"> 9 | <div class="ui grid"> 10 | <div class="twelve wide column"> 11 | <h1 class="ui header">Owner</h1> 12 | </div> 13 | <div class="four wide column"> 14 | <a th:href="@{/owners/edit(id=${owner.id})}" class="small ui right floated button blue">Edit Owner</a> 15 | </div> 16 | </div> 17 | 18 | <table class="ui table segment"> 19 | <tr> 20 | <th>Name</th> 21 | <td><i class="user icon"></i> <span th:text="${owner.firstName + ' ' + owner.lastName}"></span></td> 22 | </tr> 23 | <tr> 24 | <th>Address</th> 25 | <td><i class="map marker icon"></i> <span th:text="${owner.city + ', ' + owner.address}"></span></td> 26 | </tr> 27 | <tr> 28 | <th>Telephone</th> 29 | <td><i class="phone icon"></i> <span th:text="${owner.telephone}"></span></td> 30 | </tr> 31 | </table> 32 | 33 | <div class="ui grid"> 34 | <div class="twelve wide column"> 35 | <h2 class="ui header">Pets and Visits</h2> 36 | </div> 37 | <div class="four wide column"> 38 | <a th:href="@{/pets/add(ownerId=${owner.id})}" class="small ui right floated button green">Add Pet</a> 39 | </div> 40 | </div> 41 | 42 | <table class="ui table segment" th:if="${not pets.isEmpty()}"> 43 | <thead> 44 | <tr> 45 | <th style="width: 25%">Name</th> 46 | <th style="width: 25%">Type</th> 47 | <th style="width: 25%">Visit Date</th> 48 | <th style="width: 25%">Description</th> 49 | </tr> 50 | </thead> 51 | <tbody> 52 | <tr th:each="pet: ${pets}"> 53 | <td style="vertical-align: top"><a th:href="@{/pets/edit(id=${pet.id})}" th:text="${pet.name}"></a></td> 54 | <td style="vertical-align: top" th:text="${petTypes.get(pet).name}"></td> 55 | <td colspan="2" style="padding: 0"> 56 | <table class="ui table small " style="width: 100%"> 57 | <tr th:each="visit: ${petVisits.get(pet)}"> 58 | <td style="width: 50%"> 59 | <a th:text="${visit.visitDate}" th:href="@{/visits/edit(id=${visit.id})}"></a> 60 | </td> 61 | <td th:text="${visit.description}" style="width: 50%"/> 62 | </tr> 63 | <tr> 64 | <td colspan="2"> 65 | <a class="mini ui green button" th:href="@{/visits/add(petId=${pet.id})}">Add Visit</a> 66 | </td> 67 | </tr> 68 | </table> 69 | </td> 70 | </tr> 71 | </tbody> 72 | </table> 73 | </div> 74 | 75 | <div th:include="fragments/bodyFooter" th:remove="tag"></div> 76 | </body> 77 | </html> -------------------------------------------------------------------------------- /src/main/resources/templates/owners/add.html: -------------------------------------------------------------------------------- 1 | <!doctype html> 2 | <html xmlns:th="http://www.thymeleaf.org" lang="en-US"> 3 | <head th:replace="fragments/headTag :: headTag (title='Add Owner')"> 4 | </head> 5 | <body> 6 | <script type="text/javascript"> 7 | $(document).ready(function(){ 8 | $(".ui.form").form({ 9 | firstName : { 10 | identifier : 'firstName', 11 | rules : [ 12 | { 13 | type : 'empty', 14 | prompt : 'Please enter first name' 15 | } 16 | ] 17 | }, 18 | lastName : { 19 | identifier : 'lastName', 20 | rules : [ 21 | { 22 | type : 'empty', 23 | prompt : 'Please enter last name' 24 | } 25 | ] 26 | }, 27 | address : { 28 | identifier : 'address', 29 | rules : [ 30 | { 31 | type : 'empty', 32 | prompt : 'Please enter address' 33 | } 34 | ] 35 | }, 36 | city : { 37 | identifier : 'city', 38 | rules : [ 39 | { 40 | type : 'empty', 41 | prompt : 'Please enter city' 42 | } 43 | ] 44 | }, 45 | telephone : { 46 | identifier : 'telephone', 47 | rules : [ 48 | { 49 | type : 'empty', 50 | prompt : 'Please enter telephone' 51 | } 52 | ] 53 | } 54 | }) 55 | }) 56 | </script> 57 | 58 | <div th:include="fragments/bodyHeader (tab='add owner')" th:remove="tag"></div> 59 | 60 | <div class="container"> 61 | <h1 class="ui header">Add Owner</h1> 62 | 63 | <form method="post" action="add" role="form" class="ui form"> 64 | <div class="field"> 65 | <label for="firstName">First Name</label> 66 | <input type="text" id="firstName" name="firstName" placeholder="First Name"/> 67 | </div> 68 | <div class="field"> 69 | <label for="lastName">Last Name</label> 70 | <input type="text" id="lastName" name="lastName" placeholder="Last Name"/> 71 | </div> 72 | <div class="field"> 73 | <label for="address">Address</label> 74 | <input type="text" id="address" name="address" placeholder="Address"/> 75 | </div> 76 | <div class="field"> 77 | <label for="city">City</label> 78 | <input type="text" id="city" name="city" placeholder="City"/> 79 | </div> 80 | <div class="field"> 81 | <label for="telephone">Telephone</label> 82 | <input type="text" id="telephone" name="telephone" placeholder="Telephone"/> 83 | </div> 84 | <button type="submit" class="ui green submit button">Add</button> 85 | </form> 86 | </div> 87 | 88 | <div th:include="fragments/bodyFooter" th:remove="tag"></div> 89 | </body> 90 | </html> -------------------------------------------------------------------------------- /src/main/resources/templates/owners/edit.html: -------------------------------------------------------------------------------- 1 | <!doctype html> 2 | <html xmlns:th="http://www.thymeleaf.org" lang="en-US"> 3 | <head th:replace="fragments/headTag :: headTag (title='Owner')"></head> 4 | <body> 5 | 6 | <script type="text/javascript"> 7 | $(document).ready(function(){ 8 | $(".ui.form").form({ 9 | firstName : { 10 | identifier : 'firstName', 11 | rules : [ 12 | { 13 | type : 'empty', 14 | prompt : 'Please enter first name' 15 | } 16 | ] 17 | }, 18 | lastName : { 19 | identifier : 'lastName', 20 | rules : [ 21 | { 22 | type : 'empty', 23 | prompt : 'Please enter last name' 24 | } 25 | ] 26 | }, 27 | address : { 28 | identifier : 'address', 29 | rules : [ 30 | { 31 | type : 'empty', 32 | prompt : 'Please enter address' 33 | } 34 | ] 35 | }, 36 | city : { 37 | identifier : 'city', 38 | rules : [ 39 | { 40 | type : 'empty', 41 | prompt : 'Please enter city' 42 | } 43 | ] 44 | }, 45 | telephone : { 46 | identifier : 'telephone', 47 | rules : [ 48 | { 49 | type : 'empty', 50 | prompt : 'Please enter telephone' 51 | } 52 | ] 53 | } 54 | }) 55 | }) 56 | </script> 57 | 58 | <div th:include="fragments/bodyHeader (tab='edit owner')" th:remove="tag"></div> 59 | 60 | <div class="container"> 61 | <h1 class="ui header">Edit Owner</h1> 62 | 63 | <form method="post" action="edit" role="form" class="ui form"> 64 | <input type="hidden" id="id" name="id" th:value="${id}"/> 65 | <div class="field"> 66 | <label for="firstName">First Name</label> 67 | <input type="text" id="firstName" name="firstName" placeholder="First Name" th:value="${firstName}"/> 68 | </div> 69 | <div class="field"> 70 | <label for="lastName">Last Name:</label> 71 | <input type="text" id="lastName" name="lastName" placeholder="Last Name" th:value="${lastName}"/> 72 | </div> 73 | <div class="field"> 74 | <label for="address">Address:</label> 75 | <input type="text" id="address" name="address" placeholder="Address" th:value="${address}"/> 76 | </div> 77 | <div class="field"> 78 | <label for="city">City:</label> 79 | <input type="text" id="city" name="city" placeholder="City" th:value="${city}"/> 80 | </div> 81 | <div class="field"> 82 | <label for="telephone">Telephone:</label> 83 | <input type="text" id="telephone" name="telephone" placeholder="Telephone" th:value="${telephone}"/> 84 | </div> 85 | <button type="submit" class="ui blue submit button">Save</button> 86 | </form> 87 | </div> 88 | 89 | <div th:include="fragments/bodyFooter" th:remove="tag"></div> 90 | </body> 91 | </html> -------------------------------------------------------------------------------- /src/main/kotlin/kotlinx/nosql/mongodb/samples/petclinic/controllers/pets/PetController.kt: -------------------------------------------------------------------------------- 1 | package kotlinx.nosql.mongodb.samples.petclinic.controllers.owners 2 | 3 | import org.springframework.stereotype.Controller 4 | import org.springframework.web.bind.annotation.RequestMapping 5 | import kotlinx.nosql.mongodb.* 6 | import kotlinx.nosql.* 7 | import org.springframework.ui.Model 8 | import kotlinx.nosql.mongodb.samples.petclinic.data.Owners 9 | import org.springframework.web.bind.annotation.RequestParam 10 | import org.springframework.web.bind.annotation.RequestMethod 11 | import kotlinx.nosql.mongodb.samples.petclinic.data.Pets 12 | import kotlinx.nosql.mongodb.samples.petclinic.data.PetTypes 13 | import kotlinx.nosql.mongodb.samples.petclinic.data.Pet 14 | import org.joda.time.LocalDate 15 | import org.springframework.format.annotation.DateTimeFormat 16 | import org.springframework.beans.factory.annotation.Autowired 17 | 18 | @Controller @RequestMapping(value = "/pets") 19 | class PetController @Autowired constructor (val db: MongoDB) { 20 | @RequestMapping(value = "/add", method = arrayOf(RequestMethod.GET)) 21 | public fun add(@RequestParam("ownerId") ownerIdParam: String, model: Model): String { 22 | db.withSession { 23 | val owner = Owners.find { id.equal(Id(ownerIdParam)) }.single() 24 | model.addAttribute("owner", owner) 25 | val petTypes = PetTypes.find().toList() 26 | model.addAttribute("petTypes", petTypes) 27 | } 28 | return "pets/add" 29 | } 30 | 31 | @RequestMapping(value = "/edit", method = arrayOf(RequestMethod.GET)) 32 | public fun edit(@RequestParam("id") idParam: String, model: Model): String { 33 | db.withSession { 34 | val pet = Pets.find { id.equal(Id(idParam)) }.single() 35 | model.addAttribute("pet", pet) 36 | val owner = Owners.find { id.equal(pet.ownerId) }.single() 37 | model.addAttribute("owner", owner) 38 | val petTypes = PetTypes.find().toList() 39 | model.addAttribute("petTypes", petTypes) 40 | } 41 | return "pets/edit" 42 | } 43 | 44 | @RequestMapping(value = "/add", method = arrayOf(RequestMethod.POST)) 45 | public fun add(@RequestParam("ownerId") ownerIdParam: String, 46 | @RequestParam("name") nameParam: String, 47 | @RequestParam("birthDate") @DateTimeFormat(pattern = "dd/MM/yyyy") birthDateParam: LocalDate, 48 | @RequestParam("typeId") typeIdParam: String): String { 49 | db.withSession { 50 | Pets.insert(Pet(nameParam, birthDateParam, Id(typeIdParam), Id(ownerIdParam))) 51 | } 52 | return "redirect:/owners/view?id=${ownerIdParam}" 53 | } 54 | 55 | @RequestMapping(value = "/edit", method = arrayOf(RequestMethod.POST)) 56 | public fun edit(@RequestParam("id") idParam: String, 57 | @RequestParam("name") nameParam: String, 58 | @RequestParam("birthDate") @DateTimeFormat(pattern = "dd/MM/yyyy") birthDateParam: LocalDate, 59 | @RequestParam("typeId") typeIdParam: String): String { 60 | var oId: Id<String, Owners>? = null 61 | db.withSession { 62 | oId = Pets.find{ id.equal(Id(idParam)) }.projection { ownerId }.single() 63 | Pets.find { id.equal(Id(idParam)) }.projection { name + birthDate + typeId }.update(nameParam, birthDateParam, Id(typeIdParam)) 64 | } 65 | return "redirect:/owners/view?id=${oId!!}" 66 | } 67 | } -------------------------------------------------------------------------------- /src/main/kotlin/kotlinx/nosql/mongodb/samples/petclinic/controllers/AppConfig.kt: -------------------------------------------------------------------------------- 1 | package kotlinx.nosql.mongodb.samples.petclinic.controllers 2 | 3 | import org.springframework.context.annotation.Configuration 4 | import kotlinx.nosql.mongodb.MongoDB 5 | import kotlinx.nosql.mongodb.samples.petclinic.data.* 6 | import org.springframework.context.annotation.Bean 7 | import com.mongodb.MongoClientURI 8 | import kotlinx.nosql.CreateDrop 9 | import org.joda.time.LocalDate 10 | 11 | @Configuration open class AppConfig { 12 | @Bean open fun getMongoDB(): MongoDB { 13 | val mongoURI = MongoClientURI(System.getenv("MONGO_URI")) 14 | val mongoDb = MongoDB(mongoURI, schemas = arrayOf(Owners, Pets, PetTypes, Vets, Visits, Specialities), initialization = CreateDrop(onCreate = { 15 | val birdId = PetTypes.insert(PetType("Bird")) 16 | val catId = PetTypes.insert(PetType("Cat")) 17 | val dogId = PetTypes.insert(PetType("Dog")) 18 | val hamsterId = PetTypes.insert(PetType("Hamster")) 19 | val lizardId = PetTypes.insert(PetType("Lizard")) 20 | val snakeId = PetTypes.insert(PetType("Snake")) 21 | 22 | val georgeId = Owners.insert(Owner("George", "Franklin", "110 W. Liberty St.", "Madison", "6085551023")) 23 | 24 | Pets.insert(Pet("Janny", LocalDate(2014, 2, 8), hamsterId, georgeId)) 25 | Pets.insert(Pet("Leo", LocalDate(2000, 9, 7), catId, georgeId)) 26 | Pets.insert(Pet("Shaka", LocalDate(2000, 3, 10), dogId, georgeId)) 27 | 28 | val jeanId = Owners.insert(Owner("Jean", "Coleman", "105 N. Lake St.", "Monona", "6085552654")) 29 | 30 | val maxId = Pets.insert(Pet("Max", LocalDate(1995, 9, 4), catId, jeanId)) 31 | val samanthaId = Pets.insert(Pet("Samantha", LocalDate(1995, 9, 4), catId, jeanId)) 32 | 33 | val jeffreyId = Owners.insert(Owner("Jeffrey", "Black", "1450 Oak Blvd.", "Monona", "6085555387")) 34 | 35 | Pets.insert(Pet("Jeff", LocalDate(2014, 1, 21), dogId, jeffreyId)) 36 | Pets.insert(Pet("Lucky", LocalDate(1999, 8, 6), birdId, jeffreyId)) 37 | 38 | val mariaId = Owners.insert(Owner("Maria", "Escobito", "345 Maple St.", "Madison", "6085557682")) 39 | 40 | Pets.insert(Pet("Manitoba", LocalDate(1997, 2, 24), dogId, mariaId)) 41 | 42 | val peterId = Owners.insert(Owner("Peter", "McTavish", "2387 S. Fair Way", "Madison", "6085552765")) 43 | 44 | Pets.insert(Pet("George", LocalDate(2000, 1, 20), snakeId, peterId)) 45 | 46 | val robertId = Owners.insert(Owner("Robert", "Schroeder", "2749 Blackhawk Trail", "Madison", "6085552765")) 47 | 48 | Pets.insert(Pet("Freddy", LocalDate(2000, 3, 9), lizardId, robertId)) 49 | 50 | Specialities.insert(Speciality("Radiology")) 51 | Specialities.insert(Speciality("Surgery")) 52 | Specialities.insert(Speciality("Dentistry")) 53 | 54 | Vets.insert(Vet("James", "Carter", setOf("Dentistry", "Surgery"))) 55 | Vets.insert(Vet("Helen", "Leary", setOf("Radiology"))) 56 | Vets.insert(Vet("Linda", "Douglas", setOf("Surgery"))) 57 | Vets.insert(Vet("Rafael", "Ortega", setOf("Dentistry"))) 58 | Vets.insert(Vet("Henry", "Stevens", setOf("Surgery"))) 59 | Vets.insert(Vet("Sharon", "Jenkins", setOf("Radiology"))) 60 | 61 | Visits.insert(Visit(LocalDate(2010, 3, 4), "Rabies shot", samanthaId)) 62 | Visits.insert(Visit(LocalDate(2011, 3, 4), "Rabies shot", maxId)) 63 | Visits.insert(Visit(LocalDate(2009, 6, 4), "Neutered", maxId)) 64 | Visits.insert(Visit(LocalDate(2008, 9, 4), "Neutered", samanthaId)) 65 | })) 66 | return mongoDb 67 | } 68 | } -------------------------------------------------------------------------------- /src/main/kotlin/kotlinx/nosql/mongodb/samples/petclinic/controllers/vets/VetController.kt: -------------------------------------------------------------------------------- 1 | package kotlinx.nosql.mongodb.samples.petclinic.controllers.owners 2 | 3 | import org.springframework.stereotype.Controller 4 | import org.springframework.web.bind.annotation.RequestMapping 5 | import kotlinx.nosql.mongodb.* 6 | import kotlinx.nosql.* 7 | import org.springframework.ui.Model 8 | import kotlinx.nosql.mongodb.samples.petclinic.data.Owners 9 | import org.springframework.web.bind.annotation.RequestParam 10 | import org.springframework.web.bind.annotation.RequestMethod 11 | import kotlinx.nosql.mongodb.samples.petclinic.data.Owner 12 | import kotlinx.nosql.mongodb.samples.petclinic.data.Pets 13 | import org.springframework.beans.factory.annotation.Autowired 14 | import kotlinx.nosql.mongodb.samples.petclinic.data.PetTypes 15 | import kotlinx.nosql.mongodb.samples.petclinic.data.Pet 16 | import kotlinx.nosql.mongodb.samples.petclinic.data.PetType 17 | import java.util.regex.Pattern 18 | import kotlinx.nosql.mongodb.samples.petclinic.data.Vets 19 | import kotlinx.nosql.mongodb.samples.petclinic.data.Specialities 20 | import org.springframework.web.context.request.WebRequest 21 | import java.util.HashSet 22 | import kotlinx.nosql.mongodb.samples.petclinic.data.Vet 23 | 24 | @Controller @RequestMapping(value = "/vets") 25 | class VetController @Autowired constructor (val db: MongoDB) { 26 | @RequestMapping("/", method = arrayOf(RequestMethod.GET)) 27 | fun index(model: Model): String { 28 | db.withSession { 29 | model.addAttribute("vets", Vets.find().toList()) 30 | } 31 | return "vets/index" 32 | } 33 | 34 | @RequestMapping("/add", method = arrayOf(RequestMethod.GET)) 35 | fun add(model: Model): String { 36 | db.withSession { 37 | model.addAttribute("specialities", Specialities.find().toList()) 38 | } 39 | return "vets/add" 40 | } 41 | 42 | @RequestMapping(value = "/add", method = arrayOf(RequestMethod.POST)) 43 | public fun add(@RequestParam("firstName") firstNameParam: String, 44 | @RequestParam("lastName") lastNameParam: String, webRequest: WebRequest): String { 45 | db.withSession { 46 | val specialities = HashSet<String>() 47 | Specialities.find().forEach { 48 | if (webRequest.getParameter(it.name) != null) { 49 | specialities.add(it.name) 50 | } 51 | } 52 | Vets.insert(Vet(firstNameParam, lastNameParam, specialities)) 53 | } 54 | return "redirect:/vets/"; 55 | } 56 | 57 | @RequestMapping("/edit", method = arrayOf(RequestMethod.GET)) 58 | fun edit(@RequestParam("id") idParam: String, model: Model): String { 59 | db.withSession { 60 | val vet = Vets.find { id.equal(Id(idParam)) }.single() 61 | model.addAttribute("vet", vet) 62 | model.addAttribute("specialities", Specialities.find().toList()) 63 | } 64 | return "vets/edit" 65 | } 66 | 67 | @RequestMapping(value = "/edit", method = arrayOf(RequestMethod.POST)) 68 | public fun edit(@RequestParam("id") idParam: String, 69 | @RequestParam("firstName") firstNameParam: String, 70 | @RequestParam("lastName") lastNameParam: String, webRequest: WebRequest): String { 71 | db.withSession { 72 | val newSpecialities = HashSet<String>() 73 | Specialities.find().forEach { 74 | if (webRequest.getParameter(it.name) != null) { 75 | newSpecialities.add(it.name) 76 | } 77 | } 78 | Vets.find { id.equal(Id(idParam)) }.projection { firstName + lastName + specialities }.update(firstNameParam, lastNameParam, newSpecialities) 79 | } 80 | return "redirect:/vets/"; 81 | } 82 | } -------------------------------------------------------------------------------- /src/main/kotlin/kotlinx/nosql/mongodb/samples/petclinic/controllers/pets/VisitController.kt: -------------------------------------------------------------------------------- 1 | package kotlinx.nosql.mongodb.samples.petclinic.controllers.owners 2 | 3 | import org.springframework.stereotype.Controller 4 | import org.springframework.web.bind.annotation.RequestMapping 5 | import kotlinx.nosql.mongodb.* 6 | import kotlinx.nosql.* 7 | import org.springframework.ui.Model 8 | import kotlinx.nosql.mongodb.samples.petclinic.data.Owners 9 | import org.springframework.web.bind.annotation.RequestParam 10 | import org.springframework.web.bind.annotation.RequestMethod 11 | import kotlinx.nosql.mongodb.samples.petclinic.data.Pets 12 | import kotlinx.nosql.mongodb.samples.petclinic.data.PetTypes 13 | import kotlinx.nosql.mongodb.samples.petclinic.data.Pet 14 | import org.joda.time.LocalDate 15 | import org.springframework.format.annotation.DateTimeFormat 16 | import org.springframework.beans.factory.annotation.Autowired 17 | import kotlinx.nosql.mongodb.samples.petclinic.data.Visits 18 | import kotlinx.nosql.mongodb.samples.petclinic.data.Visit 19 | 20 | @Controller @RequestMapping(value = "/visits") 21 | class VisitController @Autowired constructor (val db: MongoDB) { 22 | @RequestMapping(value = "/add", method = arrayOf(RequestMethod.GET)) 23 | fun add(@RequestParam("petId") petIdParam: String, model: Model): String { 24 | db.withSession { 25 | val pet = Pets.find { id.equal(Id(petIdParam)) }.single() 26 | model.addAttribute("pet", pet) 27 | val owner = Owners.find { id.equal(pet.ownerId) }.single() 28 | model.addAttribute("owner", owner) 29 | } 30 | return "visits/add" 31 | } 32 | 33 | @RequestMapping(value = "/add", method = arrayOf(RequestMethod.POST)) 34 | public fun add(@RequestParam("petId") petIdParam: String, 35 | @RequestParam("date") @DateTimeFormat(pattern = "dd/MM/yyyy") dateParam: LocalDate, 36 | @RequestParam("description") descriptionParam: String): String { 37 | var petOwnerId: String? = null 38 | db.withSession { 39 | Visits.insert(Visit(dateParam, descriptionParam, Id(petIdParam))) 40 | petOwnerId = Pets.find { id.equal(Id(petIdParam)) }.projection { ownerId }.single().value 41 | } 42 | return "redirect:/owners/view?id=${petOwnerId!!}" 43 | } 44 | 45 | @RequestMapping(value = "/edit", method = arrayOf(RequestMethod.GET)) 46 | public fun edit(@RequestParam("id") idParam: String, model: Model): String { 47 | db.withSession { 48 | val visit = Visits.find { id.equal(Id(idParam)) }.single() 49 | model.addAttribute("id", visit.id!!.value) 50 | model.addAttribute("date", visit.visitDate) 51 | model.addAttribute("description", visit.description) 52 | val pet = Pets.find { id.equal(visit.petId) }.single() 53 | model.addAttribute("pet", pet) 54 | val owner = Owners.find { id.equal(pet.ownerId) }.single() 55 | model.addAttribute("owner", owner) 56 | } 57 | return "visits/edit" 58 | } 59 | 60 | @RequestMapping(value = "/edit", method = arrayOf(RequestMethod.POST)) 61 | public fun edit(@RequestParam("id") idParam: String, 62 | @RequestParam("date") @DateTimeFormat(pattern = "dd/MM/yyyy") dateParam: LocalDate, 63 | @RequestParam("description") descriptionParam: String): String { 64 | var petOwnerId: String? = null 65 | db.withSession { 66 | Visits.find { id.equal(Id(idParam)) }.projection { visitDate + description }.update(dateParam, descriptionParam) 67 | val petId = Visits.find { id.equal(Id(idParam)) }.projection { petId }.single() 68 | petOwnerId = Pets.find { id.equal(petId) }.projection { ownerId }.single().value 69 | } 70 | return "redirect:/owners/view?id=${petOwnerId!!}" 71 | } 72 | } -------------------------------------------------------------------------------- /src/main/kotlin/kotlinx/nosql/mongodb/samples/petclinic/controllers/owners/OwnerController.kt: -------------------------------------------------------------------------------- 1 | package kotlinx.nosql.mongodb.samples.petclinic.controllers.owners 2 | 3 | import org.springframework.stereotype.Controller 4 | import org.springframework.web.bind.annotation.RequestMapping 5 | import kotlinx.nosql.mongodb.* 6 | import kotlinx.nosql.* 7 | import kotlinx.nosql.mongodb.* 8 | import org.springframework.ui.Model 9 | import kotlinx.nosql.mongodb.samples.petclinic.data.Owners 10 | import org.springframework.web.bind.annotation.RequestParam 11 | import org.springframework.web.bind.annotation.RequestMethod 12 | import kotlinx.nosql.mongodb.samples.petclinic.data.Owner 13 | import kotlinx.nosql.mongodb.samples.petclinic.data.Pets 14 | import org.springframework.beans.factory.annotation.Autowired 15 | import kotlinx.nosql.mongodb.samples.petclinic.data.PetTypes 16 | import kotlinx.nosql.mongodb.samples.petclinic.data.Pet 17 | import kotlinx.nosql.mongodb.samples.petclinic.data.PetType 18 | import java.util.regex.Pattern 19 | import kotlinx.nosql.mongodb.samples.petclinic.data.Visit 20 | import kotlinx.nosql.mongodb.samples.petclinic.data.Visits 21 | 22 | @Controller @RequestMapping(value = "/owners") 23 | class OwnerController @Autowired constructor (val db: MongoDB) { 24 | 25 | @RequestMapping(value = "/add", method = arrayOf(RequestMethod.POST)) 26 | fun add(@RequestParam("firstName") firstName: String, 27 | @RequestParam("lastName") lastName: String, 28 | @RequestParam("address") address: String, 29 | @RequestParam("city") city: String, 30 | @RequestParam("telephone") telephone: String): String { 31 | db.withSession { 32 | Owners.insert(Owner(firstName, lastName, address, city, telephone)) 33 | } 34 | return "redirect:/owners/"; 35 | } 36 | 37 | @RequestMapping(value = "/edit", method = arrayOf(RequestMethod.POST)) 38 | fun edit(@RequestParam("id") idParam: String, 39 | @RequestParam("firstName") firstNameParam: String, 40 | @RequestParam("lastName") lastNameParam: String, 41 | @RequestParam("address") addressParam: String, 42 | @RequestParam("city") cityParam: String, 43 | @RequestParam("telephone") telephoneParam: String): String { 44 | db.withSession { 45 | Owners.find{ id.equal(Id(idParam))}.projection { firstName + lastName + address + city + telephone }.update(firstNameParam, lastNameParam, addressParam, cityParam, telephoneParam) 46 | } 47 | return "redirect:/owners/"; 48 | } 49 | 50 | @RequestMapping("/add", method = arrayOf(RequestMethod.GET)) 51 | fun add(): String { 52 | return "owners/add" 53 | } 54 | 55 | @RequestMapping("/edit", method = arrayOf(RequestMethod.GET)) 56 | fun edit(@RequestParam("id") idParam: String, model: Model): String { 57 | db.withSession { 58 | val owner = Owners.find{ id.equal(Id(idParam))}.single() 59 | model.addAttribute("id", owner.id!!.value) 60 | model.addAttribute("firstName", owner.firstName) 61 | model.addAttribute("lastName", owner.lastName) 62 | model.addAttribute("address", owner.address) 63 | model.addAttribute("city", owner.city) 64 | model.addAttribute("telephone", owner.telephone) 65 | } 66 | return "owners/edit" 67 | } 68 | 69 | @RequestMapping("/view", method = arrayOf(RequestMethod.GET)) 70 | fun view(@RequestParam("id") idParam: String, model: Model): String { 71 | db.withSession { 72 | val owner = Owners.find { id.equal(Id(idParam)) }.single() 73 | model.addAttribute("owner", owner) 74 | val pets = Pets.find { ownerId.equal(owner.id)}.toList() 75 | 76 | val petTypes = hashMapOf<Pet,PetType>() 77 | val petVisits = hashMapOf<Pet, List<Visit>>() 78 | pets.forEach { 79 | petTypes.put(it, PetTypes.find { id.equal(it.typeId) }.single()) 80 | petVisits.put(it, Visits.find { petId.equal(it.id) }.toList()) 81 | } 82 | model.addAttribute("pets", pets) 83 | model.addAttribute("petTypes", petTypes) 84 | model.addAttribute("petVisits", petVisits) 85 | } 86 | return "owners/view" 87 | } 88 | 89 | @RequestMapping("/delete", method = arrayOf(RequestMethod.POST)) 90 | fun delete(@RequestParam("id") idParam: String): String { 91 | db.withSession { 92 | Owners.find { id.equal(Id(idParam)) }.remove() 93 | } 94 | return "redirect:/owners/"; 95 | } 96 | 97 | @RequestMapping("/", method = arrayOf(RequestMethod.GET)) 98 | fun index(@RequestParam("q", required = false) searchParam: String?, model: Model): String { 99 | model.addAttribute("searchQuery", if (searchParam != null) searchParam else "") 100 | db.withSession { 101 | if (searchParam != null && searchParam.isNotEmpty()) { 102 | model.addAttribute("owners", Owners.find { text(searchParam) }.map { owner -> Pair(owner, Pets.find { ownerId.equal(owner.id) }.toList())}.toList()) 103 | } else { 104 | model.addAttribute("owners", Owners.find().map { owner -> Pair(owner, Pets.find { ownerId.equal(owner.id) }.toList())}.toList()) 105 | } 106 | } 107 | return "owners/index" 108 | } 109 | } -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # For Cygwin, ensure paths are in UNIX format before anything is touched. 46 | if $cygwin ; then 47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 48 | fi 49 | 50 | # Attempt to set APP_HOME 51 | # Resolve links: $0 may be a link 52 | PRG="$0" 53 | # Need this for relative symlinks. 54 | while [ -h "$PRG" ] ; do 55 | ls=`ls -ld "$PRG"` 56 | link=`expr "$ls" : '.*-> \(.*\)$'` 57 | if expr "$link" : '/.*' > /dev/null; then 58 | PRG="$link" 59 | else 60 | PRG=`dirname "$PRG"`"/$link" 61 | fi 62 | done 63 | SAVED="`pwd`" 64 | cd "`dirname \"$PRG\"`/" >&- 65 | APP_HOME="`pwd -P`" 66 | cd "$SAVED" >&- 67 | 68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 69 | 70 | # Determine the Java command to use to start the JVM. 71 | if [ -n "$JAVA_HOME" ] ; then 72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 73 | # IBM's JDK on AIX uses strange locations for the executables 74 | JAVACMD="$JAVA_HOME/jre/sh/java" 75 | else 76 | JAVACMD="$JAVA_HOME/bin/java" 77 | fi 78 | if [ ! -x "$JAVACMD" ] ; then 79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 80 | Please set the JAVA_HOME variable in your environment to match the 81 | location of your Java installation." 82 | fi 83 | else 84 | JAVACMD="java" 85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 86 | Please set the JAVA_HOME variable in your environment to match the 87 | location of your Java installation." 88 | fi 89 | 90 | # Increase the maximum file descriptors if we can. 91 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 92 | MAX_FD_LIMIT=`ulimit -H -n` 93 | if [ $? -eq 0 ] ; then 94 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 95 | MAX_FD="$MAX_FD_LIMIT" 96 | fi 97 | ulimit -n $MAX_FD 98 | if [ $? -ne 0 ] ; then 99 | warn "Could not set maximum file descriptor limit: $MAX_FD" 100 | fi 101 | else 102 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 103 | fi 104 | fi 105 | 106 | # For Darwin, add options to specify how the application appears in the dock 107 | if $darwin; then 108 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 109 | fi 110 | 111 | # For Cygwin, switch paths to Windows format before running java 112 | if $cygwin ; then 113 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 114 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 115 | 116 | # We build the pattern for arguments to be converted via cygpath 117 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 118 | SEP="" 119 | for dir in $ROOTDIRSRAW ; do 120 | ROOTDIRS="$ROOTDIRS$SEP$dir" 121 | SEP="|" 122 | done 123 | OURCYGPATTERN="(^($ROOTDIRS))" 124 | # Add a user-defined pattern to the cygpath arguments 125 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 126 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 127 | fi 128 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 129 | i=0 130 | for arg in "$@" ; do 131 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 132 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 133 | 134 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 135 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 136 | else 137 | eval `echo args$i`="\"$arg\"" 138 | fi 139 | i=$((i+1)) 140 | done 141 | case $i in 142 | (0) set -- ;; 143 | (1) set -- "$args0" ;; 144 | (2) set -- "$args0" "$args1" ;; 145 | (3) set -- "$args0" "$args1" "$args2" ;; 146 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 147 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 148 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 149 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 150 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 151 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 152 | esac 153 | fi 154 | 155 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 156 | function splitJvmOpts() { 157 | JVM_OPTS=("$@") 158 | } 159 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 160 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 161 | 162 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" -------------------------------------------------------------------------------- /.idea/modules/kotlin-nosql-mongodb-petclinic_main.iml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8"?> 2 | <module external.linked.project.id="kotlin-nosql-mongodb-petclinic:main" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="" external.system.module.type="sourceSet" external.system.module.version="unspecified" type="JAVA_MODULE" version="4"> 3 | <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8" inherit-compiler-output="false"> 4 | <output url="file://$MODULE_DIR$/../../build/classes/main" /> 5 | <exclude-output /> 6 | <content url="file://$MODULE_DIR$/../../src/main"> 7 | <sourceFolder url="file://$MODULE_DIR$/../../src/main/java" isTestSource="false" /> 8 | <sourceFolder url="file://$MODULE_DIR$/../../src/main/kotlin" isTestSource="false" /> 9 | <sourceFolder url="file://$MODULE_DIR$/../../src/main/resources" type="java-resource" /> 10 | </content> 11 | <orderEntry type="inheritedJdk" /> 12 | <orderEntry type="sourceFolder" forTests="false" /> 13 | <orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.0.0" level="project" /> 14 | <orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-nosql-mongodb:0.1-SNAPSHOT" level="project" /> 15 | <orderEntry type="library" name="Gradle: org.springframework.boot:spring-boot-starter-web:1.3.2.RELEASE" level="project" /> 16 | <orderEntry type="library" name="Gradle: org.springframework.boot:spring-boot-starter-thymeleaf:1.3.2.RELEASE" level="project" /> 17 | <orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-runtime:1.0.0" level="project" /> 18 | <orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-nosql:0.1-SNAPSHOT" level="project" /> 19 | <orderEntry type="library" name="Gradle: joda-time:joda-time:2.8.2" level="project" /> 20 | <orderEntry type="library" name="Gradle: org.mongodb:mongo-java-driver:2.13.3" level="project" /> 21 | <orderEntry type="library" name="Gradle: org.springframework.boot:spring-boot-starter:1.3.2.RELEASE" level="project" /> 22 | <orderEntry type="library" name="Gradle: org.springframework.boot:spring-boot-starter-tomcat:1.3.2.RELEASE" level="project" /> 23 | <orderEntry type="library" name="Gradle: org.springframework.boot:spring-boot-starter-validation:1.3.2.RELEASE" level="project" /> 24 | <orderEntry type="library" name="Gradle: com.fasterxml.jackson.core:jackson-databind:2.6.5" level="project" /> 25 | <orderEntry type="library" name="Gradle: org.springframework:spring-web:4.2.4.RELEASE" level="project" /> 26 | <orderEntry type="library" name="Gradle: org.springframework:spring-webmvc:4.2.4.RELEASE" level="project" /> 27 | <orderEntry type="library" name="Gradle: org.thymeleaf:thymeleaf-spring4:2.1.4.RELEASE" level="project" /> 28 | <orderEntry type="library" name="Gradle: nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:1.3.1" level="project" /> 29 | <orderEntry type="library" name="Gradle: org.springframework.boot:spring-boot:1.3.2.RELEASE" level="project" /> 30 | <orderEntry type="library" name="Gradle: org.springframework.boot:spring-boot-autoconfigure:1.3.2.RELEASE" level="project" /> 31 | <orderEntry type="library" name="Gradle: org.springframework.boot:spring-boot-starter-logging:1.3.2.RELEASE" level="project" /> 32 | <orderEntry type="library" name="Gradle: org.springframework:spring-core:4.2.4.RELEASE" level="project" /> 33 | <orderEntry type="library" name="Gradle: org.yaml:snakeyaml:1.16" level="project" /> 34 | <orderEntry type="library" name="Gradle: org.apache.tomcat.embed:tomcat-embed-core:8.0.30" level="project" /> 35 | <orderEntry type="library" name="Gradle: org.apache.tomcat.embed:tomcat-embed-el:8.0.30" level="project" /> 36 | <orderEntry type="library" name="Gradle: org.apache.tomcat.embed:tomcat-embed-logging-juli:8.0.30" level="project" /> 37 | <orderEntry type="library" name="Gradle: org.apache.tomcat.embed:tomcat-embed-websocket:8.0.30" level="project" /> 38 | <orderEntry type="library" name="Gradle: org.hibernate:hibernate-validator:5.2.2.Final" level="project" /> 39 | <orderEntry type="library" name="Gradle: com.fasterxml.jackson.core:jackson-annotations:2.6.5" level="project" /> 40 | <orderEntry type="library" name="Gradle: com.fasterxml.jackson.core:jackson-core:2.6.5" level="project" /> 41 | <orderEntry type="library" name="Gradle: org.springframework:spring-aop:4.2.4.RELEASE" level="project" /> 42 | <orderEntry type="library" name="Gradle: org.springframework:spring-beans:4.2.4.RELEASE" level="project" /> 43 | <orderEntry type="library" name="Gradle: org.springframework:spring-context:4.2.4.RELEASE" level="project" /> 44 | <orderEntry type="library" name="Gradle: org.springframework:spring-expression:4.2.4.RELEASE" level="project" /> 45 | <orderEntry type="library" name="Gradle: org.thymeleaf:thymeleaf:2.1.4.RELEASE" level="project" /> 46 | <orderEntry type="library" name="Gradle: org.slf4j:slf4j-api:1.7.13" level="project" /> 47 | <orderEntry type="library" name="Gradle: org.codehaus.groovy:groovy:2.4.4" level="project" /> 48 | <orderEntry type="library" name="Gradle: ch.qos.logback:logback-classic:1.1.3" level="project" /> 49 | <orderEntry type="library" name="Gradle: org.slf4j:jcl-over-slf4j:1.7.13" level="project" /> 50 | <orderEntry type="library" name="Gradle: org.slf4j:jul-to-slf4j:1.7.13" level="project" /> 51 | <orderEntry type="library" name="Gradle: org.slf4j:log4j-over-slf4j:1.7.13" level="project" /> 52 | <orderEntry type="library" name="Gradle: javax.validation:validation-api:1.1.0.Final" level="project" /> 53 | <orderEntry type="library" name="Gradle: org.jboss.logging:jboss-logging:3.3.0.Final" level="project" /> 54 | <orderEntry type="library" name="Gradle: com.fasterxml:classmate:1.1.0" level="project" /> 55 | <orderEntry type="library" name="Gradle: aopalliance:aopalliance:1.0" level="project" /> 56 | <orderEntry type="library" name="Gradle: ognl:ognl:3.0.8" level="project" /> 57 | <orderEntry type="library" name="Gradle: org.javassist:javassist:3.18.1-GA" level="project" /> 58 | <orderEntry type="library" name="Gradle: org.unbescape:unbescape:1.1.0.RELEASE" level="project" /> 59 | <orderEntry type="library" name="Gradle: ch.qos.logback:logback-core:1.1.3" level="project" /> 60 | </component> 61 | </module> -------------------------------------------------------------------------------- /.idea/modules/kotlin-nosql-mongodb-petclinic_test.iml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8"?> 2 | <module external.linked.project.id="kotlin-nosql-mongodb-petclinic:test" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="" external.system.module.type="sourceSet" external.system.module.version="unspecified" type="JAVA_MODULE" version="4"> 3 | <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8" inherit-compiler-output="false"> 4 | <output-test url="file://$MODULE_DIR$/../../build/classes/test" /> 5 | <exclude-output /> 6 | <content url="file://$MODULE_DIR$/../../src/test"> 7 | <sourceFolder url="file://$MODULE_DIR$/../../src/test/java" isTestSource="true" /> 8 | <sourceFolder url="file://$MODULE_DIR$/../../src/test/kotlin" isTestSource="true" /> 9 | <sourceFolder url="file://$MODULE_DIR$/../../src/test/resources" type="java-test-resource" /> 10 | </content> 11 | <orderEntry type="inheritedJdk" /> 12 | <orderEntry type="sourceFolder" forTests="false" /> 13 | <orderEntry type="module" module-name="kotlin-nosql-mongodb-petclinic_main" /> 14 | <orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.0.0" level="project" /> 15 | <orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-nosql-mongodb:0.1-SNAPSHOT" level="project" /> 16 | <orderEntry type="library" name="Gradle: org.springframework.boot:spring-boot-starter-web:1.3.2.RELEASE" level="project" /> 17 | <orderEntry type="library" name="Gradle: org.springframework.boot:spring-boot-starter-thymeleaf:1.3.2.RELEASE" level="project" /> 18 | <orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-runtime:1.0.0" level="project" /> 19 | <orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-nosql:0.1-SNAPSHOT" level="project" /> 20 | <orderEntry type="library" name="Gradle: joda-time:joda-time:2.8.2" level="project" /> 21 | <orderEntry type="library" name="Gradle: org.mongodb:mongo-java-driver:2.13.3" level="project" /> 22 | <orderEntry type="library" name="Gradle: org.springframework.boot:spring-boot-starter:1.3.2.RELEASE" level="project" /> 23 | <orderEntry type="library" name="Gradle: org.springframework.boot:spring-boot-starter-tomcat:1.3.2.RELEASE" level="project" /> 24 | <orderEntry type="library" name="Gradle: org.springframework.boot:spring-boot-starter-validation:1.3.2.RELEASE" level="project" /> 25 | <orderEntry type="library" name="Gradle: com.fasterxml.jackson.core:jackson-databind:2.6.5" level="project" /> 26 | <orderEntry type="library" name="Gradle: org.springframework:spring-web:4.2.4.RELEASE" level="project" /> 27 | <orderEntry type="library" name="Gradle: org.springframework:spring-webmvc:4.2.4.RELEASE" level="project" /> 28 | <orderEntry type="library" name="Gradle: org.thymeleaf:thymeleaf-spring4:2.1.4.RELEASE" level="project" /> 29 | <orderEntry type="library" name="Gradle: nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:1.3.1" level="project" /> 30 | <orderEntry type="library" name="Gradle: org.springframework.boot:spring-boot:1.3.2.RELEASE" level="project" /> 31 | <orderEntry type="library" name="Gradle: org.springframework.boot:spring-boot-autoconfigure:1.3.2.RELEASE" level="project" /> 32 | <orderEntry type="library" name="Gradle: org.springframework.boot:spring-boot-starter-logging:1.3.2.RELEASE" level="project" /> 33 | <orderEntry type="library" name="Gradle: org.springframework:spring-core:4.2.4.RELEASE" level="project" /> 34 | <orderEntry type="library" name="Gradle: org.yaml:snakeyaml:1.16" level="project" /> 35 | <orderEntry type="library" name="Gradle: org.apache.tomcat.embed:tomcat-embed-core:8.0.30" level="project" /> 36 | <orderEntry type="library" name="Gradle: org.apache.tomcat.embed:tomcat-embed-el:8.0.30" level="project" /> 37 | <orderEntry type="library" name="Gradle: org.apache.tomcat.embed:tomcat-embed-logging-juli:8.0.30" level="project" /> 38 | <orderEntry type="library" name="Gradle: org.apache.tomcat.embed:tomcat-embed-websocket:8.0.30" level="project" /> 39 | <orderEntry type="library" name="Gradle: org.hibernate:hibernate-validator:5.2.2.Final" level="project" /> 40 | <orderEntry type="library" name="Gradle: com.fasterxml.jackson.core:jackson-annotations:2.6.5" level="project" /> 41 | <orderEntry type="library" name="Gradle: com.fasterxml.jackson.core:jackson-core:2.6.5" level="project" /> 42 | <orderEntry type="library" name="Gradle: org.springframework:spring-aop:4.2.4.RELEASE" level="project" /> 43 | <orderEntry type="library" name="Gradle: org.springframework:spring-beans:4.2.4.RELEASE" level="project" /> 44 | <orderEntry type="library" name="Gradle: org.springframework:spring-context:4.2.4.RELEASE" level="project" /> 45 | <orderEntry type="library" name="Gradle: org.springframework:spring-expression:4.2.4.RELEASE" level="project" /> 46 | <orderEntry type="library" name="Gradle: org.thymeleaf:thymeleaf:2.1.4.RELEASE" level="project" /> 47 | <orderEntry type="library" name="Gradle: org.slf4j:slf4j-api:1.7.13" level="project" /> 48 | <orderEntry type="library" name="Gradle: org.codehaus.groovy:groovy:2.4.4" level="project" /> 49 | <orderEntry type="library" name="Gradle: ch.qos.logback:logback-classic:1.1.3" level="project" /> 50 | <orderEntry type="library" name="Gradle: org.slf4j:jcl-over-slf4j:1.7.13" level="project" /> 51 | <orderEntry type="library" name="Gradle: org.slf4j:jul-to-slf4j:1.7.13" level="project" /> 52 | <orderEntry type="library" name="Gradle: org.slf4j:log4j-over-slf4j:1.7.13" level="project" /> 53 | <orderEntry type="library" name="Gradle: javax.validation:validation-api:1.1.0.Final" level="project" /> 54 | <orderEntry type="library" name="Gradle: org.jboss.logging:jboss-logging:3.3.0.Final" level="project" /> 55 | <orderEntry type="library" name="Gradle: com.fasterxml:classmate:1.1.0" level="project" /> 56 | <orderEntry type="library" name="Gradle: aopalliance:aopalliance:1.0" level="project" /> 57 | <orderEntry type="library" name="Gradle: ognl:ognl:3.0.8" level="project" /> 58 | <orderEntry type="library" name="Gradle: org.javassist:javassist:3.18.1-GA" level="project" /> 59 | <orderEntry type="library" name="Gradle: org.unbescape:unbescape:1.1.0.RELEASE" level="project" /> 60 | <orderEntry type="library" name="Gradle: ch.qos.logback:logback-core:1.1.3" level="project" /> 61 | </component> 62 | <component name="TestModuleProperties" production-module="kotlin-nosql-mongodb-petclinic_main" /> 63 | </module> -------------------------------------------------------------------------------- /.idea/uiDesigner.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8"?> 2 | <project version="4"> 3 | <component name="Palette2"> 4 | <group name="Swing"> 5 | <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> 6 | <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" /> 7 | </item> 8 | <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> 9 | <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" /> 10 | </item> 11 | <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false"> 12 | <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" /> 13 | </item> 14 | <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true"> 15 | <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" /> 16 | </item> 17 | <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false"> 18 | <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" /> 19 | <initial-values> 20 | <property name="text" value="Button" /> 21 | </initial-values> 22 | </item> 23 | <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false"> 24 | <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> 25 | <initial-values> 26 | <property name="text" value="RadioButton" /> 27 | </initial-values> 28 | </item> 29 | <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false"> 30 | <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> 31 | <initial-values> 32 | <property name="text" value="CheckBox" /> 33 | </initial-values> 34 | </item> 35 | <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false"> 36 | <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" /> 37 | <initial-values> 38 | <property name="text" value="Label" /> 39 | </initial-values> 40 | </item> 41 | <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true"> 42 | <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> 43 | <preferred-size width="150" height="-1" /> 44 | </default-constraints> 45 | </item> 46 | <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true"> 47 | <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> 48 | <preferred-size width="150" height="-1" /> 49 | </default-constraints> 50 | </item> 51 | <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true"> 52 | <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> 53 | <preferred-size width="150" height="-1" /> 54 | </default-constraints> 55 | </item> 56 | <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true"> 57 | <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> 58 | <preferred-size width="150" height="50" /> 59 | </default-constraints> 60 | </item> 61 | <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> 62 | <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> 63 | <preferred-size width="150" height="50" /> 64 | </default-constraints> 65 | </item> 66 | <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> 67 | <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> 68 | <preferred-size width="150" height="50" /> 69 | </default-constraints> 70 | </item> 71 | <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true"> 72 | <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" /> 73 | </item> 74 | <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false"> 75 | <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> 76 | <preferred-size width="150" height="50" /> 77 | </default-constraints> 78 | </item> 79 | <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false"> 80 | <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3"> 81 | <preferred-size width="150" height="50" /> 82 | </default-constraints> 83 | </item> 84 | <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false"> 85 | <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> 86 | <preferred-size width="150" height="50" /> 87 | </default-constraints> 88 | </item> 89 | <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false"> 90 | <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> 91 | <preferred-size width="200" height="200" /> 92 | </default-constraints> 93 | </item> 94 | <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false"> 95 | <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> 96 | <preferred-size width="200" height="200" /> 97 | </default-constraints> 98 | </item> 99 | <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true"> 100 | <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> 101 | </item> 102 | <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false"> 103 | <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> 104 | </item> 105 | <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false"> 106 | <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" /> 107 | </item> 108 | <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> 109 | <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" /> 110 | </item> 111 | <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false"> 112 | <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1"> 113 | <preferred-size width="-1" height="20" /> 114 | </default-constraints> 115 | </item> 116 | <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false"> 117 | <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" /> 118 | </item> 119 | <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> 120 | <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" /> 121 | </item> 122 | </group> 123 | </component> 124 | </project> 125 | 126 | -------------------------------------------------------------------------------- /src/main/webapp/resources/fonts/basic.icons.svg: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" standalone="no"?> 2 | <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > 3 | <svg xmlns="http://www.w3.org/2000/svg"> 4 | <metadata> 5 | Created by FontForge 20100429 at Thu Sep 20 22:09:47 2012 6 | By root 7 | Copyright (C) 2012 by original authors @ fontello.com 8 | </metadata> 9 | <defs> 10 | <font id="icons" horiz-adv-x="947" > 11 | <font-face 12 | font-family="icons" 13 | font-weight="500" 14 | font-stretch="normal" 15 | units-per-em="1000" 16 | panose-1="2 0 6 3 0 0 0 0 0 0" 17 | ascent="800" 18 | descent="-200" 19 | bbox="-0.666667 -200.023 1350 801.8" 20 | underline-thickness="50" 21 | underline-position="-100" 22 | unicode-range="U+002B-1F6AB" 23 | /> 24 | <missing-glyph horiz-adv-x="364" 25 | d="M33 0v666h265v-666h-265zM66 33h199v600h-199v-600z" /> 26 | <glyph glyph-name=".notdef" horiz-adv-x="364" 27 | d="M33 0v666h265v-666h-265zM66 33h199v600h-199v-600z" /> 28 | <glyph glyph-name=".null" horiz-adv-x="0" 29 | /> 30 | <glyph glyph-name="nonmarkingreturn" horiz-adv-x="333" 31 | /> 32 | <glyph glyph-name="plus" unicode="+" horiz-adv-x="610" 33 | d="M565 350q19 0 24.5 -12.5t5.5 -37.5q0 -17 -1.5 -26t-8.5 -16.5t-20 -7.5h-210v-210q0 -19 -12.5 -24.5t-37.5 -5.5q-17 0 -26 1.5t-16.5 8.5t-7.5 20v210h-210q-19 0 -24.5 12.5t-5.5 37.5q0 17 1.5 26t8.5 16.5t20 7.5h210v210q0 19 12.5 24.5t37.5 5.5q17 0 26 -1.5 34 | t16.5 -8.5t7.5 -20v-210h210z" /> 35 | <glyph glyph-name="hyphen" unicode="-" horiz-adv-x="610" 36 | d="M565 350q19 0 24.5 -12.5t5.5 -37.5q0 -17 -1.5 -26t-8.5 -16.5t-20 -7.5h-520q-19 0 -24.5 12.5t-5.5 37.5q0 17 1.5 26t8.5 16.5t20 7.5h520z" /> 37 | <glyph glyph-name="at" unicode="@" horiz-adv-x="923" 38 | d="M849 516q25 -64 25 -138q0 -103 -46 -182q-59 -92 -163 -92q-43 0 -70 21q-21 15 -30 36q-43 -55 -114 -55q-81 0 -122 58q-41 52 -41 141q0 91 48 147q53 64 142 64q52 0 90 -37l7 26h85l-18 -259q-2 -32 9 -44q7 -7 20 -7q35 0 60 34.5t34 73.5t9 75q0 108 -68 176 39 | q-75 76 -208 76q-128 0 -214 -76q-102 -92 -102 -245q0 -133 86 -221q81 -82 204 -82q137 0 242 46l15 8v-96l-7 -3q-101 -50 -251 -50q-165 0 -269 97q-123 112 -123 308q0 182 116 294q57 56 133 84q77 31 168 31q178 0 284 -106q46 -44 69 -103zM465 199q46 0 69 40 40 | q17 31 17 85q0 45 -16 74q-20 28 -60 28q-44 0 -64 -38q-19 -33 -19 -83q0 -23 4 -43.5t21.5 -41.5t47.5 -21z" /> 41 | <glyph glyph-name="h" unicode="h" horiz-adv-x="1228" 42 | d="M281 54q0 56 32 138q56 164 76 215q31 82 51 144h-25h-31h-26q-51 10 -51 51q0 51 51 51h564q51 0 51 -51q0 -41 -36 -47q-15 -5 -31 -4h-15h-20h-32q11 -41 52 -144q61 -164 77 -210q30 -92 30 -143q0 -46 -40 -87q-31 -31 -87 -31h-461q-51 0 -93 31q-36 46 -36 87z 43 | M481 345h318l-67 206h-184z" /> 44 | <glyph glyph-name="uni2139" unicode="ℹ" horiz-adv-x="490" 45 | d="M367 800q48 0 74 -28t26 -70q0 -50 -39 -88t-95 -38q-47 0 -73.5 27t-25.5 73q0 45 36 84.5t97 39.5zM160 -200q-29 0 -45.5 13.5t-22.5 52.5t14 110l60 255q15 57 0 57q-13 0 -54.5 -18t-70.5 -38l-26 44q91 77 190 125t150 48q26 0 38.5 -20t11 -55.5t-14.5 -85.5 46 | l-69 -268q-16 -63 5 -63q15 0 49.5 16t69.5 44l30 -41q-84 -86 -175 -131t-140 -45z" /> 47 | <glyph glyph-name="arrowleft" unicode="←" horiz-adv-x="789" 48 | d="M0 329q0 20 15 35l345 346q15 15 35 15t34 -15l52 -52q15 -14 15 -34t-15 -35l-174 -174h433q21 0 35 -14t14 -35v-74q0 -20 -14 -34t-34 -14h-434l174 -174q15 -15 15 -35t-15 -34l-52 -52q-14 -15 -34 -15t-35 15l-345 345q-15 15 -15 35z" /> 49 | <glyph glyph-name="arrowup" unicode="↑" horiz-adv-x="789" 50 | d="M-0.5 329q-0.5 20 14.5 35l346 345q15 15 35 15t34 -15l346 -345q14 -15 14 -35t-14 -35l-52 -51q-15 -15 -34.5 -15t-33.5 15l-175 173v-433q0 -20 -14 -34.5t-34 -14.5h-74q-21 0 -35 14.5t-14 34.5v433l-173 -173q-15 -15 -35 -15t-35 15l-51 51q-15 15 -15.5 35z" /> 51 | <glyph glyph-name="arrowright" unicode="→" horiz-adv-x="789" 52 | d="M0 293v74q0 20 14 34t34 14h434l-174 174q-14 15 -14 35t14 34l52 52q15 15 35 15t34 -15l346 -346q14 -15 14 -34.5t-14 -34.5l-346 -346q-14 -15 -34 -15t-35 15l-52 52q-14 14 -14 34t14 35l174 174h-434q-20 0 -34 14t-14 35z" /> 53 | <glyph glyph-name="arrowdown" unicode="↓" horiz-adv-x="789" 54 | d="M0 328q0 20 15 35l51 51q15 15 35 15t35 -15l173 -173v433q0 20 14.5 34.5t34.5 14.5h74q21 0 34.5 -14.5t13.5 -34.5v-433l175 173q14 15 33.5 15t34.5 -15l53 -51q15 -15 15 -35t-15 -35l-347 -345q-14 -15 -34 -15t-35 15l-345 345q-15 15 -15 35z" /> 55 | <glyph glyph-name="house" unicode="⌂" horiz-adv-x="930" 56 | d="M903 285q16 -16 11 -27.5t-28 -11.5h-83v-308q0 -14 -1.5 -21t-8.5 -13.5t-22 -6.5h-204v310h-204v-310h-195q-19 0 -28.5 6.5t-11 13.5t-1.5 21v308h-83q-23 0 -28 11.5t11 27.5l401 401q16 16 37 16t37 -16z" /> 57 | <glyph glyph-name="uni25B4" unicode="▴" horiz-adv-x="490" 58 | d="M15 100l230 400l230 -400h-460z" /> 59 | <glyph glyph-name="uni25B8" unicode="▸" horiz-adv-x="430" 60 | d="M15 530l400 -230l-400 -230v460z" /> 61 | <glyph glyph-name="uni25BE" unicode="▾" horiz-adv-x="490" 62 | d="M475 500l-230 -400l-230 400h460z" /> 63 | <glyph glyph-name="uni25C2" unicode="◂" horiz-adv-x="430" 64 | d="M415 530v-460l-400 230z" /> 65 | <glyph glyph-name="uni2601" unicode="☁" horiz-adv-x="1291" 66 | d="M1292 155q0 -100 -68 -173.5t-167 -80.5v-1h-783v1q-7 -1 -19 -1q-106 0 -180.5 74.5t-74.5 180.5q0 66 33.5 124.5t90.5 92.5q-7 29 -7 56q0 106 74.5 180.5t180.5 74.5q92 0 167 -63q39 82 116 131t167 49q129 0 221 -92t92 -221q0 -50 -15 -93q77 -26 124.5 -92.5 67 | t47.5 -146.5z" /> 68 | <glyph glyph-name="uni2611" unicode="☑" 69 | d="M0 92v474q0 32 12.5 61t33.5 50t50 34t62 13h553q13 0 26 -3l-96 -96h-483q-24 0 -41.5 -17.5t-17.5 -41.5v-474q0 -24 17.5 -41.5t41.5 -17.5h553q24 0 41 17.5t17 41.5v167l99 99v-266q0 -33 -12.5 -61t-34 -50t-50 -34.5t-60.5 -12.5h-553q-33 0 -62 12.5t-50 34.5 70 | t-33.5 50t-12.5 61zM198 431q0 17 11 28l51 51q12 12 28.5 12t28.5 -12l175 -175l335 337q12 12 29.5 12t28.5 -12l51 -50q11 -12 11 -29t-11 -28l-365 -366l-51 -50q-12 -12 -28.5 -12t-28.5 12l-51 50l-203 204q-11 11 -11 28z" /> 71 | <glyph glyph-name="uni2661" unicode="♡" horiz-adv-x="880" 72 | d="M795 591q70 -65 70 -156t-70 -156l-355 -330l-355 330q-70 65 -70 156t70 156q62 58 149.5 58t149.5 -58l56 -52l56 52q62 58 149.5 58t149.5 -58zM743 330q42 38 42 105t-37 100q-42 39 -102 39q-49 0 -102 -49l-104 -91l-104 91q-53 49 -102 49q-60 0 -102 -39 73 | q-37 -33 -37 -100t42 -105l303 -286z" /> 74 | <glyph glyph-name="heart" unicode="♥" horiz-adv-x="890" 75 | d="M804 591q70 -65 70 -156t-70 -156l-359 -330l-359 330q-70 65 -70 156t70 156q63 58 151 58t151 -58l57 -52l57 52q63 58 151 58t151 -58z" /> 76 | <glyph glyph-name="uni2691" unicode="⚑" 77 | d="M0 645q0 32 23 55.5t56 23.5t56 -23.5t23 -55.5q0 -21 -10.5 -38.5t-28.5 -29.5v-623q0 -8 -6 -14t-14 -6h-40q-8 0 -13.5 6t-5.5 14v623q-18 12 -29 29.5t-11 38.5zM158 148v383q0 17 10 34t25 25q53 28 96.5 44t73.5 23q36 9 64 10q35 0 64 -6t55.5 -15.5t51.5 -21.5 78 | l50 -27q33 -14 75 -16q36 -3 84.5 7t106.5 45q14 9 23.5 3.5t9.5 -22.5v-384q0 -16 -9.5 -33.5t-23.5 -25.5q-58 -35 -106.5 -45t-84.5 -8q-42 3 -75 17l-50 27q-25 12 -51.5 21.5t-55.5 15.5t-64 6q-28 -1 -64 -10q-30 -7 -73.5 -23t-96.5 -45q-15 -9 -25 -2.5t-10 23.5z 79 | " /> 80 | <glyph glyph-name="uni2699" unicode="⚙" horiz-adv-x="787" 81 | d="M0 271v117q0 7 7 9q20 6 42 9t43 5q4 0 8 0.5t9 1.5l11 29q6 14 14 29l-28 39q-15 20 -32 39q-6 5 0 13q20 24 42 46t46 42q5 5 13 0q11 -12 23.5 -21.5t24.5 -17.5q8 -5 15 -11t15 -11q27 15 58 24q3 30 6 54.5t8 47.5q2 9 10 9h117q9 0 9 -9q4 -20 7 -40l6 -41l3 -21 82 | q15 -5 29 -10.5t28 -13.5l14 10l12 10l28 19q13 10 26 22q6 6 12 -1l12 -12q5 -5 11 -10l32 -31l31 -34q4 -7 0 -13q-14 -16 -28 -35l-31 -42q15 -30 25 -61q13 -3 26 -4.5t27 -3.5q11 -2 24 -4l25 -4q7 -2 7 -9v-117q0 -7 -7 -10q-19 -5 -40 -7.5t-42 -4.5q-5 -1 -10 -1.5 83 | t-10 -1.5q-5 -15 -11 -29l-13 -29q12 -18 27.5 -38.5t32.5 -39.5q5 -5 0 -13q-40 -49 -89 -88q-5 -5 -12 0q-12 11 -24 20.5t-25 18.5q-7 5 -14.5 11t-14.5 11q-28 -15 -58 -24q-2 -25 -6 -51t-10 -51q-2 -9 -9 -9h-117q-8 0 -10 9q-3 20 -5.5 40t-5.5 41l-3 21l-29 10 84 | q-15 5 -28 14l-14 -10l-13 -10q-27 -19 -53 -41q-7 -6 -13 1l-11 11l-12 11l-32 31q-15 16 -30 34q-5 7 0 13q16 19 30 39l29 38q-16 30 -26 61q-12 3 -25 4.5t-26 3.5t-26 3.5t-25 4.5q-7 2 -7 9zM275 329q0 -25 9.5 -46.5t25.5 -37.5t37.5 -25.5t46 -9.5t46 9.5t37.5 25.5 85 | t25.5 37.5t9.5 46.5q0 24 -9.5 45.5t-25.5 37.5t-37.5 25.5t-46 9.5t-46 -9.5t-37.5 -25.5t-25.5 -37.5t-9.5 -45.5z" /> 86 | <glyph glyph-name="uni26A0" unicode="⚠" horiz-adv-x="894" 87 | d="M5.5 -41q-14.5 25 6.5 59l387 671q19 35 48 35q28 0 49 -35l387 -671q20 -34 6 -59t-54 -25h-775q-40 0 -54.5 25zM168 53h558l-279 483zM389 391q0 6 4.5 10.5t9.5 4.5h89q5 0 9 -4.5t4 -10.5l-7 -192q0 -12 -14 -12h-73q-14 0 -14 12zM392 133q0 14 13 14h82 88 | q14 0 14 -14l1 -51q0 -14 -14 -14h-82q-13 0 -13 14z" /> 89 | <glyph glyph-name="uni26A1" unicode="⚡" horiz-adv-x="430" 90 | d="M55 -150q-4 3 35 92l79 182q40 93 38 99t-94.5 45t-97.5 54q-4 12 84 120.5t179.5 210t96.5 97.5t-74.5 -186t-77.5 -188q1 -3 95 -42.5t97 -56.5q3 -20 -174 -226t-186 -201z" /> 91 | <glyph glyph-name="uni26EF" unicode="⛯" 92 | d="M0 346v88q0 7 5 7q15 4 31 6l32 4q5 0 8 0.5t7 0.5q6 22 18 44q-9 15 -21 30l-24 29q-5 6 0 10q15 18 31.5 35t34.5 32q6 4 10 -1q8 -8 18 -15l18 -14l23 -16q22 11 44 18q2 22 4.5 41t6.5 37q0 5 7 5h88q7 0 7 -6q3 -15 5.5 -30.5t4.5 -31.5l2 -15q21 -7 43 -18l20 15 93 | l21 15q10 8 19 16q6 4 10 -1q5 -4 9 -8l9 -9l23 -23l24 -26q3 -6 0 -10q-11 -11 -22 -25l-23 -33q6 -11 11 -23l9 -23q8 -2 18 -3t21 -3l19 -2q9 -1 17 -4q7 -2 7 -7v-88q0 -6 -6 -8q-14 -3 -31 -5l-32 -4q-4 0 -14 -2q-7 -21 -18 -43q9 -15 20.5 -30t24.5 -29q4 -6 0 -10 94 | q-15 -18 -31.5 -35t-34.5 -32q-7 -4 -10 1q-8 7 -17.5 14.5t-19.5 13.5q-5 6 -11 9.5t-11 7.5q-22 -11 -44 -18q-2 -18 -4 -38.5t-8 -39.5q-2 -5 -7 -5h-88q-7 0 -7 5q-3 15 -5 31l-4 31l-2 16q-21 7 -43 18l-10 -7q-5 -3 -10 -8l-21 -15q-10 -8 -19 -16q-7 -4 -10 1 95 | q-5 4 -8 8l-10 9l-24 22q-12 12 -23 27q-4 4 0 9q12 14 23.5 29.5t20.5 29.5q-10 21 -19 46q-8 2 -18 3t-21 3l-19 2q-9 1 -19 3q-5 3 -5 8zM207 389q0 -37 26.5 -63.5t63.5 -26.5t63 26.5t26 63.5t-26 63t-63 26t-63.5 -26t-26.5 -63zM552 132q-3 6 4 9l22 8q10 4 22 8 96 | q1 6 1.5 10t2.5 9.5t3.5 9t4.5 8.5q-8 11 -14 21t-13 20q-3 6 2 9l66 59q4 4 9 1l18 -15l19 -16q19 8 37 9q5 11 11 21.5t11 20.5q3 5 8 3l85 -26q5 -3 5 -9q-2 -11 -4.5 -22.5t-4.5 -22.5q9 -6 15 -13.5t12 -16.5q12 1 23.5 1.5t23.5 0.5q5 0 7 -5l19 -87q2 -5 -4 -8 97 | q-11 -5 -21 -9l-23 -7q-1 -6 -1.5 -10t-2.5 -9.5t-4 -9t-4 -7.5l15 -21l12 -20q2 -5 -2 -9l-66 -60q-4 -4 -9 0q-9 8 -18.5 15t-17.5 15q-21 -8 -39 -9l-10 -22l-11 -20q-3 -5 -8 -3l-85 26q-5 3 -5 9q2 11 3.5 23t4.5 23q-15 13 -26 29q-12 -2 -24.5 -3t-23.5 1q-5 0 -8 5z 98 | M589 573q0 5 6 8q10 2 20.5 4.5t21.5 4.5q2 4 3 8.5t3 8.5t5 7t5 8q-6 10 -10 20l-8 20q-2 4 2 8l67 44q5 3 9 -1q8 -7 15 -15l14 -16q17 3 35 3q12 19 25 34q3 4 9 3l72 -36q5 -3 3 -9q-2 -10 -5.5 -19.5t-6.5 -20.5q10 -13 19 -30q11 -1 22 -1.5t22 -2.5q5 -2 5 -7l5 -81 99 | q0 -4 -5 -6q-10 -2 -20 -5l-22 -5q-2 -4 -3 -7.5t-3 -7.5q-3 -8 -9 -15q6 -11 10 -21t8 -19q2 -5 -3 -8l-66 -45q-6 -3 -9 1q-13 13 -29 32q-9 -2 -18 -3t-18 0q-6 -10 -12 -19l-13 -17q-3 -3 -9 -1l-72 36q-6 2 -3 7l6 21q3 10 7 20q-6 6 -11 13.5t-9 16.5q-11 1 -22 1.5 100 | t-22 2.5q-5 0 -5 6zM693 148q-8 -23 3 -44.5t36 -29.5q23 -8 44.5 3t28.5 35q9 23 -2 44.5t-36 30.5q-23 7 -44.5 -4t-29.5 -35zM716.5 528q7.5 -21 27.5 -32q21 -9 42 -2t31 27q10 21 3 42t-27 30q-20 11 -41 3.5t-32 -27.5t-3.5 -41z" /> 101 | <glyph glyph-name="uni2708" unicode="✈" horiz-adv-x="1030" 102 | d="M282 -170l125 400h-179l-113 -100h-100l80 170l-80 170h100l113 -100h179l-125 400h100l225 -400h258q6 0 16 -0.5t36 -4t46 -10.5t36 -21t16 -34q0 -31 -37.5 -48.5t-75.5 -19.5l-37 -2h-258l-225 -400h-100z" /> 103 | <glyph glyph-name="uni2709" unicode="✉" horiz-adv-x="930" 104 | d="M45 536q-23 12 -28 33q1 19 25 21h846q33 0 23 -25q-7 -19 -26 -29l-375 -202q-19 -10 -45 -10t-45 10zM896 436q15 4 17 1.5t2 -12.5v-367q0 -16 -17 -32t-33 -16h-800q-16 0 -33 16t-17 32v367q0 10 2 12.5t17 -1.5l386 -202q19 -10 45 -10t45 10z" /> 105 | <glyph glyph-name="uni270D" unicode="✍" 106 | d="M0 92v474q0 32 12.5 61t33.5 50t50 34t62 13h553q2 0 5 -0.5t5 -0.5l-98 -98h-465q-24 0 -41.5 -17.5t-17.5 -41.5v-474q0 -24 17.5 -41.5t41.5 -17.5h553q24 0 41 17.5t17 41.5v229l99 98v-327q0 -33 -12.5 -61t-34 -50t-50 -34.5t-60.5 -12.5h-553q-33 0 -62 12.5 107 | t-50 34.5t-33.5 50t-12.5 61zM324 101l56 169l335 335l113 -114l-334 -335zM445 257q3 -4 8.5 -4t8.5 4l263 262q10 10 0.5 18.5t-18.5 -0.5l-262 -262q-9 -9 0 -18zM772 662l47 48q15 15 35 15t33 -15l24 -23l23 -23q13 -15 13.5 -34.5t-13.5 -34.5l-49 -47z" /> 108 | <glyph glyph-name="uni2715" unicode="✕" horiz-adv-x="500" 109 | d="M467 142q17 -17 17 -42t-17 -42t-42 -17t-42 17l-133 151l-133 -151q-17 -17 -42 -17t-42 17t-17 42t17 42l137 158l-137 158q-17 17 -17 42t17 42t42 17t42 -17l133 -151l133 151q17 17 42 17t42 -17t17 -42t-17 -42l-137 -158z" /> 110 | <glyph glyph-name="uni2716" unicode="✖" horiz-adv-x="870" 111 | d="M435 720q174 0 297 -123t123 -297t-123 -297t-297 -123t-297 123t-123 297t123 297t297 123zM521 300l153 153l-86 86l-153 -153l-153 153l-86 -86l153 -153l-153 -153l86 -87l153 154l153 -153l86 86z" /> 112 | <glyph glyph-name="uni2731" unicode="✱" horiz-adv-x="733" 113 | d="M1 457q-5 19 5 37l37 64q11 18 30.5 23t37.5 -5l170 -99v197q0 21 14 35.5t36 14.5h72q21 0 35.5 -14.5t14.5 -34.5v-198l170 99q18 10 37.5 5t30.5 -23l35 -64q11 -18 6 -37t-23 -29l-171 -99l171 -99q18 -11 23 -29.5t-5 -36.5l-36 -65q-11 -17 -30.5 -22t-37.5 5 114 | l-170 99v-197q0 -21 -14.5 -35.5t-35.5 -14.5h-72q-22 0 -36 14.5t-14 34.5v198l-170 -99q-18 -11 -37.5 -5.5t-30.5 22.5l-37 65q-9 18 -4.5 36.5t22.5 29.5l172 99l-172 99q-18 10 -23 29z" /> 115 | <glyph glyph-name="uni2753" unicode="❓" horiz-adv-x="610" 116 | d="M15 476q5 130 77 202t203 72q128 0 214 -62t86 -183q0 -68 -42 -125q-13 -19 -88 -78l-46 -32q-29 -22 -42 -43.5t-14 -60.5q0 -13 -15 -13h-129q-16 0 -16 12q2 52 6.5 79.5t20.5 45.5q17 20 49.5 46t56.5 42l23 16q61 46 61 102q0 44 -25 79q-25 36 -93 36 117 | q-67 0 -94 -44q-28 -45 -28 -91h-165zM292 54q45 -2 73.5 -31t27.5 -75t-31.5 -73t-75.5 -25q-44 2 -72.5 30.5t-27.5 73.5q1 46 31.5 74t74.5 26z" /> 118 | <glyph glyph-name="uni2757" unicode="❗" horiz-adv-x="789" 119 | d="M0 329q0 82 31 153.5t84.5 125.5t125.5 85t154 31t153.5 -31t125 -85t84.5 -125.5t31 -153.5t-31 -153.5t-84.5 -125.5t-125 -85t-153.5 -31t-154 31t-125.5 85t-84.5 125.5t-31 153.5zM333 579l6 -365q2 -15 16 -15h80q14 0 14 15l8 365q1 6 -4 11q-4 4 -11 4h-95 120 | q-7 0 -10 -4q-4 -4 -4 -11zM336 66q0 -15 15 -15h89q5 0 10 4t5 11v86q0 6 -5 10.5t-10 4.5h-89q-15 0 -15 -15v-86z" /> 121 | <glyph glyph-name="uni2795" unicode="➕" horiz-adv-x="870" 122 | d="M435 720q174 0 297 -123t123 -297t-123 -297t-297 -123t-297 123t-123 297t123 297t297 123zM486 249h202l-1 102h-201v201h-102v-201h-202v-102h202v-202h102v202z" /> 123 | <glyph glyph-name="uni27A2" unicode="➢" horiz-adv-x="890" 124 | d="M863 717q6 -6 9 -12t2.5 -14.5t-2 -15.5t-7.5 -19.5t-12 -23.5l-16 -30l-18 -37q-54 -113 -147 -287l-158 -292l-65 -117l-54 380l-380 54q442 248 696 370l37 18l30 16q11 6 23.5 12t19.5 7.5t15.5 2t14.5 -2.5t12 -9zM772 619l-304 -279l28 -233z" /> 125 | <glyph glyph-name="uni27A6" unicode="➦" 126 | d="M0 4q0 107 37 202t112 166t190.5 112.5t273.5 42.5v150q0 37 18 45t46 -18l252 -254q18 -17 18 -42q0 -24 -18 -42l-252 -254q-26 -26 -45 -18t-19 44v170q-135 -1 -237 -29t-172.5 -76t-110.5 -112.5t-51 -139.5q-2 -17 -19 -17h-1q-17 0 -19 17q-3 26 -3 53z" /> 127 | <glyph glyph-name="uni27F2" unicode="⟲" horiz-adv-x="970" 128 | d="M546 710q169 0 289 -120t120 -290t-120 -290t-289 -120q-140 0 -251 87l70 75q83 -60 181 -60q127 0 217 90.5t90 217.5t-90 217t-217 90q-124 0 -213 -86.5t-93 -210.5h143l-184 -205l-184 205h123q4 167 123 283.5t285 116.5z" /> 129 | <glyph glyph-name="uni27F3" unicode="⟳" horiz-adv-x="970" 130 | d="M424 710q166 0 285 -116.5t123 -283.5h123l-184 -205l-184 205h143q-4 124 -93 210.5t-213 86.5q-127 0 -217 -90t-90 -217t90 -217.5t217 -90.5q98 0 181 60l70 -75q-111 -87 -251 -87q-169 0 -289 120t-120 290t120 290t289 120z" /> 131 | <glyph glyph-name="uni2B0C" unicode="⬌" horiz-adv-x="394" 132 | d="M0.5 131q4.5 12 28.5 12h100v372h-100q-24 0 -28.5 11t12.5 28l158 159q10 11 27 11q16 0 26 -11l158 -159q17 -16 12 -27.5t-29 -11.5h-100v-372h100q24 0 29 -11t-12 -28l-158 -159q-10 -11 -27 -11q-16 0 -26 11l-158 159q-17 15 -12.5 27z" /> 133 | <glyph glyph-name="uni2B0D" unicode="⬍" horiz-adv-x="789" 134 | d="M0 310q0 16 11 26l158 159q16 16 27.5 11.5t11.5 -28.5v-101h373v101q0 24 11 28.5t28 -12.5l159 -158q10 -10 10 -26t-10 -26l-159 -159q-16 -17 -27.5 -12t-11.5 29v101h-373v-101q0 -24 -11 -28.5t-28 12.5l-158 158q-11 10 -11 26z" /> 135 | <glyph glyph-name="uni2ECF" unicode="⻏" horiz-adv-x="789" 136 | d="M0 -30v102q0 15 10.5 25.5t25.5 10.5h718q14 0 24.5 -10.5t10.5 -25.5v-102q0 -15 -10.5 -25.5t-24.5 -10.5h-718q-15 0 -25.5 10.5t-10.5 25.5zM3 239q-9 23 8 39l358 359q11 11 25.5 11t25.5 -11l359 -359q17 -16 7 -39q-8 -22 -32 -22h-718q-24 0 -33 22z" /> 137 | <glyph glyph-name="uniE700" unicode="" horiz-adv-x="1030" 138 | d="M634 78q89 -32 135 -65t46 -58v-105h-800v201q13 6 29.5 11.5t32 10t19.5 5.5q94 34 129.5 69t35.5 95q0 20 -10 31.5t-24 31.5t-21 58q-2 12 -9.5 17.5t-14.5 8t-14 17t-9 43.5q0 15 4.5 25.5t8.5 13.5l5 3q-9 50 -13 88q-2 21 5.5 47.5t27.5 55.5t63.5 48.5t104.5 19.5 139 | t104.5 -19.5t63.5 -48.5t27.5 -55.5t5.5 -47.5l-13 -88q18 -8 18 -42q-2 -29 -9 -43.5t-14 -17t-14.5 -8t-9.5 -17.5q-7 -38 -21 -58t-24 -31.5t-10 -31.5q0 -60 35.5 -95t129.5 -69zM865 350h150v-100h-150v-150h-100v150h-150v100h150v150h100v-150z" /> 140 | <glyph glyph-name="uniE701" unicode="" horiz-adv-x="413" 141 | d="M0.5 423.5q4.5 13.5 26.5 17.5l251 35l111 228q10 20 25 20v-667l-223 -118q-22 -10 -33.5 -1.5t-6.5 31.5l43 248l-181 177q-17 16 -12.5 29.5z" /> 142 | <glyph glyph-name="uniE704" unicode="" horiz-adv-x="950" 143 | d="M469 760q94 1 179.5 -34.5t148 -96t100 -145t38.5 -178.5t-34.5 -179.5t-96 -148t-145 -100t-178.5 -38.5t-179.5 34.5t-148 96t-100 145t-38.5 178.5t34.5 179.5t96 148t145 100t178.5 38.5zM535 84q1 31 -18 50t-50 20q-29 0 -48 -19t-20 -47q-1 -30 18 -48.5t50 -19.5 144 | q29 0 48 18t20 46zM475 486q67 0 67 -66q0 -14 -11 -31.5t-24 -27.5q-3 -1 -16 -10.5t-33 -25.5t-31 -28q-16 -19 -18 -87h107q0 21 5 34q6 16 28 34l28 19q30 23 43.5 36t26 37.5t12.5 55.5q0 74 -53.5 114t-135.5 40q-84 0 -128 -46.5t-48 -130.5h111v5q0 28 16 53 145 | q15 25 54 25z" /> 146 | <glyph glyph-name="uniE705" unicode="" horiz-adv-x="950" 147 | d="M469 760q94 1 179.5 -34.5t148 -96t100 -145t38.5 -178.5t-34.5 -179.5t-96 -148t-145 -100t-178.5 -38.5t-179.5 34.5t-148 96t-100 145t-38.5 178.5t34.5 179.5t96 148t145 100t178.5 38.5zM520 607q-43 0 -65.5 -23.5t-22.5 -50.5q-1 -28 15.5 -43.5t48.5 -15.5 148 | q38 0 61 21.5t23 52.5q0 59 -60 59zM400 12q30 0 84.5 27t105.5 78l-18 24q-46 -36 -72 -36q-12 0 -3 38l42 159q26 96 -21 96q-31 0 -91 -28.5t-115 -74.5l16 -26q17 11 42.5 22t33.5 11t0 -34l-37 -151q-27 -105 33 -105z" /> 149 | <glyph glyph-name="uniE708" unicode="" 150 | d="M0 -26v276q0 17 11.5 28.5t28.5 11.5h355q17 0 28.5 -11.5t11.5 -28.5v-276q0 -17 -11.5 -28.5t-28.5 -11.5h-355q-17 0 -28.5 11.5t-11.5 28.5zM0 408v277q0 16 11.5 27.5t28.5 11.5h355q17 0 28.5 -11.5t11.5 -27.5v-277q0 -17 -11.5 -28t-28.5 -11h-355 151 | q-17 0 -28.5 11t-11.5 28zM514 -26v276q0 17 11 28.5t28 11.5h355q16 0 27.5 -11.5t11.5 -28.5v-276q0 -17 -11.5 -28.5t-27.5 -11.5h-355q-17 0 -28 11.5t-11 28.5zM514 408v277q0 16 11 27.5t28 11.5h355q16 0 27.5 -11.5t11.5 -27.5v-277q0 -17 -11.5 -28t-27.5 -11h-355 152 | q-17 0 -28 11t-11 28z" /> 153 | <glyph glyph-name="uniE70B" unicode="" 154 | d="M0 328.5q0 22.5 13 42.5q40 64 91.5 115t111 86.5t124.5 54t134 18.5q27 0 54 -4t53 -9l45 81q5 8 13 10q6 3 15 -1l68 -39q7 -5 10 -12.5t-1 -15.5l-398 -710q-4 -8 -12 -10q-2 -1 -5 -1t-10 2l-69 39q-8 4 -10 12t2 16l34 59q-75 34 -138.5 91t-111.5 134 155 | q-13 19 -13 41.5zM79 329q42 -67 98.5 -117.5t123.5 -81.5l30 54q-45 32 -71.5 81.5t-26.5 109.5q0 40 13 76.5t35 66.5q-60 -31 -111.5 -78.5t-90.5 -110.5zM316 375q0 -11 8.5 -20t21 -9t21 9t8.5 20q0 40 27 67.5t67 27.5q13 0 21.5 9t8.5 20q0 13 -8.5 21.5t-21.5 8.5 156 | q-31 0 -59.5 -12t-49 -32.5t-32.5 -49t-12 -60.5zM477 13l45 82q107 13 196 74.5t150 159.5q-55 87 -134 145l39 71q47 -34 88 -77t75 -97q11 -20 11 -42.5t-11 -41.5q-82 -131 -201.5 -202t-257.5 -72zM556 155l146 262q2 -10 3 -20t1 -22q0 -38 -11 -72t-31 -62.5 157 | t-48 -50.5t-60 -35z" /> 158 | <glyph glyph-name="uniE70D" unicode="" horiz-adv-x="945" 159 | d="M0 434v229q0 25 18 43t43 18h228q26 0 57 -12.5t48 -30.5l338 -377q16 -18 16.5 -43.5t-16.5 -43.5l-266 -264q-18 -18 -43 -18.5t-43 18.5l-337 377q-17 19 -30 49t-13 55zM99 566q0 -24 17.5 -41.5t41.5 -17.5t41.5 17.5t17.5 41.5t-17.5 41.5t-41.5 17.5t-41.5 -17.5 160 | t-17.5 -41.5zM399 723h87q26 0 57 -13t48 -31l337 -376q17 -19 17.5 -44t-17.5 -43l-265 -264q-18 -18 -43 -18.5t-43 18.5l-6 7l258 258q18 18 17.5 43.5t-17.5 43.5l-336 377q-16 16 -43 28t-51 14z" /> 161 | <glyph glyph-name="uniE711" unicode="" horiz-adv-x="1030" 162 | d="M776 443q99 0 169 -68.5t70 -165.5t-70 -165.5t-169 -68.5h-191v190h105l-175 230l-175 -230h105v-190h-249q-75 0 -128 52t-53 125t53 125t128 52q7 0 21 -2q-3 18 -3 38q0 108 78 184t188 76q89 0 159.5 -52t95.5 -133q19 3 41 3z" /> 163 | <glyph glyph-name="uniE714" unicode="" horiz-adv-x="1350" 164 | d="M277 350l312 -311l-139 -139l-450 450l450 450l139 -139zM900 800l450 -450l-450 -450l-139 139l312 311l-312 311z" /> 165 | <glyph glyph-name="uniE715" unicode="" 166 | d="M0 92v474q0 32 12.5 61t33.5 50t50 34t62 13h429q-3 -16 -3 -33v-26q-84 -11 -159 -40h-267q-24 0 -41.5 -17.5t-17.5 -41.5v-474q0 -24 17.5 -41.5t41.5 -17.5h553q24 0 41 17.5t17 41.5v57q9 5 17 11t16 14l66 65v-147q0 -33 -12.5 -61t-34 -50t-50 -34.5t-60.5 -12.5 167 | h-553q-33 0 -62 12.5t-50 34.5t-33.5 50t-12.5 61zM198 134v19q0 85 29 160.5t89 132t151 89t215 33.5v119q0 29 15 35.5t36 -14.5l201 -201q13 -13 13 -34q0 -20 -13 -32l-201 -202q-21 -21 -36 -14.5t-15 36.5v133q-106 0 -187 -22t-137 -60t-87.5 -89.5t-39.5 -110.5 168 | q-3 -14 -16 -14t-15 14q-2 12 -2 22z" /> 169 | <glyph glyph-name="uniE716" unicode="" 170 | d="M0 -46v178q0 24 9.5 45.5t26 37.5t38 25.5t45.5 9.5h710q25 0 46.5 -9.5t37 -25.5t25 -37.5t9.5 -45.5v-178q0 -20 -20 -20h-907q-20 0 -20 20zM138 33q0 -8 5.5 -13.5t14.5 -5.5h631q9 0 14.5 5.5t5.5 13.5v20q0 9 -5.5 14.5t-14.5 5.5h-631q-9 0 -14.5 -5.5t-5.5 -14.5 171 | v-20zM158 309v376q0 16 11.5 27.5t28.5 11.5h335v-197q0 -25 17 -42.5t42 -17.5h197v-158h-631zM592 527v197l197 -197h-197z" /> 172 | <glyph glyph-name="uniE718" unicode="" horiz-adv-x="830" 173 | d="M715 650q41 0 70.5 -29.5t29.5 -70.5v-350q0 -41 -29.5 -70.5t-70.5 -29.5h-200v-150l-200 150h-200q-41 0 -70.5 29.5t-29.5 70.5v350q0 41 29.5 70.5t70.5 29.5h600z" /> 174 | <glyph glyph-name="uniE720" unicode="" 175 | d="M0 443q0 58 30.5 109t82.5 89t122 60.5t150 22.5t150 -22.5t122 -60.5t82 -89t30 -109q0 -59 -30 -110t-82 -89t-122 -60t-150 -22q-19 0 -36.5 1.5t-35.5 3.5q-36 -28 -77 -48t-89 -30q-21 -5 -42 -6q-12 -2 -17 11v1q-2 6 2 10l8 8q18 18 31.5 39t22.5 67 176 | q-70 38 -111 96t-41 128zM321 77l13 8q13 -2 26 -2h25q98 0 182.5 27.5t147 76t98 114.5t35.5 142q0 20 -3 41q48 -38 75 -86t27 -104q0 -69 -41 -126.5t-110 -96.5q8 -46 22 -66.5t31 -38.5q5 -5 8.5 -9.5t1.5 -9.5q-1 -6 -6.5 -10t-10.5 -3q-11 2 -21 3.5t-21 4.5 177 | q-93 20 -165 76q-18 -2 -36 -3.5t-37 -1.5q-69 0 -129.5 17t-111.5 47z" /> 178 | <glyph glyph-name="uniE722" unicode="" horiz-adv-x="1030" 179 | d="M915 700q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-800q-41 0 -70.5 29.5t-29.5 70.5v600q0 41 29.5 70.5t70.5 29.5h800zM915 0v600h-800v-600h800zM465 195v-90h-250v90h250zM465 345v-90h-250v90h250zM465 495v-90h-250v90h250zM810 175 180 | q2 0 3.5 -17.5t1.5 -35.5v-17h-250q0 70 5 70q10 2 24 7t37.5 22t23.5 37q0 16 -13.5 34.5t-27.5 45.5t-14 64q0 55 20.5 82.5t69.5 27.5t69.5 -27.5t20.5 -82.5q0 -37 -14 -64t-27.5 -45.5t-13.5 -34.5q0 -20 21.5 -36.5t42.5 -22.5z" /> 181 | <glyph glyph-name="uniE724" unicode="" horiz-adv-x="557" 182 | d="M0 445q0 58 22 108.5t60 88t88.5 60t108.5 22.5t108.5 -22.5t88.5 -60t60 -88t22 -108.5q0 -42 -12.5 -79t-31.5 -71l-189 -327q-19 -34 -46 -34t-46 34l-189 327q-19 34 -31.5 71.5t-12.5 78.5zM141 444.5q0 -28.5 10.5 -53.5t29.5 -44t44.5 -29.5t53.5 -10.5t53.5 10.5 183 | t44 29.5t29.5 44t11 53.5t-11 54t-29.5 44t-44 29.5t-53.5 11t-53.5 -11t-44.5 -29.5t-29.5 -44t-10.5 -54z" /> 184 | <glyph glyph-name="uniE729" unicode="" horiz-adv-x="682" 185 | d="M0 546.5q0 8.5 0.5 17t0.5 18.5q12 6 34.5 10t49.5 7.5t55 5.5t52 3q-3 17 -1.5 33.5t7.5 34.5q1 5 6 12.5t19.5 15.5t42.5 14t75 6t75 -6t42.5 -14t19.5 -16l6 -13q7 -18 8 -34t-1 -33q23 -1 51.5 -3t55.5 -5.5t49 -7.5t34 -10q1 -10 1 -18v-17v-17q0 -8 -1 -18 186 | q-10 -6 -32 -10.5t-48 -7.5t-53.5 -5t-50.5 -3t-39 -1.5t-17 -0.5l-100 -1h-14h-29q-20 0 -57 1q-2 0 -17.5 0.5t-38.5 1.5t-50.5 3t-53.5 5t-47.5 7.5t-32.5 10.5q0 10 -0.5 18t-0.5 16.5zM71 444q43 -6 88.5 -8.5t79.5 -3.5q9 -1 24 -1h78h77q15 0 24 1q35 1 80.5 3.5 187 | t89.5 8.5q-6 -80 -9 -163t-7 -163q-1 -20 -1.5 -44.5t-2 -47.5t-6.5 -42.5t-15 -30.5q-13 -11 -44.5 -15t-61.5 -4h-248q-31 0 -62 4t-43 15q-11 11 -15.5 30.5t-6.5 42.5t-2.5 47.5t-1.5 44.5q-4 80 -7.5 163t-7.5 163zM155 337q1 -15 1 -29t1 -23q0 -12 1 -20 188 | q2 -36 3.5 -72t3.5 -70q1 -9 1 -18v-21v-13q0 -6 0.5 -14.5t1.5 -20.5q1 -8 10 -14.5t15 -6.5q5 -1 10 -1t9 -1h11q5 0 5 20v301q0 9 -5.5 14.5t-14.5 5.5l-34 2q-9 0 -14 -5t-5 -14zM268.5 625.5q0.5 -6.5 2.5 -15.5q9 1 21 1h49l71 -1q1 9 1.5 15.5t-0.5 11.5 189 | q-12 4 -31.5 5.5t-40.5 1.5t-40.5 -1.5t-31.5 -5.5q-1 -5 -0.5 -11.5zM307 33q0 -8 5.5 -14t13.5 -6h30q8 0 14 6t6 14v300q0 9 -11.5 14t-15.5 5h-15q-3 0 -15 -5t-12 -14v-300zM455 33q0 -20 4 -20h12q3 1 13.5 1.5t15.5 0.5q5 1 9 7t5 14q0 12 0.5 20.5t0.5 14.5 190 | q0 7 1 13v21q0 9 1 18q2 34 3 69.5t3 71.5q0 9 1 21q1 9 1.5 23t1.5 29q0 9 -5 14t-14 5l-34 -2q-9 0 -14 -5.5t-5 -14.5v-301z" /> 191 | <glyph glyph-name="uniE730" unicode="" horiz-adv-x="730" 192 | d="M615 750q41 0 70.5 -29.5t29.5 -70.5v-700q0 -41 -29.5 -70.5t-70.5 -29.5h-500q-41 0 -70.5 29.5t-29.5 70.5v700q0 41 29.5 70.5t70.5 29.5h500zM615 -50v700h-500v-700h500z" /> 193 | <glyph glyph-name="uniE736" unicode="" horiz-adv-x="730" 194 | d="M665 550q21 0 35.5 -14.5t14.5 -35.5v-600q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5v150h-150q-21 0 -35.5 14.5t-14.5 35.5v600q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5v-150h150zM115 150h100v351q0 21 14 35t35 14h151v100 195 | h-300v-500zM615 -50v500h-300v-500h300z" /> 196 | <glyph glyph-name="uniE73A" unicode="" horiz-adv-x="790" 197 | d="M15 680q155 0 295.5 -60t242.5 -162t162 -242.5t60 -295.5h-118q0 130 -51 249t-137 205t-205 137t-249 51v118zM15 443q142 0 262.5 -70t190.5 -190.5t70 -262.5h-118q0 167 -119 286t-286 119v118zM128 147q47 0 80.5 -33.5t33.5 -80.5t-33.5 -80t-80.5 -33t-80 33 198 | t-33 80t33 80.5t80 33.5z" /> 199 | <glyph glyph-name="uniE73D" unicode="" horiz-adv-x="1006" 200 | d="M209 74q33 0 56 -23t23 -56t-23 -55t-56 -22q-31 0 -54.5 22t-23.5 55t22.5 56t55.5 23zM738.5 74q32.5 0 55 -23t22.5 -56t-22.5 -55t-55 -22t-55.5 22t-23 55t23 56t55.5 23zM261 662h565q26 0 40.5 -13.5t14.5 -36.5v-233q0 -20 -13 -34t-33 -16l-505 -57 201 | q-20 -2 -29 -16.5t0 -28t31 -13.5h479q27 0 37.5 -21t0 -41t-37.5 -20h-489q-52 0 -84 33t-27 77t47 76l43 32l-155 339h-76q-28 0 -39 22.5t0 45t39 22.5h89q31 0 45 -12.5t26 -41.5zM606 592h-130l26 -84h124zM294 592l38 -84h127l-28 84h-137zM402 351l100 10l-32 101 202 | h-119zM546 366l113 12l-25 84h-119zM812 395v67h-132l20 -78zM812 508v84h-161l19 -84h142z" /> 203 | <glyph glyph-name="uniE744" unicode="" horiz-adv-x="789" 204 | d="M0 -22v269q0 27 13.5 33t33.5 -13l86 -85l141 141q6 6 15.5 6t16.5 -6l82 -82q7 -8 7 -17.5t-7 -15.5l-141 -141l86 -85q20 -20 13.5 -34t-33.5 -14h-268q-19 0 -31 13q-14 14 -14 31zM395 434.5q0 9.5 6 15.5l141 141l-85 85q-20 20 -14 34t34 14h267q19 0 32 -13 205 | q13 -14 13 -32v-268q0 -27 -13.5 -33t-33.5 13l-85 85l-141 -140q-7 -7 -16 -7t-17 7l-82 81q-6 8 -6 17.5z" /> 206 | <glyph glyph-name="uniE746" unicode="" horiz-adv-x="789" 207 | d="M0 38.5q0 9.5 6 16.5l141 140l-85 86q-20 20 -13.5 33.5t33.5 13.5h267q20 0 32 -13q14 -13 14 -31v-269q0 -27 -14 -33t-34 14l-85 86l-141 -141q-6 -8 -15.5 -8t-17.5 8l-82 82q-6 6 -6 15.5zM395 373v269q0 27 13.5 33t33.5 -14l85 -86l141 141q7 8 16.5 8t16.5 -8 208 | l82 -82q6 -6 6 -15.5t-6 -16.5l-141 -140l85 -86q20 -20 14 -33.5t-34 -13.5h-267q-21 0 -32 13q-13 13 -13 31z" /> 209 | <glyph glyph-name="uniE750" unicode="" horiz-adv-x="789" 210 | d="M0 394.5q0 68.5 26 128.5t70.5 104.5t104.5 70.5t128 26t128 -26t104.5 -70.5t70.5 -104.5t26 -129q0 -50 -14.5 -95.5t-40.5 -85.5l177 -176q9 -10 9 -24t-9 -23l-46 -46q-10 -10 -23.5 -10t-23.5 10l-176 177q-40 -27 -85.5 -41t-96.5 -14q-68 0 -128 25.5t-104.5 70.5 211 | t-70.5 104.5t-26 128zM132 394q0 -41 15 -76.5t42 -62.5t63 -42.5t77.5 -15.5t77 15.5t62.5 42.5t42 62.5t15 76.5t-15 77t-42 63t-62.5 42.5t-77 15.5t-77.5 -15.5t-63 -42.5t-42 -63t-15 -77zM198 378v33q0 7 4.5 12t11.5 5h82v82q0 6 4.5 11t12.5 5h32q8 0 12.5 -5 212 | t4.5 -11v-82h82q17 0 17 -17v-33q0 -16 -17 -16h-82v-83q0 -16 -17 -16h-32q-17 0 -17 16v83h-82q-7 0 -11.5 4.5t-4.5 11.5z" /> 213 | <glyph glyph-name="uniE751" unicode="" horiz-adv-x="789" 214 | d="M0 394.5q0 68.5 26 128.5t70.5 104.5t104.5 70.5t128 26t128 -26t104.5 -70.5t70.5 -104.5t26 -129q0 -50 -14.5 -95.5t-40.5 -85.5l177 -176q9 -10 9 -24t-9 -23l-46 -46q-10 -10 -23.5 -10t-23.5 10l-176 177q-40 -27 -85.5 -41t-96.5 -14q-68 0 -128 25.5t-104.5 70.5 215 | t-70.5 104.5t-26 128zM132 394q0 -41 15 -76.5t42 -62.5t63 -42.5t77.5 -15.5t77 15.5t62.5 42.5t42 62.5t15 76.5t-15 77t-42 63t-62.5 42.5t-77 15.5t-77.5 -15.5t-63 -42.5t-42 -63t-15 -77zM198 378v33q0 7 4.5 12t11.5 5h230q17 0 17 -17v-33q0 -16 -17 -16h-230 216 | q-7 0 -11.5 4.5t-4.5 11.5z" /> 217 | <glyph glyph-name="uniE75C" unicode="" horiz-adv-x="789" 218 | d="M0 406.5q0 19.5 15 34.5l51 52q15 15 35 15t35 -15l261 -262l257 262q14 15 34 15t35 -15l52 -52q14 -15 15 -34.5t-14 -34.5l-347 -346q-14 -15 -34 -15t-35 15l-345 346q-15 15 -15 34.5z" /> 219 | <glyph glyph-name="uniE75D" unicode="" horiz-adv-x="495" 220 | d="M0 327.5q0 19.5 15 34.5l345 346q15 15 35 15t34 -15l52 -52q15 -14 15 -34t-15 -35l-261 -262l261 -257q15 -15 15 -34.5t-15 -34.5l-52 -52q-14 -15 -34 -15t-35 15l-345 346q-15 15 -15 34.5z" /> 221 | <glyph glyph-name="uniE75E" unicode="" horiz-adv-x="495" 222 | d="M0 34q0 20 15 35l261 261l-261 258q-15 15 -15 34.5t15 33.5l51 53q15 15 35 15t35 -15l345 -346q15 -15 15 -35t-15 -35l-345 -345q-15 -15 -35 -15t-35 15l-51 51q-15 15 -15 35z" /> 223 | <glyph glyph-name="uniE75F" unicode="" horiz-adv-x="789" 224 | d="M-0.5 116.5q-0.5 19.5 14.5 34.5l346 346q15 15 35 15t34 -15l346 -346q14 -15 14 -34.5t-14 -33.5l-52 -53q-15 -15 -35 -15t-34 15l-261 262l-257 -262q-15 -15 -35 -15t-35 15l-51 53q-15 14 -15.5 33.5z" /> 225 | <glyph glyph-name="uniE762" unicode="" 226 | d="M0 -34v726q0 20 18 30q20 7 33 -8l335 -362q9 -9 9 -23t-9 -23l-335 -362q-9 -10 -22 -10q-3 0 -11 2q-18 9 -18 30zM395 -34v726q0 20 18 30q20 7 32 -8l336 -362q8 -9 8 -23t-8 -23l-336 -362q-8 -10 -21 -10q-3 0 -11 2q-18 9 -18 30zM789 -27q0 -16 12 -27.5 227 | t27 -11.5h79q17 0 28.5 11.5t11.5 27.5v711q0 17 -11.5 28.5t-28.5 11.5h-79q-15 0 -27 -11.5t-12 -28.5v-711z" /> 228 | <glyph glyph-name="uniE763" unicode="" 229 | d="M0 -27q0 -16 11.5 -27.5t27.5 -11.5h79q17 0 28.5 11.5t11.5 27.5v711q0 17 -11.5 28.5t-28.5 11.5h-79q-16 0 -27.5 -11.5t-11.5 -28.5v-711zM158 329q0 14 8 22l336 363q7 10 21 10q3 0 12 -2q18 -10 18 -31v-725q0 -21 -18 -30q-20 -7 -33 8l-336 362q-8 9 -8 23z 230 | M553 329q0 14 8 22l336 363q7 10 21 10q3 0 11 -2q18 -10 18 -31v-725q0 -21 -18 -30q-20 -7 -32 8l-336 362q-8 9 -8 23z" /> 231 | <glyph glyph-name="uniE782" unicode="" horiz-adv-x="1228" 232 | d="M256 38.5q0 41.5 30.5 72t71.5 30.5h513q40 0 71 -30.5t31 -72t-31 -72t-71 -30.5h-513q-41 0 -71.5 30.5t-30.5 72zM256 294.5q0 40.5 30.5 71.5t71.5 31h513q40 0 71 -31t31 -71.5t-31 -71.5t-71 -31h-513q-41 0 -71.5 31t-30.5 71.5zM256 550q0 41 30.5 72t71.5 31 233 | h513q40 0 71 -31t31 -72t-31 -71.5t-71 -30.5h-513q-41 0 -71.5 30.5t-30.5 71.5z" /> 234 | <glyph glyph-name="uniE78E" unicode="" horiz-adv-x="750" 235 | d="M0 309q0 94 43 175.5t121 134.5q7 4 15 4q7 -1 13 -9l44 -65q10 -17 -5 -27q-54 -37 -83 -93t-29 -120q0 -53 20 -99.5t54.5 -81.5t81.5 -55t100 -20t100 20t82 55t55 81.5t20 99.5q0 64 -29.5 120t-83.5 93q-6 3 -8 12q-2 7 3 15l45 65q5 7 12.5 8.5t14.5 -3.5 236 | q77 -53 121 -134.5t44 -175.5q0 -78 -29.5 -146t-81 -119t-119.5 -80.5t-146 -29.5t-146 29.5t-119 80.5t-80.5 119t-29.5 146zM316 349v355q0 20 20 20h79q8 0 14 -6t6 -14v-355q0 -8 -6 -14t-14 -6h-79q-20 0 -20 20z" /> 237 | <glyph glyph-name="uniE792" unicode="" 238 | d="M0 -66v790h79v-790h-79zM117 -66v790h19v-790h-19zM183 -66v790h60v-790h-60zM280 -66v790h40v-790h-40zM367 -66v790h39v-790h-39zM464 -66v790h19v-790h-19zM521 -66v790h79v-790h-79zM627 -66v790h40v-790h-40zM724 -66v790h20v-790h-20zM812 -66v790h19v-790h-19z 239 | M868 -66v790h79v-790h-79z" /> 240 | <glyph glyph-name="uniE794" unicode="" horiz-adv-x="558" 241 | d="M0 214q0 41 11.5 79t32.5 71q11 17 35 49.5t53 76t56.5 95t44.5 107.5q5 18 18 26t28 6q16 2 29 -6t18 -26q17 -56 44.5 -107.5t56.5 -95t53 -76t35 -49.5q21 -33 32.5 -71t11.5 -79q0 -58 -22 -109t-60 -89t-89 -60t-109 -22t-108.5 22t-88.5 60t-60 89t-22 109z 242 | M122 152q0 -29 20.5 -49t50.5 -20q28 0 48.5 20t20.5 49q0 19 -10 38q-4 4 -10 12t-13 19t-14 24t-11 27q-4 10 -11 7q-10 3 -12 -7q-4 -14 -11.5 -27t-14.5 -24t-13 -19t-8 -12q-12 -18 -12 -38z" /> 243 | <glyph glyph-name="uniE7A2" unicode="" horiz-adv-x="917" 244 | d="M842 355h-331v335q138 0 234.5 -97t96.5 -234v-4zM406 250h333v4q0 -138 -97.5 -235t-235 -97t-234.5 97t-97 234.5t97 235t234 97.5v-336z" /> 245 | <glyph glyph-name="uniE7AC" unicode="" horiz-adv-x="1224" 246 | d="M144 329l285 122v86l-285 121v-89l188 -76l-188 -75v-89zM470 260h286v69h-286v-69zM1224 800v-900h-1224v900h1224z" /> 247 | <glyph glyph-name="uniE7B5" unicode="" horiz-adv-x="1021" 248 | d="M475 -139v115l-150 -57l-15 26l165 101v58h-317q-19 0 -32.5 13t-13.5 32q0 17 12 29.5t30 15.5v414q-18 1 -30 13.5t-12 29.5q0 19 13.5 32t32.5 13h326l18 49h12l18 -49h332q18 0 31.5 -13t13.5 -32t-13.5 -32t-31.5 -13v-412q18 0 31.5 -13t13.5 -32t-13.5 -32 249 | t-31.5 -13h-328v-58l166 -101l-14 -26l-152 57v-115q0 -13 -9 -22.5t-22 -9.5q-14 0 -22 9.5t-8 22.5zM806 198v404h-595v-404h595z" /> 250 | <glyph glyph-name="uniE800" unicode="" horiz-adv-x="828" 251 | d="M0.5 423.5q4.5 13.5 26.5 17.5l251 35l111 228q10 20 24.5 20t24.5 -20l113 -228l249 -35q23 -4 27.5 -17.5t-11.5 -29.5l-181 -177l42 -248q3 -17 -2.5 -26t-16.5 -9q-7 0 -20 5l-224 118l-223 -118q-13 -5 -20 -5q-12 0 -17.5 9t-2.5 26l43 248l-181 177 252 | q-17 16 -12.5 29.5zM143 377l105 -103l31 -28l-7 -41l-26 -147l131 70l37 19l37 -19l130 -70l-24 147l-8 41l30 28l106 103l-146 21l-41 7l-19 37l-65 132l-66 -132l-17 -37l-42 -7z" /> 253 | <glyph glyph-name="uniE801" unicode="" horiz-adv-x="828" 254 | d="M0.5 423.5q4.5 13.5 26.5 17.5l251 36l111 227q11 21 25 21t24 -21l113 -227l249 -36q23 -4 27.5 -17.5t-11.5 -29.5l-181 -177l42 -248q4 -23 -7.5 -31.5t-31.5 3.5l-224 116l-223 -116q-22 -12 -33.5 -3.5t-6.5 31.5l43 248l-181 177q-17 16 -12.5 29.5z" /> 255 | <glyph glyph-name="uniE802" unicode="" 256 | d="M0 377q0 72 37.5 135t101.5 110t150.5 74.5t184.5 27.5t184 -27.5t150.5 -74.5t101.5 -110t37 -134.5t-37 -135t-101.5 -110t-150.5 -74t-184 -27.5q-47 0 -89 6q-44 -33 -95 -57.5t-109 -36.5l-25 -5l-27 -4q-16 -2 -21 15v1q-2 7 4 12l9 10l21 23q10 11 17.5 25.5 257 | t14.5 34t12 48.5q-85 47 -135.5 118t-50.5 156z" /> 258 | <glyph glyph-name="uniE803" unicode="" 259 | d="M0 63v79q0 20 20 20h113q26 0 50.5 16t48 43t46.5 61l46 72l60 90q30 45 64.5 79.5t75.5 56.5t93 22h104v94q0 21 12.5 25.5t30.5 -10.5l172 -142q11 -10 11 -24t-11 -23l-172 -144q-18 -14 -30.5 -10t-12.5 25v91h-104q-28 0 -52 -16.5t-47.5 -43.5t-47.5 -62l-46 -71 260 | q-28 -46 -58 -90.5t-65 -79t-76.5 -56t-91.5 -21.5h-113q-8 0 -14 5t-6 14zM0 504v79q0 8 6 14t14 6h113q54 0 98 -25t81 -65q-19 -26 -36 -52l-33 -50q-26 33 -53 53t-57 20h-113q-8 0 -14 5.5t-6 14.5zM439 134l35 51l32 51q27 -32 53.5 -52t57.5 -20h104v99q0 21 12.5 25 261 | t30.5 -11l172 -143q11 -9 11 -23q0 -15 -11 -24l-172 -142q-18 -15 -30.5 -11t-12.5 25v87h-104q-56 0 -98.5 24t-79.5 64z" /> 262 | <glyph glyph-name="uniE804" unicode="" horiz-adv-x="789" 263 | d="M0 -34v726q0 20 18 30q20 7 33 -8l335 -362q9 -9 9 -23t-9 -23l-335 -362q-9 -10 -22 -10q-3 0 -11 2q-18 9 -18 30zM395 -34v726q0 20 18 30q20 7 32 -8l336 -362q8 -9 8 -23t-8 -23l-336 -362q-8 -10 -21 -10q-3 0 -11 2q-18 9 -18 30z" /> 264 | <glyph glyph-name="uniE805" unicode="" horiz-adv-x="552" 265 | d="M0 -27q0 -16 11.5 -27.5t27.5 -11.5h79q17 0 28.5 11.5t11.5 27.5v711q0 17 -11.5 28.5t-28.5 11.5h-79q-16 0 -27.5 -11.5t-11.5 -28.5v-711zM158 329q0 14 8 22l336 363q7 10 21 10q3 0 12 -2q18 -10 18 -31v-725q0 -21 -18 -30q-20 -7 -33 8l-336 362q-8 9 -8 23z" /> 266 | <glyph glyph-name="uniE806" unicode="" horiz-adv-x="552" 267 | d="M0 -34v726q0 20 18 30q20 7 33 -8l335 -362q9 -9 9 -23t-9 -23l-335 -362q-9 -10 -22 -10q-3 0 -11 2q-18 9 -18 30zM395 -27q0 -16 11.5 -27.5t27.5 -11.5h79q16 0 28 11.5t12 27.5v711q0 17 -12 28.5t-28 11.5h-79q-16 0 -27.5 -11.5t-11.5 -28.5v-711z" /> 268 | <glyph glyph-name="uniE807" unicode="" horiz-adv-x="789" 269 | d="M0 -30v718q0 15 10.5 25.5t25.5 10.5h718q14 0 24.5 -10.5t10.5 -25.5v-718q0 -15 -10.5 -25.5t-24.5 -10.5h-718q-15 0 -25.5 10.5t-10.5 25.5z" /> 270 | <glyph glyph-name="uniE808" unicode="" horiz-adv-x="789" 271 | d="M0 -30v718q0 15 10.5 25.5t25.5 10.5h251q15 0 25.5 -10.5t10.5 -25.5v-718q0 -15 -10.5 -25.5t-25.5 -10.5h-251q-15 0 -25.5 10.5t-10.5 25.5zM466 -30v718q0 15 10.5 25.5t25.5 10.5h252q14 0 24.5 -10.5t10.5 -25.5v-718q0 -15 -10.5 -25.5t-24.5 -10.5h-252 272 | q-15 0 -25.5 10.5t-10.5 25.5z" /> 273 | <glyph glyph-name="uniE809" unicode="" horiz-adv-x="693" 274 | d="M0 -30v718q0 20 18 30q19 12 36 0l622 -357q18 -13 18 -32t-18 -32l-622 -358q-9 -5 -18.5 -5t-17.5 5q-18 11 -18 31z" /> 275 | <glyph glyph-name="uniE80A" unicode="" horiz-adv-x="789" 276 | d="M0 433v230q0 25 18 43t43 18h230q25 0 55.5 -13t48.5 -30l377 -377q17 -18 17 -43.5t-17 -43.5l-266 -265q-18 -18 -43 -18t-43 18l-377 377q-18 18 -30.5 48.5t-12.5 55.5zM99 566q0 -24 17.5 -41.5t41.5 -17.5t41.5 17.5t17.5 41.5t-17.5 41.5t-41.5 17.5t-41.5 -17.5 277 | t-17.5 -41.5z" /> 278 | <glyph glyph-name="uniE80B" unicode="" 279 | d="M0 -26v139q0 17 11.5 28t28.5 11h153q15 0 27 -11t12 -28v-139q0 -17 -12 -28.5t-27 -11.5h-153q-17 0 -28.5 11.5t-11.5 28.5zM0 271v116q0 17 11.5 28t28.5 11h153q15 0 27 -11t12 -28v-116q0 -17 -12 -28.5t-27 -11.5h-153q-17 0 -28.5 11.5t-11.5 28.5zM0 545v140 280 | q0 16 11.5 27.5t28.5 11.5h153q15 0 27 -11.5t12 -27.5v-140q0 -17 -12 -28.5t-27 -11.5h-153q-17 0 -28.5 11.5t-11.5 28.5zM311 -26v139q0 17 11.5 28t28.5 11h557q16 0 27.5 -11t11.5 -28v-139q0 -17 -11.5 -28.5t-27.5 -11.5h-557q-17 0 -28.5 11.5t-11.5 28.5zM311 271 281 | v116q0 17 11.5 28t28.5 11h557q16 0 27.5 -11t11.5 -28v-116q0 -17 -11.5 -28.5t-27.5 -11.5h-557q-17 0 -28.5 11.5t-11.5 28.5zM311 545v140q0 16 11.5 27.5t28.5 11.5h557q16 0 27.5 -11.5t11.5 -27.5v-140q0 -17 -11.5 -28.5t-27.5 -11.5h-557q-17 0 -28.5 11.5 282 | t-11.5 28.5z" /> 283 | <glyph glyph-name="uniE80C" unicode="" 284 | d="M0 -26v139q0 17 11.5 28t28.5 11h184q16 0 27.5 -11t11.5 -28v-139q0 -17 -11.5 -28.5t-27.5 -11.5h-184q-17 0 -28.5 11.5t-11.5 28.5zM0 271v116q0 17 11.5 28t28.5 11h184q16 0 27.5 -11t11.5 -28v-116q0 -17 -11.5 -28.5t-27.5 -11.5h-184q-17 0 -28.5 11.5 285 | t-11.5 28.5zM0 545v140q0 16 11.5 27.5t28.5 11.5h184q16 0 27.5 -11.5t11.5 -27.5v-140q0 -17 -11.5 -28.5t-27.5 -11.5h-184q-17 0 -28.5 11.5t-11.5 28.5zM342 -26v139q0 17 11.5 28t28.5 11h184q16 0 27.5 -11t11.5 -28v-139q0 -17 -11.5 -28.5t-27.5 -11.5h-184 286 | q-17 0 -28.5 11.5t-11.5 28.5zM342 271v116q0 17 11.5 28t28.5 11h184q16 0 27.5 -11t11.5 -28v-116q0 -17 -11.5 -28.5t-27.5 -11.5h-184q-17 0 -28.5 11.5t-11.5 28.5zM342 545v140q0 16 11.5 27.5t28.5 11.5h184q16 0 27.5 -11.5t11.5 -27.5v-140q0 -17 -11.5 -28.5 287 | t-27.5 -11.5h-184q-17 0 -28.5 11.5t-11.5 28.5zM684 -26v139q0 17 11.5 28t28.5 11h184q16 0 27.5 -11t11.5 -28v-139q0 -17 -11.5 -28.5t-27.5 -11.5h-184q-17 0 -28.5 11.5t-11.5 28.5zM684 271v116q0 17 11.5 28t28.5 11h184q16 0 27.5 -11t11.5 -28v-116 288 | q0 -17 -11.5 -28.5t-27.5 -11.5h-184q-17 0 -28.5 11.5t-11.5 28.5zM684 545v140q0 16 11.5 27.5t28.5 11.5h184q16 0 27.5 -11.5t11.5 -27.5v-140q0 -17 -11.5 -28.5t-27.5 -11.5h-184q-17 0 -28.5 11.5t-11.5 28.5z" /> 289 | <glyph glyph-name="uniE80D" unicode="" horiz-adv-x="789" 290 | d="M0 33q0 20 15 35l261 262l-261 257q-15 15 -15 35t15 34l51 52q15 15 35 15t35 -15l259 -259l259 259q14 15 34 15t35 -15l52 -52q14 -14 14 -34t-14 -35l-261 -262l261 -257q14 -15 14 -34.5t-14 -34.5l-52 -52q-15 -15 -35 -15t-34 15l-259 260l-260 -260 291 | q-15 -15 -34.5 -15t-34.5 15l-51 51q-15 15 -15 35z" /> 292 | <glyph glyph-name="uniE80E" unicode="" 293 | d="M1 339q3 12 14 20l433 356q12 9 25.5 9t25.5 -9l133 -109v61q0 20 20 20h117q20 0 20 -20v-190l144 -118q10 -8 13 -20t-1 -24q-10 -25 -38 -25h-79v-316q0 -17 -11 -28.5t-28 -11.5h-216v237h-198v-237h-217q-17 0 -28.5 11.5t-11.5 28.5v316h-79q-26 0 -37 25 294 | q-4 12 -1 24z" /> 295 | <glyph glyph-name="uniE80F" unicode="" 296 | d="M0 305.5q0 22.5 13 42.5q40 64 91.5 115t111 86.5t124.5 54t134 18.5t134.5 -18.5t124.5 -53.5t110.5 -86t92.5 -116q11 -20 11 -42.5t-11 -41.5q-41 -66 -92.5 -117t-110.5 -85.5t-124.5 -53t-134.5 -18.5t-134 18.5t-124.5 53.5t-111 86t-91.5 116q-13 19 -13 41.5z 297 | M79 306q34 -54 77 -98t93.5 -74.5t107 -47.5t117.5 -17t117 17t106.5 47.5t94 74.5t76.5 98q-41 66 -96 116t-121 81q26 -31 40.5 -69t14.5 -82q0 -49 -18.5 -92t-51 -75.5t-75.5 -51t-92 -18.5t-91.5 18.5t-75.5 51t-51 75.5t-18 92q0 40 13 76.5t35 65.5 298 | q-60 -30 -111.5 -78t-90.5 -110zM316 352q0 -11 8.5 -20t21 -9t21 9t8.5 20q0 40 27 67.5t67 27.5q13 0 21.5 9t8.5 20q0 13 -8.5 21.5t-21.5 8.5q-31 0 -59.5 -12t-49 -32.5t-32.5 -49t-12 -60.5z" /> 299 | <glyph glyph-name="uniE810" unicode="" 300 | d="M0 -7v672q0 24 17.5 41.5t41.5 17.5h356q24 0 41.5 -17.5t17.5 -41.5t17 -41.5t42 -17.5h355q25 0 42 -18t17 -42v-553q0 -24 -17 -41.5t-42 -17.5h-829q-24 0 -41.5 17.5t-17.5 41.5z" /> 301 | <glyph glyph-name="uniE811" unicode="" horiz-adv-x="530" 302 | d="M265 700q103 0 176.5 -73t73.5 -177q0 -67 -25.5 -148t-62.5 -149.5t-74 -127t-63 -91.5l-25 -34l-27 35q-17 22 -60 89t-76 130t-60 146t-27 150q0 104 73.5 177t176.5 73zM265 312q56 0 95.5 39.5t39.5 95.5t-39.5 95.5t-95.5 39.5t-95.5 -39.5t-39.5 -95.5t39.5 -95.5 303 | t95.5 -39.5z" /> 304 | <glyph glyph-name="uniE812" unicode="" horiz-adv-x="1030" 305 | d="M871 466h-100l-124 151l-214 -151h-180q-53 0 -90.5 -38t-37.5 -92v-159l-107 297q-6 16 0.5 31t21.5 20l680 248q15 5 29 -2t20 -23zM977 376q16 0 27 -11.5t11 -28.5v-471q0 -17 -11 -28.5t-27 -11.5h-724q-16 0 -27 11.5t-11 28.5v471q0 17 11 28.5t27 11.5h724z 306 | M922 -75v161l-73 161l-167 -60l-129 -133l-139 172l-92 -215v-86h600z" /> 307 | <glyph glyph-name="uniE813" unicode="" 308 | d="M0 665v39q0 20 20 20h119q8 0 19 -2.5t19 -4.5q3 -2 7 -7t8 -12t6.5 -14t3.5 -11l14 -64h692q18 0 29.5 -13.5t8.5 -30.5l-55 -297q-4 -13 -14.5 -22t-24.5 -9h-557l18 -86q2 -8 8.5 -13.5t15.5 -5.5h440q8 0 14 -5.5t6 -14.5v-40q0 -8 -6 -13.5t-14 -5.5h-84h-335h-54 309 | q-8 0 -18.5 1.5t-18.5 4.5q-3 2 -7 7.5t-8 12.5t-6.5 13.5t-3.5 11.5l-110 522q-3 8 -9.5 13.5t-15.5 5.5h-87q-20 0 -20 20zM299 -7q0 24 17.5 42t41.5 18q25 0 42.5 -18t17.5 -42t-17.5 -41.5t-42.5 -17.5q-24 0 -41.5 17.5t-17.5 41.5zM634 -7q0 24 17 42t41.5 18t42 -18 310 | t17.5 -42t-17.5 -41.5t-42 -17.5t-41.5 17.5t-17 41.5z" /> 311 | <glyph glyph-name="uniE814" unicode="" horiz-adv-x="1228" 312 | d="M31 151q0 46 82 97q66 36 143 46v51q-77 77 -77 190q0 194 154 194q77 0 97 -20q26 -20 36 -92q-97 -66 -98 -246q0 -159 67 -230q-26 0 -71 -31l-36 -20l-11 -10q-15 -11 -25 -21l-26 -26q-25 0 -138 31q-97 31 -97 87zM281 -43.5q0 40.5 93 97.5q87 46 158 51v56 313 | q-82 77 -81 205q0 210 163.5 210t163.5 -210q0 -128 -81 -205v-56q71 -6 158 -51.5t87 -96.5q0 -41 -71 -62q-77 -21 -149 -31q-46 -5 -107.5 -5t-107.5 5q-71 10 -148.5 31t-77.5 61.5zM763 617q10 72 36 92q20 20 97 20q153 0 153 -194q0 -113 -76 -190v-51 314 | q76 -10 143 -46q87 -46 87 -97t-102 -87q-113 -31 -139 -31l-25 26q-10 10 -26 21l-10 10q-20 10 -36 20q-46 31 -71 31q66 71 66 230q0 180 -97 246z" /> 315 | <glyph glyph-name="uniE815" unicode="" horiz-adv-x="1228" 316 | d="M358 341l384 414l-128 -358l257 -149l-384 -414l127 358z" /> 317 | <glyph glyph-name="uniE817" unicode="" horiz-adv-x="961" 318 | d="M481 722q169 0 287 -117t118 -286q0 -170 -117.5 -288.5t-287.5 -118.5q-169 0 -287.5 118.5t-118.5 288.5q0 167 118.5 285t287.5 118zM504 -11q67 0 116 169q-58 -6 -116 -8v-161zM375 70q34 -81 81 -81v161q-58 2 -115 8q11 -48 34 -88zM152 272q34 -40 133 -57 319 | q-7 46 -7 100q0 33 3 69q-82 16 -117 31q-14 -47 -14 -96q0 -33 2 -47zM322 315q0 -57 8 -109q60 -10 126 -12v176q-76 2 -132 9q0 -11 -1 -32t-1 -32zM454 646q-43 -16 -76 -77t-48 -148q61 -5 126 -7v232h-2zM536 629q-26 17 -32 17v-232q62 1 127 7q-26 145 -95 208z 320 | M504 194q64 1 126 11q8 40 8 110q0 41 -2 63q-64 -7 -132 -8v-176zM680 384q2 -24 2 -69q0 -49 -6 -101q90 15 112.5 36.5t22.5 68.5q0 50 -15 95q-57 -24 -116 -30zM779 458q-57 123 -179 167q54 -70 74 -199q84 15 105 32zM248 550q-40 -36 -66 -91q6 -5 104 -31 321 | q22 124 75 196q-80 -38 -113 -74zM248 85q40 -44 106 -71q-40 56 -60 151q-84 19 -125 41q31 -77 79 -121zM714 85q48 45 75 116q-47 -21 -121 -37q-23 -96 -62 -150q68 28 108 71z" /> 322 | <glyph glyph-name="uniF301" unicode="" horiz-adv-x="978" 323 | d="M188 800h602q73 0 123.5 -51t50.5 -123v-602q0 -72 -50.5 -123t-123.5 -51h-602q-72 0 -123 51t-51 123v602q0 72 51 123t123 51zM515 -150h141v371h139l6 134h-145v97q0 32 10.5 46t45.5 14l85 -1l4 126q-41 4 -95 4q-95 0 -143 -49t-48 -123v-114h-99v-134h99v-371z 324 | " /> 325 | <glyph glyph-name="uniF303" unicode="" horiz-adv-x="1332" 326 | d="M1318 385q-35 -5 -77.5 -0.5t-69.5 15.5q53 4 90.5 27t51.5 57q-22 -14 -69.5 -21t-84.5 4q-1 4 -3 14.5t-4 16.5q-26 97 -105.5 161.5t-170.5 54.5l29 11q2 1 14.5 4t24 6.5t23.5 9t17.5 12t1.5 14.5q-2 7 -14.5 7.5t-29.5 -4t-32.5 -9.5t-31 -11t-18.5 -7q64 24 69 53 327 | q-59 -8 -103 -49q17 19 20 39q-68 -43 -115 -122.5t-89 -192.5q-62 59 -99 79q-136 73 -335 148q-4 -42 23.5 -87.5t88.5 -77.5q-27 4 -81 -9q9 -48 43 -81t104 -49q-61 -4 -90 -35q19 -37 59.5 -61.5t101.5 -18.5q-35 -15 -46.5 -36.5t-2 -39t34.5 -28.5t55 -6 328 | q-68 -71 -158.5 -94.5t-177 -1.5t-148.5 82q79 -108 191.5 -172.5t229 -80t237 6.5t219.5 77.5t172.5 142.5t99.5 193q101 -1 155 59z" /> 329 | <glyph glyph-name="uniF308" unicode="" horiz-adv-x="1132" 330 | d="M456 224q0 51 -22 87.5t-52.5 36.5t-52 -36.5t-21.5 -87.5t21.5 -87t52.5 -36t52.5 36t21.5 87zM856 224q0 51 -22 87.5t-52.5 36.5t-53 -36.5t-22.5 -87.5t22 -87t53.5 -36t53 36t21.5 87zM933 238q0 -37 -4.5 -68.5t-14.5 -55t-21 -42.5t-29.5 -32.5t-35 -23.5 331 | t-42.5 -16t-46.5 -10t-52 -6t-54.5 -2.5t-58 -0.5q-65 0 -114 5.5t-97 21.5t-78 43.5t-49 74.5t-19 112q0 78 61 142q23 24 58.5 33.5t65.5 8.5t84.5 -5.5t87.5 -4.5t87 4.5t85 5.5t66.5 -8.5t57.5 -32.5q62 -67 62 -143zM724 -99q156 15 239.5 64.5t120.5 136.5q6 12 19 59 332 | q16 52 16 174q0 146 -102 248q31 101 -15 216q-3 1 -9 2t-27 -1t-45.5 -9t-65.5 -27t-85 -50q-91 23 -198 23q-115 0 -218 -28q-47 32 -89 53t-68.5 28t-46.5 10t-28 1l-9 -2q-21 -54 -24 -108.5t2.5 -79.5t12.5 -43q-90 -98 -90 -233q0 -115 27 -193q2 -8 22 -48 333 | q87 -162 364 -193h297z" /> 334 | <glyph glyph-name="u1D30D" unicode="𝌍" horiz-adv-x="1228" 335 | d="M154 294q0 190 133 323q138 138 327 138q195 0 323 -138q138 -128 138 -323q0 -189 -138 -327q-133 -133 -323 -133q-184 0 -327 133q-133 143 -133 327zM251 494h30q26 -30 32 -30q25 -93 55 -108l26 -15q16 0 16 25q0 20 -10 31q0 20 4 25q11 21 21 26q10 20 15 20 336 | l11 -15q15 -30 30 -36v-10q6 -15 6 -20v-10q0 -6 -6 -6q0 -5 -8 -5h-12q5 0 5 -10q6 -11 10 -15l11 -26l15 -26q5 -10 15 -20q16 -31 36 -36q21 -15 56 -15v-21l11 -5q5 0 5 -5q20 0 30 5l6 -5q-6 -20 -47 -41l-40 -15v-11q0 -5 -3 -15t-3 -25q-10 -57 -15 -62q26 -6 41 -5 337 | q10 0 41 10l41 10q15 -10 25 -25v-15l16 -6v-20l-5 -6l5 -10h15q31 0 36 36q41 16 61 46q21 26 21 72l-5 5q-21 36 -21 46q-15 31 -15 41q10 -15 30 -15h6l26 5l-16 25v6l20 -21l-10 -26l26 16l15 -5q16 5 26 30h-10v26l-16 -10l-5 5v5q-15 0 -20 5q-6 0 -6 11v4 338 | q-36 21 -46 21v-21v-10h-5q-25 31 -56 31h-20q-11 10 -21 10h-10v16l-10 5q0 5 -3 15t-3 20q-5 21 -15 32l5 10h-20q-10 36 -21 35l5 26v20l-15 6q-26 0 -26 -26l16 -31q-10 -20 -10 -25q0 -16 5 -21l-5 -10q-10 -10 -11 -20v-6l-46 -35q-5 0 -5 10v10v10q0 16 -15 36l15 -5 339 | q16 0 26 36v20q0 21 -6 26q11 0 11 25q56 11 56 72q0 16 -15 46l-10 10h5q15 -26 30 -25q6 0 16 10q5 10 5 21q0 15 -11 25l-4 5v6q20 10 20 15q5 5 5 15v31q-51 10 -72 10q-225 0 -363 -215zM650 305v20q0 -5 11 -15zM676 238v16q0 10 5 15v-31h20v5v-5h6q10 0 15 5l10 -5 340 | q16 -5 16 -15q0 -5 -6 -11h-10q-20 0 -30.5 -10t-15.5 -10l-5 5q20 0 20 21v15h-15l-5 5h-5zM758 207q5 -5 10 -5v-10q-5 -10 -5 -15v10q-5 5 -5 20zM891 141q0 -16 15 -31q10 -10 26 -10l10 -5q10 0 10 -5q-15 51 -25 56q-16 16 -31 25q0 -10 -5 -20v-10z" /> 341 | <glyph glyph-name="u1F304" unicode="🌄" 342 | d="M0 -7v672q0 24 17.5 41.5t41.5 17.5h829q25 0 42 -17.5t17 -41.5v-672q0 -24 -17 -41.5t-42 -17.5h-829q-24 0 -41.5 17.5t-17.5 41.5zM79 13h789v632h-789v-632zM158 92v54l142 185l97 -80l182 276l210 -218v-217h-631zM158 486q0 33 23 56.5t57 23.5q33 0 56 -23.5 343 | t23 -56.5t-23 -56t-56 -23q-34 0 -57 23t-23 56z" /> 344 | <glyph glyph-name="u1F310" unicode="🌐" horiz-adv-x="1228" 345 | d="M307 -115q0 51 51 51h205v61q-127 16 -235 113q-11 10 -11 36q0 21 11 31q15 15 30 15q21 0 36 -15q72 -72 169 -87h102q98 15 170 87q92 92 92 220t-92 220l-31 36l138 133q10 15 30.5 15t31.5 -15q15 -10 15 -30.5t-15 -30.5l-72 -77q87 -113 87 -251q0 -159 -118 -287 346 | q-107 -97 -236 -113v-61h206q51 0 51 -51t-51 -51h-513q-51 0 -51 51zM364 396.5q0 102.5 74 177t176.5 74.5t176.5 -74.5t74 -177t-74 -176.5t-176.5 -74t-176.5 74t-74 176.5z" /> 347 | <glyph glyph-name="u1F381" unicode="🎁" 348 | d="M0 230v198q0 8 6 14t14 6h272q-29 0 -54 10.5t-44 29.5t-30 44t-11 53.5t11 54t30 44t44 29.5t54 11q30 0 57.5 -12.5t45.5 -35.5l79 -102l79 102q18 23 45 35.5t58 12.5q28 0 53.5 -11t44.5 -29.5t30 -44t11 -54t-11 -53.5t-30 -44t-44.5 -29.5t-53.5 -10.5h271 349 | q9 0 14.5 -6t5.5 -14v-198q0 -8 -5.5 -13.5t-14.5 -5.5h-59v-218q0 -24 -17 -41.5t-42 -17.5h-671q-24 0 -41.5 17.5t-17.5 41.5v218h-59q-8 0 -14 5.5t-6 13.5zM232 586q0 -24 17.5 -41.5t42.5 -17.5h119l-77 99q-6 5 -16.5 12t-25.5 7q-25 0 -42.5 -17.5t-17.5 -41.5z 350 | M375 45q0 -16 11.5 -27.5t28.5 -11.5h118q16 0 28 11.5t12 27.5v403h-198v-403zM536 527h120q24 0 42 17.5t18 41.5t-18 41.5t-42 17.5q-16 0 -26.5 -7t-15.5 -12z" /> 351 | <glyph glyph-name="u1F3A4" unicode="🎤" horiz-adv-x="670" 352 | d="M635 438q8 0 14 -6t6 -14v-138q0 -93 -69 -165t-201 -83v-132h130q8 0 14 -6t6 -14v-60q0 -8 -6 -14t-14 -6h-360q-8 0 -14 6t-6 14v60q0 8 6 14t14 6h130v132q-132 11 -201 83t-69 165v138q0 8 6 14t14 6h30q8 0 14 -6t6 -14v-138q0 -28 12 -57t38.5 -58t78 -47 353 | t121.5 -18t121.5 18t78 47t38.5 58t12 57v138q0 8 6 14t14 6h30zM335 200q-79 0 -114.5 25t-35.5 55v158h300v-158q0 -30 -35.5 -55t-114.5 -25zM485 720v-212h-300v212q0 30 35.5 55t114.5 25t114.5 -25t35.5 -55z" /> 354 | <glyph glyph-name="u1F3A7" unicode="🎧" 355 | d="M0 309q0 57 19.5 110t52.5 99t79 83.5t98.5 65t110 42.5t114.5 15t114 -15t110 -42.5t98.5 -65t78.5 -83.5t52.5 -99t19.5 -110q0 -92 -38 -174l-13 -29l-85 -13q-14 -51 -55.5 -85t-97.5 -34v-20q0 -8 -6 -14t-14 -6h-40q-9 0 -14 6t-5 14v355q0 8 5 14t14 6h40 356 | q8 0 14 -6t6 -14v-19q44 0 79.5 -22t56.5 -57l20 2q15 45 15 96q0 61 -32.5 115t-84 94t-114.5 64t-124 24t-124.5 -24t-114.5 -64t-83.5 -94t-32.5 -115q0 -48 15 -96l20 -2q21 35 56 57t79 22v19q0 8 6 14t14 6h40q9 0 14 -6t5 -14v-355q0 -8 -5 -14t-14 -6h-40 357 | q-8 0 -14 6t-6 14v20q-55 0 -96.5 34t-55.5 85l-85 13l-14 29q-38 82 -38 174z" /> 358 | <glyph glyph-name="u1F3C6" unicode="🏆" horiz-adv-x="930" 359 | d="M524 82v-65q71 -8 117 -32t46 -55q0 -37 -65 -63.5t-157 -26.5t-157 26.5t-65 63.5q0 31 46 55t117 32v65q0 50 -33 85t-112 87q-45 30 -69 47.5t-63.5 54.5t-60 72t-37 88.5t-16.5 115.5q0 14 10 24.5t25 10.5h172q21 39 81.5 66t161.5 27t161.5 -27t81.5 -66h172 360 | q15 0 25 -10.5t10 -24.5q0 -62 -16.5 -115.5t-37 -88.5t-60 -72t-63.5 -54.5t-69 -47.5q-79 -52 -112 -87t-33 -85zM663 335q80 54 126 112t54 150h-126q-5 -157 -54 -262zM465 699q-39 0 -72 -6t-54 -15t-36 -20t-21.5 -20t-6.5 -16t6.5 -16t21.5 -20t36 -20t54 -15t72 -6 361 | t72 6t54 15t36 20t21.5 20t6.5 16t-6.5 16t-21.5 20t-36 20t-54 15t-72 6zM87 597q8 -92 54 -150t126 -112q-49 105 -54 262h-126z" /> 362 | <glyph glyph-name="u1F3C9" unicode="🏉" horiz-adv-x="868" 363 | d="M0 470v96q0 17 11.5 28t28.5 11h166q-1 6 -1 13v12v2q0 27 2 45t8 28t16.5 14.5t28.5 4.5h348q17 0 28 -4.5t17 -14.5t8 -28t2 -45v-14q0 -6 -1 -13h166q17 0 28.5 -11t11.5 -28v-96q0 -33 -23 -67.5t-62.5 -65.5t-92.5 -55t-114 -33q-27 -5 -47.5 -21.5t-20.5 -36.5 364 | q0 -18 9 -26.5t20 -15.5t20.5 -16t11.5 -27q3 -12 -1 -24q-2 -8 12.5 -12.5t35 -9.5t42 -11.5t33.5 -17.5q6 -5 9.5 -20.5t4.5 -33.5q1 -16 -3 -29.5t-15 -13.5h-506q-10 0 -14.5 13.5t-3.5 29.5q1 18 5 33.5t10 20.5q11 11 32.5 17.5t42 11.5t35 9.5t12.5 12t-2 12.5v12 365 | q1 18 11 27t21.5 16t20.5 15.5t9 26.5q0 20 -20.5 36.5t-47.5 21.5q-60 10 -113.5 34t-93 54.5t-62.5 65t-23 67.5zM79 470q0 -11 12 -28t34.5 -36t55 -37t72.5 -31q-13 41 -23 90t-17 98h-134v-56zM616 338q40 13 72 31t54.5 37t34.5 36t12 28v56h-134q-7 -49 -17 -98 366 | t-22 -90z" /> 367 | <glyph glyph-name="u1F44D" unicode="👍" horiz-adv-x="824" 368 | d="M0.5 168q-1.5 59 2 118t13.5 110q47 3 98.5 3t94.5 -10q7 -40 11 -96t5.5 -116t0.5 -116.5t-5 -98.5q-19 -3 -43.5 -3.5t-51.5 1t-53 2t-47 0.5q-10 40 -17 93.5t-8.5 112.5zM96 41q0 -17 11.5 -28.5t28.5 -11.5t28 11.5t11 28.5q0 15 -11 26.5t-28 11.5t-28.5 -11.5 369 | t-11.5 -26.5zM253 368q23 10 37 20t25.5 22.5t24 27.5t32.5 36q16 17 29.5 28t24.5 21t20 21t18 27q17 31 22.5 68.5t13.5 71.5q0 7 7 12q20 3 37 -4t29.5 -18.5t20.5 -27.5t11 -29q7 -35 -1 -63t-20 -53l-24 -49q-11 -24 -12 -50q23 -10 55 -10.5t66.5 1.5t67 2t55 -9 370 | t30 -30.5t-5.5 -63.5q0 -2 -2 -5l-6 -8q-3 -5 -5 -10l-2 -3q12 -11 17 -24t5 -21q1 -41 -34 -72q11 -15 12 -32.5t-4 -33.5t-15 -28t-23 -18q6 -36 -6.5 -61.5t-37 -40.5t-59.5 -21.5t-73 -6.5t-76.5 5.5t-70.5 14.5q-21 7 -41 15l-41 15q-20 8 -43 12.5t-48 -0.5 371 | q2 41 2.5 89.5t-1 98.5t-4.5 97.5t-7 86.5z" /> 372 | <glyph glyph-name="u1F44E" unicode="👎" horiz-adv-x="824" 373 | d="M1 410q-1 22 8 39.5t26 32.5q-10 15 -11 32.5t4 33.5t15 28t22 18q-6 36 6.5 61.5t37.5 40.5t59.5 21.5t72.5 6.5t76.5 -5.5t70.5 -14.5q21 -7 41 -15t41 -15.5t43.5 -11.5t47.5 1q-2 -41 -2.5 -90t1 -99t4 -97.5t8.5 -86.5q-24 -11 -38 -21t-25 -22t-23.5 -27t-32.5 -35 374 | q-16 -18 -29 -29l-24 -21q-12 -10 -21.5 -20.5t-18.5 -27.5q-17 -31 -21.5 -68.5t-14.5 -71.5q0 -9 -7 -12q-21 -3 -37.5 4t-29 18.5t-20.5 26.5t-11 30q-6 35 1.5 63t20 53t23.5 49.5t12 50.5q-22 9 -54.5 9t-67 -1.5t-66.5 -1.5t-54.5 9t-30.5 30.5t5 62.5q1 1 4 6l6 9 375 | q2 4 3 9l2 3q-11 11 -16.5 24t-5.5 21zM598 597.5q1 56.5 5 98.5q19 2 44.5 2.5t52 0t52.5 -1.5t47 -1q10 -40 16.5 -93.5t8 -112t-2 -118t-13.5 -110.5q-47 -4 -98 -4t-95 11q-7 40 -11 96t-5.5 116t-0.5 116.5zM649 618q0 -16 12 -28t28 -12t27.5 12t11.5 28t-11.5 27.5 376 | t-27.5 11.5t-28 -11.5t-12 -27.5z" /> 377 | <glyph glyph-name="u1F464" unicode="👤" horiz-adv-x="970" 378 | d="M751 78q94 -34 149 -67t55 -56v-105h-940v105q0 23 55 56t149 67q93 34 128 69t35 95q0 20 -10 31.5t-24 31.5t-21 58q-2 12 -9 17.5t-14.5 8t-14 17t-8.5 43.5q0 15 4.5 25.5t8.5 13.5l5 3q-9 50 -13 88q-2 21 6 47.5t27.5 55.5t62.5 48.5t103 19.5t103 -19.5 379 | t62.5 -48.5t27.5 -55.5t6 -47.5l-13 -88q18 -8 18 -42q-2 -29 -8.5 -43.5t-14 -17t-14.5 -8t-9 -17.5q-7 -38 -21 -58t-24 -31.5t-10 -31.5q0 -60 35 -95t128 -69z" /> 380 | <glyph glyph-name="u1F465" unicode="👥" horiz-adv-x="1030" 381 | d="M1015 -125h-225v144q0 52 -30 78.5t-154 85.5q41 29 41 81q0 14 -13.5 31.5t-18.5 49.5q-1 8 -5.5 11.5t-8.5 5t-8.5 11.5t-5.5 29q0 10 2.5 17t5.5 9l3 2q-6 33 -8 59q-1 14 3.5 31.5t16.5 37t38 32.5t62 13t62 -13t37.5 -32.5t16 -37t3.5 -31.5l-7 -59q10 -6 10 -28 382 | q-1 -19 -5.5 -29t-8.5 -11.5t-8.5 -5t-5.5 -11.5q-5 -32 -18.5 -49.5t-13.5 -31.5q0 -40 21 -63.5t77 -46.5q61 -25 90 -41t41 -36q5 -8 8.5 -58.5t4.5 -96.5zM526 127q89 -36 136.5 -64t47.5 -56v-132h-695v176q0 20 15.5 36t28.5 22.5t35 15.5q3 1 5 2q75 30 103 61t28 85 383 | q0 19 -18.5 42t-25.5 66q-2 10 -7.5 15t-11.5 7t-11 15t-7 39q0 13 3.5 22.5t7.5 12.5l4 2q-8 45 -11 79q-2 19 4.5 42t22 49t50.5 43.5t83 17.5t82.5 -17.5t50 -43.5t22 -49t4.5 -42l-10 -79q14 -7 14 -37q-2 -26 -7.5 -39t-11 -15t-11 -7t-7.5 -15q-7 -43 -25 -66t-18 -42 384 | q0 -54 28 -85t102 -61z" /> 385 | <glyph glyph-name="u1F4A1" unicode="💡" horiz-adv-x="670" 386 | d="M473 10h-265q0 59 -21.5 114.5t-50.5 97.5l-59 86q-29 43 -47 97t-14 112q3 43 14.5 81.5t36 76t59 64.5t88.5 44t121 17t121 -17t88.5 -44t59 -64.5t36 -76t14.5 -81.5q4 -59 -12.5 -113t-43.5 -98l-56 -86q-29 -44 -49 -98t-20 -112zM203 -159v99h264v-99 387 | q-60 -42 -132 -41q-72 -1 -132 41z" /> 388 | <glyph glyph-name="u1F4B0" unicode="💰" horiz-adv-x="803" 389 | d="M312 349q17 20 66 23v-84q-43 3 -59.5 10t-16.5 28q0 13 10 23zM420 108v91q48 -4 63 -10.5t15 -24.5q0 -45 -78 -56zM490 351q22 -12 29 -19.5t7 -17.5l8 -4l45 90l-7 5q-10 -7 -13 -7q-8 0 -13 3q-90 35 -126 35v18q0 14 20 18v9h-79v-9q17 -4 17 -18v-15 390 | q-73 -3 -113 -35.5t-40 -87.5t33.5 -78.5t119.5 -31.5v-96q-56 5 -86.5 23.5t-30.5 40.5l-7 4l-42 -94l7 -4q9 5 12 5q7 0 9 -3q72 -36 138 -40v-18q0 -15 -17 -20v-9h79v9q-20 5 -20 20v18q72 4 115.5 38.5t43.5 88.5q0 101 -149 115h-10v87q36 -2 70 -20zM531 532 391 | q89 -37 143.5 -118.5t54.5 -181.5q0 -136 -95.5 -231.5t-231.5 -95.5t-231.5 95.5t-95.5 231.5q0 100 54.5 181.5t142.5 118.5l-81 179q0 25 28 25h366q27 0 27 -25z" /> 392 | <glyph glyph-name="u1F4B5" unicode="💵" horiz-adv-x="1293" 393 | d="M79 291q76 0 149 24t134.5 62t121.5 85l120 92q61 46 122.5 84t134.5 62.5t149 24.5l105 -227l90 -192q-103 0 -199.5 -42t-176.5 -102l-160 -122q-80 -62 -182.5 -110.5t-212.5 -57.5l-98 210zM199 225l63 -137l64 -136q132 26 283 137q-70 27 -107 103q-32 72 -20 168 394 | q-154 -112 -283 -135zM1085 372l-68 145l-59 128q-136 -25 -284 -137q67 -24 106 -103q34 -75 20 -167q151 111 285 134zM428 68q-4 6 -10 18t-8 18q-5 -3 -10 -3q1 -11 6 -40q15 3 22 7zM455 90q4 6 11 21q-24 7 -38 13q0 -2 -1.5 -3.5t-3 -3.5t-1.5 -3zM371 68q1 3 6 15.5 395 | t8 18.5q-5 3 -9 6q-4 -6 -13 -15t-13 -14q12 -10 21 -11zM468 148q-3 14 -6 22h-1q-15 -10 -35 -20v-1q3 -3 3 -10q21 3 39 9zM329 106q27 10 37 15q-2 8 -2 9q-14 -1 -43 -1q1 -11 8 -23zM416 161q4 5 12 17l12 17q-10 9 -19 10q-10 -25 -13 -39q1 0 4 -2t4 -3zM365 145 396 | q3 3 5 10l-16 13l-15 12q-8 -8 -11 -20q3 -1 11.5 -4.5t14.5 -5.5t11 -5zM392 168q0 7 -2 20t-2 20q-8 -2 -23 -7q3 -3 5 -9t4 -10q-2 4 -4 10t-5 9q3 -6 8.5 -18.5t8.5 -18.5q2 1 10 4zM872 404q-8 22 -43 94q-13 -7 -19 -12q8 -16 22 -47l20 -47q12 8 20 12zM960 446 397 | q-5 13 -20.5 44t-23.5 49q-4 -1 -10.5 -4.5t-9.5 -4.5l44 -91q11 3 20 7zM916 426q-6 15 -14 30l-16 35l-15 29q-3 -2 -9 -5l-10 -5q26 -51 44 -92q4 1 11 4t9 4z" /> 398 | <glyph glyph-name="u1F4C2" unicode="📂" 399 | d="M0 129v536q0 24 17.5 41.5t41.5 17.5h356q24 0 41.5 -17.5t17.5 -41.5t17 -41.5t42 -17.5h227q24 0 41.5 -18t17.5 -42v-114h-632q-19 0 -36.5 -6.5t-33.5 -17.5t-27.5 -26t-17.5 -33zM22 -66l126 391q4 11 16.5 19.5t23.5 8.5h759l-133 -389q-3 -12 -16 -21t-24 -9h-752 400 | z" /> 401 | <glyph glyph-name="u1F4C4" unicode="📄" horiz-adv-x="631" 402 | d="M0 -7v672q0 24 17.5 41.5t41.5 17.5h230v-283q0 -25 17.5 -42t41.5 -17h284v-389q0 -24 -17.5 -41.5t-41.5 -17.5h-514q-24 0 -41.5 17.5t-17.5 41.5zM348 441v280h4l276 -277v-3h-280z" /> 403 | <glyph glyph-name="u1F4C5" unicode="📅" horiz-adv-x="789" 404 | d="M0 -7v578q0 24 17.5 41.5t41.5 17.5h38v-73q0 -29 20.5 -49.5t49.5 -20.5h16q30 0 51 20.5t21 49.5v73h61v-73q0 -29 20.5 -49.5t49.5 -20.5h17q30 0 50.5 20.5t20.5 49.5v73h61v-73q0 -29 21 -49.5t50 -20.5h16q30 0 50.5 20.5t20.5 49.5v73h38q24 0 41 -17.5t17 -41.5 405 | v-578q0 -24 -17 -41.5t-41 -17.5h-672q-24 0 -41.5 17.5t-17.5 41.5zM79 13h632v419h-632v-419zM136 557v135q0 13 9.5 22.5t21.5 9.5h16q14 0 23 -9.5t9 -22.5v-135q0 -12 -9 -21t-23 -9h-16q-12 0 -21.5 9t-9.5 21zM186 101q0 37 21 61t46 42l46 33q21 16 21 38 406 | q0 21 -12 30.5t-30 9.5q-12 0 -22 -4.5t-17 -12.5q-4 -4 -7.5 -8t-6.5 -9l-36 24q8 14 22 28q11 12 28.5 20.5t42.5 8.5q37 0 64.5 -22t27.5 -62q0 -22 -9.5 -38t-24.5 -29.5t-32 -24.5l-31 -20q-15 -11 -25 -22.5t-10 -26.5h97v36h44v-77h-195q-1 7 -1.5 13t-0.5 12z 407 | M356 557v135q0 13 9 22.5t21 9.5h17q13 0 22.5 -9.5t9.5 -22.5v-135q0 -12 -9.5 -21t-22.5 -9h-17q-12 0 -21 9t-9 21zM418 282v74h197v-35l-123 -245h-54l113 223q3 9 6 12l3 4v1q-3 0 -5 -1h-14h-79v-33h-44zM575 557v135q0 13 9 22.5t22 9.5h16q13 0 22.5 -9.5t9.5 -22.5 408 | v-135q0 -12 -9.5 -21t-22.5 -9h-16q-13 0 -22 9t-9 21z" /> 409 | <glyph glyph-name="u1F4C8" unicode="📈" horiz-adv-x="1228" 410 | d="M205 -64v666h102v-374l251 358l220 -276l113 77l61 -82l-194 -134l-195 246l-256 -363v-16h666v-102h-768z" /> 411 | <glyph glyph-name="u1F4CA" unicode="📊" horiz-adv-x="1228" 412 | d="M256 -64v307h205v-307h-205zM512 -59v712h205v-712h-205zM768 -59v507h205v-507h-205z" /> 413 | <glyph glyph-name="u1F4CC" unicode="📌" 414 | d="M1 419q4 40 22 85t49.5 87t69 72t75.5 45.5t72 15t59 -19.5q27 -19 37 -52.5t6 -74.5l148 -110q55 30 107 35t89 -23q26 -20 39 -53t12 -74t-15 -88t-42 -93l212 -203q5 -5 6 -12.5t-4 -12.5q-5 -9 -16 -9q-3 0 -9 2l-255 146q-37 -39 -77.5 -66.5t-79.5 -40t-74.5 -10 415 | t-63.5 23.5q-36 27 -46.5 78t3.5 112l-148 112q-38 -16 -73 -16t-61 19q-25 19 -35.5 52t-6.5 73zM84 374q1 -8 9 -13q8 -8 23 -8q16 0 33 8.5t35 23t35.5 33t33.5 39.5q5 7 4 14.5t-9 13.5q-6 5 -14 4t-13 -8q-39 -52 -69 -71.5t-36 -17.5q-7 5 -14.5 4t-13.5 -8 416 | q-5 -6 -4 -14zM231 322l178 -134q7 -4 12 -4q11 0 16 8q5 6 4 14t-7 13l-172 128q-16 -15 -31 -25zM414 83q-11 -17 4 -29q14 -10 35 -10q20 0 43 10.5t46.5 28.5t47 41t43.5 49q5 8 4 15.5t-9 13.5q-6 5 -14 3.5t-13 -8.5q-25 -33 -50.5 -57t-47.5 -37.5t-38.5 -17.5 417 | t-23.5 2q-6 5 -14 3.5t-13 -7.5z" /> 418 | <glyph glyph-name="u1F4CE" unicode="📎" horiz-adv-x="965" 419 | d="M259 -192q-58 0 -110 26.5t-84.5 72t-45.5 100t6.5 116t72.5 114.5l222 222l273 274q37 37 83.5 51t92.5 2q45 -12 79 -46t46 -79q12 -46 -2 -92.5t-51 -83.5l-474 -473q-24 -24 -52 -37t-60 -10t-56 27q-19 19 -25.5 46t4.5 60t40 62l333 332q11 10 25 10t24 -10t10 -24 420 | t-10 -25l-332 -333q-21 -21 -25.5 -40.5t5.5 -27.5q9 -9 23 -7q25 3 47 26l473 474q50 52 35 108q-8 27 -28 47t-47 28q-57 16 -108 -35l-274 -273l-222 -222q-44 -44 -56.5 -94t1 -91t45.5 -73t73 -45.5t91 -1t94 56.5l495 496q10 10 25 10t25 -10t10 -25t-10 -25 421 | l-496 -495q-83 -83 -185 -83z" /> 422 | <glyph glyph-name="u1F4D6" unicode="📖" horiz-adv-x="930" 423 | d="M355 186v-67l-200 80v67zM355 394v-68l-200 80v68zM846 746q26 10 47.5 -6t21.5 -40v-640q0 -33 -31 -46l-400 -160q-2 0 -5.5 -1.5t-7 -2t-6.5 -0.5t-6.5 0.5t-7 2t-5.5 1.5l-400 160q-31 13 -31 46v640q0 24 21.5 40t47.5 6l381 -152zM415 -48v561l-320 128v-561z 424 | M835 80v561l-320 -128v-561zM775 266v-67l-200 -80v67zM775 474v-68l-200 -80v68z" /> 425 | <glyph glyph-name="u1F50D" unicode="🔍" horiz-adv-x="820" 426 | d="M787 27q34 -34 7 -61l-47 -47q-14 -14 -33.5 -14t-33.5 14l-190 190q-72 -42 -156 -42q-128 0 -223.5 95.5t-95.5 223.5t90.5 218.5t218.5 90.5t223.5 -95.5t95.5 -223.5q0 -84 -45 -160zM110 386q0 -88 68 -156t156 -68t151 63t63 151t-68 156t-156 68t-151 -63 427 | t-63 -151z" /> 428 | <glyph glyph-name="u1F512" unicode="🔒" horiz-adv-x="730" 429 | d="M655 425q21 0 40.5 -19.5t19.5 -40.5v-390q0 -21 -14 -40t-34 -25l-59 -20q-49 -15 -98 -15h-290q-49 0 -98 15l-59 20q-20 6 -34 25t-14 40v390q0 22 15 41t35 19h100v70q0 110 51 170t149 60t149 -60t51 -170v-70h90zM265 515v-90h200v90q0 53 -27 81.5t-73 28.5 430 | t-73 -28.5t-27 -81.5z" /> 431 | <glyph glyph-name="u1F513" unicode="🔓" horiz-adv-x="730" 432 | d="M655 400q21 0 40.5 -19.5t19.5 -40.5v-390q0 -21 -14 -40t-34 -25l-59 -20q-49 -15 -98 -15h-290q-49 0 -98 15l-59 20q-20 6 -34 25t-14 40v390q0 22 15 41t35 19h400v140q0 53 -27 81.5t-73 28.5t-73 -28.5t-27 -81.5v-40h-100v20q0 110 51 170t149 60t149 -60t51 -170 433 | v-120h90z" /> 434 | <glyph glyph-name="u1F516" unicode="🔖" horiz-adv-x="631" 435 | d="M0 -9v675q0 18 9.5 32t26.5 21q5 3 10.5 4t11.5 1h516q5 0 11 -1t11 -4q17 -7 26.5 -21t9.5 -32v-675q0 -18 -9.5 -32t-26.5 -21q-16 -7 -33.5 -3.5t-28.5 16.5l-218 218l-218 -218q-12 -13 -29 -16.5t-33 3.5q-17 8 -26.5 21.5t-9.5 31.5z" /> 436 | <glyph glyph-name="u1F517" unicode="🔗" 437 | d="M0 92v474q0 32 12.5 61t33.5 50t50 34t62 13h299q-1 -8 -2 -14.5t-1 -15.5v-45q0 -12 3 -24h-299q-24 0 -41.5 -17.5t-17.5 -41.5v-474q0 -24 17.5 -41.5t41.5 -17.5h553q24 0 41 17.5t17 41.5v175q22 -16 47 -25.5t52 -10.5v-139q0 -33 -12.5 -61t-34 -50t-50 -34.5 438 | t-60.5 -12.5h-553q-33 0 -62 12.5t-50 34.5t-33.5 50t-12.5 61zM356 202.5q0 12.5 8 21.5l396 397h-138q-13 0 -21 8t-8 21v44q-1 12 7.5 21t21.5 9h296q11 0 20 -9t9 -21v-44v-252q0 -12 -9 -21t-20 -8h-44q-13 0 -21.5 8.5t-8.5 20.5v138l-397 -395q-8 -9 -20.5 -9 439 | t-21.5 9l-41 41q-8 8 -8 20.5z" /> 440 | <glyph glyph-name="u1F525" unicode="🔥" horiz-adv-x="710" 441 | d="M0 159q0 62 32 126.5t87 117.5q-12 -79 0.5 -127t32.5 -75q23 -32 55 -47q-25 111 -14 215q4 44 16 92t35.5 95t61.5 90t94 78q-24 -52 -23 -95t11 -75q12 -37 36 -67l32 -39q16 -20 27 -45.5t17 -59.5t6 -82q-9 21 -28 33.5t-43 12.5q-34 0 -56.5 -23t-22.5 -56 442 | q0 -17 5.5 -31.5t18 -26.5t32 -18t46.5 -6q46 4 81 32q14 13 27 31.5t21.5 45.5t10.5 63t-5 85h-1q54 -53 86.5 -117.5t32.5 -126.5q0 -56 -28 -98.5t-76.5 -70t-113 -42t-138 -14.5t-138 14.5t-113 42t-76.5 70t-28 98.5z" /> 443 | <glyph glyph-name="u1F554" unicode="🕔" horiz-adv-x="950" 444 | d="M475 760q125 0 231 -61.5t167.5 -167.5t61.5 -231t-61.5 -231t-167.5 -167.5t-231 -61.5t-231 61.5t-167.5 167.5t-61.5 231t61.5 231t167.5 167.5t231 61.5zM475 -60q149 0 254.5 105.5t105.5 254.5t-105.5 254.5t-254.5 105.5t-254.5 -105.5t-105.5 -254.5 445 | t105.5 -254.5t254.5 -105.5zM510 560v-246l150 -149l-50 -50l-170 170v275h70z" /> 446 | <glyph glyph-name="u1F6AB" unicode="🚫" horiz-adv-x="950" 447 | d="M475 760q125 0 231 -61.5t167.5 -167.5t61.5 -231t-61.5 -231t-167.5 -167.5t-231 -61.5t-231 61.5t-167.5 167.5t-61.5 231t61.5 231t167.5 167.5t231 61.5zM723 547h-1h1zM125 300q0 -125 79 -222l492 493q-97 79 -221 79q-145 0 -247.5 -102.5t-102.5 -247.5zM227 53 448 | l1 -1zM475 -50q145 0 247.5 102.5t102.5 247.5q0 124 -79 221l-492 -492q97 -79 221 -79z" /> 449 | </font> 450 | </defs></svg> 451 | --------------------------------------------------------------------------------